<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: block-library.min.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">&quot;use strict&quot;;var wp;(wp||={}).blockLibrary=(()=&gt;{var qpe=Object.create;var Bb=Object.defineProperty;var Zpe=Object.getOwnPropertyDescriptor;var Kpe=Object.getOwnPropertyNames;var Qpe=Object.getPrototypeOf,Ype=Object.prototype.hasOwnProperty;var Xpe=(e=&gt;typeof require&lt;&quot;u&quot;?require:typeof Proxy&lt;&quot;u&quot;?new Proxy(e,{get:(t,r)=&gt;(typeof require&lt;&quot;u&quot;?require:t)[r]}):e)(function(e){if(typeof require&lt;&quot;u&quot;)return require.apply(this,arguments);throw Error(&#039;Dynamic require of &quot;&#039;+e+&#039;&quot; is not supported&#039;)});var Ce=(e,t)=&gt;()=&gt;(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=&gt;{for(var r in t)Bb(e,r,{get:t[r],enumerable:!0})},ER=(e,t,r,a)=&gt;{if(t&amp;&amp;typeof t==&quot;object&quot;||typeof t==&quot;function&quot;)for(let n of Kpe(t))!Ype.call(e,n)&amp;&amp;n!==r&amp;&amp;Bb(e,n,{get:()=&gt;t[n],enumerable:!(a=Zpe(t,n))||a.enumerable});return e};var o=(e,t,r)=&gt;(r=e!=null?qpe(Qpe(e)):{},ER(t||!e||!e.__esModule?Bb(r,&quot;default&quot;,{value:e,enumerable:!0}):r,e)),Jpe=e=&gt;ER(Bb({},&quot;__esModule&quot;,{value:!0}),e);var W=Ce((ECe,DR)=&gt;{DR.exports=window.wp.blocks});var me=Ce((DCe,LR)=&gt;{LR.exports=window.wp.compose});var V=Ce((LCe,MR)=&gt;{MR.exports=window.wp.data});var T=Ce((MCe,AR)=&gt;{AR.exports=window.wp.blockEditor});var Fu=Ce((ACe,RR)=&gt;{RR.exports=window.wp.serverSideRender});var P=Ce((RCe,zR)=&gt;{zR.exports=window.wp.i18n});var Z7=Ce(rr=&gt;{&quot;use strict&quot;;Object.defineProperty(rr,&quot;__esModule&quot;,{value:!0});rr.Doctype=rr.CDATA=rr.Tag=rr.Style=rr.Script=rr.Comment=rr.Directive=rr.Text=rr.Root=rr.isTag=rr.ElementType=void 0;var ri;(function(e){e.Root=&quot;root&quot;,e.Text=&quot;text&quot;,e.Directive=&quot;directive&quot;,e.Comment=&quot;comment&quot;,e.Script=&quot;script&quot;,e.Style=&quot;style&quot;,e.Tag=&quot;tag&quot;,e.CDATA=&quot;cdata&quot;,e.Doctype=&quot;doctype&quot;})(ri=rr.ElementType||(rr.ElementType={}));function tde(e){return e.type===ri.Tag||e.type===ri.Script||e.type===ri.Style}rr.isTag=tde;rr.Root=ri.Root;rr.Text=ri.Text;rr.Directive=ri.Directive;rr.Comment=ri.Comment;rr.Script=ri.Script;rr.Style=ri.Style;rr.Tag=ri.Tag;rr.CDATA=ri.CDATA;rr.Doctype=ri.Doctype});var X7=Ce(Ue=&gt;{&quot;use strict&quot;;var Hu=Ue&amp;&amp;Ue.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&amp;&amp;(a[i]=n[i])},e(t,r)};return function(t,r){if(typeof r!=&quot;function&quot;&amp;&amp;r!==null)throw new TypeError(&quot;Class extends value &quot;+String(r)+&quot; is not a constructor or null&quot;);e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}})(),d0=Ue&amp;&amp;Ue.__assign||function(){return d0=Object.assign||function(e){for(var t,r=1,a=arguments.length;r&lt;a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},d0.apply(this,arguments)};Object.defineProperty(Ue,&quot;__esModule&quot;,{value:!0});Ue.cloneNode=Ue.hasChildren=Ue.isDocument=Ue.isDirective=Ue.isComment=Ue.isText=Ue.isCDATA=Ue.isTag=Ue.Element=Ue.Document=Ue.CDATA=Ue.NodeWithChildren=Ue.ProcessingInstruction=Ue.Comment=Ue.Text=Ue.DataNode=Ue.Node=void 0;var wn=Z7(),Q7=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,&quot;parentNode&quot;,{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,&quot;previousSibling&quot;,{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,&quot;nextSibling&quot;,{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&amp;&amp;(t=!1),Y7(this,t)},e})();Ue.Node=Q7;var Ib=(function(e){Hu(t,e);function t(r){var a=e.call(this)||this;return a.data=r,a}return Object.defineProperty(t.prototype,&quot;nodeValue&quot;,{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(Q7);Ue.DataNode=Ib;var FR=(function(e){Hu(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=wn.ElementType.Text,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 3},enumerable:!1,configurable:!0}),t})(Ib);Ue.Text=FR;var HR=(function(e){Hu(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=wn.ElementType.Comment,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 8},enumerable:!1,configurable:!0}),t})(Ib);Ue.Comment=HR;var OR=(function(e){Hu(t,e);function t(r,a){var n=e.call(this,a)||this;return n.name=r,n.type=wn.ElementType.Directive,n}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 1},enumerable:!1,configurable:!0}),t})(Ib);Ue.ProcessingInstruction=OR;var Nb=(function(e){Hu(t,e);function t(r){var a=e.call(this)||this;return a.children=r,a}return Object.defineProperty(t.prototype,&quot;firstChild&quot;,{get:function(){var r;return(r=this.children[0])!==null&amp;&amp;r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;lastChild&quot;,{get:function(){return this.children.length&gt;0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;childNodes&quot;,{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(Q7);Ue.NodeWithChildren=Nb;var jR=(function(e){Hu(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=wn.ElementType.CDATA,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 4},enumerable:!1,configurable:!0}),t})(Nb);Ue.CDATA=jR;var UR=(function(e){Hu(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=wn.ElementType.Root,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 9},enumerable:!1,configurable:!0}),t})(Nb);Ue.Document=UR;var GR=(function(e){Hu(t,e);function t(r,a,n,i){n===void 0&amp;&amp;(n=[]),i===void 0&amp;&amp;(i=r===&quot;script&quot;?wn.ElementType.Script:r===&quot;style&quot;?wn.ElementType.Style:wn.ElementType.Tag);var l=e.call(this,n)||this;return l.name=r,l.attribs=a,l.type=i,l}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;tagName&quot;,{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;attributes&quot;,{get:function(){var r=this;return Object.keys(this.attribs).map(function(a){var n,i;return{name:a,value:r.attribs[a],namespace:(n=r[&quot;x-attribsNamespace&quot;])===null||n===void 0?void 0:n[a],prefix:(i=r[&quot;x-attribsPrefix&quot;])===null||i===void 0?void 0:i[a]}})},enumerable:!1,configurable:!0}),t})(Nb);Ue.Element=GR;function WR(e){return(0,wn.isTag)(e)}Ue.isTag=WR;function $R(e){return e.type===wn.ElementType.CDATA}Ue.isCDATA=$R;function qR(e){return e.type===wn.ElementType.Text}Ue.isText=qR;function ZR(e){return e.type===wn.ElementType.Comment}Ue.isComment=ZR;function KR(e){return e.type===wn.ElementType.Directive}Ue.isDirective=KR;function QR(e){return e.type===wn.ElementType.Root}Ue.isDocument=QR;function rde(e){return Object.prototype.hasOwnProperty.call(e,&quot;children&quot;)}Ue.hasChildren=rde;function Y7(e,t){t===void 0&amp;&amp;(t=!1);var r;if(qR(e))r=new FR(e.data);else if(ZR(e))r=new HR(e.data);else if(WR(e)){var a=t?K7(e.children):[],n=new GR(e.name,d0({},e.attribs),a);a.forEach(function(c){return c.parent=n}),e.namespace!=null&amp;&amp;(n.namespace=e.namespace),e[&quot;x-attribsNamespace&quot;]&amp;&amp;(n[&quot;x-attribsNamespace&quot;]=d0({},e[&quot;x-attribsNamespace&quot;])),e[&quot;x-attribsPrefix&quot;]&amp;&amp;(n[&quot;x-attribsPrefix&quot;]=d0({},e[&quot;x-attribsPrefix&quot;])),r=n}else if($R(e)){var a=t?K7(e.children):[],i=new jR(a);a.forEach(function(u){return u.parent=i}),r=i}else if(QR(e)){var a=t?K7(e.children):[],l=new UR(a);a.forEach(function(u){return u.parent=l}),e[&quot;x-mode&quot;]&amp;&amp;(l[&quot;x-mode&quot;]=e[&quot;x-mode&quot;]),r=l}else if(KR(e)){var s=new OR(e.name,e.data);e[&quot;x-name&quot;]!=null&amp;&amp;(s[&quot;x-name&quot;]=e[&quot;x-name&quot;],s[&quot;x-publicId&quot;]=e[&quot;x-publicId&quot;],s[&quot;x-systemId&quot;]=e[&quot;x-systemId&quot;]),r=s}else throw new Error(&quot;Not implemented yet: &quot;.concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&amp;&amp;(r.sourceCodeLocation=e.sourceCodeLocation),r}Ue.cloneNode=Y7;function K7(e){for(var t=e.map(function(a){return Y7(a,!0)}),r=1;r&lt;t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var JR=Ce(Is=&gt;{&quot;use strict&quot;;var ode=Is&amp;&amp;Is.__createBinding||(Object.create?(function(e,t,r,a){a===void 0&amp;&amp;(a=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||(&quot;get&quot;in n?!t.__esModule:n.writable||n.configurable))&amp;&amp;(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}):(function(e,t,r,a){a===void 0&amp;&amp;(a=r),e[a]=t[r]})),ade=Is&amp;&amp;Is.__exportStar||function(e,t){for(var r in e)r!==&quot;default&quot;&amp;&amp;!Object.prototype.hasOwnProperty.call(t,r)&amp;&amp;ode(t,e,r)};Object.defineProperty(Is,&quot;__esModule&quot;,{value:!0});Is.DomHandler=void 0;var J7=Z7(),Ou=X7();ade(X7(),Is);var YR={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},XR=(function(){function e(t,r,a){this.dom=[],this.root=new Ou.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r==&quot;function&quot;&amp;&amp;(a=r,r=YR),typeof t==&quot;object&quot;&amp;&amp;(r=t,t=void 0),this.callback=t??null,this.options=r??YR,this.elementCB=a??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new Ou.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&amp;&amp;(t.endIndex=this.parser.endIndex),this.elementCB&amp;&amp;this.elementCB(t)},e.prototype.onopentag=function(t,r){var a=this.options.xmlMode?J7.ElementType.Tag:void 0,n=new Ou.Element(t,r,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&amp;&amp;r.type===J7.ElementType.Text)r.data+=t,this.options.withEndIndices&amp;&amp;(r.endIndex=this.parser.endIndex);else{var a=new Ou.Text(t);this.addNode(a),this.lastNode=a}},e.prototype.oncomment=function(t){if(this.lastNode&amp;&amp;this.lastNode.type===J7.ElementType.Comment){this.lastNode.data+=t;return}var r=new Ou.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new Ou.Text(&quot;&quot;),r=new Ou.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var a=new Ou.ProcessingInstruction(t,r);this.addNode(a)},e.prototype.handleCallback=function(t){if(typeof this.callback==&quot;function&quot;)this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],a=r.children[r.children.length-1];this.options.withStartIndices&amp;&amp;(t.startIndex=this.parser.startIndex),this.options.withEndIndices&amp;&amp;(t.endIndex=this.parser.endIndex),r.children.push(t),a&amp;&amp;(t.prev=a,a.next=t),t.parent=r,this.lastNode=null},e})();Is.DomHandler=XR;Is.default=XR});var ez=Ce(jo=&gt;{&quot;use strict&quot;;Object.defineProperty(jo,&quot;__esModule&quot;,{value:!0});jo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=jo.CARRIAGE_RETURN_PLACEHOLDER=jo.CARRIAGE_RETURN_REGEX=jo.CARRIAGE_RETURN=jo.CASE_SENSITIVE_TAG_NAMES_MAP=jo.CASE_SENSITIVE_TAG_NAMES=void 0;jo.CASE_SENSITIVE_TAG_NAMES=[&quot;animateMotion&quot;,&quot;animateTransform&quot;,&quot;clipPath&quot;,&quot;feBlend&quot;,&quot;feColorMatrix&quot;,&quot;feComponentTransfer&quot;,&quot;feComposite&quot;,&quot;feConvolveMatrix&quot;,&quot;feDiffuseLighting&quot;,&quot;feDisplacementMap&quot;,&quot;feDropShadow&quot;,&quot;feFlood&quot;,&quot;feFuncA&quot;,&quot;feFuncB&quot;,&quot;feFuncG&quot;,&quot;feFuncR&quot;,&quot;feGaussianBlur&quot;,&quot;feImage&quot;,&quot;feMerge&quot;,&quot;feMergeNode&quot;,&quot;feMorphology&quot;,&quot;feOffset&quot;,&quot;fePointLight&quot;,&quot;feSpecularLighting&quot;,&quot;feSpotLight&quot;,&quot;feTile&quot;,&quot;feTurbulence&quot;,&quot;foreignObject&quot;,&quot;linearGradient&quot;,&quot;radialGradient&quot;,&quot;textPath&quot;];jo.CASE_SENSITIVE_TAG_NAMES_MAP=jo.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{});jo.CARRIAGE_RETURN=&quot;\r&quot;;jo.CARRIAGE_RETURN_REGEX=new RegExp(jo.CARRIAGE_RETURN,&quot;g&quot;);jo.CARRIAGE_RETURN_PLACEHOLDER=&quot;__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_&quot;.concat(Date.now(),&quot;__&quot;);jo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(jo.CARRIAGE_RETURN_PLACEHOLDER,&quot;g&quot;)});var eS=Ce(Sf=&gt;{&quot;use strict&quot;;Object.defineProperty(Sf,&quot;__esModule&quot;,{value:!0});Sf.formatAttributes=tz;Sf.escapeSpecialCharacters=lde;Sf.revertEscapedCharacters=rz;Sf.formatDOM=oz;var Eb=JR(),f0=ez();function nde(e){return f0.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function tz(e){for(var t={},r=0,a=e.length;r&lt;a;r++){var n=e[r];t[n.name]=n.value}return t}function ide(e){e=e.toLowerCase();var t=nde(e);return t||e}function lde(e){return e.replace(f0.CARRIAGE_RETURN_REGEX,f0.CARRIAGE_RETURN_PLACEHOLDER)}function rz(e){return e.replace(f0.CARRIAGE_RETURN_PLACEHOLDER_REGEX,f0.CARRIAGE_RETURN)}function oz(e,t,r){t===void 0&amp;&amp;(t=null);for(var a=[],n,i=0,l=e.length;i&lt;l;i++){var s=e[i];switch(s.nodeType){case 1:{var c=ide(s.nodeName);n=new Eb.Element(c,tz(s.attributes)),n.children=oz(c===&quot;template&quot;?s.content.childNodes:s.childNodes,n);break}case 3:n=new Eb.Text(rz(s.nodeValue));break;case 8:n=new Eb.Comment(s.nodeValue);break;default:continue}var u=a[i-1]||null;u&amp;&amp;(u.next=n),n.parent=t,n.prev=u,n.next=null,a.push(n)}return r&amp;&amp;(n=new Eb.ProcessingInstruction(r.substring(0,r.indexOf(&quot; &quot;)).toLowerCase(),r),n.next=a[0]||null,n.parent=t,a.unshift(n),a[1]&amp;&amp;(a[1].prev=a[0])),a}});var mz=Ce(oS=&gt;{&quot;use strict&quot;;Object.defineProperty(oS,&quot;__esModule&quot;,{value:!0});oS.default=ude;var sde=eS(),az=&quot;html&quot;,nz=&quot;head&quot;,Db=&quot;body&quot;,cde=/&lt;([a-zA-Z]+[0-9]?)/,iz=/&lt;head[^]*&gt;/i,lz=/&lt;body[^]*&gt;/i,Mb=function(e,t){throw new Error(&quot;This browser does not support `document.implementation.createHTMLDocument`&quot;)},tS=function(e,t){throw new Error(&quot;This browser does not support `DOMParser.prototype.parseFromString`&quot;)},sz=typeof window==&quot;object&quot;&amp;&amp;window.DOMParser;typeof sz==&quot;function&quot;&amp;&amp;(cz=new sz,uz=&quot;text/html&quot;,tS=function(e,t){return t&amp;&amp;(e=&quot;&lt;&quot;.concat(t,&quot;&gt;&quot;).concat(e,&quot;&lt;/&quot;).concat(t,&quot;&gt;&quot;)),cz.parseFromString(e,uz)},Mb=tS);var cz,uz;typeof document==&quot;object&quot;&amp;&amp;document.implementation&amp;&amp;(h0=document.implementation.createHTMLDocument(),Mb=function(e,t){if(t){var r=h0.documentElement.querySelector(t);return r&amp;&amp;(r.innerHTML=e),h0}return h0.documentElement.innerHTML=e,h0});var h0,Lb=typeof document==&quot;object&quot;&amp;&amp;document.createElement(&quot;template&quot;),rS;Lb&amp;&amp;Lb.content&amp;&amp;(rS=function(e){return Lb.innerHTML=e,Lb.content.childNodes});function ude(e){var t,r;e=(0,sde.escapeSpecialCharacters)(e);var a=e.match(cde),n=a&amp;&amp;a[1]?a[1].toLowerCase():&quot;&quot;;switch(n){case az:{var i=tS(e);if(!iz.test(e)){var l=i.querySelector(nz);(t=l?.parentNode)===null||t===void 0||t.removeChild(l)}if(!lz.test(e)){var l=i.querySelector(Db);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return i.querySelectorAll(az)}case nz:case Db:{var s=Mb(e).querySelectorAll(n);return lz.test(e)&amp;&amp;iz.test(e)?s[0].parentNode.childNodes:s}default:{if(rS)return rS(e);var l=Mb(e,Db).querySelector(Db);return l.childNodes}}}});var pz=Ce(g0=&gt;{&quot;use strict&quot;;var mde=g0&amp;&amp;g0.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(g0,&quot;__esModule&quot;,{value:!0});g0.default=hde;var pde=mde(mz()),dde=eS(),fde=/&lt;(![a-zA-Z\s]+)&gt;/;function hde(e){if(typeof e!=&quot;string&quot;)throw new TypeError(&quot;First argument must be a string&quot;);if(!e)return[];var t=e.match(fde),r=t?t[1]:void 0;return(0,dde.formatDOM)((0,pde.default)(e),null,r)}});var dz=Ce(Ab=&gt;{var gde=0;Ab.SAME=gde;var vde=1;Ab.CAMELCASE=vde;Ab.possibleStandardNames={accept:0,acceptCharset:1,&quot;accept-charset&quot;:&quot;acceptCharset&quot;,accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:&quot;className&quot;,classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:&quot;htmlFor&quot;,form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,&quot;http-equiv&quot;:&quot;httpEquiv&quot;,icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,&quot;accent-height&quot;:&quot;accentHeight&quot;,accumulate:0,additive:0,alignmentBaseline:1,&quot;alignment-baseline&quot;:&quot;alignmentBaseline&quot;,allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,&quot;arabic-form&quot;:&quot;arabicForm&quot;,ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,&quot;baseline-shift&quot;:&quot;baselineShift&quot;,baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,&quot;cap-height&quot;:&quot;capHeight&quot;,clip:0,clipPath:1,&quot;clip-path&quot;:&quot;clipPath&quot;,clipPathUnits:1,clipRule:1,&quot;clip-rule&quot;:&quot;clipRule&quot;,color:0,colorInterpolation:1,&quot;color-interpolation&quot;:&quot;colorInterpolation&quot;,colorInterpolationFilters:1,&quot;color-interpolation-filters&quot;:&quot;colorInterpolationFilters&quot;,colorProfile:1,&quot;color-profile&quot;:&quot;colorProfile&quot;,colorRendering:1,&quot;color-rendering&quot;:&quot;colorRendering&quot;,contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,&quot;dominant-baseline&quot;:&quot;dominantBaseline&quot;,dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,&quot;enable-background&quot;:&quot;enableBackground&quot;,end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,&quot;fill-opacity&quot;:&quot;fillOpacity&quot;,fillRule:1,&quot;fill-rule&quot;:&quot;fillRule&quot;,filter:0,filterRes:1,filterUnits:1,floodOpacity:1,&quot;flood-opacity&quot;:&quot;floodOpacity&quot;,floodColor:1,&quot;flood-color&quot;:&quot;floodColor&quot;,focusable:0,fontFamily:1,&quot;font-family&quot;:&quot;fontFamily&quot;,fontSize:1,&quot;font-size&quot;:&quot;fontSize&quot;,fontSizeAdjust:1,&quot;font-size-adjust&quot;:&quot;fontSizeAdjust&quot;,fontStretch:1,&quot;font-stretch&quot;:&quot;fontStretch&quot;,fontStyle:1,&quot;font-style&quot;:&quot;fontStyle&quot;,fontVariant:1,&quot;font-variant&quot;:&quot;fontVariant&quot;,fontWeight:1,&quot;font-weight&quot;:&quot;fontWeight&quot;,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,&quot;glyph-name&quot;:&quot;glyphName&quot;,glyphOrientationHorizontal:1,&quot;glyph-orientation-horizontal&quot;:&quot;glyphOrientationHorizontal&quot;,glyphOrientationVertical:1,&quot;glyph-orientation-vertical&quot;:&quot;glyphOrientationVertical&quot;,glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,&quot;horiz-adv-x&quot;:&quot;horizAdvX&quot;,horizOriginX:1,&quot;horiz-origin-x&quot;:&quot;horizOriginX&quot;,ideographic:0,imageRendering:1,&quot;image-rendering&quot;:&quot;imageRendering&quot;,in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,&quot;letter-spacing&quot;:&quot;letterSpacing&quot;,lightingColor:1,&quot;lighting-color&quot;:&quot;lightingColor&quot;,limitingConeAngle:1,local:0,markerEnd:1,&quot;marker-end&quot;:&quot;markerEnd&quot;,markerHeight:1,markerMid:1,&quot;marker-mid&quot;:&quot;markerMid&quot;,markerStart:1,&quot;marker-start&quot;:&quot;markerStart&quot;,markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,&quot;overline-position&quot;:&quot;overlinePosition&quot;,overlineThickness:1,&quot;overline-thickness&quot;:&quot;overlineThickness&quot;,paintOrder:1,&quot;paint-order&quot;:&quot;paintOrder&quot;,panose1:0,&quot;panose-1&quot;:&quot;panose1&quot;,pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,&quot;pointer-events&quot;:&quot;pointerEvents&quot;,points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,&quot;rendering-intent&quot;:&quot;renderingIntent&quot;,repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,&quot;shape-rendering&quot;:&quot;shapeRendering&quot;,slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,&quot;stop-color&quot;:&quot;stopColor&quot;,stopOpacity:1,&quot;stop-opacity&quot;:&quot;stopOpacity&quot;,strikethroughPosition:1,&quot;strikethrough-position&quot;:&quot;strikethroughPosition&quot;,strikethroughThickness:1,&quot;strikethrough-thickness&quot;:&quot;strikethroughThickness&quot;,string:0,stroke:0,strokeDasharray:1,&quot;stroke-dasharray&quot;:&quot;strokeDasharray&quot;,strokeDashoffset:1,&quot;stroke-dashoffset&quot;:&quot;strokeDashoffset&quot;,strokeLinecap:1,&quot;stroke-linecap&quot;:&quot;strokeLinecap&quot;,strokeLinejoin:1,&quot;stroke-linejoin&quot;:&quot;strokeLinejoin&quot;,strokeMiterlimit:1,&quot;stroke-miterlimit&quot;:&quot;strokeMiterlimit&quot;,strokeWidth:1,&quot;stroke-width&quot;:&quot;strokeWidth&quot;,strokeOpacity:1,&quot;stroke-opacity&quot;:&quot;strokeOpacity&quot;,suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,&quot;text-anchor&quot;:&quot;textAnchor&quot;,textDecoration:1,&quot;text-decoration&quot;:&quot;textDecoration&quot;,textLength:1,textRendering:1,&quot;text-rendering&quot;:&quot;textRendering&quot;,to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,&quot;underline-position&quot;:&quot;underlinePosition&quot;,underlineThickness:1,&quot;underline-thickness&quot;:&quot;underlineThickness&quot;,unicode:0,unicodeBidi:1,&quot;unicode-bidi&quot;:&quot;unicodeBidi&quot;,unicodeRange:1,&quot;unicode-range&quot;:&quot;unicodeRange&quot;,unitsPerEm:1,&quot;units-per-em&quot;:&quot;unitsPerEm&quot;,unselectable:0,vAlphabetic:1,&quot;v-alphabetic&quot;:&quot;vAlphabetic&quot;,values:0,vectorEffect:1,&quot;vector-effect&quot;:&quot;vectorEffect&quot;,version:0,vertAdvY:1,&quot;vert-adv-y&quot;:&quot;vertAdvY&quot;,vertOriginX:1,&quot;vert-origin-x&quot;:&quot;vertOriginX&quot;,vertOriginY:1,&quot;vert-origin-y&quot;:&quot;vertOriginY&quot;,vHanging:1,&quot;v-hanging&quot;:&quot;vHanging&quot;,vIdeographic:1,&quot;v-ideographic&quot;:&quot;vIdeographic&quot;,viewBox:1,viewTarget:1,visibility:0,vMathematical:1,&quot;v-mathematical&quot;:&quot;vMathematical&quot;,vocab:0,widths:0,wordSpacing:1,&quot;word-spacing&quot;:&quot;wordSpacing&quot;,writingMode:1,&quot;writing-mode&quot;:&quot;writingMode&quot;,x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,&quot;x-height&quot;:&quot;xHeight&quot;,xlinkActuate:1,&quot;xlink:actuate&quot;:&quot;xlinkActuate&quot;,xlinkArcrole:1,&quot;xlink:arcrole&quot;:&quot;xlinkArcrole&quot;,xlinkHref:1,&quot;xlink:href&quot;:&quot;xlinkHref&quot;,xlinkRole:1,&quot;xlink:role&quot;:&quot;xlinkRole&quot;,xlinkShow:1,&quot;xlink:show&quot;:&quot;xlinkShow&quot;,xlinkTitle:1,&quot;xlink:title&quot;:&quot;xlinkTitle&quot;,xlinkType:1,&quot;xlink:type&quot;:&quot;xlinkType&quot;,xmlBase:1,&quot;xml:base&quot;:&quot;xmlBase&quot;,xmlLang:1,&quot;xml:lang&quot;:&quot;xmlLang&quot;,xmlns:0,&quot;xml:space&quot;:&quot;xmlSpace&quot;,xmlnsXlink:1,&quot;xmlns:xlink&quot;:&quot;xmlnsXlink&quot;,xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}});var hz=Ce(Pl=&gt;{&quot;use strict&quot;;function bde(e){return Uo.hasOwnProperty(e)?Uo[e]:null}function Ua(e,t,r,a,n,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Uo={},yde=[&quot;children&quot;,&quot;dangerouslySetInnerHTML&quot;,&quot;defaultValue&quot;,&quot;defaultChecked&quot;,&quot;innerHTML&quot;,&quot;suppressContentEditableWarning&quot;,&quot;suppressHydrationWarning&quot;,&quot;style&quot;];yde.forEach(e=&gt;{Uo[e]=new Ua(e,0,!1,e,null,!1,!1)});[[&quot;acceptCharset&quot;,&quot;accept-charset&quot;],[&quot;className&quot;,&quot;class&quot;],[&quot;htmlFor&quot;,&quot;for&quot;],[&quot;httpEquiv&quot;,&quot;http-equiv&quot;]].forEach(([e,t])=&gt;{Uo[e]=new Ua(e,1,!1,t,null,!1,!1)});[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,2,!1,e.toLowerCase(),null,!1,!1)});[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,2,!1,e,null,!1,!1)});[&quot;allowFullScreen&quot;,&quot;async&quot;,&quot;autoFocus&quot;,&quot;autoPlay&quot;,&quot;controls&quot;,&quot;default&quot;,&quot;defer&quot;,&quot;disabled&quot;,&quot;disablePictureInPicture&quot;,&quot;disableRemotePlayback&quot;,&quot;formNoValidate&quot;,&quot;hidden&quot;,&quot;loop&quot;,&quot;noModule&quot;,&quot;noValidate&quot;,&quot;open&quot;,&quot;playsInline&quot;,&quot;readOnly&quot;,&quot;required&quot;,&quot;reversed&quot;,&quot;scoped&quot;,&quot;seamless&quot;,&quot;itemScope&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,3,!1,e.toLowerCase(),null,!1,!1)});[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,3,!0,e,null,!1,!1)});[&quot;capture&quot;,&quot;download&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,4,!1,e,null,!1,!1)});[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,6,!1,e,null,!1,!1)});[&quot;rowSpan&quot;,&quot;start&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,5,!1,e.toLowerCase(),null,!1,!1)});var aS=/[\-\:]([a-z])/g,nS=e=&gt;e[1].toUpperCase();[&quot;accent-height&quot;,&quot;alignment-baseline&quot;,&quot;arabic-form&quot;,&quot;baseline-shift&quot;,&quot;cap-height&quot;,&quot;clip-path&quot;,&quot;clip-rule&quot;,&quot;color-interpolation&quot;,&quot;color-interpolation-filters&quot;,&quot;color-profile&quot;,&quot;color-rendering&quot;,&quot;dominant-baseline&quot;,&quot;enable-background&quot;,&quot;fill-opacity&quot;,&quot;fill-rule&quot;,&quot;flood-color&quot;,&quot;flood-opacity&quot;,&quot;font-family&quot;,&quot;font-size&quot;,&quot;font-size-adjust&quot;,&quot;font-stretch&quot;,&quot;font-style&quot;,&quot;font-variant&quot;,&quot;font-weight&quot;,&quot;glyph-name&quot;,&quot;glyph-orientation-horizontal&quot;,&quot;glyph-orientation-vertical&quot;,&quot;horiz-adv-x&quot;,&quot;horiz-origin-x&quot;,&quot;image-rendering&quot;,&quot;letter-spacing&quot;,&quot;lighting-color&quot;,&quot;marker-end&quot;,&quot;marker-mid&quot;,&quot;marker-start&quot;,&quot;overline-position&quot;,&quot;overline-thickness&quot;,&quot;paint-order&quot;,&quot;panose-1&quot;,&quot;pointer-events&quot;,&quot;rendering-intent&quot;,&quot;shape-rendering&quot;,&quot;stop-color&quot;,&quot;stop-opacity&quot;,&quot;strikethrough-position&quot;,&quot;strikethrough-thickness&quot;,&quot;stroke-dasharray&quot;,&quot;stroke-dashoffset&quot;,&quot;stroke-linecap&quot;,&quot;stroke-linejoin&quot;,&quot;stroke-miterlimit&quot;,&quot;stroke-opacity&quot;,&quot;stroke-width&quot;,&quot;text-anchor&quot;,&quot;text-decoration&quot;,&quot;text-rendering&quot;,&quot;underline-position&quot;,&quot;underline-thickness&quot;,&quot;unicode-bidi&quot;,&quot;unicode-range&quot;,&quot;units-per-em&quot;,&quot;v-alphabetic&quot;,&quot;v-hanging&quot;,&quot;v-ideographic&quot;,&quot;v-mathematical&quot;,&quot;vector-effect&quot;,&quot;vert-adv-y&quot;,&quot;vert-origin-x&quot;,&quot;vert-origin-y&quot;,&quot;word-spacing&quot;,&quot;writing-mode&quot;,&quot;xmlns:xlink&quot;,&quot;x-height&quot;].forEach(e=&gt;{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,null,!1,!1)});[&quot;xlink:actuate&quot;,&quot;xlink:arcrole&quot;,&quot;xlink:role&quot;,&quot;xlink:show&quot;,&quot;xlink:title&quot;,&quot;xlink:type&quot;].forEach(e=&gt;{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)});[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(e=&gt;{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)});[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,1,!1,e.toLowerCase(),null,!1,!1)});var _de=&quot;xlinkHref&quot;;Uo[_de]=new Ua(&quot;xlinkHref&quot;,1,!1,&quot;xlink:href&quot;,&quot;http://www.w3.org/1999/xlink&quot;,!0,!1);[&quot;src&quot;,&quot;href&quot;,&quot;action&quot;,&quot;formAction&quot;].forEach(e=&gt;{Uo[e]=new Ua(e,1,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:xde,SAME:kde,possibleStandardNames:fz}=dz(),wde=&quot;:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD&quot;,Cde=wde+&quot;\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040&quot;,Sde=RegExp.prototype.test.bind(new RegExp(&quot;^(data|aria)-[&quot;+Cde+&quot;]*$&quot;)),Tde=Object.keys(fz).reduce((e,t)=&gt;{let r=fz[t];return r===kde?e[t]=t:r===xde?e[t.toLowerCase()]=t:e[t]=r,e},{});Pl.BOOLEAN=3;Pl.BOOLEANISH_STRING=2;Pl.NUMERIC=5;Pl.OVERLOADED_BOOLEAN=4;Pl.POSITIVE_NUMERIC=6;Pl.RESERVED=0;Pl.STRING=1;Pl.getPropertyInfo=bde;Pl.isCustomAttribute=Sde;Pl.possibleStandardNames=Tde});var iS=Ce((qCe,gz)=&gt;{gz.exports=window.React});var kz=Ce((ZCe,xz)=&gt;{&quot;use strict&quot;;var vz=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Pde=/\n/g,Bde=/^\s*/,Ide=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Nde=/^:\s*/,Ede=/^((?:&#039;(?:\\&#039;|.)*?&#039;|&quot;(?:\\&quot;|.)*?&quot;|\([^)]*?\)|[^};])+)/,Dde=/^[;\s]*/,Lde=/^\s+|\s+$/g,Mde=`
`,bz=&quot;/&quot;,yz=&quot;*&quot;,pp=&quot;&quot;,Ade=&quot;comment&quot;,Rde=&quot;declaration&quot;;function zde(e,t){if(typeof e!=&quot;string&quot;)throw new TypeError(&quot;First argument must be a string&quot;);if(!e)return[];t=t||{};var r=1,a=1;function n(h){var g=h.match(Pde);g&amp;&amp;(r+=g.length);var b=h.lastIndexOf(Mde);a=~b?h.length-b:a+h.length}function i(){var h={line:r,column:a};return function(g){return g.position=new l(h),u(),g}}function l(h){this.start=h,this.end={line:r,column:a},this.source=t.source}l.prototype.content=e;function s(h){var g=new Error(t.source+&quot;:&quot;+r+&quot;:&quot;+a+&quot;: &quot;+h);if(g.reason=h,g.filename=t.source,g.line=r,g.column=a,g.source=e,!t.silent)throw g}function c(h){var g=h.exec(e);if(g){var b=g[0];return n(b),e=e.slice(b.length),g}}function u(){c(Bde)}function m(h){var g;for(h=h||[];g=p();)g!==!1&amp;&amp;h.push(g);return h}function p(){var h=i();if(!(bz!=e.charAt(0)||yz!=e.charAt(1))){for(var g=2;pp!=e.charAt(g)&amp;&amp;(yz!=e.charAt(g)||bz!=e.charAt(g+1));)++g;if(g+=2,pp===e.charAt(g-1))return s(&quot;End of comment missing&quot;);var b=e.slice(2,g-2);return a+=2,n(b),e=e.slice(g),a+=2,h({type:Ade,comment:b})}}function d(){var h=i(),g=c(Ide);if(g){if(p(),!c(Nde))return s(&quot;property missing &#039;:&#039;&quot;);var b=c(Ede),y=h({type:Rde,property:_z(g[0].replace(vz,pp)),value:b?_z(b[0].replace(vz,pp)):pp});return c(Dde),y}}function f(){var h=[];m(h);for(var g;g=d();)g!==!1&amp;&amp;(h.push(g),m(h));return h}return u(),f()}function _z(e){return e?e.replace(Lde,pp):pp}xz.exports=zde});var wz=Ce(v0=&gt;{&quot;use strict&quot;;var Vde=v0&amp;&amp;v0.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(v0,&quot;__esModule&quot;,{value:!0});v0.default=Hde;var Fde=Vde(kz());function Hde(e,t){let r=null;if(!e||typeof e!=&quot;string&quot;)return r;let a=(0,Fde.default)(e),n=typeof t==&quot;function&quot;;return a.forEach(i=&gt;{if(i.type!==&quot;declaration&quot;)return;let{property:l,value:s}=i;n?t(l,s,i):s&amp;&amp;(r=r||{},r[l]=s)}),r}});var Sz=Ce(Rb=&gt;{&quot;use strict&quot;;Object.defineProperty(Rb,&quot;__esModule&quot;,{value:!0});Rb.camelCase=void 0;var Ode=/^--[a-zA-Z0-9_-]+$/,jde=/-([a-z])/g,Ude=/^[^-]+$/,Gde=/^-(webkit|moz|ms|o|khtml)-/,Wde=/^-(ms)-/,$de=function(e){return!e||Ude.test(e)||Ode.test(e)},qde=function(e,t){return t.toUpperCase()},Cz=function(e,t){return&quot;&quot;.concat(t,&quot;-&quot;)},Zde=function(e,t){return t===void 0&amp;&amp;(t={}),$de(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Wde,Cz):e=e.replace(Gde,Cz),e.replace(jde,qde))};Rb.camelCase=Zde});var Pz=Ce((sS,Tz)=&gt;{&quot;use strict&quot;;var Kde=sS&amp;&amp;sS.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}},Qde=Kde(wz()),Yde=Sz();function lS(e,t){var r={};return!e||typeof e!=&quot;string&quot;||(0,Qde.default)(e,function(a,n){a&amp;&amp;n&amp;&amp;(r[(0,Yde.camelCase)(a,t)]=n)}),r}lS.default=lS;Tz.exports=lS});var cS=Ce(Ga=&gt;{&quot;use strict&quot;;var Xde=Ga&amp;&amp;Ga.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(Ga,&quot;__esModule&quot;,{value:!0});Ga.returnFirstArg=Ga.canTextBeChildOfNode=Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN=Ga.PRESERVE_CUSTOM_ATTRIBUTES=void 0;Ga.isCustomComponent=rfe;Ga.setStyleProp=afe;var Jde=iS(),efe=Xde(Pz()),tfe=new Set([&quot;annotation-xml&quot;,&quot;color-profile&quot;,&quot;font-face&quot;,&quot;font-face-src&quot;,&quot;font-face-uri&quot;,&quot;font-face-format&quot;,&quot;font-face-name&quot;,&quot;missing-glyph&quot;]);function rfe(e,t){return e.includes(&quot;-&quot;)?!tfe.has(e):!!(t&amp;&amp;typeof t.is==&quot;string&quot;)}var ofe={reactCompat:!0};function afe(e,t){if(typeof e==&quot;string&quot;){if(!e.trim()){t.style={};return}try{t.style=(0,efe.default)(e,ofe)}catch{t.style={}}}}Ga.PRESERVE_CUSTOM_ATTRIBUTES=Number(Jde.version.split(&quot;.&quot;)[0])&gt;=16;Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([&quot;tr&quot;,&quot;tbody&quot;,&quot;thead&quot;,&quot;tfoot&quot;,&quot;colgroup&quot;,&quot;table&quot;,&quot;head&quot;,&quot;html&quot;,&quot;frameset&quot;]);var nfe=function(e){return!Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};Ga.canTextBeChildOfNode=nfe;var ife=function(e){return e};Ga.returnFirstArg=ife});var mS=Ce(uS=&gt;{&quot;use strict&quot;;Object.defineProperty(uS,&quot;__esModule&quot;,{value:!0});uS.default=ufe;var b0=hz(),Bz=cS(),lfe=[&quot;checked&quot;,&quot;value&quot;],sfe=[&quot;input&quot;,&quot;select&quot;,&quot;textarea&quot;],cfe={reset:!0,submit:!0};function ufe(e,t){e===void 0&amp;&amp;(e={});var r={},a=!!(e.type&amp;&amp;cfe[e.type]);for(var n in e){var i=e[n];if((0,b0.isCustomAttribute)(n)){r[n]=i;continue}var l=n.toLowerCase(),s=Iz(l);if(s){var c=(0,b0.getPropertyInfo)(s);switch(lfe.includes(s)&amp;&amp;sfe.includes(t)&amp;&amp;!a&amp;&amp;(s=Iz(&quot;default&quot;+l)),r[s]=i,c&amp;&amp;c.type){case b0.BOOLEAN:r[s]=!0;break;case b0.OVERLOADED_BOOLEAN:i===&quot;&quot;&amp;&amp;(r[s]=!0);break}continue}Bz.PRESERVE_CUSTOM_ATTRIBUTES&amp;&amp;(r[n]=i)}return(0,Bz.setStyleProp)(e.style,r),r}function Iz(e){return b0.possibleStandardNames[e]}});var Ez=Ce(_0=&gt;{&quot;use strict&quot;;var mfe=_0&amp;&amp;_0.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(_0,&quot;__esModule&quot;,{value:!0});_0.default=Nz;var pS=iS(),pfe=mfe(mS()),y0=cS(),dfe={cloneElement:pS.cloneElement,createElement:pS.createElement,isValidElement:pS.isValidElement};function Nz(e,t){t===void 0&amp;&amp;(t={});for(var r=[],a=typeof t.replace==&quot;function&quot;,n=t.transform||y0.returnFirstArg,i=t.library||dfe,l=i.cloneElement,s=i.createElement,c=i.isValidElement,u=e.length,m=0;m&lt;u;m++){var p=e[m];if(a){var d=t.replace(p,m);if(c(d)){u&gt;1&amp;&amp;(d=l(d,{key:d.key||m})),r.push(n(d,p,m));continue}}if(p.type===&quot;text&quot;){var f=!p.data.trim().length;if(f&amp;&amp;p.parent&amp;&amp;!(0,y0.canTextBeChildOfNode)(p.parent)||t.trim&amp;&amp;f)continue;r.push(n(p.data,p,m));continue}var h=p,g={};ffe(h)?((0,y0.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&amp;&amp;(g=(0,pfe.default)(h.attribs,h.name));var b=void 0;switch(p.type){case&quot;script&quot;:case&quot;style&quot;:p.children[0]&amp;&amp;(g.dangerouslySetInnerHTML={__html:p.children[0].data});break;case&quot;tag&quot;:p.name===&quot;textarea&quot;&amp;&amp;p.children[0]?g.defaultValue=p.children[0].data:p.children&amp;&amp;p.children.length&amp;&amp;(b=Nz(p.children,t));break;default:continue}u&gt;1&amp;&amp;(g.key=m),r.push(n(s(p.name,g,b),p,m))}return r.length===1?r[0]:r}function ffe(e){return y0.PRESERVE_CUSTOM_ATTRIBUTES&amp;&amp;e.type===&quot;tag&quot;&amp;&amp;(0,y0.isCustomComponent)(e.name,e.attribs)}});var dS=Ce(or=&gt;{&quot;use strict&quot;;Object.defineProperty(or,&quot;__esModule&quot;,{value:!0});or.Doctype=or.CDATA=or.Tag=or.Style=or.Script=or.Comment=or.Directive=or.Text=or.Root=or.isTag=or.ElementType=void 0;var oi;(function(e){e.Root=&quot;root&quot;,e.Text=&quot;text&quot;,e.Directive=&quot;directive&quot;,e.Comment=&quot;comment&quot;,e.Script=&quot;script&quot;,e.Style=&quot;style&quot;,e.Tag=&quot;tag&quot;,e.CDATA=&quot;cdata&quot;,e.Doctype=&quot;doctype&quot;})(oi=or.ElementType||(or.ElementType={}));function hfe(e){return e.type===oi.Tag||e.type===oi.Script||e.type===oi.Style}or.isTag=hfe;or.Root=oi.Root;or.Text=oi.Text;or.Directive=oi.Directive;or.Comment=oi.Comment;or.Script=oi.Script;or.Style=oi.Style;or.Tag=oi.Tag;or.CDATA=oi.CDATA;or.Doctype=oi.Doctype});var vS=Ce(Ge=&gt;{&quot;use strict&quot;;var ju=Ge&amp;&amp;Ge.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&amp;&amp;(a[i]=n[i])},e(t,r)};return function(t,r){if(typeof r!=&quot;function&quot;&amp;&amp;r!==null)throw new TypeError(&quot;Class extends value &quot;+String(r)+&quot; is not a constructor or null&quot;);e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}})(),x0=Ge&amp;&amp;Ge.__assign||function(){return x0=Object.assign||function(e){for(var t,r=1,a=arguments.length;r&lt;a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},x0.apply(this,arguments)};Object.defineProperty(Ge,&quot;__esModule&quot;,{value:!0});Ge.cloneNode=Ge.hasChildren=Ge.isDocument=Ge.isDirective=Ge.isComment=Ge.isText=Ge.isCDATA=Ge.isTag=Ge.Element=Ge.Document=Ge.CDATA=Ge.NodeWithChildren=Ge.ProcessingInstruction=Ge.Comment=Ge.Text=Ge.DataNode=Ge.Node=void 0;var Cn=dS(),hS=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,&quot;parentNode&quot;,{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,&quot;previousSibling&quot;,{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,&quot;nextSibling&quot;,{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&amp;&amp;(t=!1),gS(this,t)},e})();Ge.Node=hS;var zb=(function(e){ju(t,e);function t(r){var a=e.call(this)||this;return a.data=r,a}return Object.defineProperty(t.prototype,&quot;nodeValue&quot;,{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(hS);Ge.DataNode=zb;var Dz=(function(e){ju(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=Cn.ElementType.Text,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 3},enumerable:!1,configurable:!0}),t})(zb);Ge.Text=Dz;var Lz=(function(e){ju(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=Cn.ElementType.Comment,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 8},enumerable:!1,configurable:!0}),t})(zb);Ge.Comment=Lz;var Mz=(function(e){ju(t,e);function t(r,a){var n=e.call(this,a)||this;return n.name=r,n.type=Cn.ElementType.Directive,n}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 1},enumerable:!1,configurable:!0}),t})(zb);Ge.ProcessingInstruction=Mz;var Vb=(function(e){ju(t,e);function t(r){var a=e.call(this)||this;return a.children=r,a}return Object.defineProperty(t.prototype,&quot;firstChild&quot;,{get:function(){var r;return(r=this.children[0])!==null&amp;&amp;r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;lastChild&quot;,{get:function(){return this.children.length&gt;0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;childNodes&quot;,{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(hS);Ge.NodeWithChildren=Vb;var Az=(function(e){ju(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=Cn.ElementType.CDATA,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 4},enumerable:!1,configurable:!0}),t})(Vb);Ge.CDATA=Az;var Rz=(function(e){ju(t,e);function t(){var r=e!==null&amp;&amp;e.apply(this,arguments)||this;return r.type=Cn.ElementType.Root,r}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 9},enumerable:!1,configurable:!0}),t})(Vb);Ge.Document=Rz;var zz=(function(e){ju(t,e);function t(r,a,n,i){n===void 0&amp;&amp;(n=[]),i===void 0&amp;&amp;(i=r===&quot;script&quot;?Cn.ElementType.Script:r===&quot;style&quot;?Cn.ElementType.Style:Cn.ElementType.Tag);var l=e.call(this,n)||this;return l.name=r,l.attribs=a,l.type=i,l}return Object.defineProperty(t.prototype,&quot;nodeType&quot;,{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;tagName&quot;,{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,&quot;attributes&quot;,{get:function(){var r=this;return Object.keys(this.attribs).map(function(a){var n,i;return{name:a,value:r.attribs[a],namespace:(n=r[&quot;x-attribsNamespace&quot;])===null||n===void 0?void 0:n[a],prefix:(i=r[&quot;x-attribsPrefix&quot;])===null||i===void 0?void 0:i[a]}})},enumerable:!1,configurable:!0}),t})(Vb);Ge.Element=zz;function Vz(e){return(0,Cn.isTag)(e)}Ge.isTag=Vz;function Fz(e){return e.type===Cn.ElementType.CDATA}Ge.isCDATA=Fz;function Hz(e){return e.type===Cn.ElementType.Text}Ge.isText=Hz;function Oz(e){return e.type===Cn.ElementType.Comment}Ge.isComment=Oz;function jz(e){return e.type===Cn.ElementType.Directive}Ge.isDirective=jz;function Uz(e){return e.type===Cn.ElementType.Root}Ge.isDocument=Uz;function gfe(e){return Object.prototype.hasOwnProperty.call(e,&quot;children&quot;)}Ge.hasChildren=gfe;function gS(e,t){t===void 0&amp;&amp;(t=!1);var r;if(Hz(e))r=new Dz(e.data);else if(Oz(e))r=new Lz(e.data);else if(Vz(e)){var a=t?fS(e.children):[],n=new zz(e.name,x0({},e.attribs),a);a.forEach(function(c){return c.parent=n}),e.namespace!=null&amp;&amp;(n.namespace=e.namespace),e[&quot;x-attribsNamespace&quot;]&amp;&amp;(n[&quot;x-attribsNamespace&quot;]=x0({},e[&quot;x-attribsNamespace&quot;])),e[&quot;x-attribsPrefix&quot;]&amp;&amp;(n[&quot;x-attribsPrefix&quot;]=x0({},e[&quot;x-attribsPrefix&quot;])),r=n}else if(Fz(e)){var a=t?fS(e.children):[],i=new Az(a);a.forEach(function(u){return u.parent=i}),r=i}else if(Uz(e)){var a=t?fS(e.children):[],l=new Rz(a);a.forEach(function(u){return u.parent=l}),e[&quot;x-mode&quot;]&amp;&amp;(l[&quot;x-mode&quot;]=e[&quot;x-mode&quot;]),r=l}else if(jz(e)){var s=new Mz(e.name,e.data);e[&quot;x-name&quot;]!=null&amp;&amp;(s[&quot;x-name&quot;]=e[&quot;x-name&quot;],s[&quot;x-publicId&quot;]=e[&quot;x-publicId&quot;],s[&quot;x-systemId&quot;]=e[&quot;x-systemId&quot;]),r=s}else throw new Error(&quot;Not implemented yet: &quot;.concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&amp;&amp;(r.sourceCodeLocation=e.sourceCodeLocation),r}Ge.cloneNode=gS;function fS(e){for(var t=e.map(function(a){return gS(a,!0)}),r=1;r&lt;t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var $z=Ce(Ns=&gt;{&quot;use strict&quot;;var vfe=Ns&amp;&amp;Ns.__createBinding||(Object.create?(function(e,t,r,a){a===void 0&amp;&amp;(a=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||(&quot;get&quot;in n?!t.__esModule:n.writable||n.configurable))&amp;&amp;(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}):(function(e,t,r,a){a===void 0&amp;&amp;(a=r),e[a]=t[r]})),bfe=Ns&amp;&amp;Ns.__exportStar||function(e,t){for(var r in e)r!==&quot;default&quot;&amp;&amp;!Object.prototype.hasOwnProperty.call(t,r)&amp;&amp;vfe(t,e,r)};Object.defineProperty(Ns,&quot;__esModule&quot;,{value:!0});Ns.DomHandler=void 0;var bS=dS(),Uu=vS();bfe(vS(),Ns);var Gz={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},Wz=(function(){function e(t,r,a){this.dom=[],this.root=new Uu.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r==&quot;function&quot;&amp;&amp;(a=r,r=Gz),typeof t==&quot;object&quot;&amp;&amp;(r=t,t=void 0),this.callback=t??null,this.options=r??Gz,this.elementCB=a??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new Uu.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&amp;&amp;(t.endIndex=this.parser.endIndex),this.elementCB&amp;&amp;this.elementCB(t)},e.prototype.onopentag=function(t,r){var a=this.options.xmlMode?bS.ElementType.Tag:void 0,n=new Uu.Element(t,r,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&amp;&amp;r.type===bS.ElementType.Text)r.data+=t,this.options.withEndIndices&amp;&amp;(r.endIndex=this.parser.endIndex);else{var a=new Uu.Text(t);this.addNode(a),this.lastNode=a}},e.prototype.oncomment=function(t){if(this.lastNode&amp;&amp;this.lastNode.type===bS.ElementType.Comment){this.lastNode.data+=t;return}var r=new Uu.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new Uu.Text(&quot;&quot;),r=new Uu.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var a=new Uu.ProcessingInstruction(t,r);this.addNode(a)},e.prototype.handleCallback=function(t){if(typeof this.callback==&quot;function&quot;)this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],a=r.children[r.children.length-1];this.options.withStartIndices&amp;&amp;(t.startIndex=this.parser.startIndex),this.options.withEndIndices&amp;&amp;(t.endIndex=this.parser.endIndex),r.children.push(t),a&amp;&amp;(t.prev=a,a.next=t),t.parent=r,this.lastNode=null},e})();Ns.DomHandler=Wz;Ns.default=Wz});var _S=Ce(co=&gt;{&quot;use strict&quot;;var yS=co&amp;&amp;co.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(co,&quot;__esModule&quot;,{value:!0});co.htmlToDOM=co.domToReact=co.attributesToProps=co.Text=co.ProcessingInstruction=co.Element=co.Comment=void 0;co.default=xfe;var qz=yS(pz());co.htmlToDOM=qz.default;var yfe=yS(mS());co.attributesToProps=yfe.default;var Zz=yS(Ez());co.domToReact=Zz.default;var Fb=$z();Object.defineProperty(co,&quot;Comment&quot;,{enumerable:!0,get:function(){return Fb.Comment}});Object.defineProperty(co,&quot;Element&quot;,{enumerable:!0,get:function(){return Fb.Element}});Object.defineProperty(co,&quot;ProcessingInstruction&quot;,{enumerable:!0,get:function(){return Fb.ProcessingInstruction}});Object.defineProperty(co,&quot;Text&quot;,{enumerable:!0,get:function(){return Fb.Text}});var _fe={lowerCaseAttributeNames:!1};function xfe(e,t){if(typeof e!=&quot;string&quot;)throw new TypeError(&quot;First argument must be a string&quot;);return e?(0,Zz.default)((0,qz.default)(e,t?.htmlparser2||_fe),t):[]}});var ai=Ce((n6e,Qz)=&gt;{Qz.exports=window.wp.dom});var v=Ce((i6e,Yz)=&gt;{Yz.exports=window.ReactJSXRuntime});var U=Ce((u6e,eV)=&gt;{eV.exports=window.wp.element});var L=Ce((p6e,tV)=&gt;{tV.exports=window.wp.primitives});var M=Ce((oPe,rV)=&gt;{rV.exports=window.wp.components});var Rr=Ce((aPe,oV)=&gt;{oV.exports=window.wp.blob});var Q=Ce((nPe,aV)=&gt;{aV.exports=window.wp.coreData});var mr=Ce((tBe,FV)=&gt;{FV.exports=window.wp.url});var Wo=Ce((aBe,GV)=&gt;{GV.exports=window.wp.htmlEntities});var xr=Ce((gBe,aF)=&gt;{aF.exports=window.wp.notices});var iF=Ce((_Be,nF)=&gt;{nF.exports=window.wp.privateApis});var As=Ce((cIe,RF)=&gt;{RF.exports=window.wp.keycodes});var Ff=Ce((fIe,FF)=&gt;{FF.exports=window.wp.deprecated});var em=Ce((zIe,QF)=&gt;{QF.exports=window.wp.richText});var Lk=Ce((BDe,WO)=&gt;{WO.exports=window.wp.date});var G1=Ce((iLe,ij)=&gt;{ij.exports=window.wp.apiFetch});var Yc=Ce((LMe,VU)=&gt;{VU.exports=window.wp.hooks});var rv=Ce((XRe,D5)=&gt;{var uW={\u00C0:&quot;A&quot;,\u00C1:&quot;A&quot;,\u00C2:&quot;A&quot;,\u00C3:&quot;A&quot;,\u00C4:&quot;A&quot;,\u00C5:&quot;A&quot;,\u1EA4:&quot;A&quot;,\u1EAE:&quot;A&quot;,\u1EB2:&quot;A&quot;,\u1EB4:&quot;A&quot;,\u1EB6:&quot;A&quot;,\u00C6:&quot;AE&quot;,\u1EA6:&quot;A&quot;,\u1EB0:&quot;A&quot;,\u0202:&quot;A&quot;,\u1EA2:&quot;A&quot;,\u1EA0:&quot;A&quot;,\u1EA8:&quot;A&quot;,\u1EAA:&quot;A&quot;,\u1EAC:&quot;A&quot;,\u00C7:&quot;C&quot;,\u1E08:&quot;C&quot;,\u00C8:&quot;E&quot;,\u00C9:&quot;E&quot;,\u00CA:&quot;E&quot;,\u00CB:&quot;E&quot;,\u1EBE:&quot;E&quot;,\u1E16:&quot;E&quot;,\u1EC0:&quot;E&quot;,\u1E14:&quot;E&quot;,\u1E1C:&quot;E&quot;,\u0206:&quot;E&quot;,\u1EBA:&quot;E&quot;,\u1EBC:&quot;E&quot;,\u1EB8:&quot;E&quot;,\u1EC2:&quot;E&quot;,\u1EC4:&quot;E&quot;,\u1EC6:&quot;E&quot;,\u00CC:&quot;I&quot;,\u00CD:&quot;I&quot;,\u00CE:&quot;I&quot;,\u00CF:&quot;I&quot;,\u1E2E:&quot;I&quot;,\u020A:&quot;I&quot;,\u1EC8:&quot;I&quot;,\u1ECA:&quot;I&quot;,\u00D0:&quot;D&quot;,\u00D1:&quot;N&quot;,\u00D2:&quot;O&quot;,\u00D3:&quot;O&quot;,\u00D4:&quot;O&quot;,\u00D5:&quot;O&quot;,\u00D6:&quot;O&quot;,\u00D8:&quot;O&quot;,\u1ED0:&quot;O&quot;,\u1E4C:&quot;O&quot;,\u1E52:&quot;O&quot;,\u020E:&quot;O&quot;,\u1ECE:&quot;O&quot;,\u1ECC:&quot;O&quot;,\u1ED4:&quot;O&quot;,\u1ED6:&quot;O&quot;,\u1ED8:&quot;O&quot;,\u1EDC:&quot;O&quot;,\u1EDE:&quot;O&quot;,\u1EE0:&quot;O&quot;,\u1EDA:&quot;O&quot;,\u1EE2:&quot;O&quot;,\u00D9:&quot;U&quot;,\u00DA:&quot;U&quot;,\u00DB:&quot;U&quot;,\u00DC:&quot;U&quot;,\u1EE6:&quot;U&quot;,\u1EE4:&quot;U&quot;,\u1EEC:&quot;U&quot;,\u1EEE:&quot;U&quot;,\u1EF0:&quot;U&quot;,\u00DD:&quot;Y&quot;,\u00E0:&quot;a&quot;,\u00E1:&quot;a&quot;,\u00E2:&quot;a&quot;,\u00E3:&quot;a&quot;,\u00E4:&quot;a&quot;,\u00E5:&quot;a&quot;,\u1EA5:&quot;a&quot;,\u1EAF:&quot;a&quot;,\u1EB3:&quot;a&quot;,\u1EB5:&quot;a&quot;,\u1EB7:&quot;a&quot;,\u00E6:&quot;ae&quot;,\u1EA7:&quot;a&quot;,\u1EB1:&quot;a&quot;,\u0203:&quot;a&quot;,\u1EA3:&quot;a&quot;,\u1EA1:&quot;a&quot;,\u1EA9:&quot;a&quot;,\u1EAB:&quot;a&quot;,\u1EAD:&quot;a&quot;,\u00E7:&quot;c&quot;,\u1E09:&quot;c&quot;,\u00E8:&quot;e&quot;,\u00E9:&quot;e&quot;,\u00EA:&quot;e&quot;,\u00EB:&quot;e&quot;,\u1EBF:&quot;e&quot;,\u1E17:&quot;e&quot;,\u1EC1:&quot;e&quot;,\u1E15:&quot;e&quot;,\u1E1D:&quot;e&quot;,\u0207:&quot;e&quot;,\u1EBB:&quot;e&quot;,\u1EBD:&quot;e&quot;,\u1EB9:&quot;e&quot;,\u1EC3:&quot;e&quot;,\u1EC5:&quot;e&quot;,\u1EC7:&quot;e&quot;,\u00EC:&quot;i&quot;,\u00ED:&quot;i&quot;,\u00EE:&quot;i&quot;,\u00EF:&quot;i&quot;,\u1E2F:&quot;i&quot;,\u020B:&quot;i&quot;,\u1EC9:&quot;i&quot;,\u1ECB:&quot;i&quot;,\u00F0:&quot;d&quot;,\u00F1:&quot;n&quot;,\u00F2:&quot;o&quot;,\u00F3:&quot;o&quot;,\u00F4:&quot;o&quot;,\u00F5:&quot;o&quot;,\u00F6:&quot;o&quot;,\u00F8:&quot;o&quot;,\u1ED1:&quot;o&quot;,\u1E4D:&quot;o&quot;,\u1E53:&quot;o&quot;,\u020F:&quot;o&quot;,\u1ECF:&quot;o&quot;,\u1ECD:&quot;o&quot;,\u1ED5:&quot;o&quot;,\u1ED7:&quot;o&quot;,\u1ED9:&quot;o&quot;,\u1EDD:&quot;o&quot;,\u1EDF:&quot;o&quot;,\u1EE1:&quot;o&quot;,\u1EDB:&quot;o&quot;,\u1EE3:&quot;o&quot;,\u00F9:&quot;u&quot;,\u00FA:&quot;u&quot;,\u00FB:&quot;u&quot;,\u00FC:&quot;u&quot;,\u1EE7:&quot;u&quot;,\u1EE5:&quot;u&quot;,\u1EED:&quot;u&quot;,\u1EEF:&quot;u&quot;,\u1EF1:&quot;u&quot;,\u00FD:&quot;y&quot;,\u00FF:&quot;y&quot;,\u0100:&quot;A&quot;,\u0101:&quot;a&quot;,\u0102:&quot;A&quot;,\u0103:&quot;a&quot;,\u0104:&quot;A&quot;,\u0105:&quot;a&quot;,\u0106:&quot;C&quot;,\u0107:&quot;c&quot;,\u0108:&quot;C&quot;,\u0109:&quot;c&quot;,\u010A:&quot;C&quot;,\u010B:&quot;c&quot;,\u010C:&quot;C&quot;,\u010D:&quot;c&quot;,C\u0306:&quot;C&quot;,c\u0306:&quot;c&quot;,\u010E:&quot;D&quot;,\u010F:&quot;d&quot;,\u0110:&quot;D&quot;,\u0111:&quot;d&quot;,\u0112:&quot;E&quot;,\u0113:&quot;e&quot;,\u0114:&quot;E&quot;,\u0115:&quot;e&quot;,\u0116:&quot;E&quot;,\u0117:&quot;e&quot;,\u0118:&quot;E&quot;,\u0119:&quot;e&quot;,\u011A:&quot;E&quot;,\u011B:&quot;e&quot;,\u011C:&quot;G&quot;,\u01F4:&quot;G&quot;,\u011D:&quot;g&quot;,\u01F5:&quot;g&quot;,\u011E:&quot;G&quot;,\u011F:&quot;g&quot;,\u0120:&quot;G&quot;,\u0121:&quot;g&quot;,\u0122:&quot;G&quot;,\u0123:&quot;g&quot;,\u0124:&quot;H&quot;,\u0125:&quot;h&quot;,\u0126:&quot;H&quot;,\u0127:&quot;h&quot;,\u1E2A:&quot;H&quot;,\u1E2B:&quot;h&quot;,\u0128:&quot;I&quot;,\u0129:&quot;i&quot;,\u012A:&quot;I&quot;,\u012B:&quot;i&quot;,\u012C:&quot;I&quot;,\u012D:&quot;i&quot;,\u012E:&quot;I&quot;,\u012F:&quot;i&quot;,\u0130:&quot;I&quot;,\u0131:&quot;i&quot;,\u0132:&quot;IJ&quot;,\u0133:&quot;ij&quot;,\u0134:&quot;J&quot;,\u0135:&quot;j&quot;,\u0136:&quot;K&quot;,\u0137:&quot;k&quot;,\u1E30:&quot;K&quot;,\u1E31:&quot;k&quot;,K\u0306:&quot;K&quot;,k\u0306:&quot;k&quot;,\u0139:&quot;L&quot;,\u013A:&quot;l&quot;,\u013B:&quot;L&quot;,\u013C:&quot;l&quot;,\u013D:&quot;L&quot;,\u013E:&quot;l&quot;,\u013F:&quot;L&quot;,\u0140:&quot;l&quot;,\u0141:&quot;l&quot;,\u0142:&quot;l&quot;,\u1E3E:&quot;M&quot;,\u1E3F:&quot;m&quot;,M\u0306:&quot;M&quot;,m\u0306:&quot;m&quot;,\u0143:&quot;N&quot;,\u0144:&quot;n&quot;,\u0145:&quot;N&quot;,\u0146:&quot;n&quot;,\u0147:&quot;N&quot;,\u0148:&quot;n&quot;,\u0149:&quot;n&quot;,N\u0306:&quot;N&quot;,n\u0306:&quot;n&quot;,\u014C:&quot;O&quot;,\u014D:&quot;o&quot;,\u014E:&quot;O&quot;,\u014F:&quot;o&quot;,\u0150:&quot;O&quot;,\u0151:&quot;o&quot;,\u0152:&quot;OE&quot;,\u0153:&quot;oe&quot;,P\u0306:&quot;P&quot;,p\u0306:&quot;p&quot;,\u0154:&quot;R&quot;,\u0155:&quot;r&quot;,\u0156:&quot;R&quot;,\u0157:&quot;r&quot;,\u0158:&quot;R&quot;,\u0159:&quot;r&quot;,R\u0306:&quot;R&quot;,r\u0306:&quot;r&quot;,\u0212:&quot;R&quot;,\u0213:&quot;r&quot;,\u015A:&quot;S&quot;,\u015B:&quot;s&quot;,\u015C:&quot;S&quot;,\u015D:&quot;s&quot;,\u015E:&quot;S&quot;,\u0218:&quot;S&quot;,\u0219:&quot;s&quot;,\u015F:&quot;s&quot;,\u0160:&quot;S&quot;,\u0161:&quot;s&quot;,\u0162:&quot;T&quot;,\u0163:&quot;t&quot;,\u021B:&quot;t&quot;,\u021A:&quot;T&quot;,\u0164:&quot;T&quot;,\u0165:&quot;t&quot;,\u0166:&quot;T&quot;,\u0167:&quot;t&quot;,T\u0306:&quot;T&quot;,t\u0306:&quot;t&quot;,\u0168:&quot;U&quot;,\u0169:&quot;u&quot;,\u016A:&quot;U&quot;,\u016B:&quot;u&quot;,\u016C:&quot;U&quot;,\u016D:&quot;u&quot;,\u016E:&quot;U&quot;,\u016F:&quot;u&quot;,\u0170:&quot;U&quot;,\u0171:&quot;u&quot;,\u0172:&quot;U&quot;,\u0173:&quot;u&quot;,\u0216:&quot;U&quot;,\u0217:&quot;u&quot;,V\u0306:&quot;V&quot;,v\u0306:&quot;v&quot;,\u0174:&quot;W&quot;,\u0175:&quot;w&quot;,\u1E82:&quot;W&quot;,\u1E83:&quot;w&quot;,X\u0306:&quot;X&quot;,x\u0306:&quot;x&quot;,\u0176:&quot;Y&quot;,\u0177:&quot;y&quot;,\u0178:&quot;Y&quot;,Y\u0306:&quot;Y&quot;,y\u0306:&quot;y&quot;,\u0179:&quot;Z&quot;,\u017A:&quot;z&quot;,\u017B:&quot;Z&quot;,\u017C:&quot;z&quot;,\u017D:&quot;Z&quot;,\u017E:&quot;z&quot;,\u017F:&quot;s&quot;,\u0192:&quot;f&quot;,\u01A0:&quot;O&quot;,\u01A1:&quot;o&quot;,\u01AF:&quot;U&quot;,\u01B0:&quot;u&quot;,\u01CD:&quot;A&quot;,\u01CE:&quot;a&quot;,\u01CF:&quot;I&quot;,\u01D0:&quot;i&quot;,\u01D1:&quot;O&quot;,\u01D2:&quot;o&quot;,\u01D3:&quot;U&quot;,\u01D4:&quot;u&quot;,\u01D5:&quot;U&quot;,\u01D6:&quot;u&quot;,\u01D7:&quot;U&quot;,\u01D8:&quot;u&quot;,\u01D9:&quot;U&quot;,\u01DA:&quot;u&quot;,\u01DB:&quot;U&quot;,\u01DC:&quot;u&quot;,\u1EE8:&quot;U&quot;,\u1EE9:&quot;u&quot;,\u1E78:&quot;U&quot;,\u1E79:&quot;u&quot;,\u01FA:&quot;A&quot;,\u01FB:&quot;a&quot;,\u01FC:&quot;AE&quot;,\u01FD:&quot;ae&quot;,\u01FE:&quot;O&quot;,\u01FF:&quot;o&quot;,\u00DE:&quot;TH&quot;,\u00FE:&quot;th&quot;,\u1E54:&quot;P&quot;,\u1E55:&quot;p&quot;,\u1E64:&quot;S&quot;,\u1E65:&quot;s&quot;,X\u0301:&quot;X&quot;,x\u0301:&quot;x&quot;,\u0403:&quot;\u0413&quot;,\u0453:&quot;\u0433&quot;,\u040C:&quot;\u041A&quot;,\u045C:&quot;\u043A&quot;,A\u030B:&quot;A&quot;,a\u030B:&quot;a&quot;,E\u030B:&quot;E&quot;,e\u030B:&quot;e&quot;,I\u030B:&quot;I&quot;,i\u030B:&quot;i&quot;,\u01F8:&quot;N&quot;,\u01F9:&quot;n&quot;,\u1ED2:&quot;O&quot;,\u1ED3:&quot;o&quot;,\u1E50:&quot;O&quot;,\u1E51:&quot;o&quot;,\u1EEA:&quot;U&quot;,\u1EEB:&quot;u&quot;,\u1E80:&quot;W&quot;,\u1E81:&quot;w&quot;,\u1EF2:&quot;Y&quot;,\u1EF3:&quot;y&quot;,\u0200:&quot;A&quot;,\u0201:&quot;a&quot;,\u0204:&quot;E&quot;,\u0205:&quot;e&quot;,\u0208:&quot;I&quot;,\u0209:&quot;i&quot;,\u020C:&quot;O&quot;,\u020D:&quot;o&quot;,\u0210:&quot;R&quot;,\u0211:&quot;r&quot;,\u0214:&quot;U&quot;,\u0215:&quot;u&quot;,B\u030C:&quot;B&quot;,b\u030C:&quot;b&quot;,\u010C\u0323:&quot;C&quot;,\u010D\u0323:&quot;c&quot;,\u00CA\u030C:&quot;E&quot;,\u00EA\u030C:&quot;e&quot;,F\u030C:&quot;F&quot;,f\u030C:&quot;f&quot;,\u01E6:&quot;G&quot;,\u01E7:&quot;g&quot;,\u021E:&quot;H&quot;,\u021F:&quot;h&quot;,J\u030C:&quot;J&quot;,\u01F0:&quot;j&quot;,\u01E8:&quot;K&quot;,\u01E9:&quot;k&quot;,M\u030C:&quot;M&quot;,m\u030C:&quot;m&quot;,P\u030C:&quot;P&quot;,p\u030C:&quot;p&quot;,Q\u030C:&quot;Q&quot;,q\u030C:&quot;q&quot;,\u0158\u0329:&quot;R&quot;,\u0159\u0329:&quot;r&quot;,\u1E66:&quot;S&quot;,\u1E67:&quot;s&quot;,V\u030C:&quot;V&quot;,v\u030C:&quot;v&quot;,W\u030C:&quot;W&quot;,w\u030C:&quot;w&quot;,X\u030C:&quot;X&quot;,x\u030C:&quot;x&quot;,Y\u030C:&quot;Y&quot;,y\u030C:&quot;y&quot;,A\u0327:&quot;A&quot;,a\u0327:&quot;a&quot;,B\u0327:&quot;B&quot;,b\u0327:&quot;b&quot;,\u1E10:&quot;D&quot;,\u1E11:&quot;d&quot;,\u0228:&quot;E&quot;,\u0229:&quot;e&quot;,\u0190\u0327:&quot;E&quot;,\u025B\u0327:&quot;e&quot;,\u1E28:&quot;H&quot;,\u1E29:&quot;h&quot;,I\u0327:&quot;I&quot;,i\u0327:&quot;i&quot;,\u0197\u0327:&quot;I&quot;,\u0268\u0327:&quot;i&quot;,M\u0327:&quot;M&quot;,m\u0327:&quot;m&quot;,O\u0327:&quot;O&quot;,o\u0327:&quot;o&quot;,Q\u0327:&quot;Q&quot;,q\u0327:&quot;q&quot;,U\u0327:&quot;U&quot;,u\u0327:&quot;u&quot;,X\u0327:&quot;X&quot;,x\u0327:&quot;x&quot;,Z\u0327:&quot;Z&quot;,z\u0327:&quot;z&quot;,\u0439:&quot;\u0438&quot;,\u0419:&quot;\u0418&quot;,\u0451:&quot;\u0435&quot;,\u0401:&quot;\u0415&quot;},mW=Object.keys(uW).join(&quot;|&quot;),X1e=new RegExp(mW,&quot;g&quot;),J1e=new RegExp(mW,&quot;&quot;);function eve(e){return uW[e]}var pW=function(e){return e.replace(X1e,eve)},tve=function(e){return!!e.match(J1e)};D5.exports=pW;D5.exports.has=tve;D5.exports.remove=pW});var Eq=Ce((pHe,Nq)=&gt;{Nq.exports=window.wp.uploadMedia});var bv=Ce((FOe,DZ)=&gt;{DZ.exports=window.wp.a11y});var cD=Ce((bWe,RY)=&gt;{RY.exports=window.wp.escapeHtml});var wre=Ce((VXe,kre)=&gt;{kre.exports=window.wp.wordcount});var Ene=Ce((Drt,Nne)=&gt;{Nne.exports=window.wp.patterns});var kie=Ce((Vot,xie)=&gt;{xie.exports=window.wp.autop});var Kse=Ce((_lt,Zse)=&gt;{&quot;use strict&quot;;Zse.exports=function e(t,r){if(t===r)return!0;if(t&amp;&amp;r&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof r==&quot;object&quot;){if(t.constructor!==r.constructor)return!1;var a,n,i;if(Array.isArray(t)){if(a=t.length,a!=r.length)return!1;for(n=a;n--!==0;)if(!e(t[n],r[n]))return!1;return!0}if(t instanceof Map&amp;&amp;r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&amp;&amp;r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&amp;&amp;ArrayBuffer.isView(r)){if(a=t.length,a!=r.length)return!1;for(n=a;n--!==0;)if(t[n]!==r[n])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&amp;&amp;t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),a=i.length,a!==Object.keys(r).length)return!1;for(n=a;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=a;n--!==0;){var l=i[n];if(!e(t[l],r[l]))return!1}return!0}return t!==t&amp;&amp;r!==r}});var Npe=Ce((tpt,Ipe)=&gt;{Ipe.exports=window.wp.keyboardShortcuts});var BCe={};Z(BCe,{__experimentalGetCoreBlocks:()=&gt;Vpe,__experimentalRegisterExperimentalCoreBlocks:()=&gt;PCe,privateApis:()=&gt;PR,registerCoreBlocks:()=&gt;TCe});var Cl=o(W(),1),Mpe=o(me(),1),Ape=o(V(),1),Rpe=o(T(),1),zpe=o(Fu(),1),yb=o(P(),1);function VR(e){var t,r,a=&quot;&quot;;if(typeof e==&quot;string&quot;||typeof e==&quot;number&quot;)a+=e;else if(typeof e==&quot;object&quot;)if(Array.isArray(e)){var n=e.length;for(t=0;t&lt;n;t++)e[t]&amp;&amp;(r=VR(e[t]))&amp;&amp;(a&amp;&amp;(a+=&quot; &quot;),a+=r)}else for(r in e)e[r]&amp;&amp;(a&amp;&amp;(a+=&quot; &quot;),a+=r);return a}function ede(){for(var e,t,r=0,a=&quot;&quot;,n=arguments.length;r&lt;n;r++)(e=arguments[r])&amp;&amp;(t=VR(e))&amp;&amp;(a&amp;&amp;(a+=&quot; &quot;),a+=t);return a}var w=ede;var xS=o(_S(),1),Bl=o(_S(),1),Kz=xS.default.default||xS.default;var Xz=o(ai(),1),Jz=o(v(),1),kfe=({wrapperProps:e={},html:t=&quot;&quot;})=&gt;{let r={replace:({name:i,type:l,attribs:s,parent:c,children:u})=&gt;{if(l===&quot;tag&quot;&amp;&amp;i){let m=(0,Bl.attributesToProps)(s||{}),p=i;if(!c){let d={...m,...e,className:w(m.className,e.className),style:{...m.style||{},...e.style||{}}};return(0,Jz.jsx)(p,{...d,children:(0,Bl.domToReact)(u,r)})}}}},a=(0,Xz.safeHTML)(t);return Kz(a,r)},uo=kfe;var GB={};Z(GB,{init:()=&gt;Tfe,metadata:()=&gt;Bx,name:()=&gt;mV,settings:()=&gt;pV});var UB=o(P(),1);var Hb=o(U(),1),Wa=(0,Hb.forwardRef)(({icon:e,size:t=24,...r},a)=&gt;(0,Hb.cloneElement)(e,{width:t,height:t,...r,ref:a}));var k0=o(L(),1),w0=o(v(),1),kS=(0,w0.jsxs)(k0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,w0.jsx)(k0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 12.75L9.5 12.75L9.5 11.25L19.5 11.25L19.5 12.75Z&quot;}),(0,w0.jsx)(k0.Path,{d:&quot;M4.5 9.5L8.5 12L4.5 14.5L4.5 9.5Z&quot;})]});var dp=o(L(),1),fp=o(v(),1),wS=(0,fp.jsxs)(dp.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,fp.jsx)(dp.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 9.5L9.5 9.5L9.5 8L19.5 8L19.5 9.5Z&quot;}),(0,fp.jsx)(dp.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 13L9.5 13L9.5 11.5L19.5 11.5L19.5 13Z&quot;}),(0,fp.jsx)(dp.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 16.3999L9.5 16.3999L9.5 14.8999L19.5 14.8999L19.5 16.3999Z&quot;}),(0,fp.jsx)(dp.Path,{d:&quot;M4.5 6.25L8.5 8.75L4.5 11.25L4.5 6.25Z&quot;})]});var hp=o(L(),1),gp=o(v(),1),CS=(0,gp.jsxs)(hp.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,gp.jsx)(hp.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z&quot;}),(0,gp.jsx)(hp.Path,{d:&quot;M4.5 6L8.5 8.5L4.5 11L4.5 6Z&quot;}),(0,gp.jsx)(hp.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z&quot;}),(0,gp.jsx)(hp.Path,{d:&quot;M4.5 13L8.5 15.5L4.5 18L4.5 13Z&quot;})]});var Ob=o(L(),1),SS=o(v(),1),vp=(0,SS.jsx)(Ob.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,SS.jsx)(Ob.Path,{d:&quot;M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z&quot;})});var jb=o(L(),1),TS=o(v(),1),PS=(0,TS.jsx)(jb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TS.jsx)(jb.Path,{d:&quot;M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z&quot;})});var Ub=o(L(),1),BS=o(v(),1),IS=(0,BS.jsx)(Ub.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BS.jsx)(Ub.Path,{d:&quot;M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z&quot;})});var Gb=o(L(),1),NS=o(v(),1),ES=(0,NS.jsx)(Gb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,NS.jsx)(Gb.Path,{d:&quot;M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z&quot;})});var Wb=o(L(),1),DS=o(v(),1),LS=(0,DS.jsx)(Wb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,DS.jsx)(Wb.Path,{d:&quot;M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z&quot;})});var $b=o(L(),1),MS=o(v(),1),AS=(0,MS.jsx)($b.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MS.jsx)($b.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z&quot;})});var qb=o(L(),1),RS=o(v(),1),ni=(0,RS.jsx)(qb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,RS.jsx)(qb.Path,{d:&quot;M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z&quot;})});var Zb=o(L(),1),zS=o(v(),1),VS=(0,zS.jsx)(Zb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,zS.jsx)(Zb.Path,{d:&quot;M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z&quot;})});var Kb=o(L(),1),FS=o(v(),1),C0=(0,FS.jsx)(Kb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FS.jsx)(Kb.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;})});var Qb=o(L(),1),HS=o(v(),1),OS=(0,HS.jsx)(Qb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,HS.jsx)(Qb.Path,{d:&quot;M4 13.5h3v-3H4v3Zm6-3.5 2 2-2 2 1 1 3-3-3-3-1 1Zm7 .5v3h3v-3h-3Z&quot;})});var Yb=o(L(),1),jS=o(v(),1),US=(0,jS.jsx)(Yb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,jS.jsx)(Yb.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;})});var Xb=o(L(),1),GS=o(v(),1),WS=(0,GS.jsx)(Xb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,GS.jsx)(Xb.Path,{d:&quot;M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z&quot;})});var Jb=o(L(),1),$S=o(v(),1),S0=(0,$S.jsx)(Jb.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,$S.jsx)(Jb.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z&quot;})});var ey=o(L(),1),qS=o(v(),1),ZS=(0,qS.jsx)(ey.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,qS.jsx)(ey.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;})});var ty=o(L(),1),KS=o(v(),1),Gu=(0,KS.jsx)(ty.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,KS.jsx)(ty.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z&quot;})});var ry=o(L(),1),QS=o(v(),1),bp=(0,QS.jsx)(ry.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QS.jsx)(ry.Path,{d:&quot;M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z&quot;})});var oy=o(L(),1),YS=o(v(),1),XS=(0,YS.jsx)(oy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,YS.jsx)(oy.Path,{d:&quot;m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z&quot;})});var ay=o(L(),1),JS=o(v(),1),ny=(0,JS.jsx)(ay.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,JS.jsx)(ay.Path,{d:&quot;M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z&quot;})});var iy=o(L(),1),e9=o(v(),1),t9=(0,e9.jsx)(iy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,e9.jsx)(iy.Path,{d:&quot;M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z&quot;})});var ly=o(L(),1),r9=o(v(),1),sy=(0,r9.jsx)(ly.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,r9.jsx)(ly.Path,{d:&quot;M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z&quot;})});var cy=o(L(),1),o9=o(v(),1),T0=(0,o9.jsx)(cy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,o9.jsx)(cy.Path,{d:&quot;M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z&quot;})});var uy=o(L(),1),a9=o(v(),1),P0=(0,a9.jsx)(uy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,a9.jsx)(uy.Path,{d:&quot;M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z&quot;})});var my=o(L(),1),n9=o(v(),1),yp=(0,n9.jsx)(my.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,n9.jsx)(my.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;})});var py=o(L(),1),i9=o(v(),1),B0=(0,i9.jsx)(py.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,i9.jsx)(py.Path,{d:&quot;M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z&quot;})});var dy=o(L(),1),l9=o(v(),1),s9=(0,l9.jsx)(dy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,l9.jsx)(dy.Path,{d:&quot;M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z&quot;})});var fy=o(L(),1),c9=o(v(),1),u9=(0,c9.jsx)(fy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,c9.jsx)(fy.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z&quot;})});var hy=o(L(),1),m9=o(v(),1),I0=(0,m9.jsx)(hy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,m9.jsx)(hy.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;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&quot;})});var _p=o(L(),1),Tf=o(v(),1),p9=(0,Tf.jsxs)(_p.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Tf.jsx)(_p.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z&quot;}),(0,Tf.jsx)(_p.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15&quot;}),(0,Tf.jsx)(_p.Circle,{cx:&quot;12&quot;,cy:&quot;9&quot;,r:&quot;2&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;})]});var gy=o(L(),1),d9=o(v(),1),f9=(0,d9.jsx)(gy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,d9.jsx)(gy.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z&quot;})});var vy=o(L(),1),h9=o(v(),1),g9=(0,h9.jsx)(vy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,h9.jsx)(vy.Path,{d:&quot;m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z&quot;})});var by=o(L(),1),v9=o(v(),1),b9=(0,v9.jsx)(by.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,v9.jsx)(by.Path,{d:&quot;M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z&quot;})});var yy=o(L(),1),y9=o(v(),1),N0=(0,y9.jsx)(yy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,y9.jsx)(yy.Path,{d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z&quot;})});var _y=o(L(),1),_9=o(v(),1),E0=(0,_9.jsx)(_y.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_9.jsx)(_y.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M8.10417 6.00024H6.5C5.39543 6.00024 4.5 6.89567 4.5 8.00024V10.3336H6V8.00024C6 7.7241 6.22386 7.50024 6.5 7.50024H8.10417V6.00024ZM4.5 13.6669V16.0002C4.5 17.1048 5.39543 18.0002 6.5 18.0002H8.10417V16.5002H6.5C6.22386 16.5002 6 16.2764 6 16.0002V13.6669H4.5ZM10.3958 6.00024V7.50024H13.6042V6.00024H10.3958ZM15.8958 6.00024V7.50024H17.5C17.7761 7.50024 18 7.7241 18 8.00024V10.3336H19.5V8.00024C19.5 6.89567 18.6046 6.00024 17.5 6.00024H15.8958ZM19.5 13.6669H18V16.0002C18 16.2764 17.7761 16.5002 17.5 16.5002H15.8958V18.0002H17.5C18.6046 18.0002 19.5 17.1048 19.5 16.0002V13.6669ZM13.6042 18.0002V16.5002H10.3958V18.0002H13.6042Z&quot;})});var xy=o(L(),1),x9=o(v(),1),xp=(0,x9.jsx)(xy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,x9.jsx)(xy.Path,{d:&quot;M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z&quot;})});var ky=o(L(),1),k9=o(v(),1),D0=(0,k9.jsx)(ky.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,k9.jsx)(ky.Path,{d:&quot;M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z&quot;})});var wy=o(L(),1),w9=o(v(),1),L0=(0,w9.jsx)(wy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,w9.jsx)(wy.Path,{d:&quot;M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z&quot;})});var Cy=o(L(),1),C9=o(v(),1),S9=(0,C9.jsx)(Cy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,C9.jsx)(Cy.Path,{d:&quot;M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z&quot;})});var M0=o(L(),1),A0=o(v(),1),T9=(0,A0.jsxs)(M0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,A0.jsx)(M0.Path,{d:&quot;M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z&quot;,fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;}),(0,A0.jsx)(M0.Path,{d:&quot;m4 5.25 4 2.5-4 2.5v-5Z&quot;})]});var Sy=o(L(),1),P9=o(v(),1),B9=(0,P9.jsx)(Sy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,P9.jsx)(Sy.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;})});var Ty=o(L(),1),I9=o(v(),1),R0=(0,I9.jsx)(Ty.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,I9.jsx)(Ty.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z&quot;})});var Py=o(L(),1),N9=o(v(),1),E9=(0,N9.jsx)(Py.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,N9.jsx)(Py.Path,{fillRule:&quot;evenodd&quot;,d:&quot;M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z&quot;})});var By=o(L(),1),D9=o(v(),1),L9=(0,D9.jsx)(By.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,D9.jsx)(By.Path,{d:&quot;M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z&quot;})});var Iy=o(L(),1),M9=o(v(),1),A9=(0,M9.jsx)(Iy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,M9.jsx)(Iy.Path,{d:&quot;M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z&quot;})});var Ny=o(L(),1),R9=o(v(),1),z0=(0,R9.jsx)(Ny.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,R9.jsx)(Ny.Path,{d:&quot;M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z&quot;})});var Ey=o(L(),1),z9=o(v(),1),V0=(0,z9.jsx)(Ey.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,z9.jsx)(Ey.Path,{d:&quot;M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z&quot;})});var Dy=o(L(),1),V9=o(v(),1),F0=(0,V9.jsx)(Dy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,V9.jsx)(Dy.Path,{d:&quot;M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z&quot;})});var Ly=o(L(),1),F9=o(v(),1),Ki=(0,F9.jsx)(Ly.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,F9.jsx)(Ly.Path,{d:&quot;M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z&quot;})});var My=o(L(),1),H9=o(v(),1),O9=(0,H9.jsx)(My.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,H9.jsx)(My.Path,{d:&quot;M3 9c0 2.8 2.2 5 5 5v-.2V20h1.5V5.5H12V20h1.5V5.5h3V4H8C5.2 4 3 6.2 3 9Zm15.9-1-1.1 1 2.6 3-2.6 3 1.1 1 3.4-4-3.4-4Z&quot;})});var Ay=o(L(),1),j9=o(v(),1),H0=(0,j9.jsx)(Ay.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,j9.jsx)(Ay.Path,{d:&quot;M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z&quot;})});var Ry=o(L(),1),U9=o(v(),1),O0=(0,U9.jsx)(Ry.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,U9.jsx)(Ry.Path,{d:&quot;M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z&quot;})});var zy=o(L(),1),G9=o(v(),1),kp=(0,G9.jsx)(zy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,G9.jsx)(zy.Path,{d:&quot;M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z&quot;})});var Vy=o(L(),1),W9=o(v(),1),j0=(0,W9.jsx)(Vy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,W9.jsx)(Vy.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z&quot;})});var Fy=o(L(),1),$9=o(v(),1),Il=(0,$9.jsx)(Fy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,$9.jsx)(Fy.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z&quot;})});var Hy=o(L(),1),q9=o(v(),1),wp=(0,q9.jsx)(Hy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,q9.jsx)(Hy.Path,{d:&quot;M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z&quot;})});var Oy=o(L(),1),Z9=o(v(),1),K9=(0,Z9.jsx)(Oy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,Z9.jsx)(Oy.Path,{d:&quot;M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z&quot;})});var jy=o(L(),1),Q9=o(v(),1),Y9=(0,Q9.jsx)(jy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,Q9.jsx)(jy.Path,{d:&quot;M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z&quot;})});var Uy=o(L(),1),X9=o(v(),1),J9=(0,X9.jsx)(Uy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,X9.jsx)(Uy.Path,{d:&quot;M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z&quot;})});var Gy=o(L(),1),eT=o(v(),1),tT=(0,eT.jsx)(Gy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eT.jsx)(Gy.Path,{d:&quot;M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z&quot;})});var Wy=o(L(),1),rT=o(v(),1),oT=(0,rT.jsx)(Wy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,rT.jsx)(Wy.Path,{d:&quot;M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z&quot;})});var $y=o(L(),1),aT=o(v(),1),nT=(0,aT.jsx)($y.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,aT.jsx)($y.Path,{d:&quot;M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z&quot;})});var qy=o(L(),1),iT=o(v(),1),lT=(0,iT.jsx)(qy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,iT.jsx)(qy.Path,{d:&quot;M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z&quot;})});var Zy=o(L(),1),sT=o(v(),1),cT=(0,sT.jsx)(Zy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,sT.jsx)(Zy.Path,{d:&quot;M6 5V18.5911L12 13.8473L18 18.5911V5H6Z&quot;})});var Ky=o(L(),1),uT=o(v(),1),mT=(0,uT.jsx)(Ky.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,uT.jsx)(Ky.Path,{d:&quot;M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z&quot;})});var Qy=o(L(),1),pT=o(v(),1),dT=(0,pT.jsx)(Qy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,pT.jsx)(Qy.Path,{d:&quot;M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z&quot;})});var Yy=o(L(),1),fT=o(v(),1),Wu=(0,fT.jsx)(Yy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,fT.jsx)(Yy.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.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z&quot;})});var Xy=o(L(),1),hT=o(v(),1),gT=(0,hT.jsx)(Xy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hT.jsx)(Xy.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;})});var Jy=o(L(),1),vT=o(v(),1),Cp=(0,vT.jsx)(Jy.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,vT.jsx)(Jy.Path,{d:&quot;M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z&quot;})});var e_=o(L(),1),bT=o(v(),1),U0=(0,bT.jsx)(e_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,bT.jsx)(e_.Path,{d:&quot;M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z&quot;})});var t_=o(L(),1),yT=o(v(),1),ii=(0,yT.jsx)(t_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,yT.jsx)(t_.Path,{d:&quot;M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z&quot;})});var r_=o(L(),1),_T=o(v(),1),xT=(0,_T.jsx)(r_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_T.jsx)(r_.Path,{d:&quot;M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z&quot;})});var o_=o(L(),1),kT=o(v(),1),Nl=(0,kT.jsx)(o_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,kT.jsx)(o_.Path,{d:&quot;M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z&quot;})});var a_=o(L(),1),wT=o(v(),1),CT=(0,wT.jsx)(a_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,wT.jsx)(a_.Path,{d:&quot;M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z&quot;})});var n_=o(L(),1),ST=o(v(),1),Sp=(0,ST.jsx)(n_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ST.jsx)(n_.Path,{d:&quot;M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z&quot;})});var i_=o(L(),1),TT=o(v(),1),PT=(0,TT.jsx)(i_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TT.jsx)(i_.Path,{d:&quot;M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z&quot;})});var l_=o(L(),1),BT=o(v(),1),IT=(0,BT.jsx)(l_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BT.jsx)(l_.Path,{d:&quot;M11.2 6.8c-.7 0-1.4.5-1.6 1.1l-2.8 7.5-1.2-1.8c-.1-.2-.4-.3-.6-.3H3v1.5h1.6l1.2 1.8c.6.9 1.9.7 2.2-.3l2.9-7.9s.1-.2.2-.2h7.8V6.7h-7.8Zm5.3 3.4-1.9 1.9-1.9-1.9-1.1 1.1 1.9 1.9-1.9 1.9 1.1 1.1 1.9-1.9 1.9 1.9 1.1-1.1-1.9-1.9 1.9-1.9-1.1-1.1Z&quot;})});var s_=o(L(),1),NT=o(v(),1),ET=(0,NT.jsx)(s_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,NT.jsx)(s_.Path,{d:&quot;M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z&quot;})});var G0=o(L(),1),W0=o(v(),1),$0=(0,W0.jsxs)(G0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,W0.jsx)(G0.Path,{d:&quot;m7 6.5 4 2.5-4 2.5z&quot;}),(0,W0.jsx)(G0.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z&quot;})]});var c_=o(L(),1),DT=o(v(),1),LT=(0,DT.jsx)(c_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,DT.jsx)(c_.Path,{d:&quot;M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z&quot;})});var u_=o(L(),1),MT=o(v(),1),q0=(0,MT.jsx)(u_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MT.jsx)(u_.Path,{d:&quot;M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z&quot;})});var m_=o(L(),1),AT=o(v(),1),RT=(0,AT.jsx)(m_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AT.jsx)(m_.Path,{d:&quot;M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z&quot;})});var p_=o(L(),1),zT=o(v(),1),VT=(0,zT.jsx)(p_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,zT.jsx)(p_.Path,{d:&quot;M18.5 10a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5zM16 4a2 2 0 0 1 2 2v2h-1.5V6a.5.5 0 0 0-.5-.5H6a.5.5 0 0 0-.5.5v3H8v1.5H5.5V16a.5.5 0 0 0 .5.5h2V18H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z&quot;})});var d_=o(L(),1),FT=o(v(),1),Tp=(0,FT.jsx)(d_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FT.jsx)(d_.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-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.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z&quot;})});var f_=o(L(),1),HT=o(v(),1),OT=(0,HT.jsx)(f_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,HT.jsx)(f_.Path,{d:&quot;M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z&quot;})});var h_=o(L(),1),jT=o(v(),1),UT=(0,jT.jsx)(h_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,jT.jsx)(h_.Path,{d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z&quot;})});var g_=o(L(),1),GT=o(v(),1),WT=(0,GT.jsx)(g_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,GT.jsx)(g_.Path,{d:&quot;M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z&quot;})});var Z0=o(L(),1),K0=o(v(),1),Fc=(0,K0.jsxs)(Z0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,K0.jsx)(Z0.Path,{d:&quot;M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z&quot;}),(0,K0.jsx)(Z0.Path,{d:&quot;M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z&quot;})]});var Pf=o(L(),1),Bf=o(v(),1),$T=(0,Bf.jsxs)(Pf.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,Bf.jsx)(Pf.Path,{d:&quot;M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z&quot;}),(0,Bf.jsx)(Pf.Path,{d:&quot;M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z&quot;}),(0,Bf.jsx)(Pf.Path,{d:&quot;M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z&quot;})]});var v_=o(L(),1),qT=o(v(),1),ZT=(0,qT.jsx)(v_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,qT.jsx)(v_.Path,{d:&quot;m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z&quot;})});var b_=o(L(),1),KT=o(v(),1),Pp=(0,KT.jsx)(b_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,KT.jsx)(b_.Path,{d:&quot;m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z&quot;})});var y_=o(L(),1),QT=o(v(),1),Q0=(0,QT.jsx)(y_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QT.jsx)(y_.Path,{d:&quot;m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z&quot;})});var __=o(L(),1),YT=o(v(),1),XT=(0,YT.jsx)(__.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,YT.jsx)(__.Path,{d:&quot;M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z&quot;})});var x_=o(L(),1),JT=o(v(),1),If=(0,JT.jsx)(x_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,JT.jsx)(x_.Path,{d:&quot;M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z&quot;})});var k_=o(L(),1),eP=o(v(),1),tP=(0,eP.jsx)(k_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eP.jsx)(k_.Path,{d:&quot;M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z&quot;})});var w_=o(L(),1),rP=o(v(),1),oP=(0,rP.jsx)(w_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,rP.jsx)(w_.Path,{d:&quot;M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z&quot;})});var C_=o(L(),1),aP=o(v(),1),nP=(0,aP.jsx)(C_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,aP.jsx)(C_.Path,{d:&quot;M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z&quot;})});var S_=o(L(),1),iP=o(v(),1),Bp=(0,iP.jsx)(S_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,iP.jsx)(S_.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M10 4.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 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z&quot;})});var T_=o(L(),1),lP=o(v(),1),Nf=(0,lP.jsx)(T_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,lP.jsx)(T_.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z&quot;})});var P_=o(L(),1),sP=o(v(),1),Y0=(0,sP.jsx)(P_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,sP.jsx)(P_.Path,{d:&quot;M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z&quot;})});var B_=o(L(),1),cP=o(v(),1),uP=(0,cP.jsx)(B_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,cP.jsx)(B_.Path,{d:&quot;M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z&quot;})});var I_=o(L(),1),mP=o(v(),1),pP=(0,mP.jsx)(I_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,mP.jsx)(I_.Path,{d:&quot;M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z&quot;})});var N_=o(L(),1),dP=o(v(),1),fP=(0,dP.jsx)(N_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,dP.jsx)(N_.Path,{d:&quot;M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z&quot;})});var X0=o(L(),1),J0=o(v(),1),e1=(0,J0.jsxs)(X0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,J0.jsx)(X0.Path,{d:&quot;M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z&quot;}),(0,J0.jsx)(X0.Path,{d:&quot;M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z&quot;})]});var E_=o(L(),1),hP=o(v(),1),gP=(0,hP.jsx)(E_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hP.jsx)(E_.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;})});var D_=o(L(),1),vP=o(v(),1),bP=(0,vP.jsx)(D_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,vP.jsx)(D_.Path,{d:&quot;M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z&quot;})});var L_=o(L(),1),yP=o(v(),1),t1=(0,yP.jsx)(L_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,yP.jsx)(L_.Path,{d:&quot;M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z&quot;})});var M_=o(L(),1),_P=o(v(),1),xP=(0,_P.jsx)(M_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,_P.jsx)(M_.Path,{d:&quot;M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z&quot;})});var A_=o(L(),1),kP=o(v(),1),wP=(0,kP.jsx)(A_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,kP.jsx)(A_.Path,{d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z&quot;})});var R_=o(L(),1),CP=o(v(),1),SP=(0,CP.jsx)(R_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,CP.jsx)(R_.Path,{d:&quot;M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z&quot;})});var z_=o(L(),1),TP=o(v(),1),PP=(0,TP.jsx)(z_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,TP.jsx)(z_.Path,{d:&quot;M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z&quot;})});var V_=o(L(),1),BP=o(v(),1),IP=(0,BP.jsx)(V_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,BP.jsx)(V_.Path,{d:&quot;M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z&quot;})});var F_=o(L(),1),NP=o(v(),1),EP=(0,NP.jsx)(F_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,NP.jsx)(F_.Path,{d:&quot;M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z&quot;})});var H_=o(L(),1),DP=o(v(),1),r1=(0,DP.jsx)(H_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,DP.jsx)(H_.Path,{d:&quot;M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z&quot;})});var O_=o(L(),1),LP=o(v(),1),o1=(0,LP.jsx)(O_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LP.jsx)(O_.Path,{d:&quot;M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z&quot;})});var j_=o(L(),1),MP=o(v(),1),a1=(0,MP.jsx)(j_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MP.jsx)(j_.Path,{d:&quot;M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z&quot;})});var U_=o(L(),1),AP=o(v(),1),n1=(0,AP.jsx)(U_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AP.jsx)(U_.Path,{d:&quot;M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z&quot;})});var G_=o(L(),1),RP=o(v(),1),zP=(0,RP.jsx)(G_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,RP.jsx)(G_.Path,{d:&quot;M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z&quot;})});var W_=o(L(),1),VP=o(v(),1),FP=(0,VP.jsx)(W_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,VP.jsx)(W_.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z&quot;})});var $_=o(L(),1),HP=o(v(),1),OP=(0,HP.jsx)($_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,HP.jsx)($_.Path,{d:&quot;M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z&quot;})});var q_=o(L(),1),jP=o(v(),1),UP=(0,jP.jsx)(q_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,jP.jsx)(q_.Path,{d:&quot;M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z&quot;})});var Z_=o(L(),1),GP=o(v(),1),i1=(0,GP.jsx)(Z_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,GP.jsx)(Z_.Path,{d:&quot;M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z&quot;})});var K_=o(L(),1),WP=o(v(),1),l1=(0,WP.jsx)(K_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,WP.jsx)(K_.Path,{d:&quot;M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z&quot;})});var Q_=o(L(),1),$P=o(v(),1),qP=(0,$P.jsx)(Q_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,$P.jsx)(Q_.Path,{d:&quot;M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z&quot;})});var Y_=o(L(),1),ZP=o(v(),1),s1=(0,ZP.jsx)(Y_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ZP.jsx)(Y_.Path,{d:&quot;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&quot;})});var X_=o(L(),1),KP=o(v(),1),c1=(0,KP.jsx)(X_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,KP.jsx)(X_.Path,{d:&quot;M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z&quot;})});var J_=o(L(),1),QP=o(v(),1),YP=(0,QP.jsx)(J_.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,QP.jsx)(J_.Path,{d:&quot;M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z&quot;})});var ex=o(L(),1),XP=o(v(),1),JP=(0,XP.jsx)(ex.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,XP.jsx)(ex.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-8Zm0 1.5c3.4 0 6.2 2.7 6.5 6l-1.2-.6-.8-.4c-.1 0-.2 0-.3-.1H16c-.1-.2-.4-.2-.7 0l-2.9 2.1L9 11.3h-.7L5.5 13v-1.1c0-3.6 2.9-6.5 6.5-6.5Zm0 13c-2.7 0-5-1.7-6-4l2.8-1.7 3.5 1.2h.4s.2 0 .4-.2l2.9-2.1.4.2c.6.3 1.4.7 2.1 1.1-.5 3.1-3.2 5.4-6.4 5.4Z&quot;})});var tx=o(L(),1),eB=o(v(),1),tB=(0,eB.jsx)(tx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,eB.jsx)(tx.Path,{fill:&quot;none&quot;,d:&quot;M5.75 12.75V18.25H11.25M12.75 5.75H18.25V11.25&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,strokeLinecap:&quot;square&quot;})});var rx=o(L(),1),rB=o(v(),1),oB=(0,rB.jsx)(rx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,rB.jsx)(rx.Path,{d:&quot;M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z&quot;})});var ox=o(L(),1),aB=o(v(),1),u1=(0,aB.jsx)(ox.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,aB.jsx)(ox.Path,{d:&quot;M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z&quot;})});var ax=o(L(),1),nB=o(v(),1),iB=(0,nB.jsx)(ax.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,nB.jsx)(ax.Path,{d:&quot;M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z&quot;})});var nx=o(L(),1),lB=o(v(),1),sB=(0,lB.jsx)(nx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,lB.jsx)(nx.Path,{d:&quot;M4 16.5h13V15H4v1.5ZM4 12v1.5h16V12H4Zm1.5-4.2c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8H5.6c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8Z&quot;})});var ix=o(L(),1),cB=o(v(),1),uB=(0,cB.jsx)(ix.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,cB.jsx)(ix.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm0-5.5h-4v-4h4v4Zm0-5.5h-4V5c0-.3.2-.5.5-.5h3.5v4Zm11 10.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14Zm-4-10.8H14v3h-3v1.5h3v3h1.5v-3h3v-1.5h-3v-3Z&quot;})});var lx=o(L(),1),mB=o(v(),1),pB=(0,mB.jsx)(lx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,mB.jsx)(lx.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14c0 1 .8 1.9 1.8 2H19.2c.9-.1 1.7-.9 1.8-1.8V5c0-1.1-.9-2-2-2Zm-5 16.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h9v15Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19Zm0-5h-4v-4h4v4Zm0-5.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-11 7.3H10v-3h3v-1.5h-3v-3H8.5v3h-3v1.5h3v3Z&quot;})});var sx=o(L(),1),dB=o(v(),1),fB=(0,dB.jsx)(sx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,dB.jsx)(sx.Path,{d:&quot;M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h3.5v15Zm11-.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14ZM16.9 8.8l-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1L18 9.9l-1.1-1.1Z&quot;})});var m1=o(L(),1),p1=o(v(),1),d1=(0,p1.jsxs)(m1.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,p1.jsx)(m1.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M20 9.484h-8.889v-1.5H20v1.5Zm0 7h-4.889v-1.5H20v1.5Zm-14 .032a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z&quot;}),(0,p1.jsx)(m1.Path,{d:&quot;M13 15.516a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 8.484a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z&quot;})]});var cx=o(L(),1),hB=o(v(),1),gB=(0,hB.jsx)(cx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,hB.jsx)(cx.Path,{d:&quot;M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-9 1.5h4v4h-4v-4ZM4.5 5c0-.3.2-.5.5-.5h3.5v4h-4V5Zm15 14c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-8.3 10h1.5v-3h3V14h-3v-3h-1.5v3h-3v1.5h3v3Z&quot;})});var ux=o(L(),1),vB=o(v(),1),bB=(0,vB.jsx)(ux.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,vB.jsx)(ux.Path,{d:&quot;M21 5c0-1.1-.9-2-2-2H5c-1 0-1.9.8-2 1.8V19.2c.1.9.9 1.7 1.8 1.8H19c1.1 0 2-.9 2-2V5ZM4.5 14V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v9h-15Zm4 5.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm5.5 0h-4v-4h4v4Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19ZM11.2 10h-3V8.5h3v-3h1.5v3h3V10h-3v3h-1.5v-3Z&quot;})});var mx=o(L(),1),yB=o(v(),1),_B=(0,yB.jsx)(mx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,yB.jsx)(mx.Path,{d:&quot;M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-15V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v3.5Zm-9.6 9.4 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1 2.1-2.1-1.1-1.1-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1Z&quot;})});var px=o(L(),1),xB=o(v(),1),kB=(0,xB.jsx)(px.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,xB.jsx)(px.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-2Zm.5 2v6.2h-6.8V4.4h6.2c.3 0 .5.2.5.5ZM5 4.5h6.2v6.8H4.4V5.1c0-.3.2-.5.5-.5ZM4.5 19v-6.2h6.8v6.8H5.1c-.3 0-.5-.2-.5-.5Zm14.5.5h-6.2v-6.8h6.8v6.2c0 .3-.2.5-.5.5Z&quot;})});var dx=o(L(),1),wB=o(v(),1),CB=(0,wB.jsx)(dx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,wB.jsx)(dx.Path,{d:&quot;M14 11.25a.25.25 0 0 0-.25-.25h-3.5a.25.25 0 0 0-.25.25v2.5H8.5v-2.5c0-.966.784-1.75 1.75-1.75h3.5c.966 0 1.75.784 1.75 1.75v2.5H14v-2.5Z&quot;})});var fx=o(L(),1),SB=o(v(),1),TB=(0,SB.jsx)(fx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,SB.jsx)(fx.Path,{d:&quot;M18.2 9.5h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5v-2.5c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5v-2.5c0-1-.8-1.8-1.8-1.8Zm-9 0H5.7c-1 0-1.8.8-1.8 1.8v2.5h7v-2.5c0-1-.8-1.8-1.8-1.8Z&quot;})});var hx=o(L(),1),PB=o(v(),1),BB=(0,PB.jsx)(hx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,PB.jsx)(hx.Path,{d:&quot;M4 16.5h13V15H4v1.5Zm0-3h16V12H4v1.5ZM18.2 6h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8ZM11 7.8c0-1-.8-1.8-1.8-1.8H5.7c-1 0-1.8.8-1.8 1.8v2.5h7V7.8Z&quot;})});var gx=o(L(),1),IB=o(v(),1),f1=(0,IB.jsx)(gx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,IB.jsx)(gx.Path,{d:&quot;M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z&quot;})});var h1=o(L(),1),g1=o(v(),1),NB=(0,g1.jsxs)(h1.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,g1.jsx)(h1.Path,{d:&quot;M 12.841306,16.677917 12.001264,12.71529 Q 11.835801,11.930402 11.695793,11.417042 11.560029,10.89944 11.398809,10.568514 11.237588,10.237588 11,10 10.635133,9.6351329 10.219354,9.6351329 9.8078183,9.6308902 9.4387086,10 8.9932313,10.445477 8.8574668,11.022476 8.7259449,11.595233 8.7259449,12.155262 L 7.4955791,11.196425 Q 7.5719467,10.509117 7.8307477,9.9109045 8.0937915,9.3084495 8.6410921,8.7611489 9.1799075,8.2223335 9.7569066,8.086569 q 0.5812414,-0.1400071 1.1242994,0.046669 0.543058,0.1866762 0.975808,0.6194255 0.335168,0.3351686 0.581242,0.767918 0.24183,0.4285067 0.436992,1.0564174 0.195161,0.619426 0.381837,1.527351 l 0.364867,1.756453 1.883733,-1.883732 1.018234,1.018233 z&quot;}),(0,g1.jsx)(h1.Path,{d:&quot;M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z&quot;})]});var vx=o(L(),1),EB=o(v(),1),DB=(0,EB.jsx)(vx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,EB.jsx)(vx.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;})});var v1=o(L(),1),b1=o(v(),1),LB=(0,b1.jsxs)(v1.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:[(0,b1.jsx)(v1.Path,{d:&quot;m14.95 13.889-1.061 1.061-5.552-5.553 1.06-1.06 5.552 5.552Z&quot;}),(0,b1.jsx)(v1.Path,{d:&quot;M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z&quot;})]});var bx=o(L(),1),MB=o(v(),1),y1=(0,MB.jsx)(bx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,MB.jsx)(bx.Path,{d:&quot;M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16.5c-4.1 0-7.5-3.4-7.5-7.5S7.9 4.5 12 4.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5zM12 7l-1 5c0 .3.2.6.4.8l4.2 2.8-2.7-4.1L12 7z&quot;})});var yx=o(L(),1),AB=o(v(),1),El=(0,AB.jsx)(yx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,AB.jsx)(yx.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;})});var _x=o(L(),1),RB=o(v(),1),Hc=(0,RB.jsx)(_x.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,RB.jsx)(_x.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;})});var xx=o(L(),1),zB=o(v(),1),_1=(0,zB.jsx)(xx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,zB.jsx)(xx.Path,{d:&quot;M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z&quot;})});var kx=o(L(),1),VB=o(v(),1),Ef=(0,VB.jsx)(kx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,VB.jsx)(kx.Path,{d:&quot;M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z&quot;})});var wx=o(L(),1),FB=o(v(),1),HB=(0,FB.jsx)(wx.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,FB.jsx)(wx.Path,{d:&quot;M19 5c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2zM5 6.5c-.3 0-.5.2-.5.5v10c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V7c0-.3-.2-.5-.5-.5zM14.734 9q.714 0 1.15.253.437.247.639.84.2.591.2 1.61v1.15q0 .402.036.667.04.258.172.39.138.127.437.127h.104l-.162.828h-.08q-.5 0-.776-.097a.9.9 0 0 1-.414-.283 2 2 0 0 1-.259-.448q-.316.367-.748.598-.43.23-.977.23-.524 0-.914-.213a1.56 1.56 0 0 1-.61-.58 1.65 1.65 0 0 1-.213-.84q0-.477.207-.817.213-.345.564-.568.357-.23.794-.363.437-.139.902-.196.471-.062.902-.068 0-.805-.315-1.053-.316-.247-.915-.247-.316 0-.678.098-.356.097-.805.408l-.15-.84a2.8 2.8 0 0 1 .846-.419A3.4 3.4 0 0 1 14.734 9m-5.877 1.669H9.86l.59-1.531h.689l-.585 1.53h.898l-.249.727h-.922l-.337.866h1.019l-.354.773h-.962l-.681 1.804h-.701l.69-1.804h-.999l-.693 1.804h-.69l.685-1.804H6.3l.34-.773h.915l.333-.866h-.994l.244-.726H8.16l.594-1.531h.693zm6.832 1.264q-.823.029-1.335.16-.506.133-.74.397-.236.265-.236.685 0 .454.241.66.248.202.632.202.414 0 .8-.207.39-.207.637-.552zm-7.441.328h1l.34-.866h-1z&quot;})});var ya=o(T(),1),li=o(P(),1),To=o(M(),1),Df=o(V(),1),Tx=o(W(),1);var Cx=o(V(),1),Ip=o(U(),1),$u=o(Rr(),1),OB=o(T(),1),nV=o(Q(),1),iV=o(me(),1);function Sx(e,t,r){return(0,Cx.useSelect)(a=&gt;a(nV.store).canUser(&quot;update&quot;,{kind:e,name:t,id:r}),[e,t,r])}function Es(e={}){let t=(0,Ip.useRef)(e),r=(0,Ip.useRef)(!1),{getSettings:a}=(0,Cx.useSelect)(OB.store);(0,Ip.useLayoutEffect)(()=&gt;{t.current=e}),(0,Ip.useEffect)(()=&gt;{if(r.current||!t.current.url||!(0,$u.isBlobURL)(t.current.url))return;let n=(0,$u.getBlobByURL)(t.current.url);if(!n)return;let{url:i,allowedTypes:l,onChange:s,onError:c}=t.current,{mediaUpload:u}=a();u&amp;&amp;(r.current=!0,u({filesList:[n],allowedTypes:l,onFileChange:([m])=&gt;{(0,$u.isBlobURL)(m?.url)||((0,$u.revokeBlobURL)(i),s(m),r.current=!1)},onError:m=&gt;{(0,$u.revokeBlobURL)(i),c(m),r.current=!1}}))},[a])}function x1(){return(0,Cx.useSelect)(t=&gt;{let{getSettings:r}=t(OB.store),{__experimentalDiscussionSettings:a}=r();return a?.avatarURL??&quot;&quot;},[])}function q(){return(0,iV.useViewportMatch)(&quot;medium&quot;,&quot;&lt;&quot;)?{}:{popoverProps:{placement:&quot;left-start&quot;,offset:259}}}var _r=o(v(),1),jB=&quot;core/accordion-item&quot;,wfe=&quot;core/accordion-heading&quot;,Cfe={name:jB};function lV({attributes:{autoclose:e,iconPosition:t,showIcon:r,headingLevel:a,levelOptions:n},clientId:i,setAttributes:l,isSelected:s}){let c=(0,Df.useRegistry)(),{getBlockOrder:u}=(0,Df.useSelect)(ya.store),m=(0,ya.useBlockProps)({role:&quot;group&quot;}),p=q(),{updateBlockAttributes:d,insertBlock:f}=(0,Df.useDispatch)(ya.store),g=(0,ya.useBlockEditingMode)()===&quot;contentOnly&quot;,b=(0,ya.useInnerBlocksProps)(m,{template:[[jB]],defaultBlock:Cfe,directInsert:!0,templateInsertUpdatesSelection:!0});return(0,_r.jsxs)(_r.Fragment,{children:[s&amp;&amp;!g&amp;&amp;(0,_r.jsxs)(_r.Fragment,{children:[(0,_r.jsx)(ya.BlockControls,{children:(0,_r.jsx)(To.ToolbarGroup,{children:(0,_r.jsx)(ya.HeadingLevelDropdown,{value:a,options:n,onChange:_=&gt;{let x=u(i),S=[];x.forEach(C=&gt;{let N=u(C);S.push(...N)}),c.batch(()=&gt;{l({headingLevel:_}),d(S,{level:_})})}})})}),(0,_r.jsx)(ya.BlockControls,{group:&quot;other&quot;,children:(0,_r.jsx)(To.ToolbarButton,{onClick:()=&gt;{let _=(0,Tx.createBlock)(jB,{},[(0,Tx.createBlock)(wfe,{level:a}),(0,Tx.createBlock)(&quot;core/accordion-panel&quot;,{})]);f(_,void 0,i)},children:(0,li.__)(&quot;Add item&quot;)})})]}),(0,_r.jsx)(ya.InspectorControls,{children:(0,_r.jsxs)(To.__experimentalToolsPanel,{label:(0,li.__)(&quot;Settings&quot;),resetAll:()=&gt;{l({autoclose:!1,showIcon:!0,iconPosition:&quot;right&quot;})},dropdownMenuProps:p,children:[(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)(&quot;Auto-close&quot;),isShownByDefault:!0,hasValue:()=&gt;!!e,onDeselect:()=&gt;l({autoclose:!1}),children:(0,_r.jsx)(To.ToggleControl,{isBlock:!0,label:(0,li.__)(&quot;Auto-close&quot;),onChange:_=&gt;{l({autoclose:_})},checked:e,help:(0,li.__)(&quot;Automatically close accordions when a new one is opened.&quot;)})}),(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)(&quot;Show icon&quot;),isShownByDefault:!0,hasValue:()=&gt;!r,onDeselect:()=&gt;l({showIcon:!0}),children:(0,_r.jsx)(To.ToggleControl,{isBlock:!0,label:(0,li.__)(&quot;Show icon&quot;),onChange:_=&gt;{l({showIcon:_,iconPosition:_?t:&quot;right&quot;})},checked:r,help:(0,li.__)(&quot;Display a plus icon next to the accordion header.&quot;)})}),r&amp;&amp;(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)(&quot;Icon Position&quot;),isShownByDefault:!0,hasValue:()=&gt;t!==&quot;right&quot;,onDeselect:()=&gt;l({iconPosition:&quot;right&quot;}),children:(0,_r.jsxs)(To.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,isBlock:!0,label:(0,li.__)(&quot;Icon Position&quot;),value:t,onChange:_=&gt;{l({iconPosition:_})},children:[(0,_r.jsx)(To.__experimentalToggleGroupControlOption,{label:(0,li.__)(&quot;Left&quot;),value:&quot;left&quot;}),(0,_r.jsx)(To.__experimentalToggleGroupControlOption,{label:(0,li.__)(&quot;Right&quot;),value:&quot;right&quot;})]})})]})},&quot;setting&quot;),(0,_r.jsx)(&quot;div&quot;,{...b})]})}var Px=o(T(),1),sV=o(v(),1);function cV(){let e=Px.useBlockProps.save({role:&quot;group&quot;});return(0,sV.jsx)(&quot;div&quot;,{...Px.useInnerBlocksProps.save(e)})}var Bx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/accordion&quot;,title:&quot;Accordion&quot;,category:&quot;design&quot;,description:&quot;Displays a foldable layout that groups content in collapsible sections.&quot;,example:{},supports:{anchor:!0,html:!1,align:[&quot;wide&quot;,&quot;full&quot;],background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{background:!0,gradients:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},spacing:{padding:!0,margin:[&quot;top&quot;,&quot;bottom&quot;],blockGap:!0},shadow:!0,layout:!0,ariaLabel:!0,interactivity:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0,listView:!0},attributes:{iconPosition:{type:&quot;string&quot;,default:&quot;right&quot;},showIcon:{type:&quot;boolean&quot;,default:!0},autoclose:{type:&quot;boolean&quot;,default:!1},headingLevel:{type:&quot;number&quot;,default:3},levelOptions:{type:&quot;array&quot;}},providesContext:{&quot;core/accordion-icon-position&quot;:&quot;iconPosition&quot;,&quot;core/accordion-show-icon&quot;:&quot;showIcon&quot;,&quot;core/accordion-heading-level&quot;:&quot;headingLevel&quot;},allowedBlocks:[&quot;core/accordion-item&quot;],textdomain:&quot;default&quot;,viewScriptModule:&quot;@wordpress/block-library/accordion/view&quot;};var uV=o(W(),1);function E(e){if(!e)return;let{metadata:t,settings:r,name:a}=e;return(0,uV.registerBlockType)({name:a,...t},r)}var{name:mV}=Bx,pV={icon:CS,example:{innerBlocks:[{name:&quot;core/accordion-item&quot;,innerBlocks:[{name:&quot;core/accordion-heading&quot;,attributes:{title:(0,UB.__)(&quot;Lorem ipsum dolor sit amet, consectetur.&quot;)}}]},{name:&quot;core/accordion-item&quot;,innerBlocks:[{name:&quot;core/accordion-heading&quot;,attributes:{title:(0,UB.__)(&quot;Suspendisse commodo lacus, interdum et.&quot;)}}]}]},edit:lV,save:cV},Tfe=()=&gt;E({name:mV,metadata:Bx,settings:pV});var WB={};Z(WB,{init:()=&gt;Ife,metadata:()=&gt;Nx,name:()=&gt;vV,settings:()=&gt;bV});var k1=o(P(),1),qu=o(T(),1),dV=o(V(),1),Lf=o(M(),1);var Ds=o(v(),1),Pfe=[[&quot;core/accordion-heading&quot;],[&quot;core/accordion-panel&quot;]];function fV({attributes:e,clientId:t,setAttributes:r,isSelected:a}){let{openByDefault:n}=e,i=q(),{isSelected:l}=(0,dV.useSelect)(u=&gt;a||n?{isSelected:!0}:{isSelected:u(qu.store).hasSelectedInnerBlock(t,!0)},[t,a,n]),s=(0,qu.useBlockProps)({className:w({&quot;is-open&quot;:n||l})}),c=(0,qu.useInnerBlocksProps)(s,{template:Pfe,templateLock:&quot;all&quot;,directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Ds.jsxs)(Ds.Fragment,{children:[(0,Ds.jsx)(qu.InspectorControls,{children:(0,Ds.jsx)(Lf.__experimentalToolsPanel,{label:(0,k1.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({openByDefault:!1})},dropdownMenuProps:i,children:(0,Ds.jsx)(Lf.__experimentalToolsPanelItem,{label:(0,k1.__)(&quot;Open by default&quot;),isShownByDefault:!0,hasValue:()=&gt;!!n,onDeselect:()=&gt;{r({openByDefault:!1})},children:(0,Ds.jsx)(Lf.ToggleControl,{label:(0,k1.__)(&quot;Open by default&quot;),onChange:u=&gt;{r({openByDefault:u})},checked:n,help:(0,k1.__)(&quot;Accordion content will be displayed by default.&quot;)})})})},&quot;setting&quot;),(0,Ds.jsx)(&quot;div&quot;,{...c})]})}var Ix=o(T(),1);var hV=o(v(),1);function gV({attributes:e}){let{openByDefault:t}=e,r=Ix.useBlockProps.save({className:w({&quot;is-open&quot;:t})}),a=Ix.useInnerBlocksProps.save(r);return(0,hV.jsx)(&quot;div&quot;,{...a})}var Nx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/accordion-item&quot;,title:&quot;Accordion Item&quot;,category:&quot;design&quot;,description:&quot;Wraps the heading and panel in one unit.&quot;,parent:[&quot;core/accordion&quot;],allowedBlocks:[&quot;core/accordion-heading&quot;,&quot;core/accordion-panel&quot;],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],blockGap:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},shadow:!0,layout:{allowEditing:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0},attributes:{openByDefault:{type:&quot;boolean&quot;,default:!1}},providesContext:{&quot;core/accordion-open-by-default&quot;:&quot;openByDefault&quot;},textdomain:&quot;default&quot;,style:&quot;wp-block-accordion-item&quot;};var{name:vV}=Nx,bV={icon:wS,edit:fV,save:gV},Ife=()=&gt;E({name:vV,metadata:Nx,settings:bV});var $B={};Z($B,{init:()=&gt;Lfe,metadata:()=&gt;Ex,name:()=&gt;SV,settings:()=&gt;TV});var yV=o(P(),1),_V=o(U(),1),Qi=o(T(),1),xV=o(V(),1),Np=o(v(),1);function kV({attributes:e,setAttributes:t,context:r}){let{title:a}=e,{&quot;core/accordion-icon-position&quot;:n,&quot;core/accordion-show-icon&quot;:i,&quot;core/accordion-heading-level&quot;:l}=r,s=&quot;h&quot;+l,{__unstableMarkNextChangeAsNotPersistent:c}=(0,xV.useDispatch)(Qi.store);(0,_V.useEffect)(()=&gt;{n!==void 0&amp;&amp;i!==void 0&amp;&amp;(c(),t({iconPosition:n,showIcon:i}))},[n,i,t,c]);let[u,m]=(0,Qi.useSettings)(&quot;typography.fluid&quot;,&quot;layout&quot;),p=(0,Qi.getTypographyClassesAndStyles)(e,{typography:{fluid:u},layout:{wideSize:m?.wideSize}}),d=(0,Qi.useBlockProps)(),f=(0,Qi.__experimentalGetSpacingClassesAndStyles)(e);return(0,Np.jsx)(s,{...d,children:(0,Np.jsxs)(&quot;button&quot;,{className:&quot;wp-block-accordion-heading__toggle&quot;,style:f.style,tabIndex:&quot;-1&quot;,children:[i&amp;&amp;n===&quot;left&quot;&amp;&amp;(0,Np.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;}),(0,Np.jsx)(Qi.RichText,{withoutInteractiveFormatting:!0,disableLineBreaks:!0,tagName:&quot;span&quot;,value:a,onChange:h=&gt;t({title:h}),placeholder:(0,yV.__)(&quot;Accordion title&quot;),className:&quot;wp-block-accordion-heading__toggle-title&quot;,style:{letterSpacing:p.style.letterSpacing,textDecoration:p.style.textDecoration}}),i&amp;&amp;n===&quot;right&quot;&amp;&amp;(0,Np.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;})]})})}var Zu=o(T(),1),Ep=o(v(),1);function wV({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i=&quot;h&quot;+(t||3),l=(0,Zu.getTypographyClassesAndStyles)(e),s=Zu.useBlockProps.save(),c=(0,Zu.__experimentalGetSpacingClassesAndStyles)(e);return(0,Ep.jsx)(i,{...s,children:(0,Ep.jsxs)(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;wp-block-accordion-heading__toggle&quot;,style:c.style,children:[n&amp;&amp;a===&quot;left&quot;&amp;&amp;(0,Ep.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;}),(0,Ep.jsx)(Zu.RichText.Content,{className:&quot;wp-block-accordion-heading__toggle-title&quot;,tagName:&quot;span&quot;,value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),n&amp;&amp;a===&quot;right&quot;&amp;&amp;(0,Ep.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;})]})})}var Ex={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/accordion-heading&quot;,title:&quot;Accordion Heading&quot;,category:&quot;design&quot;,description:&quot;Displays a heading that toggles the accordion panel.&quot;,parent:[&quot;core/accordion-item&quot;],usesContext:[&quot;core/accordion-icon-position&quot;,&quot;core/accordion-show-icon&quot;,&quot;core/accordion-heading-level&quot;],supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:&quot;.wp-block-accordion-heading__toggle&quot;},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:[&quot;textDecoration&quot;,&quot;letterSpacing&quot;],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},selectors:{typography:{letterSpacing:&quot;.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title&quot;,textDecoration:&quot;.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title&quot;}},attributes:{openByDefault:{type:&quot;boolean&quot;,default:!1},title:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;.wp-block-accordion-heading__toggle-title&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;},iconPosition:{type:&quot;string&quot;,enum:[&quot;left&quot;,&quot;right&quot;],default:&quot;right&quot;},showIcon:{type:&quot;boolean&quot;,default:!0}},textdomain:&quot;default&quot;};var Dl=o(T(),1),Yi=o(v(),1),Efe={attributes:{openByDefault:{type:&quot;boolean&quot;,default:!1},title:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;.wp-block-accordion-heading__toggle-title&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;},iconPosition:{type:&quot;string&quot;,enum:[&quot;left&quot;,&quot;right&quot;],default:&quot;right&quot;},showIcon:{type:&quot;boolean&quot;,default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:&quot;.wp-block-accordion-heading__toggle&quot;},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1},save({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i=&quot;h&quot;+(t||3),l=Dl.useBlockProps.save(),s=(0,Dl.__experimentalGetSpacingClassesAndStyles)(e);return(0,Yi.jsx)(i,{...l,children:(0,Yi.jsxs)(&quot;button&quot;,{className:&quot;wp-block-accordion-heading__toggle&quot;,style:s.style,children:[n&amp;&amp;a===&quot;left&quot;&amp;&amp;(0,Yi.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;}),(0,Yi.jsx)(Dl.RichText.Content,{className:&quot;wp-block-accordion-heading__toggle-title&quot;,tagName:&quot;span&quot;,value:r}),n&amp;&amp;a===&quot;right&quot;&amp;&amp;(0,Yi.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;})]})})}},Dfe={attributes:{openByDefault:{type:&quot;boolean&quot;,default:!1},title:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;.wp-block-accordion-heading__toggle-title&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;},iconPosition:{type:&quot;string&quot;,enum:[&quot;left&quot;,&quot;right&quot;],default:&quot;right&quot;},showIcon:{type:&quot;boolean&quot;,default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:&quot;.wp-block-accordion-heading__toggle&quot;},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:[&quot;textDecoration&quot;,&quot;letterSpacing&quot;],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},save({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i=&quot;h&quot;+(t||3),l=(0,Dl.getTypographyClassesAndStyles)(e),s=Dl.useBlockProps.save(),c=(0,Dl.__experimentalGetSpacingClassesAndStyles)(e);return(0,Yi.jsx)(i,{...s,children:(0,Yi.jsxs)(&quot;button&quot;,{className:&quot;wp-block-accordion-heading__toggle&quot;,style:c.style,children:[n&amp;&amp;a===&quot;left&quot;&amp;&amp;(0,Yi.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;}),(0,Yi.jsx)(Dl.RichText.Content,{className:&quot;wp-block-accordion-heading__toggle-title&quot;,tagName:&quot;span&quot;,value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),n&amp;&amp;a===&quot;right&quot;&amp;&amp;(0,Yi.jsx)(&quot;span&quot;,{className:&quot;wp-block-accordion-heading__toggle-icon&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,children:&quot;+&quot;})]})})}},CV=[Efe,Dfe];var{name:SV}=Ex,TV={icon:kS,edit:kV,save:wV,deprecated:CV},Lfe=()=&gt;E({name:SV,metadata:Ex,settings:TV});var qB={};Z(qB,{init:()=&gt;Afe,metadata:()=&gt;Lx,name:()=&gt;DV,settings:()=&gt;LV});var Mf=o(T(),1),PV=o(V(),1),BV=o(v(),1);function IV({attributes:e,context:t,clientId:r,isSelected:a}){let{allowedBlocks:n,templateLock:i}=e,l=t[&quot;core/accordion-open-by-default&quot;],{hasSelection:s}=(0,PV.useSelect)(m=&gt;{if(a||l)return{hasSelection:!0};let{getBlockRootClientId:p,isBlockSelected:d,hasSelectedInnerBlock:f}=m(Mf.store),h=p(r);return{hasSelection:d(h)||f(h,!0)}},[r,a,l]),c=(0,Mf.useBlockProps)({&quot;aria-hidden&quot;:!s,role:&quot;region&quot;}),u=(0,Mf.useInnerBlocksProps)(c,{allowedBlocks:n,template:[[&quot;core/paragraph&quot;,{}]],templateLock:i});return(0,BV.jsx)(&quot;div&quot;,{...u})}var Dx=o(T(),1),NV=o(v(),1);function EV(){let e=Dx.useBlockProps.save({role:&quot;region&quot;}),t=Dx.useInnerBlocksProps.save(e);return(0,NV.jsx)(&quot;div&quot;,{...t})}var Lx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/accordion-panel&quot;,title:&quot;Accordion Panel&quot;,category:&quot;design&quot;,description:&quot;Contains the hidden or revealed content beneath the heading.&quot;,parent:[&quot;core/accordion-item&quot;],usesContext:[&quot;core/accordion-open-by-default&quot;],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},shadow:!0,layout:{allowEditing:!1},visibility:!1,contentRole:!0,allowedBlocks:!0,lock:!1},attributes:{templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1],default:!1}},textdomain:&quot;default&quot;,style:&quot;wp-block-accordion-panel&quot;};var{name:DV}=Lx,LV={icon:E0,edit:IV,save:EV},Afe=()=&gt;E({name:DV,metadata:Lx,settings:LV});var ZB={};Z(ZB,{init:()=&gt;zfe,metadata:()=&gt;Mx,name:()=&gt;zV,settings:()=&gt;VV});var Mx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/archives&quot;,title:&quot;Archives&quot;,category:&quot;widgets&quot;,description:&quot;Display a date archive of your posts.&quot;,textdomain:&quot;default&quot;,attributes:{displayAsDropdown:{type:&quot;boolean&quot;,default:!1},showLabel:{type:&quot;boolean&quot;,default:!0},showPostCounts:{type:&quot;boolean&quot;,default:!1},type:{type:&quot;string&quot;,default:&quot;monthly&quot;}},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0}}};var $a=o(M(),1),Go=o(P(),1),Ax=o(T(),1),MV=o(Fu(),1),AV=o(me(),1);var Zr=o(v(),1);function RV({attributes:e,setAttributes:t,name:r}){let{showLabel:a,showPostCounts:n,displayAsDropdown:i,type:l}=e,s=q(),{content:c,status:u,error:m}=(0,MV.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),p=(0,AV.useDisabled)(),d=(0,Ax.useBlockProps)({ref:p});return(0,Zr.jsxs)(Zr.Fragment,{children:[(0,Zr.jsx)(Ax.InspectorControls,{children:(0,Zr.jsxs)($a.__experimentalToolsPanel,{label:(0,Go.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({displayAsDropdown:!1,showLabel:!0,showPostCounts:!1,type:&quot;monthly&quot;})},dropdownMenuProps:s,children:[(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)(&quot;Display as dropdown&quot;),isShownByDefault:!0,hasValue:()=&gt;i,onDeselect:()=&gt;t({displayAsDropdown:!1}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)(&quot;Display as dropdown&quot;),checked:i,onChange:()=&gt;t({displayAsDropdown:!i})})}),i&amp;&amp;(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)(&quot;Show label&quot;),isShownByDefault:!0,hasValue:()=&gt;!a,onDeselect:()=&gt;t({showLabel:!0}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)(&quot;Show label&quot;),checked:a,onChange:()=&gt;t({showLabel:!a})})}),(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)(&quot;Show post counts&quot;),isShownByDefault:!0,hasValue:()=&gt;n,onDeselect:()=&gt;t({showPostCounts:!1}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)(&quot;Show post counts&quot;),checked:n,onChange:()=&gt;t({showPostCounts:!n})})}),(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)(&quot;Group by&quot;),isShownByDefault:!0,hasValue:()=&gt;l!==&quot;monthly&quot;,onDeselect:()=&gt;t({type:&quot;monthly&quot;}),children:(0,Zr.jsx)($a.SelectControl,{__next40pxDefaultSize:!0,label:(0,Go.__)(&quot;Group by&quot;),options:[{label:(0,Go.__)(&quot;Year&quot;),value:&quot;yearly&quot;},{label:(0,Go.__)(&quot;Month&quot;),value:&quot;monthly&quot;},{label:(0,Go.__)(&quot;Week&quot;),value:&quot;weekly&quot;},{label:(0,Go.__)(&quot;Day&quot;),value:&quot;daily&quot;}],value:l,onChange:f=&gt;t({type:f})})})]})}),u===&quot;loading&quot;&amp;&amp;(0,Zr.jsx)(&quot;div&quot;,{...d,children:(0,Zr.jsx)($a.Spinner,{})}),u===&quot;error&quot;&amp;&amp;(0,Zr.jsx)(&quot;div&quot;,{...d,children:(0,Zr.jsx)(&quot;p&quot;,{children:(0,Go.sprintf)((0,Go.__)(&quot;Error: %s&quot;),m)})}),u===&quot;success&quot;&amp;&amp;(0,Zr.jsx)(uo,{wrapperProps:d,html:c})]})}var{name:zV}=Mx,VV={icon:AS,example:{},edit:RV},zfe=()=&gt;E({name:zV,metadata:Mx,settings:VV});var QB={};Z(QB,{init:()=&gt;Ufe,metadata:()=&gt;Rx,name:()=&gt;tF,settings:()=&gt;rF});var Rx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/avatar&quot;,title:&quot;Avatar&quot;,category:&quot;theme&quot;,description:&quot;Add a user\u2019s avatar.&quot;,textdomain:&quot;default&quot;,attributes:{userId:{type:&quot;number&quot;},size:{type:&quot;number&quot;,default:96},isLink:{type:&quot;boolean&quot;,default:!1},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},usesContext:[&quot;postType&quot;,&quot;postId&quot;,&quot;commentId&quot;],supports:{anchor:!0,html:!1,align:!0,alignWide:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{__experimentalSkipSerialization:!0,radius:!0,width:!0,color:!0,style:!0,__experimentalDefaultControls:{radius:!0}},color:{text:!1,background:!1},filter:{duotone:!0},interactivity:{clientNavigation:!0}},selectors:{border:&quot;.wp-block-avatar img&quot;,filter:{duotone:&quot;.wp-block-avatar img&quot;}},editorStyle:&quot;wp-block-avatar-editor&quot;,style:&quot;wp-block-avatar&quot;};var Dp=o(T(),1),Sn=o(M(),1),Xi=o(P(),1),Vx=o(mr(),1);var w1=o(Q(),1),Ku=o(P(),1),HV=o(V(),1);function OV(e){let t=e?e[0]:24,r=e?e[e.length-1]:96,a=Math.floor(r*2.5);return{minSize:t,maxSize:a}}function jV({commentId:e}){let[t]=(0,w1.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;author_avatar_urls&quot;,e),[r]=(0,w1.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;author_name&quot;,e),a=t?Object.values(t):null,n=t?Object.keys(t):null,{minSize:i,maxSize:l}=OV(n),s=x1();return{src:a?a[a.length-1]:s,minSize:i,maxSize:l,alt:r?(0,Ku.sprintf)((0,Ku.__)(&quot;%s Avatar&quot;),r):(0,Ku.__)(&quot;Default Avatar&quot;)}}function UV({userId:e,postId:t,postType:r}){let{authorDetails:a}=(0,HV.useSelect)(u=&gt;{let{getEditedEntityRecord:m,getUser:p}=u(w1.store);if(e)return{authorDetails:p(e)};let d=m(&quot;postType&quot;,r,t)?.author;return{authorDetails:d?p(d):null}},[r,t,e]),n=a?.avatar_urls?Object.values(a.avatar_urls):null,i=a?.avatar_urls?Object.keys(a.avatar_urls):null,{minSize:l,maxSize:s}=OV(i),c=x1();return{src:n?n[n.length-1]:c,minSize:l,maxSize:s,alt:a?(0,Ku.sprintf)((0,Ku.__)(&quot;%s Avatar&quot;),a?.name):(0,Ku.__)(&quot;Default Avatar&quot;)}}var KB=o(P(),1),WV=o(M(),1),$V=o(V(),1),qV=o(Q(),1),zx=o(U(),1),ZV=o(me(),1),KV=o(Wo(),1),QV=o(v(),1),Ffe={who:&quot;authors&quot;,per_page:100,_fields:&quot;id,name&quot;,context:&quot;view&quot;};function YV({value:e,onChange:t}){let[r,a]=(0,zx.useState)(&quot;&quot;),{authors:n,isLoading:i}=(0,$V.useSelect)(s=&gt;{let{getUsers:c,isResolving:u}=s(qV.store),m={...Ffe};return r&amp;&amp;(m.search=r,m.search_columns=[&quot;name&quot;]),{authors:c(m),isLoading:u(&quot;getUsers&quot;,[m])}},[r]),l=(0,zx.useMemo)(()=&gt;(n??[]).map(s=&gt;({value:s.id,label:(0,KV.decodeEntities)(s.name)})),[n]);return(0,QV.jsx)(WV.ComboboxControl,{__next40pxDefaultSize:!0,label:(0,KB.__)(&quot;User&quot;),help:(0,KB.__)(&quot;Select the avatar user to display, if it is blank it will use the post/page author.&quot;),value:e,onChange:t,options:l,onFilterValueChange:(0,ZV.debounce)(a,300),isLoading:i})}var Mt=o(v(),1),XV=({setAttributes:e,avatar:t,attributes:r,selectUser:a})=&gt;{let n=q();return(0,Mt.jsx)(Dp.InspectorControls,{children:(0,Mt.jsxs)(Sn.__experimentalToolsPanel,{label:(0,Xi.__)(&quot;Settings&quot;),resetAll:()=&gt;{e({size:96,isLink:!1,linkTarget:&quot;_self&quot;,userId:void 0})},dropdownMenuProps:n,children:[(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)(&quot;Image size&quot;),isShownByDefault:!0,hasValue:()=&gt;r?.size!==96,onDeselect:()=&gt;e({size:96}),children:(0,Mt.jsx)(Sn.RangeControl,{__next40pxDefaultSize:!0,label:(0,Xi.__)(&quot;Image size&quot;),onChange:i=&gt;e({size:i}),min:t.minSize,max:t.maxSize,initialPosition:r?.size,value:r?.size})}),(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)(&quot;Link to user profile&quot;),isShownByDefault:!0,hasValue:()=&gt;r?.isLink,onDeselect:()=&gt;e({isLink:!1}),children:(0,Mt.jsx)(Sn.ToggleControl,{label:(0,Xi.__)(&quot;Link to user profile&quot;),onChange:()=&gt;e({isLink:!r.isLink}),checked:r.isLink})}),r.isLink&amp;&amp;(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;r?.linkTarget!==&quot;_self&quot;,onDeselect:()=&gt;e({linkTarget:&quot;_self&quot;}),children:(0,Mt.jsx)(Sn.ToggleControl,{label:(0,Xi.__)(&quot;Open in new tab&quot;),onChange:i=&gt;e({linkTarget:i?&quot;_blank&quot;:&quot;_self&quot;}),checked:r.linkTarget===&quot;_blank&quot;})}),a&amp;&amp;(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)(&quot;User&quot;),isShownByDefault:!0,hasValue:()=&gt;!!r?.userId,onDeselect:()=&gt;e({userId:void 0}),children:(0,Mt.jsx)(YV,{value:r?.userId,onChange:i=&gt;{e({userId:i})}})})]})})},Hfe=({children:e,isLink:t})=&gt;t?(0,Mt.jsx)(&quot;a&quot;,{href:&quot;#avatar-pseudo-link&quot;,className:&quot;wp-block-avatar__link&quot;,onClick:r=&gt;r.preventDefault(),children:e}):e,JV=({setAttributes:e,attributes:t,avatar:r,blockProps:a,isSelected:n})=&gt;{let i=(0,Dp.__experimentalUseBorderProps)(t),l=(0,Vx.addQueryArgs)((0,Vx.removeQueryArgs)(r?.src,[&quot;s&quot;]),{s:t?.size*2});return(0,Mt.jsx)(&quot;div&quot;,{...a,children:(0,Mt.jsx)(Hfe,{isLink:t.isLink,children:(0,Mt.jsx)(Sn.ResizableBox,{size:{width:t.size,height:t.size},showHandle:n,onResizeStop:(s,c,u,m)=&gt;{e({size:parseInt(t.size+(m.height||m.width),10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,Xi.isRTL)(),bottom:!0,left:(0,Xi.isRTL)()},minWidth:r.minSize,maxWidth:r.maxSize,children:(0,Mt.jsx)(&quot;img&quot;,{src:l,alt:r.alt,className:w(&quot;avatar&quot;,&quot;avatar-&quot;+t.size,&quot;photo&quot;,&quot;wp-block-avatar__image&quot;,i.className),style:i.style})})})})},Ofe=({attributes:e,context:t,setAttributes:r,isSelected:a})=&gt;{let{commentId:n}=t,i=(0,Dp.useBlockProps)(),l=jV({commentId:n});return(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(XV,{avatar:l,setAttributes:r,attributes:e,selectUser:!1}),(0,Mt.jsx)(JV,{attributes:e,avatar:l,blockProps:i,isSelected:a,setAttributes:r})]})},jfe=({attributes:e,context:t,setAttributes:r,isSelected:a})=&gt;{let{postId:n,postType:i}=t,l=UV({userId:e?.userId,postId:n,postType:i}),s=(0,Dp.useBlockProps)();return(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(XV,{selectUser:!0,attributes:e,avatar:l,setAttributes:r}),(0,Mt.jsx)(JV,{attributes:e,avatar:l,blockProps:s,isSelected:a,setAttributes:r})]})};function eF(e){return e?.context?.commentId||e?.context?.commentId===null?(0,Mt.jsx)(Ofe,{...e}):(0,Mt.jsx)(jfe,{...e})}var{name:tF}=Rx,rF={icon:I0,edit:eF,example:{}},Ufe=()=&gt;E({name:tF,metadata:Rx,settings:rF});var aI={};Z(aI,{init:()=&gt;the,metadata:()=&gt;Ox,name:()=&gt;PF,settings:()=&gt;jx});var oI=o(P(),1);var TF=o(W(),1);var YB=o(T(),1),C1=o(v(),1),oF=[{attributes:{src:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;src&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;},id:{type:&quot;number&quot;},autoplay:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;autoplay&quot;},loop:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;loop&quot;},preload:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;preload&quot;}},supports:{align:!0},save({attributes:e}){let{autoplay:t,caption:r,loop:a,preload:n,src:i}=e;return(0,C1.jsxs)(&quot;figure&quot;,{children:[(0,C1.jsx)(&quot;audio&quot;,{controls:&quot;controls&quot;,src:i,autoPlay:t,loop:a,preload:n}),!YB.RichText.isEmpty(r)&amp;&amp;(0,C1.jsx)(YB.RichText.Content,{tagName:&quot;figcaption&quot;,value:r})]})}}];var vF=o(Rr(),1),Za=o(M(),1),Tn=o(T(),1),qa=o(P(),1),bF=o(V(),1);var yF=o(xr(),1),_F=o(U(),1);function Af(e,t){var r=0,a,n;t=t||{};function i(){var l=a,s=arguments.length,c,u;e:for(;l;){if(l.args.length!==arguments.length){l=l.next;continue}for(u=0;u&lt;s;u++)if(l.args[u]!==arguments[u]){l=l.next;continue e}return l!==a&amp;&amp;(l===n&amp;&amp;(n=l.prev),l.prev.next=l.next,l.next&amp;&amp;(l.next.prev=l.prev),l.next=a,l.prev=null,a.prev=l,a=l),l.val}for(c=new Array(s),u=0;u&lt;s;u++)c[u]=arguments[u];return l={args:c,val:e.apply(null,c)},a?(a.prev=l,l.next=a):n=l,r===t.maxSize?(n=n.prev,n.next=null):r++,a=l,l.val}return i.clear=function(){a=null,n=null,r=0},i}var cF=o(M(),1),JB=o(U(),1),Ms=o(W(),1);var Ls={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/embed&quot;,title:&quot;Embed&quot;,category:&quot;embed&quot;,description:&quot;Add a block that displays content pulled from other sites, like Twitter or YouTube.&quot;,textdomain:&quot;default&quot;,attributes:{url:{type:&quot;string&quot;,role:&quot;content&quot;},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;,role:&quot;content&quot;},providerNameSlug:{type:&quot;string&quot;,role:&quot;content&quot;},allowResponsive:{type:&quot;boolean&quot;,default:!0},responsive:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},previewable:{type:&quot;boolean&quot;,default:!0,role:&quot;content&quot;}},supports:{anchor:!0,align:!0,spacing:{margin:!0},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-embed-editor&quot;,style:&quot;wp-block-embed&quot;};var S1=[{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.78&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;}],XB=&quot;wp-embed&quot;;var lF=o(iF(),1),{lock:sF,unlock:K}=(0,lF.__dangerousOptInToUnstableAPIsOnlyForCoreModules)(&quot;I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.&quot;,&quot;@wordpress/block-library&quot;);var Fx=o(v(),1),{name:Rf}=Ls,{kebabCase:Wfe}=K(cF.privateApis),uF=e=&gt;(0,Ms.getBlockVariations)(Rf)?.find(({name:t})=&gt;t===e),eI=(e,t=[])=&gt;t.some(r=&gt;e.match(r)),$fe=e=&gt;(0,Ms.getBlockVariations)(Rf)?.find(({patterns:t})=&gt;eI(e,t)),mF=e=&gt;e&amp;&amp;e.includes(&#039;class=&quot;wp-embedded-content&quot;&#039;),pF=e=&gt;{let t=e.url||e.thumbnail_url,r=(0,Fx.jsx)(&quot;p&quot;,{children:(0,Fx.jsx)(&quot;img&quot;,{src:t,alt:e.title,width:&quot;100%&quot;})});return(0,JB.renderToString)(r)},Yu=(e,t={})=&gt;{let{preview:r,attributes:a={}}=e,{url:n,providerNameSlug:i,type:l,...s}=a;if(!n||!(0,Ms.getBlockType)(Rf))return;let c=$fe(n),u=i===&quot;wordpress&quot;||l===XB;if(!u&amp;&amp;c&amp;&amp;(c.attributes.providerNameSlug!==i||!i))return(0,Ms.createBlock)(Rf,{url:n,...s,...c.attributes});let p=(0,Ms.getBlockVariations)(Rf)?.find(({name:d})=&gt;d===&quot;wordpress&quot;);if(!(!p||!r||!mF(r.html)||u))return(0,Ms.createBlock)(Rf,{url:n,...p.attributes,...t})},qfe=e=&gt;e?S1.some(({className:t})=&gt;e.includes(t)):!1,Qu=e=&gt;{if(!e)return e;let t=S1.reduce((a,{className:n})=&gt;(a.push(n),a),[&quot;wp-has-aspect-ratio&quot;]),r=e;for(let a of t)r=r.replace(a,&quot;&quot;);return r.trim()};function Zfe(e){return/padding-(top|bottom)\s*:\s*[\d.]+%/i.test(e)}function tI(e,t,r=!0){if(!r||Zfe(e))return Qu(t);let a=document.implementation.createHTMLDocument(&quot;&quot;);a.body.innerHTML=e;let n=a.body.querySelector(&quot;iframe&quot;);if(n&amp;&amp;n.height&amp;&amp;n.width){let i=(n.width/n.height).toFixed(2);for(let l=0;l&lt;S1.length;l++){let s=S1[l];if(i&gt;=s.ratio)return i-s.ratio&gt;.1?Qu(t):w(Qu(t),s.className,&quot;wp-has-aspect-ratio&quot;)}}return t}function dF(e,t){t((0,Ms.createBlock)(&quot;core/paragraph&quot;,{content:(0,JB.renderToString)((0,Fx.jsx)(&quot;a&quot;,{href:e,children:e}))}))}var Kfe=Af((e,t,r,a,n=!0)=&gt;{if(!e)return{};let i={},{type:l=&quot;rich&quot;}=e,{html:s,provider_name:c}=e,u=Wfe((c||t).toLowerCase());return mF(s)&amp;&amp;(l=XB),(s||l===&quot;photo&quot;)&amp;&amp;(i.type=l,i.providerNameSlug=u),qfe(r)||(i.className=tI(s,r,a&amp;&amp;n)),i}),fF=(e,t,r,a)=&gt;{let{allowResponsive:n,className:i}=e;return{...e,...Kfe(t,r,i,a,n)}};var Lp=o(U(),1),hF=o(me(),1),T1=o(P(),1),Oc=o(T(),1),gF=o(M(),1);var Hx=o(W(),1),Xu=o(v(),1);function _a({attributeKey:e=&quot;caption&quot;,attributes:t,setAttributes:r,isSelected:a,insertBlocksAfter:n,placeholder:i=(0,T1.__)(&quot;Add caption&quot;),label:l=(0,T1.__)(&quot;Caption text&quot;),showToolbarButton:s=!0,excludeElementClassName:c,className:u,readOnly:m,tagName:p=&quot;figcaption&quot;,addLabel:d=(0,T1.__)(&quot;Add caption&quot;),removeLabel:f=(0,T1.__)(&quot;Remove caption&quot;),icon:h=ZS,...g}){let b=t[e],y=(0,hF.usePrevious)(b),k=Oc.RichText.isEmpty(b),_=Oc.RichText.isEmpty(y),[x,S]=(0,Lp.useState)(!k);(0,Lp.useEffect)(()=&gt;{!k&amp;&amp;_&amp;&amp;S(!0)},[k,_]),(0,Lp.useEffect)(()=&gt;{!a&amp;&amp;k&amp;&amp;S(!1)},[a,k]);let C=(0,Lp.useCallback)(N=&gt;{N&amp;&amp;k&amp;&amp;N.focus()},[k]);return(0,Xu.jsxs)(Xu.Fragment,{children:[s&amp;&amp;(0,Xu.jsx)(Oc.BlockControls,{group:&quot;block&quot;,children:(0,Xu.jsx)(gF.ToolbarButton,{onClick:()=&gt;{S(!x),x&amp;&amp;b&amp;&amp;r({[e]:void 0})},icon:h,isPressed:x,label:x?f:d})}),x&amp;&amp;(!Oc.RichText.isEmpty(b)||a)&amp;&amp;(0,Xu.jsx)(Oc.RichText,{identifier:e,tagName:p,className:w(u,c?&quot;&quot;:(0,Oc.__experimentalGetElementClassName)(&quot;caption&quot;)),ref:C,&quot;aria-label&quot;:l,placeholder:i,value:b,onChange:N=&gt;r({[e]:N}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=&gt;n((0,Hx.createBlock)((0,Hx.getDefaultBlockName)())),readOnly:m,...g})]})}var kr=o(v(),1),rI=[&quot;audio&quot;];function Qfe({attributes:e,className:t,setAttributes:r,onReplace:a,isSelected:n,insertBlocksAfter:i}){let{id:l,autoplay:s,loop:c,preload:u,src:m}=e,[p,d]=(0,_F.useState)(e.blob),h=(0,Tn.useBlockEditingMode)()===&quot;default&quot;;Es({url:p,allowedTypes:rI,onChange:x,onError:k});function g(B){return D=&gt;{r({[B]:D})}}function b(B){if(B!==m){let D=Yu({attributes:{url:B}});if(D!==void 0&amp;&amp;a){a(D);return}r({src:B,id:void 0,blob:void 0}),d()}}let{createErrorNotice:y}=(0,bF.useDispatch)(yF.store);function k(B){y(B,{type:&quot;snackbar&quot;})}function _(B){return B?(0,qa.__)(&quot;Autoplay may cause usability issues for some users.&quot;):null}function x(B){if(!B||!B.url){r({src:void 0,id:void 0,caption:void 0,blob:void 0}),d();return}if((0,vF.isBlobURL)(B.url)){d(B.url);return}r({blob:void 0,src:B.url,id:B.id,caption:B.caption}),d()}let S=w(t,{&quot;is-transient&quot;:!!p}),C=(0,Tn.useBlockProps)({className:S}),N=q();return!m&amp;&amp;!p?(0,kr.jsx)(&quot;div&quot;,{...C,children:(0,kr.jsx)(Tn.MediaPlaceholder,{icon:(0,kr.jsx)(Tn.BlockIcon,{icon:ni}),onSelect:x,onSelectURL:b,accept:&quot;audio/*&quot;,allowedTypes:rI,value:e,onError:k})}):(0,kr.jsxs)(kr.Fragment,{children:[n&amp;&amp;(0,kr.jsx)(Tn.BlockControls,{group:&quot;other&quot;,children:(0,kr.jsx)(Tn.MediaReplaceFlow,{mediaId:l,mediaURL:m,allowedTypes:rI,accept:&quot;audio/*&quot;,onSelect:x,onSelectURL:b,onError:k,onReset:()=&gt;x(void 0),variant:&quot;toolbar&quot;})}),(0,kr.jsx)(Tn.InspectorControls,{children:(0,kr.jsxs)(Za.__experimentalToolsPanel,{label:(0,qa.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({autoplay:!1,loop:!1,preload:void 0})},dropdownMenuProps:N,children:[(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)(&quot;Autoplay&quot;),isShownByDefault:!0,hasValue:()=&gt;!!s,onDeselect:()=&gt;r({autoplay:!1}),children:(0,kr.jsx)(Za.ToggleControl,{label:(0,qa.__)(&quot;Autoplay&quot;),onChange:g(&quot;autoplay&quot;),checked:!!s,help:_})}),(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)(&quot;Loop&quot;),isShownByDefault:!0,hasValue:()=&gt;!!c,onDeselect:()=&gt;r({loop:!1}),children:(0,kr.jsx)(Za.ToggleControl,{label:(0,qa.__)(&quot;Loop&quot;),onChange:g(&quot;loop&quot;),checked:!!c})}),(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)(&quot;Preload&quot;),isShownByDefault:!0,hasValue:()=&gt;!!u,onDeselect:()=&gt;r({preload:void 0}),children:(0,kr.jsx)(Za.SelectControl,{__next40pxDefaultSize:!0,label:(0,qa._x)(&quot;Preload&quot;,&quot;noun; Audio block parameter&quot;),value:u||&quot;&quot;,onChange:B=&gt;r({preload:B||void 0}),options:[{value:&quot;&quot;,label:(0,qa.__)(&quot;Browser default&quot;)},{value:&quot;auto&quot;,label:(0,qa.__)(&quot;Auto&quot;)},{value:&quot;metadata&quot;,label:(0,qa.__)(&quot;Metadata&quot;)},{value:&quot;none&quot;,label:(0,qa._x)(&quot;None&quot;,&quot;Preload value&quot;)}]})})]})}),(0,kr.jsxs)(&quot;figure&quot;,{...C,children:[(0,kr.jsx)(Za.Disabled,{isDisabled:!n,children:(0,kr.jsx)(&quot;audio&quot;,{controls:&quot;controls&quot;,src:m??p})}),!!p&amp;&amp;(0,kr.jsx)(Za.Spinner,{}),(0,kr.jsx)(_a,{attributes:e,setAttributes:r,isSelected:n,insertBlocksAfter:i,label:(0,qa.__)(&quot;Audio caption text&quot;),showToolbarButton:n&amp;&amp;h})]})]})}var xF=Qfe;var Ox={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/audio&quot;,title:&quot;Audio&quot;,category:&quot;media&quot;,description:&quot;Embed a simple audio player.&quot;,keywords:[&quot;music&quot;,&quot;sound&quot;,&quot;podcast&quot;,&quot;recording&quot;],textdomain:&quot;default&quot;,attributes:{blob:{type:&quot;string&quot;,role:&quot;local&quot;},src:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},id:{type:&quot;number&quot;,role:&quot;content&quot;},autoplay:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;autoplay&quot;},loop:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;loop&quot;},preload:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;audio&quot;,attribute:&quot;preload&quot;}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-audio-editor&quot;,style:&quot;wp-block-audio&quot;};var Mp=o(T(),1),P1=o(v(),1);function kF({attributes:e}){let{autoplay:t,caption:r,loop:a,preload:n,src:i}=e;return i&amp;&amp;(0,P1.jsxs)(&quot;figure&quot;,{...Mp.useBlockProps.save(),children:[(0,P1.jsx)(&quot;audio&quot;,{controls:&quot;controls&quot;,src:i,autoPlay:t,loop:a,preload:n}),!Mp.RichText.isEmpty(r)&amp;&amp;(0,P1.jsx)(Mp.RichText.Content,{tagName:&quot;figcaption&quot;,value:r,className:(0,Mp.__experimentalGetElementClassName)(&quot;caption&quot;)})]})}var wF=o(Rr(),1),CF=o(W(),1),Xfe={from:[{type:&quot;files&quot;,isMatch(e){return e.length===1&amp;&amp;e[0].type.indexOf(&quot;audio/&quot;)===0},transform(e){let t=e[0];return(0,CF.createBlock)(&quot;core/audio&quot;,{blob:(0,wF.createBlobURL)(t)})}},{type:&quot;shortcode&quot;,tag:&quot;audio&quot;,attributes:{src:{type:&quot;string&quot;,shortcode:({named:{src:e,mp3:t,m4a:r,ogg:a,wav:n,wma:i}})=&gt;e||t||r||a||n||i},loop:{type:&quot;string&quot;,shortcode:({named:{loop:e}})=&gt;e},autoplay:{type:&quot;string&quot;,shortcode:({named:{autoplay:e}})=&gt;e},preload:{type:&quot;string&quot;,shortcode:({named:{preload:e}})=&gt;e}}}]},SF=Xfe;var{fieldsKey:Jfe,formKey:ehe}=K(TF.privateApis),{name:PF}=Ox,jx={icon:ni,example:{attributes:{src:&quot;https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg&quot;},viewportWidth:350},transforms:SF,deprecated:oF,edit:xF,save:kF};window.__experimentalContentOnlyInspectorFields&amp;&amp;(jx[Jfe]=[{id:&quot;audio&quot;,label:(0,oI.__)(&quot;Audio&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[&quot;audio&quot;],multiple:!1},getValue:({item:e})=&gt;({id:e.id,url:e.src}),setValue:({value:e})=&gt;({id:e.id,src:e.url})},{id:&quot;caption&quot;,label:(0,oI.__)(&quot;Caption&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],jx[ehe]={fields:[&quot;audio&quot;,&quot;caption&quot;]});var the=()=&gt;E({name:PF,metadata:Ox,settings:jx});var nI={};Z(nI,{init:()=&gt;ohe,metadata:()=&gt;Ux,name:()=&gt;DF,settings:()=&gt;LF});var Ux={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/breadcrumbs&quot;,title:&quot;Breadcrumbs&quot;,category:&quot;theme&quot;,description:&quot;Display a breadcrumb trail showing the path to the current page.&quot;,textdomain:&quot;default&quot;,attributes:{prefersTaxonomy:{type:&quot;boolean&quot;,default:!1},separator:{type:&quot;string&quot;,default:&quot;/&quot;},showHomeItem:{type:&quot;boolean&quot;,default:!0},showCurrentItem:{type:&quot;boolean&quot;,default:!0},showOnHomePage:{type:&quot;boolean&quot;,default:!1}},usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;templateSlug&quot;],supports:{anchor:!0,html:!1,align:[&quot;wide&quot;,&quot;full&quot;],spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!1,color:!0,width:!0,style:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-breadcrumbs&quot;};var zr=o(P(),1),B1=o(T(),1),$o=o(M(),1),BF=o(V(),1),Wx=o(Q(),1),jc=o(U(),1),IF=o(Fu(),1),NF=o(me(),1);var wt=o(v(),1),Gx=&quot;/&quot;;function EF({attributes:e,setAttributes:t,name:r,context:{postId:a,postType:n,templateSlug:i}}){let{separator:l,showHomeItem:s,showCurrentItem:c,prefersTaxonomy:u,showOnHomePage:m}=e,{post:p,isPostTypeHierarchical:d,postTypeHasTaxonomies:f,hasTermsAssigned:h,isLoading:g}=(0,BF.useSelect)(I=&gt;{if(!n)return{};let R=I(Wx.store).getEntityRecord(&quot;postType&quot;,n,a),$=I(Wx.store).getPostType(n),j=$&amp;&amp;$.taxonomies.length,G;return j&amp;&amp;(G=I(Wx.store).getTaxonomies({type:n,per_page:-1})),{post:R,isPostTypeHierarchical:$?.hierarchical,postTypeHasTaxonomies:j,hasTermsAssigned:R&amp;&amp;(G||[]).filter(({visibility:O})=&gt;O?.publicly_queryable).some(O=&gt;!!R[O.rest_base]?.length),isLoading:a&amp;&amp;!R||!$||j&amp;&amp;!G}},[n,a]),[b,y]=(0,jc.useState)(0);(0,jc.useEffect)(()=&gt;{y(I=&gt;I+1)},[p]);let k=q(),{content:_,status:x,error:S}=(0,IF.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{post_id:a,invalidationKey:b}}),C=(0,jc.useRef)(&quot;&quot;);(0,jc.useEffect)(()=&gt;{x===&quot;success&quot;&amp;&amp;(C.current=_)},[_,x]);let[N,B]=(0,jc.useState)(!1);(0,jc.useEffect)(()=&gt;{if(x!==&quot;loading&quot;)return;let I=setTimeout(()=&gt;{B(!0)},400);return()=&gt;{clearTimeout(I),B(!1)}},[x]);let D=(0,NF.useDisabled)(),A=(0,B1.useBlockProps)({ref:D});if(g)return(0,wt.jsx)(&quot;div&quot;,{...A,children:(0,wt.jsx)($o.Spinner,{})});let H;!d&amp;&amp;!p?.parent?H=!0:f?H=u:H=!1;let F=null,z=!a||!n||i&amp;&amp;!n||!H&amp;&amp;!d||H&amp;&amp;!h;if(z){let I=[];s&amp;&amp;I.push((0,zr.__)(&quot;Home&quot;)),i&amp;&amp;!a?I.push((0,zr.__)(&quot;Page&quot;)):H?I.push((0,zr.__)(&quot;Category&quot;)):I.push((0,zr.__)(&quot;Ancestor&quot;),(0,zr.__)(&quot;Parent&quot;)),F=(0,wt.jsx)(&quot;nav&quot;,{...A,style:{&quot;--separator&quot;:`&quot;${l.replace(/\\/g,&quot;\\\\&quot;).replace(/&quot;/g,&#039;\\&quot;&#039;)}&quot;`,...A.style},children:(0,wt.jsxs)(&quot;ol&quot;,{children:[I.map((R,$)=&gt;(0,wt.jsx)(&quot;li&quot;,{children:(0,wt.jsx)(&quot;a&quot;,{href:`#breadcrumbs-pseudo-link-${$}`,children:R})},$)),c&amp;&amp;(0,wt.jsx)(&quot;li&quot;,{children:(0,wt.jsx)(&quot;span&quot;,{&quot;aria-current&quot;:&quot;page&quot;,children:(0,zr.__)(&quot;Current&quot;)})})]})})}return(0,wt.jsxs)(wt.Fragment,{children:[(0,wt.jsx)(B1.InspectorControls,{children:(0,wt.jsxs)($o.__experimentalToolsPanel,{label:(0,zr.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({separator:Gx,showHomeItem:!0,showCurrentItem:!0})},dropdownMenuProps:k,children:[(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)(&quot;Show home breadcrumb&quot;),isShownByDefault:!0,hasValue:()=&gt;!s,onDeselect:()=&gt;t({showHomeItem:!0}),children:(0,wt.jsx)($o.ToggleControl,{label:(0,zr.__)(&quot;Show home breadcrumb&quot;),onChange:I=&gt;t({showHomeItem:I}),checked:s})}),(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)(&quot;Show current breadcrumb&quot;),isShownByDefault:!0,hasValue:()=&gt;!c,onDeselect:()=&gt;t({showCurrentItem:!0}),children:(0,wt.jsx)($o.ToggleControl,{label:(0,zr.__)(&quot;Show current breadcrumb&quot;),onChange:I=&gt;t({showCurrentItem:I}),checked:c})}),(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)(&quot;Separator&quot;),isShownByDefault:!0,hasValue:()=&gt;l!==Gx,onDeselect:()=&gt;t({separator:Gx}),children:(0,wt.jsx)($o.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,zr.__)(&quot;Separator&quot;),value:l,onChange:I=&gt;t({separator:I}),onBlur:()=&gt;{l||t({separator:Gx})}})})]})}),(0,wt.jsxs)(B1.InspectorControls,{group:&quot;advanced&quot;,children:[(0,wt.jsx)($o.CheckboxControl,{label:(0,zr.__)(&quot;Show on homepage&quot;),checked:m,onChange:I=&gt;t({showOnHomePage:I}),help:(0,zr.__)(&quot;If this breadcrumbs block appears in a template or template part that\u2019s shown on the homepage, enable this option to display the breadcrumb trail. Otherwise, this setting has no effect.&quot;)}),(0,wt.jsx)($o.CheckboxControl,{label:(0,zr.__)(&quot;Prefer taxonomy terms&quot;),checked:u,onChange:I=&gt;t({prefersTaxonomy:I}),help:(0,zr.__)(&quot;The exact type of breadcrumbs shown will vary automatically depending on the page in which this block is displayed. In the specific case of a hierarchical post type with taxonomies, the breadcrumbs can either reflect its post hierarchy (default) or the hierarchy of its assigned taxonomy terms.&quot;)})]}),x===&quot;loading&quot;&amp;&amp;!z&amp;&amp;(C.current?(0,wt.jsx)(uo,{wrapperProps:{...A,style:{...A.style,opacity:N?.3:1}},html:C.current}):(0,wt.jsx)(&quot;div&quot;,{...A,children:(0,wt.jsx)($o.Spinner,{})})),x===&quot;error&quot;&amp;&amp;(0,wt.jsx)(&quot;div&quot;,{...A,children:(0,wt.jsx)(&quot;p&quot;,{children:(0,zr.sprintf)((0,zr.__)(&quot;Error: %s&quot;),S)})}),z&amp;&amp;F,!z&amp;&amp;x===&quot;success&quot;&amp;&amp;(0,wt.jsx)(uo,{wrapperProps:A,html:_})]})}var{name:DF}=Ux,LF={icon:OS,example:{},edit:EF},ohe=()=&gt;E({name:DF,metadata:Ux,settings:LF});var cI={};Z(cI,{init:()=&gt;yhe,metadata:()=&gt;Kx,name:()=&gt;qF,settings:()=&gt;Yx});var Qx=o(P(),1);var $F=o(W(),1);var ve=o(T(),1),I1=o(me(),1);var MF=o(T(),1);var{cleanEmptyObject:ahe}=K(MF.privateApis);function Ot(e){if(!e?.style?.typography?.fontFamily)return e;let{fontFamily:t,...r}=e.style.typography;return{...e,style:ahe({...e.style,typography:r}),fontFamily:t.split(&quot;|&quot;).pop()}}function We(e){let{textAlign:t,...r}=e;return t?{...r,style:{...e.style,typography:{...e.style?.typography,textAlign:t}}}:e}var Kt=o(v(),1),zf=e=&gt;{let{borderRadius:t,...r}=e,a=[t,r.style?.border?.radius].find(n=&gt;typeof n==&quot;number&quot;&amp;&amp;n!==0);return a?{...r,style:{...r.style,border:{...r.style?.border,radius:`${a}px`}}}:r};function nhe(e){if(!e.align)return e;let{align:t,...r}=e;return{...r,className:w(r.className,`align${e.align}`)}}var lI=e=&gt;{if(!e.customTextColor&amp;&amp;!e.customBackgroundColor&amp;&amp;!e.customGradient)return e;let t={color:{}};e.customTextColor&amp;&amp;(t.color.text=e.customTextColor),e.customBackgroundColor&amp;&amp;(t.color.background=e.customBackgroundColor),e.customGradient&amp;&amp;(t.color.gradient=e.customGradient);let{customTextColor:r,customBackgroundColor:a,customGradient:n,...i}=e;return{...i,style:t}},iI=e=&gt;{let{color:t,textColor:r,...a}={...e,customTextColor:e.textColor&amp;&amp;e.textColor[0]===&quot;#&quot;?e.textColor:void 0,customBackgroundColor:e.color&amp;&amp;e.color[0]===&quot;#&quot;?e.color:void 0};return lI(a)},Uc={url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;title&quot;},text:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a&quot;}},ihe={attributes:{tagName:{type:&quot;string&quot;,enum:[&quot;a&quot;,&quot;button&quot;],default:&quot;a&quot;},type:{type:&quot;string&quot;,default:&quot;button&quot;},textAlign:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a,button&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},text:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;a,button&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;,role:&quot;content&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:[&quot;fontSize&quot;,&quot;lineHeight&quot;,&quot;fontFamily&quot;,&quot;fontWeight&quot;,&quot;fontStyle&quot;,&quot;textTransform&quot;,&quot;textDecoration&quot;,&quot;letterSpacing&quot;],fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},selectors:{root:&quot;.wp-block-button .wp-block-button__link&quot;,typography:{writingMode:&quot;.wp-block-button&quot;}},save({attributes:e,className:t}){let{tagName:r,type:a,textAlign:n,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:m,url:p,width:d}=e,f=r||&quot;a&quot;,h=f===&quot;button&quot;,g=a||&quot;button&quot;,b=(0,ve.__experimentalGetBorderClassesAndStyles)(e),y=(0,ve.__experimentalGetColorClassesAndStyles)(e),k=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),_=(0,ve.__experimentalGetShadowClassesAndStyles)(e),x=(0,ve.getTypographyClassesAndStyles)(e),S=w(&quot;wp-block-button__link&quot;,y.className,b.className,x.className,{[`has-text-align-${n}`]:n,&quot;no-border-radius&quot;:c?.border?.radius===0,&quot;has-custom-font-size&quot;:i||c?.typography?.fontSize},(0,ve.__experimentalGetElementClassName)(&quot;button&quot;)),C={...b.style,...y.style,...k.style,..._.style,...x.style,writingMode:void 0},N=w(t,{[`has-custom-width wp-block-button__width-${d}`]:d});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:N}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:f,type:h?g:null,className:S,href:h?null:p,title:m,style:C,value:u,target:h?null:l,rel:h?null:s})})},isEligible(e){return!!e.textAlign},migrate:We},lhe={attributes:{tagName:{type:&quot;string&quot;,enum:[&quot;a&quot;,&quot;button&quot;],default:&quot;a&quot;},type:{type:&quot;string&quot;,default:&quot;button&quot;},textAlign:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a,button&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},text:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;a,button&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;,role:&quot;content&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalSelector:&quot;.wp-block-button__link&quot;,interactivity:{clientNavigation:!0}},save({attributes:e,className:t}){let{tagName:r,type:a,textAlign:n,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:m,url:p,width:d}=e,f=r||&quot;a&quot;,h=f===&quot;button&quot;,g=a||&quot;button&quot;,b=(0,ve.__experimentalGetBorderClassesAndStyles)(e),y=(0,ve.__experimentalGetColorClassesAndStyles)(e),k=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),_=(0,ve.__experimentalGetShadowClassesAndStyles)(e),x=w(&quot;wp-block-button__link&quot;,y.className,b.className,{[`has-text-align-${n}`]:n,&quot;no-border-radius&quot;:c?.border?.radius===0},(0,ve.__experimentalGetElementClassName)(&quot;button&quot;)),S={...b.style,...y.style,...k.style,..._.style},C=w(t,{[`has-custom-width wp-block-button__width-${d}`]:d,&quot;has-custom-font-size&quot;:i||c?.typography?.fontSize});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:C}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:f,type:h?g:null,className:x,href:h?null:p,title:m,style:S,value:u,target:h?null:l,rel:h?null:s})})}},she={attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;title&quot;},text:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}},__experimentalSelector:&quot;.wp-block-button__link&quot;},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=(0,ve.__experimentalGetBorderClassesAndStyles)(e),p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),f=w(&quot;wp-block-button__link&quot;,p.className,m.className,{&quot;no-border-radius&quot;:i?.border?.radius===0}),h={...m.style,...p.style,...d.style},g=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,&quot;has-custom-font-size&quot;:r||i?.typography?.fontSize});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:g}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:f,href:c,title:s,style:h,value:l,target:a,rel:n})})}},che={attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;title&quot;},text:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:&quot;.wp-block-button__link&quot;},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=(0,ve.__experimentalGetBorderClassesAndStyles)(e),p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),f=w(&quot;wp-block-button__link&quot;,p.className,m.className,{&quot;no-border-radius&quot;:i?.border?.radius===0}),h={...m.style,...p.style,...d.style},g=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,&quot;has-custom-font-size&quot;:r||i?.typography?.fontSize});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:g}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:f,href:c,title:s,style:h,value:l,target:a,rel:n})})},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},uhe=[ihe,lhe,she,che,{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:&quot;.wp-block-button__link&quot;},attributes:{...Uc,linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},isEligible({style:e}){return typeof e?.border?.radius==&quot;number&quot;},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=i?.border?.radius,p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=w(&quot;wp-block-button__link&quot;,p.className,{&quot;no-border-radius&quot;:i?.border?.radius===0}),f={borderRadius:m||void 0,...p.style},h=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,&quot;has-custom-font-size&quot;:r||i?.typography?.fontSize});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:h}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:d,href:c,title:s,style:f,value:l,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:&quot;.wp-block-button__link&quot;},attributes:{...Uc,linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&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;},width:{type:&quot;number&quot;}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:a,rel:n,text:i,title:l,url:s,width:c}=e,u=(0,ve.__experimentalGetColorClassesAndStyles)(e),m=w(&quot;wp-block-button__link&quot;,u.className,{&quot;no-border-radius&quot;:r===0}),p={borderRadius:r?r+&quot;px&quot;:void 0,...u.style},d=w(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:d}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:m,href:s,title:l,style:p,value:i,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:&quot;.wp-block-button__link&quot;},attributes:{...Uc,linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&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;},width:{type:&quot;number&quot;}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:a,rel:n,text:i,title:l,url:s,width:c}=e,u=(0,ve.__experimentalGetColorClassesAndStyles)(e),m=w(&quot;wp-block-button__link&quot;,u.className,{&quot;no-border-radius&quot;:r===0}),p={borderRadius:r?r+&quot;px&quot;:void 0,...u.style},d=w(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,Kt.jsx)(&quot;div&quot;,{...ve.useBlockProps.save({className:d}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:m,href:s,title:l,style:p,value:i,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...Uc,linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&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;}},save({attributes:e}){let{borderRadius:t,linkTarget:r,rel:a,text:n,title:i,url:l}=e,s=w(&quot;wp-block-button__link&quot;,{&quot;no-border-radius&quot;:t===0}),c={borderRadius:t?t+&quot;px&quot;:void 0};return(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:s,href:l,title:i,style:c,value:n,target:r,rel:a})},migrate:zf},{supports:{align:!0,alignWide:!1},attributes:{...Uc,linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&quot;},borderRadius:{type:&quot;number&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;}},isEligible:e=&gt;!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient||!!e.align,migrate:(0,I1.compose)(zf,lI,nhe),save({attributes:e}){let{backgroundColor:t,borderRadius:r,customBackgroundColor:a,customTextColor:n,customGradient:i,linkTarget:l,gradient:s,rel:c,text:u,textColor:m,title:p,url:d}=e,f=(0,ve.getColorClassName)(&quot;color&quot;,m),h=!i&amp;&amp;(0,ve.getColorClassName)(&quot;background-color&quot;,t),g=(0,ve.__experimentalGetGradientClass)(s),b=w(&quot;wp-block-button__link&quot;,{&quot;has-text-color&quot;:m||n,[f]:f,&quot;has-background&quot;:t||a||i||s,[h]:h,&quot;no-border-radius&quot;:r===0,[g]:g}),y={background:i||void 0,backgroundColor:h||i||s?void 0:a,color:f?void 0:n,borderRadius:r?r+&quot;px&quot;:void 0};return(0,Kt.jsx)(&quot;div&quot;,{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:b,href:d,title:p,style:y,value:u,target:l,rel:c})})}},{attributes:{...Uc,align:{type:&quot;string&quot;,default:&quot;none&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;},placeholder:{type:&quot;string&quot;}},isEligible(e){return e.className&amp;&amp;e.className.includes(&quot;is-style-squared&quot;)},migrate(e){let t=e.className;return t&amp;&amp;(t=t.replace(/is-style-squared[\s]?/,&quot;&quot;).trim()),zf(lI({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,customTextColor:a,linkTarget:n,rel:i,text:l,textColor:s,title:c,url:u}=e,m=(0,ve.getColorClassName)(&quot;color&quot;,s),p=(0,ve.getColorClassName)(&quot;background-color&quot;,t),d=w(&quot;wp-block-button__link&quot;,{&quot;has-text-color&quot;:s||a,[m]:m,&quot;has-background&quot;:t||r,[p]:p}),f={backgroundColor:p?void 0:r,color:m?void 0:a};return(0,Kt.jsx)(&quot;div&quot;,{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:d,href:u,title:c,style:f,value:l,target:n,rel:i})})}},{attributes:{...Uc,align:{type:&quot;string&quot;,default:&quot;none&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;}},migrate:iI,save({attributes:e}){let{url:t,text:r,title:a,backgroundColor:n,textColor:i,customBackgroundColor:l,customTextColor:s}=e,c=(0,ve.getColorClassName)(&quot;color&quot;,i),u=(0,ve.getColorClassName)(&quot;background-color&quot;,n),m=w(&quot;wp-block-button__link&quot;,{&quot;has-text-color&quot;:i||s,[c]:c,&quot;has-background&quot;:n||l,[u]:u}),p={backgroundColor:u?void 0:l,color:c?void 0:s};return(0,Kt.jsx)(&quot;div&quot;,{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:m,href:t,title:a,style:p,value:r})})}},{attributes:{...Uc,color:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},align:{type:&quot;string&quot;,default:&quot;none&quot;}},save({attributes:e}){let{url:t,text:r,title:a,align:n,color:i,textColor:l}=e,s={backgroundColor:i,color:l};return(0,Kt.jsx)(&quot;div&quot;,{className:`align${n}`,children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,className:&quot;wp-block-button__link&quot;,href:t,title:a,style:s,value:r})})},migrate:iI},{attributes:{...Uc,color:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},align:{type:&quot;string&quot;,default:&quot;none&quot;}},save({attributes:e}){let{url:t,text:r,title:a,align:n,color:i,textColor:l}=e;return(0,Kt.jsx)(&quot;div&quot;,{className:`align${n}`,style:{backgroundColor:i},children:(0,Kt.jsx)(ve.RichText.Content,{tagName:&quot;a&quot;,href:t,title:a,style:{color:l},value:r})})},migrate:iI}],AF=uhe;var qo=o(P(),1),Pn=o(U(),1),xa=o(M(),1),it=o(T(),1),Ju=o(As(),1);var Gc=o(W(),1),E1=o(me(),1),D1=o(V(),1);var $x=&quot;noreferrer noopener&quot;,qx=&quot;_blank&quot;,Vf=&quot;nofollow&quot;;var zF=o(mr(),1);function VF({rel:e=&quot;&quot;,url:t=&quot;&quot;,opensInNewTab:r,nofollow:a}){let n,i=e;if(r)n=qx,i=i?.includes($x)?i:i+` ${$x}`;else{let l=new RegExp(`\\b${$x}\\s*`,&quot;g&quot;);i=i?.replace(l,&quot;&quot;).trim()}if(a)i=i?.includes(Vf)?i:(i+` ${Vf}`).trim();else{let l=new RegExp(`\\b${Vf}\\s*`,&quot;g&quot;);i=i?.replace(l,&quot;&quot;).trim()}return{url:(0,zF.prependHTTPS)(t),linkTarget:n,rel:i||void 0}}function N1(e){return e.toString().replace(/&lt;\/?a[^&gt;]*&gt;/g,&quot;&quot;)}var HF=o(me(),1),Zx=o(U(),1),OF=o(Ff(),1),jF=o(V(),1),UF=o(T(),1);function Kr(e){let{name:t,attributes:r,setAttributes:a}=e,{textAlign:n}=r,{__unstableMarkNextChangeAsNotPersistent:i}=(0,jF.useDispatch)(UF.store),l=(0,HF.useEvent)(()=&gt;{(0,OF.default)(`textAlign attribute in ${t}`,{alternative:&quot;style.typography.textAlign&quot;,since:&quot;7.0&quot;}),i(),a(c=&gt;({style:{...c.style,typography:{...c.style?.typography,textAlign:n}}}))}),s=(0,Zx.useRef)();(0,Zx.useEffect)(()=&gt;{n!==s.current&amp;&amp;(s.current=n,l())},[n,l])}var Pr=o(v(),1),{HTMLElementControl:mhe}=K(it.privateApis),phe=[...it.LinkControl.DEFAULT_LINK_SETTINGS,{id:&quot;nofollow&quot;,title:(0,qo.__)(&quot;Mark as nofollow&quot;)}];function dhe(e){let{replaceBlocks:t,selectionChange:r}=(0,D1.useDispatch)(it.store),{getBlock:a,getBlockRootClientId:n,getBlockIndex:i}=(0,D1.useSelect)(it.store),l=(0,Pn.useRef)(e);return l.current=e,(0,E1.useRefEffect)(s=&gt;{function c(u){if(u.defaultPrevented||u.keyCode!==Ju.ENTER)return;let{content:m,clientId:p}=l.current;if(m.length)return;u.preventDefault();let d=a(n(p)),f=i(p),h=(0,Gc.cloneBlock)({...d,innerBlocks:d.innerBlocks.slice(0,f)}),g=(0,Gc.createBlock)((0,Gc.getDefaultBlockName)()),b=d.innerBlocks.slice(f+1),y=b.length?[(0,Gc.cloneBlock)({...d,innerBlocks:b})]:[];t(d.clientId,[h,g,...y],1),r(g.clientId)}return s.addEventListener(&quot;keydown&quot;,c),()=&gt;{s.removeEventListener(&quot;keydown&quot;,c)}},[])}function fhe({selectedWidth:e,setAttributes:t}){let r=q();return(0,Pr.jsx)(xa.__experimentalToolsPanel,{label:(0,qo.__)(&quot;Settings&quot;),resetAll:()=&gt;t({width:void 0}),dropdownMenuProps:r,children:(0,Pr.jsx)(xa.__experimentalToolsPanelItem,{label:(0,qo.__)(&quot;Width&quot;),isShownByDefault:!0,hasValue:()=&gt;!!e,onDeselect:()=&gt;t({width:void 0}),children:(0,Pr.jsx)(xa.__experimentalToggleGroupControl,{label:(0,qo.__)(&quot;Width&quot;),value:e,onChange:a=&gt;t({width:a}),isBlock:!0,__next40pxDefaultSize:!0,children:[25,50,75,100].map(a=&gt;(0,Pr.jsx)(xa.__experimentalToggleGroupControlOption,{value:a,label:(0,qo.sprintf)((0,qo.__)(&quot;%d%%&quot;),a)},a))})})})}function hhe(e){let{attributes:t,setAttributes:r,className:a,isSelected:n,onReplace:i,mergeBlocks:l,clientId:s,context:c}=e,{tagName:u,linkTarget:m,placeholder:p,rel:d,style:f,text:h,url:g,width:b,metadata:y}=t;Kr(e);let k=u||&quot;a&quot;;function _(ke){Ju.isKeyboardEvent.primary(ke,&quot;k&quot;)?ne(ke):Ju.isKeyboardEvent.primaryShift(ke,&quot;k&quot;)&amp;&amp;(le(),H.current?.focus())}let[x,S]=(0,Pn.useState)(null),C=(0,it.__experimentalUseBorderProps)(t),N=(0,it.__experimentalUseColorProps)(t),B=(0,it.__experimentalGetSpacingClassesAndStyles)(t),D=(0,it.__experimentalGetShadowClassesAndStyles)(t),A=(0,Pn.useRef)(),H=(0,Pn.useRef)(),F=(0,it.useBlockProps)({ref:(0,E1.useMergeRefs)([S,A]),onKeyDown:_}),z=(0,it.useBlockEditingMode)(),[I,R]=(0,Pn.useState)(!1),$=!!g,j=m===qx,G=!!d?.includes(Vf),O=k===&quot;a&quot;,{createPageEntity:J,userCanCreatePages:ee,lockUrlControls:oe=!1}=(0,D1.useSelect)(ke=&gt;{if(!n)return{};let je=ke(it.store).getSettings(),de=(0,Gc.getBlockBindingsSource)(y?.bindings?.url?.source);return{createPageEntity:je.__experimentalCreatePageEntity,userCanCreatePages:je.__experimentalUserCanCreatePages,lockUrlControls:!!y?.bindings?.url&amp;&amp;!de?.canUserEditValue?.({select:ke,context:c,args:y?.bindings?.url?.args})}},[c,n,y?.bindings?.url]);async function X(ke){let je=await J({title:ke,status:&quot;draft&quot;});return{id:je.id,type:je.type,title:je.title.rendered,url:je.link,kind:&quot;post-type&quot;}}function te(ke){return(0,Pn.createInterpolateElement)((0,qo.sprintf)((0,qo.__)(&quot;Create page: &lt;mark&gt;%s&lt;/mark&gt;&quot;),ke),{mark:(0,Pr.jsx)(&quot;mark&quot;,{})})}function ne(ke){ke.preventDefault(),R(!0)}function le(){r({url:void 0,linkTarget:void 0,rel:void 0}),R(!1)}(0,Pn.useEffect)(()=&gt;{n||R(!1)},[n]);let pe=(0,Pn.useMemo)(()=&gt;({url:g,opensInNewTab:j,nofollow:G}),[g,j,G]),Ie=dhe({content:h,clientId:s}),Ne=(0,E1.useMergeRefs)([Ie,H]),[ae,Re]=(0,it.useSettings)(&quot;typography.fluid&quot;,&quot;layout&quot;),Ee=(0,it.getTypographyClassesAndStyles)(t,{typography:{fluid:ae},layout:{wideSize:Re?.wideSize}}),fe=z===&quot;default&quot;||O&amp;&amp;!oe;return(0,Pr.jsxs)(Pr.Fragment,{children:[(0,Pr.jsx)(&quot;div&quot;,{...F,className:w(F.className,{[`has-custom-width wp-block-button__width-${b}`]:b}),children:(0,Pr.jsx)(it.RichText,{ref:Ne,&quot;aria-label&quot;:(0,qo.__)(&quot;Button text&quot;),placeholder:p||(0,qo.__)(&quot;Add text\u2026&quot;),value:h,onChange:ke=&gt;r({text:N1(ke)}),withoutInteractiveFormatting:!0,className:w(a,&quot;wp-block-button__link&quot;,N.className,C.className,Ee.className,{&quot;no-border-radius&quot;:f?.border?.radius===0,&quot;has-custom-font-size&quot;:F.style.fontSize},(0,it.__experimentalGetElementClassName)(&quot;button&quot;)),style:{...C.style,...N.style,...B.style,...D.style,...Ee.style,writingMode:void 0},onReplace:i,onMerge:l,identifier:&quot;text&quot;})}),fe&amp;&amp;(0,Pr.jsx)(it.BlockControls,{group:&quot;block&quot;,children:O&amp;&amp;!oe&amp;&amp;(0,Pr.jsx)(xa.ToolbarButton,{name:&quot;link&quot;,icon:$?U0:ii,title:$?(0,qo.__)(&quot;Unlink&quot;):(0,qo.__)(&quot;Link&quot;),shortcut:$?Ju.displayShortcut.primaryShift(&quot;k&quot;):Ju.displayShortcut.primary(&quot;k&quot;),onClick:$?le:ne,isActive:$})}),O&amp;&amp;n&amp;&amp;(I||$)&amp;&amp;!oe&amp;&amp;(0,Pr.jsx)(xa.Popover,{placement:&quot;bottom&quot;,onClose:()=&gt;{R(!1),H.current?.focus()},anchor:x,focusOnMount:I?&quot;firstElement&quot;:!1,__unstableSlotName:&quot;__unstable-block-tools-after&quot;,shift:!0,children:(0,Pr.jsx)(it.LinkControl,{value:pe,onChange:({url:ke,opensInNewTab:je,nofollow:de})=&gt;r(VF({rel:d,url:ke,opensInNewTab:je,nofollow:de})),onRemove:()=&gt;{le(),H.current?.focus()},forceIsEditingLink:I,settings:phe,createSuggestion:J&amp;&amp;X,withCreateSuggestion:ee,createSuggestionButtonText:te})}),(0,Pr.jsx)(it.InspectorControls,{children:(0,Pr.jsx)(fhe,{selectedWidth:b,setAttributes:r})}),(0,Pr.jsxs)(it.InspectorControls,{group:&quot;advanced&quot;,children:[(0,Pr.jsx)(mhe,{tagName:u,onChange:ke=&gt;r({tagName:ke}),options:[{label:(0,qo.__)(&quot;Default (&lt;a&gt;)&quot;),value:&quot;a&quot;},{label:&quot;&lt;button&gt;&quot;,value:&quot;button&quot;}]}),O&amp;&amp;(0,Pr.jsx)(xa.TextControl,{__next40pxDefaultSize:!0,label:(0,qo.__)(&quot;Link relation&quot;),help:(0,Pn.createInterpolateElement)((0,qo.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,Pr.jsx)(xa.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})}),value:d||&quot;&quot;,onChange:ke=&gt;r({rel:ke})})]})]})}var GF=hhe;var Kx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/button&quot;,title:&quot;Button&quot;,category:&quot;design&quot;,parent:[&quot;core/buttons&quot;],description:&quot;Prompt visitors to take action with a button-style link.&quot;,keywords:[&quot;link&quot;],textdomain:&quot;default&quot;,attributes:{tagName:{type:&quot;string&quot;,enum:[&quot;a&quot;,&quot;button&quot;],default:&quot;a&quot;},type:{type:&quot;string&quot;,default:&quot;button&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a,button&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},text:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;a,button&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;target&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;rel&quot;,role:&quot;content&quot;},placeholder:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},width:{type:&quot;number&quot;}},supports:{anchor:!0,splitting:!0,align:!1,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:[&quot;fontSize&quot;,&quot;lineHeight&quot;,&quot;textAlign&quot;,&quot;fontFamily&quot;,&quot;fontWeight&quot;,&quot;fontStyle&quot;,&quot;textTransform&quot;,&quot;textDecoration&quot;,&quot;letterSpacing&quot;],fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},styles:[{name:&quot;fill&quot;,label:&quot;Fill&quot;,isDefault:!0},{name:&quot;outline&quot;,label:&quot;Outline&quot;}],editorStyle:&quot;wp-block-button-editor&quot;,style:&quot;wp-block-button&quot;,selectors:{root:&quot;.wp-block-button .wp-block-button__link&quot;,typography:{writingMode:&quot;.wp-block-button&quot;}}};var ka=o(T(),1),sI=o(v(),1);function WF({attributes:e,className:t}){let{tagName:r,type:a,fontSize:n,linkTarget:i,rel:l,style:s,text:c,title:u,url:m,width:p}=e,d=r||&quot;a&quot;,f=d===&quot;button&quot;,h=a||&quot;button&quot;,g=(0,ka.__experimentalGetBorderClassesAndStyles)(e),b=(0,ka.__experimentalGetColorClassesAndStyles)(e),y=(0,ka.__experimentalGetSpacingClassesAndStyles)(e),k=(0,ka.__experimentalGetShadowClassesAndStyles)(e),_=(0,ka.getTypographyClassesAndStyles)(e),x=w(&quot;wp-block-button__link&quot;,b.className,g.className,_.className,{&quot;no-border-radius&quot;:s?.border?.radius===0,&quot;has-custom-font-size&quot;:n||s?.typography?.fontSize},(0,ka.__experimentalGetElementClassName)(&quot;button&quot;)),S={...g.style,...b.style,...y.style,...k.style,..._.style,writingMode:void 0},C=w(t,{[`has-custom-width wp-block-button__width-${p}`]:p});return(0,sI.jsx)(&quot;div&quot;,{...ka.useBlockProps.save({className:C}),children:(0,sI.jsx)(ka.RichText.Content,{tagName:d,type:f?h:null,className:x,href:f?null:m,title:u,style:S,value:c,target:f?null:i,rel:f?null:l})})}var{fieldsKey:vhe,formKey:bhe}=K($F.privateApis),{name:qF}=Kx,Yx={icon:US,example:{attributes:{className:&quot;is-style-fill&quot;,text:(0,Qx.__)(&quot;Call to action&quot;)}},edit:GF,save:WF,deprecated:AF,merge:(e,{text:t=&quot;&quot;})=&gt;({...e,text:(e.text||&quot;&quot;)+t}),__experimentalLabel(e,{context:t}){let{text:r}=e,a=e?.metadata?.name,n=r?.trim().length&gt;0;if(t===&quot;list-view&quot;&amp;&amp;(a||n))return a||r;if(t===&quot;breadcrumb&quot;&amp;&amp;a)return a}};window.__experimentalContentOnlyInspectorFields&amp;&amp;(Yx[vhe]=[{id:&quot;text&quot;,label:(0,Qx.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;link&quot;,label:(0,Qx.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.url,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=&gt;({url:e.url,rel:e.rel,linkTarget:e.linkTarget})}],Yx[bhe]={fields:[&quot;text&quot;,&quot;link&quot;]});var yhe=()=&gt;E({name:qF,metadata:Kx,settings:Yx});var pI={};Z(pI,{init:()=&gt;She,metadata:()=&gt;Jx,name:()=&gt;aH,settings:()=&gt;nH});var mI=o(P(),1);var M1=o(T(),1),L1=o(v(),1),ZF=e=&gt;{if(e.layout)return e;let{contentJustification:t,orientation:r,...a}=e;return(t||r)&amp;&amp;Object.assign(a,{layout:{type:&quot;flex&quot;,...t&amp;&amp;{justifyContent:t},...r&amp;&amp;{orientation:r}}}),a},_he=[{attributes:{contentJustification:{type:&quot;string&quot;},orientation:{type:&quot;string&quot;,default:&quot;horizontal&quot;}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:[&quot;top&quot;,&quot;bottom&quot;],__experimentalDefaultControls:{blockGap:!0}}},isEligible:({contentJustification:e,orientation:t})=&gt;!!e||!!t,migrate:ZF,save({attributes:{contentJustification:e,orientation:t}}){return(0,L1.jsx)(&quot;div&quot;,{...M1.useBlockProps.save({className:w({[`is-content-justification-${e}`]:e,&quot;is-vertical&quot;:t===&quot;vertical&quot;})}),children:(0,L1.jsx)(M1.InnerBlocks.Content,{})})}},{supports:{align:[&quot;center&quot;,&quot;left&quot;,&quot;right&quot;],anchor:!0},save(){return(0,L1.jsx)(&quot;div&quot;,{children:(0,L1.jsx)(M1.InnerBlocks.Content,{})})},isEligible({align:e}){return e&amp;&amp;[&quot;center&quot;,&quot;left&quot;,&quot;right&quot;].includes(e)},migrate(e){return ZF({...e,align:void 0,contentJustification:e.align})}}],KF=_he;var R1=o(W(),1),uI=o(em(),1);var A1=o(W(),1);function Wc(e,t,r=null){if(!e)return;let a=(0,A1.getBlockType)(t);if(!a)return;let n={};if((0,A1.hasBlockSupport)(a,&quot;anchor&quot;)&amp;&amp;e.anchor&amp;&amp;(n.anchor=e.anchor),(0,A1.hasBlockSupport)(a,&quot;ariaLabel&quot;)&amp;&amp;e.ariaLabel&amp;&amp;(n.ariaLabel=e.ariaLabel),e.metadata){let i=[];if(r&amp;&amp;i.push(&quot;id&quot;,&quot;bindings&quot;),i.length&gt;0){let l=Object.entries(e.metadata).reduce((s,[c,u])=&gt;(i.includes(c)&amp;&amp;(s[c]=c===&quot;bindings&quot;?r(u):u),s),{});Object.keys(l).length&gt;0&amp;&amp;(n.metadata=l)}}if(Object.keys(n).length!==0)return n}var xhe={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/button&quot;],transform:e=&gt;(0,R1.createBlock)(&quot;core/buttons&quot;,{},e.map(t=&gt;(0,R1.createBlock)(&quot;core/button&quot;,t)))},{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;(0,R1.createBlock)(&quot;core/buttons&quot;,{},e.map(t=&gt;{let{content:r}=t,a=(0,uI.__unstableCreateElement)(document,r),n=a.innerText||&quot;&quot;,l=a.querySelector(&quot;a&quot;)?.getAttribute(&quot;href&quot;);return(0,R1.createBlock)(&quot;core/button&quot;,{...t,...Wc(t,&quot;core/button&quot;,({content:s})=&gt;({text:s})),text:n,url:l})})),isMatch:e=&gt;e.every(t=&gt;{let r=(0,uI.__unstableCreateElement)(document,t.content),a=r.innerText||&quot;&quot;,n=r.querySelectorAll(&quot;a&quot;);return a.length&lt;=30&amp;&amp;n.length&lt;=1})}]},YF=xhe;var Xx=o(T(),1),XF=o(V(),1),JF=o(W(),1),eH=o(v(),1),khe={name:&quot;core/button&quot;,attributesToCopy:[&quot;backgroundColor&quot;,&quot;border&quot;,&quot;className&quot;,&quot;fontFamily&quot;,&quot;fontSize&quot;,&quot;gradient&quot;,&quot;style&quot;,&quot;textColor&quot;,&quot;width&quot;]};function whe({attributes:e,className:t}){let{fontSize:r,layout:a,style:n}=e,i=(0,Xx.useBlockProps)({className:w(t,{&quot;has-custom-font-size&quot;:r||n?.typography?.fontSize})}),{hasButtonVariations:l}=(0,XF.useSelect)(c=&gt;({hasButtonVariations:c(JF.store).getBlockVariations(&quot;core/button&quot;,&quot;inserter&quot;).length&gt;0}),[]),s=(0,Xx.useInnerBlocksProps)(i,{defaultBlock:khe,directInsert:!l,template:[[&quot;core/button&quot;]],templateInsertUpdatesSelection:!0,orientation:a?.orientation??&quot;horizontal&quot;});return(0,eH.jsx)(&quot;div&quot;,{...s})}var tH=whe;var Jx={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/buttons&quot;,title:&quot;Buttons&quot;,category:&quot;design&quot;,allowedBlocks:[&quot;core/button&quot;],description:&quot;Prompt visitors to take action with a group of button-style links.&quot;,keywords:[&quot;link&quot;],textdomain:&quot;default&quot;,supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,__experimentalExposeControlsToChildren:!0,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{blockGap:[&quot;horizontal&quot;,&quot;vertical&quot;],padding:!0,margin:[&quot;top&quot;,&quot;bottom&quot;],__experimentalDefaultControls:{blockGap:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:&quot;flex&quot;}},interactivity:{clientNavigation:!0},listView:!0,contentRole:!0},editorStyle:&quot;wp-block-buttons-editor&quot;,style:&quot;wp-block-buttons&quot;};var ek=o(T(),1),rH=o(v(),1);function oH({attributes:e,className:t}){let{fontSize:r,style:a}=e,n=ek.useBlockProps.save({className:w(t,{&quot;has-custom-font-size&quot;:r||a?.typography?.fontSize})}),i=ek.useInnerBlocksProps.save(n);return(0,rH.jsx)(&quot;div&quot;,{...i})}var{name:aH}=Jx,nH={icon:WS,example:{attributes:{layout:{type:&quot;flex&quot;,justifyContent:&quot;center&quot;}},innerBlocks:[{name:&quot;core/button&quot;,attributes:{text:(0,mI.__)(&quot;Find out more&quot;)}},{name:&quot;core/button&quot;,attributes:{text:(0,mI.__)(&quot;Contact us&quot;)}}]},deprecated:KF,transforms:YF,edit:tH,save:oH},She=()=&gt;E({name:aH,metadata:Jx,settings:nH});var fI={};Z(fI,{init:()=&gt;Ihe,metadata:()=&gt;tk,name:()=&gt;dH,settings:()=&gt;fH});var tk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/calendar&quot;,title:&quot;Calendar&quot;,category:&quot;widgets&quot;,description:&quot;A calendar of your site\u2019s posts.&quot;,keywords:[&quot;posts&quot;,&quot;archive&quot;],textdomain:&quot;default&quot;,attributes:{month:{type:&quot;integer&quot;},year:{type:&quot;integer&quot;}},supports:{anchor:!0,align:!0,html:!1,color:{link:!0,__experimentalSkipSerialization:[&quot;text&quot;,&quot;background&quot;],__experimentalDefaultControls:{background:!0,text:!0},__experimentalSelector:&quot;table, th&quot;},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-calendar&quot;};var z1=o(M(),1),iH=o(V(),1),lH=o(Fu(),1),sH=o(T(),1),cH=o(Q(),1),Hf=o(P(),1),uH=o(me(),1);var si=o(v(),1),Phe=Af(e=&gt;{if(!e)return{};let t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()+1}});function mH({attributes:e,name:t}){let{date:r,hasPosts:a,hasPostsResolved:n}=(0,iH.useSelect)(m=&gt;{let{getEntityRecords:p,hasFinishedResolution:d}=m(cH.store),f={status:&quot;publish&quot;,per_page:1},h=p(&quot;postType&quot;,&quot;post&quot;,f),g=d(&quot;getEntityRecords&quot;,[&quot;postType&quot;,&quot;post&quot;,f]),b,y=m(&quot;core/editor&quot;);return y&amp;&amp;y.getEditedPostAttribute(&quot;type&quot;)===&quot;post&quot;&amp;&amp;(b=y.getEditedPostAttribute(&quot;date&quot;)),{date:b,hasPostsResolved:g,hasPosts:g&amp;&amp;h?.length===1}},[]),{content:i,status:l,error:s}=(0,lH.useServerSideRender)({attributes:{...e,...Phe(r)},block:t}),c=(0,uH.useDisabled)(),u=(0,sH.useBlockProps)({ref:c});return a?(0,si.jsxs)(si.Fragment,{children:[l===&quot;loading&quot;&amp;&amp;(0,si.jsx)(&quot;div&quot;,{...u,children:(0,si.jsx)(z1.Spinner,{})}),l===&quot;error&quot;&amp;&amp;(0,si.jsx)(&quot;div&quot;,{...u,children:(0,si.jsx)(&quot;p&quot;,{children:(0,Hf.sprintf)((0,Hf.__)(&quot;Error: %s&quot;),s)})}),l===&quot;success&quot;&amp;&amp;(0,si.jsx)(uo,{wrapperProps:u,html:i})]}):(0,si.jsx)(&quot;div&quot;,{...u,children:(0,si.jsx)(z1.Placeholder,{icon:S0,label:(0,Hf.__)(&quot;Calendar&quot;),children:n?(0,Hf.__)(&quot;No published posts found.&quot;):(0,si.jsx)(z1.Spinner,{})})})}var dI=o(W(),1),Bhe={from:[{type:&quot;block&quot;,blocks:[&quot;core/archives&quot;],transform:()=&gt;(0,dI.createBlock)(&quot;core/calendar&quot;)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/archives&quot;],transform:()=&gt;(0,dI.createBlock)(&quot;core/archives&quot;)}]},pH=Bhe;var{name:dH}=tk,fH={icon:S0,example:{},edit:mH,transforms:pH},Ihe=()=&gt;E({name:dH,metadata:tk,settings:fH});var vI={};Z(vI,{init:()=&gt;Dhe,metadata:()=&gt;rk,name:()=&gt;_H,settings:()=&gt;xH});var rk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/categories&quot;,title:&quot;Terms List&quot;,category:&quot;widgets&quot;,description:&quot;Display a list of all terms of a given taxonomy.&quot;,keywords:[&quot;categories&quot;],textdomain:&quot;default&quot;,attributes:{taxonomy:{type:&quot;string&quot;,default:&quot;category&quot;},displayAsDropdown:{type:&quot;boolean&quot;,default:!1},showHierarchy:{type:&quot;boolean&quot;,default:!1},showPostCounts:{type:&quot;boolean&quot;,default:!1},showOnlyTopLevel:{type:&quot;boolean&quot;,default:!1},showEmpty:{type:&quot;boolean&quot;,default:!1},label:{type:&quot;string&quot;,role:&quot;content&quot;},showLabel:{type:&quot;boolean&quot;,default:!0}},usesContext:[&quot;enhancedPagination&quot;],supports:{anchor:!0,align:!0,html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:&quot;wp-block-categories-editor&quot;,style:&quot;wp-block-categories&quot;};var ar=o(M(),1),hH=o(me(),1),Of=o(T(),1),gH=o(Wo(),1),wr=o(P(),1);var hI=o(Q(),1),vH=o(V(),1),bH=o(xr(),1);var pt=o(v(),1);function gI({attributes:{displayAsDropdown:e,showHierarchy:t,showPostCounts:r,showOnlyTopLevel:a,showEmpty:n,label:i,showLabel:l,taxonomy:s},setAttributes:c,className:u,clientId:m}){let p=(0,hH.useInstanceId)(gI,&quot;blocks-category-select&quot;),{records:d,isResolvingTaxonomies:f}=(0,hI.useEntityRecords)(&quot;root&quot;,&quot;taxonomy&quot;,{per_page:-1}),h=d?.filter(j=&gt;j.visibility.public),g=h?.find(j=&gt;j.slug===s),b=!f&amp;&amp;g?.hierarchical,y={per_page:-1,hide_empty:!n,context:&quot;view&quot;};b&amp;&amp;a&amp;&amp;(y.parent=0);let{records:k,isResolving:_}=(0,hI.useEntityRecords)(&quot;taxonomy&quot;,s,y),{createWarningNotice:x}=(0,vH.useDispatch)(bH.store),S=j=&gt;{j.preventDefault(),x((0,wr.__)(&quot;Links are disabled in the editor.&quot;),{id:`block-library/core/categories/redirection-prevented/${m}`,type:&quot;snackbar&quot;})},C=j=&gt;k?.length?j===null?k:k.filter(({parent:G})=&gt;G===j):[],N=j=&gt;G=&gt;c({[j]:G}),B=j=&gt;j?(0,gH.decodeEntities)(j).trim():(0,wr.__)(&quot;(Untitled)&quot;),D=()=&gt;C(b&amp;&amp;t?0:null).map(O=&gt;A(O)),A=j=&gt;{let G=C(j.id),{id:O,link:J,count:ee,name:oe}=j;return(0,pt.jsxs)(&quot;li&quot;,{className:`cat-item cat-item-${O}`,children:[(0,pt.jsx)(&quot;a&quot;,{href:J,onClick:S,children:B(oe)}),r&amp;&amp;` (${ee})`,b&amp;&amp;t&amp;&amp;!!G.length&amp;&amp;(0,pt.jsx)(&quot;ul&quot;,{className:&quot;children&quot;,children:G.map(X=&gt;A(X))})]},O)},H=()=&gt;{let G=C(b&amp;&amp;t?0:null);return(0,pt.jsxs)(pt.Fragment,{children:[l?(0,pt.jsx)(Of.RichText,{className:&quot;wp-block-categories__label&quot;,&quot;aria-label&quot;:(0,wr.__)(&quot;Label text&quot;),placeholder:g?.name,withoutInteractiveFormatting:!0,value:i,onChange:O=&gt;c({label:O})}):(0,pt.jsx)(ar.VisuallyHidden,{as:&quot;label&quot;,htmlFor:p,children:i||g?.name}),(0,pt.jsxs)(&quot;select&quot;,{id:p,children:[(0,pt.jsx)(&quot;option&quot;,{children:(0,wr.sprintf)((0,wr.__)(&quot;Select %s&quot;),g?.labels?.singular_name)}),G.map(O=&gt;F(O,0))]})]})},F=(j,G)=&gt;{let{id:O,count:J,name:ee}=j,oe=C(O);return[(0,pt.jsxs)(&quot;option&quot;,{className:`level-${G}`,children:[Array.from({length:G*3}).map(()=&gt;&quot;\xA0&quot;),B(ee),r&amp;&amp;` (${J})`]},O),b&amp;&amp;t&amp;&amp;!!oe.length&amp;&amp;oe.map(X=&gt;F(X,G+1))]},z=k?.length&amp;&amp;!e&amp;&amp;!_?&quot;ul&quot;:&quot;div&quot;,I=w(u,`wp-block-categories-taxonomy-${s}`,{&quot;wp-block-categories-list&quot;:!!k?.length&amp;&amp;!e&amp;&amp;!_,&quot;wp-block-categories-dropdown&quot;:!!k?.length&amp;&amp;e&amp;&amp;!_}),R=(0,Of.useBlockProps)({className:I}),$=q();return(0,pt.jsxs)(z,{...R,children:[(0,pt.jsx)(Of.InspectorControls,{children:(0,pt.jsxs)(ar.__experimentalToolsPanel,{label:(0,wr.__)(&quot;Settings&quot;),resetAll:()=&gt;{c({taxonomy:&quot;category&quot;,displayAsDropdown:!1,showHierarchy:!1,showPostCounts:!1,showOnlyTopLevel:!1,showEmpty:!1,showLabel:!0})},dropdownMenuProps:$,children:[Array.isArray(h)&amp;&amp;(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;s!==&quot;category&quot;,label:(0,wr.__)(&quot;Taxonomy&quot;),onDeselect:()=&gt;{c({taxonomy:&quot;category&quot;})},isShownByDefault:!0,children:(0,pt.jsx)(ar.SelectControl,{__next40pxDefaultSize:!0,label:(0,wr.__)(&quot;Taxonomy&quot;),options:h.map(j=&gt;({label:j.name,value:j.slug})),value:s,onChange:j=&gt;c({taxonomy:j})})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!!e,label:(0,wr.__)(&quot;Display as dropdown&quot;),onDeselect:()=&gt;c({displayAsDropdown:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)(&quot;Display as dropdown&quot;),checked:e,onChange:N(&quot;displayAsDropdown&quot;)})}),e&amp;&amp;(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!l,label:(0,wr.__)(&quot;Show label&quot;),onDeselect:()=&gt;c({showLabel:!0}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{className:&quot;wp-block-categories__indentation&quot;,label:(0,wr.__)(&quot;Show label&quot;),checked:l,onChange:N(&quot;showLabel&quot;)})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!!r,label:(0,wr.__)(&quot;Show post counts&quot;),onDeselect:()=&gt;c({showPostCounts:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)(&quot;Show post counts&quot;),checked:r,onChange:N(&quot;showPostCounts&quot;)})}),b&amp;&amp;(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!!a,label:(0,wr.__)(&quot;Show only top level terms&quot;),onDeselect:()=&gt;c({showOnlyTopLevel:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)(&quot;Show only top level terms&quot;),checked:a,onChange:N(&quot;showOnlyTopLevel&quot;)})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!!n,label:(0,wr.__)(&quot;Show empty terms&quot;),onDeselect:()=&gt;c({showEmpty:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)(&quot;Show empty terms&quot;),checked:n,onChange:N(&quot;showEmpty&quot;)})}),b&amp;&amp;!a&amp;&amp;(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t,label:(0,wr.__)(&quot;Show hierarchy&quot;),onDeselect:()=&gt;c({showHierarchy:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)(&quot;Show hierarchy&quot;),checked:t,onChange:N(&quot;showHierarchy&quot;)})})]})}),_&amp;&amp;(0,pt.jsx)(ar.Placeholder,{icon:Q0,label:(0,wr.__)(&quot;Terms&quot;),children:(0,pt.jsx)(ar.Spinner,{})}),!_&amp;&amp;k?.length===0&amp;&amp;(0,pt.jsx)(&quot;p&quot;,{children:g.labels.no_terms}),!_&amp;&amp;k?.length&gt;0&amp;&amp;(e?H():D())]})}var ok=o(P(),1);var Ehe=[{name:&quot;terms&quot;,title:(0,ok.__)(&quot;Terms List&quot;),icon:Gu,attributes:{taxonomy:&quot;post_tag&quot;},isActive:e=&gt;e.taxonomy!==&quot;category&quot;},{name:&quot;categories&quot;,title:(0,ok.__)(&quot;Categories List&quot;),description:(0,ok.__)(&quot;Display a list of all categories.&quot;),icon:Gu,attributes:{taxonomy:&quot;category&quot;},isActive:[&quot;taxonomy&quot;],isDefault:!0}],yH=Ehe;var{name:_H}=rk,xH={icon:Gu,example:{},edit:gI,variations:yH},Dhe=()=&gt;E({name:_H,metadata:rk,settings:xH});var yI={};Z(yI,{init:()=&gt;zhe,metadata:()=&gt;lk,name:()=&gt;F1,settings:()=&gt;AH});var $c=o(T(),1),NH=o(V(),1),qc=o(M(),1),Uf=o(U(),1),V1=o(P(),1);var kH=o(P(),1),wH=o(M(),1),ak=o(V(),1),nk=o(W(),1),bI=o(T(),1),CH=o(v(),1),Lhe=({clientId:e})=&gt;{let{replaceBlocks:t}=(0,ak.useDispatch)(bI.store),r=(0,ak.useSelect)(a=&gt;a(bI.store).getBlock(e),[e]);return(0,CH.jsx)(wH.ToolbarButton,{onClick:()=&gt;t(r.clientId,(0,nk.rawHandler)({HTML:(0,nk.serialize)(r)})),children:(0,kH.__)(&quot;Convert to blocks&quot;)})},SH=Lhe;var TH=o(T(),1),Ll=o(M(),1),ik=o(U(),1),jf=o(P(),1),PH=o(V(),1);var BH=o(me(),1),Ji=o(v(),1);function Mhe({onClick:e,isModalFullScreen:t}){return(0,BH.useViewportMatch)(&quot;small&quot;,&quot;&lt;&quot;)?null:(0,Ji.jsx)(Ll.Button,{size:&quot;compact&quot;,onClick:e,icon:kp,isPressed:t,label:t?(0,jf.__)(&quot;Exit fullscreen&quot;):(0,jf.__)(&quot;Enter fullscreen&quot;)})}function Ahe(e){let t=(0,PH.useSelect)(r=&gt;r(TH.store).getSettings().styles);return(0,ik.useEffect)(()=&gt;{let{baseURL:r,suffix:a,settings:n}=window.wpEditorL10n.tinymce;return window.tinymce.EditorManager.overrideDefaults({base_url:r,suffix:a}),window.wp.oldEditor.initialize(e.id,{tinymce:{...n,setup(i){i.on(&quot;init&quot;,()=&gt;{let l=i.getDoc();t.forEach(({css:s})=&gt;{let c=l.createElement(&quot;style&quot;);c.innerHTML=s,l.head.appendChild(c)})})}}}),()=&gt;{window.wp.oldEditor.remove(e.id)}},[]),(0,Ji.jsx)(&quot;textarea&quot;,{...e})}function IH({clientId:e,content:t,onClose:r,onChange:a}){let[n,i]=(0,ik.useState)(!1),l=`editor-${e}`;return(0,Ji.jsxs)(Ll.Modal,{title:(0,jf.__)(&quot;Classic Editor&quot;),onRequestClose:r,shouldCloseOnClickOutside:!1,overlayClassName:&quot;block-editor-freeform-modal&quot;,isFullScreen:n,className:&quot;block-editor-freeform-modal__content&quot;,headerActions:(0,Ji.jsx)(Mhe,{onClick:()=&gt;i(!n),isModalFullScreen:n}),children:[(0,Ji.jsx)(Ahe,{id:l,defaultValue:t}),(0,Ji.jsxs)(Ll.Flex,{className:&quot;block-editor-freeform-modal__actions&quot;,justify:&quot;flex-end&quot;,expanded:!1,children:[(0,Ji.jsx)(Ll.FlexItem,{children:(0,Ji.jsx)(Ll.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:r,children:(0,jf.__)(&quot;Cancel&quot;)})}),(0,Ji.jsx)(Ll.FlexItem,{children:(0,Ji.jsx)(Ll.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:()=&gt;{a(window.wp.oldEditor.getContent(l)),r()},children:(0,jf.__)(&quot;Save&quot;)})})]})]})}var Zo=o(v(),1);function EH({attributes:e,setAttributes:t,clientId:r}){let{content:a}=e,[n,i]=(0,Uf.useState)(!1),l=(0,Uf.useRef)(null),s=(0,NH.useSelect)(c=&gt;c($c.store).canRemoveBlock(r),[r]);return(0,Zo.jsxs)(Zo.Fragment,{children:[s&amp;&amp;(0,Zo.jsx)($c.BlockControls,{children:(0,Zo.jsx)(qc.ToolbarGroup,{children:(0,Zo.jsx)(SH,{clientId:r})})}),(0,Zo.jsx)($c.BlockControls,{children:(0,Zo.jsx)(qc.ToolbarGroup,{children:(0,Zo.jsx)(qc.ToolbarButton,{ref:l,onClick:()=&gt;i(!0),children:(0,V1.__)(&quot;Edit&quot;)})})}),(0,Zo.jsxs)(&quot;div&quot;,{...(0,$c.useBlockProps)(),children:[a?(0,Zo.jsx)(Uf.RawHTML,{children:a}):(0,Zo.jsx)(qc.Placeholder,{icon:(0,Zo.jsx)($c.BlockIcon,{icon:P0}),label:(0,V1.__)(&quot;Classic&quot;),instructions:(0,V1.__)(&quot;Use the classic editor to add content.&quot;),children:(0,Zo.jsx)(qc.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:()=&gt;i(!0),children:(0,V1.__)(&quot;Edit contents&quot;)})}),n&amp;&amp;(0,Zo.jsx)(IH,{clientId:r,content:a,onClose:()=&gt;{i(!1),l.current&amp;&amp;l.current.focus()},onChange:c=&gt;t({content:c})})]})]})}var lk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/freeform&quot;,title:&quot;Classic&quot;,category:&quot;text&quot;,description:&quot;Use the classic WordPress editor.&quot;,textdomain:&quot;default&quot;,attributes:{content:{type:&quot;string&quot;,source:&quot;raw&quot;}},supports:{className:!1,customClassName:!1,lock:!1,reusable:!1,renaming:!1,visibility:!1,customCSS:!1},editorStyle:&quot;wp-block-freeform-editor&quot;};var DH=o(U(),1),LH=o(v(),1);function MH({attributes:e}){let{content:t}=e;return(0,LH.jsx)(DH.RawHTML,{children:t})}var{name:F1}=lk,AH={icon:P0,edit:EH,save:MH},zhe=()=&gt;E({name:F1,metadata:lk,settings:AH});var CI={};Z(CI,{init:()=&gt;Ghe,metadata:()=&gt;uk,name:()=&gt;jH,settings:()=&gt;dk});var wI=o(P(),1);var OH=o(W(),1);var _I=o(P(),1),sk=o(T(),1),ck=o(W(),1),xI=o(v(),1);function RH({attributes:e,setAttributes:t,onRemove:r,insertBlocksAfter:a,mergeBlocks:n}){let i=(0,sk.useBlockProps)();return(0,xI.jsx)(&quot;pre&quot;,{...i,children:(0,xI.jsx)(sk.RichText,{tagName:&quot;code&quot;,identifier:&quot;content&quot;,value:e.content,onChange:l=&gt;t({content:l}),onRemove:r,onMerge:n,placeholder:(0,_I.__)(&quot;Write code\u2026&quot;),&quot;aria-label&quot;:(0,_I.__)(&quot;Code&quot;),preserveWhiteSpace:!0,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:()=&gt;a((0,ck.createBlock)((0,ck.getDefaultBlockName)()))})})}var uk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/code&quot;,title:&quot;Code&quot;,category:&quot;text&quot;,description:&quot;Display code snippets that respect your spacing and tabs.&quot;,textdomain:&quot;default&quot;,attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;code&quot;,__unstablePreserveWhiteSpace:!0,role:&quot;content&quot;}},supports:{align:[&quot;wide&quot;],anchor:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{width:!0,color:!0}},color:{text:!0,background:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-code&quot;};var mk=o(T(),1);var zH=o(me(),1);function VH(e){return(0,zH.pipe)(Fhe,Hhe)(e||&quot;&quot;)}function Fhe(e){return e.replace(/\[/g,&quot;&amp;#91;&quot;)}function Hhe(e){return e.replace(/^(\s*https?:)\/\/([^\s&lt;&gt;&quot;]+\s*)$/m,&quot;$1&amp;#47;&amp;#47;$2&quot;)}var kI=o(v(),1);function FH({attributes:e}){return(0,kI.jsx)(&quot;pre&quot;,{...mk.useBlockProps.save(),children:(0,kI.jsx)(mk.RichText.Content,{tagName:&quot;code&quot;,value:VH(typeof e.content==&quot;string&quot;?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}))})})}var H1=o(W(),1),pk=o(em(),1);var Ohe={from:[{type:&quot;input&quot;,regExp:/^```$/,transform:()=&gt;(0,H1.createBlock)(&quot;core/code&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;{let{content:t}=e;return(0,H1.createBlock)(&quot;core/code&quot;,{...e,...Wc(e,&quot;core/code&quot;),content:t})}},{type:&quot;block&quot;,blocks:[&quot;core/html&quot;],transform:e=&gt;{let{content:t}=e;return(0,H1.createBlock)(&quot;core/code&quot;,{...e,...Wc(e,&quot;core/code&quot;),content:(0,pk.toHTMLString)({value:(0,pk.create)({text:t})})})}},{type:&quot;raw&quot;,isMatch:e=&gt;e.nodeName===&quot;PRE&quot;&amp;&amp;e.children.length===1&amp;&amp;e.firstChild.nodeName===&quot;CODE&quot;,schema:{pre:{children:{code:{children:{&quot;#text&quot;:{}}}}}}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;{let{content:t}=e;return(0,H1.createBlock)(&quot;core/paragraph&quot;,{...Wc(e,&quot;core/paragraph&quot;),content:t})}}]},HH=Ohe;var{fieldsKey:jhe,formKey:Uhe}=K(OH.privateApis),{name:jH}=uk,dk={icon:B0,example:{attributes:{content:(0,wI.__)(`// A \u201Cblock\u201D is the abstract term used
// to describe units of markup that
// when composed together, form the
// content or layout of a page.
registerBlockType( name, settings );`)}},merge(e,t){return{content:e.content+`

`+t.content}},transforms:HH,edit:RH,save:FH};window.__experimentalContentOnlyInspectorFields&amp;&amp;(dk[jhe]=[{id:&quot;content&quot;,label:(0,wI.__)(&quot;Code&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],dk[Uhe]={fields:[&quot;content&quot;]});var Ghe=()=&gt;E({name:jH,metadata:uk,settings:dk});var TI={};Z(TI,{init:()=&gt;Khe,metadata:()=&gt;hk,name:()=&gt;ZH,settings:()=&gt;KH});var UH=o(T(),1),SI=o(v(),1),Whe=[{attributes:{verticalAlignment:{type:&quot;string&quot;},width:{type:&quot;number&quot;,min:0,max:100}},isEligible({width:e}){return isFinite(e)},migrate(e){return{...e,width:`${e.width}%`}},save({attributes:e}){let{verticalAlignment:t,width:r}=e,a=w({[`is-vertically-aligned-${t}`]:t}),n={flexBasis:r+&quot;%&quot;};return(0,SI.jsx)(&quot;div&quot;,{className:a,style:n,children:(0,SI.jsx)(UH.InnerBlocks.Content,{})})}}],GH=Whe;var Ko=o(T(),1),tm=o(M(),1),fk=o(V(),1),Ap=o(P(),1);var ci=o(v(),1);function $he({width:e,setAttributes:t}){let[r]=(0,Ko.useSettings)(&quot;spacing.units&quot;),a=(0,tm.__experimentalUseCustomUnits)({availableUnits:r||[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;]}),n=q();return(0,ci.jsx)(tm.__experimentalToolsPanel,{label:(0,Ap.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({width:void 0})},dropdownMenuProps:n,children:(0,ci.jsx)(tm.__experimentalToolsPanelItem,{hasValue:()=&gt;e!==void 0,label:(0,Ap.__)(&quot;Width&quot;),onDeselect:()=&gt;t({width:void 0}),isShownByDefault:!0,children:(0,ci.jsx)(tm.__experimentalUnitControl,{label:(0,Ap.__)(&quot;Width&quot;),__unstableInputWidth:&quot;calc(50% - 8px)&quot;,__next40pxDefaultSize:!0,value:e||&quot;&quot;,onChange:i=&gt;{i=0&gt;parseFloat(i)?&quot;0&quot;:i,t({width:i})},units:a})})})}function qhe({attributes:{verticalAlignment:e,width:t,templateLock:r,allowedBlocks:a},setAttributes:n,clientId:i}){let l=w(&quot;block-core-columns&quot;,{[`is-vertically-aligned-${e}`]:e}),{columnsIds:s,hasChildBlocks:c,rootClientId:u}=(0,fk.useSelect)(k=&gt;{let{getBlockOrder:_,getBlockRootClientId:x}=k(Ko.store),S=x(i);return{hasChildBlocks:_(i).length&gt;0,rootClientId:S,columnsIds:_(S)}},[i]),{updateBlockAttributes:m}=(0,fk.useDispatch)(Ko.store),p=k=&gt;{n({verticalAlignment:k}),m(u,{verticalAlignment:null})},d=Number.isFinite(t)?t+&quot;%&quot;:t,f=(0,Ko.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),h=s.length,g=s.indexOf(i)+1,b=(0,Ap.sprintf)((0,Ap.__)(&quot;%1$s (%2$d of %3$d)&quot;),f[&quot;aria-label&quot;],g,h),y=(0,Ko.useInnerBlocksProps)({...f,&quot;aria-label&quot;:b},{templateLock:r,allowedBlocks:a,renderAppender:c?void 0:Ko.InnerBlocks.ButtonBlockAppender});return(0,ci.jsxs)(ci.Fragment,{children:[(0,ci.jsx)(Ko.BlockControls,{children:(0,ci.jsx)(Ko.BlockVerticalAlignmentToolbar,{onChange:p,value:e,controls:[&quot;top&quot;,&quot;center&quot;,&quot;bottom&quot;,&quot;stretch&quot;]})}),(0,ci.jsx)(Ko.InspectorControls,{children:(0,ci.jsx)($he,{width:t,setAttributes:n})}),(0,ci.jsx)(&quot;div&quot;,{...y})]})}var WH=qhe;var hk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/column&quot;,title:&quot;Column&quot;,category:&quot;design&quot;,parent:[&quot;core/columns&quot;],description:&quot;A single column within a columns block.&quot;,textdomain:&quot;default&quot;,attributes:{verticalAlignment:{type:&quot;string&quot;},width:{type:&quot;string&quot;},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]}},supports:{__experimentalOnEnter:!0,anchor:!0,reusable:!1,html:!1,color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{blockGap:!0,padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0,interactivity:{clientNavigation:!0},allowedBlocks:!0}};var gk=o(T(),1),$H=o(v(),1);function qH({attributes:e}){let{verticalAlignment:t,width:r}=e,a=w({[`is-vertically-aligned-${t}`]:t}),n;if(r&amp;&amp;/\d/.test(r)){let s=Number.isFinite(r)?r+&quot;%&quot;:r;!Number.isFinite(r)&amp;&amp;r?.endsWith(&quot;%&quot;)&amp;&amp;(s=Math.round(Number.parseFloat(r)*1e12)/1e12+&quot;%&quot;),n={flexBasis:s}}let i=gk.useBlockProps.save({className:a,style:n}),l=gk.useInnerBlocksProps.save(i);return(0,$H.jsx)(&quot;div&quot;,{...l})}var{name:ZH}=hk,KH={icon:s9,edit:WH,save:qH,deprecated:GH},Khe=()=&gt;E({name:ZH,metadata:hk,settings:KH});var II={};Z(II,{init:()=&gt;sge,metadata:()=&gt;yk,name:()=&gt;nO,settings:()=&gt;iO});var O1=o(P(),1);var QH=o(W(),1),zp=o(T(),1),Rp=o(v(),1);function vk(e){let{doc:t}=vk;t||(t=document.implementation.createHTMLDocument(&quot;&quot;),vk.doc=t);let r;t.body.innerHTML=e;for(let a of t.body.firstChild.classList)if(r=a.match(/^layout-column-(\d+)$/))return Number(r[1])-1}var Qhe=e=&gt;{if(!e.customTextColor&amp;&amp;!e.customBackgroundColor)return e;let t={color:{}};e.customTextColor&amp;&amp;(t.color.text=e.customTextColor),e.customBackgroundColor&amp;&amp;(t.color.background=e.customBackgroundColor);let{customTextColor:r,customBackgroundColor:a,...n}=e;return{...n,style:t,isStackedOnMobile:!0}},YH=[{attributes:{verticalAlignment:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;}},migrate:Qhe,save({attributes:e}){let{verticalAlignment:t,backgroundColor:r,customBackgroundColor:a,textColor:n,customTextColor:i}=e,l=(0,zp.getColorClassName)(&quot;background-color&quot;,r),s=(0,zp.getColorClassName)(&quot;color&quot;,n),c=w({&quot;has-background&quot;:r||a,&quot;has-text-color&quot;:n||i,[l]:l,[s]:s,[`are-vertically-aligned-${t}`]:t});return(0,Rp.jsx)(&quot;div&quot;,{className:c||void 0,style:{backgroundColor:l?void 0:a,color:s?void 0:i},children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}},{attributes:{columns:{type:&quot;number&quot;,default:2}},isEligible(e,t){return t.some(a=&gt;/layout-column-\d+/.test(a.originalContent))?t.some(a=&gt;vk(a.originalContent)!==void 0):!1},migrate(e,t){let a=t.reduce((l,s)=&gt;{let{originalContent:c}=s,u=vk(c);return u===void 0&amp;&amp;(u=0),l[u]||(l[u]=[]),l[u].push(s),l},[]).map(l=&gt;(0,QH.createBlock)(&quot;core/column&quot;,{},l)),{columns:n,...i}=e;return[{...i,isStackedOnMobile:!0},a]},save({attributes:e}){let{columns:t}=e;return(0,Rp.jsx)(&quot;div&quot;,{className:`has-${t}-columns`,children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}},{attributes:{columns:{type:&quot;number&quot;,default:2}},migrate(e,t){let{columns:r,...a}=e;return e={...a,isStackedOnMobile:!0},[e,t]},save({attributes:e}){let{verticalAlignment:t,columns:r}=e,a=w(`has-${r}-columns`,{[`are-vertically-aligned-${t}`]:t});return(0,Rp.jsx)(&quot;div&quot;,{className:a,children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}}];var Vp=o(P(),1),tl=o(M(),1),Vr=o(T(),1),el=o(V(),1),Fp=o(W(),1);var bk=e=&gt;{let t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function XH(e,t){let{width:r=100/t}=e.attributes;return bk(r)}function Yhe(e,t=e.length){return e.reduce((r,a)=&gt;r+XH(a,t),0)}function Xhe(e,t=e.length){return e.reduce((r,a)=&gt;{let n=XH(a,t);return Object.assign(r,{[a.clientId]:n})},{})}function PI(e,t,r=e.length){let a=Yhe(e,r);return Object.fromEntries(Object.entries(Xhe(e,r)).map(([n,i])=&gt;{let l=t*i/a;return[n,bk(l)]}))}function JH(e){return e.every(t=&gt;{let r=t.attributes.width;return Number.isFinite(r?.endsWith?.(&quot;%&quot;)?parseFloat(r):r)})}function BI(e,t){return e.map(r=&gt;({...r,attributes:{...r.attributes,width:`${t[r.clientId]}%`}}))}var mo=o(v(),1),Jhe={name:&quot;core/column&quot;};function ege({clientId:e,setAttributes:t,isStackedOnMobile:r}){let{count:a,canInsertColumnBlock:n,minCount:i}=(0,el.useSelect)(m=&gt;{let{canInsertBlockType:p,canRemoveBlock:d,getBlockOrder:f}=m(Vr.store),h=f(e),g=h.reduce((b,y,k)=&gt;(d(y)||b.push(k),b),[]);return{count:h.length,canInsertColumnBlock:p(&quot;core/column&quot;,e),minCount:Math.max(...g)+1}},[e]),{getBlocks:l}=(0,el.useSelect)(Vr.store),{replaceInnerBlocks:s}=(0,el.useDispatch)(Vr.store);function c(m,p){let d=l(e),f=JH(d),h=p&gt;m;if(h&amp;&amp;f){let g=bk(100/p),b=p-m,y=PI(d,100-g*b);d=[...BI(d,y),...Array.from({length:b}).map(()=&gt;(0,Fp.createBlock)(&quot;core/column&quot;,{width:`${g}%`}))]}else if(h)d=[...d,...Array.from({length:p-m}).map(()=&gt;(0,Fp.createBlock)(&quot;core/column&quot;))];else if(p&lt;m&amp;&amp;(d=d.slice(0,-(m-p)),f)){let g=PI(d,100);d=BI(d,g)}s(e,d)}let u=q();return(0,mo.jsxs)(tl.__experimentalToolsPanel,{label:(0,Vp.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({isStackedOnMobile:!0})},dropdownMenuProps:u,children:[n&amp;&amp;(0,mo.jsxs)(tl.__experimentalVStack,{spacing:4,style:{gridColumn:&quot;1 / -1&quot;},children:[(0,mo.jsx)(tl.RangeControl,{__next40pxDefaultSize:!0,label:(0,Vp.__)(&quot;Columns&quot;),value:a,onChange:m=&gt;c(a,Math.max(i,m)),min:Math.max(1,i),max:Math.max(6,a)}),a&gt;6&amp;&amp;(0,mo.jsx)(tl.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,Vp.__)(&quot;This column count exceeds the recommended amount and may cause visual breakage.&quot;)})]}),(0,mo.jsx)(tl.__experimentalToolsPanelItem,{label:(0,Vp.__)(&quot;Stack on mobile&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==!0,onDeselect:()=&gt;t({isStackedOnMobile:!0}),children:(0,mo.jsx)(tl.ToggleControl,{label:(0,Vp.__)(&quot;Stack on mobile&quot;),checked:r,onChange:()=&gt;t({isStackedOnMobile:!r})})})]})}function tge({attributes:e,setAttributes:t,clientId:r}){let{isStackedOnMobile:a,verticalAlignment:n,templateLock:i}=e,l=(0,el.useRegistry)(),{getBlockOrder:s}=(0,el.useSelect)(Vr.store),{updateBlockAttributes:c}=(0,el.useDispatch)(Vr.store),u=w({[`are-vertically-aligned-${n}`]:n,&quot;is-not-stacked-on-mobile&quot;:!a}),m=(0,Vr.useBlockProps)({className:u}),p=(0,Vr.useInnerBlocksProps)(m,{defaultBlock:Jhe,directInsert:!0,orientation:&quot;horizontal&quot;,renderAppender:!1,templateLock:i});function d(f){let h=s(r);l.batch(()=&gt;{t({verticalAlignment:f}),c(h,{verticalAlignment:f})})}return(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)(Vr.BlockControls,{children:(0,mo.jsx)(Vr.BlockVerticalAlignmentToolbar,{onChange:d,value:n})}),(0,mo.jsx)(Vr.InspectorControls,{children:(0,mo.jsx)(ege,{clientId:r,setAttributes:t,isStackedOnMobile:a})}),(0,mo.jsx)(&quot;div&quot;,{...p})]})}function rge({clientId:e,name:t,setAttributes:r}){let{blockType:a,defaultVariation:n,variations:i}=(0,el.useSelect)(c=&gt;{let{getBlockVariations:u,getBlockType:m,getDefaultBlockVariation:p}=c(Fp.store);return{blockType:m(t),defaultVariation:p(t,&quot;block&quot;),variations:u(t,&quot;block&quot;)}},[t]),{replaceInnerBlocks:l}=(0,el.useDispatch)(Vr.store),s=(0,Vr.useBlockProps)();return(0,mo.jsx)(&quot;div&quot;,{...s,children:(0,mo.jsx)(Vr.__experimentalBlockVariationPicker,{icon:a?.icon?.src,label:a?.title,variations:i,instructions:(0,Vp.__)(&quot;Divide into columns. Select a layout:&quot;),onSelect:(c=n)=&gt;{c.attributes&amp;&amp;r(c.attributes),c.innerBlocks&amp;&amp;l(e,(0,Fp.createBlocksFromInnerBlocksTemplate)(c.innerBlocks),!0)},allowSkip:!0})})}var oge=e=&gt;{let{clientId:t}=e,a=(0,el.useSelect)(n=&gt;n(Vr.store).getBlocks(t).length&gt;0,[t])?tge:rge;return(0,mo.jsx)(a,{...e})},eO=oge;var yk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/columns&quot;,title:&quot;Columns&quot;,category:&quot;design&quot;,allowedBlocks:[&quot;core/column&quot;],description:&quot;Display content in multiple columns, with blocks added to each column.&quot;,textdomain:&quot;default&quot;,attributes:{verticalAlignment:{type:&quot;string&quot;},isStackedOnMobile:{type:&quot;boolean&quot;,default:!0},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,heading:!0,button:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{blockGap:{__experimentalDefault:&quot;2em&quot;,sides:[&quot;horizontal&quot;,&quot;vertical&quot;]},margin:[&quot;top&quot;,&quot;bottom&quot;],padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},shadow:!0},editorStyle:&quot;wp-block-columns-editor&quot;,style:&quot;wp-block-columns&quot;};var _k=o(T(),1),tO=o(v(),1);function rO({attributes:e}){let{isStackedOnMobile:t,verticalAlignment:r}=e,a=w({[`are-vertically-aligned-${r}`]:r,&quot;is-not-stacked-on-mobile&quot;:!t}),n=_k.useBlockProps.save({className:a}),i=_k.useInnerBlocksProps.save(n);return(0,tO.jsx)(&quot;div&quot;,{...i})}var Bn=o(M(),1),ui=o(P(),1),mi=o(v(),1),nge=[{name:&quot;one-column-full&quot;,title:(0,ui.__)(&quot;100&quot;),description:(0,ui.__)(&quot;One column&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z&quot;})}),innerBlocks:[[&quot;core/column&quot;]],scope:[&quot;block&quot;]},{name:&quot;two-columns-equal&quot;,title:(0,ui.__)(&quot;50 / 50&quot;),description:(0,ui.__)(&quot;Two columns; equal split&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z&quot;})}),isDefault:!0,innerBlocks:[[&quot;core/column&quot;],[&quot;core/column&quot;]],scope:[&quot;block&quot;]},{name:&quot;two-columns-one-third-two-thirds&quot;,title:(0,ui.__)(&quot;33 / 66&quot;),description:(0,ui.__)(&quot;Two columns; one-third, two-thirds split&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm17 0a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H19a2 2 0 0 1-2-2V10Z&quot;})}),innerBlocks:[[&quot;core/column&quot;,{width:&quot;33.33%&quot;}],[&quot;core/column&quot;,{width:&quot;66.66%&quot;}]],scope:[&quot;block&quot;]},{name:&quot;two-columns-two-thirds-one-third&quot;,title:(0,ui.__)(&quot;66 / 33&quot;),description:(0,ui.__)(&quot;Two columns; two-thirds, one-third split&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm33 0a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35a2 2 0 0 1-2-2V10Z&quot;})}),innerBlocks:[[&quot;core/column&quot;,{width:&quot;66.66%&quot;}],[&quot;core/column&quot;,{width:&quot;33.33%&quot;}]],scope:[&quot;block&quot;]},{name:&quot;three-columns-equal&quot;,title:(0,ui.__)(&quot;33 / 33 / 33&quot;),description:(0,ui.__)(&quot;Three columns; equal split&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h10.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm16.5 0c0-1.105.864-2 1.969-2H29.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H18.47c-1.105 0-1.969-.895-1.969-2V10Zm17 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35.469c-1.105 0-1.969-.895-1.969-2V10Z&quot;})}),innerBlocks:[[&quot;core/column&quot;],[&quot;core/column&quot;],[&quot;core/column&quot;]],scope:[&quot;block&quot;]},{name:&quot;three-columns-wider-center&quot;,title:(0,ui.__)(&quot;25 / 50 / 25&quot;),description:(0,ui.__)(&quot;Three columns; wide center column&quot;),icon:(0,mi.jsx)(Bn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,mi.jsx)(Bn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h7.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm13.5 0c0-1.105.864-2 1.969-2H32.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H15.47c-1.105 0-1.969-.895-1.969-2V10Zm23 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2h-7.531c-1.105 0-1.969-.895-1.969-2V10Z&quot;})}),innerBlocks:[[&quot;core/column&quot;,{width:&quot;25%&quot;}],[&quot;core/column&quot;,{width:&quot;50%&quot;}],[&quot;core/column&quot;,{width:&quot;25%&quot;}]],scope:[&quot;block&quot;]}],oO=nge;var Gf=o(W(),1),ige=6,lge={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;*&quot;],__experimentalConvert:e=&gt;{let t=+(100/e.length).toFixed(2),r=e.map(({name:a,attributes:n,innerBlocks:i})=&gt;[&quot;core/column&quot;,{width:`${t}%`},[[a,{...n},i]]]);return(0,Gf.createBlock)(&quot;core/columns&quot;,{},(0,Gf.createBlocksFromInnerBlocksTemplate)(r))},isMatch:({length:e},t)=&gt;t.length===1&amp;&amp;t[0].name===&quot;core/columns&quot;?!1:e&amp;&amp;e&lt;=ige},{type:&quot;block&quot;,blocks:[&quot;core/media-text&quot;],priority:1,transform:(e,t)=&gt;{let{align:r,backgroundColor:a,textColor:n,style:i,mediaAlt:l,mediaId:s,mediaPosition:c,mediaSizeSlug:u,mediaType:m,mediaUrl:p,mediaWidth:d,verticalAlignment:f}=e,h;if(m===&quot;image&quot;||!m){let b={id:s,alt:l,url:p,sizeSlug:u},y={href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel};h=[&quot;core/image&quot;,{...b,...y}]}else h=[&quot;core/video&quot;,{id:s,src:p}];let g=[[&quot;core/column&quot;,{width:`${d}%`},[h]],[&quot;core/column&quot;,{width:`${100-d}%`},t]];return c===&quot;right&quot;&amp;&amp;g.reverse(),(0,Gf.createBlock)(&quot;core/columns&quot;,{align:r,backgroundColor:a,textColor:n,style:i,verticalAlignment:f},(0,Gf.createBlocksFromInnerBlocksTemplate)(g))}}],ungroup:(e,t)=&gt;t.flatMap(r=&gt;r.innerBlocks)},aO=lge;var{name:nO}=yk,iO={icon:u9,variations:oO,example:{viewportWidth:782,innerBlocks:[{name:&quot;core/column&quot;,innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,O1.__)(&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.&quot;)}},{name:&quot;core/image&quot;,attributes:{url:&quot;https://s.w.org/images/core/5.3/Windbuchencom.jpg&quot;}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,O1.__)(&quot;Suspendisse commodo neque lacus, a dictum orci interdum et.&quot;)}}]},{name:&quot;core/column&quot;,innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,O1.__)(&quot;Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,O1.__)(&quot;Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.&quot;)}}]}]},deprecated:YH,edit:eO,save:rO,transforms:aO},sge=()=&gt;E({name:nO,metadata:yk,settings:iO});var LI={};Z(LI,{init:()=&gt;fge,metadata:()=&gt;xk,name:()=&gt;CO,settings:()=&gt;SO});var xk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments&quot;,title:&quot;Comments&quot;,category:&quot;theme&quot;,description:&quot;An advanced block that allows displaying post comments using different visual configurations.&quot;,textdomain:&quot;default&quot;,attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;},legacy:{type:&quot;boolean&quot;,default:!1}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:&quot;wp-block-comments-editor&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;]};var kk=o(T(),1),NI=o(v(),1),uge={attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;}},apiVersion:3,supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}}},save({attributes:{tagName:e}}){let t=kk.useBlockProps.save(),{className:r}=t,n=(r?.split(&quot; &quot;)||[])?.filter(l=&gt;l!==&quot;wp-block-comments&quot;),i={...t,className:n.join(&quot; &quot;)};return(0,NI.jsx)(e,{...i,children:(0,NI.jsx)(kk.InnerBlocks.Content,{})})}},lO=[uge];var Tk=o(T(),1);var sO=o(P(),1),j1=o(T(),1);var wk=o(v(),1),{HTMLElementControl:mge}=K(j1.privateApis);function cO({attributes:{tagName:e},setAttributes:t}){return(0,wk.jsx)(j1.InspectorControls,{children:(0,wk.jsx)(j1.InspectorControls,{group:&quot;advanced&quot;,children:(0,wk.jsx)(mge,{tagName:e,onChange:r=&gt;t({tagName:r}),options:[{label:(0,sO.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;}]})})})}var om=o(T(),1),DI=o(P(),1),bO=o(M(),1);var dO=o(T(),1),Qr=o(P(),1),fO=o(V(),1),hO=o(Q(),1),gO=o(U(),1);var rl=o(P(),1),rm=o(T(),1),uO=o(M(),1),mO=o(me(),1),Ck=o(Q(),1),EI=o(V(),1),Ka=o(v(),1),pO=()=&gt;{let e=(0,mO.useInstanceId)(pO);return(0,Ka.jsxs)(&quot;div&quot;,{className:&quot;comment-respond&quot;,children:[(0,Ka.jsx)(&quot;h3&quot;,{className:&quot;comment-reply-title&quot;,children:(0,rl.__)(&quot;Leave a Reply&quot;)}),(0,Ka.jsxs)(&quot;form&quot;,{noValidate:!0,className:&quot;comment-form&quot;,onSubmit:t=&gt;t.preventDefault(),children:[(0,Ka.jsxs)(&quot;p&quot;,{children:[(0,Ka.jsx)(&quot;label&quot;,{htmlFor:`comment-${e}`,children:(0,rl.__)(&quot;Comment&quot;)}),(0,Ka.jsx)(&quot;textarea&quot;,{id:`comment-${e}`,name:&quot;comment&quot;,cols:&quot;45&quot;,rows:&quot;8&quot;,readOnly:!0})]}),(0,Ka.jsx)(&quot;p&quot;,{className:&quot;form-submit wp-block-button&quot;,children:(0,Ka.jsx)(&quot;input&quot;,{name:&quot;submit&quot;,type:&quot;submit&quot;,className:w(&quot;wp-block-button__link&quot;,(0,rm.__experimentalGetElementClassName)(&quot;button&quot;)),label:(0,rl.__)(&quot;Post Comment&quot;),value:(0,rl.__)(&quot;Post Comment&quot;),&quot;aria-disabled&quot;:&quot;true&quot;})})]})]})},pge=({postId:e,postType:t})=&gt;{let[r,a]=(0,Ck.useEntityProp)(&quot;postType&quot;,t,&quot;comment_status&quot;,e),n=t===void 0||e===void 0,i=(0,EI.useSelect)(s=&gt;s(rm.store).getSettings().__experimentalDiscussionSettings?.defaultCommentStatus,[]),l=(0,EI.useSelect)(s=&gt;t?!!s(Ck.store).getPostType(t)?.supports.comments:!1);if(!n&amp;&amp;r!==&quot;open&quot;)if(r===&quot;closed&quot;){let s=[(0,Ka.jsx)(uO.Button,{__next40pxDefaultSize:!0,onClick:()=&gt;a(&quot;open&quot;),variant:&quot;primary&quot;,children:(0,rl._x)(&quot;Enable comments&quot;,&quot;action that affects the current post&quot;)},&quot;enableComments&quot;)];return(0,Ka.jsx)(rm.Warning,{actions:s,children:(0,rl.__)(&quot;Post Comments Form block: Comments are not enabled for this item.&quot;)})}else if(l){if(i!==&quot;open&quot;)return(0,Ka.jsx)(rm.Warning,{children:(0,rl.__)(&quot;Post Comments Form block: Comments are not enabled.&quot;)})}else return(0,Ka.jsx)(rm.Warning,{children:(0,rl.sprintf)((0,rl.__)(&quot;Post Comments Form block: Comments are not enabled for this post type (%s).&quot;),t)});return(0,Ka.jsx)(pO,{})},Sk=pge;var et=o(v(),1);function vO({postType:e,postId:t}){let[r]=(0,hO.useEntityProp)(&quot;postType&quot;,e,&quot;title&quot;,t);r=r||(0,Qr.__)(&quot;Post Title&quot;);let a=(0,fO.useSelect)(n=&gt;n(dO.store).getSettings().__experimentalDiscussionSettings?.avatarURL,[]);return(0,et.jsxs)(&quot;div&quot;,{className:&quot;wp-block-comments__legacy-placeholder&quot;,inert:&quot;true&quot;,children:[(0,et.jsx)(&quot;h3&quot;,{children:(0,Qr.sprintf)((0,Qr.__)(&quot;One response to %s&quot;),r)}),(0,et.jsxs)(&quot;div&quot;,{className:&quot;navigation&quot;,children:[(0,et.jsx)(&quot;div&quot;,{className:&quot;alignleft&quot;,children:(0,et.jsxs)(&quot;a&quot;,{href:&quot;#top&quot;,children:[&quot;\xAB &quot;,(0,Qr.__)(&quot;Older Comments&quot;)]})}),(0,et.jsx)(&quot;div&quot;,{className:&quot;alignright&quot;,children:(0,et.jsxs)(&quot;a&quot;,{href:&quot;#top&quot;,children:[(0,Qr.__)(&quot;Newer Comments&quot;),&quot; \xBB&quot;]})})]}),(0,et.jsx)(&quot;ol&quot;,{className:&quot;commentlist&quot;,children:(0,et.jsx)(&quot;li&quot;,{className:&quot;comment even thread-even depth-1&quot;,children:(0,et.jsxs)(&quot;article&quot;,{className:&quot;comment-body&quot;,children:[(0,et.jsxs)(&quot;footer&quot;,{className:&quot;comment-meta&quot;,children:[(0,et.jsxs)(&quot;div&quot;,{className:&quot;comment-author vcard&quot;,children:[(0,et.jsx)(&quot;img&quot;,{alt:(0,Qr.__)(&quot;Commenter Avatar&quot;),src:a,className:&quot;avatar avatar-32 photo&quot;,height:&quot;32&quot;,width:&quot;32&quot;,loading:&quot;lazy&quot;}),(0,et.jsx)(&quot;b&quot;,{className:&quot;fn&quot;,children:(0,et.jsx)(&quot;a&quot;,{href:&quot;#top&quot;,className:&quot;url&quot;,children:(0,Qr.__)(&quot;A WordPress Commenter&quot;)})}),&quot; &quot;,(0,et.jsxs)(&quot;span&quot;,{className:&quot;says&quot;,children:[(0,Qr.__)(&quot;says&quot;),&quot;:&quot;]})]}),(0,et.jsxs)(&quot;div&quot;,{className:&quot;comment-metadata&quot;,children:[(0,et.jsx)(&quot;a&quot;,{href:&quot;#top&quot;,children:(0,et.jsx)(&quot;time&quot;,{dateTime:&quot;2000-01-01T00:00:00+00:00&quot;,children:(0,Qr.__)(&quot;January 1, 2000 at 00:00 am&quot;)})}),&quot; &quot;,(0,et.jsx)(&quot;span&quot;,{className:&quot;edit-link&quot;,children:(0,et.jsx)(&quot;a&quot;,{className:&quot;comment-edit-link&quot;,href:&quot;#top&quot;,children:(0,Qr.__)(&quot;Edit&quot;)})})]})]}),(0,et.jsx)(&quot;div&quot;,{className:&quot;comment-content&quot;,children:(0,et.jsxs)(&quot;p&quot;,{children:[(0,Qr.__)(&quot;Hi, this is a comment.&quot;),(0,et.jsx)(&quot;br&quot;,{}),(0,Qr.__)(&quot;To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.&quot;),(0,et.jsx)(&quot;br&quot;,{}),(0,gO.createInterpolateElement)((0,Qr.__)(&quot;Commenter avatars come from &lt;a&gt;Gravatar&lt;/a&gt;.&quot;),{a:(0,et.jsx)(&quot;a&quot;,{href:&quot;https://gravatar.com/&quot;})})]})}),(0,et.jsx)(&quot;div&quot;,{className:&quot;reply&quot;,children:(0,et.jsx)(&quot;a&quot;,{className:&quot;comment-reply-link&quot;,href:&quot;#top&quot;,&quot;aria-label&quot;:(0,Qr.__)(&quot;Reply to A WordPress Commenter&quot;),children:(0,Qr._x)(&quot;Reply&quot;,&quot;verb&quot;)})})]})})}),(0,et.jsxs)(&quot;div&quot;,{className:&quot;navigation&quot;,children:[(0,et.jsx)(&quot;div&quot;,{className:&quot;alignleft&quot;,children:(0,et.jsxs)(&quot;a&quot;,{href:&quot;#top&quot;,children:[&quot;\xAB &quot;,(0,Qr.__)(&quot;Older Comments&quot;)]})}),(0,et.jsx)(&quot;div&quot;,{className:&quot;alignright&quot;,children:(0,et.jsxs)(&quot;a&quot;,{href:&quot;#top&quot;,children:[(0,Qr.__)(&quot;Newer Comments&quot;),&quot; \xBB&quot;]})})]}),(0,et.jsx)(Sk,{postId:t,postType:e})]})}var Ml=o(v(),1);function yO({attributes:e,setAttributes:t,context:{postType:r,postId:a}}){let{textAlign:n}=e,i=[(0,Ml.jsx)(bO.Button,{__next40pxDefaultSize:!0,onClick:()=&gt;{t({legacy:!1})},variant:&quot;primary&quot;,children:(0,DI.__)(&quot;Switch to editable mode&quot;)},&quot;convert&quot;)],l=(0,om.useBlockProps)({className:w({[`has-text-align-${n}`]:n})});return(0,Ml.jsxs)(Ml.Fragment,{children:[(0,Ml.jsx)(om.BlockControls,{group:&quot;block&quot;,children:(0,Ml.jsx)(om.AlignmentControl,{value:n,onChange:s=&gt;{t({textAlign:s})}})}),(0,Ml.jsxs)(&quot;div&quot;,{...l,children:[(0,Ml.jsx)(om.Warning,{actions:i,children:(0,DI.__)(&quot;Comments block: You\u2019re currently using the legacy version of the block. The following is just a placeholder - the final styling will likely look different. For a better representation and more customization options, switch the block to its editable mode.&quot;)}),(0,Ml.jsx)(vO,{postId:a,postType:r})]})]})}var dge=[[&quot;core/comments-title&quot;],[&quot;core/comment-template&quot;,{},[[&quot;core/columns&quot;,{},[[&quot;core/column&quot;,{width:&quot;40px&quot;},[[&quot;core/avatar&quot;,{size:40,style:{border:{radius:&quot;20px&quot;}}}]]],[&quot;core/column&quot;,{},[[&quot;core/comment-author-name&quot;,{fontSize:&quot;small&quot;}],[&quot;core/group&quot;,{layout:{type:&quot;flex&quot;},style:{spacing:{margin:{top:&quot;0px&quot;,bottom:&quot;0px&quot;}}}},[[&quot;core/comment-date&quot;,{fontSize:&quot;small&quot;}],[&quot;core/comment-edit-link&quot;,{fontSize:&quot;small&quot;}]]],[&quot;core/comment-content&quot;],[&quot;core/comment-reply-link&quot;,{fontSize:&quot;small&quot;}]]]]]]],[&quot;core/comments-pagination&quot;],[&quot;core/post-comments-form&quot;]],_O=dge;var am=o(v(),1);function xO(e){let{attributes:t,setAttributes:r,clientId:a}=e,{tagName:n,legacy:i}=t,l=(0,Tk.useBlockProps)(),s=(0,Tk.useInnerBlocksProps)(l,{template:_O});return i?(0,am.jsx)(yO,{...e}):(0,am.jsxs)(am.Fragment,{children:[(0,am.jsx)(cO,{attributes:t,setAttributes:r,clientId:a}),(0,am.jsx)(n,{...s})]})}var Pk=o(T(),1),kO=o(v(),1);function wO({attributes:{tagName:e,legacy:t}}){let r=Pk.useBlockProps.save(),a=Pk.useInnerBlocksProps.save(r);return t?null:(0,kO.jsx)(e,{...a})}var{name:CO}=xk,SO={icon:pP,example:{},edit:xO,save:wO,deprecated:lO},fge=()=&gt;E({name:CO,metadata:xk,settings:SO});var AI={};Z(AI,{init:()=&gt;gge,metadata:()=&gt;Bk,name:()=&gt;BO,settings:()=&gt;IO});var Bk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:&quot;fse&quot;,name:&quot;core/comment-author-avatar&quot;,title:&quot;Comment Author Avatar (deprecated)&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;This block is deprecated. Please use the Avatar block instead.&quot;,textdomain:&quot;default&quot;,attributes:{width:{type:&quot;number&quot;,default:96},height:{type:&quot;number&quot;,default:96}},usesContext:[&quot;commentId&quot;],supports:{html:!1,inserter:!1,__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},color:{background:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{__experimentalSkipSerialization:!0,margin:!0,padding:!0},interactivity:{clientNavigation:!0}}};var nm=o(T(),1),Wf=o(M(),1),MI=o(Q(),1),TO=o(V(),1),Hp=o(P(),1),Al=o(v(),1);function PO({attributes:e,context:{commentId:t},setAttributes:r,isSelected:a}){let{height:n,width:i}=e,[l]=(0,MI.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;author_avatar_urls&quot;,t),[s]=(0,MI.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;author_name&quot;,t),c=l?Object.values(l):null,u=l?Object.keys(l):null,m=u?u[0]:24,p=u?u[u.length-1]:96,d=(0,nm.useBlockProps)(),f=(0,nm.__experimentalGetSpacingClassesAndStyles)(e),h=Math.floor(p*2.5),g=(0,TO.useSelect)(k=&gt;{let{__experimentalDiscussionSettings:_}=k(nm.store).getSettings();return _?.avatarURL},[]),b=(0,Al.jsx)(nm.InspectorControls,{children:(0,Al.jsx)(Wf.PanelBody,{title:(0,Hp.__)(&quot;Settings&quot;),children:(0,Al.jsx)(Wf.RangeControl,{__next40pxDefaultSize:!0,label:(0,Hp.__)(&quot;Image size&quot;),onChange:k=&gt;r({width:k,height:k}),min:m,max:h,initialPosition:i,value:i})})}),y=(0,Al.jsx)(Wf.ResizableBox,{size:{width:i,height:n},showHandle:a,onResizeStop:(k,_,x,S)=&gt;{r({height:parseInt(n+S.height,10),width:parseInt(i+S.width,10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,Hp.isRTL)(),bottom:!0,left:(0,Hp.isRTL)()},minWidth:m,maxWidth:h,children:(0,Al.jsx)(&quot;img&quot;,{src:c?c[c.length-1]:g,alt:`${s} ${(0,Hp.__)(&quot;Avatar&quot;)}`,...d})});return(0,Al.jsxs)(Al.Fragment,{children:[b,(0,Al.jsx)(&quot;div&quot;,{...f,children:y})]})}var{name:BO}=Bk,IO={icon:I0,edit:PO},gge=()=&gt;E({name:BO,metadata:Bk,settings:IO});var RI={};Z(RI,{init:()=&gt;_ge,metadata:()=&gt;Ik,name:()=&gt;MO,settings:()=&gt;AO});var Ik={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-author-name&quot;,title:&quot;Comment Author Name&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;Displays the name of the author of the comment.&quot;,textdomain:&quot;default&quot;,attributes:{isLink:{type:&quot;boolean&quot;,default:!0},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},usesContext:[&quot;commentId&quot;],supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-comment-author-name&quot;};var Zc=o(P(),1),NO=o(V(),1),Nk=o(T(),1),EO=o(Q(),1),im=o(M(),1);var pi=o(v(),1);function DO(e){let{attributes:{isLink:t,linkTarget:r},context:{commentId:a},setAttributes:n}=e;Kr(e);let i=q(),l=(0,Nk.useBlockProps)(),s=(0,NO.useSelect)(m=&gt;{let{getEntityRecord:p}=m(EO.store),d=p(&quot;root&quot;,&quot;comment&quot;,a),f=d?.author_name;return d&amp;&amp;!f?p(&quot;root&quot;,&quot;user&quot;,d.author)?.name??(0,Zc.__)(&quot;Anonymous&quot;):f??&quot;&quot;},[a]),c=(0,pi.jsx)(Nk.InspectorControls,{children:(0,pi.jsxs)(im.__experimentalToolsPanel,{label:(0,Zc.__)(&quot;Settings&quot;),resetAll:()=&gt;{n({isLink:!0,linkTarget:&quot;_self&quot;})},dropdownMenuProps:i,children:[(0,pi.jsx)(im.__experimentalToolsPanelItem,{label:(0,Zc.__)(&quot;Link to authors URL&quot;),isShownByDefault:!0,hasValue:()=&gt;!t,onDeselect:()=&gt;n({isLink:!0}),children:(0,pi.jsx)(im.ToggleControl,{label:(0,Zc.__)(&quot;Link to authors URL&quot;),onChange:()=&gt;n({isLink:!t}),checked:t})}),t&amp;&amp;(0,pi.jsx)(im.__experimentalToolsPanelItem,{label:(0,Zc.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==&quot;_self&quot;,onDeselect:()=&gt;n({linkTarget:&quot;_self&quot;}),children:(0,pi.jsx)(im.ToggleControl,{label:(0,Zc.__)(&quot;Open in new tab&quot;),onChange:m=&gt;n({linkTarget:m?&quot;_blank&quot;:&quot;_self&quot;}),checked:r===&quot;_blank&quot;})})]})});return(!a||!s)&amp;&amp;(s=(0,Zc._x)(&quot;Comment Author&quot;,&quot;block title&quot;)),(0,pi.jsxs)(pi.Fragment,{children:[c,(0,pi.jsx)(&quot;div&quot;,{...l,children:t?(0,pi.jsx)(&quot;a&quot;,{href:&quot;#comment-author-pseudo-link&quot;,onClick:m=&gt;m.preventDefault(),children:s}):s})]})}var bge={attributes:{isLink:{type:&quot;boolean&quot;,default:!0},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;},textAlign:{type:&quot;string&quot;}},usesContext:[&quot;commentId&quot;],supports:{html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},yge={attributes:{isLink:{type:&quot;boolean&quot;,default:!1},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},LO=[bge,yge];var{name:MO}=Ik,AO={icon:p9,edit:DO,deprecated:LO,example:{}},_ge=()=&gt;E({name:MO,metadata:Ik,settings:AO});var zI={};Z(zI,{init:()=&gt;wge,metadata:()=&gt;Ek,name:()=&gt;UO,settings:()=&gt;GO});var Ek={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-content&quot;,title:&quot;Comment Content&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;Displays the contents of a comment.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;commentId&quot;],supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},spacing:{padding:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalDefaultControls:{padding:!0}},html:!1},style:&quot;wp-block-comment-content&quot;};var RO=o(P(),1),zO=o(U(),1),VO=o(M(),1),FO=o(Q(),1),HO=o(T(),1);var Rl=o(v(),1);function OO(e){let{context:{commentId:t}}=e;Kr(e);let r=(0,HO.useBlockProps)(),[a]=(0,FO.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;content&quot;,t);return!t||!a?(0,Rl.jsx)(Rl.Fragment,{children:(0,Rl.jsx)(&quot;div&quot;,{...r,children:(0,Rl.jsx)(&quot;p&quot;,{children:(0,RO._x)(&quot;Comment Content&quot;,&quot;block title&quot;)})})}):(0,Rl.jsx)(Rl.Fragment,{children:(0,Rl.jsx)(&quot;div&quot;,{...r,children:(0,Rl.jsx)(VO.Disabled,{children:(0,Rl.jsx)(zO.RawHTML,{children:a.rendered},&quot;html&quot;)})})})}var kge={attributes:{textAlign:{type:&quot;string&quot;}},usesContext:[&quot;commentId&quot;],supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},spacing:{padding:[&quot;horizontal&quot;,&quot;vertical&quot;]},html:!1},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},jO=[kge];var{name:UO}=Ek,GO={icon:f9,edit:OO,deprecated:jO,example:{}},wge=()=&gt;E({name:UO,metadata:Ek,settings:GO});var FI={};Z(FI,{init:()=&gt;Tge,metadata:()=&gt;Dk,name:()=&gt;ZO,settings:()=&gt;KO});var Dk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-date&quot;,title:&quot;Comment Date&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;Displays the date on which the comment was posted.&quot;,textdomain:&quot;default&quot;,attributes:{format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!0}},usesContext:[&quot;commentId&quot;],supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-comment-date&quot;};var VI=o(Q(),1),jp=o(Lk(),1),$f=o(T(),1),Up=o(M(),1),Op=o(P(),1);var Qa=o(v(),1);function $O({attributes:{format:e,isLink:t},context:{commentId:r},setAttributes:a}){let n=(0,$f.useBlockProps)(),i=q(),[l]=(0,VI.useEntityProp)(&quot;root&quot;,&quot;comment&quot;,&quot;date&quot;,r),[s=(0,jp.getSettings)().formats.date]=(0,VI.useEntityProp)(&quot;root&quot;,&quot;site&quot;,&quot;date_format&quot;),c=(0,Qa.jsx)($f.InspectorControls,{children:(0,Qa.jsxs)(Up.__experimentalToolsPanel,{label:(0,Op.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({format:void 0,isLink:!0})},dropdownMenuProps:i,children:[(0,Qa.jsx)(Up.__experimentalToolsPanelItem,{label:(0,Op.__)(&quot;Date format&quot;),hasValue:()=&gt;e!==void 0,onDeselect:()=&gt;a({format:void 0}),isShownByDefault:!0,children:(0,Qa.jsx)($f.__experimentalDateFormatPicker,{format:e,defaultFormat:s,onChange:m=&gt;a({format:m})})}),(0,Qa.jsx)(Up.__experimentalToolsPanelItem,{label:(0,Op.__)(&quot;Link to comment&quot;),hasValue:()=&gt;!t,onDeselect:()=&gt;a({isLink:!0}),isShownByDefault:!0,children:(0,Qa.jsx)(Up.ToggleControl,{label:(0,Op.__)(&quot;Link to comment&quot;),onChange:()=&gt;a({isLink:!t}),checked:t})})]})});(!r||!l)&amp;&amp;(l=(0,Op._x)(&quot;Comment Date&quot;,&quot;block title&quot;));let u=l instanceof Date?(0,Qa.jsx)(&quot;time&quot;,{dateTime:(0,jp.dateI18n)(&quot;c&quot;,l),children:e===&quot;human-diff&quot;?(0,jp.humanTimeDiff)(l):(0,jp.dateI18n)(e||s,l)}):(0,Qa.jsx)(&quot;time&quot;,{children:l});return t&amp;&amp;(u=(0,Qa.jsx)(&quot;a&quot;,{href:&quot;#comment-date-pseudo-link&quot;,onClick:m=&gt;m.preventDefault(),children:u})),(0,Qa.jsxs)(Qa.Fragment,{children:[c,(0,Qa.jsx)(&quot;div&quot;,{...n,children:u})]})}var Sge={attributes:{format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},qO=[Sge];var{name:ZO}=Dk,KO={icon:e1,edit:$O,deprecated:qO,example:{}},Tge=()=&gt;E({name:ZO,metadata:Dk,settings:KO});var HI={};Z(HI,{init:()=&gt;Ige,metadata:()=&gt;Mk,name:()=&gt;XO,settings:()=&gt;JO});var Mk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-edit-link&quot;,title:&quot;Comment Edit Link&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;commentId&quot;],attributes:{linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},style:&quot;wp-block-comment-edit-link&quot;};var Ak=o(T(),1),qf=o(M(),1),U1=o(P(),1);var zl=o(v(),1);function QO(e){let{attributes:t,setAttributes:r}=e,{linkTarget:a}=t;Kr(e);let n=(0,Ak.useBlockProps)(),i=q(),l=(0,zl.jsx)(Ak.InspectorControls,{children:(0,zl.jsx)(qf.__experimentalToolsPanel,{label:(0,U1.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({linkTarget:&quot;_self&quot;})},dropdownMenuProps:i,children:(0,zl.jsx)(qf.__experimentalToolsPanelItem,{label:(0,U1.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;a===&quot;_blank&quot;,onDeselect:()=&gt;r({linkTarget:&quot;_self&quot;}),children:(0,zl.jsx)(qf.ToggleControl,{label:(0,U1.__)(&quot;Open in new tab&quot;),onChange:s=&gt;r({linkTarget:s?&quot;_blank&quot;:&quot;_self&quot;}),checked:a===&quot;_blank&quot;})})})});return(0,zl.jsxs)(zl.Fragment,{children:[l,(0,zl.jsx)(&quot;div&quot;,{...n,children:(0,zl.jsx)(&quot;a&quot;,{href:&quot;#edit-comment-pseudo-link&quot;,onClick:s=&gt;s.preventDefault(),children:(0,U1.__)(&quot;Edit&quot;)})})]})}var Bge={attributes:{linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;},textAlign:{type:&quot;string&quot;}},usesContext:[&quot;commentId&quot;],supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},YO=[Bge];var{name:XO}=Mk,JO={icon:g9,edit:QO,deprecated:YO,example:{}},Ige=()=&gt;E({name:XO,metadata:Mk,settings:JO});var OI={};Z(OI,{init:()=&gt;Lge,metadata:()=&gt;Rk,name:()=&gt;aj,settings:()=&gt;nj});var Rk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-reply-link&quot;,title:&quot;Comment Reply Link&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comment-template&quot;],description:&quot;Displays a link to reply to a comment.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;commentId&quot;],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},style:&quot;wp-block-comment-reply-link&quot;};var ej=o(P(),1),tj=o(T(),1);var Zf=o(v(),1);function Ege(e){Kr(e);let t=(0,tj.useBlockProps)();return(0,Zf.jsx)(Zf.Fragment,{children:(0,Zf.jsx)(&quot;div&quot;,{...t,children:(0,Zf.jsx)(&quot;a&quot;,{href:&quot;#comment-reply-pseudo-link&quot;,onClick:r=&gt;r.preventDefault(),children:(0,ej._x)(&quot;Reply&quot;,&quot;verb&quot;)})})})}var rj=Ege;var Dge={attributes:{textAlign:{type:&quot;string&quot;}},usesContext:[&quot;commentId&quot;],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},oj=[Dge];var{name:aj}=Rk,nj={edit:rj,icon:b9,deprecated:oj,example:{}},Lge=()=&gt;E({name:aj,metadata:Rk,settings:nj});var UI={};Z(UI,{init:()=&gt;Oge,metadata:()=&gt;zk,name:()=&gt;kj,settings:()=&gt;wj});var zk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comment-template&quot;,title:&quot;Comment Template&quot;,category:&quot;design&quot;,parent:[&quot;core/comments&quot;],description:&quot;Contains the block elements used to display a comment, like the title, date, author, avatar and more.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;],supports:{anchor:!0,align:!0,html:!1,reusable:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-comment-template&quot;};var Vk=o(U(),1),jI=o(V(),1),fj=o(P(),1),Vl=o(T(),1),hj=o(M(),1),gj=o(Q(),1);var Gp=o(U(),1),sj=o(V(),1),cj=o(T(),1),uj=o(mr(),1),mj=o(G1(),1),lj=100,pj=({postId:e})=&gt;{let t={status:&quot;approve&quot;,order:&quot;asc&quot;,context:&quot;embed&quot;,parent:0,_embed:&quot;children&quot;},{pageComments:r,commentsPerPage:a,defaultCommentsPage:n}=(0,sj.useSelect)(s=&gt;{let{getSettings:c}=s(cj.store),{__experimentalDiscussionSettings:u}=c();return u??{}},[]),i=r?Math.min(a,lj):lj,l=Age({defaultPage:n,postId:e,perPage:i,queryArgs:t});return(0,Gp.useMemo)(()=&gt;l?{...t,post:e,per_page:i,page:l}:null,[e,i,l])},Age=({defaultPage:e,postId:t,perPage:r,queryArgs:a})=&gt;{let[n,i]=(0,Gp.useState)({}),l=`${t}_${r}`,s=n[l]||0;return(0,Gp.useEffect)(()=&gt;{s||e!==&quot;newest&quot;||(0,mj.default)({path:(0,uj.addQueryArgs)(&quot;/wp/v2/comments&quot;,{...a,post:t,per_page:r,_fields:&quot;id&quot;}),method:&quot;HEAD&quot;,parse:!1}).then(c=&gt;{let u=parseInt(c.headers.get(&quot;X-WP-TotalPages&quot;));i({...n,[l]:u&lt;=1?1:u})}).catch(()=&gt;{i({...n,[l]:1})})},[e,t,r,i]),e===&quot;newest&quot;?s:1},dj=e=&gt;(0,Gp.useMemo)(()=&gt;e?.map(({id:r,_embedded:a})=&gt;{let[n]=a?.children||[[]];return{commentId:r,children:n.map(i=&gt;({commentId:i.id}))}}),[e]);var di=o(v(),1),Rge=[[&quot;core/avatar&quot;],[&quot;core/comment-author-name&quot;],[&quot;core/comment-date&quot;],[&quot;core/comment-content&quot;],[&quot;core/comment-reply-link&quot;],[&quot;core/comment-edit-link&quot;]],zge=({perPage:e,pageComments:t,threadComments:r,threadCommentsDepth:a})=&gt;{let n=r?Math.min(a,3):1,i=s=&gt;{if(s&lt;n){let c=s+1;return[{commentId:-(s+3),children:i(c)}]}return[]},l=[{commentId:-1,children:i(1)}];return(!t||e&gt;=2)&amp;&amp;n&lt;3&amp;&amp;l.push({commentId:-2,children:[]}),(!t||e&gt;=3)&amp;&amp;n&lt;2&amp;&amp;l.push({commentId:-3,children:[]}),l};function Vge({comment:e,activeCommentId:t,setActiveCommentId:r,firstCommentId:a,blocks:n}){let{children:i,...l}=(0,Vl.useInnerBlocksProps)({},{template:Rge});return(0,di.jsxs)(&quot;li&quot;,{...l,children:[e.commentId===(t||a)?i:null,(0,di.jsx)(Hge,{blocks:n,commentId:e.commentId,setActiveCommentId:r,isHidden:e.commentId===(t||a)}),e?.children?.length&gt;0?(0,di.jsx)(vj,{comments:e.children,activeCommentId:t,setActiveCommentId:r,blocks:n,firstCommentId:a}):null]})}var Fge=({blocks:e,commentId:t,setActiveCommentId:r,isHidden:a})=&gt;{let n=(0,Vl.__experimentalUseBlockPreview)({blocks:e}),i=()=&gt;{r(t)};return(0,di.jsx)(&quot;div&quot;,{...n,tabIndex:0,role:&quot;button&quot;,style:{display:a?&quot;none&quot;:void 0},onClick:i,onKeyPress:i})},Hge=(0,Vk.memo)(Fge),vj=({comments:e,blockProps:t,activeCommentId:r,setActiveCommentId:a,blocks:n,firstCommentId:i})=&gt;(0,di.jsx)(&quot;ol&quot;,{...t,children:e&amp;&amp;e.map(({commentId:l,...s},c)=&gt;(0,di.jsx)(Vl.BlockContextProvider,{value:{commentId:l&lt;0?null:l},children:(0,di.jsx)(Vge,{comment:{commentId:l,...s},activeCommentId:r,setActiveCommentId:a,blocks:n,firstCommentId:i})},s.commentId||c))});function bj({clientId:e,context:{postId:t}}){let r=(0,Vl.useBlockProps)(),[a,n]=(0,Vk.useState)(),{commentOrder:i,threadCommentsDepth:l,threadComments:s,commentsPerPage:c,pageComments:u}=(0,jI.useSelect)(h=&gt;{let{getSettings:g}=h(Vl.store);return g().__experimentalDiscussionSettings??{}},[]),m=pj({postId:t}),{topLevelComments:p,blocks:d}=(0,jI.useSelect)(h=&gt;{let{getEntityRecords:g}=h(gj.store),{getBlocks:b}=h(Vl.store);return{topLevelComments:m?g(&quot;root&quot;,&quot;comment&quot;,m):null,blocks:b(e)}},[e,m]),f=dj(i===&quot;desc&quot;&amp;&amp;p?[...p].reverse():p);return p?(t||(f=zge({perPage:c,pageComments:u,threadComments:s,threadCommentsDepth:l})),f.length?(0,di.jsx)(vj,{comments:f,blockProps:r,blocks:d,activeCommentId:a,setActiveCommentId:n,firstCommentId:f[0]?.commentId}):(0,di.jsx)(&quot;p&quot;,{...r,children:(0,fj.__)(&quot;No results found.&quot;)})):(0,di.jsx)(&quot;p&quot;,{...r,children:(0,di.jsx)(hj.Spinner,{})})}var yj=o(T(),1),_j=o(v(),1);function xj(){return(0,_j.jsx)(yj.InnerBlocks.Content,{})}var{name:kj}=zk,wj={icon:Cp,edit:bj,save:xj},Oge=()=&gt;E({name:kj,metadata:zk,settings:wj});var WI={};Z(WI,{init:()=&gt;Gge,metadata:()=&gt;Fk,name:()=&gt;Tj,settings:()=&gt;Pj});var Sj=o(P(),1);var Fk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments-pagination-previous&quot;,title:&quot;Comments Previous Page&quot;,category:&quot;theme&quot;,parent:[&quot;core/comments-pagination&quot;],description:&quot;Displays the previous comment&#039;s page link.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;}},usesContext:[&quot;postId&quot;,&quot;comments/paginationArrow&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var GI=o(P(),1),Hk=o(T(),1),W1=o(v(),1),Uge={none:&quot;&quot;,arrow:&quot;\u2190&quot;,chevron:&quot;\xAB&quot;};function Cj({attributes:{label:e},setAttributes:t,context:{&quot;comments/paginationArrow&quot;:r}}){let a=Uge[r];return(0,W1.jsxs)(&quot;a&quot;,{href:&quot;#comments-pagination-previous-pseudo-link&quot;,onClick:n=&gt;n.preventDefault(),...(0,Hk.useBlockProps)(),children:[a&amp;&amp;(0,W1.jsx)(&quot;span&quot;,{className:`wp-block-comments-pagination-previous-arrow is-arrow-${r}`,children:a}),(0,W1.jsx)(Hk.PlainText,{__experimentalVersion:2,tagName:&quot;span&quot;,&quot;aria-label&quot;:(0,GI.__)(&quot;Older comments page link&quot;),placeholder:(0,GI.__)(&quot;Older Comments&quot;),value:e,onChange:n=&gt;t({label:n})})]})}var{name:Tj}=Fk,Pj={icon:a1,edit:Cj,example:{attributes:{label:(0,Sj.__)(&quot;Older Comments&quot;)}}},Gge=()=&gt;E({name:Tj,metadata:Fk,settings:Pj});var qI={};Z(qI,{init:()=&gt;qge,metadata:()=&gt;Ok,name:()=&gt;Lj,settings:()=&gt;Mj});var Ok={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments-pagination&quot;,title:&quot;Comments Pagination&quot;,category:&quot;theme&quot;,parent:[&quot;core/comments&quot;],allowedBlocks:[&quot;core/comments-pagination-previous&quot;,&quot;core/comments-pagination-numbers&quot;,&quot;core/comments-pagination-next&quot;],description:&quot;Displays a paginated navigation to next/previous set of comments, when applicable.&quot;,textdomain:&quot;default&quot;,attributes:{paginationArrow:{type:&quot;string&quot;,default:&quot;none&quot;}},example:{attributes:{paginationArrow:&quot;none&quot;}},providesContext:{&quot;comments/paginationArrow&quot;:&quot;paginationArrow&quot;},supports:{anchor:!0,align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:&quot;flex&quot;}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-comments-pagination-editor&quot;,style:&quot;wp-block-comments-pagination&quot;};var jk=o(P(),1),Hl=o(T(),1),$I=o(V(),1),Uk=o(M(),1);var Wp=o(P(),1),Kf=o(M(),1),Qf=o(v(),1);function Bj({value:e,onChange:t}){return(0,Qf.jsxs)(Kf.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Wp.__)(&quot;Arrow&quot;),value:e,onChange:t,help:(0,Wp.__)(&quot;A decorative arrow appended to the next and previous comments link.&quot;),isBlock:!0,children:[(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:&quot;none&quot;,label:(0,Wp._x)(&quot;None&quot;,&quot;Arrow option for Comments Pagination Next/Previous blocks&quot;)}),(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:&quot;arrow&quot;,label:(0,Wp._x)(&quot;Arrow&quot;,&quot;Arrow option for Comments Pagination Next/Previous blocks&quot;)}),(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:&quot;chevron&quot;,label:(0,Wp._x)(&quot;Chevron&quot;,&quot;Arrow option for Comments Pagination Next/Previous blocks&quot;)})]})}var Fl=o(v(),1),$ge=[[&quot;core/comments-pagination-previous&quot;],[&quot;core/comments-pagination-numbers&quot;],[&quot;core/comments-pagination-next&quot;]];function Ij({attributes:{paginationArrow:e},setAttributes:t,clientId:r}){let a=(0,$I.useSelect)(c=&gt;{let{getBlocks:u}=c(Hl.store);return u(r)?.find(p=&gt;[&quot;core/comments-pagination-previous&quot;,&quot;core/comments-pagination-next&quot;].includes(p.name))},[]),n=(0,Hl.useBlockProps)(),i=q(),l=(0,Hl.useInnerBlocksProps)(n,{template:$ge});return(0,$I.useSelect)(c=&gt;{let{getSettings:u}=c(Hl.store),{__experimentalDiscussionSettings:m}=u();return m?.pageComments},[])?(0,Fl.jsxs)(Fl.Fragment,{children:[a&amp;&amp;(0,Fl.jsx)(Hl.InspectorControls,{children:(0,Fl.jsx)(Uk.__experimentalToolsPanel,{label:(0,jk.__)(&quot;Settings&quot;),dropdownMenuProps:i,resetAll:()=&gt;t({paginationArrow:&quot;none&quot;}),children:(0,Fl.jsx)(Uk.__experimentalToolsPanelItem,{label:(0,jk.__)(&quot;Arrow&quot;),hasValue:()=&gt;e!==&quot;none&quot;,onDeselect:()=&gt;t({paginationArrow:&quot;none&quot;}),isShownByDefault:!0,children:(0,Fl.jsx)(Bj,{value:e,onChange:c=&gt;{t({paginationArrow:c})}})})})}),(0,Fl.jsx)(&quot;div&quot;,{...l})]}):(0,Fl.jsx)(Hl.Warning,{children:(0,jk.__)(&quot;Comments Pagination block: paging comments is disabled in the Discussion Settings&quot;)})}var Nj=o(T(),1),Ej=o(v(),1);function Dj(){return(0,Ej.jsx)(Nj.InnerBlocks.Content,{})}var{name:Lj}=Ok,Mj={icon:n1,edit:Ij,save:Dj},qge=()=&gt;E({name:Lj,metadata:Ok,settings:Mj});var KI={};Z(KI,{init:()=&gt;Qge,metadata:()=&gt;Gk,name:()=&gt;zj,settings:()=&gt;Vj});var Rj=o(P(),1);var Gk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments-pagination-next&quot;,title:&quot;Comments Next Page&quot;,category:&quot;theme&quot;,parent:[&quot;core/comments-pagination&quot;],description:&quot;Displays the next comment&#039;s page link.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;}},usesContext:[&quot;postId&quot;,&quot;comments/paginationArrow&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var ZI=o(P(),1),Wk=o(T(),1),$1=o(v(),1),Kge={none:&quot;&quot;,arrow:&quot;\u2192&quot;,chevron:&quot;\xBB&quot;};function Aj({attributes:{label:e},setAttributes:t,context:{&quot;comments/paginationArrow&quot;:r}}){let a=Kge[r];return(0,$1.jsxs)(&quot;a&quot;,{href:&quot;#comments-pagination-next-pseudo-link&quot;,onClick:n=&gt;n.preventDefault(),...(0,Wk.useBlockProps)(),children:[(0,$1.jsx)(Wk.PlainText,{__experimentalVersion:2,tagName:&quot;span&quot;,&quot;aria-label&quot;:(0,ZI.__)(&quot;Newer comments page link&quot;),placeholder:(0,ZI.__)(&quot;Newer Comments&quot;),value:e,onChange:n=&gt;t({label:n})}),a&amp;&amp;(0,$1.jsx)(&quot;span&quot;,{className:`wp-block-comments-pagination-next-arrow is-arrow-${r}`,children:a})]})}var{name:zj}=Gk,Vj={icon:r1,edit:Aj,example:{attributes:{label:(0,Rj.__)(&quot;Newer Comments&quot;)}}},Qge=()=&gt;E({name:zj,metadata:Gk,settings:Vj});var QI={};Z(QI,{init:()=&gt;Xge,metadata:()=&gt;$k,name:()=&gt;Oj,settings:()=&gt;jj});var $k={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments-pagination-numbers&quot;,title:&quot;Comments Page Numbers&quot;,category:&quot;theme&quot;,parent:[&quot;core/comments-pagination&quot;],description:&quot;Displays a list of page numbers for comments pagination.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{padding:!0}}}};var Fj=o(T(),1),ol=o(v(),1),$p=({content:e,tag:t=&quot;a&quot;,extraClass:r=&quot;&quot;})=&gt;t===&quot;a&quot;?(0,ol.jsx)(t,{className:`page-numbers ${r}`,href:&quot;#comments-pagination-numbers-pseudo-link&quot;,onClick:a=&gt;a.preventDefault(),children:e}):(0,ol.jsx)(t,{className:`page-numbers ${r}`,children:e});function Hj(){return(0,ol.jsxs)(&quot;div&quot;,{...(0,Fj.useBlockProps)(),children:[(0,ol.jsx)($p,{content:&quot;1&quot;}),(0,ol.jsx)($p,{content:&quot;2&quot;}),(0,ol.jsx)($p,{content:&quot;3&quot;,tag:&quot;span&quot;,extraClass:&quot;current&quot;}),(0,ol.jsx)($p,{content:&quot;4&quot;}),(0,ol.jsx)($p,{content:&quot;5&quot;}),(0,ol.jsx)($p,{content:&quot;...&quot;,tag:&quot;span&quot;,extraClass:&quot;dots&quot;}),(0,ol.jsx)($p,{content:&quot;8&quot;})]})}var{name:Oj}=$k,jj={icon:o1,edit:Hj,example:{}},Xge=()=&gt;E({name:Oj,metadata:$k,settings:jj});var YI={};Z(YI,{init:()=&gt;r0e,metadata:()=&gt;qk,name:()=&gt;Kj,settings:()=&gt;Qj});var qk={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/comments-title&quot;,title:&quot;Comments Title&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/comments&quot;],description:&quot;Displays a title with the number of comments.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;],attributes:{showPostTitle:{type:&quot;boolean&quot;,default:!0},showCommentsCount:{type:&quot;boolean&quot;,default:!0},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}}};var Rs=o(T(),1),Br=o(P(),1),Uj=o(Q(),1),lm=o(M(),1),Zk=o(U(),1),Gj=o(V(),1),Wj=o(G1(),1),$j=o(mr(),1);var In=o(v(),1);function qj(e){Kr(e);let{attributes:t,setAttributes:r,context:a}=e,{showPostTitle:n,showCommentsCount:i,level:l=2,levelOptions:s}=t,{postId:c,postType:u}=a,m=&quot;h&quot;+l,[p,d]=(0,Zk.useState)(),[f]=(0,Uj.useEntityProp)(&quot;postType&quot;,u,&quot;title&quot;,c),h=typeof c&gt;&quot;u&quot;,g=(0,Rs.useBlockProps)(),{threadCommentsDepth:b,threadComments:y,commentsPerPage:k,pageComments:_}=(0,Gj.useSelect)(D=&gt;{let{getSettings:A}=D(Rs.store);return A().__experimentalDiscussionSettings??{}},[]),x=q();(0,Zk.useEffect)(()=&gt;{if(h){let A=y?Math.min(b,3)-1:0,H=_?k:3,F=parseInt(A)+parseInt(H);d(Math.min(F,3));return}let D=c;(0,Wj.default)({path:(0,$j.addQueryArgs)(&quot;/wp/v2/comments&quot;,{post:c,_fields:&quot;id&quot;}),method:&quot;HEAD&quot;,parse:!1}).then(A=&gt;{D===c&amp;&amp;d(parseInt(A.headers.get(&quot;X-WP-Total&quot;)))}).catch(()=&gt;{d(0)})},[c]);let S=(0,In.jsx)(Rs.BlockControls,{group:&quot;block&quot;,children:(0,In.jsx)(Rs.HeadingLevelDropdown,{value:l,options:s,onChange:D=&gt;r({level:D})})}),C=(0,In.jsx)(Rs.InspectorControls,{children:(0,In.jsxs)(lm.__experimentalToolsPanel,{label:(0,Br.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({showPostTitle:!0,showCommentsCount:!0})},dropdownMenuProps:x,children:[(0,In.jsx)(lm.__experimentalToolsPanelItem,{label:(0,Br.__)(&quot;Show post title&quot;),isShownByDefault:!0,hasValue:()=&gt;!n,onDeselect:()=&gt;r({showPostTitle:!0}),children:(0,In.jsx)(lm.ToggleControl,{label:(0,Br.__)(&quot;Show post title&quot;),checked:n,onChange:D=&gt;r({showPostTitle:D})})}),(0,In.jsx)(lm.__experimentalToolsPanelItem,{label:(0,Br.__)(&quot;Show comments count&quot;),isShownByDefault:!0,hasValue:()=&gt;!i,onDeselect:()=&gt;r({showCommentsCount:!0}),children:(0,In.jsx)(lm.ToggleControl,{label:(0,Br.__)(&quot;Show comments count&quot;),checked:i,onChange:D=&gt;r({showCommentsCount:D})})})]})}),N=h?(0,Br.__)(&quot;Post Title&quot;):f,B;return i&amp;&amp;p!==void 0?n?p===1?B=(0,Br.sprintf)((0,Br.__)(&#039;One response to &quot;%s&quot;&#039;),N):B=(0,Br.sprintf)((0,Br._n)(&#039;%1$s response to &quot;%2$s&quot;&#039;,&#039;%1$s responses to &quot;%2$s&quot;&#039;,p),p,N):p===1?B=(0,Br.__)(&quot;One response&quot;):B=(0,Br.sprintf)((0,Br._n)(&quot;%s response&quot;,&quot;%s responses&quot;,p),p):n?p===1?B=(0,Br.sprintf)((0,Br.__)(&#039;Response to &quot;%s&quot;&#039;),N):B=(0,Br.sprintf)((0,Br.__)(&#039;Responses to &quot;%s&quot;&#039;),N):p===1?B=(0,Br.__)(&quot;Response&quot;):B=(0,Br.__)(&quot;Responses&quot;),(0,In.jsxs)(In.Fragment,{children:[S,C,(0,In.jsx)(m,{...g,children:B})]})}var e0e={attributes:{textAlign:{type:&quot;string&quot;},showPostTitle:{type:&quot;boolean&quot;,default:!0},showCommentsCount:{type:&quot;boolean&quot;,default:!0},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=&gt;{let{singleCommentLabel:t,multipleCommentsLabel:r,...a}=e;return We(a)},isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},t0e={attributes:{textAlign:{type:&quot;string&quot;},showPostTitle:{type:&quot;boolean&quot;,default:!0},showCommentsCount:{type:&quot;boolean&quot;,default:!0},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;},singleCommentLabel:{type:&quot;string&quot;},multipleCommentsLabel:{type:&quot;string&quot;}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=&gt;{let{singleCommentLabel:t,multipleCommentsLabel:r,...a}=e;return We(a)},isEligible:({multipleCommentsLabel:e,singleCommentLabel:t})=&gt;e||t,save:()=&gt;null},Zj=[e0e,t0e];var{name:Kj}=qk,Qj={icon:El,edit:qj,deprecated:Zj,example:{}},r0e=()=&gt;E({name:Kj,metadata:qk,settings:Qj});var hN={};Z(hN,{init:()=&gt;h1e,metadata:()=&gt;u5,name:()=&gt;KU,settings:()=&gt;p5});var fN=o(P(),1);var ZU=o(W(),1);var Yk=o(W(),1),_e=o(T(),1),Xk=o(P(),1),q1=o(me(),1);var Kk=o(Rr(),1),o0e={&quot;top left&quot;:&quot;is-position-top-left&quot;,&quot;top center&quot;:&quot;is-position-top-center&quot;,&quot;top right&quot;:&quot;is-position-top-right&quot;,&quot;center left&quot;:&quot;is-position-center-left&quot;,&quot;center center&quot;:&quot;is-position-center-center&quot;,center:&quot;is-position-center-center&quot;,&quot;center right&quot;:&quot;is-position-center-right&quot;,&quot;bottom left&quot;:&quot;is-position-bottom-left&quot;,&quot;bottom center&quot;:&quot;is-position-bottom-center&quot;,&quot;bottom right&quot;:&quot;is-position-bottom-right&quot;},Qt=&quot;image&quot;,Cr=&quot;video&quot;,Kc=&quot;embed-video&quot;,Yj=50;var a0e={x:.5,y:.5},Qk=[&quot;image&quot;,&quot;video&quot;];function Qo({x:e,y:t}=a0e){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}function al(e){return e===50||e===void 0?null:&quot;has-background-dim-&quot;+10*Math.round(e/10)}function Xj(e){if(!e||!e.url&amp;&amp;!e.src)return{url:void 0,id:void 0};(0,Kk.isBlobURL)(e.url)&amp;&amp;(e.type=(0,Kk.getBlobTypeByURL)(e.url));let t;if(e.media_type)e.media_type===Qt?t=Qt:t=Cr;else if(e.type&amp;&amp;(e.type===Qt||e.type===Cr))t=e.type;else return;return{url:e.url||e.src,id:e.id,alt:e?.alt,backgroundType:t,...t===Cr?{hasParallax:void 0}:{}}}function Ya(e){return!e||e===&quot;center center&quot;||e===&quot;center&quot;}function Nn(e){return Ya(e)?&quot;&quot;:o0e[e]}var se=o(v(),1);function zs(e){return e?{backgroundImage:`url(${e})`}:{}}function qp(e){return e===0||e===50||!e?null:&quot;has-background-dim-&quot;+10*Math.round(e/10)}function Jk(e){return{...e,dimRatio:e.url?e.dimRatio:100}}function sm(e){return e.tagName||(e={...e,tagName:&quot;div&quot;}),{...e}}var Zp={url:{type:&quot;string&quot;},id:{type:&quot;number&quot;},hasParallax:{type:&quot;boolean&quot;,default:!1},dimRatio:{type:&quot;number&quot;,default:50},overlayColor:{type:&quot;string&quot;},customOverlayColor:{type:&quot;string&quot;},backgroundType:{type:&quot;string&quot;,default:&quot;image&quot;},focalPoint:{type:&quot;object&quot;}},Z1={url:{type:&quot;string&quot;},id:{type:&quot;number&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},hasParallax:{type:&quot;boolean&quot;,default:!1},isRepeated:{type:&quot;boolean&quot;,default:!1},dimRatio:{type:&quot;number&quot;,default:100},overlayColor:{type:&quot;string&quot;},customOverlayColor:{type:&quot;string&quot;},backgroundType:{type:&quot;string&quot;,default:&quot;image&quot;},focalPoint:{type:&quot;object&quot;},minHeight:{type:&quot;number&quot;},minHeightUnit:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},contentPosition:{type:&quot;string&quot;},isDark:{type:&quot;boolean&quot;,default:!0},allowedBlocks:{type:&quot;array&quot;},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,!1]}},XI={...Z1,useFeaturedImage:{type:&quot;boolean&quot;,default:!1},tagName:{type:&quot;string&quot;,default:&quot;div&quot;}},n0e={...XI,isUserOverlayColor:{type:&quot;boolean&quot;},sizeSlug:{type:&quot;string&quot;},alt:{type:&quot;string&quot;,default:&quot;&quot;}},Yf={anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:&quot;&gt; .wp-block-cover__image-background, &gt; .wp-block-cover__video-background&quot;,text:!1,background:!1}},JI={...Yf,spacing:{padding:!0,margin:[&quot;top&quot;,&quot;bottom&quot;],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{__experimentalDuotone:&quot;&gt; .wp-block-cover__image-background, &gt; .wp-block-cover__video-background&quot;,heading:!0,text:!0,background:!1,__experimentalSkipSerialization:[&quot;gradients&quot;],enableContrastChecker:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1}},i0e={...JI,shadow:!0,dimensions:{aspectRatio:!0},interactivity:{clientNavigation:!0}},l0e={attributes:n0e,supports:i0e,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k,sizeSlug:_}=e,x=(0,_e.getColorClassName)(&quot;background-color&quot;,d),S=(0,_e.__experimentalGetGradientClass)(r),C=b&amp;&amp;y?`${b}${y}`:b,N=Qt===t,B=Cr===t,D=!(u||p),A={minHeight:C||void 0},H={backgroundColor:x?void 0:i,background:n||void 0},F=s&amp;&amp;D?Qo(s):void 0,z=f?`url(${f})`:void 0,I=Qo(s),R=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),$=w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null,{[`size-${_}`]:_,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p}),j=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:R,style:A}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,x,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;j&amp;&amp;l!==0,&quot;has-background-gradient&quot;:j,[S]:S}),style:H}),!c&amp;&amp;N&amp;&amp;f&amp;&amp;(D?(0,se.jsx)(&quot;img&quot;,{className:$,alt:h,src:f,style:{objectPosition:F},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:F}):(0,se.jsx)(&quot;div&quot;,{role:h?&quot;img&quot;:void 0,&quot;aria-label&quot;:h||void 0,className:$,style:{backgroundPosition:I,backgroundImage:z}})),B&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:F},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:F}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})}},s0e={attributes:XI,supports:JI,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k}=e,_=(0,_e.getColorClassName)(&quot;background-color&quot;,d),x=(0,_e.__experimentalGetGradientClass)(r),S=b&amp;&amp;y?`${b}${y}`:b,C=Qt===t,N=Cr===t,B=!(u||p),D={minHeight:S||void 0},A={backgroundColor:_?void 0:i,background:n||void 0},H=s&amp;&amp;B?Qo(s):void 0,F=f?`url(${f})`:void 0,z=Qo(s),I=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),R=w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null,{&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p}),$=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:I,style:D}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,_,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;$&amp;&amp;l!==0,&quot;has-background-gradient&quot;:$,[x]:x}),style:A}),!c&amp;&amp;C&amp;&amp;f&amp;&amp;(B?(0,se.jsx)(&quot;img&quot;,{className:R,alt:h,src:f,style:{objectPosition:H},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:H}):(0,se.jsx)(&quot;div&quot;,{role:&quot;img&quot;,className:R,style:{backgroundPosition:z,backgroundImage:F}})),N&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:H},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:H}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})}},c0e={attributes:XI,supports:JI,isEligible(e){return(e.customOverlayColor!==void 0||e.overlayColor!==void 0)&amp;&amp;e.isUserOverlayColor===void 0},migrate(e){return{...e,isUserOverlayColor:!0}},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k}=e,_=(0,_e.getColorClassName)(&quot;background-color&quot;,d),x=(0,_e.__experimentalGetGradientClass)(r),S=b&amp;&amp;y?`${b}${y}`:b,C=Qt===t,N=Cr===t,B=!(u||p),D={minHeight:S||void 0},A={backgroundColor:_?void 0:i,background:n||void 0},H=s&amp;&amp;B?Qo(s):void 0,F=f?`url(${f})`:void 0,z=Qo(s),I=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),R=w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null,{&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p}),$=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:I,style:D}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,_,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;$&amp;&amp;l!==0,&quot;has-background-gradient&quot;:$,[x]:x}),style:A}),!c&amp;&amp;C&amp;&amp;f&amp;&amp;(B?(0,se.jsx)(&quot;img&quot;,{className:R,alt:h,src:f,style:{objectPosition:H},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:H}):(0,se.jsx)(&quot;div&quot;,{role:&quot;img&quot;,className:R,style:{backgroundPosition:z,backgroundImage:F}})),N&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:H},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:H}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})}},u0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y}=e,k=(0,_e.getColorClassName)(&quot;background-color&quot;,d),_=(0,_e.__experimentalGetGradientClass)(r),x=b&amp;&amp;y?`${b}${y}`:b,S=Qt===t,C=Cr===t,N=!(u||p),B={minHeight:x||void 0},D={backgroundColor:k?void 0:i,background:n||void 0},A=s&amp;&amp;N?Qo(s):void 0,H=f?`url(${f})`:void 0,F=Qo(s),z=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),I=w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null,{&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p}),R=r||n;return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:z,style:B}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,k,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;R&amp;&amp;l!==0,&quot;has-background-gradient&quot;:R,[_]:_}),style:D}),!c&amp;&amp;S&amp;&amp;f&amp;&amp;(N?(0,se.jsx)(&quot;img&quot;,{className:I,alt:h,src:f,style:{objectPosition:A},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:A}):(0,se.jsx)(&quot;div&quot;,{role:&quot;img&quot;,className:I,style:{backgroundPosition:F,backgroundImage:H}})),C&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:A},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:A}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})},migrate:sm},m0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y}=e,k=(0,_e.getColorClassName)(&quot;background-color&quot;,d),_=(0,_e.__experimentalGetGradientClass)(r),x=b&amp;&amp;y?`${b}${y}`:b,S=Qt===t,C=Cr===t,N=!(u||p),B={...S&amp;&amp;!N&amp;&amp;!c?zs(f):{},minHeight:x||void 0},D={backgroundColor:k?void 0:i,background:n||void 0},A=s&amp;&amp;N?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,H=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),F=r||n;return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:H,style:B}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,k,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;F&amp;&amp;l!==0,&quot;has-background-gradient&quot;:F,[_]:_}),style:D}),!c&amp;&amp;S&amp;&amp;N&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;img&quot;,{className:w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null),alt:h,src:f,style:{objectPosition:A},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:A}),C&amp;&amp;f&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:A},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:A}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})},migrate:sm},p0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:m,overlayColor:p,url:d,alt:f,id:h,minHeight:g,minHeightUnit:b}=e,y=(0,_e.getColorClassName)(&quot;background-color&quot;,p),k=(0,_e.__experimentalGetGradientClass)(r),_=b?`${g}${b}`:g,x=Qt===t,S=Cr===t,C=!(c||m),N={...x&amp;&amp;!C?zs(d):{},minHeight:_||void 0},B={backgroundColor:y?void 0:i,background:n||void 0},D=s&amp;&amp;C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,A=w({&quot;is-light&quot;:!u,&quot;has-parallax&quot;:c,&quot;is-repeated&quot;:m,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),H=r||n;return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:A,style:N}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,y,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:d&amp;&amp;H&amp;&amp;l!==0,&quot;has-background-gradient&quot;:H,[k]:k}),style:B}),x&amp;&amp;C&amp;&amp;d&amp;&amp;(0,se.jsx)(&quot;img&quot;,{className:w(&quot;wp-block-cover__image-background&quot;,h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:D},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:D}),S&amp;&amp;d&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:D},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:D}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})},migrate:sm},d0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:m,overlayColor:p,url:d,alt:f,id:h,minHeight:g,minHeightUnit:b}=e,y=(0,_e.getColorClassName)(&quot;background-color&quot;,p),k=(0,_e.__experimentalGetGradientClass)(r),_=b?`${g}${b}`:g,x=Qt===t,S=Cr===t,C=!(c||m),N={...x&amp;&amp;!C?zs(d):{},minHeight:_||void 0},B={backgroundColor:y?void 0:i,background:n||void 0},D=s&amp;&amp;C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,A=w({&quot;is-light&quot;:!u,&quot;has-parallax&quot;:c,&quot;is-repeated&quot;:m,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a));return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:A,style:N}),children:[(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(y,al(l),&quot;wp-block-cover__gradient-background&quot;,k,{&quot;has-background-dim&quot;:l!==void 0,&quot;has-background-gradient&quot;:r||n,[k]:!d&amp;&amp;k}),style:B}),x&amp;&amp;C&amp;&amp;d&amp;&amp;(0,se.jsx)(&quot;img&quot;,{className:w(&quot;wp-block-cover__image-background&quot;,h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:D},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:D}),S&amp;&amp;d&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:D},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:D}),(0,se.jsx)(&quot;div&quot;,{..._e.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})},migrate:sm},f0e={attributes:{...Zp,isRepeated:{type:&quot;boolean&quot;,default:!1},minHeight:{type:&quot;number&quot;},minHeightUnit:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},contentPosition:{type:&quot;string&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;}},supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:p,alt:d,id:f,minHeight:h,minHeightUnit:g}=e,b=(0,_e.getColorClassName)(&quot;background-color&quot;,m),y=(0,_e.__experimentalGetGradientClass)(r),k=g?`${h}${g}`:h,_=Qt===t,x=Cr===t,S=!(c||u),C={..._&amp;&amp;!S?zs(p):{},backgroundColor:b?void 0:i,background:n&amp;&amp;!p?n:void 0,minHeight:k||void 0},N=s&amp;&amp;S?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,B=w(qp(l),b,{&quot;has-background-dim&quot;:l!==0,&quot;has-parallax&quot;:c,&quot;is-repeated&quot;:u,&quot;has-background-gradient&quot;:r||n,[y]:!p&amp;&amp;y,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a));return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:B,style:C}),children:[p&amp;&amp;(r||n)&amp;&amp;l!==0&amp;&amp;(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__gradient-background&quot;,y),style:n?{background:n}:void 0}),_&amp;&amp;S&amp;&amp;p&amp;&amp;(0,se.jsx)(&quot;img&quot;,{className:w(&quot;wp-block-cover__image-background&quot;,f?`wp-image-${f}`:null),alt:d,src:p,style:{objectPosition:N},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:N}),x&amp;&amp;p&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:{objectPosition:N},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:N}),(0,se.jsx)(&quot;div&quot;,{className:&quot;wp-block-cover__inner-container&quot;,children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},h0e={attributes:{...Zp,isRepeated:{type:&quot;boolean&quot;,default:!1},minHeight:{type:&quot;number&quot;},minHeightUnit:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},contentPosition:{type:&quot;string&quot;}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:p,minHeight:d,minHeightUnit:f}=e,h=(0,_e.getColorClassName)(&quot;background-color&quot;,m),g=(0,_e.__experimentalGetGradientClass)(r),b=f?`${d}${f}`:d,y=Qt===t,k=Cr===t,_=y?zs(p):{},x={};h||(_.backgroundColor=i),n&amp;&amp;!p&amp;&amp;(_.background=n),_.minHeight=b||void 0;let S;s&amp;&amp;(S=`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`,y&amp;&amp;!c&amp;&amp;(_.backgroundPosition=S),k&amp;&amp;(x.objectPosition=S));let C=w(qp(l),h,{&quot;has-background-dim&quot;:l!==0,&quot;has-parallax&quot;:c,&quot;is-repeated&quot;:u,&quot;has-background-gradient&quot;:r||n,[g]:!p&amp;&amp;g,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a));return(0,se.jsxs)(&quot;div&quot;,{..._e.useBlockProps.save({className:C,style:_}),children:[p&amp;&amp;(r||n)&amp;&amp;l!==0&amp;&amp;(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__gradient-background&quot;,g),style:n?{background:n}:void 0}),k&amp;&amp;p&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:&quot;wp-block-cover__video-background&quot;,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:x}),(0,se.jsx)(&quot;div&quot;,{className:&quot;wp-block-cover__inner-container&quot;,children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},g0e={attributes:{...Zp,minHeight:{type:&quot;number&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:a,customOverlayColor:n,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:m}=e,p=(0,_e.getColorClassName)(&quot;background-color&quot;,c),d=(0,_e.__experimentalGetGradientClass)(r),f=t===Qt?zs(u):{};p||(f.backgroundColor=n),l&amp;&amp;!s&amp;&amp;(f.backgroundPosition=`${Math.round(l.x*100)}% ${Math.round(l.y*100)}%`),a&amp;&amp;!u&amp;&amp;(f.background=a),f.minHeight=m||void 0;let h=w(qp(i),p,{&quot;has-background-dim&quot;:i!==0,&quot;has-parallax&quot;:s,&quot;has-background-gradient&quot;:a,[d]:!u&amp;&amp;d});return(0,se.jsxs)(&quot;div&quot;,{className:h,style:f,children:[u&amp;&amp;(r||a)&amp;&amp;i!==0&amp;&amp;(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__gradient-background&quot;,d),style:a?{background:a}:void 0}),Cr===t&amp;&amp;u&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:&quot;wp-block-cover__video-background&quot;,autoPlay:!0,muted:!0,loop:!0,src:u}),(0,se.jsx)(&quot;div&quot;,{className:&quot;wp-block-cover__inner-container&quot;,children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},v0e={attributes:{...Zp,minHeight:{type:&quot;number&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:a,customOverlayColor:n,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:m}=e,p=(0,_e.getColorClassName)(&quot;background-color&quot;,c),d=(0,_e.__experimentalGetGradientClass)(r),f=t===Qt?zs(u):{};p||(f.backgroundColor=n),l&amp;&amp;!s&amp;&amp;(f.backgroundPosition=`${l.x*100}% ${l.y*100}%`),a&amp;&amp;!u&amp;&amp;(f.background=a),f.minHeight=m||void 0;let h=w(qp(i),p,{&quot;has-background-dim&quot;:i!==0,&quot;has-parallax&quot;:s,&quot;has-background-gradient&quot;:a,[d]:!u&amp;&amp;d});return(0,se.jsxs)(&quot;div&quot;,{className:h,style:f,children:[u&amp;&amp;(r||a)&amp;&amp;i!==0&amp;&amp;(0,se.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__gradient-background&quot;,d),style:a?{background:a}:void 0}),Cr===t&amp;&amp;u&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:&quot;wp-block-cover__video-background&quot;,autoPlay:!0,muted:!0,loop:!0,src:u}),(0,se.jsx)(&quot;div&quot;,{className:&quot;wp-block-cover__inner-container&quot;,children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},b0e={attributes:{...Zp,title:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;p&quot;},contentAlign:{type:&quot;string&quot;,default:&quot;center&quot;}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,contentAlign:r,customOverlayColor:a,dimRatio:n,focalPoint:i,hasParallax:l,overlayColor:s,title:c,url:u}=e,m=(0,_e.getColorClassName)(&quot;background-color&quot;,s),p=t===Qt?zs(u):{};m||(p.backgroundColor=a),i&amp;&amp;!l&amp;&amp;(p.backgroundPosition=`${i.x*100}% ${i.y*100}%`);let d=w(qp(n),m,{&quot;has-background-dim&quot;:n!==0,&quot;has-parallax&quot;:l,[`has-${r}-content`]:r!==&quot;center&quot;});return(0,se.jsxs)(&quot;div&quot;,{className:d,style:p,children:[Cr===t&amp;&amp;u&amp;&amp;(0,se.jsx)(&quot;video&quot;,{className:&quot;wp-block-cover__video-background&quot;,autoPlay:!0,muted:!0,loop:!0,src:u}),!_e.RichText.isEmpty(c)&amp;&amp;(0,se.jsx)(_e.RichText.Content,{tagName:&quot;p&quot;,className:&quot;wp-block-cover-text&quot;,value:c})]})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:&quot;div&quot;},{title:r,contentAlign:a,...n}=t;return[n,[(0,Yk.createBlock)(&quot;core/paragraph&quot;,{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:&quot;large&quot;,placeholder:(0,Xk.__)(&quot;Write title\u2026&quot;)})]]}},y0e={attributes:{...Zp,title:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;p&quot;},contentAlign:{type:&quot;string&quot;,default:&quot;center&quot;},align:{type:&quot;string&quot;}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:a,dimRatio:n,align:i,contentAlign:l,overlayColor:s,customOverlayColor:c}=e,u=(0,_e.getColorClassName)(&quot;background-color&quot;,s),m=zs(t);u||(m.backgroundColor=c);let p=w(&quot;wp-block-cover-image&quot;,qp(n),u,{&quot;has-background-dim&quot;:n!==0,&quot;has-parallax&quot;:a,[`has-${l}-content`]:l!==&quot;center&quot;},i?`align${i}`:null);return(0,se.jsx)(&quot;div&quot;,{className:p,style:m,children:!_e.RichText.isEmpty(r)&amp;&amp;(0,se.jsx)(_e.RichText.Content,{tagName:&quot;p&quot;,className:&quot;wp-block-cover-image-text&quot;,value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:&quot;div&quot;},{title:r,contentAlign:a,align:n,...i}=t;return[i,[(0,Yk.createBlock)(&quot;core/paragraph&quot;,{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:&quot;large&quot;,placeholder:(0,Xk.__)(&quot;Write title\u2026&quot;)})]]}},_0e={attributes:{...Zp,title:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;h2&quot;},align:{type:&quot;string&quot;},contentAlign:{type:&quot;string&quot;,default:&quot;center&quot;}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:a,dimRatio:n,align:i}=e,l=zs(t),s=w(&quot;wp-block-cover-image&quot;,qp(n),{&quot;has-background-dim&quot;:n!==0,&quot;has-parallax&quot;:a},i?`align${i}`:null);return(0,se.jsx)(&quot;section&quot;,{className:s,style:l,children:(0,se.jsx)(_e.RichText.Content,{tagName:&quot;h2&quot;,value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:&quot;div&quot;},{title:r,contentAlign:a,align:n,...i}=t;return[i,[(0,Yk.createBlock)(&quot;core/paragraph&quot;,{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:&quot;large&quot;,placeholder:(0,Xk.__)(&quot;Write title\u2026&quot;)})]]}},Jj=[l0e,s0e,c0e,u0e,m0e,p0e,d0e,f0e,h0e,g0e,v0e,b0e,y0e,_0e];var J1=o(Q(),1),jl=o(U(),1),Yp=o(M(),1),c5=o(me(),1),Bo=o(T(),1),pN=o(P(),1),um=o(V(),1),OU=o(Rr(),1),jU=o(xr(),1);var nU=o(U(),1),jt=o(M(),1),iU=o(me(),1),Yo=o(T(),1),po=o(P(),1),eN=o(V(),1),lU=o(Q(),1);var Xf=&quot;full&quot;;var Jf=o(T(),1),tU=o(xr(),1),Xa=o(M(),1),rU=o(Rr(),1),fi=o(P(),1),e5=o(U(),1),oU=o(me(),1),t5=o(V(),1),wa=o(v(),1),eU=[&quot;image&quot;];function aU({poster:e,onChange:t}){let r=(0,e5.useRef)(),[a,n]=(0,e5.useState)(!1),i=(0,oU.useInstanceId)(aU,&quot;block-library-poster-image-description&quot;),{getSettings:l}=(0,t5.useSelect)(Jf.store),{createErrorNotice:s}=(0,t5.useDispatch)(tU.store),c=m=&gt;{l().mediaUpload({allowedTypes:eU,filesList:m,onFileChange:([p])=&gt;{if((0,rU.isBlobURL)(p?.url)){n(!0);return}p&amp;&amp;t(p),n(!1)},onError:p=&gt;{s(p,{id:&quot;poster-image-upload-notice&quot;,type:&quot;snackbar&quot;}),n(!1)},multiple:!1})},u=()=&gt;!e&amp;&amp;a?(0,wa.jsx)(Xa.Spinner,{}):e?(0,fi.__)(&quot;Replace&quot;):(0,fi.__)(&quot;Set poster image&quot;);return(0,wa.jsx)(Jf.MediaUploadCheck,{children:(0,wa.jsxs)(Xa.__experimentalToolsPanelItem,{label:(0,fi.__)(&quot;Poster image&quot;),isShownByDefault:!0,hasValue:()=&gt;!!e,onDeselect:()=&gt;t(void 0),children:[(0,wa.jsx)(Xa.BaseControl.VisualLabel,{children:(0,fi.__)(&quot;Poster image&quot;)}),(0,wa.jsx)(Jf.MediaUpload,{title:(0,fi.__)(&quot;Select poster image&quot;),onSelect:t,allowedTypes:eU,render:({open:m})=&gt;(0,wa.jsxs)(&quot;div&quot;,{className:&quot;block-library-poster-image__container&quot;,children:[e&amp;&amp;(0,wa.jsxs)(Xa.Button,{__next40pxDefaultSize:!0,onClick:m,&quot;aria-haspopup&quot;:&quot;dialog&quot;,&quot;aria-label&quot;:(0,fi.__)(&quot;Edit or replace the poster image.&quot;),className:&quot;block-library-poster-image__preview&quot;,disabled:a,accessibleWhenDisabled:!0,children:[(0,wa.jsx)(&quot;img&quot;,{src:e,alt:(0,fi.__)(&quot;Poster image preview&quot;),className:&quot;block-library-poster-image__preview-image&quot;}),a&amp;&amp;(0,wa.jsx)(Xa.Spinner,{})]}),(0,wa.jsxs)(Xa.__experimentalHStack,{className:w(&quot;block-library-poster-image__actions&quot;,{&quot;block-library-poster-image__actions-select&quot;:!e}),children:[(0,wa.jsx)(Xa.Button,{__next40pxDefaultSize:!0,onClick:m,ref:r,className:&quot;block-library-poster-image__action&quot;,&quot;aria-describedby&quot;:i,&quot;aria-haspopup&quot;:&quot;dialog&quot;,variant:e?void 0:&quot;secondary&quot;,disabled:a,accessibleWhenDisabled:!0,children:u()}),(0,wa.jsx)(&quot;p&quot;,{id:i,hidden:!0,children:e?(0,fi.sprintf)((0,fi.__)(&quot;The current poster image url is %s.&quot;),e):(0,fi.__)(&quot;There is no poster image currently selected.&quot;)}),!!e&amp;&amp;(0,wa.jsx)(Xa.Button,{__next40pxDefaultSize:!0,onClick:()=&gt;{t(void 0),r.current.focus()},className:&quot;block-library-poster-image__action&quot;,disabled:a,accessibleWhenDisabled:!0,children:(0,fi.__)(&quot;Remove&quot;)})]}),(0,wa.jsx)(Xa.DropZone,{onFilesDrop:c})]})})]})})}var r5=aU;var dt=o(v(),1),{cleanEmptyObject:x0e,ResolutionTool:k0e,HTMLElementControl:w0e}=K(Yo.privateApis);function C0e({onChange:e,onUnitChange:t,unit:r=&quot;px&quot;,value:a=&quot;&quot;}){let i=`block-cover-height-input-${(0,iU.useInstanceId)(jt.__experimentalUnitControl)}`,l=r===&quot;px&quot;,[s]=(0,Yo.useSettings)(&quot;spacing.units&quot;),c=(0,jt.__experimentalUseCustomUnits)({availableUnits:s||[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;,&quot;vh&quot;],defaultValues:{px:430,&quot;%&quot;:20,em:20,rem:20,vw:20,vh:50}}),u=d=&gt;{let f=d!==&quot;&quot;?parseFloat(d):void 0;isNaN(f)&amp;&amp;f!==void 0||e(f)},m=(0,nU.useMemo)(()=&gt;{let[d]=(0,jt.__experimentalParseQuantityAndUnitFromRawValue)(a);return[d,r].join(&quot;&quot;)},[r,a]),p=l?Yj:0;return(0,dt.jsx)(jt.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,po.__)(&quot;Minimum height&quot;),id:i,isResetValueOnUnitChange:!0,min:p,onChange:u,onUnitChange:t,units:c,value:m})}function sU({attributes:e,setAttributes:t,clientId:r,setOverlayColor:a,coverRef:n,currentSettings:i,updateDimRatio:l,featuredImage:s}){let{useFeaturedImage:c,id:u,dimRatio:m,focalPoint:p,hasParallax:d,isRepeated:f,minHeight:h,minHeightUnit:g,alt:b,tagName:y,poster:k}=e,{isVideoBackground:_,isImageBackground:x,mediaElement:S,url:C,overlayColor:N}=i,B=e.sizeSlug||Xf,{gradientValue:D,setGradient:A}=(0,Yo.__experimentalUseGradient)(),{getSettings:H}=(0,eN.useSelect)(Yo.store),F=H()?.imageSizes,z=(0,eN.useSelect)(X=&gt;u&amp;&amp;x?X(lU.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,u,{context:&quot;view&quot;}):null,[u,x]),I=c?s:z;function R(X){let te=I?.media_details?.sizes?.[X]?.source_url;if(!te)return null;t({url:te,sizeSlug:X})}let $=F?.filter(({slug:X})=&gt;I?.media_details?.sizes?.[X]?.source_url)?.map(({name:X,slug:te})=&gt;({value:te,label:X})),j=()=&gt;{t({hasParallax:!d,...d?{}:{focalPoint:void 0}})},G=()=&gt;{t({isRepeated:!f})},O=_||x,J=X=&gt;{let[te,ne]=S.current?[S.current.style,&quot;objectPosition&quot;]:[n.current.style,&quot;backgroundPosition&quot;];te[ne]=Qo(X)},ee=(0,Yo.__experimentalUseMultipleOriginColorsAndGradients)(),oe=q();return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(Yo.InspectorControls,{children:(!!C||c)&amp;&amp;(0,dt.jsxs)(jt.__experimentalToolsPanel,{label:(0,po.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({hasParallax:!1,focalPoint:void 0,isRepeated:!1,alt:&quot;&quot;,poster:void 0}),R(Xf)},dropdownMenuProps:oe,children:[x&amp;&amp;(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)(&quot;Fixed background&quot;),isShownByDefault:!0,hasValue:()=&gt;!!d,onDeselect:()=&gt;t({hasParallax:!1,focalPoint:void 0}),children:(0,dt.jsx)(jt.ToggleControl,{label:(0,po.__)(&quot;Fixed background&quot;),checked:!!d,onChange:j})}),(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)(&quot;Repeated background&quot;),isShownByDefault:!0,hasValue:()=&gt;f,onDeselect:()=&gt;t({isRepeated:!1}),children:(0,dt.jsx)(jt.ToggleControl,{label:(0,po.__)(&quot;Repeated background&quot;),checked:f,onChange:G})})]}),O&amp;&amp;(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)(&quot;Focal point&quot;),isShownByDefault:!0,hasValue:()=&gt;!!p,onDeselect:()=&gt;t({focalPoint:void 0}),children:(0,dt.jsx)(jt.FocalPointPicker,{label:(0,po.__)(&quot;Focal point&quot;),url:C,value:p,onDragStart:J,onDrag:J,onChange:X=&gt;t({focalPoint:X})})}),_&amp;&amp;(0,dt.jsx)(r5,{poster:k,onChange:X=&gt;t({poster:X?.url})}),!c&amp;&amp;C&amp;&amp;!_&amp;&amp;(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)(&quot;Alternative text&quot;),isShownByDefault:!0,hasValue:()=&gt;!!b,onDeselect:()=&gt;t({alt:&quot;&quot;}),children:(0,dt.jsx)(jt.TextareaControl,{label:(0,po.__)(&quot;Alternative text&quot;),value:b,onChange:X=&gt;t({alt:X}),help:(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(jt.ExternalLink,{href:(0,po.__)(&quot;https://www.w3.org/WAI/tutorials/images/decision-tree/&quot;),children:(0,po.__)(&quot;Describe the purpose of the image.&quot;)}),(0,dt.jsx)(&quot;br&quot;,{}),(0,po.__)(&quot;Leave empty if decorative.&quot;)]})})}),!!$?.length&amp;&amp;(0,dt.jsx)(k0e,{value:B,onChange:R,options:$,defaultValue:Xf})]})}),ee.hasColorsOrGradients&amp;&amp;(0,dt.jsxs)(Yo.InspectorControls,{group:&quot;color&quot;,children:[(0,dt.jsx)(Yo.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:N.color,gradientValue:D,label:(0,po.__)(&quot;Overlay&quot;),onColorChange:a,onGradientChange:A,isShownByDefault:!0,resetAllFilter:()=&gt;({overlayColor:void 0,customOverlayColor:void 0,gradient:void 0,customGradient:void 0}),clearable:!0}],panelId:r,...ee}),(0,dt.jsx)(jt.__experimentalToolsPanelItem,{hasValue:()=&gt;m===void 0?!1:m!==(C?50:100),label:(0,po.__)(&quot;Overlay opacity&quot;),onDeselect:()=&gt;l(C?50:100),resetAllFilter:()=&gt;({dimRatio:C?50:100}),isShownByDefault:!0,panelId:r,children:(0,dt.jsx)(jt.RangeControl,{label:(0,po.__)(&quot;Overlay opacity&quot;),value:m,onChange:X=&gt;l(X),min:0,max:100,step:10,required:!0,__next40pxDefaultSize:!0})})]}),(0,dt.jsx)(Yo.InspectorControls,{group:&quot;dimensions&quot;,children:(0,dt.jsx)(jt.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,hasValue:()=&gt;!!h,label:(0,po.__)(&quot;Minimum height&quot;),onDeselect:()=&gt;t({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=&gt;({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:r,children:(0,dt.jsx)(C0e,{value:e?.style?.dimensions?.aspectRatio?&quot;&quot;:h,unit:g,onChange:X=&gt;t({minHeight:X,style:x0e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}),onUnitChange:X=&gt;t({minHeightUnit:X})})})}),(0,dt.jsx)(Yo.InspectorControls,{group:&quot;advanced&quot;,children:(0,dt.jsx)(w0e,{tagName:y,onChange:X=&gt;t({tagName:X}),clientId:r,options:[{label:(0,po.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;header&gt;&quot;,value:&quot;header&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;article&gt;&quot;,value:&quot;article&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;},{label:&quot;&lt;footer&gt;&quot;,value:&quot;footer&quot;}]})})]})}var o5=o(U(),1),Ol=o(T(),1),K1=o(P(),1),dU=o(M(),1);var tN=o(U(),1),cm=o(M(),1),Kp=o(P(),1);var cU=o(W(),1);var S0e=&quot;core/embed&quot;,T0e=[&quot;youtube&quot;,&quot;vimeo&quot;,&quot;videopress&quot;,&quot;animoto&quot;,&quot;tiktok&quot;,&quot;wordpress-tv&quot;];function uU(e){return e?P0e(e)!==null:!1}function P0e(e){let t=(0,cU.getBlockVariations)(S0e);if(!t)return null;let r=t.find(({patterns:a})=&gt;eI(e,a));return!r||!T0e.includes(r.name)?null:r}function mU(e){let t=e?.match(/src=[&quot;&#039;]([^&quot;&#039;]+)[&quot;&#039;]/);if(!t)return null;let r=t[1],a=I0e(r);return e.replace(r,a)}function B0e(e){if(!e)return null;let t=e.toLowerCase();return t.includes(&quot;youtube.com&quot;)||t.includes(&quot;youtu.be&quot;)?&quot;youtube&quot;:t.includes(&quot;vimeo.com&quot;)?&quot;vimeo&quot;:t.includes(&quot;videopress.com&quot;)?&quot;videopress&quot;:t.includes(&quot;animoto.com&quot;)?&quot;animoto&quot;:t.includes(&quot;tiktok.com&quot;)?&quot;tiktok&quot;:t.includes(&quot;wordpress.tv&quot;)?&quot;wordpress-tv&quot;:null}function I0e(e){if(!e)return e;try{let t=new URL(e);switch(B0e(e)){case&quot;youtube&quot;:t.searchParams.set(&quot;autoplay&quot;,&quot;1&quot;),t.searchParams.set(&quot;mute&quot;,&quot;1&quot;),t.searchParams.set(&quot;loop&quot;,&quot;1&quot;),t.searchParams.set(&quot;controls&quot;,&quot;0&quot;),t.searchParams.set(&quot;showinfo&quot;,&quot;0&quot;),t.searchParams.set(&quot;modestbranding&quot;,&quot;1&quot;),t.searchParams.set(&quot;playsinline&quot;,&quot;1&quot;),t.searchParams.set(&quot;rel&quot;,&quot;0&quot;);let a=t.pathname.split(&quot;/&quot;).pop();a&amp;&amp;t.searchParams.set(&quot;playlist&quot;,a);break;case&quot;vimeo&quot;:t.searchParams.set(&quot;autoplay&quot;,&quot;1&quot;),t.searchParams.set(&quot;muted&quot;,&quot;1&quot;),t.searchParams.set(&quot;loop&quot;,&quot;1&quot;),t.searchParams.set(&quot;background&quot;,&quot;1&quot;),t.searchParams.set(&quot;controls&quot;,&quot;0&quot;);break;case&quot;videopress&quot;:case&quot;wordpress-tv&quot;:t.searchParams.set(&quot;autoplay&quot;,&quot;1&quot;),t.searchParams.set(&quot;loop&quot;,&quot;1&quot;),t.searchParams.set(&quot;muted&quot;,&quot;1&quot;);break;default:t.searchParams.set(&quot;autoplay&quot;,&quot;1&quot;),t.searchParams.set(&quot;muted&quot;,&quot;1&quot;),t.searchParams.set(&quot;loop&quot;,&quot;1&quot;);break}return t.toString()}catch{return e}}var eh=o(v(),1);function pU({onSubmit:e,onClose:t,initialUrl:r=&quot;&quot;}){let[a,n]=(0,tN.useState)(r),[i,l]=(0,tN.useState)(&quot;&quot;);return(0,eh.jsx)(cm.__experimentalConfirmDialog,{isOpen:!0,onConfirm:()=&gt;{if(!a){l((0,Kp.__)(&quot;Please enter a URL.&quot;));return}if(!uU(a)){l((0,Kp.__)(&quot;This URL is not supported. Please enter a valid video link from a supported provider.&quot;));return}e(a),t()},onCancel:t,confirmButtonText:(0,Kp.__)(&quot;Add video&quot;),size:&quot;medium&quot;,children:(0,eh.jsxs)(cm.__experimentalVStack,{spacing:4,children:[i&amp;&amp;(0,eh.jsx)(cm.Notice,{status:&quot;error&quot;,isDismissible:!1,children:i}),(0,eh.jsx)(cm.TextControl,{type:&quot;url&quot;,__next40pxDefaultSize:!0,label:(0,Kp.__)(&quot;Video URL&quot;),value:a,onChange:c=&gt;{n(c),l(&quot;&quot;)},placeholder:(0,Kp.__)(&quot;Enter YouTube, Vimeo, or other video URL&quot;),help:(0,Kp.__)(&quot;Add a background video to the cover block that will autoplay in a loop.&quot;)})]})})}var nl=o(v(),1),{cleanEmptyObject:N0e}=K(Ol.privateApis);function fU({attributes:e,setAttributes:t,onSelectMedia:r,currentSettings:a,toggleUseFeaturedImage:n,onClearMedia:i,onSelectEmbedUrl:l,blockEditingMode:s}){let{contentPosition:c,id:u,useFeaturedImage:m,minHeight:p,minHeightUnit:d,backgroundType:f}=e,{hasInnerBlocks:h,url:g}=a,[b,y]=(0,o5.useState)(p),[k,_]=(0,o5.useState)(d),[x,S]=(0,o5.useState)(!1),C=d===&quot;vh&quot;&amp;&amp;p===100&amp;&amp;!e?.style?.dimensions?.aspectRatio,N=s===&quot;contentOnly&quot;,B=()=&gt;C?t(k===&quot;vh&quot;&amp;&amp;b===100?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:b,minHeightUnit:k}):(y(p),_(d),t({minHeight:100,minHeightUnit:&quot;vh&quot;,style:N0e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}));return(0,nl.jsxs)(nl.Fragment,{children:[!N&amp;&amp;(0,nl.jsxs)(Ol.BlockControls,{group:&quot;block&quot;,children:[(0,nl.jsx)(Ol.__experimentalBlockAlignmentMatrixControl,{label:(0,K1.__)(&quot;Change content position&quot;),value:c,onChange:D=&gt;t({contentPosition:D}),isDisabled:!h}),(0,nl.jsx)(Ol.__experimentalBlockFullHeightAligmentControl,{isActive:C,onToggle:B,isDisabled:!h})]}),(0,nl.jsx)(Ol.BlockControls,{group:&quot;other&quot;,children:(0,nl.jsx)(Ol.MediaReplaceFlow,{mediaId:u,mediaURL:g,allowedTypes:Qk,onSelect:r,onToggleFeaturedImage:n,useFeaturedImage:m,name:g?(0,K1.__)(&quot;Replace&quot;):(0,K1.__)(&quot;Add media&quot;),onReset:i,variant:&quot;toolbar&quot;,children:({onClose:D})=&gt;(0,nl.jsx)(dU.MenuItem,{icon:ii,onClick:()=&gt;{S(!0),D()},children:(0,K1.__)(&quot;Embed video from URL&quot;)})})}),x&amp;&amp;(0,nl.jsx)(pU,{onSubmit:D=&gt;{l(D)},onClose:()=&gt;S(!1),initialUrl:f===Kc?g:&quot;&quot;})]})}var a5=o(T(),1),hU=o(P(),1);var rN=o(v(),1);function oN({disableMediaButtons:e=!1,children:t,onSelectMedia:r,onError:a,style:n,toggleUseFeaturedImage:i}){return(0,rN.jsx)(a5.MediaPlaceholder,{icon:(0,rN.jsx)(a5.BlockIcon,{icon:xp}),labels:{title:(0,hU.__)(&quot;Cover&quot;)},onSelect:r,allowedTypes:Qk,disableMediaButtons:e,onToggleFeaturedImage:i,onError:a,style:n,children:t})}var gU=o(U(),1),vU=o(T(),1);var bU=o(v(),1),E0e={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},{ResizableBoxPopover:D0e}=K(vU.privateApis);function aN({className:e,height:t,minHeight:r,onResize:a,onResizeStart:n,onResizeStop:i,showHandle:l,size:s,width:c,...u}){let[m,p]=(0,gU.useState)(!1),d={className:w(e,{&quot;is-resizing&quot;:m}),enable:E0e,onResizeStart:(f,h,g)=&gt;{n(g.clientHeight),a(g.clientHeight)},onResize:(f,h,g)=&gt;{a(g.clientHeight),m||p(!0)},onResizeStop:(f,h,g)=&gt;{i(g.clientHeight),p(!1)},showHandle:l,size:s,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:&quot;y&quot;,position:&quot;bottom&quot;,isVisible:m}};return(0,bU.jsx)(D0e,{className:&quot;block-library-cover__resizable-box-popover&quot;,resizableBoxProps:d,...u})}var L0e={grad:.9,turn:360,rad:360/(2*Math.PI)},Qc=function(e){return typeof e==&quot;string&quot;?e.length&gt;0:typeof e==&quot;number&quot;},Po=function(e,t,r){return t===void 0&amp;&amp;(t=0),r===void 0&amp;&amp;(r=Math.pow(10,t)),Math.round(r*e)/r+0},il=function(e,t,r){return t===void 0&amp;&amp;(t=0),r===void 0&amp;&amp;(r=1),e&gt;r?r:e&gt;t?e:t},TU=function(e){return(e=isFinite(e)?e%360:0)&gt;0?e:e+360},yU=function(e){return{r:il(e.r,0,255),g:il(e.g,0,255),b:il(e.b,0,255),a:il(e.a)}},nN=function(e){return{r:Po(e.r),g:Po(e.g),b:Po(e.b),a:Po(e.a,3)}},M0e=/^#([0-9a-f]{3,8})$/i,n5=function(e){var t=e.toString(16);return t.length&lt;2?&quot;0&quot;+t:t},PU=function(e){var t=e.r,r=e.g,a=e.b,n=e.a,i=Math.max(t,r,a),l=i-Math.min(t,r,a),s=l?i===t?(r-a)/l:i===r?2+(a-t)/l:4+(t-r)/l:0;return{h:60*(s&lt;0?s+6:s),s:i?l/i*100:0,v:i/255*100,a:n}},BU=function(e){var t=e.h,r=e.s,a=e.v,n=e.a;t=t/360*6,r/=100,a/=100;var i=Math.floor(t),l=a*(1-r),s=a*(1-(t-i)*r),c=a*(1-(1-t+i)*r),u=i%6;return{r:255*[a,s,l,l,c,a][u],g:255*[c,a,a,s,l,l][u],b:255*[l,l,c,a,a,s][u],a:n}},_U=function(e){return{h:TU(e.h),s:il(e.s,0,100),l:il(e.l,0,100),a:il(e.a)}},xU=function(e){return{h:Po(e.h),s:Po(e.s),l:Po(e.l),a:Po(e.a,3)}},kU=function(e){return BU((r=(t=e).s,{h:t.h,s:(r*=((a=t.l)&lt;50?a:100-a)/100)&gt;0?2*r/(a+r)*100:0,v:a+r,a:t.a}));var t,r,a},Q1=function(e){return{h:(t=PU(e)).h,s:(n=(200-(r=t.s))*(a=t.v)/100)&gt;0&amp;&amp;n&lt;200?r*a/100/(n&lt;=100?n:200-n)*100:0,l:n/2,a:t.a};var t,r,a,n},A0e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,R0e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z0e=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,V0e=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,sN={string:[[function(e){var t=M0e.exec(e);return t?(e=t[1]).length&lt;=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Po(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Po(parseInt(e.substr(6,2),16)/255,2):1}:null:null},&quot;hex&quot;],[function(e){var t=z0e.exec(e)||V0e.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:yU({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},&quot;rgb&quot;],[function(e){var t=A0e.exec(e)||R0e.exec(e);if(!t)return null;var r,a,n=_U({h:(r=t[1],a=t[2],a===void 0&amp;&amp;(a=&quot;deg&quot;),Number(r)*(L0e[a]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return kU(n)},&quot;hsl&quot;]],object:[[function(e){var t=e.r,r=e.g,a=e.b,n=e.a,i=n===void 0?1:n;return Qc(t)&amp;&amp;Qc(r)&amp;&amp;Qc(a)?yU({r:Number(t),g:Number(r),b:Number(a),a:Number(i)}):null},&quot;rgb&quot;],[function(e){var t=e.h,r=e.s,a=e.l,n=e.a,i=n===void 0?1:n;if(!Qc(t)||!Qc(r)||!Qc(a))return null;var l=_U({h:Number(t),s:Number(r),l:Number(a),a:Number(i)});return kU(l)},&quot;hsl&quot;],[function(e){var t=e.h,r=e.s,a=e.v,n=e.a,i=n===void 0?1:n;if(!Qc(t)||!Qc(r)||!Qc(a))return null;var l=(function(s){return{h:TU(s.h),s:il(s.s,0,100),v:il(s.v,0,100),a:il(s.a)}})({h:Number(t),s:Number(r),v:Number(a),a:Number(i)});return BU(l)},&quot;hsv&quot;]]},wU=function(e,t){for(var r=0;r&lt;t.length;r++){var a=t[r][0](e);if(a)return[a,t[r][1]]}return[null,void 0]},F0e=function(e){return typeof e==&quot;string&quot;?wU(e.trim(),sN.string):typeof e==&quot;object&quot;&amp;&amp;e!==null?wU(e,sN.object):[null,void 0]};var iN=function(e,t){var r=Q1(e);return{h:r.h,s:il(r.s+100*t,0,100),l:r.l,a:r.a}},lN=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},CU=function(e,t){var r=Q1(e);return{h:r.h,s:r.s,l:il(r.l+100*t,0,100),a:r.a}},cN=(function(){function e(t){this.parsed=F0e(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Po(lN(this.rgba),2)},e.prototype.isDark=function(){return lN(this.rgba)&lt;.5},e.prototype.isLight=function(){return lN(this.rgba)&gt;=.5},e.prototype.toHex=function(){return t=nN(this.rgba),r=t.r,a=t.g,n=t.b,l=(i=t.a)&lt;1?n5(Po(255*i)):&quot;&quot;,&quot;#&quot;+n5(r)+n5(a)+n5(n)+l;var t,r,a,n,i,l},e.prototype.toRgb=function(){return nN(this.rgba)},e.prototype.toRgbString=function(){return t=nN(this.rgba),r=t.r,a=t.g,n=t.b,(i=t.a)&lt;1?&quot;rgba(&quot;+r+&quot;, &quot;+a+&quot;, &quot;+n+&quot;, &quot;+i+&quot;)&quot;:&quot;rgb(&quot;+r+&quot;, &quot;+a+&quot;, &quot;+n+&quot;)&quot;;var t,r,a,n,i},e.prototype.toHsl=function(){return xU(Q1(this.rgba))},e.prototype.toHslString=function(){return t=xU(Q1(this.rgba)),r=t.h,a=t.s,n=t.l,(i=t.a)&lt;1?&quot;hsla(&quot;+r+&quot;, &quot;+a+&quot;%, &quot;+n+&quot;%, &quot;+i+&quot;)&quot;:&quot;hsl(&quot;+r+&quot;, &quot;+a+&quot;%, &quot;+n+&quot;%)&quot;;var t,r,a,n,i},e.prototype.toHsv=function(){return t=PU(this.rgba),{h:Po(t.h),s:Po(t.s),v:Po(t.v),a:Po(t.a,3)};var t},e.prototype.invert=function(){return Ja({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&amp;&amp;(t=.1),Ja(iN(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&amp;&amp;(t=.1),Ja(iN(this.rgba,-t))},e.prototype.grayscale=function(){return Ja(iN(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&amp;&amp;(t=.1),Ja(CU(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&amp;&amp;(t=.1),Ja(CU(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&amp;&amp;(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t==&quot;number&quot;?Ja({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Po(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Q1(this.rgba);return typeof t==&quot;number&quot;?Ja({h:t,s:r.s,l:r.l,a:r.a}):Po(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Ja(t).toHex()},e})(),Ja=function(e){return e instanceof cN?e:new cN(e)},SU=[],IU=function(e){e.forEach(function(t){SU.indexOf(t)&lt;0&amp;&amp;(t(cN,sN),SU.push(t))})};function NU(e,t){var r={white:&quot;#ffffff&quot;,bisque:&quot;#ffe4c4&quot;,blue:&quot;#0000ff&quot;,cadetblue:&quot;#5f9ea0&quot;,chartreuse:&quot;#7fff00&quot;,chocolate:&quot;#d2691e&quot;,coral:&quot;#ff7f50&quot;,antiquewhite:&quot;#faebd7&quot;,aqua:&quot;#00ffff&quot;,azure:&quot;#f0ffff&quot;,whitesmoke:&quot;#f5f5f5&quot;,papayawhip:&quot;#ffefd5&quot;,plum:&quot;#dda0dd&quot;,blanchedalmond:&quot;#ffebcd&quot;,black:&quot;#000000&quot;,gold:&quot;#ffd700&quot;,goldenrod:&quot;#daa520&quot;,gainsboro:&quot;#dcdcdc&quot;,cornsilk:&quot;#fff8dc&quot;,cornflowerblue:&quot;#6495ed&quot;,burlywood:&quot;#deb887&quot;,aquamarine:&quot;#7fffd4&quot;,beige:&quot;#f5f5dc&quot;,crimson:&quot;#dc143c&quot;,cyan:&quot;#00ffff&quot;,darkblue:&quot;#00008b&quot;,darkcyan:&quot;#008b8b&quot;,darkgoldenrod:&quot;#b8860b&quot;,darkkhaki:&quot;#bdb76b&quot;,darkgray:&quot;#a9a9a9&quot;,darkgreen:&quot;#006400&quot;,darkgrey:&quot;#a9a9a9&quot;,peachpuff:&quot;#ffdab9&quot;,darkmagenta:&quot;#8b008b&quot;,darkred:&quot;#8b0000&quot;,darkorchid:&quot;#9932cc&quot;,darkorange:&quot;#ff8c00&quot;,darkslateblue:&quot;#483d8b&quot;,gray:&quot;#808080&quot;,darkslategray:&quot;#2f4f4f&quot;,darkslategrey:&quot;#2f4f4f&quot;,deeppink:&quot;#ff1493&quot;,deepskyblue:&quot;#00bfff&quot;,wheat:&quot;#f5deb3&quot;,firebrick:&quot;#b22222&quot;,floralwhite:&quot;#fffaf0&quot;,ghostwhite:&quot;#f8f8ff&quot;,darkviolet:&quot;#9400d3&quot;,magenta:&quot;#ff00ff&quot;,green:&quot;#008000&quot;,dodgerblue:&quot;#1e90ff&quot;,grey:&quot;#808080&quot;,honeydew:&quot;#f0fff0&quot;,hotpink:&quot;#ff69b4&quot;,blueviolet:&quot;#8a2be2&quot;,forestgreen:&quot;#228b22&quot;,lawngreen:&quot;#7cfc00&quot;,indianred:&quot;#cd5c5c&quot;,indigo:&quot;#4b0082&quot;,fuchsia:&quot;#ff00ff&quot;,brown:&quot;#a52a2a&quot;,maroon:&quot;#800000&quot;,mediumblue:&quot;#0000cd&quot;,lightcoral:&quot;#f08080&quot;,darkturquoise:&quot;#00ced1&quot;,lightcyan:&quot;#e0ffff&quot;,ivory:&quot;#fffff0&quot;,lightyellow:&quot;#ffffe0&quot;,lightsalmon:&quot;#ffa07a&quot;,lightseagreen:&quot;#20b2aa&quot;,linen:&quot;#faf0e6&quot;,mediumaquamarine:&quot;#66cdaa&quot;,lemonchiffon:&quot;#fffacd&quot;,lime:&quot;#00ff00&quot;,khaki:&quot;#f0e68c&quot;,mediumseagreen:&quot;#3cb371&quot;,limegreen:&quot;#32cd32&quot;,mediumspringgreen:&quot;#00fa9a&quot;,lightskyblue:&quot;#87cefa&quot;,lightblue:&quot;#add8e6&quot;,midnightblue:&quot;#191970&quot;,lightpink:&quot;#ffb6c1&quot;,mistyrose:&quot;#ffe4e1&quot;,moccasin:&quot;#ffe4b5&quot;,mintcream:&quot;#f5fffa&quot;,lightslategray:&quot;#778899&quot;,lightslategrey:&quot;#778899&quot;,navajowhite:&quot;#ffdead&quot;,navy:&quot;#000080&quot;,mediumvioletred:&quot;#c71585&quot;,powderblue:&quot;#b0e0e6&quot;,palegoldenrod:&quot;#eee8aa&quot;,oldlace:&quot;#fdf5e6&quot;,paleturquoise:&quot;#afeeee&quot;,mediumturquoise:&quot;#48d1cc&quot;,mediumorchid:&quot;#ba55d3&quot;,rebeccapurple:&quot;#663399&quot;,lightsteelblue:&quot;#b0c4de&quot;,mediumslateblue:&quot;#7b68ee&quot;,thistle:&quot;#d8bfd8&quot;,tan:&quot;#d2b48c&quot;,orchid:&quot;#da70d6&quot;,mediumpurple:&quot;#9370db&quot;,purple:&quot;#800080&quot;,pink:&quot;#ffc0cb&quot;,skyblue:&quot;#87ceeb&quot;,springgreen:&quot;#00ff7f&quot;,palegreen:&quot;#98fb98&quot;,red:&quot;#ff0000&quot;,yellow:&quot;#ffff00&quot;,slateblue:&quot;#6a5acd&quot;,lavenderblush:&quot;#fff0f5&quot;,peru:&quot;#cd853f&quot;,palevioletred:&quot;#db7093&quot;,violet:&quot;#ee82ee&quot;,teal:&quot;#008080&quot;,slategray:&quot;#708090&quot;,slategrey:&quot;#708090&quot;,aliceblue:&quot;#f0f8ff&quot;,darkseagreen:&quot;#8fbc8f&quot;,darkolivegreen:&quot;#556b2f&quot;,greenyellow:&quot;#adff2f&quot;,seagreen:&quot;#2e8b57&quot;,seashell:&quot;#fff5ee&quot;,tomato:&quot;#ff6347&quot;,silver:&quot;#c0c0c0&quot;,sienna:&quot;#a0522d&quot;,lavender:&quot;#e6e6fa&quot;,lightgreen:&quot;#90ee90&quot;,orange:&quot;#ffa500&quot;,orangered:&quot;#ff4500&quot;,steelblue:&quot;#4682b4&quot;,royalblue:&quot;#4169e1&quot;,turquoise:&quot;#40e0d0&quot;,yellowgreen:&quot;#9acd32&quot;,salmon:&quot;#fa8072&quot;,saddlebrown:&quot;#8b4513&quot;,sandybrown:&quot;#f4a460&quot;,rosybrown:&quot;#bc8f8f&quot;,darksalmon:&quot;#e9967a&quot;,lightgoldenrodyellow:&quot;#fafad2&quot;,snow:&quot;#fffafa&quot;,lightgrey:&quot;#d3d3d3&quot;,lightgray:&quot;#d3d3d3&quot;,dimgray:&quot;#696969&quot;,dimgrey:&quot;#696969&quot;,olivedrab:&quot;#6b8e23&quot;,olive:&quot;#808000&quot;},a={};for(var n in r)a[r[n]]=n;var i={};e.prototype.toName=function(l){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return&quot;transparent&quot;;var s,c,u=a[this.toHex()];if(u)return u;if(l?.closest){var m=this.toRgb(),p=1/0,d=&quot;black&quot;;if(!i.length)for(var f in r)i[f]=new e(r[f]).toRgb();for(var h in r){var g=(s=m,c=i[h],Math.pow(s.r-c.r,2)+Math.pow(s.g-c.g,2)+Math.pow(s.b-c.b,2));g&lt;p&amp;&amp;(p=g,d=h)}return d}},t.string.push([function(l){var s=l.toLowerCase(),c=s===&quot;transparent&quot;?&quot;#0000&quot;:r[s];return c?new e(c).toRgb():null},&quot;name&quot;])}function H0e(e){var t=e.toString(16);return t.length===1?&quot;0&quot;+t:t}function EU(e){return&quot;#&quot;+e.map(H0e).join(&quot;&quot;)}function O0e(e){var t=(e[0]*299+e[1]*587+e[2]*114)/1e3;return t&lt;128}function j0e(e){return e?U0e(e)?e:[e]:[]}function U0e(e){return Array.isArray(e[0])}function mN(e,t,r){for(var a=0;a&lt;r.length;a++)if(G0e(e,t,r[a]))return!0;return!1}function G0e(e,t,r){switch(r.length){case 3:if(W0e(e,t,r))return!0;break;case 4:if($0e(e,t,r))return!0;break;case 5:if(q0e(e,t,r))return!0;break;default:return!1}}function W0e(e,t,r){return e[t+3]!==255||e[t]===r[0]&amp;&amp;e[t+1]===r[1]&amp;&amp;e[t+2]===r[2]}function $0e(e,t,r){return e[t+3]&amp;&amp;r[3]?e[t]===r[0]&amp;&amp;e[t+1]===r[1]&amp;&amp;e[t+2]===r[2]&amp;&amp;e[t+3]===r[3]:e[t+3]===r[3]}function i5(e,t,r){return e&gt;=t-r&amp;&amp;e&lt;=t+r}function q0e(e,t,r){var a=r[0],n=r[1],i=r[2],l=r[3],s=r[4],c=e[t+3],u=i5(c,l,s);return l?!!(!c&amp;&amp;u||i5(e[t],a,s)&amp;&amp;i5(e[t+1],n,s)&amp;&amp;i5(e[t+2],i,s)&amp;&amp;u):u}function Z0e(e,t,r){for(var a={},n=24,i=r.ignoredColor,l=r.step,s=[0,0,0,0,0],c=0;c&lt;t;c+=l){var u=e[c],m=e[c+1],p=e[c+2],d=e[c+3];if(!(i&amp;&amp;mN(e,c,i))){var f=Math.round(u/n)+&quot;,&quot;+Math.round(m/n)+&quot;,&quot;+Math.round(p/n);a[f]?a[f]=[a[f][0]+u*d,a[f][1]+m*d,a[f][2]+p*d,a[f][3]+d,a[f][4]+1]:a[f]=[u*d,m*d,p*d,d,1],s[4]&lt;a[f][4]&amp;&amp;(s=a[f])}}var h=s[0],g=s[1],b=s[2],y=s[3],k=s[4];return y?[Math.round(h/y),Math.round(g/y),Math.round(b/y),Math.round(y/k)]:r.defaultColor}function K0e(e,t,r){for(var a=0,n=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,m=0;m&lt;t;m+=u){var p=e[m+3],d=e[m]*p,f=e[m+1]*p,h=e[m+2]*p;c&amp;&amp;mN(e,m,c)||(a+=d,n+=f,i+=h,l+=p,s++)}return l?[Math.round(a/l),Math.round(n/l),Math.round(i/l),Math.round(l/s)]:r.defaultColor}function Q0e(e,t,r){for(var a=0,n=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,m=0;m&lt;t;m+=u){var p=e[m],d=e[m+1],f=e[m+2],h=e[m+3];c&amp;&amp;mN(e,m,c)||(a+=p*p*h,n+=d*d*h,i+=f*f*h,l+=h,s++)}return l?[Math.round(Math.sqrt(a/l)),Math.round(Math.sqrt(n/l)),Math.round(Math.sqrt(i/l)),Math.round(l/s)]:r.defaultColor}function DU(e){return X1(e,&quot;defaultColor&quot;,[0,0,0,0])}function X1(e,t,r){return e[t]===void 0?r:e[t]}var LU=10,uN=100;function Y0e(e){return e.search(/\.svg(\?|$)/i)!==-1}function X0e(e){if(AU(e)){var t=e.naturalWidth,r=e.naturalHeight;return!e.naturalWidth&amp;&amp;Y0e(e.src)&amp;&amp;(t=r=uN),{width:t,height:r}}return e1e(e)?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function MU(e){return t1e(e)?&quot;canvas&quot;:J0e(e)?&quot;offscreencanvas&quot;:r1e(e)?&quot;imagebitmap&quot;:e.src}function AU(e){return typeof HTMLImageElement&lt;&quot;u&quot;&amp;&amp;e instanceof HTMLImageElement}function J0e(e){return typeof OffscreenCanvas&lt;&quot;u&quot;&amp;&amp;e instanceof OffscreenCanvas}function e1e(e){return typeof HTMLVideoElement&lt;&quot;u&quot;&amp;&amp;e instanceof HTMLVideoElement}function t1e(e){return typeof HTMLCanvasElement&lt;&quot;u&quot;&amp;&amp;e instanceof HTMLCanvasElement}function r1e(e){return typeof ImageBitmap&lt;&quot;u&quot;&amp;&amp;e instanceof ImageBitmap}function o1e(e,t){var r=X1(t,&quot;left&quot;,0),a=X1(t,&quot;top&quot;,0),n=X1(t,&quot;width&quot;,e.width),i=X1(t,&quot;height&quot;,e.height),l=n,s=i;if(t.mode===&quot;precision&quot;)return{srcLeft:r,srcTop:a,srcWidth:n,srcHeight:i,destWidth:l,destHeight:s};var c;return n&gt;i?(c=n/i,l=uN,s=Math.round(l/c)):(c=i/n,s=uN,l=Math.round(s/c)),(l&gt;n||s&gt;i||l&lt;LU||s&lt;LU)&amp;&amp;(l=n,s=i),{srcLeft:r,srcTop:a,srcWidth:n,srcHeight:i,destWidth:l,destHeight:s}}var a1e=typeof window&gt;&quot;u&quot;;function n1e(){return a1e?new OffscreenCanvas(1,1):document.createElement(&quot;canvas&quot;)}var RU=&quot;FastAverageColor: &quot;;function l5(e,t,r){t||(console.error(RU+e),r&amp;&amp;console.error(r))}function Y1(e){return Error(RU+e)}var zU=(function(){function e(){this.canvas=null,this.ctx=null}return e.prototype.getColorAsync=function(t,r){if(!t)return Promise.reject(Y1(&quot;call .getColorAsync() without resource.&quot;));if(typeof t==&quot;string&quot;){if(typeof Image&gt;&quot;u&quot;)return Promise.reject(Y1(&quot;resource as string is not supported in this environment&quot;));var a=new Image;return a.crossOrigin=r&amp;&amp;r.crossOrigin||&quot;&quot;,a.src=t,this.bindImageEvents(a,r)}else{if(AU(t)&amp;&amp;!t.complete)return this.bindImageEvents(t,r);var n=this.getColor(t,r);return n.error?Promise.reject(n.error):Promise.resolve(n)}},e.prototype.getColor=function(t,r){r=r||{};var a=DU(r);if(!t)return l5(&quot;call .getColor(null) without resource&quot;,r.silent),this.prepareResult(a);var n=X0e(t),i=o1e(n,r);if(!i.srcWidth||!i.srcHeight||!i.destWidth||!i.destHeight)return l5(&#039;incorrect sizes for resource &quot;&#039;.concat(MU(t),&#039;&quot;&#039;),r.silent),this.prepareResult(a);if(this.canvas||(this.canvas=n1e()),!this.ctx&amp;&amp;(this.ctx=this.canvas.getContext&amp;&amp;this.canvas.getContext(&quot;2d&quot;),!this.ctx))return l5(&quot;Canvas Context 2D is not supported in this browser&quot;,r.silent),this.prepareResult(a);this.canvas.width=i.destWidth,this.canvas.height=i.destHeight;var l=a;try{this.ctx.clearRect(0,0,i.destWidth,i.destHeight),this.ctx.drawImage(t,i.srcLeft,i.srcTop,i.srcWidth,i.srcHeight,0,0,i.destWidth,i.destHeight);var s=this.ctx.getImageData(0,0,i.destWidth,i.destHeight).data;l=this.getColorFromArray4(s,r)}catch(c){l5(&quot;security error (CORS) for resource &quot;.concat(MU(t),`.
Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`),r.silent,c)}return this.prepareResult(l)},e.prototype.getColorFromArray4=function(t,r){r=r||{};var a=4,n=t.length,i=DU(r);if(n&lt;a)return i;var l=n-n%a,s=(r.step||1)*a,c;switch(r.algorithm||&quot;sqrt&quot;){case&quot;simple&quot;:c=K0e;break;case&quot;sqrt&quot;:c=Q0e;break;case&quot;dominant&quot;:c=Z0e;break;default:throw Y1(&quot;&quot;.concat(r.algorithm,&quot; is unknown algorithm&quot;))}return c(t,l,{defaultColor:i,ignoredColor:j0e(r.ignoredColor),step:s})},e.prototype.prepareResult=function(t){var r=t.slice(0,3),a=[t[0],t[1],t[2],t[3]/255],n=O0e(t);return{value:[t[0],t[1],t[2],t[3]],rgb:&quot;rgb(&quot;+r.join(&quot;,&quot;)+&quot;)&quot;,rgba:&quot;rgba(&quot;+a.join(&quot;,&quot;)+&quot;)&quot;,hex:EU(r),hexa:EU(t),isDark:n,isLight:!n}},e.prototype.destroy=function(){this.canvas&amp;&amp;(this.canvas.width=1,this.canvas.height=1,this.canvas=null),this.ctx=null},e.prototype.bindImageEvents=function(t,r){var a=this;return new Promise(function(n,i){var l=function(){u();var m=a.getColor(t,r);m.error?i(m.error):n(m)},s=function(){u(),i(Y1(&#039;Error loading image &quot;&#039;.concat(t.src,&#039;&quot;.&#039;)))},c=function(){u(),i(Y1(&#039;Image &quot;&#039;.concat(t.src,&#039;&quot; loading aborted&#039;)))},u=function(){t.removeEventListener(&quot;load&quot;,l),t.removeEventListener(&quot;error&quot;,s),t.removeEventListener(&quot;abort&quot;,c)};t.addEventListener(&quot;load&quot;,l),t.addEventListener(&quot;error&quot;,s),t.addEventListener(&quot;abort&quot;,c)})},e})();var FU=o(Yc(),1);IU([NU]);var th=&quot;#FFF&quot;,HU=&quot;#000&quot;;function i1e(e,t){return{r:e.r*e.a+t.r*t.a*(1-e.a),g:e.g*e.a+t.g*t.a*(1-e.a),b:e.b*e.a+t.b*t.a*(1-e.a),a:e.a+t.a*(1-e.a)}}function s5(){return s5.fastAverageColor||(s5.fastAverageColor=new zU),s5.fastAverageColor}var rh=Af(async e=&gt;{if(!e)return th;let{r:t,g:r,b:a,a:n}=Ja(th).toRgb();try{let i=(0,FU.applyFilters)(&quot;media.crossOrigin&quot;,void 0,e);return(await s5().getColorAsync(e,{defaultColor:[t,r,a,n*255],silent:!0,crossOrigin:i})).hex}catch{return th}});function Qp(e,t,r){if(t===r||e===100)return Ja(t).isDark();let a=Ja(t).alpha(e/100).toRgb(),n=Ja(r).toRgb(),i=i1e(a,n);return Ja(i).isDark()}var Ut=o(v(),1);function l1e(e){return[[&quot;core/paragraph&quot;,{style:{typography:{textAlign:&quot;center&quot;}},placeholder:(0,pN.__)(&quot;Write title\u2026&quot;),...e}]]}var s1e=(e,t)=&gt;!e&amp;&amp;(0,OU.isBlobURL)(t);function c1e({attributes:e,clientId:t,isSelected:r,overlayColor:a,setAttributes:n,setOverlayColor:i,toggleSelection:l,context:{postId:s,postType:c}}){let{contentPosition:u,id:m,url:p,backgroundType:d,useFeaturedImage:f,dimRatio:h,focalPoint:g,hasParallax:b,isDark:y,isRepeated:k,minHeight:_,minHeightUnit:x,alt:S,allowedBlocks:C,templateLock:N,tagName:B=&quot;div&quot;,isUserOverlayColor:D,sizeSlug:A,poster:H}=e,[F]=(0,J1.useEntityProp)(&quot;postType&quot;,c,&quot;featured_media&quot;,s),{getSettings:z}=(0,um.useSelect)(Bo.store),{__unstableMarkNextChangeAsNotPersistent:I}=(0,um.useDispatch)(Bo.store),R=(0,jl.useRef)({attributes:e,overlayColor:a});(0,jl.useLayoutEffect)(()=&gt;{R.current={attributes:e,overlayColor:a}});let{media:$}=(0,um.useSelect)(Pe=&gt;({media:F&amp;&amp;f?Pe(J1.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,F,{context:&quot;view&quot;}):void 0}),[F,f]),j=$?.media_details?.sizes?.[A]?.source_url??$?.source_url;(0,jl.useEffect)(()=&gt;{(async()=&gt;{if(!f)return;let Pe=await rh(j),{attributes:Ht,overlayColor:qr}=R.current,Co=qr.color;Ht.isUserOverlayColor||(Co=Pe,I(),i(Co));let So=Qp(Ht.dimRatio,Co,Pe);I(),n({isDark:So,isUserOverlayColor:Ht.isUserOverlayColor||!1})})()},[j,I,n,i,f]);let G=f?j:p?.replaceAll(&quot;&amp;amp;&quot;,&quot;&amp;&quot;),O=f?Qt:d,{createErrorNotice:J}=(0,um.useDispatch)(jU.store),{gradientClass:ee,gradientValue:oe}=(0,Bo.__experimentalUseGradient)(),X=async Pe=&gt;{let Ht=Xj(Pe),qr=[Pe?.type,Pe?.media_type].includes(Qt),Co=await rh(qr?Pe?.url:void 0),{attributes:So,overlayColor:Sl}=R.current,qi=Sl.color;So.isUserOverlayColor||(qi=Co,i(qi),I());let Zi=So.url===void 0&amp;&amp;So.dimRatio===100?50:So.dimRatio,vf=Qp(Zi,qi,Co);if(O===Qt&amp;&amp;Ht?.id){let{imageDefaultSize:zc}=z();A&amp;&amp;(Pe?.sizes?.[A]||Pe?.media_details?.sizes?.[A])?(Ht.sizeSlug=A,Ht.url=Pe?.sizes?.[A]?.url||Pe?.media_details?.sizes?.[A]?.source_url):Pe?.sizes?.[zc]||Pe?.media_details?.sizes?.[zc]?(Ht.sizeSlug=zc,Ht.url=Pe?.sizes?.[zc]?.url||Pe?.media_details?.sizes?.[zc]?.source_url):Ht.sizeSlug=Xf}n({...Ht,focalPoint:void 0,useFeaturedImage:void 0,dimRatio:Zi,isDark:vf,isUserOverlayColor:So.isUserOverlayColor||!1})},te=()=&gt;{let Pe=a.color;D||(Pe=HU,i(void 0),I());let Ht=Qp(h,Pe,th);n({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0,isDark:Ht})},ne=async Pe=&gt;{let Ht=await rh(G),{attributes:qr}=R.current,Co=Qp(qr.dimRatio,Pe,Ht);i(Pe),I(),n({isUserOverlayColor:!0,isDark:Co})},le=async Pe=&gt;{let Ht=await rh(G),{overlayColor:qr}=R.current,Co=Qp(Pe,qr.color,Ht);n({dimRatio:Pe,isDark:Co})},pe=Pe=&gt;{J(Pe,{type:&quot;snackbar&quot;})},Ie=Pe=&gt;{n({url:Pe,backgroundType:Kc,dimRatio:p===void 0&amp;&amp;h===100?50:h,id:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0})},{embedPreview:Ne,isFetchingEmbed:ae}=(0,um.useSelect)(Pe=&gt;{if(O!==Kc||!G)return{embedPreview:void 0,isFetchingEmbed:!1};let{getEmbedPreview:Ht,isRequestingEmbedPreview:qr}=Pe(J1.store);return{embedPreview:Ht(G),isFetchingEmbed:qr(G)}},[G,O]),Re=(0,jl.useMemo)(()=&gt;O!==Kc||!Ne?.html?null:mU(Ne.html),[Ne,O]),Ee=s1e(m,G),ie=Qt===O,fe=Cr===O,ke=Kc===O,je=(0,Bo.useBlockEditingMode)(),de=je===&quot;default&quot;,[ct,{height:at,width:kt}]=(0,c5.useResizeObserver)(),Wr=(0,jl.useMemo)(()=&gt;({height:x===&quot;px&quot;&amp;&amp;_?_:&quot;auto&quot;,width:&quot;auto&quot;}),[_,x]),ut=_&amp;&amp;x?`${_}${x}`:_,br=!(b||k),mt={minHeight:ut||void 0},wo=G?`url(${G})`:void 0,Y=Qo(g),ze={backgroundColor:a.color},Me={objectPosition:g&amp;&amp;br?Qo(g):void 0},Xe=!!(G||a.color||oe),Te=(0,um.useSelect)(Pe=&gt;Pe(Bo.store).getBlock(t).innerBlocks.length&gt;0,[t]),Bt=(0,jl.useRef)(),yr=(0,Bo.useBlockProps)({ref:Bt}),[xn]=(0,Bo.useSettings)(&quot;typography.fontSizes&quot;),Je=xn?.length&gt;0,$r=l1e({fontSize:Je?&quot;large&quot;:void 0}),ip=(0,Bo.useInnerBlocksProps)({className:&quot;wp-block-cover__inner-container&quot;},{template:Te?void 0:$r,templateInsertUpdatesSelection:!0,allowedBlocks:C,templateLock:N,dropZoneElement:Bt.current}),Cs=(0,jl.useRef)(),Ru={isVideoBackground:fe,isImageBackground:ie,mediaElement:Cs,hasInnerBlocks:Te,url:G,isImgElement:br,overlayColor:a},kn=async()=&gt;{let Pe=!f,Ht=Pe?await rh(j):th,{attributes:qr,overlayColor:Co}=R.current,So=qr.isUserOverlayColor?Co.color:Ht;qr.isUserOverlayColor||(i(Pe?So:void 0),I());let Sl=qr.dimRatio===100?50:qr.dimRatio,qi=Qp(Sl,So,Ht);n({id:void 0,url:void 0,useFeaturedImage:Pe,dimRatio:Sl,backgroundType:f?Qt:void 0,isDark:qi})},ja=(0,Ut.jsx)(fU,{attributes:e,setAttributes:n,onSelectMedia:X,onSelectEmbedUrl:Ie,currentSettings:Ru,toggleUseFeaturedImage:kn,onClearMedia:te,blockEditingMode:je}),gf=(0,Ut.jsx)(sU,{attributes:e,setAttributes:n,clientId:t,setOverlayColor:ne,coverRef:Bt,currentSettings:Ru,toggleUseFeaturedImage:kn,updateDimRatio:le,onClearMedia:te,featuredImage:$}),zu={className:&quot;block-library-cover__resize-container&quot;,clientId:t,height:at,minHeight:ut,onResizeStart:()=&gt;{n({minHeightUnit:&quot;px&quot;}),l(!1)},onResize:Pe=&gt;{n({minHeight:Pe})},onResizeStop:Pe=&gt;{l(!0),n({minHeight:Pe})},showHandle:!e.style?.dimensions?.aspectRatio,size:Wr,width:kt};if(!f&amp;&amp;!Te&amp;&amp;!Xe)return(0,Ut.jsxs)(Ut.Fragment,{children:[ja,gf,de&amp;&amp;r&amp;&amp;(0,Ut.jsx)(aN,{...zu}),(0,Ut.jsxs)(B,{...yr,className:w(&quot;is-placeholder&quot;,yr.className),style:{...yr.style,minHeight:ut||void 0},children:[ct,(0,Ut.jsx)(oN,{onSelectMedia:X,onError:pe,toggleUseFeaturedImage:kn,children:(0,Ut.jsx)(&quot;div&quot;,{className:&quot;wp-block-cover__placeholder-background-options&quot;,children:(0,Ut.jsx)(Bo.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:ne,clearable:!1,asButtons:!0,&quot;aria-label&quot;:(0,pN.__)(&quot;Overlay color&quot;)})})})]})]});let Ss=w({&quot;is-dark-theme&quot;:y,&quot;is-light&quot;:!y,&quot;is-transient&quot;:Ee,&quot;has-parallax&quot;:b,&quot;is-repeated&quot;:k,&quot;has-custom-content-position&quot;:!Ya(u)},Nn(u)),Ts=G||!f||f&amp;&amp;!G;return(0,Ut.jsxs)(Ut.Fragment,{children:[ja,gf,(0,Ut.jsxs)(B,{...yr,className:w(Ss,yr.className),style:{...mt,...yr.style},&quot;data-url&quot;:G,children:[ct,!G&amp;&amp;f&amp;&amp;(0,Ut.jsx)(Yp.Placeholder,{className:&quot;wp-block-cover__image--placeholder-image&quot;,withIllustration:!0}),G&amp;&amp;ie&amp;&amp;(br?(0,Ut.jsx)(&quot;img&quot;,{ref:Cs,className:&quot;wp-block-cover__image-background&quot;,alt:S,src:G,style:Me}):(0,Ut.jsx)(&quot;div&quot;,{ref:Cs,role:S?&quot;img&quot;:void 0,&quot;aria-label&quot;:S||void 0,className:w(Ss,&quot;wp-block-cover__image-background&quot;),style:{backgroundImage:wo,backgroundPosition:Y}})),G&amp;&amp;fe&amp;&amp;(0,Ut.jsx)(&quot;video&quot;,{ref:Cs,className:&quot;wp-block-cover__video-background&quot;,autoPlay:!0,muted:!0,loop:!0,src:G,poster:H,style:Me}),ke&amp;&amp;Re&amp;&amp;(0,Ut.jsx)(&quot;div&quot;,{ref:Cs,className:&quot;wp-block-cover__video-background wp-block-cover__embed-background&quot;,style:Me,children:(0,Ut.jsx)(Yp.SandBox,{allowSameOrigin:!0,html:Re,title:&quot;Background video&quot;,styles:[&quot;iframe{position:fixed;top:0;left:0;width:100%;height:100%;}&quot;]})}),ke&amp;&amp;!Re&amp;&amp;ae&amp;&amp;(0,Ut.jsx)(Yp.Spinner,{}),Ts&amp;&amp;(0,Ut.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,al(h),{[a.class]:a.class,&quot;has-background-dim&quot;:h!==void 0,&quot;wp-block-cover__gradient-background&quot;:G&amp;&amp;oe&amp;&amp;h!==0,&quot;has-background-gradient&quot;:oe,[ee]:ee}),style:{backgroundImage:oe,...ze}}),Ee&amp;&amp;(0,Ut.jsx)(Yp.Spinner,{}),(0,Ut.jsx)(oN,{disableMediaButtons:!0,onSelectMedia:X,onError:pe,toggleUseFeaturedImage:kn}),(0,Ut.jsx)(&quot;div&quot;,{...ip})]}),de&amp;&amp;r&amp;&amp;(0,Ut.jsx)(aN,{...zu})]})}var UU=(0,c5.compose)([(0,Bo.withColors)({overlayColor:&quot;background-color&quot;})])(c1e);var u5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/cover&quot;,title:&quot;Cover&quot;,category:&quot;media&quot;,description:&quot;Add an image or video with a text overlay.&quot;,textdomain:&quot;default&quot;,attributes:{url:{type:&quot;string&quot;,role:&quot;content&quot;},useFeaturedImage:{type:&quot;boolean&quot;,default:!1},id:{type:&quot;number&quot;},alt:{type:&quot;string&quot;,default:&quot;&quot;},hasParallax:{type:&quot;boolean&quot;,default:!1},isRepeated:{type:&quot;boolean&quot;,default:!1},dimRatio:{type:&quot;number&quot;,default:100},overlayColor:{type:&quot;string&quot;},customOverlayColor:{type:&quot;string&quot;},isUserOverlayColor:{type:&quot;boolean&quot;},backgroundType:{type:&quot;string&quot;,default:&quot;image&quot;},focalPoint:{type:&quot;object&quot;},minHeight:{type:&quot;number&quot;},minHeightUnit:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},contentPosition:{type:&quot;string&quot;},isDark:{type:&quot;boolean&quot;,default:!0},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},sizeSlug:{type:&quot;string&quot;},poster:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;poster&quot;}},usesContext:[&quot;postId&quot;,&quot;postType&quot;],supports:{anchor:!0,align:!0,html:!1,shadow:!0,spacing:{padding:!0,margin:[&quot;top&quot;,&quot;bottom&quot;],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{heading:!0,text:!0,background:!1,__experimentalSkipSerialization:[&quot;gradients&quot;],enableContrastChecker:!1},dimensions:{aspectRatio:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1},interactivity:{clientNavigation:!0},filter:{duotone:!0},allowedBlocks:!0},selectors:{filter:{duotone:&quot;.wp-block-cover &gt; .wp-block-cover__image-background, .wp-block-cover &gt; .wp-block-cover__video-background&quot;}},editorStyle:&quot;wp-block-cover-editor&quot;,style:&quot;wp-block-cover&quot;};var mm=o(T(),1);var Vs=o(v(),1);function GU({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k,sizeSlug:_,poster:x}=e,S=(0,mm.getColorClassName)(&quot;background-color&quot;,d),C=(0,mm.__experimentalGetGradientClass)(r),N=b&amp;&amp;y?`${b}${y}`:b,B=Qt===t,D=Cr===t,A=Kc===t,H=!(u||p),F={minHeight:N||void 0},z={backgroundColor:S?void 0:i,background:n||void 0},I=s&amp;&amp;H?Qo(s):void 0,R=f?`url(${f})`:void 0,$=Qo(s),j=w({&quot;is-light&quot;:!m,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p,&quot;has-custom-content-position&quot;:!Ya(a)},Nn(a)),G=w(&quot;wp-block-cover__image-background&quot;,g?`wp-image-${g}`:null,{[`size-${_}`]:_,&quot;has-parallax&quot;:u,&quot;is-repeated&quot;:p}),O=r||n;return(0,Vs.jsxs)(k,{...mm.useBlockProps.save({className:j,style:F}),children:[!c&amp;&amp;B&amp;&amp;f&amp;&amp;(H?(0,Vs.jsx)(&quot;img&quot;,{className:G,alt:h,src:f,style:{objectPosition:I},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:I}):(0,Vs.jsx)(&quot;div&quot;,{role:h?&quot;img&quot;:void 0,&quot;aria-label&quot;:h||void 0,className:G,style:{backgroundPosition:$,backgroundImage:R}})),D&amp;&amp;f&amp;&amp;(0,Vs.jsx)(&quot;video&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;intrinsic-ignore&quot;),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,poster:x,style:{objectPosition:I},&quot;data-object-fit&quot;:&quot;cover&quot;,&quot;data-object-position&quot;:I}),A&amp;&amp;f&amp;&amp;(0,Vs.jsx)(&quot;figure&quot;,{className:w(&quot;wp-block-cover__video-background&quot;,&quot;wp-block-cover__embed-background&quot;,&quot;wp-block-embed&quot;),children:(0,Vs.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:f})}),(0,Vs.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-cover__background&quot;,S,al(l),{&quot;has-background-dim&quot;:l!==void 0,&quot;wp-block-cover__gradient-background&quot;:f&amp;&amp;O&amp;&amp;l!==0,&quot;has-background-gradient&quot;:O,[C]:C}),style:z}),(0,Vs.jsx)(&quot;div&quot;,{...mm.useInnerBlocksProps.save({className:&quot;wp-block-cover__inner-container&quot;})})]})}var hi=o(W(),1),WU=o(T(),1);var{cleanEmptyObject:m5}=K(WU.privateApis),m1e={from:[{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:({caption:e,url:t,alt:r,align:a,id:n,anchor:i,style:l})=&gt;(0,hi.createBlock)(&quot;core/cover&quot;,{dimRatio:50,url:t,alt:r,align:a,id:n,anchor:i,style:{color:{duotone:l?.color?.duotone}}},[(0,hi.createBlock)(&quot;core/paragraph&quot;,{content:e,fontSize:&quot;large&quot;,style:{typography:{textAlign:&quot;center&quot;}}})])},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],transform:({caption:e,src:t,align:r,id:a,anchor:n})=&gt;(0,hi.createBlock)(&quot;core/cover&quot;,{dimRatio:50,url:t,align:r,id:a,backgroundType:Cr,anchor:n},[(0,hi.createBlock)(&quot;core/paragraph&quot;,{content:e,fontSize:&quot;large&quot;,style:{typography:{textAlign:&quot;center&quot;}}})])},{type:&quot;block&quot;,blocks:[&quot;core/group&quot;],transform:(e,t)=&gt;{let{align:r,anchor:a,backgroundColor:n,gradient:i,style:l}=e;if(t?.length===1&amp;&amp;t[0]?.name===&quot;core/cover&quot;)return(0,hi.createBlock)(&quot;core/cover&quot;,t[0].attributes,t[0].innerBlocks);let s=n||i||l?.color?.background||l?.color?.gradient?void 0:50,c={align:r,anchor:a,dimRatio:s,overlayColor:n,customOverlayColor:l?.color?.background,gradient:i,customGradient:l?.color?.gradient},u={...e,backgroundColor:void 0,gradient:void 0,style:m5({...e?.style,color:l?.color?{...l?.color,background:void 0,gradient:void 0}:void 0})};return(0,hi.createBlock)(&quot;core/cover&quot;,c,[(0,hi.createBlock)(&quot;core/group&quot;,u,t)])}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:a,gradient:n,customGradient:i})=&gt;t?e===Qt:!r&amp;&amp;!a&amp;&amp;!n&amp;&amp;!i,transform:({title:e,url:t,alt:r,align:a,id:n,anchor:i,style:l})=&gt;(0,hi.createBlock)(&quot;core/image&quot;,{caption:e,url:t,alt:r,align:a,id:n,anchor:i,style:{color:{duotone:l?.color?.duotone}}})},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:a,gradient:n,customGradient:i})=&gt;t?e===Cr:!r&amp;&amp;!a&amp;&amp;!n&amp;&amp;!i,transform:({title:e,url:t,align:r,id:a,anchor:n})=&gt;(0,hi.createBlock)(&quot;core/video&quot;,{caption:e,src:t,id:a,align:r,anchor:n})},{type:&quot;block&quot;,blocks:[&quot;core/group&quot;],isMatch:({url:e,useFeaturedImage:t})=&gt;!(e||t),transform:(e,t)=&gt;{let r={backgroundColor:e?.overlayColor,gradient:e?.gradient,style:m5({...e?.style,color:e?.customOverlayColor||e?.customGradient||e?.style?.color?{background:e?.customOverlayColor,gradient:e?.customGradient,...e?.style?.color}:void 0})};if(t?.length===1&amp;&amp;t[0]?.name===&quot;core/group&quot;){let a=m5(t[0].attributes||{});return a?.backgroundColor||a?.gradient||a?.style?.color?.background||a?.style?.color?.gradient?(0,hi.createBlock)(&quot;core/group&quot;,a,t[0]?.innerBlocks):(0,hi.createBlock)(&quot;core/group&quot;,{...r,...a,style:m5({...a?.style,color:r?.style?.color||a?.style?.color?{...r?.style?.color,...a?.style?.color}:void 0})},t[0]?.innerBlocks)}return(0,hi.createBlock)(&quot;core/group&quot;,{...e,...r},t)}}]},$U=m1e;var dN=o(P(),1);var p1e=[{name:&quot;cover&quot;,title:(0,dN.__)(&quot;Cover&quot;),description:(0,dN.__)(&quot;Add an image or video with a text overlay.&quot;),attributes:{layout:{type:&quot;constrained&quot;}},isDefault:!0,icon:xp}],qU=p1e;var{fieldsKey:d1e,formKey:f1e}=K(ZU.privateApis),{name:KU}=u5,p5={icon:xp,example:{attributes:{customOverlayColor:&quot;#065174&quot;,dimRatio:40,url:&quot;https://s.w.org/images/core/5.3/Windbuchencom.jpg&quot;,style:{typography:{fontSize:48},color:{text:&quot;white&quot;}}},innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:`&lt;strong&gt;${(0,fN.__)(&quot;Snow Patrol&quot;)}&lt;/strong&gt;`,style:{typography:{textAlign:&quot;center&quot;}}}}]},transforms:$U,save:GU,edit:UU,deprecated:Jj,variations:qU};window.__experimentalContentOnlyInspectorFields&amp;&amp;(p5[d1e]=[{id:&quot;background&quot;,label:(0,fN.__)(&quot;Background&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[&quot;image&quot;,&quot;video&quot;],multiple:!1,useFeaturedImage:!0},getValue:({item:e})=&gt;({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,featuredImage:e.useFeaturedImage}),setValue:({value:e})=&gt;({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,useFeaturedImage:e.featuredImage})}],p5[f1e]={fields:[&quot;background&quot;]});var h1e=()=&gt;E({name:KU,metadata:u5,settings:p5});var gN={};Z(gN,{init:()=&gt;k1e,metadata:()=&gt;d5,name:()=&gt;rG,settings:()=&gt;h5});var pm=o(P(),1),tG=o(W(),1);var d5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/details&quot;,title:&quot;Details&quot;,category:&quot;text&quot;,description:&quot;Hide and show additional content.&quot;,keywords:[&quot;summary&quot;,&quot;toggle&quot;,&quot;disclosure&quot;],textdomain:&quot;default&quot;,attributes:{showContent:{type:&quot;boolean&quot;,default:!1},summary:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;summary&quot;,role:&quot;content&quot;},name:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;name&quot;,selector:&quot;.wp-block-details&quot;},placeholder:{type:&quot;string&quot;}},supports:{__experimentalOnEnter:!0,align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,blockGap:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowEditing:!1},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:&quot;wp-block-details-editor&quot;,style:&quot;wp-block-details&quot;};var Ul=o(T(),1),Fs=o(M(),1),Xc=o(P(),1),QU=o(U(),1),YU=o(V(),1);var En=o(v(),1),{withIgnoreIMEEvents:v1e}=K(Fs.privateApis),b1e=[[&quot;core/paragraph&quot;,{placeholder:(0,Xc.__)(&quot;Type / to add a hidden block&quot;)}]];function y1e({attributes:e,setAttributes:t,clientId:r}){let{name:a,showContent:n,summary:i,allowedBlocks:l,placeholder:s}=e,c=(0,Ul.useBlockProps)(),u=(0,Ul.useInnerBlocksProps)(c,{template:b1e,__experimentalCaptureToolbars:!0,allowedBlocks:l}),[m,p]=(0,QU.useState)(n),d=q(),f=(0,YU.useSelect)(b=&gt;b(Ul.store).hasSelectedInnerBlock(r,!0),[r]),h=b=&gt;{b.key===&quot;Enter&quot;&amp;&amp;!b.shiftKey&amp;&amp;(p(y=&gt;!y),b.preventDefault())},g=b=&gt;{b.key===&quot; &quot;&amp;&amp;b.preventDefault()};return(0,En.jsxs)(En.Fragment,{children:[(0,En.jsx)(Ul.InspectorControls,{children:(0,En.jsx)(Fs.__experimentalToolsPanel,{label:(0,Xc.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({showContent:!1})},dropdownMenuProps:d,children:(0,En.jsx)(Fs.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Xc.__)(&quot;Open by default&quot;),hasValue:()=&gt;n,onDeselect:()=&gt;{t({showContent:!1})},children:(0,En.jsx)(Fs.ToggleControl,{label:(0,Xc.__)(&quot;Open by default&quot;),checked:n,onChange:()=&gt;t({showContent:!n})})})})}),(0,En.jsx)(Ul.InspectorControls,{group:&quot;advanced&quot;,children:(0,En.jsx)(Fs.TextControl,{__next40pxDefaultSize:!0,label:(0,Xc.__)(&quot;Name attribute&quot;),value:a||&quot;&quot;,onChange:b=&gt;t({name:b}),help:(0,Xc.__)(&quot;Enables multiple Details blocks with the same name attribute to be connected, with only one open at a time.&quot;)})}),(0,En.jsxs)(&quot;details&quot;,{...u,open:m||f,onToggle:b=&gt;p(b.target.open),name:a||&quot;&quot;,children:[(0,En.jsx)(&quot;summary&quot;,{onKeyDown:v1e(h),onKeyUp:g,children:(0,En.jsx)(Ul.RichText,{identifier:&quot;summary&quot;,&quot;aria-label&quot;:(0,Xc.__)(&quot;Write summary. Press Enter to expand or collapse the details.&quot;),placeholder:s||(0,Xc.__)(&quot;Write summary\u2026&quot;),withoutInteractiveFormatting:!0,value:i,onChange:b=&gt;t({summary:b})})}),u.children]})]})}var XU=y1e;var ah=o(T(),1),oh=o(v(),1);function JU({attributes:e}){let{name:t,showContent:r}=e,a=e.summary?e.summary:&quot;Details&quot;,n=ah.useBlockProps.save();return(0,oh.jsxs)(&quot;details&quot;,{...n,name:t||void 0,open:r,children:[(0,oh.jsx)(&quot;summary&quot;,{children:(0,oh.jsx)(ah.RichText.Content,{value:a})}),(0,oh.jsx)(ah.InnerBlocks.Content,{})]})}var f5=o(W(),1),eG={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;*&quot;],isMatch({},e){return!(e.length===1&amp;&amp;e[0].name===&quot;core/details&quot;)},__experimentalConvert(e){return(0,f5.createBlock)(&quot;core/details&quot;,{},e.map(t=&gt;(0,f5.cloneBlock)(t)))}}]};var{fieldsKey:_1e,formKey:x1e}=K(tG.privateApis),{name:rG}=d5,h5={icon:T9,example:{attributes:{summary:(0,pm.__)(&quot;La Mancha&quot;),showContent:!0},innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,pm.__)(&quot;In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.&quot;)}}]},__experimentalLabel(e,{context:t}){let{summary:r}=e,a=e?.metadata?.name,n=r?.trim().length&gt;0;if(t===&quot;list-view&quot;&amp;&amp;(a||n))return a||r;if(t===&quot;breadcrumb&quot;&amp;&amp;a)return a;if(t===&quot;accessibility&quot;)return n?(0,pm.sprintf)((0,pm.__)(&quot;Details. %s&quot;),r):(0,pm.__)(&quot;Details. Empty.&quot;)},save:JU,edit:XU,transforms:eG};window.__experimentalContentOnlyInspectorFields&amp;&amp;(h5[_1e]=[{id:&quot;summary&quot;,label:(0,pm.__)(&quot;Summary&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],h5[x1e]={fields:[&quot;summary&quot;]});var k1e=()=&gt;E({name:rG,metadata:d5,settings:h5});var wN={};Z(wN,{init:()=&gt;M1e,metadata:()=&gt;Ls,name:()=&gt;FG,settings:()=&gt;HG});var Xp=o(P(),1),Hs=o(M(),1),g5=o(T(),1);var ll=o(v(),1);function w1e(e){return e?(0,Xp.__)(&quot;This embed will preserve its aspect ratio when the browser is resized.&quot;):(0,Xp.__)(&quot;This embed may not preserve its aspect ratio when the browser is resized.&quot;)}var C1e=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:r,allowResponsive:a,toggleResponsive:n,switchBackToURLInput:i})=&gt;{let l=q();return(0,ll.jsxs)(ll.Fragment,{children:[(0,ll.jsx)(g5.BlockControls,{children:(0,ll.jsx)(Hs.ToolbarGroup,{children:t&amp;&amp;(0,ll.jsx)(Hs.ToolbarButton,{className:&quot;components-toolbar__control&quot;,label:(0,Xp.__)(&quot;Edit URL&quot;),icon:Pp,onClick:i})})}),r&amp;&amp;e&amp;&amp;(0,ll.jsx)(g5.InspectorControls,{children:(0,ll.jsx)(Hs.__experimentalToolsPanel,{label:(0,Xp.__)(&quot;Media settings&quot;),resetAll:()=&gt;{n(!0)},dropdownMenuProps:l,children:(0,ll.jsx)(Hs.__experimentalToolsPanelItem,{label:(0,Xp.__)(&quot;Media settings&quot;),isShownByDefault:!0,hasValue:()=&gt;!a,onDeselect:()=&gt;{n(!a)},children:(0,ll.jsx)(Hs.ToggleControl,{label:(0,Xp.__)(&quot;Resize for smaller devices&quot;),checked:a,help:w1e,onChange:n})})})})]})},oG=C1e;var ye=o(M(),1),xe=o(v(),1),Gl=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,xe.jsx)(ye.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z&quot;})}),v5=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,xe.jsx)(ye.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z&quot;})}),vN=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,xe.jsx)(ye.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-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z&quot;})}),nh=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,xe.jsx)(ye.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z&quot;})}),aG={foreground:&quot;#000000&quot;,src:(0,xe.jsx)(ye.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{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.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z&quot;})})},nG={foreground:&quot;#ff0000&quot;,src:(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z&quot;})})},iG={foreground:&quot;#3b5998&quot;,src:(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.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;})})},lG=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.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;})})}),sG={foreground:&quot;#0073AA&quot;,src:(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.Path,{d:&quot;M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z&quot;})})})},cG={foreground:&quot;#1db954&quot;,src:(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{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.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325&quot;})})},uG=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{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-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z&quot;})}),mG={foreground:&quot;#1ab7ea&quot;,src:(0,xe.jsx)(ye.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.Path,{d:&quot;M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z&quot;})})})},pG=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z&quot;})}),dG={foreground:&quot;#35465c&quot;,src:(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z&quot;})})},fG=(0,xe.jsxs)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:[(0,xe.jsx)(ye.Path,{d:&quot;M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z&quot;})]}),hG=(0,xe.jsxs)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:[(0,xe.jsx)(ye.Path,{d:&quot;m.0206909 21 19.8160091-13.07806 3.5831 6.20826z&quot;,fill:&quot;#4bc7ee&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z&quot;,fill:&quot;#d4cdcb&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;m.0206909 21 15.2439091-16.38571 4.3029 7.32271z&quot;,fill:&quot;#c3d82e&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z&quot;,fill:&quot;#e4ecb0&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;m.0206909 21 19.5468091-9.063 1.6621 2.8344z&quot;,fill:&quot;#209dbd&quot;}),(0,xe.jsx)(ye.Path,{d:&quot;m.0206909 21 17.9209091-11.82623 1.6259 2.76323z&quot;,fill:&quot;#7cb3c9&quot;})]}),gG=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M11.903 16.568c-1.82 0-3.124-1.281-3.124-2.967a2.987 2.987 0 0 1 2.989-2.989c1.663 0 2.944 1.304 2.944 3.034 0 1.663-1.281 2.922-2.81 2.922ZM17.997 3l-3.308.73v5.107c-.809-1.034-2.045-1.37-3.505-1.37-1.529 0-2.9.561-4.023 1.662-1.259 1.214-1.933 2.764-1.933 4.495 0 1.888.72 3.506 2.113 4.742 1.056.944 2.314 1.415 3.775 1.415 1.438 0 2.517-.382 3.573-1.415v1.415h3.308V3Z&quot;,fill:&quot;#333436&quot;})}),vG=(0,xe.jsx)(ye.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2&quot;})}),bG=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 44 44&quot;,children:(0,xe.jsx)(ye.Path,{d:&quot;M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z&quot;})}),yG={foreground:&quot;#f43e37&quot;,src:(0,xe.jsxs)(ye.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,xe.jsx)(ye.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M24,12A12,12,0,1,1,12,0,12,12,0,0,1,24,12Z&quot;}),(0,xe.jsx)(ye.Path,{fillRule:&quot;evenodd&quot;,clipRule:&quot;evenodd&quot;,d:&quot;M2.67,12a9.33,9.33,0,0,1,18.66,0H19a7,7,0,1,0-7,7v2.33A9.33,9.33,0,0,1,2.67,12ZM12,17.6A5.6,5.6,0,1,1,17.6,12h-2A3.56,3.56,0,1,0,12,15.56Z&quot;,fill:&quot;#fff&quot;})]})},_G=(0,xe.jsx)(ye.SVG,{viewBox:&quot;0 0 24 24&quot;,children:(0,xe.jsx)(ye.Path,{fill:&quot;#0a7aff&quot;,d:&quot;M6.3,4.2c2.3,1.7,4.8,5.3,5.7,7.2.9-1.9,3.4-5.4,5.7-7.2,1.7-1.3,4.3-2.2,4.3.9s-.4,5.2-.6,5.9c-.7,2.6-3.3,3.2-5.6,2.8,4,.7,5.1,3,2.9,5.3-5,5.2-6.7-2.8-6.7-2.8,0,0-1.7,8-6.7,2.8-2.2-2.3-1.2-4.6,2.9-5.3-2.3.4-4.9-.3-5.6-2.8-.2-.7-.6-5.3-.6-5.9,0-3.1,2.7-2.1,4.3-.9h0Z&quot;})});var xG=o(M(),1),bN=o(v(),1),S1e=()=&gt;(0,bN.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed is-loading&quot;,children:(0,bN.jsx)(xG.Spinner,{})}),kG=S1e;var Os=o(P(),1),Ln=o(M(),1),wG=o(T(),1),Dn=o(v(),1),T1e=({icon:e,label:t,value:r,onSubmit:a,onChange:n,cannotEmbed:i,fallback:l,tryAgain:s})=&gt;(0,Dn.jsxs)(Ln.Placeholder,{icon:(0,Dn.jsx)(wG.BlockIcon,{icon:e,showColors:!0}),label:t,className:&quot;wp-block-embed&quot;,instructions:(0,Os.__)(&quot;Paste a link to the content you want to display on your site.&quot;),children:[(0,Dn.jsxs)(&quot;form&quot;,{onSubmit:a,children:[(0,Dn.jsx)(Ln.__experimentalInputControl,{__next40pxDefaultSize:!0,type:&quot;url&quot;,value:r||&quot;&quot;,className:&quot;wp-block-embed__placeholder-input&quot;,label:t,hideLabelFromVision:!0,placeholder:(0,Os.__)(&quot;Enter URL to embed here\u2026&quot;),onChange:n}),(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,type:&quot;submit&quot;,children:(0,Os._x)(&quot;Embed&quot;,&quot;button label&quot;)})]}),(0,Dn.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__learn-more&quot;,children:(0,Dn.jsx)(Ln.ExternalLink,{href:(0,Os.__)(&quot;https://wordpress.org/documentation/article/embeds/&quot;),children:(0,Os.__)(&quot;Learn more about embeds&quot;)})}),i&amp;&amp;(0,Dn.jsxs)(Ln.__experimentalVStack,{spacing:3,className:&quot;components-placeholder__error&quot;,children:[(0,Dn.jsx)(&quot;div&quot;,{className:&quot;components-placeholder__instructions&quot;,children:(0,Os.__)(&quot;Sorry, this content could not be embedded.&quot;)}),(0,Dn.jsxs)(Ln.__experimentalHStack,{expanded:!1,spacing:3,justify:&quot;flex-start&quot;,children:[(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:s,children:(0,Os._x)(&quot;Try again&quot;,&quot;button label&quot;)}),&quot; &quot;,(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:l,children:(0,Os._x)(&quot;Convert to link&quot;,&quot;button label&quot;)})]})]})]}),CG=T1e;var lh=o(P(),1),y5=o(M(),1),TG=o(T(),1),PG=o(U(),1),BG=o(mr(),1);var b5=o(me(),1),ih=o(U(),1),yN=o(v(),1),P1e={class:&quot;className&quot;,frameborder:&quot;frameBorder&quot;,marginheight:&quot;marginHeight&quot;,marginwidth:&quot;marginWidth&quot;};function SG({html:e}){let t=(0,ih.useRef)(),r=(0,ih.useMemo)(()=&gt;{let n=new window.DOMParser().parseFromString(e,&quot;text/html&quot;).querySelector(&quot;iframe&quot;),i={};return n&amp;&amp;Array.from(n.attributes).forEach(({name:l,value:s})=&gt;{l!==&quot;style&quot;&amp;&amp;(i[P1e[l]||l]=s)}),i},[e]);return(0,ih.useEffect)(()=&gt;{let{ownerDocument:a}=t.current,{defaultView:n}=a;function i({data:{secret:l,message:s,value:c}={}}){s!==&quot;height&quot;||l!==r[&quot;data-secret&quot;]||(t.current.height=c)}return n.addEventListener(&quot;message&quot;,i),()=&gt;{n.removeEventListener(&quot;message&quot;,i)}},[]),(0,yN.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:(0,yN.jsx)(&quot;iframe&quot;,{ref:(0,b5.useMergeRefs)([t,(0,b5.useFocusableIframe)()]),title:r.title,...r})})}var Mn=o(v(),1);function IG({preview:e,previewable:t,url:r,type:a,isSelected:n,className:i,icon:l,label:s}){let[c,u]=(0,PG.useState)(!1);!n&amp;&amp;c&amp;&amp;u(!1);let m=()=&gt;{u(!0)},{scripts:p}=e,d=a===&quot;photo&quot;?pF(e):e.html,f=(0,BG.getAuthority)(r),h=(0,lh.sprintf)((0,lh.__)(&quot;Embedded content from %s&quot;),f),g=w(a,i,&quot;wp-block-embed__wrapper&quot;);return(0,Mn.jsx)(Mn.Fragment,{children:t?a===&quot;wp-embed&quot;?(0,Mn.jsx)(SG,{html:d}):(0,Mn.jsxs)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:[(0,Mn.jsx)(y5.SandBox,{allowSameOrigin:!0,html:d,scripts:p,title:h,type:g,onFocus:m}),!c&amp;&amp;(0,Mn.jsx)(&quot;div&quot;,{className:&quot;block-library-embed__interactive-overlay&quot;,onMouseUp:m})]}):(0,Mn.jsxs)(y5.Placeholder,{icon:(0,Mn.jsx)(TG.BlockIcon,{icon:l,showColors:!0}),label:s,children:[(0,Mn.jsx)(&quot;p&quot;,{className:&quot;components-placeholder__error&quot;,children:(0,Mn.jsx)(&quot;a&quot;,{href:r,children:r})}),(0,Mn.jsx)(&quot;p&quot;,{className:&quot;components-placeholder__error&quot;,children:(0,lh.sprintf)((0,lh.__)(&quot;Embedded content from %s can&#039;t be previewed in the editor.&quot;),f)})]})})}var ed=o(P(),1),Jp=o(U(),1),_5=o(V(),1),NG=o(T(),1),_N=o(Q(),1),xN=o(L(),1),EG=o(mr(),1);var gi=o(v(),1),B1e=e=&gt;{let{attributes:{providerNameSlug:t,previewable:r,responsive:a,url:n},attributes:i,isSelected:l,onReplace:s,setAttributes:c,insertBlocksAfter:u,onFocus:m}=e,p={title:(0,ed._x)(&quot;Embed&quot;,&quot;block title&quot;),icon:Gl},{icon:d,title:f}=uF(t)||p,[h,g]=(0,Jp.useState)(n),[b,y]=(0,Jp.useState)(!1),{invalidateResolution:k}=(0,_5.useDispatch)(_N.store),{preview:_,fetching:x,themeSupportsResponsive:S,cannotEmbed:C,hasResolved:N}=(0,_5.useSelect)(G=&gt;{let{getEmbedPreview:O,isPreviewEmbedFallback:J,isRequestingEmbedPreview:ee,getThemeSupports:oe,hasFinishedResolution:X}=G(_N.store);if(!n)return{fetching:!1,cannotEmbed:!1};let te=O(n),ne=J(n),le=te?.html===!1&amp;&amp;te?.type===void 0,pe=te?.data?.status===404,Ie=!!te&amp;&amp;!le&amp;&amp;!pe;return{preview:Ie?te:void 0,fetching:ee(n),themeSupportsResponsive:oe()[&quot;responsive-embeds&quot;],cannotEmbed:!Ie||ne,hasResolved:X(&quot;getEmbedPreview&quot;,[n])}},[n]),B=()=&gt;fF(i,_,f,a);function D(G){let{className:O}=i,{html:J}=_;c({allowResponsive:G,className:tI(J,O,a&amp;&amp;G)})}(0,Jp.useEffect)(()=&gt;{if(_?.html||!C||!N)return;let G=n.replace(/\/$/,&quot;&quot;);g(G),y(!1),c({url:G})},[_?.html,n,C,N,c]),(0,Jp.useEffect)(()=&gt;{if(!(!C||x||!h)&amp;&amp;(0,EG.getAuthority)(h)===&quot;x.com&quot;){let G=new URL(h);G.host=&quot;twitter.com&quot;,c({url:G.toString()})}},[h,C,x,c]),(0,Jp.useEffect)(()=&gt;{if(_&amp;&amp;!b){let G=B();if(Object.keys(G).some(J=&gt;G[J]!==i[J])&amp;&amp;c(G),s){let J=Yu(e,G);J&amp;&amp;s(J)}}},[_,b]);let A=(0,NG.useBlockProps)();if(x)return(0,gi.jsx)(xN.View,{...A,children:(0,gi.jsx)(kG,{})});let H=(0,ed.sprintf)((0,ed.__)(&quot;%s URL&quot;),f);if(!_||C||b)return(0,gi.jsx)(xN.View,{...A,children:(0,gi.jsx)(CG,{icon:d,label:H,onFocus:m,onSubmit:G=&gt;{G&amp;&amp;G.preventDefault();let O=Qu(i.className);y(!1),c({url:h,className:O})},value:h,cannotEmbed:C,onChange:G=&gt;g(G),fallback:()=&gt;dF(h,s),tryAgain:()=&gt;{k(&quot;getEmbedPreview&quot;,[h])}})});let{caption:z,type:I,allowResponsive:R,className:$}=B(),j=w($,e.className);return(0,gi.jsxs)(gi.Fragment,{children:[(0,gi.jsx)(oG,{showEditButton:_&amp;&amp;!C,themeSupportsResponsive:S,blockSupportsResponsive:a,allowResponsive:R,toggleResponsive:D,switchBackToURLInput:()=&gt;y(!0)}),(0,gi.jsxs)(&quot;figure&quot;,{...A,className:w(A.className,j,{[`is-type-${I}`]:I,[`is-provider-${t}`]:t,[`wp-block-embed-${t}`]:t}),children:[(0,gi.jsx)(IG,{preview:_,previewable:r,className:j,url:h,type:I,caption:z,onCaptionChange:G=&gt;c({caption:G}),isSelected:l,icon:d,label:H,insertBlocksAfter:u,attributes:i,setAttributes:c}),(0,gi.jsx)(_a,{attributes:i,setAttributes:c,isSelected:l,insertBlocksAfter:u,label:(0,ed.__)(&quot;Embed caption text&quot;),showToolbarButton:l})]})]})},DG=B1e;var td=o(T(),1),ev=o(v(),1);function LG({attributes:e}){let{url:t,caption:r,type:a,providerNameSlug:n}=e;if(!t)return null;let i=w(&quot;wp-block-embed&quot;,{[`is-type-${a}`]:a,[`is-provider-${n}`]:n,[`wp-block-embed-${n}`]:n});return(0,ev.jsxs)(&quot;figure&quot;,{...td.useBlockProps.save({className:i}),children:[(0,ev.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:`
${t}
`}),!td.RichText.isEmpty(r)&amp;&amp;(0,ev.jsx)(td.RichText.Content,{className:(0,td.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:r})]})}var kN=o(W(),1);var{name:I1e}=Ls,N1e={from:[{type:&quot;raw&quot;,isMatch:e=&gt;e.nodeName===&quot;P&quot;&amp;&amp;/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&amp;&amp;e.textContent?.match(/https/gi)?.length===1,transform:e=&gt;(0,kN.createBlock)(I1e,{url:e.textContent.trim()})}],to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],isMatch:({url:e})=&gt;!!e,transform:({url:e,caption:t,className:r})=&gt;{let a=`&lt;a href=&quot;${e}&quot;&gt;${e}&lt;/a&gt;`;return t?.trim()&amp;&amp;(a+=`&lt;br /&gt;${t}`),(0,kN.createBlock)(&quot;core/paragraph&quot;,{content:a,className:Qu(r)})}}]},MG=N1e;var ue=o(P(),1);function ft(e){return(0,ue.sprintf)((0,ue.__)(&quot;%s Embed&quot;),e)}var AG=[{name:&quot;twitter&quot;,title:ft(&quot;X&quot;),icon:aG,keywords:[&quot;x&quot;,&quot;twitter&quot;,&quot;tweet&quot;,(0,ue.__)(&quot;social&quot;)],description:(0,ue.__)(&quot;Embed an X post.&quot;),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:&quot;twitter&quot;,responsive:!0}},{name:&quot;youtube&quot;,title:ft(&quot;YouTube&quot;),icon:nG,keywords:[(0,ue.__)(&quot;music&quot;),(0,ue.__)(&quot;video&quot;)],description:(0,ue.__)(&quot;Embed a YouTube video.&quot;),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:&quot;youtube&quot;,responsive:!0}},{name:&quot;facebook&quot;,title:ft(&quot;Facebook&quot;),icon:iG,keywords:[(0,ue.__)(&quot;social&quot;)],description:(0,ue.__)(&quot;Embed a Facebook post.&quot;),scope:[&quot;block&quot;],patterns:[],attributes:{providerNameSlug:&quot;facebook&quot;,previewable:!1,responsive:!0}},{name:&quot;instagram&quot;,title:ft(&quot;Instagram&quot;),icon:lG,keywords:[(0,ue.__)(&quot;image&quot;),(0,ue.__)(&quot;social&quot;)],description:(0,ue.__)(&quot;Embed an Instagram post.&quot;),scope:[&quot;block&quot;],patterns:[],attributes:{providerNameSlug:&quot;instagram&quot;,responsive:!0}},{name:&quot;wordpress&quot;,title:ft(&quot;WordPress&quot;),icon:sG,keywords:[(0,ue.__)(&quot;post&quot;),(0,ue.__)(&quot;blog&quot;)],description:(0,ue.__)(&quot;Embed a WordPress post.&quot;),attributes:{providerNameSlug:&quot;wordpress&quot;}},{name:&quot;soundcloud&quot;,title:ft(&quot;SoundCloud&quot;),icon:v5,keywords:[(0,ue.__)(&quot;music&quot;),(0,ue.__)(&quot;audio&quot;)],description:(0,ue.__)(&quot;Embed SoundCloud content.&quot;),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:&quot;soundcloud&quot;,responsive:!0}},{name:&quot;spotify&quot;,title:ft(&quot;Spotify&quot;),icon:cG,keywords:[(0,ue.__)(&quot;music&quot;),(0,ue.__)(&quot;audio&quot;)],description:(0,ue.__)(&quot;Embed Spotify content.&quot;),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:&quot;spotify&quot;,responsive:!0}},{name:&quot;flickr&quot;,title:ft(&quot;Flickr&quot;),icon:uG,keywords:[(0,ue.__)(&quot;image&quot;)],description:(0,ue.__)(&quot;Embed Flickr content.&quot;),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:&quot;flickr&quot;,responsive:!0}},{name:&quot;vimeo&quot;,title:ft(&quot;Vimeo&quot;),icon:mG,keywords:[(0,ue.__)(&quot;video&quot;)],description:(0,ue.__)(&quot;Embed a Vimeo video.&quot;),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:&quot;vimeo&quot;,responsive:!0}},{name:&quot;animoto&quot;,title:ft(&quot;Animoto&quot;),icon:hG,description:(0,ue.__)(&quot;Embed an Animoto video.&quot;),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:&quot;animoto&quot;,responsive:!0}},{name:&quot;cloudup&quot;,title:ft(&quot;Cloudup&quot;),icon:Gl,description:(0,ue.__)(&quot;Embed Cloudup content.&quot;),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:&quot;cloudup&quot;,responsive:!0}},{name:&quot;collegehumor&quot;,title:ft(&quot;CollegeHumor&quot;),icon:nh,description:(0,ue.__)(&quot;Embed CollegeHumor content.&quot;),scope:[&quot;block&quot;],patterns:[],attributes:{providerNameSlug:&quot;collegehumor&quot;,responsive:!0}},{name:&quot;crowdsignal&quot;,title:ft(&quot;Crowdsignal&quot;),icon:Gl,keywords:[&quot;polldaddy&quot;,(0,ue.__)(&quot;survey&quot;)],description:(0,ue.__)(&quot;Embed Crowdsignal (formerly Polldaddy) content.&quot;),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.crowdsignal\.net|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:&quot;crowdsignal&quot;,responsive:!0}},{name:&quot;dailymotion&quot;,title:ft(&quot;Dailymotion&quot;),icon:gG,keywords:[(0,ue.__)(&quot;video&quot;)],description:(0,ue.__)(&quot;Embed a Dailymotion video.&quot;),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:&quot;dailymotion&quot;,responsive:!0}},{name:&quot;imgur&quot;,title:ft(&quot;Imgur&quot;),icon:vN,description:(0,ue.__)(&quot;Embed Imgur content.&quot;),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:&quot;imgur&quot;,responsive:!0}},{name:&quot;issuu&quot;,title:ft(&quot;Issuu&quot;),icon:Gl,description:(0,ue.__)(&quot;Embed Issuu content.&quot;),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:&quot;issuu&quot;,responsive:!0}},{name:&quot;kickstarter&quot;,title:ft(&quot;Kickstarter&quot;),icon:Gl,description:(0,ue.__)(&quot;Embed Kickstarter content.&quot;),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:&quot;kickstarter&quot;,responsive:!0}},{name:&quot;mixcloud&quot;,title:ft(&quot;Mixcloud&quot;),icon:v5,keywords:[(0,ue.__)(&quot;music&quot;),(0,ue.__)(&quot;audio&quot;)],description:(0,ue.__)(&quot;Embed Mixcloud content.&quot;),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:&quot;mixcloud&quot;,responsive:!0}},{name:&quot;pocket-casts&quot;,title:ft(&quot;Pocket Casts&quot;),icon:yG,keywords:[(0,ue.__)(&quot;podcast&quot;),(0,ue.__)(&quot;audio&quot;)],description:(0,ue.__)(&quot;Embed a podcast player from Pocket Casts.&quot;),patterns:[/^https:\/\/pca.st\/\w+/i],attributes:{providerNameSlug:&quot;pocket-casts&quot;,responsive:!0}},{name:&quot;reddit&quot;,title:ft(&quot;Reddit&quot;),icon:pG,description:(0,ue.__)(&quot;Embed a Reddit thread.&quot;),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:&quot;reddit&quot;,responsive:!0}},{name:&quot;reverbnation&quot;,title:ft(&quot;ReverbNation&quot;),icon:v5,description:(0,ue.__)(&quot;Embed ReverbNation content.&quot;),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:&quot;reverbnation&quot;,responsive:!0}},{name:&quot;scribd&quot;,title:ft(&quot;Scribd&quot;),icon:Gl,description:(0,ue.__)(&quot;Embed Scribd content.&quot;),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:&quot;scribd&quot;,responsive:!0}},{name:&quot;smugmug&quot;,title:ft(&quot;SmugMug&quot;),icon:vN,description:(0,ue.__)(&quot;Embed SmugMug content.&quot;),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:&quot;smugmug&quot;,previewable:!1,responsive:!0}},{name:&quot;speaker-deck&quot;,title:ft(&quot;Speaker Deck&quot;),icon:Gl,description:(0,ue.__)(&quot;Embed Speaker Deck content.&quot;),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:&quot;speaker-deck&quot;,responsive:!0}},{name:&quot;tiktok&quot;,title:ft(&quot;TikTok&quot;),icon:nh,keywords:[(0,ue.__)(&quot;video&quot;)],description:(0,ue.__)(&quot;Embed a TikTok video.&quot;),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:&quot;tiktok&quot;,responsive:!0}},{name:&quot;ted&quot;,title:ft(&quot;TED&quot;),icon:nh,description:(0,ue.__)(&quot;Embed a TED video.&quot;),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:&quot;ted&quot;,responsive:!0}},{name:&quot;tumblr&quot;,title:ft(&quot;Tumblr&quot;),icon:dG,keywords:[(0,ue.__)(&quot;social&quot;)],description:(0,ue.__)(&quot;Embed a Tumblr post.&quot;),patterns:[/^https?:\/\/(.+)\.tumblr\.com\/.+/i],attributes:{providerNameSlug:&quot;tumblr&quot;,responsive:!0}},{name:&quot;videopress&quot;,title:ft(&quot;VideoPress&quot;),icon:nh,keywords:[(0,ue.__)(&quot;video&quot;)],description:(0,ue.__)(&quot;Embed a VideoPress video.&quot;),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:&quot;videopress&quot;,responsive:!0}},{name:&quot;wordpress-tv&quot;,title:ft(&quot;WordPress.tv&quot;),icon:nh,description:(0,ue.__)(&quot;Embed a WordPress.tv video.&quot;),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:&quot;wordpress-tv&quot;,responsive:!0}},{name:&quot;amazon-kindle&quot;,title:ft(&quot;Amazon Kindle&quot;),icon:fG,keywords:[(0,ue.__)(&quot;ebook&quot;)],description:(0,ue.__)(&quot;Embed Amazon Kindle content.&quot;),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:&quot;amazon-kindle&quot;}},{name:&quot;pinterest&quot;,title:ft(&quot;Pinterest&quot;),icon:vG,keywords:[(0,ue.__)(&quot;social&quot;),(0,ue.__)(&quot;bookmark&quot;)],description:(0,ue.__)(&quot;Embed Pinterest pins, boards, and profiles.&quot;),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:&quot;pinterest&quot;}},{name:&quot;wolfram-cloud&quot;,title:ft(&quot;Wolfram&quot;),icon:bG,description:(0,ue.__)(&quot;Embed Wolfram notebook content.&quot;),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:&quot;wolfram-cloud&quot;,responsive:!0}},{name:&quot;bluesky&quot;,title:ft(&quot;Bluesky&quot;),icon:_G,description:(0,ue.__)(&quot;Embed a Bluesky post.&quot;),patterns:[/^https?:\/\/bsky\.app\/profile\/.+\/post\/.+/i],attributes:{providerNameSlug:&quot;bluesky&quot;}}];AG.forEach(e=&gt;{e.isActive||(e.isActive=(t,r)=&gt;t.providerNameSlug===r.providerNameSlug)});var RG=AG;var rd=o(T(),1),od=o(v(),1),{attributes:zG}=Ls,E1e={attributes:zG,save({attributes:e}){let{url:t,caption:r,type:a,providerNameSlug:n}=e;if(!t)return null;let i=w(&quot;wp-block-embed&quot;,{[`is-type-${a}`]:a,[`is-provider-${n}`]:n,[`wp-block-embed-${n}`]:n});return(0,od.jsxs)(&quot;figure&quot;,{...rd.useBlockProps.save({className:i}),children:[(0,od.jsx)(&quot;div&quot;,{className:&quot;wp-block-embed__wrapper&quot;,children:`
${t}
`}),!rd.RichText.isEmpty(r)&amp;&amp;(0,od.jsx)(rd.RichText.Content,{tagName:&quot;figcaption&quot;,value:r})]})}},D1e={attributes:zG,save({attributes:{url:e,caption:t,type:r,providerNameSlug:a}}){if(!e)return null;let n=w(&quot;wp-block-embed&quot;,{[`is-type-${r}`]:r,[`is-provider-${a}`]:a});return(0,od.jsxs)(&quot;figure&quot;,{className:n,children:[`
${e}
`,!rd.RichText.isEmpty(t)&amp;&amp;(0,od.jsx)(rd.RichText.Content,{tagName:&quot;figcaption&quot;,value:t})]})}},L1e=[E1e,D1e],VG=L1e;var{name:FG}=Ls,HG={icon:Gl,edit:DG,save:LG,transforms:MG,variations:RG,deprecated:VG},M1e=()=&gt;E({name:FG,metadata:Ls,settings:HG});var PN={};Z(PN,{init:()=&gt;W1e,metadata:()=&gt;w5,name:()=&gt;eW,settings:()=&gt;T5});var uh=o(P(),1);var JG=o(W(),1);var fo=o(T(),1),Wl=o(P(),1),Gt=o(v(),1),A1e={attributes:{id:{type:&quot;number&quot;},href:{type:&quot;string&quot;},fileId:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;id&quot;},fileName:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a:not([download])&quot;},textLinkHref:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;href&quot;},textLinkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;target&quot;},showDownloadButton:{type:&quot;boolean&quot;,default:!0},downloadButtonText:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a[download]&quot;},displayPreview:{type:&quot;boolean&quot;},previewHeight:{type:&quot;number&quot;,default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=fo.RichText.isEmpty(a)?(0,Wl.__)(&quot;PDF embed&quot;):(0,Wl.sprintf)((0,Wl.__)(&quot;Embed of %s.&quot;),a),p=!fo.RichText.isEmpty(a),d=p?r:void 0;return t&amp;&amp;(0,Gt.jsxs)(&quot;div&quot;,{...fo.useBlockProps.save(),children:[c&amp;&amp;(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)(&quot;object&quot;,{className:&quot;wp-block-file__embed&quot;,data:t,type:&quot;application/pdf&quot;,style:{width:&quot;100%&quot;,height:`${u}px`},&quot;aria-label&quot;:m})}),p&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{id:d,href:n,target:i,rel:i?&quot;noreferrer noopener&quot;:void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:a})}),l&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{href:t,className:w(&quot;wp-block-file__button&quot;,(0,fo.__experimentalGetElementClassName)(&quot;button&quot;)),download:!0,&quot;aria-describedby&quot;:d,children:(0,Gt.jsx)(fo.RichText.Content,{value:s})})]})}},R1e={attributes:{id:{type:&quot;number&quot;},href:{type:&quot;string&quot;},fileId:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;id&quot;},fileName:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a:not([download])&quot;},textLinkHref:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;href&quot;},textLinkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;target&quot;},showDownloadButton:{type:&quot;boolean&quot;,default:!0},downloadButtonText:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a[download]&quot;},displayPreview:{type:&quot;boolean&quot;},previewHeight:{type:&quot;number&quot;,default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=fo.RichText.isEmpty(a)?(0,Wl.__)(&quot;PDF embed&quot;):(0,Wl.sprintf)((0,Wl.__)(&quot;Embed of %s.&quot;),a),p=!fo.RichText.isEmpty(a),d=p?r:void 0;return t&amp;&amp;(0,Gt.jsxs)(&quot;div&quot;,{...fo.useBlockProps.save(),children:[c&amp;&amp;(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)(&quot;object&quot;,{className:&quot;wp-block-file__embed&quot;,data:t,type:&quot;application/pdf&quot;,style:{width:&quot;100%&quot;,height:`${u}px`},&quot;aria-label&quot;:m})}),p&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{id:d,href:n,target:i,rel:i?&quot;noreferrer noopener&quot;:void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:a})}),l&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{href:t,className:&quot;wp-block-file__button&quot;,download:!0,&quot;aria-describedby&quot;:d,children:(0,Gt.jsx)(fo.RichText.Content,{value:s})})]})}},z1e={attributes:{id:{type:&quot;number&quot;},href:{type:&quot;string&quot;},fileName:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a:not([download])&quot;},textLinkHref:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;href&quot;},textLinkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;target&quot;},showDownloadButton:{type:&quot;boolean&quot;,default:!0},downloadButtonText:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;a[download]&quot;},displayPreview:{type:&quot;boolean&quot;},previewHeight:{type:&quot;number&quot;,default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileName:r,textLinkHref:a,textLinkTarget:n,showDownloadButton:i,downloadButtonText:l,displayPreview:s,previewHeight:c}=e,u=fo.RichText.isEmpty(r)?(0,Wl.__)(&quot;PDF embed&quot;):(0,Wl.sprintf)((0,Wl.__)(&quot;Embed of %s.&quot;),r);return t&amp;&amp;(0,Gt.jsxs)(&quot;div&quot;,{...fo.useBlockProps.save(),children:[s&amp;&amp;(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)(&quot;object&quot;,{className:&quot;wp-block-file__embed&quot;,data:t,type:&quot;application/pdf&quot;,style:{width:&quot;100%&quot;,height:`${c}px`},&quot;aria-label&quot;:u})}),!fo.RichText.isEmpty(r)&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{href:a,target:n,rel:n?&quot;noreferrer noopener&quot;:void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:r})}),i&amp;&amp;(0,Gt.jsx)(&quot;a&quot;,{href:t,className:&quot;wp-block-file__button&quot;,download:!0,children:(0,Gt.jsx)(fo.RichText.Content,{value:l})})]})}},V1e=[A1e,R1e,z1e],OG=V1e;var SN=o(Rr(),1),ch=o(M(),1),sh=o(V(),1),No=o(T(),1),k5=o(U(),1),$G=o(me(),1),$l=o(P(),1);var qG=o(Q(),1),TN=o(xr(),1),ZG=o(mr(),1);var Xo=o(P(),1),Jo=o(M(),1),jG=o(T(),1);var Io=o(v(),1);function UG({hrefs:e,openInNewWindow:t,showDownloadButton:r,changeLinkDestinationOption:a,changeOpenInNewWindow:n,changeShowDownloadButton:i,displayPreview:l,changeDisplayPreview:s,previewHeight:c,changePreviewHeight:u}){let{href:m,textLinkHref:p,attachmentPage:d}=e,f=q(),h=[{value:m,label:(0,Xo.__)(&quot;URL&quot;)}];return d&amp;&amp;(h=[{value:m,label:(0,Xo.__)(&quot;Media file&quot;)},{value:d,label:(0,Xo.__)(&quot;Attachment page&quot;)}]),(0,Io.jsx)(Io.Fragment,{children:(0,Io.jsxs)(jG.InspectorControls,{children:[m.endsWith(&quot;.pdf&quot;)&amp;&amp;(0,Io.jsxs)(Jo.__experimentalToolsPanel,{label:(0,Xo.__)(&quot;PDF settings&quot;),resetAll:()=&gt;{s(!0),u(600)},dropdownMenuProps:f,children:[(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)(&quot;Show inline embed&quot;),isShownByDefault:!0,hasValue:()=&gt;!l,onDeselect:()=&gt;s(!0),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)(&quot;Show inline embed&quot;),help:l?(0,Xo.__)(&quot;Note: Most phone and tablet browsers won&#039;t display embedded PDFs.&quot;):null,checked:!!l,onChange:s})}),l&amp;&amp;(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)(&quot;Height in pixels&quot;),isShownByDefault:!0,hasValue:()=&gt;c!==600,onDeselect:()=&gt;u(600),children:(0,Io.jsx)(Jo.RangeControl,{__next40pxDefaultSize:!0,label:(0,Xo.__)(&quot;Height in pixels&quot;),min:x5,max:Math.max(CN,c),value:c,onChange:u})})]}),(0,Io.jsxs)(Jo.__experimentalToolsPanel,{label:(0,Xo.__)(&quot;Settings&quot;),resetAll:()=&gt;{a(m),n(!1),i(!0)},dropdownMenuProps:f,children:[(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)(&quot;Link to&quot;),isShownByDefault:!0,hasValue:()=&gt;p!==m,onDeselect:()=&gt;a(m),children:(0,Io.jsx)(Jo.SelectControl,{__next40pxDefaultSize:!0,label:(0,Xo.__)(&quot;Link to&quot;),value:p,options:h,onChange:a})}),(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;!!t,onDeselect:()=&gt;n(!1),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)(&quot;Open in new tab&quot;),checked:t,onChange:n})}),(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)(&quot;Show download button&quot;),isShownByDefault:!0,hasValue:()=&gt;!r,onDeselect:()=&gt;i(!0),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)(&quot;Show download button&quot;),checked:r,onChange:i})})]})]})})}var WG=()=&gt;window.navigator.pdfViewerEnabled?!0:!(window.navigator.userAgent.indexOf(&quot;Mobi&quot;)&gt;-1||window.navigator.userAgent.indexOf(&quot;Android&quot;)&gt;-1||window.navigator.userAgent.indexOf(&quot;Macintosh&quot;)&gt;-1&amp;&amp;window.navigator.maxTouchPoints&amp;&amp;window.navigator.maxTouchPoints&gt;2||(window.ActiveXObject||&quot;ActiveXObject&quot;in window)&amp;&amp;!(GG(&quot;AcroPDF.PDF&quot;)||GG(&quot;PDF.PdfCtrl&quot;))),GG=e=&gt;{let t;try{t=new window.ActiveXObject(e)}catch{t=void 0}return t};var Fr=o(v(),1),x5=200,CN=2e3;function F1e({text:e,disabled:t}){let{createNotice:r}=(0,sh.useDispatch)(TN.store),a=(0,$G.useCopyToClipboard)(e,()=&gt;{r(&quot;info&quot;,(0,$l.__)(&quot;Copied URL to clipboard.&quot;),{isDismissible:!0,type:&quot;snackbar&quot;})});return(0,Fr.jsx)(ch.ToolbarButton,{className:&quot;components-clipboard-toolbar-button&quot;,ref:a,disabled:t,children:(0,$l.__)(&quot;Copy URL&quot;)})}function H1e({attributes:e,isSelected:t,setAttributes:r,clientId:a}){let{id:n,fileName:i,href:l,textLinkHref:s,textLinkTarget:c,showDownloadButton:u,downloadButtonText:m,displayPreview:p,previewHeight:d}=e,[f,h]=(0,k5.useState)(e.blob),{media:g}=(0,sh.useSelect)(I=&gt;({media:n===void 0?void 0:I(qG.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,n)}),[n]),{createErrorNotice:b}=(0,sh.useDispatch)(TN.store),{toggleSelection:y,__unstableMarkNextChangeAsNotPersistent:k}=(0,sh.useDispatch)(No.store);Es({url:f,onChange:_,onError:x}),(0,k5.useEffect)(()=&gt;{No.RichText.isEmpty(m)&amp;&amp;(k(),r({downloadButtonText:(0,$l._x)(&quot;Download&quot;,&quot;button label&quot;)}))},[]);function _(I){if(!I||!I.url){r({href:void 0,fileName:void 0,textLinkHref:void 0,id:void 0,fileId:void 0,displayPreview:void 0,previewHeight:void 0}),h();return}if((0,SN.isBlobURL)(I.url)){h(I.url);return}let R=(I.mime||I.mime_type)===&quot;application/pdf&quot;||(0,ZG.getFilename)(I.url).toLowerCase().endsWith(&quot;.pdf&quot;),$={displayPreview:R?e.displayPreview??!0:void 0,previewHeight:R?e.previewHeight??600:void 0};r({href:I.url,fileName:I.title,textLinkHref:I.url,id:I.id,fileId:`wp-block-file--media-${a}`,blob:void 0,...$}),h()}function x(I){r({href:void 0}),b(I,{type:&quot;snackbar&quot;})}function S(I){r({textLinkHref:I})}function C(I){r({textLinkTarget:I?&quot;_blank&quot;:!1})}function N(I){r({showDownloadButton:I})}function B(I){r({displayPreview:I})}function D(I,R,$,j){y(!0);let G=parseInt(d+j.height,10);r({previewHeight:G})}function A(I){let R=Math.max(parseInt(I,10),x5);r({previewHeight:R})}let H=g&amp;&amp;g.link,F=(0,No.useBlockProps)({className:w(!!f&amp;&amp;(0,ch.__unstableGetAnimateClassName)({type:&quot;loading&quot;}),{&quot;is-transient&quot;:!!f})}),z=WG()&amp;&amp;p;return!l&amp;&amp;!f?(0,Fr.jsx)(&quot;div&quot;,{...F,children:(0,Fr.jsx)(No.MediaPlaceholder,{icon:(0,Fr.jsx)(No.BlockIcon,{icon:R0}),labels:{title:(0,$l.__)(&quot;File&quot;),instructions:(0,$l.__)(&quot;Drag and drop a file, upload, or choose from your library.&quot;)},onSelect:_,onError:x,accept:&quot;*&quot;})}):(0,Fr.jsxs)(Fr.Fragment,{children:[(0,Fr.jsx)(UG,{hrefs:{href:l||f,textLinkHref:s,attachmentPage:H},openInNewWindow:!!c,showDownloadButton:u,changeLinkDestinationOption:S,changeOpenInNewWindow:C,changeShowDownloadButton:N,displayPreview:p,changeDisplayPreview:B,previewHeight:d,changePreviewHeight:A}),(0,Fr.jsxs)(No.BlockControls,{group:&quot;other&quot;,children:[(0,Fr.jsx)(No.MediaReplaceFlow,{mediaId:n,mediaURL:l,accept:&quot;*&quot;,onSelect:_,onError:x,onReset:()=&gt;_(void 0)}),(0,Fr.jsx)(F1e,{text:l,disabled:(0,SN.isBlobURL)(l)})]}),(0,Fr.jsxs)(&quot;div&quot;,{...F,children:[z&amp;&amp;(0,Fr.jsxs)(ch.ResizableBox,{size:{height:d,width:&quot;100%&quot;},minHeight:x5,maxHeight:CN,grid:[1,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=&gt;y(!1),onResizeStop:D,showHandle:t,children:[(0,Fr.jsx)(&quot;object&quot;,{className:&quot;wp-block-file__preview&quot;,data:l,type:&quot;application/pdf&quot;,&quot;aria-label&quot;:(0,$l.__)(&quot;Embed of the selected PDF file.&quot;)}),!t&amp;&amp;(0,Fr.jsx)(&quot;div&quot;,{className:&quot;wp-block-file__preview-overlay&quot;})]}),(0,Fr.jsxs)(&quot;div&quot;,{className:&quot;wp-block-file__content-wrapper&quot;,children:[(0,Fr.jsx)(No.RichText,{identifier:&quot;fileName&quot;,tagName:&quot;a&quot;,value:i,placeholder:(0,$l.__)(&quot;Write file name\u2026&quot;),withoutInteractiveFormatting:!0,onChange:I=&gt;r({fileName:N1(I)}),href:s}),u&amp;&amp;(0,Fr.jsx)(&quot;div&quot;,{className:&quot;wp-block-file__button-richtext-wrapper&quot;,children:(0,Fr.jsx)(No.RichText,{identifier:&quot;downloadButtonText&quot;,tagName:&quot;div&quot;,&quot;aria-label&quot;:(0,$l.__)(&quot;Download button text&quot;),className:w(&quot;wp-block-file__button&quot;,(0,No.__experimentalGetElementClassName)(&quot;button&quot;)),value:m,withoutInteractiveFormatting:!0,placeholder:(0,$l.__)(&quot;Add text\u2026&quot;),onChange:I=&gt;r({downloadButtonText:N1(I)})})})]})]})]})}var KG=H1e;var w5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/file&quot;,title:&quot;File&quot;,category:&quot;media&quot;,description:&quot;Add a link to a downloadable file.&quot;,keywords:[&quot;document&quot;,&quot;pdf&quot;,&quot;download&quot;],textdomain:&quot;default&quot;,attributes:{id:{type:&quot;number&quot;},blob:{type:&quot;string&quot;,role:&quot;local&quot;},href:{type:&quot;string&quot;,role:&quot;content&quot;},fileId:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;id&quot;},fileName:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;a:not([download])&quot;,role:&quot;content&quot;},textLinkHref:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},textLinkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a:not([download])&quot;,attribute:&quot;target&quot;},showDownloadButton:{type:&quot;boolean&quot;,default:!0},downloadButtonText:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;a[download]&quot;,role:&quot;content&quot;},displayPreview:{type:&quot;boolean&quot;},previewHeight:{type:&quot;number&quot;,default:600}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},interactivity:!0},editorStyle:&quot;wp-block-file-editor&quot;,style:&quot;wp-block-file&quot;};var Jc=o(T(),1),ql=o(v(),1);function QG({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=Jc.RichText.isEmpty(a)?&quot;PDF embed&quot;:a.toString(),p=!Jc.RichText.isEmpty(a),d=p?r:void 0;return t&amp;&amp;(0,ql.jsxs)(&quot;div&quot;,{...Jc.useBlockProps.save(),children:[c&amp;&amp;(0,ql.jsx)(ql.Fragment,{children:(0,ql.jsx)(&quot;object&quot;,{className:&quot;wp-block-file__embed&quot;,data:t,type:&quot;application/pdf&quot;,style:{width:&quot;100%&quot;,height:`${u}px`},&quot;aria-label&quot;:m})}),p&amp;&amp;(0,ql.jsx)(&quot;a&quot;,{id:d,href:n,target:i,rel:i?&quot;noreferrer noopener&quot;:void 0,children:(0,ql.jsx)(Jc.RichText.Content,{value:a})}),l&amp;&amp;(0,ql.jsx)(&quot;a&quot;,{href:t,className:w(&quot;wp-block-file__button&quot;,(0,Jc.__experimentalGetElementClassName)(&quot;button&quot;)),download:!0,&quot;aria-describedby&quot;:d,children:(0,ql.jsx)(Jc.RichText.Content,{value:s})})]})}var tv=o(Rr(),1),Zl=o(W(),1),C5=o(V(),1),S5=o(Q(),1),YG=o(mr(),1),j1e={from:[{type:&quot;files&quot;,isMatch(e){return e.length&gt;0},priority:15,transform:e=&gt;{let t=[];return e.forEach(r=&gt;{let a=(0,tv.createBlobURL)(r);r.type.startsWith(&quot;video/&quot;)?t.push((0,Zl.createBlock)(&quot;core/video&quot;,{blob:(0,tv.createBlobURL)(r)})):r.type.startsWith(&quot;image/&quot;)?t.push((0,Zl.createBlock)(&quot;core/image&quot;,{blob:(0,tv.createBlobURL)(r)})):r.type.startsWith(&quot;audio/&quot;)?t.push((0,Zl.createBlock)(&quot;core/audio&quot;,{blob:(0,tv.createBlobURL)(r)})):t.push((0,Zl.createBlock)(&quot;core/file&quot;,{blob:a,fileName:r.name}))}),t}},{type:&quot;block&quot;,blocks:[&quot;core/audio&quot;],transform:e=&gt;(0,Zl.createBlock)(&quot;core/file&quot;,{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],transform:e=&gt;(0,Zl.createBlock)(&quot;core/file&quot;,{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:e=&gt;(0,Zl.createBlock)(&quot;core/file&quot;,{href:e.url,fileName:e.caption||(0,YG.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:&quot;block&quot;,blocks:[&quot;core/audio&quot;],isMatch:({id:e})=&gt;{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t(&quot;postType&quot;,&quot;attachment&quot;,e);return!!r&amp;&amp;r.mime_type.includes(&quot;audio&quot;)},transform:e=&gt;(0,Zl.createBlock)(&quot;core/audio&quot;,{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],isMatch:({id:e})=&gt;{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t(&quot;postType&quot;,&quot;attachment&quot;,e);return!!r&amp;&amp;r.mime_type.includes(&quot;video&quot;)},transform:e=&gt;(0,Zl.createBlock)(&quot;core/video&quot;,{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],isMatch:({id:e})=&gt;{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t(&quot;postType&quot;,&quot;attachment&quot;,e);return!!r&amp;&amp;r.mime_type.includes(&quot;image&quot;)},transform:e=&gt;(0,Zl.createBlock)(&quot;core/image&quot;,{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]},XG=j1e;var{fieldsKey:U1e,formKey:G1e}=K(JG.privateApis),{name:eW}=w5,T5={icon:R0,example:{attributes:{href:&quot;https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg&quot;,fileName:(0,uh._x)(&quot;Armstrong_Small_Step&quot;,&quot;Name of the file&quot;)}},transforms:XG,deprecated:OG,edit:KG,save:QG};window.__experimentalContentOnlyInspectorFields&amp;&amp;(T5[U1e]=[{id:&quot;file&quot;,label:(0,uh.__)(&quot;File&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[],multiple:!1},getValue:({item:e})=&gt;({id:e.id,url:e.href}),setValue:({value:e})=&gt;({id:e.id,href:e.url})},{id:&quot;fileName&quot;,label:(0,uh.__)(&quot;Filename&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;downloadButtonText&quot;,label:(0,uh.__)(&quot;Button Text&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],T5[G1e]={fields:[&quot;file&quot;,&quot;fileName&quot;,&quot;downloadButtonText&quot;]});var W1e=()=&gt;E({name:eW,metadata:w5,settings:T5});var DN={};Z(DN,{init:()=&gt;Y1e,metadata:()=&gt;I5,name:()=&gt;sW,settings:()=&gt;cW});var lW=o(Yc(),1);var Eo=o(P(),1),Kl=o(T(),1),Ql=o(M(),1),tW=o(V(),1);var BN=o(P(),1),P5=[&quot;core/form-submission-notification&quot;,{type:&quot;success&quot;},[[&quot;core/paragraph&quot;,{content:&#039;&lt;mark style=&quot;background-color:rgba(0, 0, 0, 0);color:#345C00&quot; class=&quot;has-inline-color&quot;&gt;&#039;+(0,BN.__)(&quot;Your form has been submitted successfully&quot;)+&quot;&lt;/mark&gt;&quot;}]]],B5=[&quot;core/form-submission-notification&quot;,{type:&quot;error&quot;},[[&quot;core/paragraph&quot;,{content:&#039;&lt;mark style=&quot;background-color:rgba(0, 0, 0, 0);color:#CF2E2E&quot; class=&quot;has-inline-color&quot;&gt;&#039;+(0,BN.__)(&quot;There was an error submitting your form.&quot;)+&quot;&lt;/mark&gt;&quot;}]]];var en=o(v(),1),$1e=[P5,B5,[&quot;core/form-input&quot;,{type:&quot;text&quot;,label:(0,Eo.__)(&quot;Name&quot;),required:!0}],[&quot;core/form-input&quot;,{type:&quot;email&quot;,label:(0,Eo.__)(&quot;Email&quot;),required:!0}],[&quot;core/form-input&quot;,{type:&quot;textarea&quot;,label:(0,Eo.__)(&quot;Comment&quot;),required:!0}],[&quot;core/form-submit-button&quot;,{}]],q1e=({attributes:e,setAttributes:t,clientId:r})=&gt;{let a=q(),n=()=&gt;{t({submissionMethod:&quot;email&quot;,email:void 0,action:void 0,method:&quot;post&quot;})},{action:i,method:l,email:s,submissionMethod:c}=e,u=(0,Kl.useBlockProps)(),{hasInnerBlocks:m}=(0,tW.useSelect)(d=&gt;{let{getBlock:f}=d(Kl.store),h=f(r);return{hasInnerBlocks:!!(h&amp;&amp;h.innerBlocks.length)}},[r]),p=(0,Kl.useInnerBlocksProps)(u,{template:$1e,renderAppender:m?void 0:Kl.InnerBlocks.ButtonBlockAppender});return(0,en.jsxs)(en.Fragment,{children:[(0,en.jsx)(Kl.InspectorControls,{children:(0,en.jsxs)(Ql.__experimentalToolsPanel,{dropdownMenuProps:a,label:(0,Eo.__)(&quot;Settings&quot;),resetAll:n,children:[(0,en.jsx)(Ql.__experimentalToolsPanelItem,{hasValue:()=&gt;c!==&quot;email&quot;,label:(0,Eo.__)(&quot;Submissions method&quot;),onDeselect:()=&gt;t({submissionMethod:&quot;email&quot;}),isShownByDefault:!0,children:(0,en.jsx)(Ql.SelectControl,{__next40pxDefaultSize:!0,label:(0,Eo.__)(&quot;Submissions method&quot;),options:[{label:(0,Eo.__)(&quot;Send email&quot;),value:&quot;email&quot;},{label:(0,Eo.__)(&quot;- Custom -&quot;),value:&quot;custom&quot;}],value:c,onChange:d=&gt;t({submissionMethod:d}),help:c===&quot;custom&quot;?(0,Eo.__)(&#039;Select the method to use for form submissions. Additional options for the &quot;custom&quot; mode can be found in the &quot;Advanced&quot; section.&#039;):(0,Eo.__)(&quot;Select the method to use for form submissions.&quot;)})}),c===&quot;email&quot;&amp;&amp;(0,en.jsx)(Ql.__experimentalToolsPanelItem,{hasValue:()=&gt;!!s,label:(0,Eo.__)(&quot;Email for form submissions&quot;),onDeselect:()=&gt;t({email:void 0,action:void 0,method:&quot;post&quot;}),isShownByDefault:!0,children:(0,en.jsx)(Ql.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,Eo.__)(&quot;Email for form submissions&quot;),value:s||&quot;&quot;,required:!0,onChange:d=&gt;{t({email:d}),t({action:`mailto:${d}`}),t({method:&quot;post&quot;})},help:(0,Eo.__)(&quot;The email address where form submissions will be sent. Separate multiple email addresses with a comma.&quot;),type:&quot;email&quot;})})]})}),c!==&quot;email&quot;&amp;&amp;(0,en.jsxs)(Kl.InspectorControls,{group:&quot;advanced&quot;,children:[(0,en.jsx)(Ql.SelectControl,{__next40pxDefaultSize:!0,label:(0,Eo.__)(&quot;Method&quot;),options:[{label:&quot;Get&quot;,value:&quot;get&quot;},{label:&quot;Post&quot;,value:&quot;post&quot;}],value:l,onChange:d=&gt;t({method:d}),help:(0,Eo.__)(&quot;Select the method to use for form submissions.&quot;)}),(0,en.jsx)(Ql.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,Eo.__)(&quot;Form action&quot;),value:i,onChange:d=&gt;{t({action:d})},help:(0,Eo.__)(&quot;The URL where the form should be submitted.&quot;),type:&quot;url&quot;})]}),(0,en.jsx)(&quot;form&quot;,{...p,encType:c===&quot;email&quot;?&quot;text/plain&quot;:null})]})},rW=q1e;var I5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/form&quot;,title:&quot;Form&quot;,category:&quot;common&quot;,allowedBlocks:[&quot;core/paragraph&quot;,&quot;core/heading&quot;,&quot;core/form-input&quot;,&quot;core/form-submit-button&quot;,&quot;core/form-submission-notification&quot;,&quot;core/group&quot;,&quot;core/columns&quot;],description:&quot;A form.&quot;,keywords:[&quot;container&quot;,&quot;wrapper&quot;,&quot;row&quot;,&quot;section&quot;],textdomain:&quot;default&quot;,attributes:{submissionMethod:{type:&quot;string&quot;,default:&quot;email&quot;},method:{type:&quot;string&quot;,default:&quot;post&quot;},action:{type:&quot;string&quot;},email:{type:&quot;string&quot;}},supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}};var N5=o(T(),1),IN=o(v(),1);function oW({attributes:e}){let t=N5.useBlockProps.save(),{submissionMethod:r}=e;return(0,IN.jsx)(&quot;form&quot;,{...t,encType:r===&quot;email&quot;?&quot;text/plain&quot;:null,children:(0,IN.jsx)(N5.InnerBlocks.Content,{})})}var sl=o(P(),1);var K1e=[{name:&quot;comment-form&quot;,title:(0,sl.__)(&quot;Experimental Comment form&quot;),description:(0,sl.__)(&quot;A comment form for posts and pages.&quot;),attributes:{submissionMethod:&quot;custom&quot;,action:&quot;{SITE_URL}/wp-comments-post.php&quot;,method:&quot;post&quot;,anchor:&quot;comment-form&quot;},isDefault:!1,innerBlocks:[[&quot;core/form-input&quot;,{type:&quot;text&quot;,name:&quot;author&quot;,label:(0,sl.__)(&quot;Name&quot;),required:!0,visibilityPermissions:&quot;logged-out&quot;}],[&quot;core/form-input&quot;,{type:&quot;email&quot;,name:&quot;email&quot;,label:(0,sl.__)(&quot;Email&quot;),required:!0,visibilityPermissions:&quot;logged-out&quot;}],[&quot;core/form-input&quot;,{type:&quot;textarea&quot;,name:&quot;comment&quot;,label:(0,sl.__)(&quot;Comment&quot;),required:!0,visibilityPermissions:&quot;all&quot;}],[&quot;core/form-submit-button&quot;,{}]],scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;!e?.type||e?.type===&quot;text&quot;},{name:&quot;wp-privacy-form&quot;,title:(0,sl.__)(&quot;Experimental Privacy Request Form&quot;),keywords:[&quot;GDPR&quot;],description:(0,sl.__)(&quot;A form to request data exports and/or deletion.&quot;),attributes:{submissionMethod:&quot;custom&quot;,action:&quot;&quot;,method:&quot;post&quot;,anchor:&quot;gdpr-form&quot;},isDefault:!1,innerBlocks:[P5,B5,[&quot;core/paragraph&quot;,{content:(0,sl.__)(&quot;To request an export or deletion of your personal data on this site, please fill-in the form below. You can define the type of request you wish to perform, and your email address. Once the form is submitted, you will receive a confirmation email with instructions on the next steps.&quot;)}],[&quot;core/form-input&quot;,{type:&quot;email&quot;,name:&quot;email&quot;,label:(0,sl.__)(&quot;Enter your email address.&quot;),required:!0,visibilityPermissions:&quot;all&quot;}],[&quot;core/form-input&quot;,{type:&quot;checkbox&quot;,name:&quot;export_personal_data&quot;,label:(0,sl.__)(&quot;Request data export&quot;),required:!1,visibilityPermissions:&quot;all&quot;}],[&quot;core/form-input&quot;,{type:&quot;checkbox&quot;,name:&quot;remove_personal_data&quot;,label:(0,sl.__)(&quot;Request data deletion&quot;),required:!1,visibilityPermissions:&quot;all&quot;}],[&quot;core/form-submit-button&quot;,{}],[&quot;core/form-input&quot;,{type:&quot;hidden&quot;,name:&quot;wp-action&quot;,value:&quot;wp_privacy_send_request&quot;}],[&quot;core/form-input&quot;,{type:&quot;hidden&quot;,name:&quot;wp-privacy-request&quot;,value:&quot;1&quot;}]],scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;!e?.type||e?.type===&quot;text&quot;}],aW=K1e;var js=o(T(),1),NN=o(v(),1),Q1e={supports:{},attributes:{submissionMethod:{type:&quot;string&quot;,default:&quot;email&quot;},method:{type:&quot;string&quot;,default:&quot;post&quot;},action:{type:&quot;string&quot;},email:{type:&quot;string&quot;},anchor:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;id&quot;,selector:&quot;*&quot;},backgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},gradient:{type:&quot;string&quot;},style:{type:&quot;object&quot;},fontFamily:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;}},save({attributes:e}){let{submissionMethod:t}=e,r=(0,js.__experimentalGetColorClassesAndStyles)(e),a=(0,js.getTypographyClassesAndStyles)(e),n=(0,js.__experimentalGetSpacingClassesAndStyles)(e),i=js.useBlockProps.save({style:{...r.style,...a.style,...n.style},id:e.anchor});return(0,NN.jsx)(&quot;form&quot;,{...i,className:&quot;wp-block-form&quot;,encType:t===&quot;email&quot;?&quot;text/plain&quot;:null,children:(0,NN.jsx)(js.InnerBlocks.Content,{})})}},nW=[Q1e];var E5=o(L(),1),EN=o(v(),1),iW=(0,EN.jsx)(E5.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,EN.jsx)(E5.Path,{d:&quot;M18 16H6c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2Zm0 2.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h12c.3 0 .5.2.5.5s-.2.5-.5.5ZM13 13H4v1.5h9V13Zm-7-2h12c1.1 0 2-.9 2-2s-.9-2-2-2H6c-1.1 0-2 .9-2 2s.9 2 2 2Zm0-2.5h12c.3 0 .5.2.5.5s-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5ZM13 4H4v1.5h9V4Z&quot;})});var{name:sW}=I5,cW={icon:iW,edit:rW,save:oW,deprecated:nW,variations:aW,example:{}},Y1e=()=&gt;{let e=[&quot;core/form&quot;];return(0,lW.addFilter)(&quot;blockEditor.__unstableCanInsertBlockType&quot;,&quot;core/block-library/preventInsertingFormIntoAnotherForm&quot;,(t,r,a,{getBlock:n,getBlockParentsByBlockName:i})=&gt;{if(r.name!==&quot;core/form&quot;)return t;for(let l of e)if(n(a)?.name===l||i(a,l).length)return!1;return!0}),E({name:sW,metadata:I5,settings:cW})};var MN={};Z(MN,{init:()=&gt;cve,metadata:()=&gt;L5,name:()=&gt;CW,settings:()=&gt;SW});var dW=o(rv(),1),Yl=o(T(),1),fW=o(ai(),1),vi=o(v(),1),hW=e=&gt;(0,dW.default)((0,fW.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,&quot;-&quot;).toLowerCase().replace(/(^-+)|(-+$)/g,&quot;&quot;),rve={attributes:{type:{type:&quot;string&quot;,default:&quot;text&quot;},name:{type:&quot;string&quot;},label:{type:&quot;string&quot;,default:&quot;Label&quot;,selector:&quot;.wp-block-form-input__label-content&quot;,source:&quot;html&quot;,role:&quot;content&quot;},inlineLabel:{type:&quot;boolean&quot;,default:!1},required:{type:&quot;boolean&quot;,default:!1,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;required&quot;},placeholder:{type:&quot;string&quot;,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;placeholder&quot;,role:&quot;content&quot;},value:{type:&quot;string&quot;,default:&quot;&quot;,selector:&quot;input&quot;,source:&quot;attribute&quot;,attribute:&quot;value&quot;},visibilityPermissions:{type:&quot;string&quot;,default:&quot;all&quot;}},supports:{anchor:!0,reusable:!1,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,Yl.__experimentalGetBorderClassesAndStyles)(e),u=(0,Yl.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w(&quot;wp-block-form-input__input&quot;,u.className,c.className),d=t===&quot;textarea&quot;?&quot;textarea&quot;:&quot;input&quot;,f=Yl.useBlockProps.save();return t===&quot;hidden&quot;?(0,vi.jsx)(&quot;input&quot;,{type:t,name:r,value:s}):(0,vi.jsx)(&quot;div&quot;,{...f,children:(0,vi.jsxs)(&quot;label&quot;,{className:w(&quot;wp-block-form-input__label&quot;,{&quot;is-label-inline&quot;:n}),children:[(0,vi.jsx)(&quot;span&quot;,{className:&quot;wp-block-form-input__label-content&quot;,children:(0,vi.jsx)(Yl.RichText.Content,{value:a})}),(0,vi.jsx)(d,{className:p,type:t===&quot;textarea&quot;?void 0:t,name:r||hW(a),required:i,&quot;aria-required&quot;:i,placeholder:l||void 0,style:m})]})})}},ove={attributes:{type:{type:&quot;string&quot;,default:&quot;text&quot;},name:{type:&quot;string&quot;},label:{type:&quot;string&quot;,default:&quot;Label&quot;,selector:&quot;.wp-block-form-input__label-content&quot;,source:&quot;html&quot;,role:&quot;content&quot;},inlineLabel:{type:&quot;boolean&quot;,default:!1},required:{type:&quot;boolean&quot;,default:!1,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;required&quot;},placeholder:{type:&quot;string&quot;,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;placeholder&quot;,role:&quot;content&quot;},value:{type:&quot;string&quot;,default:&quot;&quot;,selector:&quot;input&quot;,source:&quot;attribute&quot;,attribute:&quot;value&quot;},visibilityPermissions:{type:&quot;string&quot;,default:&quot;all&quot;}},supports:{className:!1,anchor:!0,reusable:!1,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,Yl.__experimentalGetBorderClassesAndStyles)(e),u=(0,Yl.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w(&quot;wp-block-form-input__input&quot;,u.className,c.className),d=t===&quot;textarea&quot;?&quot;textarea&quot;:&quot;input&quot;;return t===&quot;hidden&quot;?(0,vi.jsx)(&quot;input&quot;,{type:t,name:r,value:s}):(0,vi.jsxs)(&quot;label&quot;,{className:w(&quot;wp-block-form-input__label&quot;,{&quot;is-label-inline&quot;:n}),children:[(0,vi.jsx)(&quot;span&quot;,{className:&quot;wp-block-form-input__label-content&quot;,children:(0,vi.jsx)(Yl.RichText.Content,{value:a})}),(0,vi.jsx)(d,{className:p,type:t===&quot;textarea&quot;?void 0:t,name:r||hW(a),required:i,&quot;aria-required&quot;:i,placeholder:l||void 0,style:m})]})}},ave=[rve,ove],gW=ave;var An=o(P(),1),Xl=o(T(),1),Us=o(M(),1),vW=o(U(),1);var Yr=o(v(),1);function nve({attributes:e,setAttributes:t,className:r}){let{type:a,name:n,label:i,inlineLabel:l,required:s,placeholder:c,value:u}=e,m=(0,Xl.useBlockProps)(),p=q(),d=(0,vW.useRef)(),f=a===&quot;textarea&quot;?&quot;textarea&quot;:&quot;input&quot;,h=(0,Xl.__experimentalUseBorderProps)(e),g=(0,Xl.__experimentalUseColorProps)(e);d.current&amp;&amp;d.current.focus();let b=a===&quot;checkbox&quot;||a===&quot;radio&quot;,y=(0,Yr.jsxs)(Yr.Fragment,{children:[a!==&quot;hidden&quot;&amp;&amp;(0,Yr.jsx)(Xl.InspectorControls,{children:(0,Yr.jsxs)(Us.__experimentalToolsPanel,{label:(0,An.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({inlineLabel:!1,required:!1})},dropdownMenuProps:p,children:[a!==&quot;checkbox&quot;&amp;&amp;(0,Yr.jsx)(Us.__experimentalToolsPanelItem,{label:(0,An.__)(&quot;Inline label&quot;),hasValue:()=&gt;!!l,onDeselect:()=&gt;t({inlineLabel:!1}),isShownByDefault:!0,children:(0,Yr.jsx)(Us.CheckboxControl,{label:(0,An.__)(&quot;Inline label&quot;),checked:l,onChange:_=&gt;{t({inlineLabel:_})}})}),(0,Yr.jsx)(Us.__experimentalToolsPanelItem,{label:(0,An.__)(&quot;Required&quot;),hasValue:()=&gt;!!s,onDeselect:()=&gt;t({required:!1}),isShownByDefault:!0,children:(0,Yr.jsx)(Us.CheckboxControl,{label:(0,An.__)(&quot;Required&quot;),checked:s,onChange:_=&gt;{t({required:_})}})})]})}),(0,Yr.jsx)(Xl.InspectorControls,{group:&quot;advanced&quot;,children:(0,Yr.jsx)(Us.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,An.__)(&quot;Name&quot;),value:n,onChange:_=&gt;{t({name:_})},help:(0,An.__)(&#039;Affects the &quot;name&quot; attribute of the input element, and is used as a name for the form submission results.&#039;)})})]}),k=(0,Yr.jsx)(Xl.RichText,{tagName:&quot;span&quot;,className:&quot;wp-block-form-input__label-content&quot;,value:i,onChange:_=&gt;t({label:_}),&quot;aria-label&quot;:i?(0,An.__)(&quot;Label&quot;):(0,An.__)(&quot;Empty label&quot;),&quot;data-empty&quot;:!i,placeholder:(0,An.__)(&quot;Type the label for this input&quot;)});return a===&quot;hidden&quot;?(0,Yr.jsxs)(Yr.Fragment,{children:[y,(0,Yr.jsx)(&quot;input&quot;,{type:&quot;hidden&quot;,className:w(r,&quot;wp-block-form-input__input&quot;,g.className,h.className),&quot;aria-label&quot;:(0,An.__)(&quot;Value&quot;),value:u,onChange:_=&gt;t({value:_.target.value})})]}):(0,Yr.jsxs)(&quot;div&quot;,{...m,children:[y,(0,Yr.jsxs)(&quot;span&quot;,{className:w(&quot;wp-block-form-input__label&quot;,{&quot;is-label-inline&quot;:l||a===&quot;checkbox&quot;}),children:[!b&amp;&amp;k,(0,Yr.jsx)(f,{type:a===&quot;textarea&quot;?void 0:a,className:w(r,&quot;wp-block-form-input__input&quot;,g.className,h.className),&quot;aria-label&quot;:(0,An.__)(&quot;Optional placeholder text&quot;),placeholder:c?void 0:(0,An.__)(&quot;Optional placeholder\u2026&quot;),value:c,onChange:_=&gt;t({placeholder:_.target.value}),&quot;aria-required&quot;:s,style:{...h.style,...g.style}}),b&amp;&amp;k]})]})}var bW=nve;var L5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/form-input&quot;,title:&quot;Input Field&quot;,category:&quot;common&quot;,ancestor:[&quot;core/form&quot;],description:&quot;The basic building block for forms.&quot;,keywords:[&quot;input&quot;,&quot;form&quot;],textdomain:&quot;default&quot;,attributes:{type:{type:&quot;string&quot;,default:&quot;text&quot;},name:{type:&quot;string&quot;},label:{type:&quot;rich-text&quot;,default:&quot;Label&quot;,selector:&quot;.wp-block-form-input__label-content&quot;,source:&quot;rich-text&quot;,role:&quot;content&quot;},inlineLabel:{type:&quot;boolean&quot;,default:!1},required:{type:&quot;boolean&quot;,default:!1,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;required&quot;},placeholder:{type:&quot;string&quot;,selector:&quot;.wp-block-form-input__input&quot;,source:&quot;attribute&quot;,attribute:&quot;placeholder&quot;,role:&quot;content&quot;},value:{type:&quot;string&quot;,default:&quot;&quot;,selector:&quot;input&quot;,source:&quot;attribute&quot;,attribute:&quot;value&quot;},visibilityPermissions:{type:&quot;string&quot;,default:&quot;all&quot;}},supports:{anchor:!0,reusable:!1,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},style:[&quot;wp-block-form-input&quot;]};var yW=o(rv(),1),eu=o(T(),1),_W=o(ai(),1),Gs=o(v(),1),lve=e=&gt;(0,yW.default)((0,_W.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,&quot;-&quot;).toLowerCase().replace(/(^-+)|(-+$)/g,&quot;&quot;);function xW({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,eu.__experimentalGetBorderClassesAndStyles)(e),u=(0,eu.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w(&quot;wp-block-form-input__input&quot;,u.className,c.className),d=t===&quot;textarea&quot;?&quot;textarea&quot;:&quot;input&quot;,f=eu.useBlockProps.save(),h=t===&quot;checkbox&quot;||t===&quot;radio&quot;;return t===&quot;hidden&quot;?(0,Gs.jsx)(&quot;input&quot;,{type:t,name:r,value:s}):(0,Gs.jsx)(&quot;div&quot;,{...f,children:(0,Gs.jsxs)(&quot;label&quot;,{className:w(&quot;wp-block-form-input__label&quot;,{&quot;is-label-inline&quot;:n}),children:[!h&amp;&amp;(0,Gs.jsx)(&quot;span&quot;,{className:&quot;wp-block-form-input__label-content&quot;,children:(0,Gs.jsx)(eu.RichText.Content,{value:a})}),(0,Gs.jsx)(d,{className:p,type:t===&quot;textarea&quot;?void 0:t,name:r||lve(a),required:i,&quot;aria-required&quot;:i,placeholder:l||void 0,style:m}),h&amp;&amp;(0,Gs.jsx)(&quot;span&quot;,{className:&quot;wp-block-form-input__label-content&quot;,children:(0,Gs.jsx)(eu.RichText.Content,{value:a})})]})})}var tn=o(P(),1),sve=[{name:&quot;text&quot;,title:(0,tn.__)(&quot;Text Input&quot;),description:(0,tn.__)(&quot;A generic text input.&quot;),attributes:{type:&quot;text&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;!e?.type||e?.type===&quot;text&quot;},{name:&quot;textarea&quot;,title:(0,tn.__)(&quot;Textarea Input&quot;),description:(0,tn.__)(&quot;A textarea input to allow entering multiple lines of text.&quot;),attributes:{type:&quot;textarea&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;textarea&quot;},{name:&quot;checkbox&quot;,title:(0,tn.__)(&quot;Checkbox Input&quot;),description:(0,tn.__)(&quot;A simple checkbox input.&quot;),attributes:{type:&quot;checkbox&quot;,inlineLabel:!0},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;checkbox&quot;},{name:&quot;email&quot;,title:(0,tn.__)(&quot;Email Input&quot;),description:(0,tn.__)(&quot;Used for email addresses.&quot;),attributes:{type:&quot;email&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;email&quot;},{name:&quot;url&quot;,title:(0,tn.__)(&quot;URL Input&quot;),description:(0,tn.__)(&quot;Used for URLs.&quot;),attributes:{type:&quot;url&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;url&quot;},{name:&quot;tel&quot;,title:(0,tn.__)(&quot;Telephone Input&quot;),description:(0,tn.__)(&quot;Used for phone numbers.&quot;),attributes:{type:&quot;tel&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;tel&quot;},{name:&quot;number&quot;,title:(0,tn.__)(&quot;Number Input&quot;),description:(0,tn.__)(&quot;A numeric input.&quot;),attributes:{type:&quot;number&quot;},isDefault:!0,scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.type===&quot;number&quot;}],kW=sve;var M5=o(L(),1),LN=o(v(),1),wW=(0,LN.jsx)(M5.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LN.jsx)(M5.Path,{d:&quot;M5.547 18.892A.99.99 0 0 0 6 19h.72v1H6a1.99 1.99 0 0 1-.908-.22l.455-.888ZM9.12 20H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.587-.22c-.272.14-.58.22-.907.22h-.72v-1H18a.99.99 0 0 0 .453-.108l.454.888ZM5.108 17.547a.99.99 0 0 0 0 .906l-.89.454a1.99 1.99 0 0 1 0-1.815l.89.455Zm14.672-.455a1.99 1.99 0 0 1 0 1.815l-.888-.454a.99.99 0 0 0 0-.906l.888-.455ZM6.72 17H6a.99.99 0 0 0-.453.108l-.455-.89A1.99 1.99 0 0 1 6 16h.72v1ZM18 16c.327 0 .635.08.907.219l-.454.89A.99.99 0 0 0 18 17h-.72v-1H18Zm-8.88 1H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1ZM5.5 14.28H4.25v-1H5.5v1Zm2.5 0H6.5v-1H8v1Zm2.5 0H9v-1h1.5v1Zm2.25 0H11.5v-1h1.25v1ZM18 7a2 2 0 1 1 0 4H6a2 2 0 1 1 0-4h12ZM6 8.5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H6Zm7-3H4V4h9v1.5Z&quot;})});var{name:CW}=L5,SW={icon:wW,deprecated:gW,edit:bW,save:xW,variations:kW,example:{}},cve=()=&gt;E({name:CW,metadata:L5,settings:SW});var RN={};Z(RN,{init:()=&gt;dve,metadata:()=&gt;R5,name:()=&gt;NW,settings:()=&gt;EW});var TW=o(P(),1),A5=o(T(),1),PW=o(v(),1),uve=[[&quot;core/buttons&quot;,{},[[&quot;core/button&quot;,{text:(0,TW.__)(&quot;Submit&quot;),tagName:&quot;button&quot;,type:&quot;submit&quot;}]]]],mve=()=&gt;{let e=(0,A5.useBlockProps)(),t=(0,A5.useInnerBlocksProps)(e,{template:uve,templateLock:&quot;all&quot;});return(0,PW.jsx)(&quot;div&quot;,{className:&quot;wp-block-form-submit-wrapper&quot;,...t})},BW=mve;var R5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/form-submit-button&quot;,title:&quot;Form Submit Button&quot;,category:&quot;common&quot;,icon:&quot;button&quot;,ancestor:[&quot;core/form&quot;],allowedBlocks:[&quot;core/buttons&quot;,&quot;core/button&quot;],description:&quot;A submission button for forms.&quot;,keywords:[&quot;submit&quot;,&quot;button&quot;,&quot;form&quot;],textdomain:&quot;default&quot;,style:[&quot;wp-block-form-submit-button&quot;]};var z5=o(T(),1),AN=o(v(),1);function IW(){let e=z5.useBlockProps.save();return(0,AN.jsx)(&quot;div&quot;,{className:&quot;wp-block-form-submit-wrapper&quot;,...e,children:(0,AN.jsx)(z5.InnerBlocks.Content,{})})}var{name:NW}=R5,EW={edit:BW,save:IW,example:{}},dve=()=&gt;E({name:NW,metadata:R5,settings:EW});var zN={};Z(zN,{init:()=&gt;bve,metadata:()=&gt;F5,name:()=&gt;VW,settings:()=&gt;FW});var V5=o(P(),1),dm=o(T(),1),DW=o(V(),1);var LW=o(v(),1),fve=[[&quot;core/paragraph&quot;,{content:(0,V5.__)(&quot;Enter the message you wish displayed for form submission error/success, and select the type of the message (success/error) from the block&#039;s options.&quot;)}]],hve=({attributes:e,clientId:t})=&gt;{let{type:r}=e,a=(0,dm.useBlockProps)({className:w(&quot;wp-block-form-submission-notification&quot;,{[`form-notification-type-${r}`]:r})}),{hasInnerBlocks:n}=(0,DW.useSelect)(l=&gt;{let{getBlock:s}=l(dm.store),c=s(t);return{hasInnerBlocks:!!(c&amp;&amp;c.innerBlocks.length)}},[t]),i=(0,dm.useInnerBlocksProps)(a,{template:fve,renderAppender:n?void 0:dm.InnerBlocks.ButtonBlockAppender});return(0,LW.jsx)(&quot;div&quot;,{...i,&quot;data-message-success&quot;:(0,V5.__)(&quot;Submission success notification&quot;),&quot;data-message-error&quot;:(0,V5.__)(&quot;Submission error notification&quot;)})},MW=hve;var F5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/form-submission-notification&quot;,title:&quot;Form Submission Notification&quot;,category:&quot;common&quot;,ancestor:[&quot;core/form&quot;],description:&quot;Provide a notification message after the form has been submitted.&quot;,keywords:[&quot;form&quot;,&quot;feedback&quot;,&quot;notification&quot;,&quot;message&quot;],textdomain:&quot;default&quot;,icon:&quot;feedback&quot;,attributes:{type:{type:&quot;string&quot;,default:&quot;success&quot;}}};var H5=o(T(),1);var AW=o(v(),1);function RW({attributes:e}){let{type:t}=e;return(0,AW.jsx)(&quot;div&quot;,{...H5.useInnerBlocksProps.save(H5.useBlockProps.save({className:w(&quot;wp-block-form-submission-notification&quot;,{[`form-notification-type-${t}`]:t})}))})}var ad=o(P(),1),vve=[{name:&quot;form-submission-success&quot;,title:(0,ad.__)(&quot;Form Submission Success&quot;),description:(0,ad.__)(&quot;Success message for form submissions.&quot;),attributes:{type:&quot;success&quot;},isDefault:!0,innerBlocks:[[&quot;core/paragraph&quot;,{content:(0,ad.__)(&quot;Your form has been submitted successfully.&quot;),backgroundColor:&quot;#00D084&quot;,textColor:&quot;#000000&quot;,style:{elements:{link:{color:{text:&quot;#000000&quot;}}}}}]],scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;!e?.type||e?.type===&quot;success&quot;},{name:&quot;form-submission-error&quot;,title:(0,ad.__)(&quot;Form Submission Error&quot;),description:(0,ad.__)(&quot;Error/failure message for form submissions.&quot;),attributes:{type:&quot;error&quot;},isDefault:!1,innerBlocks:[[&quot;core/paragraph&quot;,{content:(0,ad.__)(&quot;There was an error submitting your form.&quot;),backgroundColor:&quot;#CF2E2E&quot;,textColor:&quot;#FFFFFF&quot;,style:{elements:{link:{color:{text:&quot;#FFFFFF&quot;}}}}}]],scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;!e?.type||e?.type===&quot;error&quot;}],zW=vve;var{name:VW}=F5,FW={icon:wp,edit:MW,save:RW,variations:zW,example:{}},bve=()=&gt;E({name:VW,metadata:F5,settings:FW});var ZN={};Z(ZN,{init:()=&gt;Fve,metadata:()=&gt;j5,name:()=&gt;b$,settings:()=&gt;y$});var Ir=o(T(),1),jW=o(W(),1);var Ws=&quot;none&quot;,$s=&quot;media&quot;,ov=&quot;lightbox&quot;,qs=&quot;attachment&quot;,HW=&quot;file&quot;,OW=&quot;post&quot;,av=&quot;large&quot;;var Fe=o(v(),1),UW=&quot;file&quot;,GW=&quot;post&quot;;function mh(e){return Math.min(3,e?.images?.length)}function yve(e,t){switch(t){case UW:return{href:e?.source_url||e?.url,linkDestination:$s};case GW:return{href:e?.link,linkDestination:qs};case $s:return{href:e?.source_url||e?.url,linkDestination:$s};case qs:return{href:e?.link,linkDestination:qs};case Ws:return{href:void 0,linkDestination:Ws}}return{}}function ph(e){let t=e.linkTo?e.linkTo:&quot;none&quot;;t===&quot;post&quot;?t=&quot;attachment&quot;:t===&quot;file&quot;&amp;&amp;(t=&quot;media&quot;);let r=e.images.map(l=&gt;_ve(l,e.sizeSlug,t)),{images:a,ids:n,...i}=e;return[{...i,linkTo:t,allowResize:!1},r]}function _ve(e,t,r){return(0,jW.createBlock)(&quot;core/image&quot;,{...e.id&amp;&amp;{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...yve(e,r)})}var xve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.blocks-gallery-item&quot;,query:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},link:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-item__caption&quot;}}},ids:{type:&quot;array&quot;,items:{type:&quot;number&quot;},default:[]},shortCodeTransforms:{type:&quot;array&quot;,default:[],items:{type:&quot;object&quot;}},columns:{type:&quot;number&quot;,minimum:1,maximum:8},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-caption&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},fixedHeight:{type:&quot;boolean&quot;,default:!0},linkTarget:{type:&quot;string&quot;},linkTo:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;,default:&quot;large&quot;},allowResize:{type:&quot;boolean&quot;,default:!1}},save({attributes:e}){let{caption:t,columns:r,imageCrop:a}=e,n=w(&quot;has-nested-images&quot;,{[`columns-${r}`]:r!==void 0,&quot;columns-default&quot;:r===void 0,&quot;is-cropped&quot;:a}),i=Ir.useBlockProps.save({className:n}),l=Ir.useInnerBlocksProps.save(i);return(0,Fe.jsxs)(&quot;figure&quot;,{...l,children:[l.children,!Ir.RichText.isEmpty(t)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-caption&quot;,value:t})]})}},kve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.blocks-gallery-item&quot;,query:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},link:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-item__caption&quot;}}},ids:{type:&quot;array&quot;,items:{type:&quot;number&quot;},default:[]},columns:{type:&quot;number&quot;,minimum:1,maximum:8},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-caption&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},fixedHeight:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;,default:&quot;large&quot;}},supports:{anchor:!0,align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e,l=`columns-${r} ${a?&quot;is-cropped&quot;:&quot;&quot;}`;return(0,Fe.jsxs)(&quot;figure&quot;,{...Ir.useBlockProps.save({className:l}),children:[(0,Fe.jsx)(&quot;ul&quot;,{className:&quot;blocks-gallery-grid&quot;,children:t.map(s=&gt;{let c;switch(i){case UW:c=s.fullUrl||s.url;break;case GW:c=s.link;break}let u=(0,Fe.jsx)(&quot;img&quot;,{src:s.url,alt:s.alt,&quot;data-id&quot;:s.id,&quot;data-full-url&quot;:s.fullUrl,&quot;data-link&quot;:s.link,className:s.id?`wp-image-${s.id}`:null});return(0,Fe.jsx)(&quot;li&quot;,{className:&quot;blocks-gallery-item&quot;,children:(0,Fe.jsxs)(&quot;figure&quot;,{children:[c?(0,Fe.jsx)(&quot;a&quot;,{href:c,children:u}):u,!Ir.RichText.isEmpty(s.caption)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-item__caption&quot;,value:s.caption})]})},s.id||s.url)})}),!Ir.RichText.isEmpty(n)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-caption&quot;,value:n})]})},migrate(e){return ph(e)}},wve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.blocks-gallery-item&quot;,query:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},link:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-item__caption&quot;}}},ids:{type:&quot;array&quot;,items:{type:&quot;number&quot;},default:[]},columns:{type:&quot;number&quot;,minimum:1,maximum:8},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-caption&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;,default:&quot;none&quot;},sizeSlug:{type:&quot;string&quot;,default:&quot;large&quot;}},supports:{align:!0},isEligible({linkTo:e}){return!e||e===&quot;attachment&quot;||e===&quot;media&quot;},migrate(e){return ph(e)},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e;return(0,Fe.jsxs)(&quot;figure&quot;,{className:`columns-${r} ${a?&quot;is-cropped&quot;:&quot;&quot;}`,children:[(0,Fe.jsx)(&quot;ul&quot;,{className:&quot;blocks-gallery-grid&quot;,children:t.map(l=&gt;{let s;switch(i){case&quot;media&quot;:s=l.fullUrl||l.url;break;case&quot;attachment&quot;:s=l.link;break}let c=(0,Fe.jsx)(&quot;img&quot;,{src:l.url,alt:l.alt,&quot;data-id&quot;:l.id,&quot;data-full-url&quot;:l.fullUrl,&quot;data-link&quot;:l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Fe.jsx)(&quot;li&quot;,{className:&quot;blocks-gallery-item&quot;,children:(0,Fe.jsxs)(&quot;figure&quot;,{children:[s?(0,Fe.jsx)(&quot;a&quot;,{href:s,children:c}):c,!Ir.RichText.isEmpty(l.caption)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-item__caption&quot;,value:l.caption})]})},l.id||l.url)})}),!Ir.RichText.isEmpty(n)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-caption&quot;,value:n})]})}},Cve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.blocks-gallery-item&quot;,query:{url:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},link:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},alt:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-item__caption&quot;}}},ids:{type:&quot;array&quot;,default:[]},columns:{type:&quot;number&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;.blocks-gallery-caption&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;,default:&quot;none&quot;}},supports:{align:!0},isEligible({ids:e}){return e&amp;&amp;e.some(t=&gt;typeof t==&quot;string&quot;)},migrate(e){return ph(e)},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e;return(0,Fe.jsxs)(&quot;figure&quot;,{className:`columns-${r} ${a?&quot;is-cropped&quot;:&quot;&quot;}`,children:[(0,Fe.jsx)(&quot;ul&quot;,{className:&quot;blocks-gallery-grid&quot;,children:t.map(l=&gt;{let s;switch(i){case&quot;media&quot;:s=l.fullUrl||l.url;break;case&quot;attachment&quot;:s=l.link;break}let c=(0,Fe.jsx)(&quot;img&quot;,{src:l.url,alt:l.alt,&quot;data-id&quot;:l.id,&quot;data-full-url&quot;:l.fullUrl,&quot;data-link&quot;:l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Fe.jsx)(&quot;li&quot;,{className:&quot;blocks-gallery-item&quot;,children:(0,Fe.jsxs)(&quot;figure&quot;,{children:[s?(0,Fe.jsx)(&quot;a&quot;,{href:s,children:c}):c,!Ir.RichText.isEmpty(l.caption)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-item__caption&quot;,value:l.caption})]})},l.id||l.url)})}),!Ir.RichText.isEmpty(n)&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,className:&quot;blocks-gallery-caption&quot;,value:n})]})}},Sve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;ul.wp-block-gallery .blocks-gallery-item&quot;,query:{url:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},alt:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},link:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;}}},ids:{type:&quot;array&quot;,default:[]},columns:{type:&quot;number&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;,default:&quot;none&quot;}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,linkTo:n}=e;return(0,Fe.jsx)(&quot;ul&quot;,{className:`columns-${r} ${a?&quot;is-cropped&quot;:&quot;&quot;}`,children:t.map(i=&gt;{let l;switch(n){case&quot;media&quot;:l=i.fullUrl||i.url;break;case&quot;attachment&quot;:l=i.link;break}let s=(0,Fe.jsx)(&quot;img&quot;,{src:i.url,alt:i.alt,&quot;data-id&quot;:i.id,&quot;data-full-url&quot;:i.fullUrl,&quot;data-link&quot;:i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Fe.jsx)(&quot;li&quot;,{className:&quot;blocks-gallery-item&quot;,children:(0,Fe.jsxs)(&quot;figure&quot;,{children:[l?(0,Fe.jsx)(&quot;a&quot;,{href:l,children:s}):s,i.caption&amp;&amp;i.caption.length&gt;0&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,value:i.caption})]})},i.id||i.url)})})},migrate(e){return ph(e)}},Tve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;ul.wp-block-gallery .blocks-gallery-item&quot;,query:{url:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},link:{source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;}}},columns:{type:&quot;number&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;,default:&quot;none&quot;}},isEligible({images:e,ids:t}){return e&amp;&amp;e.length&gt;0&amp;&amp;(!t&amp;&amp;e||t&amp;&amp;e&amp;&amp;t.length!==e.length||e.some((r,a)=&gt;!r&amp;&amp;t[a]!==null?!0:parseInt(r,10)!==t[a]))},migrate(e){return ph(e)},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,linkTo:n}=e;return(0,Fe.jsx)(&quot;ul&quot;,{className:`columns-${r} ${a?&quot;is-cropped&quot;:&quot;&quot;}`,children:t.map(i=&gt;{let l;switch(n){case&quot;media&quot;:l=i.url;break;case&quot;attachment&quot;:l=i.link;break}let s=(0,Fe.jsx)(&quot;img&quot;,{src:i.url,alt:i.alt,&quot;data-id&quot;:i.id,&quot;data-link&quot;:i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Fe.jsx)(&quot;li&quot;,{className:&quot;blocks-gallery-item&quot;,children:(0,Fe.jsxs)(&quot;figure&quot;,{children:[l?(0,Fe.jsx)(&quot;a&quot;,{href:l,children:s}):s,i.caption&amp;&amp;i.caption.length&gt;0&amp;&amp;(0,Fe.jsx)(Ir.RichText.Content,{tagName:&quot;figcaption&quot;,value:i.caption})]})},i.id||i.url)})})}},Pve={attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;div.wp-block-gallery figure.blocks-gallery-image img&quot;,query:{url:{source:&quot;attribute&quot;,attribute:&quot;src&quot;},alt:{source:&quot;attribute&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{source:&quot;attribute&quot;,attribute:&quot;data-id&quot;}}},columns:{type:&quot;number&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},linkTo:{type:&quot;string&quot;,default:&quot;none&quot;},align:{type:&quot;string&quot;,default:&quot;none&quot;}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),align:a,imageCrop:n,linkTo:i}=e,l=w(`columns-${r}`,{alignnone:a===&quot;none&quot;,&quot;is-cropped&quot;:n});return(0,Fe.jsx)(&quot;div&quot;,{className:l,children:t.map(s=&gt;{let c;switch(i){case&quot;media&quot;:c=s.url;break;case&quot;attachment&quot;:c=s.link;break}let u=(0,Fe.jsx)(&quot;img&quot;,{src:s.url,alt:s.alt,&quot;data-id&quot;:s.id});return(0,Fe.jsx)(&quot;figure&quot;,{className:&quot;blocks-gallery-image&quot;,children:c?(0,Fe.jsx)(&quot;a&quot;,{href:c,children:u}):u},s.id||s.url)})})},migrate(e){return ph(e)}},WW=[xve,kve,wve,Cve,Sve,Tve,Pve];var Ke=o(M(),1),Do=o(T(),1),ea=o(U(),1),he=o(P(),1),sv=o(V(),1),m$=o(L(),1),p$=o(W(),1),$N=o(Rr(),1),d$=o(xr(),1);var $W=o(T(),1);var qW=o(v(),1),ZW=(0,qW.jsx)($W.BlockIcon,{icon:j0});function VN(e){return e?Math.min(3,e):3}var KW=(e,t=&quot;large&quot;)=&gt;{let r=Object.fromEntries(Object.entries(e??{}).filter(([n])=&gt;[&quot;alt&quot;,&quot;id&quot;,&quot;link&quot;].includes(n)));r.url=e?.sizes?.[t]?.url||e?.media_details?.sizes?.[t]?.source_url||e?.url||e?.source_url;let a=e?.sizes?.full?.url||e?.media_details?.sizes?.full?.source_url;return a&amp;&amp;(r.fullUrl=a),r};var Zs=20,nd=&quot;none&quot;,dh=&quot;media&quot;,fh=&quot;attachment&quot;,FN=&quot;custom&quot;,QW=[&quot;noreferrer&quot;,&quot;noopener&quot;],tu=[&quot;image&quot;];var HN=[&quot;flex&quot;,&quot;grid&quot;],nv=&quot;full&quot;;function ON(e,t,r,a,n){switch(r||t){case HW:case $s:return{href:e?.source_url||e?.url,linkDestination:dh,lightbox:n?.enabled?{...a?.lightbox,enabled:!1}:void 0};case OW:case qs:return{href:e?.link,linkDestination:fh,lightbox:n?.enabled?{...a?.lightbox,enabled:!1}:void 0};case ov:return{href:void 0,lightbox:n?.enabled?void 0:{...a?.lightbox,enabled:!0},linkDestination:nd};case Ws:return{href:void 0,linkDestination:nd,lightbox:void 0}}return{}}function YW(e){let[t,r=1]=e.split(&quot;/&quot;).map(Number),a=t/r;return a===1/0||a===0?NaN:a}function Bve(e){let t=e;return e!==void 0&amp;&amp;t&amp;&amp;(QW.forEach(r=&gt;{let a=new RegExp(&quot;\\b&quot;+r+&quot;\\b&quot;,&quot;gi&quot;);t=t.replace(a,&quot;&quot;)}),t!==e&amp;&amp;(t=t.trim()),t||(t=void 0)),t}function jN(e,{rel:t}){let r=e?&quot;_blank&quot;:void 0,a;return!r&amp;&amp;!t?a=void 0:a=Bve(t),{linkTarget:r,rel:a}}function XW(e,t){let r=e?.media_details?.sizes?.[t]?.source_url;return r?{url:r,width:void 0,height:void 0,sizeSlug:t}:{}}function UN(e){return tu.some(t=&gt;e.type.indexOf(t)===0)}function iv({x:e,y:t}={x:.5,y:.5}){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}var GN=o(P(),1),JW=o(L(),1);var lv=o(v(),1);function e$(e){let{attributes:t,isSelected:r,setAttributes:a,mediaPlaceholder:n,insertBlocksAfter:i,blockProps:l,__unstableLayoutClassNames:s,isContentLocked:c,multiGallerySelection:u}=e,{align:m,columns:p,imageCrop:d}=t;return(0,lv.jsxs)(&quot;figure&quot;,{...l,className:w(l.className,s,&quot;blocks-gallery-grid&quot;,{[`align${m}`]:m,[`columns-${p}`]:p!==void 0,&quot;columns-default&quot;:p===void 0,&quot;is-cropped&quot;:d}),children:[l.children,r&amp;&amp;!l.children&amp;&amp;(0,lv.jsx)(JW.View,{className:&quot;blocks-gallery-media-placeholder-wrapper&quot;,children:n}),(0,lv.jsx)(_a,{attributes:t,setAttributes:a,isSelected:r,insertBlocksAfter:i,showToolbarButton:!u&amp;&amp;!c,className:&quot;blocks-gallery-caption&quot;,label:(0,GN.__)(&quot;Gallery caption text&quot;),placeholder:(0,GN.__)(&quot;Add gallery caption&quot;)})]})}var t$=o(U(),1);function r$(e,t,r){return(0,t$.useMemo)(()=&gt;a(),[e,t]);function a(){if(!e||e.length===0)return;let{imageSizes:n}=r(),i={};t&amp;&amp;(i=e.reduce((s,c)=&gt;{if(!c.id)return s;let u=n.reduce((m,p)=&gt;{let d=c.sizes?.[p.slug]?.url,f=c.media_details?.sizes?.[p.slug]?.source_url;return{...m,[p.slug]:d||f}},{});return{...s,[parseInt(c.id,10)]:u}},{}));let l=Object.values(i);return n.filter(({slug:s})=&gt;l.some(c=&gt;c[s])).map(({name:s,slug:c})=&gt;({value:c,label:s}))}}var O5=o(U(),1);function o$(e,t){let[r,a]=(0,O5.useState)([]);return(0,O5.useMemo)(()=&gt;n(),[e,t]);function n(){let i=!1,l=r.filter(c=&gt;e.find(u=&gt;c.clientId===u.clientId));l.length&lt;r.length&amp;&amp;(i=!0),e.forEach(c=&gt;{c.fromSavedContent&amp;&amp;!l.find(u=&gt;u.id===c.id)&amp;&amp;(i=!0,l.push(c))});let s=e.filter(c=&gt;!l.find(u=&gt;c.clientId&amp;&amp;u.clientId===c.clientId)&amp;&amp;t?.find(u=&gt;u.id===c.id)&amp;&amp;!c.fromSavedContent);return(i||s?.length&gt;0)&amp;&amp;a([...l,...s]),s.length&gt;0?s:null}}var n$=o(V(),1),i$=o(Q(),1),a$=[];function l$(e){return(0,n$.useSelect)(t=&gt;{let r=e.map(a=&gt;a.attributes.id).filter(a=&gt;a!==void 0);return r.length===0?a$:t(i$.store).getEntityRecords(&quot;postType&quot;,&quot;attachment&quot;,{include:r.join(&quot;,&quot;),per_page:-1,orderby:&quot;include&quot;})??a$},[e])}var id=o(T(),1);function s$({blockGap:e,clientId:t}){let r=&quot;var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )&quot;,a=r,n=r,i;e&amp;&amp;(i=typeof e==&quot;string&quot;?(0,id.__experimentalGetGapCSSValue)(e):(0,id.__experimentalGetGapCSSValue)(e?.top)||r,n=typeof e==&quot;string&quot;?(0,id.__experimentalGetGapCSSValue)(e):(0,id.__experimentalGetGapCSSValue)(e?.left)||r,a=i===n?i:`${i} ${n}`);let l=`#block-${t} {
		--wp--style--unstable-gallery-gap: ${n===&quot;0&quot;?&quot;0px&quot;:n};
		gap: ${a}
	}`;return(0,id.useStyleOverride)({css:l}),null}var He=o(v(),1),c$=8,u$=[{icon:L0,label:(0,he.__)(&quot;Link images to attachment pages&quot;),value:qs,noticeText:(0,he.__)(&quot;Attachment Pages&quot;)},{icon:Wu,label:(0,he.__)(&quot;Link images to media files&quot;),value:$s,noticeText:(0,he.__)(&quot;Media Files&quot;)},{icon:kp,label:(0,he.__)(&quot;Enlarge on click&quot;),value:ov,noticeText:(0,he.__)(&quot;Lightbox effect&quot;),infoText:(0,he.__)(&quot;Scale images with a lightbox effect&quot;)},{icon:U0,label:(0,he._x)(&quot;None&quot;,&quot;Media item link option&quot;),value:Ws,noticeText:(0,he.__)(&quot;None&quot;)}],Ive=[{label:(0,he.__)(&quot;Icon&quot;),value:&quot;icon&quot;},{label:(0,he.__)(&quot;Text&quot;),value:&quot;text&quot;},{label:(0,he.__)(&quot;Both&quot;),value:&quot;both&quot;}],WN=[&quot;image&quot;],Nve=ea.Platform.isNative?(0,he.__)(&quot;Add media&quot;):(0,he.__)(&quot;Drag and drop images, upload, or choose from your library.&quot;),Eve=ea.Platform.isNative?{type:&quot;stepper&quot;}:{},Dve={name:&quot;core/image&quot;},Lve=[];function f$(e){let{setAttributes:t,attributes:r,className:a,clientId:n,isSelected:i,insertBlocksAfter:l,isContentLocked:s,onFocus:c}=e,[u,m,p,d]=(0,Do.useSettings)(&quot;blocks.core/image.lightbox&quot;,&quot;dimensions.aspectRatios.default&quot;,&quot;dimensions.aspectRatios.theme&quot;,&quot;dimensions.defaultAspectRatios&quot;),f=u?.allowEditing?u$:u$.filter(Y=&gt;Y.value!==ov),{navigationButtonType:h,columns:g,imageCrop:b,randomOrder:y,linkTarget:k,linkTo:_,sizeSlug:x,aspectRatio:S}=r,{__unstableMarkNextChangeAsNotPersistent:C,replaceInnerBlocks:N,updateBlockAttributes:B,selectBlock:D}=(0,sv.useDispatch)(Do.store),{createSuccessNotice:A,createErrorNotice:H}=(0,sv.useDispatch)(d$.store),{getBlock:F,getSettings:z,innerBlockImages:I,blockWasJustInserted:R,multiGallerySelection:$}=(0,sv.useSelect)(Y=&gt;{let{getBlockName:ze,getMultiSelectedBlockClientIds:Me,getSettings:Xe,getBlock:Te,wasBlockJustInserted:Bt}=Y(Do.store),yr=Me();return{getBlock:Te,getSettings:Xe,innerBlockImages:Te(n)?.innerBlocks??Lve,blockWasJustInserted:Bt(n,&quot;inserter_menu&quot;),multiGallerySelection:yr.length&amp;&amp;yr.every(xn=&gt;ze(xn)===&quot;core/gallery&quot;)}},[n]),j=(0,ea.useMemo)(()=&gt;I?.map(Y=&gt;({clientId:Y.clientId,id:Y.attributes.id,url:Y.attributes.url,attributes:Y.attributes,fromSavedContent:!!Y.originalContent})),[I]),G=l$(I),O=o$(j,G),J=u?.enabled?j.filter(Y=&gt;Y.attributes?.lightbox?.enabled===void 0||Y.attributes?.lightbox?.enabled===!0).length&gt;0:j.filter(Y=&gt;Y.attributes.lightbox?.enabled).length&gt;0,ee=p?.map(({name:Y,ratio:ze})=&gt;({label:Y,value:ze})),oe=m?.map(({name:Y,ratio:ze})=&gt;({label:Y,value:ze})),X=[{label:(0,he._x)(&quot;Original&quot;,&quot;Aspect ratio option for dimensions control&quot;),value:&quot;auto&quot;},...d?oe||[]:[],...ee||[]];(0,ea.useEffect)(()=&gt;{O?.forEach(Y=&gt;{C(),B(Y.clientId,{...ne(Y.attributes),id:Y.id,align:void 0})})},[O]);let te=r$(G,i,z);function ne(Y){let ze=Y.id?G.find(({id:Te})=&gt;Te===Y.id):null,Me;Y.className&amp;&amp;Y.className!==&quot;&quot;&amp;&amp;(Me=Y.className);let Xe;return Y.linkTarget||Y.rel?Xe={linkTarget:Y.linkTarget,rel:Y.rel}:Xe=jN(k,r),{...KW(ze,x),...ON(ze,_,Y?.linkDestination),...Xe,className:Me,sizeSlug:x,caption:Y.caption.length&gt;0?Y.caption:ze.caption?.raw,alt:Y.alt||ze.alt_text,aspectRatio:S===&quot;auto&quot;?void 0:S}}function le(Y){let ze=ea.Platform.isNative&amp;&amp;Y.id?G.find(({id:Xe})=&gt;Xe===Y.id):null,Me=ze?ze?.media_type:Y.type;return WN.some(Xe=&gt;Me?.indexOf(Xe)===0)||Y.blob}function pe(Y){let ze=Object.prototype.toString.call(Y)===&quot;[object FileList]&quot;,Me=ze?Array.from(Y).map(Je=&gt;Je.url?Je:{blob:(0,$N.createBlobURL)(Je)}):Y;Me.every(le)||H((0,he.__)(&quot;If uploading to a gallery all files need to be image formats&quot;),{id:&quot;gallery-upload-invalid-file&quot;,type:&quot;snackbar&quot;});let Xe=Me.filter(Je=&gt;Je.url||le(Je)).map(Je=&gt;Je.url?Je:{blob:Je.blob||(0,$N.createBlobURL)(Je)}),Te=Xe.reduce((Je,$r,ip)=&gt;(Je[$r.id]=ip,Je),{}),Bt=ze?I:I.filter(Je=&gt;Xe.find($r=&gt;$r.id===Je.attributes.id)),xn=Xe.filter(Je=&gt;!Bt.find($r=&gt;Je.id===$r.attributes.id)).map(Je=&gt;(0,p$.createBlock)(&quot;core/image&quot;,{id:Je.id,blob:Je.blob,url:Je.url,caption:Je.caption,alt:Je.alt}));N(n,Bt.concat(xn).sort((Je,$r)=&gt;Te[Je.attributes.id]-Te[$r.attributes.id])),xn?.length&gt;0&amp;&amp;D(xn[0].clientId)}function Ie(Y){H(Y,{type:&quot;snackbar&quot;})}function Ne(Y){t({linkTo:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=&gt;{Me.push(Te.clientId);let Bt=Te.attributes.id?G.find(({id:yr})=&gt;yr===Te.attributes.id):null;ze[Te.clientId]=ON(Bt,Y,!1,Te.attributes,u)}),B(Me,ze,{uniqueByBlock:!0});let Xe=[...f].find(Te=&gt;Te.value===Y);A((0,he.sprintf)((0,he.__)(&quot;All gallery image links updated to: %s&quot;),Xe.noticeText),{id:&quot;gallery-attributes-linkTo&quot;,type:&quot;snackbar&quot;})}function ae(Y){t({columns:Y})}function Re(){t({imageCrop:!b})}function Ee(){t({randomOrder:!y})}function ie(Y){let ze=Y?&quot;_blank&quot;:void 0;t({linkTarget:ze});let Me={},Xe=[];F(n).innerBlocks.forEach(Bt=&gt;{Xe.push(Bt.clientId),Me[Bt.clientId]=jN(ze,Bt.attributes)}),B(Xe,Me,{uniqueByBlock:!0});let Te=Y?(0,he.__)(&quot;All gallery images updated to open in new tab&quot;):(0,he.__)(&quot;All gallery images updated to not open in new tab&quot;);A(Te,{id:&quot;gallery-attributes-openInNewTab&quot;,type:&quot;snackbar&quot;})}function fe(Y){t({sizeSlug:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=&gt;{Me.push(Te.clientId);let Bt=Te.attributes.id?G.find(({id:yr})=&gt;yr===Te.attributes.id):null;ze[Te.clientId]=XW(Bt,Y)}),B(Me,ze,{uniqueByBlock:!0});let Xe=te.find(Te=&gt;Te.value===Y);A((0,he.sprintf)((0,he.__)(&quot;All gallery image sizes updated to: %s&quot;),Xe?.label??Y),{id:&quot;gallery-attributes-sizeSlug&quot;,type:&quot;snackbar&quot;})}function ke(Y){t({aspectRatio:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=&gt;{Me.push(Te.clientId),ze[Te.clientId]={aspectRatio:Y===&quot;auto&quot;?void 0:Y}}),B(Me,ze,!0);let Xe=X.find(Te=&gt;Te.value===Y);A((0,he.sprintf)((0,he.__)(&quot;All gallery images updated to aspect ratio: %s&quot;),Xe?.label||Y),{id:&quot;gallery-attributes-aspectRatio&quot;,type:&quot;snackbar&quot;})}(0,ea.useEffect)(()=&gt;{_||(C(),t({linkTo:window?.wp?.media?.view?.settings?.defaultProps?.link||Ws}))},[_]);let je=!!j.length,de=je&amp;&amp;j.some(Y=&gt;!!Y.id),ct=j.some(Y=&gt;ea.Platform.isNative?Y.url?.indexOf(&quot;file:&quot;)===0:!Y.id&amp;&amp;Y.url?.indexOf(&quot;blob:&quot;)===0),at=ea.Platform.select({web:{addToGallery:!1,disableMediaButtons:ct,value:{}},native:{addToGallery:de,isAppender:je,disableMediaButtons:je&amp;&amp;!i||ct,value:de?j:{},autoOpenMediaUpload:!je&amp;&amp;i&amp;&amp;R,onFocus:c}}),kt=(0,He.jsx)(Do.MediaPlaceholder,{handleUpload:!1,icon:ZW,labels:{title:(0,he.__)(&quot;Gallery&quot;),instructions:Nve},onSelect:pe,allowedTypes:WN,multiple:!0,onError:Ie,...at}),Wr=(0,Do.useBlockProps)({className:w(a,&quot;has-nested-images&quot;)}),ut=ea.Platform.isNative&amp;&amp;{marginHorizontal:0,marginVertical:0},br=(0,Do.useInnerBlocksProps)(Wr,{defaultBlock:Dve,directInsert:!0,orientation:&quot;horizontal&quot;,renderAppender:!1,...ut}),mt=q();if(!je)return(0,He.jsxs)(m$.View,{...br,children:[br.children,kt]});let wo=_&amp;&amp;_!==&quot;none&quot;;return(0,He.jsxs)(He.Fragment,{children:[(0,He.jsxs)(Do.InspectorControls,{children:[ea.Platform.isWeb&amp;&amp;(0,He.jsxs)(Ke.__experimentalToolsPanel,{label:(0,he.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({navigationButtonType:&quot;icon&quot;,columns:void 0,imageCrop:!0,randomOrder:!1}),ke(&quot;auto&quot;),x!==av&amp;&amp;fe(av),k&amp;&amp;ie(!1)},dropdownMenuProps:mt,children:[j.length&gt;1&amp;&amp;(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)(&quot;Columns&quot;),hasValue:()=&gt;!!g&amp;&amp;g!==j.length,onDeselect:()=&gt;ae(void 0),children:(0,He.jsx)(Ke.RangeControl,{label:(0,he.__)(&quot;Columns&quot;),value:g||VN(j.length),onChange:ae,min:1,max:Math.min(c$,j.length),required:!0,__next40pxDefaultSize:!0})}),te?.length&gt;0&amp;&amp;(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)(&quot;Resolution&quot;),hasValue:()=&gt;x!==av,onDeselect:()=&gt;fe(av),children:(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)(&quot;Resolution&quot;),help:(0,he.__)(&quot;Select the size of the source images.&quot;),value:x,options:te,onChange:fe,hideCancelButton:!0,size:&quot;__unstable-large&quot;})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)(&quot;Crop images to fit&quot;),hasValue:()=&gt;!b,onDeselect:()=&gt;t({imageCrop:!0}),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Crop images to fit&quot;),checked:!!b,onChange:Re})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)(&quot;Randomize order&quot;),hasValue:()=&gt;!!y,onDeselect:()=&gt;t({randomOrder:!1}),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Randomize order&quot;),checked:!!y,onChange:Ee})}),wo&amp;&amp;(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)(&quot;Open images in new tab&quot;),hasValue:()=&gt;!!k,onDeselect:()=&gt;ie(!1),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Open images in new tab&quot;),checked:k===&quot;_blank&quot;,onChange:ie})}),X.length&gt;1&amp;&amp;(0,He.jsx)(Ke.__experimentalToolsPanelItem,{hasValue:()=&gt;!!S&amp;&amp;S!==&quot;auto&quot;,label:(0,he.__)(&quot;Aspect ratio&quot;),onDeselect:()=&gt;ke(&quot;auto&quot;),isShownByDefault:!0,children:(0,He.jsx)(Ke.SelectControl,{__next40pxDefaultSize:!0,label:(0,he.__)(&quot;Aspect ratio&quot;),help:(0,he.__)(&quot;Set a consistent aspect ratio for all images in the gallery.&quot;),value:S,options:X,onChange:ke})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{label:(0,he.__)(&quot;Navigation button type&quot;),isShownByDefault:!0,hasValue:()=&gt;h!==&quot;icon&quot;,onDeselect:()=&gt;t({navigationButtonType:&quot;icon&quot;}),children:J&amp;&amp;(0,He.jsx)(Ke.__experimentalToggleGroupControl,{label:(0,he.__)(&quot;Navigation button type&quot;),value:h,onChange:Y=&gt;t({navigationButtonType:Y}),isBlock:!0,__next40pxDefaultSize:!0,help:(0,he.__)(&quot;Adjust the appearance of buttons in the lightbox.&quot;),children:Ive.map(Y=&gt;(0,He.jsx)(Ke.__experimentalToggleGroupControlOption,{value:Y.value,label:Y.label},Y.value))})})]}),ea.Platform.isNative&amp;&amp;(0,He.jsxs)(Ke.PanelBody,{title:(0,he.__)(&quot;Settings&quot;),children:[j.length&gt;1&amp;&amp;(0,He.jsx)(Ke.RangeControl,{label:(0,he.__)(&quot;Columns&quot;),value:g||VN(j.length),onChange:ae,min:1,max:Math.min(c$,j.length),...Eve,required:!0,__next40pxDefaultSize:!0}),te?.length&gt;0&amp;&amp;(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)(&quot;Resolution&quot;),help:(0,he.__)(&quot;Select the size of the source images.&quot;),value:x,options:te,onChange:fe,hideCancelButton:!0,size:&quot;__unstable-large&quot;}),(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)(&quot;Link&quot;),value:_,onChange:Ne,options:f,hideCancelButton:!0,size:&quot;__unstable-large&quot;}),(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Crop images to fit&quot;),checked:!!b,onChange:Re}),(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Randomize order&quot;),checked:!!y,onChange:Ee}),wo&amp;&amp;(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)(&quot;Open images in new tab&quot;),checked:k===&quot;_blank&quot;,onChange:ie}),X.length&gt;1&amp;&amp;(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)(&quot;Aspect Ratio&quot;),help:(0,he.__)(&quot;Set a consistent aspect ratio for all images in the gallery.&quot;),value:S,options:X,onChange:ke,hideCancelButton:!0,size:&quot;__unstable-large&quot;})]})]}),ea.Platform.isWeb?(0,He.jsx)(Do.BlockControls,{group:&quot;block&quot;,children:(0,He.jsx)(Ke.ToolbarDropdownMenu,{icon:ii,label:(0,he.__)(&quot;Link&quot;),children:({onClose:Y})=&gt;(0,He.jsx)(Ke.MenuGroup,{children:f.map(ze=&gt;{let Me=_===ze.value;return(0,He.jsx)(Ke.MenuItem,{isSelected:Me,className:w(&quot;components-dropdown-menu__menu-item&quot;,{&quot;is-active&quot;:Me}),iconPosition:&quot;left&quot;,icon:ze.icon,onClick:()=&gt;{Ne(ze.value),Y()},role:&quot;menuitemradio&quot;,info:ze.infoText,children:ze.label},ze.value)})})})}):null,ea.Platform.isWeb&amp;&amp;(0,He.jsxs)(He.Fragment,{children:[!$&amp;&amp;(0,He.jsx)(Do.BlockControls,{group:&quot;other&quot;,children:(0,He.jsx)(Do.MediaReplaceFlow,{allowedTypes:WN,handleUpload:!1,onSelect:pe,name:(0,he.__)(&quot;Add&quot;),multiple:!0,mediaIds:j.filter(Y=&gt;Y.id).map(Y=&gt;Y.id),addToGallery:de,variant:&quot;toolbar&quot;})}),(0,He.jsx)(s$,{blockGap:r.style?.spacing?.blockGap,clientId:n})]}),(0,He.jsx)(e$,{...e,isContentLocked:s,images:j,mediaPlaceholder:!je||ea.Platform.isNative?kt:void 0,blockProps:br,insertBlocksAfter:l,multiGallerySelection:$})]})}var j5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/gallery&quot;,title:&quot;Gallery&quot;,category:&quot;media&quot;,usesContext:[&quot;galleryId&quot;],allowedBlocks:[&quot;core/image&quot;],description:&quot;Display multiple images in a rich gallery.&quot;,keywords:[&quot;images&quot;,&quot;photos&quot;],textdomain:&quot;default&quot;,attributes:{images:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;.blocks-gallery-item&quot;,query:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},fullUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-full-url&quot;},link:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-link&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},id:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;data-id&quot;},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;.blocks-gallery-item__caption&quot;}}},ids:{type:&quot;array&quot;,items:{type:&quot;number&quot;},default:[]},navigationButtonType:{type:&quot;string&quot;,default:&quot;icon&quot;,enum:[&quot;icon&quot;,&quot;text&quot;,&quot;both&quot;]},shortCodeTransforms:{type:&quot;array&quot;,items:{type:&quot;object&quot;},default:[]},columns:{type:&quot;number&quot;,minimum:1,maximum:8},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;.blocks-gallery-caption&quot;,role:&quot;content&quot;},imageCrop:{type:&quot;boolean&quot;,default:!0},randomOrder:{type:&quot;boolean&quot;,default:!1},fixedHeight:{type:&quot;boolean&quot;,default:!0},linkTarget:{type:&quot;string&quot;},linkTo:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;,default:&quot;large&quot;},allowResize:{type:&quot;boolean&quot;,default:!1},aspectRatio:{type:&quot;string&quot;,default:&quot;auto&quot;}},providesContext:{allowResize:&quot;allowResize&quot;,imageCrop:&quot;imageCrop&quot;,fixedHeight:&quot;fixedHeight&quot;,navigationButtonType:&quot;navigationButtonType&quot;},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{color:!0,radius:!0}},html:!1,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],spacing:{margin:!0,padding:!0,blockGap:[&quot;horizontal&quot;,&quot;vertical&quot;],__experimentalSkipSerialization:[&quot;blockGap&quot;],__experimentalDefaultControls:{blockGap:!0,margin:!1,padding:!1}},color:{text:!1,background:!0,gradients:!0},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:&quot;flex&quot;}},interactivity:{clientNavigation:!0},listView:!0},editorStyle:&quot;wp-block-gallery-editor&quot;,style:&quot;wp-block-gallery&quot;};var ru=o(T(),1),U5=o(v(),1);function h$({attributes:e}){let{caption:t,columns:r,imageCrop:a}=e,n=w(&quot;has-nested-images&quot;,{[`columns-${r}`]:r!==void 0,&quot;columns-default&quot;:r===void 0,&quot;is-cropped&quot;:a}),i=ru.useBlockProps.save({className:n}),l=ru.useInnerBlocksProps.save(i);return(0,U5.jsxs)(&quot;figure&quot;,{...l,children:[l.children,!ru.RichText.isEmpty(t)&amp;&amp;(0,U5.jsx)(ru.RichText.Content,{tagName:&quot;figcaption&quot;,className:w(&quot;blocks-gallery-caption&quot;,(0,ru.__experimentalGetElementClassName)(&quot;caption&quot;)),value:t})]})}var Ks=o(W(),1),g$=o(Rr(),1),qN=o(Yc(),1);var Ave=e=&gt;e?e.split(&quot;,&quot;).map(t=&gt;parseInt(t,10)):[];function Rve(e){if(e.name===&quot;core/gallery&quot;&amp;&amp;e.attributes?.images.length&gt;0){let t=e.attributes.images.map(({url:r,id:a,alt:n})=&gt;(0,Ks.createBlock)(&quot;core/image&quot;,{url:r,id:a?parseInt(a,10):null,alt:n,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination}));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e}(0,qN.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/gallery/update-third-party-transform-to&quot;,Rve);function zve(e,t){let a=(Array.isArray(t)?t:[t]).find(n=&gt;n.name===&quot;core/gallery&quot;&amp;&amp;n.innerBlocks.length&gt;0&amp;&amp;!n.attributes.images?.length&gt;0&amp;&amp;!e.name.includes(&quot;core/&quot;));if(a){let n=a.innerBlocks.map(({attributes:{url:l,id:s,alt:c}})=&gt;({url:l,id:s?parseInt(s,10):null,alt:c})),i=n.map(({id:l})=&gt;l);a.attributes.images=n,a.attributes.ids=i}return e}(0,qN.addFilter)(&quot;blocks.switchToBlockType.transformedBlock&quot;,&quot;core/gallery/update-third-party-transform-from&quot;,zve);var Vve={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/image&quot;],transform:e=&gt;{let{align:t,sizeSlug:r}=e[0];t=e.every(i=&gt;i.align===t)?t:void 0,r=e.every(i=&gt;i.sizeSlug===r)?r:void 0;let n=e.filter(({url:i})=&gt;i).map(i=&gt;(i.width=void 0,i.height=void 0,(0,Ks.createBlock)(&quot;core/image&quot;,i)));return(0,Ks.createBlock)(&quot;core/gallery&quot;,{align:t,sizeSlug:r},n)}},{type:&quot;shortcode&quot;,tag:&quot;gallery&quot;,transform({named:{ids:e,columns:t=3,link:r,orderby:a,size:n}}){let i=Ave(e).map(c=&gt;parseInt(c,10)),l=Ws;return r===&quot;post&quot;?l=qs:r===&quot;file&quot;&amp;&amp;(l=$s),(0,Ks.createBlock)(&quot;core/gallery&quot;,{columns:parseInt(t,10),linkTo:l,randomOrder:a===&quot;rand&quot;,...n&amp;&amp;{sizeSlug:n}},i.map(c=&gt;(0,Ks.createBlock)(&quot;core/image&quot;,{id:c,...n&amp;&amp;{sizeSlug:n}})))},isMatch({named:e}){return e.ids!==void 0}},{type:&quot;files&quot;,priority:1,isMatch(e){return e.length!==1&amp;&amp;e.every(t=&gt;t.type.indexOf(&quot;image/&quot;)===0)},transform(e){let t=e.map(r=&gt;(0,Ks.createBlock)(&quot;core/image&quot;,{blob:(0,g$.createBlobURL)(r)}));return(0,Ks.createBlock)(&quot;core/gallery&quot;,{},t)}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:({align:e},t)=&gt;t.length&gt;0?t.map(({attributes:{url:r,alt:a,caption:n,title:i,href:l,rel:s,linkClass:c,id:u,sizeSlug:m,linkDestination:p,linkTarget:d,anchor:f,className:h}})=&gt;(0,Ks.createBlock)(&quot;core/image&quot;,{align:e,url:r,alt:a,caption:n,title:i,href:l,rel:s,linkClass:c,id:u,sizeSlug:m,linkDestination:p,linkTarget:d,anchor:f,className:h})):(0,Ks.createBlock)(&quot;core/image&quot;,{align:e})}]},v$=Vve;var{name:b$}=j5,y$={icon:j0,example:{attributes:{columns:2},innerBlocks:[{name:&quot;core/image&quot;,attributes:{url:&quot;https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg&quot;}},{name:&quot;core/image&quot;,attributes:{url:&quot;https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg&quot;}}]},transforms:v$,edit:f$,save:h$,deprecated:WW},Fve=()=&gt;E({name:b$,metadata:j5,settings:y$});var JN={};Z(JN,{init:()=&gt;Kve,metadata:()=&gt;W5,name:()=&gt;Z5,settings:()=&gt;M$});var q5=o(P(),1);var Ca=o(T(),1),bi=o(v(),1),KN=e=&gt;{if(e.tagName||(e={...e,tagName:&quot;div&quot;}),!e.customTextColor&amp;&amp;!e.customBackgroundColor)return e;let t={color:{}};e.customTextColor&amp;&amp;(t.color.text=e.customTextColor),e.customBackgroundColor&amp;&amp;(t.color.background=e.customBackgroundColor);let{customTextColor:r,customBackgroundColor:a,...n}=e;return{...n,style:t}},Hve=[{attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,!1]}},supports:{__experimentalOnEnter:!0,__experimentalSettings:!0,align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,ariaLabel:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0},save({attributes:{tagName:e}}){return(0,bi.jsx)(e,{...Ca.useInnerBlocksProps.save(Ca.useBlockProps.save())})},isEligible:({layout:e})=&gt;e?.inherit||e?.contentSize&amp;&amp;e?.type!==&quot;constrained&quot;,migrate:e=&gt;{let{layout:t=null}=e;if(t?.inherit||t?.contentSize)return{...e,layout:{...t,type:&quot;constrained&quot;}}}},{attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,!1]}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save({attributes:e}){let{tagName:t}=e;return(0,bi.jsx)(t,{...Ca.useBlockProps.save(),children:(0,bi.jsx)(&quot;div&quot;,{className:&quot;wp-block-group__inner-container&quot;,children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1},migrate:KN,save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,textColor:a,customTextColor:n}=e,i=(0,Ca.getColorClassName)(&quot;background-color&quot;,t),l=(0,Ca.getColorClassName)(&quot;color&quot;,a),s=w(i,l,{&quot;has-text-color&quot;:a||n,&quot;has-background&quot;:t||r});return(0,bi.jsx)(&quot;div&quot;,{className:s,style:{backgroundColor:i?void 0:r,color:l?void 0:n},children:(0,bi.jsx)(&quot;div&quot;,{className:&quot;wp-block-group__inner-container&quot;,children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;}},migrate:KN,supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1},save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,textColor:a,customTextColor:n}=e,i=(0,Ca.getColorClassName)(&quot;background-color&quot;,t),l=(0,Ca.getColorClassName)(&quot;color&quot;,a),s=w(i,{&quot;has-text-color&quot;:a||n,&quot;has-background&quot;:t||r});return(0,bi.jsx)(&quot;div&quot;,{className:s,style:{backgroundColor:i?void 0:r,color:l?void 0:n},children:(0,bi.jsx)(&quot;div&quot;,{className:&quot;wp-block-group__inner-container&quot;,children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1},migrate:KN,save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r}=e,a=(0,Ca.getColorClassName)(&quot;background-color&quot;,t),n=w(a,{&quot;has-background&quot;:t||r});return(0,bi.jsx)(&quot;div&quot;,{className:n,style:{backgroundColor:a?void 0:r},children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})}}],_$=Hve;var G5=o(V(),1),_i=o(T(),1),T$=o(U(),1),P$=o(P(),1),B$=o(L(),1);var x$=o(V(),1),k$=o(T(),1),QN=o(P(),1),w$=o(W(),1),zn=o(M(),1),cv=o(U(),1),Rn=o(v(),1),Ove=(e=&quot;group&quot;)=&gt;({group:(0,Rn.jsx)(zn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Rn.jsx)(zn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z&quot;})}),&quot;group-row&quot;:(0,Rn.jsx)(zn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Rn.jsx)(zn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z&quot;})}),&quot;group-stack&quot;:(0,Rn.jsx)(zn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Rn.jsx)(zn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm0 17a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V27Z&quot;})}),&quot;group-grid&quot;:(0,Rn.jsx)(zn.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;48&quot;,height:&quot;48&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Rn.jsx)(zn.Path,{d:&quot;M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10ZM0 27a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V27Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V27Z&quot;})})})?.[e];function C$({attributes:e={style:void 0,backgroundColor:void 0,textColor:void 0,fontSize:void 0},usedLayoutType:t=&quot;&quot;,hasInnerBlocks:r=!1}){let{style:a,backgroundColor:n,textColor:i,fontSize:l}=e,[s,c]=(0,cv.useState)(!r&amp;&amp;!n&amp;&amp;!l&amp;&amp;!i&amp;&amp;!a&amp;&amp;t!==&quot;flex&quot;&amp;&amp;t!==&quot;grid&quot;);return(0,cv.useEffect)(()=&gt;{(r||n||l||i||a||t===&quot;flex&quot;)&amp;&amp;c(!1)},[n,l,i,a,t,r]),[s,c]}function jve({name:e,onSelect:t}){let r=(0,x$.useSelect)(n=&gt;n(w$.store).getBlockVariations(e,&quot;block&quot;),[e]),a=(0,k$.useBlockProps)({className:&quot;wp-block-group__placeholder&quot;});return(0,cv.useEffect)(()=&gt;{r&amp;&amp;r.length===1&amp;&amp;t(r[0])},[t,r]),(0,Rn.jsx)(&quot;div&quot;,{...a,children:(0,Rn.jsx)(zn.Placeholder,{instructions:(0,QN.__)(&quot;Group blocks together. Select a layout:&quot;),children:(0,Rn.jsx)(&quot;ul&quot;,{role:&quot;list&quot;,className:&quot;wp-block-group-placeholder__variations&quot;,&quot;aria-label&quot;:(0,QN.__)(&quot;Block variations&quot;),children:r.map(n=&gt;(0,Rn.jsx)(&quot;li&quot;,{children:(0,Rn.jsx)(zn.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,icon:Ove(n.name),iconSize:48,onClick:()=&gt;t(n),className:&quot;wp-block-group-placeholder__variation-button&quot;,label:`${n.title}: ${n.description}`})},n.name))})})})}var S$=jve;var yi=o(v(),1),{HTMLElementControl:Uve}=K(_i.privateApis);function Gve({tagName:e,onSelectTagName:t,clientId:r}){return(0,yi.jsx)(_i.InspectorControls,{group:&quot;advanced&quot;,children:(0,yi.jsx)(Uve,{tagName:e,onChange:t,clientId:r,options:[{label:(0,P$.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;header&gt;&quot;,value:&quot;header&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;article&gt;&quot;,value:&quot;article&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;},{label:&quot;&lt;footer&gt;&quot;,value:&quot;footer&quot;}]})})}function Wve({attributes:e,name:t,setAttributes:r,clientId:a}){let{hasInnerBlocks:n,themeSupportsLayout:i}=(0,G5.useSelect)(x=&gt;{let{getBlock:S,getSettings:C}=x(_i.store),N=S(a);return{hasInnerBlocks:!!(N&amp;&amp;N.innerBlocks.length),themeSupportsLayout:C()?.supportsLayout}},[a]),{tagName:l=&quot;div&quot;,templateLock:s,allowedBlocks:c,layout:u={}}=e,{type:m=&quot;default&quot;}=u,p=i||m===&quot;flex&quot;||m===&quot;grid&quot;,d=(0,T$.useRef)(),f=(0,_i.useBlockProps)({ref:d}),[h,g]=C$({attributes:e,usedLayoutType:m,hasInnerBlocks:n}),b;h?b=!1:n||(b=_i.InnerBlocks.ButtonBlockAppender);let y=(0,_i.useInnerBlocksProps)(p?f:{className:&quot;wp-block-group__inner-container&quot;},{dropZoneElement:d.current,templateLock:s,allowedBlocks:c,renderAppender:b}),{selectBlock:k}=(0,G5.useDispatch)(_i.store),_=x=&gt;{r(x.attributes),k(a,-1),g(!1)};return(0,yi.jsxs)(yi.Fragment,{children:[(0,yi.jsx)(Gve,{tagName:l,onSelectTagName:x=&gt;r({tagName:x}),clientId:a}),h&amp;&amp;(0,yi.jsxs)(B$.View,{children:[y.children,(0,yi.jsx)(S$,{name:t,onSelect:_})]}),p&amp;&amp;!h&amp;&amp;(0,yi.jsx)(l,{...y}),!p&amp;&amp;!h&amp;&amp;(0,yi.jsx)(l,{...f,children:(0,yi.jsx)(&quot;div&quot;,{...y})})]})}var I$=Wve;var W5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/group&quot;,title:&quot;Group&quot;,category:&quot;design&quot;,description:&quot;Gather blocks in a layout container.&quot;,keywords:[&quot;container&quot;,&quot;wrapper&quot;,&quot;row&quot;,&quot;section&quot;],textdomain:&quot;default&quot;,attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]}},supports:{__experimentalOnEnter:!0,__experimentalOnMerge:!0,__experimentalSettings:!0,align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,ariaLabel:!0,html:!1,background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},dimensions:{minHeight:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},position:{sticky:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowSizingOnChildren:!0},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:&quot;wp-block-group-editor&quot;,style:&quot;wp-block-group&quot;};var $5=o(T(),1),N$=o(v(),1);function E$({attributes:{tagName:e}}){return(0,N$.jsx)(e,{...$5.useInnerBlocksProps.save($5.useBlockProps.save())})}var YN=o(W(),1),qve={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;*&quot;],__experimentalConvert(e){let t=[&quot;wide&quot;,&quot;full&quot;],r=e.reduce((n,i)=&gt;{let{align:l}=i.attributes;return t.indexOf(l)&gt;t.indexOf(n)?l:n},void 0),a=e.map(n=&gt;(0,YN.createBlock)(n.name,n.attributes,n.innerBlocks));return(0,YN.createBlock)(&quot;core/group&quot;,{align:r,layout:{type:&quot;constrained&quot;}},a)}}]},D$=qve;var Sa=o(P(),1);var XN={innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;One.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;Two.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;Three.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;Four.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;Five.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sa.__)(&quot;Six.&quot;)}}]},Zve=[{name:&quot;group&quot;,title:(0,Sa.__)(&quot;Group&quot;),description:(0,Sa.__)(&quot;Gather blocks in a container.&quot;),attributes:{layout:{type:&quot;constrained&quot;}},isDefault:!0,scope:[&quot;block&quot;,&quot;inserter&quot;,&quot;transform&quot;],icon:wp},{name:&quot;group-row&quot;,title:(0,Sa._x)(&quot;Row&quot;,&quot;single horizontal line&quot;),description:(0,Sa.__)(&quot;Arrange blocks horizontally.&quot;),attributes:{layout:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;}},scope:[&quot;block&quot;,&quot;inserter&quot;,&quot;transform&quot;],isActive:[&quot;layout.type&quot;],icon:UP,example:XN},{name:&quot;group-stack&quot;,title:(0,Sa.__)(&quot;Stack&quot;),description:(0,Sa.__)(&quot;Arrange blocks vertically.&quot;),attributes:{layout:{type:&quot;flex&quot;,orientation:&quot;vertical&quot;}},scope:[&quot;block&quot;,&quot;inserter&quot;,&quot;transform&quot;],isActive:[&quot;layout.type&quot;,&quot;layout.orientation&quot;],icon:oB,example:XN},{name:&quot;group-grid&quot;,title:(0,Sa.__)(&quot;Grid&quot;),description:(0,Sa.__)(&quot;Arrange blocks in a grid.&quot;),attributes:{layout:{type:&quot;grid&quot;}},scope:[&quot;block&quot;,&quot;inserter&quot;,&quot;transform&quot;],isActive:[&quot;layout.type&quot;],icon:Il,example:XN}],L$=Zve;var{name:Z5}=W5,M$={icon:wp,example:{attributes:{layout:{type:&quot;constrained&quot;,justifyContent:&quot;center&quot;},style:{spacing:{padding:{top:&quot;4em&quot;,right:&quot;3em&quot;,bottom:&quot;4em&quot;,left:&quot;3em&quot;}}}},innerBlocks:[{name:&quot;core/heading&quot;,attributes:{content:(0,q5.__)(&quot;La Mancha&quot;),style:{typography:{textAlign:&quot;center&quot;}}}},{name:&quot;core/paragraph&quot;,attributes:{style:{typography:{textAlign:&quot;center&quot;}},content:(0,q5.__)(&quot;In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.&quot;)}},{name:&quot;core/spacer&quot;,attributes:{height:&quot;10px&quot;}},{name:&quot;core/button&quot;,attributes:{text:(0,q5.__)(&quot;Read more&quot;)}}],viewportWidth:600},transforms:D$,edit:I$,save:E$,deprecated:_$,variations:L$},Kve=()=&gt;E({name:Z5,metadata:W5,settings:M$});var aE={};Z(aE,{init:()=&gt;p2e,metadata:()=&gt;J5,name:()=&gt;t4,settings:()=&gt;r4});var hm=o(P(),1),vh=o(W(),1);var rn=o(T(),1);var Qs=o(v(),1),eE={className:!1,anchor:!0},K5={align:{type:&quot;string&quot;},content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;h1,h2,h3,h4,h5,h6&quot;,default:&quot;&quot;},level:{type:&quot;number&quot;,default:2},placeholder:{type:&quot;string&quot;}},hh=e=&gt;{if(!e.customTextColor)return e;let t={color:{text:e.customTextColor}},{customTextColor:r,...a}=e;return{...a,style:t}},A$=[&quot;left&quot;,&quot;right&quot;,&quot;center&quot;],gh=e=&gt;{let{align:t,...r}=e;return A$.includes(t)?{...r,textAlign:t}:e},Qve={supports:eE,attributes:{...K5,customTextColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;}},migrate:e=&gt;We(hh(gh(e))),save({attributes:e}){let{align:t,level:r,content:a,textColor:n,customTextColor:i}=e,l=&quot;h&quot;+r,s=(0,rn.getColorClassName)(&quot;color&quot;,n),c=w({[s]:s});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{textAlign:t,color:s?void 0:i},value:a})}},Yve={attributes:{...K5,customTextColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;}},migrate:e=&gt;We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,customTextColor:a,level:n,textColor:i}=e,l=&quot;h&quot;+n,s=(0,rn.getColorClassName)(&quot;color&quot;,i),c=w({[s]:s,[`has-text-align-${t}`]:t});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{color:s?void 0:a},value:r})},supports:eE},Xve={supports:eE,attributes:{...K5,customTextColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;}},migrate:e=&gt;We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,customTextColor:a,level:n,textColor:i}=e,l=&quot;h&quot;+n,s=(0,rn.getColorClassName)(&quot;color&quot;,i),c=w({[s]:s,&quot;has-text-color&quot;:i||a,[`has-text-align-${t}`]:t});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{color:s?void 0:a},value:r})}},Jve={supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{&quot;core/heading/h1&quot;:&quot;h1&quot;,&quot;core/heading/h2&quot;:&quot;h2&quot;,&quot;core/heading/h3&quot;:&quot;h3&quot;,&quot;core/heading/h4&quot;:&quot;h4&quot;,&quot;core/heading/h5&quot;:&quot;h5&quot;,&quot;core/heading/h6&quot;:&quot;h6&quot;},__unstablePasteTextInline:!0},attributes:K5,isEligible:({align:e})=&gt;A$.includes(e),migrate:e=&gt;We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,level:a}=e,n=&quot;h&quot;+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})}},e2e={supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,className:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:&quot;h1,h2,h3,h4,h5,h6&quot;,__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},attributes:{textAlign:{type:&quot;string&quot;},content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;h1,h2,h3,h4,h5,h6&quot;,default:&quot;&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;,default:2},placeholder:{type:&quot;string&quot;}},save({attributes:e}){let{textAlign:t,content:r,level:a}=e,n=&quot;h&quot;+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})},migrate:e=&gt;We(hh(gh(e)))},t2e={supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,className:!0,splitting:!0,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0,fitText:!0,__experimentalDefaultControls:{fontSize:!0}},__unstablePasteTextInline:!0,__experimentalSlashInserter:!0,interactivity:{clientNavigation:!0}},attributes:{textAlign:{type:&quot;string&quot;},content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;h1,h2,h3,h4,h5,h6&quot;,default:&quot;&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;},placeholder:{type:&quot;string&quot;}},save({attributes:e}){let{textAlign:t,content:r,level:a}=e,n=&quot;h&quot;+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})},migrate:e=&gt;We(hh(gh(e))),isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},r2e=[t2e,e2e,Jve,Xve,Yve,Qve],R$=r2e;var V$=o(P(),1),Y5=o(U(),1),X5=o(V(),1),ld=o(T(),1);var z$=o(rv(),1),tE={},o2e=e=&gt;{let t=document.createElement(&quot;div&quot;);return t.innerHTML=e,t.innerText},a2e=e=&gt;(0,z$.default)(o2e(e)).replace(/[^\p{L}\p{N}]+/gu,&quot;-&quot;).toLowerCase().replace(/(^-+)|(-+$)/g,&quot;&quot;),Q5=(e,t)=&gt;{let r=a2e(t);if(r===&quot;&quot;)return null;delete tE[e];let a=r,n=0;for(;Object.values(tE).includes(a);)n+=1,a=r+&quot;-&quot;+n;return a},rE=(e,t)=&gt;{tE[e]=t};var uv=o(v(),1);function n2e(e){let{attributes:t,setAttributes:r,mergeBlocks:a,onReplace:n,style:i,clientId:l}=e;Kr(e);let{content:s,level:c,placeholder:u,anchor:m}=t,p=&quot;h&quot;+c,d=(0,ld.useBlockProps)({style:i}),{canGenerateAnchors:f}=(0,X5.useSelect)(b=&gt;{let{getGlobalBlockCount:y,getSettings:k}=b(ld.store);return{canGenerateAnchors:!!k().generateAnchors||y(&quot;core/table-of-contents&quot;)&gt;0}},[]),{__unstableMarkNextChangeAsNotPersistent:h}=(0,X5.useDispatch)(ld.store);return(0,Y5.useEffect)(()=&gt;{if(f)return!m&amp;&amp;s&amp;&amp;(h(),r({anchor:Q5(l,s)})),rE(l,m),()=&gt;rE(l,null)},[m,s,l,f]),(0,uv.jsx)(uv.Fragment,{children:(0,uv.jsx)(ld.RichText,{identifier:&quot;content&quot;,tagName:p,value:s,onChange:b=&gt;{let y={content:b};f&amp;&amp;(!m||!b||Q5(l,s)===m)&amp;&amp;(y.anchor=Q5(l,b)),r(y)},onMerge:a,onReplace:n,onRemove:()=&gt;n([]),placeholder:u||(0,V$.__)(&quot;Heading&quot;),...Y5.Platform.isNative&amp;&amp;{deleteEnter:!0},...d})})}var F$=n2e;var J5={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/heading&quot;,title:&quot;Heading&quot;,category:&quot;text&quot;,description:&quot;Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.&quot;,keywords:[&quot;title&quot;,&quot;subtitle&quot;],textdomain:&quot;default&quot;,attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;h1,h2,h3,h4,h5,h6&quot;,role:&quot;content&quot;},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;},placeholder:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,className:!0,splitting:!0,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0,fitText:!0,__experimentalDefaultControls:{fontSize:!0}},__unstablePasteTextInline:!0,__experimentalSlashInserter:!0,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-heading-editor&quot;,style:&quot;wp-block-heading&quot;};var e4=o(T(),1),oE=o(v(),1);function H$({attributes:e}){let{content:t,level:r}=e,a=&quot;h&quot;+r;return(0,oE.jsx)(a,{...e4.useBlockProps.save(),children:(0,oE.jsx)(e4.RichText.Content,{value:t})})}var fm=o(W(),1);function O$(e){return Number(e.substr(1))}var l2e={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;e.map(t=&gt;{let{content:r,anchor:a,style:n}=t,i=n?.typography?.textAlign;return(0,fm.createBlock)(&quot;core/heading&quot;,{...Wc(t,&quot;core/heading&quot;,({content:l})=&gt;({content:l})),content:r,anchor:a,...i&amp;&amp;{style:{typography:{textAlign:i}}}})})},{type:&quot;raw&quot;,selector:&quot;h1,h2,h3,h4,h5,h6&quot;,schema:({phrasingContentSchema:e,isPaste:t})=&gt;{let r={children:e,attributes:t?[]:[&quot;style&quot;,&quot;id&quot;]};return{h1:r,h2:r,h3:r,h4:r,h5:r,h6:r}},transform(e){let t=(0,fm.getBlockAttributes)(&quot;core/heading&quot;,e.outerHTML),{textAlign:r}=e.style||{};return t.level=O$(e.nodeName),(r===&quot;left&quot;||r===&quot;center&quot;||r===&quot;right&quot;)&amp;&amp;(t.style={...t.style,typography:{...t.style?.typography,textAlign:r}}),(0,fm.createBlock)(&quot;core/heading&quot;,t)}},...[1,2,3,4,5,6].map(e=&gt;({type:&quot;prefix&quot;,prefix:Array(e+1).join(&quot;#&quot;),transform(t){return(0,fm.createBlock)(&quot;core/heading&quot;,{level:e,content:t})}})),...[1,2,3,4,5,6].map(e=&gt;({type:&quot;enter&quot;,regExp:new RegExp(`^/(h|H)${e}$`),transform:()=&gt;(0,fm.createBlock)(&quot;core/heading&quot;,{level:e})}))],to:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;e.map(t=&gt;{let{content:r,style:a}=t,n=a?.typography?.textAlign;return(0,fm.createBlock)(&quot;core/paragraph&quot;,{...Wc(t,&quot;core/paragraph&quot;,({content:i})=&gt;({content:i})),content:r,...n&amp;&amp;{style:{typography:{textAlign:n}}}})})}]},j$=l2e;var mv=o(P(),1);var s2e=[Y9,J9,tT,oT,nT,lT],c2e=[...[1,2,3,4,5,6].map(e=&gt;({name:`h${e}`,title:(0,mv.sprintf)((0,mv.__)(&quot;Heading %d&quot;),e),description:(0,mv.__)(&quot;Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.&quot;),icon:s2e[e-1],attributes:{level:e},scope:[&quot;block&quot;,&quot;transform&quot;],keywords:[`h${e}`],isActive:t=&gt;t.level===e}))],U$=c2e;var{fieldsKey:u2e,formKey:m2e}=K(vh.privateApis),{name:t4}=J5,r4={icon:cT,example:{attributes:{content:(0,hm.__)(&quot;Code is Poetry&quot;),level:2,style:{typography:{textAlign:&quot;center&quot;}}}},__experimentalLabel(e,{context:t}){let{content:r,level:a}=e,n=e?.metadata?.name,i=r?.trim().length&gt;0;if(t===&quot;list-view&quot;&amp;&amp;(n||i))return n||r;if(t===&quot;breadcrumb&quot;&amp;&amp;n)return n;if(t===&quot;accessibility&quot;)return i?(0,hm.sprintf)((0,hm.__)(&quot;Level %1$s. %2$s&quot;),a,r):(0,hm.sprintf)((0,hm.__)(&quot;Level %s. Empty.&quot;),a)},transforms:j$,deprecated:R$,merge(e,t){return{content:(e.content||&quot;&quot;)+(t.content||&quot;&quot;)}},edit:F$,save:H$,variations:U$};window.__experimentalContentOnlyInspectorFields&amp;&amp;(r4[u2e]=[{id:&quot;content&quot;,label:(0,hm.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],r4[m2e]={fields:[&quot;content&quot;]});var p2e=()=&gt;{let e=E({name:t4,metadata:J5,settings:r4}),t=(0,vh.getBlockType)(t4)?.attributes?.levelOptions?.default;return t&amp;&amp;[1,2,3,4,5,6].forEach(r=&gt;{t.includes(r)||(0,vh.unregisterBlockVariation)(t4,`h${r}`)}),e};var nE={};Z(nE,{init:()=&gt;h2e,metadata:()=&gt;o4,name:()=&gt;Y$,settings:()=&gt;X$});var Q$=o(P(),1);var o4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/home-link&quot;,category:&quot;design&quot;,parent:[&quot;core/navigation&quot;],title:&quot;Home Link&quot;,description:&quot;Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;,role:&quot;content&quot;}},usesContext:[&quot;textColor&quot;,&quot;customTextColor&quot;,&quot;backgroundColor&quot;,&quot;customBackgroundColor&quot;,&quot;fontSize&quot;,&quot;customFontSize&quot;,&quot;style&quot;],supports:{anchor:!0,reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-home-link-editor&quot;,style:&quot;wp-block-home-link&quot;};var i4=o(T(),1),a4=o(P(),1),G$=o(V(),1),W$=o(Q(),1),n4=o(v(),1),f2e=e=&gt;e.preventDefault();function $$({attributes:e,setAttributes:t,context:r}){let a=(0,G$.useSelect)(c=&gt;c(W$.store).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;)?.home,[]),{textColor:n,backgroundColor:i,style:l}=r,s=(0,i4.useBlockProps)({className:w(&quot;wp-block-navigation-item&quot;,{&quot;has-text-color&quot;:!!n||!!l?.color?.text,[`has-${n}-color`]:!!n,&quot;has-background&quot;:!!i||!!l?.color?.background,[`has-${i}-background-color`]:!!i}),style:{color:l?.color?.text,backgroundColor:l?.color?.background}});return(0,n4.jsx)(&quot;div&quot;,{...s,children:(0,n4.jsx)(&quot;a&quot;,{className:&quot;wp-block-home-link__content wp-block-navigation-item__content&quot;,href:a,onClick:f2e,children:(0,n4.jsx)(i4.RichText,{identifier:&quot;label&quot;,className:&quot;wp-block-home-link__label&quot;,value:e.label??(0,a4.__)(&quot;Home&quot;),onChange:c=&gt;{t({label:c})},&quot;aria-label&quot;:(0,a4.__)(&quot;Home link text&quot;),placeholder:(0,a4.__)(&quot;Add home link&quot;),withoutInteractiveFormatting:!0})})})}var q$=o(T(),1),Z$=o(v(),1);function K$(){return(0,Z$.jsx)(q$.InnerBlocks.Content,{})}var{name:Y$}=o4,X$={icon:mT,edit:$$,save:K$,example:{attributes:{label:(0,Q$._x)(&quot;Home Link&quot;,&quot;block example&quot;)}}},h2e=()=&gt;E({name:Y$,metadata:o4,settings:X$});var sE={};Z(sE,{init:()=&gt;y2e,metadata:()=&gt;c4,name:()=&gt;hq,settings:()=&gt;gq});var fq=o(P(),1);var yh=o(P(),1),iq=o(U(),1),vm=o(T(),1),Jl=o(M(),1);var J$=o(U(),1),l4=o(T(),1),eq=o(M(),1),tq=o(V(),1),rq=o(P(),1),sd=o(v(),1),g2e=`
	html,body,:root {
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		min-height: auto !important;
	}
`;function s4({content:e,isSelected:t}){let r=(0,tq.useSelect)(n=&gt;n(l4.store).getSettings().styles,[]),a=(0,J$.useMemo)(()=&gt;[g2e,...(0,l4.transformStyles)((r??[]).filter(n=&gt;n.css))],[r]);return(0,sd.jsxs)(sd.Fragment,{children:[(0,sd.jsx)(eq.SandBox,{html:e,styles:a,title:(0,rq.__)(&quot;Custom HTML Preview&quot;),tabIndex:-1}),!t&amp;&amp;(0,sd.jsx)(&quot;div&quot;,{className:&quot;block-library-html__preview-overlay&quot;})]})}var xi=o(P(),1),pv=o(U(),1),aq=o(V(),1),ta=o(M(),1),bh=o(T(),1);var nq=o(me(),1);function oq(e=&quot;&quot;){if(!e||!e.trim())return{html:&quot;&quot;,css:&quot;&quot;,js:&quot;&quot;};let t=document.implementation.createHTMLDocument(&quot;&quot;);t.body.innerHTML=e;let r=t.body.querySelector(&#039;style[data-wp-block-html=&quot;css&quot;]&#039;),a=r?r.textContent.trim():&quot;&quot;;r&amp;&amp;r.remove();let n=t.body.querySelector(&#039;script[data-wp-block-html=&quot;js&quot;]&#039;),i=n?n.textContent.trim():&quot;&quot;;return n&amp;&amp;n.remove(),{html:t.body.innerHTML.trim(),css:a,js:i}}function iE({html:e=&quot;&quot;,css:t=&quot;&quot;,js:r=&quot;&quot;}){let a=[];return t.trim()&amp;&amp;a.push(`&lt;style data-wp-block-html=&quot;css&quot;&gt;
${t}
&lt;/style&gt;`),r.trim()&amp;&amp;a.push(`&lt;script data-wp-block-html=&quot;js&quot;&gt;
${r}
&lt;\/script&gt;`),e.trim()&amp;&amp;a.push(e),a.join(`

`)}var Ct=o(v(),1),{Tabs:gm}=K(ta.privateApis);function lE({isOpen:e,onRequestClose:t,content:r,setAttributes:a}){let{html:n,css:i,js:l}=oq(r),[s,c]=(0,pv.useState)(n),[u,m]=(0,pv.useState)(i),[p,d]=(0,pv.useState)(l),[f,h]=(0,pv.useState)(!1),g=(0,nq.useViewportMatch)(&quot;small&quot;,&quot;&lt;&quot;),{canUserUseUnfilteredHTML:b}=(0,aq.useSelect)(S=&gt;({canUserUseUnfilteredHTML:S(bh.store).getSettings().__experimentalCanUserUseUnfilteredHTML}),[]),y=!b&amp;&amp;(i.trim()||l.trim());if(!e)return null;let k=()=&gt;{a({content:iE({html:s,css:b?u:&quot;&quot;,js:b?p:&quot;&quot;})})},_=()=&gt;{k(),t()},x=()=&gt;{h(S=&gt;!S)};return(0,Ct.jsx)(Ct.Fragment,{children:(0,Ct.jsx)(ta.Modal,{title:(0,xi.__)(&quot;Edit HTML&quot;),onRequestClose:t,className:&quot;block-library-html__modal&quot;,size:&quot;large&quot;,isDismissible:!1,shouldCloseOnClickOutside:!1,isFullScreen:f,__experimentalHideHeader:!0,children:(0,Ct.jsx)(gm,{orientation:&quot;horizontal&quot;,defaultTabId:&quot;html&quot;,children:(0,Ct.jsxs)(ta.__experimentalVStack,{expanded:!0,children:[(0,Ct.jsxs)(ta.__experimentalHStack,{justify:&quot;space-between&quot;,className:&quot;block-library-html__modal-header&quot;,children:[(0,Ct.jsx)(&quot;div&quot;,{children:(0,Ct.jsxs)(gm.TabList,{children:[(0,Ct.jsx)(gm.Tab,{tabId:&quot;html&quot;,children:&quot;HTML&quot;}),b&amp;&amp;(0,Ct.jsx)(gm.Tab,{tabId:&quot;css&quot;,children:&quot;CSS&quot;}),b&amp;&amp;(0,Ct.jsx)(gm.Tab,{tabId:&quot;js&quot;,children:(0,xi.__)(&quot;JavaScript&quot;)})]})}),!g&amp;&amp;(0,Ct.jsx)(&quot;div&quot;,{children:(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,icon:f?tB:kp,label:(0,xi.__)(&quot;Enable/disable fullscreen&quot;),onClick:x,variant:&quot;tertiary&quot;})})]}),y&amp;&amp;(0,Ct.jsx)(ta.Notice,{status:&quot;warning&quot;,isDismissible:!1,className:&quot;block-library-html__modal-notice&quot;,children:(0,xi.__)(&quot;This block contains CSS or JavaScript that will be removed when you save because you do not have permission to use unfiltered HTML.&quot;)}),(0,Ct.jsxs)(ta.Flex,{direction:g?&quot;column&quot;:&quot;row&quot;,className:&quot;block-library-html__modal-tabs&quot;,align:&quot;stretch&quot;,gap:8,children:[(0,Ct.jsxs)(&quot;div&quot;,{className:&quot;block-library-html__modal-content&quot;,children:[(0,Ct.jsx)(gm.TabPanel,{tabId:&quot;html&quot;,focusable:!1,className:&quot;block-library-html__modal-tab&quot;,children:(0,Ct.jsx)(bh.PlainText,{value:s,onChange:c,placeholder:(0,xi.__)(&quot;Write HTML\u2026&quot;),&quot;aria-label&quot;:(0,xi.__)(&quot;HTML&quot;),className:&quot;block-library-html__modal-editor&quot;})}),b&amp;&amp;(0,Ct.jsx)(gm.TabPanel,{tabId:&quot;css&quot;,focusable:!1,className:&quot;block-library-html__modal-tab&quot;,children:(0,Ct.jsx)(bh.PlainText,{value:u,onChange:m,placeholder:(0,xi.__)(&quot;Write CSS\u2026&quot;),&quot;aria-label&quot;:(0,xi.__)(&quot;CSS&quot;),className:&quot;block-library-html__modal-editor&quot;})}),b&amp;&amp;(0,Ct.jsx)(gm.TabPanel,{tabId:&quot;js&quot;,focusable:!1,className:&quot;block-library-html__modal-tab&quot;,children:(0,Ct.jsx)(bh.PlainText,{value:p,onChange:d,placeholder:(0,xi.__)(&quot;Write JavaScript\u2026&quot;),&quot;aria-label&quot;:(0,xi.__)(&quot;JavaScript&quot;),className:&quot;block-library-html__modal-editor&quot;})})]}),(0,Ct.jsx)(&quot;div&quot;,{className:&quot;block-library-html__preview&quot;,children:(0,Ct.jsx)(s4,{content:iE({html:s,css:u,js:p})})})]}),(0,Ct.jsxs)(ta.__experimentalHStack,{alignment:&quot;center&quot;,justify:&quot;flex-end&quot;,spacing:4,className:&quot;block-library-html__modal-footer&quot;,children:[(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:t,children:(0,xi.__)(&quot;Cancel&quot;)}),(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:_,children:(0,xi.__)(&quot;Update&quot;)})]})]})})})})}var Ta=o(v(),1);function lq({attributes:e,setAttributes:t,isSelected:r}){let[a,n]=(0,iq.useState)(!1),i=(0,vm.useBlockProps)({className:&quot;block-library-html__edit&quot;});return e.content?.trim()?(0,Ta.jsxs)(&quot;div&quot;,{...i,children:[(0,Ta.jsx)(vm.BlockControls,{children:(0,Ta.jsx)(Jl.ToolbarGroup,{children:(0,Ta.jsx)(Jl.ToolbarButton,{onClick:()=&gt;n(!0),children:(0,yh.__)(&quot;Edit code&quot;)})})}),(0,Ta.jsx)(vm.InspectorControls,{children:(0,Ta.jsx)(Jl.__experimentalVStack,{className:&quot;block-editor-block-inspector-edit-contents&quot;,expanded:!0,children:(0,Ta.jsx)(Jl.Button,{className:&quot;block-editor-block-inspector-edit-contents__button&quot;,__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;n(!0),children:(0,yh.__)(&quot;Edit code&quot;)})})}),(0,Ta.jsx)(s4,{content:e.content,isSelected:r}),(0,Ta.jsx)(lE,{isOpen:a,onRequestClose:()=&gt;n(!1),content:e.content,setAttributes:t})]}):(0,Ta.jsxs)(&quot;div&quot;,{...i,children:[(0,Ta.jsx)(Jl.Placeholder,{icon:(0,Ta.jsx)(vm.BlockIcon,{icon:B0}),label:(0,yh.__)(&quot;Custom HTML&quot;),instructions:(0,yh.__)(&quot;Add custom HTML code and preview how it looks.&quot;),children:(0,Ta.jsx)(Jl.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:()=&gt;n(!0),children:(0,yh.__)(&quot;Edit HTML&quot;)})}),(0,Ta.jsx)(lE,{isOpen:a,onRequestClose:()=&gt;n(!1),content:e.content,setAttributes:t})]})}var c4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/html&quot;,title:&quot;Custom HTML&quot;,category:&quot;widgets&quot;,description:&quot;Add custom HTML code and preview it as you edit.&quot;,keywords:[&quot;embed&quot;],textdomain:&quot;default&quot;,attributes:{content:{type:&quot;string&quot;,source:&quot;raw&quot;,role:&quot;content&quot;}},supports:{customClassName:!1,className:!1,html:!1,interactivity:{clientNavigation:!0},customCSS:!1,visibility:!1},editorStyle:&quot;wp-block-html-editor&quot;};var sq=o(U(),1),cq=o(v(),1);function uq({attributes:e}){return(0,cq.jsx)(sq.RawHTML,{children:e.content})}var mq=o(W(),1),pq=o(em(),1),b2e={from:[{type:&quot;block&quot;,blocks:[&quot;core/code&quot;],transform:({content:e})=&gt;(0,mq.createBlock)(&quot;core/html&quot;,{content:(0,pq.create)({html:e}).text})}]},dq=b2e;var{name:hq}=c4,gq={icon:dT,example:{attributes:{content:&quot;&lt;marquee&gt;&quot;+(0,fq.__)(&quot;Welcome to the wonderful world of blocks\u2026&quot;)+&quot;&lt;/marquee&gt;&quot;}},edit:lq,save:uq,transforms:dq},y2e=()=&gt;E({name:hq,metadata:c4,settings:gq});var pE={};Z(pE,{init:()=&gt;S2e,metadata:()=&gt;m4,name:()=&gt;Pq,settings:()=&gt;Bq});var Xs=o(P(),1),ki=o(M(),1),ra=o(T(),1),kq=o(U(),1),kh=o(L(),1),wq=o(V(),1),Cq=o(Q(),1);var _q=o(P(),1),u4=o(M(),1),xh=o(U(),1),xq=o(me(),1);var cE=o(P(),1),vq=o(M(),1);var Ys=o(v(),1);function bq({icons:e,onChange:t,attributes:r}){return(0,Ys.jsx)(&quot;div&quot;,{className:&quot;wp-block-icon__inserter-grid&quot;,children:e?.length?(0,Ys.jsx)(&quot;div&quot;,{className:&quot;wp-block-icon__inserter-grid-icons-list&quot;,&quot;aria-label&quot;:(0,cE.__)(&quot;Icon library&quot;),children:e.map(a=&gt;(0,Ys.jsxs)(vq.Button,{className:&quot;wp-block-icon__inserter-grid-icons-list-item&quot;,onClick:()=&gt;t(a.name),variant:a.name===r?.icon?&quot;primary&quot;:void 0,__next40pxDefaultSize:!0,children:[(0,Ys.jsx)(&quot;span&quot;,{className:&quot;wp-block-icon__inserter-grid-icons-list-item-icon&quot;,children:(0,Ys.jsx)(uo,{html:a.content,wrapperProps:{style:{width:&quot;24px&quot;}}})}),(0,Ys.jsx)(&quot;span&quot;,{className:&quot;wp-block-icon__inserter-grid-icons-list-item-title&quot;,children:a.label})]},a.name))}):(0,Ys.jsx)(&quot;div&quot;,{className:&quot;wp-block-icon__inserter-grid-no-results&quot;,children:(0,Ys.jsx)(&quot;p&quot;,{children:(0,cE.__)(&quot;No results found.&quot;)})})})}var yq=o(rv(),1);function _h(e=&quot;&quot;){return e=(0,yq.default)(e),e=e.trim().toLowerCase(),e}function _2e(e,t){let r=_h(t),a=_h(e.title),n=0;return r===a?n+=30:a.startsWith(r)?n+=20:r.split(&quot; &quot;).every(s=&gt;a.includes(s))&amp;&amp;(n+=10),n}function dv(e=[],t=&quot;&quot;){if(!t)return e;let r=e.map(a=&gt;[a,_2e(a,t)]).filter(([,a])=&gt;a&gt;0);return r.sort(([,a],[,n])=&gt;n-a),r.map(([a])=&gt;a)}var cd=o(v(),1);function uE({icons:e=[],setInserterOpen:t,attributes:r,setAttributes:a}){let[n,i]=(0,xh.useState)(&quot;&quot;),l=(0,xq.useDebounce)(i,300),s=(0,xh.useCallback)(u=&gt;{a({icon:u}),t(!1)},[a,t]),c=(0,xh.useMemo)(()=&gt;{if(n){let u=_h(n);return e.filter(m=&gt;{let p=_h(m.name),d=_h(m.label);return p.includes(u)||d.includes(u)})}return e},[n,e]);return(0,cd.jsx)(u4.Modal,{className:&quot;wp-block-icon__inserter-modal&quot;,title:(0,_q.__)(&quot;Icon library&quot;),onRequestClose:()=&gt;t(!1),isFullScreen:!0,children:(0,cd.jsxs)(&quot;div&quot;,{className:&quot;wp-block-icon__inserter&quot;,children:[(0,cd.jsx)(&quot;div&quot;,{className:&quot;wp-block-icon__inserter-header&quot;,children:(0,cd.jsx)(u4.SearchControl,{value:n,onChange:l})}),(0,cd.jsx)(bq,{icons:c,onChange:s,attributes:r})]})})}var Yt=o(v(),1),x2e=({className:e,style:t})=&gt;(0,Yt.jsxs)(kh.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 60 60&quot;,preserveAspectRatio:&quot;none&quot;,fill:&quot;none&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-icon__placeholder&quot;,e),style:t,children:[(0,Yt.jsx)(kh.Rect,{width:&quot;60&quot;,height:&quot;60&quot;,fill:&quot;currentColor&quot;,fillOpacity:.1}),(0,Yt.jsx)(kh.Path,{vectorEffect:&quot;non-scaling-stroke&quot;,stroke:&quot;currentColor&quot;,strokeOpacity:.25,d:&quot;M60 60 0 0&quot;})]});function k2e({attributes:e,setAttributes:t}){let{icon:r,ariaLabel:a}=e,[n,i]=(0,kq.useState)(!1),l=(0,ra.useBlockEditingMode)()===&quot;contentOnly&quot;,s=(0,ra.__experimentalUseColorProps)(e),c=(0,ra.__experimentalGetSpacingClassesAndStyles)(e),u=(0,ra.__experimentalUseBorderProps)(e),m=(0,ra.getDimensionsClassesAndStyles)(e),{selectedIcon:p,allIcons:d=[]}=(0,wq.useSelect)(y=&gt;{let{getEntityRecord:k,getEntityRecords:_}=y(Cq.store);return{selectedIcon:r?k(&quot;root&quot;,&quot;icon&quot;,r):null,allIcons:n?_(&quot;root&quot;,&quot;icon&quot;,{per_page:-1}):void 0}},[n,r]),f=p?.content||&quot;&quot;,h=(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsx)(ra.BlockControls,{group:l?&quot;inline&quot;:&quot;other&quot;,children:(0,Yt.jsx)(ki.ToolbarButton,{onClick:()=&gt;{i(!0)},children:r?(0,Xs.__)(&quot;Replace&quot;):(0,Xs.__)(&quot;Choose icon&quot;)})}),l&amp;&amp;r&amp;&amp;(0,Yt.jsx)(ra.BlockControls,{group:&quot;other&quot;,children:(0,Yt.jsx)(ki.ToolbarGroup,{className:&quot;components-toolbar-group&quot;,children:(0,Yt.jsx)(ki.DropdownMenu,{icon:&quot;&quot;,popoverProps:{className:&quot;is-alternate&quot;},text:(0,Xs.__)(&quot;Label&quot;),children:()=&gt;(0,Yt.jsx)(ki.TextControl,{className:&quot;wp-block-icon__toolbar-content&quot;,label:(0,Xs.__)(&quot;Label&quot;),value:a||&quot;&quot;,onChange:y=&gt;t({ariaLabel:y}),help:(0,Xs.__)(&quot;Briefly describe the icon to help screen reader users. Leave blank for decorative icons.&quot;),__next40pxDefaultSize:!0})})})})]}),g=q(),b=r&amp;&amp;(0,Yt.jsx)(Yt.Fragment,{children:(0,Yt.jsx)(ra.InspectorControls,{group:&quot;settings&quot;,children:(0,Yt.jsx)(ki.__experimentalToolsPanel,{label:(0,Xs.__)(&quot;Settings&quot;),resetAll:()=&gt;t({ariaLabel:void 0}),dropdownMenuProps:g,children:(0,Yt.jsx)(ki.__experimentalToolsPanelItem,{label:(0,Xs.__)(&quot;Label&quot;),isShownByDefault:!0,hasValue:()=&gt;!!a,onDeselect:()=&gt;t({ariaLabel:void 0}),children:(0,Yt.jsx)(ki.TextControl,{label:(0,Xs.__)(&quot;Label&quot;),help:(0,Xs.__)(&quot;Briefly describe the icon to help screen reader users. Leave blank for decorative icons.&quot;),value:a||&quot;&quot;,onChange:y=&gt;t({ariaLabel:y}),__next40pxDefaultSize:!0})})})})});return(0,Yt.jsxs)(Yt.Fragment,{children:[h,b,(0,Yt.jsx)(&quot;div&quot;,{...(0,ra.useBlockProps)(),children:r?(0,Yt.jsx)(uo,{html:f,wrapperProps:{className:w(s.className,u.className,c.className,m.className),style:{...s.style,...u.style,...c.style,...m.style}}}):(0,Yt.jsx)(x2e,{className:w(u.className,c.className,m.className),style:{...u.style,...c.style,...m.style,height:&quot;auto&quot;}})}),n&amp;&amp;(0,Yt.jsx)(uE,{icons:d,setInserterOpen:i,attributes:e,setAttributes:t})]})}var Sq=k2e;var m4={apiVersion:3,$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,name:&quot;core/icon&quot;,title:&quot;Icon&quot;,category:&quot;media&quot;,description:&quot;Insert an SVG icon.&quot;,keywords:[&quot;icon&quot;,&quot;svg&quot;],textdomain:&quot;default&quot;,attributes:{icon:{type:&quot;string&quot;,role:&quot;content&quot;}},supports:{anchor:!0,ariaLabel:{__experimentalSkipSerialization:!0},align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],html:!1,color:{background:!0,text:!0,__experimentalSkipSerialization:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!1,radius:!1,style:!1,width:!1}},spacing:{padding:!0,margin:!0,__experimentalSkipSerialization:[&quot;padding&quot;],__experimentalDefaultControls:{margin:!1,padding:!1}},dimensions:{width:!0,__experimentalSkipSerialization:[&quot;width&quot;],__experimentalDefaultControls:{width:!0}}},selectors:{root:&quot;.wp-block-icon svg&quot;,css:&quot;.wp-block-icon&quot;,spacing:{margin:&quot;.wp-block-icon&quot;}},style:&quot;wp-block-icon&quot;,editorStyle:&quot;wp-block-icon-editor&quot;};var p4=o(M(),1),mE=o(v(),1),C2e=(0,mE.jsx)(p4.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,fill:&quot;none&quot;,children:(0,mE.jsx)(p4.Path,{d:&quot;M6 9.5h3.5V6H6v3.5Zm5 .5a1 1 0 0 1-.898.995L10 11H5.5l-.103-.005a1 1 0 0 1-.892-.893L4.5 10V5.5a1 1 0 0 1 1-1H10a1 1 0 0 1 1 1V10ZM18.25 7.75a2 2 0 1 0-4 0 2 2 0 0 0 4 0Zm1.5 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM6.88 13.535a1 1 0 0 1 1.74 0l2.534 4.472a1 1 0 0 1-.87 1.493H5.216a1 1 0 0 1-.87-1.493l2.534-4.472ZM6.074 18h3.352L7.75 15.041l-1.676 2.96ZM14.952 13h2.596a1 1 0 0 1 .866.5l1.298 2.25a1 1 0 0 1 0 1L18.414 19l-.074.11a1 1 0 0 1-.792.39h-2.596a1 1 0 0 1-.792-.39l-.074-.11-1.298-2.25a1.001 1.001 0 0 1 0-1l1.298-2.25a1 1 0 0 1 .866-.5Zm-.72 3.25 1.01 1.75h2.017l1.009-1.75-1.01-1.75h-2.017l-1.01 1.75Z&quot;})}),Tq=C2e;var{name:Pq}=m4,Bq={icon:Tq,example:{attributes:{icon:&quot;core/audio&quot;,style:{dimensions:{width:&quot;48px&quot;}}}},edit:Sq},S2e=()=&gt;E({name:Pq,metadata:m4,settings:Bq});var gE={};Z(gE,{init:()=&gt;$2e,metadata:()=&gt;b4,name:()=&gt;Jq,settings:()=&gt;_4});var md=o(P(),1);var Xq=o(W(),1);var vt=o(T(),1),De=o(v(),1),T2e={attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},caption:{type:&quot;array&quot;,source:&quot;children&quot;,selector:&quot;figcaption&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},id:{type:&quot;number&quot;},align:{type:&quot;string&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s}=e,u=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,...l||s?{width:l,height:s}:{}}),m={};return l?m={width:l}:(n===&quot;left&quot;||n===&quot;right&quot;)&amp;&amp;(m={maxWidth:&quot;50%&quot;}),(0,De.jsxs)(&quot;figure&quot;,{className:n?`align${n}`:null,style:m,children:[i?(0,De.jsx)(&quot;a&quot;,{href:i,children:u}):u,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]})}},P2e={attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},caption:{type:&quot;array&quot;,source:&quot;children&quot;,selector:&quot;figcaption&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;a&quot;,attribute:&quot;href&quot;},id:{type:&quot;number&quot;},align:{type:&quot;string&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s,id:c}=e,u=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:c?`wp-image-${c}`:null,width:l,height:s});return(0,De.jsxs)(&quot;figure&quot;,{className:n?`align${n}`:null,children:[i?(0,De.jsx)(&quot;a&quot;,{href:i,children:u}):u,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]})}},B2e={attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},caption:{type:&quot;array&quot;,source:&quot;children&quot;,selector:&quot;figcaption&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;},id:{type:&quot;number&quot;},align:{type:&quot;string&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;},linkDestination:{type:&quot;string&quot;,default:&quot;none&quot;}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s,id:c}=e,u=w({[`align${n}`]:n,&quot;is-resized&quot;:l||s}),m=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:c?`wp-image-${c}`:null,width:l,height:s});return(0,De.jsxs)(&quot;figure&quot;,{className:u,children:[i?(0,De.jsx)(&quot;a&quot;,{href:i,children:m}):m,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]})}},I2e={attributes:{align:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{type:&quot;string&quot;,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;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{anchor:!0},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,id:m,linkTarget:p,sizeSlug:d,title:f}=e,h=l||void 0,g=w({[`align${n}`]:n,[`size-${d}`]:d,&quot;is-resized&quot;:c||u}),b=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:m?`wp-image-${m}`:null,width:c,height:u,title:f}),y=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)(&quot;a&quot;,{className:s,href:i,target:p,rel:h,children:b}):b,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]});return n===&quot;left&quot;||n===&quot;right&quot;||n===&quot;center&quot;?(0,De.jsx)(&quot;div&quot;,{...vt.useBlockProps.save(),children:(0,De.jsx)(&quot;figure&quot;,{className:g,children:y})}):(0,De.jsx)(&quot;figure&quot;,{...vt.useBlockProps.save({className:g}),children:y})}},N2e={attributes:{align:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;},alt:{type:&quot;string&quot;,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;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{anchor:!0,color:{__experimentalDuotone:&quot;img&quot;,text:!1,background:!1},__experimentalBorder:{radius:!0,__experimentalDefaultControls:{radius:!0}},__experimentalStyle:{spacing:{margin:&quot;0 0 1em 0&quot;}}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,id:m,linkTarget:p,sizeSlug:d,title:f}=e,h=l||void 0,g=w({[`align${n}`]:n,[`size-${d}`]:d,&quot;is-resized&quot;:c||u}),b=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:m?`wp-image-${m}`:null,width:c,height:u,title:f}),y=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)(&quot;a&quot;,{className:s,href:i,target:p,rel:h,children:b}):b,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{tagName:&quot;figcaption&quot;,value:a})]});return(0,De.jsx)(&quot;figure&quot;,{...vt.useBlockProps.save({className:g}),children:y})}},E2e={attributes:{align:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;,role:&quot;content&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;},aspectRatio:{type:&quot;string&quot;},scale:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate(e){let{height:t,width:r}=e;return{...e,width:typeof r==&quot;number&quot;?`${r}px`:r,height:typeof t==&quot;number&quot;?`${t}px`:t}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,&quot;is-resized&quot;:c||u,&quot;has-custom-border&quot;:!!y.className||y.style&amp;&amp;Object.keys(y.style).length&gt;0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p},width:c,height:u,title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)(&quot;a&quot;,{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:a})]});return(0,De.jsx)(&quot;figure&quot;,{...vt.useBlockProps.save({className:k}),children:S})}},D2e={attributes:{align:{type:&quot;string&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;,role:&quot;content&quot;},width:{type:&quot;number&quot;},height:{type:&quot;number&quot;},aspectRatio:{type:&quot;string&quot;},scale:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate({width:e,height:t,...r}){return{...r,width:`${e}px`,height:`${t}px`}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,&quot;is-resized&quot;:c||u,&quot;has-custom-border&quot;:!!y.className||y.style&amp;&amp;Object.keys(y.style).length&gt;0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p,width:c,height:u},width:c,height:u,title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)(&quot;a&quot;,{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:a})]});return(0,De.jsx)(&quot;figure&quot;,{...vt.useBlockProps.save({className:k}),children:S})}},L2e={attributes:{align:{type:&quot;string&quot;},behaviors:{type:&quot;object&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;,role:&quot;content&quot;},width:{type:&quot;string&quot;},height:{type:&quot;string&quot;},aspectRatio:{type:&quot;string&quot;},scale:{type:&quot;string&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate({width:e,height:t,...r}){if(!r.behaviors?.lightbox)return r;let{behaviors:{lightbox:{enabled:a}}}=r,n={...r,lightbox:{enabled:a}};return delete n.behaviors,n},isEligible(e){return!!e.behaviors},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,&quot;is-resized&quot;:c||u,&quot;has-custom-border&quot;:!!y.className||y.style&amp;&amp;Object.keys(y.style).length&gt;0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)(&quot;img&quot;,{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p,width:c,height:u},title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)(&quot;a&quot;,{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&amp;&amp;(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:a})]});return(0,De.jsx)(&quot;figure&quot;,{...vt.useBlockProps.save({className:k}),children:S})}},Iq=[L2e,D2e,E2e,N2e,I2e,B2e,P2e,T2e];var hv=o(Rr(),1),fv=o(W(),1),Gq=o(M(),1),ud=o(V(),1),on=o(T(),1),bm=o(U(),1),Js=o(P(),1);var Wq=o(xr(),1),$q=o(me(),1),v4=o(mr(),1),qq=o(Eq(),1);var Rq=o(Rr(),1),Le=o(M(),1),Ch=o(me(),1),ou=o(V(),1),yt=o(T(),1),Nr=o(U(),1),Se=o(P(),1),fE=o(mr(),1),wh=o(W(),1);var zq=o(xr(),1),h4=o(Q(),1);var Vn=o(M(),1),d4=o(T(),1),Dq=o(P(),1),Lq=o(V(),1),wi=o(v(),1);function dE({url:e,alt:t,filename:r,itemGroupProps:a,className:n}){return(0,wi.jsx)(Vn.__experimentalItemGroup,{...a,as:&quot;span&quot;,children:(0,wi.jsxs)(Vn.__experimentalHStack,{justify:&quot;flex-start&quot;,as:&quot;span&quot;,children:[(0,wi.jsx)(&quot;img&quot;,{src:e,alt:t}),(0,wi.jsx)(Vn.FlexItem,{as:&quot;span&quot;,children:(0,wi.jsx)(Vn.__experimentalTruncate,{numberOfLines:1,className:n,children:r})})]})})}function f4({mediaId:e,mediaUrl:t,alt:r=&quot;&quot;,filename:a,allowedTypes:n,onSelect:i,onSelectURL:l,onError:s,onReset:c,isUploading:u=!1,emptyLabel:m=(0,Dq.__)(&quot;Add media&quot;)}){let{getSettings:p}=(0,Lq.useSelect)(d4.store);return(0,wi.jsxs)(&quot;div&quot;,{className:&quot;block-library-utils__media-control&quot;,children:[(0,wi.jsx)(d4.MediaReplaceFlow,{mediaId:e,mediaURL:t,allowedTypes:n,onSelect:i,onSelectURL:l,onError:s,name:t?(0,wi.jsx)(dE,{url:t,alt:r,filename:a}):m,renderToggle:f=&gt;(0,wi.jsx)(Vn.Button,{...f,__next40pxDefaultSize:!0,children:u?(0,wi.jsx)(Vn.Spinner,{}):f.children}),onReset:c}),(0,wi.jsx)(Vn.DropZone,{onFilesDrop:f=&gt;{let{mediaUpload:h}=p();h&amp;&amp;h({allowedTypes:n,filesList:f,onFileChange([g]){i(g)},onError:s,multiple:!1})}})]})}var re=o(v(),1),{DimensionsTool:Mq,ResolutionTool:M2e}=K(yt.privateApis),A2e=[{value:&quot;cover&quot;,label:(0,Se._x)(&quot;Cover&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Se.__)(&quot;Image covers the space evenly.&quot;)},{value:&quot;contain&quot;,label:(0,Se._x)(&quot;Contain&quot;,&quot;Scale option for dimensions control&quot;),help:(0,Se.__)(&quot;Image is contained without distortion.&quot;)}],R2e={placement:&quot;bottom-start&quot;},Aq=({href:e,children:t})=&gt;e?(0,re.jsx)(&quot;a&quot;,{href:e,onClick:r=&gt;r.preventDefault(),&quot;aria-disabled&quot;:!0,style:{pointerEvents:&quot;none&quot;,cursor:&quot;default&quot;,display:&quot;inline&quot;},children:t}):t;function z2e({attributes:e,setAttributes:t,lockAltControls:r,lockAltControlsMessage:a,lockTitleControls:n,lockTitleControlsMessage:i}){let[l,s]=(0,Nr.useState)(null),[c,u]=(0,Nr.useState)(!1),[m,p]=(0,Nr.useState)(!1);return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ToolbarItem,{ref:s,children:d=&gt;(0,re.jsx)(Le.DropdownMenu,{icon:bp,label:(0,Se.__)(&quot;More&quot;),toggleProps:{...d,description:(0,Se.__)(&quot;Displays more controls.&quot;)},popoverProps:R2e,children:({onClose:f})=&gt;(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.MenuItem,{onClick:()=&gt;{u(!0),f()},&quot;aria-haspopup&quot;:&quot;dialog&quot;,children:(0,Se._x)(&quot;Alternative text&quot;,&quot;Alternative text for an image. Block toolbar label, a low character count is preferred.&quot;)}),(0,re.jsx)(Le.MenuItem,{onClick:()=&gt;{p(!0),f()},&quot;aria-haspopup&quot;:&quot;dialog&quot;,children:(0,Se.__)(&quot;Title text&quot;)})]})})}),c&amp;&amp;(0,re.jsx)(Le.Popover,{placement:&quot;bottom-start&quot;,anchor:l,onClose:()=&gt;u(!1),offset:13,variant:&quot;toolbar&quot;,children:(0,re.jsx)(&quot;div&quot;,{className:&quot;wp-block-image__toolbar_content_textarea__container&quot;,children:(0,re.jsx)(Le.TextareaControl,{className:&quot;wp-block-image__toolbar_content_textarea&quot;,label:(0,Se.__)(&quot;Alternative text&quot;),value:e.alt||&quot;&quot;,onChange:d=&gt;t({alt:d}),disabled:r,help:r?(0,re.jsx)(re.Fragment,{children:a}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ExternalLink,{href:(0,Se.__)(&quot;https://www.w3.org/WAI/tutorials/images/decision-tree/&quot;),children:(0,Se.__)(&quot;Describe the purpose of the image.&quot;)}),(0,re.jsx)(&quot;br&quot;,{}),(0,Se.__)(&quot;Leave empty if decorative.&quot;)]})})})}),m&amp;&amp;(0,re.jsx)(Le.Popover,{placement:&quot;bottom-start&quot;,anchor:l,onClose:()=&gt;p(!1),offset:13,variant:&quot;toolbar&quot;,children:(0,re.jsx)(&quot;div&quot;,{className:&quot;wp-block-image__toolbar_content_textarea__container&quot;,children:(0,re.jsx)(Le.TextControl,{__next40pxDefaultSize:!0,className:&quot;wp-block-image__toolbar_content_textarea&quot;,label:(0,Se.__)(&quot;Title attribute&quot;),value:e.title||&quot;&quot;,onChange:d=&gt;t({title:d}),disabled:n,help:n?(0,re.jsx)(re.Fragment,{children:i}):(0,Nr.createInterpolateElement)((0,Se.__)(&quot;Describe the role of this image on the page. &lt;a&gt;(Note: many devices and browsers do not display this text.)&lt;/a&gt;&quot;),{a:(0,re.jsx)(Le.ExternalLink,{href:&quot;https://www.w3.org/TR/html52/dom.html#the-title-attribute&quot;})})})})})]})}function Vq({temporaryURL:e,isSideloading:t,attributes:r,setAttributes:a,isSingleSelected:n,insertBlocksAfter:i,onReplace:l,onSelectImage:s,onSelectURL:c,onUploadError:u,context:m,clientId:p,blockEditingMode:d,parentLayoutType:f,maxContentWidth:h}){let{url:g=&quot;&quot;,alt:b,align:y,id:k,href:_,rel:x,linkClass:S,linkDestination:C,title:N,width:B,height:D,aspectRatio:A,scale:H,focalPoint:F,linkTarget:z,sizeSlug:I,lightbox:R,metadata:$}=r,[j,G]=(0,Nr.useState)(),[O,J]=(0,Nr.useState)(null),[ee,oe]=(0,Nr.useState)({}),[X,te]=(0,Nr.useState)(0),ne=(0,Ch.useResizeObserver)(([ge])=&gt;{if(!O){let[Lt]=ge.borderBoxSize;oe({width:Lt.inlineSize,height:Lt.blockSize})}te(ge.target.offsetTop)}),le=(0,Nr.useCallback)(()=&gt;{te(j?.offsetTop??0)},[j]),pe=(0,Ch.useMergeRefs)([G,ne]),{allowResize:Ie=!0}=m,{image:Ne,canUserEdit:ae}=(0,ou.useSelect)(ge=&gt;{let Lt=k&amp;&amp;n?ge(h4.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,k,{context:&quot;view&quot;}):null,ti=!1;if(k&amp;&amp;n&amp;&amp;window?.__experimentalMediaEditor){let{getEntityRecordPermissions:ba}=K(ge(h4.store));ti=ba(&quot;postType&quot;,&quot;attachment&quot;,k)?.update||!1}return{image:Lt,canUserEdit:ti}},[k,n]),{canInsertCover:Re,imageEditing:Ee,imageSizes:ie,maxWidth:fe}=(0,ou.useSelect)(ge=&gt;{let{getBlockRootClientId:Lt,canInsertBlockType:ti,getSettings:ba}=ge(yt.store),wf=Lt(p),mp=ba();return{imageEditing:mp.imageEditing,imageSizes:mp.imageSizes,maxWidth:mp.maxWidth,canInsertCover:ti(&quot;core/cover&quot;,wf)}},[p]),{getBlock:ke,getSettings:je}=(0,ou.useSelect)(yt.store),de=je().onNavigateToEntityRecord,{replaceBlocks:ct,toggleSelection:at}=(0,ou.useDispatch)(yt.store),{createErrorNotice:kt,createSuccessNotice:Wr}=(0,ou.useDispatch)(zq.store),{editEntityRecord:ut}=(0,ou.useDispatch)(h4.store),br=(0,Ch.useViewportMatch)(&quot;medium&quot;),mt=[&quot;wide&quot;,&quot;full&quot;].includes(y),[{loadedNaturalWidth:wo,loadedNaturalHeight:Y},ze]=(0,Nr.useState)({}),[Me,Xe]=(0,Nr.useState)(!1),[Te,Bt]=(0,Nr.useState)(),[yr,xn]=(0,Nr.useState)(!1),Je=d===&quot;default&quot;,$r=d===&quot;contentOnly&quot;,ip=Ie&amp;&amp;Je,Cs=Ie&amp;&amp;Je&amp;&amp;!mt&amp;&amp;br,Ru=ie.filter(({slug:ge})=&gt;Ne?.media_details?.sizes?.[ge]?.source_url).map(({name:ge,slug:Lt})=&gt;({value:Lt,label:ge}));(0,Nr.useEffect)(()=&gt;{if(!g4(k,g)||!n||!je().mediaUpload){Bt();return}Te||window.fetch(g.includes(&quot;?&quot;)?g:g+&quot;?&quot;).then(ge=&gt;ge.blob()).then(ge=&gt;Bt(ge)).catch(()=&gt;{})},[k,g,n,Te,je]);let{naturalWidth:kn,naturalHeight:ja}=(0,Nr.useMemo)(()=&gt;({naturalWidth:j?.naturalWidth||wo||void 0,naturalHeight:j?.naturalHeight||Y||void 0}),[wo,Y,j?.complete]);function gf(){xn(!0);let ge=Yu({attributes:{url:g}});ge!==void 0&amp;&amp;l(ge)}function zu(ge){xn(!1),ze({loadedNaturalWidth:ge.target?.naturalWidth,loadedNaturalHeight:ge.target?.naturalHeight})}function Ss(ge){a(ge)}function Ts(ge){ge&amp;&amp;!Ps?.enabled?a({lightbox:{enabled:!0}}):!ge&amp;&amp;Ps?.enabled?a({lightbox:{enabled:!1}}):a({lightbox:void 0})}function Pe(){Ps?.enabled&amp;&amp;Ps?.allowEditing?a({lightbox:{enabled:!1}}):a({lightbox:void 0})}function Ht(ge){a({title:ge})}function qr(ge){a({alt:ge})}let Co=ge=&gt;{j&amp;&amp;j.style.setProperty(&quot;object-position&quot;,iv(ge))};function So(ge){let Lt=Ne?.media_details?.sizes?.[ge]?.source_url;if(!Lt)return null;a({url:Lt,sizeSlug:ge})}function Sl(){let{mediaUpload:ge}=je();ge&amp;&amp;ge({filesList:[Te],onFileChange([Lt]){s(Lt),!(0,Rq.isBlobURL)(Lt.url)&amp;&amp;(Bt(),Wr((0,Se.__)(&quot;Image uploaded.&quot;),{type:&quot;snackbar&quot;}))},allowedTypes:tu,onError(Lt){kt(Lt,{type:&quot;snackbar&quot;})}})}(0,Nr.useEffect)(()=&gt;{n||Xe(!1)},[n]);let qi=k&amp;&amp;kn&amp;&amp;ja&amp;&amp;Ee,Zi=n&amp;&amp;qi&amp;&amp;!Me&amp;&amp;!$r;function vf(){ct(p,(0,wh.switchToBlockType)(ke(p),&quot;core/cover&quot;))}let zc=(0,Le.__experimentalUseCustomUnits)({availableUnits:[&quot;px&quot;]}),[Ps]=(0,yt.useSettings)(&quot;lightbox&quot;),bf=!!R&amp;&amp;R?.enabled!==Ps?.enabled||Ps?.allowEditing,lp=!!R?.enabled||!R&amp;&amp;!!Ps?.enabled,sp=q(),yf=ip&amp;&amp;(HN.includes(f)?(0,re.jsx)(Mq,{panelId:p,value:{aspectRatio:A},onChange:({aspectRatio:ge})=&gt;{a({aspectRatio:ge,scale:&quot;cover&quot;})},defaultAspectRatio:&quot;auto&quot;,tools:[&quot;aspectRatio&quot;]}):(0,re.jsx)(Mq,{panelId:p,value:{width:B,height:D,scale:H,aspectRatio:A},onChange:({width:ge,height:Lt,scale:ti,aspectRatio:ba})=&gt;{a({width:!ge&amp;&amp;Lt?&quot;auto&quot;:ge,height:Lt,scale:ti,aspectRatio:ba})},defaultScale:&quot;cover&quot;,defaultAspectRatio:&quot;auto&quot;,scaleOptions:A2e,unitsOptions:zc,tools:mt?[&quot;aspectRatio&quot;,&quot;scale&quot;]:[&quot;aspectRatio&quot;,&quot;widthHeight&quot;,&quot;scale&quot;]})),j7=()=&gt;{a({lightbox:void 0}),So(nv)},_b=$?.bindings?.__default?.source===&quot;core/pattern-overrides&quot;,{lockUrlControls:Vc=!1,lockHrefControls:xb=!1,lockAltControls:p0=!1,lockAltControlsMessage:kb,lockTitleControls:_f=!1,lockTitleControlsMessage:cp,hideCaptionControls:xf=!1}=(0,ou.useSelect)(ge=&gt;{if(!n)return{};let{url:Lt,alt:ti,title:ba,caption:wf}=$?.bindings||{},mp=!!m[&quot;pattern/overrides&quot;],$7=(0,wh.getBlockBindingsSource)(Lt?.source),Cf=(0,wh.getBlockBindingsSource)(ti?.source),Vu=(0,wh.getBlockBindingsSource)(ba?.source);return{lockUrlControls:!!Lt&amp;&amp;!$7?.canUserEditValue?.({select:ge,context:m,args:Lt?.args}),lockHrefControls:mp||_b,hideCaptionControls:!!wf,lockAltControls:!!ti&amp;&amp;!Cf?.canUserEditValue?.({select:ge,context:m,args:ti?.args}),lockAltControlsMessage:Cf?.label?(0,Se.sprintf)((0,Se.__)(&quot;Connected to %s&quot;),Cf.label):(0,Se.__)(&quot;Connected to dynamic data&quot;),lockTitleControls:!!ba&amp;&amp;!Vu?.canUserEditValue?.({select:ge,context:m,args:ba?.args}),lockTitleControlsMessage:Vu?.label?(0,Se.sprintf)((0,Se.__)(&quot;Connected to %s&quot;),Vu.label):(0,Se.__)(&quot;Connected to dynamic data&quot;)}},[_b,m,n,$?.bindings]),up=n&amp;&amp;!Me&amp;&amp;!xb&amp;&amp;!Vc,wb=n&amp;&amp;Re&amp;&amp;!$r,tr=up||Zi||wb,Tl=n&amp;&amp;!Me&amp;&amp;!Vc&amp;&amp;(0,re.jsx)(yt.BlockControls,{group:$r?&quot;inline&quot;:&quot;other&quot;,children:(0,re.jsx)(yt.MediaReplaceFlow,{mediaId:k,mediaURL:g,allowedTypes:tu,onSelect:s,onSelectURL:c,onError:u,name:g?(0,Se.__)(&quot;Replace&quot;):(0,Se.__)(&quot;Add image&quot;),onReset:()=&gt;s(void 0),variant:&quot;toolbar&quot;})}),Bs=window?.__experimentalContentOnlyInspectorFields,U7=window?.__experimentalMediaEditor&amp;&amp;k&amp;&amp;n&amp;&amp;ae&amp;&amp;!g4(k,g)&amp;&amp;!Me&amp;&amp;de&amp;&amp;(0,re.jsx)(yt.BlockControls,{group:&quot;other&quot;,children:(0,re.jsx)(Le.ToolbarButton,{onClick:()=&gt;{de({postId:k,postType:&quot;attachment&quot;})},children:(0,Se.__)(&quot;Edit media&quot;)})}),G7=(0,re.jsxs)(re.Fragment,{children:[tr&amp;&amp;(0,re.jsxs)(yt.BlockControls,{group:&quot;block&quot;,children:[up&amp;&amp;(0,re.jsx)(yt.__experimentalImageURLInputUI,{url:_||&quot;&quot;,onChangeUrl:Ss,linkDestination:C,mediaUrl:Ne&amp;&amp;Ne.source_url||g,mediaLink:Ne&amp;&amp;Ne.link,linkTarget:z,linkClass:S,rel:x,showLightboxSetting:bf,lightboxEnabled:lp,onSetLightbox:Ts,resetLightbox:Pe}),Zi&amp;&amp;(0,re.jsx)(Le.ToolbarButton,{onClick:()=&gt;Xe(!0),icon:D0,label:(0,Se.__)(&quot;Crop&quot;)}),wb&amp;&amp;(0,re.jsx)(Le.ToolbarButton,{icon:UT,label:(0,Se.__)(&quot;Add text over image&quot;),onClick:vf})]}),n&amp;&amp;Te&amp;&amp;(0,re.jsx)(yt.BlockControls,{children:(0,re.jsx)(Le.ToolbarGroup,{children:(0,re.jsx)(Le.ToolbarButton,{onClick:Sl,icon:Hc,label:(0,Se.__)(&quot;Upload to Media Library&quot;)})})}),$r&amp;&amp;(0,re.jsx)(yt.BlockControls,{group:&quot;block&quot;,children:(0,re.jsx)(z2e,{attributes:r,setAttributes:a,lockAltControls:p0,lockAltControlsMessage:kb,lockTitleControls:_f,lockTitleControlsMessage:cp})}),!Bs&amp;&amp;n&amp;&amp;(0,re.jsx)(yt.InspectorControls,{group:&quot;content&quot;,children:(0,re.jsxs)(Le.__experimentalToolsPanel,{label:(0,Se.__)(&quot;Media&quot;),resetAll:()=&gt;s(void 0),dropdownMenuProps:sp,children:[!Vc&amp;&amp;(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)(&quot;Image&quot;),hasValue:()=&gt;!!g,onDeselect:()=&gt;s(void 0),isShownByDefault:!0,children:(0,re.jsx)(f4,{mediaId:k,mediaUrl:g,alt:b,filename:Ne?.media_details?.sizes?.full?.file||Ne?.slug||(0,fE.getFilename)(g),allowedTypes:tu,onSelect:s,onSelectURL:c,onError:u,onReset:()=&gt;s(void 0),isUploading:!!e||t,emptyLabel:(0,Se.__)(&quot;Add image&quot;)})}),(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)(&quot;Alternative text&quot;),isShownByDefault:!0,hasValue:()=&gt;!!b,onDeselect:()=&gt;a({alt:void 0}),children:(0,re.jsx)(Le.TextareaControl,{label:(0,Se.__)(&quot;Alternative text&quot;),value:b||&quot;&quot;,onChange:qr,readOnly:p0,help:p0?(0,re.jsx)(re.Fragment,{children:kb}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ExternalLink,{href:(0,Se.__)(&quot;https://www.w3.org/WAI/tutorials/images/decision-tree/&quot;),children:(0,Se.__)(&quot;Describe the purpose of the image.&quot;)}),(0,re.jsx)(&quot;br&quot;,{}),(0,Se.__)(&quot;Leave empty if decorative.&quot;)]})})})]})}),(0,re.jsxs)(yt.InspectorControls,{group:&quot;dimensions&quot;,resetAllFilter:ge=&gt;({...ge,aspectRatio:void 0,width:void 0,height:void 0,scale:void 0,focalPoint:void 0}),children:[yf,g&amp;&amp;H&amp;&amp;(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)(&quot;Focal point&quot;),isShownByDefault:!0,hasValue:()=&gt;!!F,onDeselect:()=&gt;a({focalPoint:void 0}),panelId:p,children:(0,re.jsx)(Le.FocalPointPicker,{label:(0,Se.__)(&quot;Focal point&quot;),url:g,value:F,onDragStart:Co,onDrag:Co,onChange:ge=&gt;a({focalPoint:ge})})})]}),!!Ru.length&amp;&amp;(0,re.jsx)(yt.InspectorControls,{children:(0,re.jsx)(Le.__experimentalToolsPanel,{label:(0,Se.__)(&quot;Settings&quot;),resetAll:j7,dropdownMenuProps:sp,children:(0,re.jsx)(M2e,{value:I,defaultValue:nv,onChange:So,options:Ru})})}),(0,re.jsx)(yt.InspectorControls,{group:&quot;advanced&quot;,children:(0,re.jsx)(Le.TextControl,{__next40pxDefaultSize:!0,label:(0,Se.__)(&quot;Title attribute&quot;),value:N||&quot;&quot;,onChange:Ht,readOnly:_f,help:_f?(0,re.jsx)(re.Fragment,{children:cp}):(0,Nr.createInterpolateElement)((0,Se.__)(&quot;Describe the role of this image on the page. &lt;a&gt;(Note: many devices and browsers do not display this text.)&lt;/a&gt;&quot;),{a:(0,re.jsx)(Le.ExternalLink,{href:&quot;https://www.w3.org/TR/html52/dom.html#the-title-attribute&quot;})})})})]}),kf=(0,fE.getFilename)(g),Cb;b?Cb=b:kf?Cb=(0,Se.sprintf)((0,Se.__)(&quot;This image has an empty alt attribute; its file name is %s&quot;),kf):Cb=(0,Se.__)(&quot;This image has an empty alt attribute&quot;);let W7=(0,yt.__experimentalUseBorderProps)(r),Fpe=(0,yt.__experimentalGetShadowClassesAndStyles)(r),Hpe=r.className?.includes(&quot;is-style-rounded&quot;),{postType:Ope,postId:BR,queryId:jpe}=m,Upe=Number.isFinite(jpe),Sb=e&amp;&amp;yr?(0,re.jsx)(Le.Placeholder,{className:&quot;wp-block-image__placeholder&quot;,withIllustration:!0,children:(0,re.jsx)(Le.Spinner,{})}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(&quot;img&quot;,{src:e||g,alt:Cb,onError:gf,onLoad:zu,ref:pe,className:W7.className,width:kn,height:ja,style:{aspectRatio:A,...O?{width:ee.width+O.width,height:ee.height+O.height}:{width:B,height:D},objectFit:H,objectPosition:F&amp;&amp;H?iv(F):void 0,...W7.style,...Fpe.style}}),(e||t)&amp;&amp;(0,re.jsx)(Le.Spinner,{})]});qi&amp;&amp;Me?Sb=(0,re.jsx)(Aq,{href:_,children:(0,re.jsx)(yt.__experimentalImageEditor,{id:k,url:g,...ee,naturalHeight:ja,naturalWidth:kn,onSaveImage:ge=&gt;a(ge),onFinishEditing:()=&gt;{Xe(!1)},borderProps:Hpe?void 0:W7})}):Sb=(0,re.jsx)(Aq,{href:_,children:Sb});let IR;if(Cs&amp;&amp;n&amp;&amp;!Me&amp;&amp;!HN.includes(f)){let ge=A&amp;&amp;YW(A),Lt=ee.width/ee.height,ti=kn/ja,ba=ge||Lt||ti||1,wf=kn&lt;ja?Zs:Zs*ba,mp=ja&lt;kn?Zs:Zs/ba,$7=fe*2.5,Cf=h||$7,Vu=!1,Tb=!1;y===&quot;center&quot;?(Vu=!0,Tb=!0):(0,Se.isRTL)()?y===&quot;left&quot;?Vu=!0:Tb=!0:y===&quot;right&quot;?Tb=!0:Vu=!0,IR=(0,re.jsx)(Le.ResizableBox,{ref:le,style:{position:&quot;absolute&quot;,inset:`${X}px 0 0 0`},size:ee,minWidth:wf,maxWidth:Cf,minHeight:mp,maxHeight:Cf/ba,lockAspectRatio:ba,enable:{top:!1,right:Vu,bottom:!0,left:Tb},onResizeStart:()=&gt;{at(!1)},onResize:(Wpe,$pe,q7,Pb)=&gt;{J(Pb)},onResizeStop:(Wpe,$pe,q7,Pb)=&gt;{if(at(!0),J(null),oe(NR=&gt;({width:NR.width+Pb.width,height:NR.height+Pb.height})),h&amp;&amp;kn&gt;=h&amp;&amp;Math.abs(q7.offsetWidth-h)&lt;10){a({width:void 0,height:void 0});return}a({width:`${q7.offsetWidth}px`,height:&quot;auto&quot;,aspectRatio:ba===ti?void 0:String(ba)})},resizeRatio:y===&quot;center&quot;?2:1})}if(!g&amp;&amp;!e)return(0,re.jsxs)(re.Fragment,{children:[Tl,G7]});let Gpe=()=&gt;{ut(&quot;postType&quot;,Ope,BR,{featured_media:k}),Wr((0,Se.__)(&quot;Post featured image updated.&quot;),{type:&quot;snackbar&quot;})};return(0,re.jsxs)(re.Fragment,{children:[U7,Tl,G7,!Upe&amp;&amp;BR&amp;&amp;k?(0,re.jsx)(yt.BlockSettingsMenuControls,{children:({canEdit:ge,selectedClientIds:Lt})=&gt;ge&amp;&amp;Lt.length===1&amp;&amp;p===Lt[0]&amp;&amp;(0,re.jsx)(Le.MenuItem,{onClick:Gpe,children:(0,Se.__)(&quot;Set as featured image&quot;)})}):null,Sb,IR,(0,re.jsx)(_a,{attributes:r,setAttributes:a,isSelected:n,insertBlocksAfter:i,label:(0,Se.__)(&quot;Image caption text&quot;),showToolbarButton:n&amp;&amp;(Je||$r)&amp;&amp;!xf})]})}var Fq=o(U(),1),Hq=o(me(),1),Oq=o(v(),1);function jq(){let[e,{width:t}]=(0,Hq.useResizeObserver)(),r=(0,Fq.useRef)();return[(0,Oq.jsx)(&quot;div&quot;,{className:&quot;wp-block&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,style:{position:&quot;absolute&quot;,inset:0,width:&quot;100%&quot;,height:0,margin:0},ref:r,children:e}),t]}var es=o(v(),1),V2e=(e,t)=&gt;{let r=Object.fromEntries(Object.entries(e??{}).filter(([a])=&gt;[&quot;alt&quot;,&quot;id&quot;,&quot;link&quot;,&quot;caption&quot;].includes(a)));return r.url=e?.sizes?.[t]?.url||e?.media_details?.sizes?.[t]?.source_url||e.url,r},g4=(e,t)=&gt;t&amp;&amp;!e&amp;&amp;!(0,hv.isBlobURL)(t);function Uq(e,t){return&quot;url&quot;in(e?.sizes?.[t]??{})||&quot;source_url&quot;in(e?.media_details?.sizes?.[t]??{})}function F2e({attributes:e,setAttributes:t,isSelected:r,className:a,insertBlocksAfter:n,onReplace:i,context:l,clientId:s,__unstableParentLayout:c}){let{url:u=&quot;&quot;,caption:m,id:p,width:d,height:f,sizeSlug:h,aspectRatio:g,scale:b,align:y,metadata:k}=e,[_,x]=(0,bm.useState)(e.blob),S=(0,bm.useRef)(),C=c?.type||c?.default?.type,N=!C||C!==&quot;flex&quot;&amp;&amp;C!==&quot;grid&quot;,[B,D]=jq(),[A,{width:H}]=(0,$q.useResizeObserver)(),F=H&amp;&amp;H&lt;160,z=(0,bm.useRef)();(0,bm.useEffect)(()=&gt;{z.current=m},[m]);let{__unstableMarkNextChangeAsNotPersistent:I,replaceBlock:R}=(0,ud.useDispatch)(on.store);(0,bm.useEffect)(()=&gt;{[&quot;wide&quot;,&quot;full&quot;].includes(y)&amp;&amp;(I(),t({width:void 0,height:void 0,aspectRatio:void 0,scale:void 0}))},[I,y,t]);let{getSettings:$,getBlockRootClientId:j,getBlockName:G,canInsertBlockType:O}=(0,ud.useSelect)(on.store),J=(0,on.useBlockEditingMode)(),{createErrorNotice:ee}=(0,ud.useDispatch)(Wq.store);function oe(de){ee(de,{type:&quot;snackbar&quot;}),t({src:void 0,id:void 0,url:void 0,blob:void 0})}function X(de){let ct=S.current?.ownerDocument.defaultView;if(de.every(at=&gt;at instanceof ct.File)){let at=de,kt=j(s);at.some(ut=&gt;!UN(ut))&amp;&amp;ee((0,Js.__)(&quot;If uploading to a gallery all files need to be image formats&quot;),{id:&quot;gallery-upload-invalid-file&quot;,type:&quot;snackbar&quot;});let Wr=at.filter(ut=&gt;UN(ut)).map(ut=&gt;(0,fv.createBlock)(&quot;core/image&quot;,{blob:(0,hv.createBlobURL)(ut)}));if(G(kt)===&quot;core/gallery&quot;)R(s,Wr);else if(O(&quot;core/gallery&quot;,kt)){let ut=(0,fv.createBlock)(&quot;core/gallery&quot;,{},Wr);R(s,ut)}}}function te(de){if(Array.isArray(de)){X(de);return}if(!de||!de.url){t({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0,blob:void 0}),x();return}if((0,hv.isBlobURL)(de.url)){x(de.url);return}let{imageDefaultSize:ct}=$(),at=nv;h&amp;&amp;Uq(de,h)?at=h:Uq(de,ct)&amp;&amp;(at=ct);let kt=V2e(de,at);if(typeof kt.caption==&quot;string&quot;&amp;&amp;kt.caption.includes(`
`)&amp;&amp;(kt.caption=kt.caption.replace(/\n/g,&quot;&lt;br&gt;&quot;)),z.current&amp;&amp;!kt.caption){let{caption:mt,...wo}=kt;kt=wo}let Wr;(!de.id||de.id!==p)&amp;&amp;(Wr={sizeSlug:at});let ut=e.linkDestination;if(!ut)switch(window?.wp?.media?.view?.settings?.defaultProps?.link||nd){case&quot;file&quot;:case dh:ut=dh;break;case&quot;post&quot;:case fh:ut=fh;break;case FN:ut=FN;break;case nd:ut=nd;break}let br;switch(ut){case dh:br=de.url;break;case fh:br=de.link;break}kt.href=br,t({blob:void 0,...kt,...Wr,linkDestination:ut}),x()}function ne(de){let ct=(0,v4.getProtocol)(de)?de:(0,v4.prependHTTPS)(de);ct!==u&amp;&amp;(t({blob:void 0,url:ct,id:void 0,sizeSlug:$().imageDefaultSize}),x())}Es({url:_,allowedTypes:tu,onChange:te,onError:oe});let pe=g4(p,u)?u:void 0,Ie=(0,ud.useSelect)(de=&gt;!window.__clientSideMediaProcessing||!p?!1:de(qq.store).isUploadingById(p),[p]),Ne=!!u&amp;&amp;(0,es.jsx)(&quot;img&quot;,{alt:(0,Js.__)(&quot;Edit image&quot;),title:(0,Js.__)(&quot;Edit image&quot;),className:&quot;edit-image-preview&quot;,src:u}),ae=(0,on.__experimentalUseBorderProps)(e),Re=(0,on.__experimentalGetShadowClassesAndStyles)(e),Ee=w(a,{&quot;is-transient&quot;:!!_||Ie,&quot;is-resized&quot;:!!d||!!f,[`size-${h}`]:h,&quot;has-custom-border&quot;:!!ae.className||ae.style&amp;&amp;Object.keys(ae.style).length&gt;0}),ie=(0,on.useBlockProps)({ref:S,className:Ee}),{lockUrlControls:fe=!1,lockUrlControlsMessage:ke}=(0,ud.useSelect)(de=&gt;{if(!r)return{};let ct=(0,fv.getBlockBindingsSource)(k?.bindings?.url?.source);return{lockUrlControls:!!k?.bindings?.url&amp;&amp;!ct?.canUserEditValue?.({select:de,context:l,args:k?.bindings?.url?.args}),lockUrlControlsMessage:ct?.label?(0,Js.sprintf)((0,Js.__)(&quot;Connected to %s&quot;),ct.label):(0,Js.__)(&quot;Connected to dynamic data&quot;)}},[l,r,k?.bindings?.url]);return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)(&quot;figure&quot;,{...ie,children:[(0,es.jsx)(Vq,{temporaryURL:_,isSideloading:Ie,attributes:e,setAttributes:t,isSingleSelected:r,insertBlocksAfter:n,onReplace:i,onSelectImage:te,onSelectURL:ne,onUploadError:oe,context:l,clientId:s,blockEditingMode:J,parentLayoutType:C,maxContentWidth:D}),(0,es.jsx)(on.MediaPlaceholder,{icon:(0,es.jsx)(on.BlockIcon,{icon:Wu}),onSelect:te,onSelectURL:ne,onError:oe,placeholder:de=&gt;(0,es.jsxs)(Gq.Placeholder,{className:w(&quot;block-editor-media-placeholder&quot;,{[ae.className]:!!ae.className&amp;&amp;!r}),icon:!F&amp;&amp;(fe?XT:Wu),withIllustration:!r||F,label:!F&amp;&amp;(0,Js.__)(&quot;Image&quot;),instructions:!fe&amp;&amp;!F&amp;&amp;(0,Js.__)(&quot;Drag and drop an image, upload, or choose from your library.&quot;),style:{aspectRatio:!(d&amp;&amp;f)&amp;&amp;g?g:void 0,width:f&amp;&amp;g?&quot;100%&quot;:d,height:d&amp;&amp;g?&quot;100%&quot;:f,objectFit:b,...ae.style,...Re.style},children:[fe&amp;&amp;!F&amp;&amp;ke,!fe&amp;&amp;!F&amp;&amp;de,A]}),allowedTypes:tu,handleUpload:de=&gt;de.length===1,value:{id:p,src:pe},mediaPreview:Ne,disableMediaButtons:_||u})]}),r&amp;&amp;N&amp;&amp;B]})}var Zq=F2e;var b4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/image&quot;,title:&quot;Image&quot;,category:&quot;media&quot;,usesContext:[&quot;allowResize&quot;,&quot;imageCrop&quot;,&quot;fixedHeight&quot;,&quot;navigationButtonType&quot;,&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;,&quot;galleryId&quot;],description:&quot;Insert an image to make a visual statement.&quot;,keywords:[&quot;img&quot;,&quot;photo&quot;,&quot;picture&quot;],textdomain:&quot;default&quot;,attributes:{blob:{type:&quot;string&quot;,role:&quot;local&quot;},url:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},lightbox:{type:&quot;object&quot;,enabled:{type:&quot;boolean&quot;}},title:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;img&quot;,attribute:&quot;title&quot;,role:&quot;content&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;class&quot;},id:{type:&quot;number&quot;,role:&quot;content&quot;},width:{type:&quot;string&quot;},height:{type:&quot;string&quot;},aspectRatio:{type:&quot;string&quot;},scale:{type:&quot;string&quot;},focalPoint:{type:&quot;object&quot;},sizeSlug:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure &gt; a&quot;,attribute:&quot;target&quot;}},supports:{interactivity:!0,align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},spacing:{margin:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},shadow:{__experimentalSkipSerialization:!0}},selectors:{border:&quot;.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder&quot;,shadow:&quot;.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder&quot;,filter:{duotone:&quot;.wp-block-image img, .wp-block-image .components-placeholder&quot;}},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;rounded&quot;,label:&quot;Rounded&quot;}],editorStyle:&quot;wp-block-image-editor&quot;,style:&quot;wp-block-image&quot;};var ts=o(T(),1);var au=o(v(),1);function Kq({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,focalPoint:d,id:f,linkTarget:h,sizeSlug:g,title:b,metadata:{bindings:y={}}={}}=e,k=l||void 0,_=(0,ts.__experimentalGetBorderClassesAndStyles)(e),x=(0,ts.__experimentalGetShadowClassesAndStyles)(e),S=w({alignnone:n===&quot;none&quot;,[`size-${g}`]:g,&quot;is-resized&quot;:c||u,&quot;has-custom-border&quot;:!!_.className||_.style&amp;&amp;Object.keys(_.style).length&gt;0}),C=w(_.className,{[`wp-image-${f}`]:!!f}),N=(0,au.jsx)(&quot;img&quot;,{src:t,alt:r,className:C||void 0,style:{..._.style,...x.style,aspectRatio:m,objectFit:p,objectPosition:d&amp;&amp;p?iv(d):void 0,width:c,height:u},title:b}),B=!ts.RichText.isEmpty(a)||y.caption||y?.__default?.source===&quot;core/pattern-overrides&quot;,D=(0,au.jsxs)(au.Fragment,{children:[i?(0,au.jsx)(&quot;a&quot;,{className:s,href:i,target:h,rel:k,children:N}):N,B&amp;&amp;(0,au.jsx)(ts.RichText.Content,{className:(0,ts.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:a})]});return(0,au.jsx)(&quot;figure&quot;,{...ts.useBlockProps.save({className:S}),children:D})}var y4=o(Rr(),1),gv=o(W(),1);function O2e(e,{shortcode:t}){let{body:r}=document.implementation.createHTMLDocument(&quot;&quot;);r.innerHTML=t.content;let a=r.querySelector(&quot;img&quot;);for(;a&amp;&amp;a.parentNode&amp;&amp;a.parentNode!==r;)a=a.parentNode;return a&amp;&amp;a.parentNode.removeChild(a),r.innerHTML.trim()}function hE(e,t){let{body:r}=document.implementation.createHTMLDocument(&quot;&quot;);r.innerHTML=e;let{firstElementChild:a}=r;if(a&amp;&amp;a.nodeName===&quot;A&quot;)return a.getAttribute(t)||void 0}var Qq={img:{attributes:[&quot;src&quot;,&quot;alt&quot;,&quot;title&quot;],classes:[&quot;alignleft&quot;,&quot;aligncenter&quot;,&quot;alignright&quot;,&quot;alignnone&quot;,/^wp-image-\d+$/]}},j2e=({phrasingContentSchema:e})=&gt;({figure:{require:[&quot;img&quot;],children:{...Qq,a:{attributes:[&quot;href&quot;,&quot;rel&quot;,&quot;target&quot;],classes:[&quot;*&quot;],children:Qq},figcaption:{children:e}}}}),U2e={from:[{type:&quot;raw&quot;,isMatch:e=&gt;e.nodeName===&quot;FIGURE&quot;&amp;&amp;!!e.querySelector(&quot;img&quot;),schema:j2e,transform:e=&gt;{let t=e.className+&quot; &quot;+e.querySelector(&quot;img&quot;).className,r=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),a=e.id===&quot;&quot;?void 0:e.id,n=r?r[1]:void 0,i=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),l=i?Number(i[1]):void 0,s=e.querySelector(&quot;a&quot;),c=s&amp;&amp;s.href?&quot;custom&quot;:void 0,u=s&amp;&amp;s.href?s.href:void 0,m=s&amp;&amp;s.rel?s.rel:void 0,p=s&amp;&amp;s.className?s.className:void 0,d=(0,gv.getBlockAttributes)(&quot;core/image&quot;,e.outerHTML,{align:n,id:l,linkDestination:c,href:u,rel:m,linkClass:p,anchor:a});return(0,y4.isBlobURL)(d.url)&amp;&amp;(d.blob=d.url,delete d.url),(0,gv.createBlock)(&quot;core/image&quot;,d)}},{type:&quot;files&quot;,isMatch(e){return e.every(t=&gt;t.type.indexOf(&quot;image/&quot;)===0)},transform(e){return e.map(r=&gt;(0,gv.createBlock)(&quot;core/image&quot;,{blob:(0,y4.createBlobURL)(r)}))}},{type:&quot;shortcode&quot;,tag:&quot;caption&quot;,attributes:{url:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;src&quot;,selector:&quot;img&quot;},alt:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;alt&quot;,selector:&quot;img&quot;},caption:{shortcode:O2e},href:{shortcode:(e,{shortcode:t})=&gt;hE(t.content,&quot;href&quot;)},rel:{shortcode:(e,{shortcode:t})=&gt;hE(t.content,&quot;rel&quot;)},linkClass:{shortcode:(e,{shortcode:t})=&gt;hE(t.content,&quot;class&quot;)},id:{type:&quot;number&quot;,shortcode:({named:{id:e}})=&gt;{if(e)return parseInt(e.replace(&quot;attachment_&quot;,&quot;&quot;),10)}},align:{type:&quot;string&quot;,shortcode:({named:{align:e=&quot;alignnone&quot;}})=&gt;e.replace(&quot;align&quot;,&quot;&quot;)}}}]},Yq=U2e;var{fieldsKey:G2e,formKey:W2e}=K(Xq.privateApis),{name:Jq}=b4,_4={icon:Wu,example:{attributes:{sizeSlug:&quot;large&quot;,url:&quot;https://s.w.org/images/core/5.3/MtBlanc1.jpg&quot;,caption:(0,md.__)(&quot;Mont Blanc appears\u2014still, snowy, and serene.&quot;)}},__experimentalLabel(e,{context:t}){let r=e?.metadata?.name;if((t===&quot;list-view&quot;||t===&quot;breadcrumb&quot;)&amp;&amp;r)return r;if(t===&quot;accessibility&quot;){let{caption:a,alt:n,url:i}=e;return i?n?n+(a?&quot;. &quot;+a:&quot;&quot;):a||&quot;&quot;:(0,md.__)(&quot;Empty&quot;)}},getEditWrapperProps(e){return{&quot;data-align&quot;:e.align}},transforms:Yq,edit:Zq,save:Kq,deprecated:Iq};window.__experimentalContentOnlyInspectorFields&amp;&amp;(_4[G2e]=[{id:&quot;image&quot;,label:(0,md.__)(&quot;Image&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[&quot;image&quot;],multiple:!1},getValue:({item:e})=&gt;({id:e.id,url:e.url,alt:e.alt,caption:e.caption}),setValue:({value:e})=&gt;({id:e.id,url:e.url,alt:e.alt,caption:e.caption})},{id:&quot;link&quot;,label:(0,md.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.href,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=&gt;({href:e.url,rel:e.rel,linkTarget:e.linkTarget})},{id:&quot;caption&quot;,label:(0,md.__)(&quot;Caption&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;alt&quot;,label:(0,md.__)(&quot;Alt text&quot;),type:&quot;text&quot;}],_4[W2e]={fields:[&quot;image&quot;,&quot;link&quot;,&quot;caption&quot;,&quot;alt&quot;]});var $2e=()=&gt;E({name:Jq,metadata:b4,settings:_4});var vE={};Z(vE,{init:()=&gt;Y2e,metadata:()=&gt;x4,name:()=&gt;aZ,settings:()=&gt;nZ});var x4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/latest-comments&quot;,title:&quot;Latest Comments&quot;,category:&quot;widgets&quot;,description:&quot;Display a list of your most recent comments.&quot;,keywords:[&quot;recent comments&quot;],textdomain:&quot;default&quot;,attributes:{commentsToShow:{type:&quot;number&quot;,default:5,minimum:1,maximum:100},displayAvatar:{type:&quot;boolean&quot;,default:!0},displayDate:{type:&quot;boolean&quot;,default:!0},displayContent:{type:&quot;string&quot;,default:&quot;excerpt&quot;,enum:[&quot;none&quot;,&quot;excerpt&quot;,&quot;full&quot;]}},supports:{anchor:!0,align:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-latest-comments&quot;};var k4=o(T(),1),Ba=o(M(),1),Pa=o(P(),1),eZ=o(Fu(),1),tZ=o(me(),1);var Xr=o(v(),1),Z2e=1,K2e=100;function rZ({attributes:e,setAttributes:t,name:r}){let{commentsToShow:a,displayAvatar:n,displayDate:i,displayContent:l}=e,s=q(),{content:c,status:u,error:m}=(0,eZ.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{_locale:&quot;site&quot;}}),p=(0,tZ.useDisabled)(),d=(0,k4.useBlockProps)({ref:p});return(0,Xr.jsxs)(Xr.Fragment,{children:[(0,Xr.jsx)(k4.InspectorControls,{children:(0,Xr.jsxs)(Ba.__experimentalToolsPanel,{label:(0,Pa.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({commentsToShow:5,displayAvatar:!0,displayDate:!0,displayContent:&quot;excerpt&quot;})},dropdownMenuProps:s,children:[(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=&gt;!n,label:(0,Pa.__)(&quot;Display avatar&quot;),onDeselect:()=&gt;t({displayAvatar:!0}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.ToggleControl,{label:(0,Pa.__)(&quot;Display avatar&quot;),checked:n,onChange:()=&gt;t({displayAvatar:!n})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=&gt;!i,label:(0,Pa.__)(&quot;Display date&quot;),onDeselect:()=&gt;t({displayDate:!0}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.ToggleControl,{label:(0,Pa.__)(&quot;Display date&quot;),checked:i,onChange:()=&gt;t({displayDate:!i})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=&gt;l!==&quot;excerpt&quot;,label:(0,Pa.__)(&quot;Display content&quot;),onDeselect:()=&gt;t({displayContent:&quot;excerpt&quot;}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.SelectControl,{__next40pxDefaultSize:!0,label:(0,Pa.__)(&quot;Display content&quot;),value:l,options:[{label:(0,Pa.__)(&quot;No content&quot;),value:&quot;none&quot;},{label:(0,Pa.__)(&quot;Excerpt&quot;),value:&quot;excerpt&quot;},{label:(0,Pa.__)(&quot;Full content&quot;),value:&quot;full&quot;}],onChange:f=&gt;t({displayContent:f})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=&gt;a!==5,label:(0,Pa.__)(&quot;Number of comments&quot;),onDeselect:()=&gt;t({commentsToShow:5}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.RangeControl,{__next40pxDefaultSize:!0,label:(0,Pa.__)(&quot;Number of comments&quot;),value:a,onChange:f=&gt;t({commentsToShow:f}),min:Z2e,max:K2e,required:!0})})]})}),u===&quot;loading&quot;&amp;&amp;(0,Xr.jsx)(&quot;div&quot;,{...d,children:(0,Xr.jsx)(Ba.Spinner,{})}),u===&quot;error&quot;&amp;&amp;(0,Xr.jsx)(&quot;div&quot;,{...d,children:(0,Xr.jsx)(&quot;p&quot;,{children:(0,Pa.sprintf)((0,Pa.__)(&quot;Error: %s&quot;),m)})}),u===&quot;success&quot;&amp;&amp;(0,Xr.jsx)(uo,{wrapperProps:d,html:c})]})}var Q2e={attributes:{commentsToShow:{type:&quot;number&quot;,default:5,minimum:1,maximum:100},displayAvatar:{type:&quot;boolean&quot;,default:!0},displayDate:{type:&quot;boolean&quot;,default:!0},displayExcerpt:{type:&quot;boolean&quot;,default:!0}},supports:{align:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},isEligible(e){return e?.displayExcerpt===!1},migrate(e){return{...e,displayContent:e.displayExcerpt?&quot;excerpt&quot;:&quot;none&quot;}}},oZ=[Q2e];var{name:aZ}=x4,nZ={icon:N0,example:{},edit:rZ,deprecated:oZ},Y2e=()=&gt;E({name:aZ,metadata:x4,settings:nZ});var xE={};Z(xE,{init:()=&gt;ibe,metadata:()=&gt;Sh,name:()=&gt;pZ,settings:()=&gt;dZ});var Sh={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/latest-posts&quot;,title:&quot;Latest Posts&quot;,category:&quot;widgets&quot;,description:&quot;Display a list of your most recent posts.&quot;,keywords:[&quot;recent posts&quot;],textdomain:&quot;default&quot;,attributes:{categories:{type:&quot;array&quot;,items:{type:&quot;object&quot;}},selectedAuthor:{type:&quot;number&quot;},postsToShow:{type:&quot;number&quot;,default:5},displayPostContent:{type:&quot;boolean&quot;,default:!1},displayPostContentRadio:{type:&quot;string&quot;,default:&quot;excerpt&quot;},excerptLength:{type:&quot;number&quot;,default:55},displayAuthor:{type:&quot;boolean&quot;,default:!1},displayPostDate:{type:&quot;boolean&quot;,default:!1},postLayout:{type:&quot;string&quot;,default:&quot;list&quot;},columns:{type:&quot;number&quot;,default:3},order:{type:&quot;string&quot;,default:&quot;desc&quot;},orderBy:{type:&quot;string&quot;,default:&quot;date&quot;},displayFeaturedImage:{type:&quot;boolean&quot;,default:!1},featuredImageAlign:{type:&quot;string&quot;,enum:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;]},featuredImageSizeSlug:{type:&quot;string&quot;,default:&quot;thumbnail&quot;},featuredImageSizeWidth:{type:&quot;number&quot;,default:null},featuredImageSizeHeight:{type:&quot;number&quot;,default:null},addLinkToFeaturedImage:{type:&quot;boolean&quot;,default:!1}},supports:{anchor:!0,align:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-latest-posts-editor&quot;,style:&quot;wp-block-latest-posts&quot;};var{attributes:J2e}=Sh,iZ=[{attributes:{...J2e,categories:{type:&quot;string&quot;}},supports:{align:!0,html:!1},migrate:e=&gt;({...e,categories:[{id:Number(e.categories)}]}),isEligible:({categories:e})=&gt;e&amp;&amp;typeof e==&quot;string&quot;,save:()=&gt;null}];var $e=o(M(),1),Ve=o(P(),1),Th=o(Lk(),1),ec=o(T(),1),vv=o(V(),1);var yE=o(Q(),1),cZ=o(xr(),1),uZ=o(me(),1),mZ=o(U(),1);var lZ=10,sZ=100,bE=6,w4=55;var be=o(v(),1),ebe={per_page:-1,_fields:&quot;id,name&quot;,context:&quot;view&quot;},tbe={per_page:-1,has_published_posts:[&quot;post&quot;],context:&quot;view&quot;},rbe=[{value:&quot;none&quot;,icon:ES,label:(0,Ve.__)(&quot;None&quot;)},{value:&quot;left&quot;,icon:oP,label:(0,Ve.__)(&quot;Left&quot;)},{value:&quot;center&quot;,icon:tP,label:(0,Ve.__)(&quot;Center&quot;)},{value:&quot;right&quot;,icon:nP,label:(0,Ve.__)(&quot;Right&quot;)}];function obe(e,t){let r=e._embedded?.[&quot;wp:featuredmedia&quot;]?.[&quot;0&quot;];return{url:r?.media_details?.sizes?.[t]?.source_url??r?.source_url,alt:r?.alt_text}}function abe(e){return e._embedded?.author?.[0]}function nbe({attributes:e,setAttributes:t,postCount:r}){let{postsToShow:a,order:n,orderBy:i,categories:l,selectedAuthor:s,displayFeaturedImage:c,displayPostContentRadio:u,displayPostContent:m,displayPostDate:p,displayAuthor:d,postLayout:f,columns:h,excerptLength:g,featuredImageAlign:b,featuredImageSizeSlug:y,featuredImageSizeWidth:k,featuredImageSizeHeight:_,addLinkToFeaturedImage:x}=e,{imageSizes:S,defaultImageWidth:C,defaultImageHeight:N,categoriesList:B,authorList:D}=(0,vv.useSelect)(I=&gt;{let{getEntityRecords:R,getUsers:$}=I(yE.store),j=I(ec.store).getSettings();return{defaultImageWidth:j.imageDimensions?.[y]?.width??0,defaultImageHeight:j.imageDimensions?.[y]?.height??0,imageSizes:j.imageSizes,categoriesList:R(&quot;taxonomy&quot;,&quot;category&quot;,ebe),authorList:$(tbe)}},[y]),A=q(),H=S.filter(({slug:I})=&gt;I!==&quot;full&quot;).map(({name:I,slug:R})=&gt;({value:R,label:I})),F=B?.reduce((I,R)=&gt;({...I,[R.name]:R}),{})??{},z=I=&gt;{if(I.some(j=&gt;typeof j==&quot;string&quot;&amp;&amp;!F[j]))return;let $=I.map(j=&gt;typeof j==&quot;string&quot;?F[j]:j);if($.includes(null))return!1;t({categories:$})};return(0,be.jsxs)(be.Fragment,{children:[(0,be.jsxs)($e.__experimentalToolsPanel,{label:(0,Ve.__)(&quot;Post content&quot;),resetAll:()=&gt;t({displayPostContent:!1,displayPostContentRadio:&quot;excerpt&quot;,excerptLength:w4}),dropdownMenuProps:A,children:[(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!m,label:(0,Ve.__)(&quot;Display post content&quot;),onDeselect:()=&gt;t({displayPostContent:!1}),isShownByDefault:!0,children:(0,be.jsx)($e.ToggleControl,{label:(0,Ve.__)(&quot;Display post content&quot;),checked:m,onChange:I=&gt;t({displayPostContent:I})})}),m&amp;&amp;(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;u!==&quot;excerpt&quot;,label:(0,Ve.__)(&quot;Content length&quot;),onDeselect:()=&gt;t({displayPostContentRadio:&quot;excerpt&quot;}),isShownByDefault:!0,children:(0,be.jsx)($e.RadioControl,{label:(0,Ve.__)(&quot;Content length&quot;),selected:u,options:[{label:(0,Ve.__)(&quot;Excerpt&quot;),value:&quot;excerpt&quot;},{label:(0,Ve.__)(&quot;Full post&quot;),value:&quot;full_post&quot;}],onChange:I=&gt;t({displayPostContentRadio:I})})}),m&amp;&amp;u===&quot;excerpt&quot;&amp;&amp;(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;g!==w4,label:(0,Ve.__)(&quot;Max number of words&quot;),onDeselect:()=&gt;t({excerptLength:w4}),isShownByDefault:!0,children:(0,be.jsx)($e.RangeControl,{__next40pxDefaultSize:!0,label:(0,Ve.__)(&quot;Max number of words&quot;),value:g,onChange:I=&gt;t({excerptLength:I}),min:lZ,max:sZ})})]}),(0,be.jsxs)($e.__experimentalToolsPanel,{label:(0,Ve.__)(&quot;Post meta&quot;),resetAll:()=&gt;t({displayAuthor:!1,displayPostDate:!1}),dropdownMenuProps:A,children:[(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!d,label:(0,Ve.__)(&quot;Display author name&quot;),onDeselect:()=&gt;t({displayAuthor:!1}),isShownByDefault:!0,children:(0,be.jsx)($e.ToggleControl,{label:(0,Ve.__)(&quot;Display author name&quot;),checked:d,onChange:I=&gt;t({displayAuthor:I})})}),(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!p,label:(0,Ve.__)(&quot;Display post date&quot;),onDeselect:()=&gt;t({displayPostDate:!1}),isShownByDefault:!0,children:(0,be.jsx)($e.ToggleControl,{label:(0,Ve.__)(&quot;Display post date&quot;),checked:p,onChange:I=&gt;t({displayPostDate:I})})})]}),(0,be.jsxs)($e.__experimentalToolsPanel,{label:(0,Ve.__)(&quot;Featured image&quot;),resetAll:()=&gt;t({displayFeaturedImage:!1,featuredImageAlign:void 0,featuredImageSizeSlug:&quot;thumbnail&quot;,featuredImageSizeWidth:null,featuredImageSizeHeight:null,addLinkToFeaturedImage:!1}),dropdownMenuProps:A,children:[(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!c,label:(0,Ve.__)(&quot;Display featured image&quot;),onDeselect:()=&gt;t({displayFeaturedImage:!1}),isShownByDefault:!0,children:(0,be.jsx)($e.ToggleControl,{label:(0,Ve.__)(&quot;Display featured image&quot;),checked:c,onChange:I=&gt;t({displayFeaturedImage:I})})}),c&amp;&amp;(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;y!==&quot;thumbnail&quot;||k!==null||_!==null,label:(0,Ve.__)(&quot;Image size&quot;),onDeselect:()=&gt;t({featuredImageSizeSlug:&quot;thumbnail&quot;,featuredImageSizeWidth:null,featuredImageSizeHeight:null}),isShownByDefault:!0,children:(0,be.jsx)(ec.__experimentalImageSizeControl,{onChange:I=&gt;{let R={};I.hasOwnProperty(&quot;width&quot;)&amp;&amp;(R.featuredImageSizeWidth=I.width),I.hasOwnProperty(&quot;height&quot;)&amp;&amp;(R.featuredImageSizeHeight=I.height),t(R)},slug:y,width:k,height:_,imageWidth:C,imageHeight:N,imageSizeOptions:H,imageSizeHelp:(0,Ve.__)(&quot;Select the size of the source image.&quot;),onChangeImage:I=&gt;t({featuredImageSizeSlug:I,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})})}),(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!b,label:(0,Ve.__)(&quot;Image alignment&quot;),onDeselect:()=&gt;t({featuredImageAlign:void 0}),isShownByDefault:!0,children:(0,be.jsx)($e.__experimentalToggleGroupControl,{className:&quot;editor-latest-posts-image-alignment-control&quot;,__next40pxDefaultSize:!0,label:(0,Ve.__)(&quot;Image alignment&quot;),value:b||&quot;none&quot;,onChange:I=&gt;t({featuredImageAlign:I!==&quot;none&quot;?I:void 0}),children:rbe.map(({value:I,icon:R,label:$})=&gt;(0,be.jsx)($e.__experimentalToggleGroupControlOptionIcon,{value:I,icon:R,label:$},I))})}),(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;!!x,label:(0,Ve.__)(&quot;Add link to featured image&quot;),onDeselect:()=&gt;t({addLinkToFeaturedImage:!1}),isShownByDefault:!0,children:(0,be.jsx)($e.ToggleControl,{label:(0,Ve.__)(&quot;Add link to featured image&quot;),checked:x,onChange:I=&gt;t({addLinkToFeaturedImage:I})})})]})]}),(0,be.jsxs)($e.__experimentalToolsPanel,{label:(0,Ve.__)(&quot;Sorting and filtering&quot;),resetAll:()=&gt;t({order:&quot;desc&quot;,orderBy:&quot;date&quot;,postsToShow:5,categories:void 0,selectedAuthor:void 0,columns:3}),dropdownMenuProps:A,children:[(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;n!==&quot;desc&quot;||i!==&quot;date&quot;||a!==5||l?.length&gt;0||!!s,label:(0,Ve.__)(&quot;Sort and filter&quot;),onDeselect:()=&gt;t({order:&quot;desc&quot;,orderBy:&quot;date&quot;,postsToShow:5,categories:void 0,selectedAuthor:void 0}),isShownByDefault:!0,children:(0,be.jsx)($e.QueryControls,{order:n,orderBy:i,numberOfItems:a,onOrderChange:I=&gt;t({order:I}),onOrderByChange:I=&gt;t({orderBy:I}),onNumberOfItemsChange:I=&gt;t({postsToShow:I}),categorySuggestions:F,onCategoryChange:z,selectedCategories:l,onAuthorChange:I=&gt;t({selectedAuthor:I!==&quot;&quot;?Number(I):void 0}),authorList:D??[],selectedAuthorId:s})}),f===&quot;grid&quot;&amp;&amp;(0,be.jsx)($e.__experimentalToolsPanelItem,{hasValue:()=&gt;h!==3,label:(0,Ve.__)(&quot;Columns&quot;),onDeselect:()=&gt;t({columns:3}),isShownByDefault:!0,children:(0,be.jsx)($e.RangeControl,{__next40pxDefaultSize:!0,label:(0,Ve.__)(&quot;Columns&quot;),value:h,onChange:I=&gt;t({columns:I}),min:2,max:r?Math.min(bE,r):bE,required:!0})})]})]})}function _E({attributes:e,setAttributes:t}){let r=(0,uZ.useInstanceId)(_E),{postsToShow:a,order:n,orderBy:i,categories:l,selectedAuthor:s,displayFeaturedImage:c,displayPostContentRadio:u,displayPostContent:m,displayPostDate:p,displayAuthor:d,postLayout:f,columns:h,excerptLength:g,featuredImageAlign:b,featuredImageSizeSlug:y,featuredImageSizeWidth:k,featuredImageSizeHeight:_,addLinkToFeaturedImage:x}=e,{latestPosts:S}=(0,vv.useSelect)(I=&gt;{let{getEntityRecords:R}=I(yE.store),$=l&amp;&amp;l.length&gt;0?l.map(G=&gt;G.id):[],j=Object.fromEntries(Object.entries({categories:$,author:s,order:n,orderby:i,per_page:a,_embed:&quot;author,wp:featuredmedia&quot;,ignore_sticky:!0}).filter(([,G])=&gt;typeof G&lt;&quot;u&quot;));return{latestPosts:R(&quot;postType&quot;,&quot;post&quot;,j)}},[a,n,i,l,s]),{createWarningNotice:C}=(0,vv.useDispatch)(cZ.store),N=I=&gt;{I.preventDefault(),C((0,Ve.__)(&quot;Links are disabled in the editor.&quot;),{id:`block-library/core/latest-posts/redirection-prevented/${r}`,type:&quot;snackbar&quot;})},B=!!S?.length,D=(0,be.jsx)(ec.InspectorControls,{children:(0,be.jsx)(nbe,{attributes:e,setAttributes:t,postCount:S?.length??0})}),A=(0,ec.useBlockProps)({className:w({&quot;wp-block-latest-posts__list&quot;:!0,&quot;is-grid&quot;:f===&quot;grid&quot;,&quot;has-dates&quot;:p,&quot;has-author&quot;:d,[`columns-${h}`]:f===&quot;grid&quot;})});if(!B)return(0,be.jsxs)(&quot;div&quot;,{...A,children:[D,(0,be.jsx)($e.Placeholder,{icon:Q0,label:(0,Ve.__)(&quot;Latest Posts&quot;),children:Array.isArray(S)?(0,Ve.__)(&quot;No posts found.&quot;):(0,be.jsx)($e.Spinner,{})})]});let H=S.length&gt;a?S.slice(0,a):S,F=[{icon:Nl,title:(0,Ve._x)(&quot;List view&quot;,&quot;Latest posts block display setting&quot;),onClick:()=&gt;t({postLayout:&quot;list&quot;}),isActive:f===&quot;list&quot;},{icon:Il,title:(0,Ve._x)(&quot;Grid view&quot;,&quot;Latest posts block display setting&quot;),onClick:()=&gt;t({postLayout:&quot;grid&quot;}),isActive:f===&quot;grid&quot;}],z=(0,Th.getSettings)().formats.date;return(0,be.jsxs)(be.Fragment,{children:[D,(0,be.jsx)(ec.BlockControls,{children:(0,be.jsx)($e.ToolbarGroup,{controls:F})}),(0,be.jsx)(&quot;ul&quot;,{...A,children:H.map(I=&gt;{let R=I.title.rendered.trim(),$=I.excerpt.rendered,j=abe(I),G=document.createElement(&quot;div&quot;);G.innerHTML=$,$=G.textContent||G.innerText||&quot;&quot;;let{url:O,alt:J}=obe(I,y),ee=w({&quot;wp-block-latest-posts__featured-image&quot;:!0,[`align${b}`]:!!b}),oe=c&amp;&amp;O,X=oe&amp;&amp;(0,be.jsx)(&quot;img&quot;,{src:O,alt:J,style:{maxWidth:k,maxHeight:_}}),ne=g&lt;$.trim().split(&quot; &quot;).length&amp;&amp;I.excerpt.raw===&quot;&quot;?(0,be.jsxs)(be.Fragment,{children:[$.trim().split(&quot; &quot;,g).join(&quot; &quot;),(0,mZ.createInterpolateElement)((0,Ve.sprintf)((0,Ve.__)(&quot;\u2026 &lt;a&gt;Read more&lt;span&gt;: %1$s&lt;/span&gt;&lt;/a&gt;&quot;),R||(0,Ve.__)(&quot;(no title)&quot;)),{a:(0,be.jsx)(&quot;a&quot;,{className:&quot;wp-block-latest-posts__read-more&quot;,href:I.link,rel:&quot;noopener noreferrer&quot;,onClick:N}),span:(0,be.jsx)(&quot;span&quot;,{className:&quot;screen-reader-text&quot;})})]}):$;return(0,be.jsxs)(&quot;li&quot;,{children:[oe&amp;&amp;(0,be.jsx)(&quot;div&quot;,{className:ee,children:x?(0,be.jsx)(&quot;a&quot;,{href:I.link,onClick:N,children:X}):X}),(0,be.jsx)(&quot;a&quot;,{className:&quot;wp-block-latest-posts__post-title&quot;,href:I.link,dangerouslySetInnerHTML:R?{__html:R}:void 0,onClick:N,children:R?null:(0,Ve.__)(&quot;(no title)&quot;)}),d&amp;&amp;j&amp;&amp;(0,be.jsx)(&quot;div&quot;,{className:&quot;wp-block-latest-posts__post-author&quot;,children:(0,Ve.sprintf)((0,Ve.__)(&quot;by %s&quot;),j.name)}),p&amp;&amp;I.date_gmt&amp;&amp;(0,be.jsx)(&quot;time&quot;,{dateTime:(0,Th.format)(&quot;c&quot;,I.date_gmt),className:&quot;wp-block-latest-posts__post-date&quot;,children:(0,Th.dateI18n)(z,I.date_gmt)}),m&amp;&amp;u===&quot;excerpt&quot;&amp;&amp;(0,be.jsx)(&quot;div&quot;,{className:&quot;wp-block-latest-posts__post-excerpt&quot;,children:ne}),m&amp;&amp;u===&quot;full_post&quot;&amp;&amp;(0,be.jsx)(&quot;div&quot;,{className:&quot;wp-block-latest-posts__post-full-content&quot;,dangerouslySetInnerHTML:{__html:I.content.raw.trim()}})]},I.id)})})]})}var{name:pZ}=Sh,dZ={icon:t1,example:{},edit:_E,deprecated:iZ},ibe=()=&gt;E({name:pZ,metadata:Sh,settings:dZ});var SE={};Z(SE,{init:()=&gt;_be,metadata:()=&gt;P4,name:()=&gt;NZ,settings:()=&gt;EZ});var Ih=o(P(),1);var rs=o(T(),1);var Ph=o(W(),1),C4={A:&quot;upper-alpha&quot;,a:&quot;lower-alpha&quot;,I:&quot;upper-roman&quot;,i:&quot;lower-roman&quot;};function kE(e){let t=e.getAttribute(&quot;type&quot;),r={ordered:e.tagName===&quot;OL&quot;,anchor:e.id?e.id:void 0,start:e.getAttribute(&quot;start&quot;)?parseInt(e.getAttribute(&quot;start&quot;),10):void 0,reversed:e.hasAttribute(&quot;reversed&quot;)?!0:void 0,type:t&amp;&amp;C4[t]?C4[t]:void 0},a=Array.from(e.children).map(n=&gt;{let i=Array.from(n.childNodes).filter(d=&gt;d.nodeType!==d.TEXT_NODE||d.textContent.trim().length!==0);i.reverse();let[l,...s]=i;if(!(l?.tagName===&quot;UL&quot;||l?.tagName===&quot;OL&quot;))return(0,Ph.createBlock)(&quot;core/list-item&quot;,{content:n.innerHTML});let u=s.map(d=&gt;d.nodeType===d.TEXT_NODE?d.textContent:d.outerHTML);u.reverse();let m={content:u.join(&quot;&quot;).trim()},p=[kE(l)];return(0,Ph.createBlock)(&quot;core/list-item&quot;,m,p)});return(0,Ph.createBlock)(&quot;core/list&quot;,r,a)}function S4(e){let{values:t,start:r,reversed:a,ordered:n,type:i,...l}=e,s=document.createElement(n?&quot;ol&quot;:&quot;ul&quot;);s.innerHTML=t,r&amp;&amp;s.setAttribute(&quot;start&quot;,r),a&amp;&amp;s.setAttribute(&quot;reversed&quot;,!0),i&amp;&amp;s.setAttribute(&quot;type&quot;,i);let[c]=(0,Ph.rawHandler)({HTML:s.outerHTML});return[{...l,...c.attributes},c.innerBlocks]}function fZ(e){let{type:t}=e;return t&amp;&amp;C4[t]?{...e,type:C4[t]}:e}var nu=o(v(),1),lbe={attributes:{ordered:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},values:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;ol,ul&quot;,multiline:&quot;li&quot;,__unstableMultilineWrapperTags:[&quot;ol&quot;,&quot;ul&quot;],default:&quot;&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},start:{type:&quot;number&quot;},reversed:{type:&quot;boolean&quot;},placeholder:{type:&quot;string&quot;}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:&quot;ol,ul&quot;,__experimentalSlashInserter:!0},save({attributes:e}){let{ordered:t,values:r,type:a,reversed:n,start:i}=e;return(0,nu.jsx)(t?&quot;ol&quot;:&quot;ul&quot;,{...rs.useBlockProps.save({type:a,reversed:n,start:i}),children:(0,nu.jsx)(rs.RichText.Content,{value:r,multiline:&quot;li&quot;})})},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},sbe={attributes:{ordered:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},values:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;ol,ul&quot;,multiline:&quot;li&quot;,__unstableMultilineWrapperTags:[&quot;ol&quot;,&quot;ul&quot;],default:&quot;&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},start:{type:&quot;number&quot;},reversed:{type:&quot;boolean&quot;},placeholder:{type:&quot;string&quot;}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__unstablePasteTextInline:!0,__experimentalSelector:&quot;ol,ul&quot;,__experimentalSlashInserter:!0},save({attributes:e}){let{ordered:t,values:r,type:a,reversed:n,start:i}=e;return(0,nu.jsx)(t?&quot;ol&quot;:&quot;ul&quot;,{...rs.useBlockProps.save({type:a,reversed:n,start:i}),children:(0,nu.jsx)(rs.RichText.Content,{value:r,multiline:&quot;li&quot;})})},migrate:S4},cbe={attributes:{ordered:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},values:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;ol,ul&quot;,multiline:&quot;li&quot;,__unstableMultilineWrapperTags:[&quot;ol&quot;,&quot;ul&quot;],default:&quot;&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},start:{type:&quot;number&quot;},reversed:{type:&quot;boolean&quot;},placeholder:{type:&quot;string&quot;}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__unstablePasteTextInline:!0,__experimentalSelector:&quot;ol,ul&quot;,__experimentalSlashInserter:!0},isEligible({type:e}){return!!e},save({attributes:e}){let{ordered:t,type:r,reversed:a,start:n}=e;return(0,nu.jsx)(t?&quot;ol&quot;:&quot;ul&quot;,{...rs.useBlockProps.save({type:r,reversed:a,start:n}),children:(0,nu.jsx)(rs.InnerBlocks.Content,{})})},migrate:fZ},ube={attributes:{ordered:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},values:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;ol,ul&quot;,multiline:&quot;li&quot;,__unstableMultilineWrapperTags:[&quot;ol&quot;,&quot;ul&quot;],default:&quot;&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},start:{type:&quot;number&quot;},reversed:{type:&quot;boolean&quot;},placeholder:{type:&quot;string&quot;}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__unstablePasteTextInline:!0,__experimentalSelector:&quot;ol,ul&quot;,__experimentalOnMerge:&quot;true&quot;,__experimentalSlashInserter:!0},save({attributes:e}){let{ordered:t,type:r,reversed:a,start:n}=e;return(0,nu.jsx)(t?&quot;ol&quot;:&quot;ul&quot;,{...rs.useBlockProps.save({reversed:a,start:n,style:{listStyleType:t&amp;&amp;r!==&quot;decimal&quot;?r:void 0}}),children:(0,nu.jsx)(rs.InnerBlocks.Content,{})})}},hZ=[ube,cbe,sbe,lbe];var as=o(T(),1),T4=o(M(),1),ym=o(V(),1),os=o(P(),1);var CZ=o(W(),1),pd=o(U(),1),SZ=o(Ff(),1);var oa=o(P(),1),vZ=o(T(),1),aa=o(M(),1),bZ=o(U(),1);var Fn=o(v(),1),gZ=[{label:(0,oa.__)(&quot;Numbers&quot;),value:&quot;decimal&quot;},{label:(0,oa.__)(&quot;Uppercase letters&quot;),value:&quot;upper-alpha&quot;},{label:(0,oa.__)(&quot;Lowercase letters&quot;),value:&quot;lower-alpha&quot;},{label:(0,oa.__)(&quot;Uppercase Roman numerals&quot;),value:&quot;upper-roman&quot;},{label:(0,oa.__)(&quot;Lowercase Roman numerals&quot;),value:&quot;lower-roman&quot;}],mbe=({setAttributes:e,reversed:t,start:r,type:a})=&gt;{let n=q();return(0,Fn.jsx)(vZ.InspectorControls,{children:bZ.Platform.isNative?(0,Fn.jsxs)(aa.PanelBody,{title:(0,oa.__)(&quot;Settings&quot;),children:[(0,Fn.jsx)(aa.SelectControl,{__next40pxDefaultSize:!0,label:(0,oa.__)(&quot;List style&quot;),options:gZ,value:a,onChange:i=&gt;e({type:i})}),(0,Fn.jsx)(aa.TextControl,{__next40pxDefaultSize:!0,label:(0,oa.__)(&quot;Start value&quot;),type:&quot;number&quot;,onChange:i=&gt;{let l=parseInt(i,10);e({start:isNaN(l)?void 0:l})},value:Number.isInteger(r)?r.toString(10):&quot;&quot;,step:&quot;1&quot;}),(0,Fn.jsx)(aa.ToggleControl,{label:(0,oa.__)(&quot;Reverse order&quot;),checked:t||!1,onChange:i=&gt;{e({reversed:i||void 0})}})]}):(0,Fn.jsxs)(aa.__experimentalToolsPanel,{label:(0,oa.__)(&quot;Settings&quot;),resetAll:()=&gt;{e({type:void 0,start:void 0,reversed:void 0})},dropdownMenuProps:n,children:[(0,Fn.jsx)(aa.__experimentalToolsPanelItem,{label:(0,oa.__)(&quot;List style&quot;),isShownByDefault:!0,hasValue:()=&gt;!!a,onDeselect:()=&gt;e({type:void 0}),children:(0,Fn.jsx)(aa.SelectControl,{__next40pxDefaultSize:!0,label:(0,oa.__)(&quot;List style&quot;),options:gZ,value:a||&quot;decimal&quot;,onChange:i=&gt;e({type:i})})}),(0,Fn.jsx)(aa.__experimentalToolsPanelItem,{label:(0,oa.__)(&quot;Start value&quot;),isShownByDefault:!0,hasValue:()=&gt;!!r,onDeselect:()=&gt;e({start:void 0}),children:(0,Fn.jsx)(aa.TextControl,{__next40pxDefaultSize:!0,label:(0,oa.__)(&quot;Start value&quot;),type:&quot;number&quot;,onChange:i=&gt;{let l=parseInt(i,10);e({start:isNaN(l)?void 0:l})},value:Number.isInteger(r)?r.toString(10):&quot;&quot;,step:&quot;1&quot;})}),(0,Fn.jsx)(aa.__experimentalToolsPanelItem,{label:(0,oa.__)(&quot;Reverse order&quot;),isShownByDefault:!0,hasValue:()=&gt;!!t,onDeselect:()=&gt;e({reversed:void 0}),children:(0,Fn.jsx)(aa.ToggleControl,{label:(0,oa.__)(&quot;Reverse order&quot;),checked:t||!1,onChange:i=&gt;{e({reversed:i||void 0})}})})]})})},yZ=mbe;var _Z=o(U(),1),xZ=o(v(),1);function pbe(e,t){let{ordered:r,...a}=e;return(0,xZ.jsx)(r?&quot;ol&quot;:&quot;ul&quot;,{ref:t,...a})}var kZ=(0,_Z.forwardRef)(pbe);var Hn=o(v(),1),dbe={name:&quot;core/list-item&quot;},fbe=[[&quot;core/list-item&quot;]],wZ=8;function hbe(e,t){let r=(0,ym.useRegistry)(),{updateBlockAttributes:a,replaceInnerBlocks:n}=(0,ym.useDispatch)(as.store);(0,pd.useEffect)(()=&gt;{if(!e.values)return;let[i,l]=S4(e);(0,SZ.default)(&quot;Value attribute on the list block&quot;,{since:&quot;6.0&quot;,version:&quot;6.5&quot;,alternative:&quot;inner blocks&quot;}),r.batch(()=&gt;{a(t,i),n(t,l)})},[e.values])}function gbe(e){let{replaceBlocks:t,selectionChange:r}=(0,ym.useDispatch)(as.store),{getBlockRootClientId:a,getBlockAttributes:n,getBlock:i}=(0,ym.useSelect)(as.store);return(0,pd.useCallback)(()=&gt;{let l=a(e),s=n(l),c=(0,CZ.createBlock)(&quot;core/list-item&quot;,s),{innerBlocks:u}=i(e);t([l],[c,...u]),r(u[u.length-1].clientId)},[e])}function vbe({clientId:e}){let t=gbe(e),r=(0,ym.useSelect)(a=&gt;{let{getBlockRootClientId:n,getBlockName:i}=a(as.store);return i(n(e))===&quot;core/list-item&quot;},[e]);return(0,Hn.jsx)(Hn.Fragment,{children:(0,Hn.jsx)(T4.ToolbarButton,{icon:(0,os.isRTL)()?H0:O0,title:(0,os.__)(&quot;Outdent&quot;),description:(0,os.__)(&quot;Outdent list item&quot;),disabled:!r,onClick:t})})}function TZ({attributes:e,setAttributes:t,clientId:r,style:a}){let{ordered:n,type:i,reversed:l,start:s}=e,c=(0,as.useBlockProps)({style:{...pd.Platform.isNative&amp;&amp;a,listStyleType:n&amp;&amp;i!==&quot;decimal&quot;?i:void 0}}),u=(0,as.useInnerBlocksProps)(c,{defaultBlock:dbe,directInsert:!0,template:fbe,templateLock:!1,templateInsertUpdatesSelection:!0,...pd.Platform.isNative&amp;&amp;{marginVertical:wZ,marginHorizontal:wZ,renderAppender:!1},__experimentalCaptureToolbars:!0});hbe(e,r);let m=(0,Hn.jsxs)(as.BlockControls,{group:&quot;block&quot;,children:[(0,Hn.jsx)(T4.ToolbarButton,{icon:(0,os.isRTL)()?z0:V0,title:(0,os.__)(&quot;Unordered&quot;),description:(0,os.__)(&quot;Convert to unordered list&quot;),isActive:n===!1,onClick:()=&gt;{t({ordered:!1})}}),(0,Hn.jsx)(T4.ToolbarButton,{icon:(0,os.isRTL)()?F0:Ki,title:(0,os.__)(&quot;Ordered&quot;),description:(0,os.__)(&quot;Convert to ordered list&quot;),isActive:n===!0,onClick:()=&gt;{t({ordered:!0})}}),(0,Hn.jsx)(vbe,{clientId:r})]});return(0,Hn.jsxs)(Hn.Fragment,{children:[(0,Hn.jsx)(kZ,{ordered:n,reversed:l,start:s,...u}),m,n&amp;&amp;(0,Hn.jsx)(yZ,{setAttributes:t,reversed:l,start:s,type:i})]})}var P4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/list&quot;,title:&quot;List&quot;,category:&quot;text&quot;,allowedBlocks:[&quot;core/list-item&quot;],description:&quot;An organized collection of items displayed in a specific order.&quot;,keywords:[&quot;bullet list&quot;,&quot;ordered list&quot;,&quot;numbered list&quot;],textdomain:&quot;default&quot;,attributes:{ordered:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},values:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;ol,ul&quot;,multiline:&quot;li&quot;,default:&quot;&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},start:{type:&quot;number&quot;},reversed:{type:&quot;boolean&quot;},placeholder:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__unstablePasteTextInline:!0,__experimentalOnMerge:!0,__experimentalSlashInserter:!0,interactivity:{clientNavigation:!0},listView:!0},selectors:{border:&quot;.wp-block-list:not(.wp-block-list .wp-block-list)&quot;},editorStyle:&quot;wp-block-list-editor&quot;,style:&quot;wp-block-list&quot;};var B4=o(T(),1),wE=o(v(),1);function PZ({attributes:e}){let{ordered:t,type:r,reversed:a,start:n}=e;return(0,wE.jsx)(t?&quot;ol&quot;:&quot;ul&quot;,{...B4.useBlockProps.save({reversed:a,start:n,style:{listStyleType:t&amp;&amp;r!==&quot;decimal&quot;?r:void 0}}),children:(0,wE.jsx)(B4.InnerBlocks.Content,{})})}var iu=o(W(),1),Bh=o(em(),1);function BZ({phrasingContentSchema:e}){let t={...e,ul:{},ol:{attributes:[&quot;type&quot;,&quot;start&quot;,&quot;reversed&quot;]}};return[&quot;ul&quot;,&quot;ol&quot;].forEach(r=&gt;{t[r].children={li:{children:t}}}),t}function CE(e){return e.flatMap(({name:t,attributes:r,innerBlocks:a=[]})=&gt;t===&quot;core/list-item&quot;?[r.content,...CE(a)]:CE(a))}var ybe={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/paragraph&quot;,&quot;core/heading&quot;],transform:e=&gt;{let t=[];if(e.length&gt;1)t=e.map(({content:r})=&gt;(0,iu.createBlock)(&quot;core/list-item&quot;,{content:r}));else if(e.length===1){let r=(0,Bh.create)({html:e[0].content});t=(0,Bh.split)(r,`
`).map(a=&gt;(0,iu.createBlock)(&quot;core/list-item&quot;,{content:(0,Bh.toHTMLString)({value:a})}))}return(0,iu.createBlock)(&quot;core/list&quot;,{anchor:e.anchor},t)}},{type:&quot;raw&quot;,selector:&quot;ol,ul&quot;,schema:e=&gt;({ol:BZ(e).ol,ul:BZ(e).ul}),transform:kE},...[&quot;*&quot;,&quot;-&quot;].map(e=&gt;({type:&quot;prefix&quot;,prefix:e,transform(t){return(0,iu.createBlock)(&quot;core/list&quot;,{},[(0,iu.createBlock)(&quot;core/list-item&quot;,{content:t})])}})),...[&quot;1.&quot;,&quot;1)&quot;].map(e=&gt;({type:&quot;prefix&quot;,prefix:e,transform(t){return(0,iu.createBlock)(&quot;core/list&quot;,{ordered:!0},[(0,iu.createBlock)(&quot;core/list-item&quot;,{content:t})])}}))],to:[...[&quot;core/paragraph&quot;,&quot;core/heading&quot;].map(e=&gt;({type:&quot;block&quot;,blocks:[e],transform:(t,r)=&gt;CE(r).map(a=&gt;(0,iu.createBlock)(e,{content:a}))}))]},IZ=ybe;var{name:NZ}=P4,EZ={icon:Nl,example:{innerBlocks:[{name:&quot;core/list-item&quot;,attributes:{content:(0,Ih.__)(&quot;Alice.&quot;)}},{name:&quot;core/list-item&quot;,attributes:{content:(0,Ih.__)(&quot;The White Rabbit.&quot;)}},{name:&quot;core/list-item&quot;,attributes:{content:(0,Ih.__)(&quot;The Cheshire Cat.&quot;)}},{name:&quot;core/list-item&quot;,attributes:{content:(0,Ih.__)(&quot;The Mad Hatter.&quot;)}},{name:&quot;core/list-item&quot;,attributes:{content:(0,Ih.__)(&quot;The Queen of Hearts.&quot;)}}]},transforms:IZ,edit:TZ,save:PZ,deprecated:hZ},_be=()=&gt;E({name:NZ,metadata:P4,settings:EZ});var PE={};Z(PE,{init:()=&gt;Cbe,metadata:()=&gt;N4,name:()=&gt;OZ,settings:()=&gt;jZ});var _m=o(P(),1),I4=o(T(),1),km=o(M(),1),xm=o(U(),1),LZ=o(V(),1),MZ=o(bv(),1);var Ci=o(v(),1),{Badge:xbe}=K(km.privateApis);function AZ({attributes:e,setAttributes:t,isSelected:r}){let{latex:a,mathML:n}=e,[i,l]=(0,xm.useState)(),[s,c]=(0,xm.useState)(null),[u,m]=(0,xm.useState)(),p=(0,xm.useRef)(a),{__unstableMarkNextChangeAsNotPersistent:d}=(0,LZ.useDispatch)(I4.store);(0,xm.useEffect)(()=&gt;{import(&quot;@wordpress/latex-to-mathml&quot;).then(h=&gt;{m(()=&gt;h.default),p.current&amp;&amp;(d(),t({mathML:h.default(p.current,{displayMode:!0})}))})},[p,t,d]);let f=(0,I4.useBlockProps)({ref:l,position:&quot;relative&quot;});return(0,Ci.jsxs)(&quot;div&quot;,{...f,children:[n?(0,Ci.jsx)(&quot;math&quot;,{display:&quot;block&quot;,dangerouslySetInnerHTML:{__html:n}}):&quot;\u200B&quot;,r&amp;&amp;(0,Ci.jsx)(km.Popover,{placement:&quot;bottom-start&quot;,offset:8,anchor:i,focusOnMount:!1,__unstableSlotName:&quot;__unstable-block-tools-after&quot;,children:(0,Ci.jsx)(&quot;div&quot;,{style:{padding:&quot;4px&quot;,minWidth:&quot;300px&quot;},children:(0,Ci.jsxs)(km.__experimentalVStack,{spacing:1,children:[(0,Ci.jsx)(km.TextareaControl,{__next40pxDefaultSize:!0,label:(0,_m.__)(&quot;LaTeX math syntax&quot;),hideLabelFromVision:!0,value:a,className:&quot;wp-block-math__textarea-control&quot;,onChange:h=&gt;{if(!u){t({latex:h});return}let g=&quot;&quot;;try{g=u(h,{displayMode:!0}),c(null)}catch(b){c(b.message),(0,MZ.speak)((0,_m.sprintf)((0,_m.__)(&quot;Error parsing mathematical expression: %s&quot;),b.message))}t({mathML:g,latex:h})},placeholder:(0,_m.__)(&quot;e.g., x^2, \\frac{a}{b}&quot;)}),s&amp;&amp;(0,Ci.jsxs)(Ci.Fragment,{children:[(0,Ci.jsx)(xbe,{intent:&quot;error&quot;,className:&quot;wp-block-math__error&quot;,children:(0,_m.sprintf)((0,_m.__)(&quot;Error: %s&quot;),s)}),(0,Ci.jsx)(&quot;style&quot;,{children:&quot;.wp-block-math__error .components-badge__content{white-space:normal}&quot;})]})]})})})]})}var N4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/math&quot;,title:&quot;Math&quot;,category:&quot;text&quot;,description:&quot;Display mathematical notation using LaTeX.&quot;,keywords:[&quot;equation&quot;,&quot;formula&quot;,&quot;latex&quot;,&quot;mathematics&quot;],textdomain:&quot;default&quot;,supports:{anchor:!0,html:!1,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,__experimentalDefaultControls:{fontSize:!0}}},attributes:{latex:{type:&quot;string&quot;,role:&quot;content&quot;},mathML:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;math&quot;}}};var RZ=o(T(),1),TE=o(v(),1);function zZ({attributes:e}){let{latex:t,mathML:r}=e;return t?(0,TE.jsx)(&quot;div&quot;,{...RZ.useBlockProps.save(),children:(0,TE.jsx)(&quot;math&quot;,{display:&quot;block&quot;,dangerouslySetInnerHTML:{__html:r}})}):null}var VZ=o(T(),1),FZ=o(v(),1),wbe={attributes:{latex:{type:&quot;string&quot;,role:&quot;content&quot;},mathML:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;math&quot;}},save({attributes:e}){let{latex:t,mathML:r}=e;return t?(0,FZ.jsx)(&quot;math&quot;,{...VZ.useBlockProps.save(),display:&quot;block&quot;,dangerouslySetInnerHTML:{__html:r}}):null}},HZ=[wbe];var{name:OZ}=N4,jZ={icon:IT,example:{attributes:{latex:&quot;x = \\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}&quot;,mathML:&#039;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mo lspace=&quot;0em&quot; rspace=&quot;0em&quot;&gt;\u2212&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;\xB1&lt;/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;\u2212&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;annotation encoding=&quot;application/x-tex&quot;&gt;x = \\frac{-b \\pm \\sqrt{b^2-4ac}}{2a}&lt;/annotation&gt;&lt;/semantics&gt;&#039;},viewportWidth:300},edit:AZ,save:zZ,deprecated:HZ},Cbe=()=&gt;E({name:OZ,metadata:N4,settings:jZ});var RE={};Z(RE,{init:()=&gt;Nbe,metadata:()=&gt;E4,name:()=&gt;sK,settings:()=&gt;A4});var nK=o(P(),1);var iK=o(T(),1),lK=o(W(),1);var E4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/list-item&quot;,title:&quot;List Item&quot;,category:&quot;text&quot;,parent:[&quot;core/list&quot;],allowedBlocks:[&quot;core/list&quot;],description:&quot;An individual item within a list.&quot;,textdomain:&quot;default&quot;,attributes:{placeholder:{type:&quot;string&quot;},content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;li&quot;,role:&quot;content&quot;}},supports:{anchor:!0,className:!1,splitting:!0,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,background:!0,__experimentalDefaultControls:{text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},selectors:{root:&quot;.wp-block-list &gt; li&quot;,border:&quot;.wp-block-list:not(.wp-block-list .wp-block-list) &gt; li&quot;}};var rc=o(T(),1),tc=o(P(),1),AE=o(M(),1);var JZ=o(me(),1),eK=o(V(),1),tK=o(As(),1);var UZ=o(U(),1),Nh=o(V(),1),BE=o(T(),1),GZ=o(W(),1);function lu(){let e=(0,Nh.useRegistry)(),{moveBlocksToPosition:t,removeBlock:r,insertBlock:a,updateBlockListSettings:n}=(0,Nh.useDispatch)(BE.store),{getBlockRootClientId:i,getBlockName:l,getBlockOrder:s,getBlockIndex:c,getSelectedBlockClientIds:u,getBlock:m,getBlockListSettings:p}=(0,Nh.useSelect)(BE.store);function d(f){let h=i(f),g=i(h);if(g&amp;&amp;l(g)===&quot;core/list-item&quot;)return g}return(0,UZ.useCallback)((f=u())=&gt;{if(Array.isArray(f)||(f=[f]),!f.length)return;let h=f[0];if(l(h)!==&quot;core/list-item&quot;)return;let g=d(h);if(!g)return;let b=i(h),y=f[f.length-1],_=s(b).slice(c(y)+1);return e.batch(()=&gt;{if(_.length){let x=s(h)[0];if(!x){let S=(0,GZ.cloneBlock)(m(b),{},[]);x=S.clientId,a(S,0,h,!1),n(x,p(b))}t(_,b,x)}t(f,b,i(g),c(g)+1),s(b).length||r(b,!1)}),!0},[])}var WZ=o(U(),1),D4=o(V(),1),IE=o(T(),1),yv=o(W(),1);function _v(e){let{replaceBlocks:t,selectionChange:r,multiSelect:a}=(0,D4.useDispatch)(IE.store),{getBlock:n,getPreviousBlockClientId:i,getSelectionStart:l,getSelectionEnd:s,hasMultiSelection:c,getMultiSelectedBlockClientIds:u}=(0,D4.useSelect)(IE.store);return(0,WZ.useCallback)(()=&gt;{let m=c(),p=m?u():[e],d=p.map(y=&gt;(0,yv.cloneBlock)(n(y))),f=i(e),h=(0,yv.cloneBlock)(n(f));h.innerBlocks?.length||(h.innerBlocks=[(0,yv.createBlock)(&quot;core/list&quot;)]),h.innerBlocks[h.innerBlocks.length-1].innerBlocks.push(...d);let g=l(),b=s();return t([f,...p],[h]),m?a(d[0].clientId,d[d.length-1].clientId):r(d[0].clientId,b.attributeKey,b.clientId===g.clientId?g.offset:b.offset,b.offset),!0},[e])}var dd=o(W(),1),$Z=o(U(),1),qZ=o(me(),1),ZZ=o(As(),1),L4=o(V(),1),NE=o(T(),1);function EE(e){let{replaceBlocks:t,selectionChange:r}=(0,L4.useDispatch)(NE.store),{getBlock:a,getBlockRootClientId:n,getBlockIndex:i,getBlockName:l}=(0,L4.useSelect)(NE.store),s=(0,$Z.useRef)(e);s.current=e;let c=lu();return(0,qZ.useRefEffect)(u=&gt;{function m(p){if(p.defaultPrevented||p.keyCode!==ZZ.ENTER)return;let{content:d,clientId:f}=s.current;if(d.length)return;if(p.preventDefault(),l(n(n(s.current.clientId)))===&quot;core/list-item&quot;){c();return}let g=a(n(f)),b=i(f),y=(0,dd.cloneBlock)({...g,innerBlocks:g.innerBlocks.slice(0,b)}),k=(0,dd.createBlock)((0,dd.getDefaultBlockName)()),_=[...g.innerBlocks[b].innerBlocks[0]?.innerBlocks||[],...g.innerBlocks.slice(b+1)],x=_.length?[(0,dd.cloneBlock)({...g,innerBlocks:_})]:[];t(g.clientId,[y,k,...x],1),r(k.clientId)}return u.addEventListener(&quot;keydown&quot;,m),()=&gt;{u.removeEventListener(&quot;keydown&quot;,m)}},[])}var KZ=o(me(),1),xv=o(As(),1),QZ=o(T(),1),YZ=o(V(),1);function DE(e){let{getSelectionStart:t,getSelectionEnd:r,getBlockIndex:a}=(0,YZ.useSelect)(QZ.store),n=_v(e),i=lu();return(0,KZ.useRefEffect)(l=&gt;{function s(c){let{keyCode:u,shiftKey:m,altKey:p,metaKey:d,ctrlKey:f}=c;if(c.defaultPrevented||u!==xv.SPACE&amp;&amp;u!==xv.TAB||p||d||f)return;let h=t(),g=r();h.offset===0&amp;&amp;g.offset===0&amp;&amp;(m?u===xv.TAB&amp;&amp;i()&amp;&amp;c.preventDefault():a(e)!==0&amp;&amp;n()&amp;&amp;c.preventDefault())}return l.addEventListener(&quot;keydown&quot;,s),()=&gt;{l.removeEventListener(&quot;keydown&quot;,s)}},[e,n])}var Eh=o(V(),1),LE=o(T(),1),XZ=o(W(),1);function ME(e,t){let r=(0,Eh.useRegistry)(),{getPreviousBlockClientId:a,getNextBlockClientId:n,getBlockOrder:i,getBlockRootClientId:l,getBlockName:s,getBlock:c}=(0,Eh.useSelect)(LE.store),{mergeBlocks:u,moveBlocksToPosition:m,removeBlock:p}=(0,Eh.useDispatch)(LE.store),d=lu();function f(y){let k=i(y);return k.length?f(k[k.length-1]):y}function h(y){let k=l(y),_=l(k);if(_&amp;&amp;s(_)===&quot;core/list-item&quot;)return _}function g(y){let k=n(y);if(k)return k;let _=h(y);if(_)return g(_)}function b(y){let k=i(y);return k.length?i(k[0])[0]:g(y)}return y=&gt;{function k(_,x){r.batch(()=&gt;{let[S]=i(x);S&amp;&amp;(a(x)===_&amp;&amp;!i(_).length?m([S],x,_):m(i(S),S,l(_))),u(_,x)})}if(y){let _=b(e);if(!_){t(y);return}h(_)?d(_):k(e,_)}else{if(h(e)){d(e);return}let _=a(e);if(_){let S=f(_);k(S,e);return}let x=i(e);(0,XZ.isUnmodifiedBlock)(c(e),&quot;content&quot;)&amp;&amp;x.length&gt;0?r.batch(()=&gt;{d(i(x[0])),p(e,!0)}):t(y)}}}var Si=o(v(),1);function Tbe({clientId:e}){let t=_v(e),r=lu(),{canIndent:a,canOutdent:n}=(0,eK.useSelect)(i=&gt;{let{getBlockIndex:l,getBlockRootClientId:s,getBlockName:c}=i(rc.store);return{canIndent:l(e)&gt;0,canOutdent:c(s(s(e)))===&quot;core/list-item&quot;}},[e]);return(0,Si.jsxs)(Si.Fragment,{children:[(0,Si.jsx)(AE.ToolbarButton,{icon:(0,tc.isRTL)()?H0:O0,title:(0,tc.__)(&quot;Outdent&quot;),shortcut:tK.displayShortcut.shift(&quot;Tab&quot;),description:(0,tc.__)(&quot;Outdent list item&quot;),disabled:!n,onClick:()=&gt;r()}),(0,Si.jsx)(AE.ToolbarButton,{icon:(0,tc.isRTL)()?L9:A9,title:(0,tc.__)(&quot;Indent&quot;),shortcut:&quot;Tab&quot;,description:(0,tc.__)(&quot;Indent list item&quot;),disabled:!a,onClick:()=&gt;t()})]})}function rK({attributes:e,setAttributes:t,clientId:r,mergeBlocks:a}){let{placeholder:n,content:i}=e,l=(0,rc.useBlockProps)(),s=(0,rc.useInnerBlocksProps)(l,{renderAppender:!1,__unstableDisableDropZone:!0}),c=EE({content:i,clientId:r}),u=DE(r),m=ME(r,a);return(0,Si.jsxs)(Si.Fragment,{children:[(0,Si.jsxs)(&quot;li&quot;,{...s,children:[(0,Si.jsx)(rc.RichText,{ref:(0,JZ.useMergeRefs)([c,u]),identifier:&quot;content&quot;,tagName:&quot;div&quot;,onChange:p=&gt;t({content:p}),value:i,&quot;aria-label&quot;:(0,tc.__)(&quot;List text&quot;),placeholder:n||(0,tc.__)(&quot;List&quot;),onMerge:m}),s.children]}),(0,Si.jsx)(rc.BlockControls,{group:&quot;block&quot;,children:(0,Si.jsx)(Tbe,{clientId:r})})]})}var Dh=o(T(),1),kv=o(v(),1);function oK({attributes:e}){return(0,kv.jsxs)(&quot;li&quot;,{...Dh.useBlockProps.save(),children:[(0,kv.jsx)(Dh.RichText.Content,{value:e.content}),(0,kv.jsx)(Dh.InnerBlocks.Content,{})]})}var M4=o(W(),1),Pbe={to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:(e,t=[])=&gt;[(0,M4.createBlock)(&quot;core/paragraph&quot;,e),...t.map(r=&gt;(0,M4.cloneBlock)(r))]}]},aK=Pbe;var{fieldsKey:Bbe,formKey:Ibe}=K(lK.privateApis),{name:sK}=E4,A4={icon:xT,edit:rK,save:oK,merge(e,t){return{...e,content:e.content+t.content}},transforms:aK,[K(iK.privateApis).requiresWrapperOnCopy]:!0,__experimentalLabel(e,{context:t}){let{content:r}=e,a=e?.metadata?.name,n=r?.trim().length&gt;0;if(t===&quot;list-view&quot;&amp;&amp;(a||n))return a||r;if(t===&quot;breadcrumb&quot;&amp;&amp;a)return a}};window.__experimentalContentOnlyInspectorFields&amp;&amp;(A4[Bbe]=[{id:&quot;content&quot;,label:(0,nK.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],A4[Ibe]={fields:[&quot;content&quot;]});var Nbe=()=&gt;E({name:sK,metadata:E4,settings:A4});var zE={};Z(zE,{init:()=&gt;Dbe,metadata:()=&gt;z4,name:()=&gt;uK,settings:()=&gt;mK});var R4=o(T(),1),wm=o(M(),1),fd=o(P(),1);var Ti=o(v(),1);function cK({attributes:e,setAttributes:t}){let{displayLoginAsForm:r,redirectToCurrent:a}=e,n=q();return(0,Ti.jsxs)(Ti.Fragment,{children:[(0,Ti.jsx)(R4.InspectorControls,{children:(0,Ti.jsxs)(wm.__experimentalToolsPanel,{label:(0,fd.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({displayLoginAsForm:!1,redirectToCurrent:!0})},dropdownMenuProps:n,children:[(0,Ti.jsx)(wm.__experimentalToolsPanelItem,{label:(0,fd.__)(&quot;Display login as form&quot;),isShownByDefault:!0,hasValue:()=&gt;r,onDeselect:()=&gt;t({displayLoginAsForm:!1}),children:(0,Ti.jsx)(wm.ToggleControl,{label:(0,fd.__)(&quot;Display login as form&quot;),checked:r,onChange:()=&gt;t({displayLoginAsForm:!r})})}),(0,Ti.jsx)(wm.__experimentalToolsPanelItem,{label:(0,fd.__)(&quot;Redirect to current URL&quot;),isShownByDefault:!0,hasValue:()=&gt;!a,onDeselect:()=&gt;t({redirectToCurrent:!0}),children:(0,Ti.jsx)(wm.ToggleControl,{label:(0,fd.__)(&quot;Redirect to current URL&quot;),checked:a,onChange:()=&gt;t({redirectToCurrent:!a})})})]})}),(0,Ti.jsx)(&quot;div&quot;,{...(0,R4.useBlockProps)({className:&quot;logged-in&quot;}),children:(0,Ti.jsx)(&quot;a&quot;,{href:&quot;#login-pseudo-link&quot;,children:(0,fd.__)(&quot;Log out&quot;)})})]})}var z4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/loginout&quot;,title:&quot;Login/out&quot;,category:&quot;theme&quot;,description:&quot;Show login &amp; logout links.&quot;,keywords:[&quot;login&quot;,&quot;logout&quot;,&quot;form&quot;],textdomain:&quot;default&quot;,attributes:{displayLoginAsForm:{type:&quot;boolean&quot;,default:!1},redirectToCurrent:{type:&quot;boolean&quot;,default:!0}},example:{viewportWidth:350},supports:{anchor:!0,className:!0,color:{background:!0,text:!1,gradients:!0,link:!0},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},interactivity:{clientNavigation:!0}},style:&quot;wp-block-loginout&quot;};var{name:uK}=z4,mK={icon:CT,edit:cK},Dbe=()=&gt;E({name:uK,metadata:z4,settings:mK});var UE={};Z(UE,{init:()=&gt;tye,metadata:()=&gt;q4,name:()=&gt;LK,settings:()=&gt;Z4});var Sv=o(P(),1);var DK=o(W(),1);var pr=o(T(),1),VE=o(me(),1);var pK=o(P(),1),oc=&quot;full&quot;,wv=15,V4=&quot;none&quot;,F4=&quot;media&quot;,H4=&quot;attachment&quot;,dK=[[&quot;core/paragraph&quot;,{placeholder:(0,pK._x)(&quot;Content\u2026&quot;,&quot;content placeholder&quot;)}]];var we=o(v(),1),O4=(e,t)=&gt;e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${t.x*100}% ${t.y*100}%`:&quot;50% 50%&quot;}:{},fK=(e,t)=&gt;e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${Math.round(t.x*100)}% ${Math.round(t.y*100)}%`:&quot;50% 50%&quot;}:{},hd=50,ac=()=&gt;{},hK=e=&gt;{if(!e.customBackgroundColor)return e;let t={color:{background:e.customBackgroundColor}},{customBackgroundColor:r,...a}=e;return{...a,style:t}},Lh=e=&gt;e.align?e:{...e,align:&quot;wide&quot;},j4={align:{type:&quot;string&quot;,default:&quot;wide&quot;},mediaAlt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;},mediaPosition:{type:&quot;string&quot;,default:&quot;left&quot;},mediaId:{type:&quot;number&quot;},mediaType:{type:&quot;string&quot;},mediaWidth:{type:&quot;number&quot;,default:50},isStackedOnMobile:{type:&quot;boolean&quot;,default:!1}},FE={...j4,isStackedOnMobile:{type:&quot;boolean&quot;,default:!0},mediaUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure video,figure img&quot;,attribute:&quot;src&quot;},mediaLink:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;target&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;href&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;class&quot;},mediaSizeSlug:{type:&quot;string&quot;},verticalAlignment:{type:&quot;string&quot;},imageFill:{type:&quot;boolean&quot;},focalPoint:{type:&quot;object&quot;}},gK={...FE,mediaAlt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},mediaId:{type:&quot;number&quot;,role:&quot;content&quot;},mediaUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure video,figure img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},mediaType:{type:&quot;string&quot;,role:&quot;content&quot;}},Lbe={...gK,align:{type:&quot;string&quot;,default:&quot;none&quot;},useFeaturedImage:{type:&quot;boolean&quot;,default:!1}},HE={anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0}},vK={...HE,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},Mbe={...vK,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0}},Abe={attributes:Lbe,supports:Mbe,usesContext:[&quot;postId&quot;,&quot;postType&quot;],save({attributes:e}){let{isStackedOnMobile:t,mediaAlt:r,mediaPosition:a,mediaType:n,mediaUrl:i,mediaWidth:l,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:p,href:d,linkTarget:f,rel:h}=e,g=e.mediaSizeSlug||oc,b=h||void 0,y=w({[`wp-image-${s}`]:s&amp;&amp;n===&quot;image&quot;,[`size-${g}`]:s&amp;&amp;n===&quot;image&quot;}),k=i?(0,we.jsx)(&quot;img&quot;,{src:i,alt:r,className:y||null}):null;d&amp;&amp;(k=(0,we.jsx)(&quot;a&quot;,{className:p,href:d,target:f,rel:b,children:k}));let _={image:()=&gt;k,video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:i})},x=w({&quot;has-media-on-the-right&quot;:a===&quot;right&quot;,&quot;is-stacked-on-mobile&quot;:t,[`is-vertically-aligned-${c}`]:c,&quot;is-image-fill&quot;:u}),S=u?fK(i,m):{},C;l!==hd&amp;&amp;(C=a===&quot;right&quot;?`auto ${l}%`:`${l}% auto`);let N={gridTemplateColumns:C};return a===&quot;right&quot;?(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})}),(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()})]}):(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()}),(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})})]})}},Rbe={attributes:gK,supports:vK,save({attributes:e}){let{isStackedOnMobile:t,mediaAlt:r,mediaPosition:a,mediaType:n,mediaUrl:i,mediaWidth:l,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:p,href:d,linkTarget:f,rel:h}=e,g=e.mediaSizeSlug||oc,b=h||void 0,y=w({[`wp-image-${s}`]:s&amp;&amp;n===&quot;image&quot;,[`size-${g}`]:s&amp;&amp;n===&quot;image&quot;}),k=(0,we.jsx)(&quot;img&quot;,{src:i,alt:r,className:y||null});d&amp;&amp;(k=(0,we.jsx)(&quot;a&quot;,{className:p,href:d,target:f,rel:b,children:k}));let _={image:()=&gt;k,video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:i})},x=w({&quot;has-media-on-the-right&quot;:a===&quot;right&quot;,&quot;is-stacked-on-mobile&quot;:t,[`is-vertically-aligned-${c}`]:c,&quot;is-image-fill&quot;:u}),S=u?fK(i,m):{},C;l!==hd&amp;&amp;(C=a===&quot;right&quot;?`auto ${l}%`:`${l}% auto`);let N={gridTemplateColumns:C};return a===&quot;right&quot;?(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})}),(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()})]}):(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()}),(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})})]})},migrate:Lh,isEligible(e,t,{block:r}){let{attributes:a}=r;return e.align===void 0&amp;&amp;!!a.className?.includes(&quot;alignwide&quot;)}},zbe={attributes:FE,supports:HE,save({attributes:e}){let{isStackedOnMobile:t,mediaAlt:r,mediaPosition:a,mediaType:n,mediaUrl:i,mediaWidth:l,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:p,href:d,linkTarget:f,rel:h}=e,g=e.mediaSizeSlug||oc,b=h||void 0,y=w({[`wp-image-${s}`]:s&amp;&amp;n===&quot;image&quot;,[`size-${g}`]:s&amp;&amp;n===&quot;image&quot;}),k=(0,we.jsx)(&quot;img&quot;,{src:i,alt:r,className:y||null});d&amp;&amp;(k=(0,we.jsx)(&quot;a&quot;,{className:p,href:d,target:f,rel:b,children:k}));let _={image:()=&gt;k,video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:i})},x=w({&quot;has-media-on-the-right&quot;:a===&quot;right&quot;,&quot;is-stacked-on-mobile&quot;:t,[`is-vertically-aligned-${c}`]:c,&quot;is-image-fill&quot;:u}),S=u?O4(i,m):{},C;l!==hd&amp;&amp;(C=a===&quot;right&quot;?`auto ${l}%`:`${l}% auto`);let N={gridTemplateColumns:C};return a===&quot;right&quot;?(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})}),(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()})]}):(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()}),(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})})]})},migrate:Lh},Vbe={attributes:FE,supports:HE,save({attributes:e}){let{isStackedOnMobile:t,mediaAlt:r,mediaPosition:a,mediaType:n,mediaUrl:i,mediaWidth:l,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:p,href:d,linkTarget:f,rel:h}=e,g=e.mediaSizeSlug||oc,b=h||void 0,y=w({[`wp-image-${s}`]:s&amp;&amp;n===&quot;image&quot;,[`size-${g}`]:s&amp;&amp;n===&quot;image&quot;}),k=(0,we.jsx)(&quot;img&quot;,{src:i,alt:r,className:y||null});d&amp;&amp;(k=(0,we.jsx)(&quot;a&quot;,{className:p,href:d,target:f,rel:b,children:k}));let _={image:()=&gt;k,video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:i})},x=w({&quot;has-media-on-the-right&quot;:a===&quot;right&quot;,&quot;is-stacked-on-mobile&quot;:t,[`is-vertically-aligned-${c}`]:c,&quot;is-image-fill&quot;:u}),S=u?O4(i,m):{},C;l!==hd&amp;&amp;(C=a===&quot;right&quot;?`auto ${l}%`:`${l}% auto`);let N={gridTemplateColumns:C};return(0,we.jsxs)(&quot;div&quot;,{...pr.useBlockProps.save({className:x,style:N}),children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:S,children:(_[n]||ac)()}),(0,we.jsx)(&quot;div&quot;,{...pr.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})})]})},migrate:Lh},Fbe={attributes:{...j4,isStackedOnMobile:{type:&quot;boolean&quot;,default:!0},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},mediaLink:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;target&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;href&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;class&quot;},verticalAlignment:{type:&quot;string&quot;},imageFill:{type:&quot;boolean&quot;},focalPoint:{type:&quot;object&quot;}},migrate:(0,VE.compose)(hK,Lh),save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,isStackedOnMobile:a,mediaAlt:n,mediaPosition:i,mediaType:l,mediaUrl:s,mediaWidth:c,mediaId:u,verticalAlignment:m,imageFill:p,focalPoint:d,linkClass:f,href:h,linkTarget:g,rel:b}=e,y=b||void 0,k=(0,we.jsx)(&quot;img&quot;,{src:s,alt:n,className:u&amp;&amp;l===&quot;image&quot;?`wp-image-${u}`:null});h&amp;&amp;(k=(0,we.jsx)(&quot;a&quot;,{className:f,href:h,target:g,rel:y,children:k}));let _={image:()=&gt;k,video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:s})},x=(0,pr.getColorClassName)(&quot;background-color&quot;,t),S=w({&quot;has-media-on-the-right&quot;:i===&quot;right&quot;,&quot;has-background&quot;:x||r,[x]:x,&quot;is-stacked-on-mobile&quot;:a,[`is-vertically-aligned-${m}`]:m,&quot;is-image-fill&quot;:p}),C=p?O4(s,d):{},N;return c!==hd&amp;&amp;(N=i===&quot;right&quot;?`auto ${c}%`:`${c}% auto`),(0,we.jsxs)(&quot;div&quot;,{className:S,style:{backgroundColor:x?void 0:r,gridTemplateColumns:N},children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:C,children:(_[l]||ac)()}),(0,we.jsx)(&quot;div&quot;,{className:&quot;wp-block-media-text__content&quot;,children:(0,we.jsx)(pr.InnerBlocks.Content,{})})]})}},Hbe={attributes:{...j4,backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},mediaUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure video,figure img&quot;,attribute:&quot;src&quot;},verticalAlignment:{type:&quot;string&quot;},imageFill:{type:&quot;boolean&quot;},focalPoint:{type:&quot;object&quot;}},migrate:(0,VE.compose)(hK,Lh),save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,isStackedOnMobile:a,mediaAlt:n,mediaPosition:i,mediaType:l,mediaUrl:s,mediaWidth:c,mediaId:u,verticalAlignment:m,imageFill:p,focalPoint:d}=e,f={image:()=&gt;(0,we.jsx)(&quot;img&quot;,{src:s,alt:n,className:u&amp;&amp;l===&quot;image&quot;?`wp-image-${u}`:null}),video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:s})},h=(0,pr.getColorClassName)(&quot;background-color&quot;,t),g=w({&quot;has-media-on-the-right&quot;:i===&quot;right&quot;,[h]:h,&quot;is-stacked-on-mobile&quot;:a,[`is-vertically-aligned-${m}`]:m,&quot;is-image-fill&quot;:p}),b=p?O4(s,d):{},y;return c!==hd&amp;&amp;(y=i===&quot;right&quot;?`auto ${c}%`:`${c}% auto`),(0,we.jsxs)(&quot;div&quot;,{className:g,style:{backgroundColor:h?void 0:r,gridTemplateColumns:y},children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,style:b,children:(f[l]||ac)()}),(0,we.jsx)(&quot;div&quot;,{className:&quot;wp-block-media-text__content&quot;,children:(0,we.jsx)(pr.InnerBlocks.Content,{})})]})}},Obe={attributes:{...j4,backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},mediaUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure video,figure img&quot;,attribute:&quot;src&quot;}},migrate:Lh,save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,isStackedOnMobile:a,mediaAlt:n,mediaPosition:i,mediaType:l,mediaUrl:s,mediaWidth:c}=e,u={image:()=&gt;(0,we.jsx)(&quot;img&quot;,{src:s,alt:n}),video:()=&gt;(0,we.jsx)(&quot;video&quot;,{controls:!0,src:s})},m=(0,pr.getColorClassName)(&quot;background-color&quot;,t),p=w({&quot;has-media-on-the-right&quot;:i===&quot;right&quot;,[m]:m,&quot;is-stacked-on-mobile&quot;:a}),d;return c!==hd&amp;&amp;(d=i===&quot;right&quot;?`auto ${c}%`:`${c}% auto`),(0,we.jsxs)(&quot;div&quot;,{className:p,style:{backgroundColor:m?void 0:r,gridTemplateColumns:d},children:[(0,we.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,children:(u[l]||ac)()}),(0,we.jsx)(&quot;div&quot;,{className:&quot;wp-block-media-text__content&quot;,children:(0,we.jsx)(pr.InnerBlocks.Content,{})})]})}},bK=[Abe,Rbe,zbe,Vbe,Fbe,Hbe,Obe];var na=o(P(),1),G4=o(V(),1),W4=o(U(),1),Lo=o(T(),1),Er=o(M(),1),$4=o(Rr(),1);var Cv=o(Q(),1);var Mh=o(M(),1),nc=o(T(),1),_K=o(P(),1),xK=o(me(),1),OE=o(V(),1),jE=o(U(),1),kK=o(Rr(),1),wK=o(xr(),1);function U4(e,t){return e?{objectPosition:t?`${Math.round(t.x*100)}% ${Math.round(t.y*100)}%`:&quot;50% 50%&quot;}:{}}var Ia=o(v(),1),CK=[&quot;image&quot;,&quot;video&quot;],jbe=()=&gt;{},Ube=(0,jE.forwardRef)(({isSelected:e,isStackedOnMobile:t,...r},a)=&gt;{let n=(0,xK.useViewportMatch)(&quot;small&quot;,&quot;&lt;&quot;);return(0,Ia.jsx)(Mh.ResizableBox,{ref:a,showHandle:e&amp;&amp;(!n||!t),...r})});function Gbe({mediaId:e,mediaUrl:t,onSelectMedia:r,toggleUseFeaturedImage:a,useFeaturedImage:n}){return(0,Ia.jsx)(nc.BlockControls,{group:&quot;other&quot;,children:(0,Ia.jsx)(nc.MediaReplaceFlow,{mediaId:e,mediaURL:t,allowedTypes:CK,onSelect:r,onToggleFeaturedImage:a,useFeaturedImage:n,onReset:()=&gt;r(void 0)})})}function yK({className:e,mediaUrl:t,onSelectMedia:r,toggleUseFeaturedImage:a}){let{createErrorNotice:n}=(0,OE.useDispatch)(wK.store),i=l=&gt;{n(l,{type:&quot;snackbar&quot;})};return(0,Ia.jsx)(nc.MediaPlaceholder,{icon:(0,Ia.jsx)(nc.BlockIcon,{icon:$0}),labels:{title:(0,_K.__)(&quot;Media area&quot;)},className:e,onSelect:r,onToggleFeaturedImage:a,allowedTypes:CK,onError:i,disableMediaButtons:t})}function Wbe(e,t){let{className:r,commitWidthChange:a,focalPoint:n,imageFill:i,isSelected:l,isStackedOnMobile:s,mediaAlt:c,mediaId:u,mediaPosition:m,mediaType:p,mediaUrl:d,mediaWidth:f,onSelectMedia:h,onWidthChange:g,enableResize:b,toggleUseFeaturedImage:y,useFeaturedImage:k,featuredImageURL:_,featuredImageAlt:x,refMedia:S}=e,C=!u&amp;&amp;(0,kK.isBlobURL)(d),{toggleSelection:N}=(0,OE.useDispatch)(nc.store);if(d||_||k){let B=()=&gt;{N(!1)},D=(I,R,$)=&gt;{g(parseInt($.style.width))},A=(I,R,$)=&gt;{N(!0),a(parseInt($.style.width))},H={right:b&amp;&amp;m===&quot;left&quot;,left:b&amp;&amp;m===&quot;right&quot;},F=p===&quot;image&quot;&amp;&amp;i?U4(d||_,n):{},z={image:()=&gt;k&amp;&amp;_?(0,Ia.jsx)(&quot;img&quot;,{ref:S,src:_,alt:x,style:F}):d&amp;&amp;(0,Ia.jsx)(&quot;img&quot;,{ref:S,src:d,alt:c,style:F}),video:()=&gt;(0,Ia.jsx)(&quot;video&quot;,{controls:!0,ref:S,src:d})};return(0,Ia.jsxs)(Ube,{as:&quot;figure&quot;,className:w(r,&quot;editor-media-container__resizer&quot;,{&quot;is-transient&quot;:C}),size:{width:f+&quot;%&quot;},minWidth:&quot;10%&quot;,maxWidth:&quot;100%&quot;,enable:H,onResizeStart:B,onResize:D,onResizeStop:A,axis:&quot;x&quot;,isSelected:l,isStackedOnMobile:s,ref:t,children:[(0,Ia.jsx)(Gbe,{onSelectMedia:h,mediaUrl:k&amp;&amp;_?_:d,mediaId:u,toggleUseFeaturedImage:y,useFeaturedImage:k}),(z[p]||jbe)(),C&amp;&amp;(0,Ia.jsx)(Mh.Spinner,{}),!k&amp;&amp;(0,Ia.jsx)(yK,{...e}),!_&amp;&amp;k&amp;&amp;(0,Ia.jsx)(Mh.Placeholder,{className:&quot;wp-block-media-text--placeholder-image&quot;,style:F,withIllustration:!0})]})}return(0,Ia.jsx)(yK,{...e})}var SK=(0,jE.forwardRef)(Wbe);var lt=o(v(),1),{ResolutionTool:$be}=K(Lo.privateApis),TK=e=&gt;Math.max(wv,Math.min(e,100-wv));function PK(e,t){return e?.media_details?.sizes?.[t]?.source_url}function qbe({attributes:{linkDestination:e,href:t},setAttributes:r}){return a=&gt;{if(!a||!a.url){r({mediaAlt:void 0,mediaId:void 0,mediaType:void 0,mediaUrl:void 0,mediaLink:void 0,href:void 0,focalPoint:void 0,useFeaturedImage:!1});return}(0,$4.isBlobURL)(a.url)&amp;&amp;(a.type=(0,$4.getBlobTypeByURL)(a.url));let n,i;a.media_type?a.media_type===&quot;image&quot;?n=&quot;image&quot;:n=&quot;video&quot;:n=a.type,n===&quot;image&quot;&amp;&amp;(i=a.sizes?.large?.url||a.media_details?.sizes?.large?.source_url);let l=e,s=t;if(n===&quot;image&quot;){if(!l)switch(window?.wp?.media?.view?.settings?.defaultProps?.link||V4){case&quot;file&quot;:case F4:l=F4;break;case&quot;post&quot;:case H4:l=H4;break;case V4:default:l=V4;break}switch(l){case F4:s=a.url;break;case H4:s=a.link;break}}r({mediaAlt:a.alt,mediaId:a.id,mediaType:n,mediaUrl:i||a.url,mediaLink:a.link||void 0,href:s,linkDestination:l,focalPoint:void 0,useFeaturedImage:!1})}}function Zbe({image:e,value:t,onChange:r}){let{imageSizes:a}=(0,G4.useSelect)(i=&gt;{let{getSettings:l}=i(Lo.store);return{imageSizes:l().imageSizes}},[]);if(!a?.length)return null;let n=a.filter(({slug:i})=&gt;PK(e,i)).map(({name:i,slug:l})=&gt;({value:l,label:i}));return(0,lt.jsx)($be,{value:t,defaultValue:oc,options:n,onChange:r})}function Kbe({attributes:e,isSelected:t,setAttributes:r,context:{postId:a,postType:n}}){let{focalPoint:i,href:l,imageFill:s,isStackedOnMobile:c,linkClass:u,linkDestination:m,linkTarget:p,mediaAlt:d,mediaId:f,mediaPosition:h,mediaType:g,mediaUrl:b,mediaWidth:y,mediaSizeSlug:k,rel:_,verticalAlignment:x,allowedBlocks:S,useFeaturedImage:C}=e,[N]=(0,Cv.useEntityProp)(&quot;postType&quot;,n,&quot;featured_media&quot;,a),{featuredImageMedia:B}=(0,G4.useSelect)(ie=&gt;({featuredImageMedia:N&amp;&amp;C?ie(Cv.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,N,{context:&quot;view&quot;}):void 0}),[N,C]),{image:D}=(0,G4.useSelect)(ie=&gt;({image:f&amp;&amp;t?ie(Cv.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,f,{context:&quot;view&quot;}):null}),[t,f]),A=C?B?.source_url:&quot;&quot;,H=C?B?.alt_text:&quot;&quot;,F=()=&gt;{r({imageFill:!1,mediaType:&quot;image&quot;,mediaId:void 0,mediaUrl:void 0,mediaAlt:void 0,mediaLink:void 0,linkDestination:void 0,linkTarget:void 0,linkClass:void 0,rel:void 0,href:void 0,useFeaturedImage:!C})},z=(0,W4.useRef)(),I=ie=&gt;{let{style:fe}=z.current,{x:ke,y:je}=ie;fe.objectPosition=`${ke*100}% ${je*100}%`},[R,$]=(0,W4.useState)(null),j=qbe({attributes:e,setAttributes:r}),G=ie=&gt;{r(ie)},O=ie=&gt;{$(TK(ie))},J=ie=&gt;{r({mediaWidth:TK(ie)}),$(null)},ee=w({&quot;has-media-on-the-right&quot;:h===&quot;right&quot;,&quot;is-selected&quot;:t,&quot;is-stacked-on-mobile&quot;:c,[`is-vertically-aligned-${x}`]:x,&quot;is-image-fill-element&quot;:s}),oe=`${R||y}%`,X=h===&quot;right&quot;?`1fr ${oe}`:`${oe} 1fr`,te={gridTemplateColumns:X,msGridColumns:X},ne=ie=&gt;{r({mediaAlt:ie})},le=ie=&gt;{r({verticalAlignment:ie})},pe=ie=&gt;{let fe=PK(D,ie);if(!fe)return null;r({mediaUrl:fe,mediaSizeSlug:ie})},Ie=q(),Ne=(0,lt.jsxs)(Er.__experimentalToolsPanel,{label:(0,na.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({isStackedOnMobile:!0,imageFill:!1,mediaAlt:&quot;&quot;,focalPoint:void 0,mediaWidth:50}),pe(oc)},dropdownMenuProps:Ie,children:[(0,lt.jsx)(Er.__experimentalToolsPanelItem,{label:(0,na.__)(&quot;Media width&quot;),isShownByDefault:!0,hasValue:()=&gt;y!==50,onDeselect:()=&gt;r({mediaWidth:50}),children:(0,lt.jsx)(Er.RangeControl,{__next40pxDefaultSize:!0,label:(0,na.__)(&quot;Media width&quot;),value:R||y,onChange:J,min:wv,max:100-wv})}),(0,lt.jsx)(Er.__experimentalToolsPanelItem,{label:(0,na.__)(&quot;Stack on mobile&quot;),isShownByDefault:!0,hasValue:()=&gt;!c,onDeselect:()=&gt;r({isStackedOnMobile:!0}),children:(0,lt.jsx)(Er.ToggleControl,{label:(0,na.__)(&quot;Stack on mobile&quot;),checked:c,onChange:()=&gt;r({isStackedOnMobile:!c})})}),g===&quot;image&quot;&amp;&amp;(0,lt.jsx)(Er.__experimentalToolsPanelItem,{label:(0,na.__)(&quot;Crop image to fill&quot;),isShownByDefault:!0,hasValue:()=&gt;!!s,onDeselect:()=&gt;r({imageFill:!1}),children:(0,lt.jsx)(Er.ToggleControl,{label:(0,na.__)(&quot;Crop image to fill&quot;),checked:!!s,onChange:()=&gt;r({imageFill:!s})})}),s&amp;&amp;(b||A)&amp;&amp;g===&quot;image&quot;&amp;&amp;(0,lt.jsx)(Er.__experimentalToolsPanelItem,{label:(0,na.__)(&quot;Focal point&quot;),isShownByDefault:!0,hasValue:()=&gt;!!i,onDeselect:()=&gt;r({focalPoint:void 0}),children:(0,lt.jsx)(Er.FocalPointPicker,{label:(0,na.__)(&quot;Focal point&quot;),url:C&amp;&amp;A?A:b,value:i,onChange:ie=&gt;r({focalPoint:ie}),onDragStart:I,onDrag:I})}),g===&quot;image&quot;&amp;&amp;b&amp;&amp;!C&amp;&amp;(0,lt.jsx)(Er.__experimentalToolsPanelItem,{label:(0,na.__)(&quot;Alternative text&quot;),isShownByDefault:!0,hasValue:()=&gt;!!d,onDeselect:()=&gt;r({mediaAlt:&quot;&quot;}),children:(0,lt.jsx)(Er.TextareaControl,{label:(0,na.__)(&quot;Alternative text&quot;),value:d,onChange:ne,help:(0,lt.jsxs)(lt.Fragment,{children:[(0,lt.jsx)(Er.ExternalLink,{href:(0,na.__)(&quot;https://www.w3.org/WAI/tutorials/images/decision-tree/&quot;),children:(0,na.__)(&quot;Describe the purpose of the image.&quot;)}),(0,lt.jsx)(&quot;br&quot;,{}),(0,na.__)(&quot;Leave empty if decorative.&quot;)]})})}),g===&quot;image&quot;&amp;&amp;!C&amp;&amp;(0,lt.jsx)(Zbe,{image:D,value:k,onChange:pe})]}),ae=(0,Lo.useBlockProps)({className:ee,style:te}),Re=(0,Lo.useInnerBlocksProps)({className:&quot;wp-block-media-text__content&quot;},{template:dK,allowedBlocks:S}),Ee=(0,Lo.useBlockEditingMode)();return(0,lt.jsxs)(lt.Fragment,{children:[(0,lt.jsx)(Lo.InspectorControls,{children:Ne}),(0,lt.jsxs)(Lo.BlockControls,{group:&quot;block&quot;,children:[Ee===&quot;default&quot;&amp;&amp;(0,lt.jsxs)(lt.Fragment,{children:[(0,lt.jsx)(Lo.BlockVerticalAlignmentControl,{onChange:le,value:x}),(0,lt.jsx)(Er.ToolbarButton,{icon:PP,title:(0,na.__)(&quot;Show media on left&quot;),isActive:h===&quot;left&quot;,onClick:()=&gt;r({mediaPosition:&quot;left&quot;})}),(0,lt.jsx)(Er.ToolbarButton,{icon:IP,title:(0,na.__)(&quot;Show media on right&quot;),isActive:h===&quot;right&quot;,onClick:()=&gt;r({mediaPosition:&quot;right&quot;})})]}),g===&quot;image&quot;&amp;&amp;!C&amp;&amp;(0,lt.jsx)(Lo.__experimentalImageURLInputUI,{url:l||&quot;&quot;,onChangeUrl:G,linkDestination:m,mediaType:g,mediaUrl:D&amp;&amp;D.source_url,mediaLink:D&amp;&amp;D.link,linkTarget:p,linkClass:u,rel:_})]}),(0,lt.jsxs)(&quot;div&quot;,{...ae,children:[h===&quot;right&quot;&amp;&amp;(0,lt.jsx)(&quot;div&quot;,{...Re}),(0,lt.jsx)(SK,{className:&quot;wp-block-media-text__media&quot;,onSelectMedia:j,onWidthChange:O,commitWidthChange:J,refMedia:z,enableResize:Ee===&quot;default&quot;,toggleUseFeaturedImage:F,focalPoint:i,imageFill:s,isSelected:t,isStackedOnMobile:c,mediaAlt:d,mediaId:f,mediaPosition:h,mediaType:g,mediaUrl:b,mediaWidth:y,useFeaturedImage:C,featuredImageURL:A,featuredImageAlt:H}),h!==&quot;right&quot;&amp;&amp;(0,lt.jsx)(&quot;div&quot;,{...Re})]})]})}var BK=Kbe;var q4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/media-text&quot;,title:&quot;Media &amp; Text&quot;,category:&quot;media&quot;,description:&quot;Set media and words side-by-side for a richer layout.&quot;,keywords:[&quot;image&quot;,&quot;video&quot;],textdomain:&quot;default&quot;,attributes:{align:{type:&quot;string&quot;,default:&quot;none&quot;},mediaAlt:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure img&quot;,attribute:&quot;alt&quot;,default:&quot;&quot;,role:&quot;content&quot;},mediaPosition:{type:&quot;string&quot;,default:&quot;left&quot;},mediaId:{type:&quot;number&quot;,role:&quot;content&quot;},mediaUrl:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure video,figure img&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},mediaLink:{type:&quot;string&quot;},linkDestination:{type:&quot;string&quot;},linkTarget:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;target&quot;},href:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;href&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;rel&quot;},linkClass:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;figure a&quot;,attribute:&quot;class&quot;},mediaType:{type:&quot;string&quot;,role:&quot;content&quot;},mediaWidth:{type:&quot;number&quot;,default:50},mediaSizeSlug:{type:&quot;string&quot;},isStackedOnMobile:{type:&quot;boolean&quot;,default:!0},verticalAlignment:{type:&quot;string&quot;},imageFill:{type:&quot;boolean&quot;},focalPoint:{type:&quot;object&quot;},useFeaturedImage:{type:&quot;boolean&quot;,default:!1}},usesContext:[&quot;postId&quot;,&quot;postType&quot;],supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:&quot;wp-block-media-text-editor&quot;,style:&quot;wp-block-media-text&quot;};var Ah=o(T(),1);var ns=o(v(),1),Ybe=50,IK=()=&gt;{};function NK({attributes:e}){let{isStackedOnMobile:t,mediaAlt:r,mediaPosition:a,mediaType:n,mediaUrl:i,mediaWidth:l,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:p,href:d,linkTarget:f,rel:h}=e,g=e.mediaSizeSlug||oc,b=h||void 0,y=w({[`wp-image-${s}`]:s&amp;&amp;n===&quot;image&quot;,[`size-${g}`]:s&amp;&amp;n===&quot;image&quot;}),k=u?U4(i,m):{},_=i?(0,ns.jsx)(&quot;img&quot;,{src:i,alt:r,className:y||null,style:k}):null;d&amp;&amp;(_=(0,ns.jsx)(&quot;a&quot;,{className:p,href:d,target:f,rel:b,children:_}));let x={image:()=&gt;_,video:()=&gt;(0,ns.jsx)(&quot;video&quot;,{controls:!0,src:i})},S=w({&quot;has-media-on-the-right&quot;:a===&quot;right&quot;,&quot;is-stacked-on-mobile&quot;:t,[`is-vertically-aligned-${c}`]:c,&quot;is-image-fill-element&quot;:u}),C;l!==Ybe&amp;&amp;(C=a===&quot;right&quot;?`auto ${l}%`:`${l}% auto`);let N={gridTemplateColumns:C};return a===&quot;right&quot;?(0,ns.jsxs)(&quot;div&quot;,{...Ah.useBlockProps.save({className:S,style:N}),children:[(0,ns.jsx)(&quot;div&quot;,{...Ah.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})}),(0,ns.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,children:(x[n]||IK)()})]}):(0,ns.jsxs)(&quot;div&quot;,{...Ah.useBlockProps.save({className:S,style:N}),children:[(0,ns.jsx)(&quot;figure&quot;,{className:&quot;wp-block-media-text__media&quot;,children:(x[n]||IK)()}),(0,ns.jsx)(&quot;div&quot;,{...Ah.useInnerBlocksProps.save({className:&quot;wp-block-media-text__content&quot;})})]})}var gd=o(W(),1),Xbe={from:[{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],transform:({alt:e,url:t,id:r,anchor:a})=&gt;(0,gd.createBlock)(&quot;core/media-text&quot;,{mediaAlt:e,mediaId:r,mediaUrl:t,mediaType:&quot;image&quot;,anchor:a})},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],transform:({src:e,id:t,anchor:r})=&gt;(0,gd.createBlock)(&quot;core/media-text&quot;,{mediaId:t,mediaUrl:e,mediaType:&quot;video&quot;,anchor:r})},{type:&quot;block&quot;,blocks:[&quot;core/cover&quot;],transform:({align:e,alt:t,anchor:r,backgroundType:a,customGradient:n,customOverlayColor:i,gradient:l,id:s,overlayColor:c,style:u,textColor:m,url:p,useFeaturedImage:d},f)=&gt;{let h={};return n?h={style:{color:{gradient:n}}}:i&amp;&amp;(h={style:{color:{background:i}}}),u?.color?.text&amp;&amp;(h.style={color:{...h.style?.color,text:u.color.text}}),(0,gd.createBlock)(&quot;core/media-text&quot;,{align:e,anchor:r,backgroundColor:c,gradient:l,mediaAlt:t,mediaId:s,mediaType:a,mediaUrl:p,textColor:m,useFeaturedImage:d,...h},f)}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/image&quot;],isMatch:({mediaType:e,mediaUrl:t})=&gt;!t||e===&quot;image&quot;,transform:({mediaAlt:e,mediaId:t,mediaUrl:r,anchor:a})=&gt;(0,gd.createBlock)(&quot;core/image&quot;,{alt:e,id:t,url:r,anchor:a})},{type:&quot;block&quot;,blocks:[&quot;core/video&quot;],isMatch:({mediaType:e,mediaUrl:t})=&gt;!t||e===&quot;video&quot;,transform:({mediaId:e,mediaUrl:t,anchor:r})=&gt;(0,gd.createBlock)(&quot;core/video&quot;,{id:e,src:t,anchor:r})},{type:&quot;block&quot;,blocks:[&quot;core/cover&quot;],transform:({align:e,anchor:t,backgroundColor:r,focalPoint:a,gradient:n,mediaAlt:i,mediaId:l,mediaType:s,mediaUrl:c,style:u,textColor:m,useFeaturedImage:p},d)=&gt;{let f={};u?.color?.gradient?f.customGradient=u.color.gradient:u?.color?.background&amp;&amp;(f.customOverlayColor=u.color.background),u?.color?.text&amp;&amp;(f.style={color:{text:u.color.text}});let h={align:e,alt:i,anchor:t,backgroundType:s,dimRatio:c||p?50:100,focalPoint:a,gradient:n,id:l,overlayColor:r,textColor:m,url:c,useFeaturedImage:p,...f};return(0,gd.createBlock)(&quot;core/cover&quot;,h,d)}}]},EK=Xbe;var{fieldsKey:Jbe,formKey:eye}=K(DK.privateApis),{name:LK}=q4,Z4={icon:ET,example:{viewportWidth:601,attributes:{mediaType:&quot;image&quot;,mediaUrl:&quot;https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg&quot;},innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sv.__)(&quot;The wren&lt;br&gt;Earns his living&lt;br&gt;Noiselessly.&quot;)}},{name:&quot;core/paragraph&quot;,attributes:{content:(0,Sv.__)(&quot;\u2014 Kobayashi Issa (\u4E00\u8336)&quot;)}}]},transforms:EK,edit:BK,save:NK,deprecated:bK};window.__experimentalContentOnlyInspectorFields&amp;&amp;(Z4[Jbe]=[{id:&quot;media&quot;,label:(0,Sv.__)(&quot;Media&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[&quot;image&quot;,&quot;video&quot;],multiple:!1},getValue:({item:e})=&gt;({id:e.mediaId,url:e.mediaUrl,mediaType:e.mediaType,link:e.mediaLink}),setValue:({value:e})=&gt;({mediaId:e.id,mediaUrl:e.url,mediaType:e.mediaType,mediaLink:e.link})},{id:&quot;link&quot;,label:(0,Sv.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.href,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=&gt;({href:e.url,rel:e.rel,linkTarget:e.linkTarget})}],Z4[eye]={fields:[&quot;media&quot;,&quot;link&quot;]});var tye=()=&gt;E({name:LK,metadata:q4,settings:Z4});var GE={};Z(GE,{init:()=&gt;oye,metadata:()=&gt;Q4,name:()=&gt;Tv,settings:()=&gt;UK});var jK=o(W(),1);var su=o(P(),1),MK=o(U(),1),AK=o(M(),1),RK=o(W(),1),K4=o(V(),1),vd=o(T(),1),zK=o(ai(),1),Rh=o(v(),1);function VK({attributes:e,clientId:t}){let{originalName:r,originalUndelimitedContent:a}=e,n=!!a,{hasFreeformBlock:i,hasHTMLBlock:l}=(0,K4.useSelect)(d=&gt;{let{canInsertBlockType:f,getBlockRootClientId:h}=d(vd.store);return{hasFreeformBlock:f(&quot;core/freeform&quot;,h(t)),hasHTMLBlock:f(&quot;core/html&quot;,h(t))}},[t]),{replaceBlock:s}=(0,K4.useDispatch)(vd.store);function c(){s(t,(0,RK.createBlock)(&quot;core/html&quot;,{content:a}))}let u=[],m,p=(0,Rh.jsx)(AK.Button,{__next40pxDefaultSize:!0,onClick:c,variant:&quot;primary&quot;,children:(0,su.__)(&quot;Keep as HTML&quot;)},&quot;convert&quot;);return n&amp;&amp;!i&amp;&amp;(!r||r===&quot;core/freeform&quot;)?l?(m=(0,su.__)(&quot;It appears you are trying to use the deprecated Classic block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely. Alternatively, if you have unsaved changes, you can save them and refresh to use the Classic block.&quot;),u.push(p)):m=(0,su.__)(&quot;It appears you are trying to use the deprecated Classic block. You can leave this block intact, or remove it entirely. Alternatively, if you have unsaved changes, you can save them and refresh to use the Classic block.&quot;):n&amp;&amp;l?(m=(0,su.sprintf)((0,su.__)(&#039;Your site doesn\u2019t include support for the &quot;%s&quot; block. You can leave it as-is, convert it to custom HTML, or remove it.&#039;),r),u.push(p)):m=(0,su.sprintf)((0,su.__)(&#039;Your site doesn\u2019t include support for the &quot;%s&quot; block. You can leave it as-is or remove it.&#039;),r),(0,Rh.jsxs)(&quot;div&quot;,{...(0,vd.useBlockProps)({className:&quot;has-warning&quot;}),children:[(0,Rh.jsx)(vd.Warning,{actions:u,children:m}),(0,Rh.jsx)(MK.RawHTML,{children:(0,zK.safeHTML)(a)})]})}var Q4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/missing&quot;,title:&quot;Unsupported&quot;,category:&quot;text&quot;,description:&quot;Your site doesn\u2019t include support for this block.&quot;,textdomain:&quot;default&quot;,attributes:{originalName:{type:&quot;string&quot;},originalUndelimitedContent:{type:&quot;string&quot;},originalContent:{type:&quot;string&quot;,source:&quot;raw&quot;}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,lock:!1,reusable:!1,renaming:!1,visibility:!1,interactivity:{clientNavigation:!0},customCSS:!1}};var FK=o(U(),1),HK=o(v(),1);function OK({attributes:e}){return(0,HK.jsx)(FK.RawHTML,{children:e.originalContent})}var{name:Tv}=Q4,UK={name:Tv,__experimentalLabel(e,{context:t}){if(t===&quot;accessibility&quot;){let{originalName:r}=e,a=r?(0,jK.getBlockType)(r):void 0;return a?a.settings.title||r:&quot;&quot;}},edit:VK,save:OK},oye=()=&gt;E({name:Tv,metadata:Q4,settings:UK});var WE={};Z(WE,{init:()=&gt;cye,metadata:()=&gt;X4,name:()=&gt;XK,settings:()=&gt;J4});var QK=o(P(),1),YK=o(W(),1);var Cm=o(P(),1),zh=o(M(),1),Vh=o(T(),1),Y4=o(W(),1);var is=o(v(),1),aye=(0,Cm.__)(&quot;Read more&quot;);function GK({attributes:{customText:e,noTeaser:t},insertBlocksAfter:r,setAttributes:a}){let n=q();return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Vh.InspectorControls,{children:(0,is.jsx)(zh.__experimentalToolsPanel,{label:(0,Cm.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({noTeaser:!1})},dropdownMenuProps:n,children:(0,is.jsx)(zh.__experimentalToolsPanelItem,{label:(0,Cm.__)(&quot;Hide excerpt&quot;),isShownByDefault:!0,hasValue:()=&gt;t,onDeselect:()=&gt;a({noTeaser:!1}),children:(0,is.jsx)(zh.ToggleControl,{label:(0,Cm.__)(&quot;Hide the excerpt on the full content page&quot;),checked:!!t,onChange:()=&gt;a({noTeaser:!t}),help:i=&gt;i?(0,Cm.__)(&quot;The excerpt is hidden.&quot;):(0,Cm.__)(&quot;The excerpt is visible.&quot;)})})})}),(0,is.jsx)(&quot;div&quot;,{...(0,Vh.useBlockProps)(),children:(0,is.jsx)(Vh.PlainText,{__experimentalVersion:2,tagName:&quot;span&quot;,&quot;aria-label&quot;:(0,Cm.__)(&#039;&quot;Read more&quot; text&#039;),value:e,placeholder:aye,onChange:i=&gt;a({customText:i}),disableLineBreaks:!0,__unstableOnSplitAtEnd:()=&gt;r((0,Y4.createBlock)((0,Y4.getDefaultBlockName)()))})})]})}var X4={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/more&quot;,title:&quot;More&quot;,category:&quot;design&quot;,description:&quot;Content before this block will be shown in the excerpt on your archives page.&quot;,keywords:[&quot;read more&quot;],textdomain:&quot;default&quot;,attributes:{customText:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;},noTeaser:{type:&quot;boolean&quot;,default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1,visibility:!1,interactivity:{clientNavigation:!0},customCSS:!1},editorStyle:&quot;wp-block-more-editor&quot;};var WK=o(U(),1),$K=o(v(),1);function qK({attributes:{customText:e,noTeaser:t}}){let r=e?`&lt;!--more ${e}--&gt;`:&quot;&lt;!--more--&gt;&quot;;return(0,$K.jsx)(WK.RawHTML,{children:[r,t?&quot;&lt;!--noteaser--&gt;&quot;:&quot;&quot;].filter(Boolean).join(`
`)})}var ZK=o(W(),1),iye={from:[{type:&quot;raw&quot;,schema:{&quot;wp-block&quot;:{attributes:[&quot;data-block&quot;]}},isMatch:e=&gt;e.dataset&amp;&amp;e.dataset.block===&quot;core/more&quot;,transform(e){let{customText:t,noTeaser:r}=e.dataset,a={};return t&amp;&amp;(a.customText=t),r===&quot;&quot;&amp;&amp;(a.noTeaser=!0),(0,ZK.createBlock)(&quot;core/more&quot;,a)}}]},KK=iye;var{fieldsKey:lye,formKey:sye}=K(YK.privateApis),{name:XK}=X4,J4={icon:RT,example:{},__experimentalLabel(e,{context:t}){let r=e?.metadata?.name;if((t===&quot;list-view&quot;||t===&quot;breadcrumb&quot;)&amp;&amp;r)return r;if(t===&quot;accessibility&quot;)return e.customText},transforms:KK,edit:GK,save:qK};window.__experimentalContentOnlyInspectorFields&amp;&amp;(J4[lye]=[{id:&quot;customText&quot;,label:(0,QK.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],J4[sye]={fields:[&quot;customText&quot;]});var cye=()=&gt;E({name:XK,metadata:X4,settings:J4});var TD={};Z(TD,{init:()=&gt;p_e,metadata:()=&gt;e3,name:()=&gt;kX,settings:()=&gt;wX});var $3=o(P(),1);var yX=o(V(),1),_X=o(Q(),1),xX=o(Wo(),1);var e3={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/navigation&quot;,title:&quot;Navigation&quot;,category:&quot;theme&quot;,allowedBlocks:[&quot;core/navigation-link&quot;,&quot;core/search&quot;,&quot;core/social-links&quot;,&quot;core/page-list&quot;,&quot;core/spacer&quot;,&quot;core/home-link&quot;,&quot;core/icon&quot;,&quot;core/site-title&quot;,&quot;core/site-logo&quot;,&quot;core/navigation-submenu&quot;,&quot;core/loginout&quot;,&quot;core/buttons&quot;],description:&quot;A collection of blocks that allow visitors to get around your site.&quot;,keywords:[&quot;menu&quot;,&quot;navigation&quot;,&quot;links&quot;],textdomain:&quot;default&quot;,attributes:{ref:{type:&quot;number&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},submenuVisibility:{type:&quot;string&quot;,enum:[&quot;hover&quot;,&quot;click&quot;,&quot;always&quot;],default:&quot;hover&quot;},overlayMenu:{type:&quot;string&quot;,default:&quot;mobile&quot;},overlay:{type:&quot;string&quot;},icon:{type:&quot;string&quot;,default:&quot;handle&quot;},hasIcon:{type:&quot;boolean&quot;,default:!0},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;},maxNestingLevel:{type:&quot;number&quot;,default:5},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]}},providesContext:{textColor:&quot;textColor&quot;,customTextColor:&quot;customTextColor&quot;,backgroundColor:&quot;backgroundColor&quot;,customBackgroundColor:&quot;customBackgroundColor&quot;,overlayTextColor:&quot;overlayTextColor&quot;,customOverlayTextColor:&quot;customOverlayTextColor&quot;,overlayBackgroundColor:&quot;overlayBackgroundColor&quot;,customOverlayBackgroundColor:&quot;customOverlayBackgroundColor&quot;,fontSize:&quot;fontSize&quot;,customFontSize:&quot;customFontSize&quot;,showSubmenuIcon:&quot;showSubmenuIcon&quot;,submenuVisibility:&quot;submenuVisibility&quot;,openSubmenusOnClick:&quot;openSubmenusOnClick&quot;,style:&quot;style&quot;,maxNestingLevel:&quot;maxNestingLevel&quot;},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],ariaLabel:!0,contentRole:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalLetterSpacing:!0,__experimentalTextDecoration:!0,__experimentalSkipSerialization:[&quot;textDecoration&quot;],__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowVerticalAlignment:!1,allowSizingOnChildren:!0,default:{type:&quot;flex&quot;}},interactivity:!0,renaming:!1},editorStyle:&quot;wp-block-navigation-editor&quot;,style:&quot;wp-block-navigation&quot;};var $t=o(U(),1),tt=o(T(),1),Td=o(Q(),1),ss=o(V(),1),Hr=o(M(),1),It=o(P(),1),U3=o(bv(),1);var pX=o(W(),1),dX=o(me(),1);var Fh=o(Q(),1),tQ=o(V(),1);var Pi={name:&quot;core/navigation-link&quot;,attributes:{kind:&quot;post-type&quot;,type:&quot;page&quot;}},JK=[&quot;core/navigation-link/page&quot;,&quot;core/navigation-link&quot;],$E={per_page:100,status:[&quot;publish&quot;,&quot;draft&quot;],order:&quot;desc&quot;,orderby:&quot;date&quot;},eQ=[&quot;postType&quot;,&quot;wp_navigation&quot;,$E],ic=&quot;navigation-overlay&quot;;function Hh(e){let t=(0,Fh.useResourcePermissions)({kind:&quot;postType&quot;,name:&quot;wp_navigation&quot;,id:e}),{navigationMenu:r,isNavigationMenuResolved:a,isNavigationMenuMissing:n}=(0,tQ.useSelect)(h=&gt;mye(h,e),[e]),{canCreate:i,canUpdate:l,canDelete:s,isResolving:c,hasResolved:u}=t,{records:m,isResolving:p,hasResolved:d}=(0,Fh.useEntityRecords)(&quot;postType&quot;,&quot;wp_navigation&quot;,$E),f=e?m?.length&gt;1:m?.length&gt;0;return{navigationMenu:r,isNavigationMenuResolved:a,isNavigationMenuMissing:n,navigationMenus:m,isResolvingNavigationMenus:p,hasResolvedNavigationMenus:d,canSwitchNavigationMenu:f,canUserCreateNavigationMenus:i,isResolvingCanUserCreateNavigationMenus:c,hasResolvedCanUserCreateNavigationMenus:u,canUserUpdateNavigationMenu:l,hasResolvedCanUserUpdateNavigationMenu:e?u:void 0,canUserDeleteNavigationMenu:s,hasResolvedCanUserDeleteNavigationMenu:e?u:void 0}}function mye(e,t){if(!t)return{isNavigationMenuResolved:!1,isNavigationMenuMissing:!0};let{getEntityRecord:r,getEditedEntityRecord:a,hasFinishedResolution:n}=e(Fh.store),i=[&quot;postType&quot;,&quot;wp_navigation&quot;,t],l=r(...i),s=a(...i),c=n(&quot;getEditedEntityRecord&quot;,i),u=s.status===&quot;publish&quot;||s.status===&quot;draft&quot;;return{isNavigationMenuResolved:c,isNavigationMenuMissing:c&amp;&amp;(!l||!u),navigationMenu:u?s:null}}var t3=o(Q(),1);function Oh(e){let{records:t,isResolving:r,hasResolved:a}=(0,t3.useEntityRecords)(&quot;root&quot;,&quot;menu&quot;,{per_page:-1,context:&quot;view&quot;}),{records:n,isResolving:i,hasResolved:l}=(0,t3.useEntityRecords)(&quot;postType&quot;,&quot;page&quot;,{parent:0,order:&quot;asc&quot;,orderby:&quot;id&quot;,per_page:-1,context:&quot;view&quot;}),{records:s,hasResolved:c}=(0,t3.useEntityRecords)(&quot;root&quot;,&quot;menuItem&quot;,{menus:e,per_page:-1,context:&quot;view&quot;},{enabled:!!e});return{pages:n,isResolvingPages:i,hasResolvedPages:l,hasPages:!!(l&amp;&amp;n?.length),menus:t,isResolvingMenus:r,hasResolvedMenus:a,hasMenus:!!(a&amp;&amp;t?.length),menuItems:s,hasResolvedMenuItems:c}}var Uh=o(M(),1),Iv=o(P(),1);var qE=o(bv(),1),aQ=o(U(),1);var rQ=o(P(),1),Pv=o(v(),1),pye=({isVisible:e=!0})=&gt;(0,Pv.jsx)(&quot;div&quot;,{&quot;aria-hidden&quot;:e?void 0:!0,className:&quot;wp-block-navigation-placeholder__preview&quot;,children:(0,Pv.jsxs)(&quot;div&quot;,{className:&quot;wp-block-navigation-placeholder__actions__indicator&quot;,children:[(0,Pv.jsx)(Wa,{icon:Tp}),(0,rQ.__)(&quot;Navigation&quot;)]})}),r3=pye;var ls=o(M(),1);var an=o(P(),1),o3=o(Wo(),1),jh=o(U(),1),oQ=o(Q(),1);var cl=o(v(),1);function dye(e,t,r){return e?r===&quot;publish&quot;?(0,o3.decodeEntities)(e):(0,an.sprintf)((0,an.__)(&quot;%1$s (%2$s)&quot;),(0,o3.decodeEntities)(e),r):(0,an.sprintf)((0,an.__)(&quot;(no title %s)&quot;),t)}function fye({currentMenuId:e,onSelectNavigationMenu:t,onSelectClassicMenu:r,onCreateNew:a,actionLabel:n,createNavigationMenuIsSuccess:i,createNavigationMenuIsError:l}){let s=(0,an.__)(&quot;Create from &#039;%s&#039;&quot;),[c,u]=(0,jh.useState)(!1);n=n||s;let{menus:m}=Oh(),{navigationMenus:p,isResolvingNavigationMenus:d,hasResolvedNavigationMenus:f,canUserCreateNavigationMenus:h,canSwitchNavigationMenu:g,isNavigationMenuMissing:b}=Hh(e),[y]=(0,oQ.useEntityProp)(&quot;postType&quot;,&quot;wp_navigation&quot;,&quot;title&quot;,e),k=(0,jh.useMemo)(()=&gt;p?.map(({id:z,title:I,status:R},$)=&gt;{let j=dye(I?.rendered,$+1,R);return{value:z,label:j,ariaLabel:(0,an.sprintf)(n,j),disabled:c||d||!f}})||[],[p,n,d,f,c]),_=!!p?.length,x=!!m?.length,S=!!g,C=!!h,N=_&amp;&amp;!e,B=!_&amp;&amp;f,D=f&amp;&amp;e===null,A=e&amp;&amp;b,H=&quot;&quot;;return d?H=(0,an.__)(&quot;Loading\u2026&quot;):N||B||D||A?H=(0,an.__)(&quot;Choose or create a Navigation Menu&quot;):H=y,(0,jh.useEffect)(()=&gt;{c&amp;&amp;(i||l)&amp;&amp;u(!1)},[f,i,h,l,c,D,B,N]),(0,cl.jsx)(ls.DropdownMenu,{label:H,icon:q0,toggleProps:{size:&quot;small&quot;},children:({onClose:z})=&gt;(0,cl.jsxs)(cl.Fragment,{children:[S&amp;&amp;_&amp;&amp;(0,cl.jsx)(ls.MenuGroup,{label:(0,an.__)(&quot;Menus&quot;),children:(0,cl.jsx)(ls.MenuItemsChoice,{value:e,onSelect:I=&gt;{t(I),z()},choices:k})}),C&amp;&amp;x&amp;&amp;(0,cl.jsx)(ls.MenuGroup,{label:(0,an.__)(&quot;Import Classic Menus&quot;),children:m?.map(I=&gt;{let R=(0,o3.decodeEntities)(I.name);return(0,cl.jsx)(ls.MenuItem,{onClick:async()=&gt;{u(!0),await r(I),u(!1),z()},&quot;aria-label&quot;:(0,an.sprintf)(s,R),disabled:c||d||!f,children:R},I.id)})}),h&amp;&amp;(0,cl.jsx)(ls.MenuGroup,{label:(0,an.__)(&quot;Tools&quot;),children:(0,cl.jsx)(ls.MenuItem,{onClick:async()=&gt;{u(!0),await a(),u(!1),z()},disabled:c||d||!f,children:(0,an.__)(&quot;Create new Menu&quot;)})})]})})}var Bv=fye;var Na=o(v(),1);function nQ({isSelected:e,currentMenuId:t,clientId:r,canUserCreateNavigationMenus:a=!1,isResolvingCanUserCreateNavigationMenus:n,onSelectNavigationMenu:i,onSelectClassicMenu:l,onCreateEmpty:s}){let{isResolvingMenus:c,hasResolvedMenus:u}=Oh();(0,aQ.useEffect)(()=&gt;{e&amp;&amp;(c&amp;&amp;(0,qE.speak)((0,Iv.__)(&quot;Loading navigation block setup options\u2026&quot;)),u&amp;&amp;(0,qE.speak)((0,Iv.__)(&quot;Navigation block setup options ready.&quot;)))},[u,c,e]);let m=c&amp;&amp;n;return(0,Na.jsx)(Na.Fragment,{children:(0,Na.jsxs)(Uh.Placeholder,{className:&quot;wp-block-navigation-placeholder&quot;,children:[(0,Na.jsx)(r3,{isVisible:!e}),(0,Na.jsx)(&quot;div&quot;,{&quot;aria-hidden&quot;:e?void 0:!0,className:&quot;wp-block-navigation-placeholder__controls&quot;,children:(0,Na.jsxs)(&quot;div&quot;,{className:&quot;wp-block-navigation-placeholder__actions&quot;,children:[(0,Na.jsxs)(&quot;div&quot;,{className:&quot;wp-block-navigation-placeholder__actions__indicator&quot;,children:[(0,Na.jsx)(Wa,{icon:Tp}),&quot; &quot;,(0,Iv.__)(&quot;Navigation&quot;)]}),(0,Na.jsx)(&quot;hr&quot;,{}),m&amp;&amp;(0,Na.jsx)(Uh.Spinner,{}),(0,Na.jsx)(Bv,{currentMenuId:t,clientId:r,onSelectNavigationMenu:i,onSelectClassicMenu:l}),(0,Na.jsx)(&quot;hr&quot;,{}),a&amp;&amp;(0,Na.jsx)(Uh.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:s,children:(0,Iv.__)(&quot;Start empty&quot;)})]})})]})})}var ZE=o(M(),1),Wh=o(P(),1),KE=o(T(),1),iQ=o(V(),1),lQ=o(Q(),1);var Nv=o(L(),1);var Gh=o(v(),1);function lc({icon:e}){return e===&quot;menu&quot;?(0,Gh.jsx)(Wa,{icon:LT}):(0,Gh.jsxs)(Nv.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,height:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,focusable:&quot;false&quot;,children:[(0,Gh.jsx)(Nv.Rect,{x:&quot;4&quot;,y:&quot;7.5&quot;,width:&quot;16&quot;,height:&quot;1.5&quot;}),(0,Gh.jsx)(Nv.Rect,{x:&quot;4&quot;,y:&quot;15&quot;,width:&quot;16&quot;,height:&quot;1.5&quot;})]})}function nn(e,t){return e&amp;&amp;t?e+&quot;//&quot;+t:null}var Bi=o(v(),1);function QE({children:e,id:t,isOpen:r,isResponsive:a,onToggle:n,isHiddenByDefault:i,overlayBackgroundColor:l,overlayTextColor:s,hasIcon:c,icon:u,overlay:m,onNavigateToEntityRecord:p}){let d=(0,iQ.useSelect)(x=&gt;x(lQ.store).getCurrentTheme()?.stylesheet,[]);if(!a)return e;let f=!!m,h=w(&quot;wp-block-navigation__responsive-container&quot;,!f&amp;&amp;{&quot;has-text-color&quot;:!!s.color||!!s?.class,[(0,KE.getColorClassName)(&quot;color&quot;,s?.slug)]:!!s?.slug,&quot;has-background&quot;:!!l.color||l?.class,[(0,KE.getColorClassName)(&quot;background-color&quot;,l?.slug)]:!!l?.slug},{&quot;is-menu-open&quot;:r,&quot;hidden-by-default&quot;:i}),g=f?{}:{color:!s?.slug&amp;&amp;s?.color,backgroundColor:!l?.slug&amp;&amp;l?.color&amp;&amp;l.color},b=w(&quot;wp-block-navigation__responsive-container-open&quot;,{&quot;always-shown&quot;:i}),y=`${t}-modal`,k={className:&quot;wp-block-navigation__responsive-dialog&quot;,...r&amp;&amp;{role:&quot;dialog&quot;,&quot;aria-modal&quot;:!0,&quot;aria-label&quot;:(0,Wh.__)(&quot;Menu&quot;)}},_=()=&gt;{if(m&amp;&amp;p){let x=nn(d,m);p({postId:x,postType:&quot;wp_template_part&quot;});return}n(!0)};return(0,Bi.jsxs)(Bi.Fragment,{children:[!r&amp;&amp;(0,Bi.jsxs)(ZE.Button,{__next40pxDefaultSize:!0,&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-label&quot;:c&amp;&amp;(0,Wh.__)(&quot;Open menu&quot;),className:b,onClick:_,children:[c&amp;&amp;(0,Bi.jsx)(lc,{icon:u}),!c&amp;&amp;(0,Wh.__)(&quot;Menu&quot;)]}),(0,Bi.jsx)(&quot;div&quot;,{className:h,style:g,id:y,children:(0,Bi.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__responsive-close&quot;,tabIndex:&quot;-1&quot;,children:(0,Bi.jsxs)(&quot;div&quot;,{...k,children:[(0,Bi.jsxs)(ZE.Button,{__next40pxDefaultSize:!0,className:&quot;wp-block-navigation__responsive-container-close&quot;,&quot;aria-label&quot;:c&amp;&amp;(0,Wh.__)(&quot;Close menu&quot;),onClick:()=&gt;n(!1),children:[c&amp;&amp;(0,Bi.jsx)(Wa,{icon:yp}),!c&amp;&amp;(0,Wh.__)(&quot;Close&quot;)]}),(0,Bi.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__responsive-container-content&quot;,id:`${y}-content`,children:e})]})})})]})}var sQ=o(Q(),1),$h=o(T(),1),cQ=o(V(),1),uQ=o(U(),1);var YE=o(v(),1);function mQ({clientId:e,hasCustomPlaceholder:t,orientation:r,templateLock:a}){let{isImmediateParentOfSelectedBlock:n,selectedBlockHasChildren:i,isSelected:l,hasSelectedDescendant:s}=(0,cQ.useSelect)(b=&gt;{let{getBlockCount:y,hasSelectedInnerBlock:k,getSelectedBlockClientId:_}=b($h.store),x=_();return{isImmediateParentOfSelectedBlock:k(e,!1),selectedBlockHasChildren:!!y(x),hasSelectedDescendant:k(e,!0),isSelected:x===e}},[e]),[c,u,m]=(0,sQ.useEntityBlockEditor)(&quot;postType&quot;,&quot;wp_navigation&quot;),p=l||n&amp;&amp;!i,d=(0,uQ.useMemo)(()=&gt;(0,YE.jsx)(r3,{}),[]),f=!!c?.length,h=!t&amp;&amp;!f&amp;&amp;!l,g=(0,$h.useInnerBlocksProps)({className:&quot;wp-block-navigation__container&quot;},{value:c,onInput:u,onChange:m,prioritizedInserterBlocks:JK,defaultBlock:Pi,directInsert:!0,orientation:r,templateLock:a,renderAppender:l||n&amp;&amp;!i||s||p?$h.InnerBlocks.ButtonBlockAppender:!1,placeholder:h?d:void 0,__experimentalCaptureToolbars:!0,__unstableDisableLayoutClassNames:!0});return(0,YE.jsx)(&quot;div&quot;,{...g})}var pQ=o(M(),1),dQ=o(Q(),1),fQ=o(P(),1),hQ=o(v(),1);function gQ(){let[e,t]=(0,dQ.useEntityProp)(&quot;postType&quot;,&quot;wp_navigation&quot;,&quot;title&quot;);return(0,hQ.jsx)(pQ.TextControl,{__next40pxDefaultSize:!0,label:(0,fQ.__)(&quot;Menu name&quot;),value:e,onChange:t})}var yQ=o(T(),1),XE=o(M(),1),_Q=o(Q(),1),xQ=o(V(),1),bd=o(U(),1);function vQ(e,t){return!bQ(e,t,(r,a)=&gt;{if(a?.name===&quot;core/page-list&quot;&amp;&amp;r===&quot;innerBlocks&quot;)return!0})}var bQ=(e,t,r)=&gt;{if(e===t)return!0;if(typeof e==&quot;object&quot;&amp;&amp;e!==null&amp;&amp;e!==void 0&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;t!==void 0){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let a in e)if(t.hasOwnProperty(a)){if(r&amp;&amp;r(a,e))return!0;if(!bQ(e[a],t[a],r))return!1}else return!1;return!0}return!1};var kQ=o(v(),1),hye={};function wQ({blocks:e,createNavigationMenu:t,hasSelection:r}){let a=(0,bd.useRef)();(0,bd.useEffect)(()=&gt;{a?.current||(a.current=e)},[e]);let n=vQ(a?.current,e),i=(0,bd.useContext)(XE.Disabled.Context),l=(0,yQ.useInnerBlocksProps)({className:&quot;wp-block-navigation__container&quot;},{renderAppender:r?void 0:!1,defaultBlock:Pi,directInsert:!0}),{isSaving:s,hasResolvedAllNavigationMenus:c}=(0,xQ.useSelect)(m=&gt;{if(i)return hye;let{hasFinishedResolution:p,isSavingEntityRecord:d}=m(_Q.store);return{isSaving:d(&quot;postType&quot;,&quot;wp_navigation&quot;),hasResolvedAllNavigationMenus:p(&quot;getEntityRecords&quot;,eQ)}},[i]);return(0,bd.useEffect)(()=&gt;{i||s||!c||!r||!n||t(null,e)},[e,t,i,s,c,n,r]),(0,kQ.jsx)(s?XE.Disabled:&quot;div&quot;,{...l})}var n3=o(M(),1),i3=o(Q(),1),CQ=o(V(),1),SQ=o(U(),1),a3=o(P(),1),yd=o(v(),1);function TQ({onDelete:e}){let[t,r]=(0,SQ.useState)(!1),a=(0,i3.useEntityId)(&quot;postType&quot;,&quot;wp_navigation&quot;),{deleteEntityRecord:n}=(0,CQ.useDispatch)(i3.store);return(0,yd.jsxs)(yd.Fragment,{children:[(0,yd.jsx)(n3.Button,{__next40pxDefaultSize:!0,className:&quot;wp-block-navigation-delete-menu-button&quot;,variant:&quot;secondary&quot;,isDestructive:!0,onClick:()=&gt;{r(!0)},children:(0,a3.__)(&quot;Delete menu&quot;)}),t&amp;&amp;(0,yd.jsx)(n3.__experimentalConfirmDialog,{isOpen:!0,onConfirm:()=&gt;{n(&quot;postType&quot;,&quot;wp_navigation&quot;,a,{force:!0}),e()},onCancel:()=&gt;{r(!1)},confirmButtonText:(0,a3.__)(&quot;Delete&quot;),size:&quot;medium&quot;,children:(0,a3.__)(&quot;Are you sure you want to delete this Navigation Menu?&quot;)})]})}var Ev=o(U(),1),PQ=o(V(),1),BQ=o(xr(),1);function gye({name:e,message:t=&quot;&quot;}={}){let r=(0,Ev.useRef)(),{createWarningNotice:a,removeNotice:n}=(0,PQ.useDispatch)(BQ.store),i=(0,Ev.useCallback)(s=&gt;{r.current||(r.current=e,a(s||t,{id:r.current,type:&quot;snackbar&quot;}))},[r,a,t,e]),l=(0,Ev.useCallback)(()=&gt;{r.current&amp;&amp;(n(r.current),r.current=null)},[r,n]);return[i,l]}var l3=gye;var sc=o(M(),1),Sm=o(P(),1);var Ii=o(v(),1);function IQ({setAttributes:e,hasIcon:t,icon:r}){return(0,Ii.jsxs)(Ii.Fragment,{children:[(0,Ii.jsx)(sc.__experimentalToolsPanelItem,{label:(0,Sm.__)(&quot;Show icon button&quot;),isShownByDefault:!0,hasValue:()=&gt;!t,onDeselect:()=&gt;e({hasIcon:!0}),children:(0,Ii.jsx)(sc.ToggleControl,{label:(0,Sm.__)(&quot;Show icon button&quot;),help:(0,Sm.__)(&quot;Configure the visual appearance of the button that toggles the overlay menu.&quot;),onChange:a=&gt;e({hasIcon:a}),checked:t})}),(0,Ii.jsx)(sc.__experimentalToolsPanelItem,{label:(0,Sm.__)(&quot;Icon&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==&quot;handle&quot;,onDeselect:()=&gt;e({icon:&quot;handle&quot;}),children:(0,Ii.jsxs)(sc.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:&quot;wp-block-navigation__overlay-menu-icon-toggle-group&quot;,label:(0,Sm.__)(&quot;Icon&quot;),value:r,onChange:a=&gt;e({icon:a}),isBlock:!0,children:[(0,Ii.jsx)(sc.__experimentalToggleGroupControlOption,{value:&quot;handle&quot;,&quot;aria-label&quot;:(0,Sm.__)(&quot;handle&quot;),label:(0,Ii.jsx)(lc,{icon:&quot;handle&quot;})}),(0,Ii.jsx)(sc.__experimentalToggleGroupControlOption,{value:&quot;menu&quot;,&quot;aria-label&quot;:(0,Sm.__)(&quot;menu&quot;),label:(0,Ii.jsx)(lc,{icon:&quot;menu&quot;})})]})})]})}var v3=o(M(),1),rY=o(P(),1),oY=o(U(),1);var ul=o(U(),1),WQ=o(me(),1),d3=o(Q(),1),f3=o(V(),1),ln=o(M(),1),ia=o(P(),1),tD=o(Wo(),1),$Q=o(xr(),1);var zQ=o(U(),1),m3=o(V(),1),VQ=o(Q(),1),FQ=o(T(),1),HQ=o(P(),1),xd=o(W(),1);var Tm=function(){return Tm=Object.assign||function(t){for(var r,a=1,n=arguments.length;a&lt;n;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&amp;&amp;(t[i]=r[i])}return t},Tm.apply(this,arguments)};function NQ(e){return e.toLowerCase()}var vye=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],bye=/[^A-Z0-9]+/gi;function s3(e,t){t===void 0&amp;&amp;(t={});for(var r=t.splitRegexp,a=r===void 0?vye:r,n=t.stripRegexp,i=n===void 0?bye:n,l=t.transform,s=l===void 0?NQ:l,c=t.delimiter,u=c===void 0?&quot; &quot;:c,m=EQ(EQ(e,a,&quot;$1\0$2&quot;),i,&quot;\0&quot;),p=0,d=m.length;m.charAt(p)===&quot;\0&quot;;)p++;for(;m.charAt(d-1)===&quot;\0&quot;;)d--;return m.slice(p,d).split(&quot;\0&quot;).map(s).join(u)}function EQ(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(a,n){return a.replace(n,r)},e)}function DQ(e){return e.charAt(0).toUpperCase()+e.substr(1)}function yye(e){return DQ(e.toLowerCase())}function LQ(e,t){return t===void 0&amp;&amp;(t={}),s3(e,Tm({delimiter:&quot; &quot;,transform:yye},t))}function MQ(e,t){return t===void 0&amp;&amp;(t={}),s3(e,Tm({delimiter:&quot;.&quot;},t))}function c3(e,t){return t===void 0&amp;&amp;(t={}),MQ(e,Tm({delimiter:&quot;-&quot;},t))}function JE(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function eD(e,t,r){if(!e)return;t(JE(e).color);let a=e,n=JE(a).backgroundColor;for(;n===&quot;rgba(0, 0, 0, 0)&quot;&amp;&amp;a.parentNode&amp;&amp;a.parentNode.nodeType===a.parentNode.ELEMENT_NODE;)a=a.parentNode,n=JE(a).backgroundColor;r(n)}function _d(e,t){let{textColor:r,customTextColor:a,backgroundColor:n,customBackgroundColor:i,overlayTextColor:l,customOverlayTextColor:s,overlayBackgroundColor:c,customOverlayBackgroundColor:u,style:m}=e,p={};return t&amp;&amp;s?p.customTextColor=s:t&amp;&amp;l?p.textColor=l:a?p.customTextColor=a:r?p.textColor=r:m?.color?.text&amp;&amp;(p.customTextColor=m.color.text),t&amp;&amp;u?p.customBackgroundColor=u:t&amp;&amp;c?p.backgroundColor=c:i?p.customBackgroundColor=i:n?p.backgroundColor=n:m?.color?.background&amp;&amp;(p.customTextColor=m.color.background),p}function u3(e){return{className:w(&quot;wp-block-navigation__submenu-container&quot;,{&quot;has-text-color&quot;:!!(e.textColor||e.customTextColor),[`has-${e.textColor}-color`]:!!e.textColor,&quot;has-background&quot;:!!(e.backgroundColor||e.customBackgroundColor),[`has-${e.backgroundColor}-background-color`]:!!e.backgroundColor}),style:{color:e.customTextColor,backgroundColor:e.customBackgroundColor}}}var AQ=(e,t)=&gt;{let r=e.toLowerCase(),a=t.map(i=&gt;i.title.rendered.toLowerCase());if(!a.includes(r))return e;let n=2;for(;a.includes(`${r} ${n}`);)n++;return`${e} ${n}`},RQ=e=&gt;c3(e).replace(/[^\w-]+/g,&quot;&quot;)||&quot;wp-custom-part&quot;;function OQ(e){let{saveEntityRecord:t}=(0,m3.useDispatch)(VQ.store),r=(0,m3.useSelect)(n=&gt;K(n(FQ.store)).getPatternBySlug(&quot;core/navigation-overlay&quot;),[]);return(0,zQ.useCallback)(async()=&gt;{let n=e.filter(u=&gt;u.title?.rendered),i=AQ((0,HQ.__)(&quot;Navigation Overlay&quot;),n),l=RQ(i),s=&quot;&quot;;if(r?.content){let u=(0,xd.parse)(r.content,{__unstableSkipMigrationLogs:!0});s=(0,xd.serialize)(u)}else s=(0,xd.serialize)([(0,xd.createBlock)(&quot;core/paragraph&quot;)]);return await t(&quot;postType&quot;,&quot;wp_template_part&quot;,{slug:l,title:i,content:s,area:ic},{throwOnError:!0})},[e,t,r])}var Dv=o(M(),1),jQ=o(P(),1),UQ=o(U(),1),p3=o(v(),1);function _ye({onClear:e,onCreate:t,isCreating:r=!1}){let a=(0,UQ.createInterpolateElement)((0,jQ.__)(&quot;The selected overlay template part is missing or has been deleted. &lt;clearButton&gt;Reset to default overlay&lt;/clearButton&gt; or &lt;createButton&gt;create a new overlay&lt;/createButton&gt;.&quot;),{clearButton:(0,p3.jsx)(Dv.Button,{__next40pxDefaultSize:!0,onClick:e,variant:&quot;link&quot;,disabled:r,accessibleWhenDisabled:!0}),createButton:(0,p3.jsx)(Dv.Button,{__next40pxDefaultSize:!0,onClick:t,variant:&quot;link&quot;,disabled:r,accessibleWhenDisabled:!0,isBusy:r})});return(0,p3.jsx)(Dv.Notice,{status:&quot;warning&quot;,isDismissible:!1,className:&quot;wp-block-navigation__deleted-overlay-warning&quot;,children:a})}var GQ=_ye;var ho=o(v(),1);function rD({overlay:e,overlayMenu:t,setAttributes:r,onNavigateToEntityRecord:a,isCreatingOverlay:n,setIsCreatingOverlay:i}){let l=(0,WQ.useInstanceId)(rD,&quot;wp-block-navigation__overlay-selector-heading&quot;),{records:s,isResolving:c,hasResolved:u}=(0,d3.useEntityRecords)(&quot;postType&quot;,&quot;wp_template_part&quot;,{per_page:-1}),{createErrorNotice:m}=(0,f3.useDispatch)($Q.store),p=(0,f3.useSelect)(F=&gt;F(d3.store).getCurrentTheme()?.stylesheet,[]),[d,f]=(0,ul.useState)(!1),h=n!==void 0?n:d,g=i!==void 0?i:f,b=(0,ul.useMemo)(()=&gt;s?s.filter(F=&gt;F.area===ic):[],[s]),y=OQ(b),k=(0,ul.useMemo)(()=&gt;!e||!b?null:b.find(F=&gt;F.slug===e),[e,b]),_=(0,ul.useMemo)(()=&gt;{let F=[{label:(0,ia.__)(&quot;Default&quot;),value:&quot;&quot;}];if(!u||c)return F;let z=b.map(I=&gt;({label:I.title?.rendered?(0,tD.decodeEntities)(I.title.rendered):I.slug,value:I.slug}));return e&amp;&amp;!k&amp;&amp;z.unshift({label:(0,ia.sprintf)((0,ia.__)(&quot;%s (missing)&quot;),e),value:e}),[...F,...z]},[b,u,c,e,k]),x=F=&gt;{r({overlay:F||void 0})},S=()=&gt;{if(!e||!k||!a)return;let F=k.theme||p,I={postId:nn(F,e),postType:&quot;wp_template_part&quot;};t===&quot;mobile&quot;&amp;&amp;(I.viewport=&quot;mobile&quot;),a(I)},C=(0,ul.useCallback)(async()=&gt;{try{g(!0);let F=await y();if(r({overlay:F.slug}),a){let z=F.theme||p,R={postId:nn(z,F.slug),postType:&quot;wp_template_part&quot;};t===&quot;mobile&quot;&amp;&amp;(R.viewport=&quot;mobile&quot;),a(R)}else g(!1)}catch(F){let z=F instanceof Error&amp;&amp;&quot;code&quot;in F&amp;&amp;F.message&amp;&amp;F.code!==&quot;unknown_error&quot;?F.message:(0,ia.__)(&quot;An error occurred while creating the overlay.&quot;);m(z,{type:&quot;snackbar&quot;}),g(!1)}},[y,r,a,m,p,g,t]),N=(0,ul.useCallback)(()=&gt;{r({overlay:void 0})},[r]),B=c||h,D=(0,ul.useMemo)(()=&gt;e&amp;&amp;u&amp;&amp;!c&amp;&amp;!k,[e,u,c,k]),A=(0,ul.useMemo)(()=&gt;b.length===0&amp;&amp;u?(0,ia.__)(&quot;No overlays found.&quot;):(0,ia.__)(&quot;Select an overlay for navigation.&quot;),[b.length,u]),H=(0,ul.useMemo)(()=&gt;k?(0,ia.sprintf)((0,ia.__)(&quot;Edit overlay: %s&quot;),k.title?.rendered?(0,tD.decodeEntities)(k.title.rendered):k.slug):(0,ia.__)(&quot;Edit overlay&quot;),[k]);return(0,ho.jsxs)(&quot;div&quot;,{className:&quot;wp-block-navigation__overlay-selector&quot;,children:[(0,ho.jsx)(&quot;h3&quot;,{id:l,className:&quot;wp-block-navigation__overlay-selector-header&quot;,children:(0,ia.__)(&quot;Overlay template&quot;)}),u&amp;&amp;(b.length===0||h&amp;&amp;b.length===1)?(0,ho.jsx)(ho.Fragment,{children:(0,ho.jsx)(ln.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:C,disabled:B,accessibleWhenDisabled:!0,isBusy:h,className:&quot;wp-block-navigation__overlay-create-button-prominent&quot;,children:(0,ia.__)(&quot;Create overlay&quot;)})}):(0,ho.jsxs)(ho.Fragment,{children:[(0,ho.jsx)(ln.Button,{size:&quot;small&quot;,icon:If,onClick:C,disabled:B,accessibleWhenDisabled:!0,isBusy:h,label:(0,ia.__)(&quot;Create new overlay template&quot;),showTooltip:!0,className:&quot;wp-block-navigation__overlay-create-button&quot;}),(0,ho.jsxs)(ln.__experimentalHStack,{alignment:&quot;flex-start&quot;,className:&quot;wp-block-navigation__overlay-selector-controls&quot;,children:[(0,ho.jsx)(ln.FlexBlock,{children:(0,ho.jsx)(ln.SelectControl,{__next40pxDefaultSize:!0,label:(0,ia.__)(&quot;Overlay template&quot;),hideLabelFromVision:!0,&quot;aria-labelledby&quot;:l,value:e||&quot;&quot;,options:_,onChange:x,disabled:c,accessibleWhenDisabled:!0,help:A})}),e&amp;&amp;u&amp;&amp;k&amp;&amp;(0,ho.jsx)(ln.FlexItem,{children:(0,ho.jsx)(ln.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:S,disabled:!a,accessibleWhenDisabled:!0,label:H,showTooltip:!0,className:&quot;wp-block-navigation__overlay-edit-button&quot;,children:(0,ia.__)(&quot;Edit&quot;)})})]}),D&amp;&amp;(0,ho.jsx)(GQ,{onClear:N,onCreate:C,isCreating:h})]}),(0,ho.jsx)(ln.__experimentalHStack,{alignment:&quot;flex-start&quot;,className:&quot;wp-block-navigation__overlay-help-text-wrapper&quot;,children:(0,ho.jsx)(ln.__experimentalText,{variant:&quot;muted&quot;,isBlock:!0,className:&quot;wp-block-navigation__overlay-help-text&quot;,children:(0,ia.__)(&quot;An overlay template allows you to customize the appearance of the dialog that opens when the menu button is pressed.&quot;)})})]})}var qh=o(M(),1),kd=o(P(),1),Zh=o(v(),1);function qQ({overlayMenu:e,setAttributes:t}){return(0,Zh.jsxs)(qh.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,kd.__)(&quot;Overlay Visibility&quot;),&quot;aria-label&quot;:(0,kd.__)(&quot;Configure overlay visibility&quot;),value:e,help:(0,kd.__)(&quot;Collapses the navigation options in a menu icon opening an overlay.&quot;),onChange:r=&gt;t({overlayMenu:r}),isBlock:!0,children:[(0,Zh.jsx)(qh.__experimentalToggleGroupControlOption,{value:&quot;never&quot;,label:(0,kd.__)(&quot;Off&quot;)}),(0,Zh.jsx)(qh.__experimentalToggleGroupControlOption,{value:&quot;mobile&quot;,label:(0,kd.__)(&quot;Mobile&quot;)}),(0,Zh.jsx)(qh.__experimentalToggleGroupControlOption,{value:&quot;always&quot;,label:(0,kd.__)(&quot;Always&quot;)})]})}var g3=o(M(),1),h3=o(P(),1);var uu=o(M(),1),Kh=o(P(),1);var cu=o(v(),1);function ZQ({hasIcon:e,icon:t,setAttributes:r}){return(0,cu.jsxs)(uu.__experimentalVStack,{spacing:4,children:[(0,cu.jsx)(uu.ToggleControl,{label:(0,Kh.__)(&quot;Show icon button&quot;),help:(0,Kh.__)(&quot;Configure the visual appearance of the button that toggles the overlay menu.&quot;),onChange:a=&gt;r({hasIcon:a}),checked:e}),(0,cu.jsxs)(uu.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:&quot;wp-block-navigation__overlay-menu-icon-toggle-group&quot;,label:(0,Kh.__)(&quot;Icon&quot;),value:t,onChange:a=&gt;r({icon:a}),isBlock:!0,children:[(0,cu.jsx)(uu.__experimentalToggleGroupControlOption,{value:&quot;handle&quot;,&quot;aria-label&quot;:(0,Kh.__)(&quot;handle&quot;),label:(0,cu.jsx)(lc,{icon:&quot;handle&quot;})}),(0,cu.jsx)(uu.__experimentalToggleGroupControlOption,{value:&quot;menu&quot;,&quot;aria-label&quot;:(0,Kh.__)(&quot;menu&quot;),label:(0,cu.jsx)(lc,{icon:&quot;menu&quot;})})]})]})}var Ea=o(v(),1);function KQ({isResponsive:e,overlayMenuPreview:t,setOverlayMenuPreview:r,hasIcon:a,icon:n,setAttributes:i,overlayMenuPreviewClasses:l,overlayMenuPreviewId:s,containerStyle:c}){return e?(0,Ea.jsxs)(Ea.Fragment,{children:[(0,Ea.jsxs)(g3.Button,{__next40pxDefaultSize:!0,className:l,onClick:()=&gt;r(!t),&quot;aria-label&quot;:(0,h3.__)(&quot;Overlay menu controls&quot;),&quot;aria-controls&quot;:s,&quot;aria-expanded&quot;:t,children:[a&amp;&amp;(0,Ea.jsxs)(Ea.Fragment,{children:[(0,Ea.jsx)(lc,{icon:n}),(0,Ea.jsx)(Wa,{icon:yp})]}),!a&amp;&amp;(0,Ea.jsxs)(Ea.Fragment,{children:[(0,Ea.jsx)(&quot;span&quot;,{children:(0,h3.__)(&quot;Menu&quot;)}),(0,Ea.jsx)(&quot;span&quot;,{children:(0,h3.__)(&quot;Close&quot;)})]})]}),t&amp;&amp;(0,Ea.jsx)(g3.__experimentalVStack,{id:s,spacing:4,style:c,children:(0,Ea.jsx)(ZQ,{hasIcon:a,icon:n,setAttributes:i})})]}):null}var QQ=o(V(),1),YQ=o(Q(),1),oD=o(U(),1),XQ=o(W(),1),JQ=o(M(),1),eY=o(P(),1),aD=o(T(),1);var wd=o(v(),1);function tY({overlay:e,currentTheme:t}){let r=(0,oD.useMemo)(()=&gt;!e||!t?null:nn(t,e),[t,e]),{content:a,editedBlocks:n,hasResolved:i}=(0,QQ.useSelect)(s=&gt;{if(!r)return{content:null,editedBlocks:null,hasResolved:!0};let{getEditedEntityRecord:c,hasFinishedResolution:u}=s(YQ.store),m=c(&quot;postType&quot;,&quot;wp_template_part&quot;,r,{context:&quot;view&quot;});return{content:m?.content,editedBlocks:m?.blocks,hasResolved:u(&quot;getEditedEntityRecord&quot;,[&quot;postType&quot;,&quot;wp_template_part&quot;,r,{context:&quot;view&quot;}])}},[r]),l=(0,oD.useMemo)(()=&gt;r?n&amp;&amp;n.length&gt;0?n:a&amp;&amp;typeof a==&quot;string&quot;?(0,XQ.parse)(a):[]:null,[r,n,a]);return e?i?(0,wd.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__overlay-preview&quot;,&quot;aria-label&quot;:(0,eY.__)(&quot;Navigation Overlay template part preview&quot;),role:&quot;region&quot;,children:(0,wd.jsx)(aD.BlockPreview.Async,{placeholder:(0,wd.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__overlay-preview-placeholder&quot;}),children:(0,wd.jsx)(aD.BlockPreview,{blocks:l,viewportWidth:400,minHeight:200})})}):(0,wd.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__overlay-preview-loading&quot;,children:(0,wd.jsx)(JQ.Spinner,{})}):null}var Pm=o(v(),1);function aY({overlayMenu:e,overlay:t,setAttributes:r,onNavigateToEntityRecord:a,overlayMenuPreview:n,setOverlayMenuPreview:i,hasIcon:l,icon:s,overlayMenuPreviewClasses:c,overlayMenuPreviewId:u,isResponsive:m,currentTheme:p,hasOverlays:d}){let[f,h]=(0,oY.useState)(!1);return(0,Pm.jsx)(v3.PanelBody,{title:(0,rY.__)(&quot;Overlay&quot;),initialOpen:!0,children:(0,Pm.jsxs)(v3.__experimentalVStack,{spacing:4,children:[(0,Pm.jsx)(qQ,{overlayMenu:e,setAttributes:r}),e!==&quot;never&quot;&amp;&amp;(0,Pm.jsx)(KQ,{isResponsive:m,overlayMenuPreview:n,setOverlayMenuPreview:i,hasIcon:l,icon:s,setAttributes:r,overlayMenuPreviewClasses:c,overlayMenuPreviewId:u}),e!==&quot;never&quot;&amp;&amp;(0,Pm.jsx)(rD,{overlay:t,overlayMenu:e,setAttributes:r,onNavigateToEntityRecord:a,isCreatingOverlay:f,setIsCreatingOverlay:h}),e!==&quot;never&quot;&amp;&amp;t&amp;&amp;d&amp;&amp;!f&amp;&amp;(0,Pm.jsx)(tY,{overlay:t,currentTheme:p})]})})}var x3=o(V(),1),iD=o(Q(),1),Yh=o(U(),1),cc=o(P(),1);var Lv=o(W(),1),lY=o(Yc(),1);var nD=o(U(),1),b3=o(T(),1),nY=o(V(),1),iY=o(Q(),1);function Qh(e){if(e===void 0)throw new Error(&#039;buildNavigationLinkEntityBinding requires a kind parameter. Only &quot;post-type&quot; and &quot;taxonomy&quot; are supported.&#039;);if(e!==&quot;post-type&quot;&amp;&amp;e!==&quot;taxonomy&quot;)throw new Error(`Invalid kind &quot;${e}&quot; provided to buildNavigationLinkEntityBinding. Only &#039;post-type&#039; and &#039;taxonomy&#039; are supported.`);return{url:{source:e===&quot;taxonomy&quot;?&quot;core/term-data&quot;:&quot;core/post-data&quot;,args:{field:&quot;link&quot;}}}}function Ni({clientId:e,attributes:t}){let{updateBlockBindings:r}=(0,b3.useBlockBindingsUtils)(e),{metadata:a,id:n,kind:i,type:l}=t,s=(0,b3.useBlockEditingMode)(),c=!!a?.bindings?.url&amp;&amp;!!n,u=i===&quot;post-type&quot;?&quot;core/post-data&quot;:&quot;core/term-data&quot;,m=c&amp;&amp;a?.bindings?.url?.source===u,{isBoundEntityAvailable:p,entityRecord:d}=(0,nY.useSelect)(g=&gt;{if(!m||!n)return{isBoundEntityAvailable:!1,entityRecord:null};let b=i===&quot;post-type&quot;,y=i===&quot;taxonomy&quot;;if(!b&amp;&amp;!y)return{isBoundEntityAvailable:!1,entityRecord:null};if(s===&quot;disabled&quot;)return{isBoundEntityAvailable:!0,entityRecord:null};let{getEntityRecord:k,hasFinishedResolution:_}=g(iY.store),x=y?&quot;taxonomy&quot;:&quot;postType&quot;,S=l===&quot;tag&quot;?&quot;post_tag&quot;:l,C=k(x,S,n);return{isBoundEntityAvailable:_(&quot;getEntityRecord&quot;,[x,S,n])?C!==void 0:!0,entityRecord:C||null}},[i,l,n,m,s]),f=(0,nD.useCallback)(()=&gt;{c&amp;&amp;r({url:void 0})},[r,c]),h=(0,nD.useCallback)(g=&gt;{let b=g?.kind??i;if(b)try{let y=Qh(b);r(y)}catch(y){console.warn(&quot;Failed to create entity binding:&quot;,y.message)}},[r,i]);return{hasUrlBinding:m,isBoundEntityAvailable:p,entityRecord:d,clearBinding:f,createBinding:h}}function sY(e){if(!e)return null;let t=kye(e),r=cY(t);return(0,lY.applyFilters)(&quot;blocks.navigation.__unstableMenuItemsToBlocks&quot;,r,e)}function cY(e,t=0){let r={};return{innerBlocks:[...e].sort((i,l)=&gt;i.menu_order-l.menu_order).map(i=&gt;{if(i.type===&quot;block&quot;){let[p]=(0,Lv.parse)(i.content.raw);return p||(0,Lv.createBlock)(&quot;core/freeform&quot;,{content:i.content})}let l=i.children?.length?&quot;core/navigation-submenu&quot;:&quot;core/navigation-link&quot;,s=xye(i,l,t),{innerBlocks:c=[],mapping:u={}}=i.children?.length?cY(i.children,t+1):{};r={...r,...u};let m=(0,Lv.createBlock)(l,s,c);return r[i.id]=m.clientId,m}),mapping:r}}function xye({title:e,xfn:t,classes:r,attr_title:a,object:n,object_id:i,description:l,url:s,type:c,target:u},m,p){n&amp;&amp;n===&quot;post_tag&quot;&amp;&amp;(n=&quot;tag&quot;);let d=c?.replace(&quot;_&quot;,&quot;-&quot;)||&quot;custom&quot;;return{label:e?.rendered||&quot;&quot;,...n?.length&amp;&amp;{type:n},kind:d,url:s||&quot;&quot;,...t?.length&amp;&amp;t.join(&quot; &quot;).trim()&amp;&amp;{rel:t.join(&quot; &quot;).trim()},...r?.length&amp;&amp;r.join(&quot; &quot;).trim()&amp;&amp;{className:r.join(&quot; &quot;).trim()},...a?.length&amp;&amp;{title:a},...i&amp;&amp;(d===&quot;post-type&quot;||d===&quot;taxonomy&quot;)&amp;&amp;{id:i,metadata:{bindings:Qh(d)}},...l?.length&amp;&amp;{description:l},...u===&quot;_blank&quot;&amp;&amp;{opensInNewTab:!0},...m===&quot;core/navigation-submenu&quot;&amp;&amp;{isTopLevelItem:p===0},...m===&quot;core/navigation-link&quot;&amp;&amp;{isTopLevelLink:p===0}}}function kye(e,t=&quot;id&quot;,r=&quot;parent&quot;){let a=Object.create(null),n=[];for(let i of e)a[i[t]]={...i,children:[]},i[r]?(a[i[r]]=a[i[r]]||{},a[i[r]].children=a[i[r]].children||[],a[i[r]].children.push(a[i[t]])):n.push(a[i[t]]);return n}var lD=&quot;success&quot;,_3=&quot;error&quot;,k3=&quot;pending&quot;,wye=&quot;idle&quot;,y3=null;function Cye(e,{throwOnError:t=!1}={}){let r=(0,x3.useRegistry)(),{editEntityRecord:a}=(0,x3.useDispatch)(iD.store),[n,i]=(0,Yh.useState)(wye),[l,s]=(0,Yh.useState)(null),c=(0,Yh.useCallback)(async(m,p,d=&quot;publish&quot;)=&gt;{let f,h;try{h=await r.resolveSelect(iD.store).getMenuItems({menus:m,per_page:-1,context:&quot;view&quot;})}catch(b){throw new Error((0,cc.sprintf)((0,cc.__)(&#039;Unable to fetch classic menu &quot;%s&quot; from API.&#039;),p),{cause:b})}if(h===null)throw new Error((0,cc.sprintf)((0,cc.__)(&#039;Unable to fetch classic menu &quot;%s&quot; from API.&#039;),p));let{innerBlocks:g}=sY(h);try{f=await e(p,g,d),await a(&quot;postType&quot;,&quot;wp_navigation&quot;,f.id,{status:&quot;publish&quot;},{throwOnError:!0})}catch(b){throw new Error((0,cc.sprintf)((0,cc.__)(&#039;Unable to create Navigation Menu &quot;%s&quot;.&#039;),p),{cause:b})}return f},[e,a,r]);return{convert:(0,Yh.useCallback)(async(m,p,d)=&gt;{if(y3!==m){if(y3=m,!m||!p){s(&quot;Unable to convert menu. Missing menu details.&quot;),i(_3);return}return i(k3),s(null),await c(m,p,d).then(f=&gt;(i(lD),y3=null,f)).catch(f=&gt;{if(s(f?.message),i(_3),y3=null,t)throw new Error((0,cc.sprintf)((0,cc.__)(&#039;Unable to create Navigation Menu &quot;%s&quot;.&#039;),p),{cause:f})})}},[c,t]),status:n,error:l}}var uY=Cye;var kY=o(W(),1),wY=o(Q(),1),CY=o(V(),1),Jh=o(U(),1);var hY=o(M(),1),gY=o(Q(),1),vY=o(V(),1),w3=o(U(),1),Mv=o(P(),1);var mY=o(T(),1),pY=o(Q(),1),dY=o(V(),1);var Xh=e=&gt;e===&quot;header&quot;?K9:e===&quot;footer&quot;?E9:e===&quot;sidebar&quot;?YP:e===&quot;navigation-overlay&quot;?VT:u1;function fY(e){return(0,dY.useSelect)(t=&gt;{if(!e)return;let{getBlock:r,getBlockParentsByBlockName:a}=t(mY.store),i=a(e,&quot;core/template-part&quot;,!0);if(!i?.length)return;let{getCurrentTheme:l,getEditedEntityRecord:s}=t(pY.store),c=l(),m=(c?.default_template_part_areas||[]).map(p=&gt;({...p,icon:Xh(p.icon)}));for(let p of i){let d=r(p),{theme:f=c?.stylesheet,slug:h}=d.attributes,g=nn(f,h),b=s(&quot;postType&quot;,&quot;wp_template_part&quot;,g);if(b?.area)return m.find(y=&gt;y.area!==&quot;uncategorized&quot;&amp;&amp;y.area===b.area)?.label}},[e])}var Sye=[&quot;postType&quot;,&quot;wp_navigation&quot;,{status:&quot;draft&quot;,per_page:-1}],Tye=[&quot;postType&quot;,&quot;wp_navigation&quot;,{per_page:-1,status:&quot;publish&quot;}];function bY(e){let t=(0,w3.useContext)(hY.Disabled.Context),r=fY(t?void 0:e),a=(0,vY.useRegistry)();return(0,w3.useCallback)(async()=&gt;{if(t)return&quot;&quot;;let{getEntityRecords:n}=a.resolveSelect(gY.store),[i,l]=await Promise.all([n(...Sye),n(...Tye)]),s=r?(0,Mv.sprintf)((0,Mv.__)(&quot;%s menu&quot;),r):(0,Mv.__)(&quot;Menu&quot;),c=[...i,...l].reduce((m,p)=&gt;p?.title?.raw?.startsWith(s)?m+1:m,0);return(c&gt;0?`${s} ${c+1}`:s)||&quot;&quot;},[t,r,a])}var yY=&quot;success&quot;,C3=&quot;error&quot;,_Y=&quot;pending&quot;,xY=&quot;idle&quot;;function SY(e){let[t,r]=(0,Jh.useState)(xY),[a,n]=(0,Jh.useState)(null),[i,l]=(0,Jh.useState)(null),{saveEntityRecord:s,editEntityRecord:c}=(0,CY.useDispatch)(wY.store),u=bY(e);return{create:(0,Jh.useCallback)(async(p=null,d=[],f)=&gt;{if(p&amp;&amp;typeof p!=&quot;string&quot;)throw l(&quot;Invalid title supplied when creating Navigation Menu.&quot;),r(C3),new Error(&quot;Value of supplied title argument was not a string.&quot;);r(_Y),n(null),l(null),p||(p=await u().catch(g=&gt;{throw l(g?.message),r(C3),new Error(&quot;Failed to create title when saving new Navigation Menu.&quot;,{cause:g})}));let h={title:p,content:(0,kY.serialize)(d),status:f};return s(&quot;postType&quot;,&quot;wp_navigation&quot;,h).then(g=&gt;(n(g),r(yY),f!==&quot;publish&quot;&amp;&amp;c(&quot;postType&quot;,&quot;wp_navigation&quot;,g.id,{status:&quot;publish&quot;}),g)).catch(g=&gt;{throw l(g?.message),r(C3),new Error(&quot;Unable to save new Navigation Menu&quot;,{cause:g})})},[s,c,u]),status:t,value:a,error:i,isIdle:t===xY,isPending:t===_Y,isSuccess:t===yY,isError:t===C3}}var TY=o(V(),1),PY=o(T(),1),Pye=[];function BY(e){return(0,TY.useSelect)(t=&gt;{let{getBlock:r,getBlocks:a,hasSelectedInnerBlock:n}=t(PY.store),i=r(e).innerBlocks,l=!!i?.length,s=l?Pye:a(e);return{innerBlocks:l?i:s,hasUncontrolledInnerBlocks:l,uncontrolledInnerBlocks:i,controlledInnerBlocks:s,isInnerBlockSelected:n(e,!0)}},[e])}var IY=o(mr(),1),S3=o(M(),1),NY=o(P(),1),EY=o(v(),1),Bye=({className:e=&quot;&quot;,disabled:t,isMenuItem:r=!1})=&gt;{let a=S3.Button;return r&amp;&amp;(a=S3.MenuItem),(0,EY.jsx)(a,{variant:&quot;link&quot;,disabled:t,className:e,href:(0,IY.addQueryArgs)(&quot;edit.php&quot;,{post_type:&quot;wp_navigation&quot;}),children:(0,NY.__)(&quot;Manage menus&quot;)})},DY=Bye;var fu=o(T(),1),hu=o(M(),1),Zv=o(V(),1),du=o(P(),1),iX=o(U(),1);var LY=o(T(),1),P3=o(M(),1),MY=o(P(),1),B3=o(U(),1),T3=o(v(),1);function Iye({onCreateNew:e,isNotice:t=!1}){let[r,a]=(0,B3.useState)(!1),n=()=&gt;{a(!0),e()},i=(0,B3.createInterpolateElement)((0,MY.__)(&quot;Navigation Menu has been deleted or is unavailable. &lt;button&gt;Create a new Menu?&lt;/button&gt;&quot;),{button:(0,T3.jsx)(P3.Button,{__next40pxDefaultSize:!0,onClick:n,variant:&quot;link&quot;,disabled:r,accessibleWhenDisabled:!0})});return t?(0,T3.jsx)(P3.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:i}):(0,T3.jsx)(LY.Warning,{children:i})}var I3=Iye;var sD=o(W(),1);var uc=o(M(),1),Av=o(V(),1),Bm=o(P(),1),eg=o(T(),1);var Ei=o(v(),1),Nye={className:&quot;block-editor-block-settings-menu__popover&quot;,placement:&quot;bottom-start&quot;},Eye=[&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;];function Dye({block:e,onClose:t,expandedState:r,expand:a,setInsertedBlock:n}){let{insertBlock:i,replaceBlock:l,replaceInnerBlocks:s}=(0,Av.useDispatch)(eg.store),c=e.clientId,u=!Eye.includes(e.name);return(0,Ei.jsx)(uc.MenuItem,{icon:vp,disabled:u,onClick:()=&gt;{let p=(0,sD.createBlock)(Pi.name,Pi.attributes);if(e.name===&quot;core/navigation-submenu&quot;)i(p,e.innerBlocks.length,c,!1);else{let d=(0,sD.createBlock)(&quot;core/navigation-submenu&quot;,e.attributes,e.innerBlocks);l(c,d),s(d.clientId,[p],!1)}n(p),r[e.clientId]||a(e.clientId),t()},children:(0,Bm.__)(&quot;Add submenu link&quot;)})}function AY(e){let{block:t}=e,{clientId:r}=t,{moveBlocksDown:a,moveBlocksUp:n,removeBlocks:i}=(0,Av.useDispatch)(eg.store),l=(0,Bm.sprintf)((0,Bm.__)(&quot;Remove %s&quot;),(0,eg.BlockTitle)({clientId:r,maximumLength:25})),s=(0,Av.useSelect)(c=&gt;{let{getBlockRootClientId:u}=c(eg.store);return u(r)},[r]);return(0,Ei.jsx)(uc.DropdownMenu,{icon:q0,label:(0,Bm.__)(&quot;Options&quot;),className:&quot;block-editor-block-settings-menu&quot;,popoverProps:Nye,noIcons:!0,...e,children:({onClose:c})=&gt;(0,Ei.jsxs)(Ei.Fragment,{children:[(0,Ei.jsxs)(uc.MenuGroup,{children:[(0,Ei.jsx)(uc.MenuItem,{icon:T0,onClick:()=&gt;{n([r],s),c()},children:(0,Bm.__)(&quot;Move up&quot;)}),(0,Ei.jsx)(uc.MenuItem,{icon:bp,onClick:()=&gt;{a([r],s),c()},children:(0,Bm.__)(&quot;Move down&quot;)}),(0,Ei.jsx)(Dye,{block:t,onClose:c,expandedState:e.expandedState,expand:e.expand,setInsertedBlock:e.setInsertedBlock})]}),(0,Ei.jsx)(uc.MenuGroup,{children:(0,Ei.jsx)(uc.MenuItem,{onClick:()=&gt;{i([r],!1),c()},children:l})})]})})}var Ao=o(M(),1),Wt=o(P(),1),JY=o(ai(),1),jv=o(T(),1),z3=o(V(),1),eX=o(Q(),1);var zY=o(U(),1),VY=o(V(),1),FY=o(T(),1),HY=o(ai(),1),OY=o(cD(),1);var uD=o(cD(),1),Rv=o(mr(),1),Lye=(e,t)=&gt;{if(!e||!t)return!1;let r=h=&gt;h?h.replace(/\/+$/,&quot;&quot;):&quot;&quot;,a=(h,g=null)=&gt;{try{let b=g||(typeof window&lt;&quot;u&quot;?window.location.origin:&quot;https://wordpress.org&quot;);return new URL(h,b)}catch{return null}},n=a(e);if(!n)return!0;let i=a(t,e);if(!i)return!0;let l=n.hostname,s=i.hostname,c=r((0,Rv.getPath)(n.toString())),u=r((0,Rv.getPath)(i.toString()));if(l!==s||c!==u)return!0;let m=n.searchParams.get(&quot;p&quot;),p=i.searchParams.get(&quot;p&quot;);if(m&amp;&amp;p&amp;&amp;m!==p)return!0;let d=n.searchParams.get(&quot;page_id&quot;),f=i.searchParams.get(&quot;page_id&quot;);return!!(d&amp;&amp;f&amp;&amp;d!==f||m&amp;&amp;f||d&amp;&amp;p)},zv=(e={},t,r={})=&gt;{let{label:a=&quot;&quot;,kind:n=&quot;&quot;,type:i=&quot;&quot;}=r,{title:l=&quot;&quot;,label:s=&quot;&quot;,url:c,opensInNewTab:u,id:m,kind:p=n,type:d=i}=e,f=l||s,h=f.replace(/http(s?):\/\//gi,&quot;&quot;),g=c?.replace(/http(s?):\/\//gi,&quot;&quot;)??&quot;&quot;,y=f&amp;&amp;f!==a&amp;&amp;h!==g?(0,uD.escapeHTML)(f):a||(0,uD.escapeHTML)(g),k=d===&quot;post_tag&quot;?&quot;tag&quot;:d.replace(&quot;-&quot;,&quot;_&quot;),_=[&quot;post&quot;,&quot;page&quot;,&quot;tag&quot;,&quot;category&quot;].indexOf(k)&gt;-1,S=!p&amp;&amp;!_||p===&quot;custom&quot;?&quot;custom&quot;:p,C={...c!==void 0?{url:c&amp;&amp;encodeURI((0,Rv.safeDecodeURI)(c))}:{},...y&amp;&amp;{label:y},...u!==void 0&amp;&amp;{opensInNewTab:u},...S&amp;&amp;{kind:S},...k&amp;&amp;k!==&quot;URL&quot;&amp;&amp;{type:k}};c&amp;&amp;!m&amp;&amp;r.id?Lye(r.url,c)&amp;&amp;(C.id=void 0,C.kind=&quot;custom&quot;,C.type=&quot;custom&quot;):m&amp;&amp;Number.isInteger(m)?C.id=m:r.id&amp;&amp;(C.kind=S,C.type=k),t(C);let N=&quot;id&quot;in C?C.id:r.id,B=&quot;kind&quot;in C?C.kind:r.kind;return{isEntityLink:!!N&amp;&amp;B!==&quot;custom&quot;,attributes:C}};function Cd({clientId:e,attributes:t,setAttributes:r,allowTextUpdate:a=!1}){let{updateBlockAttributes:n}=(0,VY.useDispatch)(FY.store),{hasUrlBinding:i,createBinding:l,clearBinding:s}=Ni({clientId:e,attributes:t});return(0,zY.useCallback)(c=&gt;{if(!c)return;let u={url:c.url,kind:c.kind,type:c.type,id:c.id},m=t.label?(0,HY.__unstableStripHTML)(t.label):&quot;&quot;,p=c.title??&quot;&quot;,d=a&amp;&amp;c.title!==void 0&amp;&amp;p!==m,f=d?{label:(0,OY.escapeHTML)(p)}:{};if((!t.label||t.label===&quot;&quot;||d)&amp;&amp;(u.title=c.title),!c.id&amp;&amp;i)s(),n(e,{url:c.url,kind:&quot;custom&quot;,type:&quot;custom&quot;,id:void 0,...f});else{let{isEntityLink:g,attributes:b}=zv(u,r,t);g?l(b):s(),Object.keys(f).length&amp;&amp;n(e,f)}},[t,a,e,i,l,s,r,n])}var A3=o(ai(),1),mu=o(M(),1),Hv=o(P(),1),R3=o(T(),1),Da=o(U(),1),$Y=o(Q(),1);var gD=o(me(),1),qY=o(mr(),1);var On=o(M(),1),Di=o(P(),1),Fv=o(V(),1),L3=o(Q(),1),jY=o(xr(),1),pD=o(Wo(),1),dD=o(U(),1);var N3=o(M(),1),E3=o(P(),1);var Vv=o(me(),1),Im=o(v(),1);function Mye({className:e,onBack:t}){return(0,Im.jsx)(N3.Button,{className:e,icon:(0,E3.isRTL)()?t9:XS,onClick:r=&gt;{r.preventDefault(),t()},size:&quot;small&quot;,children:(0,E3.__)(&quot;Back&quot;)})}function mD({className:e,title:t,description:r,onBack:a,children:n}){let i=(0,Vv.useInstanceId)(mD,&quot;link-ui-dialog-title&quot;),l=(0,Vv.useInstanceId)(mD,&quot;link-ui-dialog-description&quot;),s=(0,Vv.useFocusOnMount)(&quot;firstElement&quot;),c=`${e}__back`;return(0,Im.jsxs)(&quot;div&quot;,{className:e,role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:i,&quot;aria-describedby&quot;:l,ref:s,children:[(0,Im.jsxs)(N3.VisuallyHidden,{children:[(0,Im.jsx)(&quot;h2&quot;,{id:i,children:t}),(0,Im.jsx)(&quot;p&quot;,{id:l,children:r})]}),(0,Im.jsx)(Mye,{className:c,onBack:a}),n]})}var D3=mD;var ml=o(v(),1);function UY({postType:e,onBack:t,onPageCreated:r,initialTitle:a=&quot;&quot;}){let[n,i]=(0,dD.useState)(a),[l,s]=(0,dD.useState)(!0),c=n.trim().length&gt;0,{lastError:u,isSaving:m}=(0,Fv.useSelect)(b=&gt;({lastError:b(L3.store).getLastEntitySaveError(&quot;postType&quot;,e),isSaving:b(L3.store).isSavingEntityRecord(&quot;postType&quot;,e)}),[e]),{saveEntityRecord:p}=(0,Fv.useDispatch)(L3.store),{createSuccessNotice:d,createErrorNotice:f}=(0,Fv.useDispatch)(jY.store);async function h(b){if(b.preventDefault(),!(m||!c))try{let y=await p(&quot;postType&quot;,e,{title:n,status:l?&quot;publish&quot;:&quot;draft&quot;},{throwOnError:!0});if(y){let k={id:y.id,type:e,title:(0,pD.decodeEntities)(y.title.rendered),url:y.link,kind:&quot;post-type&quot;};d((0,Di.sprintf)((0,Di.__)(&quot;%s page created successfully.&quot;),(0,pD.decodeEntities)(y.title.rendered)),{type:&quot;snackbar&quot;,id:&quot;page-created-success&quot;}),r(k)}}catch{f((0,Di.__)(&quot;Failed to create page. Please try again.&quot;),{type:&quot;snackbar&quot;,id:&quot;page-created-error&quot;})}}let g=m||!c;return(0,ml.jsx)(D3,{className:&quot;link-ui-page-creator&quot;,title:(0,Di.__)(&quot;Create page&quot;),description:(0,Di.__)(&quot;Create a new page to add to your Navigation.&quot;),onBack:t,children:(0,ml.jsx)(On.__experimentalVStack,{className:&quot;link-ui-page-creator__inner&quot;,spacing:4,children:(0,ml.jsx)(&quot;form&quot;,{onSubmit:h,children:(0,ml.jsxs)(On.__experimentalVStack,{spacing:4,children:[(0,ml.jsx)(On.TextControl,{__next40pxDefaultSize:!0,label:(0,Di.__)(&quot;Title&quot;),onChange:i,placeholder:(0,Di.__)(&quot;No title&quot;),value:n}),(0,ml.jsx)(On.CheckboxControl,{label:(0,Di.__)(&quot;Publish&quot;),help:(0,Di.__)(&quot;Turn off to save as a draft. Drafts won&#039;t appear on your site until published.&quot;),checked:l,onChange:s}),u&amp;&amp;(0,ml.jsx)(On.Notice,{status:&quot;error&quot;,isDismissible:!1,children:u.message}),(0,ml.jsxs)(On.__experimentalHStack,{spacing:2,justify:&quot;flex-end&quot;,children:[(0,ml.jsx)(On.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:t,disabled:m,accessibleWhenDisabled:!0,children:(0,Di.__)(&quot;Cancel&quot;)}),(0,ml.jsx)(On.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,type:&quot;submit&quot;,isBusy:m,&quot;aria-disabled&quot;:g,children:(0,Di.__)(&quot;Create page&quot;)})]})]})})})})}var fD=o(P(),1),GY=o(V(),1),M3=o(T(),1);var hD=o(v(),1),{PrivateQuickInserter:Aye}=K(M3.privateApis);function Rye({clientId:e,onBack:t,onBlockInsert:r}){let{rootBlockClientId:a}=(0,GY.useSelect)(n=&gt;{let{getBlockRootClientId:i}=n(M3.store);return{rootBlockClientId:i(e)}},[e]);return e?(0,hD.jsx)(D3,{className:&quot;link-ui-block-inserter&quot;,title:(0,fD.__)(&quot;Add block&quot;),description:(0,fD.__)(&quot;Choose a block to add to your Navigation.&quot;),onBack:t,children:(0,hD.jsx)(Aye,{rootClientId:a,clientId:e,isAppender:!1,prioritizePatterns:!1,selectBlockOnInsert:!r,onSelect:r||void 0,hasSearch:!1})}):null}var WY=Rye;var jn=o(v(),1);function vD(e,t){switch(e){case&quot;post&quot;:case&quot;page&quot;:return{type:&quot;post&quot;,subtype:e,perPage:20};case&quot;category&quot;:return{type:&quot;term&quot;,subtype:&quot;category&quot;,perPage:20};case&quot;tag&quot;:return{type:&quot;term&quot;,subtype:&quot;post_tag&quot;,perPage:20};case&quot;post_format&quot;:return{type:&quot;post-format&quot;,perPage:20};default:return t===&quot;taxonomy&quot;?{type:&quot;term&quot;,subtype:e,perPage:20}:t===&quot;post-type&quot;?{type:&quot;post&quot;,subtype:e,perPage:20}:{initialSuggestionsSearchOptions:{type:&quot;post&quot;,subtype:&quot;page&quot;,perPage:20}}}}function zye(e,t){let{label:r,url:a,opensInNewTab:n,type:i,kind:l,id:s}=e.link,{entityRecord:c,hasBinding:u,isEntityAvailable:m}=e.entity||{},{image:p,badges:d}=Ov({url:a,entityRecord:c,type:i,hasBinding:u,isEntityAvailable:m}),{clientId:f}=e,h=i||&quot;page&quot;,[g,b]=(0,Da.useState)(!1),[y,k]=(0,Da.useState)(!1),[_,x]=(0,Da.useState)(null),[S,C]=(0,Da.useState)(&quot;&quot;),N=(0,Da.useRef)(&quot;&quot;),B=O=&gt;{N.current=O,C(O)},D=(0,Da.useRef)(),A=(0,Da.useRef)(),H=(0,Da.useRef)(),F=(0,$Y.useResourcePermissions)({kind:&quot;postType&quot;,name:h}),{isBoundEntityAvailable:z}=Ni({clientId:f,attributes:e.link}),I=(0,Da.useMemo)(()=&gt;({url:a,opensInNewTab:n,title:r&amp;&amp;(0,A3.__unstableStripHTML)(r),kind:l,type:i,id:s,image:p,badges:d}),[r,n,a,l,i,s,p,d]),R=O=&gt;{e.onChange(O),k(!1),x(!0),B(&quot;&quot;)},$=(0,gD.useInstanceId)(pu,&quot;link-ui-link-control__title&quot;),j=(0,gD.useInstanceId)(pu,&quot;link-ui-link-control__description&quot;);(0,Da.useEffect)(()=&gt;{_&amp;&amp;D.current&amp;&amp;(_?.current?_.current.focus():(A3.focus.tabbable.find(D.current)[0]||D.current).focus(),x(!1))},[_]);let G=(0,R3.useBlockEditingMode)();return(0,jn.jsxs)(mu.Popover,{ref:t,placement:&quot;bottom&quot;,onClose:e.onClose,anchor:e.anchor,shift:!0,children:[!g&amp;&amp;!y&amp;&amp;(0,jn.jsxs)(&quot;div&quot;,{ref:D,role:&quot;dialog&quot;,&quot;aria-labelledby&quot;:$,&quot;aria-describedby&quot;:j,children:[(0,jn.jsxs)(mu.VisuallyHidden,{children:[(0,jn.jsx)(&quot;h2&quot;,{id:$,children:(0,Hv.__)(&quot;Add link&quot;)}),(0,jn.jsx)(&quot;p&quot;,{id:j,children:(0,Hv.__)(&quot;Search for and add a link to your Navigation.&quot;)})]}),(0,jn.jsx)(R3.LinkControl,{hasTextControl:!0,hasRichPreviews:!0,value:I,showInitialSuggestions:!0,withCreateSuggestion:!1,noDirectEntry:!!i,noURLSuggestion:!!i,suggestionsQuery:vD(i,l),onChange:e.onChange,onInputChange:O=&gt;{N.current=O},inputValue:S,onRemove:e.onRemove,onCancel:e.onCancel,handleEntities:z,forceIsEditingLink:I?.url?!1:void 0,renderControlBottom:()=&gt;I?.url?.length?null:(0,jn.jsx)(Vye,{addPageButtonRef:A,addBlockButtonRef:H,setAddingBlock:()=&gt;{b(!0)},setAddingPage:()=&gt;{k(!0)},canAddPage:F?.canCreate&amp;&amp;i===&quot;page&quot;,canAddBlock:G===&quot;default&quot;})})]}),g&amp;&amp;(0,jn.jsx)(WY,{clientId:e.clientId,onBack:()=&gt;{b(!1),x(H),B(N.current)},onBlockInsert:e?.onBlockInsert}),y&amp;&amp;(0,jn.jsx)(UY,{postType:h,onBack:()=&gt;{k(!1),x(A),B(N.current)},onPageCreated:R,initialTitle:N.current&amp;&amp;!(0,qY.isURL)(N.current)?N.current:&quot;&quot;})]})}var pu=(0,Da.forwardRef)(zye),Vye=({addPageButtonRef:e,addBlockButtonRef:t,setAddingBlock:r,setAddingPage:a,canAddPage:n,canAddBlock:i})=&gt;{let l=&quot;listbox&quot;;return!n&amp;&amp;!i?null:(0,jn.jsxs)(mu.__experimentalVStack,{spacing:0,className:&quot;link-ui-tools&quot;,children:[n&amp;&amp;(0,jn.jsx)(mu.Button,{__next40pxDefaultSize:!0,ref:e,icon:If,onClick:s=&gt;{s.preventDefault(),a(!0)},&quot;aria-haspopup&quot;:l,children:(0,Hv.__)(&quot;Create page&quot;)}),i&amp;&amp;(0,jn.jsx)(mu.Button,{__next40pxDefaultSize:!0,ref:t,icon:If,onClick:s=&gt;{s.preventDefault(),r(!0)},&quot;aria-haspopup&quot;:l,children:(0,Hv.__)(&quot;Add block&quot;)})]})};var sn=o(P(),1),_D=o(mr(),1),ZY=o(T(),1),bD=o(V(),1),yD=o(Q(),1);var{useRemoteUrlData:Fye,isHashLink:KY,isRelativePath:Hye}=K(ZY.privateApis);function Oye(e){return e.charAt(0).toUpperCase()+e.slice(1)}function jye({linkUrl:e,homeUrl:t}={}){if(!e)return{displayUrl:&quot;&quot;,isExternal:!1};let r=(0,_D.safeDecodeURI)(e),a=!1;if(Hye(e)||KY(e))return{displayUrl:r,isExternal:!1};try{let n=new URL(e),i=new URL(t).host;if(n.host===i){let l=n.pathname+n.search+n.hash;l.endsWith(&quot;/&quot;)&amp;&amp;l.length&gt;1&amp;&amp;(l=l.slice(0,-1)),r=l}else a=!0}catch{a=!0}return{displayUrl:r,isExternal:a}}function Uye({url:e,type:t,isExternal:r,entityStatus:a,hasBinding:n,isEntityAvailable:i}){let l=[];if(e&amp;&amp;(r?l.push({label:(0,sn.__)(&quot;External link&quot;),intent:&quot;default&quot;}):KY(e)?l.push({label:(0,sn.__)(&quot;Internal link&quot;),intent:&quot;default&quot;}):t&amp;&amp;t!==&quot;custom&quot;?l.push({label:Oye(t),intent:&quot;default&quot;}):l.push({label:(0,sn.__)(&quot;Page&quot;),intent:&quot;default&quot;})),n&amp;&amp;!i)l.push({label:(0,sn.sprintf)((0,sn.__)(&quot;Missing %s&quot;),t),intent:&quot;error&quot;});else if(!e)l.push({label:(0,sn.__)(&quot;No link selected&quot;),intent:&quot;error&quot;});else if(a){let c={publish:{label:(0,sn.__)(&quot;Published&quot;),intent:&quot;success&quot;},future:{label:(0,sn.__)(&quot;Scheduled&quot;),intent:&quot;warning&quot;},draft:{label:(0,sn.__)(&quot;Draft&quot;),intent:&quot;warning&quot;},pending:{label:(0,sn.__)(&quot;Pending&quot;),intent:&quot;warning&quot;},private:{label:(0,sn.__)(&quot;Private&quot;),intent:&quot;default&quot;},trash:{label:(0,sn.__)(&quot;Trash&quot;),intent:&quot;error&quot;}}[a];c&amp;&amp;l.push(c)}return l}function Ov({url:e,entityRecord:t,type:r,hasBinding:a,isEntityAvailable:n}){let i=(0,bD.useSelect)(f=&gt;f(yD.store).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;)?.home,[]),l=t?.title?.rendered||t?.title||t?.name,{richData:s}=Fye(l?null:e),{displayUrl:c,isExternal:u}=jye({linkUrl:e,homeUrl:i}),m=(0,bD.useSelect)(f=&gt;{if(!t?.featured_media)return null;let{getEntityRecord:h}=f(yD.store),g=h(&quot;postType&quot;,&quot;attachment&quot;,t.featured_media);return g?.media_details?.sizes?.thumbnail?.source_url||g?.media_details?.sizes?.medium?.source_url||g?.source_url||null},[t?.featured_media]),p=Uye({url:e,type:r,isExternal:u,entityStatus:t?.status,hasBinding:a,isEntityAvailable:n});return{title:e?l||s?.title||(0,_D.safeDecodeURI)(e):(0,sn.__)(&quot;Add link&quot;),url:c,image:m,badges:p}}var QY=o(V(),1),YY=o(Q(),1),XY=o(T(),1),Sd=(e,t,r,a)=&gt;{let n=e===&quot;post-type&quot;||t===&quot;post&quot;||t===&quot;page&quot;,i=Number.isInteger(r),l=(0,XY.useBlockEditingMode)(),{postStatus:s,isDeleted:c}=(0,QY.useSelect)(p=&gt;{if(!n)return{postStatus:null,isDeleted:!1};if(l===&quot;disabled&quot;||!a)return{postStatus:null,isDeleted:!1};let{getEntityRecord:d,hasFinishedResolution:f}=p(YY.store),h=d(&quot;postType&quot;,t,r),b=f(&quot;getEntityRecord&quot;,[&quot;postType&quot;,t,r])&amp;&amp;h===void 0;return{postStatus:h?.status,isDeleted:b}},[n,l,a,t,r]);return[n&amp;&amp;i&amp;&amp;(c||s&amp;&amp;s===&quot;trash&quot;),s===&quot;draft&quot;]};var Mo=o(v(),1),{LinkPicker:Gye,isHashLink:Wye,isRelativePath:$ye}=K(jv.privateApis);function qye(e,t){if(t===&quot;post-type&quot;)switch(e){case&quot;post&quot;:return(0,Wt.__)(&quot;post&quot;);case&quot;page&quot;:return(0,Wt.__)(&quot;page&quot;);default:return e||(0,Wt.__)(&quot;post&quot;)}if(t===&quot;taxonomy&quot;)switch(e){case&quot;category&quot;:return(0,Wt.__)(&quot;category&quot;);case&quot;tag&quot;:return(0,Wt.__)(&quot;tag&quot;);default:return e||(0,Wt.__)(&quot;term&quot;)}return e||(0,Wt.__)(&quot;item&quot;)}function Uv({attributes:e,setAttributes:t,clientId:r,isLinkEditable:a=!0}){let{label:n,url:i,description:l,rel:s,opensInNewTab:c}=e,u=q(),{hasUrlBinding:m,isBoundEntityAvailable:p,entityRecord:d}=Ni({clientId:r,attributes:e}),[f,h]=Sd(e.kind,e.type,d?.id,m),g=&quot;&quot;;f||m&amp;&amp;!p?g=V3():h&amp;&amp;(g=Zye({type:e.type,kind:e.kind}));let b=Cd({clientId:r,attributes:e,setAttributes:t}),y=(0,z3.useSelect)(B=&gt;B(jv.store).getSettings().onNavigateToEntityRecord,[]),k=(0,z3.useSelect)(B=&gt;B(eX.store).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;)?.home,[]),x=(0,z3.useSelect)(B=&gt;B(jv.store).getBlockEditingMode(r),[r])===&quot;contentOnly&quot;,S=Ov({url:i,entityRecord:d,type:e.type,hasBinding:m,isEntityAvailable:p}),C=!!i&amp;&amp;(!Wye(i)||$ye(i)&amp;&amp;!i.startsWith(&quot;/&quot;)),N=C&amp;&amp;i.startsWith(&quot;/&quot;)&amp;&amp;k?k+i:i;return(0,Mo.jsxs)(Ao.__experimentalToolsPanel,{label:(0,Wt.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({label:&quot;&quot;,url:&quot;&quot;,description:&quot;&quot;,rel:&quot;&quot;,opensInNewTab:!1})},dropdownMenuProps:u,children:[(0,Mo.jsx)(Ao.__experimentalToolsPanelItem,{hasValue:()=&gt;!!n,label:(0,Wt.__)(&quot;Text&quot;),onDeselect:()=&gt;t({label:&quot;&quot;}),isShownByDefault:!0,children:(0,Mo.jsx)(Ao.TextControl,{__next40pxDefaultSize:!0,label:(0,Wt.__)(&quot;Text&quot;),value:n?(0,JY.__unstableStripHTML)(n):&quot;&quot;,onChange:B=&gt;{t({label:B})},autoComplete:&quot;off&quot;})}),a&amp;&amp;(0,Mo.jsxs)(Mo.Fragment,{children:[(0,Mo.jsx)(Ao.__experimentalToolsPanelItem,{hasValue:()=&gt;!!i,label:(0,Wt.__)(&quot;Link to&quot;),onDeselect:()=&gt;t({url:void 0,id:void 0,kind:void 0,type:void 0}),isShownByDefault:!0,children:(0,Mo.jsx)(Gye,{preview:S,onSelect:b,suggestionsQuery:vD(e.type,e.kind),label:(0,Wt.__)(&quot;Link to&quot;),help:g||void 0})}),(0,Mo.jsx)(Ao.__experimentalToolsPanelItem,{hasValue:()=&gt;!!c,label:(0,Wt.__)(&quot;Open in new tab&quot;),onDeselect:()=&gt;t({opensInNewTab:!1}),isShownByDefault:!0,children:(0,Mo.jsx)(Ao.CheckboxControl,{label:(0,Wt.__)(&quot;Open in new tab&quot;),checked:c,onChange:B=&gt;t({opensInNewTab:B})})}),!!i&amp;&amp;m&amp;&amp;p&amp;&amp;d?.id&amp;&amp;e.kind===&quot;post-type&quot;&amp;&amp;y&amp;&amp;(0,Mo.jsx)(Ao.Button,{variant:&quot;secondary&quot;,onClick:()=&gt;{y({postId:d.id,postType:e.type})},__next40pxDefaultSize:!0,className:&quot;navigation-link-to__action-button&quot;,children:(0,Wt.__)(&quot;Edit&quot;)}),C&amp;&amp;(0,Mo.jsx)(Ao.Button,{variant:&quot;secondary&quot;,href:N,target:&quot;_blank&quot;,icon:B9,iconPosition:&quot;right&quot;,__next40pxDefaultSize:!0,className:&quot;navigation-link-to__action-button&quot;,children:(0,Wt.__)(&quot;View&quot;)})]}),(0,Mo.jsx)(Ao.__experimentalToolsPanelItem,{hasValue:()=&gt;!!l,label:(0,Wt.__)(&quot;Description&quot;),onDeselect:()=&gt;t({description:&quot;&quot;}),isShownByDefault:!x,children:(0,Mo.jsx)(Ao.TextareaControl,{label:(0,Wt.__)(&quot;Description&quot;),value:l||&quot;&quot;,onChange:B=&gt;{t({description:B})},help:(0,Wt.__)(&quot;The description will be displayed in the menu if the current theme supports it.&quot;)})}),(0,Mo.jsx)(Ao.__experimentalToolsPanelItem,{hasValue:()=&gt;!!s,label:(0,Wt.__)(&quot;Rel attribute&quot;),onDeselect:()=&gt;t({rel:&quot;&quot;}),isShownByDefault:!x,children:(0,Mo.jsx)(Ao.TextControl,{__next40pxDefaultSize:!0,label:(0,Wt.__)(&quot;Rel attribute&quot;),value:s||&quot;&quot;,onChange:B=&gt;{t({rel:B})},autoComplete:&quot;off&quot;,help:(0,Wt.__)(&quot;The relationship of the linked URL as space-separated link types.&quot;)})})]})}function V3(){return(0,Wt.__)(&quot;This link is invalid and will not appear on your site. Please update the link.&quot;)}function Zye({type:e,kind:t}){let r=qye(e,t);return(0,Wt.sprintf)((0,Wt.__)(&quot;This link is to a draft %1$s and will not appear on your site until the %1$s is published.&quot;),r)}var xD=o(P(),1),tX=o(Wo(),1),kD=o(v(),1);function Gv({label:e,isInvalid:t,isDraft:r,className:a=&quot;wp-block-navigation-link__label&quot;}){if(!t&amp;&amp;!r)return null;let n=t?(0,xD.__)(&quot;Invalid&quot;):(0,xD.__)(&quot;Draft&quot;);return(0,kD.jsx)(&quot;div&quot;,{className:w(&quot;wp-block-navigation-link__placeholder-text&quot;,a,{&quot;is-invalid&quot;:t,&quot;is-draft&quot;:r}),children:(0,kD.jsx)(&quot;span&quot;,{children:`${(0,tX.decodeEntities)(e)} (${n})`.trim()})})}var rX=o(V(),1),oX=o(T(),1);function Wv(e){return(0,rX.useSelect)(t=&gt;{let{getSelectedBlockClientId:r,hasSelectedInnerBlock:a,getBlockParentsByBlockName:n}=t(oX.store),i=r(),l=n(e,&quot;core/navigation&quot;)[0];return i===l||a(l,!0)},[e])}var F3=o(U(),1),$v=e=&gt;{let[t,r]=(0,F3.useState)(!1);return(0,F3.useEffect)(()=&gt;{let{ownerDocument:a}=e.current;function n(s){l(s)}function i(){r(!1)}function l(s){e.current.contains(s.target)?r(!0):r(!1)}return a.addEventListener(&quot;dragstart&quot;,n),a.addEventListener(&quot;dragend&quot;,i),a.addEventListener(&quot;dragenter&quot;,l),()=&gt;{a.removeEventListener(&quot;dragstart&quot;,n),a.removeEventListener(&quot;dragend&quot;,i),a.removeEventListener(&quot;dragenter&quot;,l)}},[e]),t};function qv(e){e.current.focus();let{ownerDocument:t}=e.current,{defaultView:r}=t,a=r.getSelection(),n=t.createRange();n.selectNodeContents(e.current),a.removeAllRanges(),a.addRange(n)}var Ro=o(v(),1),aX=(0,du.__)(&quot;Switch to &#039;%s&#039;&quot;),Kye=[&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;],{PrivateListView:Qye,useBlockDisplayTitle:Yye,PrivateBlockContext:Xye,useListViewPanelState:Jye}=K(fu.privateApis);function e_e({block:e,insertedBlock:t,setInsertedBlock:r}){let{updateBlockAttributes:a,removeBlock:n}=(0,Zv.useDispatch)(fu.store),i=Kye?.includes(t?.name),l=t?.clientId===e.clientId,s=i&amp;&amp;l,{createBinding:c,clearBinding:u}=Ni({clientId:t?.clientId,attributes:t?.attributes||{}});if(!s)return null;let m=()=&gt;{!t?.attributes?.url&amp;&amp;t?.clientId&amp;&amp;n(t.clientId,!1),r(null)},p=f=&gt;h=&gt;{f&amp;&amp;a(f,h)},d=f=&gt;{t?.clientId&amp;&amp;f&amp;&amp;n(t.clientId,!1),r(f)};return(0,Ro.jsx)(pu,{clientId:t?.clientId,link:t?.attributes,onBlockInsert:d,onClose:()=&gt;{m()},onChange:f=&gt;{let{isEntityLink:h,attributes:g}=zv(f,p(t?.clientId),t?.attributes);h?c(g):u(),r(null)}})}var nX=({clientId:e,currentMenuId:t,isLoading:r,isNavigationMenuMissing:a,onCreateNew:n,expandRevision:i})=&gt;{let l=(0,Zv.useSelect)(m=&gt;!!m(fu.store).getBlockCount(e),[e]),{openListViewContentPanel:s}=K((0,Zv.useDispatch)(fu.store)),{navigationMenu:c}=Hh(t);if(t&amp;&amp;a)return(0,Ro.jsx)(I3,{onCreateNew:n,isNotice:!0});if(r)return(0,Ro.jsx)(hu.Spinner,{});let u=c?(0,du.sprintf)((0,du.__)(&quot;Structure for Navigation Menu: %s&quot;),c?.title||(0,du.__)(&quot;Untitled menu&quot;)):(0,du.__)(&quot;You have not yet created any menus. Displaying a list of your Pages&quot;);return(0,Ro.jsxs)(&quot;div&quot;,{className:&quot;wp-block-navigation__menu-inspector-controls&quot;,children:[!l&amp;&amp;(0,Ro.jsx)(&quot;p&quot;,{className:&quot;wp-block-navigation__menu-inspector-controls__empty-message&quot;,children:(0,du.__)(&quot;This Navigation Menu is empty.&quot;)}),(0,Ro.jsx)(Qye,{rootClientId:e,isExpanded:!0,description:u,showAppender:!0,blockSettingsMenu:AY,additionalBlockContent:e_e,onSelect:s},`${e}-${i}`)]})},t_e=e=&gt;{let{clientId:t,createNavigationMenuIsSuccess:r,createNavigationMenuIsError:a,currentMenuId:n=null,onCreateNew:i,onSelectClassicMenu:l,onSelectNavigationMenu:s,isManageMenusButtonDisabled:c,blockEditingMode:u}=e,{isSelectionWithinCurrentSection:m}=(0,iX.useContext)(Xye),p=Yye({clientId:t,context:&quot;list-view&quot;}),d=m,{isOpened:f,expandRevision:h,handleToggle:g}=Jye(t);return d?(0,Ro.jsx)(fu.InspectorControls,{group:&quot;list&quot;,children:(0,Ro.jsxs)(hu.PanelBody,{title:(0,du.__)(&quot;Navigation&quot;),opened:f,onToggle:g,children:[u===&quot;default&quot;&amp;&amp;(0,Ro.jsx)(Bv,{currentMenuId:n,onSelectClassicMenu:l,onSelectNavigationMenu:s,onCreateNew:i,createNavigationMenuIsSuccess:r,createNavigationMenuIsError:a,actionLabel:aX,isManageMenusButtonDisabled:c}),(0,Ro.jsx)(nX,{...e,expandRevision:h})]})}):(0,Ro.jsx)(fu.InspectorControls,{group:&quot;list&quot;,children:(0,Ro.jsxs)(hu.PanelBody,{title:null,children:[(0,Ro.jsxs)(hu.__experimentalHStack,{className:&quot;wp-block-navigation-off-canvas-editor__header&quot;,children:[(0,Ro.jsx)(hu.__experimentalHeading,{className:&quot;wp-block-navigation-off-canvas-editor__title&quot;,level:2,children:p}),u===&quot;default&quot;&amp;&amp;(0,Ro.jsx)(Bv,{currentMenuId:n,onSelectClassicMenu:l,onSelectNavigationMenu:s,onCreateNew:i,createNavigationMenuIsSuccess:r,createNavigationMenuIsError:a,actionLabel:aX,isManageMenusButtonDisabled:c})]}),(0,Ro.jsx)(nX,{...e,expandRevision:h})]})})},H3=t_e;var lX=o(M(),1),wD=o(v(),1);function O3({id:e,children:t}){return(0,wD.jsx)(lX.VisuallyHidden,{children:(0,wD.jsx)(&quot;div&quot;,{id:e,className:&quot;wp-block-navigation__description&quot;,children:t})})}var sX=o(Q(),1),j3=o(P(),1);var cX=o(v(),1);function uX({id:e}){let[t]=(0,sX.useEntityProp)(&quot;postType&quot;,&quot;wp_navigation&quot;,&quot;title&quot;),r=(0,j3.sprintf)((0,j3.__)(&#039;Navigation Menu: &quot;%s&quot;&#039;),t);return(0,cX.jsx)(O3,{id:e,children:r})}var CD=o(V(),1),mX=o(Q(),1);function Kv(){let e=(0,CD.select)(&quot;core/editor&quot;);if(!e)return!1;let{getCurrentPostType:t,getCurrentPostId:r}=e,{getEditedEntityRecord:a}=(0,CD.select)(mX.store),n=t?.(),i=r?.();return n===&quot;wp_template_part&quot;&amp;&amp;i?a(&quot;postType&quot;,&quot;wp_template_part&quot;,i)?.area===ic:!1}var ce=o(v(),1);function r_e({clientId:e}){let{insertBlock:t}=(0,ss.useDispatch)(tt.store),{getBlockCount:r}=(0,ss.useSelect)(tt.store),a=(0,$t.useCallback)(()=&gt;{let n=r(e),i=(0,pX.createBlock)(Pi.name,{kind:Pi.attributes.kind,type:Pi.attributes.type});t(i,n,e)},[e,t,r]);return(0,ce.jsx)(tt.BlockControls,{children:(0,ce.jsx)(Hr.ToolbarGroup,{children:(0,ce.jsx)(Hr.ToolbarButton,{name:&quot;add-page&quot;,icon:Fc,onClick:a,children:(0,It.__)(&quot;Add page&quot;)})})})}function o_e({textColor:e,setTextColor:t,backgroundColor:r,setBackgroundColor:a,overlayTextColor:n,setOverlayTextColor:i,overlayBackgroundColor:l,setOverlayBackgroundColor:s,clientId:c,navRef:u,hasCustomOverlay:m}){let[p,d]=(0,$t.useState)(),[f,h]=(0,$t.useState)(),[g,b]=(0,$t.useState)(),[y,k]=(0,$t.useState)(),_=(0,ss.useSelect)(()=&gt;Kv(),[]),x=$t.Platform.OS===&quot;web&quot;;(0,$t.useEffect)(()=&gt;{if(!x)return;eD(u.current,h,d);let N=u.current?.querySelector(&#039;[data-type=&quot;core/navigation-submenu&quot;] [data-type=&quot;core/navigation-link&quot;]&#039;);N&amp;&amp;(n.color||l.color)&amp;&amp;eD(N,k,b)},[x,n.color,l.color,u]);let S=(0,tt.__experimentalUseMultipleOriginColorsAndGradients)();if(!S.hasColorsOrGradients)return null;let C=[{colorValue:e.color,label:(0,It.__)(&quot;Text&quot;),onColorChange:t,resetAllFilter:()=&gt;t(),clearable:!0,enableAlpha:!0},{colorValue:r.color,label:(0,It.__)(&quot;Background&quot;),onColorChange:a,resetAllFilter:()=&gt;a(),clearable:!0,enableAlpha:!0}];return C.push({colorValue:n.color,label:m||_?(0,It.__)(&quot;Submenu text&quot;):(0,It.__)(&quot;Submenu &amp; overlay text&quot;),onColorChange:i,resetAllFilter:()=&gt;i(),clearable:!0,enableAlpha:!0},{colorValue:l.color,label:m||_?(0,It.__)(&quot;Submenu background&quot;):(0,It.__)(&quot;Submenu &amp; overlay background&quot;),onColorChange:s,resetAllFilter:()=&gt;s(),clearable:!0,enableAlpha:!0}),(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(tt.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:C,panelId:c,...S,gradients:[],disableCustomGradients:!0}),x&amp;&amp;(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(tt.ContrastChecker,{backgroundColor:p,textColor:f}),(0,ce.jsx)(tt.ContrastChecker,{backgroundColor:g,textColor:y})]})]})}function a_e({attributes:e,setAttributes:t,clientId:r,isSelected:a,className:n,backgroundColor:i,setBackgroundColor:l,textColor:s,setTextColor:c,overlayBackgroundColor:u,setOverlayBackgroundColor:m,overlayTextColor:p,setOverlayTextColor:d,customPlaceholder:f=null,__unstableLayoutClassNames:h}){let{submenuVisibility:g,overlayMenu:b,overlay:y,showSubmenuIcon:k,templateLock:_,layout:{justifyContent:x,orientation:S=&quot;horizontal&quot;,flexWrap:C=&quot;wrap&quot;}={},hasIcon:N,icon:B=&quot;handle&quot;}=e,D=e.ref,A=(0,$t.useCallback)(tr=&gt;{t({ref:tr})},[t]);(0,$t.useEffect)(()=&gt;{S===&quot;horizontal&quot;&amp;&amp;g===&quot;always&quot;&amp;&amp;t({submenuVisibility:&quot;hover&quot;,showSubmenuIcon:!0})},[S,g,t]);let H=`navigationMenu/${D}`,F=(0,tt.useHasRecursion)(H),{isPreviewMode:z,onNavigateToEntityRecord:I,currentTheme:R}=(0,ss.useSelect)(tr=&gt;{let{getSettings:Tl}=tr(tt.store),Bs=Tl();return{isPreviewMode:Bs.isPreviewMode,onNavigateToEntityRecord:Bs?.onNavigateToEntityRecord,currentTheme:tr(Td.store).getCurrentTheme()?.stylesheet}},[]),$=z?!1:F,j=(0,tt.useBlockEditingMode)(),{menus:G}=Oh(),[O,J]=l3({name:&quot;block-library/core/navigation/status&quot;}),[ee,oe]=l3({name:&quot;block-library/core/navigation/classic-menu-conversion&quot;}),[X,te]=l3({name:&quot;block-library/core/navigation/permissions/update&quot;}),{create:ne,status:le,error:pe,value:Ie,isPending:Ne,isSuccess:ae,isError:Re}=SY(r),Ee=async()=&gt;{await ne(&quot;&quot;)},{hasUncontrolledInnerBlocks:ie,uncontrolledInnerBlocks:fe,isInnerBlockSelected:ke,innerBlocks:je}=BY(r),de=(0,$t.useRef)(!1),ct=(0,ss.useSelect)(tr=&gt;{if(je.some(kf=&gt;kf.name===&quot;core/navigation-submenu&quot;))return!0;let Bs=je.find(kf=&gt;kf.name===&quot;core/page-list&quot;);if(!Bs)return de.current=!1,!1;if(de.current)return!0;let{getBlocks:U7}=tr(tt.store);return U7(Bs.clientId).length&gt;0?(de.current=!0,!0):!1},[je]),{records:at}=(0,Td.useEntityRecords)(&quot;postType&quot;,&quot;wp_template_part&quot;,{per_page:-1}),kt=at?.some(tr=&gt;tr.area===ic)??!1,{replaceInnerBlocks:Wr,selectBlock:ut,__unstableMarkNextChangeAsNotPersistent:br}=(0,ss.useDispatch)(tt.store),[mt,wo]=(0,$t.useState)(!1),[Y,ze]=(0,$t.useState)(!1),{hasResolvedNavigationMenus:Me,isNavigationMenuResolved:Xe,isNavigationMenuMissing:Te,canUserUpdateNavigationMenu:Bt,hasResolvedCanUserUpdateNavigationMenu:yr,canUserDeleteNavigationMenu:xn,hasResolvedCanUserDeleteNavigationMenu:Je,canUserCreateNavigationMenus:$r,isResolvingCanUserCreateNavigationMenus:ip,hasResolvedCanUserCreateNavigationMenus:Cs}=Hh(D),Ru=Me&amp;&amp;Te,{convert:kn,status:ja,error:gf}=uY(ne),zu=ja===k3,Ss=(0,$t.useCallback)((tr,Tl={focusNavigationBlock:!1})=&gt;{let{focusNavigationBlock:Bs}=Tl;A(tr),Bs&amp;&amp;ut(r)},[ut,r,A]),Ts=!Te&amp;&amp;Xe,Pe=ie&amp;&amp;!Ts,{getNavigationFallbackId:Ht}=K((0,ss.useSelect)(Td.store)),qr=D||Pe?null:Ht();(0,$t.useEffect)(()=&gt;{D||Pe||!qr||(br(),A(qr))},[D,A,Pe,qr,br]);let Co=(0,$t.useRef)(),So=(0,ss.useSelect)(()=&gt;Kv(),[]),Sl=So?&quot;div&quot;:&quot;nav&quot;,qi=!D&amp;&amp;!Ne&amp;&amp;!zu&amp;&amp;Me&amp;&amp;G?.length===0&amp;&amp;!ie,Zi=!Me||Ne||zu||!!(D&amp;&amp;!Ts&amp;&amp;!zu),vf=e.style?.typography?.textDecoration,zc=(0,ss.useSelect)(tr=&gt;tr(tt.store).__unstableHasActiveBlockOverlayActive(r),[r]),Ps=(0,$t.useRef)(!1);(0,$t.useEffect)(()=&gt;{So&amp;&amp;(b!==&quot;never&quot;&amp;&amp;t({overlayMenu:&quot;never&quot;}),!Ps.current&amp;&amp;!D&amp;&amp;(Ps.current=!0,t({submenuVisibility:&quot;always&quot;,layout:{...e.layout,orientation:&quot;vertical&quot;},showSubmenuIcon:!1})))},[e.layout,So,b,D,t]);let bf=b!==&quot;never&quot;,lp=(0,tt.useBlockProps)({ref:Co,className:w(n,{&quot;items-justified-right&quot;:x===&quot;right&quot;,&quot;items-justified-space-between&quot;:x===&quot;space-between&quot;,&quot;items-justified-left&quot;:x===&quot;left&quot;,&quot;items-justified-center&quot;:x===&quot;center&quot;,&quot;is-vertical&quot;:S===&quot;vertical&quot;,&quot;no-wrap&quot;:C===&quot;nowrap&quot;,&quot;is-responsive&quot;:bf,&quot;has-text-color&quot;:!!s.color||!!s?.class,[(0,tt.getColorClassName)(&quot;color&quot;,s?.slug)]:!!s?.slug,&quot;has-background&quot;:!!i.color||i.class,[(0,tt.getColorClassName)(&quot;background-color&quot;,i?.slug)]:!!i?.slug,[`has-text-decoration-${vf}`]:vf,&quot;block-editor-block-content-overlay&quot;:zc},h),style:{color:!s?.slug&amp;&amp;s?.color,backgroundColor:!i?.slug&amp;&amp;i?.color}}),sp=async tr=&gt;kn(tr.id,tr.name,&quot;draft&quot;),yf=tr=&gt;{Ss(tr)};(0,$t.useEffect)(()=&gt;{J(),Ne&amp;&amp;(0,U3.speak)((0,It.__)(&quot;Creating Navigation Menu.&quot;)),ae&amp;&amp;(Ss(Ie?.id,{focusNavigationBlock:!0}),O((0,It.__)(&quot;Navigation Menu successfully created.&quot;))),Re&amp;&amp;O((0,It.__)(&quot;Failed to create Navigation Menu.&quot;))},[le,pe,Ie?.id,Re,ae,Ne,Ss,J,O]),(0,$t.useEffect)(()=&gt;{oe(),ja===k3&amp;&amp;(0,U3.speak)((0,It.__)(&quot;Classic menu importing.&quot;)),ja===lD&amp;&amp;(ee((0,It.__)(&quot;Classic menu imported successfully.&quot;)),Ss(Ie?.id,{focusNavigationBlock:!0})),ja===_3&amp;&amp;ee((0,It.__)(&quot;Classic menu import failed.&quot;))},[ja,gf,oe,ee,Ie?.id,Ss]),(0,$t.useEffect)(()=&gt;{!a&amp;&amp;!ke&amp;&amp;te(),(a||ke)&amp;&amp;(D&amp;&amp;!Ru&amp;&amp;yr&amp;&amp;!Bt&amp;&amp;X((0,It.__)(&quot;You do not have permission to edit this Menu. Any changes made will not be saved.&quot;)),!D&amp;&amp;Cs&amp;&amp;!$r&amp;&amp;X((0,It.__)(&quot;You do not have permission to create Navigation Menus.&quot;)))},[a,ke,Bt,yr,$r,Cs,D,te,X,Ru]);let j7=$r||Bt,_b=w(&quot;wp-block-navigation__overlay-menu-preview&quot;,{open:Y}),Vc=!k&amp;&amp;g!==&quot;click&quot;&amp;&amp;g!==&quot;always&quot;?(0,It.__)(&#039;The current menu options offer reduced accessibility for users and are not recommended. Enabling either &quot;Open on Click&quot; or &quot;Show arrow&quot; offers enhanced accessibility by allowing keyboard users to browse submenus selectively.&#039;):&quot;&quot;,xb=(0,$t.useRef)(!0);(0,$t.useEffect)(()=&gt;{!xb.current&amp;&amp;Vc&amp;&amp;(0,U3.speak)(Vc),xb.current=!1},[Vc]);let p0=(0,dX.useInstanceId)(IQ,&quot;overlay-menu-preview&quot;),kb=q(),_f=(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(tt.InspectorControls,{children:ct&amp;&amp;(0,ce.jsx)(Hr.__experimentalToolsPanel,{label:(0,It.__)(&quot;Display&quot;),resetAll:()=&gt;{t({showSubmenuIcon:!0,submenuVisibility:&quot;hover&quot;,overlayMenu:&quot;mobile&quot;,hasIcon:!0,icon:&quot;handle&quot;})},dropdownMenuProps:kb,children:ct&amp;&amp;(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(&quot;h3&quot;,{className:&quot;wp-block-navigation__submenu-header&quot;,children:(0,It.__)(&quot;Submenus&quot;)}),(0,ce.jsx)(Hr.__experimentalToolsPanelItem,{hasValue:()=&gt;g!==&quot;hover&quot;,label:(0,It.__)(&quot;Submenu Visibility&quot;),onDeselect:()=&gt;t({submenuVisibility:&quot;hover&quot;}),isShownByDefault:!0,children:(0,ce.jsxs)(Hr.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,It.__)(&quot;Submenu Visibility&quot;),value:g,onChange:tr=&gt;{let Tl={submenuVisibility:tr};tr===&quot;always&quot;?Tl.showSubmenuIcon=!1:(tr===&quot;click&quot;||g===&quot;always&quot;)&amp;&amp;(Tl.showSubmenuIcon=!0),t(Tl)},isBlock:!0,children:[(0,ce.jsx)(Hr.__experimentalToggleGroupControlOption,{value:&quot;hover&quot;,label:(0,It.__)(&quot;Hover&quot;)}),(0,ce.jsx)(Hr.__experimentalToggleGroupControlOption,{value:&quot;click&quot;,label:(0,It.__)(&quot;Click&quot;)}),S===&quot;vertical&quot;&amp;&amp;(0,ce.jsx)(Hr.__experimentalToggleGroupControlOption,{value:&quot;always&quot;,label:(0,It.__)(&quot;Always&quot;)})]})}),(0,ce.jsx)(Hr.__experimentalToolsPanelItem,{hasValue:()=&gt;!k,label:(0,It.__)(&quot;Show arrow&quot;),onDeselect:()=&gt;t({showSubmenuIcon:!0}),isDisabled:g===&quot;click&quot;||g===&quot;always&quot;,isShownByDefault:!0,children:(0,ce.jsx)(Hr.ToggleControl,{checked:k,onChange:tr=&gt;{t({showSubmenuIcon:tr})},disabled:g===&quot;click&quot;||g===&quot;always&quot;,label:(0,It.__)(&quot;Show arrow&quot;)})}),Vc&amp;&amp;(0,ce.jsx)(Hr.Notice,{spokenMessage:null,status:&quot;warning&quot;,isDismissible:!1,className:&quot;wp-block-navigation__submenu-accessibility-notice&quot;,children:Vc})]})})}),!So&amp;&amp;(0,ce.jsx)(tt.InspectorControls,{children:(0,ce.jsx)(aY,{overlayMenu:b,overlay:y,setAttributes:t,onNavigateToEntityRecord:I,overlayMenuPreview:Y,setOverlayMenuPreview:ze,hasIcon:N,icon:B,overlayMenuPreviewClasses:_b,overlayMenuPreviewId:p0,isResponsive:bf,currentTheme:R,hasOverlays:kt})}),(0,ce.jsx)(tt.InspectorControls,{group:&quot;color&quot;,children:(0,ce.jsx)(o_e,{textColor:s,setTextColor:c,backgroundColor:i,setBackgroundColor:l,overlayTextColor:p,setOverlayTextColor:d,overlayBackgroundColor:u,setOverlayBackgroundColor:m,clientId:r,navRef:Co,hasCustomOverlay:!!y})})]}),cp=`${r}-desc`,xf=b===&quot;always&quot;,up=!j7||!Me;if(Pe&amp;&amp;!Ne)return(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(H3,{clientId:r,createNavigationMenuIsSuccess:ae,createNavigationMenuIsError:Re,currentMenuId:D,isNavigationMenuMissing:Te,isManageMenusButtonDisabled:up,onCreateNew:Ee,onSelectClassicMenu:sp,onSelectNavigationMenu:yf,isLoading:Zi,blockEditingMode:j}),j===&quot;default&quot;&amp;&amp;_f,(0,ce.jsxs)(Sl,{...lp,&quot;aria-describedby&quot;:qi?void 0:cp,children:[(0,ce.jsx)(O3,{id:cp,children:(0,It.__)(&quot;Unsaved Navigation Menu.&quot;)}),(0,ce.jsx)(QE,{id:r,onToggle:wo,isOpen:mt,hasIcon:N,icon:B,isResponsive:bf,isHiddenByDefault:xf,overlayBackgroundColor:u,overlayTextColor:p,overlay:y,onNavigateToEntityRecord:I,children:(0,ce.jsx)(wQ,{createNavigationMenu:ne,blocks:fe,hasSelection:a||ke})})]})]});if(D&amp;&amp;Te)return(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(H3,{clientId:r,createNavigationMenuIsSuccess:ae,createNavigationMenuIsError:Re,currentMenuId:D,isNavigationMenuMissing:Te,isManageMenusButtonDisabled:up,onCreateNew:Ee,onSelectClassicMenu:sp,onSelectNavigationMenu:yf,isLoading:Zi,blockEditingMode:j}),(0,ce.jsx)(Sl,{...lp,children:(0,ce.jsx)(I3,{onCreateNew:Ee})})]});if(Ts&amp;&amp;$)return(0,ce.jsx)(&quot;div&quot;,{...lp,children:(0,ce.jsx)(tt.Warning,{children:(0,It.__)(&quot;Block cannot be rendered inside itself.&quot;)})});let wb=f||nQ;return qi&amp;&amp;f?(0,ce.jsx)(Sl,{...lp,children:(0,ce.jsx)(wb,{isSelected:a,currentMenuId:D,clientId:r,canUserCreateNavigationMenus:$r,isResolvingCanUserCreateNavigationMenus:ip,onSelectNavigationMenu:yf,onSelectClassicMenu:sp,onCreateEmpty:Ee})}):(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(H3,{clientId:r,createNavigationMenuIsSuccess:ae,createNavigationMenuIsError:Re,currentMenuId:D,isNavigationMenuMissing:Te,isManageMenusButtonDisabled:up,onCreateNew:Ee,onSelectClassicMenu:sp,onSelectNavigationMenu:yf,isLoading:Zi,blockEditingMode:j}),j===&quot;default&quot;&amp;&amp;_f,(0,ce.jsx)(Td.EntityProvider,{kind:&quot;postType&quot;,type:&quot;wp_navigation&quot;,id:D,children:(0,ce.jsxs)(tt.RecursionProvider,{uniqueId:H,children:[j===&quot;contentOnly&quot;&amp;&amp;Ts&amp;&amp;(0,ce.jsx)(r_e,{clientId:r}),j===&quot;default&quot;&amp;&amp;Ts&amp;&amp;(0,ce.jsxs)(tt.InspectorControls,{group:&quot;advanced&quot;,children:[yr&amp;&amp;Bt&amp;&amp;(0,ce.jsx)(gQ,{}),Je&amp;&amp;xn&amp;&amp;(0,ce.jsx)(TQ,{onDelete:()=&gt;{Wr(r,[]),O((0,It.__)(&quot;Navigation Menu successfully deleted.&quot;))}}),(0,ce.jsx)(DY,{disabled:up,className:&quot;wp-block-navigation-manage-menus-button&quot;})]}),(0,ce.jsxs)(Sl,{...lp,&quot;aria-describedby&quot;:!qi&amp;&amp;!Zi?cp:void 0,children:[Zi&amp;&amp;!xf&amp;&amp;(0,ce.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation__loading-indicator-container&quot;,children:(0,ce.jsx)(Hr.Spinner,{className:&quot;wp-block-navigation__loading-indicator&quot;})}),(!Zi||xf)&amp;&amp;(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(uX,{id:cp}),(0,ce.jsx)(QE,{id:r,onToggle:wo,hasIcon:N,icon:B,isOpen:mt,isResponsive:bf,isHiddenByDefault:xf,overlayBackgroundColor:u,overlayTextColor:p,overlay:y,onNavigateToEntityRecord:I,children:Ts&amp;&amp;(0,ce.jsx)(mQ,{clientId:r,hasCustomPlaceholder:!!f,templateLock:_,orientation:S})})]})]})]})})]})}var fX=(0,tt.withColors)({textColor:&quot;color&quot;},{backgroundColor:&quot;color&quot;},{overlayBackgroundColor:&quot;color&quot;},{overlayTextColor:&quot;color&quot;})(a_e);var hX=o(T(),1),gX=o(v(),1);function vX({attributes:e}){if(!e.ref)return(0,gX.jsx)(hX.InnerBlocks.Content,{})}var Nm=o(T(),1),tg=o(me(),1);var Em=o(v(),1),SD={fontStyle:&quot;var:preset|font-style|&quot;,fontWeight:&quot;var:preset|font-weight|&quot;,textDecoration:&quot;var:preset|text-decoration|&quot;,textTransform:&quot;var:preset|text-transform|&quot;},rg=({navigationMenuId:e,...t})=&gt;({...t,ref:e}),G3=e=&gt;{if(e.layout)return e;let{itemsJustification:t,orientation:r,...a}=e;return(t||r)&amp;&amp;Object.assign(a,{layout:{type:&quot;flex&quot;,...t&amp;&amp;{justifyContent:t},...r&amp;&amp;{orientation:r}}}),a},W3=e=&gt;{let{openSubmenusOnClick:t,...r}=e;return t==null?e:{...r,submenuVisibility:r.submenuVisibility??(t?&quot;click&quot;:&quot;hover&quot;)}},n_e={attributes:{ref:{type:&quot;number&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},openSubmenusOnClick:{type:&quot;boolean&quot;,default:!1},overlayMenu:{type:&quot;string&quot;,default:&quot;mobile&quot;},icon:{type:&quot;string&quot;,default:&quot;handle&quot;},hasIcon:{type:&quot;boolean&quot;,default:!0},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;},maxNestingLevel:{type:&quot;number&quot;,default:5},templateLock:{type:[&quot;string&quot;,&quot;boolean&quot;],enum:[&quot;all&quot;,&quot;insert&quot;,&quot;contentOnly&quot;,!1]}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalLetterSpacing:!0,__experimentalTextDecoration:!0,__experimentalSkipSerialization:[&quot;textDecoration&quot;],__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowVerticalAlignment:!1,allowSizingOnChildren:!0,default:{type:&quot;flex&quot;}},interactivity:!0,renaming:!1},save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})},isEligible:({openSubmenusOnClick:e})=&gt;e!=null,migrate:W3},i_e={attributes:{navigationMenuId:{type:&quot;number&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},overlayMenu:{type:&quot;string&quot;,default:&quot;mobile&quot;},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:&quot;flex&quot;}}},save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})},isEligible:({navigationMenuId:e})=&gt;!!e,migrate:rg},l_e={attributes:{navigationMenuId:{type:&quot;number&quot;},orientation:{type:&quot;string&quot;,default:&quot;horizontal&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},itemsJustification:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},openSubmenusOnClick:{type:&quot;boolean&quot;,default:!1},overlayMenu:{type:&quot;string&quot;,default:&quot;never&quot;},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0}}},save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})},isEligible:({itemsJustification:e,orientation:t})=&gt;!!e||!!t,migrate:(0,tg.compose)(rg,G3,W3)},s_e={attributes:{orientation:{type:&quot;string&quot;,default:&quot;horizontal&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},itemsJustification:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},openSubmenusOnClick:{type:&quot;boolean&quot;,default:!1},overlayMenu:{type:&quot;string&quot;,default:&quot;never&quot;},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},spacing:{blockGap:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0}}},save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})},migrate:(0,tg.compose)(rg,G3,Ot,W3),isEligible({style:e}){return e?.typography?.fontFamily}},c_e=function(e){return delete e.isResponsive,{...e,overlayMenu:&quot;mobile&quot;}},u_e=function(e){return{...e,style:{...e.style,typography:Object.fromEntries(Object.entries(e.style.typography??{}).map(([t,r])=&gt;{let a=SD[t];if(a&amp;&amp;r.startsWith(a)){let n=r.slice(a.length);return t===&quot;textDecoration&quot;&amp;&amp;n===&quot;strikethrough&quot;?[t,&quot;line-through&quot;]:[t,n]}return[t,r]}))}}},m_e=[n_e,i_e,l_e,s_e,{attributes:{orientation:{type:&quot;string&quot;,default:&quot;horizontal&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},itemsJustification:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0},openSubmenusOnClick:{type:&quot;boolean&quot;,default:!1},isResponsive:{type:&quot;boolean&quot;,default:&quot;false&quot;},__unstableLocation:{type:&quot;string&quot;},overlayBackgroundColor:{type:&quot;string&quot;},customOverlayBackgroundColor:{type:&quot;string&quot;},overlayTextColor:{type:&quot;string&quot;},customOverlayTextColor:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0}},isEligible(e){return e.isResponsive},migrate:(0,tg.compose)(rg,G3,Ot,c_e,W3),save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})}},{attributes:{orientation:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},itemsJustification:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;,default:!0}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0,fontSize:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,color:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})},isEligible(e){if(!e.style||!e.style.typography)return!1;for(let t in SD){let r=e.style.typography[t];if(r&amp;&amp;r.startsWith(SD[t]))return!0}return!1},migrate:(0,tg.compose)(rg,G3,Ot,u_e)},{attributes:{className:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},rgbTextColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},rgbBackgroundColor:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;},customFontSize:{type:&quot;number&quot;},itemsJustification:{type:&quot;string&quot;},showSubmenuIcon:{type:&quot;boolean&quot;}},isEligible(e){return e.rgbTextColor||e.rgbBackgroundColor},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,inserter:!0},migrate:(0,tg.compose)(rg,e=&gt;{let{rgbTextColor:t,rgbBackgroundColor:r,...a}=e;return{...a,customTextColor:e.textColor?void 0:e.rgbTextColor,customBackgroundColor:e.backgroundColor?void 0:e.rgbBackgroundColor}}),save(){return(0,Em.jsx)(Nm.InnerBlocks.Content,{})}}],bX=m_e;var{name:kX}=e3,wX={icon:Tp,example:{attributes:{overlayMenu:&quot;never&quot;},innerBlocks:[{name:&quot;core/navigation-link&quot;,attributes:{label:(0,$3.__)(&quot;Home&quot;),url:&quot;https://make.wordpress.org/&quot;}},{name:&quot;core/navigation-link&quot;,attributes:{label:(0,$3.__)(&quot;About&quot;),url:&quot;https://make.wordpress.org/&quot;}},{name:&quot;core/navigation-link&quot;,attributes:{label:(0,$3.__)(&quot;Contact&quot;),url:&quot;https://make.wordpress.org/&quot;}}]},edit:fX,save:vX,__experimentalLabel:({ref:e})=&gt;{if(!e)return;let t=(0,yX.select)(_X.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_navigation&quot;,e);if(t?.title)return(0,xX.decodeEntities)(t.title)},deprecated:bX},p_e=()=&gt;E({name:kX,metadata:e3,settings:wX});var BD={};Z(BD,{init:()=&gt;x_e,metadata:()=&gt;q3,name:()=&gt;LX,settings:()=&gt;X3});var Dm=o(P(),1);var IX=o(T(),1),NX=o(Yc(),1),EX=o(W(),1);var q3={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/navigation-link&quot;,title:&quot;Custom Link&quot;,category:&quot;design&quot;,parent:[&quot;core/navigation&quot;],allowedBlocks:[&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;,&quot;core/page-list&quot;],description:&quot;Add a page, link, or another item to your navigation.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},description:{type:&quot;string&quot;},rel:{type:&quot;string&quot;},id:{type:&quot;number&quot;},opensInNewTab:{type:&quot;boolean&quot;,default:!1},url:{type:&quot;string&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;},kind:{type:&quot;string&quot;},isTopLevelLink:{type:&quot;boolean&quot;}},usesContext:[&quot;textColor&quot;,&quot;customTextColor&quot;,&quot;backgroundColor&quot;,&quot;customBackgroundColor&quot;,&quot;overlayTextColor&quot;,&quot;customOverlayTextColor&quot;,&quot;overlayBackgroundColor&quot;,&quot;customOverlayBackgroundColor&quot;,&quot;fontSize&quot;,&quot;customFontSize&quot;,&quot;showSubmenuIcon&quot;,&quot;maxNestingLevel&quot;,&quot;style&quot;],supports:{anchor:!0,reusable:!1,html:!1,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},renaming:!1,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-navigation-link-editor&quot;,style:&quot;wp-block-navigation-link&quot;};var Z3=o(W(),1),Qv=o(V(),1),Pd=o(M(),1),K3=o(As(),1),pl=o(P(),1),la=o(T(),1),Q3=o(mr(),1),cn=o(U(),1);var Y3=o(me(),1);var nr=o(v(),1),f_e={name:&quot;core/navigation-link&quot;},h_e=[&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;];function g_e(e){let t=&quot;&quot;;switch(e){case&quot;post&quot;:t=(0,pl.__)(&quot;Select post&quot;);break;case&quot;page&quot;:t=(0,pl.__)(&quot;Select page&quot;);break;case&quot;category&quot;:t=(0,pl.__)(&quot;Select category&quot;);break;case&quot;tag&quot;:t=(0,pl.__)(&quot;Select tag&quot;);break;default:t=(0,pl.__)(&quot;Add link&quot;)}return t}function PD({attributes:e,isSelected:t,setAttributes:r,insertBlocksAfter:a,mergeBlocks:n,onReplace:i,context:l,clientId:s}){let{id:c,label:u,type:m,url:p,description:d,kind:f,metadata:h}=e,{maxNestingLevel:g}=l,{replaceBlock:b,__unstableMarkNextChangeAsNotPersistent:y,selectBlock:k}=(0,Qv.useDispatch)(la.store),[_,x]=(0,cn.useState)(t&amp;&amp;!p),[S,C]=(0,cn.useState)(null),N=(0,cn.useRef)(null),B=$v(N),D=(0,pl.__)(&quot;Add label\u2026&quot;),A=(0,cn.useRef)(),H=(0,cn.useRef)(),F=(0,cn.useRef)(u===void 0),z=(0,cn.useRef)(!1),{isAtMaxNesting:I,isTopLevelLink:R,isParentOfSelectedBlock:$,hasChildren:j,parentBlockClientId:G,isSubmenu:O}=(0,Qv.useSelect)(mt=&gt;{let{getBlockCount:wo,getBlockName:Y,getBlockRootClientId:ze,hasSelectedInnerBlock:Me,getBlockParentsByBlockName:Xe}=mt(la.store),Te=ze(s),Bt=Y(Te),yr=Bt===&quot;core/navigation&quot;,xn=yr?Te:Xe(s,&quot;core/navigation&quot;)[0],Je=Bt===&quot;core/navigation-submenu&quot;?Te:xn;return{isAtMaxNesting:Xe(s,h_e).length&gt;=g,isTopLevelLink:yr,isParentOfSelectedBlock:Me(s,!0),hasChildren:!!wo(s),parentBlockClientId:Je,isSubmenu:Bt===&quot;core/navigation-submenu&quot;}},[s,g]),J=Wv(s),{getBlocks:ee}=(0,Qv.useSelect)(la.store),{hasUrlBinding:oe,isBoundEntityAvailable:X,entityRecord:te}=Ni({clientId:s,attributes:e}),ne=Cd({clientId:s,attributes:e,setAttributes:r,allowTextUpdate:!0}),[le,pe]=Sd(f,m,c,J),Ie=(0,cn.useCallback)(()=&gt;{let mt=ee(s);mt.length===0&amp;&amp;(mt=[(0,Z3.createBlock)(&quot;core/navigation-link&quot;)],k(mt[0].clientId));let wo=(0,Z3.createBlock)(&quot;core/navigation-submenu&quot;,e,mt);b(s,wo)},[ee,s,k,b,e]);(0,cn.useEffect)(()=&gt;{F.current&amp;&amp;t&amp;&amp;k(G)},[]),(0,cn.useEffect)(()=&gt;{j&amp;&amp;(y(),Ie())},[j,y,Ie]),(0,cn.useEffect)(()=&gt;{if(!(!F.current||!p||!_)){if(F.current=!1,(0,Q3.isURL)((0,Q3.prependHTTP)(u))&amp;&amp;/^.+\.[a-z]+/.test(u))qv(A);else if(k(s,null),O){let mt=ee(G);mt.length===1&amp;&amp;mt[0].clientId===s&amp;&amp;(z.current=!0)}}},[p,_,F,u]);function Ne(){r({url:void 0,label:void 0,id:void 0,kind:void 0,type:void 0,opensInNewTab:!1}),x(!1)}let{textColor:ae,customTextColor:Re,backgroundColor:Ee,customBackgroundColor:ie}=_d(l,!R);function fe(mt){K3.isKeyboardEvent.primary(mt,&quot;k&quot;)&amp;&amp;(mt.preventDefault(),mt.stopPropagation(),x(!0))}let ke=(0,Y3.useInstanceId)(PD),je=oe&amp;&amp;!X,de=je?(0,pl.sprintf)(&quot;navigation-link-edit-%d-desc&quot;,ke):void 0,ct=(0,la.useBlockProps)({ref:(0,Y3.useMergeRefs)([C,N]),className:w(&quot;wp-block-navigation-item&quot;,{&quot;is-editing&quot;:t||$,&quot;is-dragging-within&quot;:B,&quot;has-link&quot;:!!p,&quot;has-child&quot;:j,&quot;has-text-color&quot;:!!ae||!!Re,[(0,la.getColorClassName)(&quot;color&quot;,ae)]:!!ae,&quot;has-background&quot;:!!Ee||ie,[(0,la.getColorClassName)(&quot;background-color&quot;,Ee)]:!!Ee}),&quot;aria-describedby&quot;:de,&quot;aria-invalid&quot;:je,style:{color:!ae&amp;&amp;Re,backgroundColor:!Ee&amp;&amp;ie},onKeyDown:fe}),at=(0,la.useInnerBlocksProps)({...ct,className:&quot;remove-outline&quot;},{defaultBlock:f_e,directInsert:!0,renderAppender:!1}),kt=!p&amp;&amp;!(oe&amp;&amp;X)||le||pe||oe&amp;&amp;!X;kt&amp;&amp;(ct.onClick=()=&gt;{x(!0)});let Wr=w(&quot;wp-block-navigation-item__content&quot;,{&quot;wp-block-navigation-link__placeholder&quot;:kt}),ut=g_e(m),br=V3();return(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)(la.BlockControls,{children:(0,nr.jsxs)(Pd.ToolbarGroup,{children:[(0,nr.jsx)(Pd.ToolbarButton,{name:&quot;link&quot;,icon:ii,title:(0,pl.__)(&quot;Link&quot;),shortcut:K3.displayShortcut.primary(&quot;k&quot;),onClick:()=&gt;{x(!0)}}),!I&amp;&amp;(0,nr.jsx)(Pd.ToolbarButton,{name:&quot;submenu&quot;,icon:vp,title:(0,pl.__)(&quot;Add submenu&quot;),onClick:Ie})]})}),(0,nr.jsx)(la.InspectorControls,{group:&quot;content&quot;,children:(0,nr.jsx)(Uv,{attributes:e,setAttributes:r,clientId:s})}),(0,nr.jsxs)(&quot;div&quot;,{...ct,children:[je&amp;&amp;(0,nr.jsx)(Pd.VisuallyHidden,{id:de,children:br}),(0,nr.jsxs)(&quot;a&quot;,{className:Wr,children:[!p&amp;&amp;!h?.bindings?.url?(0,nr.jsx)(&quot;div&quot;,{className:&quot;wp-block-navigation-link__placeholder-text&quot;,children:(0,nr.jsx)(&quot;span&quot;,{children:ut})}):(0,nr.jsxs)(nr.Fragment,{children:[!le&amp;&amp;!pe&amp;&amp;(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)(la.RichText,{ref:A,identifier:&quot;label&quot;,className:&quot;wp-block-navigation-item__label&quot;,value:u,onChange:mt=&gt;r({label:mt}),onMerge:n,onReplace:i,__unstableOnSplitAtEnd:()=&gt;a((0,Z3.createBlock)(&quot;core/navigation-link&quot;)),&quot;aria-label&quot;:(0,pl.__)(&quot;Navigation link text&quot;),placeholder:D,withoutInteractiveFormatting:!0}),d&amp;&amp;(0,nr.jsx)(&quot;span&quot;,{className:&quot;wp-block-navigation-item__description&quot;,children:d})]}),(le||pe)&amp;&amp;(0,nr.jsx)(Gv,{label:u,isInvalid:le,isDraft:pe,className:&quot;wp-block-navigation-link__label&quot;})]}),_&amp;&amp;(0,nr.jsx)(pu,{ref:H,clientId:s,link:e,entity:{entityRecord:te,hasBinding:oe,isEntityAvailable:X},onClose:()=&gt;{if(x(!1),!p&amp;&amp;!oe){i([]);return}if(z.current&amp;&amp;(z.current=!1,N.current?.nextElementSibling)){let mt=N.current.nextElementSibling.querySelector(&quot;.block-editor-button-block-appender&quot;);mt&amp;&amp;mt.focus()}},anchor:S,onRemove:Ne,onChange:ne})]}),(0,nr.jsx)(&quot;div&quot;,{...at})]})]})}var CX=o(T(),1),SX=o(v(),1);function TX(){return(0,SX.jsx)(CX.InnerBlocks.Content,{})}function v_e(e){switch(e){case&quot;post&quot;:return t1;case&quot;page&quot;:return Fc;case&quot;tag&quot;:return f1;case&quot;category&quot;:return Gu;default:return S9}}function PX(e,t){if(t!==&quot;core/navigation-link&quot;)return e;if(e.variations){let r=(n,i)=&gt;n.type===i.type,a=e.variations.map(n=&gt;({...n,...!n.icon&amp;&amp;{icon:v_e(n.name)},...!n.isActive&amp;&amp;{isActive:r}}));return{...e,variations:a}}return e}var sa=o(W(),1),b_e={from:[{type:&quot;block&quot;,blocks:[&quot;core/site-logo&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/spacer&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/home-link&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/social-links&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/search&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/page-list&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/buttons&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/navigation-link&quot;)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/navigation-submenu&quot;],transform:(e,t)=&gt;(0,sa.createBlock)(&quot;core/navigation-submenu&quot;,e,t)},{type:&quot;block&quot;,blocks:[&quot;core/spacer&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/spacer&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/site-logo&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/site-logo&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/home-link&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/home-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/social-links&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/social-links&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/search&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/search&quot;,{showLabel:!1,buttonUseIcon:!0,buttonPosition:&quot;button-inside&quot;})},{type:&quot;block&quot;,blocks:[&quot;core/page-list&quot;],transform:()=&gt;(0,sa.createBlock)(&quot;core/page-list&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/buttons&quot;],transform:({label:e,url:t,rel:r,title:a,opensInNewTab:n})=&gt;(0,sa.createBlock)(&quot;core/buttons&quot;,{},[(0,sa.createBlock)(&quot;core/button&quot;,{text:e,url:t,rel:r,title:a,linkTarget:n?&quot;_blank&quot;:void 0})])}]},BX=b_e;var DX=o(v(),1),{fieldsKey:y_e,formKey:__e}=K(EX.privateApis),{name:LX}=q3,X3={icon:L0,__experimentalLabel(e,{context:t}){if(t===&quot;list-view&quot;)return e?.label;if(t===&quot;appender&quot;){let r=e?.type||&quot;link&quot;;return(0,Dm.sprintf)((0,Dm._x)(&quot;Add %s&quot;,&quot;add default block type&quot;),r)}return e?.label},merge(e,{label:t=&quot;&quot;}){return{...e,label:e.label+t}},edit:PD,save:TX,example:{attributes:{label:(0,Dm._x)(&quot;Example Link&quot;,&quot;navigation link preview example&quot;),url:&quot;https://example.com&quot;}},deprecated:[{isEligible(e){return e.nofollow},attributes:{label:{type:&quot;string&quot;},type:{type:&quot;string&quot;},nofollow:{type:&quot;boolean&quot;},description:{type:&quot;string&quot;},id:{type:&quot;number&quot;},opensInNewTab:{type:&quot;boolean&quot;,default:!1},url:{type:&quot;string&quot;}},migrate({nofollow:e,...t}){return{rel:e?&quot;nofollow&quot;:&quot;&quot;,...t}},save(){return(0,DX.jsx)(IX.InnerBlocks.Content,{})}}],transforms:BX};window.__experimentalContentOnlyInspectorFields&amp;&amp;(X3[y_e]=[{id:&quot;label&quot;,label:(0,Dm.__)(&quot;Label&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;link&quot;,label:(0,Dm.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.url,rel:e.rel}),setValue:({value:e})=&gt;({url:e.url,rel:e.rel})}],X3[__e]={fields:[&quot;label&quot;,&quot;link&quot;]});var x_e=()=&gt;((0,NX.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/navigation-link&quot;,PX),E({name:LX,metadata:q3,settings:X3}));var ND={};Z(ND,{init:()=&gt;T_e,metadata:()=&gt;J3,name:()=&gt;GX,settings:()=&gt;nw});var Xv=o(P(),1),UX=o(W(),1);var J3={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/navigation-submenu&quot;,title:&quot;Submenu&quot;,category:&quot;design&quot;,parent:[&quot;core/navigation&quot;],description:&quot;Add a submenu to your navigation.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;,role:&quot;content&quot;},type:{type:&quot;string&quot;},description:{type:&quot;string&quot;},rel:{type:&quot;string&quot;},id:{type:&quot;number&quot;},opensInNewTab:{type:&quot;boolean&quot;,default:!1},url:{type:&quot;string&quot;,role:&quot;content&quot;},title:{type:&quot;string&quot;},kind:{type:&quot;string&quot;},isTopLevelItem:{type:&quot;boolean&quot;}},usesContext:[&quot;textColor&quot;,&quot;customTextColor&quot;,&quot;backgroundColor&quot;,&quot;customBackgroundColor&quot;,&quot;overlayTextColor&quot;,&quot;customOverlayTextColor&quot;,&quot;overlayBackgroundColor&quot;,&quot;customOverlayBackgroundColor&quot;,&quot;fontSize&quot;,&quot;customFontSize&quot;,&quot;showSubmenuIcon&quot;,&quot;maxNestingLevel&quot;,&quot;openSubmenusOnClick&quot;,&quot;submenuVisibility&quot;,&quot;style&quot;],supports:{anchor:!0,reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-navigation-submenu-editor&quot;,style:&quot;wp-block-navigation-submenu&quot;};var tw=o(V(),1),Yv=o(M(),1),rw=o(As(),1),og=o(P(),1),Jr=o(T(),1),ow=o(mr(),1),cs=o(U(),1);var RX=o(bv(),1),zX=o(W(),1),aw=o(me(),1);var ew=o(M(),1),ID=o(v(),1),MX=()=&gt;(0,ID.jsx)(ew.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;12&quot;,height:&quot;12&quot;,viewBox:&quot;0 0 12 12&quot;,fill:&quot;none&quot;,children:(0,ID.jsx)(ew.Path,{d:&quot;M1.50002 4L6.00002 8L10.5 4&quot;,strokeWidth:&quot;1.5&quot;})});var Dr=o(v(),1),AX=[&quot;core/navigation-link&quot;,&quot;core/navigation-submenu&quot;,&quot;core/page-list&quot;];function VX({attributes:e,isSelected:t,setAttributes:r,mergeBlocks:a,onReplace:n,context:i,clientId:l}){let{label:s,url:c,description:u,kind:m,type:p,id:d}=e,{showSubmenuIcon:f,maxNestingLevel:h,submenuVisibility:g}=i,y=(0,Jr.useBlockEditingMode)()!==&quot;default&quot;?!0:g===&quot;click&quot;,{hasUrlBinding:k,isBoundEntityAvailable:_,entityRecord:x}=Ni({clientId:l,attributes:e}),S=Cd({clientId:l,attributes:e,setAttributes:r,allowTextUpdate:!0}),{__unstableMarkNextChangeAsNotPersistent:C,replaceBlock:N}=(0,tw.useDispatch)(Jr.store),[B,D]=(0,cs.useState)(!1),[A,H]=(0,cs.useState)(null),F=(0,cs.useRef)(null),z=$v(F),I=(0,og.__)(&quot;Add text\u2026&quot;),R=(0,cs.useRef)(),{parentCount:$,isParentOfSelectedBlock:j,isImmediateParentOfSelectedBlock:G,hasChildren:O,selectedBlockHasChildren:J,onlyDescendantIsEmptyLink:ee}=(0,tw.useSelect)(at=&gt;{let{hasSelectedInnerBlock:kt,getSelectedBlockClientId:Wr,getBlockParentsByBlockName:ut,getBlock:br,getBlockCount:mt,getBlockOrder:wo}=at(Jr.store),Y,ze=Wr(),Me=wo(ze);if(Me?.length===1){let Xe=br(Me[0]);Y=Xe?.name===&quot;core/navigation-link&quot;&amp;&amp;!Xe?.attributes?.label}return{parentCount:ut(l,&quot;core/navigation-submenu&quot;).length,isParentOfSelectedBlock:kt(l,!0),isImmediateParentOfSelectedBlock:kt(l,!1),hasChildren:!!mt(l),selectedBlockHasChildren:!!Me?.length,onlyDescendantIsEmptyLink:Y}},[l]),oe=Wv(l),X=(0,aw.usePrevious)(O),[te,ne]=Sd(m,p,d,oe);(0,cs.useEffect)(()=&gt;{!y&amp;&amp;!c&amp;&amp;D(!0)},[]),(0,cs.useEffect)(()=&gt;{t||D(!1)},[t]),(0,cs.useEffect)(()=&gt;{B&amp;&amp;c&amp;&amp;(0,ow.isURL)((0,ow.prependHTTP)(s))&amp;&amp;/^.+\.[a-z]+/.test(s)&amp;&amp;qv(R)},[c]);let{textColor:le,customTextColor:pe,backgroundColor:Ie,customBackgroundColor:Ne}=_d(i,$&gt;0);function ae(at){rw.isKeyboardEvent.primary(at,&quot;k&quot;)&amp;&amp;(at.preventDefault(),at.stopPropagation(),D(!0))}let Re=(0,Jr.useBlockProps)({ref:(0,aw.useMergeRefs)([H,F]),className:w(&quot;wp-block-navigation-item&quot;,{&quot;is-editing&quot;:t||j,&quot;is-dragging-within&quot;:z,&quot;has-link&quot;:!!c,&quot;has-child&quot;:O,&quot;has-text-color&quot;:!!le||!!pe,[(0,Jr.getColorClassName)(&quot;color&quot;,le)]:!!le,&quot;has-background&quot;:!!Ie||Ne,[(0,Jr.getColorClassName)(&quot;background-color&quot;,Ie)]:!!Ie,&quot;open-on-click&quot;:y,&quot;open-always&quot;:g===&quot;always&quot;}),style:{color:!le&amp;&amp;pe,backgroundColor:!Ie&amp;&amp;Ne},onKeyDown:ae}),Ee=_d(i,!0),ie=$&gt;=h?AX.filter(at=&gt;at!==&quot;core/navigation-submenu&quot;):AX,fe=u3(Ee),ke=(0,Jr.useInnerBlocksProps)(fe,{allowedBlocks:ie,defaultBlock:Pi,directInsert:!0,__experimentalCaptureToolbars:!0,renderAppender:t||G&amp;&amp;!J||O?Jr.InnerBlocks.ButtonBlockAppender:!1}),je=y?&quot;button&quot;:&quot;a&quot;;function de(){let at=(0,zX.createBlock)(&quot;core/navigation-link&quot;,e);N(l,at)}(0,cs.useEffect)(()=&gt;{!O&amp;&amp;X&amp;&amp;(C(),de())},[O,X]);let ct=!J||ee;return(0,Dr.jsxs)(Dr.Fragment,{children:[(0,Dr.jsx)(Jr.BlockControls,{children:(0,Dr.jsxs)(Yv.ToolbarGroup,{children:[!y&amp;&amp;(0,Dr.jsx)(Yv.ToolbarButton,{name:&quot;link&quot;,icon:ii,title:(0,og.__)(&quot;Link&quot;),shortcut:rw.displayShortcut.primary(&quot;k&quot;),onClick:()=&gt;{D(!0)}}),(0,Dr.jsx)(Yv.ToolbarButton,{name:&quot;revert&quot;,icon:FP,title:(0,og.__)(&quot;Convert to Link&quot;),onClick:de,className:&quot;wp-block-navigation__submenu__revert&quot;,disabled:!ct})]})}),(0,Dr.jsx)(Jr.InspectorControls,{group:&quot;content&quot;,children:(0,Dr.jsx)(Uv,{attributes:e,setAttributes:r,clientId:l,isLinkEditable:!y})}),(0,Dr.jsxs)(&quot;div&quot;,{...Re,children:[(0,Dr.jsxs)(je,{className:&quot;wp-block-navigation-item__content&quot;,children:[!te&amp;&amp;!ne&amp;&amp;(0,Dr.jsxs)(Dr.Fragment,{children:[(0,Dr.jsx)(Jr.RichText,{ref:R,identifier:&quot;label&quot;,className:&quot;wp-block-navigation-item__label&quot;,value:s,onChange:at=&gt;r({label:at}),onMerge:a,onReplace:n,&quot;aria-label&quot;:(0,og.__)(&quot;Navigation link text&quot;),placeholder:I,withoutInteractiveFormatting:!0,onClick:()=&gt;{!y&amp;&amp;!c&amp;&amp;D(!0)}}),u&amp;&amp;(0,Dr.jsx)(&quot;span&quot;,{className:&quot;wp-block-navigation-item__description&quot;,children:u})]}),(te||ne)&amp;&amp;(0,Dr.jsx)(Gv,{label:s,isInvalid:te,isDraft:ne,className:&quot;wp-block-navigation-item__label&quot;}),!y&amp;&amp;B&amp;&amp;(0,Dr.jsx)(pu,{clientId:l,link:e,entity:{entityRecord:x,hasBinding:k,isEntityAvailable:_},onClose:()=&gt;{D(!1)},anchor:A,onRemove:()=&gt;{r({url:&quot;&quot;}),(0,RX.speak)((0,og.__)(&quot;Link removed.&quot;),&quot;assertive&quot;)},onChange:S})]}),(f||y)&amp;&amp;(0,Dr.jsx)(&quot;span&quot;,{className:&quot;wp-block-navigation__submenu-icon&quot;,children:(0,Dr.jsx)(MX,{})}),(0,Dr.jsx)(&quot;div&quot;,{...ke})]})]})}var FX=o(T(),1),HX=o(v(),1);function OX(){return(0,HX.jsx)(FX.InnerBlocks.Content,{})}var Bd=o(W(),1),w_e={to:[{type:&quot;block&quot;,blocks:[&quot;core/navigation-link&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:e=&gt;(0,Bd.createBlock)(&quot;core/navigation-link&quot;,e)},{type:&quot;block&quot;,blocks:[&quot;core/spacer&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:()=&gt;(0,Bd.createBlock)(&quot;core/spacer&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/site-logo&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:()=&gt;(0,Bd.createBlock)(&quot;core/site-logo&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/home-link&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:()=&gt;(0,Bd.createBlock)(&quot;core/home-link&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/social-links&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:()=&gt;(0,Bd.createBlock)(&quot;core/social-links&quot;)},{type:&quot;block&quot;,blocks:[&quot;core/search&quot;],isMatch:(e,t)=&gt;t?.innerBlocks?.length===0,transform:()=&gt;(0,Bd.createBlock)(&quot;core/search&quot;)}]},jX=w_e;var{fieldsKey:C_e,formKey:S_e}=K(UX.privateApis),{name:GX}=J3,nw={icon:({context:e})=&gt;e===&quot;list-view&quot;?Fc:vp,__experimentalLabel(e,{context:t}){let{label:r}=e,a=e?.metadata?.name;return(t===&quot;list-view&quot;||t===&quot;breadcrumb&quot;)&amp;&amp;a?a:r},edit:VX,example:{attributes:{label:(0,Xv._x)(&quot;About&quot;,&quot;Example link text for Navigation Submenu&quot;),type:&quot;page&quot;}},save:OX,transforms:jX};window.__experimentalContentOnlyInspectorFields&amp;&amp;(nw[C_e]=[{id:&quot;label&quot;,label:(0,Xv.__)(&quot;Label&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;link&quot;,label:(0,Xv.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.url,rel:e.rel}),setValue:({value:e})=&gt;({url:e.url,rel:e.rel})}],nw[S_e]={fields:[&quot;label&quot;,&quot;link&quot;]});var T_e=()=&gt;E({name:GX,metadata:J3,settings:nw});var DD={};Z(DD,{init:()=&gt;I_e,metadata:()=&gt;iw,name:()=&gt;JX,settings:()=&gt;eJ});var WX=o(P(),1),$X=o(T(),1),ED=o(v(),1);function qX(){return(0,ED.jsx)(&quot;div&quot;,{...(0,$X.useBlockProps)(),children:(0,ED.jsx)(&quot;span&quot;,{children:(0,WX.__)(&quot;Page break&quot;)})})}var iw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/nextpage&quot;,title:&quot;Page Break&quot;,category:&quot;design&quot;,description:&quot;Separate your content into a multi-page experience.&quot;,keywords:[&quot;next page&quot;,&quot;pagination&quot;],parent:[&quot;core/post-content&quot;],textdomain:&quot;default&quot;,supports:{customClassName:!1,className:!1,html:!1,visibility:!1,interactivity:{clientNavigation:!0},customCSS:!1},editorStyle:&quot;wp-block-nextpage-editor&quot;};var ZX=o(U(),1),KX=o(v(),1);function QX(){return(0,KX.jsx)(ZX.RawHTML,{children:&quot;&lt;!--nextpage--&gt;&quot;})}var YX=o(W(),1),B_e={from:[{type:&quot;raw&quot;,schema:{&quot;wp-block&quot;:{attributes:[&quot;data-block&quot;]}},isMatch:e=&gt;e.dataset&amp;&amp;e.dataset.block===&quot;core/nextpage&quot;,transform(){return(0,YX.createBlock)(&quot;core/nextpage&quot;,{})}}]},XX=B_e;var{name:JX}=iw,eJ={icon:WT,example:{},transforms:XX,edit:qX,save:QX},I_e=()=&gt;E({name:JX,metadata:iw,settings:eJ});var MD={};Z(MD,{init:()=&gt;E_e,metadata:()=&gt;lw,name:()=&gt;aJ,settings:()=&gt;nJ});var oJ=o(Yc(),1);var ag=o(T(),1),mc=o(M(),1),gu=o(P(),1);var un=o(v(),1);function tJ({attributes:e,setAttributes:t}){let{displayMode:r,text:a}=e,n=r===&quot;icon&quot;||r===&quot;both&quot;,i=r===&quot;text&quot;||r===&quot;both&quot;,l=a||(0,gu.__)(&quot;Close&quot;),s=(0,ag.useBlockProps)({className:&quot;wp-block-navigation-overlay-close&quot;}),c=q();return(0,un.jsxs)(un.Fragment,{children:[(0,un.jsx)(ag.InspectorControls,{children:(0,un.jsx)(mc.__experimentalToolsPanel,{label:(0,gu.__)(&quot;Settings&quot;),resetAll:()=&gt;t({displayMode:&quot;icon&quot;}),dropdownMenuProps:c,children:(0,un.jsx)(mc.__experimentalToolsPanelItem,{label:(0,gu.__)(&quot;Display Mode&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==&quot;icon&quot;,onDeselect:()=&gt;t({displayMode:&quot;icon&quot;}),children:(0,un.jsxs)(mc.__experimentalToggleGroupControl,{label:(0,gu.__)(&quot;Display Mode&quot;),value:r,onChange:u=&gt;t({displayMode:u}),isBlock:!0,__next40pxDefaultSize:!0,children:[(0,un.jsx)(mc.__experimentalToggleGroupControlOption,{value:&quot;icon&quot;,label:(0,gu.__)(&quot;Icon&quot;)}),(0,un.jsx)(mc.__experimentalToggleGroupControlOption,{value:&quot;text&quot;,label:(0,gu.__)(&quot;Text&quot;)}),(0,un.jsx)(mc.__experimentalToggleGroupControlOption,{value:&quot;both&quot;,label:(0,gu.__)(&quot;Both&quot;)})]})})})}),(0,un.jsxs)(&quot;button&quot;,{...s,type:&quot;button&quot;,&quot;aria-label&quot;:i?void 0:(0,gu.__)(&quot;Close&quot;),children:[n&amp;&amp;(0,un.jsx)(Wa,{icon:yp}),i&amp;&amp;(0,un.jsx)(ag.RichText,{identifier:&quot;text&quot;,value:l,onChange:u=&gt;t({text:u}),tagName:&quot;span&quot;,className:&quot;wp-block-navigation-overlay-close__text&quot;,allowedFormats:[&quot;core/bold&quot;,&quot;core/italic&quot;]})]})]})}var lw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/navigation-overlay-close&quot;,title:&quot;Navigation Overlay Close&quot;,category:&quot;design&quot;,description:&quot;A customizable button to close overlays.&quot;,keywords:[&quot;close&quot;,&quot;overlay&quot;,&quot;navigation&quot;,&quot;menu&quot;],textdomain:&quot;default&quot;,attributes:{displayMode:{type:&quot;string&quot;,enum:[&quot;icon&quot;,&quot;text&quot;,&quot;both&quot;],default:&quot;icon&quot;},text:{type:&quot;string&quot;}},supports:{color:{gradients:!1,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},style:&quot;wp-block-navigation-overlay-close&quot;};var sw=o(L(),1),LD=o(v(),1),rJ=(0,LD.jsx)(sw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,LD.jsx)(sw.Path,{d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12ZM15 8l-3 3-3-3-1.1 1.1 3 3-3 3L9 16.2l3-3 3 3 1.1-1.1-3-3 3-3L15 8Z&quot;})});var{name:aJ}=lw,nJ={icon:rJ,edit:tJ},E_e=()=&gt;((0,oJ.addFilter)(&quot;blockEditor.__unstableCanInsertBlockType&quot;,&quot;core/navigation-overlay-close/restrict-to-overlay-template-parts&quot;,(e,t)=&gt;t.name!==&quot;core/navigation-overlay-close&quot;||!e?e:Kv()),E({name:aJ,metadata:lw,settings:nJ}));var RD={};Z(RD,{init:()=&gt;R_e,metadata:()=&gt;cw,name:()=&gt;pJ,settings:()=&gt;dJ});var cw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/pattern&quot;,title:&quot;Pattern Placeholder&quot;,category:&quot;theme&quot;,description:&quot;Show a block pattern.&quot;,supports:{html:!1,inserter:!1,renaming:!1,visibility:!1,interactivity:{clientNavigation:!0}},textdomain:&quot;default&quot;,attributes:{slug:{type:&quot;string&quot;}}};var cJ=o(W(),1),Lm=o(V(),1),mw=o(U(),1),Mm=o(T(),1),uJ=o(Q(),1),pw=o(P(),1);var iJ=o(V(),1),AD=new WeakMap;function lJ(){let e=(0,iJ.useRegistry)();if(!AD.has(e)){let t=new Map;AD.set(e,L_e.bind(null,t))}return AD.get(e)}function L_e(e,{name:t,blocks:r}){let a=[...r];for(;a.length;){let n=a.shift();for(let i of n.innerBlocks??[])a.unshift(i);n.name===&quot;core/pattern&quot;&amp;&amp;M_e(e,t,n.attributes.slug)}}function M_e(e,t,r){if(e.has(t)||e.set(t,new Set),e.get(t).add(r),sJ(e,t))throw new TypeError(`Pattern ${t} has a circular dependency and cannot be rendered.`)}function sJ(e,t,r=new Set,a=new Set){r.add(t),a.add(t);let n=e.get(t)??new Set;for(let i of n)if(r.has(i)){if(a.has(i))return!0}else if(sJ(e,i,r,a))return!0;return a.delete(t),!1}var uw=o(v(),1),A_e=({attributes:e,clientId:t})=&gt;{let r=(0,Lm.useRegistry)(),a=(0,Lm.useSelect)(g=&gt;g(Mm.store).__experimentalGetParsedPattern(e.slug),[e.slug]),n=(0,Lm.useSelect)(g=&gt;g(uJ.store).getCurrentTheme()?.stylesheet,[]),{replaceBlocks:i,setBlockEditingMode:l,__unstableMarkNextChangeAsNotPersistent:s}=(0,Lm.useDispatch)(Mm.store),{getBlockRootClientId:c,getBlockEditingMode:u}=(0,Lm.useSelect)(Mm.store),[m,p]=(0,mw.useState)(!1),d=lJ();function f(g){return g.innerBlocks.find(b=&gt;b.name===&quot;core/template-part&quot;)&amp;&amp;(g.innerBlocks=g.innerBlocks.map(b=&gt;(b.name===&quot;core/template-part&quot;&amp;&amp;b.attributes.theme===void 0&amp;&amp;(b.attributes.theme=n),b))),g.name===&quot;core/template-part&quot;&amp;&amp;g.attributes.theme===void 0&amp;&amp;(g.attributes.theme=n),g}(0,mw.useEffect)(()=&gt;{if(!m&amp;&amp;a?.blocks){try{d(a)}catch{p(!0);return}window.queueMicrotask(()=&gt;{let g=c(t),b=a.blocks.map(k=&gt;(0,cJ.cloneBlock)(f(k)));b.length===1&amp;&amp;a.categories?.length&gt;0&amp;&amp;(b[0].attributes={...b[0].attributes,metadata:{...b[0].attributes.metadata,categories:a.categories,patternName:a.name,name:b[0].attributes.metadata.name||a.title}});let y=u(g);r.batch(()=&gt;{s(),l(g,&quot;default&quot;),s(),i(t,b),s(),l(g,y)})})}},[t,m,a,s,i,u,l,c]);let h=(0,Mm.useBlockProps)();return m?(0,uw.jsx)(&quot;div&quot;,{...h,children:(0,uw.jsx)(Mm.Warning,{children:(0,pw.sprintf)((0,pw.__)(&#039;Pattern &quot;%s&quot; cannot be rendered inside itself.&#039;),a?.name)})}):(0,uw.jsx)(&quot;div&quot;,{...h})},mJ=A_e;var{name:pJ}=cw,dJ={edit:mJ},R_e=()=&gt;E({name:pJ,metadata:cw,settings:dJ});var HD={};Z(HD,{init:()=&gt;O_e,metadata:()=&gt;dw,name:()=&gt;wJ,settings:()=&gt;CJ});var dw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/page-list&quot;,title:&quot;Page List&quot;,category:&quot;widgets&quot;,allowedBlocks:[&quot;core/page-list-item&quot;],description:&quot;Display a list of all pages.&quot;,keywords:[&quot;menu&quot;,&quot;navigation&quot;],textdomain:&quot;default&quot;,attributes:{parentPageID:{type:&quot;integer&quot;,default:0},isNested:{type:&quot;boolean&quot;,default:!1}},usesContext:[&quot;textColor&quot;,&quot;customTextColor&quot;,&quot;backgroundColor&quot;,&quot;customBackgroundColor&quot;,&quot;overlayTextColor&quot;,&quot;customOverlayTextColor&quot;,&quot;overlayBackgroundColor&quot;,&quot;customOverlayBackgroundColor&quot;,&quot;fontSize&quot;,&quot;customFontSize&quot;,&quot;showSubmenuIcon&quot;,&quot;style&quot;,&quot;openSubmenusOnClick&quot;,&quot;submenuVisibility&quot;],supports:{anchor:!0,reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},color:{text:!0,background:!0,link:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{padding:!1,margin:!1}},contentRole:!0},editorStyle:&quot;wp-block-page-list-editor&quot;,style:&quot;wp-block-page-list&quot;};var _J=o(W(),1),Aa=o(T(),1),Ma=o(M(),1),La=o(P(),1),us=o(U(),1),xJ=o(Q(),1),hw=o(V(),1);var zD=o(W(),1),fJ=o(V(),1),hJ=o(T(),1);function V_e(e=[]){let t=&quot;post-type&quot;,r={},a=[];return e.forEach(({id:n,title:i,link:l,type:s,parent:c})=&gt;{let u=r[n]?.innerBlocks??[];r[n]=(0,zD.createBlock)(&quot;core/navigation-link&quot;,{id:n,label:i.rendered,url:l,type:s,kind:t,metadata:{bindings:Qh(t)}},u),c?(r[c]||(r[c]={innerBlocks:[]}),r[c].innerBlocks.push(r[n])):a.push(r[n])}),a}function gJ(e,t){for(let r of e){if(r.attributes.id===t)return r;if(r.innerBlocks&amp;&amp;r.innerBlocks.length){let a=gJ(r.innerBlocks,t);if(a)return a}}return null}function F_e(e=[],t=null){let r=V_e(e);if(t){let n=gJ(r,t);n&amp;&amp;n.innerBlocks&amp;&amp;(r=n.innerBlocks)}let a=n=&gt;{n.forEach((i,l,s)=&gt;{let{attributes:c,innerBlocks:u}=i;if(u.length!==0){a(u);let m=(0,zD.createBlock)(&quot;core/navigation-submenu&quot;,c,u);s[l]=m}})};return a(r),r}function vJ({clientId:e,pages:t,parentClientId:r,parentPageID:a}){let{replaceBlock:n,selectBlock:i}=(0,fJ.useDispatch)(hJ.store);return()=&gt;{let l=F_e(t,a);n(e,l),i(r)}}var e2=o(M(),1),VD=o(me(),1),Jv=o(P(),1),Id=o(v(),1),FD=(0,Jv.__)(&quot;This Navigation Menu displays your website&#039;s pages. Editing it will enable you to add, delete, or reorder pages. However, new pages will no longer be added automatically.&quot;);function fw({onClick:e,onClose:t,disabled:r}){return(0,Id.jsxs)(e2.Modal,{onRequestClose:t,title:(0,Jv.__)(&quot;Edit Page List&quot;),className:&quot;wp-block-page-list-modal&quot;,aria:{describedby:(0,VD.useInstanceId)(fw,&quot;wp-block-page-list-modal__description&quot;)},children:[(0,Id.jsx)(&quot;p&quot;,{id:(0,VD.useInstanceId)(fw,&quot;wp-block-page-list-modal__description&quot;),children:FD}),(0,Id.jsxs)(&quot;div&quot;,{className:&quot;wp-block-page-list-modal-buttons&quot;,children:[(0,Id.jsx)(e2.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:t,children:(0,Jv.__)(&quot;Cancel&quot;)}),(0,Id.jsx)(e2.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,accessibleWhenDisabled:!0,disabled:r,onClick:e,children:(0,Jv.__)(&quot;Edit&quot;)})]})]})}var St=o(v(),1),bJ=100,yJ=()=&gt;{};function H_e({blockProps:e,innerBlocksProps:t,hasResolvedPages:r,blockList:a,pages:n,parentPageID:i}){if(!r)return(0,St.jsx)(&quot;div&quot;,{...e,children:(0,St.jsx)(&quot;div&quot;,{className:&quot;wp-block-page-list__loading-indicator-container&quot;,children:(0,St.jsx)(Ma.Spinner,{className:&quot;wp-block-page-list__loading-indicator&quot;})})});if(n===null)return(0,St.jsx)(&quot;div&quot;,{...e,children:(0,St.jsx)(Ma.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,La.__)(&quot;Page List: Cannot retrieve Pages.&quot;)})});if(n.length===0)return(0,St.jsx)(&quot;div&quot;,{...e,children:(0,St.jsx)(Ma.Notice,{status:&quot;info&quot;,isDismissible:!1,children:(0,La.__)(&quot;Page List: Cannot retrieve Pages.&quot;)})});if(a.length===0){let l=n.find(s=&gt;s.id===i);return l?.title?.rendered?(0,St.jsx)(&quot;div&quot;,{...e,children:(0,St.jsx)(Aa.Warning,{children:(0,La.sprintf)((0,La.__)(&#039;Page List: &quot;%s&quot; page has no children.&#039;),l.title.rendered)})}):(0,St.jsx)(&quot;div&quot;,{...e,children:(0,St.jsx)(Ma.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,La.__)(&quot;Page List: Cannot retrieve Pages.&quot;)})})}if(n.length&gt;0)return(0,St.jsx)(&quot;ul&quot;,{...t})}function kJ({context:e,clientId:t,attributes:r,setAttributes:a}){let{parentPageID:n}=r,[i,l]=(0,us.useState)(!1),s=(0,us.useCallback)(()=&gt;l(!0),[]),c=()=&gt;l(!1),u=q(),{records:m,hasResolved:p}=(0,xJ.useEntityRecords)(&quot;postType&quot;,&quot;page&quot;,{per_page:bJ,_fields:[&quot;id&quot;,&quot;link&quot;,&quot;menu_order&quot;,&quot;parent&quot;,&quot;title&quot;,&quot;type&quot;],orderby:&quot;menu_order&quot;,order:&quot;asc&quot;}),d=&quot;showSubmenuIcon&quot;in e&amp;&amp;m?.length&gt;0&amp;&amp;m?.length&lt;=bJ,f=(0,us.useMemo)(()=&gt;m===null?new Map:m.sort((A,H)=&gt;A.menu_order===H.menu_order?A.title.rendered.localeCompare(H.title.rendered):A.menu_order-H.menu_order).reduce((A,H)=&gt;{let{parent:F}=H;return A.has(F)?A.get(F).push(H):A.set(F,[H]),A},new Map),[m]),h=(0,Aa.useBlockProps)({className:w(&quot;wp-block-page-list&quot;,{&quot;has-text-color&quot;:!!e.textColor,[(0,Aa.getColorClassName)(&quot;color&quot;,e.textColor)]:!!e.textColor,&quot;has-background&quot;:!!e.backgroundColor,[(0,Aa.getColorClassName)(&quot;background-color&quot;,e.backgroundColor)]:!!e.backgroundColor,&quot;open-on-click&quot;:e.submenuVisibility===&quot;click&quot;,&quot;open-always&quot;:e.submenuVisibility===&quot;always&quot;}),style:{...e.style?.color}}),g=(0,us.useMemo)(function D(A=0,H=0){let F=f.get(A);return F?.length?F.reduce((z,I)=&gt;{let R=f.has(I.id),$={value:I.id,label:&quot;\u2014 &quot;.repeat(H)+I.title.rendered,rawName:I.title.rendered};return z.push($),R&amp;&amp;z.push(...D(I.id,H+1)),z},[]):[]},[f]),b=(0,us.useMemo)(function D(A=n){let H=f.get(A);return H?.length?H.reduce((F,z)=&gt;{let I=f.has(z.id),R={id:z.id,label:z.title?.rendered?.trim()!==&quot;&quot;?z.title?.rendered:(0,La.__)(&quot;(no title)&quot;),title:z.title?.rendered?.trim()!==&quot;&quot;?z.title?.rendered:(0,La.__)(&quot;(no title)&quot;),link:z.url,hasChildren:I},$=null,j=D(z.id);return $=(0,_J.createBlock)(&quot;core/page-list-item&quot;,R,j),F.push($),F},[]):[]},[f,n]),{isNested:y,hasSelectedChild:k,parentClientId:_,hasDraggedChild:x,isChildOfNavigation:S}=(0,hw.useSelect)(D=&gt;{let{getBlockParentsByBlockName:A,hasSelectedInnerBlock:H,hasDraggedInnerBlock:F}=D(Aa.store),z=A(t,&quot;core/navigation-submenu&quot;,!0),I=A(t,&quot;core/navigation&quot;,!0);return{isNested:z.length&gt;0,isChildOfNavigation:I.length&gt;0,hasSelectedChild:H(t,!0),hasDraggedChild:F(t,!0),parentClientId:I[0]}},[t]),C=vJ({clientId:t,pages:m,parentClientId:_,parentPageID:n}),N=(0,Aa.useInnerBlocksProps)(h,{renderAppender:!1,__unstableDisableDropZone:!0,templateLock:S?!1:&quot;all&quot;,onInput:yJ,onChange:yJ,value:b}),{selectBlock:B}=(0,hw.useDispatch)(Aa.store);return(0,us.useEffect)(()=&gt;{(k||x)&amp;&amp;(s(),B(_))},[k,x,_,B,s]),(0,us.useEffect)(()=&gt;{a({isNested:y})},[y,a]),(0,St.jsxs)(St.Fragment,{children:[(g.length&gt;0||d)&amp;&amp;(0,St.jsx)(Aa.InspectorControls,{children:(0,St.jsxs)(Ma.__experimentalToolsPanel,{label:(0,La.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({parentPageID:0})},dropdownMenuProps:u,children:[g.length&gt;0&amp;&amp;(0,St.jsx)(Ma.__experimentalToolsPanelItem,{label:(0,La.__)(&quot;Parent Page&quot;),hasValue:()=&gt;n!==0,onDeselect:()=&gt;a({parentPageID:0}),isShownByDefault:!0,children:(0,St.jsx)(Ma.ComboboxControl,{__next40pxDefaultSize:!0,className:&quot;editor-page-attributes__parent&quot;,label:(0,La.__)(&quot;Parent&quot;),value:n,options:g,onChange:D=&gt;a({parentPageID:D??0}),help:(0,La.__)(&quot;Choose a page to show only its subpages.&quot;)})}),d&amp;&amp;(0,St.jsxs)(&quot;div&quot;,{style:{gridColumn:&quot;1 / -1&quot;},children:[(0,St.jsx)(&quot;p&quot;,{children:FD}),(0,St.jsx)(Ma.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,accessibleWhenDisabled:!0,disabled:!p,onClick:C,children:(0,La.__)(&quot;Edit&quot;)})]})]})}),d&amp;&amp;(0,St.jsxs)(St.Fragment,{children:[(0,St.jsx)(Aa.BlockControls,{group:&quot;other&quot;,children:(0,St.jsx)(Ma.ToolbarButton,{title:(0,La.__)(&quot;Edit&quot;),onClick:s,children:(0,La.__)(&quot;Edit&quot;)})}),i&amp;&amp;(0,St.jsx)(fw,{onClick:C,onClose:c,disabled:!p})]}),(0,St.jsx)(H_e,{blockProps:h,innerBlocksProps:N,hasResolvedPages:p,blockList:b,pages:m,parentPageID:n})]})}var{name:wJ}=dw,CJ={icon:$T,example:{},edit:kJ},O_e=()=&gt;E({name:wJ,metadata:dw,settings:CJ});var WD={};Z(WD,{init:()=&gt;G_e,metadata:()=&gt;gw,name:()=&gt;PJ,settings:()=&gt;BJ});var gw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/page-list-item&quot;,title:&quot;Page List Item&quot;,category:&quot;widgets&quot;,parent:[&quot;core/page-list&quot;],description:&quot;Displays a page inside a list of all pages.&quot;,keywords:[&quot;page&quot;,&quot;menu&quot;,&quot;navigation&quot;],textdomain:&quot;default&quot;,attributes:{id:{type:&quot;number&quot;},label:{type:&quot;string&quot;},title:{type:&quot;string&quot;},link:{type:&quot;string&quot;},hasChildren:{type:&quot;boolean&quot;}},usesContext:[&quot;textColor&quot;,&quot;customTextColor&quot;,&quot;backgroundColor&quot;,&quot;customBackgroundColor&quot;,&quot;overlayTextColor&quot;,&quot;customOverlayTextColor&quot;,&quot;overlayBackgroundColor&quot;,&quot;customOverlayBackgroundColor&quot;,&quot;fontSize&quot;,&quot;customFontSize&quot;,&quot;showSubmenuIcon&quot;,&quot;style&quot;,&quot;openSubmenusOnClick&quot;,&quot;submenuVisibility&quot;],supports:{anchor:!0,reusable:!1,html:!1,lock:!1,inserter:!1,__experimentalToolbar:!1,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-page-list-editor&quot;,style:&quot;wp-block-page-list&quot;};var bw=o(T(),1),SJ=o(V(),1),UD=o(Q(),1),GD=o(ai(),1);var vw=o(M(),1),OD=o(v(),1),jD=()=&gt;(0,OD.jsx)(vw.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;12&quot;,height:&quot;12&quot;,viewBox:&quot;0 0 12 12&quot;,fill:&quot;none&quot;,children:(0,OD.jsx)(vw.Path,{d:&quot;M1.50002 4L6.00002 8L10.5 4&quot;,strokeWidth:&quot;1.5&quot;})});var mn=o(v(),1);function U_e(){return(0,SJ.useSelect)(e=&gt;{if(!e(UD.store).canUser(&quot;read&quot;,{kind:&quot;root&quot;,name:&quot;site&quot;}))return;let r=e(UD.store).getEntityRecord(&quot;root&quot;,&quot;site&quot;);return r?.show_on_front===&quot;page&quot;&amp;&amp;r?.page_on_front},[])}function TJ({context:e,attributes:t}){let{id:r,label:a,link:n,hasChildren:i,title:l}=t,s=&quot;showSubmenuIcon&quot;in e,c=U_e(),u=e.submenuVisibility,m=u===&quot;click&quot;,p=_d(e,!0),d=u3(p),f=(0,bw.useBlockProps)(d,{className:&quot;wp-block-pages-list__item&quot;}),h=(0,bw.useInnerBlocksProps)(f);return(0,mn.jsxs)(&quot;li&quot;,{className:w(&quot;wp-block-pages-list__item&quot;,{&quot;has-child&quot;:i,&quot;wp-block-navigation-item&quot;:s,&quot;open-on-click&quot;:m,&quot;open-always&quot;:u===&quot;always&quot;,&quot;open-on-hover-click&quot;:u===&quot;hover&quot;&amp;&amp;e.showSubmenuIcon,&quot;menu-item-home&quot;:r===c}),children:[i&amp;&amp;m?(0,mn.jsxs)(mn.Fragment,{children:[(0,mn.jsx)(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;wp-block-navigation-item__content wp-block-navigation-submenu__toggle&quot;,&quot;aria-expanded&quot;:&quot;false&quot;,dangerouslySetInnerHTML:{__html:(0,GD.safeHTML)(a)}}),(0,mn.jsx)(&quot;span&quot;,{className:&quot;wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon&quot;,children:(0,mn.jsx)(jD,{})})]}):(0,mn.jsx)(&quot;a&quot;,{className:w(&quot;wp-block-pages-list__item__link&quot;,{&quot;wp-block-navigation-item__content&quot;:s}),href:n,dangerouslySetInnerHTML:{__html:(0,GD.safeHTML)(l)}}),i&amp;&amp;(0,mn.jsxs)(mn.Fragment,{children:[!m&amp;&amp;e.showSubmenuIcon&amp;&amp;(0,mn.jsx)(&quot;button&quot;,{className:&quot;wp-block-navigation-item__content wp-block-navigation-submenu__toggle wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon&quot;,&quot;aria-expanded&quot;:&quot;false&quot;,type:&quot;button&quot;,children:(0,mn.jsx)(jD,{})}),(0,mn.jsx)(&quot;ul&quot;,{...h})]})]},r)}var{name:PJ}=gw,BJ={__experimentalLabel:({label:e})=&gt;e,icon:Fc,example:{},edit:TJ},G_e=()=&gt;E({name:PJ,metadata:gw,settings:BJ});var YD={};Z(YD,{init:()=&gt;J_e,metadata:()=&gt;ug,name:()=&gt;Sw,settings:()=&gt;Cw});var ww=o(P(),1);var $J=o(W(),1);var IJ=o(U(),1),go=o(T(),1),$D=o(P(),1),pc=o(v(),1),ng={className:!1},qD={align:{type:&quot;string&quot;},content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;p&quot;,default:&quot;&quot;},dropCap:{type:&quot;boolean&quot;,default:!1},placeholder:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},backgroundColor:{type:&quot;string&quot;},fontSize:{type:&quot;string&quot;},direction:{type:&quot;string&quot;,enum:[&quot;ltr&quot;,&quot;rtl&quot;]},style:{type:&quot;object&quot;}},yw=e=&gt;{if(!e.customTextColor&amp;&amp;!e.customBackgroundColor&amp;&amp;!e.customFontSize)return e;let t={};(e.customTextColor||e.customBackgroundColor)&amp;&amp;(t.color={}),e.customTextColor&amp;&amp;(t.color.text=e.customTextColor),e.customBackgroundColor&amp;&amp;(t.color.background=e.customBackgroundColor),e.customFontSize&amp;&amp;(t.typography={fontSize:e.customFontSize});let{customTextColor:r,customBackgroundColor:a,customFontSize:n,...i}=e;return{...i,style:t}},ig=e=&gt;{let{align:t,...r}=e;return t?{...r,style:{...e.style,typography:{...e.style?.typography,textAlign:t}}}:e},{style:zZe,...t2}=qD,W_e=[{supports:{className:!1,typography:{fontSize:!0}},attributes:qD,isEligible(e){return!!e.align||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save({attributes:e}){let{align:t,content:r,dropCap:a,direction:n}=e,i=w({&quot;has-drop-cap&quot;:t===((0,$D.isRTL)()?&quot;left&quot;:&quot;right&quot;)||t===&quot;center&quot;?!1:a,[`has-text-align-${t}`]:t});return(0,pc.jsx)(&quot;p&quot;,{...go.useBlockProps.save({className:i,dir:n}),children:(0,pc.jsx)(go.RichText.Content,{value:r})})},migrate:ig},{supports:ng,attributes:{...t2,customTextColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customFontSize:{type:&quot;number&quot;}},migrate:ig,save({attributes:e}){let{align:t,content:r,dropCap:a,direction:n}=e,i=w({&quot;has-drop-cap&quot;:t===((0,$D.isRTL)()?&quot;left&quot;:&quot;right&quot;)||t===&quot;center&quot;?!1:a,[`has-text-align-${t}`]:t});return(0,pc.jsx)(&quot;p&quot;,{...go.useBlockProps.save({className:i,dir:n}),children:(0,pc.jsx)(go.RichText.Content,{value:r})})}},{supports:ng,attributes:{...t2,customTextColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customFontSize:{type:&quot;number&quot;}},migrate(e){return yw(ig(e))},save({attributes:e}){let{align:t,content:r,dropCap:a,backgroundColor:n,textColor:i,customBackgroundColor:l,customTextColor:s,fontSize:c,customFontSize:u,direction:m}=e,p=(0,go.getColorClassName)(&quot;color&quot;,i),d=(0,go.getColorClassName)(&quot;background-color&quot;,n),f=(0,go.getFontSizeClass)(c),h=w({&quot;has-text-color&quot;:i||s,&quot;has-background&quot;:n||l,&quot;has-drop-cap&quot;:a,[`has-text-align-${t}`]:t,[f]:f,[p]:p,[d]:d}),g={backgroundColor:d?void 0:l,color:p?void 0:s,fontSize:f?void 0:u};return(0,pc.jsx)(go.RichText.Content,{tagName:&quot;p&quot;,style:g,className:h||void 0,value:r,dir:m})}},{supports:ng,attributes:{...t2,customTextColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customFontSize:{type:&quot;number&quot;}},migrate(e){return yw(ig(e))},save({attributes:e}){let{align:t,content:r,dropCap:a,backgroundColor:n,textColor:i,customBackgroundColor:l,customTextColor:s,fontSize:c,customFontSize:u,direction:m}=e,p=(0,go.getColorClassName)(&quot;color&quot;,i),d=(0,go.getColorClassName)(&quot;background-color&quot;,n),f=(0,go.getFontSizeClass)(c),h=w({&quot;has-text-color&quot;:i||s,&quot;has-background&quot;:n||l,&quot;has-drop-cap&quot;:a,[f]:f,[p]:p,[d]:d}),g={backgroundColor:d?void 0:l,color:p?void 0:s,fontSize:f?void 0:u,textAlign:t};return(0,pc.jsx)(go.RichText.Content,{tagName:&quot;p&quot;,style:g,className:h||void 0,value:r,dir:m})}},{supports:ng,attributes:{...t2,customTextColor:{type:&quot;string&quot;},customBackgroundColor:{type:&quot;string&quot;},customFontSize:{type:&quot;number&quot;},width:{type:&quot;string&quot;}},migrate(e){return yw(ig(e))},save({attributes:e}){let{width:t,align:r,content:a,dropCap:n,backgroundColor:i,textColor:l,customBackgroundColor:s,customTextColor:c,fontSize:u,customFontSize:m}=e,p=(0,go.getColorClassName)(&quot;color&quot;,l),d=(0,go.getColorClassName)(&quot;background-color&quot;,i),f=u&amp;&amp;`is-${u}-text`,h=w({[`align${t}`]:t,&quot;has-background&quot;:i||s,&quot;has-drop-cap&quot;:n,[f]:f,[p]:p,[d]:d}),g={backgroundColor:d?void 0:s,color:p?void 0:c,fontSize:f?void 0:m,textAlign:r};return(0,pc.jsx)(go.RichText.Content,{tagName:&quot;p&quot;,style:g,className:h||void 0,value:a})}},{supports:ng,attributes:{...t2,fontSize:{type:&quot;number&quot;}},save({attributes:e}){let{width:t,align:r,content:a,dropCap:n,backgroundColor:i,textColor:l,fontSize:s}=e,c=w({[`align${t}`]:t,&quot;has-background&quot;:i,&quot;has-drop-cap&quot;:n});return(0,pc.jsx)(&quot;p&quot;,{style:{backgroundColor:i,color:l,fontSize:s,textAlign:r},className:c||void 0,children:a})},migrate(e){return yw(ig({...e,customFontSize:Number.isFinite(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&amp;&amp;e.textColor[0]===&quot;#&quot;?e.textColor:void 0,customBackgroundColor:e.backgroundColor&amp;&amp;e.backgroundColor[0]===&quot;#&quot;?e.backgroundColor:void 0}))}},{supports:ng,attributes:{...qD,content:{type:&quot;string&quot;,source:&quot;html&quot;,default:&quot;&quot;}},save({attributes:e}){return(0,pc.jsx)(IJ.RawHTML,{children:e.content})},migrate:e=&gt;e}],NJ=W_e;var Un=o(P(),1),cg=o(M(),1),Gn=o(T(),1),HJ=o(W(),1);var EJ=o(U(),1),DJ=o(me(),1),LJ=o(As(),1),lg=o(V(),1),ZD=o(T(),1),sg=o(W(),1);function MJ(e){let{batch:t}=(0,lg.useRegistry)(),{moveBlocksToPosition:r,replaceInnerBlocks:a,duplicateBlocks:n,insertBlock:i}=(0,lg.useDispatch)(ZD.store),{getBlockRootClientId:l,getBlockIndex:s,getBlockOrder:c,getBlockName:u,getBlock:m,getNextBlockClientId:p,canInsertBlockType:d}=(0,lg.useSelect)(ZD.store),f=(0,EJ.useRef)(e);return f.current=e,(0,DJ.useRefEffect)(h=&gt;{function g(b){if(b.defaultPrevented||b.keyCode!==LJ.ENTER)return;let{content:y,clientId:k}=f.current;if(y.length)return;let _=l(k);if(!(0,sg.hasBlockSupport)(u(_),&quot;__experimentalOnEnter&quot;,!1))return;let x=c(_),S=x.indexOf(k);if(S===x.length-1){let B=_;for(;!d(u(k),l(B));)B=l(B);typeof B==&quot;string&quot;&amp;&amp;(b.preventDefault(),r([k],_,l(B),s(B)+1));return}let C=(0,sg.getDefaultBlockName)();if(!d(C,l(_)))return;b.preventDefault();let N=m(_);t(()=&gt;{n([_]);let B=s(_);a(_,N.innerBlocks.slice(0,S)),a(p(_),N.innerBlocks.slice(S+1)),i((0,sg.createBlock)(C),B+1,l(_),!0)})}return h.addEventListener(&quot;keydown&quot;,g),()=&gt;{h.removeEventListener(&quot;keydown&quot;,g)}},[])}var AJ=o(me(),1),_w=o(U(),1),RJ=o(Ff(),1),zJ=o(V(),1),VJ=o(T(),1);function FJ(e,t,r){let{__unstableMarkNextChangeAsNotPersistent:a}=(0,zJ.useDispatch)(VJ.store),n=(0,AJ.useEvent)(()=&gt;{(0,RJ.default)(&quot;align attribute in paragraph block&quot;,{alternative:&quot;style.typography.textAlign&quot;,since:&quot;7.0&quot;}),a(),r({style:{...t,typography:{...t?.typography,textAlign:e}}})}),i=(0,_w.useRef)();(0,_w.useEffect)(()=&gt;{e===&quot;full&quot;||e===&quot;wide&quot;||e===i.current||(i.current=e,n())},[e,n])}var Li=o(v(),1);function $_e({direction:e,setDirection:t}){return(0,Un.isRTL)()&amp;&amp;(0,Li.jsx)(cg.ToolbarButton,{icon:O9,title:(0,Un._x)(&quot;Left to right&quot;,&quot;editor button&quot;),isActive:e===&quot;ltr&quot;,onClick:()=&gt;{t(e===&quot;ltr&quot;?void 0:&quot;ltr&quot;)}})}function KD(e){return e===((0,Un.isRTL)()?&quot;left&quot;:&quot;right&quot;)||e===&quot;center&quot;}function q_e({clientId:e,attributes:t,setAttributes:r,name:a}){let[n]=(0,Gn.useSettings)(&quot;typography.dropCap&quot;);if(!n)return null;let{style:i,dropCap:l}=t,s=i?.typography?.textAlign,c;KD(s)?c=(0,Un.__)(&quot;Not available for aligned text.&quot;):l?c=(0,Un.__)(&quot;Showing large initial letter.&quot;):c=(0,Un.__)(&quot;Show a large initial letter.&quot;);let u=(0,HJ.getBlockSupport)(a,&quot;typography.defaultControls.dropCap&quot;,!1);return(0,Li.jsx)(Gn.InspectorControls,{group:&quot;typography&quot;,children:(0,Li.jsx)(cg.__experimentalToolsPanelItem,{hasValue:()=&gt;!!l,label:(0,Un.__)(&quot;Drop cap&quot;),isShownByDefault:u,onDeselect:()=&gt;r({dropCap:!1}),resetAllFilter:()=&gt;({dropCap:!1}),panelId:e,children:(0,Li.jsx)(cg.ToggleControl,{label:(0,Un.__)(&quot;Drop cap&quot;),checked:!!l,onChange:()=&gt;r({dropCap:!l}),help:c,disabled:KD(s)})})})}function Z_e({attributes:e,mergeBlocks:t,onReplace:r,onRemove:a,setAttributes:n,clientId:i,isSelected:l,name:s}){let{content:c,direction:u,dropCap:m,placeholder:p,style:d}=e,f=d?.typography?.textAlign;FJ(e.align,d,n);let h=(0,Gn.useBlockProps)({ref:MJ({clientId:i,content:c}),className:w({&quot;has-drop-cap&quot;:KD(f)?!1:m}),style:{direction:u}}),g=(0,Gn.useBlockEditingMode)();return(0,Li.jsxs)(Li.Fragment,{children:[g===&quot;default&quot;&amp;&amp;(0,Li.jsx)(Gn.BlockControls,{group:&quot;block&quot;,children:(0,Li.jsx)($_e,{direction:u,setDirection:b=&gt;n({direction:b})})}),l&amp;&amp;(0,Li.jsx)(q_e,{name:s,clientId:i,attributes:e,setAttributes:n}),(0,Li.jsx)(Gn.RichText,{identifier:&quot;content&quot;,tagName:&quot;p&quot;,...h,value:c,onChange:b=&gt;n({content:b}),onMerge:t,onReplace:r,onRemove:a,&quot;aria-label&quot;:Gn.RichText.isEmpty(c)?(0,Un.__)(&quot;Empty block; start writing or type forward slash to choose a block&quot;):(0,Un.__)(&quot;Block: Paragraph&quot;),&quot;data-empty&quot;:Gn.RichText.isEmpty(c),placeholder:p||(0,Un.__)(&quot;Type / to choose a block&quot;),&quot;data-custom-placeholder&quot;:p?!0:void 0,__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})]})}var OJ=Z_e;var ug={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/paragraph&quot;,title:&quot;Paragraph&quot;,category:&quot;text&quot;,description:&quot;Start with the basic building block of all narrative.&quot;,keywords:[&quot;text&quot;],textdomain:&quot;default&quot;,attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;p&quot;,role:&quot;content&quot;},dropCap:{type:&quot;boolean&quot;,default:!1},placeholder:{type:&quot;string&quot;},direction:{type:&quot;string&quot;,enum:[&quot;ltr&quot;,&quot;rtl&quot;]}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],splitting:!0,anchor:!0,className:!1,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,textColumns:!0,textIndent:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalWritingMode:!0,fitText:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalSelector:&quot;p&quot;,__unstablePasteTextInline:!0,interactivity:{clientNavigation:!0}},selectors:{root:&quot;p&quot;,typography:{textIndent:&quot;.wp-block-paragraph + .wp-block-paragraph&quot;}},editorStyle:&quot;wp-block-paragraph-editor&quot;,style:&quot;wp-block-paragraph&quot;};var xw=o(T(),1),jJ=o(P(),1),QD=o(v(),1);function UJ({attributes:e}){let{content:t,dropCap:r,direction:a,style:n}=e,i=n?.typography?.textAlign,l=w({&quot;has-drop-cap&quot;:i===((0,jJ.isRTL)()?&quot;left&quot;:&quot;right&quot;)||i===&quot;center&quot;?!1:r});return(0,QD.jsx)(&quot;p&quot;,{...xw.useBlockProps.save({className:l,dir:a}),children:(0,QD.jsx)(xw.RichText.Content,{value:t})})}var kw=o(W(),1);var{name:GJ}=ug,Q_e={from:[{type:&quot;raw&quot;,priority:20,selector:&quot;p&quot;,schema:({phrasingContentSchema:e,isPaste:t})=&gt;({p:{children:e,attributes:t?[]:[&quot;style&quot;,&quot;id&quot;]}}),transform(e){let t=(0,kw.getBlockAttributes)(GJ,e.outerHTML),{textAlign:r}=e.style||{};return(r===&quot;left&quot;||r===&quot;center&quot;||r===&quot;right&quot;)&amp;&amp;(t.style={...t.style,typography:{...t.style?.typography,textAlign:r}}),(0,kw.createBlock)(GJ,t)}}]},WJ=Q_e;var{fieldsKey:Y_e,formKey:X_e}=K($J.privateApis),{name:Sw}=ug,Cw={icon:ZT,example:{attributes:{content:(0,ww.__)(&quot;In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.&quot;)}},__experimentalLabel(e,{context:t}){let r=e?.metadata?.name;if((t===&quot;list-view&quot;||t===&quot;breadcrumb&quot;)&amp;&amp;r)return r;if(t===&quot;accessibility&quot;){if(r)return r;let{content:a}=e;return!a||a.length===0?(0,ww.__)(&quot;Empty&quot;):a}},transforms:WJ,deprecated:NJ,merge(e,t){return{content:(e.content||&quot;&quot;)+(t.content||&quot;&quot;)}},edit:OJ,save:UJ};window.__experimentalContentOnlyInspectorFields&amp;&amp;(Cw[Y_e]=[{id:&quot;content&quot;,label:(0,ww.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],Cw[X_e]={fields:[&quot;content&quot;]});var J_e=()=&gt;E({name:Sw,metadata:ug,settings:Cw});var eL={};Z(eL,{init:()=&gt;ixe,metadata:()=&gt;Tw,name:()=&gt;JJ,settings:()=&gt;eee});var Tw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/playlist&quot;,title:&quot;Playlist&quot;,category:&quot;media&quot;,description:&quot;Embed a simple playlist.&quot;,keywords:[&quot;music&quot;,&quot;sound&quot;],textdomain:&quot;default&quot;,allowedBlocks:[&quot;core/playlist-track&quot;],attributes:{currentTrack:{type:&quot;string&quot;},type:{type:&quot;string&quot;,default:&quot;audio&quot;},order:{type:&quot;string&quot;,default:&quot;asc&quot;},showTracklist:{type:&quot;boolean&quot;,default:!0},showImages:{type:&quot;boolean&quot;,default:!0},showArtists:{type:&quot;boolean&quot;,default:!0},showNumbers:{type:&quot;boolean&quot;,default:!0},caption:{type:&quot;string&quot;}},providesContext:{showArtists:&quot;showArtists&quot;,currentTrack:&quot;currentTrack&quot;},supports:{anchor:!0,align:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:!0,spacing:{margin:!0,padding:!0}},editorStyle:&quot;wp-block-playlist-editor&quot;,style:&quot;wp-block-playlist&quot;};var Pw,txe=new Uint8Array(16);function XD(){if(!Pw&amp;&amp;(Pw=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto),!Pw))throw new Error(&quot;crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported&quot;);return Pw(txe)}var ca=[];for(let e=0;e&lt;256;++e)ca.push((e+256).toString(16).slice(1));function qJ(e,t=0){return ca[e[t+0]]+ca[e[t+1]]+ca[e[t+2]]+ca[e[t+3]]+&quot;-&quot;+ca[e[t+4]]+ca[e[t+5]]+&quot;-&quot;+ca[e[t+6]]+ca[e[t+7]]+&quot;-&quot;+ca[e[t+8]]+ca[e[t+9]]+&quot;-&quot;+ca[e[t+10]]+ca[e[t+11]]+ca[e[t+12]]+ca[e[t+13]]+ca[e[t+14]]+ca[e[t+15]]}var rxe=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto),JD={randomUUID:rxe};function oxe(e,t,r){if(JD.randomUUID&amp;&amp;!t&amp;&amp;!e)return JD.randomUUID();e=e||{};let a=e.random||(e.rng||XD)();if(a[6]=a[6]&amp;15|64,a[8]=a[8]&amp;63|128,t){r=r||0;for(let n=0;n&lt;16;++n)t[r+n]=a[n];return t}return qJ(a)}var Am=oxe;var vu=o(U(),1),Or=o(T(),1),vo=o(M(),1),Nd=o(V(),1),KJ=o(xr(),1),At=o(P(),1);var Rm=o(ai(),1),QJ=o(W(),1);var Oe=o(v(),1),ZJ=[&quot;audio&quot;],axe=({track:e,showImages:t,onTrackEnd:r})=&gt;{let a={dangerouslySetInnerHTML:{__html:(0,Rm.safeHTML)(e?.title?e.title:(0,At.__)(&quot;Untitled&quot;))}},n={dangerouslySetInnerHTML:{__html:(0,Rm.safeHTML)(e?.artist?e.artist:(0,At.__)(&quot;Unknown artist&quot;))}},i={dangerouslySetInnerHTML:{__html:(0,Rm.safeHTML)(e?.album?e.album:(0,At.__)(&quot;Unknown album&quot;))}},l;return e?.title&amp;&amp;e?.artist&amp;&amp;e?.album?l=(0,Rm.__unstableStripHTML)((0,At.sprintf)((0,At._x)(&quot;%1$s by %2$s from the album %3$s&quot;,&quot;track title, artist name, album name&quot;),e?.title,e?.artist,e?.album)):e?.title?l=(0,Rm.__unstableStripHTML)(e.title):l=(0,Rm.__unstableStripHTML)((0,At.__)(&quot;Untitled&quot;)),(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsxs)(&quot;div&quot;,{className:&quot;wp-block-playlist__current-item&quot;,children:[t&amp;&amp;e?.image&amp;&amp;(0,Oe.jsx)(&quot;img&quot;,{className:&quot;wp-block-playlist__item-image&quot;,src:e.image,alt:&quot;&quot;,width:&quot;70px&quot;,height:&quot;70px&quot;}),(0,Oe.jsxs)(&quot;div&quot;,{children:[e?.title?(0,Oe.jsx)(&quot;span&quot;,{className:&quot;wp-block-playlist__item-title&quot;,...a}):(0,Oe.jsx)(&quot;span&quot;,{className:&quot;wp-block-playlist__item-title&quot;,children:(0,Oe.jsx)(vo.Spinner,{})}),(0,Oe.jsxs)(&quot;div&quot;,{className:&quot;wp-block-playlist__current-item-artist-album&quot;,children:[(0,Oe.jsx)(&quot;span&quot;,{className:&quot;wp-block-playlist__item-artist&quot;,...n}),(0,Oe.jsx)(&quot;span&quot;,{className:&quot;wp-block-playlist__item-album&quot;,...i})]})]})]}),(0,Oe.jsx)(&quot;audio&quot;,{controls:&quot;controls&quot;,src:e?.url?e.url:&quot;&quot;,onEnded:r,&quot;aria-label&quot;:l,tabIndex:0})]})},nxe=({attributes:e,setAttributes:t,isSelected:r,insertBlocksAfter:a,clientId:n})=&gt;{let{order:i,showTracklist:l,showNumbers:s,showImages:c,showArtists:u,currentTrack:m}=e,[p,d]=(0,vu.useState)(0),f=(0,Or.useBlockProps)(),{replaceInnerBlocks:h,__unstableMarkNextChangeAsNotPersistent:g}=(0,Nd.useDispatch)(Or.store),{createErrorNotice:b}=(0,Nd.useDispatch)(KJ.store),y=q();function k(R){b(R,{type:&quot;snackbar&quot;})}let{updateBlockAttributes:_}=(0,Nd.useDispatch)(Or.store),{innerBlockTracks:x}=(0,Nd.useSelect)(R=&gt;{let{getBlock:$}=R(Or.store);return{innerBlockTracks:$(n)?.innerBlocks??[]}},[n]);(0,vu.useEffect)(()=&gt;{let R=new Set,$=!1,j=x.map(G=&gt;R.has(G.attributes.uniqueId)?($=!0,{...G,attributes:{...G.attributes,uniqueId:Am()}}):(R.add(G.attributes.uniqueId),G));$&amp;&amp;h(n,j)},[x,n,h]);let S=x.filter(R=&gt;!!R.attributes.uniqueId),C=S.map(R=&gt;R.attributes),N=S[0]?.attributes?.uniqueId;(0,vu.useEffect)(()=&gt;{C.length===0?m!==null&amp;&amp;_(n,{currentTrack:null}):N&amp;&amp;N!==m&amp;&amp;_(n,{currentTrack:N})},[C,m,N,n,_]);let B=(0,vu.useCallback)(R=&gt;{if(!R)return;Array.isArray(R)||(R=[R]);let $=O=&gt;({id:O.id||O.url,uniqueId:Am(),src:O.url,title:O.title,artist:O.artist||O?.meta?.artist||O?.media_details?.artist||(0,At.__)(&quot;Unknown artist&quot;),album:O.album||O?.meta?.album||O?.media_details?.album||(0,At.__)(&quot;Unknown album&quot;),length:O?.fileLength||O?.media_details?.length_formatted,image:O?.image?.src&amp;&amp;O?.image?.src.endsWith(&quot;/images/media/audio.svg&quot;)?&quot;&quot;:O?.image?.src}),j=R.map($);g(),t({currentTrack:j.length&gt;0?j[0].uniqueId:null});let G=j.map(O=&gt;(0,QJ.createBlock)(&quot;core/playlist-track&quot;,O));h(n,G)},[g,t,h,n]),D=(0,vu.useCallback)(()=&gt;{if(p&lt;C.length-1)C[p+1]?.uniqueId&amp;&amp;(d(p+1),t({currentTrack:C[p+1].uniqueId}));else if(d(0),C[0].uniqueId)t({currentTrack:C[0].uniqueId});else if(C.length&gt;0){let R=C.find($=&gt;$.uniqueId!==void 0);R&amp;&amp;t({currentTrack:R.uniqueId})}},[t,p,C]),A=(0,vu.useCallback)(R=&gt;{let $=[...x].sort((G,O)=&gt;{let J=G.attributes.title||&quot;&quot;,ee=O.attributes.title||&quot;&quot;;return R===&quot;asc&quot;?J.localeCompare(ee):ee.localeCompare(J)}),j=$.map(G=&gt;G.attributes);h(n,$),t({order:R,currentTrack:j.length&gt;0&amp;&amp;j[0].uniqueId!==m?j[0].uniqueId:m})},[n,m,x,h,t]);function H(R){return $=&gt;{t({[R]:$})}}let F=(0,Nd.useSelect)(R=&gt;R(Or.store).hasSelectedInnerBlock(n),[n]),I=(0,Or.useInnerBlocksProps)(f,{__experimentalAppenderTagName:&quot;li&quot;,renderAppender:(r||F)&amp;&amp;Or.InnerBlocks.ButtonBlockAppender});return!C||Array.isArray(C)&amp;&amp;C.length===0?(0,Oe.jsx)(&quot;div&quot;,{...f,className:w(&quot;is-placeholder&quot;,f.className),children:(0,Oe.jsx)(Or.MediaPlaceholder,{icon:(0,Oe.jsx)(Or.BlockIcon,{icon:ni}),labels:{title:(0,At.__)(&quot;Playlist&quot;),instructions:(0,At.__)(&quot;Upload an audio file or pick one from your media library.&quot;)},onSelect:B,accept:&quot;audio/*&quot;,multiple:!0,allowedTypes:ZJ,onError:k})}):(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Or.BlockControls,{group:&quot;other&quot;,children:(0,Oe.jsx)(Or.MediaReplaceFlow,{name:(0,At.__)(&quot;Edit&quot;),onSelect:B,accept:&quot;audio/*&quot;,multiple:!0,mediaIds:C.filter(R=&gt;R.id).map(R=&gt;R.id),allowedTypes:ZJ,onError:k})}),(0,Oe.jsx)(Or.InspectorControls,{children:(0,Oe.jsxs)(vo.__experimentalToolsPanel,{label:(0,At.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({showTracklist:!0,showArtists:!0,showNumbers:!0,showImages:!0,order:&quot;asc&quot;})},dropdownMenuProps:y,children:[(0,Oe.jsx)(vo.__experimentalToolsPanelItem,{label:(0,At.__)(&quot;Show Tracklist&quot;),isShownByDefault:!0,hasValue:()=&gt;l!==!0,onDeselect:()=&gt;t({showTracklist:!0}),children:(0,Oe.jsx)(vo.ToggleControl,{label:(0,At.__)(&quot;Show Tracklist&quot;),onChange:H(&quot;showTracklist&quot;),checked:l})}),l&amp;&amp;(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(vo.__experimentalToolsPanelItem,{label:(0,At.__)(&quot;Show artist name in Tracklist&quot;),isShownByDefault:!0,hasValue:()=&gt;u!==!0,onDeselect:()=&gt;t({showArtists:!0}),children:(0,Oe.jsx)(vo.ToggleControl,{label:(0,At.__)(&quot;Show artist name in Tracklist&quot;),onChange:H(&quot;showArtists&quot;),checked:u})}),(0,Oe.jsx)(vo.__experimentalToolsPanelItem,{label:(0,At.__)(&quot;Show number in Tracklist&quot;),isShownByDefault:!0,hasValue:()=&gt;s!==!0,onDeselect:()=&gt;t({showNumbers:!0}),children:(0,Oe.jsx)(vo.ToggleControl,{label:(0,At.__)(&quot;Show number in Tracklist&quot;),onChange:H(&quot;showNumbers&quot;),checked:s})})]}),(0,Oe.jsx)(vo.__experimentalToolsPanelItem,{label:(0,At.__)(&quot;Show images&quot;),isShownByDefault:!0,hasValue:()=&gt;c!==!0,onDeselect:()=&gt;t({showImages:!0}),children:(0,Oe.jsx)(vo.ToggleControl,{label:(0,At.__)(&quot;Show images&quot;),onChange:H(&quot;showImages&quot;),checked:c})}),(0,Oe.jsx)(vo.__experimentalToolsPanelItem,{label:(0,At.__)(&quot;Order&quot;),isShownByDefault:!0,hasValue:()=&gt;i!==&quot;asc&quot;,onDeselect:()=&gt;t({order:&quot;asc&quot;}),children:(0,Oe.jsx)(vo.SelectControl,{__next40pxDefaultSize:!0,label:(0,At.__)(&quot;Order&quot;),value:i,options:[{label:(0,At.__)(&quot;Descending&quot;),value:&quot;desc&quot;},{label:(0,At.__)(&quot;Ascending&quot;),value:&quot;asc&quot;}],onChange:R=&gt;A(R)})})]})}),(0,Oe.jsxs)(&quot;figure&quot;,{...f,children:[(0,Oe.jsx)(vo.Disabled,{isDisabled:!r,children:(0,Oe.jsx)(axe,{track:C[p],showImages:c,onTrackEnd:D})}),l&amp;&amp;(0,Oe.jsx)(&quot;ol&quot;,{className:w(&quot;wp-block-playlist__tracklist&quot;,{&quot;wp-block-playlist__tracklist-show-numbers&quot;:s}),children:I.children}),(0,Oe.jsx)(_a,{attributes:e,setAttributes:t,isSelected:r,insertBlocksAfter:a,label:(0,At.__)(&quot;Playlist caption text&quot;),showToolbarButton:r,style:{marginTop:16}})]})]})},YJ=nxe;var bu=o(T(),1),r2=o(v(),1);function XJ({attributes:e}){let{caption:t,showNumbers:r,showTracklist:a,showArtists:n}=e,i=bu.useBlockProps.save(),l=bu.useInnerBlocksProps.save(i);return(0,r2.jsxs)(&quot;figure&quot;,{...l,children:[(0,r2.jsx)(&quot;ol&quot;,{className:w(&quot;wp-block-playlist__tracklist&quot;,{&quot;wp-block-playlist__tracklist-is-hidden&quot;:!a,&quot;wp-block-playlist__tracklist-artist-is-hidden&quot;:!n,&quot;wp-block-playlist__tracklist-show-numbers&quot;:r}),children:l.children}),!bu.RichText.isEmpty(t)&amp;&amp;(0,r2.jsx)(bu.RichText.Content,{tagName:&quot;figcaption&quot;,className:(0,bu.__experimentalGetElementClassName)(&quot;caption&quot;),value:t})]})}var{name:JJ}=Tw,eee={icon:ni,edit:YJ,save:XJ},ixe=()=&gt;E({name:JJ,metadata:Tw,settings:eee});var rL={};Z(rL,{init:()=&gt;uxe,metadata:()=&gt;Bw,name:()=&gt;nee,settings:()=&gt;iee});var Bw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/playlist-track&quot;,title:&quot;Playlist track&quot;,category:&quot;media&quot;,parent:[&quot;core/playlist&quot;],description:&quot;Playlist track.&quot;,keywords:[&quot;music&quot;,&quot;sound&quot;],textdomain:&quot;default&quot;,usesContext:[&quot;showArtists&quot;,&quot;currentTrack&quot;],attributes:{blob:{type:&quot;string&quot;,role:&quot;local&quot;},id:{type:&quot;number&quot;},uniqueId:{type:&quot;string&quot;},src:{type:&quot;string&quot;},type:{type:&quot;string&quot;,default:&quot;audio&quot;},album:{type:&quot;string&quot;},artist:{type:&quot;string&quot;},image:{type:&quot;string&quot;},length:{type:&quot;string&quot;},title:{type:&quot;string&quot;}},supports:{html:!1,interactivity:{clientNavigation:!0},reusable:!1},style:&quot;wp-block-playlist-track&quot;};var tee=o(Rr(),1),Iw=o(U(),1),bo=o(T(),1),Mi=o(M(),1),ree=o(V(),1),oee=o(xr(),1),eo=o(P(),1);var o2=o(ai(),1);var _t=o(v(),1),tL=[&quot;audio&quot;],sxe=[&quot;image&quot;],cxe=({attributes:e,setAttributes:t,context:r})=&gt;{let{id:a,uniqueId:n,src:i,album:l,artist:s,image:c,length:u,title:m}=e,[p,d]=(0,Iw.useState)(e.blob),f=r?.showArtists,h=r?.currentTrack,g=(0,Iw.useRef)(),b=(0,bo.useBlockProps)(),{createErrorNotice:y}=(0,ree.useDispatch)(oee.store);function k(C){y(C,{type:&quot;snackbar&quot;})}Es({src:p,allowedTypes:tL,onChange:_,onError:k});function _(C){if(!C||!C.url){t({blob:void 0,id:void 0,uniqueId:void 0,artist:void 0,album:void 0,image:void 0,length:void 0,title:void 0,url:void 0}),d();return}if((0,tee.isBlobURL)(C.url)){d(C.url);return}t({blob:void 0,id:C.id,uniqueId:Am(),src:C.url,artist:C.artist||C?.meta?.artist||C?.media_details?.artist||(0,eo.__)(&quot;Unknown artist&quot;),album:C.album||C?.meta?.album||C?.media_details?.album||(0,eo.__)(&quot;Unknown album&quot;),image:C?.image?.src&amp;&amp;C?.image?.src.endsWith(&quot;/images/media/audio.svg&quot;)?&quot;&quot;:C?.image?.src,length:C?.fileLength||C?.media_details?.length_formatted,title:C.title}),d()}function x(C){t({image:C.url})}function S(){t({image:void 0}),g.current.focus()}return!i&amp;&amp;!p?(0,_t.jsx)(&quot;div&quot;,{...b,children:(0,_t.jsx)(bo.MediaPlaceholder,{icon:(0,_t.jsx)(bo.BlockIcon,{icon:ni}),labels:{title:(0,eo.__)(&quot;Track&quot;),instructions:(0,eo.__)(&quot;Upload an audio file or pick one from your media library.&quot;)},onSelect:_,accept:&quot;audio/*&quot;,allowedTypes:tL,value:e,onError:k})}):(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)(bo.BlockControls,{group:&quot;other&quot;,children:(0,_t.jsx)(bo.MediaReplaceFlow,{name:(0,eo.__)(&quot;Replace&quot;),onSelect:_,accept:&quot;audio/*&quot;,mediaId:a,mediaURL:i,allowedTypes:tL,onError:k})}),(0,_t.jsx)(bo.InspectorControls,{children:(0,_t.jsxs)(Mi.PanelBody,{title:(0,eo.__)(&quot;Settings&quot;),children:[(0,_t.jsx)(Mi.TextControl,{__next40pxDefaultSize:!0,label:(0,eo.__)(&quot;Artist&quot;),value:s?(0,o2.__unstableStripHTML)(s):&quot;&quot;,onChange:C=&gt;{t({artist:C})}}),(0,_t.jsx)(Mi.TextControl,{__next40pxDefaultSize:!0,label:(0,eo.__)(&quot;Album&quot;),value:l?(0,o2.__unstableStripHTML)(l):&quot;&quot;,onChange:C=&gt;{t({album:C})}}),(0,_t.jsx)(Mi.TextControl,{__next40pxDefaultSize:!0,label:(0,eo.__)(&quot;Title&quot;),value:m?(0,o2.__unstableStripHTML)(m):&quot;&quot;,placeholder:m?(0,o2.__unstableStripHTML)(m):&quot;&quot;,onChange:C=&gt;{t({title:C})}}),(0,_t.jsx)(bo.MediaUploadCheck,{children:(0,_t.jsxs)(&quot;div&quot;,{className:&quot;editor-video-poster-control&quot;,children:[(0,_t.jsx)(Mi.BaseControl.VisualLabel,{children:(0,eo.__)(&quot;Album cover image&quot;)}),!!c&amp;&amp;(0,_t.jsx)(&quot;img&quot;,{src:c,alt:(0,eo.__)(&quot;Preview of the album cover image&quot;)}),(0,_t.jsx)(bo.MediaUpload,{title:(0,eo.__)(&quot;Select image&quot;),onSelect:x,allowedTypes:sxe,render:({open:C})=&gt;(0,_t.jsx)(Mi.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:C,ref:g,children:c?(0,eo.__)(&quot;Replace&quot;):(0,eo.__)(&quot;Select&quot;)})}),!!c&amp;&amp;(0,_t.jsx)(Mi.Button,{__next40pxDefaultSize:!0,onClick:S,variant:&quot;tertiary&quot;,children:(0,eo.__)(&quot;Remove&quot;)})]})})]})}),(0,_t.jsxs)(&quot;li&quot;,{...b,children:[!!p&amp;&amp;(0,_t.jsx)(Mi.Spinner,{}),(0,_t.jsxs)(&quot;button&quot;,{className:&quot;wp-block-playlist-track__button&quot;,&quot;data-wp-context&quot;:JSON.stringify({uniqueId:n}),&quot;aria-current&quot;:h===n?&quot;true&quot;:&quot;false&quot;,children:[(0,_t.jsxs)(&quot;span&quot;,{className:&quot;wp-block-playlist-track__content&quot;,children:[(0,_t.jsx)(bo.RichText,{tagName:&quot;span&quot;,className:&quot;wp-block-playlist-track__title&quot;,value:m,placeholder:(0,eo.__)(&quot;Add title&quot;),onChange:C=&gt;{t({title:C})},allowedFormats:[],withoutInteractiveFormatting:!0}),f&amp;&amp;(0,_t.jsx)(bo.RichText,{tagName:&quot;span&quot;,className:&quot;wp-block-playlist-track__artist&quot;,value:s,placeholder:(0,eo.__)(&quot;Add artist&quot;),onChange:C=&gt;t({artist:C}),allowedFormats:[],withoutInteractiveFormatting:!0})]}),(0,_t.jsxs)(&quot;span&quot;,{className:&quot;wp-block-playlist-track__length&quot;,children:[u&amp;&amp;(0,_t.jsx)(&quot;span&quot;,{className:&quot;screen-reader-text&quot;,children:(0,eo.__)(&quot;Length:&quot;)}),u]}),(0,_t.jsx)(&quot;span&quot;,{className:&quot;screen-reader-text&quot;,children:(0,eo.__)(&quot;Select to play this track&quot;)})]})]})]})},aee=cxe;var{name:nee}=Bw,iee={icon:ni,edit:aee},uxe=()=&gt;E({name:nee,metadata:Bw,settings:iee});var aL={};Z(aL,{init:()=&gt;gxe,metadata:()=&gt;Nw,name:()=&gt;hee,settings:()=&gt;gee});var fee=o(P(),1);var Nw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-author&quot;,title:&quot;Author (deprecated)&quot;,category:&quot;theme&quot;,description:&quot;This block is deprecated. Please use the Avatar block, the Author Name block, and the Author Biography block instead.&quot;,textdomain:&quot;default&quot;,attributes:{textAlign:{type:&quot;string&quot;},avatarSize:{type:&quot;number&quot;,default:48},showAvatar:{type:&quot;boolean&quot;,default:!0},showBio:{type:&quot;boolean&quot;},byline:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;}},usesContext:[&quot;postType&quot;,&quot;postId&quot;,&quot;queryId&quot;],supports:{inserter:!1,anchor:!0,html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},filter:{duotone:!0}},selectors:{filter:{duotone:&quot;.wp-block-post-author .wp-block-post-author__avatar img&quot;}},editorStyle:&quot;wp-block-post-author-editor&quot;,style:&quot;wp-block-post-author&quot;};var pn=o(T(),1),Tr=o(M(),1),mee=o(me(),1),Ew=o(Q(),1),Dd=o(V(),1),Dw=o(U(),1),oL=o(Wo(),1),Sr=o(P(),1),pee=o(W(),1);var Ed=o(W(),1),see=o(P(),1),cee=o(T(),1);var{cleanEmptyObject:lee}=K(cee.privateApis);function uee(e,t){let{avatarSize:r,byline:a,showAvatar:n,showBio:i,isLink:l,linkTarget:s,textAlign:c,style:u,...m}=e,p=n&amp;&amp;t.some(g=&gt;g.name===&quot;core/avatar&quot;),d=a&amp;&amp;t.some(g=&gt;g.name===&quot;core/paragraph&quot;),f=t.some(g=&gt;g.name===&quot;core/post-author-name&quot;),h=i&amp;&amp;t.some(g=&gt;g.name===&quot;core/post-author-biography&quot;);return(0,Ed.createBlock)(&quot;core/group&quot;,{...m,style:lee({...u,spacing:{...u?.spacing,blockGap:&quot;1em&quot;},color:{...u?.color,duotone:void 0}}),layout:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;,verticalAlignment:&quot;top&quot;}},[p&amp;&amp;(0,Ed.createBlock)(&quot;core/avatar&quot;,{size:r,style:lee({border:{radius:&quot;0px&quot;},color:{duotone:u?.color?.duotone}})}),(0,Ed.createBlock)(&quot;core/group&quot;,{style:{layout:{selfStretch:&quot;fill&quot;,flexSize:null},spacing:{blockGap:&quot;0&quot;}},layout:{type:&quot;flex&quot;,orientation:&quot;vertical&quot;,justifyContent:&quot;stretch&quot;}},[d&amp;&amp;(0,Ed.createBlock)(&quot;core/paragraph&quot;,{content:a,placeholder:(0,see.__)(&quot;Write byline\u2026&quot;),style:{typography:{fontSize:&quot;0.5em&quot;,textAlign:c}}}),f&amp;&amp;(0,Ed.createBlock)(&quot;core/post-author-name&quot;,{isLink:l,linkTarget:s,style:{typography:{fontSize:&quot;1em&quot;,textAlign:c}}}),h&amp;&amp;(0,Ed.createBlock)(&quot;core/post-author-biography&quot;,{style:{typography:{fontSize:&quot;0.7em&quot;,textAlign:c}}})].filter(Boolean))].filter(Boolean))}var nt=o(v(),1),{InspectorControlsLastItem:pxe}=K(pn.privateApis),dxe={who:&quot;authors&quot;,per_page:100,_fields:&quot;id,name&quot;,context:&quot;view&quot;};function fxe({value:e,onChange:t}){let[r,a]=(0,Dw.useState)(&quot;&quot;),{authors:n,isLoading:i}=(0,Dd.useSelect)(s=&gt;{let{getUsers:c,isResolving:u}=s(Ew.store),m={...dxe};return r&amp;&amp;(m.search=r,m.search_columns=[&quot;name&quot;]),{authors:c(m),isLoading:u(&quot;getUsers&quot;,[m])}},[r]),l=(0,Dw.useMemo)(()=&gt;{let s=(n??[]).map(m=&gt;({value:m.id,label:(0,oL.decodeEntities)(m.name)})),c=s.findIndex(m=&gt;e?.id===m.value),u=[];return c&lt;0&amp;&amp;e?u=[{value:e.id,label:(0,oL.decodeEntities)(e.name)}]:c&lt;0&amp;&amp;!e&amp;&amp;(u=[{value:0,label:(0,Sr.__)(&quot;(No author)&quot;)}]),[...u,...s]},[n,e]);return(0,nt.jsx)(Tr.ComboboxControl,{__next40pxDefaultSize:!0,label:(0,Sr.__)(&quot;Author&quot;),options:l,value:e?.id,onFilterValueChange:(0,mee.debounce)(a,300),onChange:t,allowReset:!1,isLoading:i})}function hxe({isSelected:e,context:{postType:t,postId:r,queryId:a},attributes:n,setAttributes:i,clientId:l}){let s=Number.isFinite(a),c=q(),u=x1(),{authorDetails:m,canAssignAuthor:p,supportsAuthor:d}=(0,Dd.useSelect)(z=&gt;{let{getEditedEntityRecord:I,getUser:R,getPostType:$}=z(Ew.store),j=I(&quot;postType&quot;,t,r),G=j?.author;return{authorDetails:G?R(G,{context:&quot;view&quot;}):null,supportsAuthor:$(t)?.supports?.author??!1,canAssignAuthor:!!j?._links?.[&quot;wp:action-assign-author&quot;]}},[t,r]),f=(0,Dd.useSelect)(z=&gt;z(pee.store).getBlockTypes(),[]),{editEntityRecord:h}=(0,Dd.useDispatch)(Ew.store),{replaceBlock:g}=(0,Dd.useDispatch)(pn.store),{textAlign:b,showAvatar:y,showBio:k,byline:_,isLink:x,linkTarget:S,avatarSize:C}=n,N=[],B=m?.name||(0,Sr.__)(&quot;Post Author&quot;);m?.avatar_urls&amp;&amp;Object.keys(m.avatar_urls).forEach(z=&gt;{N.push({value:z,label:`${z} x ${z}`})});let D=(0,pn.useBlockProps)({className:w({[`has-text-align-${b}`]:b})}),A=z=&gt;{h(&quot;postType&quot;,t,r,{author:z})},H=!!r&amp;&amp;!s&amp;&amp;p;if(!d&amp;&amp;t!==void 0)return(0,nt.jsx)(&quot;div&quot;,{...D,children:(0,Sr.sprintf)((0,Sr.__)(&quot;This post type (%s) does not support the author.&quot;),t)});function F(){g(l,uee(n,f))}return(0,nt.jsxs)(nt.Fragment,{children:[(0,nt.jsx)(pn.InspectorControls,{children:(0,nt.jsxs)(Tr.__experimentalToolsPanel,{label:(0,Sr.__)(&quot;Settings&quot;),resetAll:()=&gt;{i({avatarSize:48,showAvatar:!0,isLink:!1,linkTarget:&quot;_self&quot;})},dropdownMenuProps:c,children:[H&amp;&amp;(0,nt.jsx)(&quot;div&quot;,{style:{gridColumn:&quot;1 / -1&quot;},children:(0,nt.jsx)(fxe,{value:m,onChange:A})}),(0,nt.jsx)(Tr.__experimentalToolsPanelItem,{label:(0,Sr.__)(&quot;Show avatar&quot;),isShownByDefault:!0,hasValue:()=&gt;!y,onDeselect:()=&gt;i({showAvatar:!0}),children:(0,nt.jsx)(Tr.ToggleControl,{label:(0,Sr.__)(&quot;Show avatar&quot;),checked:y,onChange:()=&gt;i({showAvatar:!y})})}),y&amp;&amp;(0,nt.jsx)(Tr.__experimentalToolsPanelItem,{label:(0,Sr.__)(&quot;Avatar size&quot;),isShownByDefault:!0,hasValue:()=&gt;C!==48,onDeselect:()=&gt;i({avatarSize:48}),children:(0,nt.jsx)(Tr.SelectControl,{__next40pxDefaultSize:!0,label:(0,Sr.__)(&quot;Avatar size&quot;),value:C,options:N,onChange:z=&gt;{i({avatarSize:Number(z)})}})}),(0,nt.jsx)(Tr.__experimentalToolsPanelItem,{label:(0,Sr.__)(&quot;Show bio&quot;),isShownByDefault:!0,hasValue:()=&gt;!!k,onDeselect:()=&gt;i({showBio:void 0}),children:(0,nt.jsx)(Tr.ToggleControl,{label:(0,Sr.__)(&quot;Show bio&quot;),checked:!!k,onChange:()=&gt;i({showBio:!k})})}),(0,nt.jsx)(Tr.__experimentalToolsPanelItem,{label:(0,Sr.__)(&quot;Link author name to author page&quot;),isShownByDefault:!0,hasValue:()=&gt;!!x,onDeselect:()=&gt;i({isLink:!1}),children:(0,nt.jsx)(Tr.ToggleControl,{label:(0,Sr.__)(&quot;Link author name to author page&quot;),checked:x,onChange:()=&gt;i({isLink:!x})})}),x&amp;&amp;(0,nt.jsx)(Tr.__experimentalToolsPanelItem,{label:(0,Sr.__)(&quot;Link target&quot;),isShownByDefault:!0,hasValue:()=&gt;S!==&quot;_self&quot;,onDeselect:()=&gt;i({linkTarget:&quot;_self&quot;}),children:(0,nt.jsx)(Tr.ToggleControl,{label:(0,Sr.__)(&quot;Open in new tab&quot;),onChange:z=&gt;i({linkTarget:z?&quot;_blank&quot;:&quot;_self&quot;}),checked:S===&quot;_blank&quot;})})]})}),f.some(z=&gt;z.name===&quot;core/group&quot;)&amp;&amp;(0,nt.jsx)(pxe,{children:(0,nt.jsxs)(Tr.__experimentalVStack,{className:&quot;wp-block-post-author__transform&quot;,alignment:&quot;left&quot;,spacing:4,children:[(0,nt.jsx)(Tr.__experimentalText,{as:&quot;p&quot;,children:(0,Sr.__)(&quot;This block is no longer supported. Recreate its design with the Avatar, Author Name and Author Biography blocks.&quot;)}),(0,nt.jsx)(Tr.Button,{variant:&quot;primary&quot;,onClick:F,__next40pxDefaultSize:!0,children:(0,Sr.__)(&quot;Recreate&quot;)})]})}),(0,nt.jsx)(pn.BlockControls,{group:&quot;block&quot;,children:(0,nt.jsx)(pn.AlignmentControl,{value:b,onChange:z=&gt;{i({textAlign:z})}})}),(0,nt.jsxs)(&quot;div&quot;,{...D,children:[y&amp;&amp;(0,nt.jsx)(&quot;div&quot;,{className:&quot;wp-block-post-author__avatar&quot;,children:(0,nt.jsx)(&quot;img&quot;,{width:C,src:m?.avatar_urls?.[C]||u,alt:m?.name||(0,Sr.__)(&quot;Default Avatar&quot;)})}),(0,nt.jsxs)(&quot;div&quot;,{className:&quot;wp-block-post-author__content&quot;,children:[(!pn.RichText.isEmpty(_)||e)&amp;&amp;(0,nt.jsx)(pn.RichText,{identifier:&quot;byline&quot;,className:&quot;wp-block-post-author__byline&quot;,&quot;aria-label&quot;:(0,Sr.__)(&quot;Post author byline text&quot;),placeholder:(0,Sr.__)(&quot;Write byline\u2026&quot;),value:_,onChange:z=&gt;i({byline:z})}),(0,nt.jsx)(&quot;p&quot;,{className:&quot;wp-block-post-author__name&quot;,children:x?(0,nt.jsx)(&quot;a&quot;,{href:&quot;#post-author-pseudo-link&quot;,onClick:z=&gt;z.preventDefault(),children:B}):B}),k&amp;&amp;(0,nt.jsx)(&quot;p&quot;,{className:&quot;wp-block-post-author__bio&quot;,dangerouslySetInnerHTML:{__html:m?.description}})]})]})]})}var dee=hxe;var{name:hee}=Nw,gee={icon:Bp,example:{viewportWidth:350,attributes:{showBio:!0,byline:(0,fee.__)(&quot;Posted by&quot;)}},edit:dee},gxe=()=&gt;E({name:hee,metadata:Nw,settings:gee});var nL={};Z(nL,{init:()=&gt;xxe,metadata:()=&gt;Lw,name:()=&gt;wee,settings:()=&gt;Cee});var Lw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-author-name&quot;,title:&quot;Author Name&quot;,category:&quot;theme&quot;,description:&quot;The author name.&quot;,textdomain:&quot;default&quot;,attributes:{isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;}},usesContext:[&quot;postType&quot;,&quot;postId&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-author-name&quot;};var Mw=o(T(),1),vee=o(V(),1),dc=o(P(),1),bee=o(Q(),1),zm=o(M(),1);var Ai=o(v(),1);function bxe(e){Kr(e);let{attributes:{isLink:t,linkTarget:r},setAttributes:a,context:{postType:n,postId:i}}=e,{authorName:l,supportsAuthor:s}=(0,vee.useSelect)(d=&gt;{let{getEditedEntityRecord:f,getUser:h,getPostType:g}=d(bee.store),b=f(&quot;postType&quot;,n,i)?.author;return{authorName:b?h(b):null,supportsAuthor:g(n)?.supports?.author??!1}},[n,i]),c=(0,Mw.useBlockProps)(),u=l?.name||(0,dc.__)(&quot;Author Name&quot;),m=t?(0,Ai.jsx)(&quot;a&quot;,{href:&quot;#author-pseudo-link&quot;,onClick:d=&gt;d.preventDefault(),className:&quot;wp-block-post-author-name__link&quot;,children:u}):u,p=q();return(0,Ai.jsxs)(Ai.Fragment,{children:[(0,Ai.jsx)(Mw.InspectorControls,{children:(0,Ai.jsxs)(zm.__experimentalToolsPanel,{label:(0,dc.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({isLink:!1,linkTarget:&quot;_self&quot;})},dropdownMenuProps:p,children:[(0,Ai.jsx)(zm.__experimentalToolsPanelItem,{label:(0,dc.__)(&quot;Link to author archive&quot;),isShownByDefault:!0,hasValue:()=&gt;t,onDeselect:()=&gt;a({isLink:!1}),children:(0,Ai.jsx)(zm.ToggleControl,{label:(0,dc.__)(&quot;Link to author archive&quot;),onChange:()=&gt;a({isLink:!t}),checked:t})}),t&amp;&amp;(0,Ai.jsx)(zm.__experimentalToolsPanelItem,{label:(0,dc.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==&quot;_self&quot;,onDeselect:()=&gt;a({linkTarget:&quot;_self&quot;}),children:(0,Ai.jsx)(zm.ToggleControl,{label:(0,dc.__)(&quot;Open in new tab&quot;),onChange:d=&gt;a({linkTarget:d?&quot;_blank&quot;:&quot;_self&quot;}),checked:r===&quot;_blank&quot;})})]})}),(0,Ai.jsx)(&quot;div&quot;,{...c,children:!s&amp;&amp;n!==void 0?(0,dc.sprintf)((0,dc.__)(&quot;This post type (%s) does not support the author.&quot;),n):m})]})}var yee=bxe;var yxe={attributes:{isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},_ee=[yxe];var xee=o(W(),1),_xe={from:[{type:&quot;block&quot;,blocks:[&quot;core/post-author&quot;],transform:({textAlign:e})=&gt;(0,xee.createBlock)(&quot;core/post-author-name&quot;,{style:{typography:{textAlign:e}}})}]},kee=_xe;var{name:wee}=Lw,Cee={icon:Bp,transforms:kee,edit:yee,deprecated:_ee},xxe=()=&gt;E({name:wee,metadata:Lw,settings:Cee});var iL={};Z(iL,{init:()=&gt;Sxe,metadata:()=&gt;Aw,name:()=&gt;Eee,settings:()=&gt;Dee});var Aw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-author-biography&quot;,title:&quot;Author Biography&quot;,category:&quot;theme&quot;,description:&quot;The author biography.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postType&quot;,&quot;postId&quot;],example:{viewportWidth:350},supports:{anchor:!0,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-author-biography&quot;};var See=o(T(),1),Tee=o(V(),1),Pee=o(P(),1),Bee=o(Q(),1);var a2=o(v(),1);function wxe(e){Kr(e);let{context:{postType:t,postId:r}}=e,{authorDetails:a}=(0,Tee.useSelect)(l=&gt;{let{getEditedEntityRecord:s,getUser:c}=l(Bee.store),u=s(&quot;postType&quot;,t,r)?.author;return{authorDetails:u?c(u):null}},[t,r]),n=(0,See.useBlockProps)(),i=a?.description||(0,Pee.__)(&quot;Author Biography&quot;);return(0,a2.jsx)(a2.Fragment,{children:(0,a2.jsx)(&quot;div&quot;,{...n,dangerouslySetInnerHTML:{__html:i}})})}var Iee=wxe;var Cxe={attributes:{textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},Nee=[Cxe];var{name:Eee}=Aw,Dee={icon:Bp,edit:Iee,deprecated:Nee},Sxe=()=&gt;E({name:Eee,metadata:Aw,settings:Dee});var lL={};Z(lL,{init:()=&gt;Bxe,metadata:()=&gt;Rw,name:()=&gt;zee,settings:()=&gt;Vee});var Rw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:&quot;fse&quot;,name:&quot;core/post-comment&quot;,title:&quot;Comment (deprecated)&quot;,category:&quot;theme&quot;,allowedBlocks:[&quot;core/avatar&quot;,&quot;core/comment-author-name&quot;,&quot;core/comment-content&quot;,&quot;core/comment-date&quot;,&quot;core/comment-edit-link&quot;,&quot;core/comment-reply-link&quot;],description:&quot;This block is deprecated. Please use the Comments block instead.&quot;,textdomain:&quot;default&quot;,attributes:{commentId:{type:&quot;number&quot;}},providesContext:{commentId:&quot;commentId&quot;},supports:{html:!1,inserter:!1,interactivity:{clientNavigation:!0}}};var n2=o(P(),1),mg=o(M(),1),Lee=o(U(),1);var zw=o(T(),1),Ld=o(v(),1),Pxe=[[&quot;core/avatar&quot;],[&quot;core/comment-author-name&quot;],[&quot;core/comment-date&quot;],[&quot;core/comment-content&quot;],[&quot;core/comment-reply-link&quot;],[&quot;core/comment-edit-link&quot;]];function Mee({attributes:{commentId:e},setAttributes:t}){let[r,a]=(0,Lee.useState)(e),n=(0,zw.useBlockProps)(),i=(0,zw.useInnerBlocksProps)(n,{template:Pxe});return e?(0,Ld.jsx)(&quot;div&quot;,{...i}):(0,Ld.jsx)(&quot;div&quot;,{...n,children:(0,Ld.jsxs)(mg.Placeholder,{icon:VS,label:(0,n2._x)(&quot;Post Comment&quot;,&quot;block title&quot;),instructions:(0,n2.__)(&quot;To show a comment, input the comment ID.&quot;),children:[(0,Ld.jsx)(mg.TextControl,{__next40pxDefaultSize:!0,value:e,onChange:l=&gt;a(parseInt(l))}),(0,Ld.jsx)(mg.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:()=&gt;{t({commentId:r})},children:(0,n2.__)(&quot;Save&quot;)})]})})}var Vw=o(T(),1),Aee=o(v(),1);function Ree(){let e=Vw.useBlockProps.save(),t=Vw.useInnerBlocksProps.save(e);return(0,Aee.jsx)(&quot;div&quot;,{...t})}var{name:zee}=Rw,Vee={icon:N0,edit:Mee,save:Ree},Bxe=()=&gt;E({name:zee,metadata:Rw,settings:Vee});var sL={};Z(sL,{init:()=&gt;Dxe,metadata:()=&gt;Fw,name:()=&gt;qee,settings:()=&gt;Zee});var Fw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-comments-count&quot;,title:&quot;Comments Count&quot;,category:&quot;theme&quot;,description:&quot;Display a post&#039;s comments count.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},interactivity:{clientNavigation:!0}},style:&quot;wp-block-post-comments-count&quot;};var Fee=o(T(),1),Hw=o(U(),1),Hee=o(G1(),1),Oee=o(mr(),1),jee=o(v(),1);function Uee({context:e}){let{postId:t}=e,[r,a]=(0,Hw.useState)(),n=(0,Fee.useBlockProps)();(0,Hw.useEffect)(()=&gt;{if(!t)return;let s=t;(0,Hee.default)({path:(0,Oee.addQueryArgs)(&quot;/wp/v2/comments&quot;,{post:t}),parse:!1}).then(c=&gt;{s===t&amp;&amp;a(c.headers.get(&quot;X-WP-Total&quot;))})},[t]);let i=t&amp;&amp;r!==void 0,l={...n.style,textDecoration:i?n.style?.textDecoration:void 0};return(0,jee.jsx)(&quot;div&quot;,{...n,style:l,children:i?r:&quot;0&quot;})}var Gee=o(W(),1),Nxe={to:[{type:&quot;block&quot;,blocks:[&quot;core/post-comments-link&quot;],transform:({style:e})=&gt;{let t=e?.typography?.textAlign;return(0,Gee.createBlock)(&quot;core/post-comments-link&quot;,{...t&amp;&amp;{style:{typography:{textAlign:t}}}})}}]},Wee=Nxe;var Exe={attributes:{textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},$ee=[Exe];var{name:qee}=Fw,Zee={icon:Y0,edit:Uee,transforms:Wee,deprecated:$ee},Dxe=()=&gt;E({name:qee,metadata:Fw,settings:Zee});var uL={};Z(uL,{init:()=&gt;Axe,metadata:()=&gt;Ow,name:()=&gt;Jee,settings:()=&gt;ete});var Ow={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-comments-form&quot;,title:&quot;Comments Form&quot;,category:&quot;theme&quot;,description:&quot;Display a post&#039;s comments form.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;],supports:{anchor:!0,html:!1,color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:&quot;wp-block-post-comments-form-editor&quot;,style:[&quot;wp-block-post-comments-form&quot;,&quot;wp-block-buttons&quot;,&quot;wp-block-button&quot;],example:{attributes:{style:{typography:{textAlign:&quot;center&quot;}}}}};var Kee=o(T(),1),Qee=o(M(),1),Yee=o(me(),1),jw=o(P(),1);var i2=o(v(),1);function cL({context:e}){let{postId:t,postType:r}=e,a=(0,Yee.useInstanceId)(cL),n=(0,jw.sprintf)(&quot;comments-form-edit-%d-desc&quot;,a),i=(0,Kee.useBlockProps)({&quot;aria-describedby&quot;:n});return(0,i2.jsxs)(&quot;div&quot;,{...i,children:[(0,i2.jsx)(Sk,{postId:t,postType:r}),(0,i2.jsx)(Qee.VisuallyHidden,{id:n,children:(0,jw.__)(&quot;Comments form disabled in editor.&quot;)})]})}var Mxe={attributes:{textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},Xee=[Mxe];var{name:Jee}=Ow,ete={icon:uP,edit:cL,deprecated:Xee},Axe=()=&gt;E({name:Jee,metadata:Ow,settings:ete});var mL={};Z(mL,{init:()=&gt;Hxe,metadata:()=&gt;Uw,name:()=&gt;ute,settings:()=&gt;mte});var Uw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-comments-link&quot;,title:&quot;Comments Link&quot;,category:&quot;theme&quot;,description:&quot;Displays the link to the current post comments.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postType&quot;,&quot;postId&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,color:{link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-comments-link&quot;};var tte=o(T(),1),Ww=o(U(),1),rte=o(V(),1),ote=o(G1(),1),ate=o(mr(),1),Md=o(P(),1),nte=o(Q(),1),Gw=o(v(),1);function zxe({context:e}){let{postType:t,postId:r}=e,[a,n]=(0,Ww.useState)(),i=(0,tte.useBlockProps)();(0,Ww.useEffect)(()=&gt;{if(!r)return;let c=r;(0,ote.default)({path:(0,ate.addQueryArgs)(&quot;/wp/v2/comments&quot;,{post:r}),parse:!1}).then(u=&gt;{c===r&amp;&amp;n(u.headers.get(&quot;X-WP-Total&quot;))})},[r]);let l=(0,rte.useSelect)(c=&gt;c(nte.store).getEditedEntityRecord(&quot;postType&quot;,t,r),[t,r]),s;if(a!==void 0){let c=parseInt(a);c===0?s=(0,Md.__)(&quot;No comments&quot;):s=(0,Md.sprintf)((0,Md._n)(&quot;%s comment&quot;,&quot;%s comments&quot;,c),c.toLocaleString())}return(0,Gw.jsx)(&quot;div&quot;,{...i,children:l?.link&amp;&amp;s!==void 0?(0,Gw.jsx)(&quot;a&quot;,{href:l?.link+&quot;#comments&quot;,onClick:c=&gt;c.preventDefault(),children:s}):(0,Gw.jsx)(&quot;a&quot;,{href:&quot;#post-comments-link-pseudo-link&quot;,onClick:c=&gt;c.preventDefault(),children:(0,Md.__)(&quot;No comments&quot;)})})}var ite=zxe;var lte=o(W(),1),Vxe={to:[{type:&quot;block&quot;,blocks:[&quot;core/post-comments-count&quot;],transform:({style:e})=&gt;{let t=e?.typography?.textAlign;return(0,lte.createBlock)(&quot;core/post-comments-count&quot;,{...t&amp;&amp;{style:{typography:{textAlign:t}}}})}}]},ste=Vxe;var Fxe={attributes:{textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},cte=[Fxe];var{name:ute}=Uw,mte={edit:ite,icon:Y0,transforms:ste,deprecated:cte},Hxe=()=&gt;E({name:ute,metadata:Uw,settings:mte});var pL={};Z(pL,{init:()=&gt;Kxe,metadata:()=&gt;$w,name:()=&gt;gte,settings:()=&gt;vte});var $w={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-content&quot;,title:&quot;Content&quot;,category:&quot;theme&quot;,description:&quot;Displays the contents of a post or page.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;],attributes:{tagName:{type:&quot;string&quot;,default:&quot;div&quot;}},example:{viewportWidth:350},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,layout:!0,background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},dimensions:{minHeight:!0},spacing:{blockGap:!0,padding:!0,margin:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!1,text:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-content&quot;,editorStyle:&quot;wp-block-post-content-editor&quot;};var Ad=o(P(),1),to=o(T(),1),pte=o(W(),1),pg=o(Q(),1),dte=o(V(),1),fte=o(U(),1);var ir=o(v(),1),{HTMLElementControl:jxe}=K(to.privateApis);function Uxe({parentLayout:e,layoutClassNames:t,userCanEdit:r,postType:a,postId:n,tagName:i=&quot;div&quot;}){let[,,l]=(0,pg.useEntityProp)(&quot;postType&quot;,a,&quot;content&quot;,n),s=(0,to.useBlockProps)({className:t}),c=(0,fte.useMemo)(()=&gt;l?.raw?(0,pte.parse)(l.raw):[],[l?.raw]),u=(0,to.__experimentalUseBlockPreview)({blocks:c,props:s,layout:e});return r?(0,ir.jsx)(&quot;div&quot;,{...u}):l?.protected?(0,ir.jsx)(i,{...s,children:(0,ir.jsx)(to.Warning,{children:(0,Ad.__)(&quot;This content is password protected.&quot;)})}):(0,ir.jsx)(i,{...s,dangerouslySetInnerHTML:{__html:l?.rendered}})}function Gxe({context:e={},tagName:t=&quot;div&quot;}){let{postType:r,postId:a}=e,[n,i,l]=(0,pg.useEntityBlockEditor)(&quot;postType&quot;,r,{id:a}),c=!!(0,dte.useSelect)(p=&gt;p(pg.store).getEntityRecord(&quot;postType&quot;,r,a),[r,a])?.content?.raw||n?.length,u=[[&quot;core/paragraph&quot;]],m=(0,to.useInnerBlocksProps)((0,to.useBlockProps)({className:&quot;entry-content&quot;}),{value:n,onInput:i,onChange:l,template:c?void 0:u});return(0,ir.jsx)(t,{...m})}function Wxe(e){let{context:{queryId:t,postType:r,postId:a}={},layoutClassNames:n,tagName:i}=e,l=Sx(&quot;postType&quot;,r,a);if(l===void 0)return null;let s=Number.isFinite(t);return l&amp;&amp;!s?(0,ir.jsx)(Gxe,{...e}):(0,ir.jsx)(Uxe,{parentLayout:e.parentLayout,layoutClassNames:n,userCanEdit:l,postType:r,postId:a,tagName:i})}function $xe({layoutClassNames:e}){let t=(0,to.useBlockProps)({className:e});return(0,ir.jsxs)(&quot;div&quot;,{...t,children:[(0,ir.jsx)(&quot;p&quot;,{children:(0,Ad.__)(&quot;This is the Content block, it will display all the blocks in any single post or page.&quot;)}),(0,ir.jsx)(&quot;p&quot;,{children:(0,Ad.__)(&quot;That might be a simple arrangement like consecutive paragraphs in a blog post, or a more elaborate composition that includes image galleries, videos, tables, columns, and any other block types.&quot;)}),(0,ir.jsx)(&quot;p&quot;,{children:(0,Ad.__)(&quot;If there are any Custom Post Types registered at your site, the Content block can display the contents of those entries as well.&quot;)})]})}function qxe(){let e=(0,to.useBlockProps)();return(0,ir.jsx)(&quot;div&quot;,{...e,children:(0,ir.jsx)(to.Warning,{children:(0,Ad.__)(&quot;Block cannot be rendered inside itself.&quot;)})})}function Zxe({tagName:e,onSelectTagName:t,clientId:r}){return(0,ir.jsx)(to.InspectorControls,{group:&quot;advanced&quot;,children:(0,ir.jsx)(jxe,{tagName:e,onChange:t,clientId:r,options:[{label:(0,Ad.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;article&gt;&quot;,value:&quot;article&quot;}]})})}function hte({context:e,attributes:{tagName:t=&quot;div&quot;},setAttributes:r,clientId:a,__unstableLayoutClassNames:n,__unstableParentLayout:i}){let{postId:l,postType:s}=e,c=(0,to.useHasRecursion)(l);return l&amp;&amp;s&amp;&amp;c?(0,ir.jsx)(qxe,{}):(0,ir.jsxs)(ir.Fragment,{children:[(0,ir.jsx)(Zxe,{tagName:t,onSelectTagName:m=&gt;{r({tagName:m})},clientId:a}),(0,ir.jsx)(to.RecursionProvider,{uniqueId:l,children:l&amp;&amp;s?(0,ir.jsx)(Wxe,{context:e,parentLayout:i,layoutClassNames:n}):(0,ir.jsx)($xe,{layoutClassNames:n})})]})}var{name:gte}=$w,vte={icon:fP,edit:hte},Kxe=()=&gt;E({name:gte,metadata:$w,settings:vte});var dL={};Z(dL,{init:()=&gt;rke,metadata:()=&gt;qw,name:()=&gt;Cte,settings:()=&gt;Ste});var qw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-date&quot;,title:&quot;Date&quot;,category:&quot;theme&quot;,description:&quot;Display a custom date.&quot;,textdomain:&quot;default&quot;,attributes:{datetime:{type:&quot;string&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;},format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;}},usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}}};var bte=o(Q(),1),dg=o(U(),1),Rd=o(Lk(),1),Ra=o(T(),1),Ri=o(M(),1),dn=o(P(),1);var yte=o(As(),1),l2=o(V(),1),_te=o(W(),1);var ro=o(v(),1);function xte({attributes:e,context:{postType:t,queryId:r},setAttributes:a,name:n}){let{datetime:i,textAlign:l,format:s,isLink:c}=e,u=(0,Ra.useBlockProps)({className:w({[`has-text-align-${l}`]:l})}),m=q(),[p,d]=(0,dg.useState)(null),f=(0,dg.useMemo)(()=&gt;({anchor:p}),[p]),{__unstableMarkNextChangeAsNotPersistent:h}=(0,l2.useDispatch)(Ra.store);(0,dg.useEffect)(()=&gt;{i===void 0&amp;&amp;(h(),a({datetime:new Date}))},[i]);let g=Number.isFinite(r),b=(0,Rd.getSettings)(),{postType:y,siteFormat:k=b.formats.date,siteTimeFormat:_=b.formats.time}=(0,l2.useSelect)(N=&gt;{let{getPostType:B,getEntityRecord:D}=N(bte.store),A=D(&quot;root&quot;,&quot;site&quot;);return{siteFormat:A?.date_format,siteTimeFormat:A?.time_format,postType:t?B(t):null}},[t]),x=(0,l2.useSelect)(N=&gt;N(_te.store).getActiveBlockVariation(n,e)?.name,[n,e]),S=(0,Ra.useBlockEditingMode)(),C=(0,ro.jsx)(&quot;time&quot;,{dateTime:(0,Rd.dateI18n)(&quot;c&quot;,i),ref:d,children:s===&quot;human-diff&quot;?(0,Rd.humanTimeDiff)(i):(0,Rd.dateI18n)(s||k,i)});return c&amp;&amp;i&amp;&amp;(C=(0,ro.jsx)(&quot;a&quot;,{href:&quot;#post-date-pseudo-link&quot;,onClick:N=&gt;N.preventDefault(),children:C})),(0,ro.jsxs)(ro.Fragment,{children:[(S===&quot;default&quot;||!g)&amp;&amp;(0,ro.jsxs)(Ra.BlockControls,{group:&quot;block&quot;,children:[(0,ro.jsx)(Ra.AlignmentControl,{value:l,onChange:N=&gt;{a({textAlign:N})}}),x!==&quot;post-date-modified&quot;&amp;&amp;(!g||!x)&amp;&amp;(0,ro.jsx)(Ri.ToolbarGroup,{children:(0,ro.jsx)(Ri.Dropdown,{popoverProps:f,renderContent:({onClose:N})=&gt;(0,ro.jsx)(Ra.__experimentalPublishDateTimePicker,{title:x===&quot;post-date&quot;?(0,dn.__)(&quot;Publish Date&quot;):(0,dn.__)(&quot;Date&quot;),currentDate:i,onChange:B=&gt;a({datetime:B}),is12Hour:Yxe(_),onClose:N,dateOrder:(0,dn._x)(&quot;dmy&quot;,&quot;date order&quot;)}),renderToggle:({isOpen:N,onToggle:B})=&gt;{let D=A=&gt;{!N&amp;&amp;A.keyCode===yte.DOWN&amp;&amp;(A.preventDefault(),B())};return(0,ro.jsx)(Ri.ToolbarButton,{&quot;aria-expanded&quot;:N,icon:Pp,title:(0,dn.__)(&quot;Change Date&quot;),onClick:B,onKeyDown:D})}})})]}),(0,ro.jsx)(Ra.InspectorControls,{children:(0,ro.jsxs)(Ri.__experimentalToolsPanel,{label:(0,dn.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({datetime:void 0,format:void 0,isLink:!1})},dropdownMenuProps:m,children:[(0,ro.jsx)(Ri.__experimentalToolsPanelItem,{hasValue:()=&gt;!!s,label:(0,dn.__)(&quot;Date Format&quot;),onDeselect:()=&gt;a({format:void 0}),isShownByDefault:!0,children:(0,ro.jsx)(Ra.__experimentalDateFormatPicker,{format:s,defaultFormat:k,onChange:N=&gt;a({format:N})})}),(0,ro.jsx)(Ri.__experimentalToolsPanelItem,{hasValue:()=&gt;c!==!1,label:y?.labels.singular_name?(0,dn.sprintf)((0,dn.__)(&quot;Link to %s&quot;),y.labels.singular_name.toLowerCase()):(0,dn.__)(&quot;Link to post&quot;),onDeselect:()=&gt;a({isLink:!1}),isShownByDefault:!0,children:(0,ro.jsx)(Ri.ToggleControl,{label:y?.labels.singular_name?(0,dn.sprintf)((0,dn.__)(&quot;Link to %s&quot;),y.labels.singular_name.toLowerCase()):(0,dn.__)(&quot;Link to post&quot;),onChange:()=&gt;a({isLink:!c}),checked:c})})]})}),(0,ro.jsx)(&quot;div&quot;,{...u,children:C})]})}function Yxe(e){return/(?:^|[^\\])[aAgh]/.test(e)}var Xxe={attributes:{datetime:{type:&quot;string&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;},format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;}},supports:{html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},save(){return null},migrate({metadata:{bindings:{datetime:{source:e,args:{key:t,...r}},...a},...n},...i}){return{metadata:{bindings:{datetime:{source:e,args:{field:t,...r}},...a},...n},...i}},isEligible(e){return e?.metadata?.bindings?.datetime?.source===&quot;core/post-data&quot;&amp;&amp;!!e?.metadata?.bindings?.datetime?.args?.key}},Jxe={attributes:{textAlign:{type:&quot;string&quot;},format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},displayType:{type:&quot;string&quot;,default:&quot;date&quot;}},supports:{html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},save(){return null},migrate({className:e,displayType:t,metadata:r,...a}){if(t===&quot;date&quot;||t===&quot;modified&quot;)return t===&quot;modified&quot;&amp;&amp;(e=w(e,&quot;wp-block-post-date__modified-date&quot;)),{...a,className:e,metadata:{...r,bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:t}}}}}},isEligible(e){return!e.datetime&amp;&amp;!e?.metadata?.bindings?.datetime}},eke={attributes:{textAlign:{type:&quot;string&quot;},format:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},kte=[Xxe,Jxe,eke];var s2=o(P(),1),tke=[{name:&quot;post-date&quot;,title:(0,s2.__)(&quot;Post Date&quot;),description:(0,s2.__)(&quot;Display a post&#039;s publish date.&quot;),attributes:{metadata:{bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:&quot;date&quot;}}}}},scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.metadata?.bindings?.datetime?.source===&quot;core/post-data&quot;&amp;&amp;e?.metadata?.bindings?.datetime?.args?.field===&quot;date&quot;},{name:&quot;post-date-modified&quot;,title:(0,s2.__)(&quot;Modified Date&quot;),description:(0,s2.__)(&quot;Display a post&#039;s last updated date.&quot;),attributes:{metadata:{bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:&quot;modified&quot;}}}},className:&quot;wp-block-post-date__modified-date&quot;},scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.metadata?.bindings?.datetime?.source===&quot;core/post-data&quot;&amp;&amp;e?.metadata?.bindings?.datetime?.args?.field===&quot;modified&quot;}],wte=tke;var{name:Cte}=qw,Ste={icon:e1,edit:xte,deprecated:kte,variations:wte},rke=()=&gt;E({name:Cte,metadata:qw,settings:Ste});var hL={};Z(hL,{init:()=&gt;nke,metadata:()=&gt;Zw,name:()=&gt;Ete,settings:()=&gt;Dte});var Zw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-excerpt&quot;,title:&quot;Excerpt&quot;,category:&quot;theme&quot;,description:&quot;Display the excerpt.&quot;,textdomain:&quot;default&quot;,attributes:{textAlign:{type:&quot;string&quot;},moreText:{type:&quot;string&quot;,role:&quot;content&quot;},showMoreOnNewLine:{type:&quot;boolean&quot;,default:!0},excerptLength:{type:&quot;number&quot;,default:55}},usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textColumns:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:&quot;wp-block-post-excerpt-editor&quot;,style:&quot;wp-block-post-excerpt&quot;};var Kw=o(Q(),1),Pte=o(U(),1),ua=o(T(),1),yu=o(M(),1),fn=o(P(),1),Bte=o(V(),1);var Xt=o(v(),1),Tte=&quot;\u2026&quot;;function Ite({attributes:{textAlign:e,moreText:t,showMoreOnNewLine:r,excerptLength:a},setAttributes:n,isSelected:i,context:{postId:l,postType:s,queryId:c}}){let m=(0,ua.useBlockEditingMode)()===&quot;default&quot;,p=Number.isFinite(c),d=Sx(&quot;postType&quot;,s,l),[f,h,{rendered:g,protected:b}={}]=(0,Kw.useEntityProp)(&quot;postType&quot;,s,&quot;excerpt&quot;,l),y=q(),k=(0,Bte.useSelect)(z=&gt;s===&quot;page&quot;?!0:!!z(Kw.store).getPostType(s)?.supports?.excerpt,[s]),_=d&amp;&amp;!p&amp;&amp;k,x=(0,ua.useBlockProps)({className:w({[`has-text-align-${e}`]:e})}),S=(0,fn._x)(&quot;words&quot;,&quot;Word count type. Do not translate!&quot;),C=(0,Pte.useMemo)(()=&gt;{if(!g)return&quot;&quot;;let z=new window.DOMParser().parseFromString(g,&quot;text/html&quot;);return z.body.textContent||z.body.innerText||&quot;&quot;},[g]);if(!s||!l)return(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(ua.BlockControls,{children:(0,Xt.jsx)(ua.AlignmentToolbar,{value:e,onChange:z=&gt;n({textAlign:z})})}),(0,Xt.jsx)(&quot;div&quot;,{...x,children:(0,Xt.jsx)(&quot;p&quot;,{children:(0,fn.__)(&quot;This block will display the excerpt.&quot;)})})]});if(b&amp;&amp;!d)return(0,Xt.jsx)(&quot;div&quot;,{...x,children:(0,Xt.jsx)(ua.Warning,{children:(0,fn.__)(&quot;The content is currently protected and does not have the available excerpt.&quot;)})});let N=(0,Xt.jsx)(ua.RichText,{identifier:&quot;moreText&quot;,className:&quot;wp-block-post-excerpt__more-link&quot;,tagName:&quot;a&quot;,&quot;aria-label&quot;:(0,fn.__)(&quot;\u201CRead more\u201D link text&quot;),placeholder:(0,fn.__)(&#039;Add &quot;read more&quot; link text&#039;),value:t,onChange:z=&gt;n({moreText:z}),withoutInteractiveFormatting:!0}),B=w(&quot;wp-block-post-excerpt__excerpt&quot;,{&quot;is-inline&quot;:!r}),D=(f||C).trim(),A=&quot;&quot;;if(S===&quot;words&quot;)A=D.split(/\s+/,a).join(&quot; &quot;);else if(S===&quot;characters_excluding_spaces&quot;){let z=D.split(&quot;&quot;,a).join(&quot;&quot;),I=z.length-z.replaceAll(&quot; &quot;,&quot;&quot;).length;A=D.split(&quot;&quot;,a+I).join(&quot;&quot;)}else S===&quot;characters_including_spaces&quot;&amp;&amp;(A=D.split(&quot;&quot;,a).join(&quot;&quot;));let H=A!==D,F=_?(0,Xt.jsx)(ua.RichText,{className:B,&quot;aria-label&quot;:(0,fn.__)(&quot;Excerpt text&quot;),value:i?D:(H?A+Tte:D)||(0,fn.__)(&quot;No excerpt found&quot;),onChange:h,tagName:&quot;p&quot;,allowedFormats:[],preserveWhiteSpace:!0}):(0,Xt.jsx)(&quot;p&quot;,{className:B,children:H?A+Tte:D||(0,fn.__)(&quot;No excerpt found&quot;)});return(0,Xt.jsxs)(Xt.Fragment,{children:[m&amp;&amp;(0,Xt.jsx)(ua.BlockControls,{children:(0,Xt.jsx)(ua.AlignmentToolbar,{value:e,onChange:z=&gt;n({textAlign:z})})}),(0,Xt.jsx)(ua.InspectorControls,{children:(0,Xt.jsxs)(yu.__experimentalToolsPanel,{label:(0,fn.__)(&quot;Settings&quot;),resetAll:()=&gt;{n({showMoreOnNewLine:!0,excerptLength:55})},dropdownMenuProps:y,children:[(0,Xt.jsx)(yu.__experimentalToolsPanelItem,{hasValue:()=&gt;r!==!0,label:(0,fn.__)(&quot;Show link on new line&quot;),onDeselect:()=&gt;n({showMoreOnNewLine:!0}),isShownByDefault:!0,children:(0,Xt.jsx)(yu.ToggleControl,{label:(0,fn.__)(&quot;Show link on new line&quot;),checked:r,onChange:z=&gt;n({showMoreOnNewLine:z})})}),(0,Xt.jsx)(yu.__experimentalToolsPanelItem,{hasValue:()=&gt;a!==55,label:(0,fn.__)(&quot;Max number of words&quot;),onDeselect:()=&gt;n({excerptLength:55}),isShownByDefault:!0,children:(0,Xt.jsx)(yu.RangeControl,{__next40pxDefaultSize:!0,label:(0,fn.__)(&quot;Max number of words&quot;),value:a,onChange:z=&gt;{n({excerptLength:z})},min:&quot;10&quot;,max:&quot;100&quot;})})]})}),(0,Xt.jsxs)(&quot;div&quot;,{...x,children:[F,!r&amp;&amp;&quot; &quot;,r?(0,Xt.jsx)(&quot;p&quot;,{className:&quot;wp-block-post-excerpt__more-text&quot;,children:N}):N]})]})}var fL=o(W(),1),ake={from:[{type:&quot;block&quot;,blocks:[&quot;core/post-content&quot;],transform:()=&gt;(0,fL.createBlock)(&quot;core/post-excerpt&quot;)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/post-content&quot;],transform:()=&gt;(0,fL.createBlock)(&quot;core/post-content&quot;)}]},Nte=ake;var{name:Ete}=Zw,Dte={icon:gP,transforms:Nte,edit:Ite},nke=()=&gt;E({name:Ete,metadata:Zw,settings:Dte});var bL={};Z(bL,{init:()=&gt;fke,metadata:()=&gt;Qw,name:()=&gt;Wte,settings:()=&gt;$te});var Qw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-featured-image&quot;,title:&quot;Featured Image&quot;,category:&quot;theme&quot;,description:&quot;Display a post&#039;s featured image.&quot;,textdomain:&quot;default&quot;,attributes:{isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},aspectRatio:{type:&quot;string&quot;},width:{type:&quot;string&quot;},height:{type:&quot;string&quot;},scale:{type:&quot;string&quot;,default:&quot;cover&quot;},sizeSlug:{type:&quot;string&quot;},rel:{type:&quot;string&quot;,attribute:&quot;rel&quot;,default:&quot;&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;},overlayColor:{type:&quot;string&quot;},customOverlayColor:{type:&quot;string&quot;},dimRatio:{type:&quot;number&quot;,default:0},gradient:{type:&quot;string&quot;},customGradient:{type:&quot;string&quot;},useFirstImageFromPost:{type:&quot;boolean&quot;,default:!1}},usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;],example:{viewportWidth:350},supports:{anchor:!0,align:[&quot;left&quot;,&quot;right&quot;,&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{text:!1,background:!1},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},filter:{duotone:!0},shadow:{__experimentalSkipSerialization:!0},html:!1,spacing:{margin:!0,padding:!0},interactivity:{clientNavigation:!0}},selectors:{border:&quot;.wp-block-post-featured-image img, .wp-block-post-featured-image .block-editor-media-placeholder, .wp-block-post-featured-image .wp-block-post-featured-image__overlay&quot;,shadow:&quot;.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder&quot;,filter:{duotone:&quot;.wp-block-post-featured-image img, .wp-block-post-featured-image .wp-block-post-featured-image__placeholder, .wp-block-post-featured-image .components-placeholder__illustration, .wp-block-post-featured-image .components-placeholder::before&quot;}},editorStyle:&quot;wp-block-post-featured-image-editor&quot;,style:&quot;wp-block-post-featured-image&quot;};var Ote=o(Rr(),1),c2=o(Q(),1),u2=o(V(),1),yo=o(M(),1),Lr=o(T(),1),Om=o(U(),1),Fo=o(P(),1);var jte=o(xr(),1);var za=o(P(),1),Vo=o(M(),1),Lte=o(T(),1),zo=o(v(),1),lke=(0,zo.jsxs)(zo.Fragment,{children:[(0,zo.jsx)(Vo.__experimentalToggleGroupControlOption,{value:&quot;cover&quot;,label:(0,za._x)(&quot;Cover&quot;,&quot;Scale option for Image dimension control&quot;)}),(0,zo.jsx)(Vo.__experimentalToggleGroupControlOption,{value:&quot;contain&quot;,label:(0,za._x)(&quot;Contain&quot;,&quot;Scale option for Image dimension control&quot;)}),(0,zo.jsx)(Vo.__experimentalToggleGroupControlOption,{value:&quot;fill&quot;,label:(0,za._x)(&quot;Fill&quot;,&quot;Scale option for Image dimension control&quot;)})]}),gL=&quot;cover&quot;,ske={cover:(0,za.__)(&quot;Image is scaled and cropped to fill the entire space without being distorted.&quot;),contain:(0,za.__)(&quot;Image is scaled to fill the space without clipping nor distorting.&quot;),fill:(0,za.__)(&quot;Image will be stretched and distorted to completely fill the space.&quot;)},cke=({clientId:e,attributes:{aspectRatio:t,width:r,height:a,scale:n},setAttributes:i})=&gt;{let[l,s,c,u]=(0,Lte.useSettings)(&quot;spacing.units&quot;,&quot;dimensions.aspectRatios.default&quot;,&quot;dimensions.aspectRatios.theme&quot;,&quot;dimensions.defaultAspectRatios&quot;),m=(0,Vo.__experimentalUseCustomUnits)({availableUnits:l||[&quot;px&quot;,&quot;%&quot;,&quot;vw&quot;,&quot;em&quot;,&quot;rem&quot;]}),p=(y,k)=&gt;{let _=parseFloat(k);isNaN(_)&amp;&amp;k||i({[y]:_&lt;0?&quot;0&quot;:k})},d=(0,za._x)(&quot;Scale&quot;,&quot;Image scaling options&quot;),f=a||t&amp;&amp;t!==&quot;auto&quot;,h=c?.map(({name:y,ratio:k})=&gt;({label:y,value:k})),g=s?.map(({name:y,ratio:k})=&gt;({label:y,value:k})),b=[{label:(0,za._x)(&quot;Original&quot;,&quot;Aspect ratio option for dimensions control&quot;),value:&quot;auto&quot;},...u?g:[],...h||[]];return(0,zo.jsxs)(zo.Fragment,{children:[(0,zo.jsx)(Vo.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t,label:(0,za.__)(&quot;Aspect ratio&quot;),onDeselect:()=&gt;i({aspectRatio:void 0}),resetAllFilter:()=&gt;({aspectRatio:void 0}),isShownByDefault:!0,panelId:e,children:(0,zo.jsx)(Vo.SelectControl,{__next40pxDefaultSize:!0,label:(0,za.__)(&quot;Aspect ratio&quot;),value:t||&quot;auto&quot;,options:b,onChange:y=&gt;i({aspectRatio:y})})}),(0,zo.jsx)(Vo.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,hasValue:()=&gt;!!a,label:(0,za.__)(&quot;Height&quot;),onDeselect:()=&gt;i({height:void 0}),resetAllFilter:()=&gt;({height:void 0}),isShownByDefault:!0,panelId:e,children:(0,zo.jsx)(Vo.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,za.__)(&quot;Height&quot;),labelPosition:&quot;top&quot;,value:a||&quot;&quot;,min:0,onChange:y=&gt;p(&quot;height&quot;,y),units:m})}),(0,zo.jsx)(Vo.__experimentalToolsPanelItem,{className:&quot;single-column&quot;,hasValue:()=&gt;!!r,label:(0,za.__)(&quot;Width&quot;),onDeselect:()=&gt;i({width:void 0}),resetAllFilter:()=&gt;({width:void 0}),isShownByDefault:!0,panelId:e,children:(0,zo.jsx)(Vo.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,za.__)(&quot;Width&quot;),labelPosition:&quot;top&quot;,value:r||&quot;&quot;,min:0,onChange:y=&gt;p(&quot;width&quot;,y),units:m})}),f&amp;&amp;(0,zo.jsx)(Vo.__experimentalToolsPanelItem,{hasValue:()=&gt;!!n&amp;&amp;n!==gL,label:d,onDeselect:()=&gt;i({scale:gL}),resetAllFilter:()=&gt;({scale:gL}),isShownByDefault:!0,panelId:e,children:(0,zo.jsx)(Vo.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:d,value:n,help:ske[n],onChange:y=&gt;i({scale:y}),isBlock:!0,children:lke})})]})},Mte=cke;var Xw=o(M(),1),Fm=o(T(),1),Ate=o(me(),1),Yw=o(P(),1),Vm=o(v(),1),uke=({clientId:e,attributes:t,setAttributes:r,overlayColor:a,setOverlayColor:n})=&gt;{let{dimRatio:i}=t,{gradientValue:l,setGradient:s}=(0,Fm.__experimentalUseGradient)(),c=(0,Fm.__experimentalUseMultipleOriginColorsAndGradients)();return c.hasColorsOrGradients?(0,Vm.jsxs)(Vm.Fragment,{children:[(0,Vm.jsx)(Fm.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:a.color,gradientValue:l,label:(0,Yw.__)(&quot;Overlay&quot;),onColorChange:n,onGradientChange:s,isShownByDefault:!0,resetAllFilter:()=&gt;({overlayColor:void 0,customOverlayColor:void 0,gradient:void 0,customGradient:void 0}),clearable:!0}],panelId:e,...c}),(0,Vm.jsx)(Xw.__experimentalToolsPanelItem,{hasValue:()=&gt;i!==void 0,label:(0,Yw.__)(&quot;Overlay opacity&quot;),onDeselect:()=&gt;r({dimRatio:0}),resetAllFilter:()=&gt;({dimRatio:0}),isShownByDefault:!0,panelId:e,children:(0,Vm.jsx)(Xw.RangeControl,{label:(0,Yw.__)(&quot;Overlay opacity&quot;),value:i,onChange:u=&gt;r({dimRatio:u}),min:0,max:100,step:10,required:!0,__next40pxDefaultSize:!0})})]}):null},Rte=(0,Ate.compose)([(0,Fm.withColors)({overlayColor:&quot;background-color&quot;})])(uke);var Hm=o(T(),1),Vte=o(me(),1);function zte(e){return e===void 0?null:&quot;has-background-dim-&quot;+10*Math.round(e/10)}var Fte=o(v(),1),mke=({attributes:e,overlayColor:t})=&gt;{let{dimRatio:r}=e,{gradientClass:a,gradientValue:n}=(0,Hm.__experimentalUseGradient)(),i=(0,Hm.__experimentalUseMultipleOriginColorsAndGradients)(),l=(0,Hm.__experimentalUseBorderProps)(e),s={backgroundColor:t.color,backgroundImage:n,...l.style};return!i.hasColorsOrGradients||!r?null:(0,Fte.jsx)(&quot;span&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:w(&quot;wp-block-post-featured-image__overlay&quot;,zte(r),{[t.class]:t.class,&quot;has-background-dim&quot;:r!==void 0,&quot;has-background-gradient&quot;:n,[a]:a},l.className),style:s})},vL=(0,Vte.compose)([(0,Hm.withColors)({overlayColor:&quot;background-color&quot;})])(mke);var qe=o(v(),1),Hte=[&quot;image&quot;],{ResolutionTool:pke}=K(Lr.privateApis),Ute=&quot;full&quot;;function dke({image:e,value:t,onChange:r}){let{imageSizes:a}=(0,u2.useSelect)(i=&gt;{let{getSettings:l}=i(Lr.store);return{imageSizes:l().imageSizes}},[]);if(!a?.length)return null;let n=a.filter(({slug:i})=&gt;e?.media_details?.sizes?.[i]?.source_url).map(({name:i,slug:l})=&gt;({value:l,label:i}));return(0,qe.jsx)(pke,{value:t,defaultValue:Ute,options:n,onChange:r})}function Gte({clientId:e,attributes:t,setAttributes:r,context:{postId:a,postType:n,queryId:i}}){let l=Number.isFinite(i),{isLink:s,aspectRatio:c,height:u,width:m,scale:p,sizeSlug:d,rel:f,linkTarget:h,useFirstImageFromPost:g}=t,[b,y]=(0,Om.useState)(),[k,_]=(0,c2.useEntityProp)(&quot;postType&quot;,n,&quot;featured_media&quot;,a),[x]=(0,c2.useEntityProp)(&quot;postType&quot;,n,&quot;content&quot;,a),S=(0,Om.useMemo)(()=&gt;{if(k)return k;if(!g)return;let te=/&lt;!--\s+wp:(?:core\/)?image\s+(?&lt;attrs&gt;{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?--&gt;).)*)?}\s+)?--&gt;/.exec(x);return te?.groups?.attrs&amp;&amp;JSON.parse(te.groups.attrs)?.id},[k,g,x]),{media:C,postType:N,postPermalink:B}=(0,u2.useSelect)(te=&gt;{let{getEntityRecord:ne,getPostType:le,getEditedEntityRecord:pe}=te(c2.store);return{media:S&amp;&amp;ne(&quot;postType&quot;,&quot;attachment&quot;,S,{context:&quot;view&quot;}),postType:n&amp;&amp;le(n),postPermalink:pe(&quot;postType&quot;,n,a)?.link}},[S,n,a]),D=C?.media_details?.sizes?.[d]?.source_url||C?.source_url,A=(0,Lr.useBlockProps)({style:{width:m,height:u,aspectRatio:c},className:w({&quot;is-transient&quot;:b})}),H=(0,Lr.__experimentalUseBorderProps)(t),F=(0,Lr.__experimentalGetShadowClassesAndStyles)(t),z=(0,Lr.useBlockEditingMode)(),I=te=&gt;(0,qe.jsx)(yo.Placeholder,{className:w(&quot;block-editor-media-placeholder&quot;,H.className),withIllustration:!0,style:{height:!!c&amp;&amp;&quot;100%&quot;,width:!!c&amp;&amp;&quot;100%&quot;,...H.style,...F.style},children:te}),R=te=&gt;{te?.id&amp;&amp;_(te.id),te?.url&amp;&amp;(0,Ote.isBlobURL)(te.url)&amp;&amp;y(te.url)},$=()=&gt;{r({isLink:!1,linkTarget:&quot;_self&quot;,rel:&quot;&quot;,sizeSlug:void 0}),_(0)};(0,Om.useEffect)(()=&gt;{D&amp;&amp;b&amp;&amp;y()},[D,b]);let{createErrorNotice:j}=(0,u2.useDispatch)(jte.store),G=te=&gt;{j(te,{type:&quot;snackbar&quot;}),y()},O=q(),J=z===&quot;default&quot;&amp;&amp;(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(Lr.InspectorControls,{group:&quot;color&quot;,children:(0,qe.jsx)(Rte,{attributes:t,setAttributes:r,clientId:e})}),(0,qe.jsx)(Lr.InspectorControls,{group:&quot;dimensions&quot;,children:(0,qe.jsx)(Mte,{clientId:e,attributes:t,setAttributes:r,media:C})}),(S||l||!a)&amp;&amp;(0,qe.jsx)(Lr.InspectorControls,{children:(0,qe.jsxs)(yo.__experimentalToolsPanel,{label:(0,Fo.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({isLink:!1,linkTarget:&quot;_self&quot;,rel:&quot;&quot;,sizeSlug:Ute})},dropdownMenuProps:O,children:[(0,qe.jsx)(yo.__experimentalToolsPanelItem,{label:N?.labels.singular_name?(0,Fo.sprintf)((0,Fo.__)(&quot;Link to %s&quot;),N.labels.singular_name):(0,Fo.__)(&quot;Link to post&quot;),isShownByDefault:!0,hasValue:()=&gt;!!s,onDeselect:()=&gt;r({isLink:!1}),children:(0,qe.jsx)(yo.ToggleControl,{label:N?.labels.singular_name?(0,Fo.sprintf)((0,Fo.__)(&quot;Link to %s&quot;),N.labels.singular_name):(0,Fo.__)(&quot;Link to post&quot;),onChange:()=&gt;r({isLink:!s}),checked:s})}),s&amp;&amp;(0,qe.jsx)(yo.__experimentalToolsPanelItem,{label:(0,Fo.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;h!==&quot;_self&quot;,onDeselect:()=&gt;r({linkTarget:&quot;_self&quot;}),children:(0,qe.jsx)(yo.ToggleControl,{label:(0,Fo.__)(&quot;Open in new tab&quot;),onChange:te=&gt;r({linkTarget:te?&quot;_blank&quot;:&quot;_self&quot;}),checked:h===&quot;_blank&quot;})}),s&amp;&amp;(0,qe.jsx)(yo.__experimentalToolsPanelItem,{label:(0,Fo.__)(&quot;Link relation&quot;),isShownByDefault:!0,hasValue:()=&gt;!!f,onDeselect:()=&gt;r({rel:&quot;&quot;}),children:(0,qe.jsx)(yo.TextControl,{__next40pxDefaultSize:!0,label:(0,Fo.__)(&quot;Link relation&quot;),help:(0,Om.createInterpolateElement)((0,Fo.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,qe.jsx)(yo.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})}),value:f,onChange:te=&gt;r({rel:te})})}),!!C&amp;&amp;(0,qe.jsx)(dke,{image:C,value:d,onChange:te=&gt;r({sizeSlug:te})})]})})]}),ee;if(!S&amp;&amp;(l||!a))return(0,qe.jsxs)(qe.Fragment,{children:[J,(0,qe.jsxs)(&quot;div&quot;,{...A,children:[s?(0,qe.jsx)(&quot;a&quot;,{href:B,target:h,children:I()}):I(),(0,qe.jsx)(vL,{attributes:t,setAttributes:r,clientId:e})]})]});let oe=(0,Fo.__)(&quot;Add a featured image&quot;),X={...H.style,...F.style,height:c?&quot;100%&quot;:u,width:!!c&amp;&amp;&quot;100%&quot;,objectFit:!!(u||c)&amp;&amp;p};return!S&amp;&amp;!b?ee=(0,qe.jsx)(Lr.MediaPlaceholder,{onSelect:R,accept:&quot;image/*&quot;,allowedTypes:Hte,onError:G,placeholder:I,mediaLibraryButton:({open:te})=&gt;(0,qe.jsx)(yo.Button,{__next40pxDefaultSize:!0,icon:Hc,variant:&quot;primary&quot;,label:oe,showTooltip:!0,tooltipPosition:&quot;top center&quot;,onClick:()=&gt;{te()}})}):ee=!C&amp;&amp;!b?I():(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)(&quot;img&quot;,{className:H.className,src:b||D,alt:C&amp;&amp;C?.alt_text?(0,Fo.sprintf)((0,Fo.__)(&quot;Featured image: %s&quot;),C.alt_text):(0,Fo.__)(&quot;Featured image&quot;),style:X}),b&amp;&amp;(0,qe.jsx)(yo.Spinner,{})]}),(0,qe.jsxs)(qe.Fragment,{children:[!b&amp;&amp;J,!!C&amp;&amp;!l&amp;&amp;(0,qe.jsx)(Lr.BlockControls,{group:&quot;other&quot;,children:(0,qe.jsx)(Lr.MediaReplaceFlow,{mediaId:S,mediaURL:D,allowedTypes:Hte,accept:&quot;image/*&quot;,onSelect:R,onError:G,onReset:$})}),(0,qe.jsxs)(&quot;figure&quot;,{...A,children:[s?(0,qe.jsx)(&quot;a&quot;,{href:B,target:h,children:ee}):ee,(0,qe.jsx)(vL,{attributes:t,setAttributes:r,clientId:e})]})]})}var{name:Wte}=Qw,$te={icon:bP,edit:Gte},fke=()=&gt;E({name:Wte,metadata:Qw,settings:$te});var yL={};Z(yL,{init:()=&gt;gke,metadata:()=&gt;Jw,name:()=&gt;Jte,settings:()=&gt;ere});var Xte=o(P(),1);var Jw={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-navigation-link&quot;,title:&quot;Post Navigation Link&quot;,category:&quot;theme&quot;,description:&quot;Displays the next or previous post link that is adjacent to the current post.&quot;,textdomain:&quot;default&quot;,attributes:{textAlign:{type:&quot;string&quot;},type:{type:&quot;string&quot;,default:&quot;next&quot;},label:{type:&quot;string&quot;,role:&quot;content&quot;},showTitle:{type:&quot;boolean&quot;,default:!1},linkLabel:{type:&quot;boolean&quot;,default:!1},arrow:{type:&quot;string&quot;,default:&quot;none&quot;},taxonomy:{type:&quot;string&quot;,default:&quot;&quot;}},usesContext:[&quot;postType&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-post-navigation-link&quot;};var ma=o(M(),1),zi=o(T(),1),dr=o(P(),1),qte=o(V(),1),Zte=o(Q(),1);var lr=o(v(),1);function Kte({context:{postType:e},attributes:{type:t,label:r,showTitle:a,textAlign:n,linkLabel:i,arrow:l,taxonomy:s},setAttributes:c}){let m=(0,zi.useBlockEditingMode)()===&quot;default&quot;,p=t===&quot;next&quot;,d=p?(0,dr.__)(&quot;Next&quot;):(0,dr.__)(&quot;Previous&quot;),h={none:&quot;&quot;,arrow:p?&quot;\u2192&quot;:&quot;\u2190&quot;,chevron:p?&quot;\xBB&quot;:&quot;\xAB&quot;}[l];a&amp;&amp;(d=p?(0,dr.__)(&quot;Next: &quot;):(0,dr.__)(&quot;Previous: &quot;));let g=p?(0,dr.__)(&quot;Next post&quot;):(0,dr.__)(&quot;Previous post&quot;),b=(0,zi.useBlockProps)({className:w({[`has-text-align-${n}`]:n})}),y=(0,qte.useSelect)(x=&gt;{let{getTaxonomies:S}=x(Zte.store);return S({type:e,per_page:-1})},[e]),k=()=&gt;{let x={label:(0,dr.__)(&quot;Unfiltered&quot;),value:&quot;&quot;},S=(y??[]).filter(({visibility:C})=&gt;!!C?.publicly_queryable).map(C=&gt;({value:C.slug,label:C.name}));return[x,...S]},_=q();return(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(zi.InspectorControls,{children:(0,lr.jsxs)(ma.__experimentalToolsPanel,{label:(0,dr.__)(&quot;Settings&quot;),resetAll:()=&gt;{c({showTitle:!1,linkLabel:!1,arrow:&quot;none&quot;})},dropdownMenuProps:_,children:[(0,lr.jsx)(ma.__experimentalToolsPanelItem,{label:(0,dr.__)(&quot;Display the title as a link&quot;),isShownByDefault:!0,hasValue:()=&gt;a,onDeselect:()=&gt;c({showTitle:!1}),children:(0,lr.jsx)(ma.ToggleControl,{label:(0,dr.__)(&quot;Display the title as a link&quot;),help:(0,dr.__)(&quot;If you have entered a custom label, it will be prepended before the title.&quot;),checked:!!a,onChange:()=&gt;c({showTitle:!a})})}),a&amp;&amp;(0,lr.jsx)(ma.__experimentalToolsPanelItem,{label:(0,dr.__)(&quot;Include the label as part of the link&quot;),isShownByDefault:!0,hasValue:()=&gt;!!i,onDeselect:()=&gt;c({linkLabel:!1}),children:(0,lr.jsx)(ma.ToggleControl,{label:(0,dr.__)(&quot;Include the label as part of the link&quot;),checked:!!i,onChange:()=&gt;c({linkLabel:!i})})}),(0,lr.jsx)(ma.__experimentalToolsPanelItem,{label:(0,dr.__)(&quot;Arrow&quot;),isShownByDefault:!0,hasValue:()=&gt;l!==&quot;none&quot;,onDeselect:()=&gt;c({arrow:&quot;none&quot;}),children:(0,lr.jsxs)(ma.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,dr.__)(&quot;Arrow&quot;),value:l,onChange:x=&gt;{c({arrow:x})},help:(0,dr.__)(&quot;A decorative arrow for the next and previous link.&quot;),isBlock:!0,children:[(0,lr.jsx)(ma.__experimentalToggleGroupControlOption,{value:&quot;none&quot;,label:(0,dr._x)(&quot;None&quot;,&quot;Arrow option for Next/Previous link&quot;)}),(0,lr.jsx)(ma.__experimentalToggleGroupControlOption,{value:&quot;arrow&quot;,label:(0,dr._x)(&quot;Arrow&quot;,&quot;Arrow option for Next/Previous link&quot;)}),(0,lr.jsx)(ma.__experimentalToggleGroupControlOption,{value:&quot;chevron&quot;,label:(0,dr._x)(&quot;Chevron&quot;,&quot;Arrow option for Next/Previous link&quot;)})]})})]})}),(0,lr.jsx)(zi.InspectorControls,{group:&quot;advanced&quot;,children:(0,lr.jsx)(ma.SelectControl,{__next40pxDefaultSize:!0,label:(0,dr.__)(&quot;Filter by taxonomy&quot;),value:s,options:k(),onChange:x=&gt;c({taxonomy:x}),help:(0,dr.__)(&quot;Only link to posts that have the same taxonomy terms as the current post. For example the same tags or categories.&quot;)})}),m&amp;&amp;(0,lr.jsx)(zi.BlockControls,{children:(0,lr.jsx)(zi.AlignmentToolbar,{value:n,onChange:x=&gt;{c({textAlign:x})}})}),(0,lr.jsxs)(&quot;div&quot;,{...b,children:[!p&amp;&amp;h&amp;&amp;(0,lr.jsx)(&quot;span&quot;,{className:`wp-block-post-navigation-link__arrow-previous is-arrow-${l}`,children:h}),(0,lr.jsx)(zi.RichText,{tagName:&quot;a&quot;,identifier:&quot;label&quot;,&quot;aria-label&quot;:g,placeholder:d,value:r,withoutInteractiveFormatting:!0,onChange:x=&gt;c({label:x})}),a&amp;&amp;(0,lr.jsx)(&quot;a&quot;,{href:&quot;#post-navigation-pseudo-link&quot;,onClick:x=&gt;x.preventDefault(),children:(0,dr.__)(&quot;An example title&quot;)}),p&amp;&amp;h&amp;&amp;(0,lr.jsx)(&quot;span&quot;,{className:`wp-block-post-navigation-link__arrow-next is-arrow-${l}`,&quot;aria-hidden&quot;:!0,children:h})]})]})}var zd=o(P(),1);var Qte=[{name:&quot;post-previous&quot;,title:(0,zd.__)(&quot;Previous Post&quot;),description:(0,zd.__)(&quot;Displays the post link that precedes the current post.&quot;),icon:SP,attributes:{type:&quot;previous&quot;},scope:[&quot;inserter&quot;,&quot;transform&quot;],example:{attributes:{label:(0,zd.__)(&quot;Previous post&quot;),arrow:&quot;arrow&quot;}}},{isDefault:!0,name:&quot;post-next&quot;,title:(0,zd.__)(&quot;Next Post&quot;),description:(0,zd.__)(&quot;Displays the post link that follows the current post.&quot;),icon:OT,attributes:{type:&quot;next&quot;},scope:[&quot;inserter&quot;,&quot;transform&quot;],example:{attributes:{label:(0,zd.__)(&quot;Next post&quot;),arrow:&quot;arrow&quot;}}}];Qte.forEach(e=&gt;{e.isActive||(e.isActive=(t,r)=&gt;t.type===r.type)});var Yte=Qte;var{name:Jte}=Jw,ere={edit:Kte,variations:Yte,example:{attributes:{label:(0,Xte.__)(&quot;Next post&quot;),arrow:&quot;arrow&quot;}}},gke=()=&gt;E({name:Jte,metadata:Jw,settings:ere});var _L={};Z(_L,{init:()=&gt;kke,metadata:()=&gt;eC,name:()=&gt;lre,settings:()=&gt;sre});var eC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-template&quot;,title:&quot;Post Template&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/query&quot;],description:&quot;Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;queryId&quot;,&quot;query&quot;,&quot;displayLayout&quot;,&quot;templateSlug&quot;,&quot;previewPostType&quot;,&quot;enhancedPagination&quot;,&quot;postType&quot;],supports:{anchor:!0,reusable:!1,html:!1,align:[&quot;wide&quot;,&quot;full&quot;],layout:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:!0,padding:!0,blockGap:{__experimentalDefault:&quot;1.25em&quot;},__experimentalDefaultControls:{blockGap:!0,padding:!1,margin:!1}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},style:&quot;wp-block-post-template&quot;,editorStyle:&quot;wp-block-post-template-editor&quot;};var fg=o(U(),1),tre=o(V(),1),m2=o(P(),1),dl=o(T(),1),tC=o(M(),1),rre=o(Q(),1);var Va=o(v(),1),bke=[[&quot;core/post-title&quot;],[&quot;core/post-date&quot;,{metadata:{bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:&quot;date&quot;}}}}}],[&quot;core/post-excerpt&quot;]];function yke({classList:e}){let t=(0,dl.useInnerBlocksProps)({className:w(&quot;wp-block-post&quot;,e)},{template:bke,__unstableDisableLayoutClassNames:!0});return(0,Va.jsx)(&quot;li&quot;,{...t})}function _ke({blocks:e,blockContextId:t,classList:r,isHidden:a,setActiveBlockContextId:n}){let i=(0,dl.__experimentalUseBlockPreview)({blocks:e,props:{className:w(&quot;wp-block-post&quot;,r)}}),l=()=&gt;{n(t)};return(0,Va.jsx)(&quot;li&quot;,{...i,tabIndex:0,role:&quot;button&quot;,onClick:l,onKeyPress:l,style:{display:a?&quot;none&quot;:void 0}})}var xke=(0,fg.memo)(_ke);function ore({setAttributes:e,clientId:t,context:{query:{perPage:r,offset:a=0,postType:n,order:i,orderBy:l,author:s,search:c,exclude:u,sticky:m,inherit:p,taxQuery:d,parents:f,pages:h,format:g,...b}={},templateSlug:y,previewPostType:k},attributes:{layout:_},__unstableLayoutClassNames:x}){let{type:S,columnCount:C=3}=_||{},[N,B]=(0,fg.useState)(),{posts:D,blocks:A}=(0,tre.useSelect)(R=&gt;{let{getEntityRecords:$,getTaxonomies:j}=R(rre.store),{getBlocks:G}=R(dl.store),O=p&amp;&amp;y?.startsWith(&quot;category-&quot;)&amp;&amp;$(&quot;taxonomy&quot;,&quot;category&quot;,{context:&quot;view&quot;,per_page:1,_fields:[&quot;id&quot;],slug:y.replace(&quot;category-&quot;,&quot;&quot;)}),J=p&amp;&amp;y?.startsWith(&quot;tag-&quot;)&amp;&amp;$(&quot;taxonomy&quot;,&quot;post_tag&quot;,{context:&quot;view&quot;,per_page:1,_fields:[&quot;id&quot;],slug:y.replace(&quot;tag-&quot;,&quot;&quot;)}),ee={offset:a||0,order:i,orderby:l};if(d&amp;&amp;!p){let te=j({type:n,per_page:-1,context:&quot;view&quot;}),ne=(pe,Ie=&quot;&quot;)=&gt;Object.entries(pe||{}).reduce((Ne,[ae,Re])=&gt;{let Ee=te?.find(({slug:ie})=&gt;ie===ae);return Ee?.rest_base&amp;&amp;Re?.length&amp;&amp;(Ne[Ee.rest_base+Ie]=Re),Ne},{}),le=ne(d.include);d.exclude&amp;&amp;Object.assign(le,ne(d.exclude,&quot;_exclude&quot;)),Object.keys(le).length&amp;&amp;Object.assign(ee,le)}r&amp;&amp;(ee.per_page=r),s&amp;&amp;(ee.author=s),c&amp;&amp;(ee.search=c),u?.length&amp;&amp;(ee.exclude=u),f?.length&amp;&amp;(ee.parent=f),g?.length&amp;&amp;(ee.format=g),[&quot;exclude&quot;,&quot;only&quot;].includes(m)&amp;&amp;(ee.sticky=m===&quot;only&quot;),[&quot;&quot;,&quot;ignore&quot;].includes(m)&amp;&amp;(delete ee.sticky,ee.ignore_sticky=m===&quot;ignore&quot;);let oe=n;return p&amp;&amp;(y?.startsWith(&quot;archive-&quot;)?(ee.postType=y.replace(&quot;archive-&quot;,&quot;&quot;),oe=ee.postType):O?ee.categories=O[0]?.id:J?ee.tags=J[0]?.id:y?.startsWith(&quot;taxonomy-post_format&quot;)&amp;&amp;(ee.format=y.replace(&quot;taxonomy-post_format-post-format-&quot;,&quot;&quot;))),{posts:$(&quot;postType&quot;,k||oe,{...ee,...b}),blocks:G(t)}},[r,a,i,l,t,s,c,n,u,m,p,y,d,f,g,b,k]),H=(0,fg.useMemo)(()=&gt;D?.map(R=&gt;({postType:R.type,postId:R.id,classList:R.class_list??&quot;&quot;})),[D]),F=(0,dl.useBlockProps)({className:w(x,{[`columns-${C}`]:S===&quot;grid&quot;&amp;&amp;C})});if(!D)return(0,Va.jsx)(&quot;p&quot;,{...F,children:(0,Va.jsx)(tC.Spinner,{})});if(!D.length)return(0,Va.jsxs)(&quot;p&quot;,{...F,children:[&quot; &quot;,(0,m2.__)(&quot;No results found.&quot;)]});let z=R=&gt;e({layout:{..._,...R}}),I=[{icon:Nl,title:(0,m2._x)(&quot;List view&quot;,&quot;Post template block display setting&quot;),onClick:()=&gt;z({type:&quot;default&quot;}),isActive:S===&quot;default&quot;||S===&quot;constrained&quot;},{icon:Il,title:(0,m2._x)(&quot;Grid view&quot;,&quot;Post template block display setting&quot;),onClick:()=&gt;z({type:&quot;grid&quot;,columnCount:C}),isActive:S===&quot;grid&quot;}];return(0,Va.jsxs)(Va.Fragment,{children:[(0,Va.jsx)(dl.BlockControls,{children:(0,Va.jsx)(tC.ToolbarGroup,{controls:I})}),(0,Va.jsx)(&quot;ul&quot;,{...F,children:H&amp;&amp;H.map(R=&gt;(0,Va.jsxs)(dl.BlockContextProvider,{value:R,children:[R.postId===(N||H[0]?.postId)?(0,Va.jsx)(yke,{classList:R.classList}):null,(0,Va.jsx)(xke,{blocks:A,blockContextId:R.postId,classList:R.classList,setActiveBlockContextId:B,isHidden:R.postId===(N||H[0]?.postId)})]},R.postId))})]})}var are=o(T(),1),nre=o(v(),1);function ire(){return(0,nre.jsx)(are.InnerBlocks.Content,{})}var{name:lre}=eC,sre={icon:Cp,edit:ore,save:ire},kke=()=&gt;E({name:lre,metadata:eC,settings:sre});var xL={};Z(xL,{init:()=&gt;Pke,metadata:()=&gt;rC,name:()=&gt;_re,settings:()=&gt;xre});var yre=o(Yc(),1);var rC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-terms&quot;,title:&quot;Post Terms&quot;,category:&quot;theme&quot;,description:&quot;Post terms.&quot;,textdomain:&quot;default&quot;,attributes:{term:{type:&quot;string&quot;},separator:{type:&quot;string&quot;,default:&quot;, &quot;},prefix:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;},suffix:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;}},usesContext:[&quot;postId&quot;,&quot;postType&quot;],example:{viewportWidth:350},supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-terms&quot;};var _u=o(T(),1),oC=o(W(),1),aC=o(M(),1),dre=o(V(),1),fre=o(Wo(),1),jm=o(P(),1),hre=o(Q(),1);var cre=o(Q(),1),ure=o(V(),1),Cke=[];function mre({postId:e,term:t}){let{slug:r}=t;return(0,ure.useSelect)(a=&gt;{if(!t?.visibility?.publicly_queryable||!e)return{postTerms:Cke,isLoading:!1,hasPostTerms:!1};let{getEntityRecords:i,isResolving:l}=a(cre.store),s=[&quot;taxonomy&quot;,r,{post:e,per_page:-1,context:&quot;view&quot;}],c=i(...s);return{postTerms:c,isLoading:l(&quot;getEntityRecords&quot;,s),hasPostTerms:!!c?.length}},[e,t?.visibility?.publicly_queryable,r])}var Fa=o(v(),1),pre=[&quot;core/bold&quot;,&quot;core/image&quot;,&quot;core/italic&quot;,&quot;core/link&quot;,&quot;core/strikethrough&quot;,&quot;core/text-color&quot;];function gre({attributes:e,clientId:t,context:r,isSelected:a,setAttributes:n,insertBlocksAfter:i}){let{term:l,separator:s,prefix:c,suffix:u}=e,{postId:m,postType:p}=r,d=(0,dre.useSelect)(_=&gt;{if(!l)return{};let{getTaxonomy:x}=_(hre.store),S=x(l);return S?.visibility?.publicly_queryable?S:{}},[l]),{postTerms:f,hasPostTerms:h,isLoading:g}=mre({postId:m,term:d}),b=m&amp;&amp;p,y=(0,_u.useBlockDisplayInformation)(t),k=(0,_u.useBlockProps)({className:l&amp;&amp;`taxonomy-${l}`});return(0,Fa.jsxs)(Fa.Fragment,{children:[(0,Fa.jsx)(_u.InspectorControls,{group:&quot;advanced&quot;,children:(0,Fa.jsx)(aC.TextControl,{__next40pxDefaultSize:!0,autoComplete:&quot;off&quot;,label:(0,jm.__)(&quot;Separator&quot;),value:s||&quot;&quot;,onChange:_=&gt;{n({separator:_})},help:(0,jm.__)(&quot;Enter character(s) used to separate terms.&quot;)})}),(0,Fa.jsxs)(&quot;div&quot;,{...k,children:[g&amp;&amp;b&amp;&amp;(0,Fa.jsx)(aC.Spinner,{}),!g&amp;&amp;(a||c)&amp;&amp;(0,Fa.jsx)(_u.RichText,{identifier:&quot;prefix&quot;,allowedFormats:pre,className:&quot;wp-block-post-terms__prefix&quot;,&quot;aria-label&quot;:(0,jm.__)(&quot;Prefix&quot;),placeholder:(0,jm.__)(&quot;Prefix&quot;)+&quot; &quot;,value:c,onChange:_=&gt;n({prefix:_}),tagName:&quot;span&quot;}),(!b||!l)&amp;&amp;(0,Fa.jsx)(&quot;span&quot;,{children:y.title}),b&amp;&amp;!g&amp;&amp;h&amp;&amp;f.map(_=&gt;(0,Fa.jsx)(&quot;a&quot;,{href:_.link,onClick:x=&gt;x.preventDefault(),rel:&quot;tag&quot;,children:(0,fre.decodeEntities)(_.name)},_.id)).reduce((_,x)=&gt;(0,Fa.jsxs)(Fa.Fragment,{children:[_,(0,Fa.jsx)(&quot;span&quot;,{className:&quot;wp-block-post-terms__separator&quot;,children:s||&quot; &quot;}),x]})),b&amp;&amp;!g&amp;&amp;!h&amp;&amp;(d?.labels?.no_terms||(0,jm.__)(&quot;Term items not found.&quot;)),!g&amp;&amp;(a||u)&amp;&amp;(0,Fa.jsx)(_u.RichText,{identifier:&quot;suffix&quot;,allowedFormats:pre,className:&quot;wp-block-post-terms__suffix&quot;,&quot;aria-label&quot;:(0,jm.__)(&quot;Suffix&quot;),placeholder:&quot; &quot;+(0,jm.__)(&quot;Suffix&quot;),value:u,onChange:_=&gt;n({suffix:_}),tagName:&quot;span&quot;,__unstableOnSplitAtEnd:()=&gt;i((0,oC.createBlock)((0,oC.getDefaultBlockName)()))})]})]})}var Ske={category:Nf,post_tag:xP};function vre(e,t){if(t!==&quot;core/post-terms&quot;)return e;let r=e.variations.map(a=&gt;({...a,icon:Ske[a.name]??Nf}));return{...e,variations:r}}var Tke={attributes:{textAlign:{type:&quot;string&quot;},term:{type:&quot;string&quot;},separator:{type:&quot;string&quot;,default:&quot;, &quot;},prefix:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;},suffix:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;}},supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},bre=[Tke];var{name:_re}=rC,xre={icon:Nf,edit:gre,deprecated:bre},Pke=()=&gt;((0,yre.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/template-part&quot;,vre),E({name:_re,metadata:rC,settings:xre}));var kL={};Z(kL,{init:()=&gt;Dke,metadata:()=&gt;nC,name:()=&gt;Nre,settings:()=&gt;Ere});var nC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-time-to-read&quot;,title:&quot;Time to Read&quot;,category:&quot;theme&quot;,description:&quot;Show minutes required to finish reading the post. Can also show a word count.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;],attributes:{displayAsRange:{type:&quot;boolean&quot;,default:!0},displayMode:{type:&quot;string&quot;,default:&quot;time&quot;},averageReadingSpeed:{type:&quot;number&quot;,default:189}},supports:{anchor:!0,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}}};var Ha=o(P(),1),Cre=o(U(),1),iC=o(T(),1),hg=o(M(),1),Sre=o(W(),1),lC=o(Q(),1),Tre=o(wre(),1);var fc=o(v(),1);function Ike({attributes:e,setAttributes:t,context:r}){let{displayAsRange:a,displayMode:n,averageReadingSpeed:i}=e,{postId:l,postType:s}=r,c=q(),[u]=(0,lC.useEntityProp)(&quot;postType&quot;,s,&quot;content&quot;,l),[m]=(0,lC.useEntityBlockEditor)(&quot;postType&quot;,s,{id:l}),p=(0,Cre.useMemo)(()=&gt;{let f;u instanceof Function?f=u({blocks:m}):m?f=(0,Sre.__unstableSerializeAndClean)(m):f=u;let h=(0,Ha._x)(&quot;words&quot;,&quot;Word count type. Do not translate!&quot;),g=(0,Tre.count)(f||&quot;&quot;,h);if(n===&quot;time&quot;){if(a){let y=Math.max(1,Math.round(g/i*1.2)),k=Math.max(1,Math.round(g/i*.8));k===y&amp;&amp;(y=y+1);let _=(0,Ha._x)(&quot;%1$s\u2013%2$s minutes&quot;,&quot;Range of minutes to read&quot;);return(0,Ha.sprintf)(_,k,y)}let b=Math.max(1,Math.round(g/i));return(0,Ha.sprintf)((0,Ha._n)(&quot;%s minute&quot;,&quot;%s minutes&quot;,b),b)}if(n===&quot;words&quot;)return h===&quot;words&quot;?(0,Ha.sprintf)((0,Ha._n)(&quot;%s word&quot;,&quot;%s words&quot;,g),g.toLocaleString()):(0,Ha.sprintf)((0,Ha._n)(&quot;%s character&quot;,&quot;%s characters&quot;,g),g.toLocaleString())},[u,m,a,n,i]),d=(0,iC.useBlockProps)();return(0,fc.jsxs)(fc.Fragment,{children:[n===&quot;time&quot;&amp;&amp;(0,fc.jsx)(iC.InspectorControls,{children:(0,fc.jsx)(hg.__experimentalToolsPanel,{label:(0,Ha.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({displayAsRange:!0})},dropdownMenuProps:c,children:(0,fc.jsx)(hg.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Ha._x)(&quot;Display as range&quot;,&quot;Turns reading time range display on or off&quot;),hasValue:()=&gt;!a,onDeselect:()=&gt;{t({displayAsRange:!0})},children:(0,fc.jsx)(hg.ToggleControl,{label:(0,Ha.__)(&quot;Display as range&quot;),checked:!!a,onChange:()=&gt;t({displayAsRange:!a})})})})}),(0,fc.jsx)(&quot;div&quot;,{...d,children:p})]})}var Pre=Ike;var p2=o(P(),1);var Nke=[{name:&quot;time-to-read&quot;,title:(0,p2.__)(&quot;Time to Read&quot;),description:(0,p2.__)(&quot;Show minutes required to finish reading the post.&quot;),attributes:{displayMode:&quot;time&quot;},scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.displayMode===&quot;time&quot;,icon:y1,isDefault:!0},{name:&quot;word-count&quot;,title:(0,p2.__)(&quot;Word Count&quot;),description:(0,p2.__)(&quot;Show the number of words in the post.&quot;),attributes:{displayMode:&quot;words&quot;},scope:[&quot;inserter&quot;,&quot;transform&quot;],isActive:e=&gt;e?.displayMode===&quot;words&quot;,icon:HB}],Bre=Nke;var Eke={attributes:{textAlign:{type:&quot;string&quot;},displayAsRange:{type:&quot;boolean&quot;,default:!0},displayMode:{type:&quot;string&quot;,default:&quot;time&quot;},averageReadingSpeed:{type:&quot;number&quot;,default:189}},supports:{anchor:!0,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},Ire=[Eke];var{name:Nre}=nC,Ere={icon:y1,edit:Pre,variations:Bre,example:{},deprecated:Ire},Dke=()=&gt;E({name:Nre,metadata:nC,settings:Ere});var wL={};Z(wL,{init:()=&gt;Ake,metadata:()=&gt;sC,name:()=&gt;Rre,settings:()=&gt;zre});var sC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/post-title&quot;,title:&quot;Title&quot;,category:&quot;theme&quot;,description:&quot;Displays the title of a post, page, or any other content-type.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;,&quot;queryId&quot;],attributes:{textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:2},levelOptions:{type:&quot;array&quot;},isLink:{type:&quot;boolean&quot;,default:!1,role:&quot;content&quot;},rel:{type:&quot;string&quot;,attribute:&quot;rel&quot;,default:&quot;&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;}},example:{viewportWidth:350},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-post-title&quot;};var hn=o(T(),1),Vi=o(M(),1),Wn=o(P(),1),cC=o(W(),1),d2=o(Q(),1),Dre=o(V(),1),Lre=o(U(),1);var Rt=o(v(),1);function Mre({attributes:{level:e,levelOptions:t,textAlign:r,isLink:a,rel:n,linkTarget:i},setAttributes:l,context:{postType:s,postId:c,queryId:u},insertBlocksAfter:m}){let p=e===0?&quot;p&quot;:`h${e}`,d=Number.isFinite(u),f=(0,Dre.useSelect)(N=&gt;d?!1:N(d2.store).canUser(&quot;update&quot;,{kind:&quot;postType&quot;,name:s,id:c}),[d,s,c]),[h=&quot;&quot;,g,b]=(0,d2.useEntityProp)(&quot;postType&quot;,s,&quot;title&quot;,c),[y]=(0,d2.useEntityProp)(&quot;postType&quot;,s,&quot;link&quot;,c),k=()=&gt;{m((0,cC.createBlock)((0,cC.getDefaultBlockName)()))},_=(0,hn.useBlockProps)({className:w({[`has-text-align-${r}`]:r})}),x=(0,hn.useBlockEditingMode)(),S=q(),C=(0,Rt.jsx)(p,{..._,children:(0,Wn.__)(&quot;Title&quot;)});return s&amp;&amp;c&amp;&amp;(C=f?(0,Rt.jsx)(hn.PlainText,{tagName:p,placeholder:(0,Wn.__)(&quot;(no title)&quot;),value:h,onChange:g,__experimentalVersion:2,__unstableOnSplitAtEnd:k,..._}):(0,Rt.jsx)(p,{..._,dangerouslySetInnerHTML:{__html:b?.rendered||(0,Wn.__)(&quot;(no title)&quot;)}})),a&amp;&amp;s&amp;&amp;c&amp;&amp;(C=f?(0,Rt.jsx)(p,{..._,children:(0,Rt.jsx)(hn.PlainText,{tagName:&quot;a&quot;,href:y,target:i,rel:n,placeholder:h.length?null:(0,Wn.__)(&quot;(no title)&quot;),value:h,onChange:g,__experimentalVersion:2,__unstableOnSplitAtEnd:k})}):(0,Rt.jsx)(p,{..._,children:(0,Rt.jsx)(&quot;a&quot;,{href:y,target:i,rel:n,onClick:N=&gt;N.preventDefault(),dangerouslySetInnerHTML:{__html:b?.rendered||(0,Wn.__)(&quot;(no title)&quot;)}})})),(0,Rt.jsxs)(Rt.Fragment,{children:[x===&quot;default&quot;&amp;&amp;(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsxs)(hn.BlockControls,{group:&quot;block&quot;,children:[(0,Rt.jsx)(hn.HeadingLevelDropdown,{value:e,options:t,onChange:N=&gt;l({level:N})}),(0,Rt.jsx)(hn.AlignmentControl,{value:r,onChange:N=&gt;{l({textAlign:N})}})]}),(0,Rt.jsx)(hn.InspectorControls,{children:(0,Rt.jsxs)(Vi.__experimentalToolsPanel,{label:(0,Wn.__)(&quot;Settings&quot;),resetAll:()=&gt;{l({rel:&quot;&quot;,linkTarget:&quot;_self&quot;,isLink:!1})},dropdownMenuProps:S,children:[(0,Rt.jsx)(Vi.__experimentalToolsPanelItem,{label:(0,Wn.__)(&quot;Make title a link&quot;),isShownByDefault:!0,hasValue:()=&gt;a,onDeselect:()=&gt;l({isLink:!1}),children:(0,Rt.jsx)(Vi.ToggleControl,{label:(0,Wn.__)(&quot;Make title a link&quot;),onChange:()=&gt;l({isLink:!a}),checked:a})}),a&amp;&amp;(0,Rt.jsxs)(Rt.Fragment,{children:[(0,Rt.jsx)(Vi.__experimentalToolsPanelItem,{label:(0,Wn.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;i===&quot;_blank&quot;,onDeselect:()=&gt;l({linkTarget:&quot;_self&quot;}),children:(0,Rt.jsx)(Vi.ToggleControl,{label:(0,Wn.__)(&quot;Open in new tab&quot;),onChange:N=&gt;l({linkTarget:N?&quot;_blank&quot;:&quot;_self&quot;}),checked:i===&quot;_blank&quot;})}),(0,Rt.jsx)(Vi.__experimentalToolsPanelItem,{label:(0,Wn.__)(&quot;Link relation&quot;),isShownByDefault:!0,hasValue:()=&gt;!!n,onDeselect:()=&gt;l({rel:&quot;&quot;}),children:(0,Rt.jsx)(Vi.TextControl,{__next40pxDefaultSize:!0,label:(0,Wn.__)(&quot;Link relation&quot;),help:(0,Lre.createInterpolateElement)((0,Wn.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,Rt.jsx)(Vi.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})}),value:n,onChange:N=&gt;l({rel:N})})})]})]})})]}),C]})}var Mke={attributes:{textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:2},isLink:{type:&quot;boolean&quot;,default:!1},rel:{type:&quot;string&quot;,attribute:&quot;rel&quot;,default:&quot;&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},Are=[Mke];var{name:Rre}=sC,zre={icon:El,edit:Mre,deprecated:Are},Ake=()=&gt;E({name:Rre,metadata:sC,settings:zre});var PL={};Z(PL,{init:()=&gt;Hke,metadata:()=&gt;pC,name:()=&gt;Ure,settings:()=&gt;fC});var TL=o(P(),1);var jre=o(W(),1);var CL=o(P(),1),uC=o(T(),1),mC=o(W(),1),Vre=o(v(),1);function Fre({attributes:e,mergeBlocks:t,setAttributes:r,onRemove:a,insertBlocksAfter:n,style:i}){let{content:l}=e,s=(0,uC.useBlockProps)({style:i});return(0,Vre.jsx)(uC.RichText,{tagName:&quot;pre&quot;,identifier:&quot;content&quot;,preserveWhiteSpace:!0,value:l,onChange:c=&gt;{r({content:c})},onRemove:a,&quot;aria-label&quot;:(0,CL.__)(&quot;Preformatted text&quot;),placeholder:(0,CL.__)(&quot;Write preformatted text\u2026&quot;),onMerge:t,...s,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:()=&gt;n((0,mC.createBlock)((0,mC.getDefaultBlockName)()))})}var pC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/preformatted&quot;,title:&quot;Preformatted&quot;,category:&quot;text&quot;,description:&quot;Add text that respects your spacing and tabs, and also allows styling.&quot;,textdomain:&quot;default&quot;,attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;pre&quot;,__unstablePreserveWhiteSpace:!0,role:&quot;content&quot;}},supports:{anchor:!0,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-preformatted&quot;};var dC=o(T(),1),SL=o(v(),1);function Hre({attributes:e}){let{content:t}=e;return(0,SL.jsx)(&quot;pre&quot;,{...dC.useBlockProps.save(),children:(0,SL.jsx)(dC.RichText.Content,{value:t})})}var f2=o(W(),1),zke={from:[{type:&quot;block&quot;,blocks:[&quot;core/code&quot;,&quot;core/paragraph&quot;,&quot;core/verse&quot;],transform:({content:e,anchor:t})=&gt;(0,f2.createBlock)(&quot;core/preformatted&quot;,{content:e,anchor:t})},{type:&quot;raw&quot;,isMatch:e=&gt;e.nodeName===&quot;PRE&quot;&amp;&amp;!(e.children.length===1&amp;&amp;e.firstChild.nodeName===&quot;CODE&quot;),schema:({phrasingContentSchema:e})=&gt;({pre:{children:e}})}],to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;(0,f2.createBlock)(&quot;core/paragraph&quot;,e)},{type:&quot;block&quot;,blocks:[&quot;core/code&quot;],transform:e=&gt;(0,f2.createBlock)(&quot;core/code&quot;,e)},{type:&quot;block&quot;,blocks:[&quot;core/verse&quot;],transform:e=&gt;(0,f2.createBlock)(&quot;core/verse&quot;,e)}]},Ore=zke;var{fieldsKey:Vke,formKey:Fke}=K(jre.privateApis),{name:Ure}=pC,fC={icon:wP,example:{attributes:{content:(0,TL.__)(`EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)
Window, very small in the distance, illuminated.
All around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;`)}},transforms:Ore,edit:Fre,save:Hre,merge(e,t){return{content:e.content+`

`+t.content}}};window.__experimentalContentOnlyInspectorFields&amp;&amp;(fC[Vke]=[{id:&quot;content&quot;,label:(0,TL.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],fC[Fke]={fields:[&quot;content&quot;]});var Hke=()=&gt;E({name:Ure,metadata:pC,settings:fC});var BL={};Z(BL,{init:()=&gt;Jke,metadata:()=&gt;gC,name:()=&gt;eoe,settings:()=&gt;vC});var v2=o(P(),1);var Jre=o(W(),1);var ht=o(T(),1),Wre=o(V(),1);var Vd=&quot;is-style-solid-color&quot;;var fr=o(v(),1),h2={value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;},mainColor:{type:&quot;string&quot;},customMainColor:{type:&quot;string&quot;},textColor:{type:&quot;string&quot;},customTextColor:{type:&quot;string&quot;}};function Gre(e){if(!e)return;let t=e.match(/border-color:([^;]+)[;]?/);if(t&amp;&amp;t[1])return t[1]}function Fd(e){e=e||&quot;&lt;p&gt;&lt;/p&gt;&quot;;let r=`&lt;/p&gt;${e}&lt;p&gt;`.split(&quot;&lt;/p&gt;&lt;p&gt;&quot;);return r.shift(),r.pop(),r.join(&quot;&lt;br&gt;&quot;)}var Oke={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,role:&quot;content&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,align:[&quot;left&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,background:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalStyle:{typography:{fontSize:&quot;1.5em&quot;,lineHeight:&quot;1.6&quot;}}},save({attributes:e}){let{textAlign:t,citation:r,value:a}=e,n=!ht.RichText.isEmpty(r);return(0,fr.jsx)(&quot;figure&quot;,{...ht.useBlockProps.save({className:w({[`has-text-align-${t}`]:t})}),children:(0,fr.jsxs)(&quot;blockquote&quot;,{children:[(0,fr.jsx)(ht.RichText.Content,{value:a,multiline:!0}),n&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;cite&quot;,value:r})]})})},migrate({value:e,...t}){return{value:Fd(e),...t}}},jke={attributes:{...h2},supports:{anchor:!0,align:[&quot;left&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],color:{gradients:!0,background:!0,link:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0}},save({attributes:e}){let{mainColor:t,customMainColor:r,customTextColor:a,textColor:n,value:i,citation:l,className:s}=e,c=s?.includes(Vd),u,m;if(c){let h=(0,ht.getColorClassName)(&quot;background-color&quot;,t);u=w({&quot;has-background&quot;:h||r,[h]:h}),m={backgroundColor:h?void 0:r}}else r&amp;&amp;(m={borderColor:r});let p=(0,ht.getColorClassName)(&quot;color&quot;,n),d=w({&quot;has-text-color&quot;:n||a,[p]:p}),f=p?void 0:{color:a};return(0,fr.jsx)(&quot;figure&quot;,{...ht.useBlockProps.save({className:u,style:m}),children:(0,fr.jsxs)(&quot;blockquote&quot;,{className:d,style:f,children:[(0,fr.jsx)(ht.RichText.Content,{value:i,multiline:!0}),!ht.RichText.isEmpty(l)&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;cite&quot;,value:l})]})})},migrate({value:e,className:t,mainColor:r,customMainColor:a,customTextColor:n,...i}){let l=t?.includes(Vd),s;return a&amp;&amp;(l?s={color:{background:a}}:s={border:{color:a}}),n&amp;&amp;s&amp;&amp;(s.color={...s.color,text:n}),{value:Fd(e),className:t,backgroundColor:l?r:void 0,borderColor:l?void 0:r,textAlign:l?&quot;left&quot;:void 0,...i,style:s}}},Uke={attributes:{...h2,figureStyle:{source:&quot;attribute&quot;,selector:&quot;figure&quot;,attribute:&quot;style&quot;}},save({attributes:e}){let{mainColor:t,customMainColor:r,textColor:a,customTextColor:n,value:i,citation:l,className:s,figureStyle:c}=e,u=s?.includes(Vd),m,p;if(u){let g=(0,ht.getColorClassName)(&quot;background-color&quot;,t);m=w({&quot;has-background&quot;:g||r,[g]:g}),p={backgroundColor:g?void 0:r}}else r?p={borderColor:r}:t&amp;&amp;(p={borderColor:Gre(c)});let d=(0,ht.getColorClassName)(&quot;color&quot;,a),f=(a||n)&amp;&amp;w(&quot;has-text-color&quot;,{[d]:d});return(0,fr.jsx)(&quot;figure&quot;,{className:m,style:p,children:(0,fr.jsxs)(&quot;blockquote&quot;,{className:f,style:d?void 0:{color:n},children:[(0,fr.jsx)(ht.RichText.Content,{value:i,multiline:!0}),!ht.RichText.isEmpty(l)&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;cite&quot;,value:l})]})})},migrate({value:e,className:t,figureStyle:r,mainColor:a,customMainColor:n,customTextColor:i,...l}){let s=t?.includes(Vd),c;if(n&amp;&amp;(s?c={color:{background:n}}:c={border:{color:n}}),i&amp;&amp;c&amp;&amp;(c.color={...c.color,text:i}),!s&amp;&amp;a&amp;&amp;r){let u=Gre(r);if(u)return{value:Fd(e),...l,className:t,style:{border:{color:u}}}}return{value:Fd(e),className:t,backgroundColor:s?a:void 0,borderColor:s?void 0:a,textAlign:s?&quot;left&quot;:void 0,...l,style:c}}},Gke={attributes:h2,save({attributes:e}){let{mainColor:t,customMainColor:r,textColor:a,customTextColor:n,value:i,citation:l,className:s}=e,c=s?.includes(Vd),u,m;if(c)u=(0,ht.getColorClassName)(&quot;background-color&quot;,t),u||(m={backgroundColor:r});else if(r)m={borderColor:r};else if(t){let h=(0,Wre.select)(ht.store).getSettings().colors??[];m={borderColor:(0,ht.getColorObjectByAttributeValues)(h,t).color}}let p=(0,ht.getColorClassName)(&quot;color&quot;,a),d=a||n?w(&quot;has-text-color&quot;,{[p]:p}):void 0;return(0,fr.jsx)(&quot;figure&quot;,{className:u,style:m,children:(0,fr.jsxs)(&quot;blockquote&quot;,{className:d,style:p?void 0:{color:n},children:[(0,fr.jsx)(ht.RichText.Content,{value:i,multiline:!0}),!ht.RichText.isEmpty(l)&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;cite&quot;,value:l})]})})},migrate({value:e,className:t,mainColor:r,customMainColor:a,customTextColor:n,...i}){let l=t?.includes(Vd),s={};return a&amp;&amp;(l?s={color:{background:a}}:s={border:{color:a}}),n&amp;&amp;s&amp;&amp;(s.color={...s.color,text:n}),{value:Fd(e),className:t,backgroundColor:l?r:void 0,borderColor:l?void 0:r,textAlign:l?&quot;left&quot;:void 0,...i,style:s}}},Wke={attributes:{...h2},save({attributes:e}){let{value:t,citation:r}=e;return(0,fr.jsxs)(&quot;blockquote&quot;,{children:[(0,fr.jsx)(ht.RichText.Content,{value:t,multiline:!0}),!ht.RichText.isEmpty(r)&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;cite&quot;,value:r})]})},migrate({value:e,...t}){return{value:Fd(e),...t}}},$ke={attributes:{...h2,citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;footer&quot;},align:{type:&quot;string&quot;,default:&quot;none&quot;}},save({attributes:e}){let{value:t,citation:r,align:a}=e;return(0,fr.jsxs)(&quot;blockquote&quot;,{className:`align${a}`,children:[(0,fr.jsx)(ht.RichText.Content,{value:t,multiline:!0}),!ht.RichText.isEmpty(r)&amp;&amp;(0,fr.jsx)(ht.RichText.Content,{tagName:&quot;footer&quot;,value:r})]})},migrate({value:e,...t}){return{value:Fd(e),...t}}},$re=[Oke,jke,Uke,Gke,Wke,$ke];var g2=o(P(),1),hc=o(T(),1),hC=o(W(),1),Kre=o(U(),1);var qre=&quot;figure&quot;;var Zre=&quot;blockquote&quot;;var ms=o(v(),1),qke=Kre.Platform.OS===&quot;web&quot;;function Zke({attributes:e,setAttributes:t,isSelected:r,insertBlocksAfter:a}){let{textAlign:n,citation:i,value:l}=e,s=(0,hc.useBlockProps)({className:w({[`has-text-align-${n}`]:n})}),c=!hc.RichText.isEmpty(i)||r;return(0,ms.jsxs)(ms.Fragment,{children:[(0,ms.jsx)(hc.BlockControls,{group:&quot;block&quot;,children:(0,ms.jsx)(hc.AlignmentControl,{value:n,onChange:u=&gt;{t({textAlign:u})}})}),(0,ms.jsx)(qre,{...s,children:(0,ms.jsxs)(Zre,{children:[(0,ms.jsx)(hc.RichText,{identifier:&quot;value&quot;,tagName:&quot;p&quot;,value:l,onChange:u=&gt;t({value:u}),&quot;aria-label&quot;:(0,g2.__)(&quot;Pullquote text&quot;),placeholder:(0,g2.__)(&quot;Add quote&quot;),textAlign:&quot;center&quot;}),c&amp;&amp;(0,ms.jsx)(hc.RichText,{identifier:&quot;citation&quot;,tagName:qke?&quot;cite&quot;:void 0,style:{display:&quot;block&quot;},value:i,&quot;aria-label&quot;:(0,g2.__)(&quot;Pullquote citation text&quot;),placeholder:(0,g2.__)(&quot;Add citation&quot;),onChange:u=&gt;t({citation:u}),className:&quot;wp-block-pullquote__citation&quot;,__unstableMobileNoFocusOnMount:!0,textAlign:&quot;center&quot;,__unstableOnSplitAtEnd:()=&gt;a((0,hC.createBlock)((0,hC.getDefaultBlockName)()))})]})})]})}var Qre=Zke;var gC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/pullquote&quot;,title:&quot;Pullquote&quot;,category:&quot;text&quot;,description:&quot;Give special visual emphasis to a quote from your text.&quot;,textdomain:&quot;default&quot;,attributes:{value:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;p&quot;,role:&quot;content&quot;},citation:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;cite&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,align:[&quot;left&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{gradients:!0,background:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},dimensions:{minHeight:!0,__experimentalDefaultControls:{minHeight:!1}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalStyle:{typography:{fontSize:&quot;1.5em&quot;,lineHeight:&quot;1.6&quot;}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-pullquote-editor&quot;,style:&quot;wp-block-pullquote&quot;};var gg=o(T(),1),vg=o(v(),1);function Yre({attributes:e}){let{textAlign:t,citation:r,value:a}=e,n=!gg.RichText.isEmpty(r);return(0,vg.jsx)(&quot;figure&quot;,{...gg.useBlockProps.save({className:w({[`has-text-align-${t}`]:t})}),children:(0,vg.jsxs)(&quot;blockquote&quot;,{children:[(0,vg.jsx)(gg.RichText.Content,{tagName:&quot;p&quot;,value:a}),n&amp;&amp;(0,vg.jsx)(gg.RichText.Content,{tagName:&quot;cite&quot;,value:r})]})})}var xu=o(W(),1),bg=o(em(),1),Qke={from:[{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;(0,xu.createBlock)(&quot;core/pullquote&quot;,{value:(0,bg.toHTMLString)({value:(0,bg.join)(e.map(({content:t})=&gt;(0,bg.create)({html:t})),`
`)}),anchor:e.anchor})},{type:&quot;block&quot;,blocks:[&quot;core/heading&quot;],transform:({content:e,anchor:t})=&gt;(0,xu.createBlock)(&quot;core/pullquote&quot;,{value:e,anchor:t})}],to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:({value:e,citation:t})=&gt;{let r=[];return e&amp;&amp;r.push((0,xu.createBlock)(&quot;core/paragraph&quot;,{content:e})),t&amp;&amp;r.push((0,xu.createBlock)(&quot;core/paragraph&quot;,{content:t})),r.length===0?(0,xu.createBlock)(&quot;core/paragraph&quot;,{content:&quot;&quot;}):r}},{type:&quot;block&quot;,blocks:[&quot;core/heading&quot;],transform:({value:e,citation:t})=&gt;{if(!e)return(0,xu.createBlock)(&quot;core/heading&quot;,{content:t});let r=(0,xu.createBlock)(&quot;core/heading&quot;,{content:e});return t?[r,(0,xu.createBlock)(&quot;core/heading&quot;,{content:t})]:r}}]},Xre=Qke;var{fieldsKey:Yke,formKey:Xke}=K(Jre.privateApis),{name:eoe}=gC,vC={icon:EP,example:{attributes:{value:(0,v2.__)(&quot;One of the hardest things to do in technology is disrupt yourself.&quot;),citation:(0,v2.__)(&quot;Matt Mullenweg&quot;)}},transforms:Xre,edit:Qre,save:Yre,deprecated:$re};window.__experimentalContentOnlyInspectorFields&amp;&amp;(vC[Yke]=[{id:&quot;value&quot;,label:(0,v2.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;citation&quot;,label:(0,v2.__)(&quot;Citation&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],vC[Xke]={fields:[&quot;value&quot;,&quot;citation&quot;]});var Jke=()=&gt;E({name:eoe,metadata:gC,settings:vC});var UL={};Z(UL,{init:()=&gt;N5e,metadata:()=&gt;bC,name:()=&gt;Nae,settings:()=&gt;Eae});var bC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query&quot;,title:&quot;Query Loop&quot;,category:&quot;theme&quot;,description:&quot;An advanced block that allows displaying post types based on different query parameters and visual configurations.&quot;,keywords:[&quot;posts&quot;,&quot;list&quot;,&quot;blog&quot;,&quot;blogs&quot;,&quot;custom post types&quot;],textdomain:&quot;default&quot;,attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0,taxQuery:null,parents:[],format:[]}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},namespace:{type:&quot;string&quot;},enhancedPagination:{type:&quot;boolean&quot;,default:!1}},usesContext:[&quot;templateSlug&quot;],providesContext:{queryId:&quot;queryId&quot;,query:&quot;query&quot;,displayLayout:&quot;displayLayout&quot;,enhancedPagination:&quot;enhancedPagination&quot;},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,layout:!0,interactivity:!0},editorStyle:&quot;wp-block-query-editor&quot;};var hae=o(V(),1),gae=o(U(),1),vae=o(T(),1);var EC=o(V(),1),uae=o(me(),1),w2=o(U(),1),hl=o(T(),1),mae=o(P(),1),pae=o(Q(),1);var moe=o(M(),1),kC=o(P(),1);var gc=o(V(),1),Od=o(U(),1),b2=o(Q(),1),yC=o(T(),1),toe=o(Wo(),1),Hd=o(P(),1),ku=o(W(),1),y2=e=&gt;{let t=e?.reduce((r,a)=&gt;{let{mapById:n,mapByName:i,names:l}=r;return n[a.id]=a,i[a.name]=a,l.push(a.name),r},{mapById:{},mapByName:{},names:[]});return{entities:e,...t}},t5e=(e,t)=&gt;{let r=t.split(&quot;.&quot;),a=e;return r.forEach(n=&gt;{a=a?.[n]}),a},IL=(e,t)=&gt;(e||[]).map(r=&gt;({...r,name:(0,toe.decodeEntities)(t5e(r,t))})),roe=()=&gt;{let e=(0,gc.useSelect)(n=&gt;{let{getPostTypes:i}=n(b2.store),l=[&quot;attachment&quot;];return i({per_page:-1})?.filter(({viewable:c,slug:u})=&gt;c&amp;&amp;!l.includes(u))},[]),t=(0,Od.useMemo)(()=&gt;{if(e?.length)return e.reduce((n,i)=&gt;(n[i.slug]=i.taxonomies,n),{})},[e]),r=(0,Od.useMemo)(()=&gt;(e||[]).map(({labels:n,slug:i})=&gt;({label:n.singular_name,value:i})),[e]),a=(0,Od.useMemo)(()=&gt;e?.length?e.reduce((n,i)=&gt;(n[i.slug]=i.supports?.[&quot;post-formats&quot;]||!1,n),{}):{},[e]);return{postTypesTaxonomiesMap:t,postTypesSelectOptions:r,postTypeFormatSupportMap:a}},_C=e=&gt;{let t=(0,gc.useSelect)(r=&gt;{let{getTaxonomies:a,getPostType:n}=r(b2.store);return n(e)?.taxonomies?.length&gt;0?a({type:e,per_page:-1}):[]},[e]);return(0,Od.useMemo)(()=&gt;t?.filter(({visibility:r})=&gt;!!r?.publicly_queryable),[t])};function ooe(e){return(0,gc.useSelect)(t=&gt;{let r=t(b2.store).getPostType(e);return r?.viewable&amp;&amp;r?.hierarchical},[e])}function aoe(e){let t=(0,gc.useSelect)(r=&gt;!!r(b2.store).getPostType(e)?.supports?.[&quot;page-attributes&quot;],[e]);return(0,Od.useMemo)(()=&gt;{let r=[{label:(0,Hd.__)(&quot;Newest to oldest&quot;),value:&quot;date/desc&quot;},{label:(0,Hd.__)(&quot;Oldest to newest&quot;),value:&quot;date/asc&quot;},{label:(0,Hd.__)(&quot;A \u2192 Z&quot;),value:&quot;title/asc&quot;},{label:(0,Hd.__)(&quot;Z \u2192 A&quot;),value:&quot;title/desc&quot;}];return t&amp;&amp;r.push({label:(0,Hd.__)(&quot;Ascending by order&quot;),value:&quot;menu_order/asc&quot;},{label:(0,Hd.__)(&quot;Descending by order&quot;),value:&quot;menu_order/desc&quot;}),r},[t])}function noe(e){return(0,gc.useSelect)(t=&gt;t(ku.store).getActiveBlockVariation(&quot;core/query&quot;,e)?.allowedControls,[e])}function Fi(e,t){return e?e.includes(t):!0}var ioe=(e,t)=&gt;{let{query:{postType:r,inherit:a},namespace:n}=t,i=e.map(c=&gt;(0,ku.cloneBlock)(c)),l=[],s=[...i];for(;s.length&gt;0;){let c=s.shift();c.name===&quot;core/query&quot;&amp;&amp;(c.attributes.query={...c.attributes.query,postType:r,inherit:a},n&amp;&amp;(c.attributes.namespace=n),l.push(c.clientId)),c.innerBlocks?.forEach(u=&gt;{s.push(u)})}return{newBlocks:i,queryClientIds:l}};function loe(e,t){return(0,gc.useSelect)(r=&gt;{let a=r(ku.store).getActiveBlockVariation(&quot;core/query&quot;,t)?.name;if(!a)return&quot;core/query&quot;;let{getBlockRootClientId:n,getPatternsByBlockTypes:i}=r(yC.store),l=n(e);return i(`core/query/${a}`,l).length&gt;0?`core/query/${a}`:&quot;core/query&quot;},[e,t])}function soe(e){let{activeVariationName:t,blockVariations:r}=(0,gc.useSelect)(n=&gt;{let{getActiveBlockVariation:i,getBlockVariations:l}=n(ku.store);return{activeVariationName:i(&quot;core/query&quot;,e)?.name,blockVariations:l(&quot;core/query&quot;,&quot;block&quot;)}},[e]);return(0,Od.useMemo)(()=&gt;{let n=l=&gt;!l.attributes?.namespace;if(!t)return r.filter(n);let i=r.filter(l=&gt;l.attributes?.namespace?.includes(t));return i.length?i:r.filter(n)},[t,r])}var coe=(e,t)=&gt;(0,gc.useSelect)(r=&gt;{let{getBlockRootClientId:a,getPatternsByBlockTypes:n}=r(yC.store),i=a(e);return n(t,i)},[t,e]),xC=e=&gt;(0,gc.useSelect)(t=&gt;{let{getClientIdsOfDescendants:r,getBlockName:a}=t(yC.store);return r(e).some(n=&gt;{let i=a(n),l=Object.is((0,ku.getBlockSupport)(i,&quot;interactivity&quot;),!0),s=(0,ku.getBlockSupport)(i,&quot;interactivity.clientNavigation&quot;);return!l&amp;&amp;!s})},[e]);function uoe(e){if(!e)return{isSingular:!0};let t=!1,r=e===&quot;wp&quot;?&quot;custom&quot;:e,a=[&quot;404&quot;,&quot;blank&quot;,&quot;single&quot;,&quot;page&quot;,&quot;custom&quot;],n=e.includes(&quot;-&quot;)?e.split(&quot;-&quot;,1)[0]:e;return e.includes(&quot;-&quot;)&amp;&amp;e.split(&quot;-&quot;).slice(1).join(&quot;-&quot;)&amp;&amp;(r=n),t=a.includes(r),{isSingular:t,templateType:r}}var _2=o(v(),1);function poe({enhancedPagination:e,setAttributes:t,clientId:r}){let a=xC(r),n=(0,kC.__)(&quot;Reload the full page\u2014instead of just the posts list\u2014when visitors navigate between pages.&quot;);return a&amp;&amp;(n=(0,kC.__)(&quot;Enhancement disabled because there are non-compatible blocks inside the Query block.&quot;)),(0,_2.jsx)(_2.Fragment,{children:(0,_2.jsx)(moe.ToggleControl,{label:(0,kC.__)(&quot;Reload full page&quot;),help:n,checked:!e,disabled:a,onChange:i=&gt;{t({enhancedPagination:!i})}})})}var bt=o(M(),1),tae=o(V(),1),rae=o(Q(),1),hr=o(P(),1),oae=o(me(),1),SC=o(U(),1);var doe=o(M(),1),yg=o(P(),1),foe=o(v(),1),r5e=[{label:(0,yg.__)(&quot;Newest to oldest&quot;),value:&quot;date/desc&quot;},{label:(0,yg.__)(&quot;Oldest to newest&quot;),value:&quot;date/asc&quot;},{label:(0,yg.__)(&quot;A \u2192 Z&quot;),value:&quot;title/asc&quot;},{label:(0,yg.__)(&quot;Z \u2192 A&quot;),value:&quot;title/desc&quot;}];function o5e({order:e,orderBy:t,orderByOptions:r=r5e,onChange:a}){return(0,foe.jsx)(doe.SelectControl,{__next40pxDefaultSize:!0,label:(0,yg.__)(&quot;Order by&quot;),value:`${t}/${e}`,options:r,onChange:n=&gt;{let[i,l]=n.split(&quot;/&quot;);a({order:l,orderBy:i})}})}var hoe=o5e;var goe=o(P(),1),voe=o(M(),1),boe=o(V(),1),yoe=o(Q(),1);var _oe=o(v(),1),a5e={who:&quot;authors&quot;,per_page:-1,_fields:&quot;id,name&quot;,context:&quot;view&quot;};function n5e({value:e,onChange:t}){let r=(0,boe.useSelect)(c=&gt;{let{getUsers:u}=c(yoe.store);return u(a5e)},[]);if(!r)return null;let a=y2(r),i=(e?e.toString().split(&quot;,&quot;):[]).reduce((c,u)=&gt;{let m=a.mapById[u];return m&amp;&amp;c.push({id:u,value:m.name}),c},[]),l=(c,u)=&gt;{let m=u?.id||c[u]?.id;if(m)return m},s=c=&gt;{let u=Array.from(c.reduce((m,p)=&gt;{let d=l(a.mapByName,p);return d&amp;&amp;m.add(d),m},new Set));t({author:u.join(&quot;,&quot;)})};return(0,_oe.jsx)(voe.FormTokenField,{label:(0,goe.__)(&quot;Authors&quot;),value:i,suggestions:a.names,onChange:s,__experimentalShowHowTo:!1,__next40pxDefaultSize:!0})}var xoe=n5e;var woe=o(P(),1),Coe=o(M(),1),NL=o(V(),1),EL=o(Q(),1),wu=o(U(),1),Soe=o(me(),1);var Toe=o(v(),1),jd=[],koe={order:&quot;asc&quot;,_fields:&quot;id,title&quot;,context:&quot;view&quot;};function i5e({parents:e,postType:t,onChange:r}){let[a,n]=(0,wu.useState)(&quot;&quot;),[i,l]=(0,wu.useState)(jd),[s,c]=(0,wu.useState)(jd),u=(0,Soe.useDebounce)(n,250),{searchResults:m,searchHasResolved:p}=(0,NL.useSelect)(b=&gt;{if(!a)return{searchResults:jd,searchHasResolved:!0};let{getEntityRecords:y,hasFinishedResolution:k}=b(EL.store),_=[&quot;postType&quot;,t,{...koe,search:a,orderby:&quot;relevance&quot;,exclude:e,per_page:20}];return{searchResults:y(..._),searchHasResolved:k(&quot;getEntityRecords&quot;,_)}},[a,t,e]),d=(0,NL.useSelect)(b=&gt;{if(!e?.length)return jd;let{getEntityRecords:y}=b(EL.store);return y(&quot;postType&quot;,t,{...koe,include:e,per_page:e.length})},[e,t]);(0,wu.useEffect)(()=&gt;{if(e?.length||l(jd),!d?.length)return;let b=y2(IL(d,&quot;title.rendered&quot;)),y=e.reduce((k,_)=&gt;{let x=b.mapById[_];return x&amp;&amp;k.push({id:_,value:x.name}),k},[]);l(y)},[e,d]);let f=(0,wu.useMemo)(()=&gt;m?.length?y2(IL(m,&quot;title.rendered&quot;)):jd,[m]);(0,wu.useEffect)(()=&gt;{p&amp;&amp;c(f.names)},[f.names,p]);let h=(b,y)=&gt;{let k=y?.id||b?.[y]?.id;if(k)return k},g=b=&gt;{let y=Array.from(b.reduce((k,_)=&gt;{let x=h(f.mapByName,_);return x&amp;&amp;k.add(x),k},new Set));c(jd),r({parents:y})};return(0,Toe.jsx)(Coe.FormTokenField,{__next40pxDefaultSize:!0,label:(0,woe.__)(&quot;Parents&quot;),value:i,onInputChange:u,suggestions:s,onChange:g,__experimentalShowHowTo:!1})}var Poe=i5e;var wC=o(M(),1),DL=o(V(),1),LL=o(Q(),1),Cu=o(U(),1),Noe=o(me(),1),Eoe=o(Wo(),1),CC=o(P(),1);var Um=o(v(),1),_g=[],Boe={order:&quot;asc&quot;,_fields:&quot;id,name&quot;,context:&quot;view&quot;},l5e=(e,t)=&gt;{let r=t?.id||e?.find(n=&gt;n.name===t)?.id;if(r)return r;let a=t.toLocaleLowerCase();return e?.find(n=&gt;n.name.toLocaleLowerCase()===a)?.id};function Doe({onChange:e,query:t}){let{postType:r,taxQuery:a}=t,n=_C(r);return n?.length?(0,Um.jsx)(wC.__experimentalVStack,{spacing:4,children:n.map(i=&gt;{let l=a?.include?.[i.slug]||[],s=a?.exclude?.[i.slug]||[],c=(u,m)=&gt;{let p={...a?.[m],[i.slug]:u};u.length||delete p[i.slug];let d={...a,[m]:Object.keys(p).length?p:void 0};e({taxQuery:Object.values(d).every(f=&gt;!f)?void 0:d})};return(0,Um.jsxs)(Cu.Fragment,{children:[(0,Um.jsx)(Ioe,{taxonomy:i,termIds:l,oppositeTermIds:s,onChange:u=&gt;c(u,&quot;include&quot;),label:i.name}),(0,Um.jsx)(Ioe,{taxonomy:i,termIds:s,oppositeTermIds:l,onChange:u=&gt;c(u,&quot;exclude&quot;),label:(0,CC.sprintf)((0,CC.__)(&quot;Exclude: %s&quot;),i.name)})]},i.slug)})}):null}function Ioe({taxonomy:e,termIds:t,oppositeTermIds:r,onChange:a,label:n}){let[i,l]=(0,Cu.useState)(&quot;&quot;),[s,c]=(0,Cu.useState)(_g),[u,m]=(0,Cu.useState)(_g),p=(0,Noe.useDebounce)(l,250),{searchResults:d,searchHasResolved:f}=(0,DL.useSelect)(b=&gt;{if(!i)return{searchResults:_g,searchHasResolved:!0};let{getEntityRecords:y,hasFinishedResolution:k}=b(LL.store),_=[...t,...r],x=[&quot;taxonomy&quot;,e.slug,{...Boe,search:i,orderby:&quot;name&quot;,exclude:_,per_page:20}];return{searchResults:y(...x),searchHasResolved:k(&quot;getEntityRecords&quot;,x)}},[i,e.slug,t,r]),h=(0,DL.useSelect)(b=&gt;{if(!t?.length)return _g;let{getEntityRecords:y}=b(LL.store);return y(&quot;taxonomy&quot;,e.slug,{...Boe,include:t,per_page:t.length})},[e.slug,t]);return(0,Cu.useEffect)(()=&gt;{if(t?.length||c(_g),!h?.length)return;let b=t.reduce((y,k)=&gt;{let _=h.find(x=&gt;x.id===k);return _&amp;&amp;y.push({id:k,value:_.name}),y},[]);c(b)},[t,h]),(0,Cu.useEffect)(()=&gt;{f&amp;&amp;m(d.map(b=&gt;b.name))},[d,f]),(0,Um.jsx)(&quot;div&quot;,{className:&quot;block-library-query-inspector__taxonomy-control&quot;,children:(0,Um.jsx)(wC.FormTokenField,{label:n,value:s,onInputChange:p,suggestions:u,displayTransform:Eoe.decodeEntities,onChange:b=&gt;{let y=new Set;for(let k of b){let _=l5e(d,k);_&amp;&amp;y.add(_)}m(_g),a(Array.from(y))},__experimentalShowHowTo:!1,__next40pxDefaultSize:!0})})}var Loe=o(M(),1),Moe=o(V(),1),Aoe=o(Q(),1),fl=o(P(),1),Roe=o(v(),1),s5e=[{value:&quot;aside&quot;,label:(0,fl.__)(&quot;Aside&quot;)},{value:&quot;audio&quot;,label:(0,fl.__)(&quot;Audio&quot;)},{value:&quot;chat&quot;,label:(0,fl.__)(&quot;Chat&quot;)},{value:&quot;gallery&quot;,label:(0,fl.__)(&quot;Gallery&quot;)},{value:&quot;image&quot;,label:(0,fl.__)(&quot;Image&quot;)},{value:&quot;link&quot;,label:(0,fl.__)(&quot;Link&quot;)},{value:&quot;quote&quot;,label:(0,fl.__)(&quot;Quote&quot;)},{value:&quot;standard&quot;,label:(0,fl.__)(&quot;Standard&quot;)},{value:&quot;status&quot;,label:(0,fl.__)(&quot;Status&quot;)},{value:&quot;video&quot;,label:(0,fl.__)(&quot;Video&quot;)}].sort((e,t)=&gt;{let r=e.label.toUpperCase(),a=t.label.toUpperCase();return r&lt;a?-1:r&gt;a?1:0});function c5e(e,t){return e.map(r=&gt;t.find(a=&gt;a.label.toLocaleLowerCase()===r.toLocaleLowerCase())?.value).filter(Boolean)}function zoe({onChange:e,query:{format:t}}){let r=Array.isArray(t)?t:[t],{supportedFormats:a}=(0,Moe.useSelect)(s=&gt;({supportedFormats:s(Aoe.store).getThemeSupports().formats}),[]),n=s5e.filter(s=&gt;a.includes(s.value)),i=r.map(s=&gt;n.find(c=&gt;c.value===s)?.label).filter(Boolean),l=n.filter(s=&gt;!r.includes(s.value)).map(s=&gt;s.label);return(0,Roe.jsx)(Loe.FormTokenField,{label:(0,fl.__)(&quot;Formats&quot;),value:i,suggestions:l,onChange:s=&gt;{e({format:c5e(s,n)})},__experimentalShowHowTo:!1,__experimentalExpandOnFocus:!0,__next40pxDefaultSize:!0})}var Voe=o(M(),1),Ud=o(P(),1),Foe=o(v(),1),u5e=[{label:(0,Ud.__)(&quot;Include&quot;),value:&quot;&quot;},{label:(0,Ud.__)(&quot;Ignore&quot;),value:&quot;ignore&quot;},{label:(0,Ud.__)(&quot;Exclude&quot;),value:&quot;exclude&quot;},{label:(0,Ud.__)(&quot;Only&quot;),value:&quot;only&quot;}];function Hoe({value:e,onChange:t}){return(0,Foe.jsx)(Voe.SelectControl,{__next40pxDefaultSize:!0,label:(0,Ud.__)(&quot;Sticky posts&quot;),options:u5e,value:e,onChange:t,help:(0,Ud.__)(&quot;Sticky posts always appear first, regardless of their publish date.&quot;)})}var Uoe=o(M(),1),Goe=o(P(),1),Woe=o(v(),1),Ooe=1,joe=100,m5e=({perPage:e,offset:t=0,onChange:r})=&gt;(0,Woe.jsx)(Uoe.RangeControl,{__next40pxDefaultSize:!0,label:(0,Goe.__)(&quot;Items per page&quot;),min:Ooe,max:joe,onChange:a=&gt;{isNaN(a)||a&lt;Ooe||a&gt;joe||r({perPage:a,offset:t})},value:parseInt(e,10)}),$oe=m5e;var Zoe=o(M(),1),Koe=o(P(),1),Qoe=o(v(),1),qoe=0,p5e=100,d5e=({offset:e=0,onChange:t})=&gt;(0,Qoe.jsx)(Zoe.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,Koe.__)(&quot;Offset&quot;),value:e,min:qoe,onChange:r=&gt;{isNaN(r)||r&lt;qoe||r&gt;p5e||t({offset:r})}}),Yoe=d5e;var Xoe=o(M(),1),ML=o(P(),1),Joe=o(v(),1),f5e=({pages:e,onChange:t})=&gt;(0,Joe.jsx)(Xoe.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,ML.__)(&quot;Max pages to show&quot;),value:e,min:0,onChange:r=&gt;{isNaN(r)||r&lt;0||t({pages:r})},help:(0,ML.__)(&quot;Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).&quot;)}),eae=f5e;var Qe=o(v(),1);function aae(e){let{attributes:t,setQuery:r,isSingular:a}=e,{query:n}=t,{order:i,orderBy:l,author:s,pages:c,postType:u,perPage:m,offset:p,sticky:d,inherit:f,taxQuery:h,parents:g,format:b}=n,y=noe(t),k=u===&quot;post&quot;,{postTypesTaxonomiesMap:_,postTypesSelectOptions:x,postTypeFormatSupportMap:S}=roe(),C=_C(u),N=ooe(u),B=ie=&gt;{let fe={postType:ie},ke=_[ie];if(ke?.length&amp;&amp;h){let de=Wr=&gt;Object.entries(Wr||{}).reduce((ut,[br,mt])=&gt;(ke.includes(br)&amp;&amp;(ut[br]=mt),ut),{}),ct={},at=de(h.include);Object.keys(at).length&amp;&amp;(ct.include=at);let kt=de(h.exclude);Object.keys(kt).length&amp;&amp;(ct.exclude=kt),fe.taxQuery=Object.keys(ct).length?ct:void 0}ie!==&quot;post&quot;&amp;&amp;(fe.sticky=&quot;&quot;),fe.parents=[],S[ie]||(fe.format=[]),r(fe)},[D,A]=(0,SC.useState)(n.search),H=(0,SC.useMemo)(()=&gt;(0,oae.debounce)(ie=&gt;{r({search:ie})},250),[r]),F=aoe(u),z=Fi(y,&quot;inherit&quot;),I=!f&amp;&amp;Fi(y,&quot;postType&quot;),R=(0,hr.__)(&quot;Post type&quot;),$=(0,hr.__)(&quot;Select the type of content to display: posts, pages, or custom post types.&quot;),j=!f&amp;&amp;Fi(y,&quot;order&quot;),G=!f&amp;&amp;k&amp;&amp;Fi(y,&quot;sticky&quot;),O=z||I||j||G,J=!!C?.length&amp;&amp;Fi(y,&quot;taxQuery&quot;),ee=Fi(y,&quot;author&quot;),oe=Fi(y,&quot;search&quot;),X=Fi(y,&quot;parents&quot;)&amp;&amp;N,te=S[u],ne=(0,tae.useSelect)(ie=&gt;{if(!te||!Fi(y,&quot;format&quot;))return!1;let fe=ie(rae.store).getThemeSupports();return fe.formats&amp;&amp;fe.formats.length&gt;0&amp;&amp;fe.formats.some(ke=&gt;ke!==&quot;standard&quot;)},[y,te]),le=J||ee||oe||X||ne,pe=q(),Ie=Fi(y,&quot;postCount&quot;),Ne=Fi(y,&quot;offset&quot;),ae=Fi(y,&quot;pages&quot;),Re=Ie||Ne||ae,Ee=a&amp;&amp;f;return(0,Qe.jsxs)(Qe.Fragment,{children:[O&amp;&amp;(0,Qe.jsxs)(bt.__experimentalToolsPanel,{label:(0,hr.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,sticky:&quot;&quot;,inherit:!0})},dropdownMenuProps:pe,children:[z&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!f,label:(0,hr.__)(&quot;Query type&quot;),onDeselect:()=&gt;r({inherit:!0}),isShownByDefault:!0,children:(0,Qe.jsxs)(bt.__experimentalVStack,{spacing:4,children:[(0,Qe.jsxs)(bt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,hr.__)(&quot;Query type&quot;),isBlock:!0,onChange:ie=&gt;{r({inherit:ie===&quot;default&quot;})},help:f?(0,hr.__)(&quot;Display a list of posts or custom post types based on the current template.&quot;):(0,hr.__)(&quot;Display a list of posts or custom post types based on specific criteria.&quot;),value:f?&quot;default&quot;:&quot;custom&quot;,children:[(0,Qe.jsx)(bt.__experimentalToggleGroupControlOption,{value:&quot;default&quot;,label:(0,hr.__)(&quot;Default&quot;)}),(0,Qe.jsx)(bt.__experimentalToggleGroupControlOption,{value:&quot;custom&quot;,label:(0,hr.__)(&quot;Custom&quot;)})]}),Ee&amp;&amp;(0,Qe.jsx)(bt.Notice,{status:&quot;warning&quot;,isDismissible:!1,children:(0,hr.__)(&quot;Cannot inherit the current template query when placed inside the singular content (e.g., post, page, 404, blank).&quot;)})]})}),I&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;u!==&quot;post&quot;,label:R,onDeselect:()=&gt;B(&quot;post&quot;),isShownByDefault:!0,children:x.length&gt;2?(0,Qe.jsx)(bt.SelectControl,{__next40pxDefaultSize:!0,options:x,value:u,label:R,onChange:B,help:$}):(0,Qe.jsx)(bt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,isBlock:!0,value:u,label:R,onChange:B,help:$,children:x.map(ie=&gt;(0,Qe.jsx)(bt.__experimentalToggleGroupControlOption,{value:ie.value,label:ie.label},ie.value))})}),j&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;i!==&quot;desc&quot;||l!==&quot;date&quot;,label:(0,hr.__)(&quot;Order by&quot;),onDeselect:()=&gt;r({order:&quot;desc&quot;,orderBy:&quot;date&quot;}),isShownByDefault:!0,children:(0,Qe.jsx)(hoe,{order:i,orderBy:l,orderByOptions:F,onChange:r})}),G&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!d,label:(0,hr.__)(&quot;Sticky posts&quot;),onDeselect:()=&gt;r({sticky:&quot;&quot;}),isShownByDefault:!0,children:(0,Qe.jsx)(Hoe,{value:d,onChange:ie=&gt;r({sticky:ie})})})]}),!f&amp;&amp;Re&amp;&amp;(0,Qe.jsxs)(bt.__experimentalToolsPanel,{className:&quot;block-library-query-toolspanel__display&quot;,label:(0,hr.__)(&quot;Display&quot;),resetAll:()=&gt;{r({offset:0,pages:0})},dropdownMenuProps:pe,children:[(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{label:(0,hr.__)(&quot;Items per page&quot;),hasValue:()=&gt;m&gt;0,children:(0,Qe.jsx)($oe,{perPage:m,offset:p,onChange:r})}),(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{label:(0,hr.__)(&quot;Offset&quot;),hasValue:()=&gt;p&gt;0,onDeselect:()=&gt;r({offset:0}),children:(0,Qe.jsx)(Yoe,{offset:p,onChange:r})}),(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{label:(0,hr.__)(&quot;Max pages to show&quot;),hasValue:()=&gt;c&gt;0,onDeselect:()=&gt;r({pages:0}),children:(0,Qe.jsx)(eae,{pages:c,onChange:r})})]}),!f&amp;&amp;le&amp;&amp;(0,Qe.jsxs)(bt.__experimentalToolsPanel,{className:&quot;block-library-query-toolspanel__filters&quot;,label:(0,hr.__)(&quot;Filters&quot;),resetAll:()=&gt;{r({author:&quot;&quot;,parents:[],search:&quot;&quot;,taxQuery:null,format:[]}),A(&quot;&quot;)},dropdownMenuProps:pe,children:[J&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{label:(0,hr.__)(&quot;Taxonomies&quot;),hasValue:()=&gt;Object.values(h||{}).some(ie=&gt;Object.values(ie||{}).some(fe=&gt;!!fe?.length)),onDeselect:()=&gt;r({taxQuery:null}),children:(0,Qe.jsx)(Doe,{onChange:r,query:n})}),ee&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!s,label:(0,hr.__)(&quot;Authors&quot;),onDeselect:()=&gt;r({author:&quot;&quot;}),children:(0,Qe.jsx)(xoe,{value:s,onChange:r})}),oe&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!D,label:(0,hr.__)(&quot;Keyword&quot;),onDeselect:()=&gt;{r({search:&quot;&quot;}),A(&quot;&quot;)},children:(0,Qe.jsx)(bt.TextControl,{__next40pxDefaultSize:!0,label:(0,hr.__)(&quot;Keyword&quot;),value:D,onChange:ie=&gt;{H(ie),A(ie)}})}),X&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!g?.length,label:(0,hr.__)(&quot;Parents&quot;),onDeselect:()=&gt;r({parents:[]}),children:(0,Qe.jsx)(Poe,{parents:g,postType:u,onChange:r})}),ne&amp;&amp;(0,Qe.jsx)(bt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!b?.length,label:(0,hr.__)(&quot;Formats&quot;),onDeselect:()=&gt;r({format:[]}),children:(0,Qe.jsx)(zoe,{onChange:r,query:n})})]})]})}var kg=o(M(),1),x2=o(P(),1),TC=o(U(),1);var xg=o(v(),1),nae=&quot;wp-block-query-enhanced-pagination-modal__description&quot;;function iae({clientId:e,attributes:{enhancedPagination:t},setAttributes:r}){let[a,n]=(0,TC.useState)(!1),i=xC(e);(0,TC.useEffect)(()=&gt;{t&amp;&amp;i&amp;&amp;(r({enhancedPagination:!1}),n(!0))},[t,i,r]);let l=()=&gt;{n(!1)},s=(0,x2.__)(&quot;Currently, avoiding full page reloads is not possible when non-interactive or non-client Navigation compatible blocks from plugins are present inside the Query block.&quot;)+&quot; &quot;+(0,x2.__)(&#039;If you still want to prevent full page reloads, remove that block, then disable &quot;Reload full page&quot; again in the Query Block settings.&#039;);return a&amp;&amp;(0,xg.jsx)(kg.Modal,{title:(0,x2.__)(&quot;Query block: Reload full page enabled&quot;),className:&quot;wp-block-query__enhanced-pagination-modal&quot;,aria:{describedby:nae},role:&quot;alertdialog&quot;,focusOnMount:&quot;firstElement&quot;,isDismissible:!1,onRequestClose:l,children:(0,xg.jsxs)(kg.__experimentalVStack,{alignment:&quot;right&quot;,spacing:5,children:[(0,xg.jsx)(&quot;span&quot;,{id:nae,children:s}),(0,xg.jsx)(kg.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:l,children:(0,x2.__)(&quot;OK&quot;)})]})})}var Sg=o(M(),1),RL=o(P(),1),cae=o(V(),1),IC=o(T(),1);var wg=o(U(),1),lae=o(V(),1),BC=o(M(),1),Cg=o(T(),1),PC=o(P(),1);var Su=o(v(),1);function sae({clientId:e,attributes:t,setIsPatternSelectionModalOpen:r}){return(0,Su.jsx)(BC.Modal,{overlayClassName:&quot;block-library-query-pattern__selection-modal&quot;,title:(0,PC.__)(&quot;Choose a pattern&quot;),onRequestClose:()=&gt;r(!1),isFullScreen:!0,children:(0,Su.jsx)(AL,{clientId:e,attributes:t})})}function k2(e,t){let r=loe(e,t),a=coe(e,r);return(0,wg.useMemo)(()=&gt;a.filter(i=&gt;i.blocks?.[0]?.name===&quot;core/query&quot;),[a])}function AL({clientId:e,attributes:t,showTitlesAsTooltip:r=!1,showSearch:a=!0}){let[n,i]=(0,wg.useState)(&quot;&quot;),{replaceBlock:l,selectBlock:s}=(0,lae.useDispatch)(Cg.store),c=k2(e,t),u=(0,wg.useMemo)(()=&gt;({previewPostType:t.query.postType}),[t.query.postType]),m=(0,wg.useMemo)(()=&gt;dv(c,n),[c,n]),p=(d,f)=&gt;{let{newBlocks:h,queryClientIds:g}=ioe(f,t);l(e,h),g[0]&amp;&amp;s(g[0])};return(0,Su.jsxs)(&quot;div&quot;,{className:&quot;block-library-query-pattern__selection-content&quot;,children:[a&amp;&amp;(0,Su.jsx)(&quot;div&quot;,{className:&quot;block-library-query-pattern__selection-search&quot;,children:(0,Su.jsx)(BC.SearchControl,{onChange:i,value:n,label:(0,PC.__)(&quot;Search&quot;),placeholder:(0,PC.__)(&quot;Search&quot;)})}),(0,Su.jsx)(Cg.BlockContextProvider,{value:u,children:(0,Su.jsx)(Cg.__experimentalBlockPatternsList,{blockPatterns:m,onClickPattern:p,showTitlesAsTooltip:r})})]})}var Gd=o(v(),1);function h5e({clientId:e,attributes:t,hasInnerBlocks:r}){if(!k2(e,t).length)return null;let n=r?(0,RL.__)(&quot;Change design&quot;):(0,RL.__)(&quot;Choose pattern&quot;);return(0,Gd.jsx)(IC.BlockControls,{group:&quot;other&quot;,children:(0,Gd.jsx)(Sg.__experimentalDropdownContentWrapper,{children:(0,Gd.jsx)(Sg.Dropdown,{contentClassName:&quot;block-editor-block-settings-menu__popover&quot;,focusOnMount:&quot;firstElement&quot;,expandOnMobile:!0,renderToggle:({isOpen:i,onToggle:l})=&gt;(0,Gd.jsx)(Sg.ToolbarButton,{&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:i,onClick:l,children:n}),renderContent:()=&gt;(0,Gd.jsx)(AL,{clientId:e,attributes:t,showSearch:!1,showTitlesAsTooltip:!0})})})})}function NC(e){return(0,cae.useSelect)(r=&gt;{let{isLockedBlock:a}=K(r(IC.store));return a(e.clientId)},[e.clientId])?null:(0,Gd.jsx)(h5e,{...e})}var Hi=o(v(),1),{HTMLElementControl:g5e}=K(hl.privateApis),v5e=3,b5e=[[&quot;core/post-template&quot;]];function zL({attributes:e,setAttributes:t,clientId:r,context:a,name:n,isSelected:i}){let{queryId:l,query:s,enhancedPagination:c,tagName:u=&quot;div&quot;,query:{inherit:m}={}}=e,{templateSlug:p}=a,{isSingular:d}=uoe(p),{__unstableMarkNextChangeAsNotPersistent:f}=(0,EC.useDispatch)(hl.store),h=(0,uae.useInstanceId)(zL),g=(0,hl.useBlockProps)(),b=(0,hl.useInnerBlocksProps)(g,{template:b5e}),{postsPerPage:y}=(0,EC.useSelect)(_=&gt;{let{getSettings:x}=_(hl.store),{getEntityRecord:S,getEntityRecordEdits:C,canUser:N}=_(pae.store),B=N(&quot;read&quot;,{kind:&quot;root&quot;,name:&quot;site&quot;})?+S(&quot;root&quot;,&quot;site&quot;)?.posts_per_page:+x().postsPerPage;return{postsPerPage:+C(&quot;root&quot;,&quot;site&quot;)?.posts_per_page||B||v5e}},[]),k=(0,w2.useCallback)(_=&gt;t(x=&gt;({query:{...x.query,..._}})),[t]);return(0,w2.useEffect)(()=&gt;{let _={};(m&amp;&amp;s.perPage!==y||!s.perPage&amp;&amp;y)&amp;&amp;(_.perPage=y),Object.keys(_).length&amp;&amp;(f(),k(_))},[s.perPage,m,y,f,k]),(0,w2.useEffect)(()=&gt;{Number.isFinite(l)||(f(),t({queryId:h}))},[l,h,f,t]),(0,Hi.jsxs)(Hi.Fragment,{children:[i&amp;&amp;(0,Hi.jsx)(NC,{clientId:r,attributes:e,hasInnerBlocks:!0}),(0,Hi.jsx)(iae,{attributes:e,setAttributes:t,clientId:r}),(0,Hi.jsx)(hl.InspectorControls,{children:(0,Hi.jsx)(aae,{name:n,attributes:e,setQuery:k,setAttributes:t,clientId:r,isSingular:d})}),(0,Hi.jsxs)(hl.InspectorControls,{group:&quot;advanced&quot;,children:[(0,Hi.jsx)(g5e,{tagName:u,onChange:_=&gt;t({tagName:_}),clientId:r,options:[{label:(0,mae.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;}]}),(0,Hi.jsx)(poe,{enhancedPagination:c,setAttributes:t,clientId:r})]}),(0,Hi.jsx)(u,{...b})]})}var LC=o(V(),1),MC=o(W(),1),VL=o(U(),1),Wd=o(T(),1),C2=o(M(),1),DC=o(P(),1),dae=o(me(),1);var vc=o(v(),1);function fae({attributes:e,clientId:t,name:r,openPatternSelectionModal:a,isSelected:n}){let[i,l]=(0,VL.useState)(!1),[s,c]=(0,VL.useState)(0),u=(0,dae.useResizeObserver)(([k])=&gt;{c(k.contentRect.width)}),p=s&gt;0&amp;&amp;s&lt;160,{blockType:d,activeBlockVariation:f}=(0,LC.useSelect)(k=&gt;{let{getActiveBlockVariation:_,getBlockType:x}=k(MC.store);return{blockType:x(r),activeBlockVariation:_(r,e)}},[r,e]),h=!!k2(t,e).length,g=f?.icon?.src||f?.icon||d?.icon?.src,b=f?.title||d?.title,y=(0,Wd.useBlockProps)({ref:u});return i?(0,vc.jsx)(y5e,{clientId:t,attributes:e,icon:g,label:b}):(0,vc.jsxs)(&quot;div&quot;,{...y,children:[n&amp;&amp;(0,vc.jsx)(NC,{clientId:t,attributes:e,hasInnerBlocks:!1}),(0,vc.jsxs)(C2.Placeholder,{className:&quot;block-editor-media-placeholder&quot;,icon:!p&amp;&amp;g,label:!p&amp;&amp;b,instructions:!p&amp;&amp;(0,DC.__)(&quot;Choose a pattern for the query loop or start blank.&quot;),withIllustration:p,children:[!!h&amp;&amp;!p&amp;&amp;(0,vc.jsx)(C2.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:a,children:(0,DC.__)(&quot;Choose&quot;)}),!p&amp;&amp;(0,vc.jsx)(C2.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{l(!0)},children:(0,DC.__)(&quot;Start blank&quot;)})]})]})}function y5e({clientId:e,attributes:t,icon:r,label:a}){let n=soe(t),{replaceInnerBlocks:i}=(0,LC.useDispatch)(Wd.store),l=(0,Wd.useBlockProps)();return(0,vc.jsx)(&quot;div&quot;,{...l,children:(0,vc.jsx)(Wd.__experimentalBlockVariationPicker,{icon:r,label:a,variations:n,onSelect:s=&gt;{s.innerBlocks&amp;&amp;i(e,(0,MC.createBlocksFromInnerBlocksTemplate)(s.innerBlocks),!1)}})})}var $d=o(v(),1),_5e=e=&gt;{let{clientId:t,attributes:r}=e,[a,n]=(0,gae.useState)(!1),l=(0,hae.useSelect)(s=&gt;!!s(vae.store).getBlocks(t).length,[t])?zL:fae;return(0,$d.jsxs)($d.Fragment,{children:[(0,$d.jsx)(l,{...e,openPatternSelectionModal:()=&gt;n(!0)}),a&amp;&amp;(0,$d.jsx)(sae,{clientId:t,attributes:r,setIsPatternSelectionModalOpen:n})]})},bae=_5e;var AC=o(T(),1),yae=o(v(),1);function _ae({attributes:{tagName:e=&quot;div&quot;}}){let t=AC.useBlockProps.save(),r=AC.useInnerBlocksProps.save(t);return(0,yae.jsx)(e,{...r})}var S2=o(P(),1);var bc=o(M(),1),Tu=o(v(),1),xae=(0,Tu.jsx)(bc.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Tu.jsx)(bc.Path,{d:&quot;M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z&quot;})}),kae=(0,Tu.jsx)(bc.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Tu.jsx)(bc.Path,{d:&quot;M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z&quot;})}),wae=(0,Tu.jsx)(bc.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Tu.jsx)(bc.Path,{d:&quot;M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z&quot;})}),Cae=(0,Tu.jsx)(bc.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,Tu.jsx)(bc.Path,{d:&quot;M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z&quot;})});var FL=[&quot;core/post-date&quot;,{metadata:{bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:&quot;date&quot;}}}}}],x5e=[{name:&quot;title-date&quot;,title:(0,S2.__)(&quot;Title &amp; Date&quot;),icon:xae,attributes:{},innerBlocks:[[&quot;core/post-template&quot;,{},[[&quot;core/post-title&quot;],FL]],[&quot;core/query-pagination&quot;],[&quot;core/query-no-results&quot;]],scope:[&quot;block&quot;]},{name:&quot;title-excerpt&quot;,title:(0,S2.__)(&quot;Title &amp; Excerpt&quot;),icon:kae,attributes:{},innerBlocks:[[&quot;core/post-template&quot;,{},[[&quot;core/post-title&quot;],[&quot;core/post-excerpt&quot;]]],[&quot;core/query-pagination&quot;],[&quot;core/query-no-results&quot;]],scope:[&quot;block&quot;]},{name:&quot;title-date-excerpt&quot;,title:(0,S2.__)(&quot;Title, Date, &amp; Excerpt&quot;),icon:wae,attributes:{},innerBlocks:[[&quot;core/post-template&quot;,{},[[&quot;core/post-title&quot;],FL,[&quot;core/post-excerpt&quot;]]],[&quot;core/query-pagination&quot;],[&quot;core/query-no-results&quot;]],scope:[&quot;block&quot;]},{name:&quot;image-date-title&quot;,title:(0,S2.__)(&quot;Image, Date, &amp; Title&quot;),icon:Cae,attributes:{},innerBlocks:[[&quot;core/post-template&quot;,{},[[&quot;core/post-featured-image&quot;],FL,[&quot;core/post-title&quot;]]],[&quot;core/query-pagination&quot;],[&quot;core/query-no-results&quot;]],scope:[&quot;block&quot;]}],Sae=x5e;var RC=o(W(),1),Oa=o(T(),1);var qd=o(v(),1),{cleanEmptyObject:HL}=K(Oa.privateApis),OL=e=&gt;{let{query:t}=e,{categoryIds:r,tagIds:a,taxQuery:n,...i}=t;return(r?.length||a?.length)&amp;&amp;(i.taxQuery={include:{category:r?.length?r:void 0,post_tag:a?.length?a:void 0}}),Object.keys(n||{}).length&amp;&amp;(i.taxQuery={include:n}),{...e,query:i}},Tae=(e,t)=&gt;{let{style:r,backgroundColor:a,gradient:n,textColor:i,...l}=e;if(!(a||n||i||r?.color||r?.elements?.link))return[e,t];if(r&amp;&amp;(l.style=HL({...r,color:void 0,elements:{...r.elements,link:void 0}})),k5e(t)){let u=t[0],p=r?.color||r?.elements?.link||u.attributes.style?HL({...u.attributes.style,color:r?.color,elements:r?.elements?.link?{link:r?.elements?.link}:void 0}):void 0,d=(0,RC.createBlock)(&quot;core/group&quot;,{...u.attributes,backgroundColor:a,gradient:n,textColor:i,style:p},u.innerBlocks);return[l,[d]]}let c=(0,RC.createBlock)(&quot;core/group&quot;,{backgroundColor:a,gradient:n,textColor:i,style:HL({color:r?.color,elements:r?.elements?.link?{link:r?.elements?.link}:void 0})},t);return[l,[c]]},k5e=(e=[])=&gt;e.length===1&amp;&amp;e[0].name===&quot;core/group&quot;,jL=e=&gt;{let{layout:t=null}=e;if(!t)return e;let{inherit:r=null,contentSize:a=null,...n}=t;return r||a?{...e,layout:{...n,contentSize:a,type:&quot;constrained&quot;}}:e},Pae=(e=[])=&gt;{let t=null;for(let r of e)if(r.name===&quot;core/post-template&quot;){t=r;break}else r.innerBlocks.length&amp;&amp;(t=Pae(r.innerBlocks));return t},Bae=(e=[],t)=&gt;(e.forEach((r,a)=&gt;{r.name===&quot;core/post-template&quot;?e.splice(a,1,t):r.innerBlocks.length&amp;&amp;(r.innerBlocks=Bae(r.innerBlocks,t))}),e),Tg=(e,t)=&gt;{let{displayLayout:r=null,...a}=e;if(!r)return[e,t];let n=Pae(t);if(!n)return[e,t];let{type:i,columns:l}=r,s=i===&quot;flex&quot;?&quot;grid&quot;:&quot;default&quot;,c=(0,RC.createBlock)(&quot;core/post-template&quot;,{...n.attributes,layout:{type:s,...l&amp;&amp;{columnCount:l}}},n.innerBlocks);return[a,Bae(t,c)]},w5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,categoryIds:[],tagIds:[],order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0}},layout:{type:&quot;object&quot;,default:{type:&quot;list&quot;}}},supports:{html:!1},migrate(e,t){let r=OL(e),{layout:a,...n}=r,i={...n,displayLayout:r.layout};return Tg(i,t)},save(){return(0,qd.jsx)(Oa.InnerBlocks.Content,{})}},C5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,categoryIds:[],tagIds:[],order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},displayLayout:{type:&quot;object&quot;,default:{type:&quot;list&quot;}}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0},layout:!0},isEligible:({query:{categoryIds:e,tagIds:t}={}})=&gt;e||t,migrate(e,t){let r=OL(e),[a,n]=Tae(r,t),i=jL(a);return Tg(i,n)},save({attributes:{tagName:e=&quot;div&quot;}}){let t=Oa.useBlockProps.save(),r=Oa.useInnerBlocksProps.save(t);return(0,qd.jsx)(e,{...r})}},S5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0,taxQuery:null,parents:[]}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},displayLayout:{type:&quot;object&quot;,default:{type:&quot;list&quot;}},namespace:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},layout:!0},isEligible(e){let{style:t,backgroundColor:r,gradient:a,textColor:n}=e;return r||a||n||t?.color||t?.elements?.link},migrate(e,t){let[r,a]=Tae(e,t),n=jL(r);return Tg(n,a)},save({attributes:{tagName:e=&quot;div&quot;}}){let t=Oa.useBlockProps.save(),r=Oa.useInnerBlocksProps.save(t);return(0,qd.jsx)(e,{...r})}},T5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0,taxQuery:null,parents:[]}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},displayLayout:{type:&quot;object&quot;,default:{type:&quot;list&quot;}},namespace:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},layout:!0},save({attributes:{tagName:e=&quot;div&quot;}}){let t=Oa.useBlockProps.save(),r=Oa.useInnerBlocksProps.save(t);return(0,qd.jsx)(e,{...r})},isEligible:({layout:e})=&gt;e?.inherit||e?.contentSize&amp;&amp;e?.type!==&quot;constrained&quot;,migrate(e,t){let r=jL(e);return Tg(r,t)}},P5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0,taxQuery:null,parents:[]}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},displayLayout:{type:&quot;object&quot;,default:{type:&quot;list&quot;}},namespace:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],anchor:!0,html:!1,layout:!0},save({attributes:{tagName:e=&quot;div&quot;}}){let t=Oa.useBlockProps.save(),r=Oa.useInnerBlocksProps.save(t);return(0,qd.jsx)(e,{...r})},isEligible:({displayLayout:e})=&gt;!!e,migrate:Tg},B5e={attributes:{queryId:{type:&quot;number&quot;},query:{type:&quot;object&quot;,default:{perPage:null,pages:0,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,exclude:[],sticky:&quot;&quot;,inherit:!0,taxQuery:null,parents:[],format:[]}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;},namespace:{type:&quot;string&quot;},enhancedPagination:{type:&quot;boolean&quot;,default:!1}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,layout:!0,interactivity:!0,contentRole:!0},save({attributes:{tagName:e=&quot;div&quot;}}){let t=Oa.useBlockProps.save(),r=Oa.useInnerBlocksProps.save(t);return(0,qd.jsx)(e,{...r})},isEligible:({query:{taxQuery:e}={}})=&gt;!!e&amp;&amp;Object.keys(e).some(t=&gt;![&quot;include&quot;,&quot;exclude&quot;].includes(t)),migrate(e,t){let r=OL(e);return Tg(r,t)}},I5e=[B5e,P5e,T5e,S5e,C5e,w5e],Iae=I5e;var{name:Nae}=bC,Eae={icon:Sp,edit:bae,example:{viewportWidth:650,attributes:{namespace:&quot;core/posts-list&quot;,query:{perPage:4,pages:1,offset:0,postType:&quot;post&quot;,order:&quot;desc&quot;,orderBy:&quot;date&quot;,author:&quot;&quot;,search:&quot;&quot;,sticky:&quot;exclude&quot;,inherit:!1}},innerBlocks:[{name:&quot;core/post-template&quot;,attributes:{layout:{type:&quot;grid&quot;,columnCount:2}},innerBlocks:[{name:&quot;core/post-title&quot;},{name:&quot;core/post-date&quot;,attributes:{metadata:{bindings:{datetime:{source:&quot;core/post-data&quot;,args:{field:&quot;date&quot;}}}}}},{name:&quot;core/post-excerpt&quot;}]}]},save:_ae,variations:Sae,deprecated:Iae},N5e=()=&gt;E({name:Nae,metadata:bC,settings:Eae});var GL={};Z(GL,{init:()=&gt;L5e,metadata:()=&gt;zC,name:()=&gt;Fae,settings:()=&gt;Hae});var Vae=o(P(),1);var zC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-no-results&quot;,title:&quot;No Results&quot;,category:&quot;theme&quot;,description:&quot;Contains the block elements used to render content when no query results are found.&quot;,ancestor:[&quot;core/query&quot;],textdomain:&quot;default&quot;,usesContext:[&quot;queryId&quot;,&quot;query&quot;],supports:{anchor:!0,align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var VC=o(T(),1),Dae=o(P(),1),Lae=o(v(),1),D5e=[[&quot;core/paragraph&quot;,{placeholder:(0,Dae.__)(&quot;Add text or blocks that will display when a query returns no results.&quot;)}]];function Mae(){let e=(0,VC.useBlockProps)(),t=(0,VC.useInnerBlocksProps)(e,{template:D5e});return(0,Lae.jsx)(&quot;div&quot;,{...t})}var Aae=o(T(),1),Rae=o(v(),1);function zae(){return(0,Rae.jsx)(Aae.InnerBlocks.Content,{})}var{name:Fae}=zC,Hae={icon:Sp,edit:Mae,save:zae,example:{innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,Vae.__)(&quot;No posts were found.&quot;)}}]}},L5e=()=&gt;E({name:Fae,metadata:zC,settings:Hae});var qL={};Z(qL,{init:()=&gt;z5e,metadata:()=&gt;FC,name:()=&gt;Yae,settings:()=&gt;Xae});var FC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-pagination&quot;,title:&quot;Pagination&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/query&quot;],allowedBlocks:[&quot;core/query-pagination-previous&quot;,&quot;core/query-pagination-numbers&quot;,&quot;core/query-pagination-next&quot;],description:&quot;Displays a paginated navigation to next/previous set of posts, when applicable.&quot;,textdomain:&quot;default&quot;,attributes:{paginationArrow:{type:&quot;string&quot;,default:&quot;none&quot;},showLabel:{type:&quot;boolean&quot;,default:!0}},usesContext:[&quot;queryId&quot;,&quot;query&quot;],providesContext:{paginationArrow:&quot;paginationArrow&quot;,showLabel:&quot;showLabel&quot;},supports:{anchor:!0,align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:&quot;flex&quot;}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-query-pagination-editor&quot;,style:&quot;wp-block-query-pagination&quot;};var HC=o(P(),1),Pu=o(T(),1),OC=o(V(),1),T2=o(M(),1),Wae=o(U(),1);var Zd=o(P(),1),Pg=o(M(),1),Bg=o(v(),1);function Oae({value:e,onChange:t}){return(0,Bg.jsxs)(Pg.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Zd.__)(&quot;Arrow&quot;),value:e,onChange:t,help:(0,Zd.__)(&quot;A decorative arrow appended to the next and previous page link.&quot;),isBlock:!0,children:[(0,Bg.jsx)(Pg.__experimentalToggleGroupControlOption,{value:&quot;none&quot;,label:(0,Zd._x)(&quot;None&quot;,&quot;Arrow option for Query Pagination Next/Previous blocks&quot;)}),(0,Bg.jsx)(Pg.__experimentalToggleGroupControlOption,{value:&quot;arrow&quot;,label:(0,Zd._x)(&quot;Arrow&quot;,&quot;Arrow option for Query Pagination Next/Previous blocks&quot;)}),(0,Bg.jsx)(Pg.__experimentalToggleGroupControlOption,{value:&quot;chevron&quot;,label:(0,Zd._x)(&quot;Chevron&quot;,&quot;Arrow option for Query Pagination Next/Previous blocks&quot;)})]})}var WL=o(P(),1),jae=o(M(),1),Uae=o(v(),1);function Gae({value:e,onChange:t}){return(0,Uae.jsx)(jae.ToggleControl,{label:(0,WL.__)(&quot;Show label text&quot;),help:(0,WL.__)(&#039;Make label text visible, e.g. &quot;Next Page&quot;.&#039;),onChange:t,checked:e===!0})}var gl=o(v(),1),A5e=[[&quot;core/query-pagination-previous&quot;],[&quot;core/query-pagination-numbers&quot;],[&quot;core/query-pagination-next&quot;]];function $ae({attributes:{paginationArrow:e,showLabel:t},setAttributes:r,clientId:a}){let n=(0,OC.useSelect)(u=&gt;{let{getBlocks:m}=u(Pu.store);return m(a)?.find(d=&gt;[&quot;core/query-pagination-next&quot;,&quot;core/query-pagination-previous&quot;].includes(d.name))},[a]),{__unstableMarkNextChangeAsNotPersistent:i}=(0,OC.useDispatch)(Pu.store),l=q(),s=(0,Pu.useBlockProps)(),c=(0,Pu.useInnerBlocksProps)(s,{template:A5e});return(0,Wae.useEffect)(()=&gt;{e===&quot;none&quot;&amp;&amp;!t&amp;&amp;(i(),r({showLabel:!0}))},[e,r,t,i]),(0,gl.jsxs)(gl.Fragment,{children:[n&amp;&amp;(0,gl.jsx)(Pu.InspectorControls,{children:(0,gl.jsxs)(T2.__experimentalToolsPanel,{label:(0,HC.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({paginationArrow:&quot;none&quot;,showLabel:!0})},dropdownMenuProps:l,children:[(0,gl.jsx)(T2.__experimentalToolsPanelItem,{hasValue:()=&gt;e!==&quot;none&quot;,label:(0,HC.__)(&quot;Pagination arrow&quot;),onDeselect:()=&gt;r({paginationArrow:&quot;none&quot;}),isShownByDefault:!0,children:(0,gl.jsx)(Oae,{value:e,onChange:u=&gt;{r({paginationArrow:u})}})}),e!==&quot;none&quot;&amp;&amp;(0,gl.jsx)(T2.__experimentalToolsPanelItem,{hasValue:()=&gt;!t,label:(0,HC.__)(&quot;Show text&quot;),onDeselect:()=&gt;r({showLabel:!0}),isShownByDefault:!0,children:(0,gl.jsx)(Gae,{value:t,onChange:u=&gt;{r({showLabel:u})}})})]})}),(0,gl.jsx)(&quot;nav&quot;,{...c})]})}var qae=o(T(),1),Zae=o(v(),1);function Kae(){return(0,Zae.jsx)(qae.InnerBlocks.Content,{})}var jC=o(T(),1),$L=o(v(),1),R5e=[{save(){return(0,$L.jsx)(&quot;div&quot;,{...jC.useBlockProps.save(),children:(0,$L.jsx)(jC.InnerBlocks.Content,{})})}}],Qae=R5e;var{name:Yae}=FC,Xae={icon:n1,edit:$ae,save:Kae,deprecated:Qae},z5e=()=&gt;E({name:Yae,metadata:FC,settings:Xae});var KL={};Z(KL,{init:()=&gt;H5e,metadata:()=&gt;UC,name:()=&gt;ene,settings:()=&gt;tne});var UC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-pagination-next&quot;,title:&quot;Next Page&quot;,category:&quot;theme&quot;,parent:[&quot;core/query-pagination&quot;],description:&quot;Displays the next posts page link.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;}},usesContext:[&quot;queryId&quot;,&quot;query&quot;,&quot;paginationArrow&quot;,&quot;showLabel&quot;,&quot;enhancedPagination&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var ZL=o(P(),1),GC=o(T(),1),P2=o(v(),1),F5e={none:&quot;&quot;,arrow:&quot;\u2192&quot;,chevron:&quot;\xBB&quot;};function Jae({attributes:{label:e},setAttributes:t,context:{paginationArrow:r,showLabel:a}}){let n=F5e[r];return(0,P2.jsxs)(&quot;a&quot;,{href:&quot;#pagination-next-pseudo-link&quot;,onClick:i=&gt;i.preventDefault(),...(0,GC.useBlockProps)(),children:[a&amp;&amp;(0,P2.jsx)(GC.PlainText,{__experimentalVersion:2,tagName:&quot;span&quot;,&quot;aria-label&quot;:(0,ZL.__)(&quot;Next page link&quot;),placeholder:(0,ZL.__)(&quot;Next Page&quot;),value:e,onChange:i=&gt;t({label:i})}),n&amp;&amp;(0,P2.jsx)(&quot;span&quot;,{className:`wp-block-query-pagination-next-arrow is-arrow-${r}`,&quot;aria-hidden&quot;:!0,children:n})]})}var{name:ene}=UC,tne={icon:r1,edit:Jae},H5e=()=&gt;E({name:ene,metadata:UC,settings:tne});var QL={};Z(QL,{init:()=&gt;U5e,metadata:()=&gt;WC,name:()=&gt;one,settings:()=&gt;ane});var WC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-pagination-numbers&quot;,title:&quot;Page Numbers&quot;,category:&quot;theme&quot;,parent:[&quot;core/query-pagination&quot;],description:&quot;Displays a list of page numbers for pagination.&quot;,textdomain:&quot;default&quot;,attributes:{midSize:{type:&quot;number&quot;,default:2}},usesContext:[&quot;queryId&quot;,&quot;query&quot;,&quot;enhancedPagination&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-query-pagination-numbers-editor&quot;};var I2=o(P(),1),$C=o(T(),1),Ig=o(M(),1);var Oi=o(v(),1),B2=(e,t=&quot;a&quot;,r=&quot;&quot;)=&gt;(0,Oi.jsx)(t,{className:`page-numbers ${r}`,children:e},e),j5e=e=&gt;{let t=[];for(let r=1;r&lt;=e;r++)t.push(B2(r));t.push(B2(e+1,&quot;span&quot;,&quot;current&quot;));for(let r=1;r&lt;=e;r++)t.push(B2(e+1+r));return t.push(B2(&quot;...&quot;,&quot;span&quot;,&quot;dots&quot;)),t.push(B2(e*2+3)),(0,Oi.jsx)(Oi.Fragment,{children:t})};function rne({attributes:e,setAttributes:t}){let{midSize:r}=e,a=j5e(parseInt(r,10)),n=q();return(0,Oi.jsxs)(Oi.Fragment,{children:[(0,Oi.jsx)($C.InspectorControls,{children:(0,Oi.jsx)(Ig.__experimentalToolsPanel,{label:(0,I2.__)(&quot;Settings&quot;),resetAll:()=&gt;t({midSize:2}),dropdownMenuProps:n,children:(0,Oi.jsx)(Ig.__experimentalToolsPanelItem,{label:(0,I2.__)(&quot;Number of links&quot;),hasValue:()=&gt;r!==2,onDeselect:()=&gt;t({midSize:2}),isShownByDefault:!0,children:(0,Oi.jsx)(Ig.RangeControl,{__next40pxDefaultSize:!0,label:(0,I2.__)(&quot;Number of links&quot;),help:(0,I2.__)(&quot;Specify how many links can appear before and after the current page number. Links to the first, current and last page are always visible.&quot;),value:r,onChange:i=&gt;{t({midSize:parseInt(i,10)})},min:0,max:5,withInputField:!1})})})}),(0,Oi.jsx)(&quot;div&quot;,{...(0,$C.useBlockProps)(),children:a})]})}var{name:one}=WC,ane={icon:o1,edit:rne,example:{}},U5e=()=&gt;E({name:one,metadata:WC,settings:ane});var XL={};Z(XL,{init:()=&gt;$5e,metadata:()=&gt;qC,name:()=&gt;ine,settings:()=&gt;lne});var qC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-pagination-previous&quot;,title:&quot;Previous Page&quot;,category:&quot;theme&quot;,parent:[&quot;core/query-pagination&quot;],description:&quot;Displays the previous posts page link.&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;}},usesContext:[&quot;queryId&quot;,&quot;query&quot;,&quot;paginationArrow&quot;,&quot;showLabel&quot;,&quot;enhancedPagination&quot;],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var YL=o(P(),1),ZC=o(T(),1),N2=o(v(),1),W5e={none:&quot;&quot;,arrow:&quot;\u2190&quot;,chevron:&quot;\xAB&quot;};function nne({attributes:{label:e},setAttributes:t,context:{paginationArrow:r,showLabel:a}}){let n=W5e[r];return(0,N2.jsxs)(&quot;a&quot;,{href:&quot;#pagination-previous-pseudo-link&quot;,onClick:i=&gt;i.preventDefault(),...(0,ZC.useBlockProps)(),children:[n&amp;&amp;(0,N2.jsx)(&quot;span&quot;,{className:`wp-block-query-pagination-previous-arrow is-arrow-${r}`,&quot;aria-hidden&quot;:!0,children:n}),a&amp;&amp;(0,N2.jsx)(ZC.PlainText,{__experimentalVersion:2,tagName:&quot;span&quot;,&quot;aria-label&quot;:(0,YL.__)(&quot;Previous page link&quot;),placeholder:(0,YL.__)(&quot;Previous Page&quot;),value:e,onChange:i=&gt;t({label:i})})]})}var{name:ine}=qC,lne={icon:a1,edit:nne},$5e=()=&gt;E({name:ine,metadata:qC,settings:lne});var rM={};Z(rM,{init:()=&gt;Q5e,metadata:()=&gt;KC,name:()=&gt;hne,settings:()=&gt;gne});var KC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-title&quot;,title:&quot;Query Title&quot;,category:&quot;theme&quot;,description:&quot;Display the query title.&quot;,textdomain:&quot;default&quot;,attributes:{type:{type:&quot;string&quot;},textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:1},levelOptions:{type:&quot;array&quot;},showPrefix:{type:&quot;boolean&quot;,default:!0},showSearchTerm:{type:&quot;boolean&quot;,default:!0}},example:{attributes:{type:&quot;search&quot;}},usesContext:[&quot;query&quot;],supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-query-title&quot;};var $n=o(T(),1),vl=o(M(),1),qt=o(P(),1);var JL=o(Q(),1),eM=o(V(),1);function sne(){let e=(0,eM.useSelect)(l=&gt;{let{getCurrentPostId:s,getCurrentPostType:c,getCurrentTemplateId:u}=l(&quot;core/editor&quot;),m=c(),p=u()||(m===&quot;wp_template&quot;?s():null);return p?l(JL.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_template&quot;,p)?.slug:null},[]),t=e?.match(/^(category|tag|taxonomy-([^-]+))$|^(((category|tag)|taxonomy-([^-]+))-(.+))$/),r,a,n=!1,i;if(t)t[1]?r=t[2]?t[2]:t[1]:t[3]&amp;&amp;(r=t[6]?t[6]:t[4],a=t[7]),r=r===&quot;tag&quot;?&quot;post_tag&quot;:r;else{let l=e?.match(/^(author)$|^author-(.+)$/);l&amp;&amp;(n=!0,l[2]&amp;&amp;(i=l[2]))}return(0,eM.useSelect)(l=&gt;{let{getEntityRecords:s,getTaxonomy:c,getAuthors:u}=l(JL.store),m,p;if(r&amp;&amp;(m=c(r)?.labels?.singular_name),a){let d=s(&quot;taxonomy&quot;,r,{slug:a,per_page:1});d&amp;&amp;d[0]&amp;&amp;(p=d[0].name)}if(n&amp;&amp;(m=&quot;Author&quot;,i)){let d=u({slug:i});d&amp;&amp;d[0]&amp;&amp;(p=d[0].name)}return{archiveTypeLabel:m,archiveNameLabel:p}},[i,n,r,a])}var cne=o(Q(),1),tM=o(V(),1);function une(e){let t=(0,tM.useSelect)(r=&gt;{let{getCurrentPostType:a}=r(&quot;core/editor&quot;);return a()},[]);return(0,tM.useSelect)(r=&gt;{let{getPostType:a}=r(cne.store),i=a(e||t);return{postTypeLabel:i?i.labels.singular_name:&quot;&quot;}},[e,t])}var xt=o(v(),1),Z5e=[&quot;archive&quot;,&quot;search&quot;,&quot;post-type&quot;];function mne({attributes:{type:e,level:t,levelOptions:r,textAlign:a,showPrefix:n,showSearchTerm:i},setAttributes:l,context:{query:s}}){let{archiveTypeLabel:c,archiveNameLabel:u}=sne(),{postTypeLabel:m}=une(s?.postType),p=q(),d=t===0?&quot;p&quot;:`h${t}`,f=(0,$n.useBlockProps)({className:w(&quot;wp-block-query-title__placeholder&quot;,{[`has-text-align-${a}`]:a})});if(!Z5e.includes(e))return(0,xt.jsx)(&quot;div&quot;,{...f,children:(0,xt.jsx)($n.Warning,{children:(0,qt.__)(&quot;Provided type is not supported.&quot;)})});let h;if(e===&quot;archive&quot;){let g;c?n?u?g=(0,qt.sprintf)((0,qt._x)(&quot;%1$s: %2$s&quot;,&quot;archive label&quot;),c,u):g=(0,qt.sprintf)((0,qt.__)(&quot;%s: Name&quot;),c):u?g=u:g=(0,qt.sprintf)((0,qt.__)(&quot;%s name&quot;),c):g=n?(0,qt.__)(&quot;Archive type: Name&quot;):(0,qt.__)(&quot;Archive title&quot;),h=(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)($n.InspectorControls,{children:(0,xt.jsx)(vl.__experimentalToolsPanel,{label:(0,qt.__)(&quot;Settings&quot;),resetAll:()=&gt;l({showPrefix:!0}),dropdownMenuProps:p,children:(0,xt.jsx)(vl.__experimentalToolsPanelItem,{hasValue:()=&gt;!n,label:(0,qt.__)(&quot;Show archive type in title&quot;),onDeselect:()=&gt;l({showPrefix:!0}),isShownByDefault:!0,children:(0,xt.jsx)(vl.ToggleControl,{label:(0,qt.__)(&quot;Show archive type in title&quot;),onChange:()=&gt;l({showPrefix:!n}),checked:n})})})}),(0,xt.jsx)(d,{...f,children:g})]})}if(e===&quot;search&quot;&amp;&amp;(h=(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)($n.InspectorControls,{children:(0,xt.jsx)(vl.__experimentalToolsPanel,{label:(0,qt.__)(&quot;Settings&quot;),resetAll:()=&gt;l({showSearchTerm:!0}),dropdownMenuProps:p,children:(0,xt.jsx)(vl.__experimentalToolsPanelItem,{hasValue:()=&gt;!i,label:(0,qt.__)(&quot;Show search term in title&quot;),onDeselect:()=&gt;l({showSearchTerm:!0}),isShownByDefault:!0,children:(0,xt.jsx)(vl.ToggleControl,{label:(0,qt.__)(&quot;Show search term in title&quot;),onChange:()=&gt;l({showSearchTerm:!i}),checked:i})})})}),(0,xt.jsx)(d,{...f,children:i?(0,qt.__)(&quot;Search results for: \u201Csearch term\u201D&quot;):(0,qt.__)(&quot;Search results&quot;)})]})),e===&quot;post-type&quot;){let g;m?n?g=(0,qt.sprintf)((0,qt.__)(&#039;Post Type: &quot;%s&quot;&#039;),m):g=m:g=n?(0,qt.__)(&quot;Post Type: Name&quot;):(0,qt.__)(&quot;Name&quot;),h=(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsx)($n.InspectorControls,{children:(0,xt.jsx)(vl.__experimentalToolsPanel,{label:(0,qt.__)(&quot;Settings&quot;),resetAll:()=&gt;l({showPrefix:!0}),dropdownMenuProps:p,children:(0,xt.jsx)(vl.__experimentalToolsPanelItem,{hasValue:()=&gt;!n,label:(0,qt.__)(&quot;Show post type label&quot;),onDeselect:()=&gt;l({showPrefix:!0}),isShownByDefault:!0,children:(0,xt.jsx)(vl.ToggleControl,{label:(0,qt.__)(&quot;Show post type label&quot;),onChange:()=&gt;l({showPrefix:!n}),checked:n})})})}),(0,xt.jsx)(d,{...f,children:g})]})}return(0,xt.jsxs)(xt.Fragment,{children:[(0,xt.jsxs)($n.BlockControls,{group:&quot;block&quot;,children:[(0,xt.jsx)($n.HeadingLevelDropdown,{value:t,options:r,onChange:g=&gt;l({level:g})}),(0,xt.jsx)($n.AlignmentControl,{value:a,onChange:g=&gt;{l({textAlign:g})}})]}),h]})}var Kd=o(P(),1);var pne=[{isDefault:!0,name:&quot;archive-title&quot;,title:(0,Kd.__)(&quot;Archive Title&quot;),description:(0,Kd.__)(&quot;Display the archive title based on the queried object.&quot;),icon:El,attributes:{type:&quot;archive&quot;},scope:[&quot;inserter&quot;]},{isDefault:!1,name:&quot;search-title&quot;,title:(0,Kd.__)(&quot;Search Results Title&quot;),description:(0,Kd.__)(&quot;Display the search results title based on the queried object.&quot;),icon:El,attributes:{type:&quot;search&quot;},scope:[&quot;inserter&quot;]},{isDefault:!1,name:&quot;post-type-label&quot;,title:(0,Kd.__)(&quot;Post Type Label&quot;),description:(0,Kd.__)(&quot;Display the post type label based on the queried object.&quot;),icon:El,attributes:{type:&quot;post-type&quot;},scope:[&quot;inserter&quot;]}];pne.forEach(e=&gt;{e.isActive||(e.isActive=(t,r)=&gt;t.type===r.type)});var dne=pne;var K5e={attributes:{type:{type:&quot;string&quot;},textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:1}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},fne=[K5e];var{name:hne}=KC,gne={icon:El,edit:mne,variations:dne,deprecated:fne},Q5e=()=&gt;E({name:hne,metadata:KC,settings:gne});var nM={};Z(nM,{init:()=&gt;X5e,metadata:()=&gt;QC,name:()=&gt;yne,settings:()=&gt;_ne});var QC={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/query-total&quot;,title:&quot;Query Total&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/query&quot;],description:&quot;Display the total number of results in a query.&quot;,textdomain:&quot;default&quot;,attributes:{displayType:{type:&quot;string&quot;,default:&quot;total-results&quot;}},usesContext:[&quot;queryId&quot;,&quot;query&quot;],supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-query-total&quot;};var YC=o(T(),1),XC=o(M(),1),Ng=o(P(),1);var Gm=o(M(),1),Qd=o(v(),1),oM=(0,Qd.jsx)(Gm.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,height:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,focusable:&quot;false&quot;,children:(0,Qd.jsx)(Gm.Path,{d:&quot;M4 11h4v2H4v-2zm6 0h6v2h-6v-2zm8 0h2v2h-2v-2z&quot;})}),aM=(0,Qd.jsx)(Gm.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,height:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,focusable:&quot;false&quot;,children:(0,Qd.jsx)(Gm.Path,{d:&quot;M4 13h2v-2H4v2zm4 0h10v-2H8v2zm12 0h2v-2h-2v2z&quot;})}),vne=(0,Qd.jsx)(Gm.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,width:&quot;24&quot;,height:&quot;24&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,focusable:&quot;false&quot;,children:(0,Qd.jsx)(Gm.Path,{d:&quot;M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12Zm-7-6-4.1 5h8.8v-3h-1.5v1.5h-4.2l2.9-3.5-2.9-3.5h4.2V10h1.5V7H7.4l4.1 5Z&quot;})});var ps=o(v(),1);function bne({attributes:e,setAttributes:t}){let{displayType:r}=e,a=(0,YC.useBlockProps)(),n=()=&gt;{switch(r){case&quot;total-results&quot;:return oM;case&quot;range-display&quot;:return aM}},i=[{role:&quot;menuitemradio&quot;,title:(0,Ng.__)(&quot;Total results&quot;),isActive:r===&quot;total-results&quot;,icon:oM,onClick:()=&gt;{t({displayType:&quot;total-results&quot;})}},{role:&quot;menuitemradio&quot;,title:(0,Ng.__)(&quot;Range display&quot;),isActive:r===&quot;range-display&quot;,icon:aM,onClick:()=&gt;{t({displayType:&quot;range-display&quot;})}}],l=(0,ps.jsx)(YC.BlockControls,{children:(0,ps.jsx)(XC.ToolbarGroup,{children:(0,ps.jsx)(XC.ToolbarDropdownMenu,{icon:n(),label:(0,Ng.__)(&quot;Change display type&quot;),controls:i})})});return(0,ps.jsxs)(&quot;div&quot;,{...a,children:[l,r===&quot;total-results&quot;?(0,ps.jsx)(ps.Fragment,{children:(0,Ng.__)(&quot;12 results found&quot;)}):r===&quot;range-display&quot;?(0,ps.jsx)(ps.Fragment,{children:(0,Ng.__)(&quot;Displaying 1 \u2013 10 of 12&quot;)}):null]})}var{name:yne}=QC,_ne={icon:vne,edit:bne},X5e=()=&gt;E({name:yne,metadata:QC,settings:_ne});var lM={};Z(lM,{init:()=&gt;c4e,metadata:()=&gt;r6,name:()=&gt;Bne,settings:()=&gt;Ine});var iM=o(P(),1);var E2=o(W(),1),oo=o(T(),1),pa=o(v(),1),Wm=e=&gt;{let{value:t,...r}=e;return[{...r},t?(0,E2.parseWithAttributeSchema)(t,{type:&quot;array&quot;,source:&quot;query&quot;,selector:&quot;p&quot;,query:{content:{type:&quot;string&quot;,source:&quot;html&quot;}}}).map(({content:a})=&gt;(0,E2.createBlock)(&quot;core/paragraph&quot;,{content:a})):(0,E2.createBlock)(&quot;core/paragraph&quot;)]},xne=[&quot;left&quot;,&quot;right&quot;,&quot;center&quot;],Yd=(e,t)=&gt;{let{align:r,...a}=e;return[xne.includes(r)?{...a,textAlign:r}:e,t]},J5e=(e,t)=&gt;[{...e,className:e.className?e.className+&quot; is-style-large&quot;:&quot;is-style-large&quot;},t],e4e={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;,role:&quot;content&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;,role:&quot;content&quot;},align:{type:&quot;string&quot;}},supports:{anchor:!0,html:!1,__experimentalOnEnter:!0,__experimentalOnMerge:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}}},isEligible:({align:e})=&gt;xne.includes(e),save({attributes:e}){let{align:t,citation:r}=e,a=w({[`has-text-align-${t}`]:t});return(0,pa.jsxs)(&quot;blockquote&quot;,{...oo.useBlockProps.save({className:a}),children:[(0,pa.jsx)(oo.InnerBlocks.Content,{}),!oo.RichText.isEmpty(r)&amp;&amp;(0,pa.jsx)(oo.RichText.Content,{tagName:&quot;cite&quot;,value:r})]})},migrate:Yd},t4e={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;,role:&quot;content&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;,role:&quot;content&quot;},align:{type:&quot;string&quot;}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},save({attributes:e}){let{align:t,value:r,citation:a}=e,n=w({[`has-text-align-${t}`]:t});return(0,pa.jsxs)(&quot;blockquote&quot;,{...oo.useBlockProps.save({className:n}),children:[(0,pa.jsx)(oo.RichText.Content,{multiline:!0,value:r}),!oo.RichText.isEmpty(a)&amp;&amp;(0,pa.jsx)(oo.RichText.Content,{tagName:&quot;cite&quot;,value:a})]})},migrate(e){return Yd(...Wm(e))}},r4e={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;},align:{type:&quot;string&quot;}},migrate(e){return Yd(...Wm(e))},save({attributes:e}){let{align:t,value:r,citation:a}=e;return(0,pa.jsxs)(&quot;blockquote&quot;,{style:{textAlign:t||null},children:[(0,pa.jsx)(oo.RichText.Content,{multiline:!0,value:r}),!oo.RichText.isEmpty(a)&amp;&amp;(0,pa.jsx)(oo.RichText.Content,{tagName:&quot;cite&quot;,value:a})]})}},o4e={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;cite&quot;,default:&quot;&quot;},align:{type:&quot;string&quot;},style:{type:&quot;number&quot;,default:1}},migrate(e){if(e.style===2){let{style:t,...r}=e;return Yd(...J5e(...Wm(r)))}return Yd(...Wm(e))},save({attributes:e}){let{align:t,value:r,citation:a,style:n}=e;return(0,pa.jsxs)(&quot;blockquote&quot;,{className:n===2?&quot;is-large&quot;:&quot;&quot;,style:{textAlign:t||null},children:[(0,pa.jsx)(oo.RichText.Content,{multiline:!0,value:r}),!oo.RichText.isEmpty(a)&amp;&amp;(0,pa.jsx)(oo.RichText.Content,{tagName:&quot;cite&quot;,value:a})]})}},a4e={attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;},citation:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;footer&quot;,default:&quot;&quot;},align:{type:&quot;string&quot;},style:{type:&quot;number&quot;,default:1}},migrate(e){if(!isNaN(parseInt(e.style))){let{style:t,...r}=e;return Yd(...Wm(r))}return Yd(...Wm(e))},save({attributes:e}){let{align:t,value:r,citation:a,style:n}=e;return(0,pa.jsxs)(&quot;blockquote&quot;,{className:`blocks-quote-style-${n}`,style:{textAlign:t||null},children:[(0,pa.jsx)(oo.RichText.Content,{multiline:!0,value:r}),!oo.RichText.isEmpty(a)&amp;&amp;(0,pa.jsx)(oo.RichText.Content,{tagName:&quot;footer&quot;,value:a})]})}},kne=[e4e,t4e,r4e,o4e,a4e];var D2=o(P(),1),yc=o(T(),1),wne=o(M(),1),e6=o(V(),1),t6=o(U(),1),Cne=o(Ff(),1);var Bu=o(v(),1),JC=t6.Platform.OS===&quot;web&quot;,n4e=[[&quot;core/paragraph&quot;,{}]],i4e=(e,t)=&gt;{let r=(0,e6.useRegistry)(),{updateBlockAttributes:a,replaceInnerBlocks:n}=(0,e6.useDispatch)(yc.store);(0,t6.useEffect)(()=&gt;{if(!e.value)return;let[i,l]=Wm(e);(0,Cne.default)(&quot;Value attribute on the quote block&quot;,{since:&quot;6.0&quot;,version:&quot;6.5&quot;,alternative:&quot;inner blocks&quot;}),r.batch(()=&gt;{a(t,i),n(t,l)})},[e.value])};function Sne({attributes:e,setAttributes:t,insertBlocksAfter:r,clientId:a,className:n,style:i,isSelected:l}){let{textAlign:s,allowedBlocks:c}=e;i4e(e,a);let u=(0,yc.useBlockProps)({className:w(n,{[`has-text-align-${s}`]:s}),...!JC&amp;&amp;{style:i}}),m=(0,yc.useInnerBlocksProps)(u,{template:n4e,templateInsertUpdatesSelection:!0,__experimentalCaptureToolbars:!0,renderAppender:!1,allowedBlocks:c});return(0,Bu.jsxs)(Bu.Fragment,{children:[(0,Bu.jsx)(yc.BlockControls,{group:&quot;block&quot;,children:(0,Bu.jsx)(yc.AlignmentControl,{value:s,onChange:p=&gt;{t({textAlign:p})}})}),(0,Bu.jsxs)(wne.BlockQuotation,{...m,children:[m.children,(0,Bu.jsx)(_a,{attributeKey:&quot;citation&quot;,tagName:JC?&quot;cite&quot;:&quot;p&quot;,style:JC&amp;&amp;{display:&quot;block&quot;},isSelected:l,attributes:e,setAttributes:t,__unstableMobileNoFocusOnMount:!0,icon:_1,label:(0,D2.__)(&quot;Quote citation&quot;),placeholder:(0,D2.__)(&quot;Add citation&quot;),addLabel:(0,D2.__)(&quot;Add citation&quot;),removeLabel:(0,D2.__)(&quot;Remove citation&quot;),excludeElementClassName:!0,className:&quot;wp-block-quote__citation&quot;,insertBlocksAfter:r,...JC?{}:{textAlign:s}})]})]})}var r6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/quote&quot;,title:&quot;Quote&quot;,category:&quot;text&quot;,description:&#039;Give quoted text visual emphasis. &quot;In quoting others, we cite ourselves.&quot; \u2014 Julio Cort\xE1zar&#039;,keywords:[&quot;blockquote&quot;,&quot;cite&quot;],textdomain:&quot;default&quot;,attributes:{value:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;blockquote&quot;,multiline:&quot;p&quot;,default:&quot;&quot;,role:&quot;content&quot;},citation:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;cite&quot;,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,align:[&quot;left&quot;,&quot;right&quot;,&quot;wide&quot;,&quot;full&quot;],html:!1,background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},dimensions:{minHeight:!0,__experimentalDefaultControls:{minHeight:!1}},__experimentalOnEnter:!0,__experimentalOnMerge:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},layout:{allowEditing:!1},spacing:{blockGap:!0,padding:!0,margin:!0},interactivity:{clientNavigation:!0},allowedBlocks:!0},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;plain&quot;,label:&quot;Plain&quot;}],editorStyle:&quot;wp-block-quote-editor&quot;,style:&quot;wp-block-quote&quot;};var Xd=o(T(),1),L2=o(v(),1);function Tne({attributes:e}){let{textAlign:t,citation:r}=e,a=w({[`has-text-align-${t}`]:t});return(0,L2.jsxs)(&quot;blockquote&quot;,{...Xd.useBlockProps.save({className:a}),children:[(0,L2.jsx)(Xd.InnerBlocks.Content,{}),!Xd.RichText.isEmpty(r)&amp;&amp;(0,L2.jsx)(Xd.RichText.Content,{tagName:&quot;cite&quot;,value:r})]})}var M2=o(T(),1),jr=o(W(),1),s4e={from:[{type:&quot;block&quot;,blocks:[&quot;core/verse&quot;],transform:({content:e})=&gt;(0,jr.createBlock)(&quot;core/quote&quot;,{},[(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})])},{type:&quot;block&quot;,blocks:[&quot;core/pullquote&quot;],transform:({value:e,align:t,citation:r,anchor:a,fontSize:n,style:i})=&gt;(0,jr.createBlock)(&quot;core/quote&quot;,{align:t,citation:r,anchor:a,fontSize:n,style:i},[(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})])},{type:&quot;prefix&quot;,prefix:&quot;&gt;&quot;,transform:e=&gt;(0,jr.createBlock)(&quot;core/quote&quot;,{},[(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})])},{type:&quot;raw&quot;,schema:()=&gt;({blockquote:{children:&quot;*&quot;}}),selector:&quot;blockquote&quot;,transform:(e,t)=&gt;(0,jr.createBlock)(&quot;core/quote&quot;,{},t({HTML:e.innerHTML,mode:&quot;BLOCKS&quot;}))},{type:&quot;block&quot;,isMultiBlock:!0,blocks:[&quot;*&quot;],isMatch:({},e)=&gt;e.length===1?[&quot;core/paragraph&quot;,&quot;core/heading&quot;,&quot;core/list&quot;,&quot;core/pullquote&quot;].includes(e[0].name):!e.some(({name:t})=&gt;t===&quot;core/quote&quot;),__experimentalConvert:e=&gt;(0,jr.createBlock)(&quot;core/quote&quot;,{},e.map(t=&gt;(0,jr.createBlock)(t.name,t.attributes,t.innerBlocks)))}],to:[{type:&quot;block&quot;,blocks:[&quot;core/pullquote&quot;],isMatch:({},e)=&gt;e.innerBlocks.every(({name:t})=&gt;t===&quot;core/paragraph&quot;),transform:({align:e,citation:t,anchor:r,fontSize:a,style:n},i)=&gt;{let l=i.map(({attributes:s})=&gt;`${s.content}`).join(&quot;&lt;br&gt;&quot;);return(0,jr.createBlock)(&quot;core/pullquote&quot;,{value:l,align:e,citation:t,anchor:r,fontSize:a,style:n})}},{type:&quot;block&quot;,blocks:[&quot;core/verse&quot;],isMatch:({},e)=&gt;e.innerBlocks.every(t=&gt;t.name===&quot;core/paragraph&quot;?!0:(0,jr.switchToBlockType)(t,&quot;core/paragraph&quot;)!==null),transform:({},e)=&gt;{let r=e.flatMap(a=&gt;a.name===&quot;core/paragraph&quot;?a:(0,jr.switchToBlockType)(a,&quot;core/paragraph&quot;)||[]).map(({attributes:a})=&gt;a.content||&quot;&quot;).filter(Boolean).join(&quot;&lt;br&gt;&quot;);return(0,jr.createBlock)(&quot;core/verse&quot;,{content:r})}},{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],isMatch:({citation:e},t)=&gt;{let r=t.innerBlocks;return r.length?r.every(a=&gt;a.name===&quot;core/paragraph&quot;?!0:(0,jr.switchToBlockType)(a,&quot;core/paragraph&quot;)!==null):!M2.RichText.isEmpty(e)},transform:({citation:e},t)=&gt;{let r=t.flatMap(a=&gt;a.name===&quot;core/paragraph&quot;?a:(0,jr.switchToBlockType)(a,&quot;core/paragraph&quot;)||[]);return M2.RichText.isEmpty(e)?r:[...r,(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})]}},{type:&quot;block&quot;,blocks:[&quot;core/group&quot;],transform:({citation:e,anchor:t},r)=&gt;(0,jr.createBlock)(&quot;core/group&quot;,{anchor:t},M2.RichText.isEmpty(e)?r:[...r,(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})])}],ungroup:({citation:e},t)=&gt;M2.RichText.isEmpty(e)?t:[...t,(0,jr.createBlock)(&quot;core/paragraph&quot;,{content:e})]},Pne=s4e;var{name:Bne}=r6,Ine={icon:zP,example:{attributes:{citation:(0,iM.__)(&quot;Julio Cort\xE1zar&quot;)},innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,iM.__)(&quot;In quoting others, we cite ourselves.&quot;)}}]},transforms:Pne,edit:Sne,save:Tne,deprecated:kne},c4e=()=&gt;E({name:Bne,metadata:r6,settings:Ine});var sM={};Z(sM,{init:()=&gt;k4e,metadata:()=&gt;o6,name:()=&gt;Hne,settings:()=&gt;One});var zne=o(Q(),1),Vne=o(V(),1),Fne=o(Wo(),1);var o6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/block&quot;,title:&quot;Pattern&quot;,category:&quot;reusable&quot;,description:&quot;Reuse this design across your site.&quot;,keywords:[&quot;reusable&quot;],textdomain:&quot;default&quot;,attributes:{ref:{type:&quot;number&quot;},content:{type:&quot;object&quot;,default:{}}},providesContext:{&quot;pattern/overrides&quot;:&quot;content&quot;},supports:{customClassName:!1,html:!1,inserter:!1,renaming:!1,interactivity:{clientNavigation:!0},customCSS:!1}};var R2=o(V(),1),z2=o(U(),1),Eg=o(Q(),1),_c=o(M(),1),A2=o(P(),1),Mr=o(T(),1),Lne=o(Ene(),1),Mne=o(W(),1);var gr=o(v(),1),{useLayoutClasses:m4e}=K(Mr.privateApis),{isOverridableBlock:p4e}=K(Lne.privateApis),d4e=[&quot;full&quot;,&quot;wide&quot;,&quot;left&quot;,&quot;right&quot;],f4e=(e,t)=&gt;{let r=(0,z2.useRef)();return(0,z2.useMemo)(()=&gt;{if(!e?.length)return{};let a=r.current;if(a===void 0){let i=t?.type===&quot;constrained&quot;,l=e.some(s=&gt;d4e.includes(s.attributes.align));a=i&amp;&amp;l?&quot;full&quot;:null,r.current=a}return{alignment:a,layout:a?t:void 0}},[e,t])};function h4e(){let e=(0,Mr.useBlockProps)();return(0,gr.jsx)(&quot;div&quot;,{...e,children:(0,gr.jsx)(Mr.Warning,{children:(0,A2.__)(&quot;Block cannot be rendered inside itself.&quot;)})})}var Dne=()=&gt;{};function Ane(e){let{ref:t}=e.attributes;return(0,Mr.useHasRecursion)(t)?(0,gr.jsx)(h4e,{}):(0,gr.jsx)(Mr.RecursionProvider,{uniqueId:t,children:(0,gr.jsx)(b4e,{...e})})}function g4e({recordId:e,canOverrideBlocks:t,hasContent:r,handleEditOriginal:a,resetContent:n}){let i=(0,R2.useSelect)(l=&gt;!!l(Eg.store).canUser(&quot;update&quot;,{kind:&quot;postType&quot;,name:&quot;wp_block&quot;,id:e}),[e]);return(0,gr.jsxs)(gr.Fragment,{children:[i&amp;&amp;!!a&amp;&amp;(0,gr.jsx)(Mr.BlockControls,{group:&quot;other&quot;,children:(0,gr.jsx)(_c.ToolbarGroup,{children:(0,gr.jsx)(_c.ToolbarButton,{onClick:a,children:(0,A2.__)(&quot;Edit original&quot;)})})}),t&amp;&amp;(0,gr.jsx)(Mr.BlockControls,{group:&quot;other&quot;,children:(0,gr.jsx)(_c.ToolbarGroup,{children:(0,gr.jsx)(_c.ToolbarButton,{onClick:n,disabled:!r,children:(0,A2.__)(&quot;Reset&quot;)})})})]})}var v4e={};function b4e({name:e,attributes:{ref:t,content:r},__unstableParentLayout:a,setAttributes:n}){let{record:i,hasResolved:l}=(0,Eg.useEntityRecord)(&quot;postType&quot;,&quot;wp_block&quot;,t),[s]=(0,Eg.useEntityBlockEditor)(&quot;postType&quot;,&quot;wp_block&quot;,{id:t}),c=l&amp;&amp;!i,{__unstableMarkLastChangeAsPersistent:u}=(0,R2.useDispatch)(Mr.store),{onNavigateToEntityRecord:m,hasPatternOverridesSource:p,supportedBlockTypesRaw:d}=(0,R2.useSelect)(C=&gt;{let{getSettings:N}=C(Mr.store);return{onNavigateToEntityRecord:N().onNavigateToEntityRecord,hasPatternOverridesSource:!!(0,Mne.getBlockBindingsSource)(&quot;core/pattern-overrides&quot;),supportedBlockTypesRaw:N().__experimentalBlockBindingsSupportedAttributes||v4e}},[]),f=(0,z2.useMemo)(()=&gt;{let C=Object.keys(d),N=B=&gt;B.some(D=&gt;C.includes(D.name)&amp;&amp;p4e(D)?!0:N(D.innerBlocks));return p&amp;&amp;N(s)},[p,s,d]),{alignment:h,layout:g}=f4e(s,a),b=m4e({layout:g},e),y=(0,Mr.useBlockProps)({className:w(&quot;block-library-block__reusable-block-container&quot;,g&amp;&amp;b,{[`align${h}`]:h})}),k=(0,Mr.useInnerBlocksProps)(y,{layout:g,value:s,onInput:Dne,onChange:Dne,renderAppender:s?.length?void 0:Mr.InnerBlocks.ButtonBlockAppender}),_=()=&gt;{m({postId:t,postType:&quot;wp_block&quot;})},x=()=&gt;{r&amp;&amp;(u(),n({content:void 0}))},S=null;return c&amp;&amp;(S=(0,gr.jsx)(Mr.Warning,{children:(0,A2.__)(&quot;Block has been deleted or is unavailable.&quot;)})),l||(S=(0,gr.jsx)(_c.Placeholder,{children:(0,gr.jsx)(_c.Spinner,{})})),(0,gr.jsxs)(gr.Fragment,{children:[l&amp;&amp;!c&amp;&amp;(0,gr.jsx)(g4e,{recordId:t,canOverrideBlocks:f,hasContent:!!r,handleEditOriginal:m?_:void 0,resetContent:x}),S===null?(0,gr.jsx)(&quot;div&quot;,{...k}):(0,gr.jsx)(&quot;div&quot;,{...y,children:S})]})}var y4e=e=&gt;typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)&amp;&amp;e!==null,_4e={attributes:{ref:{type:&quot;number&quot;},content:{type:&quot;object&quot;}},supports:{customClassName:!1,html:!1,inserter:!1,renaming:!1},isEligible({content:e}){return!!e&amp;&amp;Object.keys(e).every(t=&gt;e[t].values&amp;&amp;y4e(e[t].values))},migrate(e){let{content:t,...r}=e;if(t&amp;&amp;Object.keys(t).length){let a={...t};for(let n in t)a[n]=t[n].values;return{...r,content:a}}return e}},x4e={attributes:{ref:{type:&quot;number&quot;},overrides:{type:&quot;object&quot;}},supports:{customClassName:!1,html:!1,inserter:!1,renaming:!1},isEligible({overrides:e}){return!!e},migrate(e){let{overrides:t,...r}=e,a={};return Object.keys(t).forEach(n=&gt;{a[n]=t[n]}),{...r,content:a}}},Rne=[_4e,x4e];var{name:Hne}=o6,One={deprecated:Rne,edit:Ane,icon:iB,__experimentalLabel:({ref:e})=&gt;{if(!e)return;let t=(0,Vne.select)(zne.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_block&quot;,e);if(t?.title)return(0,Fne.decodeEntities)(t.title)}},k4e=()=&gt;E({name:Hne,metadata:o6,settings:One});var cM={};Z(cM,{init:()=&gt;C4e,metadata:()=&gt;a6,name:()=&gt;Gne,settings:()=&gt;Wne});var Une=o(P(),1);var a6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/read-more&quot;,title:&quot;Read More&quot;,category:&quot;theme&quot;,description:&quot;Displays the link of a post, page, or any other content-type.&quot;,textdomain:&quot;default&quot;,attributes:{content:{type:&quot;string&quot;,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},usesContext:[&quot;postId&quot;],supports:{anchor:!0,html:!1,color:{gradients:!0,text:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0,textDecoration:!0}},spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],padding:!0,__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalDefaultControls:{width:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-read-more&quot;};var Lg=o(T(),1),Mg=o(M(),1),n6=o(W(),1),Dg=o(P(),1);var xc=o(v(),1);function jne({attributes:{content:e,linkTarget:t},setAttributes:r,insertBlocksAfter:a}){let n=(0,Lg.useBlockProps)(),i=q();return(0,xc.jsxs)(xc.Fragment,{children:[(0,xc.jsx)(Lg.InspectorControls,{children:(0,xc.jsx)(Mg.__experimentalToolsPanel,{label:(0,Dg.__)(&quot;Settings&quot;),resetAll:()=&gt;r({linkTarget:&quot;_self&quot;}),dropdownMenuProps:i,children:(0,xc.jsx)(Mg.__experimentalToolsPanelItem,{label:(0,Dg.__)(&quot;Open in new tab&quot;),isShownByDefault:!0,hasValue:()=&gt;t!==&quot;_self&quot;,onDeselect:()=&gt;r({linkTarget:&quot;_self&quot;}),children:(0,xc.jsx)(Mg.ToggleControl,{label:(0,Dg.__)(&quot;Open in new tab&quot;),onChange:l=&gt;r({linkTarget:l?&quot;_blank&quot;:&quot;_self&quot;}),checked:t===&quot;_blank&quot;})})})}),(0,xc.jsx)(Lg.RichText,{identifier:&quot;content&quot;,tagName:&quot;a&quot;,&quot;aria-label&quot;:(0,Dg.__)(&quot;\u201CRead more\u201D link text&quot;),placeholder:(0,Dg.__)(&quot;Read more&quot;),value:e,onChange:l=&gt;r({content:l}),__unstableOnSplitAtEnd:()=&gt;a((0,n6.createBlock)((0,n6.getDefaultBlockName)())),withoutInteractiveFormatting:!0,...n})]})}var{name:Gne}=a6,Wne={icon:ii,edit:jne,example:{attributes:{content:(0,Une.__)(&quot;Read more&quot;)}}},C4e=()=&gt;E({name:Gne,metadata:a6,settings:Wne});var uM={};Z(uM,{init:()=&gt;B4e,metadata:()=&gt;i6,name:()=&gt;Qne,settings:()=&gt;Yne});var i6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/rss&quot;,title:&quot;RSS&quot;,category:&quot;widgets&quot;,description:&quot;Display entries from any RSS or Atom feed.&quot;,keywords:[&quot;atom&quot;,&quot;feed&quot;],textdomain:&quot;default&quot;,attributes:{columns:{type:&quot;number&quot;,default:2},blockLayout:{type:&quot;string&quot;,default:&quot;list&quot;},feedURL:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;},itemsToShow:{type:&quot;number&quot;,default:5},displayExcerpt:{type:&quot;boolean&quot;,default:!1},displayAuthor:{type:&quot;boolean&quot;,default:!1},displayDate:{type:&quot;boolean&quot;,default:!1},excerptLength:{type:&quot;number&quot;,default:55},openInNewTab:{type:&quot;boolean&quot;,default:!1},rel:{type:&quot;string&quot;}},supports:{anchor:!0,align:!0,html:!1,interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{padding:!1,margin:!1}},color:{background:!0,text:!0,gradients:!0,link:!0}},editorStyle:&quot;wp-block-rss-editor&quot;,style:&quot;wp-block-rss&quot;};var Jd=o(T(),1),gt=o(M(),1),l6=o(U(),1);var Nt=o(P(),1),$ne=o(mr(),1),qne=o(Fu(),1),Zne=o(me(),1);var rt=o(v(),1),T4e=1,P4e=20;function Kne({attributes:e,setAttributes:t,name:r}){let[a,n]=(0,l6.useState)(!e.feedURL),{blockLayout:i,columns:l,displayAuthor:s,displayDate:c,displayExcerpt:u,excerptLength:m,feedURL:p,itemsToShow:d,openInNewTab:f,rel:h}=e,g=q();function b(D){return()=&gt;{let A=e[D];t({[D]:!A})}}function y(D){D.preventDefault(),p&amp;&amp;(t({feedURL:(0,$ne.prependHTTPS)(p)}),n(!1))}let{content:k,status:_,error:x}=(0,qne.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),S=(0,Zne.useDisabled)(),C=(0,Jd.useBlockProps)({ref:a?null:S}),N=(0,Nt.__)(&quot;RSS URL&quot;);if(a)return(0,rt.jsx)(&quot;div&quot;,{...C,children:(0,rt.jsx)(gt.Placeholder,{icon:i1,label:N,instructions:(0,Nt.__)(&quot;Display entries from any RSS or Atom feed.&quot;),children:(0,rt.jsxs)(&quot;form&quot;,{onSubmit:y,className:&quot;wp-block-rss__placeholder-form&quot;,children:[(0,rt.jsx)(gt.__experimentalInputControl,{__next40pxDefaultSize:!0,label:N,type:&quot;url&quot;,hideLabelFromVision:!0,placeholder:(0,Nt.__)(&quot;Enter URL here\u2026&quot;),value:p,onChange:D=&gt;t({feedURL:D}),className:&quot;wp-block-rss__placeholder-input&quot;}),(0,rt.jsx)(gt.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,type:&quot;submit&quot;,children:(0,Nt.__)(&quot;Apply&quot;)})]})})});let B=[{icon:Pp,title:(0,Nt.__)(&quot;Edit RSS URL&quot;),onClick:()=&gt;n(!0)},{icon:Nl,title:(0,Nt._x)(&quot;List view&quot;,&quot;RSS block display setting&quot;),onClick:()=&gt;t({blockLayout:&quot;list&quot;}),isActive:i===&quot;list&quot;},{icon:Il,title:(0,Nt._x)(&quot;Grid view&quot;,&quot;RSS block display setting&quot;),onClick:()=&gt;t({blockLayout:&quot;grid&quot;}),isActive:i===&quot;grid&quot;}];return(0,rt.jsxs)(rt.Fragment,{children:[(0,rt.jsx)(Jd.BlockControls,{children:(0,rt.jsx)(gt.ToolbarGroup,{controls:B})}),(0,rt.jsx)(Jd.InspectorControls,{children:(0,rt.jsxs)(gt.__experimentalToolsPanel,{label:(0,Nt.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({itemsToShow:5,displayAuthor:!1,displayDate:!1,displayExcerpt:!1,excerptLength:55,columns:2,openInNewTab:!1})},dropdownMenuProps:g,children:[(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Number of items&quot;),hasValue:()=&gt;d!==5,onDeselect:()=&gt;t({itemsToShow:5}),isShownByDefault:!0,children:(0,rt.jsx)(gt.RangeControl,{__next40pxDefaultSize:!0,label:(0,Nt.__)(&quot;Number of items&quot;),value:d,onChange:D=&gt;t({itemsToShow:D}),min:T4e,max:P4e,required:!0})}),(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Display author&quot;),hasValue:()=&gt;!!s,onDeselect:()=&gt;t({displayAuthor:!1}),isShownByDefault:!0,children:(0,rt.jsx)(gt.ToggleControl,{label:(0,Nt.__)(&quot;Display author&quot;),checked:s,onChange:b(&quot;displayAuthor&quot;)})}),(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Display date&quot;),hasValue:()=&gt;!!c,onDeselect:()=&gt;t({displayDate:!1}),isShownByDefault:!0,children:(0,rt.jsx)(gt.ToggleControl,{label:(0,Nt.__)(&quot;Display date&quot;),checked:c,onChange:b(&quot;displayDate&quot;)})}),(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Display excerpt&quot;),hasValue:()=&gt;!!u,onDeselect:()=&gt;t({displayExcerpt:!1}),isShownByDefault:!0,children:(0,rt.jsx)(gt.ToggleControl,{label:(0,Nt.__)(&quot;Display excerpt&quot;),checked:u,onChange:b(&quot;displayExcerpt&quot;)})}),u&amp;&amp;(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Max number of words in excerpt&quot;),hasValue:()=&gt;m!==55,onDeselect:()=&gt;t({excerptLength:55}),isShownByDefault:!0,children:(0,rt.jsx)(gt.RangeControl,{__next40pxDefaultSize:!0,label:(0,Nt.__)(&quot;Max number of words in excerpt&quot;),value:m,onChange:D=&gt;t({excerptLength:D}),min:10,max:100,required:!0})}),i===&quot;grid&quot;&amp;&amp;(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Columns&quot;),hasValue:()=&gt;l!==2,onDeselect:()=&gt;t({columns:2}),isShownByDefault:!0,children:(0,rt.jsx)(gt.RangeControl,{__next40pxDefaultSize:!0,label:(0,Nt.__)(&quot;Columns&quot;),value:l,onChange:D=&gt;t({columns:D}),min:2,max:6,required:!0})}),(0,rt.jsx)(gt.__experimentalToolsPanelItem,{label:(0,Nt.__)(&quot;Open links in new tab&quot;),hasValue:()=&gt;!!f,onDeselect:()=&gt;t({openInNewTab:!1}),isShownByDefault:!0,children:(0,rt.jsx)(gt.ToggleControl,{label:(0,Nt.__)(&quot;Open links in new tab&quot;),checked:f,onChange:D=&gt;t({openInNewTab:D})})})]})}),(0,rt.jsx)(Jd.InspectorControls,{group:&quot;advanced&quot;,children:(0,rt.jsx)(gt.TextControl,{__next40pxDefaultSize:!0,label:(0,Nt.__)(&quot;Link relation&quot;),help:(0,l6.createInterpolateElement)((0,Nt.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,rt.jsx)(gt.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})}),value:h||&quot;&quot;,onChange:D=&gt;t({rel:D})})}),_===&quot;loading&quot;&amp;&amp;(0,rt.jsx)(&quot;div&quot;,{...C,children:(0,rt.jsx)(gt.Spinner,{})}),_===&quot;error&quot;&amp;&amp;(0,rt.jsx)(&quot;div&quot;,{...C,children:(0,rt.jsx)(&quot;p&quot;,{children:(0,Nt.sprintf)((0,Nt.__)(&quot;Error: %s&quot;),x)})}),_===&quot;success&quot;&amp;&amp;(0,rt.jsx)(uo,{wrapperProps:C,html:k})]})}var{name:Qne}=i6,Yne={icon:i1,example:{attributes:{feedURL:&quot;https://wordpress.org&quot;}},edit:Kne},B4e=()=&gt;E({name:Qne,metadata:i6,settings:Yne});var gM={};Z(gM,{init:()=&gt;L4e,metadata:()=&gt;s6,name:()=&gt;nie,settings:()=&gt;u6});var Ag=o(P(),1);var aie=o(W(),1);var s6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/search&quot;,title:&quot;Search&quot;,category:&quot;widgets&quot;,description:&quot;Help visitors find your content.&quot;,keywords:[&quot;find&quot;],textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;,role:&quot;content&quot;},showLabel:{type:&quot;boolean&quot;,default:!0},placeholder:{type:&quot;string&quot;,default:&quot;&quot;,role:&quot;content&quot;},width:{type:&quot;number&quot;},widthUnit:{type:&quot;string&quot;},buttonText:{type:&quot;string&quot;,role:&quot;content&quot;},buttonPosition:{type:&quot;string&quot;,default:&quot;button-outside&quot;},buttonUseIcon:{type:&quot;boolean&quot;,default:!1},query:{type:&quot;object&quot;,default:{}},isSearchFieldHidden:{type:&quot;boolean&quot;,default:!1}},supports:{anchor:!0,align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],color:{gradients:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:!0,typography:{__experimentalSkipSerialization:!0,__experimentalSelector:&quot;.wp-block-search__label, .wp-block-search__input, .wp-block-search__button&quot;,fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},spacing:{margin:!0},html:!1},editorStyle:&quot;wp-block-search-editor&quot;,style:&quot;wp-block-search&quot;};var ao=o(T(),1),c6=o(V(),1),ef=o(U(),1),cr=o(M(),1),eie=o(me(),1);var sr=o(P(),1),tie=o(ai(),1);var mM=50,pM=350,dM=220;function fM(e){return e===&quot;%&quot;}var Et=o(v(),1),Xne=&quot;4px&quot;,Jne=[25,50,75,100];function rie({className:e,attributes:t,setAttributes:r,toggleSelection:a,isSelected:n,clientId:i}){let{label:l,showLabel:s,placeholder:c,width:u,widthUnit:m,align:p,buttonText:d,buttonPosition:f,buttonUseIcon:h,isSearchFieldHidden:g,style:b}=t,y=(0,c6.useSelect)(ae=&gt;{let{getBlockParentsByBlockName:Re,wasBlockJustInserted:Ee}=ae(ao.store);return!!Re(i,&quot;core/navigation&quot;)?.length&amp;&amp;Ee(i)},[i]),{__unstableMarkNextChangeAsNotPersistent:k}=(0,c6.useDispatch)(ao.store);(0,ef.useEffect)(()=&gt;{y&amp;&amp;(k(),r({showLabel:!1,buttonUseIcon:!0,buttonPosition:&quot;button-inside&quot;}))},[k,y,r]);let _=b?.border?.radius,x=(0,ao.__experimentalUseBorderProps)(t);typeof _==&quot;number&quot;&amp;&amp;(x={...x,style:{...x.style,borderRadius:`${_}px`}});let S=(0,ao.__experimentalUseColorProps)(t),[C,N]=(0,ao.useSettings)(&quot;typography.fluid&quot;,&quot;layout&quot;),B=(0,ao.getTypographyClassesAndStyles)(t,{typography:{fluid:C},layout:{wideSize:N?.wideSize}}),A=`wp-block-search__width-${(0,eie.useInstanceId)(cr.__experimentalUnitControl)}`,H=f===&quot;button-inside&quot;,F=f===&quot;button-outside&quot;,z=f===&quot;no-button&quot;,I=f===&quot;button-only&quot;,R=(0,ef.useRef)(),$=(0,ef.useRef)(),j=(0,cr.__experimentalUseCustomUnits)({availableUnits:[&quot;%&quot;,&quot;px&quot;],defaultValues:{&quot;%&quot;:mM,px:pM}});(0,ef.useEffect)(()=&gt;{I&amp;&amp;!n&amp;&amp;r({isSearchFieldHidden:!0})},[I,n,r]),(0,ef.useEffect)(()=&gt;{!I||!n||r({isSearchFieldHidden:!1})},[I,n,r,u]);let G=()=&gt;w(e,H?&quot;wp-block-search__button-inside&quot;:void 0,F?&quot;wp-block-search__button-outside&quot;:void 0,z?&quot;wp-block-search__no-button&quot;:void 0,I?&quot;wp-block-search__button-only&quot;:void 0,!h&amp;&amp;!z?&quot;wp-block-search__text-button&quot;:void 0,h&amp;&amp;!z?&quot;wp-block-search__icon-button&quot;:void 0,I&amp;&amp;g?&quot;wp-block-search__searchfield-hidden&quot;:void 0),O=[{label:(0,sr.__)(&quot;Button outside&quot;),value:&quot;button-outside&quot;},{label:(0,sr.__)(&quot;Button inside&quot;),value:&quot;button-inside&quot;},{label:(0,sr.__)(&quot;No button&quot;),value:&quot;no-button&quot;},{label:(0,sr.__)(&quot;Button only&quot;),value:&quot;button-only&quot;}],J=()=&gt;I?{}:{right:p!==&quot;right&quot;,left:p===&quot;right&quot;},ee=()=&gt;{let ae=w(&quot;wp-block-search__input&quot;,H?void 0:x.className,B.className),Re={...H?{borderRadius:x.style?.borderRadius,borderTopLeftRadius:x.style?.borderTopLeftRadius,borderTopRightRadius:x.style?.borderTopRightRadius,borderBottomLeftRadius:x.style?.borderBottomLeftRadius,borderBottomRightRadius:x.style?.borderBottomRightRadius}:x.style,...B.style,textDecoration:void 0};return(0,Et.jsx)(&quot;input&quot;,{type:&quot;search&quot;,className:ae,style:Re,&quot;aria-label&quot;:(0,sr.__)(&quot;Optional placeholder text&quot;),placeholder:c?void 0:(0,sr.__)(&quot;Optional placeholder\u2026&quot;),value:c,onChange:Ee=&gt;r({placeholder:Ee.target.value}),ref:R})},oe=()=&gt;{let ae=w(&quot;wp-block-search__button&quot;,S.className,B.className,H?void 0:x.className,h?&quot;has-icon&quot;:void 0,(0,ao.__experimentalGetElementClassName)(&quot;button&quot;)),Re={...S.style,...B.style,...H?{borderRadius:x.style?.borderRadius,borderTopLeftRadius:x.style?.borderTopLeftRadius,borderTopRightRadius:x.style?.borderTopRightRadius,borderBottomLeftRadius:x.style?.borderBottomLeftRadius,borderBottomRightRadius:x.style?.borderBottomRightRadius}:x.style},Ee=()=&gt;{I&amp;&amp;r({isSearchFieldHidden:!g})};return(0,Et.jsxs)(Et.Fragment,{children:[h&amp;&amp;(0,Et.jsx)(&quot;button&quot;,{type:&quot;button&quot;,className:ae,style:Re,&quot;aria-label&quot;:d?(0,tie.__unstableStripHTML)(d):(0,sr.__)(&quot;Search&quot;),onClick:Ee,ref:$,children:(0,Et.jsx)(Wa,{icon:l1})}),!h&amp;&amp;(0,Et.jsx)(ao.RichText,{identifier:&quot;buttonText&quot;,className:ae,style:Re,&quot;aria-label&quot;:(0,sr.__)(&quot;Button text&quot;),placeholder:(0,sr.__)(&quot;Add button text\u2026&quot;),withoutInteractiveFormatting:!0,value:d,onChange:ie=&gt;r({buttonText:ie}),onClick:Ee})]})},X=q(),te=(0,Et.jsx)(Et.Fragment,{children:(0,Et.jsx)(ao.InspectorControls,{children:(0,Et.jsxs)(cr.__experimentalToolsPanel,{label:(0,sr.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({width:void 0,widthUnit:void 0,showLabel:!0,buttonUseIcon:!1,buttonPosition:&quot;button-outside&quot;,isSearchFieldHidden:!1})},dropdownMenuProps:X,children:[(0,Et.jsx)(cr.__experimentalToolsPanelItem,{hasValue:()=&gt;!s,label:(0,sr.__)(&quot;Show label&quot;),onDeselect:()=&gt;{r({showLabel:!0})},isShownByDefault:!0,children:(0,Et.jsx)(cr.ToggleControl,{checked:s,label:(0,sr.__)(&quot;Show label&quot;),onChange:ae=&gt;r({showLabel:ae})})}),(0,Et.jsx)(cr.__experimentalToolsPanelItem,{hasValue:()=&gt;f!==&quot;button-outside&quot;,label:(0,sr.__)(&quot;Button position&quot;),onDeselect:()=&gt;{r({buttonPosition:&quot;button-outside&quot;,isSearchFieldHidden:!1})},isShownByDefault:!0,children:(0,Et.jsx)(cr.SelectControl,{value:f,__next40pxDefaultSize:!0,label:(0,sr.__)(&quot;Button position&quot;),onChange:ae=&gt;{r({buttonPosition:ae,isSearchFieldHidden:ae===&quot;button-only&quot;})},options:O})}),f!==&quot;no-button&quot;&amp;&amp;(0,Et.jsx)(cr.__experimentalToolsPanelItem,{hasValue:()=&gt;!!h,label:(0,sr.__)(&quot;Use button with icon&quot;),onDeselect:()=&gt;{r({buttonUseIcon:!1})},isShownByDefault:!0,children:(0,Et.jsx)(cr.ToggleControl,{checked:h,label:(0,sr.__)(&quot;Use button with icon&quot;),onChange:ae=&gt;r({buttonUseIcon:ae})})}),(0,Et.jsx)(cr.__experimentalToolsPanelItem,{hasValue:()=&gt;!!u,label:(0,sr.__)(&quot;Width&quot;),onDeselect:()=&gt;{r({width:void 0,widthUnit:void 0})},isShownByDefault:!0,children:(0,Et.jsxs)(cr.__experimentalVStack,{children:[(0,Et.jsx)(cr.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,sr.__)(&quot;Width&quot;),id:A,min:fM(m)?0:dM,max:fM(m)?100:void 0,step:1,onChange:ae=&gt;{let Re=ae===&quot;&quot;?void 0:parseInt(ae,10);r({width:Re})},onUnitChange:ae=&gt;{r({width:ae===&quot;%&quot;?mM:pM,widthUnit:ae})},__unstableInputWidth:&quot;80px&quot;,value:`${u}${m}`,units:j}),(0,Et.jsx)(cr.__experimentalToggleGroupControl,{label:(0,sr.__)(&quot;Percentage Width&quot;),value:Jne.includes(u)&amp;&amp;m===&quot;%&quot;?u:void 0,hideLabelFromVision:!0,onChange:ae=&gt;{r({width:ae,widthUnit:&quot;%&quot;})},isBlock:!0,__next40pxDefaultSize:!0,children:Jne.map(ae=&gt;(0,Et.jsx)(cr.__experimentalToggleGroupControlOption,{value:ae,label:(0,sr.sprintf)((0,sr.__)(&quot;%d%%&quot;),ae)},ae))})]})})]})})}),ne=ae=&gt;ae!==void 0&amp;&amp;parseInt(ae,10)!==0,le=ae=&gt;ne(ae)?`calc(${ae} + ${Xne})`:void 0,pe=()=&gt;{let ae=H?x.style:{borderRadius:x.style?.borderRadius,borderTopLeftRadius:x.style?.borderTopLeftRadius,borderTopRightRadius:x.style?.borderTopRightRadius,borderBottomLeftRadius:x.style?.borderBottomLeftRadius,borderBottomRightRadius:x.style?.borderBottomRightRadius};if(H){if(typeof _==&quot;object&quot;){let{borderTopLeftRadius:Ee,borderTopRightRadius:ie,borderBottomLeftRadius:fe,borderBottomRightRadius:ke}=x.style;return{...ae,borderTopLeftRadius:le(Ee),borderTopRightRadius:le(ie),borderBottomLeftRadius:le(fe),borderBottomRightRadius:le(ke)}}let Re=Number.isInteger(_)?`${_}px`:_;ae.borderRadius=`calc(${Re} + ${Xne})`}return ae},Ie=(0,ao.useBlockProps)({className:G(),style:{...B.style,textDecoration:void 0}}),Ne=w(&quot;wp-block-search__label&quot;,B.className);return(0,Et.jsxs)(&quot;div&quot;,{...Ie,children:[te,s&amp;&amp;(0,Et.jsx)(ao.RichText,{identifier:&quot;label&quot;,className:Ne,&quot;aria-label&quot;:(0,sr.__)(&quot;Label text&quot;),placeholder:(0,sr.__)(&quot;Add label\u2026&quot;),withoutInteractiveFormatting:!0,value:l,onChange:ae=&gt;r({label:ae}),style:B.style}),(0,Et.jsxs)(cr.ResizableBox,{size:{width:u===void 0?&quot;auto&quot;:`${u}${m}`,height:&quot;auto&quot;},className:w(&quot;wp-block-search__inside-wrapper&quot;,H?x.className:void 0),style:pe(),minWidth:dM,enable:J(),onResizeStart:(ae,Re,Ee)=&gt;{r({width:parseInt(Ee.offsetWidth,10),widthUnit:&quot;px&quot;}),a(!1)},onResizeStop:(ae,Re,Ee,ie)=&gt;{r({width:parseInt(u+ie.width,10)}),a(!0)},showHandle:n,children:[(H||F||I)&amp;&amp;(0,Et.jsxs)(Et.Fragment,{children:[ee(),oe()]}),z&amp;&amp;ee()]})]})}var hM=o(P(),1),N4e=[{name:&quot;default&quot;,isDefault:!0,attributes:{buttonText:(0,hM.__)(&quot;Search&quot;),label:(0,hM.__)(&quot;Search&quot;)}}],oie=N4e;var{fieldsKey:E4e,formKey:D4e}=K(aie.privateApis),{name:nie}=s6,u6={icon:l1,example:{attributes:{buttonText:(0,Ag.__)(&quot;Search&quot;),label:(0,Ag.__)(&quot;Search&quot;)},viewportWidth:400},variations:oie,edit:rie};window.__experimentalContentOnlyInspectorFields&amp;&amp;(u6[E4e]=[{id:&quot;label&quot;,label:(0,Ag.__)(&quot;Label&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;buttonText&quot;,label:(0,Ag.__)(&quot;Button text&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;},{id:&quot;placeholder&quot;,label:(0,Ag.__)(&quot;Placeholder&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],u6[D4e]={fields:[&quot;label&quot;,&quot;buttonText&quot;,&quot;placeholder&quot;]});var L4e=()=&gt;E({name:nie,metadata:s6,settings:u6});var vM={};Z(vM,{init:()=&gt;V4e,metadata:()=&gt;p6,name:()=&gt;fie,settings:()=&gt;hie});var $m=o(T(),1),m6=o(M(),1),F2=o(P(),1);var V2=o(U(),1),iie=o(me(),1);function lie(e,t,r){let[a,n]=(0,V2.useState)(!1),i=(0,iie.usePrevious)(t);(0,V2.useEffect)(()=&gt;{e===&quot;css&quot;&amp;&amp;!t&amp;&amp;!i&amp;&amp;n(!0)},[t,i,e]),(0,V2.useEffect)(()=&gt;{e===&quot;css&quot;&amp;&amp;(a&amp;&amp;t||i&amp;&amp;t!==i)&amp;&amp;(r({opacity:&quot;alpha-channel&quot;}),n(!1))},[a,t,i])}var Iu=o(v(),1),M4e=({tagName:e,setAttributes:t})=&gt;(0,Iu.jsx)(m6.SelectControl,{label:(0,F2.__)(&quot;HTML element&quot;),value:e,onChange:r=&gt;t({tagName:r}),options:[{label:(0,F2.__)(&quot;Default (&lt;hr&gt;)&quot;),value:&quot;hr&quot;},{label:&quot;&lt;div&gt;&quot;,value:&quot;div&quot;}],help:e===&quot;hr&quot;?(0,F2.__)(&quot;Only select &lt;hr&gt; if the separator conveys important information and should be announced by screen readers.&quot;):(0,F2.__)(&quot;The &lt;div&gt; element should only be used if the block is a design element with no semantic meaning.&quot;),__next40pxDefaultSize:!0});function sie({attributes:e,setAttributes:t}){let{backgroundColor:r,opacity:a,style:n,tagName:i}=e,l=(0,$m.__experimentalUseColorProps)(e),s=l?.style?.backgroundColor,c=!!n?.color?.background;lie(a,s,t);let u=(0,$m.getColorClassName)(&quot;color&quot;,r),m=w({&quot;has-text-color&quot;:r||s,[u]:u,&quot;has-css-opacity&quot;:a===&quot;css&quot;,&quot;has-alpha-channel-opacity&quot;:a===&quot;alpha-channel&quot;},l.className);return(0,Iu.jsxs)(Iu.Fragment,{children:[(0,Iu.jsx)($m.InspectorControls,{group:&quot;advanced&quot;,children:(0,Iu.jsx)(M4e,{tagName:i,setAttributes:t})}),(0,Iu.jsx)(i===&quot;hr&quot;?m6.HorizontalRule:i,{...(0,$m.useBlockProps)({className:m,style:c?{color:s,backgroundColor:s}:void 0})})]})}var p6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/separator&quot;,title:&quot;Separator&quot;,category:&quot;design&quot;,description:&quot;Create a break between ideas or sections with a horizontal separator.&quot;,keywords:[&quot;horizontal-line&quot;,&quot;hr&quot;,&quot;divider&quot;],textdomain:&quot;default&quot;,attributes:{opacity:{type:&quot;string&quot;,default:&quot;alpha-channel&quot;},tagName:{type:&quot;string&quot;,enum:[&quot;hr&quot;,&quot;div&quot;],default:&quot;hr&quot;}},supports:{anchor:!0,align:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;],color:{enableContrastChecker:!1,__experimentalSkipSerialization:!0,gradients:!0,background:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;]},interactivity:{clientNavigation:!0}},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;wide&quot;,label:&quot;Wide Line&quot;},{name:&quot;dots&quot;,label:&quot;Dots&quot;}],editorStyle:&quot;wp-block-separator-editor&quot;,style:&quot;wp-block-separator&quot;};var Rg=o(T(),1),cie=o(v(),1);function uie({attributes:e}){let{backgroundColor:t,style:r,opacity:a,tagName:n}=e,i=r?.color?.background,l=(0,Rg.__experimentalGetColorClassesAndStyles)(e),s=(0,Rg.getColorClassName)(&quot;color&quot;,t),c=w({&quot;has-text-color&quot;:t||i,[s]:s,&quot;has-css-opacity&quot;:a===&quot;css&quot;,&quot;has-alpha-channel-opacity&quot;:a===&quot;alpha-channel&quot;},l.className),u={backgroundColor:l?.style?.backgroundColor,color:s?void 0:i};return(0,cie.jsx)(n,{...Rg.useBlockProps.save({className:c,style:u})})}var zg=o(W(),1),R4e={from:[{type:&quot;input&quot;,regExp:/^-{3,}$/,transform:()=&gt;[(0,zg.createBlock)(&quot;core/separator&quot;),(0,zg.createBlock)((0,zg.getDefaultBlockName)())]},{type:&quot;raw&quot;,selector:&quot;hr&quot;,schema:{hr:{}}}],to:[{type:&quot;block&quot;,blocks:[&quot;core/spacer&quot;],transform:({anchor:e})=&gt;(0,zg.createBlock)(&quot;core/spacer&quot;,{anchor:e||void 0})}]},mie=R4e;var H2=o(T(),1),pie=o(v(),1),z4e={attributes:{color:{type:&quot;string&quot;},customColor:{type:&quot;string&quot;}},save({attributes:e}){let{color:t,customColor:r}=e,a=(0,H2.getColorClassName)(&quot;background-color&quot;,t),n=(0,H2.getColorClassName)(&quot;color&quot;,t),i=w({&quot;has-text-color has-background&quot;:t||r,[a]:a,[n]:n}),l={backgroundColor:a?void 0:r,color:n?void 0:r};return(0,pie.jsx)(&quot;hr&quot;,{...H2.useBlockProps.save({className:i,style:l})})},migrate(e){let{color:t,customColor:r,...a}=e;return{...a,backgroundColor:t||void 0,opacity:&quot;css&quot;,style:r?{color:{background:r}}:void 0,tagName:&quot;hr&quot;}}},die=[z4e];var{name:fie}=p6,hie={icon:qP,example:{attributes:{customColor:&quot;#065174&quot;,className:&quot;is-style-wide&quot;}},transforms:mie,edit:sie,save:uie,deprecated:die},V4e=()=&gt;E({name:fie,metadata:p6,settings:hie});var yM={};Z(yM,{init:()=&gt;O4e,metadata:()=&gt;v6,name:()=&gt;Cie,settings:()=&gt;Sie});var d6=o(P(),1),h6=o(T(),1),gie=o(me(),1),vie=o(M(),1);var f6=o(v(),1);function bM({attributes:e,setAttributes:t}){let a=`blocks-shortcode-input-${(0,gie.useInstanceId)(bM)}`;return(0,f6.jsx)(&quot;div&quot;,{...(0,h6.useBlockProps)(),children:(0,f6.jsx)(vie.Placeholder,{icon:c1,label:(0,d6.__)(&quot;Shortcode&quot;),children:(0,f6.jsx)(h6.PlainText,{className:&quot;blocks-shortcode__textarea&quot;,id:a,value:e.text,&quot;aria-label&quot;:(0,d6.__)(&quot;Shortcode text&quot;),placeholder:(0,d6.__)(&quot;Write shortcode here\u2026&quot;),onChange:n=&gt;t({text:n})})})})}var bie=o(U(),1),yie=o(v(),1);function _ie({attributes:e}){return(0,yie.jsx)(bie.RawHTML,{children:e.text})}var g6=o(kie(),1),F4e={from:[{type:&quot;shortcode&quot;,tag:&quot;[a-z][a-z0-9_-]*&quot;,attributes:{text:{type:&quot;string&quot;,shortcode:(e,{content:t})=&gt;(0,g6.removep)((0,g6.autop)(t))}},priority:20}]},wie=F4e;var v6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/shortcode&quot;,title:&quot;Shortcode&quot;,category:&quot;widgets&quot;,description:&quot;Insert additional custom elements with a WordPress shortcode.&quot;,textdomain:&quot;default&quot;,attributes:{text:{type:&quot;string&quot;,source:&quot;raw&quot;,role:&quot;content&quot;}},supports:{className:!1,customClassName:!1,html:!1,customCSS:!1,visibility:!1},editorStyle:&quot;wp-block-shortcode-editor&quot;};var{name:Cie}=v6,Sie={icon:c1,transforms:wie,edit:bM,save:_ie},O4e=()=&gt;E({name:Cie,metadata:v6,settings:Sie});var xM={};Z(xM,{init:()=&gt;W4e,metadata:()=&gt;b6,name:()=&gt;Eie,settings:()=&gt;Die});var b6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/site-logo&quot;,title:&quot;Site Logo&quot;,category:&quot;theme&quot;,description:&quot;Display an image to represent this site. Update this block and the changes apply everywhere.&quot;,textdomain:&quot;default&quot;,attributes:{width:{type:&quot;number&quot;},isLink:{type:&quot;boolean&quot;,default:!0,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;},shouldSyncIcon:{type:&quot;boolean&quot;}},example:{viewportWidth:500,attributes:{width:350,className:&quot;block-editor-block-types-list__site-logo-example&quot;}},supports:{anchor:!0,html:!1,align:!0,alignWide:!1,color:{text:!1,background:!1},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0},filter:{duotone:!0}},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;rounded&quot;,label:&quot;Rounded&quot;}],selectors:{filter:{duotone:&quot;.wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before&quot;}},editorStyle:&quot;wp-block-site-logo-editor&quot;,style:&quot;wp-block-site-logo&quot;};var _M=o(Rr(),1),kc=o(U(),1),no=o(P(),1),Tt=o(M(),1),Tie=o(me(),1),io=o(T(),1),qm=o(V(),1),Vg=o(Q(),1);var Pie=o(xr(),1);var Ae=o(v(),1),y6=[&quot;image&quot;],U4e=({alt:e,attributes:{align:t,width:r,height:a,isLink:n,linkTarget:i,shouldSyncIcon:l},isSelected:s,setAttributes:c,setLogo:u,logoUrl:m,siteUrl:p,logoId:d,iconId:f,setIcon:h,canUserEdit:g})=&gt;{let b=(0,Tie.useViewportMatch)(&quot;medium&quot;),k=![&quot;wide&quot;,&quot;full&quot;].includes(t)&amp;&amp;b,[{naturalWidth:_,naturalHeight:x},S]=(0,kc.useState)({}),[C,N]=(0,kc.useState)(!1),{toggleSelection:B}=(0,qm.useDispatch)(io.store),D=q(),H=(0,io.useBlockEditingMode)()===&quot;contentOnly&quot;,{imageEditing:F,maxWidth:z,title:I}=(0,qm.useSelect)(fe=&gt;{let ke=fe(io.store).getSettings();return{title:fe(Vg.store).getEntityRecord(&quot;root&quot;,&quot;__unstableBase&quot;)?.name,imageEditing:ke.imageEditing,maxWidth:ke.maxWidth}},[]);(0,kc.useEffect)(()=&gt;{l&amp;&amp;d!==f&amp;&amp;c({shouldSyncIcon:!1})},[]),(0,kc.useEffect)(()=&gt;{s||N(!1)},[s]);function R(){B(!1)}function $(){B(!0)}let j=(0,Ae.jsxs)(Ae.Fragment,{children:[(0,Ae.jsx)(&quot;img&quot;,{className:&quot;custom-logo&quot;,src:m,alt:e,onLoad:fe=&gt;{S({naturalWidth:fe.target.naturalWidth,naturalHeight:fe.target.naturalHeight})}}),(0,_M.isBlobURL)(m)&amp;&amp;(0,Ae.jsx)(Tt.Spinner,{})]}),G=j;if(n&amp;&amp;(G=(0,Ae.jsx)(&quot;a&quot;,{href:p,className:&quot;custom-logo-link&quot;,rel:&quot;home&quot;,title:I,onClick:fe=&gt;fe.preventDefault(),children:j})),!k||!_||!x)return(0,Ae.jsx)(&quot;div&quot;,{style:{width:r,height:a},children:G});let O=120,J=r||O,ee=_/x,oe=J/ee,X=_&lt;x?Zs:Math.ceil(Zs*ee),te=x&lt;_?Zs:Math.ceil(Zs/ee),ne=z*2.5,le=!1,pe=!1;t===&quot;center&quot;?(le=!0,pe=!0):(0,no.isRTL)()?t===&quot;left&quot;?le=!0:pe=!0:t===&quot;right&quot;?pe=!0:le=!0;let Ie=d&amp;&amp;_&amp;&amp;x&amp;&amp;F,Ne=!H,ae;Ie&amp;&amp;C?ae=(0,Ae.jsx)(io.__experimentalImageEditor,{id:d,url:m,width:J,height:oe,naturalHeight:x,naturalWidth:_,onSaveImage:fe=&gt;{u(fe.id)},onFinishEditing:()=&gt;{N(!1)}}):ae=(0,Ae.jsx)(Tt.ResizableBox,{size:{width:J,height:oe},showHandle:s&amp;&amp;Ne,minWidth:X,maxWidth:ne,minHeight:te,maxHeight:ne/ee,lockAspectRatio:!0,enable:{top:!1,right:le,bottom:!0,left:pe},onResizeStart:R,onResizeStop:(fe,ke,je,de)=&gt;{$(),c({width:parseInt(J+de.width,10),height:parseInt(oe+de.height,10)})},children:G});let Ee=!window?.__experimentalUseCustomizerSiteLogoUrl?p+&quot;/wp-admin/options-general.php&quot;:p+&quot;/wp-admin/customize.php?autofocus[section]=title_tagline&quot;,ie=(0,kc.createInterpolateElement)((0,no.__)(&quot;Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the &lt;a&gt;Site Icon settings&lt;/a&gt;.&quot;),{a:(0,Ae.jsx)(&quot;a&quot;,{href:Ee,target:&quot;_blank&quot;,rel:&quot;noopener noreferrer&quot;})});return(0,Ae.jsxs)(Ae.Fragment,{children:[(0,Ae.jsx)(io.InspectorControls,{children:(0,Ae.jsxs)(Tt.__experimentalToolsPanel,{label:(0,no.__)(&quot;Settings&quot;),dropdownMenuProps:D,children:[(0,Ae.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=&gt;!!r,label:(0,no.__)(&quot;Image width&quot;),onDeselect:()=&gt;c({width:void 0}),children:(0,Ae.jsx)(Tt.RangeControl,{__next40pxDefaultSize:!0,label:(0,no.__)(&quot;Image width&quot;),onChange:fe=&gt;c({width:fe}),min:X,max:ne,initialPosition:Math.min(O,ne),value:r||&quot;&quot;,disabled:!k})}),(0,Ae.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=&gt;!n,label:(0,no.__)(&quot;Link image to home&quot;),onDeselect:()=&gt;c({isLink:!0}),children:(0,Ae.jsx)(Tt.ToggleControl,{label:(0,no.__)(&quot;Link image to home&quot;),onChange:()=&gt;c({isLink:!n}),checked:n})}),n&amp;&amp;(0,Ae.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=&gt;i===&quot;_blank&quot;,label:(0,no.__)(&quot;Open in new tab&quot;),onDeselect:()=&gt;c({linkTarget:&quot;_self&quot;}),children:(0,Ae.jsx)(Tt.ToggleControl,{label:(0,no.__)(&quot;Open in new tab&quot;),onChange:fe=&gt;c({linkTarget:fe?&quot;_blank&quot;:&quot;_self&quot;}),checked:i===&quot;_blank&quot;})}),g&amp;&amp;(0,Ae.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=&gt;!!l,label:(0,no.__)(&quot;Use as Site Icon&quot;),onDeselect:()=&gt;{c({shouldSyncIcon:!1}),h(void 0)},children:(0,Ae.jsx)(Tt.ToggleControl,{label:(0,no.__)(&quot;Use as Site Icon&quot;),onChange:fe=&gt;{c({shouldSyncIcon:fe}),h(fe?d:void 0)},checked:!!l,help:ie})})]})}),Ie&amp;&amp;!C&amp;&amp;Ne&amp;&amp;(0,Ae.jsx)(io.BlockControls,{group:&quot;block&quot;,children:(0,Ae.jsx)(Tt.ToolbarButton,{onClick:()=&gt;N(!0),icon:D0,label:(0,no.__)(&quot;Crop&quot;)})}),ae]})};function Bie({attributes:e,className:t,setAttributes:r,isSelected:a}){let{width:n,shouldSyncIcon:i}=e,{siteLogoId:l,canUserEdit:s,url:c,siteIconId:u,mediaItemData:m,isRequestingMediaItem:p}=(0,qm.useSelect)(O=&gt;{let{canUser:J,getEntityRecord:ee,getEditedEntityRecord:oe}=O(Vg.store),X=J(&quot;update&quot;,{kind:&quot;root&quot;,name:&quot;site&quot;}),te=X?oe(&quot;root&quot;,&quot;site&quot;):void 0,ne=ee(&quot;root&quot;,&quot;__unstableBase&quot;),le=X?te?.site_logo:ne?.site_logo,pe=te?.site_icon,Ie=le&amp;&amp;O(Vg.store).getEntityRecord(&quot;postType&quot;,&quot;attachment&quot;,le,{context:&quot;view&quot;}),Ne=!!le&amp;&amp;!O(Vg.store).hasFinishedResolution(&quot;getEntityRecord&quot;,[&quot;postType&quot;,&quot;attachment&quot;,le,{context:&quot;view&quot;}]);return{siteLogoId:le,canUserEdit:X,url:ne?.home,mediaItemData:Ie,isRequestingMediaItem:Ne,siteIconId:pe}},[]),{getSettings:d}=(0,qm.useSelect)(io.store),[f,h]=(0,kc.useState)(),g=q(),{editEntityRecord:b}=(0,qm.useDispatch)(Vg.store),y=(O,J=!1)=&gt;{(i||J)&amp;&amp;k(O),b(&quot;root&quot;,&quot;site&quot;,void 0,{site_logo:O})},k=O=&gt;b(&quot;root&quot;,&quot;site&quot;,void 0,{site_icon:O??null}),{alt_text:_,source_url:x}=m??{},S=O=&gt;{if(i===void 0){let J=!u;r({shouldSyncIcon:J}),C(O,J);return}C(O)},C=(O,J=!1)=&gt;{if(O){if(!O.id&amp;&amp;O.url){h(O.url),y(void 0);return}y(O.id,J)}},N=()=&gt;{y(null),r({width:void 0})},{createErrorNotice:B}=(0,qm.useDispatch)(Pie.store),D=O=&gt;{B(O,{type:&quot;snackbar&quot;}),h()},A=O=&gt;{d().mediaUpload({allowedTypes:y6,filesList:O,onFileChange([J]){if((0,_M.isBlobURL)(J?.url)){h(J.url);return}S(J)},onError:D,multiple:!1})},H={mediaURL:x,name:x?(0,no.__)(&quot;Replace&quot;):(0,no.__)(&quot;Choose logo&quot;),onSelect:C,onError:D,onReset:N},F=s&amp;&amp;(0,Ae.jsx)(io.BlockControls,{group:&quot;other&quot;,children:(0,Ae.jsx)(io.MediaReplaceFlow,{...H,allowedTypes:y6,variant:&quot;toolbar&quot;})}),z,I=l===void 0||p;I&amp;&amp;(z=(0,Ae.jsx)(Tt.Spinner,{})),(0,kc.useEffect)(()=&gt;{x&amp;&amp;f&amp;&amp;h()},[x,f]),(x||f)&amp;&amp;(z=(0,Ae.jsxs)(Ae.Fragment,{children:[(0,Ae.jsx)(U4e,{alt:_,attributes:e,className:t,isSelected:a,setAttributes:r,logoUrl:f||x,setLogo:y,logoId:m?.id||l,siteUrl:c,setIcon:k,iconId:u,canUserEdit:s}),s&amp;&amp;(0,Ae.jsx)(Tt.DropZone,{onFilesDrop:A})]}));let R=O=&gt;{let J=w(&quot;block-editor-media-placeholder&quot;,t);return(0,Ae.jsx)(Tt.Placeholder,{className:J,preview:z,withIllustration:!0,style:{width:n},children:O})},$=w(t,{&quot;is-default-size&quot;:!n,&quot;is-transient&quot;:f}),j=(0,io.useBlockProps)({className:$}),G=(s||x)&amp;&amp;(0,Ae.jsx)(io.InspectorControls,{children:(0,Ae.jsx)(Tt.__experimentalToolsPanel,{label:(0,no.__)(&quot;Media&quot;),dropdownMenuProps:g,children:s?(0,Ae.jsx)(Tt.__experimentalToolsPanelItem,{hasValue:()=&gt;!!x,label:(0,no.__)(&quot;Logo&quot;),isShownByDefault:!0,children:(0,Ae.jsx)(f4,{mediaId:l,mediaUrl:x,alt:m?.alt_text,filename:m?.media_details?.sizes?.full?.file||m?.slug,allowedTypes:y6,onSelect:C,onError:D,onReset:N,isUploading:!!f,emptyLabel:(0,no.__)(&quot;Choose logo&quot;)})}):(0,Ae.jsx)(&quot;div&quot;,{className:&quot;block-library-site-logo__inspector-media-replace-container&quot;,style:{gridColumn:&quot;1 / -1&quot;},children:(0,Ae.jsx)(dE,{url:m?.source_url,alt:m?.alt_text,filename:m?.media_details?.sizes?.full?.file||m?.slug,itemGroupProps:{isBordered:!0,className:&quot;block-library-site-logo__inspector-readonly-logo-preview&quot;},className:&quot;block-library-site-logo__inspector-media-replace-title&quot;})})})});return(0,Ae.jsxs)(&quot;div&quot;,{...j,children:[F,G,(!!x||!!f)&amp;&amp;z,(I||!f&amp;&amp;!x&amp;&amp;!s)&amp;&amp;(0,Ae.jsx)(Tt.Placeholder,{className:&quot;site-logo_placeholder&quot;,withIllustration:!0,children:I&amp;&amp;(0,Ae.jsx)(&quot;span&quot;,{className:&quot;components-placeholder__preview&quot;,children:(0,Ae.jsx)(Tt.Spinner,{})})}),!I&amp;&amp;!f&amp;&amp;!x&amp;&amp;s&amp;&amp;(0,Ae.jsx)(io.MediaPlaceholder,{onSelect:S,allowedTypes:y6,onError:D,placeholder:R,mediaLibraryButton:({open:O})=&gt;(0,Ae.jsx)(Tt.Button,{__next40pxDefaultSize:!0,icon:Hc,variant:&quot;primary&quot;,label:(0,no.__)(&quot;Choose logo&quot;),showTooltip:!0,tooltipPosition:&quot;middle right&quot;,onClick:()=&gt;{O()}})})]})}var Iie=o(W(),1),G4e={to:[{type:&quot;block&quot;,blocks:[&quot;core/site-title&quot;],transform:({isLink:e,linkTarget:t})=&gt;(0,Iie.createBlock)(&quot;core/site-title&quot;,{isLink:e,linkTarget:t})}]},Nie=G4e;var{name:Eie}=b6,Die={icon:JP,example:{},edit:Bie,transforms:Nie},W4e=()=&gt;E({name:Eie,metadata:b6,settings:Die});var CM={};Z(CM,{init:()=&gt;Z4e,metadata:()=&gt;_6,name:()=&gt;Rie,settings:()=&gt;zie});var _6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/site-tagline&quot;,title:&quot;Site Tagline&quot;,category:&quot;theme&quot;,description:&quot;Describe in a few words what this site is about. This is important for search results, sharing on social media, and gives overall clarity to visitors.&quot;,keywords:[&quot;description&quot;],textdomain:&quot;default&quot;,attributes:{textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:0},levelOptions:{type:&quot;array&quot;,default:[0,1,2,3,4,5,6]}},example:{viewportWidth:350,attributes:{textAlign:&quot;center&quot;}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},contentRole:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},editorStyle:&quot;wp-block-site-tagline-editor&quot;,style:&quot;wp-block-site-tagline&quot;};var k6=o(V(),1),kM=o(Q(),1),Cc=o(T(),1),x6=o(P(),1),w6=o(W(),1),wc=o(v(),1);function Lie({attributes:e,setAttributes:t,insertBlocksAfter:r}){let{textAlign:a,level:n,levelOptions:i}=e,{canUserEdit:l,tagline:s}=(0,k6.useSelect)(f=&gt;{let{canUser:h,getEntityRecord:g,getEditedEntityRecord:b}=f(kM.store),y=h(&quot;update&quot;,{kind:&quot;root&quot;,name:&quot;site&quot;}),k=y?b(&quot;root&quot;,&quot;site&quot;):{},_=g(&quot;root&quot;,&quot;__unstableBase&quot;);return{canUserEdit:y,tagline:y?k?.description:_?.description}},[]),c=n===0?&quot;p&quot;:`h${n}`,{editEntityRecord:u}=(0,k6.useDispatch)(kM.store);function m(f){u(&quot;root&quot;,&quot;site&quot;,void 0,{description:f})}let p=(0,Cc.useBlockProps)({className:w({[`has-text-align-${a}`]:a,&quot;wp-block-site-tagline__placeholder&quot;:!l&amp;&amp;!s})}),d=l?(0,wc.jsx)(Cc.RichText,{allowedFormats:[],onChange:m,&quot;aria-label&quot;:(0,x6.__)(&quot;Site tagline text&quot;),placeholder:(0,x6.__)(&quot;Write site tagline\u2026&quot;),tagName:c,value:s,disableLineBreaks:!0,__unstableOnSplitAtEnd:()=&gt;r((0,w6.createBlock)((0,w6.getDefaultBlockName)())),...p}):(0,wc.jsx)(c,{...p,children:s||(0,x6.__)(&quot;Site Tagline placeholder&quot;)});return(0,wc.jsxs)(wc.Fragment,{children:[(0,wc.jsxs)(Cc.BlockControls,{group:&quot;block&quot;,children:[(0,wc.jsx)(Cc.HeadingLevelDropdown,{value:n,options:i,onChange:f=&gt;t({level:f})}),(0,wc.jsx)(Cc.AlignmentControl,{onChange:f=&gt;t({textAlign:f}),value:a})]}),d]})}var C6=o(M(),1),wM=o(v(),1),Mie=(0,wM.jsx)(C6.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:&quot;24&quot;,height:&quot;24&quot;,children:(0,wM.jsx)(C6.Path,{d:&quot;M4 10.5h16V9H4v1.5ZM4 15h9v-1.5H4V15Z&quot;})});var q4e={attributes:{textAlign:{type:&quot;string&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},Aie=[q4e];var{name:Rie}=_6,zie={icon:Mie,edit:Lie,deprecated:Aie},Z4e=()=&gt;E({name:Rie,metadata:_6,settings:zie});var PM={};Z(PM,{init:()=&gt;X4e,metadata:()=&gt;S6,name:()=&gt;jie,settings:()=&gt;Uie});var S6={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/site-title&quot;,title:&quot;Site Title&quot;,category:&quot;theme&quot;,description:&quot;Displays the name of this site. Update the block, and the changes apply everywhere it\u2019s used. This will also appear in the browser title bar and in search results.&quot;,textdomain:&quot;default&quot;,attributes:{level:{type:&quot;number&quot;,default:1},levelOptions:{type:&quot;array&quot;,default:[0,1,2,3,4,5,6]},textAlign:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!0,role:&quot;content&quot;},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;,role:&quot;content&quot;}},example:{viewportWidth:500},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{padding:!0,margin:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},editorStyle:&quot;wp-block-site-title-editor&quot;,style:&quot;wp-block-site-title&quot;};var T6=o(V(),1),SM=o(Q(),1),Sc=o(P(),1),qn=o(T(),1),Zm=o(M(),1),P6=o(W(),1),TM=o(Wo(),1);var _o=o(v(),1);function Vie({attributes:e,setAttributes:t,insertBlocksAfter:r}){let{level:a,levelOptions:n,textAlign:i,isLink:l,linkTarget:s}=e,{canUserEdit:c,title:u}=(0,T6.useSelect)(y=&gt;{let{canUser:k,getEntityRecord:_,getEditedEntityRecord:x}=y(SM.store),S=k(&quot;update&quot;,{kind:&quot;root&quot;,name:&quot;site&quot;}),C=S?x(&quot;root&quot;,&quot;site&quot;):{},N=_(&quot;root&quot;,&quot;__unstableBase&quot;);return{canUserEdit:S,title:S?C?.title:N?.name}},[]),{editEntityRecord:m}=(0,T6.useDispatch)(SM.store),p=q(),d=(0,qn.useBlockEditingMode)();function f(y){m(&quot;root&quot;,&quot;site&quot;,void 0,{title:y.trim()})}let h=a===0?&quot;p&quot;:`h${a}`,g=(0,qn.useBlockProps)({className:w({[`has-text-align-${i}`]:i,&quot;wp-block-site-title__placeholder&quot;:!c&amp;&amp;!u})}),b=c?(0,_o.jsx)(h,{...g,children:(0,_o.jsx)(qn.RichText,{tagName:l?&quot;a&quot;:&quot;span&quot;,href:l?&quot;#site-title-pseudo-link&quot;:void 0,&quot;aria-label&quot;:(0,Sc.__)(&quot;Site title text&quot;),placeholder:(0,Sc.__)(&quot;Write site title\u2026&quot;),value:u,onChange:f,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=&gt;r((0,P6.createBlock)((0,P6.getDefaultBlockName)()))})}):(0,_o.jsx)(h,{...g,children:l?(0,_o.jsx)(&quot;a&quot;,{href:&quot;#site-title-pseudo-link&quot;,onClick:y=&gt;y.preventDefault(),children:(0,TM.decodeEntities)(u)||(0,Sc.__)(&quot;Site Title placeholder&quot;)}):(0,_o.jsx)(&quot;span&quot;,{children:(0,TM.decodeEntities)(u)||(0,Sc.__)(&quot;Site Title placeholder&quot;)})});return(0,_o.jsxs)(_o.Fragment,{children:[d===&quot;default&quot;&amp;&amp;(0,_o.jsxs)(qn.BlockControls,{group:&quot;block&quot;,children:[(0,_o.jsx)(qn.HeadingLevelDropdown,{value:a,options:n,onChange:y=&gt;t({level:y})}),(0,_o.jsx)(qn.AlignmentControl,{value:i,onChange:y=&gt;{t({textAlign:y})}})]}),(0,_o.jsx)(qn.InspectorControls,{children:(0,_o.jsxs)(Zm.__experimentalToolsPanel,{label:(0,Sc.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({isLink:!0,linkTarget:&quot;_self&quot;})},dropdownMenuProps:p,children:[(0,_o.jsx)(Zm.__experimentalToolsPanelItem,{hasValue:()=&gt;!l,label:(0,Sc.__)(&quot;Make title link to home&quot;),onDeselect:()=&gt;t({isLink:!0}),isShownByDefault:!0,children:(0,_o.jsx)(Zm.ToggleControl,{label:(0,Sc.__)(&quot;Make title link to home&quot;),onChange:()=&gt;t({isLink:!l}),checked:l})}),l&amp;&amp;(0,_o.jsx)(Zm.__experimentalToolsPanelItem,{hasValue:()=&gt;s!==&quot;_self&quot;,label:(0,Sc.__)(&quot;Open in new tab&quot;),onDeselect:()=&gt;t({linkTarget:&quot;_self&quot;}),isShownByDefault:!0,children:(0,_o.jsx)(Zm.ToggleControl,{label:(0,Sc.__)(&quot;Open in new tab&quot;),onChange:y=&gt;t({linkTarget:y?&quot;_blank&quot;:&quot;_self&quot;}),checked:s===&quot;_blank&quot;})})]})}),b]})}var Q4e={attributes:{level:{type:&quot;number&quot;,default:1},textAlign:{type:&quot;string&quot;},isLink:{type:&quot;boolean&quot;,default:!0},linkTarget:{type:&quot;string&quot;,default:&quot;_self&quot;}},supports:{align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},Fie=[Q4e];var Hie=o(W(),1),Y4e={to:[{type:&quot;block&quot;,blocks:[&quot;core/site-logo&quot;],transform:({isLink:e,linkTarget:t})=&gt;(0,Hie.createBlock)(&quot;core/site-logo&quot;,{isLink:e,linkTarget:t})}]},Oie=Y4e;var{name:jie}=S6,Uie={icon:PT,example:{viewportWidth:350,attributes:{textAlign:&quot;center&quot;}},edit:Vie,transforms:Oie,deprecated:Fie},X4e=()=&gt;E({name:jie,metadata:S6,settings:Uie});var CA={};Z(CA,{init:()=&gt;a3e,metadata:()=&gt;w8,name:()=&gt;Gle,settings:()=&gt;C8});var wA=o(P(),1);var Ule=o(W(),1);var Fg=o(As(),1),k8=o(V(),1),gn=o(T(),1),tf=o(U(),1),lo=o(M(),1),Vle=o(me(),1),Zn=o(P(),1);var Fle=o(W(),1);var kA=o(P(),1);var B6=o(L(),1),BM=o(v(),1),Gie=()=&gt;(0,BM.jsx)(B6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,BM.jsx)(B6.Path,{d:&quot;M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z&quot;})});var I6=o(L(),1),IM=o(v(),1),Wie=()=&gt;(0,IM.jsx)(I6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,IM.jsx)(I6.Path,{d:&quot;M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289&quot;})});var N6=o(L(),1),NM=o(v(),1),$ie=()=&gt;(0,NM.jsx)(N6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,NM.jsx)(N6.Path,{d:&quot;M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z&quot;})});var E6=o(L(),1),EM=o(v(),1),qie=()=&gt;(0,EM.jsx)(E6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,EM.jsx)(E6.Path,{d:&quot;M6.3,4.2c2.3,1.7,4.8,5.3,5.7,7.2.9-1.9,3.4-5.4,5.7-7.2,1.7-1.3,4.3-2.2,4.3.9s-.4,5.2-.6,5.9c-.7,2.6-3.3,3.2-5.6,2.8,4,.7,5.1,3,2.9,5.3-5,5.2-6.7-2.8-6.7-2.8,0,0-1.7,8-6.7,2.8-2.2-2.3-1.2-4.6,2.9-5.3-2.3.4-4.9-.3-5.6-2.8-.2-.7-.6-5.3-.6-5.9,0-3.1,2.7-2.1,4.3-.9h0Z&quot;})});var D6=o(L(),1),DM=o(v(),1),O2=()=&gt;(0,DM.jsx)(D6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,DM.jsx)(D6.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;})});var L6=o(L(),1),LM=o(v(),1),Zie=()=&gt;(0,LM.jsx)(L6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,LM.jsx)(L6.Path,{d:&quot;M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z&quot;})});var M6=o(L(),1),MM=o(v(),1),Kie=()=&gt;(0,MM.jsx)(M6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,MM.jsx)(M6.Path,{d:&quot;M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z&quot;})});var A6=o(L(),1),AM=o(v(),1),Qie=()=&gt;(0,AM.jsx)(A6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,AM.jsx)(A6.Path,{d:&quot;M20.317 4.369A19.88 19.88 0 0 0 15.894 3a14.145 14.145 0 0 0-.719 1.518 19.205 19.205 0 0 0-5.351 0A14.183 14.183 0 0 0 9.104 3 19.896 19.896 0 0 0 4.682 4.369a18.921 18.921 0 0 0-3.012 12.52 19.929 19.929 0 0 0 6.081 3.097c.487-.65.922-1.339 1.3-2.061a12.445 12.445 0 0 1-1.958-.896c.165-.12.326-.246.483-.374a12.445 12.445 0 0 0 8.946 0c.157.128.318.253.483.374-.627.371-1.281.683-1.958.896.379.722.813 1.41 1.3 2.061a19.94 19.94 0 0 0 6.081-3.097 18.921 18.921 0 0 0-3.012-12.52ZM8.12 15.233c-1.202 0-2.184-1.09-2.184-2.431 0-1.34.97-2.431 2.184-2.431 1.213 0 2.202 1.09 2.184 2.431 0 1.341-.97 2.431-2.184 2.431Zm7.757 0c-1.202 0-2.184-1.09-2.184-2.431 0-1.34.97-2.431 2.184-2.431 1.213 0 2.202 1.09 2.184 2.431 0 1.341-.97 2.431-2.184 2.431Z&quot;})});var R6=o(L(),1),RM=o(v(),1),Yie=()=&gt;(0,RM.jsx)(R6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,RM.jsx)(R6.Path,{d:&quot;M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z&quot;})});var z6=o(L(),1),zM=o(v(),1),Xie=()=&gt;(0,zM.jsx)(z6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,zM.jsx)(z6.Path,{d:&quot;M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z&quot;})});var V6=o(L(),1),VM=o(v(),1),Jie=()=&gt;(0,VM.jsx)(V6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,VM.jsx)(V6.Path,{d:&quot;M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z&quot;})});var F6=o(L(),1),FM=o(v(),1),ele=()=&gt;(0,FM.jsx)(F6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,FM.jsx)(F6.Path,{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-10z&quot;})});var H6=o(L(),1),HM=o(v(),1),tle=()=&gt;(0,HM.jsx)(H6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,HM.jsx)(H6.Path,{d:&quot;M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z&quot;})});var O6=o(L(),1),OM=o(v(),1),rle=()=&gt;(0,OM.jsx)(O6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,OM.jsx)(O6.Path,{d:&quot;M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z&quot;})});var j6=o(L(),1),jM=o(v(),1),ole=()=&gt;(0,jM.jsx)(j6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,jM.jsx)(j6.Path,{d:&quot;M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z&quot;})});var U6=o(L(),1),UM=o(v(),1),ale=()=&gt;(0,UM.jsx)(U6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,UM.jsx)(U6.Path,{d:&quot;M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z&quot;})});var G6=o(L(),1),GM=o(v(),1),nle=()=&gt;(0,GM.jsx)(G6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,GM.jsx)(G6.Path,{d:&quot;M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z&quot;})});var W6=o(L(),1),WM=o(v(),1),ile=()=&gt;(0,WM.jsx)(W6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,WM.jsx)(W6.Path,{d:&quot;M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.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 c0-0.83-0.11-1.42-0.25-2.05H12.02z&quot;})});var $6=o(L(),1),$M=o(v(),1),lle=()=&gt;(0,$M.jsx)($6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,$M.jsx)($6.Path,{d:&quot;M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z&quot;})});var q6=o(L(),1),qM=o(v(),1),sle=()=&gt;(0,qM.jsx)(q6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,qM.jsx)(q6.Path,{d:&quot;M10.8001 4.69937V10.6494C10.8001 11.1001 10.9791 11.5323 11.2978 11.851C11.6165 12.1697 12.0487 12.3487 12.4994 12.3487C12.9501 12.3487 13.3824 12.1697 13.7011 11.851C14.0198 11.5323 14.1988 11.1001 14.1988 10.6494V6.69089C15.2418 7.05861 16.1371 7.75537 16.7496 8.67617C17.3622 9.59698 17.6589 10.6919 17.595 11.796C17.5311 12.9001 17.1101 13.9535 16.3954 14.7975C15.6807 15.6415 14.711 16.2303 13.6325 16.4753C12.5541 16.7202 11.4252 16.608 10.4161 16.1555C9.40691 15.703 8.57217 14.9348 8.03763 13.9667C7.50308 12.9985 7.29769 11.8828 7.45242 10.7877C7.60714 9.69266 8.11359 8.67755 8.89545 7.89537C9.20904 7.57521 9.38364 7.14426 9.38132 6.69611C9.37899 6.24797 9.19994 5.81884 8.88305 5.50195C8.56616 5.18506 8.13704 5.00601 7.68889 5.00369C7.24075 5.00137 6.80979 5.17597 6.48964 5.48956C5.09907 6.8801 4.23369 8.7098 4.04094 10.6669C3.84819 12.624 4.34 14.5873 5.43257 16.2224C6.52515 17.8575 8.15088 19.0632 10.0328 19.634C11.9146 20.2049 13.9362 20.1055 15.753 19.3529C17.5699 18.6003 19.0695 17.241 19.9965 15.5066C20.9234 13.7722 21.2203 11.7701 20.8366 9.84133C20.4528 7.91259 19.4122 6.17658 17.892 4.92911C16.3717 3.68163 14.466 2.99987 12.4994 3C12.0487 3 11.6165 3.17904 11.2978 3.49773C10.9791 3.81643 10.8001 4.24867 10.8001 4.69937Z&quot;})});var Z6=o(L(),1),ZM=o(v(),1),cle=()=&gt;(0,ZM.jsx)(Z6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,ZM.jsx)(Z6.Path,{d:&quot;M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z&quot;})});var K6=o(L(),1),KM=o(v(),1),ule=()=&gt;(0,KM.jsx)(K6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,KM.jsx)(K6.Path,{d:&quot;M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z&quot;})});var Q6=o(L(),1),QM=o(v(),1),mle=()=&gt;(0,QM.jsx)(Q6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,QM.jsx)(Q6.Path,{d:&quot;M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z&quot;})});var Y6=o(L(),1),YM=o(v(),1),ple=()=&gt;(0,YM.jsx)(Y6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,YM.jsx)(Y6.Path,{d:&quot;M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l7.5 5.6 7.5-5.6V17zm0-9.1L12 13.6 4.5 7.9V7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v.9z&quot;})});var X6=o(L(),1),XM=o(v(),1),dle=()=&gt;(0,XM.jsx)(X6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,XM.jsx)(X6.Path,{d:&quot;M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z&quot;})});var J6=o(L(),1),JM=o(v(),1),fle=()=&gt;(0,JM.jsx)(J6.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,JM.jsx)(J6.Path,{d:&quot;M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z&quot;})});var e8=o(L(),1),eA=o(v(),1),hle=()=&gt;(0,eA.jsx)(e8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,eA.jsx)(e8.Path,{d:&quot;M13.2,12c0,3-2.4,5.4-5.3,5.4S2.6,15,2.6,12s2.4-5.4,5.3-5.4S13.2,9,13.2,12 M19.1,12c0,2.8-1.2,5-2.7,5s-2.7-2.3-2.7-5s1.2-5,2.7-5C17.9,7,19.1,9.2,19.1,12 M21.4,12c0,2.5-0.4,4.5-0.9,4.5c-0.5,0-0.9-2-0.9-4.5s0.4-4.5,0.9-4.5C21,7.5,21.4,9.5,21.4,12&quot;})});var t8=o(L(),1),tA=o(v(),1),gle=()=&gt;(0,tA.jsx)(t8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,tA.jsx)(t8.Path,{d:&quot;M20 8.40755C19.9969 6.10922 18.2543 4.22555 16.2097 3.54588C13.6708 2.70188 10.3222 2.82421 7.89775 3.99921C4.95932 5.42355 4.03626 8.54355 4.00186 11.6552C3.97363 14.2136 4.2222 20.9517 7.92225 20.9997C10.6715 21.0356 11.0809 17.3967 12.3529 15.6442C13.258 14.3974 14.4233 14.0452 15.8578 13.6806C18.3233 13.0537 20.0036 11.0551 20 8.40755Z&quot;})});var r8=o(L(),1),rA=o(v(),1),vle=()=&gt;(0,rA.jsx)(r8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,rA.jsx)(r8.Path,{d:&quot;M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2&quot;})});var o8=o(L(),1),oA=o(v(),1),ble=()=&gt;(0,oA.jsx)(o8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,oA.jsx)(o8.Path,{d:&quot;M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z&quot;})});var a8=o(L(),1),aA=o(v(),1),yle=()=&gt;(0,aA.jsx)(a8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,aA.jsx)(a8.Path,{d:&quot;M5.27 9.221A2.775 2.775 0 0 0 2.498 11.993a2.785 2.785 0 0 0 1.6 2.511 5.337 5.337 0 0 0 2.374 4.11 9.386 9.386 0 0 0 5.539 1.7 9.386 9.386 0 0 0 5.541-1.7 5.331 5.331 0 0 0 2.372-4.114 2.787 2.787 0 0 0 1.583-2.5 2.775 2.775 0 0 0-2.772-2.772 2.742 2.742 0 0 0-1.688.574 9.482 9.482 0 0 0-4.637-1.348v-.008a2.349 2.349 0 0 1 2.011-2.316 1.97 1.97 0 0 0 1.926 1.521 1.98 1.98 0 0 0 1.978-1.978 1.98 1.98 0 0 0-1.978-1.978 1.985 1.985 0 0 0-1.938 1.578 3.183 3.183 0 0 0-2.849 3.172v.011a9.463 9.463 0 0 0-4.59 1.35 2.741 2.741 0 0 0-1.688-.574Zm6.736 9.1a3.162 3.162 0 0 1-2.921-1.944.215.215 0 0 1 .014-.2.219.219 0 0 1 .168-.106 27.327 27.327 0 0 1 2.74-.133 27.357 27.357 0 0 1 2.74.133.219.219 0 0 1 .168.106.215.215 0 0 1 .014.2 3.158 3.158 0 0 1-2.921 1.944Zm3.743-3.157a1.265 1.265 0 0 1-1.4-1.371 1.954 1.954 0 0 1 .482-1.442 1.15 1.15 0 0 1 .842-.379 1.7 1.7 0 0 1 1.49 1.777 1.323 1.323 0 0 1-.325 1.015 1.476 1.476 0 0 1-1.089.4Zm-7.485 0a1.476 1.476 0 0 1-1.086-.4 1.323 1.323 0 0 1-.325-1.016 1.7 1.7 0 0 1 1.49-1.777 1.151 1.151 0 0 1 .843.379 1.951 1.951 0 0 1 .481 1.441 1.276 1.276 0 0 1-1.403 1.373Z&quot;})});var n8=o(L(),1),nA=o(v(),1),_le=()=&gt;(0,nA.jsx)(n8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,nA.jsx)(n8.Path,{d:&quot;M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z&quot;})});var i8=o(L(),1),iA=o(v(),1),xle=()=&gt;(0,iA.jsx)(i8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,iA.jsx)(i8.Path,{d:&quot;M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z&quot;})});var l8=o(L(),1),lA=o(v(),1),kle=()=&gt;(0,lA.jsx)(l8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,lA.jsx)(l8.Path,{d:&quot;M23.994 14.552a3.36 3.36 0 01-3.401 3.171h-8.176a.685.685 0 01-.679-.681V8.238a.749.749 0 01.452-.716S12.942 7 14.526 7a5.357 5.357 0 012.748.755 5.44 5.44 0 012.56 3.546c.282-.08.574-.12.868-.119a3.273 3.273 0 013.292 3.37zM10.718 8.795a.266.266 0 10-.528 0c-.224 2.96-.397 5.735 0 8.685a.265.265 0 00.528 0c.425-2.976.246-5.7 0-8.685zM9.066 9.82a.278.278 0 00-.553 0 33.183 33.183 0 000 7.663.278.278 0 00.55 0c.33-2.544.332-5.12.003-7.664zM7.406 9.56a.269.269 0 00-.535 0c-.253 2.7-.38 5.222 0 7.917a.266.266 0 10.531 0c.394-2.73.272-5.181.004-7.917zM5.754 10.331a.275.275 0 10-.55 0 28.035 28.035 0 000 7.155.272.272 0 00.54 0c.332-2.373.335-4.78.01-7.155zM4.087 12.12a.272.272 0 00-.544 0c-.393 1.843-.208 3.52.016 5.386a.26.26 0 00.512 0c.247-1.892.435-3.53.016-5.386zM2.433 11.838a.282.282 0 00-.56 0c-.349 1.882-.234 3.54.01 5.418.025.285.508.282.54 0 .269-1.907.394-3.517.01-5.418zM.762 12.76a.282.282 0 00-.56 0c-.32 1.264-.22 2.31.023 3.578a.262.262 0 00.521 0c.282-1.293.42-2.317.016-3.578z&quot;})});var s8=o(L(),1),sA=o(v(),1),wle=()=&gt;(0,sA.jsx)(s8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,sA.jsx)(s8.Path,{d:&quot;M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865&quot;})});var c8=o(L(),1),cA=o(v(),1),Cle=()=&gt;(0,cA.jsx)(c8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 128 128&quot;,version:&quot;1.1&quot;,children:(0,cA.jsx)(c8.Path,{d:&quot;M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z&quot;})});var u8=o(L(),1),uA=o(v(),1),Sle=()=&gt;(0,uA.jsx)(u8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,uA.jsx)(u8.Path,{d:&quot;M16.3 11.3c-.1 0-.2-.1-.2-.1-.1-2.6-1.5-4-3.9-4-1.4 0-2.6.6-3.3 1.7l1.3.9c.5-.8 1.4-1 2-1 .8 0 1.4.2 1.7.7.3.3.5.8.5 1.3-.7-.1-1.4-.2-2.2-.1-2.2.1-3.7 1.4-3.6 3.2 0 .9.5 1.7 1.3 2.2.7.4 1.5.6 2.4.6 1.2-.1 2.1-.5 2.7-1.3.5-.6.8-1.4.9-2.4.6.3 1 .8 1.2 1.3.4.9.4 2.4-.8 3.6-1.1 1.1-2.3 1.5-4.3 1.5-2.1 0-3.8-.7-4.8-2S5.7 14.3 5.7 12c0-2.3.5-4.1 1.5-5.4 1.1-1.3 2.7-2 4.8-2 2.2 0 3.8.7 4.9 2 .5.7.9 1.5 1.2 2.5l1.5-.4c-.3-1.2-.8-2.2-1.5-3.1-1.3-1.7-3.3-2.6-6-2.6-2.6 0-4.7.9-6 2.6C4.9 7.2 4.3 9.3 4.3 12s.6 4.8 1.9 6.4c1.4 1.7 3.4 2.6 6 2.6 2.3 0 4-.6 5.3-2 1.8-1.8 1.7-4 1.1-5.4-.4-.9-1.2-1.7-2.3-2.3zm-4 3.8c-1 .1-2-.4-2-1.3 0-.7.5-1.5 2.1-1.6h.5c.6 0 1.1.1 1.6.2-.2 2.3-1.3 2.7-2.2 2.7z&quot;})});var m8=o(L(),1),mA=o(v(),1),Tle=()=&gt;(0,mA.jsx)(m8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,mA.jsx)(m8.Path,{d:&quot;M12.4044 3.01519C13.4086 3 14.4072 3.009 15.4045 3C15.465 4.14812 15.8874 5.31762 16.7472 6.12935C17.6053 6.96134 18.819 7.34217 20 7.47099V10.4912C18.8933 10.4558 17.7814 10.2308 16.7771 9.76499C16.3397 9.57148 15.9323 9.32227 15.5334 9.06745C15.5283 11.2591 15.5426 13.4479 15.5191 15.6305C15.4592 16.679 15.1053 17.7225 14.4814 18.5866C13.4777 20.025 11.7356 20.9627 9.94635 20.992C8.84885 21.0533 7.7525 20.7608 6.81729 20.2219C5.26743 19.3286 4.17683 17.6933 4.01799 15.9382C3.99957 15.563 3.99324 15.1883 4.00878 14.8221C4.14691 13.395 4.86917 12.0297 5.99027 11.101C7.26101 10.0192 9.04107 9.50397 10.7078 9.80886C10.7233 10.9199 10.6778 12.0297 10.6778 13.1407C9.91643 12.9 9.02668 12.9675 8.36139 13.4192C7.87566 13.7269 7.50675 14.1983 7.31453 14.7316C7.15569 15.1118 7.20116 15.5343 7.21036 15.9382C7.3928 17.169 8.60368 18.2035 9.89628 18.0916C10.7532 18.0826 11.5745 17.5965 12.0211 16.8849C12.1655 16.6357 12.3273 16.3809 12.3359 16.0878C12.4113 14.7462 12.3814 13.4102 12.3906 12.0685C12.3969 9.04495 12.3814 6.02979 12.4049 3.01575L12.4044 3.01519Z&quot;})});var p8=o(L(),1),pA=o(v(),1),Ple=()=&gt;(0,pA.jsx)(p8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,pA.jsx)(p8.Path,{d:&quot;M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z&quot;})});var d8=o(L(),1),dA=o(v(),1),Ble=()=&gt;(0,dA.jsx)(d8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,dA.jsx)(d8.Path,{d:&quot;M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z&quot;})});var f8=o(L(),1),fA=o(v(),1),Ile=()=&gt;(0,fA.jsx)(f8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,fA.jsx)(f8.Path,{d:&quot;M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z&quot;})});var h8=o(L(),1),hA=o(v(),1),Nle=()=&gt;(0,hA.jsx)(h8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,hA.jsx)(h8.Path,{d:&quot;M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z&quot;})});var g8=o(L(),1),gA=o(v(),1),Ele=()=&gt;(0,gA.jsx)(g8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,gA.jsx)(g8.Path,{d:&quot;M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z&quot;})});var v8=o(L(),1),vA=o(v(),1),Dle=()=&gt;(0,vA.jsx)(v8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,vA.jsx)(v8.Path,{d:&quot;M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z&quot;})});var b8=o(L(),1),bA=o(v(),1),Lle=()=&gt;(0,bA.jsx)(b8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;,children:(0,bA.jsx)(b8.Path,{d:&quot;M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z&quot;})});var y8=o(L(),1),yA=o(v(),1),Mle=()=&gt;(0,yA.jsx)(y8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,yA.jsx)(y8.Path,{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.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z&quot;})});var _8=o(L(),1),_A=o(v(),1),Ale=()=&gt;(0,_A.jsx)(_8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,_A.jsx)(_8.Path,{d:&quot;M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z&quot;})});var x8=o(L(),1),xA=o(v(),1),Rle=()=&gt;(0,xA.jsx)(x8.SVG,{width:&quot;24&quot;,height:&quot;24&quot;,viewBox:&quot;0 0 24 24&quot;,version:&quot;1.1&quot;,children:(0,xA.jsx)(x8.Path,{d:&quot;M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z&quot;})});function zle(e){return e?.name?{icon:e?.icon??O2,label:e?.title??(0,kA.__)(&quot;Social Icon&quot;)}:{icon:O2,label:(0,kA.__)(&quot;Social Icon&quot;)}}var Zt=o(v(),1),J4e=({url:e,setAttributes:t,setPopover:r,popoverAnchor:a,clientId:n})=&gt;{let{removeBlock:i}=(0,k8.useDispatch)(gn.store);return(0,Zt.jsx)(gn.URLPopover,{anchor:a,&quot;aria-label&quot;:(0,Zn.__)(&quot;Edit social link&quot;),onClose:()=&gt;{r(!1),a?.focus()},children:(0,Zt.jsx)(&quot;form&quot;,{className:&quot;block-editor-url-popover__link-editor&quot;,onSubmit:l=&gt;{l.preventDefault(),r(!1),a?.focus()},children:(0,Zt.jsx)(&quot;div&quot;,{className:&quot;block-editor-url-input&quot;,children:(0,Zt.jsx)(gn.URLInput,{value:e,onChange:l=&gt;t({url:l}),placeholder:(0,Zn.__)(&quot;Enter social link&quot;),label:(0,Zn.__)(&quot;Enter social link&quot;),hideLabelFromVision:!0,disableSuggestions:!0,onKeyDown:l=&gt;{e||l.defaultPrevented||![Fg.BACKSPACE,Fg.DELETE].includes(l.keyCode)||i(n)},suffix:(0,Zt.jsx)(lo.__experimentalInputControlSuffixWrapper,{variant:&quot;control&quot;,children:(0,Zt.jsx)(lo.Button,{icon:gT,label:(0,Zn.__)(&quot;Apply&quot;),type:&quot;submit&quot;,size:&quot;small&quot;})})})})})})},e3e=({attributes:e,context:t,isSelected:r,setAttributes:a,clientId:n,name:i})=&gt;{let{url:l,service:s,label:c=&quot;&quot;,rel:u}=e,m=q(),{showLabels:p,iconColor:d,iconColorValue:f,iconBackgroundColor:h,iconBackgroundColorValue:g}=t,[b,y]=(0,tf.useState)(!1),k=w(&quot;wp-social-link&quot;,&quot;wp-block-social-link&quot;,&quot;wp-social-link-&quot;+s,{&quot;wp-social-link__is-incomplete&quot;:!l,[`has-${d}-color`]:d,[`has-${h}-background-color`]:h}),[_,x]=(0,tf.useState)(null),S=(0,gn.useBlockEditingMode)()===&quot;contentOnly&quot;,{activeVariation:C}=(0,k8.useSelect)(F=&gt;{let{getActiveBlockVariation:z}=F(Fle.store);return{activeVariation:z(i,e)}},[i,e]),{icon:N,label:B}=zle(C),D=c.trim()===&quot;&quot;?B:c,A=(0,tf.useRef)(),H=(0,gn.useBlockProps)({className:&quot;wp-block-social-link-anchor&quot;,ref:(0,Vle.useMergeRefs)([x,A]),onClick:()=&gt;y(!0),onKeyDown:F=&gt;{F.keyCode===Fg.ENTER&amp;&amp;(F.preventDefault(),y(!0))}});return(0,Zt.jsxs)(Zt.Fragment,{children:[S&amp;&amp;p&amp;&amp;(0,Zt.jsx)(gn.BlockControls,{group:&quot;other&quot;,children:(0,Zt.jsx)(lo.Dropdown,{popoverProps:{placement:&quot;bottom-start&quot;},renderToggle:({isOpen:F,onToggle:z})=&gt;(0,Zt.jsx)(lo.ToolbarButton,{onClick:z,&quot;aria-haspopup&quot;:&quot;true&quot;,&quot;aria-expanded&quot;:F,children:(0,Zn.__)(&quot;Text&quot;)}),renderContent:()=&gt;(0,Zt.jsx)(lo.TextControl,{__next40pxDefaultSize:!0,className:&quot;wp-block-social-link__toolbar_content_text&quot;,label:(0,Zn.__)(&quot;Text&quot;),help:(0,Zn.__)(&quot;Provide a text label or use the default.&quot;),value:c,onChange:F=&gt;a({label:F}),placeholder:B})})}),(0,Zt.jsx)(gn.InspectorControls,{children:(0,Zt.jsx)(lo.__experimentalToolsPanel,{label:(0,Zn.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({label:void 0})},dropdownMenuProps:m,children:(0,Zt.jsx)(lo.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Zn.__)(&quot;Text&quot;),hasValue:()=&gt;!!c,onDeselect:()=&gt;{a({label:void 0})},children:(0,Zt.jsx)(lo.TextControl,{__next40pxDefaultSize:!0,label:(0,Zn.__)(&quot;Text&quot;),help:(0,Zn.__)(&quot;The text is visible when enabled from the parent Social Icons block.&quot;),value:c,onChange:F=&gt;a({label:F}),placeholder:B})})})}),(0,Zt.jsx)(gn.InspectorControls,{group:&quot;advanced&quot;,children:(0,Zt.jsx)(lo.TextControl,{__next40pxDefaultSize:!0,label:(0,Zn.__)(&quot;Link relation&quot;),help:(0,tf.createInterpolateElement)((0,Zn.__)(&quot;The &lt;a&gt;Link Relation&lt;/a&gt; attribute defines the relationship between a linked resource and the current document.&quot;),{a:(0,Zt.jsx)(lo.ExternalLink,{href:&quot;https://developer.mozilla.org/docs/Web/HTML/Attributes/rel&quot;})}),value:u||&quot;&quot;,onChange:F=&gt;a({rel:F})})}),(0,Zt.jsxs)(&quot;li&quot;,{role:&quot;presentation&quot;,className:k,style:{color:f,backgroundColor:g},children:[(0,Zt.jsxs)(&quot;button&quot;,{&quot;aria-haspopup&quot;:&quot;dialog&quot;,...H,role:&quot;button&quot;,children:[(0,Zt.jsx)(lo.Icon,{icon:N}),(0,Zt.jsx)(&quot;span&quot;,{className:w(&quot;wp-block-social-link-label&quot;,{&quot;screen-reader-text&quot;:!p}),children:D})]}),r&amp;&amp;b&amp;&amp;(0,Zt.jsx)(J4e,{url:l,setAttributes:a,setPopover:y,popoverAnchor:_,clientId:n})]})]})},Hle=e3e;var w8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/social-link&quot;,title:&quot;Social Icon&quot;,category:&quot;widgets&quot;,parent:[&quot;core/social-links&quot;],description:&quot;Display an icon linking to a social profile or site.&quot;,textdomain:&quot;default&quot;,attributes:{url:{type:&quot;string&quot;,role:&quot;content&quot;},service:{type:&quot;string&quot;},label:{type:&quot;string&quot;,role:&quot;content&quot;},rel:{type:&quot;string&quot;}},usesContext:[&quot;openInNewTab&quot;,&quot;showLabels&quot;,&quot;iconColor&quot;,&quot;iconColorValue&quot;,&quot;iconBackgroundColor&quot;,&quot;iconBackgroundColorValue&quot;],supports:{anchor:!0,reusable:!1,html:!1,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-social-link-editor&quot;};var Be=o(P(),1);var Ole=[{isDefault:!0,name:&quot;wordpress&quot;,attributes:{service:&quot;wordpress&quot;},title:(0,Be._x)(&quot;WordPress&quot;,&quot;social link block variation name&quot;),icon:Lle},{name:&quot;fivehundredpx&quot;,attributes:{service:&quot;fivehundredpx&quot;},title:(0,Be._x)(&quot;500px&quot;,&quot;social link block variation name&quot;),icon:rle},{name:&quot;amazon&quot;,attributes:{service:&quot;amazon&quot;},title:(0,Be._x)(&quot;Amazon&quot;,&quot;social link block variation name&quot;),icon:Gie},{name:&quot;bandcamp&quot;,attributes:{service:&quot;bandcamp&quot;},title:(0,Be._x)(&quot;Bandcamp&quot;,&quot;social link block variation name&quot;),icon:Wie},{name:&quot;behance&quot;,attributes:{service:&quot;behance&quot;},title:(0,Be._x)(&quot;Behance&quot;,&quot;social link block variation name&quot;),icon:$ie},{name:&quot;bluesky&quot;,attributes:{service:&quot;bluesky&quot;},title:(0,Be._x)(&quot;Bluesky&quot;,&quot;social link block variation name&quot;),icon:qie},{name:&quot;chain&quot;,attributes:{service:&quot;chain&quot;},title:(0,Be._x)(&quot;Link&quot;,&quot;social link block variation name&quot;),icon:O2},{name:&quot;codepen&quot;,attributes:{service:&quot;codepen&quot;},title:(0,Be._x)(&quot;CodePen&quot;,&quot;social link block variation name&quot;),icon:Zie},{name:&quot;deviantart&quot;,attributes:{service:&quot;deviantart&quot;},title:(0,Be._x)(&quot;DeviantArt&quot;,&quot;social link block variation name&quot;),icon:Kie},{name:&quot;discord&quot;,attributes:{service:&quot;discord&quot;},title:(0,Be._x)(&quot;Discord&quot;,&quot;social link block variation name&quot;),icon:Qie},{name:&quot;dribbble&quot;,attributes:{service:&quot;dribbble&quot;},title:(0,Be._x)(&quot;Dribbble&quot;,&quot;social link block variation name&quot;),icon:Yie},{name:&quot;dropbox&quot;,attributes:{service:&quot;dropbox&quot;},title:(0,Be._x)(&quot;Dropbox&quot;,&quot;social link block variation name&quot;),icon:Xie},{name:&quot;etsy&quot;,attributes:{service:&quot;etsy&quot;},title:(0,Be._x)(&quot;Etsy&quot;,&quot;social link block variation name&quot;),icon:Jie},{name:&quot;facebook&quot;,attributes:{service:&quot;facebook&quot;},title:(0,Be._x)(&quot;Facebook&quot;,&quot;social link block variation name&quot;),icon:ele},{name:&quot;feed&quot;,attributes:{service:&quot;feed&quot;},title:(0,Be._x)(&quot;RSS Feed&quot;,&quot;social link block variation name&quot;),icon:tle},{name:&quot;flickr&quot;,attributes:{service:&quot;flickr&quot;},title:(0,Be._x)(&quot;Flickr&quot;,&quot;social link block variation name&quot;),icon:ole},{name:&quot;foursquare&quot;,attributes:{service:&quot;foursquare&quot;},title:(0,Be._x)(&quot;Foursquare&quot;,&quot;social link block variation name&quot;),icon:ale},{name:&quot;goodreads&quot;,attributes:{service:&quot;goodreads&quot;},title:(0,Be._x)(&quot;Goodreads&quot;,&quot;social link block variation name&quot;),icon:nle},{name:&quot;google&quot;,attributes:{service:&quot;google&quot;},title:(0,Be._x)(&quot;Google&quot;,&quot;social link block variation name&quot;),icon:ile},{name:&quot;github&quot;,attributes:{service:&quot;github&quot;},title:(0,Be._x)(&quot;GitHub&quot;,&quot;social link block variation name&quot;),icon:lle},{name:&quot;gravatar&quot;,attributes:{service:&quot;gravatar&quot;},title:(0,Be._x)(&quot;Gravatar&quot;,&quot;social link block variation name&quot;),icon:sle},{name:&quot;instagram&quot;,attributes:{service:&quot;instagram&quot;},title:(0,Be._x)(&quot;Instagram&quot;,&quot;social link block variation name&quot;),icon:cle},{name:&quot;lastfm&quot;,attributes:{service:&quot;lastfm&quot;},title:(0,Be._x)(&quot;Last.fm&quot;,&quot;social link block variation name&quot;),icon:ule},{name:&quot;linkedin&quot;,attributes:{service:&quot;linkedin&quot;},title:(0,Be._x)(&quot;LinkedIn&quot;,&quot;social link block variation name&quot;),icon:mle},{name:&quot;mail&quot;,attributes:{service:&quot;mail&quot;},title:(0,Be._x)(&quot;Mail&quot;,&quot;social link block variation name&quot;),keywords:[&quot;email&quot;,&quot;e-mail&quot;],icon:ple},{name:&quot;mastodon&quot;,attributes:{service:&quot;mastodon&quot;},title:(0,Be._x)(&quot;Mastodon&quot;,&quot;social link block variation name&quot;),icon:dle},{name:&quot;meetup&quot;,attributes:{service:&quot;meetup&quot;},title:(0,Be._x)(&quot;Meetup&quot;,&quot;social link block variation name&quot;),icon:fle},{name:&quot;medium&quot;,attributes:{service:&quot;medium&quot;},title:(0,Be._x)(&quot;Medium&quot;,&quot;social link block variation name&quot;),icon:hle},{name:&quot;patreon&quot;,attributes:{service:&quot;patreon&quot;},title:(0,Be._x)(&quot;Patreon&quot;,&quot;social link block variation name&quot;),icon:gle},{name:&quot;pinterest&quot;,attributes:{service:&quot;pinterest&quot;},title:(0,Be._x)(&quot;Pinterest&quot;,&quot;social link block variation name&quot;),icon:vle},{name:&quot;pocket&quot;,attributes:{service:&quot;pocket&quot;},title:(0,Be._x)(&quot;Pocket&quot;,&quot;social link block variation name&quot;),icon:ble},{name:&quot;reddit&quot;,attributes:{service:&quot;reddit&quot;},title:(0,Be._x)(&quot;Reddit&quot;,&quot;social link block variation name&quot;),icon:yle},{name:&quot;skype&quot;,attributes:{service:&quot;skype&quot;},title:(0,Be._x)(&quot;Skype&quot;,&quot;social link block variation name&quot;),icon:_le,scope:[]},{name:&quot;snapchat&quot;,attributes:{service:&quot;snapchat&quot;},title:(0,Be._x)(&quot;Snapchat&quot;,&quot;social link block variation name&quot;),icon:xle},{name:&quot;soundcloud&quot;,attributes:{service:&quot;soundcloud&quot;},title:(0,Be._x)(&quot;SoundCloud&quot;,&quot;social link block variation name&quot;),icon:kle},{name:&quot;spotify&quot;,attributes:{service:&quot;spotify&quot;},title:(0,Be._x)(&quot;Spotify&quot;,&quot;social link block variation name&quot;),icon:wle},{name:&quot;telegram&quot;,attributes:{service:&quot;telegram&quot;},title:(0,Be._x)(&quot;Telegram&quot;,&quot;social link block variation name&quot;),icon:Cle},{name:&quot;threads&quot;,attributes:{service:&quot;threads&quot;},title:(0,Be._x)(&quot;Threads&quot;,&quot;social link block variation name&quot;),icon:Sle},{name:&quot;tiktok&quot;,attributes:{service:&quot;tiktok&quot;},title:(0,Be._x)(&quot;TikTok&quot;,&quot;social link block variation name&quot;),icon:Tle},{name:&quot;tumblr&quot;,attributes:{service:&quot;tumblr&quot;},title:(0,Be._x)(&quot;Tumblr&quot;,&quot;social link block variation name&quot;),icon:Ple},{name:&quot;twitch&quot;,attributes:{service:&quot;twitch&quot;},title:(0,Be._x)(&quot;Twitch&quot;,&quot;social link block variation name&quot;),icon:Ble},{name:&quot;twitter&quot;,attributes:{service:&quot;twitter&quot;},title:(0,Be._x)(&quot;Twitter&quot;,&quot;social link block variation name&quot;),icon:Ile},{name:&quot;vimeo&quot;,attributes:{service:&quot;vimeo&quot;},title:(0,Be._x)(&quot;Vimeo&quot;,&quot;social link block variation name&quot;),icon:Nle},{name:&quot;vk&quot;,attributes:{service:&quot;vk&quot;},title:(0,Be._x)(&quot;VK&quot;,&quot;social link block variation name&quot;),icon:Ele},{name:&quot;whatsapp&quot;,attributes:{service:&quot;whatsapp&quot;},title:(0,Be._x)(&quot;WhatsApp&quot;,&quot;social link block variation name&quot;),icon:Dle},{name:&quot;x&quot;,attributes:{service:&quot;x&quot;},keywords:[&quot;twitter&quot;],title:(0,Be._x)(&quot;X&quot;,&quot;social link block variation name&quot;),icon:Mle},{name:&quot;yelp&quot;,attributes:{service:&quot;yelp&quot;},title:(0,Be._x)(&quot;Yelp&quot;,&quot;social link block variation name&quot;),icon:Ale},{name:&quot;youtube&quot;,attributes:{service:&quot;youtube&quot;},title:(0,Be._x)(&quot;YouTube&quot;,&quot;social link block variation name&quot;),icon:Rle}];Ole.forEach(e=&gt;{e.isActive||(e.isActive=(t,r)=&gt;t.service===r.service)});var jle=Ole;var{fieldsKey:r3e,formKey:o3e}=K(Ule.privateApis),{name:Gle}=w8,C8={icon:s1,edit:Hle,variations:jle};window.__experimentalContentOnlyInspectorFields&amp;&amp;(C8[r3e]=[{id:&quot;link&quot;,label:(0,wA.__)(&quot;Link&quot;),type:&quot;url&quot;,Edit:&quot;link&quot;,getValue:({item:e})=&gt;({url:e.url,rel:e.rel}),setValue:({value:e})=&gt;({url:e.url,rel:e.rel})},{id:&quot;label&quot;,label:(0,wA.__)(&quot;Label&quot;),type:&quot;text&quot;}],C8[o3e]={fields:[&quot;link&quot;,&quot;label&quot;]});var a3e=()=&gt;E({name:Gle,metadata:w8,settings:C8});var TA={};Z(TA,{init:()=&gt;m3e,metadata:()=&gt;T8,name:()=&gt;Yle,settings:()=&gt;Xle});var S8=o(T(),1),SA=o(v(),1),n3e=e=&gt;{if(e.layout)return e;let{className:t}=e,r=&quot;items-justified-&quot;,a=new RegExp(`\\b${r}[^ ]*[ ]?\\b`,&quot;g&quot;),n={...e,className:t?.replace(a,&quot;&quot;).trim()},i=t?.match(a)?.[0]?.trim();return i&amp;&amp;Object.assign(n,{layout:{type:&quot;flex&quot;,justifyContent:i.slice(r.length)}}),n},i3e=[{attributes:{iconColor:{type:&quot;string&quot;},customIconColor:{type:&quot;string&quot;},iconColorValue:{type:&quot;string&quot;},iconBackgroundColor:{type:&quot;string&quot;},customIconBackgroundColor:{type:&quot;string&quot;},iconBackgroundColorValue:{type:&quot;string&quot;},openInNewTab:{type:&quot;boolean&quot;,default:!1},size:{type:&quot;string&quot;}},providesContext:{openInNewTab:&quot;openInNewTab&quot;},supports:{align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],anchor:!0},migrate:n3e,save:e=&gt;{let{attributes:{iconBackgroundColorValue:t,iconColorValue:r,itemsJustification:a,size:n}}=e,i=w(n,{&quot;has-icon-color&quot;:r,&quot;has-icon-background-color&quot;:t,[`items-justified-${a}`]:a}),l={&quot;--wp--social-links--icon-color&quot;:r,&quot;--wp--social-links--icon-background-color&quot;:t};return(0,SA.jsx)(&quot;ul&quot;,{...S8.useBlockProps.save({className:i,style:l}),children:(0,SA.jsx)(S8.InnerBlocks.Content,{})})}}],Wle=i3e;var $le=o(U(),1),xo=o(T(),1),ds=o(M(),1),vn=o(P(),1),qle=o(V(),1);var da=o(v(),1),l3e=[{label:(0,vn.__)(&quot;Default&quot;),value:&quot;&quot;},{label:(0,vn.__)(&quot;Small&quot;),value:&quot;has-small-icon-size&quot;},{label:(0,vn.__)(&quot;Normal&quot;),value:&quot;has-normal-icon-size&quot;},{label:(0,vn.__)(&quot;Large&quot;),value:&quot;has-large-icon-size&quot;},{label:(0,vn.__)(&quot;Huge&quot;),value:&quot;has-huge-icon-size&quot;}];function s3e(e){let{clientId:t,attributes:r,iconBackgroundColor:a,iconColor:n,isSelected:i,setAttributes:l,setIconBackgroundColor:s,setIconColor:c}=e,{iconBackgroundColorValue:u,iconColorValue:m,openInNewTab:p,showLabels:d,size:f}=r,{hasSocialIcons:h,hasSelectedChild:g}=(0,qle.useSelect)(B=&gt;{let{getBlockCount:D,hasSelectedInnerBlock:A}=B(xo.store);return{hasSocialIcons:D(t)&gt;0,hasSelectedChild:A(t)}},[t]),b=i||g,y=r.className?.includes(&quot;is-style-logos-only&quot;),k=q();(0,$le.useEffect)(()=&gt;{if(y){let B;return l(D=&gt;(B={iconBackgroundColor:D.iconBackgroundColor,iconBackgroundColorValue:D.iconBackgroundColorValue,customIconBackgroundColor:D.customIconBackgroundColor},{iconBackgroundColor:void 0,iconBackgroundColorValue:void 0,customIconBackgroundColor:void 0})),()=&gt;l({...B})}},[y,l]);let _=w(f,{&quot;has-visible-labels&quot;:d,&quot;has-icon-color&quot;:n.color||m,&quot;has-icon-background-color&quot;:a.color||u}),x=(0,xo.useBlockProps)({className:_}),S=(0,xo.useInnerBlocksProps)(x,{templateLock:!1,orientation:r.layout?.orientation??&quot;horizontal&quot;,__experimentalAppenderTagName:&quot;li&quot;,renderAppender:!h||b?xo.InnerBlocks.ButtonBlockAppender:void 0}),C=[{value:n.color||m,onChange:B=&gt;{c(B),l({iconColorValue:B})},label:(0,vn.__)(&quot;Icon color&quot;),resetAllFilter:()=&gt;{c(void 0),l({iconColorValue:void 0})}}];y||C.push({value:a.color||u,onChange:B=&gt;{s(B),l({iconBackgroundColorValue:B})},label:(0,vn.__)(&quot;Icon background&quot;),resetAllFilter:()=&gt;{s(void 0),l({iconBackgroundColorValue:void 0})}});let N=(0,xo.__experimentalUseMultipleOriginColorsAndGradients)();return(0,da.jsxs)(da.Fragment,{children:[(0,da.jsx)(xo.InspectorControls,{children:(0,da.jsxs)(ds.__experimentalToolsPanel,{label:(0,vn.__)(&quot;Settings&quot;),resetAll:()=&gt;{l({openInNewTab:!1,showLabels:!1,size:void 0})},dropdownMenuProps:k,children:[(0,da.jsx)(ds.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=&gt;!!f,label:(0,vn.__)(&quot;Icon size&quot;),onDeselect:()=&gt;l({size:void 0}),children:(0,da.jsx)(ds.SelectControl,{__next40pxDefaultSize:!0,label:(0,vn.__)(&quot;Icon size&quot;),onChange:B=&gt;{l({size:B===&quot;&quot;?void 0:B})},value:f??&quot;&quot;,options:l3e})}),(0,da.jsx)(ds.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,vn.__)(&quot;Show text&quot;),hasValue:()=&gt;!!d,onDeselect:()=&gt;l({showLabels:!1}),children:(0,da.jsx)(ds.ToggleControl,{label:(0,vn.__)(&quot;Show text&quot;),checked:d,onChange:()=&gt;l({showLabels:!d})})}),(0,da.jsx)(ds.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,vn.__)(&quot;Open links in new tab&quot;),hasValue:()=&gt;!!p,onDeselect:()=&gt;l({openInNewTab:!1}),children:(0,da.jsx)(ds.ToggleControl,{label:(0,vn.__)(&quot;Open links in new tab&quot;),checked:p,onChange:()=&gt;l({openInNewTab:!p})})})]})}),N.hasColorsOrGradients&amp;&amp;(0,da.jsxs)(xo.InspectorControls,{group:&quot;color&quot;,children:[C.map(({onChange:B,label:D,value:A,resetAllFilter:H})=&gt;(0,da.jsx)(xo.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:A,label:D,onColorChange:B,isShownByDefault:!0,resetAllFilter:H,enableAlpha:!0,clearable:!0}],panelId:t,...N},`social-links-color-${D}`)),!y&amp;&amp;(0,da.jsx)(xo.ContrastChecker,{textColor:m,backgroundColor:u,isLargeText:!1})]}),(0,da.jsx)(&quot;ul&quot;,{...S})]})}var c3e={iconColor:&quot;icon-color&quot;,iconBackgroundColor:&quot;icon-background-color&quot;},Zle=(0,xo.withColors)(c3e)(s3e);var T8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/social-links&quot;,title:&quot;Social Icons&quot;,category:&quot;widgets&quot;,allowedBlocks:[&quot;core/social-link&quot;],description:&quot;Display icons linking to your social profiles or sites.&quot;,keywords:[&quot;links&quot;],textdomain:&quot;default&quot;,attributes:{iconColor:{type:&quot;string&quot;},customIconColor:{type:&quot;string&quot;},iconColorValue:{type:&quot;string&quot;},iconBackgroundColor:{type:&quot;string&quot;},customIconBackgroundColor:{type:&quot;string&quot;},iconBackgroundColorValue:{type:&quot;string&quot;},openInNewTab:{type:&quot;boolean&quot;,default:!1},showLabels:{type:&quot;boolean&quot;,default:!1},size:{type:&quot;string&quot;}},providesContext:{openInNewTab:&quot;openInNewTab&quot;,showLabels:&quot;showLabels&quot;,iconColor:&quot;iconColor&quot;,iconColorValue:&quot;iconColorValue&quot;,iconBackgroundColor:&quot;iconBackgroundColor&quot;,iconBackgroundColorValue:&quot;iconBackgroundColorValue&quot;},supports:{align:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;],anchor:!0,html:!1,__experimentalExposeControlsToChildren:!0,layout:{allowSwitching:!1,allowInheriting:!1,allowVerticalAlignment:!1,default:{type:&quot;flex&quot;}},color:{enableContrastChecker:!1,background:!0,gradients:!0,text:!1,__experimentalDefaultControls:{background:!1}},spacing:{blockGap:[&quot;horizontal&quot;,&quot;vertical&quot;],margin:!0,padding:!0,units:[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vh&quot;,&quot;vw&quot;],__experimentalDefaultControls:{blockGap:!0,margin:!0,padding:!1}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},contentRole:!0,listView:!0},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;logos-only&quot;,label:&quot;Logos Only&quot;},{name:&quot;pill-shape&quot;,label:&quot;Pill Shape&quot;}],editorStyle:&quot;wp-block-social-links-editor&quot;,style:&quot;wp-block-social-links&quot;};var P8=o(T(),1),Kle=o(v(),1);function Qle(e){let{attributes:{iconBackgroundColorValue:t,iconColorValue:r,showLabels:a,size:n}}=e,i=w(n,{&quot;has-visible-labels&quot;:a,&quot;has-icon-color&quot;:r,&quot;has-icon-background-color&quot;:t}),l=P8.useBlockProps.save({className:i}),s=P8.useInnerBlocksProps.save(l);return(0,Kle.jsx)(&quot;ul&quot;,{...s})}var{name:Yle}=T8,Xle={example:{innerBlocks:[{name:&quot;core/social-link&quot;,attributes:{service:&quot;wordpress&quot;,url:&quot;https://wordpress.org&quot;}},{name:&quot;core/social-link&quot;,attributes:{service:&quot;facebook&quot;,url:&quot;https://www.facebook.com/WordPress/&quot;}},{name:&quot;core/social-link&quot;,attributes:{service:&quot;twitter&quot;,url:&quot;https://twitter.com/WordPress&quot;}}]},icon:s1,edit:Zle,save:Qle,deprecated:Wle},m3e=()=&gt;E({name:Yle,metadata:T8,settings:Xle});var PA={};Z(PA,{init:()=&gt;b3e,metadata:()=&gt;I8,name:()=&gt;fse,settings:()=&gt;hse});var Jle=o(T(),1),ese=o(v(),1),p3e=[{attributes:{height:{type:&quot;number&quot;,default:100},width:{type:&quot;number&quot;}},migrate(e){let{height:t,width:r}=e;return{...e,width:r!==void 0?`${r}px`:void 0,height:t!==void 0?`${t}px`:void 0}},save({attributes:e}){return(0,ese.jsx)(&quot;div&quot;,{...Jle.useBlockProps.save({style:{height:e.height,width:e.width},&quot;aria-hidden&quot;:!0})})}}],tse=p3e;var fa=o(T(),1),lse=o(M(),1),Og=o(U(),1),sse=o(L(),1),B8=o(V(),1);var Hg=o(P(),1),Tc=o(T(),1),bl=o(M(),1),ose=o(me(),1),ase=o(L(),1);var j2=0;var Kn=o(v(),1),{useSpacingSizes:d3e}=K(Tc.privateApis);function rse({label:e,onChange:t,isResizing:r,value:a=&quot;&quot;}){let n=(0,ose.useInstanceId)(bl.__experimentalUnitControl,&quot;block-spacer-height-input&quot;),i=d3e(),[l]=(0,Tc.useSettings)(&quot;spacing.units&quot;),s=l?l.filter(d=&gt;d!==&quot;%&quot;):[&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;vw&quot;,&quot;vh&quot;],c=(0,bl.__experimentalUseCustomUnits)({availableUnits:s,defaultValues:{px:100,em:10,rem:10,vw:10,vh:25}}),[u,m]=(0,bl.__experimentalParseQuantityAndUnitFromRawValue)(a),p=(0,Tc.isValueSpacingPreset)(a)?a:[u,r?&quot;px&quot;:m].join(&quot;&quot;);return(0,Kn.jsx)(Kn.Fragment,{children:i?.length&lt;2?(0,Kn.jsx)(bl.__experimentalUnitControl,{id:n,isResetValueOnUnitChange:!0,min:j2,onChange:t,value:p,units:c,label:e,__next40pxDefaultSize:!0}):(0,Kn.jsx)(ase.View,{className:&quot;tools-panel-item-spacing&quot;,children:(0,Kn.jsx)(Tc.__experimentalSpacingSizesControl,{values:{all:p},onChange:({all:d})=&gt;{t(d)},label:e,sides:[&quot;all&quot;],units:c,allowReset:!1,splitOnAxis:!1,showSideInLabel:!1})})})}function nse({setAttributes:e,orientation:t,height:r,width:a,isResizing:n}){let i=q();return(0,Kn.jsx)(Tc.InspectorControls,{children:(0,Kn.jsxs)(bl.__experimentalToolsPanel,{label:(0,Hg.__)(&quot;Settings&quot;),resetAll:()=&gt;{e({width:void 0,height:&quot;100px&quot;})},dropdownMenuProps:i,children:[t===&quot;horizontal&quot;&amp;&amp;(0,Kn.jsx)(bl.__experimentalToolsPanelItem,{label:(0,Hg.__)(&quot;Width&quot;),isShownByDefault:!0,hasValue:()=&gt;a!==void 0,onDeselect:()=&gt;e({width:void 0}),children:(0,Kn.jsx)(rse,{label:(0,Hg.__)(&quot;Width&quot;),value:a,onChange:l=&gt;e({width:l}),isResizing:n})}),t!==&quot;horizontal&quot;&amp;&amp;(0,Kn.jsx)(bl.__experimentalToolsPanelItem,{label:(0,Hg.__)(&quot;Height&quot;),isShownByDefault:!0,hasValue:()=&gt;r!==&quot;100px&quot;,onDeselect:()=&gt;e({height:&quot;100px&quot;}),children:(0,Kn.jsx)(rse,{label:(0,Hg.__)(&quot;Height&quot;),value:r,onChange:l=&gt;e({height:l}),isResizing:n})})]})})}var yl=o(v(),1),{useSpacingSizes:f3e}=K(fa.privateApis),ise=({orientation:e,onResizeStart:t,onResize:r,onResizeStop:a,isSelected:n,isResizing:i,setIsResizing:l,...s})=&gt;{let c=m=&gt;e===&quot;horizontal&quot;?m.clientWidth:m.clientHeight,u=m=&gt;`${c(m)}px`;return(0,yl.jsx)(lse.ResizableBox,{className:w(&quot;block-library-spacer__resize-container&quot;,{&quot;resize-horizontal&quot;:e===&quot;horizontal&quot;,&quot;is-resizing&quot;:i,&quot;is-selected&quot;:n}),onResizeStart:(m,p,d)=&gt;{let f=u(d);t(f),r(f)},onResize:(m,p,d)=&gt;{r(u(d)),i||l(!0)},onResizeStop:(m,p,d)=&gt;{let f=c(d);a(`${f}px`),l(!1)},__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:e===&quot;horizontal&quot;?&quot;x&quot;:&quot;y&quot;,position:&quot;corner&quot;,isVisible:i},showHandle:n,...s})},h3e=({attributes:e,isSelected:t,setAttributes:r,toggleSelection:a,context:n,__unstableParentLayout:i,className:l})=&gt;{let s=(0,B8.useSelect)(oe=&gt;oe(fa.store).getSettings()?.disableCustomSpacingSizes),{orientation:c}=n,{orientation:u,type:m,default:{type:p}={}}=i||{},d=m===&quot;flex&quot;||!m&amp;&amp;p===&quot;flex&quot;,f=!u&amp;&amp;d?&quot;horizontal&quot;:u||c,{height:h,width:g,style:b={}}=e,{layout:y={}}=b,{selfStretch:k,flexSize:_}=y,x=f3e(),[S,C]=(0,Og.useState)(!1),[N,B]=(0,Og.useState)(null),[D,A]=(0,Og.useState)(null),H=()=&gt;a(!1),F=()=&gt;a(!0),{__unstableMarkNextChangeAsNotPersistent:z}=(0,B8.useDispatch)(fa.store),I=oe=&gt;{F(),d&amp;&amp;r({style:{...b,layout:{...y,flexSize:oe,selfStretch:&quot;fixed&quot;}}}),r({height:oe}),B(null)},R=oe=&gt;{F(),d&amp;&amp;r({style:{...b,layout:{...y,flexSize:oe,selfStretch:&quot;fixed&quot;}}}),r({width:oe}),A(null)},$=()=&gt;{if(!d)return N||(0,fa.getSpacingPresetCssVar)(h)||void 0},j=()=&gt;{if(!d)return D||(0,fa.getSpacingPresetCssVar)(g)||void 0},G=f===&quot;horizontal&quot;?D||_:N||_,O={height:f===&quot;horizontal&quot;?24:$(),width:f===&quot;horizontal&quot;?j():void 0,minWidth:f===&quot;vertical&quot;&amp;&amp;d?48:void 0,flexBasis:d?G:void 0,flexGrow:d&amp;&amp;S?0:void 0},J=oe=&gt;oe===&quot;horizontal&quot;?(0,yl.jsx)(ise,{minWidth:j2,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:oe,onResizeStart:H,onResize:A,onResizeStop:R,isSelected:t,isResizing:S,setIsResizing:C}):(0,yl.jsx)(yl.Fragment,{children:(0,yl.jsx)(ise,{minHeight:j2,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:oe,onResizeStart:H,onResize:B,onResizeStop:I,isSelected:t,isResizing:S,setIsResizing:C})});(0,Og.useEffect)(()=&gt;{let oe=X=&gt;{z(),r(X)};if(d&amp;&amp;k!==&quot;fill&quot;&amp;&amp;k!==&quot;fit&quot;&amp;&amp;_===void 0)if(f===&quot;horizontal&quot;){let X=(0,fa.getCustomValueFromPreset)(g,x)||(0,fa.getCustomValueFromPreset)(h,x)||&quot;100px&quot;;oe({width:&quot;0px&quot;,style:{...b,layout:{...y,flexSize:X,selfStretch:&quot;fixed&quot;}}})}else{let X=(0,fa.getCustomValueFromPreset)(h,x)||(0,fa.getCustomValueFromPreset)(g,x)||&quot;100px&quot;;oe({height:&quot;0px&quot;,style:{...b,layout:{...y,flexSize:X,selfStretch:&quot;fixed&quot;}}})}else d&amp;&amp;(k===&quot;fill&quot;||k===&quot;fit&quot;)?oe(f===&quot;horizontal&quot;?{width:void 0}:{height:void 0}):!d&amp;&amp;(k||_)&amp;&amp;oe({...f===&quot;horizontal&quot;?{width:_}:{height:_},style:{...b,layout:{...y,flexSize:void 0,selfStretch:void 0}}})},[b,_,h,f,d,y,k,r,x,g,z]);let ee=(0,fa.useBlockEditingMode)();return(0,yl.jsxs)(yl.Fragment,{children:[(0,yl.jsx)(sse.View,{...(0,fa.useBlockProps)({style:O,className:w(l,{&quot;custom-sizes-disabled&quot;:s})}),children:ee===&quot;default&quot;&amp;&amp;J(f)}),!d&amp;&amp;(0,yl.jsx)(nse,{setAttributes:r,height:N||h,width:D||g,orientation:f,isResizing:S})]})},cse=h3e;var I8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/spacer&quot;,title:&quot;Spacer&quot;,category:&quot;design&quot;,description:&quot;Add white space between blocks and customize its height.&quot;,textdomain:&quot;default&quot;,attributes:{height:{type:&quot;string&quot;,default:&quot;100px&quot;},width:{type:&quot;string&quot;}},usesContext:[&quot;orientation&quot;],supports:{anchor:!0,spacing:{margin:[&quot;top&quot;,&quot;bottom&quot;],__experimentalDefaultControls:{margin:!0}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-spacer-editor&quot;,style:&quot;wp-block-spacer&quot;};var use=o(W(),1),v3e={to:[{type:&quot;block&quot;,blocks:[&quot;core/separator&quot;],transform:({anchor:e})=&gt;(0,use.createBlock)(&quot;core/separator&quot;,{anchor:e||void 0})}]},mse=v3e;var U2=o(T(),1),pse=o(v(),1);function dse({attributes:e}){let{height:t,width:r,style:a}=e,{layout:{selfStretch:n}={}}=a||{},i=n===&quot;fill&quot;||n===&quot;fit&quot;?void 0:t;return(0,pse.jsx)(&quot;div&quot;,{...U2.useBlockProps.save({style:{height:(0,U2.getSpacingPresetCssVar)(i),width:(0,U2.getSpacingPresetCssVar)(r)},&quot;aria-hidden&quot;:!0})})}var{name:fse}=I8,hse={icon:OP,transforms:mse,edit:cse,save:dse,deprecated:tse},b3e=()=&gt;E({name:fse,metadata:I8,settings:hse});var BA={};Z(BA,{init:()=&gt;k3e,metadata:()=&gt;j8,name:()=&gt;Sse,settings:()=&gt;Tse});var xse=o(P(),1),rf=o(T(),1),F8=o(V(),1),Nu=o(U(),1);var z8=o(T(),1),jg=o(M(),1),R8=o(P(),1),bse=o(V(),1);var G2=o(P(),1),gse=o(W(),1),W2=o(T(),1),E8=o(M(),1),D8=o(V(),1),N8=o(v(),1);function fs({tabsClientId:e}){let{insertBlock:t}=(0,D8.useDispatch)(W2.store),{tabPanelClientId:r,nextTabIndex:a}=(0,D8.useSelect)(i=&gt;{if(!e)return{tabPanelClientId:null,nextTabIndex:0};let{getBlocks:l}=i(W2.store),c=l(e).find(u=&gt;u.name===&quot;core/tab-panel&quot;);return{tabPanelClientId:c?.clientId||null,nextTabIndex:(c?.innerBlocks.length||0)+1}},[e]);return(0,N8.jsx)(W2.BlockControls,{group:&quot;other&quot;,children:(0,N8.jsx)(E8.ToolbarGroup,{children:(0,N8.jsx)(E8.ToolbarButton,{className:&quot;components-toolbar__control&quot;,onClick:()=&gt;{if(!r)return;let i=(0,gse.createBlock)(&quot;core/tab&quot;,{anchor:&quot;tab-&quot;+a,label:(0,G2.sprintf)((0,G2.__)(&quot;Tab %d&quot;),a)});t(i,void 0,r)},text:(0,G2.__)(&quot;Add tab&quot;)})})})}var $2=o(T(),1),M8=o(M(),1),vse=o(P(),1),A8=o(V(),1),L8=o(v(),1);function hs({tabsClientId:e}){let{removeBlock:t,updateBlockAttributes:r,selectBlock:a,__unstableMarkNextChangeAsNotPersistent:n}=(0,A8.useDispatch)($2.store),{activeTabClientId:i,tabCount:l,editorActiveTabIndex:s}=(0,A8.useSelect)(m=&gt;{if(!e)return{activeTabClientId:null,tabCount:0,editorActiveTabIndex:0};let{getBlocks:p,getBlockAttributes:d}=m($2.store),f=d(e),h=f?.editorActiveTabIndex??f?.activeTabIndex??0,y=p(e).find(_=&gt;_.name===&quot;core/tab-panel&quot;)?.innerBlocks||[];return{activeTabClientId:y[h]?.clientId||null,tabCount:y.length,editorActiveTabIndex:h}},[e]),c=()=&gt;{if(!i||l&lt;=1)return;let m=s&gt;=l-1?l-2:s;n(),r(e,{editorActiveTabIndex:m}),t(i,!1),e&amp;&amp;a(e)},u=l&lt;=1||!i;return(0,L8.jsx)($2.BlockControls,{group:&quot;other&quot;,children:(0,L8.jsx)(M8.ToolbarGroup,{children:(0,L8.jsx)(M8.ToolbarButton,{className:&quot;components-toolbar__control&quot;,onClick:c,text:(0,vse.__)(&quot;Remove tab&quot;),disabled:u})})})}var gs=o(v(),1);function yse({tabsClientId:e,blockIndex:t,isDefaultTab:r}){let{updateBlockAttributes:a}=(0,bse.useDispatch)(z8.store),n=q();return(0,gs.jsxs)(gs.Fragment,{children:[(0,gs.jsx)(fs,{tabsClientId:e}),(0,gs.jsx)(hs,{tabsClientId:e}),(0,gs.jsx)(z8.InspectorControls,{children:(0,gs.jsx)(jg.__experimentalToolsPanel,{label:(0,R8.__)(&quot;Settings&quot;),resetAll:()=&gt;{a(e,{activeTabIndex:0})},dropdownMenuProps:n,children:(0,gs.jsx)(jg.__experimentalToolsPanelItem,{label:(0,R8.__)(&quot;Default tab&quot;),hasValue:()=&gt;r&amp;&amp;t!==0,onDeselect:()=&gt;{a(e,{activeTabIndex:0})},isShownByDefault:!0,children:(0,gs.jsx)(jg.CheckboxControl,{label:(0,R8.__)(&quot;Default tab&quot;),checked:r,onChange:i=&gt;{a(e,{activeTabIndex:i?t:0})}})})})})]})}var _se=o(mr(),1);function V8(e,t){let r=new window.DOMParser().parseFromString(e,&quot;text/html&quot;);return r.body?.textContent?(0,_se.cleanForSlug)(r.body.textContent):`tab-panel-${t}`}var H8=o(v(),1),y3e=[[&quot;core/paragraph&quot;,{placeholder:(0,xse.__)(&quot;Type / to choose a block&quot;)}]],{cancelAnimationFrame:_3e}=window;function kse({attributes:e,clientId:t,context:r,isSelected:a,__unstableLayoutClassNames:n}){let i=(0,Nu.useRef)(),{anchor:l,label:s}=e,c=r[&quot;core/tabs-activeTabIndex&quot;]??0,m=r[&quot;core/tabs-editorActiveTabIndex&quot;]??c;(0,Nu.useEffect)(()=&gt;()=&gt;{i.current&amp;&amp;_3e(i.current)},[]);let{blockIndex:p,hasInnerBlocksSelected:d,tabsClientId:f}=(0,F8.useSelect)(N=&gt;{let{getBlockRootClientId:B,getBlockIndex:D,hasSelectedInnerBlock:A}=N(rf.store),H=B(t),F=B(H),z=D(t),I=A(t,!0);return{blockIndex:z,hasInnerBlocksSelected:I,tabsClientId:F}},[t]),{updateBlockAttributes:h,__unstableMarkNextChangeAsNotPersistent:g}=(0,F8.useDispatch)(rf.store);(0,Nu.useEffect)(()=&gt;{(a||d)&amp;&amp;f&amp;&amp;m!==p&amp;&amp;(g(),h(f,{editorActiveTabIndex:p}))},[a,d,f,m,p,h,g]);let b=m===p,y=c===p,k=(0,Nu.useMemo)(()=&gt;!!(a||d||b),[a,d,b]),_=(0,Nu.useMemo)(()=&gt;l||V8(s,p),[l,s,p]),x=(0,Nu.useMemo)(()=&gt;`${_}--tab`,[_]),S=(0,rf.useBlockProps)({hidden:!k,&quot;aria-labelledby&quot;:x,id:_,role:&quot;tabpanel&quot;,tabIndex:k?0:-1,className:w(&quot;wp-block-tab__editor-content&quot;,n)}),C=(0,rf.useInnerBlocksProps)(S,{template:y3e});return(0,H8.jsxs)(&quot;section&quot;,{...C,children:[(0,H8.jsx)(yse,{tabsClientId:f,blockIndex:p,isDefaultTab:y}),k&amp;&amp;C.children]})}var O8=o(T(),1),wse=o(v(),1);function Cse({attributes:e}){let{anchor:t}=e,r=t,a=O8.useBlockProps.save({role:&quot;tabpanel&quot;}),n=O8.useInnerBlocksProps.save(a);return(0,wse.jsx)(&quot;section&quot;,{...n,id:r})}var j8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,__experimental:!0,apiVersion:3,name:&quot;core/tab&quot;,title:&quot;Tab&quot;,description:&quot;Content for a tab in a tabbed interface.&quot;,version:&quot;1.0.0&quot;,category:&quot;design&quot;,textdomain:&quot;default&quot;,attributes:{label:{type:&quot;string&quot;,default:&quot;&quot;}},parent:[&quot;core/tab-panel&quot;],usesContext:[&quot;core/tabs-activeTabIndex&quot;,&quot;core/tabs-editorActiveTabIndex&quot;],supports:{anchor:!0,html:!1,reusable:!1,color:{background:!0,text:!0,__experimentalDefaultControls:{background:!0,text:!0}},layout:!0,spacing:{blockGap:!0,padding:!0,margin:!1},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0}},renaming:!0},providesContext:{&quot;core/tab-label&quot;:&quot;label&quot;},editorScript:&quot;file:./index.js&quot;,style:&quot;file:./style-index.css&quot;};var{name:Sse}=j8,Tse={icon:sB,edit:kse,save:Cse},k3e=()=&gt;E({name:Sse,metadata:j8,settings:Tse});var IA={};Z(IA,{init:()=&gt;S3e,metadata:()=&gt;G8,name:()=&gt;Ese,settings:()=&gt;Dse});var Ug=o(T(),1),Pse=o(V(),1);var Km=o(v(),1),w3e=[[&quot;core/tab&quot;,{}]];function Bse({clientId:e}){let t=(0,Ug.useBlockProps)(),r=(0,Ug.useInnerBlocksProps)(t,{template:w3e,templateLock:!1,renderAppender:!1}),a=(0,Pse.useSelect)(n=&gt;{let{getBlockRootClientId:i}=n(Ug.store);return i(e)},[e]);return(0,Km.jsxs)(Km.Fragment,{children:[(0,Km.jsx)(fs,{tabsClientId:a}),(0,Km.jsx)(hs,{tabsClientId:a}),(0,Km.jsx)(&quot;div&quot;,{...r})]})}var U8=o(T(),1),Ise=o(v(),1);function Nse(){let e=U8.useBlockProps.save(),t=U8.useInnerBlocksProps.save(e);return(0,Ise.jsx)(&quot;div&quot;,{...t})}var G8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,__experimental:!0,apiVersion:3,name:&quot;core/tab-panel&quot;,title:&quot;Tab Panel&quot;,description:&quot;Container for tab panel content in a tabbed interface.&quot;,version:&quot;1.0.0&quot;,category:&quot;design&quot;,textdomain:&quot;default&quot;,parent:[&quot;core/tabs&quot;],allowedBlocks:[&quot;core/tab&quot;],attributes:{},supports:{anchor:!1,html:!1,reusable:!1,lock:!1,dimensions:{aspectRatio:!1,height:!1,minHeight:!1,width:!1},color:{background:!0,text:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{blockGap:!1,padding:!0,margin:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},layout:{default:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;,justifyContent:&quot;stretch&quot;,orientation:&quot;vertical&quot;},allowSwitching:!1,allowVerticalAlignment:!1,allowOrientation:!1,allowJustification:!0,allowSizingOnChildren:!1},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},editorScript:&quot;file:./index.js&quot;,style:&quot;file:./style-index.css&quot;};var{name:Ese}=G8,Dse={icon:E0,edit:Bse,save:Nse},S3e=()=&gt;E({name:Ese,metadata:G8,settings:Dse});var FA={};Z(FA,{init:()=&gt;j3e,metadata:()=&gt;W8,name:()=&gt;Wse,settings:()=&gt;$se});var Pc=o(P(),1);var Jt=o(T(),1),ot=o(v(),1),Lse={&quot;subtle-light-gray&quot;:&quot;#f3f4f5&quot;,&quot;subtle-pale-green&quot;:&quot;#e9fbe5&quot;,&quot;subtle-pale-blue&quot;:&quot;#e7f5fe&quot;,&quot;subtle-pale-pink&quot;:&quot;#fcf0ef&quot;},NA={content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;},colspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;colspan&quot;},rowspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;rowspan&quot;}},T3e={attributes:{hasFixedLayout:{type:&quot;boolean&quot;,default:!1},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;},head:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;thead tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:NA}}},body:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tbody tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:NA}}},foot:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tfoot tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:NA}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},__experimentalSelector:&quot;.wp-block-table &gt; table&quot;,interactivity:{clientNavigation:!0}},save({attributes:e}){let{hasFixedLayout:t,head:r,body:a,foot:n,caption:i}=e;if(!r.length&amp;&amp;!a.length&amp;&amp;!n.length)return null;let s=(0,Jt.__experimentalGetColorClassesAndStyles)(e),c=(0,Jt.__experimentalGetBorderClassesAndStyles)(e),u=w(s.className,c.className,{&quot;has-fixed-layout&quot;:t}),m=!Jt.RichText.isEmpty(i),p=({type:d,rows:f})=&gt;{if(!f.length)return null;let h=`t${d}`;return(0,ot.jsx)(h,{children:f.map(({cells:g},b)=&gt;(0,ot.jsx)(&quot;tr&quot;,{children:g.map(({content:y,tag:k,scope:_,align:x,colspan:S,rowspan:C},N)=&gt;{let B=w({[`has-text-align-${x}`]:x});return(0,ot.jsx)(Jt.RichText.Content,{className:B||void 0,&quot;data-align&quot;:x,tagName:k,value:y,scope:k===&quot;th&quot;?_:void 0,colSpan:S,rowSpan:C},N)})},b))})};return(0,ot.jsxs)(&quot;figure&quot;,{...Jt.useBlockProps.save(),children:[(0,ot.jsxs)(&quot;table&quot;,{className:u===&quot;&quot;?void 0:u,style:{...s.style,...c.style},children:[(0,ot.jsx)(p,{type:&quot;head&quot;,rows:r}),(0,ot.jsx)(p,{type:&quot;body&quot;,rows:a}),(0,ot.jsx)(p,{type:&quot;foot&quot;,rows:n})]}),m&amp;&amp;(0,ot.jsx)(Jt.RichText.Content,{tagName:&quot;figcaption&quot;,value:i,className:(0,Jt.__experimentalGetElementClassName)(&quot;caption&quot;)})]})}},EA={content:{type:&quot;string&quot;,source:&quot;html&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;}},P3e={attributes:{hasFixedLayout:{type:&quot;boolean&quot;,default:!1},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;,default:&quot;&quot;},head:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;thead tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:EA}}},body:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tbody tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:EA}}},foot:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tfoot tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:EA}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},__experimentalSelector:&quot;.wp-block-table &gt; table&quot;},save({attributes:e}){let{hasFixedLayout:t,head:r,body:a,foot:n,caption:i}=e;if(!r.length&amp;&amp;!a.length&amp;&amp;!n.length)return null;let s=(0,Jt.__experimentalGetColorClassesAndStyles)(e),c=(0,Jt.__experimentalGetBorderClassesAndStyles)(e),u=w(s.className,c.className,{&quot;has-fixed-layout&quot;:t}),m=!Jt.RichText.isEmpty(i),p=({type:d,rows:f})=&gt;{if(!f.length)return null;let h=`t${d}`;return(0,ot.jsx)(h,{children:f.map(({cells:g},b)=&gt;(0,ot.jsx)(&quot;tr&quot;,{children:g.map(({content:y,tag:k,scope:_,align:x},S)=&gt;{let C=w({[`has-text-align-${x}`]:x});return(0,ot.jsx)(Jt.RichText.Content,{className:C||void 0,&quot;data-align&quot;:x,tagName:k,value:y,scope:k===&quot;th&quot;?_:void 0},S)})},b))})};return(0,ot.jsxs)(&quot;figure&quot;,{...Jt.useBlockProps.save(),children:[(0,ot.jsxs)(&quot;table&quot;,{className:u===&quot;&quot;?void 0:u,style:{...s.style,...c.style},children:[(0,ot.jsx)(p,{type:&quot;head&quot;,rows:r}),(0,ot.jsx)(p,{type:&quot;body&quot;,rows:a}),(0,ot.jsx)(p,{type:&quot;foot&quot;,rows:n})]}),m&amp;&amp;(0,ot.jsx)(Jt.RichText.Content,{tagName:&quot;figcaption&quot;,value:i})]})}},DA={content:{type:&quot;string&quot;,source:&quot;html&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;}},B3e={attributes:{hasFixedLayout:{type:&quot;boolean&quot;,default:!1},backgroundColor:{type:&quot;string&quot;},caption:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;figcaption&quot;,default:&quot;&quot;},head:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;thead tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:DA}}},body:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tbody tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:DA}}},foot:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tfoot tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:DA}}}},supports:{anchor:!0,align:!0,__experimentalSelector:&quot;.wp-block-table &gt; table&quot;},save:({attributes:e})=&gt;{let{hasFixedLayout:t,head:r,body:a,foot:n,backgroundColor:i,caption:l}=e;if(!r.length&amp;&amp;!a.length&amp;&amp;!n.length)return null;let c=(0,Jt.getColorClassName)(&quot;background-color&quot;,i),u=w(c,{&quot;has-fixed-layout&quot;:t,&quot;has-background&quot;:!!c}),m=!Jt.RichText.isEmpty(l),p=({type:d,rows:f})=&gt;{if(!f.length)return null;let h=`t${d}`;return(0,ot.jsx)(h,{children:f.map(({cells:g},b)=&gt;(0,ot.jsx)(&quot;tr&quot;,{children:g.map(({content:y,tag:k,scope:_,align:x},S)=&gt;{let C=w({[`has-text-align-${x}`]:x});return(0,ot.jsx)(Jt.RichText.Content,{className:C||void 0,&quot;data-align&quot;:x,tagName:k,value:y,scope:k===&quot;th&quot;?_:void 0},S)})},b))})};return(0,ot.jsxs)(&quot;figure&quot;,{...Jt.useBlockProps.save(),children:[(0,ot.jsxs)(&quot;table&quot;,{className:u===&quot;&quot;?void 0:u,children:[(0,ot.jsx)(p,{type:&quot;head&quot;,rows:r}),(0,ot.jsx)(p,{type:&quot;body&quot;,rows:a}),(0,ot.jsx)(p,{type:&quot;foot&quot;,rows:n})]}),m&amp;&amp;(0,ot.jsx)(Jt.RichText.Content,{tagName:&quot;figcaption&quot;,value:l})]})},isEligible:e=&gt;e.backgroundColor&amp;&amp;e.backgroundColor in Lse&amp;&amp;!e.style,migrate:e=&gt;({...e,backgroundColor:void 0,style:{color:{background:Lse[e.backgroundColor]}}})},LA={content:{type:&quot;string&quot;,source:&quot;html&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;}},I3e={attributes:{hasFixedLayout:{type:&quot;boolean&quot;,default:!1},backgroundColor:{type:&quot;string&quot;},head:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;thead tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:LA}}},body:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tbody tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:LA}}},foot:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tfoot tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:LA}}}},supports:{align:!0},save({attributes:e}){let{hasFixedLayout:t,head:r,body:a,foot:n,backgroundColor:i}=e;if(!r.length&amp;&amp;!a.length&amp;&amp;!n.length)return null;let s=(0,Jt.getColorClassName)(&quot;background-color&quot;,i),c=w(s,{&quot;has-fixed-layout&quot;:t,&quot;has-background&quot;:!!s}),u=({type:m,rows:p})=&gt;{if(!p.length)return null;let d=`t${m}`;return(0,ot.jsx)(d,{children:p.map(({cells:f},h)=&gt;(0,ot.jsx)(&quot;tr&quot;,{children:f.map(({content:g,tag:b,scope:y},k)=&gt;(0,ot.jsx)(Jt.RichText.Content,{tagName:b,value:g,scope:b===&quot;th&quot;?y:void 0},k))},h))})};return(0,ot.jsxs)(&quot;table&quot;,{className:c,children:[(0,ot.jsx)(u,{type:&quot;head&quot;,rows:r}),(0,ot.jsx)(u,{type:&quot;body&quot;,rows:a}),(0,ot.jsx)(u,{type:&quot;foot&quot;,rows:n})]})}},Mse=[T3e,P3e,B3e,I3e];var Qn=o(U(),1),ko=o(T(),1),Pt=o(P(),1),Ur=o(M(),1);var N3e=[&quot;align&quot;];function Ase({rowCount:e,columnCount:t}){return{body:Array.from({length:e}).map(()=&gt;({cells:Array.from({length:t}).map(()=&gt;({content:&quot;&quot;,tag:&quot;td&quot;}))}))}}function E3e(e){if(!Qm(e.head))return e.head[0];if(!Qm(e.body))return e.body[0];if(!Qm(e.foot))return e.foot[0]}function Rse(e,t,r){let{sectionName:a,rowIndex:n,columnIndex:i}=t;return e[a]?.[n]?.cells?.[i]?.[r]}function MA(e,t,r){if(!t)return e;let a=Object.fromEntries(Object.entries(e).filter(([l])=&gt;[&quot;head&quot;,&quot;body&quot;,&quot;foot&quot;].includes(l))),{sectionName:n,rowIndex:i}=t;return Object.fromEntries(Object.entries(a).map(([l,s])=&gt;n&amp;&amp;n!==l?[l,s]:[l,s.map((c,u)=&gt;i&amp;&amp;i!==u?c:{cells:c.cells.map((m,p)=&gt;D3e({sectionName:l,columnIndex:p,rowIndex:u},t)?r(m):m)})]))}function D3e(e,t){if(!e||!t)return!1;switch(t.type){case&quot;column&quot;:return t.type===&quot;column&quot;&amp;&amp;e.columnIndex===t.columnIndex;case&quot;cell&quot;:return t.type===&quot;cell&quot;&amp;&amp;e.sectionName===t.sectionName&amp;&amp;e.columnIndex===t.columnIndex&amp;&amp;e.rowIndex===t.rowIndex}}function AA(e,{sectionName:t,rowIndex:r,columnCount:a}){let n=E3e(e),i=a===void 0?n?.cells?.length:a;return i?{[t]:[...e[t].slice(0,r),{cells:Array.from({length:i}).map((l,s)=&gt;{let c=n?.cells?.[s]??{};return{...Object.fromEntries(Object.entries(c).filter(([m])=&gt;N3e.includes(m))),content:&quot;&quot;,tag:t===&quot;head&quot;?&quot;th&quot;:&quot;td&quot;}})},...e[t].slice(r)]}:e}function zse(e,{sectionName:t,rowIndex:r}){return{[t]:e[t].filter((a,n)=&gt;n!==r)}}function Vse(e,{columnIndex:t}){let r=Object.fromEntries(Object.entries(e).filter(([a])=&gt;[&quot;head&quot;,&quot;body&quot;,&quot;foot&quot;].includes(a)));return Object.fromEntries(Object.entries(r).map(([a,n])=&gt;Qm(n)?[a,n]:[a,n.map(i=&gt;Hse(i)||i.cells.length&lt;t?i:{cells:[...i.cells.slice(0,t),{content:&quot;&quot;,tag:a===&quot;head&quot;?&quot;th&quot;:&quot;td&quot;},...i.cells.slice(t)]})]))}function Fse(e,{columnIndex:t}){let r=Object.fromEntries(Object.entries(e).filter(([a])=&gt;[&quot;head&quot;,&quot;body&quot;,&quot;foot&quot;].includes(a)));return Object.fromEntries(Object.entries(r).map(([a,n])=&gt;Qm(n)?[a,n]:[a,n.map(i=&gt;({cells:i.cells.length&gt;=t?i.cells.filter((l,s)=&gt;s!==t):i.cells})).filter(i=&gt;i.cells.length)]))}function RA(e,t){if(!Qm(e[t]))return{[t]:[]};let r=e.body?.[0]?.cells?.length??1;return AA(e,{sectionName:t,rowIndex:0,columnCount:r})}function Qm(e){return!e||!e.length||e.every(Hse)}function Hse(e){return!(e.cells&amp;&amp;e.cells.length)}var st=o(v(),1),L3e=[{icon:IS,title:(0,Pt.__)(&quot;Align column left&quot;),align:&quot;left&quot;},{icon:PS,title:(0,Pt.__)(&quot;Align column center&quot;),align:&quot;center&quot;},{icon:LS,title:(0,Pt.__)(&quot;Align column right&quot;),align:&quot;right&quot;}],M3e={head:(0,Pt.__)(&quot;Header cell text&quot;),body:(0,Pt.__)(&quot;Body cell text&quot;),foot:(0,Pt.__)(&quot;Footer cell text&quot;)},A3e={head:(0,Pt.__)(&quot;Header label&quot;),foot:(0,Pt.__)(&quot;Footer label&quot;)};function R3e({name:e,...t}){let r=`t${e}`;return(0,st.jsx)(r,{...t})}function z3e({attributes:e,setAttributes:t,insertBlocksAfter:r,isSelected:a}){let{hasFixedLayout:n,head:i,foot:l}=e,[s,c]=(0,Qn.useState)(2),[u,m]=(0,Qn.useState)(2),[p,d]=(0,Qn.useState)(),f=(0,ko.__experimentalUseColorProps)(e),h=(0,ko.__experimentalUseBorderProps)(e),g=(0,ko.useBlockEditingMode)(),b=(0,Qn.useRef)(),[y,k]=(0,Qn.useState)(!1),_=q();function x(ne){m(ne)}function S(ne){c(ne)}function C(ne){ne.preventDefault(),t(Ase({rowCount:parseInt(s,10)||2,columnCount:parseInt(u,10)||2})),k(!0)}function N(){t({hasFixedLayout:!n})}let B=(0,Qn.useCallback)(function(ne){p&amp;&amp;t(le=&gt;MA(le,p,pe=&gt;({...pe,content:ne})))},[p,t]);function D(ne){if(!p)return;let le={type:&quot;column&quot;,columnIndex:p.columnIndex},pe=MA(e,le,Ie=&gt;({...Ie,align:ne}));t(pe)}function A(){if(p)return Rse(e,p,&quot;align&quot;)}function H(){t(RA(e,&quot;head&quot;))}function F(){t(RA(e,&quot;foot&quot;))}function z(ne){if(!p)return;let{sectionName:le,rowIndex:pe}=p,Ie=pe+ne;t(AA(e,{sectionName:le,rowIndex:Ie})),d({sectionName:le,rowIndex:Ie,columnIndex:0,type:&quot;cell&quot;})}function I(){z(0)}function R(){z(1)}function $(){if(!p)return;let{sectionName:ne,rowIndex:le}=p;d(),t(zse(e,{sectionName:ne,rowIndex:le}))}function j(ne=0){if(!p)return;let{columnIndex:le}=p,pe=le+ne;t(Vse(e,{columnIndex:pe})),d({rowIndex:0,columnIndex:pe,type:&quot;cell&quot;})}function G(){j(0)}function O(){j(1)}function J(){if(!p)return;let{sectionName:ne,columnIndex:le}=p;d(),t(Fse(e,{sectionName:ne,columnIndex:le}))}(0,Qn.useEffect)(()=&gt;{a||d()},[a]),(0,Qn.useEffect)(()=&gt;{y&amp;&amp;(b?.current?.querySelector(&#039;td div[contentEditable=&quot;true&quot;]&#039;)?.focus(),k(!1))},[y]);let ee=[&quot;head&quot;,&quot;body&quot;,&quot;foot&quot;].filter(ne=&gt;!Qm(e[ne])),oe=[{icon:bB,title:(0,Pt.__)(&quot;Insert row before&quot;),isDisabled:!p,onClick:I},{icon:gB,title:(0,Pt.__)(&quot;Insert row after&quot;),isDisabled:!p,onClick:R},{icon:_B,title:(0,Pt.__)(&quot;Delete row&quot;),isDisabled:!p,onClick:$},{icon:pB,title:(0,Pt.__)(&quot;Insert column before&quot;),isDisabled:!p,onClick:G},{icon:uB,title:(0,Pt.__)(&quot;Insert column after&quot;),isDisabled:!p,onClick:O},{icon:fB,title:(0,Pt.__)(&quot;Delete column&quot;),isDisabled:!p,onClick:J}],X=ee.map(ne=&gt;(0,st.jsx)(R3e,{name:ne,children:e[ne].map(({cells:le},pe)=&gt;(0,st.jsx)(&quot;tr&quot;,{children:le.map((Ie,Ne)=&gt;{let ae=p?.sectionName===ne&amp;&amp;p?.rowIndex===pe&amp;&amp;p?.columnIndex===Ne;return(0,st.jsx)(V3e,{name:ne,rowIndex:pe,columnIndex:Ne,onChange:ae?B:void 0,setSelectedCell:d,...Ie},Ne)})},pe))},ne)),te=!ee.length;return(0,st.jsxs)(&quot;figure&quot;,{...(0,ko.useBlockProps)({ref:b}),children:[!te&amp;&amp;g===&quot;default&quot;&amp;&amp;(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)(ko.BlockControls,{group:&quot;block&quot;,children:(0,st.jsx)(ko.AlignmentControl,{label:(0,Pt.__)(&quot;Change column alignment&quot;),alignmentControls:L3e,value:A(),onChange:ne=&gt;D(ne)})}),(0,st.jsx)(ko.BlockControls,{group:&quot;other&quot;,children:(0,st.jsx)(Ur.ToolbarDropdownMenu,{icon:kB,label:(0,Pt.__)(&quot;Edit table&quot;),controls:oe})})]}),(0,st.jsx)(ko.InspectorControls,{children:(0,st.jsxs)(Ur.__experimentalToolsPanel,{label:(0,Pt.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({hasFixedLayout:!0,head:[],foot:[]})},dropdownMenuProps:_,children:[(0,st.jsx)(Ur.__experimentalToolsPanelItem,{hasValue:()=&gt;n!==!0,label:(0,Pt.__)(&quot;Fixed width table cells&quot;),onDeselect:()=&gt;t({hasFixedLayout:!0}),isShownByDefault:!0,children:(0,st.jsx)(Ur.ToggleControl,{label:(0,Pt.__)(&quot;Fixed width table cells&quot;),checked:!!n,onChange:N})}),!te&amp;&amp;(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)(Ur.__experimentalToolsPanelItem,{hasValue:()=&gt;i&amp;&amp;i.length,label:(0,Pt.__)(&quot;Header section&quot;),onDeselect:()=&gt;t({head:[]}),isShownByDefault:!0,children:(0,st.jsx)(Ur.ToggleControl,{label:(0,Pt.__)(&quot;Header section&quot;),checked:!!(i&amp;&amp;i.length),onChange:H})}),(0,st.jsx)(Ur.__experimentalToolsPanelItem,{hasValue:()=&gt;l&amp;&amp;l.length,label:(0,Pt.__)(&quot;Footer section&quot;),onDeselect:()=&gt;t({foot:[]}),isShownByDefault:!0,children:(0,st.jsx)(Ur.ToggleControl,{label:(0,Pt.__)(&quot;Footer section&quot;),checked:!!(l&amp;&amp;l.length),onChange:F})})]})]})}),!te&amp;&amp;(0,st.jsx)(&quot;table&quot;,{className:w(f.className,h.className,{&quot;has-fixed-layout&quot;:n,&quot;has-individual-borders&quot;:(0,Ur.__experimentalHasSplitBorders)(e?.style?.border)}),style:{...f.style,...h.style},children:X}),te?(0,st.jsx)(Ur.Placeholder,{label:(0,Pt.__)(&quot;Table&quot;),icon:(0,st.jsx)(ko.BlockIcon,{icon:C0,showColors:!0}),instructions:(0,Pt.__)(&quot;Insert a table for sharing data.&quot;),children:(0,st.jsxs)(&quot;form&quot;,{className:&quot;blocks-table__placeholder-form&quot;,onSubmit:C,children:[(0,st.jsx)(Ur.TextControl,{__next40pxDefaultSize:!0,type:&quot;number&quot;,label:(0,Pt.__)(&quot;Column count&quot;),value:u,onChange:x,min:&quot;1&quot;,className:&quot;blocks-table__placeholder-input&quot;}),(0,st.jsx)(Ur.TextControl,{__next40pxDefaultSize:!0,type:&quot;number&quot;,label:(0,Pt.__)(&quot;Row count&quot;),value:s,onChange:S,min:&quot;1&quot;,className:&quot;blocks-table__placeholder-input&quot;}),(0,st.jsx)(Ur.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,type:&quot;submit&quot;,children:(0,Pt.__)(&quot;Create Table&quot;)})]})}):(0,st.jsx)(_a,{attributes:e,setAttributes:t,isSelected:a,insertBlocksAfter:r,label:(0,Pt.__)(&quot;Table caption text&quot;),showToolbarButton:a&amp;&amp;g===&quot;default&quot;})]})}var V3e=(0,Qn.memo)(function({tag:e,name:t,scope:r,colspan:a,rowspan:n,rowIndex:i,columnIndex:l,align:s,content:c,onChange:u,setSelectedCell:m}){return(0,st.jsx)(e,{scope:e===&quot;th&quot;?r:void 0,colSpan:a,rowSpan:n,className:w({[`has-text-align-${s}`]:s},&quot;wp-block-table__cell-content&quot;),children:(0,st.jsx)(ko.RichText,{value:c,onChange:u,onFocus:()=&gt;{m({sectionName:t,rowIndex:i,columnIndex:l,type:&quot;cell&quot;})},&quot;aria-label&quot;:M3e[t],placeholder:A3e[t]})})}),Ose=z3e;var W8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/table&quot;,title:&quot;Table&quot;,category:&quot;text&quot;,description:&quot;Create structured content in rows and columns to display information.&quot;,textdomain:&quot;default&quot;,attributes:{hasFixedLayout:{type:&quot;boolean&quot;,default:!0},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},head:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;thead tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,role:&quot;content&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;},colspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;colspan&quot;},rowspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;rowspan&quot;}}}}},body:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tbody tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,role:&quot;content&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;},colspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;colspan&quot;},rowspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;rowspan&quot;}}}}},foot:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;tfoot tr&quot;,query:{cells:{type:&quot;array&quot;,default:[],source:&quot;query&quot;,selector:&quot;td,th&quot;,query:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,role:&quot;content&quot;},tag:{type:&quot;string&quot;,default:&quot;td&quot;,source:&quot;tag&quot;},scope:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;scope&quot;},align:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;data-align&quot;},colspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;colspan&quot;},rowspan:{type:&quot;string&quot;,source:&quot;attribute&quot;,attribute:&quot;rowspan&quot;}}}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},selectors:{root:&quot;.wp-block-table &gt; table&quot;,spacing:&quot;.wp-block-table&quot;},styles:[{name:&quot;regular&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;stripes&quot;,label:&quot;Stripes&quot;}],editorStyle:&quot;wp-block-table-editor&quot;,style:&quot;wp-block-table&quot;};var _l=o(T(),1),vs=o(v(),1);function jse({attributes:e}){let{hasFixedLayout:t,head:r,body:a,foot:n,caption:i}=e;if(!r.length&amp;&amp;!a.length&amp;&amp;!n.length)return null;let s=(0,_l.__experimentalGetColorClassesAndStyles)(e),c=(0,_l.__experimentalGetBorderClassesAndStyles)(e),u=w(s.className,c.className,{&quot;has-fixed-layout&quot;:t}),m=!_l.RichText.isEmpty(i),p=({type:d,rows:f})=&gt;{if(!f.length)return null;let h=`t${d}`;return(0,vs.jsx)(h,{children:f.map(({cells:g},b)=&gt;(0,vs.jsx)(&quot;tr&quot;,{children:g.map(({content:y,tag:k,scope:_,align:x,colspan:S,rowspan:C},N)=&gt;{let B=w({[`has-text-align-${x}`]:x});return(0,vs.jsx)(_l.RichText.Content,{className:B||void 0,&quot;data-align&quot;:x,tagName:k,value:y,scope:k===&quot;th&quot;?_:void 0,colSpan:S,rowSpan:C},N)})},b))})};return(0,vs.jsxs)(&quot;figure&quot;,{..._l.useBlockProps.save(),children:[(0,vs.jsxs)(&quot;table&quot;,{className:u===&quot;&quot;?void 0:u,style:{...s.style,...c.style},children:[(0,vs.jsx)(p,{type:&quot;head&quot;,rows:r}),(0,vs.jsx)(p,{type:&quot;body&quot;,rows:a}),(0,vs.jsx)(p,{type:&quot;foot&quot;,rows:n})]}),m&amp;&amp;(0,vs.jsx)(_l.RichText.Content,{tagName:&quot;figcaption&quot;,value:i,className:(0,_l.__experimentalGetElementClassName)(&quot;caption&quot;)})]})}var Use=o(W(),1);function zA(e){let t=parseInt(e,10);if(Number.isInteger(t))return t&lt;0||t===1?void 0:t.toString()}var VA=({phrasingContentSchema:e})=&gt;({tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:e,attributes:[&quot;scope&quot;,&quot;colspan&quot;,&quot;rowspan&quot;,&quot;style&quot;]},td:{allowEmpty:!0,children:e,attributes:[&quot;colspan&quot;,&quot;rowspan&quot;,&quot;style&quot;]}}}}),H3e=e=&gt;({table:{children:{thead:{allowEmpty:!0,children:VA(e)},tfoot:{allowEmpty:!0,children:VA(e)},tbody:{allowEmpty:!0,children:VA(e)}}}}),O3e={from:[{type:&quot;raw&quot;,selector:&quot;table&quot;,schema:H3e,transform:e=&gt;{let t=Array.from(e.children).reduce((r,a)=&gt;{if(!a.children.length)return r;let n=a.nodeName.toLowerCase().slice(1),i=Array.from(a.children).reduce((l,s)=&gt;{if(!s.children.length)return l;let c=Array.from(s.children).reduce((u,m)=&gt;{let p=zA(m.getAttribute(&quot;rowspan&quot;)),d=zA(m.getAttribute(&quot;colspan&quot;)),{textAlign:f}=m.style||{},h;return(f===&quot;left&quot;||f===&quot;center&quot;||f===&quot;right&quot;)&amp;&amp;(h=f),u.push({tag:m.nodeName.toLowerCase(),content:m.innerHTML,rowspan:p,colspan:d,align:h}),u},[]);return l.push({cells:c}),l},[]);return r[n]=i,r},{});return(0,Use.createBlock)(&quot;core/table&quot;,t)}}]},Gse=O3e;var{name:Wse}=W8,$se={icon:C0,example:{attributes:{head:[{cells:[{content:(0,Pc.__)(&quot;Version&quot;),tag:&quot;th&quot;},{content:(0,Pc.__)(&quot;Jazz Musician&quot;),tag:&quot;th&quot;},{content:(0,Pc.__)(&quot;Release Date&quot;),tag:&quot;th&quot;}]}],body:[{cells:[{content:&quot;5.2&quot;,tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;Jaco Pastorius&quot;),tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;May 7, 2019&quot;),tag:&quot;td&quot;}]},{cells:[{content:&quot;5.1&quot;,tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;Betty Carter&quot;),tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;February 21, 2019&quot;),tag:&quot;td&quot;}]},{cells:[{content:&quot;5.0&quot;,tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;Bebo Vald\xE9s&quot;),tag:&quot;td&quot;},{content:(0,Pc.__)(&quot;December 6, 2018&quot;),tag:&quot;td&quot;}]}]},viewportWidth:450},transforms:Gse,edit:Ose,save:jse,deprecated:Mse},j3e=()=&gt;E({name:Wse,metadata:W8,settings:$se});var OA={};Z(OA,{init:()=&gt;$3e,metadata:()=&gt;$8,name:()=&gt;lce,settings:()=&gt;sce});var Eu=o(P(),1);var $8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,__experimental:!0,name:&quot;core/table-of-contents&quot;,title:&quot;Table of Contents&quot;,category:&quot;design&quot;,description:&quot;Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.&quot;,keywords:[&quot;document outline&quot;,&quot;summary&quot;],textdomain:&quot;default&quot;,attributes:{headings:{type:&quot;array&quot;,items:{type:&quot;object&quot;},default:[]},onlyIncludeCurrentPage:{type:&quot;boolean&quot;,default:!1},maxLevel:{type:&quot;number&quot;},ordered:{type:&quot;boolean&quot;,default:!0}},supports:{anchor:!0,ariaLabel:!0,html:!1,color:{text:!0,background:!0,gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:&quot;wp-block-table-of-contents&quot;};var bs=o(T(),1),tce=o(W(),1),Ho=o(M(),1),K2=o(V(),1),rce=o(U(),1),zt=o(P(),1),oce=o(me(),1),ace=o(xr(),1);var Bc=o(v(),1),qse=&quot;wp-block-table-of-contents__entry&quot;;function Gg({nestedHeadingList:e,disableLinkActivation:t,onClick:r,ordered:a=!0}){return(0,Bc.jsx)(Bc.Fragment,{children:e.map((n,i)=&gt;{let{content:l,link:s}=n.heading,c=s?(0,Bc.jsx)(&quot;a&quot;,{className:qse,href:s,&quot;aria-disabled&quot;:t||void 0,onClick:t&amp;&amp;typeof r==&quot;function&quot;?r:void 0,children:l}):(0,Bc.jsx)(&quot;span&quot;,{className:qse,children:l}),u=a?&quot;ol&quot;:&quot;ul&quot;;return(0,Bc.jsxs)(&quot;li&quot;,{children:[c,n.children?(0,Bc.jsx)(u,{children:(0,Bc.jsx)(Gg,{nestedHeadingList:n.children,disableLinkActivation:t,onClick:t&amp;&amp;typeof r==&quot;function&quot;?r:void 0,ordered:a})}):null]},i)})})}function q2(e){let t=[];return e.forEach((r,a)=&gt;{if(r.content!==&quot;&quot;&amp;&amp;r.level===e[0].level)if(e[a+1]?.level&gt;r.level){let n=e.length;for(let i=a+1;i&lt;e.length;i++)if(e[i].level===r.level){n=i;break}t.push({heading:r,children:q2(e.slice(a+1,n))})}else t.push({heading:r,children:null})}),t}var Qse=o(Kse(),1),Yse=o(V(),1),Xse=o(ai(),1),Jse=o(U(),1),Z2=o(mr(),1),q8=o(T(),1);function G3e(e,t){let{getBlockAttributes:r,getBlockName:a,getBlocksByName:n,getClientIdsOfDescendants:i}=e(q8.store),l=e(&quot;core/editor&quot;).getPermalink()??null,s=n(&quot;core/nextpage&quot;).length!==0,{onlyIncludeCurrentPage:c,maxLevel:u}=r(t)??{},[m=&quot;&quot;]=n(&quot;core/post-content&quot;),p=i(m),d=1;if(s&amp;&amp;c){let b=p.indexOf(t);for(let[y,k]of p.entries()){if(y&gt;=b)break;a(k)===&quot;core/nextpage&quot;&amp;&amp;d++}}let f=[],h=1,g=null;typeof l==&quot;string&quot;&amp;&amp;(g=s?(0,Z2.addQueryArgs)(l,{page:h}):l);for(let b of p){let y=a(b);if(y===&quot;core/nextpage&quot;){if(h++,c&amp;&amp;h&gt;d)break;typeof l==&quot;string&quot;&amp;&amp;(g=(0,Z2.addQueryArgs)((0,Z2.removeQueryArgs)(l,[&quot;page&quot;]),{page:h}))}else if((!c||h===d)&amp;&amp;y===&quot;core/heading&quot;){let k=r(b);if(u&amp;&amp;k.level&gt;u)continue;let _=typeof g==&quot;string&quot;&amp;&amp;typeof k.anchor==&quot;string&quot;&amp;&amp;k.anchor!==&quot;&quot;;f.push({content:(0,Xse.__unstableStripHTML)(k.content.replace(/(&lt;br *\/?&gt;)+/g,&quot; &quot;)),level:k.level,link:_?`${g}#${k.anchor}`:null})}}return f}function W3e(e,t,r){let{getBlockAttributes:a}=e(q8.store),{updateBlockAttributes:n,__unstableMarkNextChangeAsNotPersistent:i}=t(q8.store),l=a(r);if(l===null)return;let s=G3e(e,r);(0,Qse.default)(s,l.headings)||window.queueMicrotask(()=&gt;{i(),n(r,{headings:s})})}function ece(e){let t=(0,Yse.useRegistry)();(0,Jse.useEffect)(()=&gt;t.subscribe(()=&gt;W3e(t.select,t.dispatch,e)),[t,e])}var er=o(v(),1);function HA({attributes:{headings:e=[],onlyIncludeCurrentPage:t,maxLevel:r,ordered:a=!0},clientId:n,setAttributes:i}){ece(n);let l=(0,bs.useBlockProps)(),s=(0,oce.useInstanceId)(HA,&quot;table-of-contents&quot;),{createWarningNotice:c}=(0,K2.useDispatch)(ace.store),u=y=&gt;{y.preventDefault(),c((0,zt.__)(&quot;Links are disabled in the editor.&quot;),{id:`block-library/core/table-of-contents/redirection-prevented/${s}`,type:&quot;snackbar&quot;})},m=(0,K2.useSelect)(y=&gt;{let{getBlockRootClientId:k,canInsertBlockType:_}=y(bs.store),x=k(n);return _(&quot;core/list&quot;,x)},[n]),{replaceBlocks:p}=(0,K2.useDispatch)(bs.store),d=q(),f=q2(e),h=(0,er.jsxs)(bs.BlockControls,{children:[(0,er.jsxs)(Ho.ToolbarGroup,{children:[(0,er.jsx)(Ho.ToolbarButton,{icon:(0,zt.isRTL)()?z0:V0,title:(0,zt.__)(&quot;Unordered&quot;),description:(0,zt.__)(&quot;Convert to unordered list&quot;),onClick:()=&gt;i({ordered:!1}),isActive:a===!1}),(0,er.jsx)(Ho.ToolbarButton,{icon:(0,zt.isRTL)()?F0:Ki,title:(0,zt.__)(&quot;Ordered&quot;),description:(0,zt.__)(&quot;Convert to ordered list&quot;),onClick:()=&gt;i({ordered:!0}),isActive:a===!0})]}),m&amp;&amp;(0,er.jsx)(Ho.ToolbarGroup,{children:(0,er.jsx)(Ho.ToolbarButton,{onClick:()=&gt;p(n,(0,tce.createBlock)(&quot;core/list&quot;,{ordered:a,values:(0,rce.renderToString)((0,er.jsx)(Gg,{nestedHeadingList:f,ordered:a}))})),children:(0,zt.__)(&quot;Convert to static list&quot;)})})]}),g=(0,er.jsx)(bs.InspectorControls,{children:(0,er.jsxs)(Ho.__experimentalToolsPanel,{label:(0,zt.__)(&quot;Settings&quot;),resetAll:()=&gt;{i({onlyIncludeCurrentPage:!1,maxLevel:void 0,ordered:!0})},dropdownMenuProps:d,children:[(0,er.jsx)(Ho.__experimentalToolsPanelItem,{hasValue:()=&gt;!!t,label:(0,zt.__)(&quot;Only include current page&quot;),onDeselect:()=&gt;i({onlyIncludeCurrentPage:!1}),isShownByDefault:!0,children:(0,er.jsx)(Ho.ToggleControl,{label:(0,zt.__)(&quot;Only include current page&quot;),checked:t,onChange:y=&gt;i({onlyIncludeCurrentPage:y}),help:t?(0,zt.__)(&quot;Only including headings from the current page (if the post is paginated).&quot;):(0,zt.__)(&quot;Include headings from all pages (if the post is paginated).&quot;)})}),(0,er.jsx)(Ho.__experimentalToolsPanelItem,{hasValue:()=&gt;!!r,label:(0,zt.__)(&quot;Limit heading levels&quot;),onDeselect:()=&gt;i({maxLevel:void 0}),isShownByDefault:!0,children:(0,er.jsx)(Ho.SelectControl,{__next40pxDefaultSize:!0,label:(0,zt.__)(&quot;Include headings down to level&quot;),value:r||&quot;&quot;,options:[{value:&quot;&quot;,label:(0,zt.__)(&quot;All levels&quot;)},{value:&quot;1&quot;,label:(0,zt.__)(&quot;Heading 1&quot;)},{value:&quot;2&quot;,label:(0,zt.__)(&quot;Heading 2&quot;)},{value:&quot;3&quot;,label:(0,zt.__)(&quot;Heading 3&quot;)},{value:&quot;4&quot;,label:(0,zt.__)(&quot;Heading 4&quot;)},{value:&quot;5&quot;,label:(0,zt.__)(&quot;Heading 5&quot;)},{value:&quot;6&quot;,label:(0,zt.__)(&quot;Heading 6&quot;)}],onChange:y=&gt;i({maxLevel:y?parseInt(y):void 0}),help:r?(0,zt.__)(&quot;Only include headings up to and including this level.&quot;):(0,zt.__)(&quot;Including all heading levels in the table of contents.&quot;)})})]})});return e.length===0?(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)(&quot;div&quot;,{...l,children:(0,er.jsx)(Ho.Placeholder,{icon:(0,er.jsx)(bs.BlockIcon,{icon:d1}),label:(0,zt.__)(&quot;Table of Contents&quot;),instructions:(0,zt.__)(&quot;Start adding Heading blocks to create a table of contents. Headings with HTML anchors will be linked here.&quot;)})}),g]}):(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)(&quot;nav&quot;,{...l,children:(0,er.jsx)(a?&quot;ol&quot;:&quot;ul&quot;,{children:(0,er.jsx)(Gg,{nestedHeadingList:f,disableLinkActivation:!0,onClick:u,ordered:a})})}),h,g]})}var nce=o(T(),1);var Z8=o(v(),1);function ice({attributes:{headings:e=[],ordered:t=!0}}){if(e.length===0)return null;let r=t?&quot;ol&quot;:&quot;ul&quot;;return(0,Z8.jsx)(&quot;nav&quot;,{...nce.useBlockProps.save(),children:(0,Z8.jsx)(r,{children:(0,Z8.jsx)(Gg,{nestedHeadingList:q2(e),ordered:t})})})}var{name:lce}=$8,sce={icon:d1,edit:HA,save:ice,example:{innerBlocks:[{name:&quot;core/heading&quot;,attributes:{level:2,content:(0,Eu.__)(&quot;Heading&quot;)}},{name:&quot;core/heading&quot;,attributes:{level:3,content:(0,Eu.__)(&quot;Subheading&quot;)}},{name:&quot;core/heading&quot;,attributes:{level:2,content:(0,Eu.__)(&quot;Heading&quot;)}},{name:&quot;core/heading&quot;,attributes:{level:3,content:(0,Eu.__)(&quot;Subheading&quot;)}}],attributes:{headings:[{content:(0,Eu.__)(&quot;Heading&quot;),level:2},{content:(0,Eu.__)(&quot;Subheading&quot;),level:3},{content:(0,Eu.__)(&quot;Heading&quot;),level:2},{content:(0,Eu.__)(&quot;Subheading&quot;),level:3}]}}},$3e=()=&gt;E({name:lce,metadata:$8,settings:sce});var jA={};Z(jA,{init:()=&gt;Q3e,metadata:()=&gt;Y8,name:()=&gt;fce,settings:()=&gt;hce});var Y2=o(P(),1);var Ym=o(T(),1),uce=o(V(),1),K8=o(U(),1);var of=o(v(),1);function cce({clientId:e}){return(0,of.jsxs)(of.Fragment,{children:[(0,of.jsx)(fs,{tabsClientId:e}),(0,of.jsx)(hs,{tabsClientId:e})]})}var Q2=o(v(),1),q3e=[[&quot;core/tabs-menu&quot;,{lock:{remove:!0}}],[&quot;core/tab-panel&quot;,{lock:{remove:!0}},[[&quot;core/tab&quot;,{anchor:&quot;tab-1&quot;,label:&quot;Tab 1&quot;},[[&quot;core/paragraph&quot;]]]]]];function Z3e({clientId:e,attributes:t,setAttributes:r,__unstableLayoutClassNames:a}){let{anchor:n,activeTabIndex:i,editorActiveTabIndex:l}=t;(0,K8.useEffect)(()=&gt;{l===void 0&amp;&amp;r({editorActiveTabIndex:i})},[]);let s=(0,uce.useSelect)(p=&gt;{let{getBlocks:d}=p(Ym.store),h=d(e).find(g=&gt;g.name===&quot;core/tab-panel&quot;);return h?h.innerBlocks.filter(g=&gt;g.name===&quot;core/tab&quot;):[]},[e]),c=(0,K8.useMemo)(()=&gt;({&quot;core/tabs-list&quot;:s.map((d,f)=&gt;({id:d.attributes.anchor||`tab-${f}`,label:d.attributes.label||&quot;&quot;,clientId:d.clientId,index:f})),&quot;core/tabs-id&quot;:n,&quot;core/tabs-activeTabIndex&quot;:i,&quot;core/tabs-editorActiveTabIndex&quot;:l}),[s,n,i,l]),u=(0,Ym.useBlockProps)({className:a}),m=(0,Ym.useInnerBlocksProps)(u,{__experimentalCaptureToolbars:!0,template:q3e,templateLock:!1,renderAppender:!1});return(0,Q2.jsx)(Ym.BlockContextProvider,{value:c,children:(0,Q2.jsxs)(&quot;div&quot;,{...m,children:[(0,Q2.jsx)(cce,{clientId:e,attributes:t,setAttributes:r}),m.children]})})}var mce=Z3e;var Q8=o(T(),1),pce=o(v(),1);function dce({attributes:e}){let{anchor:t}=e,r=t,a=Q8.useBlockProps.save(),n=Q8.useInnerBlocksProps.save(a);return(0,pce.jsx)(&quot;div&quot;,{...n,id:r})}var Y8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,__experimental:!0,apiVersion:3,name:&quot;core/tabs&quot;,title:&quot;Tabs&quot;,description:&quot;Display content in a tabbed interface to help users navigate detailed content with ease.&quot;,version:&quot;1.0.0&quot;,category:&quot;design&quot;,textdomain:&quot;default&quot;,allowedBlocks:[&quot;core/tabs-menu&quot;,&quot;core/tab-panel&quot;],attributes:{activeTabIndex:{type:&quot;number&quot;,default:0},editorActiveTabIndex:{type:&quot;number&quot;,role:&quot;local&quot;}},supports:{align:!0,anchor:!0,color:{text:!0,background:!0,__experimentalDefaultControls:{text:!0,background:!0}},layout:{default:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;,justifyContent:&quot;stretch&quot;,verticalAlignment:&quot;stretch&quot;,orientation:&quot;vertical&quot;},allowSwitching:!1,allowVerticalAlignment:!0,allowJustification:!0,allowOrientation:!0,allowSizingOnChildren:!0},html:!1,interactivity:!0,spacing:{blockGap:!0,margin:!0,padding:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},renaming:!0},providesContext:{&quot;core/tabs-activeTabIndex&quot;:&quot;activeTabIndex&quot;,&quot;core/tabs-editorActiveTabIndex&quot;:&quot;editorActiveTabIndex&quot;},usesContext:[&quot;core/tabs-list&quot;,&quot;core/tabs-id&quot;],editorScript:&quot;file:./index.js&quot;,editorStyle:&quot;file:./index.css&quot;,style:&quot;file:./style-index.css&quot;,viewScriptModule:&quot;@wordpress/block-library/tabs/view&quot;};var{name:fce}=Y8,hce={icon:BB,example:{innerBlocks:[{name:&quot;core/tabs-menu&quot;,innerBlocks:[{name:&quot;core/tabs-menu-item&quot;}]},{name:&quot;core/tab-panel&quot;,innerBlocks:[1,2,3].map(e=&gt;({name:&quot;core/tab&quot;,attributes:{label:(0,Y2.sprintf)((0,Y2.__)(&quot;Tab %s&quot;),e)},innerBlocks:[{name:&quot;core/paragraph&quot;,attributes:{content:(0,Y2.__)(&quot;In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.&quot;)}}]}))}]},edit:mce,save:dce},Q3e=()=&gt;E({name:fce,metadata:Y8,settings:hce});var UA={};Z(UA,{init:()=&gt;awe,metadata:()=&gt;J8,name:()=&gt;_ce,settings:()=&gt;xce});var gce=o(P(),1),Yn=o(T(),1),X2=o(V(),1),ji=o(U(),1);var Oo=o(v(),1),Y3e=[[&quot;core/tabs-menu-item&quot;,{}]],X3e=[];function J3e({blocks:e,blockContextId:t,isHidden:r,setActiveBlockContextId:a}){let n=(0,Yn.__experimentalUseBlockPreview)({blocks:e}),i=()=&gt;{a(t)};return(0,Oo.jsx)(&quot;div&quot;,{...n,tabIndex:0,role:&quot;button&quot;,onClick:i,onKeyDown:i,style:{display:r?&quot;none&quot;:&quot;flex&quot;}})}var ewe=(0,ji.memo)(J3e);function twe({wrapperProps:e={},layout:t}){return(0,Yn.useInnerBlocksProps)(e,{template:Y3e,templateLock:&quot;all&quot;,renderAppender:!1,layout:t}).children}function rwe({context:e,clientId:t,__unstableLayoutClassNames:r}){let{layout:a}=(0,Yn.useBlockEditContext)(),n=e[&quot;core/tabs-id&quot;]||null,i=e[&quot;core/tabs-list&quot;]||X3e,l=e[&quot;core/tabs-activeTabIndex&quot;]??0,s=e[&quot;core/tabs-editorActiveTabIndex&quot;],c=(0,ji.useMemo)(()=&gt;s??l,[s,l]),{__unstableMarkNextChangeAsNotPersistent:u}=(0,X2.useDispatch)(Yn.store),{updateBlockAttributes:m}=(0,X2.useDispatch)(Yn.store),[p,d]=(0,ji.useState)(null),{blocks:f,tabsClientId:h}=(0,X2.useSelect)(_=&gt;{let{getBlocks:x,getBlockRootClientId:S}=_(Yn.store);return{blocks:x(t),tabsClientId:S(t)}},[t]),g=(0,ji.useMemo)(()=&gt;i.map((_,x)=&gt;({&quot;core/tabs-menu-item-index&quot;:x,&quot;core/tabs-menu-item-id&quot;:_.id||`tab-${x}`,&quot;core/tabs-menu-item-label&quot;:_.label||&quot;&quot;,&quot;core/tabs-menu-item-clientId&quot;:_.clientId,&quot;core/tabs-id&quot;:n,&quot;core/tabs-list&quot;:i,&quot;core/tabs-activeTabIndex&quot;:l,&quot;core/tabs-editorActiveTabIndex&quot;:s})),[i,n,l,s]),b=(0,ji.useCallback)(_=&gt;`tab-context-${_[&quot;core/tabs-menu-item-index&quot;]}`,[]);(0,ji.useEffect)(()=&gt;{g.length&gt;0&amp;&amp;p===null&amp;&amp;d(b(g[0]))},[g,p,b]),(0,ji.useEffect)(()=&gt;{if(g.length&gt;0&amp;&amp;c&lt;g.length){let _=b(g[c]);d(x=&gt;x!==_?_:x)}},[c,g,b]);let y=(0,ji.useCallback)(_=&gt;{h&amp;&amp;_!==c&amp;&amp;(u(),m(h,{editorActiveTabIndex:_}))},[h,c,m,u]),k=(0,Yn.useBlockProps)({className:w(r),role:&quot;tablist&quot;});return i.length===0?(0,Oo.jsxs)(Oo.Fragment,{children:[(0,Oo.jsx)(fs,{tabsClientId:h}),(0,Oo.jsx)(hs,{tabsClientId:h}),(0,Oo.jsx)(&quot;div&quot;,{...k,children:(0,Oo.jsx)(&quot;span&quot;,{className:&quot;tabs__tab-label tabs__tab-label--placeholder&quot;,children:(0,gce.__)(&quot;Add tabs to display menu&quot;)})})]}):(0,Oo.jsxs)(Oo.Fragment,{children:[(0,Oo.jsx)(fs,{tabsClientId:h}),(0,Oo.jsx)(hs,{tabsClientId:h}),(0,Oo.jsx)(&quot;div&quot;,{...k,children:g.map((_,x)=&gt;{let S=b(_),C=S===p;return(0,Oo.jsxs)(Yn.BlockContextProvider,{value:_,children:[C?(0,Oo.jsx)(twe,{wrapperProps:{onClick:()=&gt;y(x)},layout:a}):null,(0,Oo.jsx)(ewe,{blocks:f,blockContextId:S,setActiveBlockContextId:N=&gt;{d(N),y(x)},isHidden:C})]},S)})})]})}var vce=rwe;var X8=o(T(),1),bce=o(v(),1);function yce(){let e=X8.useBlockProps.save({role:&quot;tablist&quot;}),t=X8.useInnerBlocksProps.save(e);return(0,bce.jsx)(&quot;div&quot;,{...t})}var J8={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,__experimental:!0,apiVersion:3,name:&quot;core/tabs-menu&quot;,title:&quot;Tabs Menu&quot;,description:&quot;Display the tab buttons for a tabbed interface.&quot;,version:&quot;1.0.0&quot;,category:&quot;design&quot;,textdomain:&quot;default&quot;,parent:[&quot;core/tabs&quot;],allowedBlocks:[&quot;core/tabs-menu-item&quot;],usesContext:[&quot;core/tabs-list&quot;,&quot;core/tabs-id&quot;,&quot;core/tabs-activeTabIndex&quot;,&quot;core/tabs-editorActiveTabIndex&quot;],attributes:{},supports:{html:!1,reusable:!1,lock:!1,dimensions:{aspectRatio:!1,height:!1,minHeight:!1,width:!1},color:{background:!0,text:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},layout:{default:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;,orientation:&quot;horizontal&quot;},allowSwitching:!1,allowVerticalAlignment:!0,allowJustification:!0,allowOrientation:!0},spacing:{padding:!0,margin:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,margin:!0,blockGap:!0}}},editorScript:&quot;file:./index.js&quot;,editorStyle:&quot;file:./editor.css&quot;,style:&quot;file:./style-index.css&quot;};var{name:_ce}=J8,xce={icon:TB,edit:vce,save:yce},awe=()=&gt;E({name:_ce,metadata:J8,settings:xce});var GA={};Z(GA,{init:()=&gt;swe,metadata:()=&gt;r7,name:()=&gt;Pce,settings:()=&gt;Bce});var t7=o(P(),1),Ic=o(T(),1),J2=o(V(),1),af=o(U(),1);var Ui=o(P(),1),ys=o(T(),1),Xm=o(M(),1);var e7=o(V(),1);var ha=o(v(),1);function nwe({tabClientId:e,tabIndex:t,tabsCount:r,tabsMenuClientId:a,tabsClientId:n}){let{moveBlocksUp:i,moveBlocksDown:l,updateBlockAttributes:s,__unstableMarkNextChangeAsNotPersistent:c}=(0,e7.useDispatch)(ys.store),{tabPanelClientId:u,orientation:m}=(0,e7.useSelect)(x=&gt;{let{getBlockRootClientId:S,getBlockAttributes:C}=x(ys.store),N=a?C(a):null;return{tabPanelClientId:S(e),orientation:N?.layout?.orientation||&quot;horizontal&quot;}},[e,a]),p=t===0,d=t===r-1,f=m===&quot;horizontal&quot;,h,g,b,y;f?(0,Ui.isRTL)()?(h=sy,g=ny,b=(0,Ui.__)(&quot;Move tab right&quot;),y=(0,Ui.__)(&quot;Move tab left&quot;)):(h=ny,g=sy,b=(0,Ui.__)(&quot;Move tab left&quot;),y=(0,Ui.__)(&quot;Move tab right&quot;)):(h=T0,g=bp,b=(0,Ui.__)(&quot;Move tab up&quot;),y=(0,Ui.__)(&quot;Move tab down&quot;));let k=()=&gt;{i([e],u),n&amp;&amp;(c(),s(n,{editorActiveTabIndex:t-1}))},_=()=&gt;{l([e],u),n&amp;&amp;(c(),s(n,{editorActiveTabIndex:t+1}))};return r&lt;=1?null:(0,ha.jsx)(ys.BlockControls,{group:&quot;parent&quot;,children:(0,ha.jsx)(Xm.ToolbarGroup,{className:w(&quot;block-editor-block-mover&quot;,{&quot;is-horizontal&quot;:f}),children:(0,ha.jsxs)(&quot;div&quot;,{className:&quot;block-editor-block-mover__move-button-container&quot;,children:[(0,ha.jsx)(Xm.ToolbarItem,{children:x=&gt;(0,ha.jsx)(Xm.Button,{className:w(&quot;block-editor-block-mover-button&quot;,&quot;is-up-button&quot;),icon:h,label:b,disabled:p,accessibleWhenDisabled:!0,onClick:k,__next40pxDefaultSize:!0,...x})}),(0,ha.jsx)(Xm.ToolbarItem,{children:x=&gt;(0,ha.jsx)(Xm.Button,{className:w(&quot;block-editor-block-mover-button&quot;,&quot;is-down-button&quot;),icon:g,label:y,disabled:d,accessibleWhenDisabled:!0,onClick:_,__next40pxDefaultSize:!0,...x})})]})})})}function kce({attributes:e,setAttributes:t,clientId:r,tabsClientId:a,tabClientId:n,tabIndex:i,tabsCount:l,tabsMenuClientId:s,activeBackgroundColor:c,setActiveBackgroundColor:u,activeTextColor:m,setActiveTextColor:p,hoverBackgroundColor:d,setHoverBackgroundColor:f,hoverTextColor:h,setHoverTextColor:g}){let{customActiveBackgroundColor:b,customActiveTextColor:y,customHoverBackgroundColor:k,customHoverTextColor:_}=e,x=(0,ys.__experimentalUseMultipleOriginColorsAndGradients)();return(0,ha.jsxs)(ha.Fragment,{children:[(0,ha.jsx)(nwe,{tabClientId:n,tabIndex:i,tabsCount:l,tabsMenuClientId:s,tabsClientId:a}),(0,ha.jsx)(fs,{tabsClientId:a}),(0,ha.jsx)(hs,{tabsClientId:a}),(0,ha.jsx)(ys.InspectorControls,{group:&quot;color&quot;,children:(0,ha.jsx)(ys.__experimentalColorGradientSettingsDropdown,{settings:[{label:(0,Ui.__)(&quot;Active background&quot;),colorValue:c?.color??b,onColorChange:S=&gt;{u(S),t({customActiveBackgroundColor:S})},resetAllFilter:()=&gt;{u(void 0),t({customActiveBackgroundColor:void 0})},clearable:!0},{label:(0,Ui.__)(&quot;Active text&quot;),colorValue:m?.color??y,onColorChange:S=&gt;{p(S),t({customActiveTextColor:S})},resetAllFilter:()=&gt;{p(void 0),t({customActiveTextColor:void 0})},clearable:!0},{label:(0,Ui.__)(&quot;Hover background&quot;),colorValue:d?.color??k,onColorChange:S=&gt;{f(S),t({customHoverBackgroundColor:S})},resetAllFilter:()=&gt;{f(void 0),t({customHoverBackgroundColor:void 0})},clearable:!0},{label:(0,Ui.__)(&quot;Hover text&quot;),colorValue:h?.color??_,onColorChange:S=&gt;{g(S),t({customHoverTextColor:S})},resetAllFilter:()=&gt;{g(void 0),t({customHoverTextColor:void 0})},clearable:!0}],panelId:r,disableCustomColors:!1,__experimentalIsRenderedInSidebar:!0,__next40pxDefaultSize:!0,...x})})]})}var Jm=o(v(),1);function iwe({attributes:e,setAttributes:t,context:r,clientId:a,activeBackgroundColor:n,setActiveBackgroundColor:i,activeTextColor:l,setActiveTextColor:s,hoverBackgroundColor:c,setHoverBackgroundColor:u,hoverTextColor:m,setHoverTextColor:p,__unstableLayoutClassNames:d}){let f=r[&quot;core/tabs-menu-item-index&quot;]??0,h=r[&quot;core/tabs-menu-item-id&quot;]??&quot;&quot;,g=r[&quot;core/tabs-menu-item-label&quot;]??&quot;&quot;,b=r[&quot;core/tabs-menu-item-clientId&quot;]??&quot;&quot;,y=r[&quot;core/tabs-list&quot;],k=(0,af.useMemo)(()=&gt;y||[],[y]),_=r[&quot;core/tabs-activeTabIndex&quot;]??0,x=r[&quot;core/tabs-editorActiveTabIndex&quot;],S=(0,af.useMemo)(()=&gt;x??_,[x,_]),C=f===S,{__unstableMarkNextChangeAsNotPersistent:N}=(0,J2.useDispatch)(Ic.store),{tabsClientId:B,tabsMenuClientId:D,selectedTabClientId:A}=(0,J2.useSelect)(O=&gt;{let{getBlockRootClientId:J,getSelectedBlockClientIds:ee,hasSelectedInnerBlock:oe}=O(Ic.store),X=J(a),te=X?J(X):null,ne=ee(),le=null;for(let pe of k)if(ne.includes(pe.clientId)||oe(pe.clientId,!0)){le=pe.clientId;break}return{tabsClientId:te,tabsMenuClientId:X,selectedTabClientId:le}},[a,k]),H=b===A,{updateBlockAttributes:F}=(0,J2.useDispatch)(Ic.store),z=(0,af.useCallback)(O=&gt;{b&amp;&amp;F(b,{label:O,anchor:V8(O,f)})},[F,b,f]),I=(0,af.useCallback)(O=&gt;{O.preventDefault(),B&amp;&amp;f!==S&amp;&amp;(N(),F(B,{editorActiveTabIndex:f}))},[B,f,S,F,N]),R=(0,af.useMemo)(()=&gt;{let O={},J=n?.color||e.customActiveBackgroundColor,ee=l?.color||e.customActiveTextColor,oe=c?.color||e.customHoverBackgroundColor,X=m?.color||e.customHoverTextColor;return J&amp;&amp;(O[&quot;--custom-tab-active-color&quot;]=J),ee&amp;&amp;(O[&quot;--custom-tab-active-text-color&quot;]=ee),oe&amp;&amp;(O[&quot;--custom-tab-hover-color&quot;]=oe),X&amp;&amp;(O[&quot;--custom-tab-hover-text-color&quot;]=X),O},[n?.color,e.customActiveBackgroundColor,l?.color,e.customActiveTextColor,c?.color,e.customHoverBackgroundColor,m?.color,e.customHoverTextColor]),$=h||`tab-${f}`,j=`${$}--tab`,G=(0,Ic.useBlockProps)({className:w(d,{&quot;is-active&quot;:C,&quot;is-selected&quot;:H}),style:R,&quot;aria-controls&quot;:$,&quot;aria-selected&quot;:C,id:j,role:&quot;tab&quot;,tabIndex:-1,onClick:I});return(0,Jm.jsxs)(Jm.Fragment,{children:[(0,Jm.jsx)(kce,{attributes:e,setAttributes:t,clientId:a,tabsClientId:B,tabClientId:b,tabIndex:f,tabsCount:k.length,tabsMenuClientId:D,activeBackgroundColor:n,setActiveBackgroundColor:i,activeTextColor:l,setActiveTextColor:s,hoverBackgroundColor:c,setHoverBackgroundColor:u,hoverTextColor:m,setHoverTextColor:p}),(0,Jm.jsx)(&quot;div&quot;,{...G,children:(0,Jm.jsx)(Ic.RichText,{tagName:&quot;span&quot;,withoutInteractiveFormatting:!0,placeholder:(0,t7.sprintf)((0,t7.__)(&quot;Tab title %d&quot;),f+1),value:g||&quot;&quot;,onChange:z})})]})}var wce=(0,Ic.withColors)(&quot;activeBackgroundColor&quot;,&quot;activeTextColor&quot;,&quot;hoverBackgroundColor&quot;,&quot;hoverTextColor&quot;)(iwe);var Cce=o(T(),1),Sce=o(v(),1);function Tce({attributes:e}){let t={};e.customActiveBackgroundColor&amp;&amp;(t[&quot;--custom-tab-active-color&quot;]=e.customActiveBackgroundColor),e.customActiveTextColor&amp;&amp;(t[&quot;--custom-tab-active-text-color&quot;]=e.customActiveTextColor),e.customHoverBackgroundColor&amp;&amp;(t[&quot;--custom-tab-hover-color&quot;]=e.customHoverBackgroundColor),e.customHoverTextColor&amp;&amp;(t[&quot;--custom-tab-hover-text-color&quot;]=e.customHoverTextColor);let r=Cce.useBlockProps.save({className:&quot;wp-block-tabs-menu-item__template&quot;,style:t,type:&quot;button&quot;,role:&quot;tab&quot;});return(0,Sce.jsx)(&quot;button&quot;,{...r})}var r7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,__experimental:!0,apiVersion:3,name:&quot;core/tabs-menu-item&quot;,title:&quot;Tab Menu Item&quot;,description:&quot;A single tab button in the tabs menu. Used as a template for styling all tab buttons.&quot;,version:&quot;1.0.0&quot;,category:&quot;design&quot;,textdomain:&quot;default&quot;,parent:[&quot;core/tabs-menu&quot;],usesContext:[&quot;core/tabs-menu-item-index&quot;,&quot;core/tabs-menu-item-id&quot;,&quot;core/tabs-menu-item-label&quot;,&quot;core/tabs-menu-item-clientId&quot;,&quot;core/tabs-list&quot;,&quot;core/tabs-activeTabIndex&quot;,&quot;core/tabs-editorActiveTabIndex&quot;],attributes:{activeBackgroundColor:{type:&quot;string&quot;},customActiveBackgroundColor:{type:&quot;string&quot;},activeTextColor:{type:&quot;string&quot;},customActiveTextColor:{type:&quot;string&quot;},hoverBackgroundColor:{type:&quot;string&quot;},customHoverBackgroundColor:{type:&quot;string&quot;},hoverTextColor:{type:&quot;string&quot;},customHoverTextColor:{type:&quot;string&quot;}},supports:{html:!1,reusable:!1,lock:!1,color:{background:!0,text:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,typography:{fontSize:!0,__experimentalFontFamily:!0,textAlign:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowEditing:!1},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},editorScript:&quot;file:./index.js&quot;,editorStyle:&quot;file:./editor.css&quot;,style:&quot;file:./style-index.css&quot;};var{name:Pce}=r7,Bce={icon:CB,edit:wce,save:Tce},swe=()=&gt;E({name:Pce,metadata:r7,settings:Bce});var $A={};Z($A,{init:()=&gt;fwe,metadata:()=&gt;o7,name:()=&gt;zce,settings:()=&gt;Vce});var WA=o(W(),1),cwe={from:[{type:&quot;block&quot;,blocks:[&quot;core/categories&quot;],transform:()=&gt;(0,WA.createBlock)(&quot;core/tag-cloud&quot;)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/categories&quot;],transform:()=&gt;(0,WA.createBlock)(&quot;core/categories&quot;)}]},Ice=cwe;var o7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/tag-cloud&quot;,title:&quot;Tag Cloud&quot;,category:&quot;widgets&quot;,description:&quot;A cloud of popular keywords, each sized by how often it appears.&quot;,textdomain:&quot;default&quot;,attributes:{numberOfTags:{type:&quot;number&quot;,default:45,minimum:1,maximum:100},taxonomy:{type:&quot;string&quot;,default:&quot;post_tag&quot;},showTagCounts:{type:&quot;boolean&quot;,default:!1},smallestFontSize:{type:&quot;string&quot;,default:&quot;8pt&quot;},largestFontSize:{type:&quot;string&quot;,default:&quot;22pt&quot;}},styles:[{name:&quot;default&quot;,label:&quot;Default&quot;,isDefault:!0},{name:&quot;outline&quot;,label:&quot;Outline&quot;}],supports:{anchor:!0,html:!1,align:!0,spacing:{margin:!0,padding:!0},typography:{lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}}};var Vt=o(M(),1),Dce=o(V(),1),bn=o(P(),1),Wg=o(T(),1),Lce=o(Q(),1),Mce=o(Fu(),1),Ace=o(me(),1);var vr=o(v(),1),mwe=1,pwe=100,Nce=.1,Ece=100;function dwe({attributes:e,setAttributes:t,name:r}){let{taxonomy:a,showTagCounts:n,numberOfTags:i,smallestFontSize:l,largestFontSize:s}=e,[c]=(0,Wg.useSettings)(&quot;spacing.units&quot;),u=q(),m=(0,Vt.__experimentalUseCustomUnits)({availableUnits:c?[...c,&quot;pt&quot;]:[&quot;%&quot;,&quot;px&quot;,&quot;em&quot;,&quot;rem&quot;,&quot;pt&quot;]}),p=(0,Dce.useSelect)(x=&gt;x(Lce.store).getTaxonomies({per_page:-1}),[]),d=()=&gt;{let x={label:(0,bn.__)(&quot;- Select -&quot;),value:&quot;&quot;,disabled:!0},S=(p??[]).filter(C=&gt;!!C.show_cloud).map(C=&gt;({value:C.slug,label:C.name}));return[x,...S]},f=(x,S)=&gt;{let[C,N]=(0,Vt.__experimentalParseQuantityAndUnitFromRawValue)(S);if(!Number.isFinite(C))return;let B={[x]:S};Object.entries({smallestFontSize:l,largestFontSize:s}).forEach(([D,A])=&gt;{let[H,F]=(0,Vt.__experimentalParseQuantityAndUnitFromRawValue)(A);D!==x&amp;&amp;F!==N&amp;&amp;(B[D]=`${H}${N}`)}),t(B)},h=(0,vr.jsx)(Wg.InspectorControls,{children:(0,vr.jsxs)(Vt.__experimentalToolsPanel,{label:(0,bn.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({taxonomy:&quot;post_tag&quot;,showTagCounts:!1,numberOfTags:45,smallestFontSize:&quot;8pt&quot;,largestFontSize:&quot;22pt&quot;})},dropdownMenuProps:u,children:[(0,vr.jsx)(Vt.__experimentalToolsPanelItem,{hasValue:()=&gt;a!==&quot;post_tag&quot;,label:(0,bn.__)(&quot;Taxonomy&quot;),onDeselect:()=&gt;t({taxonomy:&quot;post_tag&quot;}),isShownByDefault:!0,children:(0,vr.jsx)(Vt.SelectControl,{__next40pxDefaultSize:!0,label:(0,bn.__)(&quot;Taxonomy&quot;),options:d(),value:a,onChange:x=&gt;t({taxonomy:x})})}),(0,vr.jsx)(Vt.__experimentalToolsPanelItem,{hasValue:()=&gt;l!==&quot;8pt&quot;||s!==&quot;22pt&quot;,label:(0,bn.__)(&quot;Font size&quot;),onDeselect:()=&gt;t({smallestFontSize:&quot;8pt&quot;,largestFontSize:&quot;22pt&quot;}),isShownByDefault:!0,children:(0,vr.jsxs)(Vt.Flex,{gap:4,children:[(0,vr.jsx)(Vt.FlexItem,{isBlock:!0,children:(0,vr.jsx)(Vt.__experimentalUnitControl,{label:(0,bn.__)(&quot;Smallest size&quot;),value:l,onChange:x=&gt;{f(&quot;smallestFontSize&quot;,x)},units:m,min:Nce,max:Ece,size:&quot;__unstable-large&quot;})}),(0,vr.jsx)(Vt.FlexItem,{isBlock:!0,children:(0,vr.jsx)(Vt.__experimentalUnitControl,{label:(0,bn.__)(&quot;Largest size&quot;),value:s,onChange:x=&gt;{f(&quot;largestFontSize&quot;,x)},units:m,min:Nce,max:Ece,size:&quot;__unstable-large&quot;})})]})}),(0,vr.jsx)(Vt.__experimentalToolsPanelItem,{hasValue:()=&gt;i!==45,label:(0,bn.__)(&quot;Number of tags&quot;),onDeselect:()=&gt;t({numberOfTags:45}),isShownByDefault:!0,children:(0,vr.jsx)(Vt.RangeControl,{__next40pxDefaultSize:!0,label:(0,bn.__)(&quot;Number of tags&quot;),value:i,onChange:x=&gt;t({numberOfTags:x}),min:mwe,max:pwe,required:!0})}),(0,vr.jsx)(Vt.__experimentalToolsPanelItem,{hasValue:()=&gt;n!==!1,label:(0,bn.__)(&quot;Show tag counts&quot;),onDeselect:()=&gt;t({showTagCounts:!1}),isShownByDefault:!0,children:(0,vr.jsx)(Vt.ToggleControl,{label:(0,bn.__)(&quot;Show tag counts&quot;),checked:n,onChange:()=&gt;t({showTagCounts:!n})})})]})}),{content:g,status:b,error:y}=(0,Mce.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),k=(0,Ace.useDisabled)(),_=(0,Wg.useBlockProps)({ref:k});return(0,vr.jsxs)(vr.Fragment,{children:[h,b===&quot;loading&quot;&amp;&amp;(0,vr.jsx)(&quot;div&quot;,{..._,children:(0,vr.jsx)(Vt.Spinner,{})}),b===&quot;error&quot;&amp;&amp;(0,vr.jsx)(&quot;div&quot;,{..._,children:(0,vr.jsx)(&quot;p&quot;,{children:(0,bn.sprintf)((0,bn.__)(&quot;Error: %s&quot;),y)})}),b===&quot;success&quot;&amp;&amp;(0,vr.jsx)(uo,{wrapperProps:_,html:g})]})}var Rce=dwe;var{name:zce}=o7,Vce={icon:f1,example:{},edit:Rce,transforms:Ice},fwe=()=&gt;E({name:zce,metadata:o7,settings:Vce});var YA={};Z(YA,{init:()=&gt;kwe,metadata:()=&gt;a7,name:()=&gt;wue,settings:()=&gt;Cue});var _ue=o(Q(),1),xue=o(V(),1);var QA=o(Yc(),1),kue=o(Wo(),1);var a7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/template-part&quot;,title:&quot;Template Part&quot;,category:&quot;theme&quot;,description:&quot;Edit the different global regions of your site, like the header, footer, sidebar, or create your own.&quot;,textdomain:&quot;default&quot;,attributes:{slug:{type:&quot;string&quot;},theme:{type:&quot;string&quot;},tagName:{type:&quot;string&quot;},area:{type:&quot;string&quot;}},supports:{align:!0,html:!1,reusable:!1,renaming:!1,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-template-part-editor&quot;};var pue=o(W(),1),Xg=o(V(),1),so=o(T(),1),Dc=o(M(),1),Wi=o(P(),1),ab=o(Q(),1),due=o(U(),1),fue=o(xr(),1);var tp=o(P(),1),lf=o(M(),1),Gce=o(U(),1),Wce=o(V(),1),$ce=o(Q(),1);var $g=o(V(),1),n7=o(Q(),1),Fce=o(T(),1),Hce=o(U(),1),Oce=o(W(),1),qA=o(P(),1);function qg(e,t){let{templateParts:r,isResolving:a}=(0,$g.useSelect)(i=&gt;{let{getEntityRecords:l,isResolving:s}=i(n7.store),c={per_page:-1};return{templateParts:l(&quot;postType&quot;,&quot;wp_template_part&quot;,c),isResolving:s(&quot;getEntityRecords&quot;,[&quot;postType&quot;,&quot;wp_template_part&quot;,c])}},[]);return{templateParts:(0,Hce.useMemo)(()=&gt;r?r.filter(i=&gt;nn(i.theme,i.slug)!==t&amp;&amp;(!e||e===&quot;uncategorized&quot;||i.area===e))||[]:[],[r,e,t]),isResolving:a}}function Zg(e,t){return(0,$g.useSelect)(r=&gt;{let a=e?`core/template-part/${e}`:&quot;core/template-part&quot;,{getBlockRootClientId:n,getPatternsByBlockTypes:i}=r(Fce.store),l=n(t);return i(a,l)},[e,t])}function i7(e,t){let{saveEntityRecord:r}=(0,$g.useDispatch)(n7.store);return async(a=[],n=(0,qA.__)(&quot;Untitled Template Part&quot;))=&gt;{let i=c3(n).replace(/[^\w-]+/g,&quot;&quot;)||&quot;wp-custom-part&quot;,l={title:n,slug:i,content:(0,Oce.serialize)(a),area:e},s=await r(&quot;postType&quot;,&quot;wp_template_part&quot;,l);t({slug:s.slug,theme:s.theme,area:void 0})}}function l7(e){return(0,$g.useSelect)(t=&gt;{let r=t(n7.store).getCurrentTheme()?.default_template_part_areas||[],a=r.find(i=&gt;i.area===e),n=r.find(i=&gt;i.area===&quot;uncategorized&quot;);return{icon:a?.icon||n?.icon,label:a?.label||(0,qA.__)(&quot;Template Part&quot;),tagName:a?.area_tag??&quot;div&quot;}},[e])}var jce=o(U(),1),ep=o(P(),1),_s=o(M(),1),Du=o(v(),1);function Uce({areaLabel:e,onClose:t,onSubmit:r}){let[a,n]=(0,jce.useState)(&quot;&quot;),i=l=&gt;{l.preventDefault(),r(a)};return(0,Du.jsx)(_s.Modal,{title:(0,ep.sprintf)((0,ep.__)(&quot;Create new %s&quot;),e.toLowerCase()),onRequestClose:t,focusOnMount:&quot;firstContentElement&quot;,size:&quot;small&quot;,children:(0,Du.jsx)(&quot;form&quot;,{onSubmit:i,children:(0,Du.jsxs)(_s.__experimentalVStack,{spacing:&quot;5&quot;,children:[(0,Du.jsx)(_s.TextControl,{label:(0,ep.__)(&quot;Name&quot;),value:a,onChange:n,placeholder:(0,ep.__)(&quot;Custom Template Part&quot;),__next40pxDefaultSize:!0}),(0,Du.jsxs)(_s.__experimentalHStack,{justify:&quot;right&quot;,children:[(0,Du.jsx)(_s.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:()=&gt;{t(),n(&quot;&quot;)},children:(0,ep.__)(&quot;Cancel&quot;)}),(0,Du.jsx)(_s.Button,{variant:&quot;primary&quot;,type:&quot;submit&quot;,accessibleWhenDisabled:!0,disabled:!a.length,__next40pxDefaultSize:!0,children:(0,ep.__)(&quot;Create&quot;)})]})]})})})}var nf=o(v(),1);function qce({area:e,clientId:t,templatePartId:r,onOpenSelectionModal:a,setAttributes:n}){let{templateParts:i,isResolving:l}=qg(e,r),s=Zg(e,t),{isBlockBasedTheme:c,canCreateTemplatePart:u}=(0,Wce.useSelect)(h=&gt;{let{getCurrentTheme:g,canUser:b}=h($ce.store);return{isBlockBasedTheme:g()?.is_block_theme,canCreateTemplatePart:b(&quot;create&quot;,{kind:&quot;postType&quot;,name:&quot;wp_template_part&quot;})}},[]),[m,p]=(0,Gce.useState)(!1),d=l7(e),f=i7(e,n);return(0,nf.jsxs)(lf.Placeholder,{icon:Xh(d.icon),label:d.label,instructions:c?(0,tp.sprintf)((0,tp.__)(&quot;Choose an existing %s or create a new one.&quot;),d.label.toLowerCase()):(0,tp.sprintf)((0,tp.__)(&quot;Choose an existing %s.&quot;),d.label.toLowerCase()),children:[l&amp;&amp;(0,nf.jsx)(lf.Spinner,{}),!l&amp;&amp;!!(i.length||s.length)&amp;&amp;(0,nf.jsx)(lf.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:a,children:(0,tp.__)(&quot;Choose&quot;)}),!l&amp;&amp;c&amp;&amp;u&amp;&amp;(0,nf.jsx)(lf.Button,{__next40pxDefaultSize:!0,variant:&quot;secondary&quot;,onClick:()=&gt;{p(!0)},children:(0,tp.__)(&quot;Start blank&quot;)}),m&amp;&amp;(0,nf.jsx)(Uce,{areaLabel:d.label,onClose:()=&gt;p(!1),onSubmit:h=&gt;{f([],h)}})]})}var eb=o(U(),1),rp=o(P(),1),Qce=o(xr(),1),Yce=o(V(),1),Xce=o(T(),1),s7=o(M(),1);var Zce=o(W(),1);function Kce(e){return{name:nn(e.theme,e.slug),title:e.title.rendered,blocks:(0,Zce.parse)(e.content.raw),templatePart:e}}var Nc=o(v(),1);function Jce({setAttributes:e,onClose:t,templatePartId:r=null,area:a,clientId:n}){let[i,l]=(0,eb.useState)(&quot;&quot;),{templateParts:s}=qg(a,r),c=(0,eb.useMemo)(()=&gt;{let g=s.map(b=&gt;Kce(b));return dv(g,i)},[s,i]),u=Zg(a,n),m=(0,eb.useMemo)(()=&gt;dv(u,i),[u,i]),{createSuccessNotice:p}=(0,Yce.useDispatch)(Qce.store),d=g=&gt;{e({slug:g.slug,theme:g.theme,area:void 0}),p((0,rp.sprintf)((0,rp.__)(&#039;Template Part &quot;%s&quot; inserted.&#039;),g.title?.rendered||g.slug),{type:&quot;snackbar&quot;}),t()},f=!!c.length,h=!!m.length;return(0,Nc.jsxs)(&quot;div&quot;,{className:&quot;block-library-template-part__selection-content&quot;,children:[(0,Nc.jsx)(&quot;div&quot;,{className:&quot;block-library-template-part__selection-search&quot;,children:(0,Nc.jsx)(s7.SearchControl,{onChange:l,value:i,label:(0,rp.__)(&quot;Search&quot;),placeholder:(0,rp.__)(&quot;Search&quot;)})}),f&amp;&amp;(0,Nc.jsxs)(&quot;div&quot;,{children:[(0,Nc.jsx)(&quot;h2&quot;,{children:(0,rp.__)(&quot;Existing template parts&quot;)}),(0,Nc.jsx)(Xce.__experimentalBlockPatternsList,{blockPatterns:c,onClickPattern:g=&gt;{d(g.templatePart)}})]}),!f&amp;&amp;!h&amp;&amp;(0,Nc.jsx)(s7.__experimentalHStack,{alignment:&quot;center&quot;,children:(0,Nc.jsx)(&quot;p&quot;,{children:(0,rp.__)(&quot;No results found.&quot;)})})]})}var rb=o(Q(),1),c7=o(M(),1),Qg=o(P(),1),nue=o(V(),1),iue=o(T(),1);var Ec=o(P(),1),tb=o(U(),1),Kg=o(V(),1),Gi=o(M(),1),KA=o(Q(),1),oue=o(xr(),1);var Xn=o(W(),1);function eue(e){if(e.id_base!==&quot;block&quot;){let a;return e._embedded.about[0].is_multi?a={idBase:e.id_base,instance:e.instance}:a={id:e.id},tue((0,Xn.createBlock)(&quot;core/legacy-widget&quot;,a))}let t=(0,Xn.parse)(e.instance.raw.content,{__unstableSkipAutop:!0});if(!t.length)return;let r=t[0];return r.name===&quot;core/widget-group&quot;?(0,Xn.createBlock)((0,Xn.getGroupingBlockName)(),void 0,ZA(r.innerBlocks)):r.innerBlocks.length&gt;0?(0,Xn.cloneBlock)(r,void 0,ZA(r.innerBlocks)):r}function tue(e){let t=(0,Xn.getPossibleBlockTransformations)([e]).filter(r=&gt;{if(!r.transforms)return!0;let a=r.transforms?.from?.find(i=&gt;i.blocks&amp;&amp;i.blocks.includes(&quot;*&quot;)),n=r.transforms?.to?.find(i=&gt;i.blocks&amp;&amp;i.blocks.includes(&quot;*&quot;));return!a&amp;&amp;!n});if(t.length)return(0,Xn.switchToBlockType)(e,t[0].name)}function ZA(e=[]){return e.flatMap(t=&gt;t.name===&quot;core/legacy-widget&quot;?tue(t):(0,Xn.createBlock)(t.name,t.attributes,ZA(t.innerBlocks))).filter(t=&gt;!!t)}var Lu=o(v(),1),rue={per_page:-1,_fields:&quot;id,name,description,status,widgets&quot;};function aue({area:e,setAttributes:t}){let[r,a]=(0,tb.useState)(&quot;&quot;),[n,i]=(0,tb.useState)(!1),l=(0,Kg.useRegistry)(),{sidebars:s,hasResolved:c}=(0,Kg.useSelect)(f=&gt;{let{getSidebars:h,hasFinishedResolution:g}=f(KA.store);return{sidebars:h(rue),hasResolved:g(&quot;getSidebars&quot;,[rue])}},[]),{createErrorNotice:u}=(0,Kg.useDispatch)(oue.store),m=i7(e,t),p=(0,tb.useMemo)(()=&gt;{let f=(s??[]).filter(h=&gt;h.id!==&quot;wp_inactive_widgets&quot;&amp;&amp;h.widgets.length&gt;0).map(h=&gt;({value:h.id,label:h.name}));return f.length?[{value:&quot;&quot;,label:(0,Ec.__)(&quot;Select widget area&quot;)},...f]:[]},[s]);if(!c)return(0,Lu.jsx)(Gi.__experimentalSpacer,{marginBottom:&quot;0&quot;});if(c&amp;&amp;!p.length)return null;async function d(f){if(f.preventDefault(),n||!r)return;i(!0);let h=p.find(({value:_})=&gt;_===r),{getWidgets:g}=l.resolveSelect(KA.store),b=await g({sidebar:h.value,_embed:&quot;about&quot;}),y=new Set,k=b.flatMap(_=&gt;{let x=eue(_);return x||(y.add(_.id_base),[])});await m(k,(0,Ec.sprintf)((0,Ec.__)(&quot;Widget area: %s&quot;),h.label)),y.size&amp;&amp;u((0,Ec.sprintf)((0,Ec.__)(&quot;Unable to import the following widgets: %s.&quot;),Array.from(y).join(&quot;, &quot;)),{type:&quot;snackbar&quot;}),i(!1)}return(0,Lu.jsx)(Gi.__experimentalSpacer,{marginBottom:&quot;4&quot;,children:(0,Lu.jsxs)(Gi.__experimentalHStack,{as:&quot;form&quot;,onSubmit:d,children:[(0,Lu.jsx)(Gi.FlexBlock,{children:(0,Lu.jsx)(Gi.SelectControl,{label:(0,Ec.__)(&quot;Import widget area&quot;),value:r,options:p,onChange:f=&gt;a(f),disabled:!p.length,__next40pxDefaultSize:!0})}),(0,Lu.jsx)(Gi.FlexItem,{style:{marginBottom:&quot;8px&quot;,marginTop:&quot;auto&quot;},children:(0,Lu.jsx)(Gi.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,type:&quot;submit&quot;,isBusy:n,&quot;aria-disabled&quot;:n||!r,children:(0,Ec._x)(&quot;Import&quot;,&quot;button label&quot;)})})]})})}var xs=o(v(),1),{HTMLElementControl:gwe}=K(iue.privateApis);function lue({tagName:e,setAttributes:t,isEntityAvailable:r,templatePartId:a,defaultWrapper:n,hasInnerBlocks:i,clientId:l}){let[s,c]=(0,rb.useEntityProp)(&quot;postType&quot;,&quot;wp_template_part&quot;,&quot;area&quot;,a),[u,m]=(0,rb.useEntityProp)(&quot;postType&quot;,&quot;wp_template_part&quot;,&quot;title&quot;,a),d=(0,nue.useSelect)(f=&gt;f(rb.store).getCurrentTheme()?.default_template_part_areas||[],[]).map(({label:f,area:h})=&gt;({label:f,value:h}));return(0,xs.jsxs)(xs.Fragment,{children:[r&amp;&amp;(0,xs.jsxs)(xs.Fragment,{children:[(0,xs.jsx)(c7.TextControl,{__next40pxDefaultSize:!0,label:(0,Qg.__)(&quot;Title&quot;),value:u,onChange:f=&gt;{m(f)},onFocus:f=&gt;f.target.select()}),(0,xs.jsx)(c7.SelectControl,{__next40pxDefaultSize:!0,label:(0,Qg.__)(&quot;Area&quot;),labelPosition:&quot;top&quot;,options:d,value:s,onChange:c})]}),(0,xs.jsx)(gwe,{tagName:e||&quot;&quot;,onChange:f=&gt;t({tagName:f}),clientId:l,options:[{label:(0,Qg.sprintf)((0,Qg.__)(&quot;Default based on area (%s)&quot;),`&lt;${n}&gt;`),value:&quot;&quot;},{label:&quot;&lt;header&gt;&quot;,value:&quot;header&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;article&gt;&quot;,value:&quot;article&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;},{label:&quot;&lt;footer&gt;&quot;,value:&quot;footer&quot;},{label:&quot;&lt;div&gt;&quot;,value:&quot;div&quot;}]}),!i&amp;&amp;(0,xs.jsx)(aue,{area:s,setAttributes:t})]})}var Yg=o(Q(),1),Jn=o(T(),1),ob=o(V(),1),sue=o(U(),1),cue=o(W(),1),u7=o(v(),1);function vwe(e){if((0,Jn.useBlockEditingMode)()===&quot;contentOnly&quot;)return!1;if(!e)return Jn.InnerBlocks.ButtonBlockAppender}function uue(e){let t=(0,ob.useSelect)(a=&gt;{let{getSettings:n}=a(Jn.store);return n()?.supportsLayout},[]),[r]=(0,Jn.useSettings)(&quot;layout&quot;);if(t)return e?.inherit?r||{}:e}function bwe({postId:e,layout:t,tagName:r,blockProps:a}){(0,Jn.useBlockEditingMode)(&quot;disabled&quot;);let{content:n,editedBlocks:i}=(0,ob.useSelect)(c=&gt;{if(!e)return{};let{getEditedEntityRecord:u}=c(Yg.store),m=u(&quot;postType&quot;,&quot;wp_template_part&quot;,e,{context:&quot;view&quot;});return{editedBlocks:m.blocks,content:m.content}},[e]),l=(0,sue.useMemo)(()=&gt;{if(e)return i||(!n||typeof n!=&quot;string&quot;?[]:(0,cue.parse)(n))},[e,i,n]),s=(0,Jn.useInnerBlocksProps)(a,{value:l,onInput:()=&gt;{},onChange:()=&gt;{},renderAppender:!1,layout:uue(t)});return(0,u7.jsx)(r,{...s})}function ywe({postId:e,hasInnerBlocks:t,layout:r,tagName:a,blockProps:n}){let i=(0,ob.useSelect)(d=&gt;d(Jn.store).getSettings().onNavigateToEntityRecord,[]),[l,s,c]=(0,Yg.useEntityBlockEditor)(&quot;postType&quot;,&quot;wp_template_part&quot;,{id:e}),u=(0,Jn.useInnerBlocksProps)(n,{value:l,onInput:s,onChange:c,renderAppender:vwe(t),layout:uue(r)}),p=(0,Jn.useBlockEditingMode)()===&quot;contentOnly&quot;&amp;&amp;i?{onDoubleClick:()=&gt;i({postId:e,postType:&quot;wp_template_part&quot;})}:{};return(0,u7.jsx)(a,{...u,...p})}function mue({postId:e,hasInnerBlocks:t,layout:r,tagName:a,blockProps:n}){let{canViewTemplatePart:i,canEditTemplatePart:l}=(0,ob.useSelect)(c=&gt;({canViewTemplatePart:!!c(Yg.store).canUser(&quot;read&quot;,{kind:&quot;postType&quot;,name:&quot;wp_template_part&quot;,id:e}),canEditTemplatePart:!!c(Yg.store).canUser(&quot;update&quot;,{kind:&quot;postType&quot;,name:&quot;wp_template_part&quot;,id:e})}),[e]);return i?(0,u7.jsx)(l?ywe:bwe,{postId:e,hasInnerBlocks:t,layout:r,tagName:a,blockProps:n}):null}var Ft=o(v(),1),hue=[&quot;header&quot;,&quot;footer&quot;,&quot;navigation-overlay&quot;];function _we({isEntityAvailable:e,area:t,templatePartId:r,isTemplatePartSelectionOpen:a,setIsTemplatePartSelectionOpen:n}){let{templateParts:i}=qg(t,r),l=!!i.length;return e&amp;&amp;l&amp;&amp;hue.includes(t)?(0,Ft.jsx)(Dc.MenuItem,{onClick:()=&gt;{n(!0)},&quot;aria-expanded&quot;:a,&quot;aria-haspopup&quot;:&quot;dialog&quot;,children:(0,Wi.__)(&quot;Replace&quot;)}):null}function xwe({area:e,clientId:t,isEntityAvailable:r,onSelect:a}){let n=Zg(e,t);return r&amp;&amp;!!n.length&amp;&amp;hue.includes(e)?(0,Ft.jsx)(Dc.PanelBody,{title:(0,Wi.__)(&quot;Design&quot;),children:(0,Ft.jsx)(so.__experimentalBlockPatternsList,{label:(0,Wi.__)(&quot;Templates&quot;),blockPatterns:n,onClickPattern:a,showTitlesAsTooltip:!0})}):null}function gue({attributes:e,setAttributes:t,clientId:r}){let{createSuccessNotice:a}=(0,Xg.useDispatch)(fue.store),{editEntityRecord:n}=(0,Xg.useDispatch)(ab.store),i=(0,Xg.useSelect)(H=&gt;H(ab.store).getCurrentTheme()?.stylesheet,[]),{slug:l,theme:s=i,tagName:c,layout:u={}}=e,m=nn(s,l),p=(0,so.useHasRecursion)(m),[d,f]=(0,due.useState)(!1),{isResolved:h,hasInnerBlocks:g,isMissing:b,area:y,onNavigateToEntityRecord:k,title:_,canUserEdit:x}=(0,Xg.useSelect)(H=&gt;{let{getEditedEntityRecord:F,hasFinishedResolution:z}=H(ab.store),{getBlockCount:I,getSettings:R}=H(so.store),$=[&quot;postType&quot;,&quot;wp_template_part&quot;,m],j=m?F(...$):null,G=j?.area||e.area,O=m?z(&quot;getEditedEntityRecord&quot;,$):!1,J=O?H(ab.store).canUser(&quot;update&quot;,{kind:&quot;postType&quot;,name:&quot;wp_template_part&quot;,id:m}):!1;return{hasInnerBlocks:I(r)&gt;0,isResolved:O,isMissing:O&amp;&amp;(!j||Object.keys(j).length===0),area:G,onNavigateToEntityRecord:R().onNavigateToEntityRecord,title:j?.title,canUserEdit:!!J}},[m,e.area,r]),S=l7(y),C=(0,so.useBlockProps)(),N=!l,B=!N&amp;&amp;!b&amp;&amp;h,D=c||S.tagName,A=async H=&gt;{await n(&quot;postType&quot;,&quot;wp_template_part&quot;,m,{blocks:H.blocks,content:(0,pue.serialize)(H.blocks)}),a((0,Wi.sprintf)((0,Wi.__)(&#039;Template Part &quot;%s&quot; updated.&#039;),_||l),{type:&quot;snackbar&quot;})};return!g&amp;&amp;(l&amp;&amp;!s||l&amp;&amp;b)?(0,Ft.jsx)(D,{...C,children:(0,Ft.jsx)(so.Warning,{children:(0,Wi.sprintf)((0,Wi.__)(&quot;Template part has been deleted or is unavailable: %s&quot;),l)})}):B&amp;&amp;p?(0,Ft.jsx)(D,{...C,children:(0,Ft.jsx)(so.Warning,{children:(0,Wi.__)(&quot;Block cannot be rendered inside itself.&quot;)})}):(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsxs)(so.RecursionProvider,{uniqueId:m,children:[B&amp;&amp;k&amp;&amp;x&amp;&amp;(0,Ft.jsx)(so.BlockControls,{group:&quot;other&quot;,children:(0,Ft.jsx)(Dc.ToolbarButton,{onClick:()=&gt;{k({postId:m,postType:&quot;wp_template_part&quot;})},children:(0,Wi.__)(&quot;Edit original&quot;)})}),x&amp;&amp;(0,Ft.jsx)(so.InspectorControls,{group:&quot;advanced&quot;,children:(0,Ft.jsx)(lue,{tagName:c,setAttributes:t,isEntityAvailable:B,templatePartId:m,defaultWrapper:S.tagName,hasInnerBlocks:g,clientId:r})}),N&amp;&amp;(0,Ft.jsx)(D,{...C,children:(0,Ft.jsx)(qce,{area:e.area,templatePartId:m,clientId:r,setAttributes:t,onOpenSelectionModal:()=&gt;f(!0)})}),(0,Ft.jsx)(so.BlockSettingsMenuControls,{children:({selectedClientIds:H})=&gt;H.length===1&amp;&amp;r===H[0]?(0,Ft.jsx)(_we,{isEntityAvailable:B,area:y,clientId:r,templatePartId:m,isTemplatePartSelectionOpen:d,setIsTemplatePartSelectionOpen:f}):null}),(0,Ft.jsx)(so.InspectorControls,{group:&quot;settings&quot;,children:(0,Ft.jsx)(xwe,{area:y,clientId:r,isEntityAvailable:B,onSelect:H=&gt;A(H)})}),B&amp;&amp;(0,Ft.jsx)(mue,{tagName:D,blockProps:C,postId:m,hasInnerBlocks:g,layout:u}),!N&amp;&amp;!h&amp;&amp;(0,Ft.jsx)(D,{...C,children:(0,Ft.jsx)(Dc.Spinner,{})})]}),d&amp;&amp;(0,Ft.jsx)(Dc.Modal,{overlayClassName:&quot;block-editor-template-part__selection-modal&quot;,title:(0,Wi.sprintf)((0,Wi.__)(&quot;Choose a %s&quot;),S.label.toLowerCase()),onRequestClose:()=&gt;f(!1),isFullScreen:!0,children:(0,Ft.jsx)(Jce,{templatePartId:m,clientId:r,area:y,setAttributes:t,onClose:()=&gt;f(!1)})})]})}var vue=o(Q(),1),bue=o(V(),1);function yue(e,t){if(t!==&quot;core/template-part&quot;)return e;if(e.variations){let r=(n,i)=&gt;{let{area:l,theme:s,slug:c}=n;if(l)return l===i.area;if(!c)return!1;let{getCurrentTheme:u,getEntityRecord:m}=(0,bue.select)(vue.store),p=m(&quot;postType&quot;,&quot;wp_template_part&quot;,`${s||u()?.stylesheet}//${c}`);return p?.slug?p.slug===i.slug:p?.area===i.area},a=e.variations.map(n=&gt;({...n,...!n.isActive&amp;&amp;{isActive:r},...typeof n.icon==&quot;string&quot;&amp;&amp;{icon:Xh(n.icon)}}));return{...e,variations:a}}return e}var{name:wue}=a7,Cue={icon:u1,__experimentalLabel:({slug:e,theme:t})=&gt;{if(!e)return;let{getCurrentTheme:r,getEditedEntityRecord:a}=(0,xue.select)(_ue.store),n=a(&quot;postType&quot;,&quot;wp_template_part&quot;,(t||r()?.stylesheet)+&quot;//&quot;+e);if(n)return(0,kue.decodeEntities)(n.title)||LQ(n.slug||&quot;&quot;)},edit:gue},kwe=()=&gt;{(0,QA.addFilter)(&quot;blocks.registerBlockType&quot;,&quot;core/template-part&quot;,yue);let e=[&quot;core/post-template&quot;,&quot;core/post-content&quot;];return(0,QA.addFilter)(&quot;blockEditor.__unstableCanInsertBlockType&quot;,&quot;core/block-library/removeTemplatePartsFromPostTemplates&quot;,(t,r,a,{getBlock:n,getBlockParentsByBlockName:i})=&gt;{if(r.name!==&quot;core/template-part&quot;)return t;for(let l of e)if(n(a)?.name===l||i(a,l).length)return!1;return!0}),E({name:wue,metadata:a7,settings:Cue})};var tR={};Z(tR,{init:()=&gt;Swe,metadata:()=&gt;m7,name:()=&gt;Due,settings:()=&gt;Lue});var m7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/term-count&quot;,title:&quot;Term Count&quot;,category:&quot;theme&quot;,description:&quot;Displays the post count of a taxonomy term.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;termId&quot;,&quot;taxonomy&quot;],attributes:{bracketType:{type:&quot;string&quot;,enum:[&quot;none&quot;,&quot;round&quot;,&quot;square&quot;,&quot;curly&quot;,&quot;angle&quot;],default:&quot;round&quot;}},supports:{anchor:!0,html:!1,color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{color:!0,width:!0,style:!0}}},style:&quot;wp-block-term-count&quot;};var sf=o(P(),1),p7=o(T(),1),Nue=o(M(),1);var xl=o(M(),1),ks=o(v(),1),XA=(0,ks.jsx)(xl.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ks.jsx)(xl.Path,{d:&quot;M 10 6 L 9.609375 9 L 7 9 L 7 10.5 L 9.4121094 10.5 L 9.0878906 13 L 7 13 L 7 14.5 L 8.890625 14.5 L 8.5 17.5 L 10 17.5 L 10.390625 14.5 L 12.890625 14.5 L 12.5 17.5 L 14 17.5 L 14.390625 14.5 L 17 14.5 L 17 13 L 14.587891 13 L 14.912109 10.5 L 17 10.5 L 17 9 L 15.109375 9 L 15.5 6 L 14 6 L 13.609375 9 L 11.109375 9 L 11.5 6 L 10 6 z M 10.912109 10.5 L 13.412109 10.5 L 13.087891 13 L 10.587891 13 L 10.912109 10.5 z&quot;})}),Sue=(0,ks.jsx)(xl.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ks.jsx)(xl.Path,{d:&quot;M 10,6 9.609375,9 H 7 v 1.5 H 9.4121094 L 9.0878906,13 H 7 v 1.5 H 8.890625 L 8.5,17.5 H 10 l 0.390625,-3 h 2.5 L 12.5,17.5 H 14 l 0.390625,-3 H 17 V 13 h -2.412109 l 0.324218,-2.5 H 17 V 9 H 15.109375 L 15.5,6 H 14 l -0.390625,3 h -2.5 L 11.5,6 Z m 0.912109,4.5 h 2.5 L 13.087891,13 h -2.5 z M 18.5,3 c 0,0 1.5,4.004036 1.5,9 0,4.995964 -1.5,9 -1.5,9 H 20 c 0,0 1.5,-4.004036 1.5,-9 C 21.5,7.004036 20,3 20,3 Z M 5.5,21 C 5.5,21 4,16.995964 4,12 4,7.0040356 5.5,3 5.5,3 H 4 c 0,0 -1.5,4.004036 -1.5,9 0,4.995964 1.5,9 1.5,9 z&quot;})}),Tue=(0,ks.jsx)(xl.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ks.jsx)(xl.Path,{d:&quot;M 21.5,21 V 3 H 18 v 1.5 h 2 v 15 H 18 V 21 Z M 2.5,3 V 21 H 6 V 19.5 H 4 V 4.5 H 6 V 3 Z M 10,6 9.609375,9 H 7 v 1.5 H 9.4121094 L 9.0878906,13 H 7 v 1.5 H 8.890625 L 8.5,17.5 H 10 l 0.390625,-3 h 2.5 L 12.5,17.5 H 14 l 0.390625,-3 H 17 V 13 h -2.412109 l 0.324218,-2.5 H 17 V 9 H 15.109375 L 15.5,6 H 14 l -0.390625,3 h -2.5 L 11.5,6 Z m 0.912109,4.5 h 2.5 L 13.087891,13 h -2.5 z&quot;})}),Pue=(0,ks.jsx)(xl.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ks.jsx)(xl.Path,{d:&quot;M 10,6 9.609375,9 H 7 v 1.5 H 9.4121094 L 9.0878906,13 H 7 v 1.5 H 8.890625 L 8.5,17.5 H 10 l 0.390625,-3 h 2.5 L 12.5,17.5 H 14 l 0.390625,-3 H 17 V 13 h -2.412109 l 0.324218,-2.5 H 17 V 9 H 15.109375 L 15.5,6 H 14 l -0.390625,3 h -2.5 L 11.5,6 Z m 0.912109,4.5 h 2.5 L 13.087891,13 h -2.5 z M 18.5,21 c 1.104567,0 2,-0.895433 2,-2 v -4 c 0,-1.104567 0.895433,-2 2,-2 v -2 c -1.104567,0 -2,-0.895433 -2,-2 V 5 c 0,-1.104567 -0.895433,-2 -2,-2 H 17 v 1.5 h 1.5 A 0.5,0.5 0 0 1 19,5 v 5 c 0,1.104567 0.895433,2 2,2 -1.104567,0 -2,0.895433 -2,2 v 5 c 0,0.276142 -0.223858,0.5 -0.5,0.5 H 17 V 21 Z M 5.5,3 c -1.1045668,0 -2,0.8954327 -2,2 v 4 c 0,1.104567 -0.8954332,2 -2,2 v 2 c 1.1045668,0 2,0.895433 2,2 v 4 c 0,1.104567 0.8954332,2 2,2 H 7 V 19.5 H 5.5 A 0.5,0.5 0 0 1 5,19 V 14 C 5,12.895433 4.1045668,12 3,12 4.1045668,12 5,11.104567 5,10 V 5 C 5,4.7238579 5.2238579,4.5 5.5,4.5 H 7 V 3 Z&quot;})}),Bue=(0,ks.jsx)(xl.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 24 24&quot;,children:(0,ks.jsx)(xl.Path,{d:&quot;M 18.970703,16.53125 23.5,12 18.970703,7.46875 17.910156,8.53125 21.378906,12 17.910156,15.46875 Z M 5.0292969,7.46875 0.5,12 5.0292969,16.53125 6.0898438,15.46875 2.6210938,12 6.0898438,8.53125 Z M 10,6 9.609375,9 H 7 v 1.5 H 9.4121094 L 9.0878906,13 H 7 v 1.5 H 8.890625 L 8.5,17.5 H 10 l 0.390625,-3 h 2.5 L 12.5,17.5 H 14 l 0.390625,-3 H 17 V 13 h -2.412109 l 0.324218,-2.5 H 17 V 9 H 15.109375 L 15.5,6 H 14 l -0.390625,3 h -2.5 L 11.5,6 Z m 0.912109,4.5 h 2.5 L 13.087891,13 h -2.5 z&quot;})});var nb=o(Q(),1),JA=o(V(),1);function Iue(e,t){let[r]=(0,nb.useEntityProp)(&quot;taxonomy&quot;,t,&quot;count&quot;,e),a=Cwe(),n=!!(e&amp;&amp;t);return{hasContext:n,termCount:n?r||&quot;&quot;:a}}function Cwe(){let t=(0,JA.useSelect)(n=&gt;{let{getCurrentPostId:i,getCurrentPostType:l,getCurrentTemplateId:s}=n(&quot;core/editor&quot;),c=l(),u=s()||(c===&quot;wp_template&quot;?i():null);return u?n(nb.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_template&quot;,u)?.slug:null},[])?.match(/^(category|tag|taxonomy-([^-]+))$|^(((category|tag)|taxonomy-([^-]+))-(.+))$/),r,a;return t&amp;&amp;(t[1]?r=t[2]?t[2]:t[1]:t[3]&amp;&amp;(r=t[6]?t[6]:t[4],a=t[7]),r=r===&quot;tag&quot;?&quot;post_tag&quot;:r),(0,JA.useSelect)(n=&gt;{if(!r||!a)return&quot;&quot;;let{getEntityRecords:i}=n(nb.store),l=i(&quot;taxonomy&quot;,r,{slug:a,per_page:1});return l&amp;&amp;l[0]&amp;&amp;l[0].count||&quot;&quot;},[r,a])}var op=o(v(),1),eR={none:{label:(0,sf.__)(&quot;No brackets&quot;),icon:XA},round:{label:(0,sf.__)(&quot;Round brackets&quot;),icon:Sue,before:&quot;(&quot;,after:&quot;)&quot;},square:{label:(0,sf.__)(&quot;Square brackets&quot;),icon:Tue,before:&quot;[&quot;,after:&quot;]&quot;},curly:{label:(0,sf.__)(&quot;Curly brackets&quot;),icon:Pue,before:&quot;{&quot;,after:&quot;}&quot;},angle:{label:(0,sf.__)(&quot;Angle brackets&quot;),icon:Bue,before:&quot;&lt;&quot;,after:&quot;&gt;&quot;}};function Eue({attributes:e,setAttributes:t,context:{termId:r,taxonomy:a}}){let{bracketType:n}=e,l=Iue(r,a)?.termCount||0,s=(0,p7.useBlockProps)(),c=Object.entries(eR).map(([m,{label:p,icon:d}])=&gt;({role:&quot;menuitemradio&quot;,title:p,isActive:n===m,icon:d,onClick:()=&gt;{t({bracketType:m})}})),u=(m,p)=&gt;{let{before:d=&quot;&quot;,after:f=&quot;&quot;}=eR[p]||{};return`${d}${m}${f}`};return(0,op.jsxs)(op.Fragment,{children:[(0,op.jsx)(p7.BlockControls,{group:&quot;block&quot;,children:(0,op.jsx)(Nue.ToolbarDropdownMenu,{icon:eR[n]?.icon??XA,label:(0,sf.__)(&quot;Change bracket type&quot;),controls:c})}),(0,op.jsx)(&quot;div&quot;,{...s,children:u(l,n)})]})}var{name:Due}=m7,Lue={icon:NB,example:{},edit:Eue},Swe=()=&gt;E({name:Due,metadata:m7,settings:Lue});var oR={};Z(oR,{init:()=&gt;Iwe,metadata:()=&gt;d7,name:()=&gt;Fue,settings:()=&gt;Hue});var d7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/term-description&quot;,title:&quot;Term Description&quot;,category:&quot;theme&quot;,description:&quot;Display the description of categories, tags and custom taxonomies when viewing an archive.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;termId&quot;,&quot;taxonomy&quot;],supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}}};var Aue=o(P(),1),Rue=o(T(),1);var ib=o(Q(),1),rR=o(V(),1);function Mue(e,t){let[r,a,n]=(0,ib.useEntityProp)(&quot;taxonomy&quot;,t,&quot;description&quot;,e),i=Pwe(),l=!!(e&amp;&amp;t);return{hasContext:l,setDescription:a,termDescription:l?n?.rendered||r||&quot;&quot;:i}}function Pwe(){let t=(0,rR.useSelect)(n=&gt;{let{getCurrentPostId:i,getCurrentPostType:l,getCurrentTemplateId:s}=n(&quot;core/editor&quot;),c=l(),u=s()||(c===&quot;wp_template&quot;?i():null);return u?n(ib.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_template&quot;,u)?.slug:null},[])?.match(/^(category|tag|taxonomy-([^-]+))$|^(((category|tag)|taxonomy-([^-]+))-(.+))$/),r,a;return t&amp;&amp;(t[1]?r=t[2]?t[2]:t[1]:t[3]&amp;&amp;(r=t[6]?t[6]:t[4],a=t[7]),r=r===&quot;tag&quot;?&quot;post_tag&quot;:r),(0,rR.useSelect)(n=&gt;{if(!r||!a)return&quot;&quot;;let{getEntityRecords:i}=n(ib.store),l=i(&quot;taxonomy&quot;,r,{slug:a,per_page:1});return l&amp;&amp;l[0]&amp;&amp;l[0].description||&quot;&quot;},[r,a])}var ap=o(v(),1);function zue({context:{termId:e,taxonomy:t}}){let{termDescription:r}=Mue(e,t),a=(0,Rue.useBlockProps)();return(0,ap.jsx)(ap.Fragment,{children:(0,ap.jsx)(&quot;div&quot;,{...a,children:r?(0,ap.jsx)(&quot;div&quot;,{dangerouslySetInnerHTML:{__html:r}}):(0,ap.jsx)(&quot;div&quot;,{className:&quot;wp-block-term-description__placeholder&quot;,children:(0,ap.jsx)(&quot;span&quot;,{children:(0,Aue.__)(&quot;Term Description&quot;)})})})})}var Bwe={attributes:{textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=&gt;null},Vue=[Bwe];var{name:Fue}=d7,Hue={icon:DB,edit:zue,example:{},deprecated:Vue},Iwe=()=&gt;E({name:Fue,metadata:d7,settings:Hue});var aR={};Z(aR,{init:()=&gt;Dwe,metadata:()=&gt;f7,name:()=&gt;Gue,settings:()=&gt;Wue});var f7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/term-name&quot;,title:&quot;Term Name&quot;,category:&quot;theme&quot;,description:&quot;Displays the name of a taxonomy term.&quot;,keywords:[&quot;term title&quot;],textdomain:&quot;default&quot;,usesContext:[&quot;termId&quot;,&quot;taxonomy&quot;],attributes:{textAlign:{type:&quot;string&quot;},level:{type:&quot;number&quot;,default:0},isLink:{type:&quot;boolean&quot;,default:!1},levelOptions:{type:&quot;array&quot;}},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{color:!0,width:!0,style:!0}}},style:&quot;wp-block-term-name&quot;};var lb=o(P(),1),Lc=o(T(),1),Jg=o(M(),1),jue=o(Wo(),1);var h7=o(Q(),1),g7=o(V(),1);function Oue(e,t){let r=(0,g7.useSelect)(i=&gt;!e||!t?null:i(h7.store).getEntityRecord(&quot;taxonomy&quot;,t,e),[e,t]),a=Ewe(),n=!!(e&amp;&amp;t);return{hasContext:n,term:n?r:a}}function Ewe(){let t=(0,g7.useSelect)(n=&gt;{let{getCurrentPostId:i,getCurrentPostType:l,getCurrentTemplateId:s}=n(&quot;core/editor&quot;),c=l(),u=s()||(c===&quot;wp_template&quot;?i():null);return u?n(h7.store).getEditedEntityRecord(&quot;postType&quot;,&quot;wp_template&quot;,u)?.slug:null},[])?.match(/^(category|tag|taxonomy-([^-]+))$|^(((category|tag)|taxonomy-([^-]+))-(.+))$/),r,a;return t&amp;&amp;(t[3]&amp;&amp;(r=t[6]?t[6]:t[4],a=t[7]),r=r===&quot;tag&quot;?&quot;post_tag&quot;:r),(0,g7.useSelect)(n=&gt;{if(!r||!a)return null;let{getEntityRecords:i}=n(h7.store),l=i(&quot;taxonomy&quot;,r,{slug:a,per_page:1});return l&amp;&amp;l[0]?l[0]:null},[r,a])}var ei=o(v(),1);function Uue({attributes:e,setAttributes:t,context:{termId:r,taxonomy:a}}){let{textAlign:n,level:i=0,isLink:l,levelOptions:s}=e,{term:c}=Oue(r,a),u=c?.name?(0,jue.decodeEntities)(c.name):(0,lb.__)(&quot;Term Name&quot;),m=(0,Lc.useBlockProps)({className:w({[`has-text-align-${n}`]:n})}),p=q(),d=i===0?&quot;p&quot;:`h${i}`,f=u;return l&amp;&amp;(f=(0,ei.jsx)(&quot;a&quot;,{href:&quot;#term-name-pseudo-link&quot;,onClick:h=&gt;h.preventDefault(),children:u})),(0,ei.jsxs)(ei.Fragment,{children:[(0,ei.jsxs)(Lc.BlockControls,{group:&quot;block&quot;,children:[(0,ei.jsx)(Lc.HeadingLevelDropdown,{value:i,options:s,onChange:h=&gt;{t({level:h})}}),(0,ei.jsx)(Lc.AlignmentControl,{value:n,onChange:h=&gt;{t({textAlign:h})}})]}),(0,ei.jsx)(Lc.InspectorControls,{children:(0,ei.jsx)(Jg.__experimentalToolsPanel,{label:(0,lb.__)(&quot;Settings&quot;),resetAll:()=&gt;{t({isLink:!1})},dropdownMenuProps:p,children:(0,ei.jsx)(Jg.__experimentalToolsPanelItem,{hasValue:()=&gt;!!l,label:(0,lb.__)(&quot;Make term name a link&quot;),onDeselect:()=&gt;t({isLink:!1}),isShownByDefault:!0,children:(0,ei.jsx)(Jg.ToggleControl,{label:(0,lb.__)(&quot;Make term name a link&quot;),onChange:()=&gt;t({isLink:!l}),checked:l})})})}),(0,ei.jsx)(d,{...m,children:f})]})}var{name:Gue}=f7,Wue={icon:LB,example:{},edit:Uue},Dwe=()=&gt;E({name:Gue,metadata:f7,settings:Wue});var uR={};Z(uR,{init:()=&gt;Hwe,metadata:()=&gt;v7,name:()=&gt;Dme,settings:()=&gt;Lme});var v7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/terms-query&quot;,title:&quot;Terms Query&quot;,category:&quot;theme&quot;,description:&quot;An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.&quot;,keywords:[&quot;terms&quot;,&quot;taxonomy&quot;,&quot;categories&quot;,&quot;tags&quot;,&quot;list&quot;],textdomain:&quot;default&quot;,attributes:{termQuery:{type:&quot;object&quot;,default:{perPage:10,taxonomy:&quot;category&quot;,order:&quot;asc&quot;,orderBy:&quot;name&quot;,include:[],hideEmpty:!0,showNested:!1,inherit:!1}},tagName:{type:&quot;string&quot;,default:&quot;div&quot;}},usesContext:[&quot;templateSlug&quot;],providesContext:{termQuery:&quot;termQuery&quot;},supports:{anchor:!0,align:[&quot;wide&quot;,&quot;full&quot;],html:!1,layout:!0,interactivity:!0}};var Cme=o(V(),1),Sme=o(T(),1);var xme=o(U(),1),_7=o(T(),1);var ws=o(P(),1),Mc=o(M(),1),yme=o(T(),1);var $ue=o(Q(),1),que=o(V(),1),Zue=o(U(),1);function b7(){let e=(0,que.useSelect)(t=&gt;t($ue.store).getTaxonomies({per_page:-1}),[]);return(0,Zue.useMemo)(()=&gt;e?.filter(({visibility:t})=&gt;t?.publicly_queryable)||[],[e])}var Kue=o(M(),1);var Que=o(v(),1);function Yue({value:e,onChange:t,...r}){let n=b7().map(i=&gt;({label:i.name,value:i.slug}));return(0,Que.jsx)(Kue.SelectControl,{__next40pxDefaultSize:!0,options:n,value:e,onChange:t,...r})}var sb=o(P(),1),Xue=o(M(),1),Jue=o(v(),1);function eme({orderBy:e,order:t,onChange:r,...a}){return(0,Jue.jsx)(Xue.SelectControl,{__next40pxDefaultSize:!0,options:[{label:(0,sb.__)(&quot;Name: A \u2192 Z&quot;),value:&quot;name/asc&quot;},{label:(0,sb.__)(&quot;Name: Z \u2192 A&quot;),value:&quot;name/desc&quot;},{label:(0,sb.__)(&quot;Count, high to low&quot;),value:&quot;count/desc&quot;},{label:(0,sb.__)(&quot;Count, low to high&quot;),value:&quot;count/asc&quot;}],value:e+&quot;/&quot;+t,onChange:n=&gt;{let[i,l]=n.split(&quot;/&quot;);r(i,l)},...a})}var tme=o(M(),1),rme=o(v(),1);function ome({value:e,onChange:t,...r}){return(0,rme.jsx)(tme.ToggleControl,{checked:!e,onChange:a=&gt;t(!a),...r})}var ame=o(M(),1),nme=o(v(),1);function ime({value:e,onChange:t,...r}){return(0,nme.jsx)(ame.ToggleControl,{checked:e,onChange:t,...r})}var ub=o(M(),1),cb=o(P(),1),mb=o(v(),1);function lme({value:e,onChange:t,label:r}){return(0,mb.jsxs)(ub.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:r,isBlock:!0,onChange:a=&gt;{t({inherit:a===&quot;default&quot;})},help:e?(0,cb.__)(&quot;Display terms based on the current taxonomy archive. For hierarchical taxonomies, shows children of the current term. For non-hierarchical taxonomies, shows all terms.&quot;):(0,cb.__)(&quot;Display terms based on specific criteria.&quot;),value:e?&quot;default&quot;:&quot;custom&quot;,children:[(0,mb.jsx)(ub.__experimentalToggleGroupControlOption,{value:&quot;default&quot;,label:(0,cb.__)(&quot;Default&quot;)}),(0,mb.jsx)(ub.__experimentalToggleGroupControlOption,{value:&quot;custom&quot;,label:(0,cb.__)(&quot;Custom&quot;)})]})}var sme=o(P(),1),cme=o(M(),1),ume=o(v(),1);function mme({value:e,onChange:t,...r}){return(0,ume.jsx)(cme.RangeControl,{__next40pxDefaultSize:!0,value:e,min:0,max:100,onChange:t,help:(0,sme.__)(&quot;Limit the number of terms you want to show. To show all terms, use 0 (zero).&quot;),...r})}var pme=o(P(),1),y7=o(T(),1);var nR=o(v(),1),{HTMLElementControl:Mwe}=K(y7.privateApis);function dme({TagName:e,setAttributes:t,clientId:r}){return(0,nR.jsx)(y7.InspectorControls,{group:&quot;advanced&quot;,children:(0,nR.jsx)(Mwe,{tagName:e,onChange:a=&gt;t({tagName:a}),clientId:r,options:[{label:(0,pme.__)(&quot;Default (&lt;div&gt;)&quot;),value:&quot;div&quot;},{label:&quot;&lt;main&gt;&quot;,value:&quot;main&quot;},{label:&quot;&lt;section&gt;&quot;,value:&quot;section&quot;},{label:&quot;&lt;aside&gt;&quot;,value:&quot;aside&quot;}]})})}var hme=o(M(),1),iR=o(V(),1),lR=o(Q(),1),Mu=o(U(),1),gme=o(me(),1),sR=o(Wo(),1),vme=o(v(),1),cf=[],fme={order:&quot;asc&quot;,_fields:&quot;id,name&quot;,context:&quot;view&quot;};function bme({value:e,taxonomy:t,onChange:r,...a}){let[n,i]=(0,Mu.useState)(&quot;&quot;),[l,s]=(0,Mu.useState)(cf),[c,u]=(0,Mu.useState)(cf),m=(0,gme.useDebounce)(i,250),{searchResults:p,searchHasResolved:d}=(0,iR.useSelect)(y=&gt;{if(!n)return{searchResults:cf,searchHasResolved:!0};let{getEntityRecords:k,hasFinishedResolution:_}=y(lR.store),x=[&quot;taxonomy&quot;,t,{...fme,search:n,orderby:&quot;name&quot;,exclude:e,per_page:20}];return{searchResults:k(...x),searchHasResolved:_(&quot;getEntityRecords&quot;,x)}},[n,t,e]),f=(0,iR.useSelect)(y=&gt;{if(!e?.length)return cf;let{getEntityRecords:k}=y(lR.store);return k(&quot;taxonomy&quot;,t,{...fme,include:e,per_page:e.length})},[e,t]);(0,Mu.useEffect)(()=&gt;{if(e?.length||s(cf),!f?.length)return;let y=e.reduce((k,_)=&gt;{let x=f.find(S=&gt;S.id===_);return x&amp;&amp;k.push({id:_,value:(0,sR.decodeEntities)(x.name)}),k},[]);s(y)},[e,f]);let h=(0,Mu.useMemo)(()=&gt;{if(!p?.length)return{names:cf,mapByName:{}};let y=[],k={};return p.forEach(_=&gt;{let x=(0,sR.decodeEntities)(_.name);y.push(x),k[x]=_}),{names:y,mapByName:k}},[p]);(0,Mu.useEffect)(()=&gt;{d&amp;&amp;u(h.names)},[h.names,d]);let g=(y,k)=&gt;k?.id||y?.[k]?.id;return(0,vme.jsx)(hme.FormTokenField,{__next40pxDefaultSize:!0,value:l,onInputChange:m,suggestions:c,onChange:y=&gt;{let k=Array.from(y.reduce((_,x)=&gt;{let S=g(h.mapByName,x);return S&amp;&amp;_.add(S),_},new Set));u(cf),r(k)},__experimentalShowHowTo:!1,...a})}var Ar=o(v(),1);function _me({attributes:e,setQuery:t,setAttributes:r,clientId:a,templateSlug:n}){let{termQuery:i,tagName:l}=e,{taxonomy:s,orderBy:c,order:u,hideEmpty:m,inherit:p,showNested:d,perPage:f,include:h}=i,g=q(),y=b7().find(z=&gt;z.slug===s)?.hierarchical,k=!!p,_=[&quot;taxonomy&quot;,&quot;category&quot;,&quot;tag&quot;,&quot;archive&quot;].includes(n)||n?.startsWith(&quot;taxonomy-&quot;)||n?.startsWith(&quot;category-&quot;)||n?.startsWith(&quot;tag-&quot;),x=y,S=!!h?.length,C=(0,ws.__)(&quot;Query type&quot;),N=(0,ws.__)(&quot;Taxonomy&quot;),B=(0,ws.__)(&quot;Order by&quot;),D=(0,ws.__)(&quot;Show empty terms&quot;),A=(0,ws.__)(&quot;Show nested terms&quot;),H=(0,ws.__)(&quot;Max terms&quot;),F=(0,ws.__)(&quot;Selected terms&quot;);return(0,Ar.jsxs)(Ar.Fragment,{children:[(0,Ar.jsx)(yme.InspectorControls,{children:(0,Ar.jsxs)(Mc.__experimentalToolsPanel,{label:(0,ws.__)(&quot;Settings&quot;),resetAll:()=&gt;{r({termQuery:{taxonomy:&quot;category&quot;,order:&quot;asc&quot;,orderBy:&quot;name&quot;,include:[],hideEmpty:!0,showNested:!1,inherit:!1,perPage:10}})},dropdownMenuProps:g,children:[_&amp;&amp;(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;p!==!1,label:C,onDeselect:()=&gt;t({inherit:!1}),isShownByDefault:!0,children:(0,Ar.jsx)(lme,{label:C,value:p,onChange:t})}),!k&amp;&amp;(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;s!==&quot;category&quot;,label:N,onDeselect:()=&gt;{t({taxonomy:&quot;category&quot;})},isShownByDefault:!0,children:(0,Ar.jsx)(Yue,{label:N,value:s,onChange:z=&gt;t({taxonomy:z,include:[]})})}),(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;c!==&quot;name&quot;||u!==&quot;asc&quot;,label:B,onDeselect:()=&gt;t({orderBy:&quot;name&quot;,order:&quot;asc&quot;}),isShownByDefault:!0,children:(0,Ar.jsx)(eme,{label:B,orderBy:c,order:u,onChange:(z,I)=&gt;{t({orderBy:z,order:I})},disabled:S,help:S?(0,ws.__)(&quot;When specific terms are selected, the order is based on their selection order.&quot;):void 0})}),!k&amp;&amp;(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;!!h?.length,label:F,onDeselect:()=&gt;t({include:[],orderBy:&quot;name&quot;,order:&quot;asc&quot;}),isShownByDefault:!0,children:(0,Ar.jsx)(bme,{label:F,taxonomy:s,value:h,onChange:z=&gt;t({include:z})})}),(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;m!==!0,label:D,onDeselect:()=&gt;t({hideEmpty:!0}),isShownByDefault:!0,children:(0,Ar.jsx)(ome,{label:D,value:m,onChange:z=&gt;t({hideEmpty:z})})}),x&amp;&amp;(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;d!==!1,label:A,onDeselect:()=&gt;t({showNested:!1}),isShownByDefault:!0,children:(0,Ar.jsx)(ime,{label:A,value:d,onChange:z=&gt;t({showNested:z}),disabled:S,help:S?(0,ws.__)(&quot;When specific terms are selected, only those are displayed.&quot;):void 0})}),(0,Ar.jsx)(Mc.__experimentalToolsPanelItem,{hasValue:()=&gt;f!==10,label:H,onDeselect:()=&gt;t({perPage:10}),isShownByDefault:!0,children:(0,Ar.jsx)(mme,{label:H,value:f,onChange:z=&gt;t({perPage:z})})})]})}),(0,Ar.jsx)(dme,{TagName:l,setAttributes:r,clientId:a})]})}var uf=o(v(),1),Awe=[[&quot;core/term-template&quot;]];function kme({attributes:e,setAttributes:t,clientId:r,context:a}){let{tagName:n}=e,i=(0,_7.useBlockProps)(),l=(0,_7.useInnerBlocksProps)(i,{template:Awe}),s=(0,xme.useCallback)(c=&gt;t(u=&gt;({termQuery:{...u.termQuery,...c}})),[t]);return(0,uf.jsxs)(uf.Fragment,{children:[(0,uf.jsx)(_me,{attributes:e,setQuery:s,setAttributes:t,clientId:r,templateSlug:a?.templateSlug}),(0,uf.jsx)(n,{...l})]})}var x7=o(V(),1),k7=o(W(),1),e0=o(T(),1),cR=o(v(),1);function wme({attributes:e,clientId:t,name:r}){let{blockType:a,activeBlockVariation:n,scopeVariations:i}=(0,x7.useSelect)(m=&gt;{let{getActiveBlockVariation:p,getBlockType:d,getBlockVariations:f}=m(k7.store);return{blockType:d(r),activeBlockVariation:p(r,e),scopeVariations:f(r,&quot;block&quot;)}},[r,e]),l=n?.icon?.src||n?.icon||a?.icon?.src,s=n?.title||a?.title,{replaceInnerBlocks:c}=(0,x7.useDispatch)(e0.store),u=(0,e0.useBlockProps)();return(0,cR.jsx)(&quot;div&quot;,{...u,children:(0,cR.jsx)(e0.__experimentalBlockVariationPicker,{icon:l,label:s,variations:i,onSelect:m=&gt;{m.innerBlocks&amp;&amp;c(t,(0,k7.createBlocksFromInnerBlocksTemplate)(m.innerBlocks),!1)}})})}var Tme=o(v(),1),Rwe=e=&gt;{let r=(0,Cme.useSelect)(a=&gt;!!a(Sme.store).getBlocks(e.clientId).length,[e.clientId])?kme:wme;return(0,Tme.jsx)(r,{...e})},Pme=Rwe;var w7=o(T(),1),Bme=o(v(),1);function Ime({attributes:{tagName:e=&quot;div&quot;}}){let t=w7.useBlockProps.save(),r=w7.useInnerBlocksProps.save(t);return(0,Bme.jsx)(e,{...r})}var pb=o(P(),1),t0=o(M(),1),db=o(v(),1),zwe=(0,db.jsx)(t0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,db.jsx)(t0.Path,{d:&quot;M 41,9 H 7 v 3 h 34 z m 0,9 H 7 v 3 h 34 z m 0,18 H 7 v 3 h 34 z m 0,-9 H 7 v 3 h 34 z&quot;})}),Vwe=(0,db.jsx)(t0.SVG,{xmlns:&quot;http://www.w3.org/2000/svg&quot;,viewBox:&quot;0 0 48 48&quot;,children:(0,db.jsx)(t0.Path,{d:&quot;m 36,36 h 5 v 3 h -5 z m 0,-9 h 5 v 3 h -5 z m 0,-9 h 5 v 3 h -5 z m 0,-9 h 5 v 3 H 36 Z M 31,9 H 7 v 3 h 24 z m 0,9 H 7 v 3 h 24 z m 0,18 H 7 v 3 h 24 z m 0,-9 H 7 v 3 h 24 z&quot;})}),Nme=[&quot;core/term-name&quot;,{isLink:!0}],Fwe=[{name:&quot;name&quot;,title:(0,pb.__)(&quot;Name&quot;),description:(0,pb.__)(&quot;Display the terms&#039; names.&quot;),attributes:{},icon:zwe,scope:[&quot;block&quot;],innerBlocks:[[&quot;core/term-template&quot;,{},[Nme]]]},{name:&quot;name-count&quot;,title:(0,pb.__)(&quot;Name &amp; Count&quot;),description:(0,pb.__)(&quot;Display the terms&#039; names and number of posts assigned to each term.&quot;),attributes:{},icon:Vwe,scope:[&quot;block&quot;],innerBlocks:[[&quot;core/term-template&quot;,{},[[&quot;core/group&quot;,{layout:{type:&quot;flex&quot;,flexWrap:&quot;nowrap&quot;}},[Nme,[&quot;core/term-count&quot;]]]]]]}],Eme=Fwe;var{name:Dme}=v7,Lme={icon:Sp,edit:Pme,save:Ime,example:{},variations:Eme},Hwe=()=&gt;E({name:Dme,metadata:v7,settings:Lme});var mR={};Z(mR,{init:()=&gt;$we,metadata:()=&gt;C7,name:()=&gt;Ome,settings:()=&gt;jme});var C7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/term-template&quot;,title:&quot;Term Template&quot;,category:&quot;theme&quot;,ancestor:[&quot;core/terms-query&quot;],description:&quot;Contains the block elements used to render a taxonomy term, like the name, description, and more.&quot;,textdomain:&quot;default&quot;,usesContext:[&quot;termQuery&quot;],supports:{anchor:!0,reusable:!1,html:!1,align:[&quot;wide&quot;,&quot;full&quot;],layout:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:!0,padding:!0,blockGap:{__experimentalDefault:&quot;1.25em&quot;},__experimentalDefaultControls:{blockGap:!0,padding:!1,margin:!1}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},style:&quot;wp-block-term-template&quot;,editorStyle:&quot;wp-block-term-template-editor&quot;};var Mme=o(M(),1);var r0=o(U(),1),Ame=o(V(),1),fb=o(P(),1),kl=o(T(),1),Rme=o(Q(),1),ga=o(v(),1),jwe=[[&quot;core/term-name&quot;]];function Uwe({classList:e}){let t=(0,kl.useInnerBlocksProps)({className:w(&quot;wp-block-term&quot;,e)},{template:jwe,__unstableDisableLayoutClassNames:!0});return(0,ga.jsx)(&quot;li&quot;,{...t})}function Gwe({blocks:e,blockContextId:t,classList:r,isHidden:a,setActiveBlockContextId:n}){let i=(0,kl.__experimentalUseBlockPreview)({blocks:e,props:{className:w(&quot;wp-block-term&quot;,r)}}),l=()=&gt;{n(t)};return(0,ga.jsx)(&quot;li&quot;,{...i,tabIndex:0,role:&quot;button&quot;,onClick:l,onKeyPress:l,style:{display:a?&quot;none&quot;:void 0}})}var Wwe=(0,r0.memo)(Gwe);function zme({clientId:e,attributes:{layout:t},setAttributes:r,context:{termQuery:{taxonomy:a,order:n,orderBy:i,hideEmpty:l,showNested:s=!1,perPage:c,include:u}={}},__unstableLayoutClassNames:m}){let{type:p,columnCount:d=3}=t||{},[f,h]=(0,r0.useState)(),g={hide_empty:l,order:n,orderby:i,per_page:c||-1};!s&amp;&amp;!u?.length&amp;&amp;(g.parent=0),u?.length&amp;&amp;(g.include=u,g.orderby=&quot;include&quot;,g.order=&quot;asc&quot;);let{records:b}=(0,Rme.useEntityRecords)(&quot;taxonomy&quot;,a,g),y=(0,Ame.useSelect)(S=&gt;S(kl.store).getBlocks(e),[e]),k=(0,kl.useBlockProps)({className:m}),_=(0,r0.useMemo)(()=&gt;b?.map(S=&gt;({taxonomy:a,termId:S.id,classList:`term-${S.id}`,termData:S})),[b,a]);if(!b)return(0,ga.jsx)(&quot;ul&quot;,{...k,children:(0,ga.jsx)(&quot;li&quot;,{className:&quot;wp-block-term term-loading&quot;,children:(0,ga.jsx)(&quot;div&quot;,{className:&quot;term-loading-placeholder&quot;})})});if(!b.length)return(0,ga.jsxs)(&quot;p&quot;,{...k,children:[&quot; &quot;,(0,fb.__)(&quot;No terms found.&quot;)]});let x=S=&gt;r(C=&gt;({layout:{...C.layout,...S}}));return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(kl.BlockControls,{children:(0,ga.jsx)(Mme.ToolbarGroup,{controls:[{icon:Nl,title:(0,fb._x)(&quot;List view&quot;,&quot;Term template block display setting&quot;),onClick:()=&gt;x({type:&quot;default&quot;}),isActive:p===&quot;default&quot;||p===&quot;constrained&quot;},{icon:Il,title:(0,fb._x)(&quot;Grid view&quot;,&quot;Term template block display setting&quot;),onClick:()=&gt;x({type:&quot;grid&quot;,columnCount:d}),isActive:p===&quot;grid&quot;}]})}),(0,ga.jsx)(&quot;ul&quot;,{...k,children:_?.map(S=&gt;(0,ga.jsxs)(kl.BlockContextProvider,{value:S,children:[S.termId===(f||_[0]?.termId)?(0,ga.jsx)(Uwe,{classList:S.classList}):null,(0,ga.jsx)(Wwe,{blocks:y,blockContextId:S.termId,classList:S.classList,setActiveBlockContextId:h,isHidden:S.termId===(f||_[0]?.termId)})]},S.termId))})]})}var Vme=o(T(),1),Fme=o(v(),1);function Hme(){return(0,Fme.jsx)(Vme.InnerBlocks.Content,{})}var{name:Ome}=C7,jme={icon:Cp,edit:zme,save:Hme,example:{}},$we=()=&gt;E({name:Ome,metadata:C7,settings:jme});var pR={};Z(pR,{init:()=&gt;Kwe,metadata:()=&gt;T7,name:()=&gt;qme,settings:()=&gt;Zme});var o0=o(P(),1),S7=o(M(),1),Ac=o(T(),1),Ume=o(Ff(),1),$i=o(v(),1);function Gme({attributes:e,setAttributes:t}){let{width:r,content:a,columns:n}=e;return(0,Ume.default)(&quot;The Text Columns block&quot;,{since:&quot;5.3&quot;,alternative:&quot;the Columns block&quot;}),(0,$i.jsxs)($i.Fragment,{children:[(0,$i.jsx)(Ac.BlockControls,{children:(0,$i.jsx)(Ac.BlockAlignmentToolbar,{value:r,onChange:i=&gt;t({width:i}),controls:[&quot;center&quot;,&quot;wide&quot;,&quot;full&quot;]})}),(0,$i.jsx)(Ac.InspectorControls,{children:(0,$i.jsx)(S7.PanelBody,{children:(0,$i.jsx)(S7.RangeControl,{__next40pxDefaultSize:!0,label:(0,o0.__)(&quot;Columns&quot;),value:n,onChange:i=&gt;t({columns:i}),min:2,max:4,required:!0})})}),(0,$i.jsx)(&quot;div&quot;,{...(0,Ac.useBlockProps)({className:`align${r} columns-${n}`}),children:Array.from({length:n}).map((i,l)=&gt;(0,$i.jsx)(&quot;div&quot;,{className:&quot;wp-block-column&quot;,children:(0,$i.jsx)(Ac.RichText,{tagName:&quot;p&quot;,value:a?.[l]?.children,onChange:s=&gt;{t({content:[...a.slice(0,l),{children:s},...a.slice(l+1)]})},&quot;aria-label&quot;:(0,o0.sprintf)((0,o0.__)(&quot;Column %d text&quot;),l+1),placeholder:(0,o0.__)(&quot;New Column&quot;)})},`column-${l}`))})]})}var T7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/text-columns&quot;,title:&quot;Text Columns (deprecated)&quot;,icon:&quot;columns&quot;,category:&quot;design&quot;,description:&quot;This block is deprecated. Please use the Columns block instead.&quot;,textdomain:&quot;default&quot;,attributes:{content:{type:&quot;array&quot;,source:&quot;query&quot;,selector:&quot;p&quot;,query:{children:{type:&quot;string&quot;,source:&quot;html&quot;}},default:[{},{}]},columns:{type:&quot;number&quot;,default:2},width:{type:&quot;string&quot;}},supports:{inserter:!1,interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-text-columns-editor&quot;,style:&quot;wp-block-text-columns&quot;};var B7=o(T(),1),P7=o(v(),1);function Wme({attributes:e}){let{width:t,content:r,columns:a}=e;return(0,P7.jsx)(&quot;div&quot;,{...B7.useBlockProps.save({className:`align${t} columns-${a}`}),children:Array.from({length:a}).map((n,i)=&gt;(0,P7.jsx)(&quot;div&quot;,{className:&quot;wp-block-column&quot;,children:(0,P7.jsx)(B7.RichText.Content,{tagName:&quot;p&quot;,value:r?.[i]?.children})},`column-${i}`))})}var I7=o(W(),1),Zwe={to:[{type:&quot;block&quot;,blocks:[&quot;core/columns&quot;],transform:({className:e,columns:t,content:r,width:a})=&gt;(0,I7.createBlock)(&quot;core/columns&quot;,{align:a===&quot;wide&quot;||a===&quot;full&quot;?a:void 0,className:e,columns:t},r.map(({children:n})=&gt;(0,I7.createBlock)(&quot;core/column&quot;,{},[(0,I7.createBlock)(&quot;core/paragraph&quot;,{content:n})])))}]},$me=Zwe;var{name:qme}=T7,Zme={transforms:$me,getEditWrapperProps(e){let{width:t}=e;if(t===&quot;wide&quot;||t===&quot;full&quot;)return{&quot;data-align&quot;:t}},edit:Gme,save:Wme},Kwe=()=&gt;E({name:qme,metadata:T7,settings:Zme});var vR={};Z(vR,{init:()=&gt;oCe,metadata:()=&gt;D7,name:()=&gt;tpe,settings:()=&gt;M7});var gR=o(P(),1);var epe=o(W(),1);var mf=o(T(),1);var a0=o(v(),1),Qwe={attributes:{content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;pre&quot;,default:&quot;&quot;},textAlign:{type:&quot;string&quot;}},save({attributes:e}){let{textAlign:t,content:r}=e;return(0,a0.jsx)(mf.RichText.Content,{tagName:&quot;pre&quot;,style:{textAlign:t},value:r})},migrate:We},Ywe={attributes:{content:{type:&quot;string&quot;,source:&quot;html&quot;,selector:&quot;pre&quot;,default:&quot;&quot;,__unstablePreserveWhiteSpace:!0,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},spacing:{padding:!0}},save({attributes:e}){let{textAlign:t,content:r}=e,a=w({[`has-text-align-${t}`]:t});return(0,a0.jsx)(&quot;pre&quot;,{...mf.useBlockProps.save({className:a}),children:(0,a0.jsx)(mf.RichText.Content,{value:r})})},migrate(e){return We(Ot(e))},isEligible({style:e,textAlign:t}){return e?.typography?.fontFamily||!!t}},Xwe={attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;pre&quot;,__unstablePreserveWhiteSpace:!0,role:&quot;content&quot;},textAlign:{type:&quot;string&quot;}},supports:{anchor:!0,background:{backgroundImage:!0,backgroundSize:!0},color:{gradients:!0,link:!0},dimensions:{minHeight:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0},spacing:{margin:!0,padding:!0},__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},interactivity:{clientNavigation:!0}},save({attributes:e}){let{textAlign:t,content:r}=e,a=w({[`has-text-align-${t}`]:t});return(0,a0.jsx)(&quot;pre&quot;,{...mf.useBlockProps.save({className:a}),children:(0,a0.jsx)(mf.RichText.Content,{value:r})})},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},Kme=[Xwe,Ywe,Qwe];var dR=o(P(),1),N7=o(T(),1),E7=o(W(),1);var Qme=o(v(),1);function Yme(e){let{attributes:t,setAttributes:r,mergeBlocks:a,onRemove:n,insertBlocksAfter:i,style:l}=e,{content:s}=t;Kr(e);let c=(0,N7.useBlockProps)({style:l});return(0,Qme.jsx)(N7.RichText,{tagName:&quot;pre&quot;,identifier:&quot;content&quot;,preserveWhiteSpace:!0,value:s,onChange:u=&gt;{r({content:u})},&quot;aria-label&quot;:(0,dR.__)(&quot;Poetry text&quot;),placeholder:(0,dR.__)(&quot;Write poetry\u2026&quot;),onRemove:n,onMerge:a,...c,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:()=&gt;i((0,E7.createBlock)((0,E7.getDefaultBlockName)()))})}var D7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/verse&quot;,title:&quot;Poetry&quot;,category:&quot;text&quot;,description:&quot;Insert poetry. Use special spacing formats. Or quote song lyrics.&quot;,keywords:[&quot;poetry&quot;,&quot;poem&quot;,&quot;verse&quot;,&quot;stanza&quot;,&quot;song&quot;,&quot;lyrics&quot;],textdomain:&quot;default&quot;,attributes:{content:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;pre&quot;,__unstablePreserveWhiteSpace:!0,role:&quot;content&quot;}},supports:{anchor:!0,background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},dimensions:{minHeight:!0,__experimentalDefaultControls:{minHeight:!1}},typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,textAlign:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},interactivity:{clientNavigation:!0}},style:&quot;wp-block-verse&quot;,editorStyle:&quot;wp-block-verse-editor&quot;};var L7=o(T(),1),fR=o(v(),1);function Xme({attributes:e}){let{content:t}=e;return(0,fR.jsx)(&quot;pre&quot;,{...L7.useBlockProps.save(),children:(0,fR.jsx)(L7.RichText.Content,{value:t})})}var hR=o(W(),1),eCe={from:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;(0,hR.createBlock)(&quot;core/verse&quot;,e)}],to:[{type:&quot;block&quot;,blocks:[&quot;core/paragraph&quot;],transform:e=&gt;(0,hR.createBlock)(&quot;core/paragraph&quot;,e)}]},Jme=eCe;var{fieldsKey:tCe,formKey:rCe}=K(epe.privateApis),{name:tpe}=D7,M7={icon:_1,example:{attributes:{content:(0,gR.__)(`WHAT was he doing, the great god Pan,
	Down in the reeds by the river?
Spreading ruin and scattering ban,
Splashing and paddling with hoofs of a goat,
And breaking the golden lilies afloat
    With the dragon-fly on the river.`)}},transforms:Jme,deprecated:Kme,merge(e,t){return{content:e.content+`

`+t.content}},edit:Yme,save:Xme};window.__experimentalContentOnlyInspectorFields&amp;&amp;(M7[tCe]=[{id:&quot;content&quot;,label:(0,gR.__)(&quot;Content&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],M7[rCe]={fields:[&quot;content&quot;]});var oCe=()=&gt;E({name:tpe,metadata:D7,settings:M7});var _R={};Z(_R,{init:()=&gt;yCe,metadata:()=&gt;n0,name:()=&gt;bpe,settings:()=&gt;z7});var R7=o(P(),1);var vpe=o(W(),1);var hb=o(T(),1);var n0={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/video&quot;,title:&quot;Video&quot;,category:&quot;media&quot;,description:&quot;Embed a video from your media library or upload a new one.&quot;,keywords:[&quot;movie&quot;],textdomain:&quot;default&quot;,attributes:{autoplay:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;autoplay&quot;},caption:{type:&quot;rich-text&quot;,source:&quot;rich-text&quot;,selector:&quot;figcaption&quot;,role:&quot;content&quot;},controls:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;controls&quot;,default:!0},id:{type:&quot;number&quot;,role:&quot;content&quot;},loop:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;loop&quot;},muted:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;muted&quot;},poster:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;poster&quot;},preload:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;preload&quot;,default:&quot;metadata&quot;},blob:{type:&quot;string&quot;,role:&quot;local&quot;},src:{type:&quot;string&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;src&quot;,role:&quot;content&quot;},playsInline:{type:&quot;boolean&quot;,source:&quot;attribute&quot;,selector:&quot;video&quot;,attribute:&quot;playsinline&quot;},tracks:{role:&quot;content&quot;,type:&quot;array&quot;,items:{type:&quot;object&quot;},default:[]}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0}},editorStyle:&quot;wp-block-video-editor&quot;,style:&quot;wp-block-video&quot;};var rpe=o(v(),1);function i0({tracks:e=[]}){return e.map(t=&gt;{let{id:r,...a}=t;return(0,rpe.jsx)(&quot;track&quot;,{...a},r??a.src)})}var l0=o(v(),1),{attributes:nCe}=n0,iCe={attributes:nCe,save({attributes:e}){let{autoplay:t,caption:r,controls:a,loop:n,muted:i,poster:l,preload:s,src:c,playsInline:u,tracks:m}=e;return(0,l0.jsxs)(&quot;figure&quot;,{...hb.useBlockProps.save(),children:[c&amp;&amp;(0,l0.jsx)(&quot;video&quot;,{autoPlay:t,controls:a,loop:n,muted:i,poster:l,preload:s!==&quot;metadata&quot;?s:void 0,src:c,playsInline:u,children:(0,l0.jsx)(i0,{tracks:m})}),!hb.RichText.isEmpty(r)&amp;&amp;(0,l0.jsx)(hb.RichText.Content,{tagName:&quot;figcaption&quot;,value:r})]})}},lCe=[iCe],ope=lCe;var upe=o(Rr(),1),np=o(M(),1),_n=o(T(),1),c0=o(U(),1),gb=o(P(),1),mpe=o(V(),1);var ppe=o(xr(),1),dpe=o(mr(),1);var Gr=o(P(),1),yn=o(M(),1),pf=o(U(),1),va=o(v(),1),sCe=[{value:&quot;auto&quot;,label:(0,Gr.__)(&quot;Auto&quot;)},{value:&quot;metadata&quot;,label:(0,Gr.__)(&quot;Metadata&quot;)},{value:&quot;none&quot;,label:(0,Gr._x)(&quot;None&quot;,&quot;Preload value&quot;)}],cCe=({setAttributes:e,attributes:t})=&gt;{let{autoplay:r,controls:a,loop:n,muted:i,playsInline:l,preload:s}=t,c=(0,Gr.__)(&quot;Autoplay may cause usability issues for some users.&quot;),u=pf.Platform.select({web:(0,pf.useCallback)(d=&gt;d?c:null,[]),native:c}),m=(0,pf.useMemo)(()=&gt;{let d=f=&gt;h=&gt;{e({[f]:h,...f===&quot;autoplay&quot;&amp;&amp;{muted:h,playsInline:h}})};return{autoplay:d(&quot;autoplay&quot;),loop:d(&quot;loop&quot;),muted:d(&quot;muted&quot;),controls:d(&quot;controls&quot;),playsInline:d(&quot;playsInline&quot;)}},[]),p=(0,pf.useCallback)(d=&gt;{e({preload:d})},[]);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Autoplay&quot;),isShownByDefault:!0,hasValue:()=&gt;!!r,onDeselect:()=&gt;{e({autoplay:!1,muted:!1})},children:(0,va.jsx)(yn.ToggleControl,{label:(0,Gr.__)(&quot;Autoplay&quot;),onChange:m.autoplay,checked:!!r,help:u})}),(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Loop&quot;),isShownByDefault:!0,hasValue:()=&gt;!!n,onDeselect:()=&gt;{e({loop:!1})},children:(0,va.jsx)(yn.ToggleControl,{label:(0,Gr.__)(&quot;Loop&quot;),onChange:m.loop,checked:!!n})}),(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Muted&quot;),isShownByDefault:!0,hasValue:()=&gt;!!i,onDeselect:()=&gt;{e({muted:!1})},children:(0,va.jsx)(yn.ToggleControl,{label:(0,Gr.__)(&quot;Muted&quot;),onChange:m.muted,checked:!!i,disabled:r,help:r?(0,Gr.__)(&quot;Muted because of Autoplay.&quot;):null})}),(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Playback controls&quot;),isShownByDefault:!0,hasValue:()=&gt;!a,onDeselect:()=&gt;{e({controls:!0})},children:(0,va.jsx)(yn.ToggleControl,{label:(0,Gr.__)(&quot;Playback controls&quot;),onChange:m.controls,checked:!!a})}),(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Play inline&quot;),isShownByDefault:!0,hasValue:()=&gt;!!l,onDeselect:()=&gt;{e({playsInline:!1})},children:(0,va.jsx)(yn.ToggleControl,{label:(0,Gr.__)(&quot;Play inline&quot;),onChange:m.playsInline,checked:!!l,disabled:r,help:r?(0,Gr.__)(&quot;Play inline enabled because of Autoplay.&quot;):(0,Gr.__)(&quot;When enabled, videos will play directly within the webpage on mobile browsers, instead of opening in a fullscreen player.&quot;)})}),(0,va.jsx)(yn.__experimentalToolsPanelItem,{label:(0,Gr.__)(&quot;Preload&quot;),isShownByDefault:!0,hasValue:()=&gt;s!==&quot;metadata&quot;,onDeselect:()=&gt;{e({preload:&quot;metadata&quot;})},children:(0,va.jsx)(yn.SelectControl,{__next40pxDefaultSize:!0,label:(0,Gr.__)(&quot;Preload&quot;),value:s,onChange:p,options:sCe,hideCancelButton:!0})})]})},ape=cCe;var Dt=o(P(),1),Ye=o(M(),1),s0=o(T(),1);var ipe=o(V(),1),df=o(U(),1),lpe=o(mr(),1);var Ze=o(v(),1),{Badge:uCe}=K(Ye.privateApis),npe=[&quot;text/vtt&quot;],mCe=&quot;subtitles&quot;,pCe=[{label:(0,Dt.__)(&quot;Subtitles&quot;),value:&quot;subtitles&quot;},{label:(0,Dt.__)(&quot;Captions&quot;),value:&quot;captions&quot;},{label:(0,Dt.__)(&quot;Descriptions&quot;),value:&quot;descriptions&quot;},{label:(0,Dt.__)(&quot;Chapters&quot;),value:&quot;chapters&quot;},{label:(0,Dt.__)(&quot;Metadata&quot;),value:&quot;metadata&quot;}],spe={src:&quot;&quot;,label:&quot;&quot;,srcLang:&quot;en&quot;,kind:mCe,default:!1};function dCe({tracks:e,onEditPress:t}){let r=e.map((a,n)=&gt;(0,Ze.jsxs)(Ye.__experimentalHStack,{className:&quot;block-library-video-tracks-editor__track-list-track&quot;,children:[(0,Ze.jsx)(&quot;span&quot;,{children:a.label}),(0,Ze.jsxs)(Ye.__experimentalHStack,{justify:&quot;flex-end&quot;,children:[a.default&amp;&amp;(0,Ze.jsx)(uCe,{children:(0,Dt.__)(&quot;Default&quot;)}),(0,Ze.jsx)(Ye.Button,{__next40pxDefaultSize:!0,variant:&quot;tertiary&quot;,onClick:()=&gt;t(n),&quot;aria-label&quot;:(0,Dt.sprintf)((0,Dt._x)(&quot;Edit %s&quot;,&quot;text tracks&quot;),a.label),children:(0,Dt.__)(&quot;Edit&quot;)})]})]},a.id??a.src));return(0,Ze.jsx)(Ye.MenuGroup,{label:(0,Dt.__)(&quot;Text tracks&quot;),className:&quot;block-library-video-tracks-editor__track-list&quot;,children:r})}function fCe({track:e,onChange:t,onClose:r,onRemove:a,allowSettingDefault:n}){let[i,l]=(0,df.useState)({...spe,...e}),{src:s,label:c,srcLang:u,kind:m,default:p}=i,d=s.startsWith(&quot;blob:&quot;)?&quot;&quot;:(0,lpe.getFilename)(s)||&quot;&quot;;return(0,Ze.jsxs)(Ye.__experimentalVStack,{className:&quot;block-library-video-tracks-editor__single-track-editor&quot;,spacing:&quot;4&quot;,children:[(0,Ze.jsx)(&quot;span&quot;,{className:&quot;block-library-video-tracks-editor__single-track-editor-edit-track-label&quot;,children:(0,Dt.__)(&quot;Edit track&quot;)}),(0,Ze.jsxs)(&quot;span&quot;,{children:[(0,Dt.__)(&quot;File&quot;),&quot;: &quot;,(0,Ze.jsx)(&quot;b&quot;,{children:d})]}),(0,Ze.jsxs)(Ye.__experimentalGrid,{columns:2,gap:4,children:[(0,Ze.jsx)(Ye.TextControl,{__next40pxDefaultSize:!0,onChange:f=&gt;l(h=&gt;({...h,label:f})),label:(0,Dt.__)(&quot;Label&quot;),value:c,help:(0,Dt.__)(&quot;Title of track&quot;)}),(0,Ze.jsx)(Ye.TextControl,{__next40pxDefaultSize:!0,onChange:f=&gt;l(h=&gt;({...h,srcLang:f})),label:(0,Dt.__)(&quot;Source language&quot;),value:u,help:(0,Dt.__)(&quot;Language tag (en, fr, etc.)&quot;)})]}),(0,Ze.jsxs)(Ye.__experimentalVStack,{spacing:&quot;4&quot;,children:[(0,Ze.jsx)(Ye.SelectControl,{__next40pxDefaultSize:!0,className:&quot;block-library-video-tracks-editor__single-track-editor-kind-select&quot;,options:pCe,value:m,label:(0,Dt.__)(&quot;Kind&quot;),onChange:f=&gt;l(h=&gt;({...h,kind:f}))}),(0,Ze.jsx)(Ye.ToggleControl,{__next40pxDefaultSize:!0,label:(0,Dt.__)(&quot;Set as default track&quot;),checked:p,disabled:!n,onChange:f=&gt;l(h=&gt;({...h,default:f}))}),(0,Ze.jsxs)(Ye.__experimentalHStack,{className:&quot;block-library-video-tracks-editor__single-track-editor-buttons-container&quot;,children:[(0,Ze.jsx)(Ye.Button,{__next40pxDefaultSize:!0,isDestructive:!0,variant:&quot;link&quot;,onClick:a,children:(0,Dt.__)(&quot;Remove track&quot;)}),(0,Ze.jsx)(Ye.Button,{__next40pxDefaultSize:!0,variant:&quot;primary&quot;,onClick:()=&gt;{t(i),r()},children:(0,Dt.__)(&quot;Apply&quot;)})]})]})]})}function cpe({tracks:e=[],onChange:t}){let r=(0,ipe.useSelect)(c=&gt;c(s0.store).getSettings().mediaUpload,[]),[a,n]=(0,df.useState)(null),i=(0,df.useRef)(),l=(c=[],u=!1)=&gt;{let m=new Map(e.map(d=&gt;[d.id,d])),p=c.map(({id:d,title:f,url:h})=&gt;m.has(d)?m.get(d):{...spe,id:d,label:f||&quot;&quot;,src:h});p.length!==0&amp;&amp;t([...u?e:[],...p])};function s(c){let u=c.target.files;r({allowedTypes:npe,filesList:u,onFileChange:m=&gt;{if(!Array.isArray(m))return;let p=m.filter(d=&gt;!!d?.id);p.length&amp;&amp;l(p,!0)}})}return(0,df.useEffect)(()=&gt;{i.current?.focus()},[a]),r?(0,Ze.jsx)(Ye.Dropdown,{contentClassName:&quot;block-library-video-tracks-editor&quot;,focusOnMount:!0,popoverProps:{ref:i},renderToggle:({isOpen:c,onToggle:u})=&gt;(0,Ze.jsx)(Ye.ToolbarGroup,{children:(0,Ze.jsx)(Ye.ToolbarButton,{&quot;aria-expanded&quot;:c,&quot;aria-haspopup&quot;:&quot;true&quot;,onClick:()=&gt;{c||n(null),u()},children:(0,Dt.__)(&quot;Text tracks&quot;)})}),renderContent:()=&gt;a!==null?(0,Ze.jsx)(fCe,{track:e[a],onChange:c=&gt;{let u=[...e];u[a]=c,t(u)},onClose:()=&gt;n(null),onRemove:()=&gt;{t(e.filter((c,u)=&gt;u!==a)),n(null)},allowSettingDefault:!e.some(c=&gt;c.default)||e[a].default}):(0,Ze.jsxs)(Ze.Fragment,{children:[e.length===0&amp;&amp;(0,Ze.jsxs)(&quot;div&quot;,{className:&quot;block-library-video-tracks-editor__tracks-informative-message&quot;,children:[(0,Ze.jsx)(&quot;h2&quot;,{className:&quot;block-library-video-tracks-editor__tracks-informative-message-title&quot;,children:(0,Dt.__)(&quot;Text tracks&quot;)}),(0,Ze.jsx)(&quot;p&quot;,{className:&quot;block-library-video-tracks-editor__tracks-informative-message-description&quot;,children:(0,Dt.__)(&quot;Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.&quot;)})]}),(0,Ze.jsxs)(Ye.NavigableMenu,{children:[(0,Ze.jsx)(dCe,{tracks:e,onEditPress:n}),(0,Ze.jsx)(Ye.MenuGroup,{className:&quot;block-library-video-tracks-editor__add-tracks-container&quot;,label:(0,Dt.__)(&quot;Add tracks&quot;),children:(0,Ze.jsxs)(s0.MediaUploadCheck,{children:[(0,Ze.jsx)(s0.MediaUpload,{onSelect:l,allowedTypes:npe,value:e.map(({id:c})=&gt;c),multiple:!0,render:({open:c})=&gt;(0,Ze.jsx)(Ye.MenuItem,{icon:$0,onClick:c,children:(0,Dt.__)(&quot;Open Media Library&quot;)})}),(0,Ze.jsx)(Ye.FormFileUpload,{onChange:s,accept:&quot;.vtt,text/vtt&quot;,multiple:!0,render:({openFileDialog:c})=&gt;(0,Ze.jsx)(Ye.MenuItem,{icon:Hc,onClick:c,children:(0,Dt._x)(&quot;Upload&quot;,&quot;verb&quot;)})})]})})]})]})}):null}var ur=o(v(),1),bR=[&quot;video&quot;];function hCe({isSelected:e,attributes:t,className:r,setAttributes:a,insertBlocksAfter:n,onReplace:i}){let l=(0,c0.useRef)(),{id:s,controls:c,poster:u,src:m,tracks:p}=t,[d,f]=(0,c0.useState)(t.blob),h=q(),b=(0,_n.useBlockEditingMode)()===&quot;default&quot;;Es({url:d,allowedTypes:bR,onChange:y,onError:x}),(0,c0.useEffect)(()=&gt;{l.current&amp;&amp;l.current.load()},[u]);function y(B){if(!B||!B.url){a({src:void 0,id:void 0,poster:void 0,caption:void 0,blob:void 0}),f();return}if((0,upe.isBlobURL)(B.url)){f(B.url);return}a({blob:void 0,src:B.url,id:B.id,poster:B.image?.src!==B.icon?B.image?.src:void 0,caption:B.caption}),f()}function k(B){if(B!==m){let D=(0,dpe.prependHTTPS)(B),A=Yu({attributes:{url:D}});if(A!==void 0&amp;&amp;i){i(A);return}a({blob:void 0,src:D,id:void 0,poster:void 0}),f()}}let{createErrorNotice:_}=(0,mpe.useDispatch)(ppe.store);function x(B){_(B,{type:&quot;snackbar&quot;})}let S=B=&gt;(0,ur.jsx)(np.Placeholder,{className:&quot;block-editor-media-placeholder&quot;,withIllustration:!e,icon:Ef,label:(0,gb.__)(&quot;Video&quot;),instructions:(0,gb.__)(&quot;Drag and drop a video, upload, or choose from your library.&quot;),children:B}),C=w(r,{&quot;is-transient&quot;:!!d}),N=(0,_n.useBlockProps)({className:C});return!m&amp;&amp;!d?(0,ur.jsx)(&quot;div&quot;,{...N,children:(0,ur.jsx)(_n.MediaPlaceholder,{icon:(0,ur.jsx)(_n.BlockIcon,{icon:Ef}),onSelect:y,onSelectURL:k,accept:&quot;video/*&quot;,allowedTypes:bR,value:t,onError:x,placeholder:S})}):(0,ur.jsxs)(ur.Fragment,{children:[e&amp;&amp;(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(_n.BlockControls,{children:(0,ur.jsx)(cpe,{tracks:p,onChange:B=&gt;{a({tracks:B})}})}),(0,ur.jsx)(_n.BlockControls,{group:&quot;other&quot;,children:(0,ur.jsx)(_n.MediaReplaceFlow,{mediaId:s,mediaURL:m,allowedTypes:bR,accept:&quot;video/*&quot;,onSelect:y,onSelectURL:k,onError:x,onReset:()=&gt;y(void 0),variant:&quot;toolbar&quot;})})]}),(0,ur.jsx)(_n.InspectorControls,{children:(0,ur.jsxs)(np.__experimentalToolsPanel,{label:(0,gb.__)(&quot;Settings&quot;),resetAll:()=&gt;{a({autoplay:!1,controls:!0,loop:!1,muted:!1,playsInline:!1,preload:&quot;metadata&quot;,poster:void 0})},dropdownMenuProps:h,children:[(0,ur.jsx)(ape,{setAttributes:a,attributes:t}),(0,ur.jsx)(r5,{poster:u,onChange:B=&gt;a({poster:B?.url})})]})}),(0,ur.jsxs)(&quot;figure&quot;,{...N,children:[(0,ur.jsx)(np.Disabled,{isDisabled:!e,children:(0,ur.jsx)(&quot;video&quot;,{controls:c,poster:u,src:m||d,ref:l,children:(0,ur.jsx)(i0,{tracks:p})})}),!!d&amp;&amp;(0,ur.jsx)(np.Spinner,{}),(0,ur.jsx)(_a,{attributes:t,setAttributes:a,isSelected:e,insertBlocksAfter:n,label:(0,gb.__)(&quot;Video caption text&quot;),showToolbarButton:e&amp;&amp;b})]})]})}var fpe=hCe;var ff=o(T(),1);var u0=o(v(),1);function hpe({attributes:e}){let{autoplay:t,caption:r,controls:a,loop:n,muted:i,poster:l,preload:s,src:c,playsInline:u,tracks:m}=e;return(0,u0.jsxs)(&quot;figure&quot;,{...ff.useBlockProps.save(),children:[c&amp;&amp;(0,u0.jsx)(&quot;video&quot;,{autoPlay:t,controls:a,loop:n,muted:i,poster:l,preload:s!==&quot;metadata&quot;?s:void 0,src:c,playsInline:u,children:(0,u0.jsx)(i0,{tracks:m})}),!ff.RichText.isEmpty(r)&amp;&amp;(0,u0.jsx)(ff.RichText.Content,{className:(0,ff.__experimentalGetElementClassName)(&quot;caption&quot;),tagName:&quot;figcaption&quot;,value:r})]})}var A7=o(Rr(),1),yR=o(W(),1),gCe={from:[{type:&quot;files&quot;,isMatch(e){return e.length===1&amp;&amp;e[0].type.indexOf(&quot;video/&quot;)===0},transform(e){let t=e[0];return(0,yR.createBlock)(&quot;core/video&quot;,{blob:(0,A7.createBlobURL)(t)})}},{type:&quot;shortcode&quot;,tag:&quot;video&quot;,attributes:{src:{type:&quot;string&quot;,shortcode:({named:{src:e,mp4:t,m4v:r,webm:a,ogv:n,flv:i}})=&gt;e||t||r||a||n||i},poster:{type:&quot;string&quot;,shortcode:({named:{poster:e}})=&gt;e},loop:{type:&quot;string&quot;,shortcode:({named:{loop:e}})=&gt;e},autoplay:{type:&quot;string&quot;,shortcode:({named:{autoplay:e}})=&gt;e},preload:{type:&quot;string&quot;,shortcode:({named:{preload:e}})=&gt;e}}},{type:&quot;raw&quot;,isMatch:e=&gt;e.nodeName===&quot;P&quot;&amp;&amp;e.children.length===1&amp;&amp;e.firstChild.nodeName===&quot;VIDEO&quot;,transform:e=&gt;{let t=e.firstChild,r={autoplay:t.hasAttribute(&quot;autoplay&quot;)?!0:void 0,controls:t.hasAttribute(&quot;controls&quot;)?void 0:!1,loop:t.hasAttribute(&quot;loop&quot;)?!0:void 0,muted:t.hasAttribute(&quot;muted&quot;)?!0:void 0,preload:t.getAttribute(&quot;preload&quot;)||void 0,playsInline:t.hasAttribute(&quot;playsinline&quot;)?!0:void 0,poster:t.getAttribute(&quot;poster&quot;)||void 0,src:t.getAttribute(&quot;src&quot;)||void 0};return(0,A7.isBlobURL)(r.src)&amp;&amp;(r.blob=r.src,delete r.src),(0,yR.createBlock)(&quot;core/video&quot;,r)}}]},gpe=gCe;var{fieldsKey:vCe,formKey:bCe}=K(vpe.privateApis),{name:bpe}=n0,z7={icon:Ef,example:{attributes:{src:&quot;https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm&quot;,caption:(0,R7.__)(&quot;Wood thrush singing in Central Park, NYC.&quot;)}},transforms:gpe,deprecated:ope,edit:fpe,save:hpe};window.__experimentalContentOnlyInspectorFields&amp;&amp;(z7[vCe]=[{id:&quot;video&quot;,label:(0,R7.__)(&quot;Video&quot;),type:&quot;media&quot;,Edit:{control:&quot;media&quot;,allowedTypes:[&quot;video&quot;],multiple:!1},getValue:({item:e})=&gt;({id:e.id,url:e.src,caption:e.caption,poster:e.poster}),setValue:({value:e})=&gt;({id:e.id,src:e.url,caption:e.caption,poster:e.poster})},{id:&quot;caption&quot;,label:(0,R7.__)(&quot;Caption&quot;),type:&quot;text&quot;,Edit:&quot;rich-text&quot;}],z7[bCe]={fields:[&quot;video&quot;,&quot;caption&quot;]});var yCe=()=&gt;E({name:bpe,metadata:n0,settings:z7});var CR={};Z(CR,{init:()=&gt;wCe,metadata:()=&gt;V7,name:()=&gt;H7,settings:()=&gt;Ppe});var Tpe=o(em(),1);var hf=o(T(),1),ype=o(Q(),1),vb=o(P(),1),xR=o(M(),1);var wl=o(v(),1);function _pe({context:{postType:e,postId:t}}){let[r,a]=(0,ype.useEntityProp)(&quot;postType&quot;,e,&quot;meta&quot;,t),n=typeof r?.footnotes==&quot;string&quot;,i=r?.footnotes?JSON.parse(r.footnotes):[],l=(0,hf.useBlockProps)();return n?i.length?(0,wl.jsx)(&quot;ol&quot;,{...l,children:i.map(({id:s,content:c})=&gt;(0,wl.jsxs)(&quot;li&quot;,{onMouseDown:u=&gt;{u.target===u.currentTarget&amp;&amp;(u.target.firstElementChild.focus(),u.preventDefault())},children:[(0,wl.jsx)(hf.RichText,{id:s,tagName:&quot;span&quot;,value:c,identifier:s,onFocus:u=&gt;{u.target.textContent.trim()||u.target.scrollIntoView()},onChange:u=&gt;{a({...r,footnotes:JSON.stringify(i.map(m=&gt;m.id===s?{content:u,id:s}:m))})}}),&quot; &quot;,(0,wl.jsx)(&quot;a&quot;,{href:`#${s}-link`,children:&quot;\u21A9\uFE0E&quot;})]},s))}):(0,wl.jsx)(&quot;div&quot;,{...l,children:(0,wl.jsx)(xR.Placeholder,{icon:(0,wl.jsx)(hf.BlockIcon,{icon:Ki}),label:(0,vb.__)(&quot;Footnotes&quot;),instructions:(0,vb.__)(&quot;Footnotes found in blocks within this document will be displayed here.&quot;)})}):(0,wl.jsx)(&quot;div&quot;,{...l,children:(0,wl.jsx)(xR.Placeholder,{icon:(0,wl.jsx)(hf.BlockIcon,{icon:Ki}),label:(0,vb.__)(&quot;Footnotes&quot;),instructions:(0,vb.__)(&quot;Footnotes are not supported here. Add this block to post or page content.&quot;)})})}var V7={$schema:&quot;https://schemas.wp.org/trunk/block.json&quot;,apiVersion:3,name:&quot;core/footnotes&quot;,title:&quot;Footnotes&quot;,category:&quot;text&quot;,description:&quot;Display footnotes added to the page.&quot;,keywords:[&quot;references&quot;],textdomain:&quot;default&quot;,usesContext:[&quot;postId&quot;,&quot;postType&quot;],supports:{anchor:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!1,color:!1,width:!1,style:!1}},color:{background:!0,link:!0,text:!0,__experimentalDefaultControls:{link:!0,text:!0}},html:!1,multiple:!1,reusable:!1,inserter:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:&quot;wp-block-footnotes&quot;};var kR=o(P(),1);var kpe=o(em(),1),Au=o(T(),1),m0=o(V(),1),wpe=o(Q(),1),F7=o(W(),1);var Cpe=o(v(),1),wR=&quot;core/footnote&quot;,{usesContextKey:xCe}=K(Au.privateApis),xpe=&quot;core/post-content&quot;,kCe=&quot;core/block&quot;,Spe={title:(0,kR.__)(&quot;Footnote&quot;),tagName:&quot;sup&quot;,className:&quot;fn&quot;,attributes:{&quot;data-fn&quot;:&quot;data-fn&quot;},interactive:!0,contentEditable:!1,[xCe]:[&quot;postType&quot;,&quot;postId&quot;],edit:function({value:t,onChange:r,isObjectActive:a,context:{postType:n,postId:i}}){let l=(0,m0.useRegistry)(),{getSelectedBlockClientId:s,getBlocks:c,getBlockRootClientId:u,getBlockName:m,getBlockParentsByBlockName:p}=l.select(Au.store),d=(0,m0.useSelect)(b=&gt;{if(!b(F7.store).getBlockType(&quot;core/footnotes&quot;))return!1;let y=b(Au.store).getSettings().allowedBlockTypes;if(y===!1||Array.isArray(y)&amp;&amp;!y.includes(&quot;core/footnotes&quot;)||typeof b(wpe.store).getEntityRecord(&quot;postType&quot;,n,i)?.meta?.footnotes!=&quot;string&quot;)return!1;let{getBlockParentsByBlockName:_,getSelectedBlockClientId:x,getBlockName:S}=b(Au.store),C=x();if(!C||S(C)===H7)return!1;let N=_(C,kCe);return!N||N.length===0},[n,i]),{selectionChange:f,insertBlock:h}=(0,m0.useDispatch)(Au.store);if(!d)return null;function g(){l.batch(()=&gt;{let b;if(a)b=t.replacements[t.start]?.attributes?.[&quot;data-fn&quot;];else{b=Am();let S=(0,kpe.insertObject)(t,{type:wR,attributes:{&quot;data-fn&quot;:b},innerHTML:`&lt;a href=&quot;#${b}&quot; id=&quot;${b}-link&quot;&gt;*&lt;/a&gt;`},t.end,t.end);S.start=S.end-1,r(S)}let y=s(),k=p(y,xpe),_=k.length?c(k[0]):c(),x=null;{let S=[..._];for(;S.length;){let C=S.shift();if(C.name===&quot;core/footnotes&quot;){x=C;break}S.push(...C.innerBlocks)}}if(!x){let S=u(y);for(;S&amp;&amp;m(S)!==xpe;)S=u(S);x=(0,F7.createBlock)(&quot;core/footnotes&quot;),h(x,void 0,S)}f(x.clientId,b,0,0)})}return(0,Cpe.jsx)(Au.RichTextToolbarButton,{icon:Ki,title:(0,kR.__)(&quot;Footnote&quot;),onClick:g,isActive:a})}};var{name:H7}=V7,Ppe={icon:Ki,edit:_pe},wCe=()=&gt;{(0,Tpe.registerFormatType)(wR,Spe),E({name:H7,metadata:V7,settings:Ppe})};function Bpe(e){return e&amp;&amp;&quot;__experimental&quot;in e&amp;&amp;e.__experimental!==!1}var Epe=o(U(),1),bb=o(V(),1),Rc=o(Npe(),1),SR=o(P(),1),Dpe=o(W(),1),TR=o(T(),1);function CCe(){let{registerShortcut:e}=(0,bb.useDispatch)(Rc.store),{replaceBlocks:t}=(0,bb.useDispatch)(TR.store),{getBlockName:r,getSelectedBlockClientId:a,getBlockAttributes:n}=(0,bb.useSelect)(TR.store),i=(l,s)=&gt;{l.preventDefault();let c=a();if(c===null)return;let u=r(c),m=u===&quot;core/paragraph&quot;,p=u===&quot;core/heading&quot;;if(!m&amp;&amp;!p)return;let d=s===0?&quot;core/paragraph&quot;:&quot;core/heading&quot;,f=n(c);if(m&amp;&amp;s===0||p&amp;&amp;f.level===s)return;let h={content:f.content},g=f.textAlign||f.style?.typography?.textAlign;d===&quot;core/heading&quot;&amp;&amp;(h.level=s),g&amp;&amp;(h.style={typography:{textAlign:g}}),t(c,(0,Dpe.createBlock)(d,h))};return(0,Epe.useEffect)(()=&gt;{e({name:&quot;core/block-editor/transform-heading-to-paragraph&quot;,category:&quot;block-library&quot;,description:(0,SR.__)(&quot;Transform heading to paragraph.&quot;),keyCombination:{modifier:&quot;access&quot;,character:&quot;0&quot;},aliases:[{modifier:&quot;access&quot;,character:&quot;7&quot;}]}),[1,2,3,4,5,6].forEach(l=&gt;{e({name:`core/block-editor/transform-paragraph-to-heading-${l}`,category:&quot;block-library&quot;,description:(0,SR.__)(&quot;Transform paragraph to heading.&quot;),keyCombination:{modifier:&quot;access&quot;,character:`${l}`}})})},[e]),(0,Rc.useShortcut)(&quot;core/block-editor/transform-heading-to-paragraph&quot;,l=&gt;i(l,0)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-1&quot;,l=&gt;i(l,1)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-2&quot;,l=&gt;i(l,2)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-3&quot;,l=&gt;i(l,3)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-4&quot;,l=&gt;i(l,4)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-5&quot;,l=&gt;i(l,5)),(0,Rc.useShortcut)(&quot;core/block-editor/transform-paragraph-to-heading-6&quot;,l=&gt;i(l,6)),null}var Lpe=CCe;var PR={};sF(PR,{BlockKeyboardShortcuts:Lpe,NAVIGATION_OVERLAY_TEMPLATE_PART_AREA:ic});var O7=o(v(),1),SCe=()=&gt;{let e=[YD,gE,aE,ZN,SE,RE,lM,GB,WB,$B,qB,ZB,aI,cI,pI,fI,vI,CI,TI,II,AI,hN,gN,wN,PN,JN,sE,PE,vE,xE,UE,GE,WE,DD,HD,WD,RD,PL,BL,sM,uM,gM,vM,yM,CA,TA,PA,FA,$A,pR,vR,_R,CR,TD,BD,ND,xM,PM,CM,UL,YA,QB,wL,hL,bL,pL,aL,nL,lL,sL,mL,dL,xL,yL,_L,kL,qL,KL,QL,XL,GL,nM,cM,LI,RI,zI,FI,HI,OI,UI,YI,qI,KI,QI,WI,uL,OA,nE,pE,zE,MD,tR,oR,aR,uR,mR,rM,iL,nI];return window?.__experimentalEnableFormBlocks&amp;&amp;(e.push(DN),e.push(MN),e.push(RN),e.push(zN)),window?.__experimentalEnableBlockExperiments&amp;&amp;(e.push(BA),e.push(jA),e.push(UA),e.push(GA),e.push(IA),e.push(eL),e.push(rL)),window?.wp?.oldEditor&amp;&amp;(window?.wp?.needsClassicBlock||!window?.__experimentalDisableTinymce||new URLSearchParams(window?.location?.search).get(&quot;requiresTinymce&quot;))&amp;&amp;e.push(yI),e.filter(Boolean)},Vpe=()=&gt;SCe().filter(({metadata:e})=&gt;!Bpe(e)),TCe=(e=Vpe())=&gt;{e.forEach(({init:t})=&gt;t()),window.__unstableAutoRegisterBlocks&amp;&amp;window.__unstableAutoRegisterBlocks.forEach(t=&gt;{let r=K((0,Ape.select)(Cl.store)).getBootstrappedBlockType(t);(0,Cl.registerBlockType)(t,{...r,title:r?.title||t,...(r?.apiVersion??0)&lt;3&amp;&amp;{apiVersion:3},edit:function({attributes:n}){let i=(0,Mpe.useDisabled)(),l=(0,Rpe.useBlockProps)({ref:i}),{content:s,status:c,error:u}=(0,zpe.useServerSideRender)({block:t,attributes:n});return c===&quot;loading&quot;?(0,O7.jsx)(&quot;div&quot;,{...l,children:(0,yb.__)(&quot;Loading\u2026&quot;)}):c===&quot;error&quot;?(0,O7.jsx)(&quot;div&quot;,{...l,children:(0,yb.sprintf)((0,yb.__)(&quot;Error loading block: %s&quot;),u)}):(0,O7.jsx)(uo,{wrapperProps:l,html:s})},save:()=&gt;null})}),(0,Cl.setDefaultBlockName)(Sw),window.wp&amp;&amp;window.wp.oldEditor&amp;&amp;e.some(({name:t})=&gt;t===F1)&amp;&amp;(0,Cl.setFreeformContentHandlerName)(F1),(0,Cl.setUnregisteredTypeHandlerName)(Tv),(0,Cl.setGroupingBlockName)(Z5)},PCe=void 0;return Jpe(BCe);})();
/*! Bundled license information:

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

				
					<h1 class="entry-title main_title">S’inscrire</h1>
				
				
					<div class="entry-content">
					<p>[ultimatemember form_id= »129&Prime;]</p>
					</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":"136","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>
