From 72a1eb6e5ab7aeac39e7d48ce9458489b79685ea Mon Sep 17 00:00:00 2001 From: root <{botid}@bots.bitbucket.org> Date: Sat, 1 Jun 2024 22:54:01 +0000 Subject: [PATCH] auto-patch 700-dev-dev01-2024-06-01T22_54_01 --- .../php/class-minute-control.php | 6 +- .../sharethis-share-buttons/readme.txt | 7 +- .../sharethis-share-buttons.php | 4 +- .../admin/class-admin-asset-manager.php | 14 +- .../wordpress-seo/admin/class-config.php | 24 - .../wordpress-seo/admin/class-customizer.php | 249 ------- .../admin/class-gutenberg-compatibility.php | 4 +- .../dynamic-blocks/breadcrumbs/block.json | 25 + .../structured-data-blocks/faq/block.json | 3 - ...demy-2270-rtl.css => academy-2280-rtl.css} | 0 .../{academy-2270.css => academy-2280.css} | 0 .../css/dist/additional-mentions-2270-rtl.css | 1 - .../css/dist/additional-mentions-2270.css | 1 - ...2270-rtl.css => admin-global-2280-rtl.css} | 0 ...-global-2270.css => admin-global-2280.css} | 0 ...bar-2270-rtl.css => adminbar-2280-rtl.css} | 0 .../{adminbar-2270.css => adminbar-2280.css} | 0 ...2270-rtl.css => ai-generator-2280-rtl.css} | 0 ...nerator-2270.css => ai-generator-2280.css} | 0 ...lerts-2270-rtl.css => alerts-2280-rtl.css} | 0 .../dist/{alerts-2270.css => alerts-2280.css} | 0 ...l.css => black-friday-banner-2280-rtl.css} | 0 ...-2270.css => black-friday-banner-2280.css} | 0 ...rd-2270-rtl.css => dashboard-2280-rtl.css} | 0 ...{dashboard-2270.css => dashboard-2280.css} | 0 ...ge-2270-rtl.css => edit-page-2280-rtl.css} | 0 ...{edit-page-2270.css => edit-page-2280.css} | 0 ...or-2270-rtl.css => elementor-2280-rtl.css} | 0 ...{elementor-2270.css => elementor-2280.css} | 0 ...70-rtl.css => featured-image-2280-rtl.css} | 0 ...image-2270.css => featured-image-2280.css} | 0 ...tl.css => filter-explanation-2280-rtl.css} | 0 ...n-2270.css => filter-explanation-2280.css} | 0 ... => first-time-configuration-2280-rtl.css} | 0 ....css => first-time-configuration-2280.css} | 0 ...{icons-2270-rtl.css => icons-2280-rtl.css} | 0 .../dist/{icons-2270.css => icons-2280.css} | 0 ...270-rtl.css => inside-editor-2280-rtl.css} | 0 ...editor-2270.css => inside-editor-2280.css} | 0 ...270-rtl.css => introductions-2280-rtl.css} | 0 ...ctions-2270.css => introductions-2280.css} | 0 ...abox-2270-rtl.css => metabox-2280-rtl.css} | 0 .../{metabox-2270.css => metabox-2280.css} | 0 ... => metabox-primary-category-2280-rtl.css} | 0 ....css => metabox-primary-category-2280.css} | 0 ...{modal-2270-rtl.css => modal-2280-rtl.css} | 0 .../dist/{modal-2270.css => modal-2280.css} | 0 ...epo-2270-rtl.css => monorepo-2280-rtl.css} | 0 .../{monorepo-2270.css => monorepo-2280.css} | 0 ...2270-rtl.css => new-settings-2280-rtl.css} | 0 ...ettings-2270.css => new-settings-2280.css} | 0 ...270-rtl.css => notifications-2280-rtl.css} | 0 ...ations-2270.css => notifications-2280.css} | 0 ...n-2270-rtl.css => score_icon-2280-rtl.css} | 0 ...core_icon-2270.css => score_icon-2280.css} | 0 ...ss => structured-data-blocks-2280-rtl.css} | 0 ...70.css => structured-data-blocks-2280.css} | 0 ...port-2270-rtl.css => support-2280-rtl.css} | 0 .../{support-2270.css => support-2280.css} | 0 ...ind-2270-rtl.css => tailwind-2280-rtl.css} | 2 +- .../{tailwind-2270.css => tailwind-2280.css} | 2 +- ...270-rtl.css => toggle-switch-2280-rtl.css} | 0 ...switch-2270.css => toggle-switch-2280.css} | 0 ...ips-2270-rtl.css => tooltips-2280-rtl.css} | 0 .../{tooltips-2270.css => tooltips-2280.css} | 0 ...uts-2270-rtl.css => workouts-2280-rtl.css} | 0 .../{workouts-2270.css => workouts-2280.css} | 0 ...rtl.css => wpseo-dismissible-2280-rtl.css} | 0 ...le-2270.css => wpseo-dismissible-2280.css} | 0 ...-rtl.css => yoast-extensions-2280-rtl.css} | 0 ...ons-2270.css => yoast-extensions-2280.css} | 0 ...-rtl.css => yst_plugin_tools-2280-rtl.css} | 0 ...ols-2270.css => yst_plugin_tools-2280.css} | 0 ...270-rtl.css => yst_seo_score-2280-rtl.css} | 0 ..._score-2270.css => yst_seo_score-2280.css} | 0 .../wordpress-seo/inc/language-utils.php | 21 - .../inc/options/class-wpseo-option-titles.php | 40 -- .../wordpress-seo/js/dist/block-editor.js | 294 ++++---- .../wordpress-seo/js/dist/classic-editor.js | 290 ++++---- .../wordpress-seo/js/dist/dynamic-blocks.js | 2 +- .../wordpress-seo/js/dist/editor-modules.js | 48 +- .../wordpress-seo/js/dist/elementor.js | 312 +++++---- .../js/dist/externals-components.js | 138 ++-- .../js/dist/externals/analysis.js | 8 +- .../externals/replacementVariableEditor.js | 4 +- .../wordpress-seo/js/dist/faq-block.js | 2 +- .../wordpress-seo/js/dist/how-to-block.js | 2 +- .../wordpress-seo/js/dist/new-settings.js | 2 +- .../wordpress-seo/js/dist/post-edit.js | 6 +- .../wordpress-seo/js/dist/term-edit.js | 2 +- .../plugins/wordpress-seo/readme.txt | 49 +- .../src/deprecated/admin/class-customizer.php | 72 ++ .../src/deprecated/admin/class-helpscout.php | 64 -- .../admin/views/class-view-utils.php | 173 ----- .../src/actions/indexables-page-action.php | 451 ------------- .../actions/settings-introduction-action.php | 162 ----- .../indexables-page-conditional.php | 24 - .../schema-blocks-conditional.php | 23 - .../src/helpers/indexables-page-helper.php | 215 ------ .../deprecated/src/helpers/input-helper.php | 30 - .../admin/indexables-page-integration.php | 248 ------- .../redirect-old-features-tab-integration.php | 81 --- .../admin/social-templates-integration.php | 304 --------- .../admin/unsupported-php-version.php | 69 -- .../src/integrations/schema-blocks.php | 122 ---- .../src/routes/indexables-page-route.php | 637 ------------------ .../routes/settings-introduction-route.php | 278 -------- .../src/schema-templates/assets/icons.php | 393 ----------- .../src/generated/assets/externals.php | 2 +- .../src/generated/assets/plugin.php | 2 +- .../wordpress-seo/src/generated/container.php | 144 ---- .../src/helpers/social-profiles-helper.php | 30 - .../admin/crawl-settings-integration.php | 15 - .../blocks/abstract-dynamic-block-v3.php | 78 +++ .../integrations/blocks/breadcrumbs-block.php | 6 +- .../routes/first-time-configuration-route.php | 52 -- .../plugins/wordpress-seo/vendor/autoload.php | 2 +- .../vendor/composer/autoload_classmap.php | 19 +- .../vendor/composer/autoload_real.php | 14 +- .../vendor/composer/autoload_static.php | 27 +- .../vendor/composer/installed.php | 4 +- .../plugins/wordpress-seo/wp-seo-main.php | 5 +- .../plugins/wordpress-seo/wp-seo.php | 4 +- 123 files changed, 794 insertions(+), 4518 deletions(-) delete mode 100644 wp/wp-content/plugins/wordpress-seo/admin/class-customizer.php create mode 100644 wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json rename wp/wp-content/plugins/wordpress-seo/css/dist/{academy-2270-rtl.css => academy-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{academy-2270.css => academy-2280.css} (100%) delete mode 100644 wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270-rtl.css delete mode 100644 wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270.css rename wp/wp-content/plugins/wordpress-seo/css/dist/{admin-global-2270-rtl.css => admin-global-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{admin-global-2270.css => admin-global-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{adminbar-2270-rtl.css => adminbar-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{adminbar-2270.css => adminbar-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{ai-generator-2270-rtl.css => ai-generator-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{ai-generator-2270.css => ai-generator-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{alerts-2270-rtl.css => alerts-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{alerts-2270.css => alerts-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{black-friday-banner-2270-rtl.css => black-friday-banner-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{black-friday-banner-2270.css => black-friday-banner-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{dashboard-2270-rtl.css => dashboard-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{dashboard-2270.css => dashboard-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{edit-page-2270-rtl.css => edit-page-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{edit-page-2270.css => edit-page-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{elementor-2270-rtl.css => elementor-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{elementor-2270.css => elementor-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{featured-image-2270-rtl.css => featured-image-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{featured-image-2270.css => featured-image-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{filter-explanation-2270-rtl.css => filter-explanation-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{filter-explanation-2270.css => filter-explanation-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{first-time-configuration-2270-rtl.css => first-time-configuration-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{first-time-configuration-2270.css => first-time-configuration-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{icons-2270-rtl.css => icons-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{icons-2270.css => icons-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{inside-editor-2270-rtl.css => inside-editor-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{inside-editor-2270.css => inside-editor-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{introductions-2270-rtl.css => introductions-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{introductions-2270.css => introductions-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{metabox-2270-rtl.css => metabox-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{metabox-2270.css => metabox-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{metabox-primary-category-2270-rtl.css => metabox-primary-category-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{metabox-primary-category-2270.css => metabox-primary-category-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{modal-2270-rtl.css => modal-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{modal-2270.css => modal-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{monorepo-2270-rtl.css => monorepo-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{monorepo-2270.css => monorepo-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{new-settings-2270-rtl.css => new-settings-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{new-settings-2270.css => new-settings-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{notifications-2270-rtl.css => notifications-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{notifications-2270.css => notifications-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{score_icon-2270-rtl.css => score_icon-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{score_icon-2270.css => score_icon-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{structured-data-blocks-2270-rtl.css => structured-data-blocks-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{structured-data-blocks-2270.css => structured-data-blocks-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{support-2270-rtl.css => support-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{support-2270.css => support-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{tailwind-2270-rtl.css => tailwind-2280-rtl.css} (74%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{tailwind-2270.css => tailwind-2280.css} (74%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{toggle-switch-2270-rtl.css => toggle-switch-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{toggle-switch-2270.css => toggle-switch-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{tooltips-2270-rtl.css => tooltips-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{tooltips-2270.css => tooltips-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{workouts-2270-rtl.css => workouts-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{workouts-2270.css => workouts-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{wpseo-dismissible-2270-rtl.css => wpseo-dismissible-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{wpseo-dismissible-2270.css => wpseo-dismissible-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yoast-extensions-2270-rtl.css => yoast-extensions-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yoast-extensions-2270.css => yoast-extensions-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yst_plugin_tools-2270-rtl.css => yst_plugin_tools-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yst_plugin_tools-2270.css => yst_plugin_tools-2280.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yst_seo_score-2270-rtl.css => yst_seo_score-2280-rtl.css} (100%) rename wp/wp-content/plugins/wordpress-seo/css/dist/{yst_seo_score-2270.css => yst_seo_score-2280.css} (100%) create mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-customizer.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-helpscout.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/views/class-view-utils.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/indexables-page-action.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/settings-introduction-action.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/conditionals/indexables-page-conditional.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/conditionals/schema-blocks-conditional.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/indexables-page-helper.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/input-helper.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/indexables-page-integration.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/social-templates-integration.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/unsupported-php-version.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/schema-blocks.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/indexables-page-route.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/settings-introduction-route.php delete mode 100644 wp/wp-content/plugins/wordpress-seo/src/deprecated/src/schema-templates/assets/icons.php create mode 100644 wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/abstract-dynamic-block-v3.php diff --git a/wp/wp-content/plugins/sharethis-share-buttons/php/class-minute-control.php b/wp/wp-content/plugins/sharethis-share-buttons/php/class-minute-control.php index 3c5273ad..17073919 100644 --- a/wp/wp-content/plugins/sharethis-share-buttons/php/class-minute-control.php +++ b/wp/wp-content/plugins/sharethis-share-buttons/php/class-minute-control.php @@ -197,14 +197,14 @@ class Minute_Control { public function inline_shortcode( $atts ) { global $post; - $data_url = isset( $atts['url'] ) ? esc_attr( 'data-url=' . esc_url( $atts['url'] ) ) : ''; + $data_url = isset( $atts['url'] ) ? $atts['url'] : ''; if ( is_archive() || is_front_page() || is_tag() ) { - $data_url = esc_attr( 'data-url=' . get_permalink( $post->ID ) ); + $data_url = get_permalink( $post->ID ); } // Build container. - return '
'; + return '
'; } /** diff --git a/wp/wp-content/plugins/sharethis-share-buttons/readme.txt b/wp/wp-content/plugins/sharethis-share-buttons/readme.txt index 6b3a4ac2..d3d3e6c5 100644 --- a/wp/wp-content/plugins/sharethis-share-buttons/readme.txt +++ b/wp/wp-content/plugins/sharethis-share-buttons/readme.txt @@ -6,8 +6,8 @@ Author URI: https://sharethis.com/ Author: ShareThis Requires at least: 5.5 Tested up to: 6.5.3 -Stable tag: 2.3.1 -Version: 2.3.1 +Stable tag: 2.3.2 +Version: 2.3.2 License: GPLv2 or later @@ -73,6 +73,9 @@ We cache your ShareThis platform button configurations (social networks, button == Changelog == += 2.3.2 = +* Additional security checks. + = 2.3.1 = * Fix XSS security hole in shortcode diff --git a/wp/wp-content/plugins/sharethis-share-buttons/sharethis-share-buttons.php b/wp/wp-content/plugins/sharethis-share-buttons/sharethis-share-buttons.php index 9d55ff05..50e9c8ab 100644 --- a/wp/wp-content/plugins/sharethis-share-buttons/sharethis-share-buttons.php +++ b/wp/wp-content/plugins/sharethis-share-buttons/sharethis-share-buttons.php @@ -3,7 +3,7 @@ * Plugin Name: ShareThis Share Buttons * Plugin URI: https://sharethis.com/ * Description: Grow your website traffic with share buttons for 40+ social channels including Facebook, LinkedIn, Twitter, WhatsApp, and more. - * Version: 2.3.1 + * Version: 2.3.2 * Author: ShareThis * Author URI: https://sharethis.com/ * Text Domain: sharethis-share-buttons @@ -28,7 +28,7 @@ /** * Plugin version constant. */ -const SHARETHIS_SHARE_BUTTONS_VERSION = '2.3.1'; +const SHARETHIS_SHARE_BUTTONS_VERSION = '2.3.2'; if ( version_compare( phpversion(), '5.3', '>=' ) ) { require_once __DIR__ . '/instance.php'; diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php index 99e2ebad..50413c41 100644 --- a/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php @@ -8,6 +8,7 @@ /** * This class registers all the necessary styles and scripts. * + * Also has methods for the enqueing of scripts and styles. * It automatically adds a prefix to the handle. */ class WPSEO_Admin_Asset_Manager { @@ -570,14 +571,6 @@ class WPSEO_Admin_Asset_Manager { self::PREFIX . 'admin-css', self::PREFIX . 'tailwind', 'wp-components', - self::PREFIX . 'additional-mentions', - ], - ], - [ - 'name' => 'additional-mentions', - 'src' => 'additional-mentions-' . $flat_version, - 'deps' => [ - self::PREFIX . 'tailwind', ], ], [ @@ -651,10 +644,7 @@ class WPSEO_Admin_Asset_Manager { [ 'name' => 'new-settings', 'src' => 'new-settings-' . $flat_version, - 'deps' => [ - self::PREFIX . 'tailwind', - self::PREFIX . 'additional-mentions', - ], + 'deps' => [ self::PREFIX . 'tailwind' ], ], [ 'name' => 'black-friday-banner', diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-config.php b/wp/wp-content/plugins/wordpress-seo/admin/class-config.php index 63a49b0b..ca9b2b6a 100644 --- a/wp/wp-content/plugins/wordpress-seo/admin/class-config.php +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-config.php @@ -127,30 +127,6 @@ class WPSEO_Admin_Pages { $this->asset_manager->enqueue_user_language_script(); } - /** - * Retrieves some variables that are needed for replacing variables in JS. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @return array The replacement and recommended replacement variables. - */ - public function get_replace_vars_script_data() { - _deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $replace_vars = new WPSEO_Replace_Vars(); - $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); - $editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars(); - $replace_vars_list = $replace_vars->get_replacement_variables_list(); - - return [ - 'replace_vars' => $replace_vars_list, - 'recommended_replace_vars' => $recommended_replace_vars->get_recommended_replacevars(), - 'editor_specific_replace_vars' => $editor_specific_replace_vars->get(), - 'shared_replace_vars' => $editor_specific_replace_vars->get_generic( $replace_vars_list ), - 'hidden_replace_vars' => $replace_vars->get_hidden_replace_vars(), - ]; - } - /** * Enqueues and handles all the tool dependencies. * diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-customizer.php b/wp/wp-content/plugins/wordpress-seo/admin/class-customizer.php deleted file mode 100644 index bc6b9e8c..00000000 --- a/wp/wp-content/plugins/wordpress-seo/admin/class-customizer.php +++ /dev/null @@ -1,249 +0,0 @@ - '', - 'type' => 'option', - 'transport' => 'refresh', - ]; - - /** - * Default arguments for the breadcrumbs customizer control object. - * - * @var array - */ - private $default_control_args = [ - 'label' => '', - 'type' => 'text', - 'section' => 'wpseo_breadcrumbs_customizer_section', - 'settings' => '', - 'context' => '', - ]; - - /** - * Construct Method. - */ - public function __construct() { - add_action( 'customize_register', [ $this, 'wpseo_customize_register' ] ); - } - - /** - * Function to support WordPress Customizer. - * - * @param WP_Customize_Manager $wp_customize Manager class instance. - * - * @return void - */ - public function wpseo_customize_register( $wp_customize ) { - if ( ! WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) { - return; - } - - $this->wp_customize = $wp_customize; - - $this->breadcrumbs_section(); - $this->breadcrumbs_blog_show_setting(); - $this->breadcrumbs_separator_setting(); - $this->breadcrumbs_home_setting(); - $this->breadcrumbs_prefix_setting(); - $this->breadcrumbs_archiveprefix_setting(); - $this->breadcrumbs_searchprefix_setting(); - $this->breadcrumbs_404_setting(); - } - - /** - * Add the breadcrumbs section to the customizer. - * - * @return void - */ - private function breadcrumbs_section() { - $section_args = [ - /* translators: %s is the name of the plugin */ - 'title' => sprintf( __( '%s Breadcrumbs', 'wordpress-seo' ), 'Yoast SEO' ), - 'priority' => 999, - 'active_callback' => [ $this, 'breadcrumbs_active_callback' ], - ]; - - $this->wp_customize->add_section( 'wpseo_breadcrumbs_customizer_section', $section_args ); - } - - /** - * Returns whether or not the breadcrumbs are active. - * - * @return bool - */ - public function breadcrumbs_active_callback() { - return current_theme_supports( 'yoast-seo-breadcrumbs' ) || WPSEO_Options::get( 'breadcrumbs-enable' ); - } - - /** - * Adds the breadcrumbs show blog checkbox. - * - * @return void - */ - private function breadcrumbs_blog_show_setting() { - $index = 'breadcrumbs-display-blog-page'; - $control_args = [ - 'label' => __( 'Show blog page in breadcrumbs', 'wordpress-seo' ), - 'type' => 'checkbox', - 'active_callback' => [ $this, 'breadcrumbs_blog_show_active_cb' ], - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Returns whether or not to show the breadcrumbs blog show option. - * - * @return bool - */ - public function breadcrumbs_blog_show_active_cb() { - return get_option( 'show_on_front' ) === 'page'; - } - - /** - * Adds the breadcrumbs separator text field. - * - * @return void - */ - private function breadcrumbs_separator_setting() { - $index = 'breadcrumbs-sep'; - $control_args = [ - 'label' => __( 'Breadcrumbs separator:', 'wordpress-seo' ), - ]; - $id = 'wpseo-breadcrumbs-separator'; - - $this->add_setting_and_control( $index, $control_args, $id ); - } - - /** - * Adds the breadcrumbs home anchor text field. - * - * @return void - */ - private function breadcrumbs_home_setting() { - $index = 'breadcrumbs-home'; - $control_args = [ - 'label' => __( 'Anchor text for the homepage:', 'wordpress-seo' ), - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Adds the breadcrumbs prefix text field. - * - * @return void - */ - private function breadcrumbs_prefix_setting() { - $index = 'breadcrumbs-prefix'; - $control_args = [ - 'label' => __( 'Prefix for breadcrumbs:', 'wordpress-seo' ), - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Adds the breadcrumbs archive prefix text field. - * - * @return void - */ - private function breadcrumbs_archiveprefix_setting() { - $index = 'breadcrumbs-archiveprefix'; - $control_args = [ - 'label' => __( 'Prefix for archive pages:', 'wordpress-seo' ), - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Adds the breadcrumbs search prefix text field. - * - * @return void - */ - private function breadcrumbs_searchprefix_setting() { - $index = 'breadcrumbs-searchprefix'; - $control_args = [ - 'label' => __( 'Prefix for search result pages:', 'wordpress-seo' ), - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Adds the breadcrumb 404 prefix text field. - * - * @return void - */ - private function breadcrumbs_404_setting() { - $index = 'breadcrumbs-404crumb'; - $control_args = [ - 'label' => __( 'Breadcrumb for 404 pages:', 'wordpress-seo' ), - ]; - - $this->add_setting_and_control( $index, $control_args ); - } - - /** - * Adds the customizer setting and control. - * - * @param string $index Array key index to use for the customizer setting. - * @param array $control_args Customizer control object arguments. - * Only those different from the default need to be passed. - * @param string|null $id Optional. Customizer control object ID. - * Will default to 'wpseo-' . $index. - * @param array $custom_settings Optional. Customizer setting arguments. - * Only those different from the default need to be passed. - * - * @return void - */ - private function add_setting_and_control( $index, $control_args, $id = null, $custom_settings = [] ) { - $setting = sprintf( $this->setting_template, $index ); - $control_args = array_merge( $this->default_control_args, $control_args ); - $control_args['settings'] = $setting; - - $settings_args = $this->default_setting_args; - if ( ! empty( $custom_settings ) ) { - $settings_args = array_merge( $settings_args, $custom_settings ); - } - - if ( ! isset( $id ) ) { - $id = 'wpseo-' . $index; - } - - $this->wp_customize->add_setting( $setting, $settings_args ); - - $control = new WP_Customize_Control( $this->wp_customize, $id, $control_args ); - $this->wp_customize->add_control( $control ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php b/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php index 4aa19be8..18e1b384 100644 --- a/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php +++ b/wp/wp-content/plugins/wordpress-seo/admin/class-gutenberg-compatibility.php @@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility { * * @var string */ - public const CURRENT_RELEASE = '18.2.0'; + public const CURRENT_RELEASE = '18.4.0'; /** * The minimally supported version of Gutenberg by the plugin. * * @var string */ - public const MINIMUM_SUPPORTED = '18.2.0'; + public const MINIMUM_SUPPORTED = '18.4.0'; /** * Holds the current version. diff --git a/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json b/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json new file mode 100644 index 00000000..33ecb48c --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/blocks/dynamic-blocks/breadcrumbs/block.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "version": "22.8", + "name": "yoast-seo/breadcrumbs", + "title": "Yoast Breadcrumbs", + "description": "Adds the Yoast SEO breadcrumbs to your template or content.", + "category": "yoast-internal-linking-blocks", + "icon": "admin-links", + "keywords": [ + "SEO", + "breadcrumbs", + "internal linking", + "site structure" + ], + "textdomain": "wordpress-seo", + "attributes": { + "className": { + "type": "string" + } + }, + "example": { + "attributes": {} + } +} diff --git a/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json index 1d77b6d1..649f1226 100644 --- a/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json +++ b/wp/wp-content/plugins/wordpress-seo/blocks/structured-data-blocks/faq/block.json @@ -14,9 +14,6 @@ "SEO", "Structured Data" ], - "supports": { - "multiple": false - }, "textdomain": "wordpress-seo", "attributes": { "questions": { diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/academy-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/academy-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/academy-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/academy-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/academy-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270-rtl.css deleted file mode 100644 index 449bd794..00000000 --- a/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270-rtl.css +++ /dev/null @@ -1 +0,0 @@ -.yst-replacevar__editor--description div{display:inline}.yst-replacevar__editor--description .yst-replacevar__editor-wrapper--description div{display:block}.yst-replacevar__editor--description .yst-root{margin-left:.25rem}.yst-replacevar__editor--description .yst-root .yst-badge{margin-bottom:.125rem}.yst-replacevar__editor--description .yst-root .yst-tooltip.yst-tooltip--top:before{--tw-translate-x:-14rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270.css deleted file mode 100644 index 5ca8bbec..00000000 --- a/wp/wp-content/plugins/wordpress-seo/css/dist/additional-mentions-2270.css +++ /dev/null @@ -1 +0,0 @@ -.yst-replacevar__editor--description div{display:inline}.yst-replacevar__editor--description .yst-replacevar__editor-wrapper--description div{display:block}.yst-replacevar__editor--description .yst-root{margin-right:.25rem}.yst-replacevar__editor--description .yst-root .yst-badge{margin-bottom:.125rem}.yst-replacevar__editor--description .yst-root .yst-tooltip.yst-tooltip--top:before{--tw-translate-x:-14rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/admin-global-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/adminbar-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/ai-generator-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/alerts-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/black-friday-banner-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/dashboard-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/edit-page-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/elementor-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/featured-image-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/filter-explanation-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/first-time-configuration-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/icons-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/icons-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/icons-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/icons-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/icons-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/inside-editor-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/introductions-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/metabox-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/metabox-primary-category-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/modal-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/modal-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/modal-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/modal-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/modal-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/monorepo-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/new-settings-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/notifications-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/score_icon-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/structured-data-blocks-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/support-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/support-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/support-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/support-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/support-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/support-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/support-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280-rtl.css similarity index 74% rename from wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280-rtl.css index 03caaf74..53e2f659 100644 --- a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270-rtl.css +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280-rtl.css @@ -1 +1 @@ -.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:left .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-left:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-right:.75rem;padding-left:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 0 .5rem 2.5rem;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-right:.75rem;padding-left:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-right:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-right:auto;margin-left:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-right:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;left:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-right:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:right;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(-90deg,#0000,#00000012,#0000);bottom:0;content:"";right:0;position:absolute;left:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(100%)}50%,to{transform:translateX(-100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;right:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{right:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-left-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);right:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;right:100%;margin-right:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;left:100%}.yst-root .yst-tooltip--left{margin-left:.75rem;left:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);right:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-right:-1.5rem;margin-left:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-left:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;right:0;padding:1rem;position:fixed;left:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;right:0;position:fixed;left:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;left:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;right:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-left:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;right:0;position:fixed;left:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-left:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{right:0!important;left:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{right:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{left:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{left:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{left:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{right:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{right:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-right:auto!important;margin-left:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.yst-mx-1\.5{margin-right:.375rem!important;margin-left:.375rem!important}.yst-mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.yst-mx-0{margin-right:0!important;margin-left:0!important}.yst-mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-right:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-4{margin-right:1rem!important}.yst-ml-8{margin-right:2rem!important}.yst--mr-14{margin-left:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-left:1rem!important}.yst-mr-2{margin-left:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-right:.75rem!important}.yst-mr-1{margin-left:.25rem!important}.yst-mr-5{margin-left:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-right:.25rem!important}.yst--mr-1{margin-left:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-right:-.125rem!important}.yst--ml-0{margin-right:0!important}.yst-ml-auto{margin-right:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-right:.375rem!important}.yst-mr-6{margin-left:1.5rem!important}.yst--ml-px{margin-right:-1px!important}.yst-ml-12{margin-right:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-right:.5rem!important}.yst-mr-3{margin-left:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-left:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst--translate-x-10{--tw-translate-x:-2.5rem!important}.yst--translate-x-10,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-100,.yst-scale-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(-1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-pointer{cursor:pointer!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-r-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-t-lg{border-top-right-radius:.5rem!important;border-top-left-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-right-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.yst-rounded-br-none{border-bottom-left-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-right-width:0!important;border-left-width:0!important}.yst-border-l{border-right-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-left-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-left-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))!important}.yst-from-\[\#EDD2E1\]{--tw-gradient-from:#edd2e1!important;--tw-gradient-to:#edd2e100!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-10{padding:2.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-right:1rem!important;padding-left:1rem!important}.yst-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-right:.5rem!important;padding-left:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-right:1.5rem!important;padding-left:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-right:.625rem!important;padding-left:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-right:.125rem!important;padding-left:.125rem!important}.yst-px-0{padding-right:0!important;padding-left:0!important}.yst-px-\[3px\]{padding-right:3px!important;padding-left:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-right:2rem!important;padding-left:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-right:2.75rem!important;padding-left:2.75rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-left:1rem!important}.yst-pl-6{padding-right:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-right:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-right:.5rem!important}.yst-pr-3{padding-left:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-right:.75rem!important}.yst-pr-2{padding-left:.5rem!important}.yst-pl-0{padding-right:0!important}.yst-pr-10{padding-left:2.5rem!important}.yst-pr-9{padding-left:2.25rem!important}.yst-text-left{text-align:right!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-right:0!important;margin-left:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-right:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-right:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:right!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{left:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-left:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file +.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:left .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-left:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-right:.75rem;padding-left:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 0 .5rem 2.5rem;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-right:.75rem;padding-left:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-right:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-right:auto;margin-left:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-right:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;left:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-right:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:right;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;left:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(-90deg,#0000,#00000012,#0000);bottom:0;content:"";right:0;position:absolute;left:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(100%)}50%,to{transform:translateX(-100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;right:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{right:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-left-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);right:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;right:100%;margin-right:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;left:100%}.yst-root .yst-tooltip--left{margin-left:.75rem;left:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);right:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-left:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;left:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-right:-1.5rem;margin-left:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-left:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;right:0;padding:1rem;position:fixed;left:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;right:0;position:fixed;left:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;left:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-right:-1.5rem;margin-left:-1.5rem;padding-right:1.5rem;padding-left:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;right:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-left:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;right:0;position:fixed;left:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-left:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{right:0!important;left:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{right:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{left:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{left:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{left:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{right:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{right:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-right:auto!important;margin-left:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-right:-1.5rem!important;margin-left:-1.5rem!important}.yst-mx-1\.5{margin-right:.375rem!important;margin-left:.375rem!important}.yst-mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.yst-mx-0{margin-right:0!important;margin-left:0!important}.yst-mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-right:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-4{margin-right:1rem!important}.yst-ml-8{margin-right:2rem!important}.yst--mr-14{margin-left:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-left:1rem!important}.yst-mr-2{margin-left:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-right:.75rem!important}.yst-mr-1{margin-left:.25rem!important}.yst-mr-5{margin-left:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-right:.25rem!important}.yst--mr-1{margin-left:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-right:-.125rem!important}.yst--ml-0{margin-right:0!important}.yst-ml-auto{margin-right:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-right:.375rem!important}.yst-mr-6{margin-left:1.5rem!important}.yst--ml-px{margin-right:-1px!important}.yst-ml-12{margin-right:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-right:.5rem!important}.yst-mr-3{margin-left:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-left:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-scale-y-0,.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(-1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-right:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-left:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-r-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-t-lg{border-top-right-radius:.5rem!important;border-top-left-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-right-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.yst-rounded-br-none{border-bottom-left-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-right-width:0!important;border-left-width:0!important}.yst-border-l{border-right-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-left-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-left-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))!important}.yst-from-\[\#EDD2E1\]{--tw-gradient-from:#edd2e1!important;--tw-gradient-to:#edd2e100!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-10{padding:2.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-right:1rem!important;padding-left:1rem!important}.yst-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-right:.5rem!important;padding-left:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-right:1.5rem!important;padding-left:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-right:.625rem!important;padding-left:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-right:.125rem!important;padding-left:.125rem!important}.yst-px-0{padding-right:0!important;padding-left:0!important}.yst-px-\[3px\]{padding-right:3px!important;padding-left:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-right:2rem!important;padding-left:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-right:2.75rem!important;padding-left:2.75rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-left:1rem!important}.yst-pl-6{padding-right:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-right:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-right:.5rem!important}.yst-pr-3{padding-left:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-right:.75rem!important}.yst-pr-2{padding-left:.5rem!important}.yst-pl-0{padding-right:0!important}.yst-pr-10{padding-left:2.5rem!important}.yst-pr-9{padding-left:2.25rem!important}.yst-text-left{text-align:right!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-right:0!important;margin-left:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-right:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-right:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:right!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{left:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-left:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280.css similarity index 74% rename from wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280.css index f844d7b3..48f7425c 100644 --- a/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2270.css +++ b/wp/wp-content/plugins/wordpress-seo/css/dist/tailwind-2280.css @@ -1 +1 @@ -.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-left:.75rem;padding-right:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 2.5rem .5rem 0;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-left:.75rem;padding-right:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-left:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-left:auto;margin-right:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-left:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;right:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-left:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:left;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(90deg,#0000,#00000012,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(-100%)}50%,to{transform:translateX(100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;left:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{left:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-right-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);left:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;left:100%;margin-left:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;right:100%}.yst-root .yst-tooltip--left{margin-right:.75rem;right:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);left:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-left:-1.5rem;margin-right:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;left:0;position:fixed;right:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;right:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-left:-1.5rem;margin-right:-1.5rem;padding-left:1.5rem;padding-right:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;left:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-right:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;left:0;position:fixed;right:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-right:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{left:0!important;right:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{left:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{right:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{right:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{right:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{left:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{left:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-left:auto!important;margin-right:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.yst-mx-1\.5{margin-left:.375rem!important;margin-right:.375rem!important}.yst-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.yst-mx-0{margin-left:0!important;margin-right:0!important}.yst-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-left:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-4{margin-left:1rem!important}.yst-ml-8{margin-left:2rem!important}.yst--mr-14{margin-right:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-right:1rem!important}.yst-mr-2{margin-right:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-left:.75rem!important}.yst-mr-1{margin-right:.25rem!important}.yst-mr-5{margin-right:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-left:.25rem!important}.yst--mr-1{margin-right:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-left:-.125rem!important}.yst--ml-0{margin-left:0!important}.yst-ml-auto{margin-left:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-left:.375rem!important}.yst-mr-6{margin-right:1.5rem!important}.yst--ml-px{margin-left:-1px!important}.yst-ml-12{margin-left:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-left:.5rem!important}.yst-mr-3{margin-right:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-right:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst--translate-x-10{--tw-translate-x:-2.5rem!important}.yst--translate-x-10,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-100,.yst-scale-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-pointer{cursor:pointer!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-r-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.yst-rounded-br-none{border-bottom-right-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-left-width:0!important;border-right-width:0!important}.yst-border-l{border-left-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-right-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-right-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))!important}.yst-from-\[\#EDD2E1\]{--tw-gradient-from:#edd2e1!important;--tw-gradient-to:#edd2e100!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-10{padding:2.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-left:1rem!important;padding-right:1rem!important}.yst-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-left:.5rem!important;padding-right:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}.yst-px-0{padding-left:0!important;padding-right:0!important}.yst-px-\[3px\]{padding-left:3px!important;padding-right:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-left:2rem!important;padding-right:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-left:2.75rem!important;padding-right:2.75rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-right:1rem!important}.yst-pl-6{padding-left:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-left:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-left:.5rem!important}.yst-pr-3{padding-right:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-left:.75rem!important}.yst-pr-2{padding-right:.5rem!important}.yst-pl-0{padding-left:0!important}.yst-pr-10{padding-right:2.5rem!important}.yst-pr-9{padding-right:2.25rem!important}.yst-text-left{text-align:left!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-left:0!important;margin-right:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-left:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-left:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:left!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{right:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-right:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file +.yst-root *,.yst-root :after,.yst-root :before{border:0 solid #e5e7eb;box-sizing:border-box}.yst-root :after,.yst-root :before{--tw-content:""}.yst-root{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;margin:0;tab-size:4}.yst-root hr{border-top-width:1px;color:inherit;height:0}.yst-root abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6{font-size:inherit;font-weight:inherit}.yst-root a{color:inherit;text-decoration:inherit}.yst-root b,.yst-root strong{font-weight:bolder}.yst-root code,.yst-root kbd,.yst-root pre,.yst-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.yst-root small{font-size:80%}.yst-root sub,.yst-root sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}.yst-root sub{bottom:-.25em}.yst-root sup{top:-.5em}.yst-root table{border-collapse:collapse;border-color:inherit;text-indent:0}.yst-root button,.yst-root input,.yst-root optgroup,.yst-root select,.yst-root textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.yst-root button,.yst-root select{text-transform:none}.yst-root [type=button],.yst-root [type=reset],.yst-root [type=submit],.yst-root button{-webkit-appearance:button;background-color:initial;background-image:none}.yst-root :-moz-focusring{outline:auto}.yst-root :-moz-ui-invalid{box-shadow:none}.yst-root progress{vertical-align:initial}.yst-root ::-webkit-inner-spin-button,.yst-root ::-webkit-outer-spin-button{height:auto}.yst-root [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.yst-root ::-webkit-search-decoration{-webkit-appearance:none}.yst-root ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.yst-root summary{display:list-item}.yst-root blockquote,.yst-root dd,.yst-root dl,.yst-root figure,.yst-root h1,.yst-root h2,.yst-root h3,.yst-root h4,.yst-root h5,.yst-root h6,.yst-root hr,.yst-root p,.yst-root pre{margin:0}.yst-root fieldset{margin:0;padding:0}.yst-root legend{padding:0}.yst-root menu,.yst-root ol,.yst-root ul{list-style:none;margin:0;padding:0}.yst-root textarea{resize:vertical}.yst-root input::placeholder,.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root [role=button],.yst-root button{cursor:pointer}.yst-root :disabled{cursor:default}.yst-root audio,.yst-root canvas,.yst-root embed,.yst-root iframe,.yst-root img,.yst-root object,.yst-root svg,.yst-root video{display:block;vertical-align:middle}.yst-root img,.yst-root video{height:auto;max-width:100%}.yst-root [type=date],.yst-root [type=datetime-local],.yst-root [type=email],.yst-root [type=month],.yst-root [type=number],.yst-root [type=password],.yst-root [type=search],.yst-root [type=tel],.yst-root [type=text],.yst-root [type=time],.yst-root [type=url],.yst-root [type=week]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root [type=date]:focus,.yst-root [type=datetime-local]:focus,.yst-root [type=email]:focus,.yst-root [type=month]:focus,.yst-root [type=number]:focus,.yst-root [type=password]:focus,.yst-root [type=search]:focus,.yst-root [type=tel]:focus,.yst-root [type=text]:focus,.yst-root [type=time]:focus,.yst-root [type=url]:focus,.yst-root [type=week]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder{color:#6b7280;opacity:1}.yst-root [type=date]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=datetime-local]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=email]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=month]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=number]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=password]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=search]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=tel]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=text]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=time]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=url]::-webkit-datetime-edit-fields-wrapper,.yst-root [type=week]::-webkit-datetime-edit-fields-wrapper{padding:0}.yst-root [type=date]::-webkit-date-and-time-value,.yst-root [type=datetime-local]::-webkit-date-and-time-value,.yst-root [type=email]::-webkit-date-and-time-value,.yst-root [type=month]::-webkit-date-and-time-value,.yst-root [type=number]::-webkit-date-and-time-value,.yst-root [type=password]::-webkit-date-and-time-value,.yst-root [type=search]::-webkit-date-and-time-value,.yst-root [type=tel]::-webkit-date-and-time-value,.yst-root [type=text]::-webkit-date-and-time-value,.yst-root [type=time]::-webkit-date-and-time-value,.yst-root [type=url]::-webkit-date-and-time-value,.yst-root [type=week]::-webkit-date-and-time-value{min-height:1.5em}.yst-root [type=date]::-webkit-datetime-edit,.yst-root [type=date]::-webkit-datetime-edit-day-field,.yst-root [type=date]::-webkit-datetime-edit-hour-field,.yst-root [type=date]::-webkit-datetime-edit-meridiem-field,.yst-root [type=date]::-webkit-datetime-edit-millisecond-field,.yst-root [type=date]::-webkit-datetime-edit-minute-field,.yst-root [type=date]::-webkit-datetime-edit-month-field,.yst-root [type=date]::-webkit-datetime-edit-second-field,.yst-root [type=date]::-webkit-datetime-edit-year-field,.yst-root [type=datetime-local]::-webkit-datetime-edit,.yst-root [type=datetime-local]::-webkit-datetime-edit-day-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-hour-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-meridiem-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-millisecond-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-minute-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-month-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-second-field,.yst-root [type=datetime-local]::-webkit-datetime-edit-year-field,.yst-root [type=email]::-webkit-datetime-edit,.yst-root [type=email]::-webkit-datetime-edit-day-field,.yst-root [type=email]::-webkit-datetime-edit-hour-field,.yst-root [type=email]::-webkit-datetime-edit-meridiem-field,.yst-root [type=email]::-webkit-datetime-edit-millisecond-field,.yst-root [type=email]::-webkit-datetime-edit-minute-field,.yst-root [type=email]::-webkit-datetime-edit-month-field,.yst-root [type=email]::-webkit-datetime-edit-second-field,.yst-root [type=email]::-webkit-datetime-edit-year-field,.yst-root [type=month]::-webkit-datetime-edit,.yst-root [type=month]::-webkit-datetime-edit-day-field,.yst-root [type=month]::-webkit-datetime-edit-hour-field,.yst-root [type=month]::-webkit-datetime-edit-meridiem-field,.yst-root [type=month]::-webkit-datetime-edit-millisecond-field,.yst-root [type=month]::-webkit-datetime-edit-minute-field,.yst-root [type=month]::-webkit-datetime-edit-month-field,.yst-root [type=month]::-webkit-datetime-edit-second-field,.yst-root [type=month]::-webkit-datetime-edit-year-field,.yst-root [type=number]::-webkit-datetime-edit,.yst-root [type=number]::-webkit-datetime-edit-day-field,.yst-root [type=number]::-webkit-datetime-edit-hour-field,.yst-root [type=number]::-webkit-datetime-edit-meridiem-field,.yst-root [type=number]::-webkit-datetime-edit-millisecond-field,.yst-root [type=number]::-webkit-datetime-edit-minute-field,.yst-root [type=number]::-webkit-datetime-edit-month-field,.yst-root [type=number]::-webkit-datetime-edit-second-field,.yst-root [type=number]::-webkit-datetime-edit-year-field,.yst-root [type=password]::-webkit-datetime-edit,.yst-root [type=password]::-webkit-datetime-edit-day-field,.yst-root [type=password]::-webkit-datetime-edit-hour-field,.yst-root [type=password]::-webkit-datetime-edit-meridiem-field,.yst-root [type=password]::-webkit-datetime-edit-millisecond-field,.yst-root [type=password]::-webkit-datetime-edit-minute-field,.yst-root [type=password]::-webkit-datetime-edit-month-field,.yst-root [type=password]::-webkit-datetime-edit-second-field,.yst-root [type=password]::-webkit-datetime-edit-year-field,.yst-root [type=search]::-webkit-datetime-edit,.yst-root [type=search]::-webkit-datetime-edit-day-field,.yst-root [type=search]::-webkit-datetime-edit-hour-field,.yst-root [type=search]::-webkit-datetime-edit-meridiem-field,.yst-root [type=search]::-webkit-datetime-edit-millisecond-field,.yst-root [type=search]::-webkit-datetime-edit-minute-field,.yst-root [type=search]::-webkit-datetime-edit-month-field,.yst-root [type=search]::-webkit-datetime-edit-second-field,.yst-root [type=search]::-webkit-datetime-edit-year-field,.yst-root [type=tel]::-webkit-datetime-edit,.yst-root [type=tel]::-webkit-datetime-edit-day-field,.yst-root [type=tel]::-webkit-datetime-edit-hour-field,.yst-root [type=tel]::-webkit-datetime-edit-meridiem-field,.yst-root [type=tel]::-webkit-datetime-edit-millisecond-field,.yst-root [type=tel]::-webkit-datetime-edit-minute-field,.yst-root [type=tel]::-webkit-datetime-edit-month-field,.yst-root [type=tel]::-webkit-datetime-edit-second-field,.yst-root [type=tel]::-webkit-datetime-edit-year-field,.yst-root [type=text]::-webkit-datetime-edit,.yst-root [type=text]::-webkit-datetime-edit-day-field,.yst-root [type=text]::-webkit-datetime-edit-hour-field,.yst-root [type=text]::-webkit-datetime-edit-meridiem-field,.yst-root [type=text]::-webkit-datetime-edit-millisecond-field,.yst-root [type=text]::-webkit-datetime-edit-minute-field,.yst-root [type=text]::-webkit-datetime-edit-month-field,.yst-root [type=text]::-webkit-datetime-edit-second-field,.yst-root [type=text]::-webkit-datetime-edit-year-field,.yst-root [type=time]::-webkit-datetime-edit,.yst-root [type=time]::-webkit-datetime-edit-day-field,.yst-root [type=time]::-webkit-datetime-edit-hour-field,.yst-root [type=time]::-webkit-datetime-edit-meridiem-field,.yst-root [type=time]::-webkit-datetime-edit-millisecond-field,.yst-root [type=time]::-webkit-datetime-edit-minute-field,.yst-root [type=time]::-webkit-datetime-edit-month-field,.yst-root [type=time]::-webkit-datetime-edit-second-field,.yst-root [type=time]::-webkit-datetime-edit-year-field,.yst-root [type=url]::-webkit-datetime-edit,.yst-root [type=url]::-webkit-datetime-edit-day-field,.yst-root [type=url]::-webkit-datetime-edit-hour-field,.yst-root [type=url]::-webkit-datetime-edit-meridiem-field,.yst-root [type=url]::-webkit-datetime-edit-millisecond-field,.yst-root [type=url]::-webkit-datetime-edit-minute-field,.yst-root [type=url]::-webkit-datetime-edit-month-field,.yst-root [type=url]::-webkit-datetime-edit-second-field,.yst-root [type=url]::-webkit-datetime-edit-year-field,.yst-root [type=week]::-webkit-datetime-edit,.yst-root [type=week]::-webkit-datetime-edit-day-field,.yst-root [type=week]::-webkit-datetime-edit-hour-field,.yst-root [type=week]::-webkit-datetime-edit-meridiem-field,.yst-root [type=week]::-webkit-datetime-edit-millisecond-field,.yst-root [type=week]::-webkit-datetime-edit-minute-field,.yst-root [type=week]::-webkit-datetime-edit-month-field,.yst-root [type=week]::-webkit-datetime-edit-second-field,.yst-root [type=week]::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.yst-root textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root textarea::placeholder{color:#6b7280;opacity:1}.yst-root select{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}.yst-root select[multiple]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root select[multiple]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:0;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=checkbox]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:checked,.yst-root [type=checkbox]:checked:focus,.yst-root [type=checkbox]:checked:hover,.yst-root [type=checkbox]:indeterminate{background-color:currentColor;border-color:#0000}.yst-root [type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=checkbox]:indeterminate:focus,.yst-root [type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}.yst-root [type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-radius:100%;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}.yst-root [type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}.yst-root [type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.yst-root [type=radio]:checked,.yst-root [type=radio]:checked:focus,.yst-root [type=radio]:checked:hover{background-color:currentColor;border-color:#0000}.yst-root{--tw-text-opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgb(71 85 105/var(--tw-text-opacity));font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.8125rem;font-weight:400;line-height:1.5}.yst-root a{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root a:visited{color:#a61e69}.yst-root a:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root a:hover:visited{color:#b94986}.yst-root a:focus{--tw-text-opacity:1;border-radius:.125rem;color:rgb(99 102 241/var(--tw-text-opacity));outline-color:#4f46e5;outline-offset:1px;outline-style:solid}.yst-root [type=date]::placeholder,.yst-root [type=datetime-local]::placeholder,.yst-root [type=email]::placeholder,.yst-root [type=month]::placeholder,.yst-root [type=number]::placeholder,.yst-root [type=password]::placeholder,.yst-root [type=search]::placeholder,.yst-root [type=tel]::placeholder,.yst-root [type=text]::placeholder,.yst-root [type=time]::placeholder,.yst-root [type=url]::placeholder,.yst-root [type=week]::placeholder,.yst-root textarea::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root svg path{stroke-width:inherit}.yst-root .yst-radio__input,.yst-root a:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-radio__input{transition-property:none}.yst-root .yst-radio__input:checked:before{content:var(--tw-content);display:none}.yst-root .yst-modal{z-index:100000!important}.yst-root dd,.yst-root li{margin-bottom:0}.yst-root input[type=date],.yst-root input[type=datetime-local],.yst-root input[type=datetime],.yst-root input[type=email],.yst-root input[type=month],.yst-root input[type=number],.yst-root input[type=password],.yst-root input[type=search],.yst-root input[type=tel],.yst-root input[type=text],.yst-root input[type=time],.yst-root input[type=url],.yst-root input[type=week]{min-height:0}.yst-root input[type=checkbox]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);min-height:0;min-width:0;transition-property:none}.yst-root input[type=checkbox]:before{--tw-content:none;content:var(--tw-content)}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.yst-root .yst-alert{border-radius:.375rem;display:flex;gap:.75rem;padding:1rem}.yst-root .yst-alert--info{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.yst-root .yst-alert--info .yst-alert__message{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.yst-root .yst-alert--warning{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity))}.yst-root .yst-alert--warning .yst-alert__message{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity))}.yst-root .yst-alert--success{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.yst-root .yst-alert--success .yst-alert__message{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.yst-root .yst-alert--error{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.yst-root .yst-alert--error .yst-alert__message{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.yst-root .yst-alert__icon{flex-grow:0;flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-autocomplete{position:relative}.yst-root .yst-autocomplete--error .yst-autocomplete__button{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.yst-root .yst-autocomplete--error .yst-autocomplete__button:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity));border-color:rgb(239 68 68/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete--error .yst-autocomplete__input::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.yst-root .yst-autocomplete--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-autocomplete--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button{cursor:not-allowed}.yst-root .yst-autocomplete--disabled .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;padding-left:.75rem;padding-right:.75rem;width:100%}.yst-root .yst-autocomplete__button:focus-within{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-autocomplete__input{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem 2.5rem .5rem 0;width:100%}.yst-root .yst-autocomplete__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-autocomplete__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:20}.yst-root .yst-autocomplete__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-autocomplete__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-autocomplete__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-autocomplete__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-autocomplete__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-badge{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));border-radius:9999px;color:rgb(30 64 175/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:500;line-height:1.25;padding:.125rem .5rem;vertical-align:middle;white-space:nowrap}.yst-root .yst-badge--info{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.yst-root .yst-badge--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(253 230 138/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-badge--plain{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.yst-root .yst-badge--small{font-size:.675rem}.yst-root .yst-badge--large{font-size:1rem;padding-left:.75rem;padding-right:.75rem}.yst-root .yst-button{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:#0000;align-items:center;border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:500;justify-content:center;line-height:1.25rem;padding:.5rem .75rem;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none}.yst-root .yst-button:focus{outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root a.yst-button:focus{border-radius:.375rem}.yst-root .yst-button--primary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-color:#0000;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:visited{color:#fff}.yst-root .yst-button--primary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(143 15 87/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--primary:hover:visited{color:#fff}.yst-root .yst-button--primary:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--secondary{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:visited{color:#1e293b}.yst-root .yst-button--secondary:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity));color:rgb(30 41 59/var(--tw-text-opacity))}.yst-root .yst-button--secondary:hover:visited{color:#1e293b}.yst-root .yst-button--secondary:focus{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--tertiary{--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:initial;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:visited{color:#83084e}.yst-root .yst-button--tertiary:hover{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity))}.yst-root .yst-button--tertiary:hover:visited{color:#83084e}.yst-root .yst-button--tertiary:focus{--tw-text-opacity:1;color:rgb(131 8 78/var(--tw-text-opacity));outline-color:#8f0f57}.yst-root .yst-button--error{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:#0000;color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:visited{color:#fff}.yst-root .yst-button--error:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-button--error:hover:visited{color:#fff}.yst-root .yst-button--error:focus{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline-color:#dc2626}.yst-root .yst-button--upsell{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity));border-color:#0000;color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:visited{color:#78350f}.yst-root .yst-button--upsell:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity));color:rgb(120 53 15/var(--tw-text-opacity))}.yst-root .yst-button--upsell:hover:visited{color:#78350f}.yst-root .yst-button--upsell:focus{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity));outline-color:#fbbf24}.yst-root .yst-button--large{font-size:.875rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-button--extra-large{font-size:1rem;line-height:1.5rem;padding:.625rem .875rem}.yst-root .yst-button--small{font-size:.75rem;line-height:1rem;padding:.375rem .625rem}.yst-root .yst-button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-button--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-checkbox{align-items:center;display:flex}.yst-root .yst-checkbox--disabled .yst-checkbox__input,.yst-root .yst-checkbox--disabled .yst-checkbox__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-checkbox__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-checkbox__label{margin-left:.75rem}.yst-root .yst-code{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(15 23 42/var(--tw-text-opacity));display:inline-block;font-size:.75rem;line-height:1.25;margin:0;padding:.25rem}.yst-root .yst-code--block{display:block;margin-bottom:.5rem;margin-top:.5rem;max-width:100%;overflow-x:auto;padding:.25rem .5rem;white-space:nowrap}.yst-root .yst-file-input{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border:2px dashed rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;padding:1.25rem 1.5rem 1.5rem;text-align:center;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:100%}.yst-root .yst-file-input.yst-is-drag-over{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(250 243 247/var(--tw-bg-opacity));border-color:rgb(205 130 171/var(--tw-border-opacity))}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__content{pointer-events:none}.yst-root .yst-file-input.yst-is-drag-over .yst-file-input__icon{--tw-translate-y:-0.5rem;--tw-text-opacity:1;color:rgb(185 73 134/var(--tw-text-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-file-input.yst-is-disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-file-input.yst-is-disabled .yst-file-input__select-label{cursor:not-allowed}.yst-root .yst-file-input__content{align-items:center;display:inline-flex;flex-direction:column;max-width:20rem}.yst-root .yst-file-input__content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-input__content{text-align:center}.yst-root .yst-file-input__icon{stroke-width:1;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:3rem;margin-left:auto;margin-right:auto;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:3rem}.yst-root .yst-file-input__icon>path{stroke-width:1}.yst-root .yst-file-input__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-file-input__input:focus+.yst-file-input__select-label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-input__labels{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:inline-block;font-weight:400}.yst-root .yst-file-input__select-label{border-radius:.375rem;font-weight:500}[dir=rtl] .yst-root .yst-file-input__labels{flex-direction:row-reverse}.yst-root .yst-label{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;font-weight:500}.yst-root .yst-link{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity));cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.yst-root .yst-link:visited{color:#a61e69}.yst-root .yst-link:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.yst-root .yst-link:hover:visited{color:#b94986}.yst-root .yst-link:focus{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-color:#0000;border-radius:.125rem;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(99 102 241/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-link--primary{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus,.yst-root .yst-link--primary:hover{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-link--primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(154 22 96/var(--tw-ring-opacity))}.yst-root .yst-link--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-link--error:focus,.yst-root .yst-link--error:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-link--error:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(220 38 38/var(--tw-ring-opacity))}.yst-root .yst-paper{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column}.yst-root .yst-paper__header{border-bottom-width:1px;padding:2rem}.yst-root .yst-paper__content{flex-grow:1;padding:2rem}.yst-root .yst-progress-bar{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;display:block;overflow:hidden;width:100%}.yst-root .yst-progress-bar__progress{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));border-radius:9999px;display:block;height:.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:linear}.yst-root .yst-radio{align-items:center;display:flex}.yst-root .yst-radio--disabled .yst-radio__check,.yst-root .yst-radio--disabled .yst-radio__input,.yst-root .yst-radio--disabled .yst-radio__label{cursor:not-allowed;opacity:.5}.yst-root .yst-radio--disabled .yst-radio__check:focus,.yst-root .yst-radio--disabled .yst-radio__input:focus,.yst-root .yst-radio--disabled .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block{display:inline-flex}.yst-root .yst-radio--inline-block .yst-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:#0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked+.yst-radio__content .yst-radio__check{visibility:visible}.yst-root .yst-radio--inline-block .yst-radio__input:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__input:checked:focus+.yst-radio__content .yst-radio__label{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-radio--inline-block .yst-radio__content{position:relative}.yst-root .yst-radio--inline-block .yst-radio__label{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);cursor:pointer;display:flex;font-size:1rem;height:3.5rem;justify-content:center;margin-left:0;width:3.5rem}.yst-root .yst-radio--inline-block .yst-radio__label:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity))}.yst-root .yst-radio--inline-block .yst-radio__label:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio--inline-block .yst-radio__check{--tw-text-opacity:1;color:rgb(154 22 96/var(--tw-text-opacity));height:1.25rem;position:absolute;right:.125rem;top:.125rem;visibility:hidden;width:1.25rem}.yst-root .yst-radio__input{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity));color:rgb(166 30 105/var(--tw-text-opacity));height:1rem;width:1rem}.yst-root .yst-radio__input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-radio__label{margin-left:.75rem}.yst-root .yst-select{position:relative}.yst-root .yst-select--disabled .yst-select__button,.yst-root .yst-select--disabled .yst-select__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select__button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;line-height:1.5rem;padding:.5rem .75rem;position:relative;text-align:left;width:100%}.yst-root .yst-select__button:focus{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__button-icon{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity));height:1.25rem;pointer-events:none;position:absolute;right:.625rem;top:.625rem;width:1.25rem}.yst-root .yst-select__options{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);font-size:.8125rem;margin-top:.25rem;max-height:15rem;overflow:auto;position:absolute;width:100%;z-index:10}.yst-root .yst-select__options:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-select__option{--tw-text-opacity:1;align-items:center;color:rgb(51 65 85/var(--tw-text-opacity));cursor:default;display:flex;justify-content:space-between;padding:.5rem .75rem;position:relative;-webkit-user-select:none;user-select:none}.yst-root .yst-select__option--active{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.yst-root .yst-select__option--selected{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(154 22 96/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.yst-root .yst-select__button-label,.yst-root .yst-select__option-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yst-root .yst-select__option-check{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-shrink:0;height:1.25rem;width:1.25rem}.yst-root .yst-skeleton-loader{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:.25rem;display:block;height:auto;overflow:hidden;position:relative;width:-moz-fit-content;width:fit-content}.yst-root .yst-skeleton-loader:after{--tw-translate-x:-100%;animation:wave 2.5s linear .5s infinite;background:linear-gradient(90deg,#0000,#00000012,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes wave{0%{transform:translateX(-100%)}50%,to{transform:translateX(100%)}}.yst-root .yst-tag-input{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(30 41 59/var(--tw-text-opacity));display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.375rem;line-height:1.5rem;padding:.5rem .75rem}.yst-root .yst-tag-input::placeholder{--tw-placeholder-opacity:1;color:rgb(100 116 139/var(--tw-placeholder-opacity))}.yst-root .yst-tag-input{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-tag-input,.yst-root .yst-tag-input:focus-within{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))}.yst-root .yst-tag-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-input--disabled:focus-within{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:rgb(203 213 225/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus,.yst-root .yst-tag-input--disabled .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag{cursor:not-allowed}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(148 163 184/var(--tw-text-opacity))}.yst-root .yst-tag-input--disabled .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input--disabled .yst-tag-input__input{cursor:not-allowed}.yst-root .yst-tag-input__tag{cursor:pointer;gap:.125rem;min-height:20px;padding-inline-end:.125rem}.yst-root .yst-tag-input__tag:hover{--tw-border-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));border-color:rgb(166 30 105/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-tag-input__tag:focus,.yst-root .yst-tag-input__tag:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__remove-tag{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(226 232 240/var(--tw-bg-opacity));border-radius:9999px;color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.yst-root .yst-tag-input__remove-tag:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-tag-input__remove-tag:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-tag-input__input{border-style:none;display:inline-flex;flex:1 1 0%;font-size:.8125rem;margin:0;padding:0}.yst-root .yst-tag-input__input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-text-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-text-input--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-text-input--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-text-input--read-only{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-color:rgb(248 250 252/var(--tw-bg-opacity));border-color:rgb(226 232 240/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(100 116 139/var(--tw-text-opacity));cursor:default}.yst-root .yst-textarea{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.8125rem;padding:.5rem .75rem;width:100%}.yst-root .yst-textarea:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-textarea--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-textarea--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-title{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity));font-weight:500;line-height:1.25}.yst-root .yst-title--1{font-size:1.5rem}.yst-root .yst-title--2{font-size:1.125rem}.yst-root .yst-title--3{font-size:.875rem}.yst-root .yst-title--4{font-size:1rem}.yst-root .yst-title--5{font-size:.8125rem}.yst-root .yst-toggle{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity));border-color:#0000;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:1.5rem;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:2.75rem}.yst-root .yst-toggle:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-toggle--checked{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-toggle--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-toggle--disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-toggle__handle{--tw-translate-x:0px;--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:flex;height:1.25rem;justify-content:center;pointer-events:none;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.25rem}.yst-root .yst-toggle__icon{stroke:currentColor;stroke-width:2;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));flex-grow:0;flex-shrink:0;height:.625rem;transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);width:.625rem}.yst-root .yst-toggle__icon--check{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity))}.yst-root .yst-toggle__icon--x{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}[dir=rtl] .yst-root .yst-toggle--checked .yst-toggle__handle{--tw-translate-x:-1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-size:.75rem;max-width:24rem;padding:.5rem .625rem;position:absolute;white-space:normal;width:max-content;z-index:10}.yst-root .yst-tooltip--top{--tw-translate-x:-50%;--tw-translate-y:-100%;left:50%;margin-top:-.75rem;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--top:before{--tw-translate-x:-50%;--tw-translate-y:0px;--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;border-top-color:rgb(31 41 55/var(--tw-border-opacity));border-width:8px;content:var(--tw-content);position:absolute}.yst-root .yst-tooltip--bottom,.yst-root .yst-tooltip--top:before{left:50%;top:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--bottom{--tw-translate-x:-50%;--tw-translate-y:-0px;margin-top:.75rem}.yst-root .yst-tooltip--bottom:before{--tw-translate-x:-50%;--tw-border-opacity:1;--tw-content:"";border-bottom-color:rgb(31 41 55/var(--tw-border-opacity));border-left-color:#0000;border-right-color:#0000;border-top-color:#0000;border-width:8px;bottom:100%;content:var(--tw-content);left:50%;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right{--tw-translate-x:-0px;left:100%;margin-left:.75rem}.yst-root .yst-tooltip--right,.yst-root .yst-tooltip--right:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--right:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(31 41 55/var(--tw-border-opacity));border-top-color:#0000;border-width:8px;content:var(--tw-content);position:absolute;right:100%}.yst-root .yst-tooltip--left{margin-right:.75rem;right:100%}.yst-root .yst-tooltip--left,.yst-root .yst-tooltip--left:before{--tw-translate-y:-50%;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yst-root .yst-tooltip--left:before{--tw-border-opacity:1;--tw-content:"";border-bottom-color:#0000;border-left-color:rgb(31 41 55/var(--tw-border-opacity));border-right-color:#0000;border-top-color:#0000;border-width:8px;content:var(--tw-content);left:100%;position:absolute}.yst-root .yst-validation-icon{pointer-events:none}.yst-root .yst-validation-icon--success{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.yst-root .yst-validation-icon--info{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.yst-root .yst-validation-icon--warning{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.yst-root .yst-validation-icon--error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.yst-root .yst-validation-input{position:relative}.yst-root .yst-validation-input--success .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(134 239 172/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--success .yst-validation-input__input:focus,.yst-root .yst-validation-input--success .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity))}.yst-root .yst-validation-input--info .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(147 197 253/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--info .yst-validation-input__input:focus,.yst-root .yst-validation-input--info .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity))}.yst-root .yst-validation-input--warning .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--warning .yst-validation-input__input:focus,.yst-root .yst-validation-input--warning .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(245 158 11/var(--tw-ring-opacity))}.yst-root .yst-validation-input--error .yst-validation-input__input{--tw-ring-opacity:1;--tw-ring-color:rgb(252 165 165/var(--tw-ring-opacity));padding-right:2.5rem}.yst-root .yst-validation-input--error .yst-validation-input__input:focus,.yst-root .yst-validation-input--error .yst-validation-input__input:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.yst-root .yst-validation-input__input:focus,.yst-root .yst-validation-input__input:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.yst-root .yst-validation-input__icon{height:1.25rem;position:absolute;right:.625rem;top:.6875rem;width:1.25rem}.yst-root .yst-validation-message a{color:inherit;font-weight:500}.yst-root .yst-validation-message a:visited:hover{color:inherit}.yst-root .yst-validation-message a:focus{--tw-ring-color:currentColor}.yst-root .yst-validation-message--success{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.yst-root .yst-validation-message--info{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.yst-root .yst-validation-message--warning{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity))}.yst-root .yst-validation-message--error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.yst-root .yst-autocomplete-field__description,.yst-root .yst-autocomplete-field__validation{margin-top:.5rem}.yst-root .yst-card{display:flex;flex-direction:column;position:relative}.yst-root .yst-card>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-card{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:1.5rem;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-card__header{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 244 246/var(--tw-bg-opacity));display:flex;height:6rem;justify-content:center;margin-left:-1.5rem;margin-right:-1.5rem;margin-top:-1.5rem;padding:1.5rem;position:relative}.yst-root .yst-card__content{flex-grow:1}.yst-root .yst-card__footer{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-top-width:1px;padding-top:1.5rem}.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__description,.yst-root .yst-checkbox-group--disabled .yst-checkbox-group__label{cursor:not-allowed;opacity:.5}.yst-root .yst-checkbox-group__label{margin-bottom:.5rem}.yst-root .yst-checkbox-group__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-checkbox-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-feature-upsell{position:relative}.yst-root .yst-feature-upsell--default{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.yst-root .yst-feature-upsell--card{padding:1.5rem}.yst-root .yst-file-import>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-file-import__feedback{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);padding:1rem}.yst-root .yst-file-import__feedback-header{align-items:flex-start;display:flex}.yst-root .yst-file-import__feedback-header>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.yst-root .yst-file-import__feedback-figure{--tw-bg-opacity:1;align-items:center;background-color:rgb(243 229 237/var(--tw-bg-opacity));border-radius:9999px;display:flex;height:2rem;justify-content:center;width:2rem}.yst-root .yst-file-import__feedback-figure>svg{--tw-text-opacity:1;color:rgb(166 30 105/var(--tw-text-opacity));height:1.25rem;width:1.25rem}.yst-root .yst-file-import__feedback-title{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity));display:block;font-weight:500;margin-bottom:.125rem;overflow-wrap:break-word}.yst-root .yst-file-import__feedback-description{display:block;font-size:.75rem;font-weight:500}.yst-root .yst-file-import__abort-button{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 245 249/var(--tw-bg-opacity));border-radius:9999px;color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;flex-shrink:0;height:1.25rem;justify-content:center;width:1.25rem}.yst-root .yst-file-import__abort-button:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(71 85 105/var(--tw-text-opacity))}.yst-root .yst-file-import__abort-button:focus{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid #0000;outline-offset:2px}.yst-root .yst-file-import__abort-button>svg{height:.75rem;width:.75rem}.yst-root .yst-file-import__abort-button>svg>path{stroke-width:3}.yst-root .yst-modal{bottom:0;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:10}@media (min-width:640px){.yst-root .yst-modal{padding:2rem}}@media (min-width:768px){.yst-root .yst-modal{padding:5rem}}.yst-root .yst-modal__layout{display:flex;min-height:100%}.yst-root .yst-modal--center .yst-modal__layout{align-items:center;justify-content:center}.yst-root .yst-modal--top-center .yst-modal__layout{align-items:flex-start;justify-content:center}.yst-root .yst-modal__overlay{--tw-bg-opacity:0.75;background-color:rgb(100 116 139/var(--tw-bg-opacity));bottom:0;left:0;position:fixed;right:0;top:0;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.yst-root .yst-modal__panel{--tw-bg-opacity:1;--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);max-width:36rem;overflow:hidden;padding:1.5rem;position:relative;width:100%}.yst-root .yst-modal__close{display:block;position:absolute;right:1rem;top:1rem}.yst-root .yst-modal__close-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;color:rgb(148 163 184/var(--tw-text-opacity));position:relative;z-index:10}.yst-root .yst-modal__close-button:hover{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity))}.yst-root .yst-modal__close-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid #0000;outline-offset:2px}.yst-root .yst-modal__container{display:flex;flex-direction:column;max-height:calc(100vh - 2rem)}@media (min-width:640px){.yst-root .yst-modal__container{max-height:calc(100vh - 4rem)}}@media (min-width:768px){.yst-root .yst-modal__container{max-height:calc(100vh - 10rem)}}.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 5rem)}@media (min-width:640px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 7rem)}}@media (min-width:768px){.yst-root .yst-modal__panel .yst-modal__container{max-height:calc(100vh - 13rem)}}.yst-root .yst-modal__container-footer,.yst-root .yst-modal__container-header{flex-shrink:0}.yst-root .yst-modal__container-content{overflow:auto}.yst-root .yst-modal__panel .yst-modal__container-content{margin-left:-1.5rem;margin-right:-1.5rem;padding-left:1.5rem;padding-right:1.5rem}.yst-root .yst-notifications{display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:calc(100vw - 4rem);pointer-events:none;position:fixed;width:100%;z-index:20}.yst-root .yst-notifications>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.yst-root .yst-notifications--bottom-center{align-items:center;bottom:2rem}.yst-root .yst-notifications--bottom-left{bottom:2rem;left:2rem}.yst-root .yst-notifications--top-center{align-items:center;top:2rem}.yst-root .yst-notification{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity));--tw-ring-opacity:0.05;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);max-width:100%;overflow-y:auto;padding:1rem;pointer-events:auto;width:20rem;z-index:20}.yst-root .yst-notification--large{width:24rem}.yst-root .yst-notification__icon{height:1.25rem;width:1.25rem}.yst-root .yst-pagination{display:inline-flex;isolation:isolate}.yst-root .yst-pagination>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(-1px*(1 - var(--tw-space-x-reverse)));margin-right:calc(-1px*var(--tw-space-x-reverse))}.yst-root .yst-pagination{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.yst-root .yst-pagination-display__text{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));font-weight:400;padding:.5rem .75rem}.yst-root .yst-pagination-display__current-text{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity));font-weight:600}.yst-root .yst-pagination-display__truncated{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-self:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(100 116 139/var(--tw-text-opacity));display:inline-flex;font-size:.8125rem;font-weight:600;padding:.5rem 1rem}.yst-root .yst-pagination__button{--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity));align-items:center;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(148 163 184/var(--tw-text-opacity));display:inline-flex;padding:.5rem;position:relative}.yst-root .yst-pagination__button:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity))}.yst-root .yst-pagination__button:focus{outline-color:#a61e69;outline-offset:0;z-index:20}.yst-root .yst-pagination__button--active{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(166 30 105/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);color:rgb(255 255 255/var(--tw-text-opacity));font-size:.8125rem;font-weight:600;z-index:10}.yst-root .yst-pagination__button--active:hover{--tw-bg-opacity:1;background-color:rgb(166 30 105/var(--tw-bg-opacity))}.yst-root .yst-pagination__button--active:focus{z-index:20}.yst-root .yst-pagination__button--active:focus-visible{border-radius:.125rem;outline-color:#a61e69;outline-offset:2px;outline-style:solid;outline-width:2px}.yst-root .yst-pagination__button--disabled{cursor:not-allowed;opacity:.5}.yst-root .yst-pagination__button--disabled:hover{background-color:initial}.yst-root .yst-pagination__button--disabled:focus{outline:2px solid #0000;outline-offset:2px}.yst-root .yst-radio-group--inline-block .yst-radio-group__options{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.yst-root .yst-radio-group--disabled .yst-radio-group__description,.yst-root .yst-radio-group--disabled .yst-radio-group__label{opacity:.5}.yst-root .yst-radio-group--disabled .yst-radio-group__label{cursor:not-allowed}.yst-root .yst-radio-group__label{margin-bottom:.5rem}.yst-root .yst-radio-group__options{display:flex;flex-direction:column;gap:.5rem}.yst-root .yst-radio-group__description{margin-bottom:1rem;margin-top:-.5rem}.yst-root .yst-select-field--disabled .yst-select-field__description,.yst-root .yst-select-field--disabled .yst-select-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-select-field__options{display:flex;flex-direction:column;gap:.75rem}.yst-root .yst-select-field__description,.yst-root .yst-select-field__validation{margin-top:.5rem}.yst-root .yst-mobile-navigation__top{position:sticky;top:0;width:100%;z-index:50}.yst-root .yst-mobile-navigation__dialog{bottom:0;display:flex;left:0;position:fixed;right:0;top:0;z-index:50}.yst-root .yst-tag-field--disabled .yst-tag-field__description,.yst-root .yst-tag-field--disabled .yst-tag-field__label{cursor:not-allowed;opacity:.5}.yst-root .yst-tag-field__description,.yst-root .yst-tag-field__validation{margin-top:.5rem}.yst-root .yst-text-field--disabled .yst-text-field__description,.yst-root .yst-text-field--disabled .yst-text-field__label{opacity:.5}.yst-root .yst-text-field--disabled .yst-text-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-text-field__label{cursor:default}.yst-root .yst-text-field__description,.yst-root .yst-text-field__validation{margin-top:.5rem}.yst-root .yst-textarea-field--disabled .yst-textarea-field__description,.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{opacity:.5}.yst-root .yst-textarea-field--disabled .yst-textarea-field__label{cursor:not-allowed}.yst-root .yst-text-field--read-only .yst-textarea-field__label{cursor:default}.yst-root .yst-textarea-field__description,.yst-root .yst-textarea-field__validation{margin-top:.5rem}.yst-root .yst-toggle-field{display:flex;flex-direction:column;gap:.25rem}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{opacity:.5}.yst-root .yst-toggle-field--disabled .yst-toggle-field__description,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label,.yst-root .yst-toggle-field--disabled .yst-toggle-field__label-wrapper{cursor:not-allowed}.yst-root .yst-toggle-field__header{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:space-between}.yst-root .yst-toggle-field__label-wrapper{align-items:center;display:flex;gap:.25rem}.yst-root .yst-toggle-field__description{margin-right:4.25rem}.yst-sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.yst-pointer-events-none{pointer-events:none!important}.yst-invisible{visibility:hidden!important}.yst-fixed{position:fixed!important}.yst-absolute{position:absolute!important}.yst-relative{position:relative!important}.yst-sticky{position:sticky!important}.yst-inset-0{bottom:0!important;top:0!important}.yst-inset-0,.yst-inset-x-0{left:0!important;right:0!important}.yst-inset-y-0{bottom:0!important;top:0!important}.yst--left-3{left:-.75rem!important}.yst-top-0{top:0!important}.yst-right-0{right:0!important}.yst-bottom-12{bottom:3rem!important}.yst-top-2{top:.5rem!important}.yst-right-2{right:.5rem!important}.yst-bottom-0{bottom:0!important}.yst-top-1\/2{top:50%!important}.yst--right-\[6\.5px\]{right:-6.5px!important}.yst--top-\[6\.5px\]{top:-6.5px!important}.yst-left-4{left:1rem!important}.yst--bottom-6{bottom:-1.5rem!important}.yst-top-8{top:2rem!important}.yst-top-3\.5{top:.875rem!important}.yst-top-3{top:.75rem!important}.yst-left-0{left:0!important}.yst-z-30{z-index:30!important}.yst-z-40{z-index:40!important}.yst-z-10{z-index:10!important}.yst-z-20{z-index:20!important}.yst-order-last{order:9999!important}.yst-col-span-1{grid-column:span 1/span 1!important}.yst-m-0{margin:0!important}.yst--m-\[16px\]{margin:-16px!important}.yst--m-6{margin:-1.5rem!important}.yst-my-auto{margin-bottom:auto!important;margin-top:auto!important}.yst-mx-auto{margin-left:auto!important;margin-right:auto!important}.yst-my-4{margin-bottom:1rem!important;margin-top:1rem!important}.yst-my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.yst-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.yst-my-12{margin-bottom:3rem!important;margin-top:3rem!important}.yst-my-3{margin-bottom:.75rem!important;margin-top:.75rem!important}.yst-my-8{margin-bottom:2rem!important;margin-top:2rem!important}.yst--mx-6{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.yst-mx-1\.5{margin-left:.375rem!important;margin-right:.375rem!important}.yst-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.yst-mx-0{margin-left:0!important;margin-right:0!important}.yst-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.yst-my-0{margin-bottom:0!important;margin-top:0!important}.yst-my-16{margin-bottom:4rem!important;margin-top:4rem!important}.yst--ml-1{margin-left:-.25rem!important}.yst-mt-6{margin-top:1.5rem!important}.yst-mt-1\.5{margin-top:.375rem!important}.yst-mt-1{margin-top:.25rem!important}.yst-ml-4{margin-left:1rem!important}.yst-ml-8{margin-left:2rem!important}.yst--mr-14{margin-right:-3.5rem!important}.yst-mb-2{margin-bottom:.5rem!important}.yst-mr-4{margin-right:1rem!important}.yst-mr-2{margin-right:.5rem!important}.yst-mb-px{margin-bottom:1px!important}.yst-mb-16{margin-bottom:4rem!important}.yst-mt-auto{margin-top:auto!important}.yst-ml-3{margin-left:.75rem!important}.yst-mr-1{margin-right:.25rem!important}.yst-mr-5{margin-right:1.25rem!important}.yst-mb-8{margin-bottom:2rem!important}.yst-mt-3{margin-top:.75rem!important}.yst-ml-1{margin-left:.25rem!important}.yst--mr-1{margin-right:-.25rem!important}.yst--mb-\[1em\]{margin-bottom:-1em!important}.yst--ml-0\.5{margin-left:-.125rem!important}.yst--ml-0{margin-left:0!important}.yst-ml-auto{margin-left:auto!important}.yst-mt-2{margin-top:.5rem!important}.yst-mt-4{margin-top:1rem!important}.yst-mb-5{margin-bottom:1.25rem!important}.yst-mb-6{margin-bottom:1.5rem!important}.yst-mt-8{margin-top:2rem!important}.yst-mt-12{margin-top:3rem!important}.yst-mb-3{margin-bottom:.75rem!important}.yst-ml-1\.5{margin-left:.375rem!important}.yst-mr-6{margin-right:1.5rem!important}.yst--ml-px{margin-left:-1px!important}.yst-ml-12{margin-left:3rem!important}.yst-mb-0{margin-bottom:0!important}.yst--mt-6{margin-top:-1.5rem!important}.yst-mb-4{margin-bottom:1rem!important}.yst-ml-2{margin-left:.5rem!important}.yst-mr-3{margin-right:.75rem!important}.yst-mt-7{margin-top:1.75rem!important}.yst-mt-10{margin-top:2.5rem!important}.yst-mt-\[-2\.6rem\]{margin-top:-2.6rem!important}.yst-mt-\[18px\]{margin-top:18px!important}.yst-mb-1{margin-bottom:.25rem!important}.yst-mr-8{margin-right:2rem!important}.yst--mt-4{margin-top:-1rem!important}.yst-mb-24{margin-bottom:6rem!important}.yst-mt-\[27\.5px\]{margin-top:27.5px!important}.yst-mt-5{margin-top:1.25rem!important}.yst-mt-0{margin-top:0!important}.yst-block{display:block!important}.yst-inline-block{display:inline-block!important}.yst-inline{display:inline!important}.yst-flex{display:flex!important}.yst-inline-flex{display:inline-flex!important}.yst-grid{display:grid!important}.yst-hidden{display:none!important}.yst-h-5{height:1.25rem!important}.yst-h-6{height:1.5rem!important}.yst-h-4{height:1rem!important}.yst-h-12{height:3rem!important}.yst-h-0{height:0!important}.yst-h-full{height:100%!important}.yst-h-16{height:4rem!important}.yst-h-7{height:1.75rem!important}.yst-h-3{height:.75rem!important}.yst-h-8{height:2rem!important}.yst-h-\[90vh\]{height:90vh!important}.yst-h-4\/5{height:80%!important}.yst-h-20{height:5rem!important}.yst-h-\[120px\]{height:120px!important}.yst-h-auto{height:auto!important}.yst-h-9{height:2.25rem!important}.yst-h-2\.5{height:.625rem!important}.yst-h-2{height:.5rem!important}.yst-h-24{height:6rem!important}.yst-h-48{height:12rem!important}.yst-h-96{height:24rem!important}.yst-h-\[45px\]{height:45px!important}.yst-h-14{height:3.5rem!important}.yst-h-28{height:7rem!important}.yst-max-h-\[calc\(90vh-10rem\)\]{max-height:calc(90vh - 10rem)!important}.yst-max-h-60{max-height:15rem!important}.yst-min-h-full{min-height:100%!important}.yst-w-5{width:1.25rem!important}.yst-w-6{width:1.5rem!important}.yst-w-0{width:0!important}.yst-w-full{width:100%!important}.yst-w-4{width:1rem!important}.yst-w-12{width:3rem!important}.yst-w-2{width:.5rem!important}.yst-w-3{width:.75rem!important}.yst-w-8{width:2rem!important}.yst-w-\[350px\]{width:350px!important}.yst-w-20{width:5rem!important}.yst-w-\[150px\]{width:150px!important}.yst-w-\[3px\]{width:3px!important}.yst-w-40{width:10rem!important}.yst-w-56{width:14rem!important}.yst-w-2\.5{width:.625rem!important}.yst-w-0\.5{width:.125rem!important}.yst-w-48{width:12rem!important}.yst-w-96{width:24rem!important}.yst-w-3\/5{width:60%!important}.yst-w-16{width:4rem!important}.yst-w-14{width:3.5rem!important}.yst-w-\[463px\]{width:463px!important}.yst-w-24{width:6rem!important}.yst-min-w-full{min-width:100%!important}.yst-min-w-0{min-width:0!important}.yst-max-w-xs{max-width:20rem!important}.yst-max-w-sm{max-width:24rem!important}.yst-max-w-screen-sm{max-width:640px!important}.yst-max-w-6xl{max-width:72rem!important}.yst-max-w-lg{max-width:32rem!important}.yst-max-w-\[715px\]{max-width:715px!important}.yst-max-w-none{max-width:none!important}.yst-max-w-full{max-width:100%!important}.yst-max-w-5xl{max-width:64rem!important}.yst-max-w-2xl{max-width:42rem!important}.yst-max-w-\[500px\]{max-width:500px!important}.yst-flex-1{flex:1 1 0%!important}.yst-flex-none{flex:none!important}.yst-flex-shrink-0,.yst-shrink-0{flex-shrink:0!important}.yst-flex-grow,.yst-grow{flex-grow:1!important}.yst-origin-top{transform-origin:top!important}.yst-translate-y-4{--tw-translate-y:1rem!important}.yst-translate-y-0,.yst-translate-y-4{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-translate-y-0{--tw-translate-y:0px!important}.yst-translate-y-full{--tw-translate-y:100%!important}.yst--translate-y-full,.yst-translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst--translate-y-full{--tw-translate-y:-100%!important}.yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.yst-scale-100,.yst-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important}.yst-scale-y-0{--tw-scale-y:0!important}.yst-scale-y-0,.yst-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes yst-spin{to{transform:rotate(1turn)}}.yst-animate-spin{animation:yst-spin 1s linear infinite!important}.yst-cursor-wait{cursor:wait!important}.yst-cursor-not-allowed{cursor:not-allowed!important}.yst-cursor-default{cursor:default!important}.yst-select-none{-webkit-user-select:none!important;user-select:none!important}.yst-scroll-pt-11{scroll-padding-top:2.75rem!important}.yst-scroll-pb-2{scroll-padding-bottom:.5rem!important}.yst-list-outside{list-style-position:outside!important}.yst-list-disc{list-style-type:disc!important}.yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.yst-flex-row{flex-direction:row!important}.yst-flex-col{flex-direction:column!important}.yst-flex-wrap{flex-wrap:wrap!important}.yst-content-between{align-content:space-between!important}.yst-items-start{align-items:flex-start!important}.yst-items-center{align-items:center!important}.yst-justify-center{justify-content:center!important}.yst-justify-between{justify-content:space-between!important}.yst-gap-2{gap:.5rem!important}.yst-gap-3{gap:.75rem!important}.yst-gap-8{gap:2rem!important}.yst-gap-6{gap:1.5rem!important}.yst-gap-1\.5{gap:.375rem!important}.yst-gap-1{gap:.25rem!important}.yst-gap-4{gap:1rem!important}.yst-gap-x-6{column-gap:1.5rem!important}.yst-gap-y-2{row-gap:.5rem!important}.yst-gap-x-4{column-gap:1rem!important}.yst-space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}.yst-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}.yst-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}.yst-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}.yst-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}.yst-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}.yst-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(229 231 235/var(--tw-divide-opacity))!important}.yst-divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(203 213 225/var(--tw-divide-opacity))!important}.yst-self-start{align-self:flex-start!important}.yst-self-end{align-self:flex-end!important}.yst-self-center{align-self:center!important}.yst-overflow-auto{overflow:auto!important}.yst-overflow-hidden{overflow:hidden!important}.yst-overflow-y-auto{overflow-y:auto!important}.yst-overflow-x-scroll{overflow-x:scroll!important}.yst-truncate{overflow:hidden!important;white-space:nowrap!important}.yst-overflow-ellipsis,.yst-text-ellipsis,.yst-truncate{text-overflow:ellipsis!important}.yst-whitespace-nowrap{white-space:nowrap!important}.yst-whitespace-pre-line{white-space:pre-line!important}.yst-rounded-md{border-radius:.375rem!important}.yst-rounded-full{border-radius:9999px!important}.yst-rounded-lg{border-radius:.5rem!important}.yst-rounded-3xl{border-radius:1.5rem!important}.yst-rounded-none{border-radius:0!important}.yst-rounded-xl{border-radius:.75rem!important}.yst-rounded-l-md{border-bottom-left-radius:.375rem!important;border-top-left-radius:.375rem!important}.yst-rounded-r-md{border-bottom-right-radius:.375rem!important;border-top-right-radius:.375rem!important}.yst-rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.yst-rounded-b-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.yst-rounded-br-none{border-bottom-right-radius:0!important}.yst-border{border-width:1px!important}.yst-border-2{border-width:2px!important}.yst-border-0{border-width:0!important}.yst-border-y{border-bottom-width:1px!important;border-top-width:1px!important}.yst-border-x-0{border-left-width:0!important;border-right-width:0!important}.yst-border-l{border-left-width:1px!important}.yst-border-b{border-bottom-width:1px!important}.yst-border-r{border-right-width:1px!important}.yst-border-t,.yst-border-t-\[1px\]{border-top-width:1px!important}.yst-border-solid{border-style:solid!important}.yst-border-dashed{border-style:dashed!important}.yst-border-none{border-style:none!important}.yst-border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-transparent{border-color:#0000!important}.yst-border-white{--tw-border-opacity:1!important;border-color:rgb(255 255 255/var(--tw-border-opacity))!important}.yst-border-amber-300{--tw-border-opacity:1!important;border-color:rgb(252 211 77/var(--tw-border-opacity))!important}.yst-border-slate-300{--tw-border-opacity:1!important;border-color:rgb(203 213 225/var(--tw-border-opacity))!important}.yst-border-primary-500{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.yst-border-slate-100{--tw-border-opacity:1!important;border-color:rgb(241 245 249/var(--tw-border-opacity))!important}.yst-border-primary-300{--tw-border-opacity:1!important;border-color:rgb(205 130 171/var(--tw-border-opacity))!important}.yst-border-red-300{--tw-border-opacity:1!important;border-color:rgb(252 165 165/var(--tw-border-opacity))!important}.yst-border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.yst-border-emerald-600{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.yst-border-r-slate-200{--tw-border-opacity:1!important;border-right-color:rgb(226 232 240/var(--tw-border-opacity))!important}.yst-border-t-\[rgb\(0\,0\,0\,0\.2\)\]{border-top-color:#0003!important}.yst-bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.yst-bg-slate-600{--tw-bg-opacity:1!important;background-color:rgb(71 85 105/var(--tw-bg-opacity))!important}.yst-bg-slate-100{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity))!important}.yst-bg-slate-200{--tw-bg-opacity:1!important;background-color:rgb(226 232 240/var(--tw-bg-opacity))!important}.yst-bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.yst-bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity))!important}.yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.yst-bg-transparent{background-color:initial!important}.yst-bg-slate-300{--tw-bg-opacity:1!important;background-color:rgb(203 213 225/var(--tw-bg-opacity))!important}.yst-bg-red-100{--tw-bg-opacity:1!important;background-color:rgb(254 226 226/var(--tw-bg-opacity))!important}.yst-bg-primary-600{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.yst-bg-blue-100{--tw-bg-opacity:1!important;background-color:rgb(219 234 254/var(--tw-bg-opacity))!important}.yst-bg-yellow-100{--tw-bg-opacity:1!important;background-color:rgb(254 249 195/var(--tw-bg-opacity))!important}.yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-bg-opacity-75{--tw-bg-opacity:0.75!important}.yst-bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))!important}.yst-from-\[\#EDD2E1\]{--tw-gradient-from:#edd2e1!important;--tw-gradient-to:#edd2e100!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.yst-stroke-3{stroke-width:3px!important}.yst-stroke-1{stroke-width:1!important}.yst-object-contain{object-fit:contain!important}.yst-object-cover{object-fit:cover!important}.yst-object-center{object-position:center!important}.yst-p-1{padding:.25rem!important}.yst-p-6{padding:1.5rem!important}.yst-p-4{padding:1rem!important}.yst-p-8{padding:2rem!important}.yst-p-0{padding:0!important}.yst-p-2\.5{padding:.625rem!important}.yst-p-2{padding:.5rem!important}.yst-p-10{padding:2.5rem!important}.yst-p-3{padding:.75rem!important}.yst-px-4{padding-left:1rem!important;padding-right:1rem!important}.yst-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.yst-py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.yst-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.yst-px-2{padding-left:.5rem!important;padding-right:.5rem!important}.yst-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.yst-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.yst-py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.yst-px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.yst-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.yst-px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}.yst-px-0{padding-left:0!important;padding-right:0!important}.yst-px-\[3px\]{padding-left:3px!important;padding-right:3px!important}.yst-py-\[3px\]{padding-bottom:3px!important;padding-top:3px!important}.yst-px-8{padding-left:2rem!important;padding-right:2rem!important}.yst-py-12{padding-bottom:3rem!important;padding-top:3rem!important}.yst-py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.yst-px-11{padding-left:2.75rem!important;padding-right:2.75rem!important}.yst-pb-10{padding-bottom:2.5rem!important}.yst-pt-1{padding-top:.25rem!important}.yst-pb-1{padding-bottom:.25rem!important}.yst-pt-4{padding-top:1rem!important}.yst-pb-4{padding-bottom:1rem!important}.yst-pr-4{padding-right:1rem!important}.yst-pl-6{padding-left:1.5rem!important}.yst-pt-2{padding-top:.5rem!important}.yst-pl-\[1em\]{padding-left:1em!important}.yst-pb-6{padding-bottom:1.5rem!important}.yst-pb-8{padding-bottom:2rem!important}.yst-pt-6{padding-top:1.5rem!important}.yst-pl-2{padding-left:.5rem!important}.yst-pr-3{padding-right:.75rem!important}.yst-pb-2{padding-bottom:.5rem!important}.yst-pt-\[56\.25\%\]{padding-top:56.25%!important}.yst-pl-3{padding-left:.75rem!important}.yst-pr-2{padding-right:.5rem!important}.yst-pl-0{padding-left:0!important}.yst-pr-10{padding-right:2.5rem!important}.yst-pr-9{padding-right:2.25rem!important}.yst-text-left{text-align:left!important}.yst-text-center{text-align:center!important}.yst-align-middle{vertical-align:middle!important}.yst-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.yst-font-wp{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif!important}.yst-text-sm{font-size:.8125rem!important}.yst-text-4xl{font-size:2.25rem!important}.yst-text-2xl{font-size:1.5rem!important}.yst-text-base{font-size:1rem!important}.yst-text-tiny{font-size:.875rem!important}.yst-text-lg{font-size:1.125rem!important}.yst-text-xs{font-size:.75rem!important}.yst-text-xl{font-size:1.25rem!important}.yst-text-\[10px\]{font-size:10px!important}.yst-text-xxs{font-size:.675rem!important}.yst-font-medium{font-weight:500!important}.yst-font-semibold{font-weight:600!important}.yst-font-extrabold{font-weight:800!important}.yst-font-bold{font-weight:700!important}.yst-font-\[650\]{font-weight:650!important}.yst-font-light{font-weight:300!important}.yst-font-normal{font-weight:400!important}.yst-uppercase{text-transform:uppercase!important}.yst-italic{font-style:italic!important}.yst-leading-10{line-height:2.5rem!important}.yst-leading-6{line-height:1.5rem!important}.yst-leading-8{line-height:2rem!important}.yst-leading-5{line-height:1.25rem!important}.yst-leading-normal{line-height:1.5!important}.yst-leading-\[normal\]{line-height:normal!important}.yst-leading-tight{line-height:1.25!important}.yst-leading-4{line-height:1rem!important}.yst-tracking-tight{letter-spacing:-.025em!important}.yst-tracking-wide{letter-spacing:.025em!important}.yst-text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.yst-text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity))!important}.yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.yst-text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity))!important}.yst-text-primary-500{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.yst-text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.yst-text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity))!important}.yst-text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity))!important}.yst-text-indigo-600{--tw-text-opacity:1!important;color:rgb(79 70 229/var(--tw-text-opacity))!important}.yst-text-\[\#555\]{--tw-text-opacity:1!important;color:rgb(85 85 85/var(--tw-text-opacity))!important}.yst-text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity))!important}.yst-text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity))!important}.yst-text-red-500{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity))!important}.yst-text-green-400{--tw-text-opacity:1!important;color:rgb(74 222 128/var(--tw-text-opacity))!important}.yst-text-\[\#111827\]{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity))!important}.yst-text-yellow-900{--tw-text-opacity:1!important;color:rgb(113 63 18/var(--tw-text-opacity))!important}.yst-text-amber-500{--tw-text-opacity:1!important;color:rgb(245 158 11/var(--tw-text-opacity))!important}.yst-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.yst-text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.yst-text-blue-800{--tw-text-opacity:1!important;color:rgb(30 64 175/var(--tw-text-opacity))!important}.yst-text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity))!important}.yst-text-yellow-800{--tw-text-opacity:1!important;color:rgb(133 77 14/var(--tw-text-opacity))!important}.yst-text-red-800{--tw-text-opacity:1!important;color:rgb(153 27 27/var(--tw-text-opacity))!important}.yst-text-emerald-600{--tw-text-opacity:1!important;color:rgb(5 150 105/var(--tw-text-opacity))!important}.yst-text-green-800{--tw-text-opacity:1!important;color:rgb(22 101 52/var(--tw-text-opacity))!important}.yst-text-red-900{--tw-text-opacity:1!important;color:rgb(127 29 29/var(--tw-text-opacity))!important}.yst-underline{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.yst-line-through{-webkit-text-decoration-line:line-through!important;text-decoration-line:line-through!important}.yst-no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.yst-subpixel-antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.yst-placeholder-slate-500::placeholder{--tw-placeholder-opacity:1!important;color:rgb(100 116 139/var(--tw-placeholder-opacity))!important}.yst-opacity-0{opacity:0!important}.yst-opacity-100{opacity:1!important}.yst-opacity-25{opacity:.25!important}.yst-opacity-75{opacity:.75!important}.yst-opacity-50{opacity:.5!important}.yst-shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.yst-shadow,.yst-shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.yst-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)!important}.yst-shadow-md,.yst-shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.yst-shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.yst-shadow-none,.yst-shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.yst-shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.yst-shadow-amber-700\/30{--tw-shadow-color:#b453094d!important;--tw-shadow:var(--tw-shadow-colored)!important}.yst-outline-none{outline:2px solid #0000!important;outline-offset:2px!important}.yst-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.yst-ring-gray-200{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.yst-ring-black{--tw-ring-opacity:1!important;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))!important}.yst-ring-opacity-5{--tw-ring-opacity:0.05!important}.yst-ring-offset-2{--tw-ring-offset-width:2px!important}.yst-ring-offset-primary-500{--tw-ring-offset-color:#a61e69!important}.yst-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f)!important}.yst-drop-shadow-md,.yst-grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-grayscale{--tw-grayscale:grayscale(100%)!important}.yst-filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.yst-transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-transition-\[width\]{transition-duration:.15s!important;transition-property:width!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-delay-200{transition-delay:.2s!important}.yst-delay-\[900ms\]{transition-delay:.9s!important}.yst-delay-100{transition-delay:.1s!important}.yst-duration-1000{transition-duration:1s!important}.yst-duration-200{transition-duration:.2s!important}.yst-duration-300{transition-duration:.3s!important}.yst-duration-150{transition-duration:.15s!important}.yst-duration-100{transition-duration:.1s!important}.yst-duration-75{transition-duration:75ms!important}.yst-duration-500{transition-duration:.5s!important}.yst-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.yst-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.yst-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.yst-ease-linear{transition-timing-function:linear!important}.odd\:yst-bg-white:nth-child(odd){--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.even\:yst-bg-slate-50:nth-child(2n){--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.focus-within\:yst-border-primary-500:focus-within{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus-within\:yst-outline-none:focus-within{outline:2px solid #0000!important;outline-offset:2px!important}.focus-within\:yst-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus-within\:yst-ring-primary-500:focus-within{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.hover\:yst-bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity))!important}.hover\:yst-bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity))!important}.hover\:yst-bg-\[\#f0f0f0\]:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.hover\:yst-bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.hover\:yst-bg-primary-600:hover{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.hover\:yst-text-slate-500:hover{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.hover\:yst-text-slate-900:hover{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity))!important}.hover\:yst-text-slate-800:hover{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity))!important}.hover\:yst-text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.hover\:yst-text-primary-500:hover{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.hover\:yst-underline:hover{-webkit-text-decoration-line:underline!important;text-decoration-line:underline!important}.focus\:yst-border-primary-500:focus{--tw-border-opacity:1!important;border-color:rgb(166 30 105/var(--tw-border-opacity))!important}.focus\:yst-border-red-500:focus{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity))!important}.focus\:yst-border-emerald-600:focus{--tw-border-opacity:1!important;border-color:rgb(5 150 105/var(--tw-border-opacity))!important}.focus\:yst-bg-primary-600:focus{--tw-bg-opacity:1!important;background-color:rgb(154 22 96/var(--tw-bg-opacity))!important}.focus\:yst-text-white:focus{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.focus\:yst-text-primary-500:focus{--tw-text-opacity:1!important;color:rgb(166 30 105/var(--tw-text-opacity))!important}.focus\:yst-shadow-\[0_0_3px_rgba\(8\2c 74\2c 103\2c 0\.8\)\]:focus{--tw-shadow:0 0 3px #084a67cc!important;--tw-shadow-colored:0 0 3px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.focus\:yst-outline-none:focus{outline:2px solid #0000!important;outline-offset:2px!important}.focus\:yst-outline:focus{outline-style:solid!important}.focus\:yst-outline-\[1px\]:focus{outline-width:1px!important}.focus\:-yst-outline-offset-1:focus{outline-offset:-1px!important}.focus\:yst-outline-\[color\:\#0066cd\]:focus{outline-color:#0066cd!important}.focus\:yst-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-1:focus,.focus\:yst-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\:yst-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\:yst-ring-inset:focus{--tw-ring-inset:inset!important}.focus\:yst-ring-primary-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(166 30 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-white:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))!important}.focus\:yst-ring-red-500:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))!important}.focus\:yst-ring-emerald-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(5 150 105/var(--tw-ring-opacity))!important}.focus\:yst-ring-offset-2:focus{--tw-ring-offset-width:2px!important}.focus\:yst-ring-offset-1:focus{--tw-ring-offset-width:1px!important}.focus\:yst-ring-offset-transparent:focus{--tw-ring-offset-color:#0000!important}.focus\:yst-ring-offset-primary-500:focus{--tw-ring-offset-color:#a61e69!important}.yst-group:hover .group-hover\:yst-bg-primary-500{--tw-bg-opacity:1!important;background-color:rgb(166 30 105/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-bg-primary-200{--tw-bg-opacity:1!important;background-color:rgb(224 179 204/var(--tw-bg-opacity))!important}.yst-group:hover .group-hover\:yst-text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.yst-group:hover .group-hover\:yst-text-primary-800{--tw-text-opacity:1!important;color:rgb(131 8 78/var(--tw-text-opacity))!important}[dir=rtl] .rtl\:yst-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media not all and (min-width:640px){.max-sm\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}}@media (min-width:640px){.sm\:yst-mx-0{margin-left:0!important;margin-right:0!important}.sm\:yst-mb-0{margin-bottom:0!important}.sm\:yst-ml-3{margin-left:.75rem!important}.sm\:yst-mt-0{margin-top:0!important}.sm\:yst-ml-4{margin-left:1rem!important}.sm\:yst-flex{display:flex!important}.sm\:yst-h-10{height:2.5rem!important}.sm\:yst-w-auto{width:auto!important}.sm\:yst-w-10{width:2.5rem!important}.sm\:yst-translate-y-0{--tw-translate-y:0px!important}.sm\:yst-scale-95,.sm\:yst-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-scale-95{--tw-scale-x:.95!important;--tw-scale-y:.95!important}.sm\:yst-scale-100{--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.sm\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sm\:yst-flex-row-reverse{flex-direction:row-reverse!important}.sm\:yst-items-start{align-items:flex-start!important}.sm\:yst-text-left{text-align:left!important}.sm\:yst-text-sm{font-size:.8125rem!important}}@media (min-width:768px){.md\:yst-absolute{position:absolute!important}.md\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:yst-flex-row{flex-direction:row!important}}@media (min-width:783px){.min-\[783px\]\:yst-block{display:block!important}.min-\[783px\]\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.min-\[783px\]\:yst-p-8{padding:2rem!important}}@media (min-width:1024px){.lg\:yst-col-span-2{grid-column:span 2/span 2!important}.lg\:yst-mt-0{margin-top:0!important}.lg\:yst-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lg\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lg\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:yst-gap-12{gap:3rem!important}}@media (min-width:1280px){.xl\:yst-fixed{position:fixed!important}.xl\:yst-right-8{right:2rem!important}.xl\:yst-col-span-2{grid-column:span 2/span 2!important}.xl\:yst-mb-0{margin-bottom:0!important}.xl\:yst-mt-0{margin-top:0!important}.xl\:yst-w-\[16rem\]{width:16rem!important}.xl\:yst-max-w-3xl{max-width:48rem!important}.xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xl\:yst-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.xl\:yst-gap-12{gap:3rem!important}.xl\:yst-pr-\[17\.5rem\]{padding-right:17.5rem!important}}@media (min-width:1536px){.\32xl\:yst-col-span-2{grid-column:span 2/span 2!important}.\32xl\:yst-mt-0{margin-top:0!important}.\32xl\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.\32xl\:yst-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.\32xl\:yst-gap-12{gap:3rem!important}}@media (min-width:1800px){.min-\[1800px\]\:yst-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}} \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/toggle-switch-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/tooltips-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/workouts-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yoast-extensions-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yst_plugin_tools-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2270-rtl.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2280-rtl.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2270-rtl.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2280-rtl.css diff --git a/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2270.css b/wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2280.css similarity index 100% rename from wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2270.css rename to wp/wp-content/plugins/wordpress-seo/css/dist/yst_seo_score-2280.css diff --git a/wp/wp-content/plugins/wordpress-seo/inc/language-utils.php b/wp/wp-content/plugins/wordpress-seo/inc/language-utils.php index 03952117..aa8a6525 100644 --- a/wp/wp-content/plugins/wordpress-seo/inc/language-utils.php +++ b/wp/wp-content/plugins/wordpress-seo/inc/language-utils.php @@ -49,25 +49,4 @@ class WPSEO_Language_Utils { return $language; } - - /** - * Returns the l10n array for the knowledge graph company info missing. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @return array The l10n array. - */ - public static function get_knowledge_graph_company_info_missing_l10n() { - _deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - - return [ - 'URL' => esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/3r3' ) ), - /* translators: 1: expands to a link opening tag; 2: expands to a link closing tag */ - 'message' => esc_html__( - 'A company name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data.%2$s', - 'wordpress-seo' - ), - ]; - } } diff --git a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php index 24fa03b3..ff613e48 100644 --- a/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php +++ b/wp/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php @@ -874,46 +874,6 @@ class WPSEO_Option_Titles extends WPSEO_Option { unset( $rename, $taxonomy_names, $post_type_names, $defaults, $tax, $old_prefix, $new_prefix ); } - /* - * Make sure the values of the variable option key options are cleaned as they - * may be retained and would not be cleaned/validated then. - */ - if ( is_array( $option_value ) && $option_value !== [] ) { - foreach ( $option_value as $key => $value ) { - $switch_key = $this->get_switch_key( $key ); - - // Similar to validation routine - any changes made there should be made here too. - switch ( $switch_key ) { - /* Text fields. */ - case 'title-': - case 'metadesc-': - case 'bctitle-ptarchive-': - $option_value[ $key ] = WPSEO_Utils::sanitize_text_field( $value ); - break; - - case 'separator': - if ( ! array_key_exists( $value, $this->get_separator_options() ) ) { - $option_value[ $key ] = false; - } - break; - - /* - * Boolean fields. - */ - - /* - * Covers: - * 'noindex-' - * 'hideeditbox-' - */ - default: - $option_value[ $key ] = WPSEO_Utils::validate_bool( $value ); - break; - } - } - unset( $key, $value, $switch_key ); - } - return $option_value; } diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/block-editor.js b/wp/wp-content/plugins/wordpress-seo/js/dist/block-editor.js index daf1b89c..2bd25945 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/block-editor.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/block-editor.js @@ -1,4 +1,4 @@ -(()=>{var e={6746:(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(r(9196)),o=i(r(9156)),n=i(r(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var r,n,i,d,p,u,m,h,g=[],y={};for(u=0;u "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){r=t[p.value],i=u;break}g.push(t[p.value])}else g.push(p.value);return r&&(d=function(e,t){var r,s,a=t[e],o=0;for(s=e+1;s{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,r)=>{"use strict";var s=r(9196),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=r(7942),n=r(9179),i=r(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,s={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return s[e]}))):t.toString(36);var r,s}function m(e,t,r,s){var o,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===a)return r(s,e,""===t?l+u(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{"use strict";function t(e){return function(){return e}}var r=function(){};r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},9179:e=>{"use strict";e.exports=function(e,t,r,s,a,o,n,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,s,a,o,n,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,r)=>{"use strict";var s=r(7942);e.exports=s},4530:(e,t)=>{var r;!function(){"use strict";var s={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function r(s){var a=t[s];if(void 0!==a)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};r.r(e),r.d(e,{authorFirstName:()=>Ul,authorLastName:()=>Kl,category:()=>jl,categoryTitle:()=>Yl,currentDate:()=>zl,currentDay:()=>Hl,currentMonth:()=>Vl,currentYear:()=>Gl,date:()=>Zl,excerpt:()=>Xl,focusKeyphrase:()=>Ql,id:()=>Jl,modified:()=>ec,name:()=>tc,page:()=>rc,pageNumber:()=>sc,pageTotal:()=>ac,permalink:()=>oc,postContent:()=>nc,postDay:()=>ic,postMonth:()=>lc,postTypeNamePlural:()=>dc,postTypeNameSingular:()=>pc,postYear:()=>cc,primaryCategory:()=>uc,searchPhrase:()=>mc,separator:()=>hc,siteDescription:()=>gc,siteName:()=>yc,tag:()=>fc,term404:()=>wc,termDescription:()=>bc,termHierarchy:()=>Ec,termTitle:()=>vc,title:()=>kc,userDescription:()=>_c});var t=r(9196),s=r.n(t);const a=window.wp.blocks,o=window.wp.data,n=window.wp.editPost,i=window.wp.element,l=window.wp.i18n,c=window.wp.plugins,d=window.wp.richText,p=window.yoast.externals.contexts,u=window.yoast.externals.redux,m=window.lodash,h=window.wp.apiFetch;var g=r.n(h);async function y(e,t,r,s=200){try{const a=await e();return!!a&&(a.status===s?t(a):r(a))}catch(e){}}async function f(e){try{return await g()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const w="wordproof/v1",b=async()=>await f({path:`${w}/oauth/destroy`,method:"POST"}),{get:E}=lodash,v=(e,t={})=>E(window,"wordproofSdk.data"+(e?`.${e}`:""),t),k=window.yoast.propTypes;var _=r.n(k);function x(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}const T=e=>{const{response:t,createSuccessNotice:r,createErrorNotice:s,postId:a}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};t&&201===t.status?0===t.balance?(o.actions=[{label:v("translations.open_settings_button_text"),onClick:()=>{x("wordproof:open_settings")},variant:"link"}],s(v("translations.no_balance"),o)):(r(v("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),S(a,t.hash,s,o)):t.error&&("not_authenticated"===t.error?(o.type="snackbar",o.actions=[{label:v("translations.open_authentication_button_text"),onClick:()=>{x("wordproof:open_authentication")},variant:"link"}],s(v("translations.not_authenticated"),o)):s(v("translations.timestamp_failed"),o))},S=async(e,t,r,s)=>{setTimeout((async()=>{const a=await(async e=>f({path:`${w}/posts/${e}/timestamp/transaction/latest`,method:"GET"}))(e);a.hash!==t&&(s.type="snackbar",r(v("translations.webhook_failed"),s))}),1e4)};T.proptypes={timestampResponse:_().any.isRequired,createSuccessNotice:_().func.isRequired,createErrorNotice:_().func.isRequired,postId:_().number.isRequired};const{debounce:R}=lodash,{applyFilters:C}=wp.hooks,{dispatch:I}=wp.data,{subscribe:A,select:P}=wp.data;function L(e){let t=!0;A((()=>{const r=P("core/editor").isSavingPost(),s=P("core/editor").isAutosavingPost(),a=P("core/editor").didPostSaveRequestSucceed();if(r&&a&&!s){if(t)return void(t=!1);e()}}))}function F(){const{createSuccessNotice:e,createErrorNotice:t}=(0,o.dispatch)("core/notices");!function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=I("wordproof"),r=v("popup_redirect_authentication_url"),s=v("popup_redirect_settings_url");let a=null;const o=(e,t)=>{a=function(e,t,r="",s=800,a=680){const o=e.top.outerHeight/2+e.top.screenY-a/2,n=e.top.outerWidth/2+e.top.screenX-s/2;return e.open(t,r,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${s},\n\t\theight=${a},\n\t\ttop=${o},\n\t\tleft=${n}`)}(window,e,t),a&&a.focus(),window.addEventListener("message",n,!1)},n=async e=>{const{data:t,source:r,origin:s}=e;if(s===v("origin")&&a===r)switch(t.type){case"wordproof:oauth:granted":!1===await c(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await d(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,r=null)=>{l(),x(t),!1===r&&(await(async()=>await y((async()=>await b()),(e=>e),(()=>!1)))(),e(!1)),!0===r&&e(!0)},l=()=>{window.removeEventListener("message",n,!1),a.close()},c=async e=>{await y((()=>(async e=>{const{state:t,code:r}=e;return await f({path:`${w}/oauth/authenticate`,method:"POST",data:{state:t,code:r}})})(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return a.postMessage(t,v("origin")),!0}),(async()=>!1))},d=async e=>{await y((()=>(async e=>{const{settings:t}=e;return await f({path:`${w}/settings`,method:"POST",data:{settings:t}})})(e)),(async()=>{const r=e.settings;return r.selectedPostTypes&&t(r.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),o(r,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),o(s,"WordProof_Settings")}),!1)}(),function(e,t,r){e(R((async()=>{if(C("wordproof.timestamp",!0)){const e=v("current_post_id"),s=await(async e=>f({path:`${w}/posts/${e}/timestamp`,method:"POST"}))(e);T({response:s,createSuccessNotice:t,createErrorNotice:r,postId:e})}}),500))}(L,e,t)}function M(){return(0,m.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const O=window.yoast.styledComponents;var N=r.n(O);const q=N().svg` +(()=>{var e={6746:(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(r(9196)),o=i(r(9156)),n=i(r(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var r,n,i,d,p,u,m,h,g=[],y={};for(u=0;u "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){r=t[p.value],i=u;break}g.push(t[p.value])}else g.push(p.value);return r&&(d=function(e,t){var r,s,a=t[e],o=0;for(s=e+1;s{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,r)=>{"use strict";var s=r(9196),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=r(7942),n=r(9179),i=r(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,s={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return s[e]}))):t.toString(36);var r,s}function m(e,t,r,s){var o,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===a)return r(s,e,""===t?l+u(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{"use strict";function t(e){return function(){return e}}var r=function(){};r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},9179:e=>{"use strict";e.exports=function(e,t,r,s,a,o,n,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,s,a,o,n,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,r)=>{"use strict";var s=r(7942);e.exports=s},4530:(e,t)=>{var r;!function(){"use strict";var s={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function r(s){var a=t[s];if(void 0!==a)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};r.r(e),r.d(e,{authorFirstName:()=>Bl,authorLastName:()=>Wl,category:()=>Hl,categoryTitle:()=>Vl,currentDate:()=>Ul,currentDay:()=>Kl,currentMonth:()=>zl,currentYear:()=>jl,date:()=>Yl,excerpt:()=>Gl,focusKeyphrase:()=>Zl,id:()=>Xl,modified:()=>Ql,name:()=>Jl,page:()=>ec,pageNumber:()=>tc,pageTotal:()=>rc,permalink:()=>sc,postContent:()=>ac,postDay:()=>oc,postMonth:()=>nc,postTypeNamePlural:()=>lc,postTypeNameSingular:()=>cc,postYear:()=>ic,primaryCategory:()=>dc,searchPhrase:()=>pc,separator:()=>uc,siteDescription:()=>mc,siteName:()=>hc,tag:()=>gc,term404:()=>yc,termDescription:()=>fc,termHierarchy:()=>wc,termTitle:()=>bc,title:()=>Ec,userDescription:()=>vc});var t=r(9196),s=r.n(t);const a=window.wp.blocks,o=window.wp.data,n=window.wp.editPost,i=window.wp.element,l=window.wp.i18n,c=window.wp.plugins,d=window.wp.richText,p=window.yoast.externals.contexts,u=window.yoast.externals.redux,m=window.lodash,h=window.wp.apiFetch;var g=r.n(h);async function y(e,t,r,s=200){try{const a=await e();return!!a&&(a.status===s?t(a):r(a))}catch(e){}}async function f(e){try{return await g()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const w="wordproof/v1",b=async()=>await f({path:`${w}/oauth/destroy`,method:"POST"}),{get:E}=lodash,v=(e,t={})=>E(window,"wordproofSdk.data"+(e?`.${e}`:""),t),k=window.yoast.propTypes;var _=r.n(k);function x(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}const T=e=>{const{response:t,createSuccessNotice:r,createErrorNotice:s,postId:a}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};t&&201===t.status?0===t.balance?(o.actions=[{label:v("translations.open_settings_button_text"),onClick:()=>{x("wordproof:open_settings")},variant:"link"}],s(v("translations.no_balance"),o)):(r(v("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),S(a,t.hash,s,o)):t.error&&("not_authenticated"===t.error?(o.type="snackbar",o.actions=[{label:v("translations.open_authentication_button_text"),onClick:()=>{x("wordproof:open_authentication")},variant:"link"}],s(v("translations.not_authenticated"),o)):s(v("translations.timestamp_failed"),o))},S=async(e,t,r,s)=>{setTimeout((async()=>{const a=await(async e=>f({path:`${w}/posts/${e}/timestamp/transaction/latest`,method:"GET"}))(e);a.hash!==t&&(s.type="snackbar",r(v("translations.webhook_failed"),s))}),1e4)};T.proptypes={timestampResponse:_().any.isRequired,createSuccessNotice:_().func.isRequired,createErrorNotice:_().func.isRequired,postId:_().number.isRequired};const{debounce:R}=lodash,{applyFilters:C}=wp.hooks,{dispatch:I}=wp.data,{subscribe:A,select:P}=wp.data;function L(e){let t=!0;A((()=>{const r=P("core/editor").isSavingPost(),s=P("core/editor").isAutosavingPost(),a=P("core/editor").didPostSaveRequestSucceed();if(r&&a&&!s){if(t)return void(t=!1);e()}}))}function F(){const{createSuccessNotice:e,createErrorNotice:t}=(0,o.dispatch)("core/notices");!function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=I("wordproof"),r=v("popup_redirect_authentication_url"),s=v("popup_redirect_settings_url");let a=null;const o=(e,t)=>{a=function(e,t,r="",s=800,a=680){const o=e.top.outerHeight/2+e.top.screenY-a/2,n=e.top.outerWidth/2+e.top.screenX-s/2;return e.open(t,r,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${s},\n\t\theight=${a},\n\t\ttop=${o},\n\t\tleft=${n}`)}(window,e,t),a&&a.focus(),window.addEventListener("message",n,!1)},n=async e=>{const{data:t,source:r,origin:s}=e;if(s===v("origin")&&a===r)switch(t.type){case"wordproof:oauth:granted":!1===await c(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await d(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,r=null)=>{l(),x(t),!1===r&&(await(async()=>await y((async()=>await b()),(e=>e),(()=>!1)))(),e(!1)),!0===r&&e(!0)},l=()=>{window.removeEventListener("message",n,!1),a.close()},c=async e=>{await y((()=>(async e=>{const{state:t,code:r}=e;return await f({path:`${w}/oauth/authenticate`,method:"POST",data:{state:t,code:r}})})(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return a.postMessage(t,v("origin")),!0}),(async()=>!1))},d=async e=>{await y((()=>(async e=>{const{settings:t}=e;return await f({path:`${w}/settings`,method:"POST",data:{settings:t}})})(e)),(async()=>{const r=e.settings;return r.selectedPostTypes&&t(r.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),o(r,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),o(s,"WordProof_Settings")}),!1)}(),function(e,t,r){e(R((async()=>{if(C("wordproof.timestamp",!0)){const e=v("current_post_id"),s=await(async e=>f({path:`${w}/posts/${e}/timestamp`,method:"POST"}))(e);T({response:s,createSuccessNotice:t,createErrorNotice:r,postId:e})}}),500))}(L,e,t)}function M(){return(0,m.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const O=window.yoast.styledComponents;var q=r.n(O);const N=q().svg` width: ${e=>e.size}px; height: ${e=>e.size}px; &&& path { @@ -13,18 +13,18 @@ fill: ${e=>e.seoScoreColor}; display: ${e=>e.isKeywordAnalysisActive?"inline":"none"}; } -`,D=function(e){return(0,t.createElement)(q,{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"},(0,t.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),(0,t.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),(0,t.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),(0,t.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};D.propTypes={readabilityScoreColor:_().string,isContentAnalysisActive:_().bool,seoScoreColor:_().string,isKeywordAnalysisActive:_().bool,size:_().number,color:_().string},D.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};const $=D,B=window.wp.components;function W(e){return void 0===e.length?e:(0,m.flatten)(e).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority))}const U=({theme:e,location:r,children:s})=>(0,t.createElement)(p.LocationProvider,{value:r},(0,t.createElement)(O.ThemeProvider,{theme:e},s));U.propTypes={theme:_().object.isRequired,location:_().oneOf(["sidebar","metabox","modal"]).isRequired,children:_().element.isRequired};const K=U,z=window.yoast.uiLibrary;const H=window.yoast.componentsNew,V=window.yoast.styleGuide,j=window.yoast.analysis;function Y(e){switch(e){case"loading":return{icon:"loading-spinner",color:V.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:V.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:V.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:V.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:V.colors.$color_ok};default:return{icon:"seo-score-bad",color:V.colors.$color_red}}}function G({target:e,children:t}){let r=e;return"string"==typeof e&&(r=document.getElementById(e)),r?(0,i.createPortal)(t,r):null}G.propTypes={target:_().oneOfType([_().string,_().object]).isRequired,children:_().node.isRequired};const Z=({target:e,scoreIndicator:r})=>(0,t.createElement)(G,{target:e},(0,t.createElement)(H.SvgIcon,{...Y(r)}));Z.propTypes={target:_().string.isRequired,scoreIndicator:_().string.isRequired};const X=Z,Q=({handleRefreshClick:e,supportLink:r})=>(0,t.createElement)("div",{className:"yst-flex yst-gap-2"},(0,t.createElement)(z.Button,{onClick:e},(0,l.__)("Refresh this page","wordpress-seo")),(0,t.createElement)(z.Button,{variant:"secondary",as:"a",href:r,target:"_blank",rel:"noopener"},(0,l.__)("Contact support","wordpress-seo")));Q.propTypes={handleRefreshClick:_().func.isRequired,supportLink:_().string.isRequired};const J=({handleRefreshClick:e,supportLink:r})=>(0,t.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,t.createElement)(z.Button,{className:"yst-order-last",onClick:e},(0,l.__)("Refresh this page","wordpress-seo")),(0,t.createElement)(z.Button,{variant:"secondary",as:"a",href:r,target:"_blank",rel:"noopener"},(0,l.__)("Contact support","wordpress-seo")));J.propTypes={handleRefreshClick:_().func.isRequired,supportLink:_().string.isRequired};const ee=({error:e,children:r})=>(0,t.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,t.createElement)(z.Title,null,(0,l.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,t.createElement)("p",null,(0,l.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,t.createElement)(z.Alert,{variant:"error"},(null==e?void 0:e.message)||(0,l.__)("Undefined error message.","wordpress-seo")),(0,t.createElement)("p",null,(0,l.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),r);ee.propTypes={error:_().object.isRequired,children:_().node},ee.VerticalButtons=J,ee.HorizontalButtons=Q;const te=({error:e})=>{const r=(0,i.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),a=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,i.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,t.createElement)(z.Root,{context:{isRtl:a}},(0,t.createElement)(ee,{error:e},(0,t.createElement)(ee.HorizontalButtons,{supportLink:s,handleRefreshClick:r}),(0,t.createElement)(X,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,t.createElement)(X,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,t.createElement)(X,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})))};function re({theme:e}){return(0,t.createElement)(K,{theme:e,location:"metabox"},(0,t.createElement)(z.ErrorBoundary,{FallbackComponent:te},(0,t.createElement)(B.Slot,{name:"YoastMetabox"},(e=>W(e)))))}te.propTypes={error:_().object.isRequired};const se=window.wp.compose,ae=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),oe=(e=null)=>(0,t.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]);var ne=r(4530),ie=r.n(ne);const le=({className:e,...r})=>(0,t.createElement)("span",{className:ie()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",e),...r});le.displayName="MetaboxButton.Text",le.propTypes={className:_().string},le.defaultProps={className:""};const ce=({className:e,...r})=>(0,t.createElement)("button",{type:"button",className:ie()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...r});ce.propTypes={className:_().string},ce.defaultProps={className:""},ce.Text=le;const de=window.yoast.helpers,pe=N().div` +`,D=function(e){return(0,t.createElement)(N,{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"},(0,t.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),(0,t.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),(0,t.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),(0,t.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};D.propTypes={readabilityScoreColor:_().string,isContentAnalysisActive:_().bool,seoScoreColor:_().string,isKeywordAnalysisActive:_().bool,size:_().number,color:_().string},D.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};const $=D,B=window.wp.components;function W(e){return void 0===e.length?e:(0,m.flatten)(e).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority))}const U=({theme:e,location:r,children:s})=>(0,t.createElement)(p.LocationProvider,{value:r},(0,t.createElement)(O.ThemeProvider,{theme:e},s));U.propTypes={theme:_().object.isRequired,location:_().oneOf(["sidebar","metabox","modal"]).isRequired,children:_().element.isRequired};const K=U,z=window.yoast.uiLibrary;const H=window.yoast.componentsNew,V=window.yoast.styleGuide,j=window.yoast.analysis;function Y(e){switch(e){case"loading":return{icon:"loading-spinner",color:V.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:V.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:V.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:V.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:V.colors.$color_ok};default:return{icon:"seo-score-bad",color:V.colors.$color_red}}}function G({target:e,children:t}){let r=e;return"string"==typeof e&&(r=document.getElementById(e)),r?(0,i.createPortal)(t,r):null}G.propTypes={target:_().oneOfType([_().string,_().object]).isRequired,children:_().node.isRequired};const Z=({target:e,scoreIndicator:r})=>(0,t.createElement)(G,{target:e},(0,t.createElement)(H.SvgIcon,{...Y(r)}));Z.propTypes={target:_().string.isRequired,scoreIndicator:_().string.isRequired};const X=Z,Q=({handleRefreshClick:e,supportLink:r})=>(0,t.createElement)("div",{className:"yst-flex yst-gap-2"},(0,t.createElement)(z.Button,{onClick:e},(0,l.__)("Refresh this page","wordpress-seo")),(0,t.createElement)(z.Button,{variant:"secondary",as:"a",href:r,target:"_blank",rel:"noopener"},(0,l.__)("Contact support","wordpress-seo")));Q.propTypes={handleRefreshClick:_().func.isRequired,supportLink:_().string.isRequired};const J=({handleRefreshClick:e,supportLink:r})=>(0,t.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,t.createElement)(z.Button,{className:"yst-order-last",onClick:e},(0,l.__)("Refresh this page","wordpress-seo")),(0,t.createElement)(z.Button,{variant:"secondary",as:"a",href:r,target:"_blank",rel:"noopener"},(0,l.__)("Contact support","wordpress-seo")));J.propTypes={handleRefreshClick:_().func.isRequired,supportLink:_().string.isRequired};const ee=({error:e,children:r})=>(0,t.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,t.createElement)(z.Title,null,(0,l.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,t.createElement)("p",null,(0,l.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,t.createElement)(z.Alert,{variant:"error"},(null==e?void 0:e.message)||(0,l.__)("Undefined error message.","wordpress-seo")),(0,t.createElement)("p",null,(0,l.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),r);ee.propTypes={error:_().object.isRequired,children:_().node},ee.VerticalButtons=J,ee.HorizontalButtons=Q;const te=({error:e})=>{const r=(0,i.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),a=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,i.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,t.createElement)(z.Root,{context:{isRtl:a}},(0,t.createElement)(ee,{error:e},(0,t.createElement)(ee.HorizontalButtons,{supportLink:s,handleRefreshClick:r}),(0,t.createElement)(X,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,t.createElement)(X,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,t.createElement)(X,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})))};function re({theme:e}){return(0,t.createElement)(K,{theme:e,location:"metabox"},(0,t.createElement)(z.ErrorBoundary,{FallbackComponent:te},(0,t.createElement)(B.Slot,{name:"YoastMetabox"},(e=>W(e)))))}te.propTypes={error:_().object.isRequired};const se=window.wp.compose,ae=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),oe=(e=null)=>(0,t.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]);var ne=r(4530),ie=r.n(ne);const le=({className:e,...r})=>(0,t.createElement)("span",{className:ie()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",e),...r});le.displayName="MetaboxButton.Text",le.propTypes={className:_().string},le.defaultProps={className:""};const ce=({className:e,...r})=>(0,t.createElement)("button",{type:"button",className:ie()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...r});ce.propTypes={className:_().string},ce.defaultProps={className:""},ce.Text=le;const de=window.yoast.helpers,pe=q().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } -`,ue=N().div` +`,ue=q().div` @media screen and ( min-width: 600px ) { max-width: 420px; } -`,me=(N()(H.Icon)` +`,me=(q()(H.Icon)` float: ${(0,de.getDirectionalStyle)("right","left")}; margin: ${(0,de.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; @@ -37,37 +37,35 @@ height: 80px; } } -`,"yoast yoast-gutenberg-modal"),he=e=>{const{title:r,className:s,showYoastIcon:a,additionalClassName:o,...n}=e,i=a?(0,t.createElement)("span",{className:"yoast-icon"}):null;return(0,t.createElement)(B.Modal,{title:r,className:`${s} ${o}`,icon:i,...n},e.children)};he.propTypes={title:_().string,className:_().string,showYoastIcon:_().bool,children:_().oneOfType([_().node,_().arrayOf(_().node)]),additionalClassName:_().string},he.defaultProps={title:"Yoast SEO",className:me,showYoastIcon:!0,children:null,additionalClassName:""};const ge=he;var ye,fe;function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),ye||(ye=t.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),fe||(fe=t.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),Ee=e=>(0,t.createElement)("div",{className:"yoast components-panel__body"},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,t.createElement)(H.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,t.createElement)(H.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),ve=Ee;Ee.propTypes={onClick:_().func.isRequired,title:_().string.isRequired,id:_().string,subTitle:_().string,suffixIcon:_().object,SuffixHeroIcon:_().object,prefixIcon:_().object,children:_().node},Ee.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const ke=e=>{let t=!0;if("blur"===(null==e?void 0:e.type)){const{relatedTarget:r}=e;if(r){const e=["media-modal","wp-core-ui"];t=(0,m.intersection)(e,Array.from(r.classList)).length!==e.length}}return t},_e=({id:e,postTypeName:r,children:s,title:a,isOpen:o,close:n,open:c,shouldCloseOnClickOutside:d,showChangesWarning:u,SuffixHeroIcon:m})=>{const h=(0,i.useCallback)((e=>{ke(e)&&n()}),[n]);return(0,t.createElement)(i.Fragment,null,o&&(0,t.createElement)(p.LocationProvider,{value:"modal"},(0,t.createElement)(ge,{title:a,onRequestClose:h,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:d},(0,t.createElement)("div",{className:"yoast-content-container"},(0,t.createElement)("div",{className:"yoast-modal-content"},s)),(0,t.createElement)("div",{className:"yoast-notice-container"},(0,t.createElement)("hr",null),(0,t.createElement)("div",{className:"yoast-button-container"},u&&(0,t.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ -(0,l.sprintf)((0,l.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),r)),(0,t.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:h},/* Translators: %s translates to the Post Label in singular form */ -(0,l.sprintf)((0,l.__)("Return to your %s","wordpress-seo"),r)))))),(0,t.createElement)(ve,{id:e+"-open-button",title:a,SuffixHeroIcon:m,suffixIcon:m?null:{size:"20px",icon:"pencil-square"},onClick:c}))};_e.propTypes={id:_().string.isRequired,postTypeName:_().string.isRequired,children:_().oneOfType([_().node,_().arrayOf(_().node)]).isRequired,title:_().string.isRequired,isOpen:_().bool.isRequired,open:_().func.isRequired,close:_().func.isRequired,shouldCloseOnClickOutside:_().bool,showChangesWarning:_().bool,SuffixHeroIcon:_().object},_e.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const xe=_e,Te=window.moment;var Se=r.n(Te),Re=r(6746);const Ce=(0,de.makeOutboundLink)(),Ie=e=>{const r=(0,l.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ -(0,l.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return(0,t.createElement)(H.Alert,{type:"error"},(0,Re.Z)({mixedString:r,components:{updateWincherPlanLink:(0,t.createElement)(Ce,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,l.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,l.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};Ie.propTypes={limit:_().number},Ie.defaultProps={limit:10};const Ae=Ie,Pe=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function Le(e,t,r,s=200){try{const a=await e();return!!a&&(a.status===s?t(a):r(a))}catch(e){console.error(e.message)}}async function Fe(e){try{return await g()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function Me(e){return(0,m.isArray)(e)||(e=[e]),await Fe({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const Oe=N().p` +`,"yoast yoast-gutenberg-modal"),he=e=>{const{title:r,className:s,showYoastIcon:a,additionalClassName:o,...n}=e,i=a?(0,t.createElement)("span",{className:"yoast-icon"}):null;return(0,t.createElement)(B.Modal,{title:r,className:`${s} ${o}`,icon:i,...n},e.children)};he.propTypes={title:_().string,className:_().string,showYoastIcon:_().bool,children:_().oneOfType([_().node,_().arrayOf(_().node)]),additionalClassName:_().string},he.defaultProps={title:"Yoast SEO",className:me,showYoastIcon:!0,children:null,additionalClassName:""};const ge=he;var ye,fe;function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),ye||(ye=t.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),fe||(fe=t.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),Ee=e=>(0,t.createElement)("div",{className:"yoast components-panel__body"},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,t.createElement)(H.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,t.createElement)(H.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),ve=Ee;Ee.propTypes={onClick:_().func.isRequired,title:_().string.isRequired,id:_().string,subTitle:_().string,suffixIcon:_().object,SuffixHeroIcon:_().object,prefixIcon:_().object,children:_().node},Ee.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const ke=window.moment;var _e=r.n(ke),xe=r(6746);const Te=(0,de.makeOutboundLink)(),Se=e=>{const r=(0,l.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ +(0,l.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return(0,t.createElement)(H.Alert,{type:"error"},(0,xe.Z)({mixedString:r,components:{updateWincherPlanLink:(0,t.createElement)(Te,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,l.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,l.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};Se.propTypes={limit:_().number},Se.defaultProps={limit:10};const Re=Se,Ce=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function Ie(e,t,r,s=200){try{const a=await e();return!!a&&(a.status===s?t(a):r(a))}catch(e){console.error(e.message)}}async function Ae(e){try{return await g()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function Pe(e){return(0,m.isArray)(e)||(e=[e]),await Ae({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const Le=q().p` color: ${V.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; -`,Ne=N()(H.SvgIcon)` +`,Fe=q()(H.SvgIcon)` margin-right: 5px; vertical-align: middle; -`,qe=N().button` +`,Me=q().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; -`,De=N().p` +`,Oe=q().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; -`,$e=N().div` +`,qe=q().div` position: relative; background: ${e=>e.isTitleShortened?"#F5F7F7":"transparent"}; border: 1px solid #C7C7C7; border-left: 4px solid${V.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; -`,Be=e=>{const[t,r]=(0,i.useState)(null);return(0,i.useEffect)((()=>{e&&!t&&async function(){return await Fe({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>r(e)))}),[t]),t};Be.propTypes={limit:_().bool.isRequired};const We=({limit:e,usage:r,isTitleShortened:s,isFreeAccount:a})=>{const o=(0,l.sprintf)( +`,Ne=e=>{const[t,r]=(0,i.useState)(null);return(0,i.useEffect)((()=>{e&&!t&&async function(){return await Ae({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>r(e)))}),[t]),t};Ne.propTypes={limit:_().bool.isRequired};const De=({limit:e,usage:r,isTitleShortened:s,isFreeAccount:a})=>{const o=(0,l.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ @@ -79,44 +77,44 @@ /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,l.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),r,e),d=s?c:i;return(0,t.createElement)(Oe,null,s&&(0,t.createElement)(Ne,{icon:"exclamation-triangle",color:V.colors.$color_pink_dark,size:"14px"}),d)};We.propTypes={limit:_().number.isRequired,usage:_().number.isRequired,isTitleShortened:_().bool,isFreeAccount:_().bool};const Ue=(0,de.makeOutboundLink)(),Ke=({discount:e,months:r})=>{const s=(0,t.createElement)(Ue,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,l.sprintf)(/* Translators: %s : Expands to "Wincher". */ -(0,l.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!r)return(0,t.createElement)(De,null,s);const a=100*e,o=(0,l.sprintf)( +(0,l.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),r,e),d=s?c:i;return(0,t.createElement)(Le,null,s&&(0,t.createElement)(Fe,{icon:"exclamation-triangle",color:V.colors.$color_pink_dark,size:"14px"}),d)};De.propTypes={limit:_().number.isRequired,usage:_().number.isRequired,isTitleShortened:_().bool,isFreeAccount:_().bool};const $e=(0,de.makeOutboundLink)(),Be=({discount:e,months:r})=>{const s=(0,t.createElement)($e,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,l.sprintf)(/* Translators: %s : Expands to "Wincher". */ +(0,l.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!r)return(0,t.createElement)(Oe,null,s);const a=100*e,o=(0,l.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ -(0,l.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",a+"%",r);return(0,t.createElement)(De,null,(0,Re.Z)({mixedString:o,components:{wincherAccountUpgradeLink:s}}))};Ke.propTypes={discount:_().number,months:_().number};const ze=({onClose:e,isTitleShortened:r,trackingInfo:s})=>{const a=(()=>{const[e,t]=(0,i.useState)(null);return(0,i.useEffect)((()=>{e||async function(){return await Fe({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:o,usage:n}=s;if(!(o&&n/o>=.8))return null;const c=Boolean(null==a?void 0:a.discount);return(0,t.createElement)($e,{isTitleShortened:r},e&&(0,t.createElement)(qe,{type:"button","aria-label":(0,l.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,t.createElement)(H.SvgIcon,{icon:"times-circle",color:V.colors.$color_pink_dark,size:"14px"})),(0,t.createElement)(We,{...s,isTitleShortened:r,isFreeAccount:c}),(0,t.createElement)(Ke,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};ze.propTypes={onClose:_().func,isTitleShortened:_().bool,trackingInfo:_().object};const He=ze,Ve=()=>(0,t.createElement)(H.Alert,{type:"success"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,l.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),je=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,l.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),Ye=({data:e,mapChartDataToTableData:r,dataTableCaption:s,dataTableHeaderLabels:a,isDataTableVisuallyHidden:o})=>e.length!==a.length?(0,t.createElement)("p",null,(0,l.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,t.createElement)("div",{className:o?"screen-reader-text":null},(0,t.createElement)("table",null,(0,t.createElement)("caption",null,s),(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,a.map(((e,r)=>(0,t.createElement)("th",{key:r},e))))),(0,t.createElement)("tbody",null,(0,t.createElement)("tr",null,e.map(((e,s)=>(0,t.createElement)("td",{key:s},r(e.y))))))));Ye.propTypes={data:_().arrayOf(_().shape({x:_().number,y:_().number})).isRequired,mapChartDataToTableData:_().func,dataTableCaption:_().string.isRequired,dataTableHeaderLabels:_().array.isRequired,isDataTableVisuallyHidden:_().bool},Ye.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ge=Ye,Ze=({data:e,width:r,height:s,fillColor:a,strokeColor:o,strokeWidth:n,className:l,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:u})=>{const m=Math.max(1,Math.max(...e.map((e=>e.x)))),h=Math.max(1,Math.max(...e.map((e=>e.y)))),g=s-n,y=e.map((e=>`${e.x/m*r},${g-e.y/h*g+n}`)).join(" "),f=`0,${g+n} `+y+` ${r},${g+n}`;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("svg",{width:r,height:s,viewBox:`0 0 ${r} ${s}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},(0,t.createElement)("polygon",{fill:a,points:f}),(0,t.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:y})),c&&(0,t.createElement)(Ge,{data:e,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:u}))};Ze.propTypes={data:_().arrayOf(_().shape({x:_().number,y:_().number})).isRequired,width:_().number.isRequired,height:_().number.isRequired,fillColor:_().string,strokeColor:_().string,strokeWidth:_().number,className:_().string,mapChartDataToTableData:_().func,dataTableCaption:_().string.isRequired,dataTableHeaderLabels:_().array.isRequired,isDataTableVisuallyHidden:_().bool},Ze.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Xe=Ze,Qe=()=>(0,t.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,l.__)("Tracking the ranking position...","wordpress-seo")," ",(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"})),Je=N()(H.SvgIcon)` +(0,l.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",a+"%",r);return(0,t.createElement)(Oe,null,(0,xe.Z)({mixedString:o,components:{wincherAccountUpgradeLink:s}}))};Be.propTypes={discount:_().number,months:_().number};const We=({onClose:e,isTitleShortened:r,trackingInfo:s})=>{const a=(()=>{const[e,t]=(0,i.useState)(null);return(0,i.useEffect)((()=>{e||async function(){return await Ae({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:o,usage:n}=s;if(!(o&&n/o>=.8))return null;const c=Boolean(null==a?void 0:a.discount);return(0,t.createElement)(qe,{isTitleShortened:r},e&&(0,t.createElement)(Me,{type:"button","aria-label":(0,l.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,t.createElement)(H.SvgIcon,{icon:"times-circle",color:V.colors.$color_pink_dark,size:"14px"})),(0,t.createElement)(De,{...s,isTitleShortened:r,isFreeAccount:c}),(0,t.createElement)(Be,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};We.propTypes={onClose:_().func,isTitleShortened:_().bool,trackingInfo:_().object};const Ue=We,Ke=()=>(0,t.createElement)(H.Alert,{type:"success"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,l.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),ze=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,l.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),He=({data:e,mapChartDataToTableData:r,dataTableCaption:s,dataTableHeaderLabels:a,isDataTableVisuallyHidden:o})=>e.length!==a.length?(0,t.createElement)("p",null,(0,l.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,t.createElement)("div",{className:o?"screen-reader-text":null},(0,t.createElement)("table",null,(0,t.createElement)("caption",null,s),(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,a.map(((e,r)=>(0,t.createElement)("th",{key:r},e))))),(0,t.createElement)("tbody",null,(0,t.createElement)("tr",null,e.map(((e,s)=>(0,t.createElement)("td",{key:s},r(e.y))))))));He.propTypes={data:_().arrayOf(_().shape({x:_().number,y:_().number})).isRequired,mapChartDataToTableData:_().func,dataTableCaption:_().string.isRequired,dataTableHeaderLabels:_().array.isRequired,isDataTableVisuallyHidden:_().bool},He.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ve=He,je=({data:e,width:r,height:s,fillColor:a,strokeColor:o,strokeWidth:n,className:l,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:u})=>{const m=Math.max(1,Math.max(...e.map((e=>e.x)))),h=Math.max(1,Math.max(...e.map((e=>e.y)))),g=s-n,y=e.map((e=>`${e.x/m*r},${g-e.y/h*g+n}`)).join(" "),f=`0,${g+n} `+y+` ${r},${g+n}`;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("svg",{width:r,height:s,viewBox:`0 0 ${r} ${s}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},(0,t.createElement)("polygon",{fill:a,points:f}),(0,t.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:y})),c&&(0,t.createElement)(Ve,{data:e,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:p,isDataTableVisuallyHidden:u}))};je.propTypes={data:_().arrayOf(_().shape({x:_().number,y:_().number})).isRequired,width:_().number.isRequired,height:_().number.isRequired,fillColor:_().string,strokeColor:_().string,strokeWidth:_().number,className:_().string,mapChartDataToTableData:_().func,dataTableCaption:_().string.isRequired,dataTableHeaderLabels:_().array.isRequired,isDataTableVisuallyHidden:_().bool},je.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ye=je,Ge=()=>(0,t.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,l.__)("Tracking the ranking position...","wordpress-seo")," ",(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"})),Ze=q()(H.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; -`,et=N().span` +`,Xe=q().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; -`,tt=N().td` +`,Qe=q().td` padding-right: 0 !important; & > div { margin: 0px; } -`,rt=N().td` +`,Je=q().td` padding-left: 2px !important; -`,st=N().td.attrs({className:"yoast-table--nopadding"})` +`,et=q().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } -`,at=N().div` +`,tt=q().div` display: flex; align-items: center; & > a { box-sizing: border-box; } -`,ot=N().button` +`,rt=q().button` background: none; color: inherit; border: none; @@ -126,9 +124,9 @@ outline: inherit; display: flex; align-items: center; -`,nt=N().tr` +`,st=q().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; -`;function it(e){return Math.round(100*e)}function lt({chartData:e}){if((0,m.isEmpty)(e)||(0,m.isEmpty)(e.position))return"?";const r=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,l.sprintf)((0,l._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,t.createElement)(Xe,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:it,dataTableCaption:(0,l.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:r})}lt.propTypes={chartData:_().object},lt.defaultProps={chartData:{}};const ct=({rowData:e})=>{var r;if(null==e||null===(r=e.position)||void 0===r||!r.change)return(0,t.createElement)(lt,{chartData:e});const s=e.position.change<0;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(lt,{chartData:e}),(0,t.createElement)(et,{isImproving:s},Math.abs(e.position.change)),(0,t.createElement)(Je,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function dt(e){var r;const{keyphrase:s,rowData:a,onTrackKeyphrase:o,onUntrackKeyphrase:n,isFocusKeyphrase:c,isDisabled:d,isLoading:p,isSelected:u,onSelectKeyphrases:h}=e,g=!(0,m.isEmpty)(a),y=!(0,m.isEmpty)(null==a||null===(r=a.position)||void 0===r?void 0:r.history),f=(0,i.useCallback)((()=>{d||(g?n(s,a.id):o(s))}),[s,o,n,g,a,d]),w=(0,i.useCallback)((()=>{h((e=>u?e.filter((e=>e!==s)):e.concat(s)))}),[h,u,s]);return(0,t.createElement)(nt,{isEnabled:g},(0,t.createElement)(tt,null,y&&(0,t.createElement)(H.Checkbox,{id:"select-"+s,onChange:w,checked:u,label:""})),(0,t.createElement)(rt,null,s,c&&(0,t.createElement)("span",null,"*")),function(e){const{rowData:r,websiteId:s,keyphrase:a,onSelectKeyphrases:o}=e,n=(0,i.useCallback)((()=>{o([a])}),[o,a]),c=!(0,m.isEmpty)(r),d=r&&r.updated_at&&Se()(r.updated_at)>=Se()().subtract(7,"days"),p=r?(0,l.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,r.id):null;return c?d?(0,t.createElement)(i.Fragment,null,(0,t.createElement)("td",null,(0,t.createElement)(at,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(r),(0,t.createElement)(H.ButtonStyledLink,{variant:"secondary",href:p,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,l.__)("View","wordpress-seo")))),(0,t.createElement)("td",{className:"yoast-table--nopadding"},(0,t.createElement)(ot,{type:"button",onClick:n},(0,t.createElement)(ct,{rowData:r}))),(0,t.createElement)("td",null,(u=r.updated_at,Se()(u).fromNow()))):(0,t.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,t.createElement)(Qe,null)):(0,t.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,t.createElement)("i",null,(0,l.__)("Activate tracking to show the ranking position","wordpress-seo")));var u}(e),(0,t.createElement)(st,null,function({keyphrase:e,isEnabled:r,toggleAction:s,isLoading:a}){return a?(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"}):(0,t.createElement)(H.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:r,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:g,toggleAction:f,isLoading:p})))}ct.propTypes={rowData:_().object},dt.propTypes={rowData:_().object,keyphrase:_().string.isRequired,onTrackKeyphrase:_().func,onUntrackKeyphrase:_().func,isFocusKeyphrase:_().bool,isDisabled:_().bool,isLoading:_().bool,websiteId:_().string,isSelected:_().bool.isRequired,onSelectKeyphrases:_().func.isRequired},dt.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const pt=(0,de.makeOutboundLink)(),ut=N().span` +`;function at(e){return Math.round(100*e)}function ot({chartData:e}){if((0,m.isEmpty)(e)||(0,m.isEmpty)(e.position))return"?";const r=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,l.sprintf)((0,l._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,t.createElement)(Ye,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:at,dataTableCaption:(0,l.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:r})}ot.propTypes={chartData:_().object},ot.defaultProps={chartData:{}};const nt=({rowData:e})=>{var r;if(null==e||null===(r=e.position)||void 0===r||!r.change)return(0,t.createElement)(ot,{chartData:e});const s=e.position.change<0;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ot,{chartData:e}),(0,t.createElement)(Xe,{isImproving:s},Math.abs(e.position.change)),(0,t.createElement)(Ze,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function it(e){var r;const{keyphrase:s,rowData:a,onTrackKeyphrase:o,onUntrackKeyphrase:n,isFocusKeyphrase:c,isDisabled:d,isLoading:p,isSelected:u,onSelectKeyphrases:h}=e,g=!(0,m.isEmpty)(a),y=!(0,m.isEmpty)(null==a||null===(r=a.position)||void 0===r?void 0:r.history),f=(0,i.useCallback)((()=>{d||(g?n(s,a.id):o(s))}),[s,o,n,g,a,d]),w=(0,i.useCallback)((()=>{h((e=>u?e.filter((e=>e!==s)):e.concat(s)))}),[h,u,s]);return(0,t.createElement)(st,{isEnabled:g},(0,t.createElement)(Qe,null,y&&(0,t.createElement)(H.Checkbox,{id:"select-"+s,onChange:w,checked:u,label:""})),(0,t.createElement)(Je,null,s,c&&(0,t.createElement)("span",null,"*")),function(e){const{rowData:r,websiteId:s,keyphrase:a,onSelectKeyphrases:o}=e,n=(0,i.useCallback)((()=>{o([a])}),[o,a]),c=!(0,m.isEmpty)(r),d=r&&r.updated_at&&_e()(r.updated_at)>=_e()().subtract(7,"days"),p=r?(0,l.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,r.id):null;return c?d?(0,t.createElement)(i.Fragment,null,(0,t.createElement)("td",null,(0,t.createElement)(tt,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(r),(0,t.createElement)(H.ButtonStyledLink,{variant:"secondary",href:p,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,l.__)("View","wordpress-seo")))),(0,t.createElement)("td",{className:"yoast-table--nopadding"},(0,t.createElement)(rt,{type:"button",onClick:n},(0,t.createElement)(nt,{rowData:r}))),(0,t.createElement)("td",null,(u=r.updated_at,_e()(u).fromNow()))):(0,t.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,t.createElement)(Ge,null)):(0,t.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,t.createElement)("i",null,(0,l.__)("Activate tracking to show the ranking position","wordpress-seo")));var u}(e),(0,t.createElement)(et,null,function({keyphrase:e,isEnabled:r,toggleAction:s,isLoading:a}){return a?(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"}):(0,t.createElement)(H.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:r,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:g,toggleAction:f,isLoading:p})))}nt.propTypes={rowData:_().object},it.propTypes={rowData:_().object,keyphrase:_().string.isRequired,onTrackKeyphrase:_().func,onUntrackKeyphrase:_().func,isFocusKeyphrase:_().bool,isDisabled:_().bool,isLoading:_().bool,websiteId:_().string,isSelected:_().bool.isRequired,onSelectKeyphrases:_().func.isRequired},it.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const lt=(0,de.makeOutboundLink)(),ct=q().span` display: block; font-style: italic; @@ -137,47 +135,47 @@ position: absolute; ${(0,de.getDirectionalStyle)("right","left")}: 8px; } -`,mt=N().div` +`,dt=q().div` width: 100%; overflow-y: auto; -`,ht=N().th` +`,pt=q().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } -`,gt=N().th` +`,ut=q().th` padding-left: 2px !important; -`,yt=e=>{const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e})),t.current},ft=(0,m.debounce)((async function(e=null,t=null,r=null,s){return await Fe({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:r,startAt:t},signal:s})}),500,{leading:!0}),wt=e=>{const{addTrackedKeyphrase:r,isLoggedIn:s,keyphrases:a,permalink:o,removeTrackedKeyphrase:n,setKeyphraseLimitReached:c,setRequestFailed:d,setRequestSucceeded:p,setTrackedKeyphrases:u,setHasTrackedAll:h,trackAll:g,trackedKeyphrases:y,isNewlyAuthenticated:f,websiteId:w,focusKeyphrase:b,newRequest:E,startAt:v,selectedKeyphrases:k,onSelectKeyphrases:_}=e,x=(0,i.useRef)(),T=(0,i.useRef)(),S=(0,i.useRef)(!1),[R,C]=(0,i.useState)([]),I=(0,i.useCallback)((e=>{const t=e.toLowerCase();return y&&!(0,m.isEmpty)(y)&&y.hasOwnProperty(t)?y[t]:null}),[y]),A=(0,i.useMemo)((()=>async()=>{await Le((()=>(T.current&&T.current.abort(),T.current="undefined"==typeof AbortController?null:new AbortController,ft(a,v,o,T.current.signal))),(e=>{p(e),u(e.results)}),(e=>{d(e)}))}),[p,d,u,a,o,v]),P=(0,i.useCallback)((async e=>{const t=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));C((e=>[...e,...t])),await Le((()=>Me(t)),(e=>{p(e),r(e.results),A()}),(e=>{400===e.status&&e.limit&&c(e.limit),d(e)}),201),C((e=>(0,m.without)(e,...t)))}),[p,d,c,r,A]),L=(0,i.useCallback)((async(e,t)=>{e=e.toLowerCase(),C((t=>[...t,e])),await Le((()=>async function(e){return await Fe({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{p(t),n(e)}),(e=>{d(e)})),C((t=>(0,m.without)(t,e)))}),[p,n,d]),F=(0,i.useCallback)((async e=>{E(),await P(e)}),[E,P]),M=yt(o),O=yt(a),N=yt(v),q=o&&v;(0,i.useEffect)((()=>{s&&q&&(o!==M||(0,m.difference)(a,O).length||v!==N)&&A()}),[s,o,M,a,O,A,q,v,N]),(0,i.useEffect)((()=>{if(s&&g&&null!==y){const e=a.filter((e=>!I(e)));e.length&&P(e),h()}}),[s,g,y,P,h,I,a]),(0,i.useEffect)((()=>{f&&!S.current&&(A(),S.current=!0)}),[f,A]),(0,i.useEffect)((()=>{if(s&&!(0,m.isEmpty)(y))return(0,m.filter)(y,(e=>(0,m.isEmpty)(e.updated_at))).length>0&&(x.current=setInterval((()=>{A()}),1e4)),()=>{clearInterval(x.current)}}),[s,y,A]);const D=s&&null===y,$=(0,i.useMemo)((()=>(0,m.isEmpty)(y)?[]:Object.values(y).filter((e=>{var t;return!(0,m.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[y]),B=(0,i.useMemo)((()=>k.length>0&&$.length>0&&$.every((e=>k.includes(e)))),[k,$]),W=(0,i.useCallback)((()=>{_(B?[]:$)}),[_,B,$]),U=(0,i.useMemo)((()=>(0,m.orderBy)(a,[e=>Object.values(y||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,y]);return a&&!(0,m.isEmpty)(a)&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(mt,null,(0,t.createElement)("table",{className:"yoast yoast-table"},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)(ht,{isDisabled:0===$.length},(0,t.createElement)(H.Checkbox,{id:"select-all",onChange:W,checked:B,label:""})),(0,t.createElement)(gt,{scope:"col",abbr:(0,l.__)("Keyphrase","wordpress-seo")},(0,l.__)("Keyphrase","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Position","wordpress-seo")},(0,l.__)("Position","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Position over time","wordpress-seo")},(0,l.__)("Position over time","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Last updated","wordpress-seo")},(0,l.__)("Last updated","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Tracking","wordpress-seo")},(0,l.__)("Tracking","wordpress-seo")))),(0,t.createElement)("tbody",null,U.map(((e,r)=>(0,t.createElement)(dt,{key:`trackable-keyphrase-${r}`,keyphrase:e,onTrackKeyphrase:F,onUntrackKeyphrase:L,rowData:I(e),isFocusKeyphrase:e===b.trim().toLowerCase(),websiteId:w,isDisabled:!s,isLoading:D||R.indexOf(e.toLowerCase())>=0,isSelected:k.includes(e),onSelectKeyphrases:_})))))),(0,t.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,t.createElement)(pt,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,l.sprintf)(/* translators: %s expands to Wincher */ -(0,l.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,t.createElement)(ut,null,(0,l.__)("* focus keyphrase","wordpress-seo"))))};wt.propTypes={addTrackedKeyphrase:_().func.isRequired,isLoggedIn:_().bool,isNewlyAuthenticated:_().bool,keyphrases:_().array,newRequest:_().func.isRequired,removeTrackedKeyphrase:_().func.isRequired,setRequestFailed:_().func.isRequired,setKeyphraseLimitReached:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setTrackedKeyphrases:_().func.isRequired,setHasTrackedAll:_().func.isRequired,trackAll:_().bool,trackedKeyphrases:_().object,websiteId:_().string,permalink:_().string.isRequired,focusKeyphrase:_().string,startAt:_().string,selectedKeyphrases:_().arrayOf(_().string).isRequired,onSelectKeyphrases:_().func.isRequired},wt.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const bt=wt,Et=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:r,getWincherLoginStatus:s,getWincherPermalink:a,getFocusKeyphrase:o,isWincherNewlyAuthenticated:n,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:r(),isLoggedIn:s(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:n(),permalink:a()}})),(0,o.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:r,setWincherRequestFailed:s,setWincherSetKeyphraseLimitReached:a,setWincherTrackedKeyphrases:o,setWincherTrackingForKeyphrase:n,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{s(e)},setKeyphraseLimitReached:e=>{a(e)},addTrackedKeyphrase:e=>{n(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{o(e)},setHasTrackedAll:()=>{i(!1)}}}))])(bt),vt=(0,de.makeOutboundLink)(),kt=(0,de.makeOutboundLink)(),_t=()=>{const e=(0,l.sprintf)((0,l.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ -"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,t.createElement)("p",null,(0,Re.Z)({mixedString:e,components:{wincherLink:(0,t.createElement)(vt,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,t.createElement)(kt,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,l.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},xt=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),Tt=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,l.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class St{constructor(e,t={},r={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:r}=this.options,s=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,s.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:r,origin:s}=e;s===this.origin&&this.popup===r&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const Rt=e=>{const r=(0,l.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ -(0,l.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,t.createElement)(H.Alert,{type:"error",className:e.className},(0,Re.Z)({mixedString:r,components:{reconnectToWincher:(0,t.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},(0,l.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,l.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};Rt.propTypes={onReconnect:_().func.isRequired,className:_().string},Rt.defaultProps={className:""};const Ct=Rt,It=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),At=window.yoast["chart.js"],Pt="label";function Lt(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Ft(e,t){e.labels=t}function Mt(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Pt;const s=[];e.datasets=t.map((t=>{const a=e.datasets.find((e=>e[r]===t[r]));return a&&t.data&&!s.includes(a)?(s.push(a),Object.assign(a,t),a):{...t}}))}function Ot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pt;const r={labels:[],datasets:[]};return Ft(r,e.labels),Mt(r,e.datasets,t),r}function Nt(e,r){const{height:s=150,width:a=300,redraw:o=!1,datasetIdKey:n,type:i,data:l,options:c,plugins:d=[],fallbackContent:p,updateMode:u,...m}=e,h=(0,t.useRef)(null),g=(0,t.useRef)(),y=()=>{h.current&&(g.current=new At.Chart(h.current,{type:i,data:Ot(l,n),options:c&&{...c},plugins:d}),Lt(r,g.current))},f=()=>{Lt(r,null),g.current&&(g.current.destroy(),g.current=null)};return(0,t.useEffect)((()=>{!o&&g.current&&c&&function(e,t){const r=e.options;r&&t&&Object.assign(r,t)}(g.current,c)}),[o,c]),(0,t.useEffect)((()=>{!o&&g.current&&Ft(g.current.config.data,l.labels)}),[o,l.labels]),(0,t.useEffect)((()=>{!o&&g.current&&l.datasets&&Mt(g.current.config.data,l.datasets,n)}),[o,l.datasets]),(0,t.useEffect)((()=>{g.current&&(o?(f(),setTimeout(y)):g.current.update(u))}),[o,c,l.labels,l.datasets,u]),(0,t.useEffect)((()=>{g.current&&(f(),setTimeout(y))}),[i]),(0,t.useEffect)((()=>(y(),()=>f())),[]),t.createElement("canvas",Object.assign({ref:h,role:"img",height:s,width:a},m),p)}const qt=(0,t.forwardRef)(Nt);function Dt(e,r){return At.Chart.register(r),(0,t.forwardRef)(((r,s)=>t.createElement(qt,Object.assign({},r,{ref:s,type:e}))))}const $t=Dt("line",At.LineController),Bt={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};At._adapters._date.override("function"==typeof Se()?{_id:"moment",formats:function(){return Bt},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=Se()(e,t):e instanceof Se()||(e=Se()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return Se()(e).format(t)},add:function(e,t,r){return Se()(e).add(t,r).valueOf()},diff:function(e,t,r){return Se()(e).diff(Se()(t),r)},startOf:function(e,t,r){return e=Se()(e),"isoWeek"===t?(r=Math.trunc(Math.min(Math.max(0,r),6)),e.isoWeekday(r).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return Se()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Wt=["top","right","bottom","left"];function Ut(e,t,r){const s={};r=r?"-"+r:"";for(let a=0;a<4;a++){const o=Wt[a];s[o]=parseFloat(e[t+"-"+o+r])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),At.Chart.register(At.CategoryScale,At.LineController,At.LineElement,At.PointElement,At.LinearScale,At.TimeScale,At.Legend,At.Tooltip);const Kt=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function zt({datasets:e,isChartShown:r,keyphrases:s}){if(!r)return null;const a=(0,i.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,Kt[t%Kt.length]])))),[s]),o=e.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,t.createElement)($t,{height:100,data:{datasets:o},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:m.noop},tooltip:{enabled:!0,callbacks:{title:e=>Se()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}At.Interaction.modes.xPoint=(e,t,r,s)=>{const a=function(e,t){if("native"in e)return e;const{canvas:r,currentDevicePixelRatio:s}=t,a=(m=r).ownerDocument.defaultView.getComputedStyle(m,null),o="border-box"===a.boxSizing,n=Ut(a,"padding"),i=Ut(a,"border","width"),{x:l,y:c,box:d}=function(e,t){const r=e.touches,s=r&&r.length?r[0]:e,{offsetX:a,offsetY:o}=s;let n,i,l=!1;if(((e,t,r)=>(e>0||t>0)&&(!r||!r.shadowRoot))(a,o,e.target))n=a,i=o;else{const e=t.getBoundingClientRect();n=s.clientX-e.left,i=s.clientY-e.top,l=!0}return{x:n,y:i,box:l}}(e,r),p=n.left+(d&&i.left),u=n.top+(d&&i.top);var m;let{width:h,height:g}=t;return o&&(h-=n.width+i.width,g-=n.height+i.height),{x:Math.round((l-p)/h*r.width/s),y:Math.round((c-u)/g*r.height/s)}}(t,e);let o=[];if(At.Interaction.evaluateInteractionItems(e,"x",a,((e,t,r)=>{e.inXRange(a.x,s)&&o.push({element:e,datasetIndex:t,index:r})})),0===o.length)return o;const n=o.reduce(((e,t)=>Math.abs(a.x-e.element.x)e.element.x===n)),o.some((e=>Math.abs(e.element.y-a.y)<10))?o:[]},zt.propTypes={datasets:_().arrayOf(_().shape({label:_().string.isRequired,data:_().arrayOf(_().shape({datetime:_().string.isRequired,value:_().number.isRequired})).isRequired,selected:_().bool})).isRequired,isChartShown:_().bool.isRequired,keyphrases:_().array.isRequired};const Ht=({response:e,onLogin:r})=>[401,403,404].includes(e.status)?(0,t.createElement)(Ct,{onReconnect:r}):(0,t.createElement)(Pe,null);Ht.propTypes={response:_().object.isRequired,onLogin:_().func.isRequired};const Vt=({isSuccess:e,response:r,allKeyphrasesMissRanking:s,onLogin:a,keyphraseLimitReached:o,limit:n})=>o?(0,t.createElement)(Ae,{limit:n}):(0,m.isEmpty)(r)||e?s?(0,t.createElement)(je,null):null:(0,t.createElement)(Ht,{response:r,onLogin:a});Vt.propTypes={isSuccess:_().bool.isRequired,allKeyphrasesMissRanking:_().bool.isRequired,response:_().object,onLogin:_().func.isRequired,keyphraseLimitReached:_().bool.isRequired,limit:_().number.isRequired},Vt.defaultProps={response:{}};let jt=null;const Yt=async e=>{if(jt&&!jt.isClosed())return void jt.focus();const{url:t}=await async function(){return await Fe({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();jt=new St(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:r,setRequestSucceeded:s,setRequestFailed:a,keyphrases:o,addTrackedKeyphrase:n,setKeyphraseLimitReached:i}=e;await Le((()=>async function(e){const{code:t,websiteId:r}=e;return await Fe({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:r}})}(t)),(async e=>{r(!0,!0,t.websiteId.toString()),s(e);const l=(Array.isArray(o)?o:[o]).map((e=>e.toLowerCase()));await Le((()=>Me(l)),(e=>{s(e),n(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),a(e)}),201);const c=jt.getPopup();c&&c.close()}),(async e=>a(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),jt.createPopup()},Gt=e=>e.isLoggedIn?null:(0,t.createElement)("p",null,(0,t.createElement)(H.NewButton,{onClick:e.onLogin,variant:"primary"},(0,l.sprintf)(/* translators: %s expands to Wincher */ -(0,l.__)("Connect with %s","wordpress-seo"),"Wincher")));Gt.propTypes={isLoggedIn:_().bool.isRequired,onLogin:_().func.isRequired};const Zt=N().div` +`,mt=e=>{const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e})),t.current},ht=(0,m.debounce)((async function(e=null,t=null,r=null,s){return await Ae({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:r,startAt:t},signal:s})}),500,{leading:!0}),gt=e=>{const{addTrackedKeyphrase:r,isLoggedIn:s,keyphrases:a,permalink:o,removeTrackedKeyphrase:n,setKeyphraseLimitReached:c,setRequestFailed:d,setRequestSucceeded:p,setTrackedKeyphrases:u,setHasTrackedAll:h,trackAll:g,trackedKeyphrases:y,isNewlyAuthenticated:f,websiteId:w,focusKeyphrase:b,newRequest:E,startAt:v,selectedKeyphrases:k,onSelectKeyphrases:_}=e,x=(0,i.useRef)(),T=(0,i.useRef)(),S=(0,i.useRef)(!1),[R,C]=(0,i.useState)([]),I=(0,i.useCallback)((e=>{const t=e.toLowerCase();return y&&!(0,m.isEmpty)(y)&&y.hasOwnProperty(t)?y[t]:null}),[y]),A=(0,i.useMemo)((()=>async()=>{await Ie((()=>(T.current&&T.current.abort(),T.current="undefined"==typeof AbortController?null:new AbortController,ht(a,v,o,T.current.signal))),(e=>{p(e),u(e.results)}),(e=>{d(e)}))}),[p,d,u,a,o,v]),P=(0,i.useCallback)((async e=>{const t=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));C((e=>[...e,...t])),await Ie((()=>Pe(t)),(e=>{p(e),r(e.results),A()}),(e=>{400===e.status&&e.limit&&c(e.limit),d(e)}),201),C((e=>(0,m.without)(e,...t)))}),[p,d,c,r,A]),L=(0,i.useCallback)((async(e,t)=>{e=e.toLowerCase(),C((t=>[...t,e])),await Ie((()=>async function(e){return await Ae({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{p(t),n(e)}),(e=>{d(e)})),C((t=>(0,m.without)(t,e)))}),[p,n,d]),F=(0,i.useCallback)((async e=>{E(),await P(e)}),[E,P]),M=mt(o),O=mt(a),q=mt(v),N=o&&v;(0,i.useEffect)((()=>{s&&N&&(o!==M||(0,m.difference)(a,O).length||v!==q)&&A()}),[s,o,M,a,O,A,N,v,q]),(0,i.useEffect)((()=>{if(s&&g&&null!==y){const e=a.filter((e=>!I(e)));e.length&&P(e),h()}}),[s,g,y,P,h,I,a]),(0,i.useEffect)((()=>{f&&!S.current&&(A(),S.current=!0)}),[f,A]),(0,i.useEffect)((()=>{if(s&&!(0,m.isEmpty)(y))return(0,m.filter)(y,(e=>(0,m.isEmpty)(e.updated_at))).length>0&&(x.current=setInterval((()=>{A()}),1e4)),()=>{clearInterval(x.current)}}),[s,y,A]);const D=s&&null===y,$=(0,i.useMemo)((()=>(0,m.isEmpty)(y)?[]:Object.values(y).filter((e=>{var t;return!(0,m.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[y]),B=(0,i.useMemo)((()=>k.length>0&&$.length>0&&$.every((e=>k.includes(e)))),[k,$]),W=(0,i.useCallback)((()=>{_(B?[]:$)}),[_,B,$]),U=(0,i.useMemo)((()=>(0,m.orderBy)(a,[e=>Object.values(y||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,y]);return a&&!(0,m.isEmpty)(a)&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(dt,null,(0,t.createElement)("table",{className:"yoast yoast-table"},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)(pt,{isDisabled:0===$.length},(0,t.createElement)(H.Checkbox,{id:"select-all",onChange:W,checked:B,label:""})),(0,t.createElement)(ut,{scope:"col",abbr:(0,l.__)("Keyphrase","wordpress-seo")},(0,l.__)("Keyphrase","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Position","wordpress-seo")},(0,l.__)("Position","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Position over time","wordpress-seo")},(0,l.__)("Position over time","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Last updated","wordpress-seo")},(0,l.__)("Last updated","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Tracking","wordpress-seo")},(0,l.__)("Tracking","wordpress-seo")))),(0,t.createElement)("tbody",null,U.map(((e,r)=>(0,t.createElement)(it,{key:`trackable-keyphrase-${r}`,keyphrase:e,onTrackKeyphrase:F,onUntrackKeyphrase:L,rowData:I(e),isFocusKeyphrase:e===b.trim().toLowerCase(),websiteId:w,isDisabled:!s,isLoading:D||R.indexOf(e.toLowerCase())>=0,isSelected:k.includes(e),onSelectKeyphrases:_})))))),(0,t.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,t.createElement)(lt,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,l.sprintf)(/* translators: %s expands to Wincher */ +(0,l.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,t.createElement)(ct,null,(0,l.__)("* focus keyphrase","wordpress-seo"))))};gt.propTypes={addTrackedKeyphrase:_().func.isRequired,isLoggedIn:_().bool,isNewlyAuthenticated:_().bool,keyphrases:_().array,newRequest:_().func.isRequired,removeTrackedKeyphrase:_().func.isRequired,setRequestFailed:_().func.isRequired,setKeyphraseLimitReached:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setTrackedKeyphrases:_().func.isRequired,setHasTrackedAll:_().func.isRequired,trackAll:_().bool,trackedKeyphrases:_().object,websiteId:_().string,permalink:_().string.isRequired,focusKeyphrase:_().string,startAt:_().string,selectedKeyphrases:_().arrayOf(_().string).isRequired,onSelectKeyphrases:_().func.isRequired},gt.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const yt=gt,ft=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:r,getWincherLoginStatus:s,getWincherPermalink:a,getFocusKeyphrase:o,isWincherNewlyAuthenticated:n,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:r(),isLoggedIn:s(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:n(),permalink:a()}})),(0,o.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:r,setWincherRequestFailed:s,setWincherSetKeyphraseLimitReached:a,setWincherTrackedKeyphrases:o,setWincherTrackingForKeyphrase:n,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{s(e)},setKeyphraseLimitReached:e=>{a(e)},addTrackedKeyphrase:e=>{n(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{o(e)},setHasTrackedAll:()=>{i(!1)}}}))])(yt),wt=(0,de.makeOutboundLink)(),bt=(0,de.makeOutboundLink)(),Et=()=>{const e=(0,l.sprintf)((0,l.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ +"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,t.createElement)("p",null,(0,xe.Z)({mixedString:e,components:{wincherLink:(0,t.createElement)(wt,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,t.createElement)(bt,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,l.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},vt=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),kt=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,l.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class _t{constructor(e,t={},r={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:r}=this.options,s=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,s.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:r,origin:s}=e;s===this.origin&&this.popup===r&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const xt=e=>{const r=(0,l.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ +(0,l.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,t.createElement)(H.Alert,{type:"error",className:e.className},(0,xe.Z)({mixedString:r,components:{reconnectToWincher:(0,t.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},(0,l.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,l.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};xt.propTypes={onReconnect:_().func.isRequired,className:_().string},xt.defaultProps={className:""};const Tt=xt,St=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),Rt=window.yoast["chart.js"],Ct="label";function It(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function At(e,t){e.labels=t}function Pt(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct;const s=[];e.datasets=t.map((t=>{const a=e.datasets.find((e=>e[r]===t[r]));return a&&t.data&&!s.includes(a)?(s.push(a),Object.assign(a,t),a):{...t}}))}function Lt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ct;const r={labels:[],datasets:[]};return At(r,e.labels),Pt(r,e.datasets,t),r}function Ft(e,r){const{height:s=150,width:a=300,redraw:o=!1,datasetIdKey:n,type:i,data:l,options:c,plugins:d=[],fallbackContent:p,updateMode:u,...m}=e,h=(0,t.useRef)(null),g=(0,t.useRef)(),y=()=>{h.current&&(g.current=new Rt.Chart(h.current,{type:i,data:Lt(l,n),options:c&&{...c},plugins:d}),It(r,g.current))},f=()=>{It(r,null),g.current&&(g.current.destroy(),g.current=null)};return(0,t.useEffect)((()=>{!o&&g.current&&c&&function(e,t){const r=e.options;r&&t&&Object.assign(r,t)}(g.current,c)}),[o,c]),(0,t.useEffect)((()=>{!o&&g.current&&At(g.current.config.data,l.labels)}),[o,l.labels]),(0,t.useEffect)((()=>{!o&&g.current&&l.datasets&&Pt(g.current.config.data,l.datasets,n)}),[o,l.datasets]),(0,t.useEffect)((()=>{g.current&&(o?(f(),setTimeout(y)):g.current.update(u))}),[o,c,l.labels,l.datasets,u]),(0,t.useEffect)((()=>{g.current&&(f(),setTimeout(y))}),[i]),(0,t.useEffect)((()=>(y(),()=>f())),[]),t.createElement("canvas",Object.assign({ref:h,role:"img",height:s,width:a},m),p)}const Mt=(0,t.forwardRef)(Ft);function Ot(e,r){return Rt.Chart.register(r),(0,t.forwardRef)(((r,s)=>t.createElement(Mt,Object.assign({},r,{ref:s,type:e}))))}const qt=Ot("line",Rt.LineController),Nt={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Rt._adapters._date.override("function"==typeof _e()?{_id:"moment",formats:function(){return Nt},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=_e()(e,t):e instanceof _e()||(e=_e()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return _e()(e).format(t)},add:function(e,t,r){return _e()(e).add(t,r).valueOf()},diff:function(e,t,r){return _e()(e).diff(_e()(t),r)},startOf:function(e,t,r){return e=_e()(e),"isoWeek"===t?(r=Math.trunc(Math.min(Math.max(0,r),6)),e.isoWeekday(r).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return _e()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Dt=["top","right","bottom","left"];function $t(e,t,r){const s={};r=r?"-"+r:"";for(let a=0;a<4;a++){const o=Dt[a];s[o]=parseFloat(e[t+"-"+o+r])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),Rt.Chart.register(Rt.CategoryScale,Rt.LineController,Rt.LineElement,Rt.PointElement,Rt.LinearScale,Rt.TimeScale,Rt.Legend,Rt.Tooltip);const Bt=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Wt({datasets:e,isChartShown:r,keyphrases:s}){if(!r)return null;const a=(0,i.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,Bt[t%Bt.length]])))),[s]),o=e.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,t.createElement)(qt,{height:100,data:{datasets:o},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:m.noop},tooltip:{enabled:!0,callbacks:{title:e=>_e()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}Rt.Interaction.modes.xPoint=(e,t,r,s)=>{const a=function(e,t){if("native"in e)return e;const{canvas:r,currentDevicePixelRatio:s}=t,a=(m=r).ownerDocument.defaultView.getComputedStyle(m,null),o="border-box"===a.boxSizing,n=$t(a,"padding"),i=$t(a,"border","width"),{x:l,y:c,box:d}=function(e,t){const r=e.touches,s=r&&r.length?r[0]:e,{offsetX:a,offsetY:o}=s;let n,i,l=!1;if(((e,t,r)=>(e>0||t>0)&&(!r||!r.shadowRoot))(a,o,e.target))n=a,i=o;else{const e=t.getBoundingClientRect();n=s.clientX-e.left,i=s.clientY-e.top,l=!0}return{x:n,y:i,box:l}}(e,r),p=n.left+(d&&i.left),u=n.top+(d&&i.top);var m;let{width:h,height:g}=t;return o&&(h-=n.width+i.width,g-=n.height+i.height),{x:Math.round((l-p)/h*r.width/s),y:Math.round((c-u)/g*r.height/s)}}(t,e);let o=[];if(Rt.Interaction.evaluateInteractionItems(e,"x",a,((e,t,r)=>{e.inXRange(a.x,s)&&o.push({element:e,datasetIndex:t,index:r})})),0===o.length)return o;const n=o.reduce(((e,t)=>Math.abs(a.x-e.element.x)e.element.x===n)),o.some((e=>Math.abs(e.element.y-a.y)<10))?o:[]},Wt.propTypes={datasets:_().arrayOf(_().shape({label:_().string.isRequired,data:_().arrayOf(_().shape({datetime:_().string.isRequired,value:_().number.isRequired})).isRequired,selected:_().bool})).isRequired,isChartShown:_().bool.isRequired,keyphrases:_().array.isRequired};const Ut=({response:e,onLogin:r})=>[401,403,404].includes(e.status)?(0,t.createElement)(Tt,{onReconnect:r}):(0,t.createElement)(Ce,null);Ut.propTypes={response:_().object.isRequired,onLogin:_().func.isRequired};const Kt=({isSuccess:e,response:r,allKeyphrasesMissRanking:s,onLogin:a,keyphraseLimitReached:o,limit:n})=>o?(0,t.createElement)(Re,{limit:n}):(0,m.isEmpty)(r)||e?s?(0,t.createElement)(ze,null):null:(0,t.createElement)(Ut,{response:r,onLogin:a});Kt.propTypes={isSuccess:_().bool.isRequired,allKeyphrasesMissRanking:_().bool.isRequired,response:_().object,onLogin:_().func.isRequired,keyphraseLimitReached:_().bool.isRequired,limit:_().number.isRequired},Kt.defaultProps={response:{}};let zt=null;const Ht=async e=>{if(zt&&!zt.isClosed())return void zt.focus();const{url:t}=await async function(){return await Ae({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();zt=new _t(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:r,setRequestSucceeded:s,setRequestFailed:a,keyphrases:o,addTrackedKeyphrase:n,setKeyphraseLimitReached:i}=e;await Ie((()=>async function(e){const{code:t,websiteId:r}=e;return await Ae({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:r}})}(t)),(async e=>{r(!0,!0,t.websiteId.toString()),s(e);const l=(Array.isArray(o)?o:[o]).map((e=>e.toLowerCase()));await Ie((()=>Pe(l)),(e=>{s(e),n(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),a(e)}),201);const c=zt.getPopup();c&&c.close()}),(async e=>a(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),zt.createPopup()},Vt=e=>e.isLoggedIn?null:(0,t.createElement)("p",null,(0,t.createElement)(H.NewButton,{onClick:e.onLogin,variant:"primary"},(0,l.sprintf)(/* translators: %s expands to Wincher */ +(0,l.__)("Connect with %s","wordpress-seo"),"Wincher")));Vt.propTypes={isLoggedIn:_().bool.isRequired,onLogin:_().func.isRequired};const jt=q().div` p { margin: 1em 0; } -`,Xt=N().div` +`,Yt=q().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; -`,Qt=N().div` +`,Gt=q().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); -`,Jt=N().div.attrs({className:"yoast-field-group"})` +`,Zt=q().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; -`,er=N().div` +`,Xt=q().div` margin: 8px 0; -`,tr=Se().utc().startOf("day"),rr=[{name:(0,l.__)("Last day","wordpress-seo"),value:Se()(tr).subtract(1,"days").format(),defaultIndex:1},{name:(0,l.__)("Last week","wordpress-seo"),value:Se()(tr).subtract(1,"week").format(),defaultIndex:2},{name:(0,l.__)("Last month","wordpress-seo"),value:Se()(tr).subtract(1,"month").format(),defaultIndex:3},{name:(0,l.__)("Last year","wordpress-seo"),value:Se()(tr).subtract(1,"year").format(),defaultIndex:0}],sr=e=>{const{onSelect:r,selected:s,options:a,isLoggedIn:o}=e;return o?a.length<1?null:(0,t.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||a[0].value,onChange:r},a.map((e=>(0,t.createElement)("option",{key:e.name,value:e.value},e.name)))):null};sr.propTypes={onSelect:_().func.isRequired,selected:_().object,options:_().array.isRequired,isLoggedIn:_().bool.isRequired};const ar=e=>{const{trackedKeyphrases:r,isLoggedIn:s,keyphrases:a,shouldTrackAll:o,permalink:n,historyDaysLimit:c}=e;if(!n&&s)return(0,t.createElement)(It,null);if(0===a.length)return(0,t.createElement)(xt,null);const d=Se()(tr).subtract(c,"days"),p=rr.filter((e=>Se()(e.value).isSameOrAfter(d))),u=(0,m.orderBy)(p,(e=>e.defaultIndex),"desc")[0],[h,g]=(0,i.useState)(u),[y,f]=(0,i.useState)([]),w=y.length>0,b=(0,se.usePrevious)(r);(0,i.useEffect)((()=>{if(!(0,m.isEmpty)(r)&&(0,m.difference)(Object.keys(r),Object.keys(b||[])).length){const e=Object.values(r).map((e=>e.keyword));f(e)}}),[r,b]),(0,i.useEffect)((()=>{g(u)}),[null==u?void 0:u.name]);const E=(0,i.useCallback)((e=>{const t=rr.find((t=>t.value===e.target.value));t&&g(t)}),[g]),v=(0,i.useMemo)((()=>(0,m.isEmpty)(y)||(0,m.isEmpty)(r)?[]:Object.values(r).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:y.includes(e.keyword)&&!(0,m.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[y,r]);return(0,t.createElement)(Xt,{isDisabled:!s},(0,t.createElement)("p",null,(0,l.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&o&&(0,t.createElement)(Tt,null),(0,t.createElement)(Jt,null,(0,t.createElement)(sr,{selected:h,onSelect:E,options:p,isLoggedIn:s})),(0,t.createElement)(er,null,(0,t.createElement)(zt,{isChartShown:w,datasets:v,keyphrases:a})),(0,t.createElement)(Et,{startAt:null==h?void 0:h.value,selectedKeyphrases:y,onSelectKeyphrases:f,trackedKeyphrases:r}))};function or(e){const{isNewlyAuthenticated:r,isLoggedIn:s}=e,a=(0,i.useCallback)((()=>{Yt(e)}),[Yt,e]),o=Be(s);return(0,t.createElement)(Zt,null,r&&(0,t.createElement)(Ve,null),s&&(0,t.createElement)(He,{trackingInfo:o}),(0,t.createElement)(Qt,null,(0,l.__)("SEO performance","wordpress-seo"),(0,t.createElement)(H.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,t.createElement)(_t,null),(0,t.createElement)(Gt,{isLoggedIn:s,onLogin:a}),(0,t.createElement)(Vt,{...e,onLogin:a}),(0,t.createElement)(ar,{...e,historyDaysLimit:(null==o?void 0:o.historyDays)||31}))}ar.propTypes={trackedKeyphrases:_().object,keyphrases:_().array.isRequired,isLoggedIn:_().bool.isRequired,shouldTrackAll:_().bool.isRequired,permalink:_().string.isRequired,historyDaysLimit:_().number},or.propTypes={trackedKeyphrases:_().object,addTrackedKeyphrase:_().func.isRequired,isLoggedIn:_().bool,isNewlyAuthenticated:_().bool,keyphrases:_().array,response:_().object,shouldTrackAll:_().bool,permalink:_().string,historyDaysLimit:_().number},or.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const nr=(0,se.compose)([(0,o.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:r,getWincherLimit:s,getWincherHistoryDaysLimit:a,getWincherLoginStatus:o,getWincherRequestIsSuccess:n,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:p,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:o(),isNewlyAuthenticated:t(),isSuccess:n(),keyphraseLimitReached:r(),limit:s(),response:i(),shouldTrackAll:u(),permalink:p(),historyDaysLimit:a()}})),(0,o.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:r,setWincherRequestFailed:s,setWincherTrackingForKeyphrase:a,setWincherSetKeyphraseLimitReached:o,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{s(e)},addTrackedKeyphrase:e=>{a(e)},setKeyphraseLimitReached:e=>{o(e)},onAuthentication:(e,r,s)=>{t(s),n(e,r)}}}))])(or),ir=N()(ae)` +`,Qt=_e().utc().startOf("day"),Jt=[{name:(0,l.__)("Last day","wordpress-seo"),value:_e()(Qt).subtract(1,"days").format(),defaultIndex:1},{name:(0,l.__)("Last week","wordpress-seo"),value:_e()(Qt).subtract(1,"week").format(),defaultIndex:2},{name:(0,l.__)("Last month","wordpress-seo"),value:_e()(Qt).subtract(1,"month").format(),defaultIndex:3},{name:(0,l.__)("Last year","wordpress-seo"),value:_e()(Qt).subtract(1,"year").format(),defaultIndex:0}],er=e=>{const{onSelect:r,selected:s,options:a,isLoggedIn:o}=e;return o?a.length<1?null:(0,t.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||a[0].value,onChange:r},a.map((e=>(0,t.createElement)("option",{key:e.name,value:e.value},e.name)))):null};er.propTypes={onSelect:_().func.isRequired,selected:_().object,options:_().array.isRequired,isLoggedIn:_().bool.isRequired};const tr=e=>{const{trackedKeyphrases:r,isLoggedIn:s,keyphrases:a,shouldTrackAll:o,permalink:n,historyDaysLimit:c}=e;if(!n&&s)return(0,t.createElement)(St,null);if(0===a.length)return(0,t.createElement)(vt,null);const d=_e()(Qt).subtract(c,"days"),p=Jt.filter((e=>_e()(e.value).isSameOrAfter(d))),u=(0,m.orderBy)(p,(e=>e.defaultIndex),"desc")[0],[h,g]=(0,i.useState)(u),[y,f]=(0,i.useState)([]),w=y.length>0,b=(0,se.usePrevious)(r);(0,i.useEffect)((()=>{if(!(0,m.isEmpty)(r)&&(0,m.difference)(Object.keys(r),Object.keys(b||[])).length){const e=Object.values(r).map((e=>e.keyword));f(e)}}),[r,b]),(0,i.useEffect)((()=>{g(u)}),[null==u?void 0:u.name]);const E=(0,i.useCallback)((e=>{const t=Jt.find((t=>t.value===e.target.value));t&&g(t)}),[g]),v=(0,i.useMemo)((()=>(0,m.isEmpty)(y)||(0,m.isEmpty)(r)?[]:Object.values(r).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:y.includes(e.keyword)&&!(0,m.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[y,r]);return(0,t.createElement)(Yt,{isDisabled:!s},(0,t.createElement)("p",null,(0,l.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&o&&(0,t.createElement)(kt,null),(0,t.createElement)(Zt,null,(0,t.createElement)(er,{selected:h,onSelect:E,options:p,isLoggedIn:s})),(0,t.createElement)(Xt,null,(0,t.createElement)(Wt,{isChartShown:w,datasets:v,keyphrases:a})),(0,t.createElement)(ft,{startAt:null==h?void 0:h.value,selectedKeyphrases:y,onSelectKeyphrases:f,trackedKeyphrases:r}))};function rr(e){const{isNewlyAuthenticated:r,isLoggedIn:s}=e,a=(0,i.useCallback)((()=>{Ht(e)}),[Ht,e]),o=Ne(s);return(0,t.createElement)(jt,null,r&&(0,t.createElement)(Ke,null),s&&(0,t.createElement)(Ue,{trackingInfo:o}),(0,t.createElement)(Gt,null,(0,l.__)("SEO performance","wordpress-seo"),(0,t.createElement)(H.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,t.createElement)(Et,null),(0,t.createElement)(Vt,{isLoggedIn:s,onLogin:a}),(0,t.createElement)(Kt,{...e,onLogin:a}),(0,t.createElement)(tr,{...e,historyDaysLimit:(null==o?void 0:o.historyDays)||31}))}tr.propTypes={trackedKeyphrases:_().object,keyphrases:_().array.isRequired,isLoggedIn:_().bool.isRequired,shouldTrackAll:_().bool.isRequired,permalink:_().string.isRequired,historyDaysLimit:_().number},rr.propTypes={trackedKeyphrases:_().object,addTrackedKeyphrase:_().func.isRequired,isLoggedIn:_().bool,isNewlyAuthenticated:_().bool,keyphrases:_().array,response:_().object,shouldTrackAll:_().bool,permalink:_().string,historyDaysLimit:_().number},rr.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const sr=(0,se.compose)([(0,o.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:r,getWincherLimit:s,getWincherHistoryDaysLimit:a,getWincherLoginStatus:o,getWincherRequestIsSuccess:n,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:p,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:o(),isNewlyAuthenticated:t(),isSuccess:n(),keyphraseLimitReached:r(),limit:s(),response:i(),shouldTrackAll:u(),permalink:p(),historyDaysLimit:a()}})),(0,o.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:r,setWincherRequestFailed:s,setWincherTrackingForKeyphrase:a,setWincherSetKeyphraseLimitReached:o,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{s(e)},addTrackedKeyphrase:e=>{a(e)},setKeyphraseLimitReached:e=>{o(e)},onAuthentication:(e,r,s)=>{t(s),n(e,r)}}}))])(rr),ar=q()(ae)` width: 18px; height: 18px; margin: 3px; -`;function lr(e){const{keyphrases:t,onNoKeyphraseSet:r,onOpen:s,location:a}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void r()}s(a)}function cr(e,t){ke(t)&&e.onClose()}function dr(e){const{location:r,whichModalOpen:s,shouldCloseOnClickOutside:a}=e,o=(0,i.useCallback)((()=>{lr(e)}),[lr,e]),n=(0,i.useCallback)((t=>{cr(e,t)}),[cr,e]),c=(0,l.__)("Track SEO performance","wordpress-seo"),d=oe();return(0,t.createElement)(i.Fragment,null,s===r&&(0,t.createElement)(ge,{title:c,onRequestClose:n,icon:(0,t.createElement)(be,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,t.createElement)(pe,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,t.createElement)(nr,null))),"sidebar"===r&&(0,t.createElement)(ve,{id:`wincher-open-button-${r}`,title:c,SuffixHeroIcon:(0,t.createElement)(ir,{className:"yst-text-slate-500",...d}),onClick:o}),"metabox"===r&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:`wincher-open-button-${r}`,onClick:o},(0,t.createElement)(ce.Text,null,c),(0,t.createElement)(ae,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...d}))))}dr.propTypes={location:_().string,whichModalOpen:_().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:_().bool},dr.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const pr=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:r}=e("yoast-seo/editor");return{keyphrases:r(),whichModalOpen:t()}})),(0,o.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:r,setWincherNoKeyphrase:s}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{r()},onNoKeyphraseSet:()=>{s()}}}))])(dr),ur=window.yoast.externals.components;function mr(){return(0,se.createHigherOrderComponent)((function(e){return(0,se.pure)((function(t){const r=(0,i.useContext)(p.LocationContext);return(0,i.createElement)(e,{...t,location:r})}))}),"withLocation")}const hr=(0,se.compose)([(0,o.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,o.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),mr()])(ur.CollapsibleCornerstone),gr=window.yoast.searchMetadataPreviews,yr=N()(H.StyledSection)` +`;function or(e){const{keyphrases:t,onNoKeyphraseSet:r,onOpen:s,location:a}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void r()}s(a)}function nr(e){const{location:r,whichModalOpen:s,shouldCloseOnClickOutside:a}=e,o=(0,i.useCallback)((()=>{or(e)}),[or,e]),n=(0,l.__)("Track SEO performance","wordpress-seo"),c=oe();return(0,t.createElement)(i.Fragment,null,s===r&&(0,t.createElement)(ge,{title:n,onRequestClose:e.onClose,icon:(0,t.createElement)(be,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,t.createElement)(pe,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,t.createElement)(sr,null))),"sidebar"===r&&(0,t.createElement)(ve,{id:`wincher-open-button-${r}`,title:n,SuffixHeroIcon:(0,t.createElement)(ar,{className:"yst-text-slate-500",...c}),onClick:o}),"metabox"===r&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:`wincher-open-button-${r}`,onClick:o},(0,t.createElement)(ce.Text,null,n),(0,t.createElement)(ae,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...c}))))}nr.propTypes={location:_().string,whichModalOpen:_().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:_().bool,keyphrases:_().array.isRequired,onNoKeyphraseSet:_().func.isRequired,onOpen:_().func.isRequired,onClose:_().func.isRequired},nr.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const ir=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:r}=e("yoast-seo/editor");return{keyphrases:r(),whichModalOpen:t()}})),(0,o.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:r,setWincherNoKeyphrase:s}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{r()},onNoKeyphraseSet:()=>{s()}}}))])(nr),lr=window.yoast.externals.components;function cr(){return(0,se.createHigherOrderComponent)((function(e){return(0,se.pure)((function(t){const r=(0,i.useContext)(p.LocationContext);return(0,i.createElement)(e,{...t,location:r})}))}),"withLocation")}const dr=(0,se.compose)([(0,o.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,o.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),cr()])(lr.CollapsibleCornerstone),pr=window.yoast.searchMetadataPreviews,ur=q()(H.StyledSection)` &${H.StyledSectionBase} { padding: 0; @@ -186,8 +184,8 @@ margin-left: ${(0,de.getDirectionalStyle)("0","20px")}; } } -`,fr=({children:e,title:r,icon:s,hasPaperStyle:a,shoppingData:o})=>(0,t.createElement)(yr,{headingLevel:3,headingText:r,headingIcon:s,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},e);fr.propTypes={children:_().element,title:_().string,icon:_().string,hasPaperStyle:_().bool,shoppingData:_().object},fr.defaultProps={hasPaperStyle:!0,shoppingData:null};const wr=fr,br=window.wp.sanitize,Er="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function vr(e,t,r="",s=!1){const a="string"==typeof t?(0,de.decodeHTML)(t):t;return{type:Er,name:e,value:a,label:r,hidden:s}}function kr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _r(e,r,s=""){return(0,i.createInterpolateElement)(e,{a:(0,t.createElement)("a",{id:s,href:r,target:"_blank",rel:"noopener noreferrer"})})}const{stripHTMLTags:xr}=de.strings,Tr=["slug","content","contentImage","snippetPreviewImageURL"];function Sr(e,t="_"){return e.replace(/\s/g,t)}function Rr(e,t=156){return(e=(e=(0,br.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const Cr=(0,m.memoize)(((e,t)=>0===e?m.noop:(0,m.debounce)((r=>t(r,e)),500))),Ir=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Ar=({link:e,text:r})=>(0,t.createElement)(z.Root,null,(0,t.createElement)("p",null,r),(0,t.createElement)(z.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,t.createElement)(Ir,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,l.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,l.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));Ar.propTypes={link:_().string.isRequired,text:_().string.isRequired};const Pr=Ar,Lr=function(e,t){let r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),function(e){const t=(0,m.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,m.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,m.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],m.identity);return{url:e.url,title:xr(t(e.title)),description:xr(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?xr(t(e.filteredSEOTitle)):""}}(e);const r=t._applyModifications.bind(t);return{url:e.url,title:xr(r("data_page_title",e.title)),description:xr(r("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?xr(r("data_page_title",e.filteredSEOTitle)):""}}(e)},Fr=(0,se.compose)([(0,o.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:r,getFocusKeyphrase:s,getRecommendedReplaceVars:a,getReplaceVars:o,getShoppingData:n,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),y=o();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:r(),faviconSrc:i(),keyword:s(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:a(),replacementVariables:y,shoppingData:n(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,o.withDispatch)((function(e,t,{select:r}){const{updateData:s,switchMode:a,updateAnalysisData:o,findCustomFields:n}=e("yoast-seo/editor"),i=e("core/editor"),l=r("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":a(t);break;case"slug":s({slug:t}),i&&i.editPost({slug:t});break;default:s({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Cr(l,n)}}))])((e=>{const r=(0,m.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),s=(0,m.get)(window,"wpseoScriptData.woocommerceUpsell",""),a=(0,l.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,t.createElement)(p.LocationConsumer,null,(o=>(0,t.createElement)(wr,{icon:"eye",hasPaperStyle:e.hasPaperStyle},(0,t.createElement)(t.Fragment,null,s&&(0,t.createElement)(Pr,{link:r,text:a}),(0,t.createElement)(gr.SnippetEditor,{...e,descriptionPlaceholder:(0,l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Lr,showCloseButton:!1,idSuffix:o})))))})),Mr=(0,o.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(H.Warning),Or=window.yoast.featureFlag,Nr=N()(H.Collapsible)` +`,mr=({children:e,title:r,icon:s,hasPaperStyle:a,shoppingData:o})=>(0,t.createElement)(ur,{headingLevel:3,headingText:r,headingIcon:s,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},e);mr.propTypes={children:_().element,title:_().string,icon:_().string,hasPaperStyle:_().bool,shoppingData:_().object},mr.defaultProps={hasPaperStyle:!0,shoppingData:null};const hr=mr,gr=window.wp.sanitize,yr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function fr(e,t,r="",s=!1){const a="string"==typeof t?(0,de.decodeHTML)(t):t;return{type:yr,name:e,value:a,label:r,hidden:s}}function wr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function br(e,r,s=""){return(0,i.createInterpolateElement)(e,{a:(0,t.createElement)("a",{id:s,href:r,target:"_blank",rel:"noopener noreferrer"})})}const{stripHTMLTags:Er}=de.strings,vr=["slug","content","contentImage","snippetPreviewImageURL"];function kr(e,t="_"){return e.replace(/\s/g,t)}function _r(e,t=156){return(e=(e=(0,gr.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const xr=(0,m.memoize)(((e,t)=>0===e?m.noop:(0,m.debounce)((r=>t(r,e)),500))),Tr=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Sr=({link:e,text:r})=>(0,t.createElement)(z.Root,null,(0,t.createElement)("p",null,r),(0,t.createElement)(z.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,t.createElement)(Tr,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,l.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,l.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));Sr.propTypes={link:_().string.isRequired,text:_().string.isRequired};const Rr=Sr,Cr=function(e,t){let r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),function(e){const t=(0,m.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,m.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,m.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],m.identity);return{url:e.url,title:Er(t(e.title)),description:Er(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?Er(t(e.filteredSEOTitle)):""}}(e);const r=t._applyModifications.bind(t);return{url:e.url,title:Er(r("data_page_title",e.title)),description:Er(r("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Er(r("data_page_title",e.filteredSEOTitle)):""}}(e)},Ir=(0,se.compose)([(0,o.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:r,getFocusKeyphrase:s,getRecommendedReplaceVars:a,getReplaceVars:o,getShoppingData:n,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),y=o();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:r(),faviconSrc:i(),keyword:s(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:a(),replacementVariables:y,shoppingData:n(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,o.withDispatch)((function(e,t,{select:r}){const{updateData:s,switchMode:a,updateAnalysisData:o,findCustomFields:n}=e("yoast-seo/editor"),i=e("core/editor"),l=r("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":a(t);break;case"slug":s({slug:t}),i&&i.editPost({slug:t});break;default:s({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:xr(l,n)}}))])((e=>{const r=(0,m.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),s=(0,m.get)(window,"wpseoScriptData.woocommerceUpsell",""),a=(0,l.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,t.createElement)(p.LocationConsumer,null,(o=>(0,t.createElement)(hr,{icon:"eye",hasPaperStyle:e.hasPaperStyle},(0,t.createElement)(t.Fragment,null,s&&(0,t.createElement)(Rr,{link:r,text:a}),(0,t.createElement)(pr.SnippetEditor,{...e,descriptionPlaceholder:(0,l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Cr,showCloseButton:!1,idSuffix:o})))))})),Ar=(0,o.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(H.Warning),Pr=window.yoast.featureFlag,Lr=q()(H.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; @@ -203,37 +201,37 @@ border-top: 1px solid rgba(0,0,0,0.2); } -`,qr=e=>(0,t.createElement)(Nr,{hasPadding:!0,hasSeparator:!0,...e}),Dr=()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,t.createElement)(H.InsightsCard,{amount:e,unit:(0,l._n)("minute","minutes",e,"wordpress-seo"),title:(0,l.__)("Reading time","wordpress-seo"),linkTo:r -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about reading time","wordpress-seo")})},$r=(0,de.makeOutboundLink)();function Br(e,r,s){const a=function(e){switch(e){case j.DIFFICULTY.FAIRLY_DIFFICULT:case j.DIFFICULTY.DIFFICULT:case j.DIFFICULTY.VERY_DIFFICULT:return(0,l.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case j.DIFFICULTY.NO_DATA:return(0,l.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,l.__)("Good job!","wordpress-seo")}}(r);return(0,t.createElement)("span",null,function(e,t){return-1===e?(0,l.sprintf)((0,l.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,l.sprintf)( +`,Fr=e=>(0,t.createElement)(Lr,{hasPadding:!0,hasSeparator:!0,...e}),Mr=()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,t.createElement)(H.InsightsCard,{amount:e,unit:(0,l._n)("minute","minutes",e,"wordpress-seo"),title:(0,l.__)("Reading time","wordpress-seo"),linkTo:r +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about reading time","wordpress-seo")})},Or=(0,de.makeOutboundLink)();function qr(e,r,s){const a=function(e){switch(e){case j.DIFFICULTY.FAIRLY_DIFFICULT:case j.DIFFICULTY.DIFFICULT:case j.DIFFICULTY.VERY_DIFFICULT:return(0,l.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case j.DIFFICULTY.NO_DATA:return(0,l.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,l.__)("Good job!","wordpress-seo")}}(r);return(0,t.createElement)("span",null,function(e,t){return-1===e?(0,l.sprintf)((0,l.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,l.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult'). */ -(0,l.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case j.DIFFICULTY.NO_DATA:return(0,l.__)("no data","wordpress-seo");case j.DIFFICULTY.VERY_EASY:return(0,l.__)("very easy","wordpress-seo");case j.DIFFICULTY.EASY:return(0,l.__)("easy","wordpress-seo");case j.DIFFICULTY.FAIRLY_EASY:return(0,l.__)("fairly easy","wordpress-seo");case j.DIFFICULTY.OKAY:return(0,l.__)("okay","wordpress-seo");case j.DIFFICULTY.FAIRLY_DIFFICULT:return(0,l.__)("fairly difficult","wordpress-seo");case j.DIFFICULTY.DIFFICULT:return(0,l.__)("difficult","wordpress-seo");case j.DIFFICULTY.VERY_DIFFICULT:return(0,l.__)("very difficult","wordpress-seo")}}(t))}(e,r)," ",r>=j.DIFFICULTY.FAIRLY_DIFFICULT?(0,t.createElement)($r,{href:s},a+"."):a)}const Wr=()=>{let e=(0,o.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),a=(0,i.useMemo)((()=>{const t=(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return Br(e,s,t)}),[e,s]);return-1===e&&(e="?"),(0,t.createElement)(H.InsightsCard,{amount:e,unit:(0,l.__)("out of 100","wordpress-seo"),title:(0,l.__)("Flesch reading ease","wordpress-seo"),linkTo:r -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let Ur,Kr,zr,Hr;const Vr=/<(\/)?(\w+)\s*(\/)?>/g;function jr(e,t,r,s,a){return{element:e,tokenStart:t,tokenLength:r,prevOffset:s,leadingTextStart:a,children:[]}}function Yr(){const e=Ur.length-Kr;0!==e&&zr.push(Ur.substring(Kr,Kr+e))}function Gr(e){const{element:t,tokenStart:r,tokenLength:s,prevOffset:a,children:o}=e,n=Hr[Hr.length-1],l=Ur.substring(n.prevOffset,r);l&&n.children.push(l),n.children.push((0,i.cloneElement)(t,null,...o)),n.prevOffset=a||r+s}function Zr(e){const t=function(){const e=Vr.exec(Ur);if(null===e)return["no-more-tokens"];const t=e.index,[r,s,a,o]=e,n=r.length;return o?["self-closed",a,t,n]:s?["closer",a,t,n]:["opener",a,t,n]}(),[r,s,a,o]=t,n=Hr.length,l=a>Kr?Kr:null;if(!e[s])return Yr(),!1;switch(r){case"no-more-tokens":if(0!==n){const{leadingTextStart:e,tokenStart:t}=Hr.pop();zr.push(Ur.substring(e,e+t))}return Yr(),!1;case"self-closed":return 0===n?(null!==l&&zr.push(Ur.substring(l,a)),zr.push(e[s]),Kr=a+o,!0):(Gr(jr(e[s],a,o)),Kr=a+o,!0);case"opener":return Hr.push(jr(e[s],a,o,a+o,l)),Kr=a+o,!0;case"closer":if(1===n)return function(e){const{element:t,leadingTextStart:r,prevOffset:s,tokenStart:a,children:o}=Hr.pop(),n=e?Ur.substring(s,e):Ur.substring(s);n&&o.push(n),null!==r&&zr.push(Ur.substring(r,a)),zr.push((0,i.cloneElement)(t,null,...o))}(a),Kr=a+o,!0;const t=Hr.pop(),r=Ur.substring(t.prevOffset,a);t.children.push(r),t.prevOffset=a+o;const c=jr(t.element,t.tokenStart,t.tokenLength,a+o);return c.children=t.children,Gr(c),Kr=a+o,!0;default:return Yr(),!1}}const Xr=(e,t)=>{if(Ur=e,Kr=0,zr=[],Hr=[],Vr.lastIndex=0,!(e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,i.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(Zr(t));return(0,i.createElement)(i.Fragment,null,...zr)},Qr=({data:e,itemScreenReaderText:r,className:s,...a})=>{const o=(0,i.useMemo)((()=>{var t,r;return null!==(t=null===(r=(0,m.maxBy)(e,"number"))||void 0===r?void 0:r.number)&&void 0!==t?t:0}),[e]);return(0,t.createElement)("ul",{className:ie()("yoast-data-model",s),...a},e.map((({name:e,number:s})=>(0,t.createElement)("li",{key:`${e}_dataItem`,style:{"--yoast-width":s/o*100+"%"}},e,(0,t.createElement)("span",null,s),r&&(0,t.createElement)("span",{className:"screen-reader-text"},(0,l.sprintf)(r,s))))))};Qr.propTypes={data:_().arrayOf(_().shape({name:_().string.isRequired,number:_().number.isRequired})),itemScreenReaderText:_().string,className:_().string},Qr.defaultProps={data:[],itemScreenReaderText:"",className:""};const Jr=Qr,es=window.wp.url,ts=(0,de.makeOutboundLink)(),rs=({location:e})=>{const r=(0,o.useSelect)((e=>{var t,r;return null===(t=null===(r=e("yoast-seo-premium/editor"))||void 0===r?void 0:r.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,i.useMemo)((()=>(0,m.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),n=(0,i.useMemo)((()=>{const e=(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Xr((0,l.sprintf)( +(0,l.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case j.DIFFICULTY.NO_DATA:return(0,l.__)("no data","wordpress-seo");case j.DIFFICULTY.VERY_EASY:return(0,l.__)("very easy","wordpress-seo");case j.DIFFICULTY.EASY:return(0,l.__)("easy","wordpress-seo");case j.DIFFICULTY.FAIRLY_EASY:return(0,l.__)("fairly easy","wordpress-seo");case j.DIFFICULTY.OKAY:return(0,l.__)("okay","wordpress-seo");case j.DIFFICULTY.FAIRLY_DIFFICULT:return(0,l.__)("fairly difficult","wordpress-seo");case j.DIFFICULTY.DIFFICULT:return(0,l.__)("difficult","wordpress-seo");case j.DIFFICULTY.VERY_DIFFICULT:return(0,l.__)("very difficult","wordpress-seo")}}(t))}(e,r)," ",r>=j.DIFFICULTY.FAIRLY_DIFFICULT?(0,t.createElement)(Or,{href:s},a+"."):a)}const Nr=()=>{let e=(0,o.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),a=(0,i.useMemo)((()=>{const t=(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return qr(e,s,t)}),[e,s]);return-1===e&&(e="?"),(0,t.createElement)(H.InsightsCard,{amount:e,unit:(0,l.__)("out of 100","wordpress-seo"),title:(0,l.__)("Flesch reading ease","wordpress-seo"),linkTo:r +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let Dr,$r,Br,Wr;const Ur=/<(\/)?(\w+)\s*(\/)?>/g;function Kr(e,t,r,s,a){return{element:e,tokenStart:t,tokenLength:r,prevOffset:s,leadingTextStart:a,children:[]}}function zr(){const e=Dr.length-$r;0!==e&&Br.push(Dr.substring($r,$r+e))}function Hr(e){const{element:t,tokenStart:r,tokenLength:s,prevOffset:a,children:o}=e,n=Wr[Wr.length-1],l=Dr.substring(n.prevOffset,r);l&&n.children.push(l),n.children.push((0,i.cloneElement)(t,null,...o)),n.prevOffset=a||r+s}function Vr(e){const t=function(){const e=Ur.exec(Dr);if(null===e)return["no-more-tokens"];const t=e.index,[r,s,a,o]=e,n=r.length;return o?["self-closed",a,t,n]:s?["closer",a,t,n]:["opener",a,t,n]}(),[r,s,a,o]=t,n=Wr.length,l=a>$r?$r:null;if(!e[s])return zr(),!1;switch(r){case"no-more-tokens":if(0!==n){const{leadingTextStart:e,tokenStart:t}=Wr.pop();Br.push(Dr.substring(e,e+t))}return zr(),!1;case"self-closed":return 0===n?(null!==l&&Br.push(Dr.substring(l,a)),Br.push(e[s]),$r=a+o,!0):(Hr(Kr(e[s],a,o)),$r=a+o,!0);case"opener":return Wr.push(Kr(e[s],a,o,a+o,l)),$r=a+o,!0;case"closer":if(1===n)return function(e){const{element:t,leadingTextStart:r,prevOffset:s,tokenStart:a,children:o}=Wr.pop(),n=e?Dr.substring(s,e):Dr.substring(s);n&&o.push(n),null!==r&&Br.push(Dr.substring(r,a)),Br.push((0,i.cloneElement)(t,null,...o))}(a),$r=a+o,!0;const t=Wr.pop(),r=Dr.substring(t.prevOffset,a);t.children.push(r),t.prevOffset=a+o;const c=Kr(t.element,t.tokenStart,t.tokenLength,a+o);return c.children=t.children,Hr(c),$r=a+o,!0;default:return zr(),!1}}const jr=(e,t)=>{if(Dr=e,$r=0,Br=[],Wr=[],Ur.lastIndex=0,!(e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,i.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(Vr(t));return(0,i.createElement)(i.Fragment,null,...Br)},Yr=({data:e,itemScreenReaderText:r,className:s,...a})=>{const o=(0,i.useMemo)((()=>{var t,r;return null!==(t=null===(r=(0,m.maxBy)(e,"number"))||void 0===r?void 0:r.number)&&void 0!==t?t:0}),[e]);return(0,t.createElement)("ul",{className:ie()("yoast-data-model",s),...a},e.map((({name:e,number:s})=>(0,t.createElement)("li",{key:`${e}_dataItem`,style:{"--yoast-width":s/o*100+"%"}},e,(0,t.createElement)("span",null,s),r&&(0,t.createElement)("span",{className:"screen-reader-text"},(0,l.sprintf)(r,s))))))};Yr.propTypes={data:_().arrayOf(_().shape({name:_().string.isRequired,number:_().number.isRequired})),itemScreenReaderText:_().string,className:_().string},Yr.defaultProps={data:[],itemScreenReaderText:"",className:""};const Gr=Yr,Zr=window.wp.url,Xr=(0,de.makeOutboundLink)(),Qr=({location:e})=>{const r=(0,o.useSelect)((e=>{var t,r;return null===(t=null===(r=e("yoast-seo-premium/editor"))||void 0===r?void 0:r.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,i.useMemo)((()=>(0,m.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),n=(0,i.useMemo)((()=>{const e=(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return jr((0,l.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,l.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,t.createElement)(ts,{href:e})})}),[]),c=(0,i.useMemo)((()=>Xr((0,l.sprintf)( +(0,l.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,t.createElement)(Xr,{href:e})})}),[]),c=(0,i.useMemo)((()=>jr((0,l.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,l.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,t.createElement)("b",null)})),[]),d=(0,o.useSelect)((e=>{var t,r;return null!==(t=null===(r=e("yoast-seo-premium/editor"))||void 0===r?void 0:r.getProminentWords())&&void 0!==t?t:[]}),[]),u=(0,i.useMemo)((()=>{const e=(0,l.sprintf)( // translators: %1$s expands to Yoast SEO Premium. -(0,l.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,r)=>({name:t,number:e.length-r})))}),[]),h=(0,i.useMemo)((()=>s?u:d.map((({word:e,occurrence:t})=>({name:e,number:t})))),[d,u]);if(!r)return null;const{locationContext:g}=(0,p.useRootContext)();return(0,t.createElement)("div",{className:"yoast-prominent-words"},(0,t.createElement)("div",{className:"yoast-field-group__title"},(0,t.createElement)("b",null,(0,l.__)("Prominent words","wordpress-seo"))),!s&&(0,t.createElement)("p",null,0===h.length?(0,l.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,l.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),s&&(0,t.createElement)("p",null,c),s&&(0,t.createElement)(ts,{href:(0,es.addQueryArgs)(a,{context:g}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,l.sprintf)( +(0,l.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,r)=>({name:t,number:e.length-r})))}),[]),h=(0,i.useMemo)((()=>s?u:d.map((({word:e,occurrence:t})=>({name:e,number:t})))),[d,u]);if(!r)return null;const{locationContext:g}=(0,p.useRootContext)();return(0,t.createElement)("div",{className:"yoast-prominent-words"},(0,t.createElement)("div",{className:"yoast-field-group__title"},(0,t.createElement)("b",null,(0,l.__)("Prominent words","wordpress-seo"))),!s&&(0,t.createElement)("p",null,0===h.length?(0,l.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,l.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),s&&(0,t.createElement)("p",null,c),s&&(0,t.createElement)(Xr,{href:(0,Zr.addQueryArgs)(a,{context:g}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,l.sprintf)( // translators: %s expands to `Premium` (part of add-on name). -(0,l.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("p",null,n),(0,t.createElement)(Jr,{data:h,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ -(0,l.__)("%d occurrences","wordpress-seo"),"aria-label":(0,l.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null}))};rs.propTypes={location:_().string.isRequired};const ss=rs,as=()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let s=(0,l._n)("word","words",e.count,"wordpress-seo"),a=(0,l.__)("Word count","wordpress-seo"),n=(0,l.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(s=(0,l._n)("character","characters",e.count,"wordpress-seo"),a=(0,l.__)("Character count","wordpress-seo"), +(0,l.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("p",null,n),(0,t.createElement)(Gr,{data:h,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ +(0,l.__)("%d occurrences","wordpress-seo"),"aria-label":(0,l.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null}))};Qr.propTypes={location:_().string.isRequired};const Jr=Qr,es=()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),r=(0,i.useMemo)((()=>(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let s=(0,l._n)("word","words",e.count,"wordpress-seo"),a=(0,l.__)("Word count","wordpress-seo"),n=(0,l.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(s=(0,l._n)("character","characters",e.count,"wordpress-seo"),a=(0,l.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ -n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createElement)(H.InsightsCard,{amount:e.count,unit:s,title:a,linkTo:r,linkText:n})},os=(0,de.makeOutboundLink)(),ns=({location:e})=>{const r=(0,i.useMemo)((()=>(0,m.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,i.useMemo)((()=>Xr((0,l.sprintf)( +n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createElement)(H.InsightsCard,{amount:e.count,unit:s,title:a,linkTo:r,linkText:n})},ts=(0,de.makeOutboundLink)(),rs=({location:e})=>{const r=(0,i.useMemo)((()=>(0,m.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,i.useMemo)((()=>jr((0,l.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. -(0,l.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,t.createElement)("b",null)})),[]);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("div",null,(0,t.createElement)("p",null,s),(0,t.createElement)(os,{href:r,className:"yoast-button yoast-button-upsell"},(0,l.sprintf)( +(0,l.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,t.createElement)("b",null)})),[]);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("div",null,(0,t.createElement)("p",null,s),(0,t.createElement)(ts,{href:r,className:"yoast-button yoast-button-upsell"},(0,l.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). -(0,l.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};ns.propTypes={location:_().string.isRequired};const is=ns,ls=({location:e,name:r})=>{const s=(0,o.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=M().isPremium,n=a?(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),i=(0,l.__)("Read more about text formality.","wordpress-seo");return s?(0,t.createElement)("div",{className:"yoast-text-formality"},(0,t.createElement)("div",{className:"yoast-field-group__title"},(0,t.createElement)("b",null,(0,l.__)("Text formality","wordpress-seo")),(0,t.createElement)(H.HelpIcon,{linkTo:n,linkText:i})),a?(0,t.createElement)(B.Slot,{name:r}):(0,t.createElement)(is,{location:e})):null};ls.propTypes={location:_().string.isRequired,name:_().string.isRequired};const cs=ls,ds=({location:e})=>{const r=(0,o.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,t.createElement)(qr,{title:(0,l.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${e}`,className:"yoast-insights"},(0,t.createElement)(ss,{location:e}),(0,t.createElement)("div",null,r&&(0,t.createElement)("div",{className:"yoast-insights-row"},(0,t.createElement)(Wr,null)),(0,t.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,t.createElement)(Dr,null),(0,t.createElement)(as,null)),(0,Or.isFeatureEnabled)("TEXT_FORMALITY")&&(0,t.createElement)(cs,{location:e,name:"YoastTextFormalityMetabox"})))};ds.propTypes={location:_().string},ds.defaultProps={location:"metabox"};const ps=ds,us=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),ms=()=>[(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,l.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};rs.propTypes={location:_().string.isRequired};const ss=rs,as=({location:e,name:r})=>{const s=(0,o.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=M().isPremium,n=a?(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,m.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),i=(0,l.__)("Read more about text formality.","wordpress-seo");return s?(0,t.createElement)("div",{className:"yoast-text-formality"},(0,t.createElement)("div",{className:"yoast-field-group__title"},(0,t.createElement)("b",null,(0,l.__)("Text formality","wordpress-seo")),(0,t.createElement)(H.HelpIcon,{linkTo:n,linkText:i})),a?(0,t.createElement)(B.Slot,{name:r}):(0,t.createElement)(ss,{location:e})):null};as.propTypes={location:_().string.isRequired,name:_().string.isRequired};const os=as,ns=({location:e})=>{const r=(0,o.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,t.createElement)(Fr,{title:(0,l.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${e}`,className:"yoast-insights"},(0,t.createElement)(Jr,{location:e}),(0,t.createElement)("div",null,r&&(0,t.createElement)("div",{className:"yoast-insights-row"},(0,t.createElement)(Nr,null)),(0,t.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,t.createElement)(Mr,null),(0,t.createElement)(es,null)),(0,Pr.isFeatureEnabled)("TEXT_FORMALITY")&&(0,t.createElement)(os,{location:e,name:"YoastTextFormalityMetabox"})))};ns.propTypes={location:_().string},ns.defaultProps={location:"metabox"};const is=ns,ls=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),cs=()=>[(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,l.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,l.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,l.__)("%1$sSuper fast%2$s internal linking suggestions.","wordpress-seo"),"",""),(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,l.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,l.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,l.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,l.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],hs=N().div` +(0,l.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],ds=q().div` padding: 25px 32px 32px; color: #303030; -`,gs=N().ul` +`,ps=q().ul` margin: 0; padding: 0; @@ -246,41 +244,41 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme font-size: 1.5rem; } } -`,ys=N().span` +`,us=q().span` display: block; margin-top: 4px; -`,fs=N().h2` +`,ms=q().h2` margin-top: 0; margin-bottom: 0.25rem; color: #303030; font-size: 0.8125rem; font-weight: 600; -`,ws=N().p` +`,hs=q().p` display: block; margin: 0.25rem 0 1rem 0 !important; max-width: 420px; -`,bs=N().hr` +`,gs=q().hr` margin-top: 1.5rem; margin-bottom: 1rem; border-top: 0; border-bottom: 1px solid #E2E8F0; -`,Es=N().div` +`,ys=q().div` text-align: center; -`,vs=N().a` +`,fs=q().a` width: 100%; -`,ks=(0,de.makeOutboundLink)(vs);class _s extends i.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,t.createElement)(gs,{role:"list"},e.map(((e,r)=>(0,t.createElement)("li",{key:`upsell-benefit-${r}`},(0,i.createInterpolateElement)(e,{strong:(0,t.createElement)("strong",null)})))))}render(){const e=(0,o.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:r}=this.state,s=e?"69.30":null,a=s||r;return(0,t.createElement)(i.Fragment,null,e&&(0,t.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,t.createElement)("div",null,(0,l.__)("BLACK FRIDAY","wordpress-seo")),(0,t.createElement)("div",null,(0,l.__)("30% OFF","wordpress-seo"))),(0,t.createElement)(hs,null,(0,t.createElement)(fs,null,this.props.title),(0,t.createElement)(ws,null,this.props.description),(0,t.createElement)(Es,null,(0,t.createElement)(ks,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},r)," "),(0,t.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,l.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,t.createElement)(ys,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,t.createElement)(bs,null),(0,t.createElement)(fs,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}_s.propTypes={title:_().node,benefits:_().array,benefitsTitle:_().node,description:_().node,upsellButton:_().object,upsellButtonText:_().string.isRequired,upsellButtonLabel:_().string,upsellButtonHasCaret:_().bool},_s.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const xs=_s,Ts=()=>{const[e,,,r,s]=(0,z.useToggleState)(!1),{locationContext:a}=(0,p.useRootContext)(),o=(0,z.useSvgAria)(),n=a.includes("sidebar"),i=a.includes("metabox"),c=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{title:(0,l.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(xs,{title:(0,l.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,l.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ +`,ws=(0,de.makeOutboundLink)(fs);class bs extends i.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,t.createElement)(ps,{role:"list"},e.map(((e,r)=>(0,t.createElement)("li",{key:`upsell-benefit-${r}`},(0,i.createInterpolateElement)(e,{strong:(0,t.createElement)("strong",null)})))))}render(){const e=(0,o.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:r}=this.state,s=e?"69.30":null,a=s||r;return(0,t.createElement)(i.Fragment,null,e&&(0,t.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,t.createElement)("div",null,(0,l.__)("BLACK FRIDAY","wordpress-seo")),(0,t.createElement)("div",null,(0,l.__)("30% OFF","wordpress-seo"))),(0,t.createElement)(ds,null,(0,t.createElement)(ms,null,this.props.title),(0,t.createElement)(hs,null,this.props.description),(0,t.createElement)(ys,null,(0,t.createElement)(ws,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},r)," "),(0,t.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,l.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,t.createElement)(us,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,t.createElement)(gs,null),(0,t.createElement)(ms,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}bs.propTypes={title:_().node,benefits:_().array,benefitsTitle:_().node,description:_().node,upsellButton:_().object,upsellButtonText:_().string.isRequired,upsellButtonLabel:_().string,upsellButtonHasCaret:_().bool},bs.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Es=bs,vs=()=>{const[e,,,r,s]=(0,z.useToggleState)(!1),{locationContext:a}=(0,p.useRootContext)(),o=(0,z.useSvgAria)(),n=a.includes("sidebar"),i=a.includes("metabox"),c=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{title:(0,l.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(Es,{title:(0,l.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,l.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ (0,l.__)("%s automatically suggests to what content you can link with easy drag-and-drop functionality, which is good for your SEO!","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ms(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,es.addQueryArgs)(c,{context:a}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year free support and updates included!","wordpress-seo")}))),n&&(0,t.createElement)(ve,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,l.__)("Internal linking suggestions","wordpress-seo"),onClick:r},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...o})))),i&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:r},(0,t.createElement)(ce.Text,null,(0,l.__)("Internal linking suggestions","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...o}),(0,t.createElement)("span",null,"Premium")))))},Ss=({children:e})=>(0,t.createElement)("div",null,e);Ss.propTypes={renderPriority:_().number.isRequired,children:_().node.isRequired};const Rs=Ss,Cs=e=>(0,m.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),Is=()=>{const e=M();return 1===(0,m.get)(e,"wordproofIntegrationActive",0)},As=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},Ps=()=>{As("wordproof:open_authentication")},Ls=e=>{if(!e.isAuthenticated)return null;const r=(0,i.useCallback)((()=>{As("wordproof:open_settings")}));return(0,t.createElement)(B.Button,{variant:"link",onClick:r},(0,l.__)("Manage WordProof settings","wordpress-seo"))};Ls.propTypes={isAuthenticated:_().bool.isRequired};const Fs=e=>{const r=(0,i.useCallback)((()=>{Ps()}));return!e.isAuthenticated&&e.toggleIsEnabled?(0,t.createElement)(B.Button,{variant:"link",onClick:r},(0,l.__)("Authenticate with WordProof","wordpress-seo")):null};Fs.propTypes={isAuthenticated:_().bool.isRequired,toggleIsEnabled:_().bool.isRequired};class Ms extends i.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Ps()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup +(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:cs(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,Zr.addQueryArgs)(c,{context:a}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year free support and updates included!","wordpress-seo")}))),n&&(0,t.createElement)(ve,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,l.__)("Internal linking suggestions","wordpress-seo"),onClick:r},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...o})))),i&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:r},(0,t.createElement)(ce.Text,null,(0,l.__)("Internal linking suggestions","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...o}),(0,t.createElement)("span",null,"Premium")))))},ks=({children:e})=>(0,t.createElement)("div",null,e);ks.propTypes={renderPriority:_().number.isRequired,children:_().node.isRequired};const _s=ks,xs=e=>(0,m.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),Ts=()=>{const e=M();return 1===(0,m.get)(e,"wordproofIntegrationActive",0)},Ss=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},Rs=()=>{Ss("wordproof:open_authentication")},Cs=e=>{if(!e.isAuthenticated)return null;const r=(0,i.useCallback)((()=>{Ss("wordproof:open_settings")}));return(0,t.createElement)(B.Button,{variant:"link",onClick:r},(0,l.__)("Manage WordProof settings","wordpress-seo"))};Cs.propTypes={isAuthenticated:_().bool.isRequired};const Is=e=>{const r=(0,i.useCallback)((()=>{Rs()}));return!e.isAuthenticated&&e.toggleIsEnabled?(0,t.createElement)(B.Button,{variant:"link",onClick:r},(0,l.__)("Authenticate with WordProof","wordpress-seo")):null};Is.propTypes={isAuthenticated:_().bool.isRequired,toggleIsEnabled:_().bool.isRequired};class As extends i.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Rs()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup /* translators: Hidden accessibility text. */,{linkText:(0,l.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:(0,l.__)("Timestamp with WordProof","wordpress-seo")},(0,t.createElement)(H.Toggle,{id:this.props.id,labelText:(0,l.sprintf)(/* Translators: %s translates to the Post type in singular form */ -(0,l.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,t.createElement)(Ls,{isAuthenticated:this.props.isAuthenticated}),(0,t.createElement)(Fs,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,t.createElement)(H.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,l.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}Ms.propTypes={id:_().string,isEnabled:_().bool,onToggle:_().func,postTypeName:_().string,isAuthenticated:_().bool.isRequired},Ms.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:m.noop};const Os=(0,se.compose)([(0,o.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(Ms),Ns=({noIndex:e,onNoIndexChange:r,editorContext:s,isPrivateBlog:a})=>{const o=(e=>{const t=(0,l.__)("No","wordpress-seo"),r=(0,l.__)("Yes","wordpress-seo"),s=e.noIndex?t:r;return window.wpseoScriptData.isPost?[{name:(0,l.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ +(0,l.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,t.createElement)(Cs,{isAuthenticated:this.props.isAuthenticated}),(0,t.createElement)(Is,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,t.createElement)(H.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,l.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}As.propTypes={id:_().string,isEnabled:_().bool,onToggle:_().func,postTypeName:_().string,isAuthenticated:_().bool.isRequired},As.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:m.noop};const Ps=(0,se.compose)([(0,o.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(As),Ls=({noIndex:e,onNoIndexChange:r,editorContext:s,isPrivateBlog:a})=>{const o=(e=>{const t=(0,l.__)("No","wordpress-seo"),r=(0,l.__)("Yes","wordpress-seo"),s=e.noIndex?t:r;return window.wpseoScriptData.isPost?[{name:(0,l.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ (0,l.__)("%s (current default for %s)","wordpress-seo"),s,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:r,value:"2"}]:[{name:(0,l.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ (0,l.__)("%s (current default for %s)","wordpress-seo"),s,e.postTypeNamePlural),value:"default"},{name:r,value:"index"},{name:t,value:"noindex"}]})(s);return(0,t.createElement)(p.LocationConsumer,null,(s=>(0,t.createElement)(i.Fragment,null,a&&(0,t.createElement)(H.Alert,{type:"warning"},(0,l.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),(0,t.createElement)(H.Select,{label:(0,l.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:r,id:(0,de.join)(["yoast-meta-robots-noindex",s]),options:o,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};Ns.propTypes={noIndex:_().string.isRequired,onNoIndexChange:_().func.isRequired,editorContext:_().object.isRequired,isPrivateBlog:_().bool},Ns.defaultProps={isPrivateBlog:!1};const qs=({noFollow:e,onNoFollowChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>{const a=(0,de.join)(["yoast-meta-robots-nofollow",s]);return(0,t.createElement)(H.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,l.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:a,onChange:r,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));qs.propTypes={noFollow:_().string.isRequired,onNoFollowChange:_().func.isRequired};const Ds=({advanced:e,onAdvancedChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>{const a=(0,de.join)(["yoast-meta-robots-advanced",s]),o=`${a}-input`;return(0,t.createElement)(H.MultiSelect,{label:(0,l.__)("Meta robots advanced","wordpress-seo"),onChange:r,id:a,inputId:o,options:[{name:(0,l.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,l.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,l.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));Ds.propTypes={advanced:_().array.isRequired,onAdvancedChange:_().func.isRequired};const $s=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>(0,t.createElement)(H.TextInput,{label:(0,l.__)("Breadcrumbs Title","wordpress-seo"),id:(0,de.join)(["yoast-breadcrumbs-title",s]),onChange:r,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));$s.propTypes={breadcrumbsTitle:_().string.isRequired,onBreadcrumbsTitleChange:_().func.isRequired};const Bs=({canonical:e,onCanonicalChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>(0,t.createElement)(H.TextInput,{label:(0,l.__)("Canonical URL","wordpress-seo"),id:(0,de.join)(["yoast-canonical",s]),onChange:r,value:e,linkTo:"https://yoa.st/canonical-url" -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));Bs.propTypes={canonical:_().string.isRequired,onCanonicalChange:_().func.isRequired};const Ws=({wordproofTimestamp:e,onWordProofTimestampChange:r,postTypeName:s})=>(0,t.createElement)(p.LocationConsumer,null,(a=>(0,t.createElement)(Os,{id:(0,de.join)(["yoast-wordproof-timestamp",a]),isEnabled:e,onToggle:r,postTypeName:s})));Ws.propTypes={wordproofTimestamp:_().bool.isRequired,onWordProofTimestampChange:_().func.isRequired,postTypeName:_().string.isRequired};const Us=e=>{const{noIndex:r,noFollow:s,advanced:a,breadcrumbsTitle:o,canonical:n,wordproofTimestamp:l,onNoIndexChange:c,onNoFollowChange:d,onAdvancedChange:p,onBreadcrumbsTitleChange:u,onCanonicalChange:m,onWordProofTimestampChange:h,onLoad:g,isLoading:y,editorContext:f,isBreadcrumbsDisabled:w,isPrivateBlog:b,isWordProofIntegrationActive:E}=e;(0,i.useEffect)((()=>{setTimeout((()=>{y&&g()}))}));const v={noIndex:r,onNoIndexChange:c,editorContext:f,isPrivateBlog:b},k={noFollow:s,onNoFollowChange:d},_={advanced:a,onAdvancedChange:p},x={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},T={canonical:n,onCanonicalChange:m},S={wordproofTimestamp:l,onWordProofTimestampChange:h,postTypeName:f.postTypeNameSingular};return y?null:(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ns,{...v}),f.isPost&&(0,t.createElement)(qs,{...k}),f.isPost&&(0,t.createElement)(Ds,{..._}),!w&&(0,t.createElement)($s,{...x}),(0,t.createElement)(Bs,{...T}),E&&(0,t.createElement)(Ws,{...S}))};Us.propTypes={noIndex:_().string.isRequired,canonical:_().string.isRequired,wordproofTimestamp:_().bool,onNoIndexChange:_().func.isRequired,onCanonicalChange:_().func.isRequired,onWordProofTimestampChange:_().func,onLoad:_().func.isRequired,isLoading:_().bool.isRequired,editorContext:_().object.isRequired,isBreadcrumbsDisabled:_().bool.isRequired,isPrivateBlog:_().bool,advanced:_().array,onAdvancedChange:_().func,noFollow:_().string,onNoFollowChange:_().func,breadcrumbsTitle:_().string,onBreadcrumbsTitleChange:_().func,isWordProofIntegrationActive:_().bool.isRequired},Us.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const Ks=Us,zs=(0,se.compose)([(0,o.withSelect)((e=>{const{getNoIndex:t,getNoFollow:r,getAdvanced:s,getBreadcrumbsTitle:a,getCanonical:o,getWordProofTimestamp:n,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}=c();return{noIndex:t(),noFollow:r(),advanced:s(),breadcrumbsTitle:a(),canonical:o(),wordproofTimestamp:n(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}})),(0,o.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:r,setAdvanced:s,setBreadcrumbsTitle:a,setCanonical:o,setWordProofTimestamp:n,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:r,onAdvancedChange:s,onBreadcrumbsTitleChange:a,onCanonicalChange:o,onWordProofTimestampChange:n,onLoad:i}}))])(Ks),Hs=N().p` +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};Ls.propTypes={noIndex:_().string.isRequired,onNoIndexChange:_().func.isRequired,editorContext:_().object.isRequired,isPrivateBlog:_().bool},Ls.defaultProps={isPrivateBlog:!1};const Fs=({noFollow:e,onNoFollowChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>{const a=(0,de.join)(["yoast-meta-robots-nofollow",s]);return(0,t.createElement)(H.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,l.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:a,onChange:r,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));Fs.propTypes={noFollow:_().string.isRequired,onNoFollowChange:_().func.isRequired};const Ms=({advanced:e,onAdvancedChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>{const a=(0,de.join)(["yoast-meta-robots-advanced",s]),o=`${a}-input`;return(0,t.createElement)(H.MultiSelect,{label:(0,l.__)("Meta robots advanced","wordpress-seo"),onChange:r,id:a,inputId:o,options:[{name:(0,l.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,l.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,l.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));Ms.propTypes={advanced:_().array.isRequired,onAdvancedChange:_().func.isRequired};const Os=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>(0,t.createElement)(H.TextInput,{label:(0,l.__)("Breadcrumbs Title","wordpress-seo"),id:(0,de.join)(["yoast-breadcrumbs-title",s]),onChange:r,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));Os.propTypes={breadcrumbsTitle:_().string.isRequired,onBreadcrumbsTitleChange:_().func.isRequired};const qs=({canonical:e,onCanonicalChange:r})=>(0,t.createElement)(p.LocationConsumer,null,(s=>(0,t.createElement)(H.TextInput,{label:(0,l.__)("Canonical URL","wordpress-seo"),id:(0,de.join)(["yoast-canonical",s]),onChange:r,value:e,linkTo:"https://yoa.st/canonical-url" +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));qs.propTypes={canonical:_().string.isRequired,onCanonicalChange:_().func.isRequired};const Ns=({wordproofTimestamp:e,onWordProofTimestampChange:r,postTypeName:s})=>(0,t.createElement)(p.LocationConsumer,null,(a=>(0,t.createElement)(Ps,{id:(0,de.join)(["yoast-wordproof-timestamp",a]),isEnabled:e,onToggle:r,postTypeName:s})));Ns.propTypes={wordproofTimestamp:_().bool.isRequired,onWordProofTimestampChange:_().func.isRequired,postTypeName:_().string.isRequired};const Ds=e=>{const{noIndex:r,noFollow:s,advanced:a,breadcrumbsTitle:o,canonical:n,wordproofTimestamp:l,onNoIndexChange:c,onNoFollowChange:d,onAdvancedChange:p,onBreadcrumbsTitleChange:u,onCanonicalChange:m,onWordProofTimestampChange:h,onLoad:g,isLoading:y,editorContext:f,isBreadcrumbsDisabled:w,isPrivateBlog:b,isWordProofIntegrationActive:E}=e;(0,i.useEffect)((()=>{setTimeout((()=>{y&&g()}))}));const v={noIndex:r,onNoIndexChange:c,editorContext:f,isPrivateBlog:b},k={noFollow:s,onNoFollowChange:d},_={advanced:a,onAdvancedChange:p},x={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},T={canonical:n,onCanonicalChange:m},S={wordproofTimestamp:l,onWordProofTimestampChange:h,postTypeName:f.postTypeNameSingular};return y?null:(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ls,{...v}),f.isPost&&(0,t.createElement)(Fs,{...k}),f.isPost&&(0,t.createElement)(Ms,{..._}),!w&&(0,t.createElement)(Os,{...x}),(0,t.createElement)(qs,{...T}),E&&(0,t.createElement)(Ns,{...S}))};Ds.propTypes={noIndex:_().string.isRequired,canonical:_().string.isRequired,wordproofTimestamp:_().bool,onNoIndexChange:_().func.isRequired,onCanonicalChange:_().func.isRequired,onWordProofTimestampChange:_().func,onLoad:_().func.isRequired,isLoading:_().bool.isRequired,editorContext:_().object.isRequired,isBreadcrumbsDisabled:_().bool.isRequired,isPrivateBlog:_().bool,advanced:_().array,onAdvancedChange:_().func,noFollow:_().string,onNoFollowChange:_().func,breadcrumbsTitle:_().string,onBreadcrumbsTitleChange:_().func,isWordProofIntegrationActive:_().bool.isRequired},Ds.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const $s=Ds,Bs=(0,se.compose)([(0,o.withSelect)((e=>{const{getNoIndex:t,getNoFollow:r,getAdvanced:s,getBreadcrumbsTitle:a,getCanonical:o,getWordProofTimestamp:n,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}=c();return{noIndex:t(),noFollow:r(),advanced:s(),breadcrumbsTitle:a(),canonical:o(),wordproofTimestamp:n(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}})),(0,o.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:r,setAdvanced:s,setBreadcrumbsTitle:a,setCanonical:o,setWordProofTimestamp:n,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:r,onAdvancedChange:s,onBreadcrumbsTitleChange:a,onCanonicalChange:o,onWordProofTimestampChange:n,onLoad:i}}))])($s),Ws=q().p` color: #606770; flex-shrink: 0; font-size: 12px; @@ -292,7 +290,7 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; -`,Vs=e=>{const{siteUrl:r}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("span",{className:"screen-reader-text"},r),(0,t.createElement)(Hs,{"aria-hidden":"true"},(0,t.createElement)("span",null,r)))};Vs.propTypes={siteUrl:_().string.isRequired};const js=Vs,Ys=window.yoast.socialMetadataForms,Gs=N().img` +`,Us=e=>{const{siteUrl:r}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("span",{className:"screen-reader-text"},r),(0,t.createElement)(Ws,{"aria-hidden":"true"},(0,t.createElement)("span",null,r)))};Us.propTypes={siteUrl:_().string.isRequired};const Ks=Us,zs=window.yoast.socialMetadataForms,Hs=q().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; @@ -302,24 +300,24 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme transform: translate(-50%, -50%); max-width: none; } -`,Zs=N().img` +`,Vs=q().img` &&{ height: 100%; position: absolute; width: 100%; object-fit: cover; } -`,Xs=N().div` +`,js=q().div` padding-bottom: ${e=>e.aspectRatio}%; -`,Qs=e=>{const{imageProps:r,width:s,height:a,imageMode:o}=e;return"landscape"===o?(0,t.createElement)(Xs,{aspectRatio:r.aspectRatio},(0,t.createElement)(Zs,{src:r.src,alt:r.alt})):(0,t.createElement)(Gs,{src:r.src,alt:r.alt,width:s,height:a,imageProperties:r})};function Js(e,t,r){return"landscape"===r?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===r?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function ea(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function ta(e,t,r=!1){const s=await function(e){return new Promise(((t,r)=>{const s=new Image;s.onload=()=>{t({width:s.width,height:s.height})},s.onerror=r,s.src=e}))}(e);let a=r?"landscape":"square";"Facebook"===t&&(a=(0,Ys.determineFacebookImageMode)(s));const o=function(e){return"Twitter"===e?Ys.TWITTER_IMAGE_SIZES:Ys.FACEBOOK_IMAGE_SIZES}(t),n=function(e,t,r){return"square"===r&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:ea(t,Js(e,t,r))}(o,s,a);return{mode:a,height:n.height,width:n.width}}async function ra(e,t,r=!1){try{return{imageProperties:await ta(e,t,r),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}Qs.propTypes={imageProps:_().shape({src:_().string.isRequired,alt:_().string.isRequired,aspectRatio:_().number.isRequired}).isRequired,width:_().number.isRequired,height:_().number.isRequired,imageMode:_().string},Qs.defaultProps={imageMode:"landscape"};const sa=N().div` +`,Ys=e=>{const{imageProps:r,width:s,height:a,imageMode:o}=e;return"landscape"===o?(0,t.createElement)(js,{aspectRatio:r.aspectRatio},(0,t.createElement)(Vs,{src:r.src,alt:r.alt})):(0,t.createElement)(Hs,{src:r.src,alt:r.alt,width:s,height:a,imageProperties:r})};function Gs(e,t,r){return"landscape"===r?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===r?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function Zs(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function Xs(e,t,r=!1){const s=await function(e){return new Promise(((t,r)=>{const s=new Image;s.onload=()=>{t({width:s.width,height:s.height})},s.onerror=r,s.src=e}))}(e);let a=r?"landscape":"square";"Facebook"===t&&(a=(0,zs.determineFacebookImageMode)(s));const o=function(e){return"Twitter"===e?zs.TWITTER_IMAGE_SIZES:zs.FACEBOOK_IMAGE_SIZES}(t),n=function(e,t,r){return"square"===r&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:Zs(t,Gs(e,t,r))}(o,s,a);return{mode:a,height:n.height,width:n.width}}async function Qs(e,t,r=!1){try{return{imageProperties:await Xs(e,t,r),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}Ys.propTypes={imageProps:_().shape({src:_().string.isRequired,alt:_().string.isRequired,aspectRatio:_().number.isRequired}).isRequired,width:_().number.isRequired,height:_().number.isRequired,imageMode:_().string},Ys.defaultProps={imageMode:"landscape"};const Js=q().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${V.colors.$color_white}; -`,aa=N().div` +`,ea=q().div` box-sizing: border-box; - max-width: ${Ys.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; - height: ${Ys.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; + max-width: ${zs.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; + height: ${zs.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${V.colors.$color_grey}; border-style: dashed; border-width: 1px; @@ -333,7 +331,7 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class oa extends t.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await ra(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:Ys.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:Ys.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:Ys.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:Ys.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:Ys.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:Ys.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:r}=this.state;if("loading"===r||""===this.props.src||"errored"===r)return(0,t.createElement)(aa,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,l.__)("Select image","wordpress-seo"));const s=this.retrieveContainerDimensions(e.mode);return(0,t.createElement)(sa,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,t.createElement)(Qs,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Ys.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}oa.propTypes={src:_().string,alt:_().string,onImageLoaded:_().func,onImageClick:_().func,onMouseEnter:_().func,onMouseLeave:_().func},oa.defaultProps={src:"",alt:"",onImageLoaded:m.noop,onImageClick:m.noop,onMouseEnter:m.noop,onMouseLeave:m.noop};const na=oa,ia=N().span` +`;class ta extends t.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await Qs(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:zs.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:zs.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:zs.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:zs.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:zs.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:zs.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:r}=this.state;if("loading"===r||""===this.props.src||"errored"===r)return(0,t.createElement)(ea,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,l.__)("Select image","wordpress-seo"));const s=this.retrieveContainerDimensions(e.mode);return(0,t.createElement)(Js,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,t.createElement)(Ys,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:zs.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}ta.propTypes={src:_().string,alt:_().string,onImageLoaded:_().func,onImageClick:_().func,onMouseEnter:_().func,onMouseLeave:_().func},ta.defaultProps={src:"",alt:"",onImageLoaded:m.noop,onImageClick:m.noop,onMouseEnter:m.noop,onMouseLeave:m.noop};const ra=ta,sa=q().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; @@ -349,7 +347,7 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; -`,la=N().p` +`,aa=q().p` line-height: ${16}px; min-height : ${16}px; color: #606770; @@ -366,13 +364,13 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } -`,ca=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},da=N().div` +`,oa=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},na=q().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; -`,pa=N().div` +`,ia=q().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; @@ -388,7 +386,7 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; -`;class ua extends t.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=s().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,r="landscape"===e?2:5;r!==t&&this.setState({maxLineCount:r})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:r}=this.state,s=this.getTitleLineCount();let a=t-s;"portrait"===r&&(a=5===s?0:4),a!==e&&this.setState({descriptionLineCount:a})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:r,descriptionLineCount:s}=this.state;return(0,t.createElement)(da,{id:"facebookPreview",mode:e},(0,t.createElement)(na,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,t.createElement)(pa,{mode:e},(0,t.createElement)(js,{siteUrl:this.props.siteUrl,mode:e}),(0,t.createElement)(ia,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:r},this.props.title),s>0&&(0,t.createElement)(la,{maxWidth:ca(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s},this.props.description)))}}ua.propTypes={siteUrl:_().string.isRequired,title:_().string.isRequired,description:_().string,imageUrl:_().string,imageFallbackUrl:_().string,alt:_().string,onSelect:_().func,onImageClick:_().func,onMouseHover:_().func},ua.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const ma=ua,ha=N().div` +`;class la extends t.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=s().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,r="landscape"===e?2:5;r!==t&&this.setState({maxLineCount:r})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:r}=this.state,s=this.getTitleLineCount();let a=t-s;"portrait"===r&&(a=5===s?0:4),a!==e&&this.setState({descriptionLineCount:a})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:r,descriptionLineCount:s}=this.state;return(0,t.createElement)(na,{id:"facebookPreview",mode:e},(0,t.createElement)(ra,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,t.createElement)(ia,{mode:e},(0,t.createElement)(Ks,{siteUrl:this.props.siteUrl,mode:e}),(0,t.createElement)(sa,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:r},this.props.title),s>0&&(0,t.createElement)(aa,{maxWidth:oa(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s},this.props.description)))}}la.propTypes={siteUrl:_().string.isRequired,title:_().string.isRequired,description:_().string,imageUrl:_().string,imageFallbackUrl:_().string,alt:_().string,onSelect:_().func,onImageClick:_().func,onMouseHover:_().func},la.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const ca=la,da=q().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; @@ -399,14 +397,14 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme display: flex; flex-direction: row; align-items: flex-end; -`,ga=e=>(0,t.createElement)(ha,null,(0,t.createElement)("span",null,e.siteUrl));ga.propTypes={siteUrl:_().string.isRequired};const ya=ga,fa=(e,t=!0)=>e?`\n\t\t\tmax-width: ${Ys.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${Ys.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,wa=N().div` +`,pa=e=>(0,t.createElement)(da,null,(0,t.createElement)("span",null,e.siteUrl));pa.propTypes={siteUrl:_().string.isRequired};const ua=pa,ma=(e,t=!0)=>e?`\n\t\t\tmax-width: ${zs.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${zs.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,ha=q().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; - ${e=>fa(e.isLarge)} -`,ba=N().div` + ${e=>ma(e.isLarge)} +`,ga=q().div` display: flex; justify-content: center; align-items: center; @@ -416,9 +414,9 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme padding: 1em; text-align: center; font-size: 1rem; - ${e=>fa(e.isLarge,!1)} -`,Ea=N()(ba)` - ${e=>e.isLarge&&`height: ${Ys.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} + ${e=>ma(e.isLarge,!1)} +`,ya=q()(ga)` + ${e=>e.isLarge&&`height: ${zs.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; @@ -430,7 +428,7 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class va extends s().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await ra(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:r}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,t.createElement)(Ea,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,l.__)("Select image","wordpress-seo")):(0,t.createElement)(wa,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,t.createElement)(Qs,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Ys.TWITTER_IMAGE_SIZES.aspectRatio},width:r.width,height:r.height,imageMode:r.mode}))}}va.propTypes={isLarge:_().bool.isRequired,src:_().string,alt:_().string,onImageClick:_().func,onMouseEnter:_().func,onMouseLeave:_().func},va.defaultProps={src:"",alt:"",onMouseEnter:m.noop,onImageClick:m.noop,onMouseLeave:m.noop};const ka=N().div` +`;class fa extends s().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await Qs(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:r}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,t.createElement)(ya,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,l.__)("Select image","wordpress-seo")):(0,t.createElement)(ha,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,t.createElement)(Ys,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:zs.TWITTER_IMAGE_SIZES.aspectRatio},width:r.width,height:r.height,imageMode:r.mode}))}}fa.propTypes={isLarge:_().bool.isRequired,src:_().string,alt:_().string,onImageClick:_().func,onMouseEnter:_().func,onMouseLeave:_().func},fa.defaultProps={src:"",alt:"",onMouseEnter:m.noop,onImageClick:m.noop,onMouseLeave:m.noop};const wa=q().div` display: flex; flex-direction: column; padding: 12px; @@ -445,14 +443,14 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme min-height:20px; font-size:15px; } -`,_a=e=>(0,t.createElement)(ka,null,e.children);_a.propTypes={children:_().array.isRequired};const xa=_a,Ta=N().p` +`,ba=e=>(0,t.createElement)(wa,null,e.children);ba.propTypes={children:_().array.isRequired};const Ea=ba,va=q().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; -`,Sa=N().p` +`,ka=q().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; @@ -463,10 +461,10 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme -webkit-line-clamp: 2; -webkit-box-orient: vertical; - @media all and ( max-width: ${Ys.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { + @media all and ( max-width: ${zs.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } -`,Ra=N().div` +`,_a=q().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; @@ -484,42 +482,42 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } -`,Ca=N()(Ra)` +`,xa=q()(_a)` flex-direction: column; max-height: 370px; -`,Ia=N()(Ra)` +`,Ta=q()(_a)` flex-direction: row; height: 125px; -`;class Aa extends t.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:r,imageFallbackUrl:s,alt:a,title:o,description:n,siteUrl:i}=this.props,l=e?Ca:Ia;return(0,t.createElement)(l,{id:"twitterPreview"},(0,t.createElement)(va,{src:r||s,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,t.createElement)(xa,null,(0,t.createElement)(ya,{siteUrl:i}),(0,t.createElement)(Ta,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},o),(0,t.createElement)(Sa,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},n)))}}Aa.propTypes={siteUrl:_().string.isRequired,title:_().string.isRequired,description:_().string,isLarge:_().bool,imageUrl:_().string,imageFallbackUrl:_().string,alt:_().string,onSelect:_().func,onImageClick:_().func,onMouseHover:_().func},Aa.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Pa=Aa,La=window.yoast.replacementVariableEditor;class Fa extends t.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?ma:Pa,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:r,onSelectImageClick:a,onRemoveImageClick:o,socialMediumName:n,imageWarnings:i,siteUrl:l,description:c,descriptionInputPlaceholder:d,descriptionPreviewFallback:p,imageUrl:u,imageFallbackUrl:m,alt:h,title:g,titleInputPlaceholder:y,titlePreviewFallback:f,replacementVariables:w,recommendedReplacementVariables:b,applyReplacementVariables:E,onReplacementVariableSearchChange:v,isPremium:k,isLarge:_,socialPreviewLabel:x,idSuffix:T,activeMetaTabId:S}=this.props,R=E({title:g||f,description:c||p});return(0,t.createElement)(s().Fragment,null,x&&(0,t.createElement)(H.SimulatedLabel,null,x),(0,t.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:l,title:R.title,description:R.description,imageUrl:u,imageFallbackUrl:m,alt:h,isLarge:_,activeMetaTabId:S}),(0,t.createElement)(Ys.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:n,title:g,titleInputPlaceholder:y,onRemoveImageClick:o,imageSelected:!!u,imageUrl:u,onTitleChange:r,onSelectImageClick:a,description:c,descriptionInputPlaceholder:d,imageWarnings:i,replacementVariables:w,recommendedReplacementVariables:b,onReplacementVariableSearchChange:v,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:T}))}}Fa.propTypes={title:_().string.isRequired,onTitleChange:_().func.isRequired,description:_().string.isRequired,onDescriptionChange:_().func.isRequired,imageUrl:_().string.isRequired,imageFallbackUrl:_().string.isRequired,onSelectImageClick:_().func.isRequired,onRemoveImageClick:_().func.isRequired,socialMediumName:_().string.isRequired,alt:_().string,isPremium:_().bool,imageWarnings:_().array,isLarge:_().bool,siteUrl:_().string,descriptionInputPlaceholder:_().string,titleInputPlaceholder:_().string,descriptionPreviewFallback:_().string,titlePreviewFallback:_().string,replacementVariables:La.replacementVariablesShape,recommendedReplacementVariables:La.recommendedReplacementVariablesShape,applyReplacementVariables:_().func,onReplacementVariableSearchChange:_().func,socialPreviewLabel:_().string,idSuffix:_().string,activeMetaTabId:_().string},Fa.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Ma={},Oa=(e,t,{log:r=console.warn}={})=>{Ma[e]||(Ma[e]=!0,r(t))},Na=(e,t=m.noop)=>{const r={};for(const s in e)Object.hasOwn(e,s)&&Object.defineProperty(r,s,{set:r=>{e[s]=r,t("set",s,r)},get:()=>(t("get",s),e[s])});return r};Na({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>Oa(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Na({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>Oa(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const qa=N().div` +`;class Sa extends t.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:r,imageFallbackUrl:s,alt:a,title:o,description:n,siteUrl:i}=this.props,l=e?xa:Ta;return(0,t.createElement)(l,{id:"twitterPreview"},(0,t.createElement)(fa,{src:r||s,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,t.createElement)(Ea,null,(0,t.createElement)(ua,{siteUrl:i}),(0,t.createElement)(va,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},o),(0,t.createElement)(ka,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},n)))}}Sa.propTypes={siteUrl:_().string.isRequired,title:_().string.isRequired,description:_().string,isLarge:_().bool,imageUrl:_().string,imageFallbackUrl:_().string,alt:_().string,onSelect:_().func,onImageClick:_().func,onMouseHover:_().func},Sa.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Ra=Sa,Ca=window.yoast.replacementVariableEditor;class Ia extends t.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?ca:Ra,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:r,onSelectImageClick:a,onRemoveImageClick:o,socialMediumName:n,imageWarnings:i,siteUrl:l,description:c,descriptionInputPlaceholder:d,descriptionPreviewFallback:p,imageUrl:u,imageFallbackUrl:m,alt:h,title:g,titleInputPlaceholder:y,titlePreviewFallback:f,replacementVariables:w,recommendedReplacementVariables:b,applyReplacementVariables:E,onReplacementVariableSearchChange:v,isPremium:k,isLarge:_,socialPreviewLabel:x,idSuffix:T,activeMetaTabId:S}=this.props,R=E({title:g||f,description:c||p});return(0,t.createElement)(s().Fragment,null,x&&(0,t.createElement)(H.SimulatedLabel,null,x),(0,t.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:l,title:R.title,description:R.description,imageUrl:u,imageFallbackUrl:m,alt:h,isLarge:_,activeMetaTabId:S}),(0,t.createElement)(zs.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:n,title:g,titleInputPlaceholder:y,onRemoveImageClick:o,imageSelected:!!u,imageUrl:u,onTitleChange:r,onSelectImageClick:a,description:c,descriptionInputPlaceholder:d,imageWarnings:i,replacementVariables:w,recommendedReplacementVariables:b,onReplacementVariableSearchChange:v,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:T}))}}Ia.propTypes={title:_().string.isRequired,onTitleChange:_().func.isRequired,description:_().string.isRequired,onDescriptionChange:_().func.isRequired,imageUrl:_().string.isRequired,imageFallbackUrl:_().string.isRequired,onSelectImageClick:_().func.isRequired,onRemoveImageClick:_().func.isRequired,socialMediumName:_().string.isRequired,alt:_().string,isPremium:_().bool,imageWarnings:_().array,isLarge:_().bool,siteUrl:_().string,descriptionInputPlaceholder:_().string,titleInputPlaceholder:_().string,descriptionPreviewFallback:_().string,titlePreviewFallback:_().string,replacementVariables:Ca.replacementVariablesShape,recommendedReplacementVariables:Ca.recommendedReplacementVariablesShape,applyReplacementVariables:_().func,onReplacementVariableSearchChange:_().func,socialPreviewLabel:_().string,idSuffix:_().string,activeMetaTabId:_().string},Ia.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Aa={},Pa=(e,t,{log:r=console.warn}={})=>{Aa[e]||(Aa[e]=!0,r(t))},La=(e,t=m.noop)=>{const r={};for(const s in e)Object.hasOwn(e,s)&&Object.defineProperty(r,s,{set:r=>{e[s]=r,t("set",s,r)},get:()=>(t("get",s),e[s])});return r};La({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>Pa(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),La({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>Pa(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const Fa=q().div` max-width: calc(527px + 1.5rem); -`,Da=e=>{const r="X"===e.socialMediumName?(0,l.__)("X share preview","wordpress-seo"):(0,l.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,z.useRootContext)();return(0,t.createElement)(z.Root,null,(0,t.createElement)(qa,null,(0,t.createElement)(z.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,es.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ -(0,l.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,t.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,t.createElement)(z.Label,null,r),(0,t.createElement)(ma,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:m.noop,onImageClick:m.noop,onMouseHover:m.noop})))))};Da.propTypes={socialMediumName:_().oneOf(["Social","Twitter","X"]).isRequired};const $a=Da;class Ba extends i.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:r,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:o,imageWarnings:n,description:l,descriptionInputPlaceholder:c,imageUrl:d,alt:p,title:u,titleInputPlaceholder:m,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:y,isPremium:f,location:w}=this.props;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)($a,{socialMediumName:o}),(0,t.createElement)(Ys.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:u,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,imageAltText:p,onTitleChange:r,onSelectImageClick:s,description:l,descriptionInputPlaceholder:c,imageWarnings:n,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:y,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:w}))}}Ba.propTypes={title:_().string.isRequired,onTitleChange:_().func.isRequired,description:_().string.isRequired,onDescriptionChange:_().func.isRequired,imageUrl:_().string.isRequired,onSelectImageClick:_().func.isRequired,onRemoveImageClick:_().func.isRequired,socialMediumName:_().string.isRequired,isPremium:_().bool,imageWarnings:_().array,descriptionInputPlaceholder:_().string,titleInputPlaceholder:_().string,replacementVariables:La.replacementVariablesShape,recommendedReplacementVariables:La.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:_().func,location:_().string,alt:_().string},Ba.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const Wa=Ba,Ua=e=>{const[r,s]=(0,i.useState)(""),a=(0,i.useCallback)((e=>{s(e.detail.metaTabId)}),[s]);(0,i.useEffect)((()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",a),()=>{window.removeEventListener("YoastSEO:metaTabChange",a)})),[]);const o=(0,i.useMemo)((()=>({...e,activeMetaTabId:r})),[e,r]);return e.isPremium?(0,t.createElement)(B.Slot,{name:`YoastFacebookPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:o}):(0,t.createElement)(Wa,{...o})};Ua.propTypes={isPremium:_().bool.isRequired,onLoad:_().func.isRequired,location:_().string.isRequired};const Ka=Ua;function za(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const r=t.state().get("selection").first();var s;e({type:(s=r.attributes).subtype,width:s.width,height:s.height,url:s.url,id:s.id,sizes:s.sizes,alt:s.alt||s.title||s.name})})),t})(e).open()}const Ha=()=>{za((e=>(0,o.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:r}=e,s=(0,Ys.determineFacebookImageMode)({width:t,height:r}),a=Ys.FACEBOOK_IMAGE_SIZES[s+"Width"],o=Ys.FACEBOOK_IMAGE_SIZES[s+"Height"],n=Object.values(e.sizes).find((e=>e.width>=a&&e.height>=o));return{url:n?n.url:e.url,id:e.id,warnings:(0,de.validateFacebookImage)(e),alt:e.alt||""}})(e))))},Va=(0,se.compose)([(0,o.withSelect)((e=>{const{getFacebookDescription:t,getDescription:r,getFacebookTitle:s,getSeoTitle:a,getFacebookImageUrl:o,getImageFallback:n,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:y,getFacebookAltText:f}=e("yoast-seo/editor");return{imageUrl:o(),imageFallbackUrl:n(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||r()||h()||y()||"",title:s(),titlePreviewFallback:m()||a()||u()||p()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!M().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:f()}})),(0,o.withDispatch)(((e,t,{select:r})=>{const{setFacebookPreviewTitle:s,setFacebookPreviewDescription:a,clearFacebookPreviewImage:o,loadFacebookPreviewData:n,findCustomFields:i}=e("yoast-seo/editor"),l=r("yoast-seo/editor").getPostId();return{onSelectImageClick:Ha,onRemoveImageClick:o,onDescriptionChange:a,onTitleChange:s,onLoad:n,onReplacementVariableSearchChange:Cr(l,i)}})),mr()])(Ka),ja=e=>((0,i.useEffect)((()=>{setTimeout(e.onLoad)}),[]),e.isPremium?(0,t.createElement)(B.Slot,{name:`YoastTwitterPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:e}):(0,t.createElement)(Wa,{...e}));ja.propTypes={isPremium:_().bool.isRequired,onLoad:_().func.isRequired,location:_().string.isRequired};const Ya=ja,Ga=()=>{za((e=>(0,o.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,m.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",r=Ys.TWITTER_IMAGE_SIZES[t+"Width"],s=Ys.TWITTER_IMAGE_SIZES[t+"Height"],a=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=s));return{url:a?a.url:e.url,id:e.id,warnings:(0,de.validateTwitterImage)(e),alt:e.alt||""}})(e))))},Za=(0,se.compose)([(0,o.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:r,getTwitterImageUrl:s,getFacebookImageUrl:a,getFacebookTitle:o,getFacebookDescription:n,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:y,getSocialTitleTemplate:f,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:a()||p(),recommendedReplacementVariables:u(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||n()||i()||w()||E()||"",title:r(),titlePreviewFallback:f()||o()||l()||y()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!M().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,o.withDispatch)(((e,t,{select:r})=>{const{setTwitterPreviewTitle:s,setTwitterPreviewDescription:a,clearTwitterPreviewImage:o,loadTwitterPreviewData:n,findCustomFields:i}=e("yoast-seo/editor"),l=r("yoast-seo/editor").getPostId();return{onSelectImageClick:Ga,onRemoveImageClick:o,onDescriptionChange:a,onTitleChange:s,onLoad:n,onReplacementVariableSearchChange:Cr(l,i)}})),mr()])(Ya),Xa=N().legend` +`,Ma=e=>{const r="X"===e.socialMediumName?(0,l.__)("X share preview","wordpress-seo"):(0,l.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,z.useRootContext)();return(0,t.createElement)(z.Root,null,(0,t.createElement)(Fa,null,(0,t.createElement)(z.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,Zr.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,l.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ +(0,l.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,t.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,t.createElement)(z.Label,null,r),(0,t.createElement)(ca,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:m.noop,onImageClick:m.noop,onMouseHover:m.noop})))))};Ma.propTypes={socialMediumName:_().oneOf(["Social","Twitter","X"]).isRequired};const Oa=Ma;class qa extends i.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:r,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:o,imageWarnings:n,description:l,descriptionInputPlaceholder:c,imageUrl:d,alt:p,title:u,titleInputPlaceholder:m,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:y,isPremium:f,location:w}=this.props;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Oa,{socialMediumName:o}),(0,t.createElement)(zs.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:u,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,imageAltText:p,onTitleChange:r,onSelectImageClick:s,description:l,descriptionInputPlaceholder:c,imageWarnings:n,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:y,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:w}))}}qa.propTypes={title:_().string.isRequired,onTitleChange:_().func.isRequired,description:_().string.isRequired,onDescriptionChange:_().func.isRequired,imageUrl:_().string.isRequired,onSelectImageClick:_().func.isRequired,onRemoveImageClick:_().func.isRequired,socialMediumName:_().string.isRequired,isPremium:_().bool,imageWarnings:_().array,descriptionInputPlaceholder:_().string,titleInputPlaceholder:_().string,replacementVariables:Ca.replacementVariablesShape,recommendedReplacementVariables:Ca.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:_().func,location:_().string,alt:_().string},qa.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const Na=qa,Da=e=>{const[r,s]=(0,i.useState)(""),a=(0,i.useCallback)((e=>{s(e.detail.metaTabId)}),[s]);(0,i.useEffect)((()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",a),()=>{window.removeEventListener("YoastSEO:metaTabChange",a)})),[]);const o=(0,i.useMemo)((()=>({...e,activeMetaTabId:r})),[e,r]);return e.isPremium?(0,t.createElement)(B.Slot,{name:`YoastFacebookPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:o}):(0,t.createElement)(Na,{...o})};Da.propTypes={isPremium:_().bool.isRequired,onLoad:_().func.isRequired,location:_().string.isRequired};const $a=Da;function Ba(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const r=t.state().get("selection").first();var s;e({type:(s=r.attributes).subtype,width:s.width,height:s.height,url:s.url,id:s.id,sizes:s.sizes,alt:s.alt||s.title||s.name})})),t})(e).open()}const Wa=()=>{Ba((e=>(0,o.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:r}=e,s=(0,zs.determineFacebookImageMode)({width:t,height:r}),a=zs.FACEBOOK_IMAGE_SIZES[s+"Width"],o=zs.FACEBOOK_IMAGE_SIZES[s+"Height"],n=Object.values(e.sizes).find((e=>e.width>=a&&e.height>=o));return{url:n?n.url:e.url,id:e.id,warnings:(0,de.validateFacebookImage)(e),alt:e.alt||""}})(e))))},Ua=(0,se.compose)([(0,o.withSelect)((e=>{const{getFacebookDescription:t,getDescription:r,getFacebookTitle:s,getSeoTitle:a,getFacebookImageUrl:o,getImageFallback:n,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:y,getFacebookAltText:f}=e("yoast-seo/editor");return{imageUrl:o(),imageFallbackUrl:n(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||r()||h()||y()||"",title:s(),titlePreviewFallback:m()||a()||u()||p()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!M().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:f()}})),(0,o.withDispatch)(((e,t,{select:r})=>{const{setFacebookPreviewTitle:s,setFacebookPreviewDescription:a,clearFacebookPreviewImage:o,loadFacebookPreviewData:n,findCustomFields:i}=e("yoast-seo/editor"),l=r("yoast-seo/editor").getPostId();return{onSelectImageClick:Wa,onRemoveImageClick:o,onDescriptionChange:a,onTitleChange:s,onLoad:n,onReplacementVariableSearchChange:xr(l,i)}})),cr()])($a),Ka=e=>((0,i.useEffect)((()=>{setTimeout(e.onLoad)}),[]),e.isPremium?(0,t.createElement)(B.Slot,{name:`YoastTwitterPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:e}):(0,t.createElement)(Na,{...e}));Ka.propTypes={isPremium:_().bool.isRequired,onLoad:_().func.isRequired,location:_().string.isRequired};const za=Ka,Ha=()=>{Ba((e=>(0,o.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,m.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",r=zs.TWITTER_IMAGE_SIZES[t+"Width"],s=zs.TWITTER_IMAGE_SIZES[t+"Height"],a=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=s));return{url:a?a.url:e.url,id:e.id,warnings:(0,de.validateTwitterImage)(e),alt:e.alt||""}})(e))))},Va=(0,se.compose)([(0,o.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:r,getTwitterImageUrl:s,getFacebookImageUrl:a,getFacebookTitle:o,getFacebookDescription:n,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:y,getSocialTitleTemplate:f,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:s(),imageFallbackUrl:a()||p(),recommendedReplacementVariables:u(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||n()||i()||w()||E()||"",title:r(),titlePreviewFallback:f()||o()||l()||y()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!M().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,o.withDispatch)(((e,t,{select:r})=>{const{setTwitterPreviewTitle:s,setTwitterPreviewDescription:a,clearTwitterPreviewImage:o,loadTwitterPreviewData:n,findCustomFields:i}=e("yoast-seo/editor"),l=r("yoast-seo/editor").getPostId();return{onSelectImageClick:Ha,onRemoveImageClick:o,onDescriptionChange:a,onTitleChange:s,onLoad:n,onReplacementVariableSearchChange:xr(l,i)}})),cr()])(za),ja=q().legend` margin: 16px 0; padding: 0; color: ${V.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,Qa=N().legend` +`,Ya=q().legend` margin: 0 0 16px; padding: 0; color: ${V.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,Ja=N().div` +`,Ga=q().div` padding: 16px; -`,eo=({useOpenGraphData:e,useTwitterData:r})=>(0,t.createElement)(i.Fragment,null,r&&e&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(qr,{hasSeparator:!1 -/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,l.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0},(0,t.createElement)(Qa,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Va,null),(0,t.createElement)(Xa,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),(0,t.createElement)(qr,{title:(0,l.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,t.createElement)(Za,null))),e&&!r&&(0,t.createElement)(Ja,null,(0,t.createElement)(Qa,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Va,null)),!e&&r&&(0,t.createElement)(Ja,null,(0,t.createElement)(Qa,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,t.createElement)(Za,null)));eo.propTypes={useOpenGraphData:_().bool.isRequired,useTwitterData:_().bool.isRequired};const to=eo,ro=(0,o.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:r,useTwitterData:s}=t();return{useOpenGraphData:r,useTwitterData:s}}))(to);function so({target:e}){return(0,t.createElement)(G,{target:e},(0,t.createElement)(ro,null))}so.propTypes={target:_().string.isRequired};const ao=(0,de.makeOutboundLink)(),oo=N().div` +`,Za=({useOpenGraphData:e,useTwitterData:r})=>(0,t.createElement)(i.Fragment,null,r&&e&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Fr,{hasSeparator:!1 +/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,l.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0},(0,t.createElement)(Ya,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Ua,null),(0,t.createElement)(ja,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),(0,t.createElement)(Fr,{title:(0,l.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,t.createElement)(Va,null))),e&&!r&&(0,t.createElement)(Ga,null,(0,t.createElement)(Ya,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Ua,null)),!e&&r&&(0,t.createElement)(Ga,null,(0,t.createElement)(Ya,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,t.createElement)(Va,null)));Za.propTypes={useOpenGraphData:_().bool.isRequired,useTwitterData:_().bool.isRequired};const Xa=Za,Qa=(0,o.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:r,useTwitterData:s}=t();return{useOpenGraphData:r,useTwitterData:s}}))(Xa);function Ja({target:e}){return(0,t.createElement)(G,{target:e},(0,t.createElement)(Qa,null))}Ja.propTypes={target:_().string.isRequired};const eo=(0,de.makeOutboundLink)(),to=q().div` padding: 16px; -`,no="yoast-seo/editor";function io({location:e,show:r}){return r?(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ -(0,l.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,t.createElement)(ao,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`]},(0,l.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ -(0,l.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}io.propTypes={show:_().bool.isRequired,location:_().string.isRequired};const lo=(e,t,r)=>{const s=(0,o.useSelect)((e=>e(no).getIsProduct()),[]),a=(0,o.useSelect)((e=>e(no).getIsWooSeoActive()),[]),n=s&&a?{name:(0,l.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,l.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ -(0,l.__)("Default for %1$s (%2$s)","wordpress-seo"),r,n?n.name:""),value:""},...e]},co=e=>(0,l.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ -(0,l.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");_().string.isRequired,_().string.isRequired,_().string.isRequired;const po=e=>{const r=lo(e.pageTypeOptions,e.defaultPageType,e.postTypeName),s=lo(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=(0,m.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),n=(0,m.get)(window,"wpseoScriptData.woocommerceUpsell",""),[c,d]=(0,i.useState)(e.schemaArticleTypeSelected),p=(0,l.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),u=(0,o.useSelect)((e=>e(no).getIsProduct()),[]),h=(0,o.useSelect)((e=>e(no).getIsWooSeoActive()),[]),g=u&&h,y=(0,i.useCallback)(((e,t)=>{d(t)}),[c]);return(0,i.useEffect)((()=>{y(null,e.schemaArticleTypeSelected)}),[e.schemaArticleTypeSelected]),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup,{label:(0,l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about page or content types","wordpress-seo")}),n&&(0,t.createElement)(Pr,{link:a,text:p}),(0,t.createElement)(H.Select,{id:(0,de.join)(["yoast-schema-page-type",e.location]),options:r,label:(0,l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:g?"ItemPage":e.schemaPageTypeSelected,disabled:g}),e.showArticleTypeInput&&(0,t.createElement)(H.Select,{id:(0,de.join)(["yoast-schema-article-type",e.location]),options:s,label:(0,l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:y}),(0,t.createElement)(io,{location:e.location,show:!e.isNewsEnabled&&(w=c,b=e.defaultArticleType,"NewsArticle"===w||""===w&&"NewsArticle"===b)}),e.displayFooter&&!g&&(0,t.createElement)("p",null,(f=e.postTypeName,(0,Re.Z)({mixedString:co(f),components:{link:(0,t.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),g&&(0,t.createElement)("p",null,(0,l.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,l.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var f,w,b},uo=_().arrayOf(_().shape({name:_().string,value:_().string}));po.propTypes={schemaPageTypeChange:_().func,schemaPageTypeSelected:_().string,pageTypeOptions:uo.isRequired,schemaArticleTypeChange:_().func,schemaArticleTypeSelected:_().string,articleTypeOptions:uo.isRequired,showArticleTypeInput:_().bool.isRequired,additionalHelpTextLink:_().string.isRequired,helpTextLink:_().string.isRequired,helpTextTitle:_().string.isRequired,helpTextDescription:_().string.isRequired,postTypeName:_().string.isRequired,displayFooter:_().bool,defaultPageType:_().string.isRequired,defaultArticleType:_().string.isRequired,location:_().string.isRequired,isNewsEnabled:_().bool},po.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const mo=e=>e.isMetabox?(0,i.createPortal)((0,t.createElement)(oo,null,(0,t.createElement)(po,{...e})),document.getElementById("wpseo-meta-section-schema")):(0,t.createElement)(po,{...e});mo.propTypes={showArticleTypeInput:_().bool,articleTypeLabel:_().string,additionalHelpTextLink:_().string,pageTypeLabel:_().string.isRequired,helpTextLink:_().string.isRequired,helpTextTitle:_().string.isRequired,helpTextDescription:_().string.isRequired,isMetabox:_().bool.isRequired,postTypeName:_().string.isRequired,displayFooter:_().bool,loadSchemaArticleData:_().func.isRequired,loadSchemaPageData:_().func.isRequired,location:_().string.isRequired},mo.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const ho=mo;class go{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return go.articleTypeInput.getAttribute("data-default")}static get articleType(){return go.articleTypeInput.value}static set articleType(e){go.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return go.pageTypeInput.getAttribute("data-default")}static get pageType(){return go.pageTypeInput.value}static set pageType(e){go.pageTypeInput.value=e}}const yo=e=>{const r=null!==go.articleTypeInput;(0,i.useEffect)((()=>{e.loadSchemaPageData(),r&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:(0,l.__)("Article type","wordpress-seo"),pageTypeLabel:(0,l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:r,pageTypeOptions:s,articleTypeOptions:a},n={...e,...o,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return(0,t.createElement)(ho,{...n})};yo.propTypes={displayFooter:_().bool.isRequired,schemaPageTypeSelected:_().string.isRequired,schemaArticleTypeSelected:_().string.isRequired,defaultArticleType:_().string.isRequired,defaultPageType:_().string.isRequired,loadSchemaPageData:_().func.isRequired,loadSchemaArticleData:_().func.isRequired,schemaPageTypeChange:_().func.isRequired,schemaArticleTypeChange:_().func.isRequired,location:_().string.isRequired};const fo=(0,se.compose)([(0,o.withSelect)((e=>{const{getPreferences:t,getPageType:r,getDefaultPageType:s,getArticleType:a,getDefaultArticleType:o}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:n,isNewsEnabled:i}=t();return{displayFooter:n,isNewsEnabled:i,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:o(),defaultPageType:s()}})),(0,o.withDispatch)((e=>{const{setPageType:t,setArticleType:r,getSchemaPageData:s,getSchemaArticleData:a}=e("yoast-seo/editor");return{loadSchemaPageData:s,loadSchemaArticleData:a,schemaPageTypeChange:t,schemaArticleTypeChange:r}})),mr()])(yo),wo=()=>(0,t.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,l.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ -(0,l.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"})),bo=(0,de.makeOutboundLink)(),Eo=()=>(0,t.createElement)(i.Fragment,null,(0,t.createElement)("p",null,(0,l.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,l.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,t.createElement)(bo,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,l.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,l.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),vo="yoast-semrush-country-selector",ko=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class _o extends i.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:r}=this.props;r(t,e),this.storeCountryCode(t);const s=await this.doRequest(e,t);200!==s.status?this.handleFailedResponse(s):this.handleSuccessResponse(s)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:r}=this.props;0!==e.results.rows.length?r(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:r}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():r(e))}async doRequest(e,t){return await g()({path:(0,es.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,t.createElement)("div",{id:vo},(0,t.createElement)(H.SingleSelect,{id:vo+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:ko,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,t.createElement)(H.NewButton,{id:vo+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}_o.propTypes={keyphrase:_().string,countryCode:_().string,response:_().object,lastRequestKeyphrase:_().string,setCountry:_().func.isRequired,newRequest:_().func.isRequired,setNoResultsFound:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setRequestLimitReached:_().func.isRequired,setRequestFailed:_().func.isRequired},_o.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const xo=_o,To=(0,de.makeOutboundLink)(N().a` +`,ro="yoast-seo/editor";function so({location:e,show:r}){return r?(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ +(0,l.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,t.createElement)(eo,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`]},(0,l.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ +(0,l.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}so.propTypes={show:_().bool.isRequired,location:_().string.isRequired};const ao=(e,t,r)=>{const s=(0,o.useSelect)((e=>e(ro).getIsProduct()),[]),a=(0,o.useSelect)((e=>e(ro).getIsWooSeoActive()),[]),n=s&&a?{name:(0,l.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,l.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ +(0,l.__)("Default for %1$s (%2$s)","wordpress-seo"),r,n?n.name:""),value:""},...e]},oo=e=>(0,l.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ +(0,l.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");_().string.isRequired,_().string.isRequired,_().string.isRequired;const no=e=>{const r=ao(e.pageTypeOptions,e.defaultPageType,e.postTypeName),s=ao(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=(0,m.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),n=(0,m.get)(window,"wpseoScriptData.woocommerceUpsell",""),[c,d]=(0,i.useState)(e.schemaArticleTypeSelected),p=(0,l.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),u=(0,o.useSelect)((e=>e(ro).getIsProduct()),[]),h=(0,o.useSelect)((e=>e(ro).getIsWooSeoActive()),[]),g=u&&h,y=(0,i.useCallback)(((e,t)=>{d(t)}),[c]);return(0,i.useEffect)((()=>{y(null,e.schemaArticleTypeSelected)}),[e.schemaArticleTypeSelected]),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup,{label:(0,l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about page or content types","wordpress-seo")}),n&&(0,t.createElement)(Rr,{link:a,text:p}),(0,t.createElement)(H.Select,{id:(0,de.join)(["yoast-schema-page-type",e.location]),options:r,label:(0,l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:g?"ItemPage":e.schemaPageTypeSelected,disabled:g}),e.showArticleTypeInput&&(0,t.createElement)(H.Select,{id:(0,de.join)(["yoast-schema-article-type",e.location]),options:s,label:(0,l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:y}),(0,t.createElement)(so,{location:e.location,show:!e.isNewsEnabled&&(w=c,b=e.defaultArticleType,"NewsArticle"===w||""===w&&"NewsArticle"===b)}),e.displayFooter&&!g&&(0,t.createElement)("p",null,(f=e.postTypeName,(0,xe.Z)({mixedString:oo(f),components:{link:(0,t.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),g&&(0,t.createElement)("p",null,(0,l.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,l.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var f,w,b},io=_().arrayOf(_().shape({name:_().string,value:_().string}));no.propTypes={schemaPageTypeChange:_().func,schemaPageTypeSelected:_().string,pageTypeOptions:io.isRequired,schemaArticleTypeChange:_().func,schemaArticleTypeSelected:_().string,articleTypeOptions:io.isRequired,showArticleTypeInput:_().bool.isRequired,additionalHelpTextLink:_().string.isRequired,helpTextLink:_().string.isRequired,helpTextTitle:_().string.isRequired,helpTextDescription:_().string.isRequired,postTypeName:_().string.isRequired,displayFooter:_().bool,defaultPageType:_().string.isRequired,defaultArticleType:_().string.isRequired,location:_().string.isRequired,isNewsEnabled:_().bool},no.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const lo=e=>e.isMetabox?(0,i.createPortal)((0,t.createElement)(to,null,(0,t.createElement)(no,{...e})),document.getElementById("wpseo-meta-section-schema")):(0,t.createElement)(no,{...e});lo.propTypes={showArticleTypeInput:_().bool,articleTypeLabel:_().string,additionalHelpTextLink:_().string,pageTypeLabel:_().string.isRequired,helpTextLink:_().string.isRequired,helpTextTitle:_().string.isRequired,helpTextDescription:_().string.isRequired,isMetabox:_().bool.isRequired,postTypeName:_().string.isRequired,displayFooter:_().bool,loadSchemaArticleData:_().func.isRequired,loadSchemaPageData:_().func.isRequired,location:_().string.isRequired},lo.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const co=lo;class po{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return po.articleTypeInput.getAttribute("data-default")}static get articleType(){return po.articleTypeInput.value}static set articleType(e){po.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return po.pageTypeInput.getAttribute("data-default")}static get pageType(){return po.pageTypeInput.value}static set pageType(e){po.pageTypeInput.value=e}}const uo=e=>{const r=null!==po.articleTypeInput;(0,i.useEffect)((()=>{e.loadSchemaPageData(),r&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:(0,l.__)("Article type","wordpress-seo"),pageTypeLabel:(0,l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:r,pageTypeOptions:s,articleTypeOptions:a},n={...e,...o,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return(0,t.createElement)(co,{...n})};uo.propTypes={displayFooter:_().bool.isRequired,schemaPageTypeSelected:_().string.isRequired,schemaArticleTypeSelected:_().string.isRequired,defaultArticleType:_().string.isRequired,defaultPageType:_().string.isRequired,loadSchemaPageData:_().func.isRequired,loadSchemaArticleData:_().func.isRequired,schemaPageTypeChange:_().func.isRequired,schemaArticleTypeChange:_().func.isRequired,location:_().string.isRequired};const mo=(0,se.compose)([(0,o.withSelect)((e=>{const{getPreferences:t,getPageType:r,getDefaultPageType:s,getArticleType:a,getDefaultArticleType:o}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:n,isNewsEnabled:i}=t();return{displayFooter:n,isNewsEnabled:i,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:o(),defaultPageType:s()}})),(0,o.withDispatch)((e=>{const{setPageType:t,setArticleType:r,getSchemaPageData:s,getSchemaArticleData:a}=e("yoast-seo/editor");return{loadSchemaPageData:s,loadSchemaArticleData:a,schemaPageTypeChange:t,schemaArticleTypeChange:r}})),cr()])(uo),ho=()=>(0,t.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,l.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ +(0,l.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,t.createElement)(H.SvgIcon,{icon:"loading-spinner"})),go=(0,de.makeOutboundLink)(),yo=()=>(0,t.createElement)(i.Fragment,null,(0,t.createElement)("p",null,(0,l.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,l.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,t.createElement)(go,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,l.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,l.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),fo="yoast-semrush-country-selector",wo=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class bo extends i.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:r}=this.props;r(t,e),this.storeCountryCode(t);const s=await this.doRequest(e,t);200!==s.status?this.handleFailedResponse(s):this.handleSuccessResponse(s)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:r}=this.props;0!==e.results.rows.length?r(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:r}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():r(e))}async doRequest(e,t){return await g()({path:(0,Zr.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,t.createElement)("div",{id:fo},(0,t.createElement)(H.SingleSelect,{id:fo+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:wo,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,t.createElement)(H.NewButton,{id:fo+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}bo.propTypes={keyphrase:_().string,countryCode:_().string,response:_().object,lastRequestKeyphrase:_().string,setCountry:_().func.isRequired,newRequest:_().func.isRequired,setNoResultsFound:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setRequestLimitReached:_().func.isRequired,setRequestFailed:_().func.isRequired},bo.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const Eo=bo,vo=(0,de.makeOutboundLink)(q().a` display: inline-block; position: relative; outline: none; @@ -549,44 +547,46 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme padding: 2px; content: "\f223"; } -`),So=(0,de.makeOutboundLink)();class Ro extends i.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,l.__)("Twelve months ago","wordpress-seo"),(0,l.__)("Eleven months ago","wordpress-seo"),(0,l.__)("Ten months ago","wordpress-seo"),(0,l.__)("Nine months ago","wordpress-seo"),(0,l.__)("Eight months ago","wordpress-seo"),(0,l.__)("Seven months ago","wordpress-seo"),(0,l.__)("Six months ago","wordpress-seo"),(0,l.__)("Five months ago","wordpress-seo"),(0,l.__)("Four months ago","wordpress-seo"),(0,l.__)("Three months ago","wordpress-seo"),(0,l.__)("Two months ago","wordpress-seo"),(0,l.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:r,countryCode:s,data:a,renderAction:o}=this.props,n="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return a&&!(0,m.isEmpty)(a.results)&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("table",{className:"yoast yoast-table"},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,l.__)("Related keyphrase","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Volume","wordpress-seo")},(0,l.__)("Volume","wordpress-seo"),(0,t.createElement)(To,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Trend","wordpress-seo")},(0,l.__)("Trend","wordpress-seo"),(0,t.createElement)(To,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("Learn more about the related keyphrases trend","wordpress-seo")))),o&&(0,t.createElement)("td",{className:"yoast-table--nobreak"}))),(0,t.createElement)("tbody",null,a.results.rows.map(((e,s)=>{const a=e[0],n=this.transformTrendDataToChartPoints(e[2]),i=this.getAreaChartDataTableHeaderLabels();return(0,t.createElement)("tr",{key:s},(0,t.createElement)("td",null,a),(0,t.createElement)("td",null,e[1]),(0,t.createElement)("td",{className:"yoast-table--nopadding"},(0,t.createElement)(Xe,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,l.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:i})),o&&(0,t.createElement)("td",{className:"yoast-table--nobreak"},o(a,r)))})))),(0,t.createElement)("p",{style:{marginBottom:0}},(0,t.createElement)(So,{href:n},(0,l.sprintf)(/* translators: %s expands to Semrush */ -(0,l.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}Ro.propTypes={data:_().object,keyphrase:_().string,relatedKeyphrases:_().array,countryCode:_().string,renderAction:_().func},Ro.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const Co=Ro,Io=(0,de.makeOutboundLink)(),Ao=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,l.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,t.createElement)(Io,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ -(0,l.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),Po=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),Lo=()=>(0,t.createElement)(H.Alert,{type:"warning"},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,l.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function Fo(e){const{response:r,lastRequestKeyphrase:s,keyphrase:a,newRequest:o,setCountry:n,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:u,setNoResultsFound:h,relatedKeyphrases:g,setRequestSucceeded:y,setRequestLimitReached:f}=e,w=M().isPremium;return(0,t.createElement)(i.Fragment,null,!p&&(0,t.createElement)(i.Fragment,null,!w&&(0,t.createElement)(Ao,null),w&&function(e){return e&&e.length>=4}(g)&&(0,t.createElement)(Lo,null),(0,t.createElement)(xo,{countryCode:d,setCountry:n,newRequest:o,keyphrase:a,setRequestFailed:u,setNoResultsFound:h,setRequestSucceeded:y,setRequestLimitReached:f,response:r,lastRequestKeyphrase:s})),function(e){const{isPending:r,requestLimitReached:s,isSuccess:a,response:o,requestHasData:n}=e;return r?(0,t.createElement)(wo,null):s?(0,t.createElement)(Eo,null):!a&&function(e){return!(0,m.isEmpty)(e)&&"error"in e}(o)?(0,t.createElement)(Po,null):n?void 0:(0,t.createElement)("p",null,(0,l.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,t.createElement)(Co,{keyphrase:a,relatedKeyphrases:g,countryCode:d,renderAction:c,data:r}))}Fo.propTypes={keyphrase:_().string,relatedKeyphrases:_().array,renderAction:_().func,requestLimitReached:_().bool,countryCode:_().string.isRequired,setCountry:_().func.isRequired,newRequest:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setRequestLimitReached:_().func.isRequired,setRequestFailed:_().func.isRequired,setNoResultsFound:_().func.isRequired,response:_().object,lastRequestKeyphrase:_().string},Fo.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const Mo=(0,se.compose)([(0,o.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:r,getSEMrushRequestLimitReached:s,getSEMrushRequestResponse:a,getSEMrushRequestIsSuccess:o,getSEMrushIsRequestPending:n,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:r(),requestLimitReached:s(),response:a(),isSuccess:o(),isPending:n(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,o.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:r,setSEMrushRequestSucceeded:s,setSEMrushRequestFailed:a,setSEMrushSetRequestLimitReached:o,setSEMrushNoResultsFound:n}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{r(e,t)},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},setRequestLimitReached:()=>{o()},setNoResultsFound:()=>{n()}}}))])(Fo),Oo=()=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("p",null,_r((0,l.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ -(0,l.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var No,qo,Do,$o,Bo,Wo,Uo,Ko,zo,Ho,Vo,jo,Yo,Go,Zo,Xo,Qo,Jo,en,tn,rn,sn,an,on,nn,ln,cn,dn,pn,un,mn,hn,gn,yn,fn,wn,bn,En,vn,kn,xn,Tn,Sn,Rn,Cn,In,An,Pn;function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",Ln({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),No||(No=t.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),qo||(qo=t.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),Do||(Do=t.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),$o||($o=t.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),Bo||(Bo=t.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),Wo||(Wo=t.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),Uo||(Uo=t.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),Ko||(Ko=t.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),zo||(zo=t.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),Ho||(Ho=t.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),Vo||(Vo=t.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),jo||(jo=t.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),Yo||(Yo=t.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Go||(Go=t.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),Zo||(Zo=t.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),Xo||(Xo=t.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Qo||(Qo=t.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),Jo||(Jo=t.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),en||(en=t.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),tn||(tn=t.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),rn||(rn=t.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),sn||(sn=t.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),an||(an=t.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),on||(on=t.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),nn||(nn=t.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),ln||(ln=t.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),cn||(cn=t.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),dn||(dn=t.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),pn||(pn=t.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),un||(un=t.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),mn||(mn=t.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),hn||(hn=t.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),gn||(gn=t.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),yn||(yn=t.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),fn||(fn=t.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),wn||(wn=t.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),bn||(bn=t.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),En||(En=t.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),vn||(vn=t.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),kn||(kn=t.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),xn||(xn=t.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Tn||(Tn=t.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Sn||(Sn=t.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Rn||(Rn=t.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Cn||(Cn=t.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),In||(In=t.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),An||(An=t.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Pn||(Pn=t.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Mn=e=>{const{closeModal:r}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,t.createElement)(Fn,{class:"yoast-wordproof-modal-svg__success"})),(0,t.createElement)("p",null,(0,l.sprintf)(/* Translators: %s translates to the Post type in singular form */ -(0,l.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Cs("current_post_type")),(0,t.createElement)("br",null),(0,i.createInterpolateElement)((0,l.sprintf)((0,l.__)( +`),ko=(0,de.makeOutboundLink)();class _o extends i.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,l.__)("Twelve months ago","wordpress-seo"),(0,l.__)("Eleven months ago","wordpress-seo"),(0,l.__)("Ten months ago","wordpress-seo"),(0,l.__)("Nine months ago","wordpress-seo"),(0,l.__)("Eight months ago","wordpress-seo"),(0,l.__)("Seven months ago","wordpress-seo"),(0,l.__)("Six months ago","wordpress-seo"),(0,l.__)("Five months ago","wordpress-seo"),(0,l.__)("Four months ago","wordpress-seo"),(0,l.__)("Three months ago","wordpress-seo"),(0,l.__)("Two months ago","wordpress-seo"),(0,l.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:r,countryCode:s,data:a,renderAction:o}=this.props,n="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return a&&!(0,m.isEmpty)(a.results)&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("table",{className:"yoast yoast-table"},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,l.__)("Related keyphrase","wordpress-seo")),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Volume","wordpress-seo")},(0,l.__)("Volume","wordpress-seo"),(0,t.createElement)(vo,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,t.createElement)("th",{scope:"col",abbr:(0,l.__)("Trend","wordpress-seo")},(0,l.__)("Trend","wordpress-seo"),(0,t.createElement)(vo,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("Learn more about the related keyphrases trend","wordpress-seo")))),o&&(0,t.createElement)("td",{className:"yoast-table--nobreak"}))),(0,t.createElement)("tbody",null,a.results.rows.map(((e,s)=>{const a=e[0],n=this.transformTrendDataToChartPoints(e[2]),i=this.getAreaChartDataTableHeaderLabels();return(0,t.createElement)("tr",{key:s},(0,t.createElement)("td",null,a),(0,t.createElement)("td",null,e[1]),(0,t.createElement)("td",{className:"yoast-table--nopadding"},(0,t.createElement)(Ye,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,l.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:i})),o&&(0,t.createElement)("td",{className:"yoast-table--nobreak"},o(a,r)))})))),(0,t.createElement)("p",{style:{marginBottom:0}},(0,t.createElement)(ko,{href:n},(0,l.sprintf)(/* translators: %s expands to Semrush */ +(0,l.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_o.propTypes={data:_().object,keyphrase:_().string,relatedKeyphrases:_().array,countryCode:_().string,renderAction:_().func},_o.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const xo=_o,To=(0,de.makeOutboundLink)(),So=()=>(0,t.createElement)(H.Alert,{type:"info"},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,l.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,t.createElement)(To,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ +(0,l.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),Ro=()=>(0,t.createElement)(H.Alert,{type:"error"},(0,l.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),Co=()=>(0,t.createElement)(H.Alert,{type:"warning"},(0,l.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,l.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function Io(e){const{response:r,lastRequestKeyphrase:s,keyphrase:a,newRequest:o,setCountry:n,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:u,setNoResultsFound:h,relatedKeyphrases:g,setRequestSucceeded:y,setRequestLimitReached:f}=e,w=M().isPremium;return(0,t.createElement)(i.Fragment,null,!p&&(0,t.createElement)(i.Fragment,null,!w&&(0,t.createElement)(So,null),w&&function(e){return e&&e.length>=4}(g)&&(0,t.createElement)(Co,null),(0,t.createElement)(Eo,{countryCode:d,setCountry:n,newRequest:o,keyphrase:a,setRequestFailed:u,setNoResultsFound:h,setRequestSucceeded:y,setRequestLimitReached:f,response:r,lastRequestKeyphrase:s})),function(e){const{isPending:r,requestLimitReached:s,isSuccess:a,response:o,requestHasData:n}=e;return r?(0,t.createElement)(ho,null):s?(0,t.createElement)(yo,null):!a&&function(e){return!(0,m.isEmpty)(e)&&"error"in e}(o)?(0,t.createElement)(Ro,null):n?void 0:(0,t.createElement)("p",null,(0,l.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,t.createElement)(xo,{keyphrase:a,relatedKeyphrases:g,countryCode:d,renderAction:c,data:r}))}Io.propTypes={keyphrase:_().string,relatedKeyphrases:_().array,renderAction:_().func,requestLimitReached:_().bool,countryCode:_().string.isRequired,setCountry:_().func.isRequired,newRequest:_().func.isRequired,setRequestSucceeded:_().func.isRequired,setRequestLimitReached:_().func.isRequired,setRequestFailed:_().func.isRequired,setNoResultsFound:_().func.isRequired,response:_().object,lastRequestKeyphrase:_().string},Io.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const Ao=(0,se.compose)([(0,o.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:r,getSEMrushRequestLimitReached:s,getSEMrushRequestResponse:a,getSEMrushRequestIsSuccess:o,getSEMrushIsRequestPending:n,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:r(),requestLimitReached:s(),response:a(),isSuccess:o(),isPending:n(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,o.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:r,setSEMrushRequestSucceeded:s,setSEMrushRequestFailed:a,setSEMrushSetRequestLimitReached:o,setSEMrushNoResultsFound:n}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{r(e,t)},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},setRequestLimitReached:()=>{o()},setNoResultsFound:()=>{n()}}}))])(Io),Po=()=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("p",null,br((0,l.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ +(0,l.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var Lo,Fo,Mo,Oo,qo,No,Do,$o,Bo,Wo,Uo,Ko,zo,Ho,Vo,jo,Yo,Go,Zo,Xo,Qo,Jo,en,tn,rn,sn,an,on,nn,ln,cn,dn,pn,un,mn,hn,gn,yn,fn,wn,bn,En,vn,kn,xn,Tn,Sn,Rn;function Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",Cn({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Lo||(Lo=t.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),Fo||(Fo=t.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),Mo||(Mo=t.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),Oo||(Oo=t.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),qo||(qo=t.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),No||(No=t.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),Do||(Do=t.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),$o||($o=t.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),Bo||(Bo=t.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),Wo||(Wo=t.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),Uo||(Uo=t.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),Ko||(Ko=t.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),zo||(zo=t.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Ho||(Ho=t.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),Vo||(Vo=t.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),jo||(jo=t.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Yo||(Yo=t.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),Go||(Go=t.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),Zo||(Zo=t.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),Xo||(Xo=t.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Qo||(Qo=t.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),Jo||(Jo=t.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),en||(en=t.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),tn||(tn=t.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),rn||(rn=t.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),sn||(sn=t.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),an||(an=t.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),on||(on=t.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),nn||(nn=t.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),ln||(ln=t.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),cn||(cn=t.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),dn||(dn=t.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),pn||(pn=t.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),un||(un=t.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),mn||(mn=t.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),hn||(hn=t.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),gn||(gn=t.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),yn||(yn=t.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),fn||(fn=t.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),wn||(wn=t.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),bn||(bn=t.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),En||(En=t.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),vn||(vn=t.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),kn||(kn=t.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),xn||(xn=t.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),Tn||(Tn=t.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),Sn||(Sn=t.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Rn||(Rn=t.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),An=e=>{const{closeModal:r}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,t.createElement)(In,{class:"yoast-wordproof-modal-svg__success"})),(0,t.createElement)("p",null,(0,l.sprintf)(/* Translators: %s translates to the Post type in singular form */ +(0,l.__)("Your %s is now protected via the blockchain!","wordpress-seo"),xs("current_post_type")),(0,t.createElement)("br",null),(0,i.createInterpolateElement)((0,l.sprintf)((0,l.__)( /** translators: * %1$s and %2$s are replaced by opening and closing tags. * %3$s translates to the Post type in singular form. */ -"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",Cs("current_post_type")),{b:(0,t.createElement)("b",null)})),(0,t.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,t.createElement)(H.NewButton,{variant:"primary",onClick:r},"Continue")))};Mn.propTypes={closeModal:_().func.isRequired};const On=Mn;var Nn;function qn(){return qn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",qn({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},e),Nn||(Nn=t.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},t.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),t.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),t.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),t.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),t.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),t.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),t.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),$n=e=>{const{closeModal:r}=e,s=(0,i.useCallback)((e=>{r(),e.preventDefault(),Ps()}));return(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,t.createElement)(Dn,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,t.createElement)("div",null,(0,l.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,t.createElement)("br",null),_r((0,l.sprintf)( +"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",xs("current_post_type")),{b:(0,t.createElement)("b",null)})),(0,t.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,t.createElement)(H.NewButton,{variant:"primary",onClick:r},"Continue")))};An.propTypes={closeModal:_().func.isRequired};const Pn=An;var Ln;function Fn(){return Fn=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",Fn({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},e),Ln||(Ln=t.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},t.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),t.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),t.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),t.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),t.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),t.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),t.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),On=e=>{const{closeModal:r}=e,s=(0,i.useCallback)((e=>{r(),e.preventDefault(),Rs()}));return(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,t.createElement)(Mn,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,t.createElement)("div",null,(0,l.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,t.createElement)("br",null),br((0,l.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,l.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,t.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,t.createElement)(H.NewButton,{variant:"secondary",onClick:s},(0,l.__)("Try again","wordpress-seo"))),(0,t.createElement)("div",null,_r((0,l.sprintf)( +(0,l.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,t.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,t.createElement)(H.NewButton,{variant:"secondary",onClick:s},(0,l.__)("Try again","wordpress-seo"))),(0,t.createElement)("div",null,br((0,l.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. %3$s expands to WordProof. -(0,l.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};$n.propTypes={closeModal:_().func.isRequired};const Bn=$n,Wn=()=>{const[e,r]=(0,i.useState)(null),s=(0,i.useCallback)((()=>{r("oauth:failed")})),a=(0,i.useCallback)((()=>{r("webhook:failed")})),o=(0,i.useCallback)((()=>{r("oauth:success")})),n=(0,i.useCallback)((()=>{r(null)}));(0,i.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",o,!1),window.addEventListener("wordproof:oauth:failed",s,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",o,!1),window.removeEventListener("wordproof:oauth:failed",s,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const c=(0,i.useCallback)((()=>{switch(e){case"webhook:failed":return(0,l.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,l.__)("Connected to WordProof","wordpress-seo");default:return(0,l.__)("WordProof authentication","wordpress-seo")}}));return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{onRequestClose:n,additionalClassName:"yoast-wordproof-modal",title:c()},"oauth:success"===e&&(0,t.createElement)(On,{closeModal:n}),"oauth:failed"===e&&(0,t.createElement)(Oo,null),"webhook:failed"===e&&(0,t.createElement)(Bn,{closeModal:n})))},Un=(0,l.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),Kn=e=>{const{locationContext:r}=(0,p.useRootContext)(),s=(0,es.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:r});return(0,t.createElement)(xs,{title:(0,l.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ms(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year of premium support and updates included!","wordpress-seo")})};Kn.propTypes={buyLink:_().string.isRequired,description:_().string},Kn.defaultProps={description:Un};const zn=Kn,Hn=({location:e})=>{const[r,s]=(0,i.useState)(!1),a=(0,i.useCallback)((()=>s(!1)),[]),o=(0,i.useCallback)((()=>s(!0)),[]),n=(0,z.useSvgAria)();return(0,t.createElement)(i.Fragment,null,r&&(0,t.createElement)(ge,{title:(0,l.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(zn,{buyLink:`shortlinks.upsell.${e}.premium_seo_analysis_button`}))),"sidebar"===e&&(0,t.createElement)(ve,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,l.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:V.colors.$color_grey},onClick:o},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===e&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:o},(0,t.createElement)(H.SvgIcon,{icon:"seo-score-none",color:V.colors.$color_grey}),(0,t.createElement)(ce.Text,null,(0,l.__)("Premium SEO analysis","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,t.createElement)("span",null,"Premium")))))};Hn.propTypes={location:_().string},Hn.defaultProps={location:"sidebar"};const Vn=Hn,jn=e=>(0,t.createElement)(xs,{title:(0,l.__)("Reach a wider audience","wordpress-seo"),description:(0,l.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ms(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year free support and updates included!","wordpress-seo")});jn.propTypes={buyLink:_().string.isRequired};const Yn=jn,Gn=()=>{const[e,,,r,s]=(0,z.useToggleState)(!1),a=(0,i.useContext)(p.LocationContext),{locationContext:o}=(0,p.useRootContext)(),n=(0,z.useSvgAria)(),c=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{title:(0,l.__)("Add related keyphrases","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(Yn,{buyLink:(0,es.addQueryArgs)(c,{context:o})}))),"sidebar"===a&&(0,t.createElement)(ve,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,l.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:V.colors.$color_grey_medium_dark},onClick:r},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===a&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:r},(0,t.createElement)(H.SvgIcon,{icon:"plus",color:V.colors.$color_grey_medium_dark}),(0,t.createElement)(ce.Text,null,(0,l.__)("Add related keyphrase","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(us,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,t.createElement)("span",null,"Premium")))))};var Zn,Xn,Qn,Jn,ei,ti,ri,si,ai,oi,ni,ii,li,ci,di,pi,ui,mi,hi,gi,yi,fi,wi,bi,Ei,vi,ki,_i,xi,Ti,Si,Ri,Ci,Ii,Ai,Pi,Li,Fi,Mi,Oi,Ni,qi,Di,$i,Bi,Wi,Ui;function Ki(){return Ki=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",Ki({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Zn||(Zn=t.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),Xn||(Xn=t.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),Qn||(Qn=t.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),Jn||(Jn=t.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),ei||(ei=t.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),ti||(ti=t.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),ri||(ri=t.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),si||(si=t.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),ai||(ai=t.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),oi||(oi=t.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),ni||(ni=t.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),ii||(ii=t.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),li||(li=t.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),ci||(ci=t.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),di||(di=t.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),pi||(pi=t.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),ui||(ui=t.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),mi||(mi=t.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),hi||(hi=t.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),gi||(gi=t.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),yi||(yi=t.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),fi||(fi=t.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),wi||(wi=t.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),bi||(bi=t.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Ei||(Ei=t.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),vi||(vi=t.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),ki||(ki=t.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),_i||(_i=t.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),xi||(xi=t.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Ti||(Ti=t.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Si||(Si=t.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Ri||(Ri=t.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Ci||(Ci=t.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Ii||(Ii=t.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Ai||(Ai=t.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Pi||(Pi=t.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Li||(Li=t.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Fi||(Fi=t.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Mi||(Mi=t.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Oi||(Oi=t.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Ni||(Ni=t.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),qi||(qi=t.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Di||(Di=t.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),$i||($i=t.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),Bi||(Bi=t.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Wi||(Wi=t.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Ui||(Ui=t.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Hi=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{isAlertDismissed:r}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:r(t.alertKey)}})),(0,o.withDispatch)(((e,t)=>{const{dismissAlert:r}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>r(t.alertKey)}}))]),Vi=({children:e,id:r,hasIcon:s=!0,title:a,image:o=null,isAlertDismissed:n,onDismissed:i})=>n?null:(0,t.createElement)("div",{id:r,className:"notice-yoast yoast is-dismissible"},(0,t.createElement)("div",{className:"notice-yoast__container"},(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"notice-yoast__header"},s&&(0,t.createElement)("span",{className:"yoast-icon"}),(0,t.createElement)("h2",{className:"notice-yoast__header-heading"},a)),(0,t.createElement)("p",null,e)),o&&(0,t.createElement)(o,{height:"60"})),(0,t.createElement)("button",{type:"button",className:"notice-dismiss",onClick:i},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("Dismiss this notice.","wordpress-seo"))));Vi.propTypes={children:_().node.isRequired,id:_().string.isRequired,hasIcon:_().bool,title:_().any.isRequired,image:_().elementType,isAlertDismissed:_().bool.isRequired,onDismissed:_().func.isRequired};const ji=Hi(Vi),Yi=({store:e="yoast-seo/editor",image:r=null,title:s,promoId:a,alertKey:n,children:i,...l})=>(0,o.select)(e).isPromotionActive(a)&&(0,t.createElement)(ji,{alertKey:n,store:e,id:n,title:s,image:r,...l},i);Yi.propTypes={store:_().string,image:_().elementType,title:_().any.isRequired,promoId:_().string.isRequired,alertKey:_().string.isRequired,children:_().node};const Gi=({store:e="yoast-seo/editor",location:r="sidebar",...s})=>{const a=(0,o.useSelect)((t=>t(e).getIsPremium()),[e]),n=(0,o.useSelect)((t=>t(e).selectLinkParams()),[e]),c="sidebar"===r?(0,l.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ +(0,l.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};On.propTypes={closeModal:_().func.isRequired};const qn=On,Nn=()=>{const[e,r]=(0,i.useState)(null),s=(0,i.useCallback)((()=>{r("oauth:failed")})),a=(0,i.useCallback)((()=>{r("webhook:failed")})),o=(0,i.useCallback)((()=>{r("oauth:success")})),n=(0,i.useCallback)((()=>{r(null)}));(0,i.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",o,!1),window.addEventListener("wordproof:oauth:failed",s,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",o,!1),window.removeEventListener("wordproof:oauth:failed",s,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const c=(0,i.useCallback)((()=>{switch(e){case"webhook:failed":return(0,l.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,l.__)("Connected to WordProof","wordpress-seo");default:return(0,l.__)("WordProof authentication","wordpress-seo")}}));return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{onRequestClose:n,additionalClassName:"yoast-wordproof-modal",title:c()},"oauth:success"===e&&(0,t.createElement)(Pn,{closeModal:n}),"oauth:failed"===e&&(0,t.createElement)(Po,null),"webhook:failed"===e&&(0,t.createElement)(qn,{closeModal:n})))},Dn=(0,l.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),$n=e=>{const{locationContext:r}=(0,p.useRootContext)(),s=(0,Zr.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:r});return(0,t.createElement)(Es,{title:(0,l.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:cs(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year of premium support and updates included!","wordpress-seo")})};$n.propTypes={buyLink:_().string.isRequired,description:_().string},$n.defaultProps={description:Dn};const Bn=$n,Wn=({location:e})=>{const[r,s]=(0,i.useState)(!1),a=(0,i.useCallback)((()=>s(!1)),[]),o=(0,i.useCallback)((()=>s(!0)),[]),n=(0,z.useSvgAria)();return(0,t.createElement)(i.Fragment,null,r&&(0,t.createElement)(ge,{title:(0,l.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(Bn,{buyLink:`shortlinks.upsell.${e}.premium_seo_analysis_button`}))),"sidebar"===e&&(0,t.createElement)(ve,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,l.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:V.colors.$color_grey},onClick:o},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===e&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:o},(0,t.createElement)(H.SvgIcon,{icon:"seo-score-none",color:V.colors.$color_grey}),(0,t.createElement)(ce.Text,null,(0,l.__)("Premium SEO analysis","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,t.createElement)("span",null,"Premium")))))};Wn.propTypes={location:_().string},Wn.defaultProps={location:"sidebar"};const Un=Wn,Kn=e=>(0,t.createElement)(Es,{title:(0,l.__)("Reach a wider audience","wordpress-seo"),description:(0,l.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,l.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:cs(),upsellButtonText:(0,l.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,l.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,l.__)("1 year free support and updates included!","wordpress-seo")});Kn.propTypes={buyLink:_().string.isRequired};const zn=Kn,Hn=()=>{const[e,,,r,s]=(0,z.useToggleState)(!1),a=(0,i.useContext)(p.LocationContext),{locationContext:o}=(0,p.useRootContext)(),n=(0,z.useSvgAria)(),c=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,t.createElement)(t.Fragment,null,e&&(0,t.createElement)(ge,{title:(0,l.__)("Add related keyphrases","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${me} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,t.createElement)(ue,null,(0,t.createElement)(zn,{buyLink:(0,Zr.addQueryArgs)(c,{context:o})}))),"sidebar"===a&&(0,t.createElement)(ve,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,l.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:V.colors.$color_grey_medium_dark},onClick:r},(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===a&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(ce,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:r},(0,t.createElement)(H.SvgIcon,{icon:"plus",color:V.colors.$color_grey_medium_dark}),(0,t.createElement)(ce.Text,null,(0,l.__)("Add related keyphrase","wordpress-seo")),(0,t.createElement)(z.Badge,{size:"small",variant:"upsell"},(0,t.createElement)(ls,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,t.createElement)("span",null,"Premium")))))};var Vn,jn,Yn,Gn,Zn,Xn,Qn,Jn,ei,ti,ri,si,ai,oi,ni,ii,li,ci,di,pi,ui,mi,hi,gi,yi,fi,wi,bi,Ei,vi,ki,_i,xi,Ti,Si,Ri,Ci,Ii,Ai,Pi,Li,Fi,Mi,Oi,qi,Ni,Di;function $i(){return $i=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",$i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Vn||(Vn=t.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),jn||(jn=t.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),Yn||(Yn=t.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),Gn||(Gn=t.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),Zn||(Zn=t.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),Xn||(Xn=t.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),Qn||(Qn=t.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),Jn||(Jn=t.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),ei||(ei=t.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),ti||(ti=t.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),ri||(ri=t.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),si||(si=t.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),ai||(ai=t.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),oi||(oi=t.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),ni||(ni=t.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),ii||(ii=t.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),li||(li=t.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),ci||(ci=t.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),di||(di=t.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),pi||(pi=t.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),ui||(ui=t.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),mi||(mi=t.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),hi||(hi=t.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),gi||(gi=t.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),yi||(yi=t.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),fi||(fi=t.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),wi||(wi=t.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),bi||(bi=t.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Ei||(Ei=t.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),vi||(vi=t.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),ki||(ki=t.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),_i||(_i=t.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),xi||(xi=t.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Ti||(Ti=t.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Si||(Si=t.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Ri||(Ri=t.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Ci||(Ci=t.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Ii||(Ii=t.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Ai||(Ai=t.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Pi||(Pi=t.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Li||(Li=t.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Fi||(Fi=t.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Mi||(Mi=t.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Oi||(Oi=t.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),qi||(qi=t.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Ni||(Ni=t.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Di||(Di=t.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Wi=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{isAlertDismissed:r}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:r(t.alertKey)}})),(0,o.withDispatch)(((e,t)=>{const{dismissAlert:r}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>r(t.alertKey)}}))]),Ui=({children:e,id:r,hasIcon:s=!0,title:a,image:o=null,isAlertDismissed:n,onDismissed:i})=>n?null:(0,t.createElement)("div",{id:r,className:"notice-yoast yoast is-dismissible"},(0,t.createElement)("div",{className:"notice-yoast__container"},(0,t.createElement)("div",null,(0,t.createElement)("div",{className:"notice-yoast__header"},s&&(0,t.createElement)("span",{className:"yoast-icon"}),(0,t.createElement)("h2",{className:"notice-yoast__header-heading"},a)),(0,t.createElement)("p",null,e)),o&&(0,t.createElement)(o,{height:"60"})),(0,t.createElement)("button",{type:"button",className:"notice-dismiss",onClick:i},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("Dismiss this notice.","wordpress-seo"))));Ui.propTypes={children:_().node.isRequired,id:_().string.isRequired,hasIcon:_().bool,title:_().any.isRequired,image:_().elementType,isAlertDismissed:_().bool.isRequired,onDismissed:_().func.isRequired};const Ki=Wi(Ui),zi=({store:e="yoast-seo/editor",image:r=null,title:s,promoId:a,alertKey:n,children:i,...l})=>(0,o.select)(e).isPromotionActive(a)&&(0,t.createElement)(Ki,{alertKey:n,store:e,id:n,title:s,image:r,...l},i);zi.propTypes={store:_().string,image:_().elementType,title:_().any.isRequired,promoId:_().string.isRequired,alertKey:_().string.isRequired,children:_().node};const Hi=({store:e="yoast-seo/editor",location:r="sidebar",...s})=>{const a=(0,o.useSelect)((t=>t(e).getIsPremium()),[e]),n=(0,o.useSelect)((t=>t(e).selectLinkParams()),[e]),c="sidebar"===r?(0,l.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ (0,l.__)("BLACK FRIDAY SALE: %1$s","wordpress-seo"),"YOAST SEO PREMIUM"):(0,i.createInterpolateElement)((0,l.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ -(0,l.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,t.createElement)("a",{href:(0,es.addQueryArgs)("https://yoa.st/black-friday-sale",n),target:"_blank",rel:"noreferrer"})});return a?null:(0,t.createElement)(Yi,{id:`black-friday-2023-promotion-${r}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:e,title:c,image:Image,...s},(0,t.createElement)("span",{className:"yoast-bf-sale-badge"},(0,l.__)("30% OFF!","wordpress-seo")," "),"sidebar"===r&&(0,t.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,es.addQueryArgs)("https://yoa.st/black-friday-sale",n),target:"_blank",rel:"noreferrer"},(0,l.__)("Buy now!","wordpress-seo")))};Gi.propTypes={store:_().string,location:_().oneOf(["sidebar","metabox"])};const Zi=()=>window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive,Xi=e=>r=>!(()=>{var e,t;const r=(0,o.select)("yoast-seo/editor").getIsPremium(),s=(0,o.select)("yoast-seo/editor").getWarningMessage();return(r&&null!==(e=null===(t=(0,o.select)("yoast-seo-premium/editor"))||void 0===t?void 0:t.getMetaboxWarning())&&void 0!==e?e:[]).length>0||s.length>0})()&&(0,t.createElement)(e,{...r}),Qi=Xi((()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLinkParams()),[]),r=(0,l.sprintf)(/* translators: %1$s expands to 'WooCommerce'. */ -(0,l.__)("Is your %1$s store ready for Black Friday?","wordpress-seo"),"WooCommerce");return(0,t.createElement)(Yi,{id:"black-friday-2023-product-editor-checklist",alertKey:"black-friday-2023-product-editor-checklist",promoId:"black-friday-2023-checklist",store:"yoast-seo/editor",title:r,image:zi},(0,i.createInterpolateElement)((0,l.sprintf)(/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ -(0,l.__)("The Yoast %1$sultimate Black Friday checklist%2$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"",""),{strong:(0,t.createElement)("strong",null)})," ",(0,t.createElement)("a",{href:(0,es.addQueryArgs)("https://yoa.st/black-friday-checklist",e),target:"_blank",rel:"noreferrer"},(0,l.__)("Get the checklist and start optimizing now!","wordpress-seo")))})),Ji=Xi(Gi);function el({settings:e}){const r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsTerm()),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsProduct()),[])&&Zi();return(0,t.createElement)(i.Fragment,null,Is()&&(0,t.createElement)(Wn,null),(0,t.createElement)(B.Fill,{name:"YoastMetabox"},(0,t.createElement)(Rs,{key:"warning",renderPriority:1},(0,t.createElement)(Mr,null)),(0,t.createElement)(Rs,{key:"time-constrained-notification",renderPriority:2},s&&(0,t.createElement)(Qi,null),(0,t.createElement)(Ji,{image:null,hasIcon:!1,location:"metabox"})),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"keyword-input",renderPriority:8},(0,t.createElement)(ur.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,t.createElement)(B.Fill,{name:"YoastRelatedKeyphrases"},(0,t.createElement)(Mo,null))),(0,t.createElement)(Rs,{key:"search-appearance",renderPriority:9},(0,t.createElement)(qr,{id:"yoast-snippet-editor-metabox",title:(0,l.__)("Search appearance","wordpress-seo"),initialIsOpen:!0},(0,t.createElement)(Fr,{hasPaperStyle:!1}))),e.isContentAnalysisActive&&(0,t.createElement)(Rs,{key:"readability-analysis",renderPriority:10},(0,t.createElement)(ur.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"seo-analysis",renderPriority:20},(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ur.SeoAnalysis,{shouldUpsell:e.shouldUpsell,shouldUpsellWordFormRecognition:e.isWordFormRecognitionActive}),e.shouldUpsell&&(0,t.createElement)(Vn,{location:"metabox"}))),e.isInclusiveLanguageAnalysisActive&&(0,t.createElement)(Rs,{key:"inclusive-language-analysis",renderPriority:21},(0,t.createElement)(ur.InclusiveLanguageAnalysis,null)),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"additional-keywords-upsell",renderPriority:22},e.shouldUpsell&&(0,t.createElement)(Gn,null)),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,t.createElement)(Rs,{key:"wincher-seo-performance",renderPriority:23},(0,t.createElement)(pr,{location:"metabox"})),e.shouldUpsell&&!r&&(0,t.createElement)(Rs,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,t.createElement)(Ts,null)),e.isCornerstoneActive&&(0,t.createElement)(Rs,{key:"cornerstone",renderPriority:30},(0,t.createElement)(hr,null)),e.displayAdvancedTab&&(0,t.createElement)(Rs,{key:"advanced",renderPriority:40},(0,t.createElement)(qr,{id:"collapsible-advanced-settings",title:(0,l.__)("Advanced","wordpress-seo")},(0,t.createElement)(zs,null))),e.displaySchemaSettings&&(0,t.createElement)(Rs,{key:"schema",renderPriority:50},(0,t.createElement)(fo,null)),(0,t.createElement)(Rs,{key:"social",renderPriority:-1},(0,t.createElement)(so,{target:"wpseo-section-social"})),e.isInsightsEnabled&&(0,t.createElement)(Rs,{key:"insights",renderPriority:52},(0,t.createElement)(ps,{location:"metabox"}))))}el.propTypes={settings:_().object.isRequired};const tl=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{getPreferences:r}=e("yoast-seo/editor");return{settings:r(),store:t.store}}))])(el);function rl({target:e,store:r,theme:s}){return(0,t.createElement)(G,{target:e},(0,t.createElement)(re,{store:r,theme:s}),(0,t.createElement)(tl,{store:r,theme:s}))}rl.propTypes={target:_().string.isRequired,store:_().object,theme:_().object};const sl=({error:e})=>{const r=(0,i.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/sidebar-error-support")),[]),a=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,t.createElement)(z.Root,{context:{isRtl:a}},(0,t.createElement)(ee,{error:e},(0,t.createElement)(ee.VerticalButtons,{supportLink:s,handleRefreshClick:r})))};function al({theme:e}){return(0,t.createElement)(K,{theme:e,location:"sidebar"},(0,t.createElement)(z.ErrorBoundary,{FallbackComponent:sl},(0,t.createElement)(B.Slot,{name:"YoastSidebar"},(e=>W(e)))))}function ol({score:e,label:r,scoreValue:s}){return(0,t.createElement)("div",{className:"yoast-analysis-check"},(0,t.createElement)(H.SvgIcon,{...Y(e)}),(0,t.createElement)("span",null," ",r," ",s&&(0,t.createElement)("strong",null,s)))}function nl({checklist:e,onClick:r}){const s=e.every((e=>"good"===e.score));return(0,t.createElement)(i.Fragment,null,e.map((e=>(0,t.createElement)(ol,{key:e.label,...e}))),(0,t.createElement)("br",null),!s&&(0,t.createElement)(H.Button,{onClick:r},(0,l.__)("Improve your post with Yoast SEO","wordpress-seo")))}function il(e){return(0,m.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,l.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,l.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,l.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,l.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(j.interpreters.scoreToRating(e))}function ll(e,t){const{isKeywordAnalysisActive:r}=t.getPreferences();if(r){const r=il(t.getReadabilityResults().overallScore);e.push({label:(0,l.__)("Readability analysis:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderReadabilityText})}}function cl(e,t){const{isContentAnalysisActive:r}=t.getPreferences();if(r){const r=il(t.getResultsForFocusKeyword().overallScore),s=M().isPremium;e.push({label:s?(0,l.__)("Premium SEO analysis:","wordpress-seo"):(0,l.__)("SEO analysis:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderReadabilityText})}}function dl(e,t){const{isInclusiveLanguageAnalysisActive:r}=t.getPreferences();if(r){const r=il(t.getInclusiveLanguageResults().overallScore);e.push({label:(0,l.__)("Inclusive language:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderInclusiveLanguageText})}}sl.propTypes={error:_().object.isRequired},ol.propTypes={score:k.string.isRequired,label:k.string.isRequired,scoreValue:k.string},ol.defaultProps={scoreValue:""},nl.propTypes={checklist:_().array.isRequired,onClick:_().func.isRequired};const pl=(0,se.compose)([(0,o.withSelect)((function(e){const t=e("yoast-seo/editor"),r=[];return ll(r,t),cl(r,t),dl(r,t),r.push(...Object.values(t.getChecklistItems())),{checklist:r}})),(0,o.withDispatch)((function(e){const{openGeneralSidebar:t}=e("core/edit-post");return{onClick:()=>{t("yoast-seo/seo-sidebar")}}}))])(nl),ul=(0,se.compose)([(0,o.withSelect)((e=>{const t=e("yoast-seo/editor"),r=il(t.getResultsForFocusKeyword().overallScore),s=il(t.getReadabilityResults().overallScore),{isKeywordAnalysisActive:a,isContentAnalysisActive:o}=t.getPreferences();let n,i;switch(s.className){case"good":n=V.colors.$color_good;break;case"ok":n=V.colors.$color_ok;break;default:n=V.colors.$color_bad}switch(r.className){case"good":i=V.colors.$color_good;break;case"ok":i=V.colors.$color_ok;break;default:i=V.colors.$color_bad}return{readabilityScoreColor:n,seoScoreColor:i,isKeywordAnalysisActive:a,isContentAnalysisActive:o}}))])($);var ml;function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",hl({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1600 1600"},e),ml||(ml=t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790"}),t.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z"}))));var yl;function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",fl({xmlns:"http://www.w3.org/2000/svg",fill:"current",viewBox:"0 0 1200 1227"},e),yl||(yl=t.createElement("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})));function bl({permalink:e}){const r=encodeURI(e);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("div",null,(0,l.__)("Share your post!","wordpress-seo")),(0,t.createElement)("ul",{className:"yoast-seo-social-share-buttons"},(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+r,target:"_blank",rel:"noopener noreferrer"},(0,t.createElement)(gl,null),(0,l.__)("Facebook","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("(Opens in a new browser tab)","wordpress-seo")))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://twitter.com/share?url="+r,target:"_blank",rel:"noopener noreferrer",className:"x-share"},(0,t.createElement)(wl,null),(0,l.__)("X","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("(Opens in a new browser tab)","wordpress-seo"))))))}bl.propTypes={permalink:_().string.isRequired};const El=(0,se.compose)([(0,o.withSelect)((e=>({permalink:e("core/editor").getPermalink()})))])(bl);function vl({checklist:e,onClick:r}){let s;return s=e.every((e=>"good"===e.score))?(0,l.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):(0,l.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),(0,t.createElement)(i.Fragment,null,(0,t.createElement)("p",null,s),(0,t.createElement)(nl,{checklist:e,onClick:r}))}vl.propTypes={checklist:_().array.isRequired,onClick:_().func.isRequired};const kl=(0,se.compose)([(0,o.withSelect)((function(e){const t=e("yoast-seo/editor"),r=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:(0,l.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(r,t),ll(r,t),cl(r,t),dl(r,t),r.push(...Object.values(t.getChecklistItems())),{checklist:r}})),(0,o.withDispatch)((function(e){const{closePublishSidebar:t,openGeneralSidebar:r}=e("core/edit-post");return{onClick:()=>{t(),r("yoast-seo/seo-sidebar")}}}))])(vl),_l=({store:e="yoast-seo/editor",...r})=>{const s=(0,o.useSelect)((t=>t(e).selectLinkParams()),[e]),a=(0,i.createInterpolateElement)((0,l.sprintf)(/* translators: %1$s expands to Yoast, %2$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ -(0,l.__)("The %1$s %2$sultimate Black Friday checklist%3$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"Yoast","",""),{strong:(0,t.createElement)("strong",null)});return(0,t.createElement)(Yi,{id:"black-friday-2023-sidebar-checklist",promoId:"black-friday-2023-checklist",alertKey:"black-friday-2023-sidebar-checklist",store:e,title:(0,l.__)("Is your WooCommerce store ready for Black Friday?","wordpress-seo"),...r},a," ",(0,t.createElement)("a",{href:(0,es.addQueryArgs)("https://yoa.st/black-friday-checklist",s),target:"_blank",rel:"noreferrer"},(0,l.__)("Get the checklist and start optimizing now!","wordpress-seo")))};_l.propTypes={store:_().string};const xl="trustpilot-review-notification",Tl="yoast-seo/editor",Sl=()=>{const e=(0,o.useSelect)((e=>e(Tl).getIsPremium()),[]),t=(0,o.useSelect)((e=>e(Tl).isAlertDismissed(xl)),[]),{overallScore:r}=(0,o.useSelect)((e=>e(Tl).getResultsForFocusKeyword()),[]),{dismissAlert:s}=(0,o.useDispatch)(Tl),a=(0,i.useCallback)((()=>s(xl)),[s]),[n,l]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{var e;"good"===(null===(e=il(r))||void 0===e?void 0:e.className)&&l(!0)}),[r]),{shouldShow:!e&&!t&&n,dismiss:a}},Rl=(0,de.makeOutboundLink)(),Cl=()=>{const{shouldShow:e,dismiss:r}=Sl(),{locationContext:s}=(0,p.useRootContext)(),a=(0,o.useSelect)((e=>e(Tl).selectLink("https://yoa.st/trustpilot-review",{context:s})),[s]);return(0,t.createElement)(Vi,{alertKey:xl,store:Tl,id:xl,title:(0,l.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:r},(0,l.__)("Happy with the plugin?","wordpress-seo")," ",(0,t.createElement)(Rl,{href:a,rel:"noopener noreferrer"},(0,l.__)("Leave a quick review","wordpress-seo")),".")},Il=({store:e="yoast-seo/editor",image:r=zi,url:s,...a})=>(0,o.useSelect)((t=>t(e).getIsPremium()))?null:(0,t.createElement)(ji,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,l.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:r,url:s,...a},(0,l.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,t.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},(0,l.__)("Sign up today!","wordpress-seo")));Il.propTypes={store:_().string,image:_().elementType,url:_().string.isRequired};const Al=Il,Pl=(e="yoast-seo/editor")=>{const t=(0,o.select)(e).isPromotionActive("black-friday-2023-promotion"),r=(0,o.select)(e).isAlertDismissed("black-friday-2023-promotion");return t?r:((e="yoast-seo/editor")=>{const t=(0,o.select)(e).isPromotionActive("black-friday-2023-checklist"),r=(0,o.select)(e).isAlertDismissed("black-friday-2023-sidebar-checklist");return!t||r})(e)},Ll=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),Fl=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{getPostOrPageString:r,getIsModalOpen:s}=e("yoast-seo/editor");return{postTypeName:r(),isOpen:s(t.id)}})),(0,o.withDispatch)(((e,t)=>{const{openEditorModal:r,closeEditorModal:s}=e("yoast-seo/editor");return{open:()=>r(t.id),close:s}}))])(xe),Ml=N()(Ll)` +(0,l.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,t.createElement)("a",{href:(0,Zr.addQueryArgs)("https://yoa.st/black-friday-sale",n),target:"_blank",rel:"noreferrer"})});return a?null:(0,t.createElement)(zi,{id:`black-friday-2023-promotion-${r}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:e,title:c,image:Image,...s},(0,t.createElement)("span",{className:"yoast-bf-sale-badge"},(0,l.__)("30% OFF!","wordpress-seo")," "),"sidebar"===r&&(0,t.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,Zr.addQueryArgs)("https://yoa.st/black-friday-sale",n),target:"_blank",rel:"noreferrer"},(0,l.__)("Buy now!","wordpress-seo")))};Hi.propTypes={store:_().string,location:_().oneOf(["sidebar","metabox"])};const Vi=()=>window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive,ji=e=>r=>!(()=>{var e,t;const r=(0,o.select)("yoast-seo/editor").getIsPremium(),s=(0,o.select)("yoast-seo/editor").getWarningMessage();return(r&&null!==(e=null===(t=(0,o.select)("yoast-seo-premium/editor"))||void 0===t?void 0:t.getMetaboxWarning())&&void 0!==e?e:[]).length>0||s.length>0})()&&(0,t.createElement)(e,{...r}),Yi=ji((()=>{const e=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLinkParams()),[]),r=(0,l.sprintf)(/* translators: %1$s expands to 'WooCommerce'. */ +(0,l.__)("Is your %1$s store ready for Black Friday?","wordpress-seo"),"WooCommerce");return(0,t.createElement)(zi,{id:"black-friday-2023-product-editor-checklist",alertKey:"black-friday-2023-product-editor-checklist",promoId:"black-friday-2023-checklist",store:"yoast-seo/editor",title:r,image:Bi},(0,i.createInterpolateElement)((0,l.sprintf)(/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ +(0,l.__)("The Yoast %1$sultimate Black Friday checklist%2$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"",""),{strong:(0,t.createElement)("strong",null)})," ",(0,t.createElement)("a",{href:(0,Zr.addQueryArgs)("https://yoa.st/black-friday-checklist",e),target:"_blank",rel:"noreferrer"},(0,l.__)("Get the checklist and start optimizing now!","wordpress-seo")))})),Gi=ji(Hi);function Zi({settings:e}){const r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsTerm()),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsProduct()),[])&&Vi();return(0,t.createElement)(i.Fragment,null,Ts()&&(0,t.createElement)(Nn,null),(0,t.createElement)(B.Fill,{name:"YoastMetabox"},(0,t.createElement)(_s,{key:"warning",renderPriority:1},(0,t.createElement)(Ar,null)),(0,t.createElement)(_s,{key:"time-constrained-notification",renderPriority:2},s&&(0,t.createElement)(Yi,null),(0,t.createElement)(Gi,{image:null,hasIcon:!1,location:"metabox"})),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"keyword-input",renderPriority:8},(0,t.createElement)(lr.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,t.createElement)(B.Fill,{name:"YoastRelatedKeyphrases"},(0,t.createElement)(Ao,null))),(0,t.createElement)(_s,{key:"search-appearance",renderPriority:9},(0,t.createElement)(Fr,{id:"yoast-snippet-editor-metabox",title:(0,l.__)("Search appearance","wordpress-seo"),initialIsOpen:!0},(0,t.createElement)(Ir,{hasPaperStyle:!1}))),e.isContentAnalysisActive&&(0,t.createElement)(_s,{key:"readability-analysis",renderPriority:10},(0,t.createElement)(lr.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"seo-analysis",renderPriority:20},(0,t.createElement)(i.Fragment,null,(0,t.createElement)(lr.SeoAnalysis,{shouldUpsell:e.shouldUpsell,shouldUpsellWordFormRecognition:e.isWordFormRecognitionActive}),e.shouldUpsell&&(0,t.createElement)(Un,{location:"metabox"}))),e.isInclusiveLanguageAnalysisActive&&(0,t.createElement)(_s,{key:"inclusive-language-analysis",renderPriority:21},(0,t.createElement)(lr.InclusiveLanguageAnalysis,null)),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"additional-keywords-upsell",renderPriority:22},e.shouldUpsell&&(0,t.createElement)(Hn,null)),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,t.createElement)(_s,{key:"wincher-seo-performance",renderPriority:23},(0,t.createElement)(ir,{location:"metabox"})),e.shouldUpsell&&!r&&(0,t.createElement)(_s,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,t.createElement)(vs,null)),e.isCornerstoneActive&&(0,t.createElement)(_s,{key:"cornerstone",renderPriority:30},(0,t.createElement)(dr,null)),e.displayAdvancedTab&&(0,t.createElement)(_s,{key:"advanced",renderPriority:40},(0,t.createElement)(Fr,{id:"collapsible-advanced-settings",title:(0,l.__)("Advanced","wordpress-seo")},(0,t.createElement)(Bs,null))),e.displaySchemaSettings&&(0,t.createElement)(_s,{key:"schema",renderPriority:50},(0,t.createElement)(mo,null)),(0,t.createElement)(_s,{key:"social",renderPriority:-1},(0,t.createElement)(Ja,{target:"wpseo-section-social"})),e.isInsightsEnabled&&(0,t.createElement)(_s,{key:"insights",renderPriority:52},(0,t.createElement)(is,{location:"metabox"}))))}Zi.propTypes={settings:_().object.isRequired};const Xi=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{getPreferences:r}=e("yoast-seo/editor");return{settings:r(),store:t.store}}))])(Zi);function Qi({target:e,store:r,theme:s}){return(0,t.createElement)(G,{target:e},(0,t.createElement)(re,{store:r,theme:s}),(0,t.createElement)(Xi,{store:r,theme:s}))}Qi.propTypes={target:_().string.isRequired,store:_().object,theme:_().object};const Ji=({error:e})=>{const r=(0,i.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/sidebar-error-support")),[]),a=(0,o.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,t.createElement)(z.Root,{context:{isRtl:a}},(0,t.createElement)(ee,{error:e},(0,t.createElement)(ee.VerticalButtons,{supportLink:s,handleRefreshClick:r})))};function el({theme:e}){return(0,t.createElement)(K,{theme:e,location:"sidebar"},(0,t.createElement)(z.ErrorBoundary,{FallbackComponent:Ji},(0,t.createElement)(B.Slot,{name:"YoastSidebar"},(e=>W(e)))))}function tl({score:e,label:r,scoreValue:s}){return(0,t.createElement)("div",{className:"yoast-analysis-check"},(0,t.createElement)(H.SvgIcon,{...Y(e)}),(0,t.createElement)("span",null," ",r," ",s&&(0,t.createElement)("strong",null,s)))}function rl({checklist:e,onClick:r}){const s=e.every((e=>"good"===e.score));return(0,t.createElement)(i.Fragment,null,e.map((e=>(0,t.createElement)(tl,{key:e.label,...e}))),(0,t.createElement)("br",null),!s&&(0,t.createElement)(H.Button,{onClick:r},(0,l.__)("Improve your post with Yoast SEO","wordpress-seo")))}function sl(e){return(0,m.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,l.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,l.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,l.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,l.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,l.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,l.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(j.interpreters.scoreToRating(e))}function al(e,t){const{isKeywordAnalysisActive:r}=t.getPreferences();if(r){const r=sl(t.getReadabilityResults().overallScore);e.push({label:(0,l.__)("Readability analysis:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderReadabilityText})}}function ol(e,t){const{isContentAnalysisActive:r}=t.getPreferences();if(r){const r=sl(t.getResultsForFocusKeyword().overallScore),s=M().isPremium;e.push({label:s?(0,l.__)("Premium SEO analysis:","wordpress-seo"):(0,l.__)("SEO analysis:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderReadabilityText})}}function nl(e,t){const{isInclusiveLanguageAnalysisActive:r}=t.getPreferences();if(r){const r=sl(t.getInclusiveLanguageResults().overallScore);e.push({label:(0,l.__)("Inclusive language:","wordpress-seo"),score:r.className,scoreValue:r.screenReaderInclusiveLanguageText})}}Ji.propTypes={error:_().object.isRequired},tl.propTypes={score:k.string.isRequired,label:k.string.isRequired,scoreValue:k.string},tl.defaultProps={scoreValue:""},rl.propTypes={checklist:_().array.isRequired,onClick:_().func.isRequired};const il=(0,se.compose)([(0,o.withSelect)((function(e){const t=e("yoast-seo/editor"),r=[];return al(r,t),ol(r,t),nl(r,t),r.push(...Object.values(t.getChecklistItems())),{checklist:r}})),(0,o.withDispatch)((function(e){const{openGeneralSidebar:t}=e("core/edit-post");return{onClick:()=>{t("yoast-seo/seo-sidebar")}}}))])(rl),ll=(0,se.compose)([(0,o.withSelect)((e=>{const t=e("yoast-seo/editor"),r=sl(t.getResultsForFocusKeyword().overallScore),s=sl(t.getReadabilityResults().overallScore),{isKeywordAnalysisActive:a,isContentAnalysisActive:o}=t.getPreferences();let n,i;switch(s.className){case"good":n=V.colors.$color_good;break;case"ok":n=V.colors.$color_ok;break;default:n=V.colors.$color_bad}switch(r.className){case"good":i=V.colors.$color_good;break;case"ok":i=V.colors.$color_ok;break;default:i=V.colors.$color_bad}return{readabilityScoreColor:n,seoScoreColor:i,isKeywordAnalysisActive:a,isContentAnalysisActive:o}}))])($);var cl;function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",dl({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1600 1600"},e),cl||(cl=t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790"}),t.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z"}))));var ul;function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",ml({xmlns:"http://www.w3.org/2000/svg",fill:"current",viewBox:"0 0 1200 1227"},e),ul||(ul=t.createElement("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})));function gl({permalink:e}){const r=encodeURI(e);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)("div",null,(0,l.__)("Share your post!","wordpress-seo")),(0,t.createElement)("ul",{className:"yoast-seo-social-share-buttons"},(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+r,target:"_blank",rel:"noopener noreferrer"},(0,t.createElement)(pl,null),(0,l.__)("Facebook","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("(Opens in a new browser tab)","wordpress-seo")))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://twitter.com/share?url="+r,target:"_blank",rel:"noopener noreferrer",className:"x-share"},(0,t.createElement)(hl,null),(0,l.__)("X","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("(Opens in a new browser tab)","wordpress-seo"))))))}gl.propTypes={permalink:_().string.isRequired};const yl=(0,se.compose)([(0,o.withSelect)((e=>({permalink:e("core/editor").getPermalink()})))])(gl);function fl({checklist:e,onClick:r}){let s;return s=e.every((e=>"good"===e.score))?(0,l.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):(0,l.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),(0,t.createElement)(i.Fragment,null,(0,t.createElement)("p",null,s),(0,t.createElement)(rl,{checklist:e,onClick:r}))}fl.propTypes={checklist:_().array.isRequired,onClick:_().func.isRequired};const wl=(0,se.compose)([(0,o.withSelect)((function(e){const t=e("yoast-seo/editor"),r=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:(0,l.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(r,t),al(r,t),ol(r,t),nl(r,t),r.push(...Object.values(t.getChecklistItems())),{checklist:r}})),(0,o.withDispatch)((function(e){const{closePublishSidebar:t,openGeneralSidebar:r}=e("core/edit-post");return{onClick:()=>{t(),r("yoast-seo/seo-sidebar")}}}))])(fl),bl=({store:e="yoast-seo/editor",...r})=>{const s=(0,o.useSelect)((t=>t(e).selectLinkParams()),[e]),a=(0,i.createInterpolateElement)((0,l.sprintf)(/* translators: %1$s expands to Yoast, %2$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ +(0,l.__)("The %1$s %2$sultimate Black Friday checklist%3$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"Yoast","",""),{strong:(0,t.createElement)("strong",null)});return(0,t.createElement)(zi,{id:"black-friday-2023-sidebar-checklist",promoId:"black-friday-2023-checklist",alertKey:"black-friday-2023-sidebar-checklist",store:e,title:(0,l.__)("Is your WooCommerce store ready for Black Friday?","wordpress-seo"),...r},a," ",(0,t.createElement)("a",{href:(0,Zr.addQueryArgs)("https://yoa.st/black-friday-checklist",s),target:"_blank",rel:"noreferrer"},(0,l.__)("Get the checklist and start optimizing now!","wordpress-seo")))};bl.propTypes={store:_().string};const El="trustpilot-review-notification",vl="yoast-seo/editor",kl=()=>{const e=(0,o.useSelect)((e=>e(vl).getIsPremium()),[]),t=(0,o.useSelect)((e=>e(vl).isAlertDismissed(El)),[]),{overallScore:r}=(0,o.useSelect)((e=>e(vl).getResultsForFocusKeyword()),[]),{dismissAlert:s}=(0,o.useDispatch)(vl),a=(0,i.useCallback)((()=>s(El)),[s]),[n,l]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{var e;"good"===(null===(e=sl(r))||void 0===e?void 0:e.className)&&l(!0)}),[r]),{shouldShow:!e&&!t&&n,dismiss:a}},_l=(0,de.makeOutboundLink)(),xl=()=>{const{shouldShow:e,dismiss:r}=kl(),{locationContext:s}=(0,p.useRootContext)(),a=(0,o.useSelect)((e=>e(vl).selectLink("https://yoa.st/trustpilot-review",{context:s})),[s]);return(0,t.createElement)(Ui,{alertKey:El,store:vl,id:El,title:(0,l.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:r},(0,l.__)("Happy with the plugin?","wordpress-seo")," ",(0,t.createElement)(_l,{href:a,rel:"noopener noreferrer"},(0,l.__)("Leave a quick review","wordpress-seo")),".")},Tl=({store:e="yoast-seo/editor",image:r=Bi,url:s,...a})=>(0,o.useSelect)((t=>t(e).getIsPremium()))?null:(0,t.createElement)(Ki,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,l.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:r,url:s,...a},(0,l.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,t.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},(0,l.__)("Sign up today!","wordpress-seo")));Tl.propTypes={store:_().string,image:_().elementType,url:_().string.isRequired};const Sl=Tl,Rl=(e="yoast-seo/editor")=>{const t=(0,o.select)(e).isPromotionActive("black-friday-2023-promotion"),r=(0,o.select)(e).isAlertDismissed("black-friday-2023-promotion");return t?r:((e="yoast-seo/editor")=>{const t=(0,o.select)(e).isPromotionActive("black-friday-2023-checklist"),r=(0,o.select)(e).isAlertDismissed("black-friday-2023-sidebar-checklist");return!t||r})(e)},Cl=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),Il=({id:e,postTypeName:r,children:s,title:a,isOpen:o,close:n,open:c,shouldCloseOnClickOutside:d,showChangesWarning:u,SuffixHeroIcon:m})=>(0,t.createElement)(i.Fragment,null,o&&(0,t.createElement)(p.LocationProvider,{value:"modal"},(0,t.createElement)(ge,{title:a,onRequestClose:n,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:d},(0,t.createElement)("div",{className:"yoast-content-container"},(0,t.createElement)("div",{className:"yoast-modal-content"},s)),(0,t.createElement)("div",{className:"yoast-notice-container"},(0,t.createElement)("hr",null),(0,t.createElement)("div",{className:"yoast-button-container"},u&&(0,t.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ +(0,l.sprintf)((0,l.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),r)),(0,t.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:n},/* Translators: %s translates to the Post Label in singular form */ +(0,l.sprintf)((0,l.__)("Return to your %s","wordpress-seo"),r)))))),(0,t.createElement)(ve,{id:e+"-open-button",title:a,SuffixHeroIcon:m,suffixIcon:m?null:{size:"20px",icon:"pencil-square"},onClick:c}));Il.propTypes={id:_().string.isRequired,postTypeName:_().string.isRequired,children:_().oneOfType([_().node,_().arrayOf(_().node)]).isRequired,title:_().string.isRequired,isOpen:_().bool.isRequired,open:_().func.isRequired,close:_().func.isRequired,shouldCloseOnClickOutside:_().bool,showChangesWarning:_().bool,SuffixHeroIcon:_().object},Il.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const Al=Il,Pl=(0,se.compose)([(0,o.withSelect)(((e,t)=>{const{getPostOrPageString:r,getIsModalOpen:s}=e("yoast-seo/editor");return{postTypeName:r(),isOpen:s(t.id)}})),(0,o.withDispatch)(((e,t)=>{const{openEditorModal:r,closeEditorModal:s}=e("yoast-seo/editor");return{open:()=>r(t.id),close:s}}))])(Al),Ll=q()(Cl)` width: 18px; height: 18px; margin: 3px; -`,Ol=({location:e})=>{const r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),a=oe();return(0,t.createElement)(Fl,{title:(0,l.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!r,showChangesWarning:!1,SuffixHeroIcon:(0,t.createElement)(Ml,{className:"yst-text-slate-500",...a})},(0,t.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},(0,t.createElement)(ss,{location:e}),(0,t.createElement)("div",null,s&&(0,t.createElement)("div",{className:"yoast-insights-row"},(0,t.createElement)(Wr,null)),(0,t.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,t.createElement)(Dr,null),(0,t.createElement)(as,null)),(0,Or.isFeatureEnabled)("TEXT_FORMALITY")&&(0,t.createElement)(cs,{location:e,name:"YoastTextFormalityMetabox"}))))};Ol.propTypes={location:_().string},Ol.defaultProps={location:"sidebar"};const Nl=Ol,ql=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));class Dl{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,m.isString)(e)?(0,m.isUndefined)(t)||(0,m.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,m.isString)(e)?(0,m.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,m.isString)(e)?(0,m.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,r,s){if(!(0,m.isString)(e))return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if(!(0,m.isFunction)(t))return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if(!(0,m.isString)(r))return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;const a={callable:t,origin:r,priority:(0,m.isNumber)(s)?s:10};return(0,m.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(a),!0}_registerAssessment(e,t,r,s){return(0,m.isString)(t)?(0,m.isObject)(r)?(0,m.isString)(s)?(t=s+"-"+t,e.addAssessment(t,r),!0):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+s+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,r){let s=this.modifications[e];return!(0,m.isArray)(s)||s.length<1||(s=this._stripIllegalModifications(s),s.sort(((e,t)=>e.priority-t.priority)),(0,m.forEach)(s,(function(s){const a=s.callable(t,r);typeof a==typeof t?t=a:console.error("Modification with name "+e+" performed by plugin with name "+s.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,m.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,m.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,m.forEach)(this.plugins,(function(e,t){(0,m.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,m.forEach)(e,((t,r)=>{!1===this._validateOrigin(t.origin)&&delete e[r]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,m.isUndefined)(this.plugins[e])}}let $l=null;const Bl=()=>{if(null===$l){const e=(0,o.dispatch)("yoast-seo/editor").runAnalysis;$l=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new Dl(e)}return $l},Wl=(e,t,r)=>Bl().loaded?Bl()._applyModifications(e,t,r):t,Ul={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},Kl={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},zl={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},Hl={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},Vl={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},jl={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Yl={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},Gl={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},Zl={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},Xl={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},Ql={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},Jl={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},ec={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},tc={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},rc={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},sc={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},ac={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},oc={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},nc={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},ic={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},lc={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},cc={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},dc={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},pc={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},uc={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},mc={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},hc={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},gc={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},yc={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},fc={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},wc={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},bc={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return(0,m.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Ec={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},vc={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},kc={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},_c={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")};var xc={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Tc=function(e,t,r){this.placeholder=e,this.replacement=t,this.options=(0,m.defaults)(r,xc)};Tc.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Tc.prototype.setSource=function(e){this.options.source=e},Tc.prototype.hasScope=function(){return!(0,m.isEmpty)(this.options.scope)},Tc.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Tc.prototype.inScope=function(e){return!this.hasScope()||(0,m.indexOf)(this.options.scope,e)>-1},Tc.prototype.hasAlias=function(){return!(0,m.isEmpty)(this.options.aliases)},Tc.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Tc.prototype.getAliases=function(){return this.options.aliases};let Sc=null,Rc=null;const Cc=()=>{if(null===Rc){Rc=[];const t=(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===Sc&&(Sc=((e="")=>{switch(""===e&&(e=(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]})().map((t=>null==e?void 0:e[t])).filter(Boolean)),Sc).forEach((e=>{const r=t.includes(e.name);Rc.push({name:e.name,label:e.label,value:e.placeholder,hidden:r}),e.aliases.forEach((e=>{Rc.push({name:e.name,label:e.label,value:e.placeholder,hidden:r})}))}))}return Rc},{stripHTMLTags:Ic}=de.strings,Ac=(e,t)=>{const r=(0,o.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=r.title),""===e.description&&(e.description=r.description);let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),{url:e.url,title:Ic(Wl("data_page_title",e.title)),description:Ic(Wl("data_meta_desc",e.description)),filteredSEOTitle:Ic(Wl("data_page_title",e.filteredSEOTitle))}},Pc=({isLoading:e,onLoad:r,location:s,...a})=>((0,i.useEffect)((()=>{setTimeout((()=>{e&&r()}))})),e?null:(0,t.createElement)(wr,{icon:"eye",hasPaperStyle:a.hasPaperStyle},(0,t.createElement)(gr.SnippetEditor,{...a,descriptionPlaceholder:(0,l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Ac,showCloseButton:!1,idSuffix:s})));Pc.propTypes={isLoading:_().bool.isRequired,onLoad:_().func.isRequired,hasPaperStyle:_().bool.isRequired,location:_().string.isRequired};const Lc=(0,se.compose)([(0,o.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:r,getEditorDataImageUrl:s,getFocusKeyphrase:a,getRecommendedReplaceVars:o,getSiteIconUrlFromSettings:n,getSnippetEditorData:i,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:m}=e("yoast-seo/editor");return{baseUrl:t(),data:i(),date:r(),faviconSrc:n(),isLoading:l(),keyword:a(),mobileImageSrc:s(),mode:c(),recommendedReplacementVariables:o(),replacementVariables:Cc(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:m()}})),(0,o.withDispatch)((e=>{const{updateData:t,switchMode:r,updateAnalysisData:s,loadSnippetEditorData:a}=e("yoast-seo/editor");return{onChange:(e,s)=>{switch(e){case"mode":r(s);break;case"slug":t({slug:s});break;default:t({[e]:s})}},onChangeAnalysisData:s,onLoad:a}})),mr()])(Pc),Fc=N()(ql)` +`,Fl=({location:e})=>{const r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),s=(0,o.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),a=oe();return(0,t.createElement)(Pl,{title:(0,l.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!r,showChangesWarning:!1,SuffixHeroIcon:(0,t.createElement)(Ll,{className:"yst-text-slate-500",...a})},(0,t.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},(0,t.createElement)(Jr,{location:e}),(0,t.createElement)("div",null,s&&(0,t.createElement)("div",{className:"yoast-insights-row"},(0,t.createElement)(Nr,null)),(0,t.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,t.createElement)(Mr,null),(0,t.createElement)(es,null)),(0,Pr.isFeatureEnabled)("TEXT_FORMALITY")&&(0,t.createElement)(os,{location:e,name:"YoastTextFormalityMetabox"}))))};Fl.propTypes={location:_().string},Fl.defaultProps={location:"sidebar"};const Ml=Fl,Ol=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));class ql{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,m.isString)(e)?(0,m.isUndefined)(t)||(0,m.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,m.isString)(e)?(0,m.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,m.isString)(e)?(0,m.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,r,s){if(!(0,m.isString)(e))return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if(!(0,m.isFunction)(t))return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if(!(0,m.isString)(r))return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;const a={callable:t,origin:r,priority:(0,m.isNumber)(s)?s:10};return(0,m.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(a),!0}_registerAssessment(e,t,r,s){return(0,m.isString)(t)?(0,m.isObject)(r)?(0,m.isString)(s)?(t=s+"-"+t,e.addAssessment(t,r),!0):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+s+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,r){let s=this.modifications[e];return!(0,m.isArray)(s)||s.length<1||(s=this._stripIllegalModifications(s),s.sort(((e,t)=>e.priority-t.priority)),(0,m.forEach)(s,(function(s){const a=s.callable(t,r);typeof a==typeof t?t=a:console.error("Modification with name "+e+" performed by plugin with name "+s.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,m.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,m.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,m.forEach)(this.plugins,(function(e,t){(0,m.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,m.forEach)(e,((t,r)=>{!1===this._validateOrigin(t.origin)&&delete e[r]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,m.isUndefined)(this.plugins[e])}}let Nl=null;const Dl=()=>{if(null===Nl){const e=(0,o.dispatch)("yoast-seo/editor").runAnalysis;Nl=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new ql(e)}return Nl},$l=(e,t,r)=>Dl().loaded?Dl()._applyModifications(e,t,r):t,Bl={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},Wl={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},Ul={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},Kl={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},zl={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},Hl={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Vl={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},jl={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},Yl={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},Gl={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},Zl={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},Xl={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Ql={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Jl={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},ec={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},tc={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},rc={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},sc={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},ac={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},oc={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},nc={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},ic={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},lc={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},cc={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},dc={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},pc={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},uc={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},mc={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},hc={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},gc={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},yc={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},fc={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return(0,m.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},wc={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},bc={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Ec={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,o.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},vc={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")};var kc={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},_c=function(e,t,r){this.placeholder=e,this.replacement=t,this.options=(0,m.defaults)(r,kc)};_c.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},_c.prototype.setSource=function(e){this.options.source=e},_c.prototype.hasScope=function(){return!(0,m.isEmpty)(this.options.scope)},_c.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},_c.prototype.inScope=function(e){return!this.hasScope()||(0,m.indexOf)(this.options.scope,e)>-1},_c.prototype.hasAlias=function(){return!(0,m.isEmpty)(this.options.aliases)},_c.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},_c.prototype.getAliases=function(){return this.options.aliases};let xc=null,Tc=null;const Sc=()=>{if(null===Tc){Tc=[];const t=(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===xc&&(xc=((e="")=>{switch(""===e&&(e=(0,m.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]})().map((t=>null==e?void 0:e[t])).filter(Boolean)),xc).forEach((e=>{const r=t.includes(e.name);Tc.push({name:e.name,label:e.label,value:e.placeholder,hidden:r}),e.aliases.forEach((e=>{Tc.push({name:e.name,label:e.label,value:e.placeholder,hidden:r})}))}))}return Tc},{stripHTMLTags:Rc}=de.strings,Cc=(e,t)=>{const r=(0,o.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=r.title),""===e.description&&(e.description=r.description);let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),{url:e.url,title:Rc($l("data_page_title",e.title)),description:Rc($l("data_meta_desc",e.description)),filteredSEOTitle:Rc($l("data_page_title",e.filteredSEOTitle))}},Ic=({isLoading:e,onLoad:r,location:s,...a})=>((0,i.useEffect)((()=>{setTimeout((()=>{e&&r()}))})),e?null:(0,t.createElement)(hr,{icon:"eye",hasPaperStyle:a.hasPaperStyle},(0,t.createElement)(pr.SnippetEditor,{...a,descriptionPlaceholder:(0,l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Cc,showCloseButton:!1,idSuffix:s})));Ic.propTypes={isLoading:_().bool.isRequired,onLoad:_().func.isRequired,hasPaperStyle:_().bool.isRequired,location:_().string.isRequired};const Ac=(0,se.compose)([(0,o.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:r,getEditorDataImageUrl:s,getFocusKeyphrase:a,getRecommendedReplaceVars:o,getSiteIconUrlFromSettings:n,getSnippetEditorData:i,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:m}=e("yoast-seo/editor");return{baseUrl:t(),data:i(),date:r(),faviconSrc:n(),isLoading:l(),keyword:a(),mobileImageSrc:s(),mode:c(),recommendedReplacementVariables:o(),replacementVariables:Sc(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:m()}})),(0,o.withDispatch)((e=>{const{updateData:t,switchMode:r,updateAnalysisData:s,loadSnippetEditorData:a}=e("yoast-seo/editor");return{onChange:(e,s)=>{switch(e){case"mode":r(s);break;case"slug":t({slug:s});break;default:t({[e]:s})}},onChangeAnalysisData:s,onLoad:a}})),cr()])(Ic),Pc=q()(Ol)` width: 18px; height: 18px; margin: 3px; -`,Mc=()=>{const e=oe(),r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,t.createElement)(Fl,{title:(0,l.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,t.createElement)(Fc,{className:"yst-text-slate-500",...e})},!0===r&&(0,t.createElement)(Lc,{showCloseButton:!1,hasPaperStyle:!1}),!1===r&&(0,t.createElement)(Fr,{showCloseButton:!1,hasPaperStyle:!1}))},Oc=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),Nc=N()(H.Collapsible)` +`,Lc=()=>{const e=oe(),r=(0,o.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,t.createElement)(Pl,{title:(0,l.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,t.createElement)(Pc,{className:"yst-text-slate-500",...e})},!0===r&&(0,t.createElement)(Ac,{showCloseButton:!1,hasPaperStyle:!1}),!1===r&&(0,t.createElement)(Ir,{showCloseButton:!1,hasPaperStyle:!1}))},Fc=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),Mc=q()(H.Collapsible)` h2 > button { padding-left: 0; padding-top: 16px; @@ -602,13 +602,13 @@ n=(0,l.__)("Learn more about character count","wordpress-seo")),(0,t.createEleme border-top: 1px solid rgba(0,0,0,0.2); } -`,qc=e=>(0,t.createElement)(Nc,{hasPadding:!1,hasSeparator:!0,...e}),Dc=N()(Oc)` +`,Oc=e=>(0,t.createElement)(Mc,{hasPadding:!1,hasSeparator:!0,...e}),qc=q()(Fc)` width: 18px; height: 18px; margin: 3px; -`,$c=e=>{const{useOpenGraphData:r,useTwitterData:s}=e;if(!r&&!s)return;const a=oe();return(0,t.createElement)(Fl -/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,l.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,t.createElement)(Dc,{className:"yst-text-slate-500",...a})},r&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Qa,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Va,null),s&&(0,t.createElement)(Xa,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),r&&s&&(0,t.createElement)(qc,{title:(0,l.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,t.createElement)(Za,null)),!r&&s&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Qa,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,t.createElement)(Za,null)))};$c.propTypes={useOpenGraphData:_().bool.isRequired,useTwitterData:_().bool.isRequired};const Bc=$c,Wc=e=>{const[r,s]=(0,i.useState)(!1),{prefixIcon:a}=e;return(0,t.createElement)("div",{className:"yoast components-panel__body "+(r?"is-opened":"")},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${a&&a.color||""}`}},a&&(0,t.createElement)(H.SvgIcon,{icon:a.icon,color:a.color,size:a.size})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,t.createElement)(H.BetaBadge,null),(0,t.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)},Uc=Wc;function Kc({settings:e}){const r=(({webinarIntroUrl:e})=>{const{shouldShow:r}=Sl(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>r,component:Cl},{getIsEligible:Pl,component:()=>(0,t.createElement)(Al,{hasIcon:!1,image:null,url:e})},{getIsEligible:Zi,component:()=>(0,t.createElement)(_l,{hasIcon:!1})},{getIsEligible:()=>!0,component:()=>(0,t.createElement)(Gi,{hasIcon:!1})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,m.get)(window,"wpseoScriptData.webinarIntroBlockEditorUrl","https://yoa.st/webinar-intro-block-editor")});return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(B.Fill,{name:"YoastSidebar"},(0,t.createElement)(Rs,{key:"warning",renderPriority:1},(0,t.createElement)(Mr,null),(0,t.createElement)("div",{style:{margin:"0 16px"}},r&&(0,t.createElement)(r,null))),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"keyword-input",renderPriority:8},(0,t.createElement)(ur.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive})),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"seo",renderPriority:10},(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ur.SeoAnalysis,{shouldUpsell:e.shouldUpsell,shouldUpsellWordFormRecognition:e.isWordFormRecognitionActive}),e.shouldUpsell&&(0,t.createElement)(Vn,{location:"sidebar"}))),e.isContentAnalysisActive&&(0,t.createElement)(Rs,{key:"readability",renderPriority:20},(0,t.createElement)(ur.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})),e.isInclusiveLanguageAnalysisActive&&(0,t.createElement)(Rs,{key:"inclusive-language-analysis",renderPriority:21},(0,t.createElement)(ur.InclusiveLanguageAnalysis,null)),e.isKeywordAnalysisActive&&(0,t.createElement)(Rs,{key:"additional-keywords-upsell",renderPriority:22},e.shouldUpsell&&(0,t.createElement)(Gn,null)),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,t.createElement)(Rs,{renderPriority:23},(0,t.createElement)(pr,{location:"sidebar"})),e.shouldUpsell&&(0,t.createElement)(Rs,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,t.createElement)(Ts,null)),(0,t.createElement)(Rs,{key:"search-appearance",renderPriority:26},(0,t.createElement)(Mc,null)),(e.useOpenGraphData||e.useTwitterData)&&(0,t.createElement)(Rs,{key:"social-appearance",renderPriority:27},(0,t.createElement)(Bc,{useOpenGraphData:e.useOpenGraphData,useTwitterData:e.useTwitterData})),e.displaySchemaSettings&&(0,t.createElement)(Rs,{key:"schema",renderPriority:28},(0,t.createElement)(Uc,{title:(0,l.__)("Schema","wordpress-seo")},(0,t.createElement)(fo,null))),e.displayAdvancedTab&&(0,t.createElement)(Rs,{key:"advanced",renderPriority:29},(0,t.createElement)(Uc,{title:(0,l.__)("Advanced","wordpress-seo")},(0,t.createElement)(zs,null))),e.isCornerstoneActive&&(0,t.createElement)(Rs,{key:"cornerstone",renderPriority:30},(0,t.createElement)(hr,null)),e.isInsightsEnabled&&(0,t.createElement)(Rs,{renderPriority:32},(0,t.createElement)(Nl,{location:"sidebar"}))))}Wc.propTypes={title:_().string.isRequired,children:_().oneOfType([_().node,_().arrayOf(_().node)]).isRequired,prefixIcon:_().object,subTitle:_().string,hasBetaBadgeLabel:_().bool,buttonId:_().string},Wc.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null},Kc.propTypes={settings:_().object.isRequired};const zc=(0,o.withSelect)(((e,t)=>{const{getPreferences:r}=e("yoast-seo/editor");return{settings:r(),store:t.store}}))(Kc);function Hc(e){const{hasTrackedKeyphrases:r,trackAll:s}=e;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup,{label:(0,l.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] -/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the SEO performance feature.","wordpress-seo"),wrapperClassName:"yoast-field-group yoast-wincher-post-publish"}),(0,t.createElement)(_t,null),r&&(0,t.createElement)("p",null,(0,l.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(H.NewButton,{variant:"secondary",small:!0,onClick:s},(0,l.__)("Track all keyphrases on this page","wordpress-seo"))),(0,t.createElement)(pr,{location:"postpublish"}))}Hc.propTypes={trackAll:_().func,hasTrackedKeyphrases:_().bool},Hc.defaultProps={trackAll:()=>{},hasTrackedKeyphrases:!1};const Vc=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherTrackedKeyphrases:t,hasWincherTrackedKeyphrases:r}=e("yoast-seo/editor");return{trackedKeyphrases:t(),hasTrackedKeyphrases:r()}})),(0,o.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherTrackAllKeyphrases:r}=e("yoast-seo/editor");return{trackAll:()=>{r(!0),t("postpublish")}}}))])(Hc);window.wp.annotations;const jc=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Yc}=j.helpers.htmlEntities,Gc=e=>{let t=0;return(0,m.forEachRight)(e,(e=>{const[r]=e;let s=r.length;/^<\/?br/.test(r)&&(s-=1),t+=s})),t},Zc="",Xc="",Qc='';function Jc(e,t,r,s,a){const o=s.clientId,n=(0,d.create)({html:e,multilineTag:r.multilineTag,multilineWrapperTag:r.multilineWrapperTag}).text;return(0,m.flatMap)(a,(r=>{let a;return a=r.hasBlockPosition&&r.hasBlockPosition()?function(e,t,r,s,a){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,r)=>{const s="yoast/faq-block"===r?'':'';return{blockStartOffset:e-=s.length,blockEndOffset:t-=s.length}})(t,o,r);t=e.blockStartOffset,o=e.blockEndOffset}if(s.slice(t,o)===a.slice(t,o))return[{startOffset:t,endOffset:o}];const n=((e,t,r)=>{const s=r.slice(0,e),a=r.slice(0,t),o=((e,t,r,s)=>{const a=[...e.matchAll(jc)];r-=Gc(a);const o=[...t.matchAll(jc)];return{blockStartOffset:r,blockEndOffset:s-=Gc(o)}})(s,a,e,t),n=((e,t,r,s)=>{let a=[...e.matchAll(Yc)];return(0,m.forEachRight)(a,(e=>{const[,t]=e;r-=t.length})),a=[...t.matchAll(Yc)],(0,m.forEachRight)(a,(e=>{const[,t]=e;s-=t.length})),{blockStartOffset:r,blockEndOffset:s}})(s,a,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=n.blockStartOffset,blockEndOffset:t=n.blockEndOffset}})(t,o,s);return[{startOffset:n.blockStartOffset,endOffset:n.blockEndOffset}]}return[]}(r,o,s.name,e,n):function(e,t){const r=t.getOriginal().replace(/(<([^>]+)>)/gi,""),s=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),a=function(e,t,r=!0){const s=[];if(0===e.length)return s;let a,o=0;for(r||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)s.push(a),o=a+t.length;return s}(e,r);if(0===a.length)return[];const o=function(e){let t=e.indexOf(Zc);const r=t>=0;r||(t=e.indexOf(Qc));let s=null;const a=[];for(;t>=0;){if(s=(e=r?e.replace(Zc,""):e.replace(Qc,"")).indexOf(Xc),s{a.forEach((s=>{const a=s+e.startOffset;let o=s+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=s+r.length),n.push({startOffset:a,endOffset:o})}))})),n}(n,r),a?a.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const ed=e=>e[0].toUpperCase()+e.slice(1),td=(e,t,r,s,a)=>(e=e.map((e=>{const o=`${e.id}-${a[0]}`,n=`${e.id}-${a[1]}`,i=ed(a[0]),l=ed(a[1]),c=e[`json${i}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),m=Jc(c,o,r,s,p),h=Jc(d,n,r,s,u);return m.concat(h)})),(0,m.flattenDeep)(e)),rd="yoast";let sd=[];const ad={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function od(){const e=sd.shift();e&&((0,o.dispatch)("core/annotations").__experimentalAddAnnotation(e),nd())}function nd(){(0,m.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(od,{timeout:1e3}):setTimeout(od,150)}function id(){const e=(0,o.select)("core/block-editor").getSelectedBlock(),t=(0,o.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var r;r=e.clientId,(0,o.select)("core/annotations").__experimentalGetAnnotations().filter((e=>e.blockClientId===r&&e.source===rd)).forEach((e=>{(0,o.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));const s=(0,o.select)("yoast-seo/editor").getResultById(t);if(void 0===s)return;const a=s.marks;var n;n=((e,t)=>{return(0,m.flatMap)((r=e.name,ad.hasOwnProperty(r)?ad[r]:[]),(r=>"yoast/faq-block"===e.name?((e,t,r)=>{const s=t.attributes[e.key];return 0===s.length?[]:td(s,r,e,t,["question","answer"])})(r,e,t):"yoast/how-to-block"===e.name?((e,t,r)=>{const s=t.attributes[e.key];if(s&&0===s.length)return[];const a=[];return"steps"===e.key&&a.push(td(s,r,e,t,["name","text"])),"jsonDescription"===e.key&&(r=r.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),a.push(Jc(s,"description",e,t,r))),(0,m.flattenDeep)(a)})(r,e,t):function(e,t,r){const s=e.key,a=((e,t)=>{const r=e.attributes[t];return"string"==typeof r?r:r.toString()})(t,s);return Jc(a,s,e,t,r)}(r,e,t)));var r})(e,a),sd=n.map((e=>({blockClientId:e.block,source:rd,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),nd()}const ld=window.wp.htmlEntities;function cd({isActive:e,activeAttributes:r,addingLink:s,value:a,onChange:o,speak:n,stopAddingLink:c}){const p=(0,i.useMemo)(m.uniqueId,[s]),[u,h]=(0,i.useState)(),g=(0,i.useMemo)((()=>{const t=window.getSelection();if(!t.rangeCount)return;const r=t.getRangeAt(0);if(s&&!e)return r;let a=r.startContainer;for(a=a.nextElementSibling||a;a.nodeType!==window.Node.ELEMENT_NODE;)a=a.parentNode;return a.closest("a")}),[s,a.start,a.end]),y={url:r.url,type:r.type,id:r.id,opensInNewTab:"_blank"===r.target,noFollow:r.rel&&r.rel.split(" ").includes("nofollow"),sponsored:r.rel&&r.rel.split(" ").includes("sponsored"),...u},f=e=>y.url===e.url&&y.opensInNewTab!==e.opensInNewTab||y.noFollow!==e.noFollow||y.sponsored!==e.sponsored,w=e=>{if("number"==typeof e||"string"==typeof e)return String(e)},b=(0,i.useCallback)((t=>{t={...u,...t};const r=f(y);if((e=>f(e)&&!0===e.sponsored&&!0!==y.Sponsored)(t)&&(t.noFollow=!0),(e=>f(e)&&!1===e.noFollow&&!1!==y.noFollow)(t)&&(t.sponsored=!1),(e=>f(e)&&!e.url)(t))return void h(t);const s=(0,es.prependHTTP)(t.url),i=function({url:e,opensInNewWindow:t,noFollow:r,sponsored:s}){const a={type:"core/link",attributes:{url:e}};let o=[];return t&&(a.attributes.target="_blank",o.push("noreferrer noopener")),s&&(o.push("sponsored"),o.push("nofollow")),r&&o.push("nofollow"),o.length>0&&(o=(0,m.uniq)(o),a.attributes.rel=o.join(" ")),a}({url:s,type:t.type,id:w(t.id),opensInNewWindow:t.opensInNewTab,noFollow:t.noFollow,sponsored:t.sponsored});if((0,d.isCollapsed)(a)&&!e){const e=((e,t)=>e.title?e.title:t)(t,s),r=(0,d.applyFormat)((0,d.create)({text:e}),i,0,e.length);o((0,d.insert)(a,r))}else{const e=(0,d.applyFormat)(a,i);e.start=e.end,e.activeFormats=[],o(e)}r||c(),(t=>{!function(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,es.getProtocol)(t);if(!(0,es.isValidProtocol)(e))return!1;if((0,m.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const r=(0,es.getAuthority)(t);if(!(0,es.isValidAuthority)(r))return!1;const s=(0,es.getPath)(t);if(s&&!(0,es.isValidPath)(s))return!1;const a=(0,es.getQueryString)(t);if(a&&!(0,es.isValidQueryString)(a))return!1;const o=(0,es.getFragment)(t);if(o&&!(0,es.isValidFragment)(o))return!1}return!((0,m.startsWith)(t,"#")&&!(0,es.isValidFragment)(t))}(t)?n((0,l.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive"):n(e?(0,l.__)("Link edited.","wordpress-seo"):(0,l.__)("Link inserted.","wordpress-seo"),"assertive")})(s)}),[]),E=(0,t.createElement)(To,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,l.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),v=Xr((0,l.sprintf)((0,l.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"","",""),{code:(0,t.createElement)("code",null),helplink:E}),k=Xr((0,l.sprintf)((0,l.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"","",""),{code:(0,t.createElement)("code",null),helplink:E}),_=[{id:"opensInNewTab",title:(0,l.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:v},{id:"sponsored",title:k}],{__experimentalLinkControl:x}=window.wp.blockEditor;return(0,t.createElement)(B.Popover,{key:p,anchor:g,focusOnMount:!!s&&"firstElement",onClose:c,position:"bottom center",placement:"bottom",shift:!0},(0,t.createElement)(x,{value:y,onChange:b,forceIsEditingLink:s,settings:_}))}cd.propTypes={isActive:_().bool,activeAttributes:_().object,addingLink:_().bool,value:_().object,onChange:_().func,speak:_().func.isRequired,stopAddingLink:_().func.isRequired};const dd=(0,B.withSpokenMessages)(cd),pd="core/link",ud=(0,l.__)("Link","wordpress-seo"),md={name:pd,title:ud,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule(e,{html:t,plainText:r}){if((0,d.isCollapsed)(e))return e;const s=(t||r).replace(/<[^>]+>/g,"").trim();return(0,es.isURL)(s)?(window.console.log("Created link:\n\n",s),(0,d.applyFormat)(e,{type:pd,attributes:{url:(0,ld.decodeEntities)(s)}})):e},edit:(0,B.withSpokenMessages)(class extends i.Component{constructor(){super(...arguments),this.addLink=this.addLink.bind(this),this.stopAddingLink=this.stopAddingLink.bind(this),this.onRemoveFormat=this.onRemoveFormat.bind(this),this.state={addingLink:!1}}addLink(){const{value:e,onChange:t}=this.props,r=(0,d.getTextContent)((0,d.slice)(e));r&&(0,es.isURL)(r)?t((0,d.applyFormat)(e,{type:pd,attributes:{url:r}})):r&&(0,es.isEmail)(r)?t((0,d.applyFormat)(e,{type:pd,attributes:{url:`mailto:${r}`}})):this.setState({addingLink:!0})}stopAddingLink(){this.setState({addingLink:!1}),this.props.onFocus()}onRemoveFormat(){const{value:e,onChange:t,speak:r}=this.props;t((0,d.removeFormat)(e,pd)),r((0,l.__)("Link removed.","wordpress-seo"),"assertive")}render(){const{isActive:e,activeAttributes:r,value:s,onChange:a}=this.props,{RichTextToolbarButton:o,RichTextShortcut:n}=window.wp.blockEditor;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(n,{type:"primary",character:"k",onUse:this.addLink}),(0,t.createElement)(n,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&(0,t.createElement)(o,{name:"link",icon:"editor-unlink",title:(0,l.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&(0,t.createElement)(o,{name:"link",icon:"admin-links",title:ud,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&(0,t.createElement)(dd,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:r,value:s,onChange:a}))}})};function hd(){const e=M();return(0,m.get)(e,"contentLocale","en_US")}const{updateReplacementVariable:gd,updateData:yd,hideReplacementVariables:fd,setContentImage:wd,updateSettings:bd,setEditorDataContent:Ed,setEditorDataTitle:vd,setEditorDataExcerpt:kd,setEditorDataImageUrl:_d,setEditorDataSlug:xd}=u.actions,Td=r.g.jQuery;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){const r=M(),s=r.isPremium?"Yoast SEO Premium":"Yoast SEO",d=(0,t.createElement)($,null);(0,a.updateCategory)("yoast-structured-data-blocks",{icon:d}),(0,a.updateCategory)("yoast-internal-linking-blocks",{icon:d});const u={isRtl:r.isRtl},m=e.getState().preferences,h=m.isKeywordAnalysisActive||m.isContentAnalysisActive,g=m.isKeywordAnalysisActive&&m.isWincherIntegrationActive;!function(){var e,t,r;const s="yoast-seo/document-panel";var a,n,i,l;Boolean(null===(e=(0,o.dispatch)("core/editor"))||void 0===e?void 0:e.toggleEditorPanelOpened)?((null===(t=(0,o.select)("core/preferences"))||void 0===t?void 0:t.get("core","openPanels"))||(null===(r=(0,o.select)("core/preferences"))||void 0===r?void 0:r.get("core/edit-post","openPanels"))).includes(s)||null===(a=(0,o.dispatch)("core/editor"))||void 0===a||a.toggleEditorPanelOpened(s):null!==(n=(0,o.select)("core/preferences"))&&void 0!==n&&null!==(i=n.get("core/edit-post","openPanels"))&&void 0!==i&&i.includes(s)||null===(l=(0,o.dispatch)("core/edit-post"))||void 0===l||l.toggleEditorPanelOpened(s)}();const y={locationContext:"block-sidebar"},f={locationContext:"block-metabox"};(0,c.registerPlugin)("yoast-seo",{render:()=>(0,t.createElement)(i.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:(0,t.createElement)(ul,null)},s),(0,t.createElement)(n.PluginSidebar,{name:"seo-sidebar",title:s},(0,t.createElement)(p.Root,{context:y},(0,t.createElement)(al,{store:e,theme:u}))),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(zc,{store:e,theme:u}),(0,t.createElement)(p.Root,{context:f},(0,t.createElement)(rl,{target:"wpseo-metabox-root",store:e,theme:u}))),h&&(0,t.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(kl,null)),(0,t.createElement)(n.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(El,null),g&&(0,t.createElement)(Vc,null)),h&&(0,t.createElement)(n.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(pl,null))),icon:(0,t.createElement)(ul,null)})})(e),function(){if("function"==typeof(0,m.get)(window,"wp.blockEditor.__experimentalLinkControl")){const e=(0,o.select)("core/rich-text").getFormatType("core/unknown");void 0!==e&&(0,o.dispatch)("core/rich-text").removeFormatTypes("core/unknown"),[md].forEach((({name:e,replaces:t,...r})=>{t&&(0,o.dispatch)("core/rich-text").removeFormatTypes(t),e&&(0,d.registerFormatType)(e,r)})),void 0!==e&&(0,d.registerFormatType)("core/unknown",e)}else console.warn((0,l.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,l.sprintf)( +`,Nc=e=>{const{useOpenGraphData:r,useTwitterData:s}=e;if(!r&&!s)return;const a=oe();return(0,t.createElement)(Pl +/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,l.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,t.createElement)(qc,{className:"yst-text-slate-500",...a})},r&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ya,null,(0,l.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,t.createElement)(Ua,null),s&&(0,t.createElement)(ja,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),r&&s&&(0,t.createElement)(Oc,{title:(0,l.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,t.createElement)(Va,null)),!r&&s&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ya,null,(0,l.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,t.createElement)(Va,null)))};Nc.propTypes={useOpenGraphData:_().bool.isRequired,useTwitterData:_().bool.isRequired};const Dc=Nc,$c=e=>{const[r,s]=(0,i.useState)(!1),{prefixIcon:a}=e;return(0,t.createElement)("div",{className:"yoast components-panel__body "+(r?"is-opened":"")},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${a&&a.color||""}`}},a&&(0,t.createElement)(H.SvgIcon,{icon:a.icon,color:a.color,size:a.size})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,t.createElement)(H.BetaBadge,null),(0,t.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)},Bc=$c;function Wc({settings:e}){const r=(({webinarIntroUrl:e})=>{const{shouldShow:r}=kl(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>r,component:xl},{getIsEligible:Rl,component:()=>(0,t.createElement)(Sl,{hasIcon:!1,image:null,url:e})},{getIsEligible:Vi,component:()=>(0,t.createElement)(bl,{hasIcon:!1})},{getIsEligible:()=>!0,component:()=>(0,t.createElement)(Hi,{hasIcon:!1})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,m.get)(window,"wpseoScriptData.webinarIntroBlockEditorUrl","https://yoa.st/webinar-intro-block-editor")});return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(B.Fill,{name:"YoastSidebar"},(0,t.createElement)(_s,{key:"warning",renderPriority:1},(0,t.createElement)(Ar,null),(0,t.createElement)("div",{style:{margin:"0 16px"}},r&&(0,t.createElement)(r,null))),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"keyword-input",renderPriority:8},(0,t.createElement)(lr.KeywordInput,{isSEMrushIntegrationActive:e.isSEMrushIntegrationActive})),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"seo",renderPriority:10},(0,t.createElement)(i.Fragment,null,(0,t.createElement)(lr.SeoAnalysis,{shouldUpsell:e.shouldUpsell,shouldUpsellWordFormRecognition:e.isWordFormRecognitionActive}),e.shouldUpsell&&(0,t.createElement)(Un,{location:"sidebar"}))),e.isContentAnalysisActive&&(0,t.createElement)(_s,{key:"readability",renderPriority:20},(0,t.createElement)(lr.ReadabilityAnalysis,{shouldUpsell:e.shouldUpsell})),e.isInclusiveLanguageAnalysisActive&&(0,t.createElement)(_s,{key:"inclusive-language-analysis",renderPriority:21},(0,t.createElement)(lr.InclusiveLanguageAnalysis,null)),e.isKeywordAnalysisActive&&(0,t.createElement)(_s,{key:"additional-keywords-upsell",renderPriority:22},e.shouldUpsell&&(0,t.createElement)(Hn,null)),e.isKeywordAnalysisActive&&e.isWincherIntegrationActive&&(0,t.createElement)(_s,{renderPriority:23},(0,t.createElement)(ir,{location:"sidebar"})),e.shouldUpsell&&(0,t.createElement)(_s,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,t.createElement)(vs,null)),(0,t.createElement)(_s,{key:"search-appearance",renderPriority:26},(0,t.createElement)(Lc,null)),(e.useOpenGraphData||e.useTwitterData)&&(0,t.createElement)(_s,{key:"social-appearance",renderPriority:27},(0,t.createElement)(Dc,{useOpenGraphData:e.useOpenGraphData,useTwitterData:e.useTwitterData})),e.displaySchemaSettings&&(0,t.createElement)(_s,{key:"schema",renderPriority:28},(0,t.createElement)(Bc,{title:(0,l.__)("Schema","wordpress-seo")},(0,t.createElement)(mo,null))),e.displayAdvancedTab&&(0,t.createElement)(_s,{key:"advanced",renderPriority:29},(0,t.createElement)(Bc,{title:(0,l.__)("Advanced","wordpress-seo")},(0,t.createElement)(Bs,null))),e.isCornerstoneActive&&(0,t.createElement)(_s,{key:"cornerstone",renderPriority:30},(0,t.createElement)(dr,null)),e.isInsightsEnabled&&(0,t.createElement)(_s,{renderPriority:32},(0,t.createElement)(Ml,{location:"sidebar"}))))}$c.propTypes={title:_().string.isRequired,children:_().oneOfType([_().node,_().arrayOf(_().node)]).isRequired,prefixIcon:_().object,subTitle:_().string,hasBetaBadgeLabel:_().bool,buttonId:_().string},$c.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null},Wc.propTypes={settings:_().object.isRequired};const Uc=(0,o.withSelect)(((e,t)=>{const{getPreferences:r}=e("yoast-seo/editor");return{settings:r(),store:t.store}}))(Wc);function Kc(e){const{hasTrackedKeyphrases:r,trackAll:s}=e;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(H.FieldGroup,{label:(0,l.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] +/* translators: Hidden accessibility text. */,linkText:(0,l.__)("Learn more about the SEO performance feature.","wordpress-seo"),wrapperClassName:"yoast-field-group yoast-wincher-post-publish"}),(0,t.createElement)(Et,null),r&&(0,t.createElement)("p",null,(0,l.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(H.NewButton,{variant:"secondary",small:!0,onClick:s},(0,l.__)("Track all keyphrases on this page","wordpress-seo"))),(0,t.createElement)(ir,{location:"postpublish"}))}Kc.propTypes={trackAll:_().func,hasTrackedKeyphrases:_().bool},Kc.defaultProps={trackAll:()=>{},hasTrackedKeyphrases:!1};const zc=(0,se.compose)([(0,o.withSelect)((e=>{const{getWincherTrackedKeyphrases:t,hasWincherTrackedKeyphrases:r}=e("yoast-seo/editor");return{trackedKeyphrases:t(),hasTrackedKeyphrases:r()}})),(0,o.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherTrackAllKeyphrases:r}=e("yoast-seo/editor");return{trackAll:()=>{r(!0),t("postpublish")}}}))])(Kc);window.wp.annotations;const Hc=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Vc}=j.helpers.htmlEntities,jc=e=>{let t=0;return(0,m.forEachRight)(e,(e=>{const[r]=e;let s=r.length;/^<\/?br/.test(r)&&(s-=1),t+=s})),t},Yc="",Gc="",Zc='';function Xc(e,t,r,s,a){const o=s.clientId,n=(0,d.create)({html:e,multilineTag:r.multilineTag,multilineWrapperTag:r.multilineWrapperTag}).text;return(0,m.flatMap)(a,(r=>{let a;return a=r.hasBlockPosition&&r.hasBlockPosition()?function(e,t,r,s,a){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,r)=>{const s="yoast/faq-block"===r?'':'';return{blockStartOffset:e-=s.length,blockEndOffset:t-=s.length}})(t,o,r);t=e.blockStartOffset,o=e.blockEndOffset}if(s.slice(t,o)===a.slice(t,o))return[{startOffset:t,endOffset:o}];const n=((e,t,r)=>{const s=r.slice(0,e),a=r.slice(0,t),o=((e,t,r,s)=>{const a=[...e.matchAll(Hc)];r-=jc(a);const o=[...t.matchAll(Hc)];return{blockStartOffset:r,blockEndOffset:s-=jc(o)}})(s,a,e,t),n=((e,t,r,s)=>{let a=[...e.matchAll(Vc)];return(0,m.forEachRight)(a,(e=>{const[,t]=e;r-=t.length})),a=[...t.matchAll(Vc)],(0,m.forEachRight)(a,(e=>{const[,t]=e;s-=t.length})),{blockStartOffset:r,blockEndOffset:s}})(s,a,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=n.blockStartOffset,blockEndOffset:t=n.blockEndOffset}})(t,o,s);return[{startOffset:n.blockStartOffset,endOffset:n.blockEndOffset}]}return[]}(r,o,s.name,e,n):function(e,t){const r=t.getOriginal().replace(/(<([^>]+)>)/gi,""),s=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),a=function(e,t,r=!0){const s=[];if(0===e.length)return s;let a,o=0;for(r||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)s.push(a),o=a+t.length;return s}(e,r);if(0===a.length)return[];const o=function(e){let t=e.indexOf(Yc);const r=t>=0;r||(t=e.indexOf(Zc));let s=null;const a=[];for(;t>=0;){if(s=(e=r?e.replace(Yc,""):e.replace(Zc,"")).indexOf(Gc),s{a.forEach((s=>{const a=s+e.startOffset;let o=s+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=s+r.length),n.push({startOffset:a,endOffset:o})}))})),n}(n,r),a?a.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const Qc=e=>e[0].toUpperCase()+e.slice(1),Jc=(e,t,r,s,a)=>(e=e.map((e=>{const o=`${e.id}-${a[0]}`,n=`${e.id}-${a[1]}`,i=Qc(a[0]),l=Qc(a[1]),c=e[`json${i}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),m=Xc(c,o,r,s,p),h=Xc(d,n,r,s,u);return m.concat(h)})),(0,m.flattenDeep)(e)),ed="yoast";let td=[];const rd={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function sd(){const e=td.shift();e&&((0,o.dispatch)("core/annotations").__experimentalAddAnnotation(e),ad())}function ad(){(0,m.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(sd,{timeout:1e3}):setTimeout(sd,150)}function od(){const e=(0,o.select)("core/block-editor").getSelectedBlock(),t=(0,o.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var r;r=e.clientId,(0,o.select)("core/annotations").__experimentalGetAnnotations().filter((e=>e.blockClientId===r&&e.source===ed)).forEach((e=>{(0,o.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));const s=(0,o.select)("yoast-seo/editor").getResultById(t);if(void 0===s)return;const a=s.marks;var n;n=((e,t)=>{return(0,m.flatMap)((r=e.name,rd.hasOwnProperty(r)?rd[r]:[]),(r=>"yoast/faq-block"===e.name?((e,t,r)=>{const s=t.attributes[e.key];return 0===s.length?[]:Jc(s,r,e,t,["question","answer"])})(r,e,t):"yoast/how-to-block"===e.name?((e,t,r)=>{const s=t.attributes[e.key];if(s&&0===s.length)return[];const a=[];return"steps"===e.key&&a.push(Jc(s,r,e,t,["name","text"])),"jsonDescription"===e.key&&(r=r.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),a.push(Xc(s,"description",e,t,r))),(0,m.flattenDeep)(a)})(r,e,t):function(e,t,r){const s=e.key,a=((e,t)=>{const r=e.attributes[t];return"string"==typeof r?r:r.toString()})(t,s);return Xc(a,s,e,t,r)}(r,e,t)));var r})(e,a),td=n.map((e=>({blockClientId:e.block,source:ed,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),ad()}const nd=window.wp.htmlEntities;function id({isActive:e,activeAttributes:r,addingLink:s,value:a,onChange:o,speak:n,stopAddingLink:c}){const p=(0,i.useMemo)(m.uniqueId,[s]),[u,h]=(0,i.useState)(),g=(0,i.useMemo)((()=>{const t=window.getSelection();if(!t.rangeCount)return;const r=t.getRangeAt(0);if(s&&!e)return r;let a=r.startContainer;for(a=a.nextElementSibling||a;a.nodeType!==window.Node.ELEMENT_NODE;)a=a.parentNode;return a.closest("a")}),[s,a.start,a.end]),y={url:r.url,type:r.type,id:r.id,opensInNewTab:"_blank"===r.target,noFollow:r.rel&&r.rel.split(" ").includes("nofollow"),sponsored:r.rel&&r.rel.split(" ").includes("sponsored"),...u},f=e=>y.url===e.url&&y.opensInNewTab!==e.opensInNewTab||y.noFollow!==e.noFollow||y.sponsored!==e.sponsored,w=e=>{if("number"==typeof e||"string"==typeof e)return String(e)},b=(0,i.useCallback)((t=>{t={...u,...t};const r=f(y);if((e=>f(e)&&!0===e.sponsored&&!0!==y.Sponsored)(t)&&(t.noFollow=!0),(e=>f(e)&&!1===e.noFollow&&!1!==y.noFollow)(t)&&(t.sponsored=!1),(e=>f(e)&&!e.url)(t))return void h(t);const s=(0,Zr.prependHTTP)(t.url),i=function({url:e,opensInNewWindow:t,noFollow:r,sponsored:s}){const a={type:"core/link",attributes:{url:e}};let o=[];return t&&(a.attributes.target="_blank",o.push("noreferrer noopener")),s&&(o.push("sponsored"),o.push("nofollow")),r&&o.push("nofollow"),o.length>0&&(o=(0,m.uniq)(o),a.attributes.rel=o.join(" ")),a}({url:s,type:t.type,id:w(t.id),opensInNewWindow:t.opensInNewTab,noFollow:t.noFollow,sponsored:t.sponsored});if((0,d.isCollapsed)(a)&&!e){const e=((e,t)=>e.title?e.title:t)(t,s),r=(0,d.applyFormat)((0,d.create)({text:e}),i,0,e.length);o((0,d.insert)(a,r))}else{const e=(0,d.applyFormat)(a,i);e.start=e.end,e.activeFormats=[],o(e)}r||c(),(t=>{!function(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,Zr.getProtocol)(t);if(!(0,Zr.isValidProtocol)(e))return!1;if((0,m.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const r=(0,Zr.getAuthority)(t);if(!(0,Zr.isValidAuthority)(r))return!1;const s=(0,Zr.getPath)(t);if(s&&!(0,Zr.isValidPath)(s))return!1;const a=(0,Zr.getQueryString)(t);if(a&&!(0,Zr.isValidQueryString)(a))return!1;const o=(0,Zr.getFragment)(t);if(o&&!(0,Zr.isValidFragment)(o))return!1}return!((0,m.startsWith)(t,"#")&&!(0,Zr.isValidFragment)(t))}(t)?n((0,l.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive"):n(e?(0,l.__)("Link edited.","wordpress-seo"):(0,l.__)("Link inserted.","wordpress-seo"),"assertive")})(s)}),[]),E=(0,t.createElement)(vo,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,l.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),v=jr((0,l.sprintf)((0,l.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"","",""),{code:(0,t.createElement)("code",null),helplink:E}),k=jr((0,l.sprintf)((0,l.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"","",""),{code:(0,t.createElement)("code",null),helplink:E}),_=[{id:"opensInNewTab",title:(0,l.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:v},{id:"sponsored",title:k}],{__experimentalLinkControl:x}=window.wp.blockEditor;return(0,t.createElement)(B.Popover,{key:p,anchor:g,focusOnMount:!!s&&"firstElement",onClose:c,position:"bottom center",placement:"bottom",shift:!0},(0,t.createElement)(x,{value:y,onChange:b,forceIsEditingLink:s,settings:_}))}id.propTypes={isActive:_().bool,activeAttributes:_().object,addingLink:_().bool,value:_().object,onChange:_().func,speak:_().func.isRequired,stopAddingLink:_().func.isRequired};const ld=(0,B.withSpokenMessages)(id),cd="core/link",dd=(0,l.__)("Link","wordpress-seo"),pd={name:cd,title:dd,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule(e,{html:t,plainText:r}){if((0,d.isCollapsed)(e))return e;const s=(t||r).replace(/<[^>]+>/g,"").trim();return(0,Zr.isURL)(s)?(window.console.log("Created link:\n\n",s),(0,d.applyFormat)(e,{type:cd,attributes:{url:(0,nd.decodeEntities)(s)}})):e},edit:(0,B.withSpokenMessages)(class extends i.Component{constructor(){super(...arguments),this.addLink=this.addLink.bind(this),this.stopAddingLink=this.stopAddingLink.bind(this),this.onRemoveFormat=this.onRemoveFormat.bind(this),this.state={addingLink:!1}}addLink(){const{value:e,onChange:t}=this.props,r=(0,d.getTextContent)((0,d.slice)(e));r&&(0,Zr.isURL)(r)?t((0,d.applyFormat)(e,{type:cd,attributes:{url:r}})):r&&(0,Zr.isEmail)(r)?t((0,d.applyFormat)(e,{type:cd,attributes:{url:`mailto:${r}`}})):this.setState({addingLink:!0})}stopAddingLink(){this.setState({addingLink:!1}),this.props.onFocus()}onRemoveFormat(){const{value:e,onChange:t,speak:r}=this.props;t((0,d.removeFormat)(e,cd)),r((0,l.__)("Link removed.","wordpress-seo"),"assertive")}render(){const{isActive:e,activeAttributes:r,value:s,onChange:a}=this.props,{RichTextToolbarButton:o,RichTextShortcut:n}=window.wp.blockEditor;return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(n,{type:"primary",character:"k",onUse:this.addLink}),(0,t.createElement)(n,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&(0,t.createElement)(o,{name:"link",icon:"editor-unlink",title:(0,l.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&(0,t.createElement)(o,{name:"link",icon:"admin-links",title:dd,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&(0,t.createElement)(ld,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:r,value:s,onChange:a}))}})};function ud(){const e=M();return(0,m.get)(e,"contentLocale","en_US")}const{updateReplacementVariable:md,updateData:hd,hideReplacementVariables:gd,setContentImage:yd,updateSettings:fd,setEditorDataContent:wd,setEditorDataTitle:bd,setEditorDataExcerpt:Ed,setEditorDataImageUrl:vd,setEditorDataSlug:kd}=u.actions,_d=r.g.jQuery;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){const r=M(),s=r.isPremium?"Yoast SEO Premium":"Yoast SEO",d=(0,t.createElement)($,null);(0,a.updateCategory)("yoast-structured-data-blocks",{icon:d}),(0,a.updateCategory)("yoast-internal-linking-blocks",{icon:d});const u={isRtl:r.isRtl},m=e.getState().preferences,h=m.isKeywordAnalysisActive||m.isContentAnalysisActive,g=m.isKeywordAnalysisActive&&m.isWincherIntegrationActive;!function(){var e,t,r;const s="yoast-seo/document-panel";var a,n,i,l;Boolean(null===(e=(0,o.dispatch)("core/editor"))||void 0===e?void 0:e.toggleEditorPanelOpened)?((null===(t=(0,o.select)("core/preferences"))||void 0===t?void 0:t.get("core","openPanels"))||(null===(r=(0,o.select)("core/preferences"))||void 0===r?void 0:r.get("core/edit-post","openPanels"))).includes(s)||null===(a=(0,o.dispatch)("core/editor"))||void 0===a||a.toggleEditorPanelOpened(s):null!==(n=(0,o.select)("core/preferences"))&&void 0!==n&&null!==(i=n.get("core/edit-post","openPanels"))&&void 0!==i&&i.includes(s)||null===(l=(0,o.dispatch)("core/edit-post"))||void 0===l||l.toggleEditorPanelOpened(s)}();const y={locationContext:"block-sidebar"},f={locationContext:"block-metabox"};(0,c.registerPlugin)("yoast-seo",{render:()=>(0,t.createElement)(i.Fragment,null,(0,t.createElement)(n.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:(0,t.createElement)(ll,null)},s),(0,t.createElement)(n.PluginSidebar,{name:"seo-sidebar",title:s},(0,t.createElement)(p.Root,{context:y},(0,t.createElement)(el,{store:e,theme:u}))),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Uc,{store:e,theme:u}),(0,t.createElement)(p.Root,{context:f},(0,t.createElement)(Qi,{target:"wpseo-metabox-root",store:e,theme:u}))),h&&(0,t.createElement)(n.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(wl,null)),(0,t.createElement)(n.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(yl,null),g&&(0,t.createElement)(zc,null)),h&&(0,t.createElement)(n.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),icon:(0,t.createElement)(i.Fragment,null)},(0,t.createElement)(il,null))),icon:(0,t.createElement)(ll,null)})})(e),function(){if("function"==typeof(0,m.get)(window,"wp.blockEditor.__experimentalLinkControl")){const e=(0,o.select)("core/rich-text").getFormatType("core/unknown");void 0!==e&&(0,o.dispatch)("core/rich-text").removeFormatTypes("core/unknown"),[pd].forEach((({name:e,replaces:t,...r})=>{t&&(0,o.dispatch)("core/rich-text").removeFormatTypes(t),e&&(0,d.registerFormatType)(e,r)})),void 0!==e&&(0,d.registerFormatType)("core/unknown",e)}else console.warn((0,l.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,l.sprintf)( // translators: %1$s expands to Yoast SEO. -(0,l.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO"))}(),function(e){(0,o.select)("core/block-editor")&&(0,m.isFunction)((0,o.select)("core/block-editor").getBlocks)&&(0,o.select)("core/annotations")&&(0,m.isFunction)((0,o.dispatch)("core/annotations").__experimentalAddAnnotation)&&e.dispatch(u.actions.setMarkerStatus("enabled"))}(e),Is()&&F()},window.yoast.EditorData=class{constructor(e,t){this._refresh=e,this._store=t,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){var r,s;this._data=this.getInitialData(e),r=this._data,s=this._store,(0,m.forEach)(r,((e,t)=>{Tr.includes(t)||s.dispatch(vr(t,e))})),this._store.dispatch(fd(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}getInitialData(e){const t=this.collectGutenbergData();return e=function(e,t){if(!e.custom_taxonomies)return e;const r={};return(0,m.forEach)(e.custom_taxonomies,((e,t)=>{const{name:s,label:a,descriptionName:o,descriptionLabel:n}=function(e){const t=Sr(e);return{name:"ct_"+t,label:kr(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:kr(e+" description (custom taxonomy)")}}(t),i="string"==typeof e.name?(0,de.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,de.decodeHTML)(e.description):e.description;r[s]={value:i,label:a},r[o]={value:l,label:n}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(r)),(0,m.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,m.forEach)(e.custom_fields,((e,r)=>{const{name:s,label:a}=function(e){return{name:"cf_"+Sr(e),label:kr(e+" (custom field)")}}(r);t.dispatch(vr(s,e,a))})),(0,m.omit)({...e},"custom_fields")):e}(e,this._store),this._store),{...e,...t}}setRefresh(e){this._refresh=e}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e.hasOwnProperty(r)&&(!(r in t)||e[r]!==t[r]))return!1;return!0}getMediaById(e){return this._coreDataSelect||(this._coreDataSelect=(0,o.select)("core")),this._coreDataSelect.getMedia(e)}getPostAttribute(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,o.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}getSlug(){if("auto-draft"===this.getPostAttribute("status"))return"";let e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");const t=this.getPostAttribute("slug")||e;try{return decodeURI(t)}catch(e){return t}}getPostBaseUrl(){const e=(0,o.select)("core/editor").getPermalinkParts();if(null===e||null==e||!e.prefix)return window.wpseoScriptData.metabox.base_url;let t=e.prefix;if((0,o.select)("core/editor").isEditedPostNew())try{const e=new URL(t);t=e.origin+e.pathname}catch(e){}return t.endsWith("/")||(t+="/"),t}collectGutenbergData(){let e=(0,o.select)("core/editor").getEditedPostContent();const t=(0,o.select)("core/block-editor").getBlocks();1===t.length&&"core/freeform"===t[0].name&&(e=(0,a.getBlockContent)(t[0]));const r=this.calculateContentImage(e),s=this.getPostAttribute("excerpt")||"";return{content:e,title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:s||Rr(e,"ja"===hd()?80:156),excerpt_only:s,snippetPreviewImageURL:this.getFeaturedImage()||r,contentImage:r,baseUrl:this.getPostBaseUrl()}}getFeaturedImage(){const e=this.getPostAttribute("featured_media");if(e){const t=this.getMediaById(e);if(t)return t.source_url}return null}calculateContentImage(e){const t=j.languageProcessing.imageInText(e);if(0===t.length)return"";const r=Td.parseHTML(t.join(""));for(const e of r)if(e.src)return e.src;return""}handleEditorChange(e){this._data.content!==e.content&&this._store.dispatch(Ed(e.content)),this._data.title!==e.title&&(this._store.dispatch(vd(e.title)),this._store.dispatch(gd("title",e.title))),this._data.excerpt!==e.excerpt&&(this._store.dispatch(kd(e.excerpt)),this._store.dispatch(gd("excerpt",e.excerpt)),this._store.dispatch(gd("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&(this._store.dispatch(xd(e.slug)),this._store.dispatch(yd({slug:e.slug}))),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&(this._store.dispatch(_d(e.snippetPreviewImageURL)),this._store.dispatch(yd({snippetPreviewImageURL:e.snippetPreviewImageURL}))),this._data.contentImage!==e.contentImage&&this._store.dispatch(wd(e.contentImage)),this._data.baseUrl!==e.baseUrl&&this._store.dispatch(bd({baseUrl:e.baseUrl}))}reapplyMarkers(){const{getActiveMarker:e,getMarkerPauseStatus:t}=(0,o.select)("yoast-seo/editor"),r=e(),s=t();r&&!s&&id()}refreshYoastSEO(){const e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}areNewAnalysisResultsAvailable(){const e=(0,o.select)("yoast-seo/editor"),t=e.getReadabilityResults(),r=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==r)&&(this._previousReadabilityResults=t,this._previousSeoResults=r,!0)}onNewAnalysisResultsAvailable(){this.reapplyMarkers()}subscribeToGutenberg(){this.subscriber=(0,m.debounce)(this.refreshYoastSEO,500),(0,o.subscribe)(this.subscriber)}subscribeToYoastSEO(){this.yoastSubscriber=()=>{this.areNewAnalysisResultsAvailable()&&this.onNewAnalysisResultsAvailable()},(0,o.subscribe)(this.yoastSubscriber)}getData(){return this._data}}})()})(); \ No newline at end of file +(0,l.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO"))}(),function(e){(0,o.select)("core/block-editor")&&(0,m.isFunction)((0,o.select)("core/block-editor").getBlocks)&&(0,o.select)("core/annotations")&&(0,m.isFunction)((0,o.dispatch)("core/annotations").__experimentalAddAnnotation)&&e.dispatch(u.actions.setMarkerStatus("enabled"))}(e),Ts()&&F()},window.yoast.EditorData=class{constructor(e,t){this._refresh=e,this._store=t,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){var r,s;this._data=this.getInitialData(e),r=this._data,s=this._store,(0,m.forEach)(r,((e,t)=>{vr.includes(t)||s.dispatch(fr(t,e))})),this._store.dispatch(gd(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}getInitialData(e){const t=this.collectGutenbergData();return e=function(e,t){if(!e.custom_taxonomies)return e;const r={};return(0,m.forEach)(e.custom_taxonomies,((e,t)=>{const{name:s,label:a,descriptionName:o,descriptionLabel:n}=function(e){const t=kr(e);return{name:"ct_"+t,label:wr(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:wr(e+" description (custom taxonomy)")}}(t),i="string"==typeof e.name?(0,de.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,de.decodeHTML)(e.description):e.description;r[s]={value:i,label:a},r[o]={value:l,label:n}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(r)),(0,m.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,m.forEach)(e.custom_fields,((e,r)=>{const{name:s,label:a}=function(e){return{name:"cf_"+kr(e),label:wr(e+" (custom field)")}}(r);t.dispatch(fr(s,e,a))})),(0,m.omit)({...e},"custom_fields")):e}(e,this._store),this._store),{...e,...t}}setRefresh(e){this._refresh=e}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e.hasOwnProperty(r)&&(!(r in t)||e[r]!==t[r]))return!1;return!0}getMediaById(e){return this._coreDataSelect||(this._coreDataSelect=(0,o.select)("core")),this._coreDataSelect.getMedia(e)}getPostAttribute(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,o.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}getSlug(){if("auto-draft"===this.getPostAttribute("status"))return"";let e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");const t=this.getPostAttribute("slug")||e;try{return decodeURI(t)}catch(e){return t}}getPostBaseUrl(){const e=(0,o.select)("core/editor").getPermalinkParts();if(null===e||null==e||!e.prefix)return window.wpseoScriptData.metabox.base_url;let t=e.prefix;if((0,o.select)("core/editor").isEditedPostNew())try{const e=new URL(t);t=e.origin+e.pathname}catch(e){}return t.endsWith("/")||(t+="/"),t}collectGutenbergData(){let e=(0,o.select)("core/editor").getEditedPostContent();const t=(0,o.select)("core/block-editor").getBlocks();1===t.length&&"core/freeform"===t[0].name&&(e=(0,a.getBlockContent)(t[0]));const r=this.calculateContentImage(e),s=this.getPostAttribute("excerpt")||"";return{content:e,title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:s||_r(e,"ja"===ud()?80:156),excerpt_only:s,snippetPreviewImageURL:this.getFeaturedImage()||r,contentImage:r,baseUrl:this.getPostBaseUrl()}}getFeaturedImage(){const e=this.getPostAttribute("featured_media");if(e){const t=this.getMediaById(e);if(t)return t.source_url}return null}calculateContentImage(e){const t=j.languageProcessing.imageInText(e);if(0===t.length)return"";const r=_d.parseHTML(t.join(""));for(const e of r)if(e.src)return e.src;return""}handleEditorChange(e){this._data.content!==e.content&&this._store.dispatch(wd(e.content)),this._data.title!==e.title&&(this._store.dispatch(bd(e.title)),this._store.dispatch(md("title",e.title))),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Ed(e.excerpt)),this._store.dispatch(md("excerpt",e.excerpt)),this._store.dispatch(md("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&(this._store.dispatch(kd(e.slug)),this._store.dispatch(hd({slug:e.slug}))),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&(this._store.dispatch(vd(e.snippetPreviewImageURL)),this._store.dispatch(hd({snippetPreviewImageURL:e.snippetPreviewImageURL}))),this._data.contentImage!==e.contentImage&&this._store.dispatch(yd(e.contentImage)),this._data.baseUrl!==e.baseUrl&&this._store.dispatch(fd({baseUrl:e.baseUrl}))}reapplyMarkers(){const{getActiveMarker:e,getMarkerPauseStatus:t}=(0,o.select)("yoast-seo/editor"),r=e(),s=t();r&&!s&&od()}refreshYoastSEO(){const e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}areNewAnalysisResultsAvailable(){const e=(0,o.select)("yoast-seo/editor"),t=e.getReadabilityResults(),r=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==r)&&(this._previousReadabilityResults=t,this._previousSeoResults=r,!0)}onNewAnalysisResultsAvailable(){this.reapplyMarkers()}subscribeToGutenberg(){this.subscriber=(0,m.debounce)(this.refreshYoastSEO,500),(0,o.subscribe)(this.subscriber)}subscribeToYoastSEO(){this.yoastSubscriber=()=>{this.areNewAnalysisResultsAvailable()&&this.onNewAnalysisResultsAvailable()},(0,o.subscribe)(this.yoastSubscriber)}getData(){return this._data}}})()})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/classic-editor.js b/wp/wp-content/plugins/wordpress-seo/js/dist/classic-editor.js index ca873cc9..522ad60b 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/classic-editor.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/classic-editor.js @@ -1,4 +1,4 @@ -(()=>{var e={6746:(e,t,s)=>{"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(s(9196)),a=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,d,u,p,m,h,g=[],f={};for(p=0;p "+l);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){s=t[u.value],i=p;break}g.push(t[u.value])}else g.push(u.value);return s&&(d=function(e,t){var s,n,r=t[e],a=0;for(n=e+1;n{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{"use strict";var n=s(9196),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=s(7942),o=s(9179),i=s(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,u="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,n={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var s,n}function m(e,t,s,n){var a,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===r)return s(n,e,""===t?l+p(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var f=0;f{"use strict";function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{"use strict";e.exports=function(e,t,s,n,r,a,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,n,r,a,o,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{"use strict";var n=s(7942);e.exports=n},4530:(e,t)=>{var s;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=s(9196),t=s.n(e);const n=window.wp.element,r=window.wp.components,a=window.yoast.propTypes;var o=s.n(a);const i=window.lodash,l=window.yoast.styledComponents;var c=s.n(l);const d=window.yoast.externals.contexts,u=({theme:t,location:s,children:n})=>(0,e.createElement)(d.LocationProvider,{value:s},(0,e.createElement)(l.ThemeProvider,{theme:t},n));u.propTypes={theme:o().object.isRequired,location:o().oneOf(["sidebar","metabox","modal"]).isRequired,children:o().element.isRequired};const p=u,m=window.yoast.uiLibrary,h=window.wp.data;const g=window.yoast.componentsNew,f=window.yoast.styleGuide,y=window.yoast.analysis;function w(e){switch(e){case"loading":return{icon:"loading-spinner",color:f.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:f.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:f.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:f.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:f.colors.$color_ok};default:return{icon:"seo-score-bad",color:f.colors.$color_red}}}function b({target:e,children:t}){let s=e;return"string"==typeof e&&(s=document.getElementById(e)),s?(0,n.createPortal)(t,s):null}b.propTypes={target:o().oneOfType([o().string,o().object]).isRequired,children:o().node.isRequired};const E=({target:t,scoreIndicator:s})=>(0,e.createElement)(b,{target:t},(0,e.createElement)(g.SvgIcon,{...w(s)}));E.propTypes={target:o().string.isRequired,scoreIndicator:o().string.isRequired};const v=E,k=window.wp.i18n,_=({handleRefreshClick:t,supportLink:s})=>(0,e.createElement)("div",{className:"yst-flex yst-gap-2"},(0,e.createElement)(m.Button,{onClick:t},(0,k.__)("Refresh this page","wordpress-seo")),(0,e.createElement)(m.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener"},(0,k.__)("Contact support","wordpress-seo")));_.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const T=({handleRefreshClick:t,supportLink:s})=>(0,e.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,e.createElement)(m.Button,{className:"yst-order-last",onClick:t},(0,k.__)("Refresh this page","wordpress-seo")),(0,e.createElement)(m.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener"},(0,k.__)("Contact support","wordpress-seo")));T.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const x=({error:t,children:s})=>(0,e.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,e.createElement)(m.Title,null,(0,k.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,e.createElement)("p",null,(0,k.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,e.createElement)(m.Alert,{variant:"error"},(null==t?void 0:t.message)||(0,k.__)("Undefined error message.","wordpress-seo")),(0,e.createElement)("p",null,(0,k.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),s);x.propTypes={error:o().object.isRequired,children:o().node},x.VerticalButtons=T,x.HorizontalButtons=_;const S=({error:t})=>{const s=(0,n.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),a=(0,h.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,n.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,e.createElement)(m.Root,{context:{isRtl:a}},(0,e.createElement)(x,{error:t},(0,e.createElement)(x.HorizontalButtons,{supportLink:r,handleRefreshClick:s}),(0,e.createElement)(v,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,e.createElement)(v,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,e.createElement)(v,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})))};function C({theme:t}){return(0,e.createElement)(p,{theme:t,location:"metabox"},(0,e.createElement)(m.ErrorBoundary,{FallbackComponent:S},(0,e.createElement)(r.Slot,{name:"YoastMetabox"},(e=>{return void 0===(t=e).length?t:(0,i.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t}))))}S.propTypes={error:o().object.isRequired};const R=window.wp.compose,I=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))}));var L=s(4530),P=s.n(L);const A=({className:t,...s})=>(0,e.createElement)("span",{className:P()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",t),...s});A.displayName="MetaboxButton.Text",A.propTypes={className:o().string},A.defaultProps={className:""};const M=({className:t,...s})=>(0,e.createElement)("button",{type:"button",className:P()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",t),...s});M.propTypes={className:o().string},M.defaultProps={className:""},M.Text=A;const F=window.yoast.helpers,q=c().div` +(()=>{var e={6746:(e,t,s)=>{"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(s(9196)),a=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,d,u,p,m,h,g=[],f={};for(p=0;p "+l);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){s=t[u.value],i=p;break}g.push(t[u.value])}else g.push(u.value);return s&&(d=function(e,t){var s,n,r=t[e],a=0;for(n=e+1;n{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{"use strict";var n=s(9196),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=s(7942),o=s(9179),i=s(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,u="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,n={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var s,n}function m(e,t,s,n){var a,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===r)return s(n,e,""===t?l+p(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var f=0;f{"use strict";function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{"use strict";e.exports=function(e,t,s,n,r,a,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,n,r,a,o,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{"use strict";var n=s(7942);e.exports=n},4530:(e,t)=>{var s;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=s(9196),t=s.n(e);const n=window.wp.element,r=window.wp.components,a=window.yoast.propTypes;var o=s.n(a);const i=window.lodash,l=window.yoast.styledComponents;var c=s.n(l);const d=window.yoast.externals.contexts,u=({theme:t,location:s,children:n})=>(0,e.createElement)(d.LocationProvider,{value:s},(0,e.createElement)(l.ThemeProvider,{theme:t},n));u.propTypes={theme:o().object.isRequired,location:o().oneOf(["sidebar","metabox","modal"]).isRequired,children:o().element.isRequired};const p=u,m=window.yoast.uiLibrary,h=window.wp.data;const g=window.yoast.componentsNew,f=window.yoast.styleGuide,y=window.yoast.analysis;function w(e){switch(e){case"loading":return{icon:"loading-spinner",color:f.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:f.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:f.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:f.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:f.colors.$color_ok};default:return{icon:"seo-score-bad",color:f.colors.$color_red}}}function b({target:e,children:t}){let s=e;return"string"==typeof e&&(s=document.getElementById(e)),s?(0,n.createPortal)(t,s):null}b.propTypes={target:o().oneOfType([o().string,o().object]).isRequired,children:o().node.isRequired};const E=({target:t,scoreIndicator:s})=>(0,e.createElement)(b,{target:t},(0,e.createElement)(g.SvgIcon,{...w(s)}));E.propTypes={target:o().string.isRequired,scoreIndicator:o().string.isRequired};const v=E,_=window.wp.i18n,k=({handleRefreshClick:t,supportLink:s})=>(0,e.createElement)("div",{className:"yst-flex yst-gap-2"},(0,e.createElement)(m.Button,{onClick:t},(0,_.__)("Refresh this page","wordpress-seo")),(0,e.createElement)(m.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener"},(0,_.__)("Contact support","wordpress-seo")));k.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const T=({handleRefreshClick:t,supportLink:s})=>(0,e.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,e.createElement)(m.Button,{className:"yst-order-last",onClick:t},(0,_.__)("Refresh this page","wordpress-seo")),(0,e.createElement)(m.Button,{variant:"secondary",as:"a",href:s,target:"_blank",rel:"noopener"},(0,_.__)("Contact support","wordpress-seo")));T.propTypes={handleRefreshClick:o().func.isRequired,supportLink:o().string.isRequired};const x=({error:t,children:s})=>(0,e.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,e.createElement)(m.Title,null,(0,_.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,e.createElement)("p",null,(0,_.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,e.createElement)(m.Alert,{variant:"error"},(null==t?void 0:t.message)||(0,_.__)("Undefined error message.","wordpress-seo")),(0,e.createElement)("p",null,(0,_.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),s);x.propTypes={error:o().object.isRequired,children:o().node},x.VerticalButtons=T,x.HorizontalButtons=k;const S=({error:t})=>{const s=(0,n.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/metabox-error-support")),[]),a=(0,h.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,n.useEffect)((()=>{document.querySelectorAll('[id^="wpseo-meta-tab-"]').forEach((e=>{!function(e){const t=document.querySelector(`#${e}`);null!==t&&(t.style.opacity="0.5",t.style.pointerEvents="none",t.setAttribute("aria-disabled","true"),t.classList.contains("yoast-active-tab")&&t.classList.remove("yoast-active-tab"))}(e.id)}))}),[]),(0,e.createElement)(m.Root,{context:{isRtl:a}},(0,e.createElement)(x,{error:t},(0,e.createElement)(x.HorizontalButtons,{supportLink:r,handleRefreshClick:s}),(0,e.createElement)(v,{target:"wpseo-seo-score-icon",scoreIndicator:"not-set"}),(0,e.createElement)(v,{target:"wpseo-readability-score-icon",scoreIndicator:"not-set"}),(0,e.createElement)(v,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:"not-set"})))};function R({theme:t}){return(0,e.createElement)(p,{theme:t,location:"metabox"},(0,e.createElement)(m.ErrorBoundary,{FallbackComponent:S},(0,e.createElement)(r.Slot,{name:"YoastMetabox"},(e=>{return void 0===(t=e).length?t:(0,i.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t}))))}S.propTypes={error:o().object.isRequired};const C=window.wp.compose,I=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))}));var L=s(4530),P=s.n(L);const A=({className:t,...s})=>(0,e.createElement)("span",{className:P()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",t),...s});A.displayName="MetaboxButton.Text",A.propTypes={className:o().string},A.defaultProps={className:""};const M=({className:t,...s})=>(0,e.createElement)("button",{type:"button",className:P()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",t),...s});M.propTypes={className:o().string},M.defaultProps={className:""},M.Text=A;const F=window.yoast.helpers,q=c().div` min-width: 600px; @media screen and ( max-width: 680px ) { @@ -22,86 +22,84 @@ height: 80px; } } -`,"yoast yoast-gutenberg-modal"),N=t=>{const{title:s,className:n,showYoastIcon:a,additionalClassName:o,...i}=t,l=a?(0,e.createElement)("span",{className:"yoast-icon"}):null;return(0,e.createElement)(r.Modal,{title:s,className:`${n} ${o}`,icon:l,...i},t.children)};N.propTypes={title:o().string,className:o().string,showYoastIcon:o().bool,children:o().oneOfType([o().node,o().arrayOf(o().node)]),additionalClassName:o().string},N.defaultProps={title:"Yoast SEO",className:O,showYoastIcon:!0,children:null,additionalClassName:""};const $=N;var W,B;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},t),W||(W=e.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),B||(B=e.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),H=t=>(0,e.createElement)("div",{className:"yoast components-panel__body"},(0,e.createElement)("h2",{className:"components-panel__body-title"},(0,e.createElement)("button",{id:t.id,onClick:t.onClick,className:"components-button components-panel__body-toggle",type:"button"},t.prefixIcon&&(0,e.createElement)("span",{className:"yoast-icon-span",style:{fill:`${t.prefixIcon&&t.prefixIcon.color||""}`}},(0,e.createElement)(g.SvgIcon,{size:t.prefixIcon.size,icon:t.prefixIcon.icon})),(0,e.createElement)("span",{className:"yoast-title-container"},(0,e.createElement)("div",{className:"yoast-title"},t.title),(0,e.createElement)("div",{className:"yoast-subtitle"},t.subTitle)),t.children,t.suffixIcon&&(0,e.createElement)(g.SvgIcon,{size:t.suffixIcon.size,icon:t.suffixIcon.icon}),t.SuffixHeroIcon))),K=H;H.propTypes={onClick:o().func.isRequired,title:o().string.isRequired,id:o().string,subTitle:o().string,suffixIcon:o().object,SuffixHeroIcon:o().object,prefixIcon:o().object,children:o().node},H.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const Y=e=>{let t=!0;if("blur"===(null==e?void 0:e.type)){const{relatedTarget:s}=e;if(s){const e=["media-modal","wp-core-ui"];t=(0,i.intersection)(e,Array.from(s.classList)).length!==e.length}}return t},j=({id:t,postTypeName:s,children:r,title:a,isOpen:o,close:i,open:l,shouldCloseOnClickOutside:c,showChangesWarning:u,SuffixHeroIcon:p})=>{const m=(0,n.useCallback)((e=>{Y(e)&&i()}),[i]);return(0,e.createElement)(n.Fragment,null,o&&(0,e.createElement)(d.LocationProvider,{value:"modal"},(0,e.createElement)($,{title:a,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:c},(0,e.createElement)("div",{className:"yoast-content-container"},(0,e.createElement)("div",{className:"yoast-modal-content"},r)),(0,e.createElement)("div",{className:"yoast-notice-container"},(0,e.createElement)("hr",null),(0,e.createElement)("div",{className:"yoast-button-container"},u&&(0,e.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ -(0,k.sprintf)((0,k.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),s)),(0,e.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},/* Translators: %s translates to the Post Label in singular form */ -(0,k.sprintf)((0,k.__)("Return to your %s","wordpress-seo"),s)))))),(0,e.createElement)(K,{id:t+"-open-button",title:a,SuffixHeroIcon:p,suffixIcon:p?null:{size:"20px",icon:"pencil-square"},onClick:l}))};j.propTypes={id:o().string.isRequired,postTypeName:o().string.isRequired,children:o().oneOfType([o().node,o().arrayOf(o().node)]).isRequired,title:o().string.isRequired,isOpen:o().bool.isRequired,open:o().func.isRequired,close:o().func.isRequired,shouldCloseOnClickOutside:o().bool,showChangesWarning:o().bool,SuffixHeroIcon:o().object},j.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const V=window.moment;var Z=s.n(V),G=s(6746);const X=(0,F.makeOutboundLink)(),Q=t=>{const s=(0,k.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ -(0,k.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),t.limit,"{{updateWincherPlanLink/}}");return(0,e.createElement)(g.Alert,{type:"error"},(0,G.Z)({mixedString:s,components:{updateWincherPlanLink:(0,e.createElement)(X,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,k.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,k.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};Q.propTypes={limit:o().number},Q.defaultProps={limit:10};const J=Q,ee=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,k.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),te=window.wp.apiFetch;var se=s.n(te);async function ne(e,t,s,n=200){try{const r=await e();return!!r&&(r.status===n?t(r):s(r))}catch(e){console.error(e.message)}}async function re(e){try{return await se()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function ae(e){return(0,i.isArray)(e)||(e=[e]),await re({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const oe=c().p` +`,"yoast yoast-gutenberg-modal"),N=t=>{const{title:s,className:n,showYoastIcon:a,additionalClassName:o,...i}=t,l=a?(0,e.createElement)("span",{className:"yoast-icon"}):null;return(0,e.createElement)(r.Modal,{title:s,className:`${n} ${o}`,icon:l,...i},t.children)};N.propTypes={title:o().string,className:o().string,showYoastIcon:o().bool,children:o().oneOfType([o().node,o().arrayOf(o().node)]),additionalClassName:o().string},N.defaultProps={title:"Yoast SEO",className:O,showYoastIcon:!0,children:null,additionalClassName:""};const $=N;var W,B;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},t),W||(W=e.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),B||(B=e.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),K=t=>(0,e.createElement)("div",{className:"yoast components-panel__body"},(0,e.createElement)("h2",{className:"components-panel__body-title"},(0,e.createElement)("button",{id:t.id,onClick:t.onClick,className:"components-button components-panel__body-toggle",type:"button"},t.prefixIcon&&(0,e.createElement)("span",{className:"yoast-icon-span",style:{fill:`${t.prefixIcon&&t.prefixIcon.color||""}`}},(0,e.createElement)(g.SvgIcon,{size:t.prefixIcon.size,icon:t.prefixIcon.icon})),(0,e.createElement)("span",{className:"yoast-title-container"},(0,e.createElement)("div",{className:"yoast-title"},t.title),(0,e.createElement)("div",{className:"yoast-subtitle"},t.subTitle)),t.children,t.suffixIcon&&(0,e.createElement)(g.SvgIcon,{size:t.suffixIcon.size,icon:t.suffixIcon.icon}),t.SuffixHeroIcon))),H=K;K.propTypes={onClick:o().func.isRequired,title:o().string.isRequired,id:o().string,subTitle:o().string,suffixIcon:o().object,SuffixHeroIcon:o().object,prefixIcon:o().object,children:o().node},K.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const Y=window.moment;var j=s.n(Y),V=s(6746);const Z=(0,F.makeOutboundLink)(),G=t=>{const s=(0,_.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ +(0,_.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),t.limit,"{{updateWincherPlanLink/}}");return(0,e.createElement)(g.Alert,{type:"error"},(0,V.Z)({mixedString:s,components:{updateWincherPlanLink:(0,e.createElement)(Z,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,_.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,_.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};G.propTypes={limit:o().number},G.defaultProps={limit:10};const X=G,Q=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,_.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),J=window.wp.apiFetch;var ee=s.n(J);async function te(e,t,s,n=200){try{const r=await e();return!!r&&(r.status===n?t(r):s(r))}catch(e){console.error(e.message)}}async function se(e){try{return await ee()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function ne(e){return(0,i.isArray)(e)||(e=[e]),await se({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const re=c().p` color: ${f.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; -`,ie=c()(g.SvgIcon)` +`,ae=c()(g.SvgIcon)` margin-right: 5px; vertical-align: middle; -`,le=c().button` +`,oe=c().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; -`,ce=c().p` +`,ie=c().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; -`,de=c().div` +`,le=c().div` position: relative; background: ${e=>e.isTitleShortened?"#F5F7F7":"transparent"}; border: 1px solid #C7C7C7; border-left: 4px solid${f.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; -`,ue=e=>{const[t,s]=(0,n.useState)(null);return(0,n.useEffect)((()=>{e&&!t&&async function(){return await re({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};ue.propTypes={limit:o().bool.isRequired};const pe=({limit:t,usage:s,isTitleShortened:n,isFreeAccount:r})=>{const a=(0,k.sprintf)( +`,ce=e=>{const[t,s]=(0,n.useState)(null);return(0,n.useEffect)((()=>{e&&!t&&async function(){return await se({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};ce.propTypes={limit:o().bool.isRequired};const de=({limit:t,usage:s,isTitleShortened:n,isFreeAccount:r})=>{const a=(0,_.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,k.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),s,t),o=(0,k.sprintf)( +(0,_.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),s,t),o=(0,_.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,k.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),s,t),i=r?a:o,l=(0,k.sprintf)( +(0,_.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),s,t),i=r?a:o,l=(0,_.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,k.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),s,t),c=n?l:i;return(0,e.createElement)(oe,null,n&&(0,e.createElement)(ie,{icon:"exclamation-triangle",color:f.colors.$color_pink_dark,size:"14px"}),c)};pe.propTypes={limit:o().number.isRequired,usage:o().number.isRequired,isTitleShortened:o().bool,isFreeAccount:o().bool};const me=(0,F.makeOutboundLink)(),he=({discount:t,months:s})=>{const n=(0,e.createElement)(me,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,k.sprintf)(/* Translators: %s : Expands to "Wincher". */ -(0,k.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!t||!s)return(0,e.createElement)(ce,null,n);const r=100*t,a=(0,k.sprintf)( +(0,_.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),s,t),c=n?l:i;return(0,e.createElement)(re,null,n&&(0,e.createElement)(ae,{icon:"exclamation-triangle",color:f.colors.$color_pink_dark,size:"14px"}),c)};de.propTypes={limit:o().number.isRequired,usage:o().number.isRequired,isTitleShortened:o().bool,isFreeAccount:o().bool};const ue=(0,F.makeOutboundLink)(),pe=({discount:t,months:s})=>{const n=(0,e.createElement)(ue,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,_.sprintf)(/* Translators: %s : Expands to "Wincher". */ +(0,_.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!t||!s)return(0,e.createElement)(ie,null,n);const r=100*t,a=(0,_.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ -(0,k.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",r+"%",s);return(0,e.createElement)(ce,null,(0,G.Z)({mixedString:a,components:{wincherAccountUpgradeLink:n}}))};he.propTypes={discount:o().number,months:o().number};const ge=({onClose:t,isTitleShortened:s,trackingInfo:r})=>{const a=(()=>{const[e,t]=(0,n.useState)(null);return(0,n.useEffect)((()=>{e||async function(){return await re({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===r)return null;const{limit:o,usage:i}=r;if(!(o&&i/o>=.8))return null;const l=Boolean(null==a?void 0:a.discount);return(0,e.createElement)(de,{isTitleShortened:s},t&&(0,e.createElement)(le,{type:"button","aria-label":(0,k.__)("Close the upgrade callout","wordpress-seo"),onClick:t},(0,e.createElement)(g.SvgIcon,{icon:"times-circle",color:f.colors.$color_pink_dark,size:"14px"})),(0,e.createElement)(pe,{...r,isTitleShortened:s,isFreeAccount:l}),(0,e.createElement)(he,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};ge.propTypes={onClose:o().func,isTitleShortened:o().bool,trackingInfo:o().object};const fe=ge,ye=()=>(0,e.createElement)(g.Alert,{type:"success"},(0,k.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,k.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),we=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,k.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,k.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),be=({data:t,mapChartDataToTableData:s,dataTableCaption:n,dataTableHeaderLabels:r,isDataTableVisuallyHidden:a})=>t.length!==r.length?(0,e.createElement)("p",null,(0,k.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,e.createElement)("div",{className:a?"screen-reader-text":null},(0,e.createElement)("table",null,(0,e.createElement)("caption",null,n),(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,r.map(((t,s)=>(0,e.createElement)("th",{key:s},t))))),(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,t.map(((t,n)=>(0,e.createElement)("td",{key:n},s(t.y))))))));be.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool},be.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ee=be,ve=({data:t,width:s,height:r,fillColor:a,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:u,isDataTableVisuallyHidden:p})=>{const m=Math.max(1,Math.max(...t.map((e=>e.x)))),h=Math.max(1,Math.max(...t.map((e=>e.y)))),g=r-i,f=t.map((e=>`${e.x/m*s},${g-e.y/h*g+i}`)).join(" "),y=`0,${g+i} `+f+` ${s},${g+i}`;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)("svg",{width:s,height:r,viewBox:`0 0 ${s} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},(0,e.createElement)("polygon",{fill:a,points:y}),(0,e.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),c&&(0,e.createElement)(Ee,{data:t,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:u,isDataTableVisuallyHidden:p}))};ve.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,width:o().number.isRequired,height:o().number.isRequired,fillColor:o().string,strokeColor:o().string,strokeWidth:o().number,className:o().string,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool},ve.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const ke=ve,_e=()=>(0,e.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,k.__)("Tracking the ranking position...","wordpress-seo")," ",(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"})),Te=c()(g.SvgIcon)` +(0,_.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",r+"%",s);return(0,e.createElement)(ie,null,(0,V.Z)({mixedString:a,components:{wincherAccountUpgradeLink:n}}))};pe.propTypes={discount:o().number,months:o().number};const me=({onClose:t,isTitleShortened:s,trackingInfo:r})=>{const a=(()=>{const[e,t]=(0,n.useState)(null);return(0,n.useEffect)((()=>{e||async function(){return await se({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===r)return null;const{limit:o,usage:i}=r;if(!(o&&i/o>=.8))return null;const l=Boolean(null==a?void 0:a.discount);return(0,e.createElement)(le,{isTitleShortened:s},t&&(0,e.createElement)(oe,{type:"button","aria-label":(0,_.__)("Close the upgrade callout","wordpress-seo"),onClick:t},(0,e.createElement)(g.SvgIcon,{icon:"times-circle",color:f.colors.$color_pink_dark,size:"14px"})),(0,e.createElement)(de,{...r,isTitleShortened:s,isFreeAccount:l}),(0,e.createElement)(pe,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};me.propTypes={onClose:o().func,isTitleShortened:o().bool,trackingInfo:o().object};const he=me,ge=()=>(0,e.createElement)(g.Alert,{type:"success"},(0,_.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,_.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),fe=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,_.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,_.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),ye=({data:t,mapChartDataToTableData:s,dataTableCaption:n,dataTableHeaderLabels:r,isDataTableVisuallyHidden:a})=>t.length!==r.length?(0,e.createElement)("p",null,(0,_.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,e.createElement)("div",{className:a?"screen-reader-text":null},(0,e.createElement)("table",null,(0,e.createElement)("caption",null,n),(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,r.map(((t,s)=>(0,e.createElement)("th",{key:s},t))))),(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,t.map(((t,n)=>(0,e.createElement)("td",{key:n},s(t.y))))))));ye.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool},ye.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const we=ye,be=({data:t,width:s,height:r,fillColor:a,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:u,isDataTableVisuallyHidden:p})=>{const m=Math.max(1,Math.max(...t.map((e=>e.x)))),h=Math.max(1,Math.max(...t.map((e=>e.y)))),g=r-i,f=t.map((e=>`${e.x/m*s},${g-e.y/h*g+i}`)).join(" "),y=`0,${g+i} `+f+` ${s},${g+i}`;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)("svg",{width:s,height:r,viewBox:`0 0 ${s} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},(0,e.createElement)("polygon",{fill:a,points:y}),(0,e.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),c&&(0,e.createElement)(we,{data:t,mapChartDataToTableData:c,dataTableCaption:d,dataTableHeaderLabels:u,isDataTableVisuallyHidden:p}))};be.propTypes={data:o().arrayOf(o().shape({x:o().number,y:o().number})).isRequired,width:o().number.isRequired,height:o().number.isRequired,fillColor:o().string,strokeColor:o().string,strokeWidth:o().number,className:o().string,mapChartDataToTableData:o().func,dataTableCaption:o().string.isRequired,dataTableHeaderLabels:o().array.isRequired,isDataTableVisuallyHidden:o().bool},be.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ee=be,ve=()=>(0,e.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,_.__)("Tracking the ranking position...","wordpress-seo")," ",(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"})),_e=c()(g.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; -`,xe=c().span` +`,ke=c().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; -`,Se=c().td` +`,Te=c().td` padding-right: 0 !important; & > div { margin: 0px; } -`,Ce=c().td` +`,xe=c().td` padding-left: 2px !important; -`,Re=c().td.attrs({className:"yoast-table--nopadding"})` +`,Se=c().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } -`,Ie=c().div` +`,Re=c().div` display: flex; align-items: center; & > a { box-sizing: border-box; } -`,Le=c().button` +`,Ce=c().button` background: none; color: inherit; border: none; @@ -111,9 +109,9 @@ outline: inherit; display: flex; align-items: center; -`,Pe=c().tr` +`,Ie=c().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; -`;function Ae(e){return Math.round(100*e)}function Me({chartData:t}){if((0,i.isEmpty)(t)||(0,i.isEmpty)(t.position))return"?";const s=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,k.sprintf)((0,k._n)("%d day","%d days",e,"wordpress-seo"),e)))}(t),n=t.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,e.createElement)(ke,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Ae,dataTableCaption:(0,k.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})}Me.propTypes={chartData:o().object},Me.defaultProps={chartData:{}};const Fe=({rowData:t})=>{var s;if(null==t||null===(s=t.position)||void 0===s||!s.change)return(0,e.createElement)(Me,{chartData:t});const r=t.position.change<0;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(Me,{chartData:t}),(0,e.createElement)(xe,{isImproving:r},Math.abs(t.position.change)),(0,e.createElement)(Te,{icon:"caret-right",color:r?"#69AB56":"#DC3332",size:"14px",isImproving:r}))};function qe(t){var s;const{keyphrase:r,rowData:a,onTrackKeyphrase:o,onUntrackKeyphrase:l,isFocusKeyphrase:c,isDisabled:d,isLoading:u,isSelected:p,onSelectKeyphrases:m}=t,h=!(0,i.isEmpty)(a),f=!(0,i.isEmpty)(null==a||null===(s=a.position)||void 0===s?void 0:s.history),y=(0,n.useCallback)((()=>{d||(h?l(r,a.id):o(r))}),[r,o,l,h,a,d]),w=(0,n.useCallback)((()=>{m((e=>p?e.filter((e=>e!==r)):e.concat(r)))}),[m,p,r]);return(0,e.createElement)(Pe,{isEnabled:h},(0,e.createElement)(Se,null,f&&(0,e.createElement)(g.Checkbox,{id:"select-"+r,onChange:w,checked:p,label:""})),(0,e.createElement)(Ce,null,r,c&&(0,e.createElement)("span",null,"*")),function(t){const{rowData:s,websiteId:r,keyphrase:a,onSelectKeyphrases:o}=t,l=(0,n.useCallback)((()=>{o([a])}),[o,a]),c=!(0,i.isEmpty)(s),d=s&&s.updated_at&&Z()(s.updated_at)>=Z()().subtract(7,"days"),u=s?(0,k.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",r,s.id):null;return c?d?(0,e.createElement)(n.Fragment,null,(0,e.createElement)("td",null,(0,e.createElement)(Ie,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(s),(0,e.createElement)(g.ButtonStyledLink,{variant:"secondary",href:u,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,k.__)("View","wordpress-seo")))),(0,e.createElement)("td",{className:"yoast-table--nopadding"},(0,e.createElement)(Le,{type:"button",onClick:l},(0,e.createElement)(Fe,{rowData:s}))),(0,e.createElement)("td",null,(p=s.updated_at,Z()(p).fromNow()))):(0,e.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,e.createElement)(_e,null)):(0,e.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,e.createElement)("i",null,(0,k.__)("Activate tracking to show the ranking position","wordpress-seo")));var p}(t),(0,e.createElement)(Re,null,function({keyphrase:t,isEnabled:s,toggleAction:n,isLoading:r}){return r?(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"}):(0,e.createElement)(g.Toggle,{id:`toggle-keyphrase-tracking-${t}`,className:"wincher-toggle",isEnabled:s,onSetToggleState:n,showToggleStateLabel:!1})}({keyphrase:r,isEnabled:h,toggleAction:y,isLoading:u})))}Fe.propTypes={rowData:o().object},qe.propTypes={rowData:o().object,keyphrase:o().string.isRequired,onTrackKeyphrase:o().func,onUntrackKeyphrase:o().func,isFocusKeyphrase:o().bool,isDisabled:o().bool,isLoading:o().bool,websiteId:o().string,isSelected:o().bool.isRequired,onSelectKeyphrases:o().func.isRequired},qe.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const De=(0,F.makeOutboundLink)(),Oe=c().span` +`;function Le(e){return Math.round(100*e)}function Pe({chartData:t}){if((0,i.isEmpty)(t)||(0,i.isEmpty)(t.position))return"?";const s=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,_.sprintf)((0,_._n)("%d day","%d days",e,"wordpress-seo"),e)))}(t),n=t.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,e.createElement)(Ee,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Le,dataTableCaption:(0,_.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})}Pe.propTypes={chartData:o().object},Pe.defaultProps={chartData:{}};const Ae=({rowData:t})=>{var s;if(null==t||null===(s=t.position)||void 0===s||!s.change)return(0,e.createElement)(Pe,{chartData:t});const r=t.position.change<0;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(Pe,{chartData:t}),(0,e.createElement)(ke,{isImproving:r},Math.abs(t.position.change)),(0,e.createElement)(_e,{icon:"caret-right",color:r?"#69AB56":"#DC3332",size:"14px",isImproving:r}))};function Me(t){var s;const{keyphrase:r,rowData:a,onTrackKeyphrase:o,onUntrackKeyphrase:l,isFocusKeyphrase:c,isDisabled:d,isLoading:u,isSelected:p,onSelectKeyphrases:m}=t,h=!(0,i.isEmpty)(a),f=!(0,i.isEmpty)(null==a||null===(s=a.position)||void 0===s?void 0:s.history),y=(0,n.useCallback)((()=>{d||(h?l(r,a.id):o(r))}),[r,o,l,h,a,d]),w=(0,n.useCallback)((()=>{m((e=>p?e.filter((e=>e!==r)):e.concat(r)))}),[m,p,r]);return(0,e.createElement)(Ie,{isEnabled:h},(0,e.createElement)(Te,null,f&&(0,e.createElement)(g.Checkbox,{id:"select-"+r,onChange:w,checked:p,label:""})),(0,e.createElement)(xe,null,r,c&&(0,e.createElement)("span",null,"*")),function(t){const{rowData:s,websiteId:r,keyphrase:a,onSelectKeyphrases:o}=t,l=(0,n.useCallback)((()=>{o([a])}),[o,a]),c=!(0,i.isEmpty)(s),d=s&&s.updated_at&&j()(s.updated_at)>=j()().subtract(7,"days"),u=s?(0,_.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",r,s.id):null;return c?d?(0,e.createElement)(n.Fragment,null,(0,e.createElement)("td",null,(0,e.createElement)(Re,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(s),(0,e.createElement)(g.ButtonStyledLink,{variant:"secondary",href:u,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,_.__)("View","wordpress-seo")))),(0,e.createElement)("td",{className:"yoast-table--nopadding"},(0,e.createElement)(Ce,{type:"button",onClick:l},(0,e.createElement)(Ae,{rowData:s}))),(0,e.createElement)("td",null,(p=s.updated_at,j()(p).fromNow()))):(0,e.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,e.createElement)(ve,null)):(0,e.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,e.createElement)("i",null,(0,_.__)("Activate tracking to show the ranking position","wordpress-seo")));var p}(t),(0,e.createElement)(Se,null,function({keyphrase:t,isEnabled:s,toggleAction:n,isLoading:r}){return r?(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"}):(0,e.createElement)(g.Toggle,{id:`toggle-keyphrase-tracking-${t}`,className:"wincher-toggle",isEnabled:s,onSetToggleState:n,showToggleStateLabel:!1})}({keyphrase:r,isEnabled:h,toggleAction:y,isLoading:u})))}Ae.propTypes={rowData:o().object},Me.propTypes={rowData:o().object,keyphrase:o().string.isRequired,onTrackKeyphrase:o().func,onUntrackKeyphrase:o().func,isFocusKeyphrase:o().bool,isDisabled:o().bool,isLoading:o().bool,websiteId:o().string,isSelected:o().bool.isRequired,onSelectKeyphrases:o().func.isRequired},Me.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const Fe=(0,F.makeOutboundLink)(),qe=c().span` display: block; font-style: italic; @@ -122,47 +120,47 @@ position: absolute; ${(0,F.getDirectionalStyle)("right","left")}: 8px; } -`,Ne=c().div` +`,De=c().div` width: 100%; overflow-y: auto; -`,$e=c().th` +`,Oe=c().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } -`,We=c().th` +`,Ne=c().th` padding-left: 2px !important; -`,Be=e=>{const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e})),t.current},Ue=(0,i.debounce)((async function(e=null,t=null,s=null,n){return await re({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:n})}),500,{leading:!0}),ze=t=>{const{addTrackedKeyphrase:s,isLoggedIn:r,keyphrases:a,permalink:o,removeTrackedKeyphrase:l,setKeyphraseLimitReached:c,setRequestFailed:d,setRequestSucceeded:u,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:h,trackedKeyphrases:f,isNewlyAuthenticated:y,websiteId:w,focusKeyphrase:b,newRequest:E,startAt:v,selectedKeyphrases:_,onSelectKeyphrases:T}=t,x=(0,n.useRef)(),S=(0,n.useRef)(),C=(0,n.useRef)(!1),[R,I]=(0,n.useState)([]),L=(0,n.useCallback)((e=>{const t=e.toLowerCase();return f&&!(0,i.isEmpty)(f)&&f.hasOwnProperty(t)?f[t]:null}),[f]),P=(0,n.useMemo)((()=>async()=>{await ne((()=>(S.current&&S.current.abort(),S.current="undefined"==typeof AbortController?null:new AbortController,Ue(a,v,o,S.current.signal))),(e=>{u(e),p(e.results)}),(e=>{d(e)}))}),[u,d,p,a,o,v]),A=(0,n.useCallback)((async e=>{const t=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));I((e=>[...e,...t])),await ne((()=>ae(t)),(e=>{u(e),s(e.results),P()}),(e=>{400===e.status&&e.limit&&c(e.limit),d(e)}),201),I((e=>(0,i.without)(e,...t)))}),[u,d,c,s,P]),M=(0,n.useCallback)((async(e,t)=>{e=e.toLowerCase(),I((t=>[...t,e])),await ne((()=>async function(e){return await re({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{u(t),l(e)}),(e=>{d(e)})),I((t=>(0,i.without)(t,e)))}),[u,l,d]),F=(0,n.useCallback)((async e=>{E(),await A(e)}),[E,A]),q=Be(o),D=Be(a),O=Be(v),N=o&&v;(0,n.useEffect)((()=>{r&&N&&(o!==q||(0,i.difference)(a,D).length||v!==O)&&P()}),[r,o,q,a,D,P,N,v,O]),(0,n.useEffect)((()=>{if(r&&h&&null!==f){const e=a.filter((e=>!L(e)));e.length&&A(e),m()}}),[r,h,f,A,m,L,a]),(0,n.useEffect)((()=>{y&&!C.current&&(P(),C.current=!0)}),[y,P]),(0,n.useEffect)((()=>{if(r&&!(0,i.isEmpty)(f))return(0,i.filter)(f,(e=>(0,i.isEmpty)(e.updated_at))).length>0&&(x.current=setInterval((()=>{P()}),1e4)),()=>{clearInterval(x.current)}}),[r,f,P]);const $=r&&null===f,W=(0,n.useMemo)((()=>(0,i.isEmpty)(f)?[]:Object.values(f).filter((e=>{var t;return!(0,i.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[f]),B=(0,n.useMemo)((()=>_.length>0&&W.length>0&&W.every((e=>_.includes(e)))),[_,W]),U=(0,n.useCallback)((()=>{T(B?[]:W)}),[T,B,W]),z=(0,n.useMemo)((()=>(0,i.orderBy)(a,[e=>Object.values(f||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,f]);return a&&!(0,i.isEmpty)(a)&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)(Ne,null,(0,e.createElement)("table",{className:"yoast yoast-table"},(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,(0,e.createElement)($e,{isDisabled:0===W.length},(0,e.createElement)(g.Checkbox,{id:"select-all",onChange:U,checked:B,label:""})),(0,e.createElement)(We,{scope:"col",abbr:(0,k.__)("Keyphrase","wordpress-seo")},(0,k.__)("Keyphrase","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Position","wordpress-seo")},(0,k.__)("Position","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Position over time","wordpress-seo")},(0,k.__)("Position over time","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Last updated","wordpress-seo")},(0,k.__)("Last updated","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Tracking","wordpress-seo")},(0,k.__)("Tracking","wordpress-seo")))),(0,e.createElement)("tbody",null,z.map(((t,s)=>(0,e.createElement)(qe,{key:`trackable-keyphrase-${s}`,keyphrase:t,onTrackKeyphrase:F,onUntrackKeyphrase:M,rowData:L(t),isFocusKeyphrase:t===b.trim().toLowerCase(),websiteId:w,isDisabled:!r,isLoading:$||R.indexOf(t.toLowerCase())>=0,isSelected:_.includes(t),onSelectKeyphrases:T})))))),(0,e.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,e.createElement)(De,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,k.sprintf)(/* translators: %s expands to Wincher */ -(0,k.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,e.createElement)(Oe,null,(0,k.__)("* focus keyphrase","wordpress-seo"))))};ze.propTypes={addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,newRequest:o().func.isRequired,removeTrackedKeyphrase:o().func.isRequired,setRequestFailed:o().func.isRequired,setKeyphraseLimitReached:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setTrackedKeyphrases:o().func.isRequired,setHasTrackedAll:o().func.isRequired,trackAll:o().bool,trackedKeyphrases:o().object,websiteId:o().string,permalink:o().string.isRequired,focusKeyphrase:o().string,startAt:o().string,selectedKeyphrases:o().arrayOf(o().string).isRequired,onSelectKeyphrases:o().func.isRequired},ze.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const He=ze,Ke=(0,R.compose)([(0,h.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:n,getWincherPermalink:r,getFocusKeyphrase:a,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:a(),keyphrases:s(),isLoggedIn:n(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:r()}})),(0,h.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:a,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{a(e)},setHasTrackedAll:()=>{i(!1)}}}))])(He),Ye=(0,F.makeOutboundLink)(),je=(0,F.makeOutboundLink)(),Ve=()=>{const t=(0,k.sprintf)((0,k.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ -"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,e.createElement)("p",null,(0,G.Z)({mixedString:t,components:{wincherLink:(0,e.createElement)(Ye,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,e.createElement)(je,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,k.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},Ze=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,k.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),Ge=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,k.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,k.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class Xe{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:n}=e;n===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const Qe=t=>{const s=(0,k.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ -(0,k.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,e.createElement)(g.Alert,{type:"error",className:t.className},(0,G.Z)({mixedString:s,components:{reconnectToWincher:(0,e.createElement)("a",{href:"#",onClick:e=>{e.preventDefault(),t.onReconnect()}},(0,k.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,k.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};Qe.propTypes={onReconnect:o().func.isRequired,className:o().string},Qe.defaultProps={className:""};const Je=Qe,et=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,k.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),tt=window.yoast["chart.js"],st="label";function nt(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function rt(e,t){e.labels=t}function at(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st;const n=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[s]===t[s]));return r&&t.data&&!n.includes(r)?(n.push(r),Object.assign(r,t),r):{...t}}))}function ot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st;const s={labels:[],datasets:[]};return rt(s,e.labels),at(s,e.datasets,t),s}function it(t,s){const{height:n=150,width:r=300,redraw:a=!1,datasetIdKey:o,type:i,data:l,options:c,plugins:d=[],fallbackContent:u,updateMode:p,...m}=t,h=(0,e.useRef)(null),g=(0,e.useRef)(),f=()=>{h.current&&(g.current=new tt.Chart(h.current,{type:i,data:ot(l,o),options:c&&{...c},plugins:d}),nt(s,g.current))},y=()=>{nt(s,null),g.current&&(g.current.destroy(),g.current=null)};return(0,e.useEffect)((()=>{!a&&g.current&&c&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(g.current,c)}),[a,c]),(0,e.useEffect)((()=>{!a&&g.current&&rt(g.current.config.data,l.labels)}),[a,l.labels]),(0,e.useEffect)((()=>{!a&&g.current&&l.datasets&&at(g.current.config.data,l.datasets,o)}),[a,l.datasets]),(0,e.useEffect)((()=>{g.current&&(a?(y(),setTimeout(f)):g.current.update(p))}),[a,c,l.labels,l.datasets,p]),(0,e.useEffect)((()=>{g.current&&(y(),setTimeout(f))}),[i]),(0,e.useEffect)((()=>(f(),()=>y())),[]),e.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},m),u)}const lt=(0,e.forwardRef)(it);function ct(t,s){return tt.Chart.register(s),(0,e.forwardRef)(((s,n)=>e.createElement(lt,Object.assign({},s,{ref:n,type:t}))))}const dt=ct("line",tt.LineController),ut={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};tt._adapters._date.override("function"==typeof Z()?{_id:"moment",formats:function(){return ut},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=Z()(e,t):e instanceof Z()||(e=Z()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return Z()(e).format(t)},add:function(e,t,s){return Z()(e).add(t,s).valueOf()},diff:function(e,t,s){return Z()(e).diff(Z()(t),s)},startOf:function(e,t,s){return e=Z()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return Z()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const pt=["top","right","bottom","left"];function mt(e,t,s){const n={};s=s?"-"+s:"";for(let r=0;r<4;r++){const a=pt[r];n[a]=parseFloat(e[t+"-"+a+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),tt.Chart.register(tt.CategoryScale,tt.LineController,tt.LineElement,tt.PointElement,tt.LinearScale,tt.TimeScale,tt.Legend,tt.Tooltip);const ht=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function gt({datasets:t,isChartShown:s,keyphrases:r}){if(!s)return null;const a=(0,n.useMemo)((()=>Object.fromEntries([...r].sort().map(((e,t)=>[e,ht[t%ht.length]])))),[r]),o=t.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,e.createElement)(dt,{height:100,data:{datasets:o},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:i.noop},tooltip:{enabled:!0,callbacks:{title:e=>Z()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}tt.Interaction.modes.xPoint=(e,t,s,n)=>{const r=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,r=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),a="border-box"===r.boxSizing,o=mt(r,"padding"),i=mt(r,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:r,offsetY:a}=n;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(r,a,e.target))o=r,i=a;else{const e=t.getBoundingClientRect();o=n.clientX-e.left,i=n.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),u=o.left+(d&&i.left),p=o.top+(d&&i.top);var m;let{width:h,height:g}=t;return a&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-u)/h*s.width/n),y:Math.round((c-p)/g*s.height/n)}}(t,e);let a=[];if(tt.Interaction.evaluateInteractionItems(e,"x",r,((e,t,s)=>{e.inXRange(r.x,n)&&a.push({element:e,datasetIndex:t,index:s})})),0===a.length)return a;const o=a.reduce(((e,t)=>Math.abs(r.x-e.element.x)e.element.x===o)),a.some((e=>Math.abs(e.element.y-r.y)<10))?a:[]},gt.propTypes={datasets:o().arrayOf(o().shape({label:o().string.isRequired,data:o().arrayOf(o().shape({datetime:o().string.isRequired,value:o().number.isRequired})).isRequired,selected:o().bool})).isRequired,isChartShown:o().bool.isRequired,keyphrases:o().array.isRequired};const ft=({response:t,onLogin:s})=>[401,403,404].includes(t.status)?(0,e.createElement)(Je,{onReconnect:s}):(0,e.createElement)(ee,null);ft.propTypes={response:o().object.isRequired,onLogin:o().func.isRequired};const yt=({isSuccess:t,response:s,allKeyphrasesMissRanking:n,onLogin:r,keyphraseLimitReached:a,limit:o})=>a?(0,e.createElement)(J,{limit:o}):(0,i.isEmpty)(s)||t?n?(0,e.createElement)(we,null):null:(0,e.createElement)(ft,{response:s,onLogin:r});yt.propTypes={isSuccess:o().bool.isRequired,allKeyphrasesMissRanking:o().bool.isRequired,response:o().object,onLogin:o().func.isRequired,keyphraseLimitReached:o().bool.isRequired,limit:o().number.isRequired},yt.defaultProps={response:{}};let wt=null;const bt=async e=>{if(wt&&!wt.isClosed())return void wt.focus();const{url:t}=await async function(){return await re({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();wt=new Xe(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:n,setRequestFailed:r,keyphrases:a,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await ne((()=>async function(e){const{code:t,websiteId:s}=e;return await re({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),n(e);const l=(Array.isArray(a)?a:[a]).map((e=>e.toLowerCase()));await ne((()=>ae(l)),(e=>{n(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),r(e)}),201);const c=wt.getPopup();c&&c.close()}),(async e=>r(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),wt.createPopup()},Et=t=>t.isLoggedIn?null:(0,e.createElement)("p",null,(0,e.createElement)(g.NewButton,{onClick:t.onLogin,variant:"primary"},(0,k.sprintf)(/* translators: %s expands to Wincher */ -(0,k.__)("Connect with %s","wordpress-seo"),"Wincher")));Et.propTypes={isLoggedIn:o().bool.isRequired,onLogin:o().func.isRequired};const vt=c().div` +`,$e=e=>{const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e})),t.current},We=(0,i.debounce)((async function(e=null,t=null,s=null,n){return await se({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:n})}),500,{leading:!0}),Be=t=>{const{addTrackedKeyphrase:s,isLoggedIn:r,keyphrases:a,permalink:o,removeTrackedKeyphrase:l,setKeyphraseLimitReached:c,setRequestFailed:d,setRequestSucceeded:u,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:h,trackedKeyphrases:f,isNewlyAuthenticated:y,websiteId:w,focusKeyphrase:b,newRequest:E,startAt:v,selectedKeyphrases:k,onSelectKeyphrases:T}=t,x=(0,n.useRef)(),S=(0,n.useRef)(),R=(0,n.useRef)(!1),[C,I]=(0,n.useState)([]),L=(0,n.useCallback)((e=>{const t=e.toLowerCase();return f&&!(0,i.isEmpty)(f)&&f.hasOwnProperty(t)?f[t]:null}),[f]),P=(0,n.useMemo)((()=>async()=>{await te((()=>(S.current&&S.current.abort(),S.current="undefined"==typeof AbortController?null:new AbortController,We(a,v,o,S.current.signal))),(e=>{u(e),p(e.results)}),(e=>{d(e)}))}),[u,d,p,a,o,v]),A=(0,n.useCallback)((async e=>{const t=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));I((e=>[...e,...t])),await te((()=>ne(t)),(e=>{u(e),s(e.results),P()}),(e=>{400===e.status&&e.limit&&c(e.limit),d(e)}),201),I((e=>(0,i.without)(e,...t)))}),[u,d,c,s,P]),M=(0,n.useCallback)((async(e,t)=>{e=e.toLowerCase(),I((t=>[...t,e])),await te((()=>async function(e){return await se({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{u(t),l(e)}),(e=>{d(e)})),I((t=>(0,i.without)(t,e)))}),[u,l,d]),F=(0,n.useCallback)((async e=>{E(),await A(e)}),[E,A]),q=$e(o),D=$e(a),O=$e(v),N=o&&v;(0,n.useEffect)((()=>{r&&N&&(o!==q||(0,i.difference)(a,D).length||v!==O)&&P()}),[r,o,q,a,D,P,N,v,O]),(0,n.useEffect)((()=>{if(r&&h&&null!==f){const e=a.filter((e=>!L(e)));e.length&&A(e),m()}}),[r,h,f,A,m,L,a]),(0,n.useEffect)((()=>{y&&!R.current&&(P(),R.current=!0)}),[y,P]),(0,n.useEffect)((()=>{if(r&&!(0,i.isEmpty)(f))return(0,i.filter)(f,(e=>(0,i.isEmpty)(e.updated_at))).length>0&&(x.current=setInterval((()=>{P()}),1e4)),()=>{clearInterval(x.current)}}),[r,f,P]);const $=r&&null===f,W=(0,n.useMemo)((()=>(0,i.isEmpty)(f)?[]:Object.values(f).filter((e=>{var t;return!(0,i.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[f]),B=(0,n.useMemo)((()=>k.length>0&&W.length>0&&W.every((e=>k.includes(e)))),[k,W]),U=(0,n.useCallback)((()=>{T(B?[]:W)}),[T,B,W]),z=(0,n.useMemo)((()=>(0,i.orderBy)(a,[e=>Object.values(f||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,f]);return a&&!(0,i.isEmpty)(a)&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)(De,null,(0,e.createElement)("table",{className:"yoast yoast-table"},(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,(0,e.createElement)(Oe,{isDisabled:0===W.length},(0,e.createElement)(g.Checkbox,{id:"select-all",onChange:U,checked:B,label:""})),(0,e.createElement)(Ne,{scope:"col",abbr:(0,_.__)("Keyphrase","wordpress-seo")},(0,_.__)("Keyphrase","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Position","wordpress-seo")},(0,_.__)("Position","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Position over time","wordpress-seo")},(0,_.__)("Position over time","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Last updated","wordpress-seo")},(0,_.__)("Last updated","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Tracking","wordpress-seo")},(0,_.__)("Tracking","wordpress-seo")))),(0,e.createElement)("tbody",null,z.map(((t,s)=>(0,e.createElement)(Me,{key:`trackable-keyphrase-${s}`,keyphrase:t,onTrackKeyphrase:F,onUntrackKeyphrase:M,rowData:L(t),isFocusKeyphrase:t===b.trim().toLowerCase(),websiteId:w,isDisabled:!r,isLoading:$||C.indexOf(t.toLowerCase())>=0,isSelected:k.includes(t),onSelectKeyphrases:T})))))),(0,e.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,e.createElement)(Fe,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,_.sprintf)(/* translators: %s expands to Wincher */ +(0,_.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,e.createElement)(qe,null,(0,_.__)("* focus keyphrase","wordpress-seo"))))};Be.propTypes={addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,newRequest:o().func.isRequired,removeTrackedKeyphrase:o().func.isRequired,setRequestFailed:o().func.isRequired,setKeyphraseLimitReached:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setTrackedKeyphrases:o().func.isRequired,setHasTrackedAll:o().func.isRequired,trackAll:o().bool,trackedKeyphrases:o().object,websiteId:o().string,permalink:o().string.isRequired,focusKeyphrase:o().string,startAt:o().string,selectedKeyphrases:o().arrayOf(o().string).isRequired,onSelectKeyphrases:o().func.isRequired},Be.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const Ue=Be,ze=(0,C.compose)([(0,h.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:n,getWincherPermalink:r,getFocusKeyphrase:a,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:a(),keyphrases:s(),isLoggedIn:n(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:r()}})),(0,h.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:a,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{a(e)},setHasTrackedAll:()=>{i(!1)}}}))])(Ue),Ke=(0,F.makeOutboundLink)(),He=(0,F.makeOutboundLink)(),Ye=()=>{const t=(0,_.sprintf)((0,_.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ +"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,e.createElement)("p",null,(0,V.Z)({mixedString:t,components:{wincherLink:(0,e.createElement)(Ke,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,e.createElement)(He,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,_.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},je=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,_.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),Ve=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,_.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,_.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class Ze{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:n}=e;n===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const Ge=t=>{const s=(0,_.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ +(0,_.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,e.createElement)(g.Alert,{type:"error",className:t.className},(0,V.Z)({mixedString:s,components:{reconnectToWincher:(0,e.createElement)("a",{href:"#",onClick:e=>{e.preventDefault(),t.onReconnect()}},(0,_.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,_.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};Ge.propTypes={onReconnect:o().func.isRequired,className:o().string},Ge.defaultProps={className:""};const Xe=Ge,Qe=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,_.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),Je=window.yoast["chart.js"],et="label";function tt(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function st(e,t){e.labels=t}function nt(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:et;const n=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[s]===t[s]));return r&&t.data&&!n.includes(r)?(n.push(r),Object.assign(r,t),r):{...t}}))}function rt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:et;const s={labels:[],datasets:[]};return st(s,e.labels),nt(s,e.datasets,t),s}function at(t,s){const{height:n=150,width:r=300,redraw:a=!1,datasetIdKey:o,type:i,data:l,options:c,plugins:d=[],fallbackContent:u,updateMode:p,...m}=t,h=(0,e.useRef)(null),g=(0,e.useRef)(),f=()=>{h.current&&(g.current=new Je.Chart(h.current,{type:i,data:rt(l,o),options:c&&{...c},plugins:d}),tt(s,g.current))},y=()=>{tt(s,null),g.current&&(g.current.destroy(),g.current=null)};return(0,e.useEffect)((()=>{!a&&g.current&&c&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(g.current,c)}),[a,c]),(0,e.useEffect)((()=>{!a&&g.current&&st(g.current.config.data,l.labels)}),[a,l.labels]),(0,e.useEffect)((()=>{!a&&g.current&&l.datasets&&nt(g.current.config.data,l.datasets,o)}),[a,l.datasets]),(0,e.useEffect)((()=>{g.current&&(a?(y(),setTimeout(f)):g.current.update(p))}),[a,c,l.labels,l.datasets,p]),(0,e.useEffect)((()=>{g.current&&(y(),setTimeout(f))}),[i]),(0,e.useEffect)((()=>(f(),()=>y())),[]),e.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},m),u)}const ot=(0,e.forwardRef)(at);function it(t,s){return Je.Chart.register(s),(0,e.forwardRef)(((s,n)=>e.createElement(ot,Object.assign({},s,{ref:n,type:t}))))}const lt=it("line",Je.LineController),ct={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Je._adapters._date.override("function"==typeof j()?{_id:"moment",formats:function(){return ct},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=j()(e,t):e instanceof j()||(e=j()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return j()(e).format(t)},add:function(e,t,s){return j()(e).add(t,s).valueOf()},diff:function(e,t,s){return j()(e).diff(j()(t),s)},startOf:function(e,t,s){return e=j()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return j()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const dt=["top","right","bottom","left"];function ut(e,t,s){const n={};s=s?"-"+s:"";for(let r=0;r<4;r++){const a=dt[r];n[a]=parseFloat(e[t+"-"+a+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),Je.Chart.register(Je.CategoryScale,Je.LineController,Je.LineElement,Je.PointElement,Je.LinearScale,Je.TimeScale,Je.Legend,Je.Tooltip);const pt=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function mt({datasets:t,isChartShown:s,keyphrases:r}){if(!s)return null;const a=(0,n.useMemo)((()=>Object.fromEntries([...r].sort().map(((e,t)=>[e,pt[t%pt.length]])))),[r]),o=t.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,e.createElement)(lt,{height:100,data:{datasets:o},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:i.noop},tooltip:{enabled:!0,callbacks:{title:e=>j()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}Je.Interaction.modes.xPoint=(e,t,s,n)=>{const r=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,r=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),a="border-box"===r.boxSizing,o=ut(r,"padding"),i=ut(r,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:r,offsetY:a}=n;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(r,a,e.target))o=r,i=a;else{const e=t.getBoundingClientRect();o=n.clientX-e.left,i=n.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),u=o.left+(d&&i.left),p=o.top+(d&&i.top);var m;let{width:h,height:g}=t;return a&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-u)/h*s.width/n),y:Math.round((c-p)/g*s.height/n)}}(t,e);let a=[];if(Je.Interaction.evaluateInteractionItems(e,"x",r,((e,t,s)=>{e.inXRange(r.x,n)&&a.push({element:e,datasetIndex:t,index:s})})),0===a.length)return a;const o=a.reduce(((e,t)=>Math.abs(r.x-e.element.x)e.element.x===o)),a.some((e=>Math.abs(e.element.y-r.y)<10))?a:[]},mt.propTypes={datasets:o().arrayOf(o().shape({label:o().string.isRequired,data:o().arrayOf(o().shape({datetime:o().string.isRequired,value:o().number.isRequired})).isRequired,selected:o().bool})).isRequired,isChartShown:o().bool.isRequired,keyphrases:o().array.isRequired};const ht=({response:t,onLogin:s})=>[401,403,404].includes(t.status)?(0,e.createElement)(Xe,{onReconnect:s}):(0,e.createElement)(Q,null);ht.propTypes={response:o().object.isRequired,onLogin:o().func.isRequired};const gt=({isSuccess:t,response:s,allKeyphrasesMissRanking:n,onLogin:r,keyphraseLimitReached:a,limit:o})=>a?(0,e.createElement)(X,{limit:o}):(0,i.isEmpty)(s)||t?n?(0,e.createElement)(fe,null):null:(0,e.createElement)(ht,{response:s,onLogin:r});gt.propTypes={isSuccess:o().bool.isRequired,allKeyphrasesMissRanking:o().bool.isRequired,response:o().object,onLogin:o().func.isRequired,keyphraseLimitReached:o().bool.isRequired,limit:o().number.isRequired},gt.defaultProps={response:{}};let ft=null;const yt=async e=>{if(ft&&!ft.isClosed())return void ft.focus();const{url:t}=await async function(){return await se({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();ft=new Ze(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:n,setRequestFailed:r,keyphrases:a,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await te((()=>async function(e){const{code:t,websiteId:s}=e;return await se({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),n(e);const l=(Array.isArray(a)?a:[a]).map((e=>e.toLowerCase()));await te((()=>ne(l)),(e=>{n(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),r(e)}),201);const c=ft.getPopup();c&&c.close()}),(async e=>r(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),ft.createPopup()},wt=t=>t.isLoggedIn?null:(0,e.createElement)("p",null,(0,e.createElement)(g.NewButton,{onClick:t.onLogin,variant:"primary"},(0,_.sprintf)(/* translators: %s expands to Wincher */ +(0,_.__)("Connect with %s","wordpress-seo"),"Wincher")));wt.propTypes={isLoggedIn:o().bool.isRequired,onLogin:o().func.isRequired};const bt=c().div` p { margin: 1em 0; } -`,kt=c().div` +`,Et=c().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; -`,_t=c().div` +`,vt=c().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); -`,Tt=c().div.attrs({className:"yoast-field-group"})` +`,_t=c().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; -`,xt=c().div` +`,kt=c().div` margin: 8px 0; -`,St=Z().utc().startOf("day"),Ct=[{name:(0,k.__)("Last day","wordpress-seo"),value:Z()(St).subtract(1,"days").format(),defaultIndex:1},{name:(0,k.__)("Last week","wordpress-seo"),value:Z()(St).subtract(1,"week").format(),defaultIndex:2},{name:(0,k.__)("Last month","wordpress-seo"),value:Z()(St).subtract(1,"month").format(),defaultIndex:3},{name:(0,k.__)("Last year","wordpress-seo"),value:Z()(St).subtract(1,"year").format(),defaultIndex:0}],Rt=t=>{const{onSelect:s,selected:n,options:r,isLoggedIn:a}=t;return a?r.length<1?null:(0,e.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==n?void 0:n.value)||r[0].value,onChange:s},r.map((t=>(0,e.createElement)("option",{key:t.name,value:t.value},t.name)))):null};Rt.propTypes={onSelect:o().func.isRequired,selected:o().object,options:o().array.isRequired,isLoggedIn:o().bool.isRequired};const It=t=>{const{trackedKeyphrases:s,isLoggedIn:r,keyphrases:a,shouldTrackAll:o,permalink:l,historyDaysLimit:c}=t;if(!l&&r)return(0,e.createElement)(et,null);if(0===a.length)return(0,e.createElement)(Ze,null);const d=Z()(St).subtract(c,"days"),u=Ct.filter((e=>Z()(e.value).isSameOrAfter(d))),p=(0,i.orderBy)(u,(e=>e.defaultIndex),"desc")[0],[m,h]=(0,n.useState)(p),[g,f]=(0,n.useState)([]),y=g.length>0,w=(0,R.usePrevious)(s);(0,n.useEffect)((()=>{if(!(0,i.isEmpty)(s)&&(0,i.difference)(Object.keys(s),Object.keys(w||[])).length){const e=Object.values(s).map((e=>e.keyword));f(e)}}),[s,w]),(0,n.useEffect)((()=>{h(p)}),[null==p?void 0:p.name]);const b=(0,n.useCallback)((e=>{const t=Ct.find((t=>t.value===e.target.value));t&&h(t)}),[h]),E=(0,n.useMemo)((()=>(0,i.isEmpty)(g)||(0,i.isEmpty)(s)?[]:Object.values(s).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:g.includes(e.keyword)&&!(0,i.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[g,s]);return(0,e.createElement)(kt,{isDisabled:!r},(0,e.createElement)("p",null,(0,k.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),r&&o&&(0,e.createElement)(Ge,null),(0,e.createElement)(Tt,null,(0,e.createElement)(Rt,{selected:m,onSelect:b,options:u,isLoggedIn:r})),(0,e.createElement)(xt,null,(0,e.createElement)(gt,{isChartShown:y,datasets:E,keyphrases:a})),(0,e.createElement)(Ke,{startAt:null==m?void 0:m.value,selectedKeyphrases:g,onSelectKeyphrases:f,trackedKeyphrases:s}))};function Lt(t){const{isNewlyAuthenticated:s,isLoggedIn:r}=t,a=(0,n.useCallback)((()=>{bt(t)}),[bt,t]),o=ue(r);return(0,e.createElement)(vt,null,s&&(0,e.createElement)(ye,null),r&&(0,e.createElement)(fe,{trackingInfo:o}),(0,e.createElement)(_t,null,(0,k.__)("SEO performance","wordpress-seo"),(0,e.createElement)(g.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,e.createElement)(Ve,null),(0,e.createElement)(Et,{isLoggedIn:r,onLogin:a}),(0,e.createElement)(yt,{...t,onLogin:a}),(0,e.createElement)(It,{...t,historyDaysLimit:(null==o?void 0:o.historyDays)||31}))}It.propTypes={trackedKeyphrases:o().object,keyphrases:o().array.isRequired,isLoggedIn:o().bool.isRequired,shouldTrackAll:o().bool.isRequired,permalink:o().string.isRequired,historyDaysLimit:o().number},Lt.propTypes={trackedKeyphrases:o().object,addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,response:o().object,shouldTrackAll:o().bool,permalink:o().string,historyDaysLimit:o().number},Lt.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const Pt=(0,R.compose)([(0,h.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:n,getWincherHistoryDaysLimit:r,getWincherLoginStatus:a,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:u,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:a(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:n(),response:i(),shouldTrackAll:p(),permalink:u(),historyDaysLimit:r()}})),(0,h.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:a,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{a(e)},onAuthentication:(e,s,n)=>{t(n),o(e,s)}}}))])(Lt),At=c()(I)` +`,Tt=j().utc().startOf("day"),xt=[{name:(0,_.__)("Last day","wordpress-seo"),value:j()(Tt).subtract(1,"days").format(),defaultIndex:1},{name:(0,_.__)("Last week","wordpress-seo"),value:j()(Tt).subtract(1,"week").format(),defaultIndex:2},{name:(0,_.__)("Last month","wordpress-seo"),value:j()(Tt).subtract(1,"month").format(),defaultIndex:3},{name:(0,_.__)("Last year","wordpress-seo"),value:j()(Tt).subtract(1,"year").format(),defaultIndex:0}],St=t=>{const{onSelect:s,selected:n,options:r,isLoggedIn:a}=t;return a?r.length<1?null:(0,e.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==n?void 0:n.value)||r[0].value,onChange:s},r.map((t=>(0,e.createElement)("option",{key:t.name,value:t.value},t.name)))):null};St.propTypes={onSelect:o().func.isRequired,selected:o().object,options:o().array.isRequired,isLoggedIn:o().bool.isRequired};const Rt=t=>{const{trackedKeyphrases:s,isLoggedIn:r,keyphrases:a,shouldTrackAll:o,permalink:l,historyDaysLimit:c}=t;if(!l&&r)return(0,e.createElement)(Qe,null);if(0===a.length)return(0,e.createElement)(je,null);const d=j()(Tt).subtract(c,"days"),u=xt.filter((e=>j()(e.value).isSameOrAfter(d))),p=(0,i.orderBy)(u,(e=>e.defaultIndex),"desc")[0],[m,h]=(0,n.useState)(p),[g,f]=(0,n.useState)([]),y=g.length>0,w=(0,C.usePrevious)(s);(0,n.useEffect)((()=>{if(!(0,i.isEmpty)(s)&&(0,i.difference)(Object.keys(s),Object.keys(w||[])).length){const e=Object.values(s).map((e=>e.keyword));f(e)}}),[s,w]),(0,n.useEffect)((()=>{h(p)}),[null==p?void 0:p.name]);const b=(0,n.useCallback)((e=>{const t=xt.find((t=>t.value===e.target.value));t&&h(t)}),[h]),E=(0,n.useMemo)((()=>(0,i.isEmpty)(g)||(0,i.isEmpty)(s)?[]:Object.values(s).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:g.includes(e.keyword)&&!(0,i.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[g,s]);return(0,e.createElement)(Et,{isDisabled:!r},(0,e.createElement)("p",null,(0,_.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),r&&o&&(0,e.createElement)(Ve,null),(0,e.createElement)(_t,null,(0,e.createElement)(St,{selected:m,onSelect:b,options:u,isLoggedIn:r})),(0,e.createElement)(kt,null,(0,e.createElement)(mt,{isChartShown:y,datasets:E,keyphrases:a})),(0,e.createElement)(ze,{startAt:null==m?void 0:m.value,selectedKeyphrases:g,onSelectKeyphrases:f,trackedKeyphrases:s}))};function Ct(t){const{isNewlyAuthenticated:s,isLoggedIn:r}=t,a=(0,n.useCallback)((()=>{yt(t)}),[yt,t]),o=ce(r);return(0,e.createElement)(bt,null,s&&(0,e.createElement)(ge,null),r&&(0,e.createElement)(he,{trackingInfo:o}),(0,e.createElement)(vt,null,(0,_.__)("SEO performance","wordpress-seo"),(0,e.createElement)(g.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,e.createElement)(Ye,null),(0,e.createElement)(wt,{isLoggedIn:r,onLogin:a}),(0,e.createElement)(gt,{...t,onLogin:a}),(0,e.createElement)(Rt,{...t,historyDaysLimit:(null==o?void 0:o.historyDays)||31}))}Rt.propTypes={trackedKeyphrases:o().object,keyphrases:o().array.isRequired,isLoggedIn:o().bool.isRequired,shouldTrackAll:o().bool.isRequired,permalink:o().string.isRequired,historyDaysLimit:o().number},Ct.propTypes={trackedKeyphrases:o().object,addTrackedKeyphrase:o().func.isRequired,isLoggedIn:o().bool,isNewlyAuthenticated:o().bool,keyphrases:o().array,response:o().object,shouldTrackAll:o().bool,permalink:o().string,historyDaysLimit:o().number},Ct.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const It=(0,C.compose)([(0,h.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:n,getWincherHistoryDaysLimit:r,getWincherLoginStatus:a,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:u,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:a(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:n(),response:i(),shouldTrackAll:p(),permalink:u(),historyDaysLimit:r()}})),(0,h.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:a,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{a(e)},onAuthentication:(e,s,n)=>{t(n),o(e,s)}}}))])(Ct),Lt=c()(I)` width: 18px; height: 18px; margin: 3px; -`;function Mt(e){const{keyphrases:t,onNoKeyphraseSet:s,onOpen:n,location:r}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void s()}n(r)}function Ft(e,t){Y(t)&&e.onClose()}function qt(t){const{location:s,whichModalOpen:r,shouldCloseOnClickOutside:a}=t,o=(0,n.useCallback)((()=>{Mt(t)}),[Mt,t]),i=(0,n.useCallback)((e=>{Ft(t,e)}),[Ft,t]),l=(0,k.__)("Track SEO performance","wordpress-seo"),c=((t=null)=>(0,e.useMemo)((()=>{const e={role:"img","aria-hidden":"true"};return null!==t&&(e.focusable=t?"true":"false"),e}),[t]))();return(0,e.createElement)(n.Fragment,null,r===s&&(0,e.createElement)($,{title:l,onRequestClose:i,icon:(0,e.createElement)(z,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,e.createElement)(q,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,e.createElement)(Pt,null))),"sidebar"===s&&(0,e.createElement)(K,{id:`wincher-open-button-${s}`,title:l,SuffixHeroIcon:(0,e.createElement)(At,{className:"yst-text-slate-500",...c}),onClick:o}),"metabox"===s&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:`wincher-open-button-${s}`,onClick:o},(0,e.createElement)(M.Text,null,l),(0,e.createElement)(I,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...c}))))}qt.propTypes={location:o().string,whichModalOpen:o().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:o().bool},qt.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const Dt=(0,R.compose)([(0,h.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,h.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:n}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{n()}}}))])(qt),Ot=window.yoast.externals.components;function Nt(){return(0,R.createHigherOrderComponent)((function(e){return(0,R.pure)((function(t){const s=(0,n.useContext)(d.LocationContext);return(0,n.createElement)(e,{...t,location:s})}))}),"withLocation")}const $t=(0,R.compose)([(0,h.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,h.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),Nt()])(Ot.CollapsibleCornerstone),Wt=window.yoast.searchMetadataPreviews,Bt=c()(g.StyledSection)` +`;function Pt(e){const{keyphrases:t,onNoKeyphraseSet:s,onOpen:n,location:r}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void s()}n(r)}function At(t){const{location:s,whichModalOpen:r,shouldCloseOnClickOutside:a}=t,o=(0,n.useCallback)((()=>{Pt(t)}),[Pt,t]),i=(0,_.__)("Track SEO performance","wordpress-seo"),l=((t=null)=>(0,e.useMemo)((()=>{const e={role:"img","aria-hidden":"true"};return null!==t&&(e.focusable=t?"true":"false"),e}),[t]))();return(0,e.createElement)(n.Fragment,null,r===s&&(0,e.createElement)($,{title:i,onRequestClose:t.onClose,icon:(0,e.createElement)(z,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,e.createElement)(q,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,e.createElement)(It,null))),"sidebar"===s&&(0,e.createElement)(H,{id:`wincher-open-button-${s}`,title:i,SuffixHeroIcon:(0,e.createElement)(Lt,{className:"yst-text-slate-500",...l}),onClick:o}),"metabox"===s&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:`wincher-open-button-${s}`,onClick:o},(0,e.createElement)(M.Text,null,i),(0,e.createElement)(I,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...l}))))}At.propTypes={location:o().string,whichModalOpen:o().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:o().bool,keyphrases:o().array.isRequired,onNoKeyphraseSet:o().func.isRequired,onOpen:o().func.isRequired,onClose:o().func.isRequired},At.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const Mt=(0,C.compose)([(0,h.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,h.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:n}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{n()}}}))])(At),Ft=window.yoast.externals.components;function qt(){return(0,C.createHigherOrderComponent)((function(e){return(0,C.pure)((function(t){const s=(0,n.useContext)(d.LocationContext);return(0,n.createElement)(e,{...t,location:s})}))}),"withLocation")}const Dt=(0,C.compose)([(0,h.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,h.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),qt()])(Ft.CollapsibleCornerstone),Ot=window.yoast.searchMetadataPreviews,Nt=c()(g.StyledSection)` &${g.StyledSectionBase} { padding: 0; @@ -171,8 +169,8 @@ margin-left: ${(0,F.getDirectionalStyle)("0","20px")}; } } -`,Ut=({children:t,title:s,icon:n,hasPaperStyle:r,shoppingData:a})=>(0,e.createElement)(Bt,{headingLevel:3,headingText:s,headingIcon:n,headingIconColor:"#555",hasPaperStyle:r,shoppingData:a},t);Ut.propTypes={children:o().element,title:o().string,icon:o().string,hasPaperStyle:o().bool,shoppingData:o().object},Ut.defaultProps={hasPaperStyle:!0,shoppingData:null};const zt=Ut,Ht=window.wp.sanitize,Kt="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function Yt(e,t,s="",n=!1){const r="string"==typeof t?(0,F.decodeHTML)(t):t;return{type:Kt,name:e,value:r,label:s,hidden:n}}function jt(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Vt(t,s,r=""){return(0,n.createInterpolateElement)(t,{a:(0,e.createElement)("a",{id:r,href:s,target:"_blank",rel:"noopener noreferrer"})})}const{stripHTMLTags:Zt}=F.strings,Gt=["slug","content","contentImage","snippetPreviewImageURL"];function Xt(e,t="_"){return e.replace(/\s/g,t)}const Qt=(0,i.memoize)(((e,t)=>0===e?i.noop:(0,i.debounce)((s=>t(s,e)),500))),Jt=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),es=({link:t,text:s})=>(0,e.createElement)(m.Root,null,(0,e.createElement)("p",null,s),(0,e.createElement)(m.Button,{href:t,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,e.createElement)(Jt,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,k.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,k.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));es.propTypes={link:o().string.isRequired,text:o().string.isRequired};const ts=es,ss=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,i.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,i.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,i.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],i.identity);return{url:e.url,title:Zt(t(e.title)),description:Zt(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?Zt(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:Zt(s("data_page_title",e.title)),description:Zt(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Zt(s("data_page_title",e.filteredSEOTitle)):""}}(e)},ns=(0,R.compose)([(0,h.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:n,getRecommendedReplaceVars:r,getReplaceVars:a,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),f=a();return f.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:i(),keyword:n(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:f,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,h.withDispatch)((function(e,t,{select:s}){const{updateData:n,switchMode:r,updateAnalysisData:a,findCustomFields:o}=e("yoast-seo/editor"),i=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n({[e]:t})}},onChangeAnalysisData:a,onReplacementVariableSearchChange:Qt(l,o)}}))])((t=>{const s=(0,i.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),n=(0,i.get)(window,"wpseoScriptData.woocommerceUpsell",""),r=(0,k.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,e.createElement)(d.LocationConsumer,null,(a=>(0,e.createElement)(zt,{icon:"eye",hasPaperStyle:t.hasPaperStyle},(0,e.createElement)(e.Fragment,null,n&&(0,e.createElement)(ts,{link:s,text:r}),(0,e.createElement)(Wt.SnippetEditor,{...t,descriptionPlaceholder:(0,k.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:ss,showCloseButton:!1,idSuffix:a})))))})),rs=(0,h.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(g.Warning),as=window.yoast.featureFlag,os=c()(g.Collapsible)` +`,$t=({children:t,title:s,icon:n,hasPaperStyle:r,shoppingData:a})=>(0,e.createElement)(Nt,{headingLevel:3,headingText:s,headingIcon:n,headingIconColor:"#555",hasPaperStyle:r,shoppingData:a},t);$t.propTypes={children:o().element,title:o().string,icon:o().string,hasPaperStyle:o().bool,shoppingData:o().object},$t.defaultProps={hasPaperStyle:!0,shoppingData:null};const Wt=$t,Bt=window.wp.sanitize,Ut="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE";function zt(e,t,s="",n=!1){const r="string"==typeof t?(0,F.decodeHTML)(t):t;return{type:Ut,name:e,value:r,label:s,hidden:n}}function Kt(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ht(t,s,r=""){return(0,n.createInterpolateElement)(t,{a:(0,e.createElement)("a",{id:r,href:s,target:"_blank",rel:"noopener noreferrer"})})}const{stripHTMLTags:Yt}=F.strings,jt=["slug","content","contentImage","snippetPreviewImageURL"];function Vt(e,t="_"){return e.replace(/\s/g,t)}const Zt=(0,i.memoize)(((e,t)=>0===e?i.noop:(0,i.debounce)((s=>t(s,e)),500))),Gt=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),Xt=({link:t,text:s})=>(0,e.createElement)(m.Root,null,(0,e.createElement)("p",null,s),(0,e.createElement)(m.Button,{href:t,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,e.createElement)(Gt,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,_.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,_.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));Xt.propTypes={link:o().string.isRequired,text:o().string.isRequired};const Qt=Xt,Jt=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,i.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,i.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,i.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],i.identity);return{url:e.url,title:Yt(t(e.title)),description:Yt(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?Yt(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:Yt(s("data_page_title",e.title)),description:Yt(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Yt(s("data_page_title",e.filteredSEOTitle)):""}}(e)},es=(0,C.compose)([(0,h.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:n,getRecommendedReplaceVars:r,getReplaceVars:a,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),f=a();return f.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:i(),keyword:n(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:f,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,h.withDispatch)((function(e,t,{select:s}){const{updateData:n,switchMode:r,updateAnalysisData:a,findCustomFields:o}=e("yoast-seo/editor"),i=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n({[e]:t})}},onChangeAnalysisData:a,onReplacementVariableSearchChange:Zt(l,o)}}))])((t=>{const s=(0,i.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),n=(0,i.get)(window,"wpseoScriptData.woocommerceUpsell",""),r=(0,_.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,e.createElement)(d.LocationConsumer,null,(a=>(0,e.createElement)(Wt,{icon:"eye",hasPaperStyle:t.hasPaperStyle},(0,e.createElement)(e.Fragment,null,n&&(0,e.createElement)(Qt,{link:s,text:r}),(0,e.createElement)(Ot.SnippetEditor,{...t,descriptionPlaceholder:(0,_.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Jt,showCloseButton:!1,idSuffix:a})))))})),ts=(0,h.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}}))(g.Warning),ss=window.yoast.featureFlag,ns=c()(g.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; @@ -188,37 +186,37 @@ border-top: 1px solid rgba(0,0,0,0.2); } -`,is=t=>(0,e.createElement)(os,{hasPadding:!0,hasSeparator:!0,...t}),ls=()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,e.createElement)(g.InsightsCard,{amount:t,unit:(0,k._n)("minute","minutes",t,"wordpress-seo"),title:(0,k.__)("Reading time","wordpress-seo"),linkTo:s -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about reading time","wordpress-seo")})},cs=(0,F.makeOutboundLink)();function ds(t,s,n){const r=function(e){switch(e){case y.DIFFICULTY.FAIRLY_DIFFICULT:case y.DIFFICULTY.DIFFICULT:case y.DIFFICULTY.VERY_DIFFICULT:return(0,k.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case y.DIFFICULTY.NO_DATA:return(0,k.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,k.__)("Good job!","wordpress-seo")}}(s);return(0,e.createElement)("span",null,function(e,t){return-1===e?(0,k.sprintf)((0,k.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,k.sprintf)( +`,rs=t=>(0,e.createElement)(ns,{hasPadding:!0,hasSeparator:!0,...t}),as=()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,e.createElement)(g.InsightsCard,{amount:t,unit:(0,_._n)("minute","minutes",t,"wordpress-seo"),title:(0,_.__)("Reading time","wordpress-seo"),linkTo:s +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about reading time","wordpress-seo")})},os=(0,F.makeOutboundLink)();function is(t,s,n){const r=function(e){switch(e){case y.DIFFICULTY.FAIRLY_DIFFICULT:case y.DIFFICULTY.DIFFICULT:case y.DIFFICULTY.VERY_DIFFICULT:return(0,_.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case y.DIFFICULTY.NO_DATA:return(0,_.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,_.__)("Good job!","wordpress-seo")}}(s);return(0,e.createElement)("span",null,function(e,t){return-1===e?(0,_.sprintf)((0,_.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,_.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult'). */ -(0,k.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case y.DIFFICULTY.NO_DATA:return(0,k.__)("no data","wordpress-seo");case y.DIFFICULTY.VERY_EASY:return(0,k.__)("very easy","wordpress-seo");case y.DIFFICULTY.EASY:return(0,k.__)("easy","wordpress-seo");case y.DIFFICULTY.FAIRLY_EASY:return(0,k.__)("fairly easy","wordpress-seo");case y.DIFFICULTY.OKAY:return(0,k.__)("okay","wordpress-seo");case y.DIFFICULTY.FAIRLY_DIFFICULT:return(0,k.__)("fairly difficult","wordpress-seo");case y.DIFFICULTY.DIFFICULT:return(0,k.__)("difficult","wordpress-seo");case y.DIFFICULTY.VERY_DIFFICULT:return(0,k.__)("very difficult","wordpress-seo")}}(t))}(t,s)," ",s>=y.DIFFICULTY.FAIRLY_DIFFICULT?(0,e.createElement)(cs,{href:n},r+"."):r)}const us=()=>{let t=(0,h.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[t]),a=(0,n.useMemo)((()=>{const e=(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return ds(t,r,e)}),[t,r]);return-1===t&&(t="?"),(0,e.createElement)(g.InsightsCard,{amount:t,unit:(0,k.__)("out of 100","wordpress-seo"),title:(0,k.__)("Flesch reading ease","wordpress-seo"),linkTo:s -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let ps,ms,hs,gs;const fs=/<(\/)?(\w+)\s*(\/)?>/g;function ys(e,t,s,n,r){return{element:e,tokenStart:t,tokenLength:s,prevOffset:n,leadingTextStart:r,children:[]}}function ws(){const e=ps.length-ms;0!==e&&hs.push(ps.substring(ms,ms+e))}function bs(e){const{element:t,tokenStart:s,tokenLength:r,prevOffset:a,children:o}=e,i=gs[gs.length-1],l=ps.substring(i.prevOffset,s);l&&i.children.push(l),i.children.push((0,n.cloneElement)(t,null,...o)),i.prevOffset=a||s+r}function Es(e){const t=function(){const e=fs.exec(ps);if(null===e)return["no-more-tokens"];const t=e.index,[s,n,r,a]=e,o=s.length;return a?["self-closed",r,t,o]:n?["closer",r,t,o]:["opener",r,t,o]}(),[s,r,a,o]=t,i=gs.length,l=a>ms?ms:null;if(!e[r])return ws(),!1;switch(s){case"no-more-tokens":if(0!==i){const{leadingTextStart:e,tokenStart:t}=gs.pop();hs.push(ps.substring(e,e+t))}return ws(),!1;case"self-closed":return 0===i?(null!==l&&hs.push(ps.substring(l,a)),hs.push(e[r]),ms=a+o,!0):(bs(ys(e[r],a,o)),ms=a+o,!0);case"opener":return gs.push(ys(e[r],a,o,a+o,l)),ms=a+o,!0;case"closer":if(1===i)return function(e){const{element:t,leadingTextStart:s,prevOffset:r,tokenStart:a,children:o}=gs.pop(),i=e?ps.substring(r,e):ps.substring(r);i&&o.push(i),null!==s&&hs.push(ps.substring(s,a)),hs.push((0,n.cloneElement)(t,null,...o))}(a),ms=a+o,!0;const t=gs.pop(),s=ps.substring(t.prevOffset,a);t.children.push(s),t.prevOffset=a+o;const c=ys(t.element,t.tokenStart,t.tokenLength,a+o);return c.children=t.children,bs(c),ms=a+o,!0;default:return ws(),!1}}const vs=(e,t)=>{if(ps=e,ms=0,hs=[],gs=[],fs.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,n.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(Es(t));return(0,n.createElement)(n.Fragment,null,...hs)},ks=({data:t,itemScreenReaderText:s,className:r,...a})=>{const o=(0,n.useMemo)((()=>{var e,s;return null!==(e=null===(s=(0,i.maxBy)(t,"number"))||void 0===s?void 0:s.number)&&void 0!==e?e:0}),[t]);return(0,e.createElement)("ul",{className:P()("yoast-data-model",r),...a},t.map((({name:t,number:n})=>(0,e.createElement)("li",{key:`${t}_dataItem`,style:{"--yoast-width":n/o*100+"%"}},t,(0,e.createElement)("span",null,n),s&&(0,e.createElement)("span",{className:"screen-reader-text"},(0,k.sprintf)(s,n))))))};ks.propTypes={data:o().arrayOf(o().shape({name:o().string.isRequired,number:o().number.isRequired})),itemScreenReaderText:o().string,className:o().string},ks.defaultProps={data:[],itemScreenReaderText:"",className:""};const _s=ks,Ts=window.wp.url,xs=(0,F.makeOutboundLink)(),Ss=({location:t})=>{const s=(0,h.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,n.useMemo)((()=>(0,i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,"")),[t]),o=(0,n.useMemo)((()=>{const t=(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return vs((0,k.sprintf)( +(0,_.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case y.DIFFICULTY.NO_DATA:return(0,_.__)("no data","wordpress-seo");case y.DIFFICULTY.VERY_EASY:return(0,_.__)("very easy","wordpress-seo");case y.DIFFICULTY.EASY:return(0,_.__)("easy","wordpress-seo");case y.DIFFICULTY.FAIRLY_EASY:return(0,_.__)("fairly easy","wordpress-seo");case y.DIFFICULTY.OKAY:return(0,_.__)("okay","wordpress-seo");case y.DIFFICULTY.FAIRLY_DIFFICULT:return(0,_.__)("fairly difficult","wordpress-seo");case y.DIFFICULTY.DIFFICULT:return(0,_.__)("difficult","wordpress-seo");case y.DIFFICULTY.VERY_DIFFICULT:return(0,_.__)("very difficult","wordpress-seo")}}(t))}(t,s)," ",s>=y.DIFFICULTY.FAIRLY_DIFFICULT?(0,e.createElement)(os,{href:n},r+"."):r)}const ls=()=>{let t=(0,h.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[t]),a=(0,n.useMemo)((()=>{const e=(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return is(t,r,e)}),[t,r]);return-1===t&&(t="?"),(0,e.createElement)(g.InsightsCard,{amount:t,unit:(0,_.__)("out of 100","wordpress-seo"),title:(0,_.__)("Flesch reading ease","wordpress-seo"),linkTo:s +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let cs,ds,us,ps;const ms=/<(\/)?(\w+)\s*(\/)?>/g;function hs(e,t,s,n,r){return{element:e,tokenStart:t,tokenLength:s,prevOffset:n,leadingTextStart:r,children:[]}}function gs(){const e=cs.length-ds;0!==e&&us.push(cs.substring(ds,ds+e))}function fs(e){const{element:t,tokenStart:s,tokenLength:r,prevOffset:a,children:o}=e,i=ps[ps.length-1],l=cs.substring(i.prevOffset,s);l&&i.children.push(l),i.children.push((0,n.cloneElement)(t,null,...o)),i.prevOffset=a||s+r}function ys(e){const t=function(){const e=ms.exec(cs);if(null===e)return["no-more-tokens"];const t=e.index,[s,n,r,a]=e,o=s.length;return a?["self-closed",r,t,o]:n?["closer",r,t,o]:["opener",r,t,o]}(),[s,r,a,o]=t,i=ps.length,l=a>ds?ds:null;if(!e[r])return gs(),!1;switch(s){case"no-more-tokens":if(0!==i){const{leadingTextStart:e,tokenStart:t}=ps.pop();us.push(cs.substring(e,e+t))}return gs(),!1;case"self-closed":return 0===i?(null!==l&&us.push(cs.substring(l,a)),us.push(e[r]),ds=a+o,!0):(fs(hs(e[r],a,o)),ds=a+o,!0);case"opener":return ps.push(hs(e[r],a,o,a+o,l)),ds=a+o,!0;case"closer":if(1===i)return function(e){const{element:t,leadingTextStart:s,prevOffset:r,tokenStart:a,children:o}=ps.pop(),i=e?cs.substring(r,e):cs.substring(r);i&&o.push(i),null!==s&&us.push(cs.substring(s,a)),us.push((0,n.cloneElement)(t,null,...o))}(a),ds=a+o,!0;const t=ps.pop(),s=cs.substring(t.prevOffset,a);t.children.push(s),t.prevOffset=a+o;const c=hs(t.element,t.tokenStart,t.tokenLength,a+o);return c.children=t.children,fs(c),ds=a+o,!0;default:return gs(),!1}}const ws=(e,t)=>{if(cs=e,ds=0,us=[],ps=[],ms.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,n.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(ys(t));return(0,n.createElement)(n.Fragment,null,...us)},bs=({data:t,itemScreenReaderText:s,className:r,...a})=>{const o=(0,n.useMemo)((()=>{var e,s;return null!==(e=null===(s=(0,i.maxBy)(t,"number"))||void 0===s?void 0:s.number)&&void 0!==e?e:0}),[t]);return(0,e.createElement)("ul",{className:P()("yoast-data-model",r),...a},t.map((({name:t,number:n})=>(0,e.createElement)("li",{key:`${t}_dataItem`,style:{"--yoast-width":n/o*100+"%"}},t,(0,e.createElement)("span",null,n),s&&(0,e.createElement)("span",{className:"screen-reader-text"},(0,_.sprintf)(s,n))))))};bs.propTypes={data:o().arrayOf(o().shape({name:o().string.isRequired,number:o().number.isRequired})),itemScreenReaderText:o().string,className:o().string},bs.defaultProps={data:[],itemScreenReaderText:"",className:""};const Es=bs,vs=window.wp.url,_s=(0,F.makeOutboundLink)(),ks=({location:t})=>{const s=(0,h.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),r=(0,h.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,n.useMemo)((()=>(0,i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,"")),[t]),o=(0,n.useMemo)((()=>{const t=(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return ws((0,_.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,k.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,e.createElement)(xs,{href:t})})}),[]),l=(0,n.useMemo)((()=>vs((0,k.sprintf)( +(0,_.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,e.createElement)(_s,{href:t})})}),[]),l=(0,n.useMemo)((()=>ws((0,_.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. -(0,k.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,e.createElement)("b",null)})),[]),c=(0,h.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),u=(0,n.useMemo)((()=>{const e=(0,k.sprintf)( +(0,_.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,e.createElement)("b",null)})),[]),c=(0,h.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),u=(0,n.useMemo)((()=>{const e=(0,_.sprintf)( // translators: %1$s expands to Yoast SEO Premium. -(0,k.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),p=(0,n.useMemo)((()=>r?u:c.map((({word:e,occurrence:t})=>({name:e,number:t})))),[c,u]);if(!s)return null;const{locationContext:m}=(0,d.useRootContext)();return(0,e.createElement)("div",{className:"yoast-prominent-words"},(0,e.createElement)("div",{className:"yoast-field-group__title"},(0,e.createElement)("b",null,(0,k.__)("Prominent words","wordpress-seo"))),!r&&(0,e.createElement)("p",null,0===p.length?(0,k.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,k.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),r&&(0,e.createElement)("p",null,l),r&&(0,e.createElement)(xs,{href:(0,Ts.addQueryArgs)(a,{context:m}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,k.sprintf)( +(0,_.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),p=(0,n.useMemo)((()=>r?u:c.map((({word:e,occurrence:t})=>({name:e,number:t})))),[c,u]);if(!s)return null;const{locationContext:m}=(0,d.useRootContext)();return(0,e.createElement)("div",{className:"yoast-prominent-words"},(0,e.createElement)("div",{className:"yoast-field-group__title"},(0,e.createElement)("b",null,(0,_.__)("Prominent words","wordpress-seo"))),!r&&(0,e.createElement)("p",null,0===p.length?(0,_.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,_.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),r&&(0,e.createElement)("p",null,l),r&&(0,e.createElement)(_s,{href:(0,vs.addQueryArgs)(a,{context:m}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,_.sprintf)( // translators: %s expands to `Premium` (part of add-on name). -(0,k.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,e.createElement)("p",null,o),(0,e.createElement)(_s,{data:p,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ -(0,k.__)("%d occurrences","wordpress-seo"),"aria-label":(0,k.__)("Prominent words","wordpress-seo"),className:r?"yoast-data-model--upsell":null}))};Ss.propTypes={location:o().string.isRequired};const Cs=Ss,Rs=()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let r=(0,k._n)("word","words",t.count,"wordpress-seo"),a=(0,k.__)("Word count","wordpress-seo"),o=(0,k.__)("Learn more about word count","wordpress-seo");return"character"===t.unit&&(r=(0,k._n)("character","characters",t.count,"wordpress-seo"),a=(0,k.__)("Character count","wordpress-seo"), +(0,_.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,e.createElement)("p",null,o),(0,e.createElement)(Es,{data:p,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ +(0,_.__)("%d occurrences","wordpress-seo"),"aria-label":(0,_.__)("Prominent words","wordpress-seo"),className:r?"yoast-data-model--upsell":null}))};ks.propTypes={location:o().string.isRequired};const Ts=ks,xs=()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),s=(0,n.useMemo)((()=>(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let r=(0,_._n)("word","words",t.count,"wordpress-seo"),a=(0,_.__)("Word count","wordpress-seo"),o=(0,_.__)("Learn more about word count","wordpress-seo");return"character"===t.unit&&(r=(0,_._n)("character","characters",t.count,"wordpress-seo"),a=(0,_.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ -o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createElement)(g.InsightsCard,{amount:t.count,unit:r,title:a,linkTo:s,linkText:o})},Is=(0,F.makeOutboundLink)(),Ls=({location:t})=>{const s=(0,n.useMemo)((()=>(0,i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,"")),[t]),r=(0,n.useMemo)((()=>vs((0,k.sprintf)( +o=(0,_.__)("Learn more about character count","wordpress-seo")),(0,e.createElement)(g.InsightsCard,{amount:t.count,unit:r,title:a,linkTo:s,linkText:o})},Ss=(0,F.makeOutboundLink)(),Rs=({location:t})=>{const s=(0,n.useMemo)((()=>(0,i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,"")),[t]),r=(0,n.useMemo)((()=>ws((0,_.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. -(0,k.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,e.createElement)("b",null)})),[]);return(0,e.createElement)(n.Fragment,null,(0,e.createElement)("div",null,(0,e.createElement)("p",null,r),(0,e.createElement)(Is,{href:s,className:"yoast-button yoast-button-upsell"},(0,k.sprintf)( +(0,_.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,e.createElement)("b",null)})),[]);return(0,e.createElement)(n.Fragment,null,(0,e.createElement)("div",null,(0,e.createElement)("p",null,r),(0,e.createElement)(Ss,{href:s,className:"yoast-button yoast-button-upsell"},(0,_.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). -(0,k.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};Ls.propTypes={location:o().string.isRequired};const Ps=Ls;function As(){return(0,i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const Ms=({location:t,name:s})=>{const n=(0,h.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=As().isPremium,o=a?(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),l=(0,k.__)("Read more about text formality.","wordpress-seo");return n?(0,e.createElement)("div",{className:"yoast-text-formality"},(0,e.createElement)("div",{className:"yoast-field-group__title"},(0,e.createElement)("b",null,(0,k.__)("Text formality","wordpress-seo")),(0,e.createElement)(g.HelpIcon,{linkTo:o,linkText:l})),a?(0,e.createElement)(r.Slot,{name:s}):(0,e.createElement)(Ps,{location:t})):null};Ms.propTypes={location:o().string.isRequired,name:o().string.isRequired};const Fs=Ms,qs=({location:t})=>{const s=(0,h.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,e.createElement)(is,{title:(0,k.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${t}`,className:"yoast-insights"},(0,e.createElement)(Cs,{location:t}),(0,e.createElement)("div",null,s&&(0,e.createElement)("div",{className:"yoast-insights-row"},(0,e.createElement)(us,null)),(0,e.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,e.createElement)(ls,null),(0,e.createElement)(Rs,null)),(0,as.isFeatureEnabled)("TEXT_FORMALITY")&&(0,e.createElement)(Fs,{location:t,name:"YoastTextFormalityMetabox"})))};qs.propTypes={location:o().string},qs.defaultProps={location:"metabox"};const Ds=qs,Os=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),Ns=()=>[(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$sSuper fast%2$s internal linking suggestions.","wordpress-seo"),"",""),(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,k.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,k.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],$s=c().div` +(0,_.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};Rs.propTypes={location:o().string.isRequired};const Cs=Rs;function Is(){return(0,i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const Ls=({location:t,name:s})=>{const n=(0,h.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=Is().isPremium,o=a?(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),l=(0,_.__)("Read more about text formality.","wordpress-seo");return n?(0,e.createElement)("div",{className:"yoast-text-formality"},(0,e.createElement)("div",{className:"yoast-field-group__title"},(0,e.createElement)("b",null,(0,_.__)("Text formality","wordpress-seo")),(0,e.createElement)(g.HelpIcon,{linkTo:o,linkText:l})),a?(0,e.createElement)(r.Slot,{name:s}):(0,e.createElement)(Cs,{location:t})):null};Ls.propTypes={location:o().string.isRequired,name:o().string.isRequired};const Ps=Ls,As=({location:t})=>{const s=(0,h.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]);return(0,e.createElement)(rs,{title:(0,_.__)("Insights","wordpress-seo"),id:`yoast-insights-collapsible-${t}`,className:"yoast-insights"},(0,e.createElement)(Ts,{location:t}),(0,e.createElement)("div",null,s&&(0,e.createElement)("div",{className:"yoast-insights-row"},(0,e.createElement)(ls,null)),(0,e.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,e.createElement)(as,null),(0,e.createElement)(xs,null)),(0,ss.isFeatureEnabled)("TEXT_FORMALITY")&&(0,e.createElement)(Ps,{location:t,name:"YoastTextFormalityMetabox"})))};As.propTypes={location:o().string},As.defaultProps={location:"metabox"};const Ms=As,Fs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),qs=()=>[(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$sSuper fast%2$s internal linking suggestions.","wordpress-seo"),"",""),(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,_.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,_.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],Ds=c().div` padding: 25px 32px 32px; color: #303030; -`,Ws=c().ul` +`,Os=c().ul` margin: 0; padding: 0; @@ -231,41 +229,41 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme font-size: 1.5rem; } } -`,Bs=c().span` +`,Ns=c().span` display: block; margin-top: 4px; -`,Us=c().h2` +`,$s=c().h2` margin-top: 0; margin-bottom: 0.25rem; color: #303030; font-size: 0.8125rem; font-weight: 600; -`,zs=c().p` +`,Ws=c().p` display: block; margin: 0.25rem 0 1rem 0 !important; max-width: 420px; -`,Hs=c().hr` +`,Bs=c().hr` margin-top: 1.5rem; margin-bottom: 1rem; border-top: 0; border-bottom: 1px solid #E2E8F0; -`,Ks=c().div` +`,Us=c().div` text-align: center; -`,Ys=c().a` +`,zs=c().a` width: 100%; -`,js=(0,F.makeOutboundLink)(Ys);class Vs extends n.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(t){return t.length>0&&(0,e.createElement)(Ws,{role:"list"},t.map(((t,s)=>(0,e.createElement)("li",{key:`upsell-benefit-${s}`},(0,n.createInterpolateElement)(t,{strong:(0,e.createElement)("strong",null)})))))}render(){const t=(0,h.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:s}=this.state,r=t?"69.30":null,a=r||s;return(0,e.createElement)(n.Fragment,null,t&&(0,e.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,e.createElement)("div",null,(0,k.__)("BLACK FRIDAY","wordpress-seo")),(0,e.createElement)("div",null,(0,k.__)("30% OFF","wordpress-seo"))),(0,e.createElement)($s,null,(0,e.createElement)(Us,null,this.props.title),(0,e.createElement)(zs,null,this.props.description),(0,e.createElement)(Ks,null,(0,e.createElement)(js,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,e.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},r&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},s)," "),(0,e.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,k.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,e.createElement)(Bs,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,e.createElement)(Hs,null),(0,e.createElement)(Us,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Vs.propTypes={title:o().node,benefits:o().array,benefitsTitle:o().node,description:o().node,upsellButton:o().object,upsellButtonText:o().string.isRequired,upsellButtonLabel:o().string,upsellButtonHasCaret:o().bool},Vs.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Zs=Vs,Gs=()=>{const[t,,,s,n]=(0,m.useToggleState)(!1),{locationContext:r}=(0,d.useRootContext)(),a=(0,m.useSvgAria)(),o=r.includes("sidebar"),i=r.includes("metabox"),l=wpseoAdminL10n[o?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{title:(0,k.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:n,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(Zs,{title:(0,k.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,k.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ -(0,k.__)("%s automatically suggests to what content you can link with easy drag-and-drop functionality, which is good for your SEO!","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:Ns(),upsellButtonText:(0,k.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,Ts.addQueryArgs)(l,{context:r}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,k.__)("1 year free support and updates included!","wordpress-seo")}))),o&&(0,e.createElement)(K,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,k.__)("Internal linking suggestions","wordpress-seo"),onClick:s},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...a})))),i&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:s},(0,e.createElement)(M.Text,null,(0,k.__)("Internal linking suggestions","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...a}),(0,e.createElement)("span",null,"Premium")))))},Xs=({children:t})=>(0,e.createElement)("div",null,t);Xs.propTypes={renderPriority:o().number.isRequired,children:o().node.isRequired};const Qs=Xs,Js=e=>(0,i.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),en=()=>{const e=As();return 1===(0,i.get)(e,"wordproofIntegrationActive",0)},tn=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},sn=()=>{tn("wordproof:open_authentication")},nn=t=>{if(!t.isAuthenticated)return null;const s=(0,n.useCallback)((()=>{tn("wordproof:open_settings")}));return(0,e.createElement)(r.Button,{variant:"link",onClick:s},(0,k.__)("Manage WordProof settings","wordpress-seo"))};nn.propTypes={isAuthenticated:o().bool.isRequired};const rn=t=>{const s=(0,n.useCallback)((()=>{sn()}));return!t.isAuthenticated&&t.toggleIsEnabled?(0,e.createElement)(r.Button,{variant:"link",onClick:s},(0,k.__)("Authenticate with WordProof","wordpress-seo")):null};rn.propTypes={isAuthenticated:o().bool.isRequired,toggleIsEnabled:o().bool.isRequired};class an extends n.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):sn()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(g.FieldGroup -/* translators: Hidden accessibility text. */,{linkText:(0,k.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:(0,k.__)("Timestamp with WordProof","wordpress-seo")},(0,e.createElement)(g.Toggle,{id:this.props.id,labelText:(0,k.sprintf)(/* Translators: %s translates to the Post type in singular form */ -(0,k.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,e.createElement)(nn,{isAuthenticated:this.props.isAuthenticated}),(0,e.createElement)(rn,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,e.createElement)(g.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,k.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}an.propTypes={id:o().string,isEnabled:o().bool,onToggle:o().func,postTypeName:o().string,isAuthenticated:o().bool.isRequired},an.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:i.noop};const on=(0,R.compose)([(0,h.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(an),ln=({noIndex:t,onNoIndexChange:s,editorContext:r,isPrivateBlog:a})=>{const o=(e=>{const t=(0,k.__)("No","wordpress-seo"),s=(0,k.__)("Yes","wordpress-seo"),n=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,k.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ -(0,k.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,k.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ -(0,k.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(r);return(0,e.createElement)(d.LocationConsumer,null,(r=>(0,e.createElement)(n.Fragment,null,a&&(0,e.createElement)(g.Alert,{type:"warning"},(0,k.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),(0,e.createElement)(g.Select,{label:(0,k.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:s,id:(0,F.join)(["yoast-meta-robots-noindex",r]),options:o,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};ln.propTypes={noIndex:o().string.isRequired,onNoIndexChange:o().func.isRequired,editorContext:o().object.isRequired,isPrivateBlog:o().bool},ln.defaultProps={isPrivateBlog:!1};const cn=({noFollow:t,onNoFollowChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>{const r=(0,F.join)(["yoast-meta-robots-nofollow",n]);return(0,e.createElement)(g.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,k.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:r,onChange:s,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));cn.propTypes={noFollow:o().string.isRequired,onNoFollowChange:o().func.isRequired};const dn=({advanced:t,onAdvancedChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>{const r=(0,F.join)(["yoast-meta-robots-advanced",n]),a=`${r}-input`;return(0,e.createElement)(g.MultiSelect,{label:(0,k.__)("Meta robots advanced","wordpress-seo"),onChange:s,id:r,inputId:a,options:[{name:(0,k.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,k.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,k.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));dn.propTypes={advanced:o().array.isRequired,onAdvancedChange:o().func.isRequired};const un=({breadcrumbsTitle:t,onBreadcrumbsTitleChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>(0,e.createElement)(g.TextInput,{label:(0,k.__)("Breadcrumbs Title","wordpress-seo"),id:(0,F.join)(["yoast-breadcrumbs-title",n]),onChange:s,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));un.propTypes={breadcrumbsTitle:o().string.isRequired,onBreadcrumbsTitleChange:o().func.isRequired};const pn=({canonical:t,onCanonicalChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>(0,e.createElement)(g.TextInput,{label:(0,k.__)("Canonical URL","wordpress-seo"),id:(0,F.join)(["yoast-canonical",n]),onChange:s,value:t,linkTo:"https://yoa.st/canonical-url" -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));pn.propTypes={canonical:o().string.isRequired,onCanonicalChange:o().func.isRequired};const mn=({wordproofTimestamp:t,onWordProofTimestampChange:s,postTypeName:n})=>(0,e.createElement)(d.LocationConsumer,null,(r=>(0,e.createElement)(on,{id:(0,F.join)(["yoast-wordproof-timestamp",r]),isEnabled:t,onToggle:s,postTypeName:n})));mn.propTypes={wordproofTimestamp:o().bool.isRequired,onWordProofTimestampChange:o().func.isRequired,postTypeName:o().string.isRequired};const hn=t=>{const{noIndex:s,noFollow:r,advanced:a,breadcrumbsTitle:o,canonical:i,wordproofTimestamp:l,onNoIndexChange:c,onNoFollowChange:d,onAdvancedChange:u,onBreadcrumbsTitleChange:p,onCanonicalChange:m,onWordProofTimestampChange:h,onLoad:g,isLoading:f,editorContext:y,isBreadcrumbsDisabled:w,isPrivateBlog:b,isWordProofIntegrationActive:E}=t;(0,n.useEffect)((()=>{setTimeout((()=>{f&&g()}))}));const v={noIndex:s,onNoIndexChange:c,editorContext:y,isPrivateBlog:b},k={noFollow:r,onNoFollowChange:d},_={advanced:a,onAdvancedChange:u},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:p},x={canonical:i,onCanonicalChange:m},S={wordproofTimestamp:l,onWordProofTimestampChange:h,postTypeName:y.postTypeNameSingular};return f?null:(0,e.createElement)(n.Fragment,null,(0,e.createElement)(ln,{...v}),y.isPost&&(0,e.createElement)(cn,{...k}),y.isPost&&(0,e.createElement)(dn,{..._}),!w&&(0,e.createElement)(un,{...T}),(0,e.createElement)(pn,{...x}),E&&(0,e.createElement)(mn,{...S}))};hn.propTypes={noIndex:o().string.isRequired,canonical:o().string.isRequired,wordproofTimestamp:o().bool,onNoIndexChange:o().func.isRequired,onCanonicalChange:o().func.isRequired,onWordProofTimestampChange:o().func,onLoad:o().func.isRequired,isLoading:o().bool.isRequired,editorContext:o().object.isRequired,isBreadcrumbsDisabled:o().bool.isRequired,isPrivateBlog:o().bool,advanced:o().array,onAdvancedChange:o().func,noFollow:o().string,onNoFollowChange:o().func,breadcrumbsTitle:o().string,onBreadcrumbsTitleChange:o().func,isWordProofIntegrationActive:o().bool.isRequired},hn.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const gn=hn,fn=(0,R.compose)([(0,h.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:n,getBreadcrumbsTitle:r,getCanonical:a,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=c();return{noIndex:t(),noFollow:s(),advanced:n(),breadcrumbsTitle:r(),canonical:a(),wordproofTimestamp:o(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}})),(0,h.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:n,setBreadcrumbsTitle:r,setCanonical:a,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:n,onBreadcrumbsTitleChange:r,onCanonicalChange:a,onWordProofTimestampChange:o,onLoad:i}}))])(gn),yn=c().p` +`,Ks=(0,F.makeOutboundLink)(zs);class Hs extends n.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(t){return t.length>0&&(0,e.createElement)(Os,{role:"list"},t.map(((t,s)=>(0,e.createElement)("li",{key:`upsell-benefit-${s}`},(0,n.createInterpolateElement)(t,{strong:(0,e.createElement)("strong",null)})))))}render(){const t=(0,h.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:s}=this.state,r=t?"69.30":null,a=r||s;return(0,e.createElement)(n.Fragment,null,t&&(0,e.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,e.createElement)("div",null,(0,_.__)("BLACK FRIDAY","wordpress-seo")),(0,e.createElement)("div",null,(0,_.__)("30% OFF","wordpress-seo"))),(0,e.createElement)(Ds,null,(0,e.createElement)($s,null,this.props.title),(0,e.createElement)(Ws,null,this.props.description),(0,e.createElement)(Us,null,(0,e.createElement)(Ks,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,e.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},r&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},s)," "),(0,e.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,_.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,e.createElement)(Ns,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,e.createElement)(Bs,null),(0,e.createElement)($s,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Hs.propTypes={title:o().node,benefits:o().array,benefitsTitle:o().node,description:o().node,upsellButton:o().object,upsellButtonText:o().string.isRequired,upsellButtonLabel:o().string,upsellButtonHasCaret:o().bool},Hs.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Ys=Hs,js=()=>{const[t,,,s,n]=(0,m.useToggleState)(!1),{locationContext:r}=(0,d.useRootContext)(),a=(0,m.useSvgAria)(),o=r.includes("sidebar"),i=r.includes("metabox"),l=wpseoAdminL10n[o?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{title:(0,_.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:n,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(Ys,{title:(0,_.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,_.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ +(0,_.__)("%s automatically suggests to what content you can link with easy drag-and-drop functionality, which is good for your SEO!","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:qs(),upsellButtonText:(0,_.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,vs.addQueryArgs)(l,{context:r}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,_.__)("1 year free support and updates included!","wordpress-seo")}))),o&&(0,e.createElement)(H,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,_.__)("Internal linking suggestions","wordpress-seo"),onClick:s},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...a})))),i&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:s},(0,e.createElement)(M.Text,null,(0,_.__)("Internal linking suggestions","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...a}),(0,e.createElement)("span",null,"Premium")))))},Vs=({children:t})=>(0,e.createElement)("div",null,t);Vs.propTypes={renderPriority:o().number.isRequired,children:o().node.isRequired};const Zs=Vs,Gs=e=>(0,i.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),Xs=()=>{const e=Is();return 1===(0,i.get)(e,"wordproofIntegrationActive",0)},Qs=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},Js=()=>{Qs("wordproof:open_authentication")},en=t=>{if(!t.isAuthenticated)return null;const s=(0,n.useCallback)((()=>{Qs("wordproof:open_settings")}));return(0,e.createElement)(r.Button,{variant:"link",onClick:s},(0,_.__)("Manage WordProof settings","wordpress-seo"))};en.propTypes={isAuthenticated:o().bool.isRequired};const tn=t=>{const s=(0,n.useCallback)((()=>{Js()}));return!t.isAuthenticated&&t.toggleIsEnabled?(0,e.createElement)(r.Button,{variant:"link",onClick:s},(0,_.__)("Authenticate with WordProof","wordpress-seo")):null};tn.propTypes={isAuthenticated:o().bool.isRequired,toggleIsEnabled:o().bool.isRequired};class sn extends n.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Js()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(g.FieldGroup +/* translators: Hidden accessibility text. */,{linkText:(0,_.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:(0,_.__)("Timestamp with WordProof","wordpress-seo")},(0,e.createElement)(g.Toggle,{id:this.props.id,labelText:(0,_.sprintf)(/* Translators: %s translates to the Post type in singular form */ +(0,_.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,e.createElement)(en,{isAuthenticated:this.props.isAuthenticated}),(0,e.createElement)(tn,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,e.createElement)(g.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,_.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}sn.propTypes={id:o().string,isEnabled:o().bool,onToggle:o().func,postTypeName:o().string,isAuthenticated:o().bool.isRequired},sn.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:i.noop};const nn=(0,C.compose)([(0,h.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(sn),rn=({noIndex:t,onNoIndexChange:s,editorContext:r,isPrivateBlog:a})=>{const o=(e=>{const t=(0,_.__)("No","wordpress-seo"),s=(0,_.__)("Yes","wordpress-seo"),n=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,_.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ +(0,_.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,_.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ +(0,_.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(r);return(0,e.createElement)(d.LocationConsumer,null,(r=>(0,e.createElement)(n.Fragment,null,a&&(0,e.createElement)(g.Alert,{type:"warning"},(0,_.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),(0,e.createElement)(g.Select,{label:(0,_.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:s,id:(0,F.join)(["yoast-meta-robots-noindex",r]),options:o,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};rn.propTypes={noIndex:o().string.isRequired,onNoIndexChange:o().func.isRequired,editorContext:o().object.isRequired,isPrivateBlog:o().bool},rn.defaultProps={isPrivateBlog:!1};const an=({noFollow:t,onNoFollowChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>{const r=(0,F.join)(["yoast-meta-robots-nofollow",n]);return(0,e.createElement)(g.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,_.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:r,onChange:s,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));an.propTypes={noFollow:o().string.isRequired,onNoFollowChange:o().func.isRequired};const on=({advanced:t,onAdvancedChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>{const r=(0,F.join)(["yoast-meta-robots-advanced",n]),a=`${r}-input`;return(0,e.createElement)(g.MultiSelect,{label:(0,_.__)("Meta robots advanced","wordpress-seo"),onChange:s,id:r,inputId:a,options:[{name:(0,_.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,_.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,_.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));on.propTypes={advanced:o().array.isRequired,onAdvancedChange:o().func.isRequired};const ln=({breadcrumbsTitle:t,onBreadcrumbsTitleChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>(0,e.createElement)(g.TextInput,{label:(0,_.__)("Breadcrumbs Title","wordpress-seo"),id:(0,F.join)(["yoast-breadcrumbs-title",n]),onChange:s,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));ln.propTypes={breadcrumbsTitle:o().string.isRequired,onBreadcrumbsTitleChange:o().func.isRequired};const cn=({canonical:t,onCanonicalChange:s})=>(0,e.createElement)(d.LocationConsumer,null,(n=>(0,e.createElement)(g.TextInput,{label:(0,_.__)("Canonical URL","wordpress-seo"),id:(0,F.join)(["yoast-canonical",n]),onChange:s,value:t,linkTo:"https://yoa.st/canonical-url" +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));cn.propTypes={canonical:o().string.isRequired,onCanonicalChange:o().func.isRequired};const dn=({wordproofTimestamp:t,onWordProofTimestampChange:s,postTypeName:n})=>(0,e.createElement)(d.LocationConsumer,null,(r=>(0,e.createElement)(nn,{id:(0,F.join)(["yoast-wordproof-timestamp",r]),isEnabled:t,onToggle:s,postTypeName:n})));dn.propTypes={wordproofTimestamp:o().bool.isRequired,onWordProofTimestampChange:o().func.isRequired,postTypeName:o().string.isRequired};const un=t=>{const{noIndex:s,noFollow:r,advanced:a,breadcrumbsTitle:o,canonical:i,wordproofTimestamp:l,onNoIndexChange:c,onNoFollowChange:d,onAdvancedChange:u,onBreadcrumbsTitleChange:p,onCanonicalChange:m,onWordProofTimestampChange:h,onLoad:g,isLoading:f,editorContext:y,isBreadcrumbsDisabled:w,isPrivateBlog:b,isWordProofIntegrationActive:E}=t;(0,n.useEffect)((()=>{setTimeout((()=>{f&&g()}))}));const v={noIndex:s,onNoIndexChange:c,editorContext:y,isPrivateBlog:b},_={noFollow:r,onNoFollowChange:d},k={advanced:a,onAdvancedChange:u},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:p},x={canonical:i,onCanonicalChange:m},S={wordproofTimestamp:l,onWordProofTimestampChange:h,postTypeName:y.postTypeNameSingular};return f?null:(0,e.createElement)(n.Fragment,null,(0,e.createElement)(rn,{...v}),y.isPost&&(0,e.createElement)(an,{..._}),y.isPost&&(0,e.createElement)(on,{...k}),!w&&(0,e.createElement)(ln,{...T}),(0,e.createElement)(cn,{...x}),E&&(0,e.createElement)(dn,{...S}))};un.propTypes={noIndex:o().string.isRequired,canonical:o().string.isRequired,wordproofTimestamp:o().bool,onNoIndexChange:o().func.isRequired,onCanonicalChange:o().func.isRequired,onWordProofTimestampChange:o().func,onLoad:o().func.isRequired,isLoading:o().bool.isRequired,editorContext:o().object.isRequired,isBreadcrumbsDisabled:o().bool.isRequired,isPrivateBlog:o().bool,advanced:o().array,onAdvancedChange:o().func,noFollow:o().string,onNoFollowChange:o().func,breadcrumbsTitle:o().string,onBreadcrumbsTitleChange:o().func,isWordProofIntegrationActive:o().bool.isRequired},un.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const pn=un,mn=(0,C.compose)([(0,h.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:n,getBreadcrumbsTitle:r,getCanonical:a,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=c();return{noIndex:t(),noFollow:s(),advanced:n(),breadcrumbsTitle:r(),canonical:a(),wordproofTimestamp:o(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}})),(0,h.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:n,setBreadcrumbsTitle:r,setCanonical:a,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:n,onBreadcrumbsTitleChange:r,onCanonicalChange:a,onWordProofTimestampChange:o,onLoad:i}}))])(pn),hn=c().p` color: #606770; flex-shrink: 0; font-size: 12px; @@ -277,7 +275,7 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; -`,wn=t=>{const{siteUrl:s}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"screen-reader-text"},s),(0,e.createElement)(yn,{"aria-hidden":"true"},(0,e.createElement)("span",null,s)))};wn.propTypes={siteUrl:o().string.isRequired};const bn=wn,En=window.yoast.socialMetadataForms,vn=c().img` +`,gn=t=>{const{siteUrl:s}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"screen-reader-text"},s),(0,e.createElement)(hn,{"aria-hidden":"true"},(0,e.createElement)("span",null,s)))};gn.propTypes={siteUrl:o().string.isRequired};const fn=gn,yn=window.yoast.socialMetadataForms,wn=c().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; @@ -287,24 +285,24 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme transform: translate(-50%, -50%); max-width: none; } -`,kn=c().img` +`,bn=c().img` &&{ height: 100%; position: absolute; width: 100%; object-fit: cover; } -`,Tn=c().div` +`,En=c().div` padding-bottom: ${e=>e.aspectRatio}%; -`,xn=t=>{const{imageProps:s,width:n,height:r,imageMode:a}=t;return"landscape"===a?(0,e.createElement)(Tn,{aspectRatio:s.aspectRatio},(0,e.createElement)(kn,{src:s.src,alt:s.alt})):(0,e.createElement)(vn,{src:s.src,alt:s.alt,width:n,height:r,imageProperties:s})};function Sn(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function Cn(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function Rn(e,t,s=!1){const n=await function(e){return new Promise(((t,s)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=s,n.src=e}))}(e);let r=s?"landscape":"square";"Facebook"===t&&(r=(0,En.determineFacebookImageMode)(n));const a=function(e){return"Twitter"===e?En.TWITTER_IMAGE_SIZES:En.FACEBOOK_IMAGE_SIZES}(t),o=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:Cn(t,Sn(e,t,s))}(a,n,r);return{mode:r,height:o.height,width:o.width}}async function In(e,t,s=!1){try{return{imageProperties:await Rn(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}xn.propTypes={imageProps:o().shape({src:o().string.isRequired,alt:o().string.isRequired,aspectRatio:o().number.isRequired}).isRequired,width:o().number.isRequired,height:o().number.isRequired,imageMode:o().string},xn.defaultProps={imageMode:"landscape"};const Ln=c().div` +`,vn=t=>{const{imageProps:s,width:n,height:r,imageMode:a}=t;return"landscape"===a?(0,e.createElement)(En,{aspectRatio:s.aspectRatio},(0,e.createElement)(bn,{src:s.src,alt:s.alt})):(0,e.createElement)(wn,{src:s.src,alt:s.alt,width:n,height:r,imageProperties:s})};function kn(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function Tn(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function xn(e,t,s=!1){const n=await function(e){return new Promise(((t,s)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=s,n.src=e}))}(e);let r=s?"landscape":"square";"Facebook"===t&&(r=(0,yn.determineFacebookImageMode)(n));const a=function(e){return"Twitter"===e?yn.TWITTER_IMAGE_SIZES:yn.FACEBOOK_IMAGE_SIZES}(t),o=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:Tn(t,kn(e,t,s))}(a,n,r);return{mode:r,height:o.height,width:o.width}}async function Sn(e,t,s=!1){try{return{imageProperties:await xn(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}vn.propTypes={imageProps:o().shape({src:o().string.isRequired,alt:o().string.isRequired,aspectRatio:o().number.isRequired}).isRequired,width:o().number.isRequired,height:o().number.isRequired,imageMode:o().string},vn.defaultProps={imageMode:"landscape"};const Rn=c().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${f.colors.$color_white}; -`,Pn=c().div` +`,Cn=c().div` box-sizing: border-box; - max-width: ${En.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; - height: ${En.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; + max-width: ${yn.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; + height: ${yn.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; background-color: ${f.colors.$color_grey}; border-style: dashed; border-width: 1px; @@ -318,7 +316,7 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class An extends e.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await In(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:En.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:En.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:En.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:En.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:En.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:En.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:t,status:s}=this.state;if("loading"===s||""===this.props.src||"errored"===s)return(0,e.createElement)(Pn,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,k.__)("Select image","wordpress-seo"));const n=this.retrieveContainerDimensions(t.mode);return(0,e.createElement)(Ln,{mode:t.mode,dimensions:n,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,e.createElement)(xn,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:En.FACEBOOK_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}An.propTypes={src:o().string,alt:o().string,onImageLoaded:o().func,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},An.defaultProps={src:"",alt:"",onImageLoaded:i.noop,onImageClick:i.noop,onMouseEnter:i.noop,onMouseLeave:i.noop};const Mn=An,Fn=c().span` +`;class In extends e.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await Sn(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:yn.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:yn.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:yn.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:yn.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:yn.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:yn.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:t,status:s}=this.state;if("loading"===s||""===this.props.src||"errored"===s)return(0,e.createElement)(Cn,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,_.__)("Select image","wordpress-seo"));const n=this.retrieveContainerDimensions(t.mode);return(0,e.createElement)(Rn,{mode:t.mode,dimensions:n,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,e.createElement)(vn,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:yn.FACEBOOK_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}In.propTypes={src:o().string,alt:o().string,onImageLoaded:o().func,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},In.defaultProps={src:"",alt:"",onImageLoaded:i.noop,onImageClick:i.noop,onMouseEnter:i.noop,onMouseLeave:i.noop};const Ln=In,Pn=c().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; @@ -334,7 +332,7 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; -`,qn=c().p` +`,An=c().p` line-height: ${16}px; min-height : ${16}px; color: #606770; @@ -351,13 +349,13 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } -`,Dn=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},On=c().div` +`,Mn=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},Fn=c().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; -`,Nn=c().div` +`,qn=c().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; @@ -373,7 +371,7 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; -`;class $n extends e.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=t().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,n=this.getTitleLineCount();let r=t-n;"portrait"===s&&(r=5===n?0:4),r!==e&&this.setState({descriptionLineCount:r})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:t,maxLineCount:s,descriptionLineCount:n}=this.state;return(0,e.createElement)(On,{id:"facebookPreview",mode:t},(0,e.createElement)(Mn,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,e.createElement)(Nn,{mode:t},(0,e.createElement)(bn,{siteUrl:this.props.siteUrl,mode:t}),(0,e.createElement)(Fn,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:s},this.props.title),n>0&&(0,e.createElement)(qn,{maxWidth:Dn(t),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:n},this.props.description)))}}$n.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},$n.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const Wn=$n,Bn=c().div` +`;class Dn extends e.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=t().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,n=this.getTitleLineCount();let r=t-n;"portrait"===s&&(r=5===n?0:4),r!==e&&this.setState({descriptionLineCount:r})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:t,maxLineCount:s,descriptionLineCount:n}=this.state;return(0,e.createElement)(Fn,{id:"facebookPreview",mode:t},(0,e.createElement)(Ln,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,e.createElement)(qn,{mode:t},(0,e.createElement)(fn,{siteUrl:this.props.siteUrl,mode:t}),(0,e.createElement)(Pn,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:s},this.props.title),n>0&&(0,e.createElement)(An,{maxWidth:Mn(t),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:n},this.props.description)))}}Dn.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},Dn.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const On=Dn,Nn=c().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; @@ -384,14 +382,14 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme display: flex; flex-direction: row; align-items: flex-end; -`,Un=t=>(0,e.createElement)(Bn,null,(0,e.createElement)("span",null,t.siteUrl));Un.propTypes={siteUrl:o().string.isRequired};const zn=Un,Hn=(e,t=!0)=>e?`\n\t\t\tmax-width: ${En.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${En.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Kn=c().div` +`,$n=t=>(0,e.createElement)(Nn,null,(0,e.createElement)("span",null,t.siteUrl));$n.propTypes={siteUrl:o().string.isRequired};const Wn=$n,Bn=(e,t=!0)=>e?`\n\t\t\tmax-width: ${yn.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${yn.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Un=c().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; - ${e=>Hn(e.isLarge)} -`,Yn=c().div` + ${e=>Bn(e.isLarge)} +`,zn=c().div` display: flex; justify-content: center; align-items: center; @@ -401,9 +399,9 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme padding: 1em; text-align: center; font-size: 1rem; - ${e=>Hn(e.isLarge,!1)} -`,jn=c()(Yn)` - ${e=>e.isLarge&&`height: ${En.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} + ${e=>Bn(e.isLarge,!1)} +`,Kn=c()(zn)` + ${e=>e.isLarge&&`height: ${yn.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; @@ -415,7 +413,7 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class Vn extends t().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await In(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:t,imageProperties:s}=this.state;return"loading"===t||""===this.props.src||"errored"===t?(0,e.createElement)(jn,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,k.__)("Select image","wordpress-seo")):(0,e.createElement)(Kn,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,e.createElement)(xn,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:En.TWITTER_IMAGE_SIZES.aspectRatio},width:s.width,height:s.height,imageMode:s.mode}))}}Vn.propTypes={isLarge:o().bool.isRequired,src:o().string,alt:o().string,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},Vn.defaultProps={src:"",alt:"",onMouseEnter:i.noop,onImageClick:i.noop,onMouseLeave:i.noop};const Zn=c().div` +`;class Hn extends t().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await Sn(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:t,imageProperties:s}=this.state;return"loading"===t||""===this.props.src||"errored"===t?(0,e.createElement)(Kn,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,_.__)("Select image","wordpress-seo")):(0,e.createElement)(Un,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,e.createElement)(vn,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:yn.TWITTER_IMAGE_SIZES.aspectRatio},width:s.width,height:s.height,imageMode:s.mode}))}}Hn.propTypes={isLarge:o().bool.isRequired,src:o().string,alt:o().string,onImageClick:o().func,onMouseEnter:o().func,onMouseLeave:o().func},Hn.defaultProps={src:"",alt:"",onMouseEnter:i.noop,onImageClick:i.noop,onMouseLeave:i.noop};const Yn=c().div` display: flex; flex-direction: column; padding: 12px; @@ -430,14 +428,14 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme min-height:20px; font-size:15px; } -`,Gn=t=>(0,e.createElement)(Zn,null,t.children);Gn.propTypes={children:o().array.isRequired};const Xn=Gn,Qn=c().p` +`,jn=t=>(0,e.createElement)(Yn,null,t.children);jn.propTypes={children:o().array.isRequired};const Vn=jn,Zn=c().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; -`,Jn=c().p` +`,Gn=c().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; @@ -448,10 +446,10 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme -webkit-line-clamp: 2; -webkit-box-orient: vertical; - @media all and ( max-width: ${En.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { + @media all and ( max-width: ${yn.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } -`,er=c().div` +`,Xn=c().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; @@ -469,42 +467,42 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } -`,tr=c()(er)` +`,Qn=c()(Xn)` flex-direction: column; max-height: 370px; -`,sr=c()(er)` +`,Jn=c()(Xn)` flex-direction: row; height: 125px; -`;class nr extends e.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:t,imageUrl:s,imageFallbackUrl:n,alt:r,title:a,description:o,siteUrl:i}=this.props,l=t?tr:sr;return(0,e.createElement)(l,{id:"twitterPreview"},(0,e.createElement)(Vn,{src:s||n,alt:r,isLarge:t,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,e.createElement)(Xn,null,(0,e.createElement)(zn,{siteUrl:i}),(0,e.createElement)(Qn,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},a),(0,e.createElement)(Jn,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}nr.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,isLarge:o().bool,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},nr.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const rr=nr,ar=window.yoast.replacementVariableEditor;class or extends e.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?Wn:rr,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:s,onTitleChange:n,onSelectImageClick:r,onRemoveImageClick:a,socialMediumName:o,imageWarnings:i,siteUrl:l,description:c,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:m,alt:h,title:f,titleInputPlaceholder:y,titlePreviewFallback:w,replacementVariables:b,recommendedReplacementVariables:E,applyReplacementVariables:v,onReplacementVariableSearchChange:k,isPremium:_,isLarge:T,socialPreviewLabel:x,idSuffix:S,activeMetaTabId:C}=this.props,R=v({title:f||w,description:c||u});return(0,e.createElement)(t().Fragment,null,x&&(0,e.createElement)(g.SimulatedLabel,null,x),(0,e.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:r,siteUrl:l,title:R.title,description:R.description,imageUrl:p,imageFallbackUrl:m,alt:h,isLarge:T,activeMetaTabId:C}),(0,e.createElement)(En.SocialMetadataPreviewForm,{onDescriptionChange:s,socialMediumName:o,title:f,titleInputPlaceholder:y,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:i,replacementVariables:b,recommendedReplacementVariables:E,onReplacementVariableSearchChange:k,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:S}))}}or.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,imageFallbackUrl:o().string.isRequired,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,alt:o().string,isPremium:o().bool,imageWarnings:o().array,isLarge:o().bool,siteUrl:o().string,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,descriptionPreviewFallback:o().string,titlePreviewFallback:o().string,replacementVariables:ar.replacementVariablesShape,recommendedReplacementVariables:ar.recommendedReplacementVariablesShape,applyReplacementVariables:o().func,onReplacementVariableSearchChange:o().func,socialPreviewLabel:o().string,idSuffix:o().string,activeMetaTabId:o().string},or.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const ir={},lr=(e,t,{log:s=console.warn}={})=>{ir[e]||(ir[e]=!0,s(t))},cr=(e,t=i.noop)=>{const s={};for(const n in e)Object.hasOwn(e,n)&&Object.defineProperty(s,n,{set:s=>{e[n]=s,t("set",n,s)},get:()=>(t("get",n),e[n])});return s};cr({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>lr(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),cr({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>lr(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const dr=c().div` +`;class er extends e.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:t,imageUrl:s,imageFallbackUrl:n,alt:r,title:a,description:o,siteUrl:i}=this.props,l=t?Qn:Jn;return(0,e.createElement)(l,{id:"twitterPreview"},(0,e.createElement)(Hn,{src:s||n,alt:r,isLarge:t,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,e.createElement)(Vn,null,(0,e.createElement)(Wn,{siteUrl:i}),(0,e.createElement)(Zn,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},a),(0,e.createElement)(Gn,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}er.propTypes={siteUrl:o().string.isRequired,title:o().string.isRequired,description:o().string,isLarge:o().bool,imageUrl:o().string,imageFallbackUrl:o().string,alt:o().string,onSelect:o().func,onImageClick:o().func,onMouseHover:o().func},er.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const tr=er,sr=window.yoast.replacementVariableEditor;class nr extends e.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?On:tr,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:s,onTitleChange:n,onSelectImageClick:r,onRemoveImageClick:a,socialMediumName:o,imageWarnings:i,siteUrl:l,description:c,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:m,alt:h,title:f,titleInputPlaceholder:y,titlePreviewFallback:w,replacementVariables:b,recommendedReplacementVariables:E,applyReplacementVariables:v,onReplacementVariableSearchChange:_,isPremium:k,isLarge:T,socialPreviewLabel:x,idSuffix:S,activeMetaTabId:R}=this.props,C=v({title:f||w,description:c||u});return(0,e.createElement)(t().Fragment,null,x&&(0,e.createElement)(g.SimulatedLabel,null,x),(0,e.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:r,siteUrl:l,title:C.title,description:C.description,imageUrl:p,imageFallbackUrl:m,alt:h,isLarge:T,activeMetaTabId:R}),(0,e.createElement)(yn.SocialMetadataPreviewForm,{onDescriptionChange:s,socialMediumName:o,title:f,titleInputPlaceholder:y,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:i,replacementVariables:b,recommendedReplacementVariables:E,onReplacementVariableSearchChange:_,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:k,setEditorRef:this.setEditorRef,idSuffix:S}))}}nr.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,imageFallbackUrl:o().string.isRequired,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,alt:o().string,isPremium:o().bool,imageWarnings:o().array,isLarge:o().bool,siteUrl:o().string,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,descriptionPreviewFallback:o().string,titlePreviewFallback:o().string,replacementVariables:sr.replacementVariablesShape,recommendedReplacementVariables:sr.recommendedReplacementVariablesShape,applyReplacementVariables:o().func,onReplacementVariableSearchChange:o().func,socialPreviewLabel:o().string,idSuffix:o().string,activeMetaTabId:o().string},nr.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const rr={},ar=(e,t,{log:s=console.warn}={})=>{rr[e]||(rr[e]=!0,s(t))},or=(e,t=i.noop)=>{const s={};for(const n in e)Object.hasOwn(e,n)&&Object.defineProperty(s,n,{set:s=>{e[n]=s,t("set",n,s)},get:()=>(t("get",n),e[n])});return s};or({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>ar(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),or({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>ar(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const ir=c().div` max-width: calc(527px + 1.5rem); -`,ur=t=>{const s="X"===t.socialMediumName?(0,k.__)("X share preview","wordpress-seo"):(0,k.__)("Social share preview","wordpress-seo"),{locationContext:n}=(0,m.useRootContext)();return(0,e.createElement)(m.Root,null,(0,e.createElement)(dr,null,(0,e.createElement)(m.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,Ts.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+t.socialMediumName.toLowerCase()],{context:n}),cardText:(0,k.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ -(0,k.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,e.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,e.createElement)(m.Label,null,s),(0,e.createElement)(Wn,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:i.noop,onImageClick:i.noop,onMouseHover:i.noop})))))};ur.propTypes={socialMediumName:o().oneOf(["Social","Twitter","X"]).isRequired};const pr=ur;class mr extends n.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:t,onTitleChange:s,onSelectImageClick:r,onRemoveImageClick:a,socialMediumName:o,imageWarnings:i,description:l,descriptionInputPlaceholder:c,imageUrl:d,alt:u,title:p,titleInputPlaceholder:m,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:f,isPremium:y,location:w}=this.props;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(pr,{socialMediumName:o}),(0,e.createElement)(En.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:p,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,imageAltText:u,onTitleChange:s,onSelectImageClick:r,description:l,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:w}))}}mr.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,isPremium:o().bool,imageWarnings:o().array,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,replacementVariables:ar.replacementVariablesShape,recommendedReplacementVariables:ar.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:o().func,location:o().string,alt:o().string},mr.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const hr=mr,gr=t=>{const[s,a]=(0,n.useState)(""),o=(0,n.useCallback)((e=>{a(e.detail.metaTabId)}),[a]);(0,n.useEffect)((()=>(setTimeout(t.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),()=>{window.removeEventListener("YoastSEO:metaTabChange",o)})),[]);const i=(0,n.useMemo)((()=>({...t,activeMetaTabId:s})),[t,s]);return t.isPremium?(0,e.createElement)(r.Slot,{name:`YoastFacebookPremium${t.location.charAt(0).toUpperCase()+t.location.slice(1)}`,fillProps:i}):(0,e.createElement)(hr,{...i})};gr.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired};const fr=gr;function yr(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var n;e({type:(n=s.attributes).subtype,width:n.width,height:n.height,url:n.url,id:n.id,sizes:n.sizes,alt:n.alt||n.title||n.name})})),t})(e).open()}const wr=()=>{yr((e=>(0,h.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,n=(0,En.determineFacebookImageMode)({width:t,height:s}),r=En.FACEBOOK_IMAGE_SIZES[n+"Width"],a=En.FACEBOOK_IMAGE_SIZES[n+"Height"],o=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=a));return{url:o?o.url:e.url,id:e.id,warnings:(0,F.validateFacebookImage)(e),alt:e.alt||""}})(e))))},br=(0,R.compose)([(0,h.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:n,getSeoTitle:r,getFacebookImageUrl:a,getImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:u,getSeoTitleTemplateNoFallback:p,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:o(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||s()||h()||f()||"",title:n(),titlePreviewFallback:m()||r()||p()||u()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!As().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:y()}})),(0,h.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:n,setFacebookPreviewDescription:r,clearFacebookPreviewImage:a,loadFacebookPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:wr,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o,onReplacementVariableSearchChange:Qt(l,i)}})),Nt()])(fr),Er=t=>((0,n.useEffect)((()=>{setTimeout(t.onLoad)}),[]),t.isPremium?(0,e.createElement)(r.Slot,{name:`YoastTwitterPremium${t.location.charAt(0).toUpperCase()+t.location.slice(1)}`,fillProps:t}):(0,e.createElement)(hr,{...t}));Er.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired};const vr=Er,kr=()=>{yr((e=>(0,h.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,i.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=En.TWITTER_IMAGE_SIZES[t+"Width"],n=En.TWITTER_IMAGE_SIZES[t+"Height"],r=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=n));return{url:r?r.url:e.url,id:e.id,warnings:(0,F.validateTwitterImage)(e),alt:e.alt||""}})(e))))},_r=(0,R.compose)([(0,h.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:n,getFacebookImageUrl:r,getFacebookTitle:a,getFacebookDescription:o,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:u,getRecommendedReplaceVars:p,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:r()||u(),recommendedReplacementVariables:p(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||o()||i()||w()||E()||"",title:s(),titlePreviewFallback:y()||a()||l()||f()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!As().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,h.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:n,setTwitterPreviewDescription:r,clearTwitterPreviewImage:a,loadTwitterPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:kr,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o,onReplacementVariableSearchChange:Qt(l,i)}})),Nt()])(vr),Tr=c().legend` +`,lr=t=>{const s="X"===t.socialMediumName?(0,_.__)("X share preview","wordpress-seo"):(0,_.__)("Social share preview","wordpress-seo"),{locationContext:n}=(0,m.useRootContext)();return(0,e.createElement)(m.Root,null,(0,e.createElement)(ir,null,(0,e.createElement)(m.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,vs.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+t.socialMediumName.toLowerCase()],{context:n}),cardText:(0,_.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ +(0,_.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,e.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,e.createElement)(m.Label,null,s),(0,e.createElement)(On,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:i.noop,onImageClick:i.noop,onMouseHover:i.noop})))))};lr.propTypes={socialMediumName:o().oneOf(["Social","Twitter","X"]).isRequired};const cr=lr;class dr extends n.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:t,onTitleChange:s,onSelectImageClick:r,onRemoveImageClick:a,socialMediumName:o,imageWarnings:i,description:l,descriptionInputPlaceholder:c,imageUrl:d,alt:u,title:p,titleInputPlaceholder:m,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:f,isPremium:y,location:w}=this.props;return(0,e.createElement)(n.Fragment,null,(0,e.createElement)(cr,{socialMediumName:o}),(0,e.createElement)(yn.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:p,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,imageAltText:u,onTitleChange:s,onSelectImageClick:r,description:l,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:h,recommendedReplacementVariables:g,onReplacementVariableSearchChange:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:y,setEditorRef:this.setEditorRef,idSuffix:w}))}}dr.propTypes={title:o().string.isRequired,onTitleChange:o().func.isRequired,description:o().string.isRequired,onDescriptionChange:o().func.isRequired,imageUrl:o().string.isRequired,onSelectImageClick:o().func.isRequired,onRemoveImageClick:o().func.isRequired,socialMediumName:o().string.isRequired,isPremium:o().bool,imageWarnings:o().array,descriptionInputPlaceholder:o().string,titleInputPlaceholder:o().string,replacementVariables:sr.replacementVariablesShape,recommendedReplacementVariables:sr.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:o().func,location:o().string,alt:o().string},dr.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const ur=dr,pr=t=>{const[s,a]=(0,n.useState)(""),o=(0,n.useCallback)((e=>{a(e.detail.metaTabId)}),[a]);(0,n.useEffect)((()=>(setTimeout(t.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),()=>{window.removeEventListener("YoastSEO:metaTabChange",o)})),[]);const i=(0,n.useMemo)((()=>({...t,activeMetaTabId:s})),[t,s]);return t.isPremium?(0,e.createElement)(r.Slot,{name:`YoastFacebookPremium${t.location.charAt(0).toUpperCase()+t.location.slice(1)}`,fillProps:i}):(0,e.createElement)(ur,{...i})};pr.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired};const mr=pr;function hr(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var n;e({type:(n=s.attributes).subtype,width:n.width,height:n.height,url:n.url,id:n.id,sizes:n.sizes,alt:n.alt||n.title||n.name})})),t})(e).open()}const gr=()=>{hr((e=>(0,h.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,n=(0,yn.determineFacebookImageMode)({width:t,height:s}),r=yn.FACEBOOK_IMAGE_SIZES[n+"Width"],a=yn.FACEBOOK_IMAGE_SIZES[n+"Height"],o=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=a));return{url:o?o.url:e.url,id:e.id,warnings:(0,F.validateFacebookImage)(e),alt:e.alt||""}})(e))))},fr=(0,C.compose)([(0,h.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:n,getSeoTitle:r,getFacebookImageUrl:a,getImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:u,getSeoTitleTemplateNoFallback:p,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:o(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||s()||h()||f()||"",title:n(),titlePreviewFallback:m()||r()||p()||u()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!Is().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:y()}})),(0,h.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:n,setFacebookPreviewDescription:r,clearFacebookPreviewImage:a,loadFacebookPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:gr,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o,onReplacementVariableSearchChange:Zt(l,i)}})),qt()])(mr),yr=t=>((0,n.useEffect)((()=>{setTimeout(t.onLoad)}),[]),t.isPremium?(0,e.createElement)(r.Slot,{name:`YoastTwitterPremium${t.location.charAt(0).toUpperCase()+t.location.slice(1)}`,fillProps:t}):(0,e.createElement)(ur,{...t}));yr.propTypes={isPremium:o().bool.isRequired,onLoad:o().func.isRequired,location:o().string.isRequired};const wr=yr,br=()=>{hr((e=>(0,h.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,i.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=yn.TWITTER_IMAGE_SIZES[t+"Width"],n=yn.TWITTER_IMAGE_SIZES[t+"Height"],r=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=n));return{url:r?r.url:e.url,id:e.id,warnings:(0,F.validateTwitterImage)(e),alt:e.alt||""}})(e))))},Er=(0,C.compose)([(0,h.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:n,getFacebookImageUrl:r,getFacebookTitle:a,getFacebookDescription:o,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:u,getRecommendedReplaceVars:p,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:r()||u(),recommendedReplacementVariables:p(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||o()||i()||w()||E()||"",title:s(),titlePreviewFallback:y()||a()||l()||f()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!Is().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,h.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:n,setTwitterPreviewDescription:r,clearTwitterPreviewImage:a,loadTwitterPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:br,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o,onReplacementVariableSearchChange:Zt(l,i)}})),qt()])(wr),vr=c().legend` margin: 16px 0; padding: 0; color: ${f.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,xr=c().legend` +`,_r=c().legend` margin: 0 0 16px; padding: 0; color: ${f.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,Sr=c().div` +`,kr=c().div` padding: 16px; -`,Cr=({useOpenGraphData:t,useTwitterData:s})=>(0,e.createElement)(n.Fragment,null,s&&t&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)(is,{hasSeparator:!1 -/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,k.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0},(0,e.createElement)(xr,null,(0,k.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,e.createElement)(br,null),(0,e.createElement)(Tr,null,(0,k.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),(0,e.createElement)(is,{title:(0,k.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,e.createElement)(_r,null))),t&&!s&&(0,e.createElement)(Sr,null,(0,e.createElement)(xr,null,(0,k.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,e.createElement)(br,null)),!t&&s&&(0,e.createElement)(Sr,null,(0,e.createElement)(xr,null,(0,k.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,e.createElement)(_r,null)));Cr.propTypes={useOpenGraphData:o().bool.isRequired,useTwitterData:o().bool.isRequired};const Rr=Cr,Ir=(0,h.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:s,useTwitterData:n}=t();return{useOpenGraphData:s,useTwitterData:n}}))(Rr);function Lr({target:t}){return(0,e.createElement)(b,{target:t},(0,e.createElement)(Ir,null))}Lr.propTypes={target:o().string.isRequired};const Pr=(0,F.makeOutboundLink)(),Ar=c().div` +`,Tr=({useOpenGraphData:t,useTwitterData:s})=>(0,e.createElement)(n.Fragment,null,s&&t&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)(rs,{hasSeparator:!1 +/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,title:(0,_.__)("Social media appearance","wordpress-seo"),initialIsOpen:!0},(0,e.createElement)(_r,null,(0,_.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,e.createElement)(fr,null),(0,e.createElement)(vr,null,(0,_.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),(0,e.createElement)(rs,{title:(0,_.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,e.createElement)(Er,null))),t&&!s&&(0,e.createElement)(kr,null,(0,e.createElement)(_r,null,(0,_.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,e.createElement)(fr,null)),!t&&s&&(0,e.createElement)(kr,null,(0,e.createElement)(_r,null,(0,_.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,e.createElement)(Er,null)));Tr.propTypes={useOpenGraphData:o().bool.isRequired,useTwitterData:o().bool.isRequired};const xr=Tr,Sr=(0,h.withSelect)((e=>{const{getPreferences:t}=e("yoast-seo/editor"),{useOpenGraphData:s,useTwitterData:n}=t();return{useOpenGraphData:s,useTwitterData:n}}))(xr);function Rr({target:t}){return(0,e.createElement)(b,{target:t},(0,e.createElement)(Sr,null))}Rr.propTypes={target:o().string.isRequired};const Cr=(0,F.makeOutboundLink)(),Ir=c().div` padding: 16px; -`,Mr="yoast-seo/editor";function Fr({location:t,show:s}){return s?(0,e.createElement)(g.Alert,{type:"info"},(0,k.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ -(0,k.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,e.createElement)(Pr,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},(0,k.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ -(0,k.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}Fr.propTypes={show:o().bool.isRequired,location:o().string.isRequired};const qr=(e,t,s)=>{const n=(0,h.useSelect)((e=>e(Mr).getIsProduct()),[]),r=(0,h.useSelect)((e=>e(Mr).getIsWooSeoActive()),[]),a=n&&r?{name:(0,k.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,k.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ -(0,k.__)("Default for %1$s (%2$s)","wordpress-seo"),s,a?a.name:""),value:""},...e]},Dr=e=>(0,k.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ -(0,k.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");o().string.isRequired,o().string.isRequired,o().string.isRequired;const Or=t=>{const s=qr(t.pageTypeOptions,t.defaultPageType,t.postTypeName),r=qr(t.articleTypeOptions,t.defaultArticleType,t.postTypeName),a=(0,i.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),o=(0,i.get)(window,"wpseoScriptData.woocommerceUpsell",""),[l,c]=(0,n.useState)(t.schemaArticleTypeSelected),d=(0,k.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),u=(0,h.useSelect)((e=>e(Mr).getIsProduct()),[]),p=(0,h.useSelect)((e=>e(Mr).getIsWooSeoActive()),[]),m=u&&p,f=(0,n.useCallback)(((e,t)=>{c(t)}),[l]);return(0,n.useEffect)((()=>{f(null,t.schemaArticleTypeSelected)}),[t.schemaArticleTypeSelected]),(0,e.createElement)(n.Fragment,null,(0,e.createElement)(g.FieldGroup,{label:(0,k.__)("What type of page or content is this?","wordpress-seo"),linkTo:t.additionalHelpTextLink -/* translators: Hidden accessibility text. */,linkText:(0,k.__)("Learn more about page or content types","wordpress-seo")}),o&&(0,e.createElement)(ts,{link:a,text:d}),(0,e.createElement)(g.Select,{id:(0,F.join)(["yoast-schema-page-type",t.location]),options:s,label:(0,k.__)("Page type","wordpress-seo"),onChange:t.schemaPageTypeChange,selected:m?"ItemPage":t.schemaPageTypeSelected,disabled:m}),t.showArticleTypeInput&&(0,e.createElement)(g.Select,{id:(0,F.join)(["yoast-schema-article-type",t.location]),options:r,label:(0,k.__)("Article type","wordpress-seo"),onChange:t.schemaArticleTypeChange,selected:t.schemaArticleTypeSelected,onOptionFocus:f}),(0,e.createElement)(Fr,{location:t.location,show:!t.isNewsEnabled&&(w=l,b=t.defaultArticleType,"NewsArticle"===w||""===w&&"NewsArticle"===b)}),t.displayFooter&&!m&&(0,e.createElement)("p",null,(y=t.postTypeName,(0,G.Z)({mixedString:Dr(y),components:{link:(0,e.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),m&&(0,e.createElement)("p",null,(0,k.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,k.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var y,w,b},Nr=o().arrayOf(o().shape({name:o().string,value:o().string}));Or.propTypes={schemaPageTypeChange:o().func,schemaPageTypeSelected:o().string,pageTypeOptions:Nr.isRequired,schemaArticleTypeChange:o().func,schemaArticleTypeSelected:o().string,articleTypeOptions:Nr.isRequired,showArticleTypeInput:o().bool.isRequired,additionalHelpTextLink:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,defaultPageType:o().string.isRequired,defaultArticleType:o().string.isRequired,location:o().string.isRequired,isNewsEnabled:o().bool},Or.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const $r=t=>t.isMetabox?(0,n.createPortal)((0,e.createElement)(Ar,null,(0,e.createElement)(Or,{...t})),document.getElementById("wpseo-meta-section-schema")):(0,e.createElement)(Or,{...t});$r.propTypes={showArticleTypeInput:o().bool,articleTypeLabel:o().string,additionalHelpTextLink:o().string,pageTypeLabel:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,isMetabox:o().bool.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,loadSchemaArticleData:o().func.isRequired,loadSchemaPageData:o().func.isRequired,location:o().string.isRequired},$r.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const Wr=$r;class Br{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return Br.articleTypeInput.getAttribute("data-default")}static get articleType(){return Br.articleTypeInput.value}static set articleType(e){Br.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return Br.pageTypeInput.getAttribute("data-default")}static get pageType(){return Br.pageTypeInput.value}static set pageType(e){Br.pageTypeInput.value=e}}const Ur=t=>{const s=null!==Br.articleTypeInput;(0,n.useEffect)((()=>{t.loadSchemaPageData(),s&&t.loadSchemaArticleData()}),[]);const{pageTypeOptions:r,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:(0,k.__)("Article type","wordpress-seo"),pageTypeLabel:(0,k.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,k.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,k.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:s,pageTypeOptions:r,articleTypeOptions:a},i={...t,...o,...(l=t.location,"metabox"===l?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var l;return(0,e.createElement)(Wr,{...i})};Ur.propTypes={displayFooter:o().bool.isRequired,schemaPageTypeSelected:o().string.isRequired,schemaArticleTypeSelected:o().string.isRequired,defaultArticleType:o().string.isRequired,defaultPageType:o().string.isRequired,loadSchemaPageData:o().func.isRequired,loadSchemaArticleData:o().func.isRequired,schemaPageTypeChange:o().func.isRequired,schemaArticleTypeChange:o().func.isRequired,location:o().string.isRequired};const zr=(0,R.compose)([(0,h.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:n,getArticleType:r,getDefaultArticleType:a}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:s(),schemaArticleTypeSelected:r(),defaultArticleType:a(),defaultPageType:n()}})),(0,h.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:n,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:n,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),Nt()])(Ur),Hr=()=>(0,e.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,k.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ -(0,k.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"})),Kr=(0,F.makeOutboundLink)(),Yr=()=>(0,e.createElement)(n.Fragment,null,(0,e.createElement)("p",null,(0,k.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,k.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,e.createElement)(Kr,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,k.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,k.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),jr="yoast-semrush-country-selector",Vr=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class Zr extends n.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){se()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await se()({path:(0,Ts.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,e.createElement)("div",{id:jr},(0,e.createElement)(g.SingleSelect,{id:jr+"-select",label:(0,k.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:Vr,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,e.createElement)(g.NewButton,{id:jr+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,k.__)("Select country","wordpress-seo")))}}Zr.propTypes={keyphrase:o().string,countryCode:o().string,response:o().object,lastRequestKeyphrase:o().string,setCountry:o().func.isRequired,newRequest:o().func.isRequired,setNoResultsFound:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setRequestLimitReached:o().func.isRequired,setRequestFailed:o().func.isRequired},Zr.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const Gr=Zr,Xr=(0,F.makeOutboundLink)(c().a` +`,Lr="yoast-seo/editor";function Pr({location:t,show:s}){return s?(0,e.createElement)(g.Alert,{type:"info"},(0,_.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ +(0,_.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,e.createElement)(Cr,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},(0,_.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ +(0,_.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}Pr.propTypes={show:o().bool.isRequired,location:o().string.isRequired};const Ar=(e,t,s)=>{const n=(0,h.useSelect)((e=>e(Lr).getIsProduct()),[]),r=(0,h.useSelect)((e=>e(Lr).getIsWooSeoActive()),[]),a=n&&r?{name:(0,_.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,_.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ +(0,_.__)("Default for %1$s (%2$s)","wordpress-seo"),s,a?a.name:""),value:""},...e]},Mr=e=>(0,_.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ +(0,_.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");o().string.isRequired,o().string.isRequired,o().string.isRequired;const Fr=t=>{const s=Ar(t.pageTypeOptions,t.defaultPageType,t.postTypeName),r=Ar(t.articleTypeOptions,t.defaultArticleType,t.postTypeName),a=(0,i.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),o=(0,i.get)(window,"wpseoScriptData.woocommerceUpsell",""),[l,c]=(0,n.useState)(t.schemaArticleTypeSelected),d=(0,_.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),u=(0,h.useSelect)((e=>e(Lr).getIsProduct()),[]),p=(0,h.useSelect)((e=>e(Lr).getIsWooSeoActive()),[]),m=u&&p,f=(0,n.useCallback)(((e,t)=>{c(t)}),[l]);return(0,n.useEffect)((()=>{f(null,t.schemaArticleTypeSelected)}),[t.schemaArticleTypeSelected]),(0,e.createElement)(n.Fragment,null,(0,e.createElement)(g.FieldGroup,{label:(0,_.__)("What type of page or content is this?","wordpress-seo"),linkTo:t.additionalHelpTextLink +/* translators: Hidden accessibility text. */,linkText:(0,_.__)("Learn more about page or content types","wordpress-seo")}),o&&(0,e.createElement)(Qt,{link:a,text:d}),(0,e.createElement)(g.Select,{id:(0,F.join)(["yoast-schema-page-type",t.location]),options:s,label:(0,_.__)("Page type","wordpress-seo"),onChange:t.schemaPageTypeChange,selected:m?"ItemPage":t.schemaPageTypeSelected,disabled:m}),t.showArticleTypeInput&&(0,e.createElement)(g.Select,{id:(0,F.join)(["yoast-schema-article-type",t.location]),options:r,label:(0,_.__)("Article type","wordpress-seo"),onChange:t.schemaArticleTypeChange,selected:t.schemaArticleTypeSelected,onOptionFocus:f}),(0,e.createElement)(Pr,{location:t.location,show:!t.isNewsEnabled&&(w=l,b=t.defaultArticleType,"NewsArticle"===w||""===w&&"NewsArticle"===b)}),t.displayFooter&&!m&&(0,e.createElement)("p",null,(y=t.postTypeName,(0,V.Z)({mixedString:Mr(y),components:{link:(0,e.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),m&&(0,e.createElement)("p",null,(0,_.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,_.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var y,w,b},qr=o().arrayOf(o().shape({name:o().string,value:o().string}));Fr.propTypes={schemaPageTypeChange:o().func,schemaPageTypeSelected:o().string,pageTypeOptions:qr.isRequired,schemaArticleTypeChange:o().func,schemaArticleTypeSelected:o().string,articleTypeOptions:qr.isRequired,showArticleTypeInput:o().bool.isRequired,additionalHelpTextLink:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,defaultPageType:o().string.isRequired,defaultArticleType:o().string.isRequired,location:o().string.isRequired,isNewsEnabled:o().bool},Fr.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const Dr=t=>t.isMetabox?(0,n.createPortal)((0,e.createElement)(Ir,null,(0,e.createElement)(Fr,{...t})),document.getElementById("wpseo-meta-section-schema")):(0,e.createElement)(Fr,{...t});Dr.propTypes={showArticleTypeInput:o().bool,articleTypeLabel:o().string,additionalHelpTextLink:o().string,pageTypeLabel:o().string.isRequired,helpTextLink:o().string.isRequired,helpTextTitle:o().string.isRequired,helpTextDescription:o().string.isRequired,isMetabox:o().bool.isRequired,postTypeName:o().string.isRequired,displayFooter:o().bool,loadSchemaArticleData:o().func.isRequired,loadSchemaPageData:o().func.isRequired,location:o().string.isRequired},Dr.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const Or=Dr;class Nr{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return Nr.articleTypeInput.getAttribute("data-default")}static get articleType(){return Nr.articleTypeInput.value}static set articleType(e){Nr.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return Nr.pageTypeInput.getAttribute("data-default")}static get pageType(){return Nr.pageTypeInput.value}static set pageType(e){Nr.pageTypeInput.value=e}}const $r=t=>{const s=null!==Nr.articleTypeInput;(0,n.useEffect)((()=>{t.loadSchemaPageData(),s&&t.loadSchemaArticleData()}),[]);const{pageTypeOptions:r,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:(0,_.__)("Article type","wordpress-seo"),pageTypeLabel:(0,_.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,_.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,_.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:s,pageTypeOptions:r,articleTypeOptions:a},i={...t,...o,...(l=t.location,"metabox"===l?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var l;return(0,e.createElement)(Or,{...i})};$r.propTypes={displayFooter:o().bool.isRequired,schemaPageTypeSelected:o().string.isRequired,schemaArticleTypeSelected:o().string.isRequired,defaultArticleType:o().string.isRequired,defaultPageType:o().string.isRequired,loadSchemaPageData:o().func.isRequired,loadSchemaArticleData:o().func.isRequired,schemaPageTypeChange:o().func.isRequired,schemaArticleTypeChange:o().func.isRequired,location:o().string.isRequired};const Wr=(0,C.compose)([(0,h.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:n,getArticleType:r,getDefaultArticleType:a}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:s(),schemaArticleTypeSelected:r(),defaultArticleType:a(),defaultPageType:n()}})),(0,h.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:n,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:n,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),qt()])($r),Br=()=>(0,e.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,_.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ +(0,_.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,e.createElement)(g.SvgIcon,{icon:"loading-spinner"})),Ur=(0,F.makeOutboundLink)(),zr=()=>(0,e.createElement)(n.Fragment,null,(0,e.createElement)("p",null,(0,_.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,_.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,e.createElement)(Ur,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,_.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,_.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,e.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),Kr="yoast-semrush-country-selector",Hr=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class Yr extends n.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){ee()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await ee()({path:(0,vs.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,e.createElement)("div",{id:Kr},(0,e.createElement)(g.SingleSelect,{id:Kr+"-select",label:(0,_.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:Hr,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,e.createElement)(g.NewButton,{id:Kr+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,_.__)("Select country","wordpress-seo")))}}Yr.propTypes={keyphrase:o().string,countryCode:o().string,response:o().object,lastRequestKeyphrase:o().string,setCountry:o().func.isRequired,newRequest:o().func.isRequired,setNoResultsFound:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setRequestLimitReached:o().func.isRequired,setRequestFailed:o().func.isRequired},Yr.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const jr=Yr,Vr=(0,F.makeOutboundLink)(c().a` display: inline-block; position: relative; outline: none; @@ -534,30 +532,30 @@ o=(0,k.__)("Learn more about character count","wordpress-seo")),(0,e.createEleme padding: 2px; content: "\f223"; } -`),Qr=(0,F.makeOutboundLink)();class Jr extends n.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,k.__)("Twelve months ago","wordpress-seo"),(0,k.__)("Eleven months ago","wordpress-seo"),(0,k.__)("Ten months ago","wordpress-seo"),(0,k.__)("Nine months ago","wordpress-seo"),(0,k.__)("Eight months ago","wordpress-seo"),(0,k.__)("Seven months ago","wordpress-seo"),(0,k.__)("Six months ago","wordpress-seo"),(0,k.__)("Five months ago","wordpress-seo"),(0,k.__)("Four months ago","wordpress-seo"),(0,k.__)("Three months ago","wordpress-seo"),(0,k.__)("Two months ago","wordpress-seo"),(0,k.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:t,relatedKeyphrases:s,countryCode:r,data:a,renderAction:o}=this.props,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(t)+"&db="+encodeURIComponent(r);return a&&!(0,i.isEmpty)(a.results)&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)("table",{className:"yoast yoast-table"},(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,k.__)("Related keyphrase","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Volume","wordpress-seo")},(0,k.__)("Volume","wordpress-seo"),(0,e.createElement)(Xr,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,k.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,e.createElement)("th",{scope:"col",abbr:(0,k.__)("Trend","wordpress-seo")},(0,k.__)("Trend","wordpress-seo"),(0,e.createElement)(Xr,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,k.__)("Learn more about the related keyphrases trend","wordpress-seo")))),o&&(0,e.createElement)("td",{className:"yoast-table--nobreak"}))),(0,e.createElement)("tbody",null,a.results.rows.map(((t,n)=>{const r=t[0],a=this.transformTrendDataToChartPoints(t[2]),i=this.getAreaChartDataTableHeaderLabels();return(0,e.createElement)("tr",{key:n},(0,e.createElement)("td",null,r),(0,e.createElement)("td",null,t[1]),(0,e.createElement)("td",{className:"yoast-table--nopadding"},(0,e.createElement)(ke,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,k.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:i})),o&&(0,e.createElement)("td",{className:"yoast-table--nobreak"},o(r,s)))})))),(0,e.createElement)("p",{style:{marginBottom:0}},(0,e.createElement)(Qr,{href:l},(0,k.sprintf)(/* translators: %s expands to Semrush */ -(0,k.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}Jr.propTypes={data:o().object,keyphrase:o().string,relatedKeyphrases:o().array,countryCode:o().string,renderAction:o().func},Jr.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const ea=Jr,ta=(0,F.makeOutboundLink)(),sa=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,k.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,k.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,e.createElement)(ta,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,k.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ -(0,k.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),na=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,k.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),ra=()=>(0,e.createElement)(g.Alert,{type:"warning"},(0,k.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,k.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function aa(t){const{response:s,lastRequestKeyphrase:r,keyphrase:a,newRequest:o,setCountry:l,renderAction:c,countryCode:d,requestLimitReached:u,setRequestFailed:p,setNoResultsFound:m,relatedKeyphrases:h,setRequestSucceeded:g,setRequestLimitReached:f}=t,y=As().isPremium;return(0,e.createElement)(n.Fragment,null,!u&&(0,e.createElement)(n.Fragment,null,!y&&(0,e.createElement)(sa,null),y&&function(e){return e&&e.length>=4}(h)&&(0,e.createElement)(ra,null),(0,e.createElement)(Gr,{countryCode:d,setCountry:l,newRequest:o,keyphrase:a,setRequestFailed:p,setNoResultsFound:m,setRequestSucceeded:g,setRequestLimitReached:f,response:s,lastRequestKeyphrase:r})),function(t){const{isPending:s,requestLimitReached:n,isSuccess:r,response:a,requestHasData:o}=t;return s?(0,e.createElement)(Hr,null):n?(0,e.createElement)(Yr,null):!r&&function(e){return!(0,i.isEmpty)(e)&&"error"in e}(a)?(0,e.createElement)(na,null):o?void 0:(0,e.createElement)("p",null,(0,k.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(t),(0,e.createElement)(ea,{keyphrase:a,relatedKeyphrases:h,countryCode:d,renderAction:c,data:s}))}aa.propTypes={keyphrase:o().string,relatedKeyphrases:o().array,renderAction:o().func,requestLimitReached:o().bool,countryCode:o().string.isRequired,setCountry:o().func.isRequired,newRequest:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setRequestLimitReached:o().func.isRequired,setRequestFailed:o().func.isRequired,setNoResultsFound:o().func.isRequired,response:o().object,lastRequestKeyphrase:o().string},aa.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const oa=(0,R.compose)([(0,h.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:a,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:n(),response:r(),isSuccess:a(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,h.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:a,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{a()},setNoResultsFound:()=>{o()}}}))])(aa),ia=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,Vt((0,k.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ -(0,k.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var la,ca,da,ua,pa,ma,ha,ga,fa,ya,wa,ba,Ea,va,ka,_a,Ta,xa,Sa,Ca,Ra,Ia,La,Pa,Aa,Ma,Fa,qa,Da,Oa,Na,$a,Wa,Ba,Ua,za,Ha,Ka,Ya,ja,Va,Za,Ga,Xa,Qa,Ja,eo,to;function so(){return so=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",so({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},t),la||(la=e.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),ca||(ca=e.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),da||(da=e.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),ua||(ua=e.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),pa||(pa=e.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),ma||(ma=e.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),ha||(ha=e.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),ga||(ga=e.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),fa||(fa=e.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),ya||(ya=e.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),wa||(wa=e.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),ba||(ba=e.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),Ea||(Ea=e.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),va||(va=e.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),ka||(ka=e.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),_a||(_a=e.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Ta||(Ta=e.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),xa||(xa=e.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),Sa||(Sa=e.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),Ca||(Ca=e.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Ra||(Ra=e.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),Ia||(Ia=e.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),La||(La=e.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),Pa||(Pa=e.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),Aa||(Aa=e.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Ma||(Ma=e.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),Fa||(Fa=e.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),qa||(qa=e.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Da||(Da=e.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Oa||(Oa=e.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Na||(Na=e.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),$a||($a=e.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Wa||(Wa=e.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Ba||(Ba=e.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Ua||(Ua=e.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),za||(za=e.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Ha||(Ha=e.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Ka||(Ka=e.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Ya||(Ya=e.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),ja||(ja=e.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Va||(Va=e.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Za||(Za=e.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Ga||(Ga=e.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Xa||(Xa=e.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Qa||(Qa=e.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),Ja||(Ja=e.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),eo||(eo=e.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),to||(to=e.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),ro=t=>{const{closeModal:s}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,e.createElement)(no,{class:"yoast-wordproof-modal-svg__success"})),(0,e.createElement)("p",null,(0,k.sprintf)(/* Translators: %s translates to the Post type in singular form */ -(0,k.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Js("current_post_type")),(0,e.createElement)("br",null),(0,n.createInterpolateElement)((0,k.sprintf)((0,k.__)( +`),Zr=(0,F.makeOutboundLink)();class Gr extends n.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,_.__)("Twelve months ago","wordpress-seo"),(0,_.__)("Eleven months ago","wordpress-seo"),(0,_.__)("Ten months ago","wordpress-seo"),(0,_.__)("Nine months ago","wordpress-seo"),(0,_.__)("Eight months ago","wordpress-seo"),(0,_.__)("Seven months ago","wordpress-seo"),(0,_.__)("Six months ago","wordpress-seo"),(0,_.__)("Five months ago","wordpress-seo"),(0,_.__)("Four months ago","wordpress-seo"),(0,_.__)("Three months ago","wordpress-seo"),(0,_.__)("Two months ago","wordpress-seo"),(0,_.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:t,relatedKeyphrases:s,countryCode:r,data:a,renderAction:o}=this.props,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(t)+"&db="+encodeURIComponent(r);return a&&!(0,i.isEmpty)(a.results)&&(0,e.createElement)(n.Fragment,null,(0,e.createElement)("table",{className:"yoast yoast-table"},(0,e.createElement)("thead",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,_.__)("Related keyphrase","wordpress-seo")),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Volume","wordpress-seo")},(0,_.__)("Volume","wordpress-seo"),(0,e.createElement)(Vr,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,_.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,e.createElement)("th",{scope:"col",abbr:(0,_.__)("Trend","wordpress-seo")},(0,_.__)("Trend","wordpress-seo"),(0,e.createElement)(Vr,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,_.__)("Learn more about the related keyphrases trend","wordpress-seo")))),o&&(0,e.createElement)("td",{className:"yoast-table--nobreak"}))),(0,e.createElement)("tbody",null,a.results.rows.map(((t,n)=>{const r=t[0],a=this.transformTrendDataToChartPoints(t[2]),i=this.getAreaChartDataTableHeaderLabels();return(0,e.createElement)("tr",{key:n},(0,e.createElement)("td",null,r),(0,e.createElement)("td",null,t[1]),(0,e.createElement)("td",{className:"yoast-table--nopadding"},(0,e.createElement)(Ee,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,_.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:i})),o&&(0,e.createElement)("td",{className:"yoast-table--nobreak"},o(r,s)))})))),(0,e.createElement)("p",{style:{marginBottom:0}},(0,e.createElement)(Zr,{href:l},(0,_.sprintf)(/* translators: %s expands to Semrush */ +(0,_.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}Gr.propTypes={data:o().object,keyphrase:o().string,relatedKeyphrases:o().array,countryCode:o().string,renderAction:o().func},Gr.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const Xr=Gr,Qr=(0,F.makeOutboundLink)(),Jr=()=>(0,e.createElement)(g.Alert,{type:"info"},(0,_.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,_.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,e.createElement)(Qr,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,_.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ +(0,_.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),ea=()=>(0,e.createElement)(g.Alert,{type:"error"},(0,_.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),ta=()=>(0,e.createElement)(g.Alert,{type:"warning"},(0,_.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,_.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function sa(t){const{response:s,lastRequestKeyphrase:r,keyphrase:a,newRequest:o,setCountry:l,renderAction:c,countryCode:d,requestLimitReached:u,setRequestFailed:p,setNoResultsFound:m,relatedKeyphrases:h,setRequestSucceeded:g,setRequestLimitReached:f}=t,y=Is().isPremium;return(0,e.createElement)(n.Fragment,null,!u&&(0,e.createElement)(n.Fragment,null,!y&&(0,e.createElement)(Jr,null),y&&function(e){return e&&e.length>=4}(h)&&(0,e.createElement)(ta,null),(0,e.createElement)(jr,{countryCode:d,setCountry:l,newRequest:o,keyphrase:a,setRequestFailed:p,setNoResultsFound:m,setRequestSucceeded:g,setRequestLimitReached:f,response:s,lastRequestKeyphrase:r})),function(t){const{isPending:s,requestLimitReached:n,isSuccess:r,response:a,requestHasData:o}=t;return s?(0,e.createElement)(Br,null):n?(0,e.createElement)(zr,null):!r&&function(e){return!(0,i.isEmpty)(e)&&"error"in e}(a)?(0,e.createElement)(ea,null):o?void 0:(0,e.createElement)("p",null,(0,_.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(t),(0,e.createElement)(Xr,{keyphrase:a,relatedKeyphrases:h,countryCode:d,renderAction:c,data:s}))}sa.propTypes={keyphrase:o().string,relatedKeyphrases:o().array,renderAction:o().func,requestLimitReached:o().bool,countryCode:o().string.isRequired,setCountry:o().func.isRequired,newRequest:o().func.isRequired,setRequestSucceeded:o().func.isRequired,setRequestLimitReached:o().func.isRequired,setRequestFailed:o().func.isRequired,setNoResultsFound:o().func.isRequired,response:o().object,lastRequestKeyphrase:o().string},sa.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const na=(0,C.compose)([(0,h.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:a,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:n(),response:r(),isSuccess:a(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,h.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:a,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{a()},setNoResultsFound:()=>{o()}}}))])(sa),ra=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,Ht((0,_.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ +(0,_.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var aa,oa,ia,la,ca,da,ua,pa,ma,ha,ga,fa,ya,wa,ba,Ea,va,_a,ka,Ta,xa,Sa,Ra,Ca,Ia,La,Pa,Aa,Ma,Fa,qa,Da,Oa,Na,$a,Wa,Ba,Ua,za,Ka,Ha,Ya,ja,Va,Za,Ga,Xa,Qa;function Ja(){return Ja=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",Ja({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},t),aa||(aa=e.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),oa||(oa=e.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),ia||(ia=e.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),la||(la=e.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),ca||(ca=e.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),da||(da=e.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),ua||(ua=e.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),pa||(pa=e.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),ma||(ma=e.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),ha||(ha=e.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),ga||(ga=e.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),fa||(fa=e.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),ya||(ya=e.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),wa||(wa=e.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),ba||(ba=e.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),Ea||(Ea=e.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),va||(va=e.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),_a||(_a=e.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),ka||(ka=e.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),Ta||(Ta=e.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),xa||(xa=e.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),Sa||(Sa=e.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),Ra||(Ra=e.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),Ca||(Ca=e.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),Ia||(Ia=e.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),La||(La=e.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),Pa||(Pa=e.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),Aa||(Aa=e.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Ma||(Ma=e.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Fa||(Fa=e.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),qa||(qa=e.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Da||(Da=e.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Oa||(Oa=e.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Na||(Na=e.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),$a||($a=e.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Wa||(Wa=e.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Ba||(Ba=e.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Ua||(Ua=e.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),za||(za=e.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Ka||(Ka=e.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Ha||(Ha=e.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Ya||(Ya=e.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),ja||(ja=e.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Va||(Va=e.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Za||(Za=e.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),Ga||(Ga=e.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),Xa||(Xa=e.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Qa||(Qa=e.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),to=t=>{const{closeModal:s}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,e.createElement)(eo,{class:"yoast-wordproof-modal-svg__success"})),(0,e.createElement)("p",null,(0,_.sprintf)(/* Translators: %s translates to the Post type in singular form */ +(0,_.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Gs("current_post_type")),(0,e.createElement)("br",null),(0,n.createInterpolateElement)((0,_.sprintf)((0,_.__)( /** translators: * %1$s and %2$s are replaced by opening and closing tags. * %3$s translates to the Post type in singular form. */ -"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",Js("current_post_type")),{b:(0,e.createElement)("b",null)})),(0,e.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,e.createElement)(g.NewButton,{variant:"primary",onClick:s},"Continue")))};ro.propTypes={closeModal:o().func.isRequired};const ao=ro;var oo;function io(){return io=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",io({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},t),oo||(oo=e.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},e.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),e.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),e.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),e.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),e.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),e.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),e.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),co=t=>{const{closeModal:s}=t,r=(0,n.useCallback)((e=>{s(),e.preventDefault(),sn()}));return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,e.createElement)(lo,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,e.createElement)("div",null,(0,k.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,e.createElement)("br",null),Vt((0,k.sprintf)( +"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",Gs("current_post_type")),{b:(0,e.createElement)("b",null)})),(0,e.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,e.createElement)(g.NewButton,{variant:"primary",onClick:s},"Continue")))};to.propTypes={closeModal:o().func.isRequired};const so=to;var no;function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",ro({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},t),no||(no=e.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},e.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),e.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),e.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),e.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),e.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),e.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),e.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),oo=t=>{const{closeModal:s}=t,r=(0,n.useCallback)((e=>{s(),e.preventDefault(),Js()}));return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,e.createElement)(ao,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,e.createElement)("div",null,(0,_.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,e.createElement)("br",null),Ht((0,_.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,k.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,e.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,e.createElement)(g.NewButton,{variant:"secondary",onClick:r},(0,k.__)("Try again","wordpress-seo"))),(0,e.createElement)("div",null,Vt((0,k.sprintf)( +(0,_.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,e.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,e.createElement)(g.NewButton,{variant:"secondary",onClick:r},(0,_.__)("Try again","wordpress-seo"))),(0,e.createElement)("div",null,Ht((0,_.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. %3$s expands to WordProof. -(0,k.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};co.propTypes={closeModal:o().func.isRequired};const uo=co,po=()=>{const[t,s]=(0,n.useState)(null),r=(0,n.useCallback)((()=>{s("oauth:failed")})),a=(0,n.useCallback)((()=>{s("webhook:failed")})),o=(0,n.useCallback)((()=>{s("oauth:success")})),i=(0,n.useCallback)((()=>{s(null)}));(0,n.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",o,!1),window.addEventListener("wordproof:oauth:failed",r,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",o,!1),window.removeEventListener("wordproof:oauth:failed",r,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const l=(0,n.useCallback)((()=>{switch(t){case"webhook:failed":return(0,k.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,k.__)("Connected to WordProof","wordpress-seo");default:return(0,k.__)("WordProof authentication","wordpress-seo")}}));return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{onRequestClose:i,additionalClassName:"yoast-wordproof-modal",title:l()},"oauth:success"===t&&(0,e.createElement)(ao,{closeModal:i}),"oauth:failed"===t&&(0,e.createElement)(ia,null),"webhook:failed"===t&&(0,e.createElement)(uo,{closeModal:i})))},mo=(0,k.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),ho=t=>{const{locationContext:s}=(0,d.useRootContext)(),n=(0,Ts.addQueryArgs)(wpseoAdminL10n[t.buyLink],{context:s});return(0,e.createElement)(Zs,{title:(0,k.__)("Get more help with writing content that ranks","wordpress-seo"),description:t.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:Ns(),upsellButtonText:(0,k.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:n,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,k.__)("1 year of premium support and updates included!","wordpress-seo")})};ho.propTypes={buyLink:o().string.isRequired,description:o().string},ho.defaultProps={description:mo};const go=ho,fo=({location:t})=>{const[s,r]=(0,n.useState)(!1),a=(0,n.useCallback)((()=>r(!1)),[]),o=(0,n.useCallback)((()=>r(!0)),[]),i=(0,m.useSvgAria)();return(0,e.createElement)(n.Fragment,null,s&&(0,e.createElement)($,{title:(0,k.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(go,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&(0,e.createElement)(K,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,k.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:f.colors.$color_grey},onClick:o},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...i})))),"metabox"===t&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:o},(0,e.createElement)(g.SvgIcon,{icon:"seo-score-none",color:f.colors.$color_grey}),(0,e.createElement)(M.Text,null,(0,k.__)("Premium SEO analysis","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...i}),(0,e.createElement)("span",null,"Premium")))))};fo.propTypes={location:o().string},fo.defaultProps={location:"sidebar"};const yo=fo,wo=t=>(0,e.createElement)(Zs,{title:(0,k.__)("Reach a wider audience","wordpress-seo"),description:(0,k.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:Ns(),upsellButtonText:(0,k.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,k.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:t.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,k.__)("1 year free support and updates included!","wordpress-seo")});wo.propTypes={buyLink:o().string.isRequired};const bo=wo,Eo=()=>{const[t,,,s,r]=(0,m.useToggleState)(!1),a=(0,n.useContext)(d.LocationContext),{locationContext:o}=(0,d.useRootContext)(),i=(0,m.useSvgAria)(),l=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{title:(0,k.__)("Add related keyphrases","wordpress-seo"),onRequestClose:r,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(bo,{buyLink:(0,Ts.addQueryArgs)(l,{context:o})}))),"sidebar"===a&&(0,e.createElement)(K,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,k.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:f.colors.$color_grey_medium_dark},onClick:s},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...i})))),"metabox"===a&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:s},(0,e.createElement)(g.SvgIcon,{icon:"plus",color:f.colors.$color_grey_medium_dark}),(0,e.createElement)(M.Text,null,(0,k.__)("Add related keyphrase","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Os,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...i}),(0,e.createElement)("span",null,"Premium")))))};var vo,ko,_o,To,xo,So,Co,Ro,Io,Lo,Po,Ao,Mo,Fo,qo,Do,Oo,No,$o,Wo,Bo,Uo,zo,Ho,Ko,Yo,jo,Vo,Zo,Go,Xo,Qo,Jo,ei,ti,si,ni,ri,ai,oi,ii,li,ci,di,ui,pi,mi;function hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",hi({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},t),vo||(vo=e.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),ko||(ko=e.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),_o||(_o=e.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),To||(To=e.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),xo||(xo=e.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),So||(So=e.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),Co||(Co=e.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),Ro||(Ro=e.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),Io||(Io=e.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),Lo||(Lo=e.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),Po||(Po=e.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),Ao||(Ao=e.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Mo||(Mo=e.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),Fo||(Fo=e.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),qo||(qo=e.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Do||(Do=e.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),Oo||(Oo=e.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),No||(No=e.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),$o||($o=e.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Wo||(Wo=e.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),Bo||(Bo=e.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),Uo||(Uo=e.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),zo||(zo=e.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),Ho||(Ho=e.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Ko||(Ko=e.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),Yo||(Yo=e.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),jo||(jo=e.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Vo||(Vo=e.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Zo||(Zo=e.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Go||(Go=e.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Xo||(Xo=e.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Qo||(Qo=e.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Jo||(Jo=e.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),ei||(ei=e.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),ti||(ti=e.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),si||(si=e.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),ni||(ni=e.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),ri||(ri=e.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),ai||(ai=e.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),oi||(oi=e.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),ii||(ii=e.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),li||(li=e.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ci||(ci=e.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),di||(di=e.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),ui||(ui=e.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),pi||(pi=e.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),mi||(mi=e.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),fi=(0,R.compose)([(0,h.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,h.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),yi=fi,wi=({children:t,id:s,hasIcon:n=!0,title:r,image:a=null,isAlertDismissed:o,onDismissed:i})=>o?null:(0,e.createElement)("div",{id:s,className:"notice-yoast yoast is-dismissible"},(0,e.createElement)("div",{className:"notice-yoast__container"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"notice-yoast__header"},n&&(0,e.createElement)("span",{className:"yoast-icon"}),(0,e.createElement)("h2",{className:"notice-yoast__header-heading"},r)),(0,e.createElement)("p",null,t)),a&&(0,e.createElement)(a,{height:"60"})),(0,e.createElement)("button",{type:"button",className:"notice-dismiss",onClick:i},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,k.__)("Dismiss this notice.","wordpress-seo"))));wi.propTypes={children:o().node.isRequired,id:o().string.isRequired,hasIcon:o().bool,title:o().any.isRequired,image:o().elementType,isAlertDismissed:o().bool.isRequired,onDismissed:o().func.isRequired};const bi=yi(wi),Ei=({store:t="yoast-seo/editor",image:s=null,title:n,promoId:r,alertKey:a,children:o,...i})=>(0,h.select)(t).isPromotionActive(r)&&(0,e.createElement)(bi,{alertKey:a,store:t,id:a,title:n,image:s,...i},o);Ei.propTypes={store:o().string,image:o().elementType,title:o().any.isRequired,promoId:o().string.isRequired,alertKey:o().string.isRequired,children:o().node};const vi=({store:t="yoast-seo/editor",location:s="sidebar",...r})=>{const a=(0,h.useSelect)((e=>e(t).getIsPremium()),[t]),o=(0,h.useSelect)((e=>e(t).selectLinkParams()),[t]),i="sidebar"===s?(0,k.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ -(0,k.__)("BLACK FRIDAY SALE: %1$s","wordpress-seo"),"YOAST SEO PREMIUM"):(0,n.createInterpolateElement)((0,k.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ -(0,k.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,e.createElement)("a",{href:(0,Ts.addQueryArgs)("https://yoa.st/black-friday-sale",o),target:"_blank",rel:"noreferrer"})});return a?null:(0,e.createElement)(Ei,{id:`black-friday-2023-promotion-${s}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:t,title:i,image:Image,...r},(0,e.createElement)("span",{className:"yoast-bf-sale-badge"},(0,k.__)("30% OFF!","wordpress-seo")," "),"sidebar"===s&&(0,e.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,Ts.addQueryArgs)("https://yoa.st/black-friday-sale",o),target:"_blank",rel:"noreferrer"},(0,k.__)("Buy now!","wordpress-seo")))};vi.propTypes={store:o().string,location:o().oneOf(["sidebar","metabox"])};const ki=t=>s=>!(()=>{var e,t;const s=(0,h.select)("yoast-seo/editor").getIsPremium(),n=(0,h.select)("yoast-seo/editor").getWarningMessage();return(s&&null!==(e=null===(t=(0,h.select)("yoast-seo-premium/editor"))||void 0===t?void 0:t.getMetaboxWarning())&&void 0!==e?e:[]).length>0||n.length>0})()&&(0,e.createElement)(t,{...s}),_i=ki((()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").selectLinkParams()),[]),s=(0,k.sprintf)(/* translators: %1$s expands to 'WooCommerce'. */ -(0,k.__)("Is your %1$s store ready for Black Friday?","wordpress-seo"),"WooCommerce");return(0,e.createElement)(Ei,{id:"black-friday-2023-product-editor-checklist",alertKey:"black-friday-2023-product-editor-checklist",promoId:"black-friday-2023-checklist",store:"yoast-seo/editor",title:s,image:gi},(0,n.createInterpolateElement)((0,k.sprintf)(/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ -(0,k.__)("The Yoast %1$sultimate Black Friday checklist%2$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"",""),{strong:(0,e.createElement)("strong",null)})," ",(0,e.createElement)("a",{href:(0,Ts.addQueryArgs)("https://yoa.st/black-friday-checklist",t),target:"_blank",rel:"noreferrer"},(0,k.__)("Get the checklist and start optimizing now!","wordpress-seo")))})),Ti=ki(vi);function xi({settings:t}){const s=(0,h.useSelect)((e=>e("yoast-seo/editor").getIsTerm()),[]),a=(0,h.useSelect)((e=>e("yoast-seo/editor").getIsProduct()),[])&&window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive;return(0,e.createElement)(n.Fragment,null,en()&&(0,e.createElement)(po,null),(0,e.createElement)(r.Fill,{name:"YoastMetabox"},(0,e.createElement)(Qs,{key:"warning",renderPriority:1},(0,e.createElement)(rs,null)),(0,e.createElement)(Qs,{key:"time-constrained-notification",renderPriority:2},a&&(0,e.createElement)(_i,null),(0,e.createElement)(Ti,{image:null,hasIcon:!1,location:"metabox"})),t.isKeywordAnalysisActive&&(0,e.createElement)(Qs,{key:"keyword-input",renderPriority:8},(0,e.createElement)(Ot.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,e.createElement)(r.Fill,{name:"YoastRelatedKeyphrases"},(0,e.createElement)(oa,null))),(0,e.createElement)(Qs,{key:"search-appearance",renderPriority:9},(0,e.createElement)(is,{id:"yoast-snippet-editor-metabox",title:(0,k.__)("Search appearance","wordpress-seo"),initialIsOpen:!0},(0,e.createElement)(ns,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&(0,e.createElement)(Qs,{key:"readability-analysis",renderPriority:10},(0,e.createElement)(Ot.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell})),t.isKeywordAnalysisActive&&(0,e.createElement)(Qs,{key:"seo-analysis",renderPriority:20},(0,e.createElement)(n.Fragment,null,(0,e.createElement)(Ot.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive}),t.shouldUpsell&&(0,e.createElement)(yo,{location:"metabox"}))),t.isInclusiveLanguageAnalysisActive&&(0,e.createElement)(Qs,{key:"inclusive-language-analysis",renderPriority:21},(0,e.createElement)(Ot.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&(0,e.createElement)(Qs,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&(0,e.createElement)(Eo,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&(0,e.createElement)(Qs,{key:"wincher-seo-performance",renderPriority:23},(0,e.createElement)(Dt,{location:"metabox"})),t.shouldUpsell&&!s&&(0,e.createElement)(Qs,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,e.createElement)(Gs,null)),t.isCornerstoneActive&&(0,e.createElement)(Qs,{key:"cornerstone",renderPriority:30},(0,e.createElement)($t,null)),t.displayAdvancedTab&&(0,e.createElement)(Qs,{key:"advanced",renderPriority:40},(0,e.createElement)(is,{id:"collapsible-advanced-settings",title:(0,k.__)("Advanced","wordpress-seo")},(0,e.createElement)(fn,null))),t.displaySchemaSettings&&(0,e.createElement)(Qs,{key:"schema",renderPriority:50},(0,e.createElement)(zr,null)),(0,e.createElement)(Qs,{key:"social",renderPriority:-1},(0,e.createElement)(Lr,{target:"wpseo-section-social"})),t.isInsightsEnabled&&(0,e.createElement)(Qs,{key:"insights",renderPriority:52},(0,e.createElement)(Ds,{location:"metabox"}))))}xi.propTypes={settings:o().object.isRequired};const Si=(0,R.compose)([(0,h.withSelect)(((e,t)=>{const{getPreferences:s}=e("yoast-seo/editor");return{settings:s(),store:t.store}}))])(xi);function Ci({target:t,store:s,theme:n}){return(0,e.createElement)(b,{target:t},(0,e.createElement)(C,{store:s,theme:n}),(0,e.createElement)(Si,{store:s,theme:n}))}Ci.propTypes={target:o().string.isRequired,store:o().object,theme:o().object};const Ri=[];let Ii=null;class Li extends n.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map((({Component:t,key:s})=>(0,e.createElement)(t,{key:s})))}}function Pi(e,t){null===Ii||null===Ii.current?Ri.push({key:e,Component:t}):Ii.current.registerComponent(e,t)}const Ai="wordproof/v1";async function Mi(e,t,s,n=200){try{const r=await e();return!!r&&(r.status===n?t(r):s(r))}catch(e){}}async function Fi(e){try{return await se()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const{get:qi}=lodash,Di=(e,t={})=>qi(window,"wordproofSdk.data"+(e?`.${e}`:""),t);const{dispatch:Oi}=wp.data;function Ni(){!function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=Oi("wordproof"),s=Di("popup_redirect_authentication_url"),n=Di("popup_redirect_settings_url");let r=null;const a=(e,t)=>{r=function(e,t,s="",n=800,r=680){const a=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-n/2;return e.open(t,s,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${n},\n\t\theight=${r},\n\t\ttop=${a},\n\t\tleft=${o}`)}(window,e,t),r&&r.focus(),window.addEventListener("message",o,!1)},o=async e=>{const{data:t,source:s,origin:n}=e;if(n===Di("origin")&&r===s)switch(t.type){case"wordproof:oauth:granted":!1===await c(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await d(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,s=null)=>{l(),function(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}(t),!1===s&&(await(async()=>await Mi((async()=>await(async()=>await Fi({path:`${Ai}/oauth/destroy`,method:"POST"}))()),(e=>e),(()=>!1)))(),e(!1)),!0===s&&e(!0)},l=()=>{window.removeEventListener("message",o,!1),r.close()},c=async e=>{await Mi((()=>(async e=>{const{state:t,code:s}=e;return await Fi({path:`${Ai}/oauth/authenticate`,method:"POST",data:{state:t,code:s}})})(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return r.postMessage(t,Di("origin")),!0}),(async()=>!1))},d=async e=>{await Mi((()=>(async e=>{const{settings:t}=e;return await Fi({path:`${Ai}/settings`,method:"POST",data:{settings:t}})})(e)),(async()=>{const s=e.settings;return s.selectedPostTypes&&t(s.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),a(s,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),a(n,"WordProof_Settings")}),!1)}()}const $i=window.yoast.externals.redux,Wi=window.jQuery;var Bi=s.n(Wi);function Ui(e){let t="";var s;return t=!1===function(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}i.noop,i.noop,i.noop;const{removeMarks:zi}=y.markers,{updateReplacementVariable:Hi,updateData:Ki,hideReplacementVariables:Yi,setContentImage:ji,setEditorDataContent:Vi,setEditorDataTitle:Zi,setEditorDataExcerpt:Gi,setEditorDataImageUrl:Xi,setEditorDataSlug:Qi}=$i.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(t){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=Pi,function(t){const s=As();Ii=(0,n.createRef)();const a={isRtl:s.isRtl};(0,n.render)((0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(d.Root,{context:{locationContext:"classic-metabox"}},(0,e.createElement)(Ci,{target:"wpseo-metabox-root",store:t,theme:a})),(0,e.createElement)(Li,{ref:Ii})),document.getElementById("wpseo-metabox-root")),Ri.forEach((e=>{Ii.current.registerComponent(e.key,e.Component)}))}(t),en()&&Ni()},window.yoast.EditorData=class{constructor(e,t,s="content"){this._refresh=e,this._store=t,this._tinyMceId=s,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){const s=this.getInitialData(e);var n,r;n=s,r=this._store,(0,i.forEach)(n,((e,t)=>{Gt.includes(t)||r.dispatch(Yt(t,e))})),this._store.dispatch(Yi(t)),this._previousEditorData.content=s.content,this._store.dispatch(Vi(s.content)),this._previousEditorData.contentImage=s.contentImage,this._store.dispatch(ji(s.contentImage)),this.setImageInSnippetPreview(s.snippetPreviewImageURL||s.contentImage),this._previousEditorData.slug=s.slug,this._store.dispatch(Qi(s.slug)),this.updateReplacementData({target:{value:s.title}},"title"),this.updateReplacementData({target:{value:s.excerpt}},"excerpt"),this.updateReplacementData({target:{value:s.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if((0,i.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(Vi(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(ji(t)),this.setImageInSnippetPreview(t))};Bi()(document).on("tinymce-editor-init",((t,s)=>{s.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach((t=>s.on(t,(0,i.debounce)(e,1e3)))))}));const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",(t=>e(t.target.value))))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(Qi(e)),this._store.dispatch(Ki({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",(t=>e(t.target.value)));const s=document.getElementById("post_name");s&&s.addEventListener("input",(t=>e(t.target.value)));const n=document.getElementById("edit-slug-buttons");n&&new MutationObserver(((t,s)=>t.forEach((t=>{t.addedNodes.forEach((t=>{var n,r;if(null==t||null===(n=t.classList)||void 0===n||!n.contains("edit-slug"))return;const a=null===(r=document.getElementById("editable-post-name-full"))||void 0===r?void 0:r.innerText;a&&(e(a),s.disconnect(),this.subscribeToSlug())}))})))).observe(n,{childList:!0})}subscribeToSnippetPreviewImage(){if((0,i.isUndefined)(wp.media)||(0,i.isUndefined)(wp.media.featuredImage))return;Bi()("#postimagediv").on("click","#remove-post-thumbnail",(()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))}));const e=wp.media.featuredImage.frame();var t,s,n;e.on("select",(()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))})),t=this._tinyMceId,s=["init"],n=()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(ji(e)),this.setImageInSnippetPreview(t)},"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){const r=e.editor;r.id===t&&(0,i.forEach)(s,(function(e){r.on(e,n)}))}))}getFeaturedImage(){const e=Bi()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(Xi(e)),this._store.dispatch(Ki({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=y.languageProcessing.imageInText(e);if(0===t.length)return"";const s=Bi().parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(e=!0){const t=document.getElementById("excerpt"),s=t&&t.value||"",n="ja"===function(){const e=As();return(0,i.get)(e,"contentLocale","en_US")}()?80:156;return""!==s||!1===e?s:function(e,t=156){return(e=(e=(0,Ht.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}(this.getContent(),n)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return zi(Ui(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const s=document.getElementById(e);s&&s.addEventListener("input",(e=>{this.updateReplacementData(e,t)}))}updateReplacementData(e,t){let s=e.target.value;if("excerpt"===t&&""===s&&(s=this.getExcerpt()),this._previousEditorData[t]!==s){switch(this._previousEditorData[t]=s,t){case"title":this._store.dispatch(Zi(s));break;case"excerpt":this._store.dispatch(Gi(s))}this._store.dispatch(Hi(t,s))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(e.hasOwnProperty(s)&&(!(s in t)||e[s]!==t[s]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Hi("excerpt",e.excerpt)),this._store.dispatch(Hi("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(Qi(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(Zi(e.title))}subscribeToStore(){this.subscriber=(0,i.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=function(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,i.forEach)(e.custom_taxonomies,((e,t)=>{const{name:n,label:r,descriptionName:a,descriptionLabel:o}=function(e){const t=Xt(e);return{name:"ct_"+t,label:jt(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:jt(e+" description (custom taxonomy)")}}(t),i="string"==typeof e.name?(0,F.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,F.decodeHTML)(e.description):e.description;s[n]={value:i,label:r},s[a]={value:l,label:o}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(s)),(0,i.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,i.forEach)(e.custom_fields,((e,s)=>{const{name:n,label:r}=function(e){return{name:"cf_"+Xt(e),label:jt(e+" (custom field)")}}(s);t.dispatch(Yt(n,e,r))})),(0,i.omit)({...e},"custom_fields")):e}(e,this._store),this._store);const t=this.getContent(),s=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:s,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}})()})(); \ No newline at end of file +(0,_.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};oo.propTypes={closeModal:o().func.isRequired};const io=oo,lo=()=>{const[t,s]=(0,n.useState)(null),r=(0,n.useCallback)((()=>{s("oauth:failed")})),a=(0,n.useCallback)((()=>{s("webhook:failed")})),o=(0,n.useCallback)((()=>{s("oauth:success")})),i=(0,n.useCallback)((()=>{s(null)}));(0,n.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",o,!1),window.addEventListener("wordproof:oauth:failed",r,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",o,!1),window.removeEventListener("wordproof:oauth:failed",r,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const l=(0,n.useCallback)((()=>{switch(t){case"webhook:failed":return(0,_.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,_.__)("Connected to WordProof","wordpress-seo");default:return(0,_.__)("WordProof authentication","wordpress-seo")}}));return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{onRequestClose:i,additionalClassName:"yoast-wordproof-modal",title:l()},"oauth:success"===t&&(0,e.createElement)(so,{closeModal:i}),"oauth:failed"===t&&(0,e.createElement)(ra,null),"webhook:failed"===t&&(0,e.createElement)(io,{closeModal:i})))},co=(0,_.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),uo=t=>{const{locationContext:s}=(0,d.useRootContext)(),n=(0,vs.addQueryArgs)(wpseoAdminL10n[t.buyLink],{context:s});return(0,e.createElement)(Ys,{title:(0,_.__)("Get more help with writing content that ranks","wordpress-seo"),description:t.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:qs(),upsellButtonText:(0,_.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:n,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,_.__)("1 year of premium support and updates included!","wordpress-seo")})};uo.propTypes={buyLink:o().string.isRequired,description:o().string},uo.defaultProps={description:co};const po=uo,mo=({location:t})=>{const[s,r]=(0,n.useState)(!1),a=(0,n.useCallback)((()=>r(!1)),[]),o=(0,n.useCallback)((()=>r(!0)),[]),i=(0,m.useSvgAria)();return(0,e.createElement)(n.Fragment,null,s&&(0,e.createElement)($,{title:(0,_.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(po,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&(0,e.createElement)(H,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,_.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:f.colors.$color_grey},onClick:o},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...i})))),"metabox"===t&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:o},(0,e.createElement)(g.SvgIcon,{icon:"seo-score-none",color:f.colors.$color_grey}),(0,e.createElement)(M.Text,null,(0,_.__)("Premium SEO analysis","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...i}),(0,e.createElement)("span",null,"Premium")))))};mo.propTypes={location:o().string},mo.defaultProps={location:"sidebar"};const ho=mo,go=t=>(0,e.createElement)(Ys,{title:(0,_.__)("Reach a wider audience","wordpress-seo"),description:(0,_.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:qs(),upsellButtonText:(0,_.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,_.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:t.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,_.__)("1 year free support and updates included!","wordpress-seo")});go.propTypes={buyLink:o().string.isRequired};const fo=go,yo=()=>{const[t,,,s,r]=(0,m.useToggleState)(!1),a=(0,n.useContext)(d.LocationContext),{locationContext:o}=(0,d.useRootContext)(),i=(0,m.useSvgAria)(),l=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,e.createElement)(e.Fragment,null,t&&(0,e.createElement)($,{title:(0,_.__)("Add related keyphrases","wordpress-seo"),onRequestClose:r,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${O} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,e.createElement)(D,null,(0,e.createElement)(fo,{buyLink:(0,vs.addQueryArgs)(l,{context:o})}))),"sidebar"===a&&(0,e.createElement)(H,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,_.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:f.colors.$color_grey_medium_dark},onClick:s},(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...i})))),"metabox"===a&&(0,e.createElement)("div",{className:"yst-root"},(0,e.createElement)(M,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:s},(0,e.createElement)(g.SvgIcon,{icon:"plus",color:f.colors.$color_grey_medium_dark}),(0,e.createElement)(M.Text,null,(0,_.__)("Add related keyphrase","wordpress-seo")),(0,e.createElement)(m.Badge,{size:"small",variant:"upsell"},(0,e.createElement)(Fs,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...i}),(0,e.createElement)("span",null,"Premium")))))};var wo,bo,Eo,vo,_o,ko,To,xo,So,Ro,Co,Io,Lo,Po,Ao,Mo,Fo,qo,Do,Oo,No,$o,Wo,Bo,Uo,zo,Ko,Ho,Yo,jo,Vo,Zo,Go,Xo,Qo,Jo,ei,ti,si,ni,ri,ai,oi,ii,li,ci,di;function ui(){return ui=Object.assign?Object.assign.bind():function(e){for(var t=1;te.createElement("svg",ui({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},t),wo||(wo=e.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),bo||(bo=e.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),Eo||(Eo=e.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),vo||(vo=e.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),_o||(_o=e.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),ko||(ko=e.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),To||(To=e.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),xo||(xo=e.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),So||(So=e.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),Ro||(Ro=e.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),Co||(Co=e.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),Io||(Io=e.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Lo||(Lo=e.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),Po||(Po=e.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),Ao||(Ao=e.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),Mo||(Mo=e.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),Fo||(Fo=e.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),qo||(qo=e.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),Do||(Do=e.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Oo||(Oo=e.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),No||(No=e.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),$o||($o=e.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),Wo||(Wo=e.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),Bo||(Bo=e.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Uo||(Uo=e.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),zo||(zo=e.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),Ko||(Ko=e.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Ho||(Ho=e.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Yo||(Yo=e.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),jo||(jo=e.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Vo||(Vo=e.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Zo||(Zo=e.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Go||(Go=e.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Xo||(Xo=e.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Qo||(Qo=e.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Jo||(Jo=e.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),ei||(ei=e.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),ti||(ti=e.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),si||(si=e.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),ni||(ni=e.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),ri||(ri=e.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),ai||(ai=e.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),oi||(oi=e.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),ii||(ii=e.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),li||(li=e.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),ci||(ci=e.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),di||(di=e.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),mi=(0,C.compose)([(0,h.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,h.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),hi=mi,gi=({children:t,id:s,hasIcon:n=!0,title:r,image:a=null,isAlertDismissed:o,onDismissed:i})=>o?null:(0,e.createElement)("div",{id:s,className:"notice-yoast yoast is-dismissible"},(0,e.createElement)("div",{className:"notice-yoast__container"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"notice-yoast__header"},n&&(0,e.createElement)("span",{className:"yoast-icon"}),(0,e.createElement)("h2",{className:"notice-yoast__header-heading"},r)),(0,e.createElement)("p",null,t)),a&&(0,e.createElement)(a,{height:"60"})),(0,e.createElement)("button",{type:"button",className:"notice-dismiss",onClick:i},(0,e.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,_.__)("Dismiss this notice.","wordpress-seo"))));gi.propTypes={children:o().node.isRequired,id:o().string.isRequired,hasIcon:o().bool,title:o().any.isRequired,image:o().elementType,isAlertDismissed:o().bool.isRequired,onDismissed:o().func.isRequired};const fi=hi(gi),yi=({store:t="yoast-seo/editor",image:s=null,title:n,promoId:r,alertKey:a,children:o,...i})=>(0,h.select)(t).isPromotionActive(r)&&(0,e.createElement)(fi,{alertKey:a,store:t,id:a,title:n,image:s,...i},o);yi.propTypes={store:o().string,image:o().elementType,title:o().any.isRequired,promoId:o().string.isRequired,alertKey:o().string.isRequired,children:o().node};const wi=({store:t="yoast-seo/editor",location:s="sidebar",...r})=>{const a=(0,h.useSelect)((e=>e(t).getIsPremium()),[t]),o=(0,h.useSelect)((e=>e(t).selectLinkParams()),[t]),i="sidebar"===s?(0,_.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ +(0,_.__)("BLACK FRIDAY SALE: %1$s","wordpress-seo"),"YOAST SEO PREMIUM"):(0,n.createInterpolateElement)((0,_.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ +(0,_.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,e.createElement)("a",{href:(0,vs.addQueryArgs)("https://yoa.st/black-friday-sale",o),target:"_blank",rel:"noreferrer"})});return a?null:(0,e.createElement)(yi,{id:`black-friday-2023-promotion-${s}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:t,title:i,image:Image,...r},(0,e.createElement)("span",{className:"yoast-bf-sale-badge"},(0,_.__)("30% OFF!","wordpress-seo")," "),"sidebar"===s&&(0,e.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,vs.addQueryArgs)("https://yoa.st/black-friday-sale",o),target:"_blank",rel:"noreferrer"},(0,_.__)("Buy now!","wordpress-seo")))};wi.propTypes={store:o().string,location:o().oneOf(["sidebar","metabox"])};const bi=t=>s=>!(()=>{var e,t;const s=(0,h.select)("yoast-seo/editor").getIsPremium(),n=(0,h.select)("yoast-seo/editor").getWarningMessage();return(s&&null!==(e=null===(t=(0,h.select)("yoast-seo-premium/editor"))||void 0===t?void 0:t.getMetaboxWarning())&&void 0!==e?e:[]).length>0||n.length>0})()&&(0,e.createElement)(t,{...s}),Ei=bi((()=>{const t=(0,h.useSelect)((e=>e("yoast-seo/editor").selectLinkParams()),[]),s=(0,_.sprintf)(/* translators: %1$s expands to 'WooCommerce'. */ +(0,_.__)("Is your %1$s store ready for Black Friday?","wordpress-seo"),"WooCommerce");return(0,e.createElement)(yi,{id:"black-friday-2023-product-editor-checklist",alertKey:"black-friday-2023-product-editor-checklist",promoId:"black-friday-2023-checklist",store:"yoast-seo/editor",title:s,image:pi},(0,n.createInterpolateElement)((0,_.sprintf)(/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ +(0,_.__)("The Yoast %1$sultimate Black Friday checklist%2$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"",""),{strong:(0,e.createElement)("strong",null)})," ",(0,e.createElement)("a",{href:(0,vs.addQueryArgs)("https://yoa.st/black-friday-checklist",t),target:"_blank",rel:"noreferrer"},(0,_.__)("Get the checklist and start optimizing now!","wordpress-seo")))})),vi=bi(wi);function _i({settings:t}){const s=(0,h.useSelect)((e=>e("yoast-seo/editor").getIsTerm()),[]),a=(0,h.useSelect)((e=>e("yoast-seo/editor").getIsProduct()),[])&&window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive;return(0,e.createElement)(n.Fragment,null,Xs()&&(0,e.createElement)(lo,null),(0,e.createElement)(r.Fill,{name:"YoastMetabox"},(0,e.createElement)(Zs,{key:"warning",renderPriority:1},(0,e.createElement)(ts,null)),(0,e.createElement)(Zs,{key:"time-constrained-notification",renderPriority:2},a&&(0,e.createElement)(Ei,null),(0,e.createElement)(vi,{image:null,hasIcon:!1,location:"metabox"})),t.isKeywordAnalysisActive&&(0,e.createElement)(Zs,{key:"keyword-input",renderPriority:8},(0,e.createElement)(Ft.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,e.createElement)(r.Fill,{name:"YoastRelatedKeyphrases"},(0,e.createElement)(na,null))),(0,e.createElement)(Zs,{key:"search-appearance",renderPriority:9},(0,e.createElement)(rs,{id:"yoast-snippet-editor-metabox",title:(0,_.__)("Search appearance","wordpress-seo"),initialIsOpen:!0},(0,e.createElement)(es,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&(0,e.createElement)(Zs,{key:"readability-analysis",renderPriority:10},(0,e.createElement)(Ft.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell})),t.isKeywordAnalysisActive&&(0,e.createElement)(Zs,{key:"seo-analysis",renderPriority:20},(0,e.createElement)(n.Fragment,null,(0,e.createElement)(Ft.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive}),t.shouldUpsell&&(0,e.createElement)(ho,{location:"metabox"}))),t.isInclusiveLanguageAnalysisActive&&(0,e.createElement)(Zs,{key:"inclusive-language-analysis",renderPriority:21},(0,e.createElement)(Ft.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&(0,e.createElement)(Zs,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&(0,e.createElement)(yo,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&(0,e.createElement)(Zs,{key:"wincher-seo-performance",renderPriority:23},(0,e.createElement)(Mt,{location:"metabox"})),t.shouldUpsell&&!s&&(0,e.createElement)(Zs,{key:"internal-linking-suggestions-upsell",renderPriority:25},(0,e.createElement)(js,null)),t.isCornerstoneActive&&(0,e.createElement)(Zs,{key:"cornerstone",renderPriority:30},(0,e.createElement)(Dt,null)),t.displayAdvancedTab&&(0,e.createElement)(Zs,{key:"advanced",renderPriority:40},(0,e.createElement)(rs,{id:"collapsible-advanced-settings",title:(0,_.__)("Advanced","wordpress-seo")},(0,e.createElement)(mn,null))),t.displaySchemaSettings&&(0,e.createElement)(Zs,{key:"schema",renderPriority:50},(0,e.createElement)(Wr,null)),(0,e.createElement)(Zs,{key:"social",renderPriority:-1},(0,e.createElement)(Rr,{target:"wpseo-section-social"})),t.isInsightsEnabled&&(0,e.createElement)(Zs,{key:"insights",renderPriority:52},(0,e.createElement)(Ms,{location:"metabox"}))))}_i.propTypes={settings:o().object.isRequired};const ki=(0,C.compose)([(0,h.withSelect)(((e,t)=>{const{getPreferences:s}=e("yoast-seo/editor");return{settings:s(),store:t.store}}))])(_i);function Ti({target:t,store:s,theme:n}){return(0,e.createElement)(b,{target:t},(0,e.createElement)(R,{store:s,theme:n}),(0,e.createElement)(ki,{store:s,theme:n}))}Ti.propTypes={target:o().string.isRequired,store:o().object,theme:o().object};const xi=[];let Si=null;class Ri extends n.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map((({Component:t,key:s})=>(0,e.createElement)(t,{key:s})))}}function Ci(e,t){null===Si||null===Si.current?xi.push({key:e,Component:t}):Si.current.registerComponent(e,t)}const Ii="wordproof/v1";async function Li(e,t,s,n=200){try{const r=await e();return!!r&&(r.status===n?t(r):s(r))}catch(e){}}async function Pi(e){try{return await ee()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const{get:Ai}=lodash,Mi=(e,t={})=>Ai(window,"wordproofSdk.data"+(e?`.${e}`:""),t);const{dispatch:Fi}=wp.data;function qi(){!function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=Fi("wordproof"),s=Mi("popup_redirect_authentication_url"),n=Mi("popup_redirect_settings_url");let r=null;const a=(e,t)=>{r=function(e,t,s="",n=800,r=680){const a=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-n/2;return e.open(t,s,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${n},\n\t\theight=${r},\n\t\ttop=${a},\n\t\tleft=${o}`)}(window,e,t),r&&r.focus(),window.addEventListener("message",o,!1)},o=async e=>{const{data:t,source:s,origin:n}=e;if(n===Mi("origin")&&r===s)switch(t.type){case"wordproof:oauth:granted":!1===await c(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await d(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,s=null)=>{l(),function(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}(t),!1===s&&(await(async()=>await Li((async()=>await(async()=>await Pi({path:`${Ii}/oauth/destroy`,method:"POST"}))()),(e=>e),(()=>!1)))(),e(!1)),!0===s&&e(!0)},l=()=>{window.removeEventListener("message",o,!1),r.close()},c=async e=>{await Li((()=>(async e=>{const{state:t,code:s}=e;return await Pi({path:`${Ii}/oauth/authenticate`,method:"POST",data:{state:t,code:s}})})(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return r.postMessage(t,Mi("origin")),!0}),(async()=>!1))},d=async e=>{await Li((()=>(async e=>{const{settings:t}=e;return await Pi({path:`${Ii}/settings`,method:"POST",data:{settings:t}})})(e)),(async()=>{const s=e.settings;return s.selectedPostTypes&&t(s.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),a(s,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),a(n,"WordProof_Settings")}),!1)}()}const Di=window.yoast.externals.redux,Oi=window.jQuery;var Ni=s.n(Oi);function $i(e){let t="";var s;return t=!1===function(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}i.noop,i.noop,i.noop;const{removeMarks:Wi}=y.markers,{updateReplacementVariable:Bi,updateData:Ui,hideReplacementVariables:zi,setContentImage:Ki,setEditorDataContent:Hi,setEditorDataTitle:Yi,setEditorDataExcerpt:ji,setEditorDataImageUrl:Vi,setEditorDataSlug:Zi}=Di.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(t){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=Ci,function(t){const s=Is();Si=(0,n.createRef)();const a={isRtl:s.isRtl};(0,n.render)((0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(d.Root,{context:{locationContext:"classic-metabox"}},(0,e.createElement)(Ti,{target:"wpseo-metabox-root",store:t,theme:a})),(0,e.createElement)(Ri,{ref:Si})),document.getElementById("wpseo-metabox-root")),xi.forEach((e=>{Si.current.registerComponent(e.key,e.Component)}))}(t),Xs()&&qi()},window.yoast.EditorData=class{constructor(e,t,s="content"){this._refresh=e,this._store=t,this._tinyMceId=s,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e,t=[]){const s=this.getInitialData(e);var n,r;n=s,r=this._store,(0,i.forEach)(n,((e,t)=>{jt.includes(t)||r.dispatch(zt(t,e))})),this._store.dispatch(zi(t)),this._previousEditorData.content=s.content,this._store.dispatch(Hi(s.content)),this._previousEditorData.contentImage=s.contentImage,this._store.dispatch(Ki(s.contentImage)),this.setImageInSnippetPreview(s.snippetPreviewImageURL||s.contentImage),this._previousEditorData.slug=s.slug,this._store.dispatch(Zi(s.slug)),this.updateReplacementData({target:{value:s.title}},"title"),this.updateReplacementData({target:{value:s.excerpt}},"excerpt"),this.updateReplacementData({target:{value:s.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if((0,i.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(Hi(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(Ki(t)),this.setImageInSnippetPreview(t))};Ni()(document).on("tinymce-editor-init",((t,s)=>{s.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach((t=>s.on(t,(0,i.debounce)(e,1e3)))))}));const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",(t=>e(t.target.value))))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(Zi(e)),this._store.dispatch(Ui({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",(t=>e(t.target.value)));const s=document.getElementById("post_name");s&&s.addEventListener("input",(t=>e(t.target.value)));const n=document.getElementById("edit-slug-buttons");n&&new MutationObserver(((t,s)=>t.forEach((t=>{t.addedNodes.forEach((t=>{var n,r;if(null==t||null===(n=t.classList)||void 0===n||!n.contains("edit-slug"))return;const a=null===(r=document.getElementById("editable-post-name-full"))||void 0===r?void 0:r.innerText;a&&(e(a),s.disconnect(),this.subscribeToSlug())}))})))).observe(n,{childList:!0})}subscribeToSnippetPreviewImage(){if((0,i.isUndefined)(wp.media)||(0,i.isUndefined)(wp.media.featuredImage))return;Ni()("#postimagediv").on("click","#remove-post-thumbnail",(()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))}));const e=wp.media.featuredImage.frame();var t,s,n;e.on("select",(()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))})),t=this._tinyMceId,s=["init"],n=()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(Ki(e)),this.setImageInSnippetPreview(t)},"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){const r=e.editor;r.id===t&&(0,i.forEach)(s,(function(e){r.on(e,n)}))}))}getFeaturedImage(){const e=Ni()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(Vi(e)),this._store.dispatch(Ui({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=y.languageProcessing.imageInText(e);if(0===t.length)return"";const s=Ni().parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(e=!0){const t=document.getElementById("excerpt"),s=t&&t.value||"",n="ja"===function(){const e=Is();return(0,i.get)(e,"contentLocale","en_US")}()?80:156;return""!==s||!1===e?s:function(e,t=156){return(e=(e=(0,Bt.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}(this.getContent(),n)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return Wi($i(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const s=document.getElementById(e);s&&s.addEventListener("input",(e=>{this.updateReplacementData(e,t)}))}updateReplacementData(e,t){let s=e.target.value;if("excerpt"===t&&""===s&&(s=this.getExcerpt()),this._previousEditorData[t]!==s){switch(this._previousEditorData[t]=s,t){case"title":this._store.dispatch(Yi(s));break;case"excerpt":this._store.dispatch(ji(s))}this._store.dispatch(Bi(t,s))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(e.hasOwnProperty(s)&&(!(s in t)||e[s]!==t[s]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Bi("excerpt",e.excerpt)),this._store.dispatch(Bi("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(Zi(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(Yi(e.title))}subscribeToStore(){this.subscriber=(0,i.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=function(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,i.forEach)(e.custom_taxonomies,((e,t)=>{const{name:n,label:r,descriptionName:a,descriptionLabel:o}=function(e){const t=Vt(e);return{name:"ct_"+t,label:Kt(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Kt(e+" description (custom taxonomy)")}}(t),i="string"==typeof e.name?(0,F.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,F.decodeHTML)(e.description):e.description;s[n]={value:i,label:r},s[a]={value:l,label:o}})),t.dispatch(function(e){return{type:"SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",updatedVariables:e}}(s)),(0,i.omit)({...e},"custom_taxonomies")}(e=function(e,t){return e.custom_fields?((0,i.forEach)(e.custom_fields,((e,s)=>{const{name:n,label:r}=function(e){return{name:"cf_"+Vt(e),label:Kt(e+" (custom field)")}}(s);t.dispatch(zt(n,e,r))})),(0,i.omit)({...e},"custom_fields")):e}(e,this._store),this._store);const t=this.getContent(),s=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:s,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}})()})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/dynamic-blocks.js b/wp/wp-content/plugins/wordpress-seo/js/dist/dynamic-blocks.js index 8cef85c3..10435774 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/dynamic-blocks.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/dynamic-blocks.js @@ -1 +1 @@ -(()=>{"use strict";var e={n:r=>{var s=r&&r.__esModule?()=>r.default:()=>r;return e.d(s,{a:s}),s},d:(r,s)=>{for(var t in s)e.o(s,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:s[t]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r)};const r=window.React,s=window.wp.blocks,t=window.wp.i18n,o=window.wp.serverSideRender;var n=e.n(o);(0,s.registerBlockType)("yoast-seo/breadcrumbs",{title:(0,t.__)("Yoast Breadcrumbs","wordpress-seo"),icon:"admin-links",category:"yoast-internal-linking-blocks",description:(0,t.__)("Adds the Yoast SEO breadcrumbs to your template or content.","wordpress-seo"),keywords:[(0,t.__)("seo","wordpress-seo"),(0,t.__)("breadcrumbs","wordpress-seo"),(0,t.__)("internal linking","wordpress-seo"),(0,t.__)("site structure","wordpress-seo")],example:{attributes:{}},edit:function(e){return(0,r.createElement)(n(),{block:"yoast-seo/breadcrumbs",attributes:e.attributes})},save:function(){return null}})})(); \ No newline at end of file +(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var s in r)e.o(r,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:r[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,r=window.wp.blockEditor,s=window.wp.blocks,o=window.wp.serverSideRender;var a=e.n(o);const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.8","name":"yoast-seo/breadcrumbs","title":"Yoast Breadcrumbs","description":"Adds the Yoast SEO breadcrumbs to your template or content.","category":"yoast-internal-linking-blocks","icon":"admin-links","keywords":["SEO","breadcrumbs","internal linking","site structure"],"textdomain":"wordpress-seo","attributes":{"className":{"type":"string"}},"example":{"attributes":{}}}');(0,s.registerBlockType)(n,{edit:e=>{const s=(0,r.useBlockProps)();return(0,t.createElement)("div",{...s},(0,t.createElement)(a(),{block:"yoast-seo/breadcrumbs",attributes:e.attributes}))},save:()=>null})})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/editor-modules.js b/wp/wp-content/plugins/wordpress-seo/js/dist/editor-modules.js index 240b172b..d0d460d9 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/editor-modules.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/editor-modules.js @@ -1,4 +1,4 @@ -(()=>{"use strict";var e={6746:(e,t,s)=>{var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=i(s(9196)),a=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,u,d,p,m,h,g=[],y={};for(p=0;p "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){s=t[d.value],i=p;break}g.push(t[d.value])}else g.push(d.value);return s&&(u=function(e,t){var s,r,n=t[e],a=0;for(r=e+1;r{function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{var r=s(9196),n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=s(7942),o=s(9179),i=s(397),l=".",c=":",u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,r={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var s,r}function m(e,t,s,r){var a,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===n)return s(r,e,""===t?l+p(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{e.exports=function(e,t,s,r,n,a,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,r,n,a,o,i],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{var r=s(7942);e.exports=r},9196:e=>{e.exports=window.React}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={};s.r(e),s.d(e,{refreshDelay:()=>l});var t={};s.r(t),s.d(t,{default:()=>b,initializationDone:()=>w,sortResultsByIdentifier:()=>f});var r={};s.r(r),s.d(r,{default:()=>U,getIconForScore:()=>Y});var n={};s.r(n),s.d(n,{doAjaxRequest:()=>Ws});var a={};s.r(a),s.d(a,{setTextdomainL10n:()=>Xs});var o={};s.r(o),s.d(o,{applyReplaceUsingPlugin:()=>fr,createLabelFromName:()=>cr,excerptFromContent:()=>yr,fillReplacementVariables:()=>ir,handlePrefixes:()=>lr,mapCustomFields:()=>gr,mapCustomTaxonomies:()=>hr,nonReplaceVars:()=>or,prepareCustomFieldForDispatch:()=>pr,prepareCustomTaxonomyForDispatch:()=>mr,pushNewReplaceVar:()=>ur,replaceSpaces:()=>dr});const i=window.yoast.externals.contexts,l=500,c=window.lodash;function u(){return(0,c.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const d=window.wp.i18n,p=window.yoast.analysis,m=window.wp.hooks,h=window.yoast.externals.redux;function g(){}let y=!1;function f(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function b(e,t,s,r,n){if(!y)return;const a=p.Paper.parse(t());e.analyze(a).then((o=>{const{result:{seo:i,readability:l,inclusiveLanguage:c}}=o;if(i){const e=i[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),e.results=f(e.results),r.dispatch(h.actions.setSeoResultsForKeyword(a.getKeyword(),e.results)),r.dispatch(h.actions.setOverallSeoScore(e.score,a.getKeyword())),r.dispatch(h.actions.refreshSnippetEditor()),n.saveScores(e.score,a.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),l.results=f(l.results),r.dispatch(h.actions.setReadabilityResults(l.results)),r.dispatch(h.actions.setOverallReadabilityScore(l.score)),r.dispatch(h.actions.refreshSnippetEditor()),n.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),c.results=f(c.results),r.dispatch(h.actions.setInclusiveLanguageResults(c.results)),r.dispatch(h.actions.setOverallInclusiveLanguageScore(c.score)),r.dispatch(h.actions.refreshSnippetEditor()),n.saveInclusiveLanguageScore(c.score)),(0,m.doAction)("yoast.analysis.refresh",o,{paper:a,worker:e,collectData:t,applyMarks:s,store:r,dataCollector:n})})).catch(g)}function w(){y=!0}var v=s(9196);const k=window.wp.element,E=window.yoast.styledComponents;var R=s.n(E);const _=window.yoast.propTypes;var x=s.n(_);const T=window.yoast.componentsNew,S=window.yoast.helpers,C=window.yoast.styleGuide,I=C.colors.$color_bad,L=C.colors.$palette_error_background,q=C.colors.$color_grey_text_light,P=C.colors.$palette_error_text,A=R().div` +(()=>{"use strict";var e={6746:(e,t,s)=>{var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(s(9196)),a=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,u,d,p,m,h,g=[],y={};for(p=0;p "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){s=t[d.value],i=p;break}g.push(t[d.value])}else g.push(d.value);return s&&(u=function(e,t){var s,n,r=t[e],a=0;for(n=e+1;n{function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{var n=s(9196),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=s(7942),o=s(9179),i=s(397),l=".",c=":",u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,n={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var s,n}function m(e,t,s,n){var a,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===r)return s(n,e,""===t?l+p(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{e.exports=function(e,t,s,n,r,a,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,n,r,a,o,i],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{var n=s(7942);e.exports=n},9196:e=>{e.exports=window.React}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,s),a.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={};s.r(e),s.d(e,{refreshDelay:()=>l});var t={};s.r(t),s.d(t,{default:()=>b,initializationDone:()=>w,sortResultsByIdentifier:()=>f});var n={};s.r(n),s.d(n,{default:()=>U,getIconForScore:()=>Y});var r={};s.r(r),s.d(r,{doAjaxRequest:()=>Ws});var a={};s.r(a),s.d(a,{setTextdomainL10n:()=>Xs});var o={};s.r(o),s.d(o,{applyReplaceUsingPlugin:()=>bn,createLabelFromName:()=>un,excerptFromContent:()=>fn,fillReplacementVariables:()=>ln,handlePrefixes:()=>cn,mapCustomFields:()=>yn,mapCustomTaxonomies:()=>gn,nonReplaceVars:()=>on,prepareCustomFieldForDispatch:()=>mn,prepareCustomTaxonomyForDispatch:()=>hn,pushNewReplaceVar:()=>dn,replaceSpaces:()=>pn});const i=window.yoast.externals.contexts,l=500,c=window.lodash;function u(){return(0,c.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const d=window.wp.i18n,p=window.yoast.analysis,m=window.wp.hooks,h=window.yoast.externals.redux;function g(){}let y=!1;function f(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function b(e,t,s,n,r){if(!y)return;const a=p.Paper.parse(t());e.analyze(a).then((o=>{const{result:{seo:i,readability:l,inclusiveLanguage:c}}=o;if(i){const e=i[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),e.results=f(e.results),n.dispatch(h.actions.setSeoResultsForKeyword(a.getKeyword(),e.results)),n.dispatch(h.actions.setOverallSeoScore(e.score,a.getKeyword())),n.dispatch(h.actions.refreshSnippetEditor()),r.saveScores(e.score,a.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),l.results=f(l.results),n.dispatch(h.actions.setReadabilityResults(l.results)),n.dispatch(h.actions.setOverallReadabilityScore(l.score)),n.dispatch(h.actions.refreshSnippetEditor()),r.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(a,e.marks)})),c.results=f(c.results),n.dispatch(h.actions.setInclusiveLanguageResults(c.results)),n.dispatch(h.actions.setOverallInclusiveLanguageScore(c.score)),n.dispatch(h.actions.refreshSnippetEditor()),r.saveInclusiveLanguageScore(c.score)),(0,m.doAction)("yoast.analysis.refresh",o,{paper:a,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:r})})).catch(g)}function w(){y=!0}var v=s(9196);const k=window.wp.element,E=window.yoast.styledComponents;var R=s.n(E);const _=window.yoast.propTypes;var x=s.n(_);const T=window.yoast.componentsNew,S=window.yoast.helpers,C=window.yoast.styleGuide,I=C.colors.$color_bad,L=C.colors.$palette_error_background,q=C.colors.$color_grey_text_light,P=C.colors.$palette_error_text,A=R().div` display: flex; flex-direction: column; `,N=R().label` @@ -60,7 +60,7 @@ ${(0,S.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")}; } } -`;class H extends k.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:t,helpLink:s}=this.props;return(0,v.createElement)(M,null,(0,v.createElement)(N,{htmlFor:e},t),s)}renderErrorMessages(){const e=[...this.props.errorMessages];return!(0,c.isEmpty)(e)&&(0,v.createElement)(B,null,e.map(((e,t)=>(0,v.createElement)(K,{key:t},(0,v.createElement)("span",{role:"alert"},e)))))}render(){const{id:e,showLabel:t,keyword:s,onRemoveKeyword:r,onBlurKeyword:n,onFocusKeyword:a,hasError:o}=this.props,i=!t,l=r!==c.noop;return(0,v.createElement)(A,null,t&&this.renderLabel(),o&&this.renderErrorMessages(),(0,v.createElement)($,{className:l?"has-remove-keyword-button":null},(0,v.createElement)(O,{"aria-label":i?this.props.label:null,type:"text",id:e,className:o?"has-error":null,onChange:this.handleChange,onFocus:a,onBlur:n,value:s,autoComplete:"off"}),l&&(0,v.createElement)(F,{onClick:r,focusBoxShadowColor:"#084A67"},(0,v.createElement)(D,{size:"18px",icon:"times-circle",color:q}))))}}H.propTypes={id:x().string.isRequired,showLabel:x().bool,keyword:x().string,onChange:x().func.isRequired,onRemoveKeyword:x().func,onBlurKeyword:x().func,onFocusKeyword:x().func,label:x().string.isRequired,helpLink:x().node,hasError:x().bool,errorMessages:x().arrayOf(x().string)},H.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:c.noop,onBlurKeyword:c.noop,onFocusKeyword:c.noop,helpLink:null,hasError:!1,errorMessages:[]};const W=H;function j(e,t=""){const s=e.getIdentifier(),r={score:e.score,rating:p.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:s,text:e.text,markerId:t.length>0?`${t}:${s}`:s,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===r.rating&&(r.rating="OK"),r}function z(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function Y(e){switch(e){case"loading":return{icon:"loading-spinner",color:C.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:C.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:C.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:C.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:C.colors.$color_ok};default:return{icon:"seo-score-bad",color:C.colors.$color_red}}}function U(e,t=""){let s={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return s;for(let r=0;r(0,v.createElement)(K,{key:t},(0,v.createElement)("span",{role:"alert"},e)))))}render(){const{id:e,showLabel:t,keyword:s,onRemoveKeyword:n,onBlurKeyword:r,onFocusKeyword:a,hasError:o}=this.props,i=!t,l=n!==c.noop;return(0,v.createElement)(A,null,t&&this.renderLabel(),o&&this.renderErrorMessages(),(0,v.createElement)($,{className:l?"has-remove-keyword-button":null},(0,v.createElement)(O,{"aria-label":i?this.props.label:null,type:"text",id:e,className:o?"has-error":null,onChange:this.handleChange,onFocus:a,onBlur:r,value:s,autoComplete:"off"}),l&&(0,v.createElement)(F,{onClick:n,focusBoxShadowColor:"#084A67"},(0,v.createElement)(D,{size:"18px",icon:"times-circle",color:q}))))}}H.propTypes={id:x().string.isRequired,showLabel:x().bool,keyword:x().string,onChange:x().func.isRequired,onRemoveKeyword:x().func,onBlurKeyword:x().func,onFocusKeyword:x().func,label:x().string.isRequired,helpLink:x().node,hasError:x().bool,errorMessages:x().arrayOf(x().string)},H.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:c.noop,onBlurKeyword:c.noop,onFocusKeyword:c.noop,helpLink:null,hasError:!1,errorMessages:[]};const W=H;function j(e,t=""){const s=e.getIdentifier(),n={score:e.score,rating:p.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:s,text:e.text,markerId:t.length>0?`${t}:${s}`:s,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===n.rating&&(n.rating="OK"),n}function z(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function Y(e){switch(e){case"loading":return{icon:"loading-spinner",color:C.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:C.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:C.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:C.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:C.colors.$color_ok};default:return{icon:"seo-score-bad",color:C.colors.$color_red}}}function U(e,t=""){let s={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return s;for(let n=0;n{const{title:t,className:s,showYoastIcon:r,additionalClassName:n,...a}=e,o=r?(0,v.createElement)("span",{className:"yoast-icon"}):null;return(0,v.createElement)(Z.Modal,{title:t,className:`${s} ${n}`,icon:o,...a},e.children)};Q.propTypes={title:x().string,className:x().string,showYoastIcon:x().bool,children:x().oneOfType([x().node,x().arrayOf(x().node)]),additionalClassName:x().string},Q.defaultProps={title:"Yoast SEO",className:J,showYoastIcon:!0,children:null,additionalClassName:""};const X=Q,ee=(window.yoast.socialMetadataForms,e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name}));const te=({hiddenField:e,hiddenFieldImageId:t,hiddenFieldFallbackImageId:s,hasImageValidation:r,...n})=>{const[a,o]=(0,k.useState)(null!==document.getElementById(s)),i=(0,k.useMemo)((()=>document.getElementById(e))),l=(0,k.useMemo)((()=>document.getElementById(t)));let c=null;c=s&&document.getElementById(s)?(0,k.useMemo)((()=>document.getElementById(s))):l;const[u,d]=(0,k.useState)({url:i?i.value:"",id:c?parseInt(c.value,10):"",alt:""}),[p,m]=(0,k.useState)([]),h=(0,k.useCallback)((e=>{i&&(i.value=e.url),c&&(c.value=e.id)})),g=(0,k.useCallback)((()=>{(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();e(ee(s.attributes))})),t})((e=>{c=l,d(e),h(e),r&&m((0,S.validateFacebookImage)(e)),o(!1)})).open()}),[r,h]),y=(0,k.useCallback)((()=>{c=l;const e={url:"",id:"",alt:""};d(e),h(e),m([]),o(!0)}),[h]);return(0,k.useEffect)((()=>{u.id&&!u.alt&&function(e){return new Promise(((t,s)=>{window.wp.media.attachment||s(),window.wp.media.attachment(e).fetch().then((e=>{t(ee(e))})).catch((()=>s()))}))}(u.id).then((e=>d(e)))}),[u]),(0,v.createElement)(T.ImageSelect,{...n,usingFallback:a,imageUrl:u.url,imageId:u.id,imageAltText:u.alt,onClick:g,onRemoveImageClick:y,warnings:p})};te.propTypes={hiddenField:x().string.isRequired,hiddenFieldImageId:x().string,hiddenFieldFallbackImageId:x().string,hasImageValidation:x().bool},te.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",hasImageValidation:!1};const se=te;function re({target:e,children:t}){let s=e;return"string"==typeof e&&(s=document.getElementById(e)),s?(0,k.createPortal)(t,s):null}function ne({target:e,label:t,hasPreview:s,hiddenField:r,hiddenFieldImageId:n,hiddenFieldFallbackImageId:a,selectImageButtonId:o,replaceImageButtonId:i,removeImageButtonId:l,hasNewBadge:c,isDisabled:u,hasPremiumBadge:d,hasImageValidation:p}){return(0,v.createElement)(re,{target:e},(0,v.createElement)(se,{label:t,hasPreview:s,hiddenField:r,hiddenFieldImageId:n,hiddenFieldFallbackImageId:a,selectImageButtonId:o,replaceImageButtonId:i,removeImageButtonId:l,hasNewBadge:c,isDisabled:u,hasPremiumBadge:d,hasImageValidation:p}))}re.propTypes={target:x().oneOfType([x().string,x().object]).isRequired,children:x().node.isRequired},ne.propTypes={target:x().string.isRequired,label:x().string.isRequired,hasPreview:x().bool.isRequired,hiddenField:x().string.isRequired,hiddenFieldImageId:x().string,hiddenFieldFallbackImageId:x().string,selectImageButtonId:x().string,replaceImageButtonId:x().string,removeImageButtonId:x().string,hasNewBadge:x().bool,isDisabled:x().bool,hasPremiumBadge:x().bool,hasImageValidation:x().bool},ne.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1};const ae=({target:e,scoreIndicator:t})=>(0,v.createElement)(re,{target:e},(0,v.createElement)(T.SvgIcon,{...Y(t)}));ae.propTypes={target:x().string.isRequired,scoreIndicator:x().string.isRequired};const oe=ae,ie=e=>{const[t,s]=(0,k.useState)(!1),{prefixIcon:r}=e;return(0,v.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},(0,v.createElement)("h2",{className:"components-panel__body-title"},(0,v.createElement)("button",{onClick:function(){s(!t)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,v.createElement)("span",{className:"yoast-icon-span",style:{fill:`${r&&r.color||""}`}},r&&(0,v.createElement)(T.SvgIcon,{icon:r.icon,color:r.color,size:r.size})),(0,v.createElement)("span",{className:"yoast-title-container"},(0,v.createElement)("div",{className:"yoast-title"},e.title),(0,v.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,v.createElement)(T.BetaBadge,null),(0,v.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)},le=ie;ie.propTypes={title:x().string.isRequired,children:x().oneOfType([x().node,x().arrayOf(x().node)]).isRequired,prefixIcon:x().object,subTitle:x().string,hasBetaBadgeLabel:x().bool,buttonId:x().string},ie.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};const ce=({children:e})=>(0,v.createElement)("div",null,e);ce.propTypes={renderPriority:x().number.isRequired,children:x().node.isRequired};const ue=ce,de=({theme:e,location:t,children:s})=>(0,v.createElement)(i.LocationProvider,{value:t},(0,v.createElement)(E.ThemeProvider,{theme:e},s));de.propTypes={theme:x().object.isRequired,location:x().oneOf(["sidebar","metabox","modal"]).isRequired,children:x().element.isRequired};const pe=de,me=window.wp.compose,he=window.wp.data,ge=e=>(0,v.createElement)("div",{className:"yoast components-panel__body"},(0,v.createElement)("h2",{className:"components-panel__body-title"},(0,v.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,v.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,v.createElement)(T.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,v.createElement)("span",{className:"yoast-title-container"},(0,v.createElement)("div",{className:"yoast-title"},e.title),(0,v.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,v.createElement)(T.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),ye=ge;ge.propTypes={onClick:x().func.isRequired,title:x().string.isRequired,id:x().string,subTitle:x().string,suffixIcon:x().object,SuffixHeroIcon:x().object,prefixIcon:x().object,children:x().node},ge.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const fe=({id:e,postTypeName:t,children:s,title:r,isOpen:n,close:a,open:o,shouldCloseOnClickOutside:l,showChangesWarning:u,SuffixHeroIcon:p})=>{const m=(0,k.useCallback)((e=>{(e=>{let t=!0;if("blur"===(null==e?void 0:e.type)){const{relatedTarget:s}=e;if(s){const e=["media-modal","wp-core-ui"];t=(0,c.intersection)(e,Array.from(s.classList)).length!==e.length}}return t})(e)&&a()}),[a]);return(0,v.createElement)(k.Fragment,null,n&&(0,v.createElement)(i.LocationProvider,{value:"modal"},(0,v.createElement)(X,{title:r,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:l},(0,v.createElement)("div",{className:"yoast-content-container"},(0,v.createElement)("div",{className:"yoast-modal-content"},s)),(0,v.createElement)("div",{className:"yoast-notice-container"},(0,v.createElement)("hr",null),(0,v.createElement)("div",{className:"yoast-button-container"},u&&(0,v.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ -(0,d.sprintf)((0,d.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)),(0,v.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},/* Translators: %s translates to the Post Label in singular form */ -(0,d.sprintf)((0,d.__)("Return to your %s","wordpress-seo"),t)))))),(0,v.createElement)(ye,{id:e+"-open-button",title:r,SuffixHeroIcon:p,suffixIcon:p?null:{size:"20px",icon:"pencil-square"},onClick:o}))};fe.propTypes={id:x().string.isRequired,postTypeName:x().string.isRequired,children:x().oneOfType([x().node,x().arrayOf(x().node)]).isRequired,title:x().string.isRequired,isOpen:x().bool.isRequired,open:x().func.isRequired,close:x().func.isRequired,shouldCloseOnClickOutside:x().bool,showChangesWarning:x().bool,SuffixHeroIcon:x().object},fe.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const be=fe,we=(0,me.compose)([(0,he.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:r}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:r(t.id)}})),(0,he.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:r}=e("yoast-seo/editor");return{open:()=>s(t.id),close:r}}))])(be),ve=(0,me.compose)([(0,he.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,he.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))])(T.Alert),ke=window.yoast.analysisReport,Ee=window.yoast.uiLibrary,Re=v.forwardRef((function(e,t){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),v.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),_e=(R().div` +`,Z=window.wp.components,J="yoast yoast-gutenberg-modal",Q=e=>{const{title:t,className:s,showYoastIcon:n,additionalClassName:r,...a}=e,o=n?(0,v.createElement)("span",{className:"yoast-icon"}):null;return(0,v.createElement)(Z.Modal,{title:t,className:`${s} ${r}`,icon:o,...a},e.children)};Q.propTypes={title:x().string,className:x().string,showYoastIcon:x().bool,children:x().oneOfType([x().node,x().arrayOf(x().node)]),additionalClassName:x().string},Q.defaultProps={title:"Yoast SEO",className:J,showYoastIcon:!0,children:null,additionalClassName:""};const X=Q,ee=(window.yoast.socialMetadataForms,e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name}));const te=({hiddenField:e,hiddenFieldImageId:t,hiddenFieldFallbackImageId:s,hasImageValidation:n,...r})=>{const[a,o]=(0,k.useState)(null!==document.getElementById(s)),i=(0,k.useMemo)((()=>document.getElementById(e))),l=(0,k.useMemo)((()=>document.getElementById(t)));let c=null;c=s&&document.getElementById(s)?(0,k.useMemo)((()=>document.getElementById(s))):l;const[u,d]=(0,k.useState)({url:i?i.value:"",id:c?parseInt(c.value,10):"",alt:""}),[p,m]=(0,k.useState)([]),h=(0,k.useCallback)((e=>{i&&(i.value=e.url),c&&(c.value=e.id)})),g=(0,k.useCallback)((()=>{(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();e(ee(s.attributes))})),t})((e=>{c=l,d(e),h(e),n&&m((0,S.validateFacebookImage)(e)),o(!1)})).open()}),[n,h]),y=(0,k.useCallback)((()=>{c=l;const e={url:"",id:"",alt:""};d(e),h(e),m([]),o(!0)}),[h]);return(0,k.useEffect)((()=>{u.id&&!u.alt&&function(e){return new Promise(((t,s)=>{window.wp.media.attachment||s(),window.wp.media.attachment(e).fetch().then((e=>{t(ee(e))})).catch((()=>s()))}))}(u.id).then((e=>d(e)))}),[u]),(0,v.createElement)(T.ImageSelect,{...r,usingFallback:a,imageUrl:u.url,imageId:u.id,imageAltText:u.alt,onClick:g,onRemoveImageClick:y,warnings:p})};te.propTypes={hiddenField:x().string.isRequired,hiddenFieldImageId:x().string,hiddenFieldFallbackImageId:x().string,hasImageValidation:x().bool},te.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",hasImageValidation:!1};const se=te;function ne({target:e,children:t}){let s=e;return"string"==typeof e&&(s=document.getElementById(e)),s?(0,k.createPortal)(t,s):null}function re({target:e,label:t,hasPreview:s,hiddenField:n,hiddenFieldImageId:r,hiddenFieldFallbackImageId:a,selectImageButtonId:o,replaceImageButtonId:i,removeImageButtonId:l,hasNewBadge:c,isDisabled:u,hasPremiumBadge:d,hasImageValidation:p}){return(0,v.createElement)(ne,{target:e},(0,v.createElement)(se,{label:t,hasPreview:s,hiddenField:n,hiddenFieldImageId:r,hiddenFieldFallbackImageId:a,selectImageButtonId:o,replaceImageButtonId:i,removeImageButtonId:l,hasNewBadge:c,isDisabled:u,hasPremiumBadge:d,hasImageValidation:p}))}ne.propTypes={target:x().oneOfType([x().string,x().object]).isRequired,children:x().node.isRequired},re.propTypes={target:x().string.isRequired,label:x().string.isRequired,hasPreview:x().bool.isRequired,hiddenField:x().string.isRequired,hiddenFieldImageId:x().string,hiddenFieldFallbackImageId:x().string,selectImageButtonId:x().string,replaceImageButtonId:x().string,removeImageButtonId:x().string,hasNewBadge:x().bool,isDisabled:x().bool,hasPremiumBadge:x().bool,hasImageValidation:x().bool},re.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1};const ae=({target:e,scoreIndicator:t})=>(0,v.createElement)(ne,{target:e},(0,v.createElement)(T.SvgIcon,{...Y(t)}));ae.propTypes={target:x().string.isRequired,scoreIndicator:x().string.isRequired};const oe=ae,ie=e=>{const[t,s]=(0,k.useState)(!1),{prefixIcon:n}=e;return(0,v.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},(0,v.createElement)("h2",{className:"components-panel__body-title"},(0,v.createElement)("button",{onClick:function(){s(!t)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,v.createElement)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`}},n&&(0,v.createElement)(T.SvgIcon,{icon:n.icon,color:n.color,size:n.size})),(0,v.createElement)("span",{className:"yoast-title-container"},(0,v.createElement)("div",{className:"yoast-title"},e.title),(0,v.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,v.createElement)(T.BetaBadge,null),(0,v.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)},le=ie;ie.propTypes={title:x().string.isRequired,children:x().oneOfType([x().node,x().arrayOf(x().node)]).isRequired,prefixIcon:x().object,subTitle:x().string,hasBetaBadgeLabel:x().bool,buttonId:x().string},ie.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};const ce=({children:e})=>(0,v.createElement)("div",null,e);ce.propTypes={renderPriority:x().number.isRequired,children:x().node.isRequired};const ue=ce,de=({theme:e,location:t,children:s})=>(0,v.createElement)(i.LocationProvider,{value:t},(0,v.createElement)(E.ThemeProvider,{theme:e},s));de.propTypes={theme:x().object.isRequired,location:x().oneOf(["sidebar","metabox","modal"]).isRequired,children:x().element.isRequired};const pe=de,me=window.wp.compose,he=window.wp.data,ge=e=>(0,v.createElement)("div",{className:"yoast components-panel__body"},(0,v.createElement)("h2",{className:"components-panel__body-title"},(0,v.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,v.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,v.createElement)(T.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,v.createElement)("span",{className:"yoast-title-container"},(0,v.createElement)("div",{className:"yoast-title"},e.title),(0,v.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,v.createElement)(T.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),ye=ge;ge.propTypes={onClick:x().func.isRequired,title:x().string.isRequired,id:x().string,subTitle:x().string,suffixIcon:x().object,SuffixHeroIcon:x().object,prefixIcon:x().object,children:x().node},ge.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const fe=({id:e,postTypeName:t,children:s,title:n,isOpen:r,close:a,open:o,shouldCloseOnClickOutside:l,showChangesWarning:c,SuffixHeroIcon:u})=>(0,v.createElement)(k.Fragment,null,r&&(0,v.createElement)(i.LocationProvider,{value:"modal"},(0,v.createElement)(X,{title:n,onRequestClose:a,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:l},(0,v.createElement)("div",{className:"yoast-content-container"},(0,v.createElement)("div",{className:"yoast-modal-content"},s)),(0,v.createElement)("div",{className:"yoast-notice-container"},(0,v.createElement)("hr",null),(0,v.createElement)("div",{className:"yoast-button-container"},c&&(0,v.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ +(0,d.sprintf)((0,d.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)),(0,v.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:a},/* Translators: %s translates to the Post Label in singular form */ +(0,d.sprintf)((0,d.__)("Return to your %s","wordpress-seo"),t)))))),(0,v.createElement)(ye,{id:e+"-open-button",title:n,SuffixHeroIcon:u,suffixIcon:u?null:{size:"20px",icon:"pencil-square"},onClick:o}));fe.propTypes={id:x().string.isRequired,postTypeName:x().string.isRequired,children:x().oneOfType([x().node,x().arrayOf(x().node)]).isRequired,title:x().string.isRequired,isOpen:x().bool.isRequired,open:x().func.isRequired,close:x().func.isRequired,shouldCloseOnClickOutside:x().bool,showChangesWarning:x().bool,SuffixHeroIcon:x().object},fe.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const be=fe,we=(0,me.compose)([(0,he.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:n}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:n(t.id)}})),(0,he.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:n}=e("yoast-seo/editor");return{open:()=>s(t.id),close:n}}))])(be),ve=(0,me.compose)([(0,he.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,he.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))])(T.Alert),ke=window.yoast.analysisReport,Ee=window.yoast.uiLibrary,Re=v.forwardRef((function(e,t){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),v.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),_e=(R().div` min-width: 600px; @media screen and ( max-width: 680px ) { @@ -170,7 +170,7 @@ text-align: center; `,Ae=R().a` width: 100%; -`,Ne=(0,S.makeOutboundLink)(Ae);class Me extends k.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,v.createElement)(Se,{role:"list"},e.map(((e,t)=>(0,v.createElement)("li",{key:`upsell-benefit-${t}`},(0,k.createInterpolateElement)(e,{strong:(0,v.createElement)("strong",null)})))))}render(){const e=(0,he.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:t}=this.state,s=e?"69.30":null,r=s||t;return(0,v.createElement)(k.Fragment,null,e&&(0,v.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,v.createElement)("div",null,(0,d.__)("BLACK FRIDAY","wordpress-seo")),(0,v.createElement)("div",null,(0,d.__)("30% OFF","wordpress-seo"))),(0,v.createElement)(Te,null,(0,v.createElement)(Ie,null,this.props.title),(0,v.createElement)(Le,null,this.props.description),(0,v.createElement)(Pe,null,(0,v.createElement)(Ne,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,v.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,v.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},t)," "),(0,v.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},r)," ",(0,d.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,v.createElement)(Ce,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,v.createElement)(qe,null),(0,v.createElement)(Ie,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Me.propTypes={title:x().node,benefits:x().array,benefitsTitle:x().node,description:x().node,upsellButton:x().object,upsellButtonText:x().string.isRequired,upsellButtonLabel:x().string,upsellButtonHasCaret:x().bool},Me.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Oe=Me,Be=(0,d.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),Ke=e=>{const{locationContext:t}=(0,i.useRootContext)(),s=(0,xe.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:t});return(0,v.createElement)(Oe,{title:(0,d.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +`,Ne=(0,S.makeOutboundLink)(Ae);class Me extends k.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,v.createElement)(Se,{role:"list"},e.map(((e,t)=>(0,v.createElement)("li",{key:`upsell-benefit-${t}`},(0,k.createInterpolateElement)(e,{strong:(0,v.createElement)("strong",null)})))))}render(){const e=(0,he.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:t}=this.state,s=e?"69.30":null,n=s||t;return(0,v.createElement)(k.Fragment,null,e&&(0,v.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,v.createElement)("div",null,(0,d.__)("BLACK FRIDAY","wordpress-seo")),(0,v.createElement)("div",null,(0,d.__)("30% OFF","wordpress-seo"))),(0,v.createElement)(Te,null,(0,v.createElement)(Ie,null,this.props.title),(0,v.createElement)(Le,null,this.props.description),(0,v.createElement)(Pe,null,(0,v.createElement)(Ne,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,v.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,v.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},t)," "),(0,v.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},n)," ",(0,d.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,v.createElement)(Ce,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,v.createElement)(qe,null),(0,v.createElement)(Ie,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Me.propTypes={title:x().node,benefits:x().array,benefitsTitle:x().node,description:x().node,upsellButton:x().object,upsellButtonText:x().string.isRequired,upsellButtonLabel:x().string,upsellButtonHasCaret:x().bool},Me.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Oe=Me,Be=(0,d.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),Ke=e=>{const{locationContext:t}=(0,i.useRootContext)(),s=(0,xe.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:t});return(0,v.createElement)(Oe,{title:(0,d.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ (0,d.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:[(0,d.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,d.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,d.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,d.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,d.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ @@ -178,18 +178,18 @@ (0,d.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,d.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,d.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,d.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,d.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],upsellButtonText:(0,d.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,d.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,d.__)("1 year of premium support and updates included!","wordpress-seo")})};Ke.propTypes={buyLink:x().string.isRequired,description:x().string},Ke.defaultProps={description:Be};const Fe=Ke;class De extends k.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:U(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:U(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:t,className:s,status:r,onClick:n,isPressed:a}){return(0,v.createElement)(k.Fragment,null,(0,v.createElement)(T.IconButtonToggle,{marksButtonStatus:r,className:s,onClick:n,id:t,icon:"eye",pressed:a,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,v.createElement)("div",{className:"yst-root"},(0,v.createElement)(Ee.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--right-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell"},(0,v.createElement)(Re,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1}))))}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,t){this.props.setActiveMarker(e),t()}handleMarkButtonClick(e,t){const s=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;s===this.props.activeMarker?this.deactivateMarker():this.activateMarker(s,t)}handleResultsChange(e,t,s){const r=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;r===this.props.activeMarker&&(s?(0,c.isUndefined)(t)||this.activateMarker(r,t):this.deactivateMarker())}focusOnKeyphraseField(e){const t=this.props.keywordKey,s=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,r=document.getElementById(s);r.focus(),r.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let s;s="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const r=document.getElementById("yoast-google-preview-"+s+"-"+t);r.focus(),r.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){const t=this.props.location;"functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e?(["metaDescriptionKeyword","metaDescriptionLength","titleWidth","keyphraseInSEOTitle","slugKeyword"].includes(e)&&this.handleGooglePreviewFocus(t,e),(0,m.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(t)}handleGooglePreviewFocus(e,t){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(t,"modal")),500);else{const s=document.getElementById("yoast-snippet-editor-metabox");s&&"false"===s.getAttribute("aria-expanded")?(s.click(),setTimeout((()=>this.focusOnGooglePreviewField(t,e)),100)):this.focusOnGooglePreviewField(t,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new p.Paper("",{}),[])}renderHighlightingUpsell(e,t){const s=(0,d.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return e&&(0,v.createElement)(X,{title:(0,d.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:t,additionalClassName:"",className:`${J} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-highlighting-modal",shouldCloseOnClickOutside:!0},(0,v.createElement)(_e,null,(0,v.createElement)(Fe,{buyLink:this.props.highlightingUpsellLink,description:s})))}render(){const{mappedResults:e}=this.state,{errorsResults:t,improvementsResults:s,goodResults:r,considerationsResults:n,problemsResults:a}=e,{upsellResults:o,resultCategoryLabels:i}=this.props,l={errors:(0,d.__)("Errors","wordpress-seo"),problems:(0,d.__)("Problems","wordpress-seo"),improvements:(0,d.__)("Improvements","wordpress-seo"),considerations:(0,d.__)("Considerations","wordpress-seo"),goodResults:(0,d.__)("Good results","wordpress-seo")},c=Object.assign(l,i);let u=this.props.marksButtonStatus;return"enabled"===u&&this.props.shortcodesForParsing.length>0&&(u="disabled"),(0,v.createElement)(k.Fragment,null,(0,v.createElement)(ke.ContentAnalysis,{errorsResults:t,problemsResults:a,upsellResults:o,improvementsResults:s,considerationsResults:n,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:u,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:c,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton}))}}De.propTypes={results:x().array,upsellResults:x().array,marksButtonClassName:x().string,editButtonClassName:x().string,marksButtonStatus:x().oneOf(["enabled","disabled","hidden"]),setActiveMarker:x().func.isRequired,setMarkerPauseStatus:x().func.isRequired,activeMarker:x().string,keywordKey:x().string,location:x().string,isPremium:x().bool,resultCategoryLabels:x().shape({errors:x().string,problems:x().string,improvements:x().string,considerations:x().string,goodResults:x().string}),shortcodesForParsing:x().array,shouldUpsellHighlighting:x().bool,highlightingUpsellLink:x().string},De.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:""};const $e=De,He=(0,me.compose)([(0,he.withSelect)((e=>{const{getActiveMarker:t,getIsPremium:s,getShortcodesForParsing:r}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:s(),shortcodesForParsing:r()}})),(0,he.withDispatch)((e=>{const{setActiveMarker:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:s}}))])($e),We=()=>(0,v.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,d.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ +(0,d.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,d.__)("1 year of premium support and updates included!","wordpress-seo")})};Ke.propTypes={buyLink:x().string.isRequired,description:x().string},Ke.defaultProps={description:Be};const Fe=Ke;class De extends k.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:U(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:U(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:t,className:s,status:n,onClick:r,isPressed:a}){return(0,v.createElement)(k.Fragment,null,(0,v.createElement)(T.IconButtonToggle,{marksButtonStatus:n,className:s,onClick:r,id:t,icon:"eye",pressed:a,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,v.createElement)("div",{className:"yst-root"},(0,v.createElement)(Ee.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--right-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell"},(0,v.createElement)(Re,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1}))))}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,t){this.props.setActiveMarker(e),t()}handleMarkButtonClick(e,t){const s=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;s===this.props.activeMarker?this.deactivateMarker():this.activateMarker(s,t)}handleResultsChange(e,t,s){const n=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;n===this.props.activeMarker&&(s?(0,c.isUndefined)(t)||this.activateMarker(n,t):this.deactivateMarker())}focusOnKeyphraseField(e){const t=this.props.keywordKey,s=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,n=document.getElementById(s);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let s;s="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const n=document.getElementById("yoast-google-preview-"+s+"-"+t);n.focus(),n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){const t=this.props.location;"functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e?(["metaDescriptionKeyword","metaDescriptionLength","titleWidth","keyphraseInSEOTitle","slugKeyword"].includes(e)&&this.handleGooglePreviewFocus(t,e),(0,m.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(t)}handleGooglePreviewFocus(e,t){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(t,"modal")),500);else{const s=document.getElementById("yoast-snippet-editor-metabox");s&&"false"===s.getAttribute("aria-expanded")?(s.click(),setTimeout((()=>this.focusOnGooglePreviewField(t,e)),100)):this.focusOnGooglePreviewField(t,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new p.Paper("",{}),[])}renderHighlightingUpsell(e,t){const s=(0,d.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return e&&(0,v.createElement)(X,{title:(0,d.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:t,additionalClassName:"",className:`${J} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-highlighting-modal",shouldCloseOnClickOutside:!0},(0,v.createElement)(_e,null,(0,v.createElement)(Fe,{buyLink:this.props.highlightingUpsellLink,description:s})))}render(){const{mappedResults:e}=this.state,{errorsResults:t,improvementsResults:s,goodResults:n,considerationsResults:r,problemsResults:a}=e,{upsellResults:o,resultCategoryLabels:i}=this.props,l={errors:(0,d.__)("Errors","wordpress-seo"),problems:(0,d.__)("Problems","wordpress-seo"),improvements:(0,d.__)("Improvements","wordpress-seo"),considerations:(0,d.__)("Considerations","wordpress-seo"),goodResults:(0,d.__)("Good results","wordpress-seo")},c=Object.assign(l,i);let u=this.props.marksButtonStatus;return"enabled"===u&&this.props.shortcodesForParsing.length>0&&(u="disabled"),(0,v.createElement)(k.Fragment,null,(0,v.createElement)(ke.ContentAnalysis,{errorsResults:t,problemsResults:a,upsellResults:o,improvementsResults:s,considerationsResults:r,goodResults:n,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:u,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:c,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton}))}}De.propTypes={results:x().array,upsellResults:x().array,marksButtonClassName:x().string,editButtonClassName:x().string,marksButtonStatus:x().oneOf(["enabled","disabled","hidden"]),setActiveMarker:x().func.isRequired,setMarkerPauseStatus:x().func.isRequired,activeMarker:x().string,keywordKey:x().string,location:x().string,isPremium:x().bool,resultCategoryLabels:x().shape({errors:x().string,problems:x().string,improvements:x().string,considerations:x().string,goodResults:x().string}),shortcodesForParsing:x().array,shouldUpsellHighlighting:x().bool,highlightingUpsellLink:x().string},De.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:""};const $e=De,He=(0,me.compose)([(0,he.withSelect)((e=>{const{getActiveMarker:t,getIsPremium:s,getShortcodesForParsing:n}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:s(),shortcodesForParsing:n()}})),(0,he.withDispatch)((e=>{const{setActiveMarker:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:s}}))])($e),We=()=>(0,v.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,d.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ (0,d.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,v.createElement)(T.SvgIcon,{icon:"loading-spinner"})),je=(0,S.makeOutboundLink)(),ze=()=>(0,v.createElement)(k.Fragment,null,(0,v.createElement)("p",null,(0,d.sprintf)(/* translators: %s : Expands to "Semrush". */ (0,d.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,v.createElement)(je,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,d.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,d.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,v.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),Ye=window.wp.apiFetch;var Ue=s.n(Ye);const Ve="yoast-semrush-country-selector",Ge=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class Ze extends k.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){Ue()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const r=await this.doRequest(e,t);200!==r.status?this.handleFailedResponse(r):this.handleSuccessResponse(r)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await Ue()({path:(0,xe.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,v.createElement)("div",{id:Ve},(0,v.createElement)(T.SingleSelect,{id:Ve+"-select",label:(0,d.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:Ge,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,v.createElement)(T.NewButton,{id:Ve+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,d.__)("Select country","wordpress-seo")))}}Ze.propTypes={keyphrase:x().string,countryCode:x().string,response:x().object,lastRequestKeyphrase:x().string,setCountry:x().func.isRequired,newRequest:x().func.isRequired,setNoResultsFound:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setRequestLimitReached:x().func.isRequired,setRequestFailed:x().func.isRequired},Ze.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const Je=Ze,Qe=({data:e,mapChartDataToTableData:t,dataTableCaption:s,dataTableHeaderLabels:r,isDataTableVisuallyHidden:n})=>e.length!==r.length?(0,v.createElement)("p",null,(0,d.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,v.createElement)("div",{className:n?"screen-reader-text":null},(0,v.createElement)("table",null,(0,v.createElement)("caption",null,s),(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,r.map(((e,t)=>(0,v.createElement)("th",{key:t},e))))),(0,v.createElement)("tbody",null,(0,v.createElement)("tr",null,e.map(((e,s)=>(0,v.createElement)("td",{key:s},t(e.y))))))));Qe.propTypes={data:x().arrayOf(x().shape({x:x().number,y:x().number})).isRequired,mapChartDataToTableData:x().func,dataTableCaption:x().string.isRequired,dataTableHeaderLabels:x().array.isRequired,isDataTableVisuallyHidden:x().bool},Qe.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Xe=Qe,et=({data:e,width:t,height:s,fillColor:r,strokeColor:n,strokeWidth:a,className:o,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:u})=>{const d=Math.max(1,Math.max(...e.map((e=>e.x)))),p=Math.max(1,Math.max(...e.map((e=>e.y)))),m=s-a,h=e.map((e=>`${e.x/d*t},${m-e.y/p*m+a}`)).join(" "),g=`0,${m+a} `+h+` ${t},${m+a}`;return(0,v.createElement)(k.Fragment,null,(0,v.createElement)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:o,role:"img","aria-hidden":"true",focusable:"false"},(0,v.createElement)("polygon",{fill:r,points:g}),(0,v.createElement)("polyline",{fill:"none",stroke:n,strokeWidth:a,strokeLinejoin:"round",strokeLinecap:"round",points:h})),i&&(0,v.createElement)(Xe,{data:e,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:u}))};et.propTypes={data:x().arrayOf(x().shape({x:x().number,y:x().number})).isRequired,width:x().number.isRequired,height:x().number.isRequired,fillColor:x().string,strokeColor:x().string,strokeWidth:x().number,className:x().string,mapChartDataToTableData:x().func,dataTableCaption:x().string.isRequired,dataTableHeaderLabels:x().array.isRequired,isDataTableVisuallyHidden:x().bool},et.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const tt=et,st=(0,S.makeOutboundLink)();class rt extends k.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,d.__)("Twelve months ago","wordpress-seo"),(0,d.__)("Eleven months ago","wordpress-seo"),(0,d.__)("Ten months ago","wordpress-seo"),(0,d.__)("Nine months ago","wordpress-seo"),(0,d.__)("Eight months ago","wordpress-seo"),(0,d.__)("Seven months ago","wordpress-seo"),(0,d.__)("Six months ago","wordpress-seo"),(0,d.__)("Five months ago","wordpress-seo"),(0,d.__)("Four months ago","wordpress-seo"),(0,d.__)("Three months ago","wordpress-seo"),(0,d.__)("Two months ago","wordpress-seo"),(0,d.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:s,data:r,renderAction:n}=this.props,a="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return r&&!(0,c.isEmpty)(r.results)&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)("table",{className:"yoast yoast-table"},(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,(0,v.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,d.__)("Related keyphrase","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Volume","wordpress-seo")},(0,d.__)("Volume","wordpress-seo"),(0,v.createElement)(V,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,v.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,d.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,v.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),Ye=window.wp.apiFetch;var Ue=s.n(Ye);const Ve="yoast-semrush-country-selector",Ge=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class Ze extends k.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){Ue()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await Ue()({path:(0,xe.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,v.createElement)("div",{id:Ve},(0,v.createElement)(T.SingleSelect,{id:Ve+"-select",label:(0,d.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:Ge,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,v.createElement)(T.NewButton,{id:Ve+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,d.__)("Select country","wordpress-seo")))}}Ze.propTypes={keyphrase:x().string,countryCode:x().string,response:x().object,lastRequestKeyphrase:x().string,setCountry:x().func.isRequired,newRequest:x().func.isRequired,setNoResultsFound:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setRequestLimitReached:x().func.isRequired,setRequestFailed:x().func.isRequired},Ze.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const Je=Ze,Qe=({data:e,mapChartDataToTableData:t,dataTableCaption:s,dataTableHeaderLabels:n,isDataTableVisuallyHidden:r})=>e.length!==n.length?(0,v.createElement)("p",null,(0,d.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,v.createElement)("div",{className:r?"screen-reader-text":null},(0,v.createElement)("table",null,(0,v.createElement)("caption",null,s),(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,n.map(((e,t)=>(0,v.createElement)("th",{key:t},e))))),(0,v.createElement)("tbody",null,(0,v.createElement)("tr",null,e.map(((e,s)=>(0,v.createElement)("td",{key:s},t(e.y))))))));Qe.propTypes={data:x().arrayOf(x().shape({x:x().number,y:x().number})).isRequired,mapChartDataToTableData:x().func,dataTableCaption:x().string.isRequired,dataTableHeaderLabels:x().array.isRequired,isDataTableVisuallyHidden:x().bool},Qe.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Xe=Qe,et=({data:e,width:t,height:s,fillColor:n,strokeColor:r,strokeWidth:a,className:o,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:u})=>{const d=Math.max(1,Math.max(...e.map((e=>e.x)))),p=Math.max(1,Math.max(...e.map((e=>e.y)))),m=s-a,h=e.map((e=>`${e.x/d*t},${m-e.y/p*m+a}`)).join(" "),g=`0,${m+a} `+h+` ${t},${m+a}`;return(0,v.createElement)(k.Fragment,null,(0,v.createElement)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:o,role:"img","aria-hidden":"true",focusable:"false"},(0,v.createElement)("polygon",{fill:n,points:g}),(0,v.createElement)("polyline",{fill:"none",stroke:r,strokeWidth:a,strokeLinejoin:"round",strokeLinecap:"round",points:h})),i&&(0,v.createElement)(Xe,{data:e,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:u}))};et.propTypes={data:x().arrayOf(x().shape({x:x().number,y:x().number})).isRequired,width:x().number.isRequired,height:x().number.isRequired,fillColor:x().string,strokeColor:x().string,strokeWidth:x().number,className:x().string,mapChartDataToTableData:x().func,dataTableCaption:x().string.isRequired,dataTableHeaderLabels:x().array.isRequired,isDataTableVisuallyHidden:x().bool},et.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const tt=et,st=(0,S.makeOutboundLink)();class nt extends k.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,d.__)("Twelve months ago","wordpress-seo"),(0,d.__)("Eleven months ago","wordpress-seo"),(0,d.__)("Ten months ago","wordpress-seo"),(0,d.__)("Nine months ago","wordpress-seo"),(0,d.__)("Eight months ago","wordpress-seo"),(0,d.__)("Seven months ago","wordpress-seo"),(0,d.__)("Six months ago","wordpress-seo"),(0,d.__)("Five months ago","wordpress-seo"),(0,d.__)("Four months ago","wordpress-seo"),(0,d.__)("Three months ago","wordpress-seo"),(0,d.__)("Two months ago","wordpress-seo"),(0,d.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:s,data:n,renderAction:r}=this.props,a="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return n&&!(0,c.isEmpty)(n.results)&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)("table",{className:"yoast yoast-table"},(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,(0,v.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,d.__)("Related keyphrase","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Volume","wordpress-seo")},(0,d.__)("Volume","wordpress-seo"),(0,v.createElement)(V,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,v.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ (0,d.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Trend","wordpress-seo")},(0,d.__)("Trend","wordpress-seo"),(0,v.createElement)(V,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,v.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,d.__)("Learn more about the related keyphrases trend","wordpress-seo")))),n&&(0,v.createElement)("td",{className:"yoast-table--nobreak"}))),(0,v.createElement)("tbody",null,r.results.rows.map(((e,s)=>{const r=e[0],a=this.transformTrendDataToChartPoints(e[2]),o=this.getAreaChartDataTableHeaderLabels();return(0,v.createElement)("tr",{key:s},(0,v.createElement)("td",null,r),(0,v.createElement)("td",null,e[1]),(0,v.createElement)("td",{className:"yoast-table--nopadding"},(0,v.createElement)(tt,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,d.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:o})),n&&(0,v.createElement)("td",{className:"yoast-table--nobreak"},n(r,t)))})))),(0,v.createElement)("p",{style:{marginBottom:0}},(0,v.createElement)(st,{href:a},(0,d.sprintf)(/* translators: %s expands to Semrush */ -(0,d.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}rt.propTypes={data:x().object,keyphrase:x().string,relatedKeyphrases:x().array,countryCode:x().string,renderAction:x().func},rt.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const nt=rt,at=(0,S.makeOutboundLink)(),ot=()=>(0,v.createElement)(T.Alert,{type:"info"},(0,d.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,d.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&(0,v.createElement)("td",{className:"yoast-table--nobreak"}))),(0,v.createElement)("tbody",null,n.results.rows.map(((e,s)=>{const n=e[0],a=this.transformTrendDataToChartPoints(e[2]),o=this.getAreaChartDataTableHeaderLabels();return(0,v.createElement)("tr",{key:s},(0,v.createElement)("td",null,n),(0,v.createElement)("td",null,e[1]),(0,v.createElement)("td",{className:"yoast-table--nopadding"},(0,v.createElement)(tt,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,d.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:o})),r&&(0,v.createElement)("td",{className:"yoast-table--nobreak"},r(n,t)))})))),(0,v.createElement)("p",{style:{marginBottom:0}},(0,v.createElement)(st,{href:a},(0,d.sprintf)(/* translators: %s expands to Semrush */ +(0,d.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}nt.propTypes={data:x().object,keyphrase:x().string,relatedKeyphrases:x().array,countryCode:x().string,renderAction:x().func},nt.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const rt=nt,at=(0,S.makeOutboundLink)(),ot=()=>(0,v.createElement)(T.Alert,{type:"info"},(0,d.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ (0,d.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,v.createElement)(at,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,d.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ (0,d.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),it=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),lt=()=>(0,v.createElement)(T.Alert,{type:"warning"},(0,d.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,d.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function ct(e){const{response:t,lastRequestKeyphrase:s,keyphrase:r,newRequest:n,setCountry:a,renderAction:o,countryCode:i,requestLimitReached:l,setRequestFailed:p,setNoResultsFound:m,relatedKeyphrases:h,setRequestSucceeded:g,setRequestLimitReached:y}=e,f=u().isPremium;return(0,v.createElement)(k.Fragment,null,!l&&(0,v.createElement)(k.Fragment,null,!f&&(0,v.createElement)(ot,null),f&&function(e){return e&&e.length>=4}(h)&&(0,v.createElement)(lt,null),(0,v.createElement)(Je,{countryCode:i,setCountry:a,newRequest:n,keyphrase:r,setRequestFailed:p,setNoResultsFound:m,setRequestSucceeded:g,setRequestLimitReached:y,response:t,lastRequestKeyphrase:s})),function(e){const{isPending:t,requestLimitReached:s,isSuccess:r,response:n,requestHasData:a}=e;return t?(0,v.createElement)(We,null):s?(0,v.createElement)(ze,null):!r&&function(e){return!(0,c.isEmpty)(e)&&"error"in e}(n)?(0,v.createElement)(it,null):a?void 0:(0,v.createElement)("p",null,(0,d.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,v.createElement)(nt,{keyphrase:r,relatedKeyphrases:h,countryCode:i,renderAction:o,data:t}))}ct.propTypes={keyphrase:x().string,relatedKeyphrases:x().array,renderAction:x().func,requestLimitReached:x().bool,countryCode:x().string.isRequired,setCountry:x().func.isRequired,newRequest:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setRequestLimitReached:x().func.isRequired,setRequestFailed:x().func.isRequired,setNoResultsFound:x().func.isRequired,response:x().object,lastRequestKeyphrase:x().string},ct.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const ut=(0,me.compose)([(0,he.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:r,getSEMrushRequestResponse:n,getSEMrushRequestIsSuccess:a,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:r(),response:n(),isSuccess:a(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,he.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:r,setSEMrushRequestFailed:n,setSEMrushSetRequestLimitReached:a,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{r(e)},setRequestFailed:e=>{n(e)},setRequestLimitReached:()=>{a()},setNoResultsFound:()=>{o()}}}))])(ct),dt=window.moment;var pt=s.n(dt),mt=s(6746);const ht=(0,S.makeOutboundLink)(),gt=e=>{const t=(0,d.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ +(0,d.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function ct(e){const{response:t,lastRequestKeyphrase:s,keyphrase:n,newRequest:r,setCountry:a,renderAction:o,countryCode:i,requestLimitReached:l,setRequestFailed:p,setNoResultsFound:m,relatedKeyphrases:h,setRequestSucceeded:g,setRequestLimitReached:y}=e,f=u().isPremium;return(0,v.createElement)(k.Fragment,null,!l&&(0,v.createElement)(k.Fragment,null,!f&&(0,v.createElement)(ot,null),f&&function(e){return e&&e.length>=4}(h)&&(0,v.createElement)(lt,null),(0,v.createElement)(Je,{countryCode:i,setCountry:a,newRequest:r,keyphrase:n,setRequestFailed:p,setNoResultsFound:m,setRequestSucceeded:g,setRequestLimitReached:y,response:t,lastRequestKeyphrase:s})),function(e){const{isPending:t,requestLimitReached:s,isSuccess:n,response:r,requestHasData:a}=e;return t?(0,v.createElement)(We,null):s?(0,v.createElement)(ze,null):!n&&function(e){return!(0,c.isEmpty)(e)&&"error"in e}(r)?(0,v.createElement)(it,null):a?void 0:(0,v.createElement)("p",null,(0,d.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,v.createElement)(rt,{keyphrase:n,relatedKeyphrases:h,countryCode:i,renderAction:o,data:t}))}ct.propTypes={keyphrase:x().string,relatedKeyphrases:x().array,renderAction:x().func,requestLimitReached:x().bool,countryCode:x().string.isRequired,setCountry:x().func.isRequired,newRequest:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setRequestLimitReached:x().func.isRequired,setRequestFailed:x().func.isRequired,setNoResultsFound:x().func.isRequired,response:x().object,lastRequestKeyphrase:x().string},ct.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const ut=(0,me.compose)([(0,he.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:a,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:n(),response:r(),isSuccess:a(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,he.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:a,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{a()},setNoResultsFound:()=>{o()}}}))])(ct),dt=window.moment;var pt=s.n(dt),mt=s(6746);const ht=(0,S.makeOutboundLink)(),gt=e=>{const t=(0,d.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ (0,d.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return(0,v.createElement)(T.Alert,{type:"error"},(0,mt.Z)({mixedString:t,components:{updateWincherPlanLink:(0,v.createElement)(ht,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,d.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,d.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};gt.propTypes={limit:x().number},gt.defaultProps={limit:10};const yt=gt,ft=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function bt(e,t,s,r=200){try{const n=await e();return!!n&&(n.status===r?t(n):s(n))}catch(e){console.error(e.message)}}async function wt(e){try{return await Ue()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function vt(e){return(0,c.isArray)(e)||(e=[e]),await wt({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const kt=R().p` +(0,d.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};gt.propTypes={limit:x().number},gt.defaultProps={limit:10};const yt=gt,ft=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function bt(e,t,s,n=200){try{const r=await e();return!!r&&(r.status===n?t(r):s(r))}catch(e){console.error(e.message)}}async function wt(e){try{return await Ue()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function vt(e){return(0,c.isArray)(e)||(e=[e]),await wt({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const kt=R().p` color: ${C.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; @@ -215,7 +215,7 @@ border-left: 4px solid${C.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; -`,Tt=e=>{const[t,s]=(0,k.useState)(null);return(0,k.useEffect)((()=>{e&&!t&&async function(){return await wt({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};Tt.propTypes={limit:x().bool.isRequired};const St=({limit:e,usage:t,isTitleShortened:s,isFreeAccount:r})=>{const n=(0,d.sprintf)( +`,Tt=e=>{const[t,s]=(0,k.useState)(null);return(0,k.useEffect)((()=>{e&&!t&&async function(){return await wt({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};Tt.propTypes={limit:x().bool.isRequired};const St=({limit:e,usage:t,isTitleShortened:s,isFreeAccount:n})=>{const r=(0,d.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ @@ -223,17 +223,17 @@ /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,d.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),o=r?n:a,i=(0,d.sprintf)( +(0,d.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),t,e),o=n?r:a,i=(0,d.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ (0,d.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?i:o;return(0,v.createElement)(kt,null,s&&(0,v.createElement)(Et,{icon:"exclamation-triangle",color:C.colors.$color_pink_dark,size:"14px"}),l)};St.propTypes={limit:x().number.isRequired,usage:x().number.isRequired,isTitleShortened:x().bool,isFreeAccount:x().bool};const Ct=(0,S.makeOutboundLink)(),It=({discount:e,months:t})=>{const s=(0,v.createElement)(Ct,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,d.sprintf)(/* Translators: %s : Expands to "Wincher". */ -(0,d.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!t)return(0,v.createElement)(_t,null,s);const r=100*e,n=(0,d.sprintf)( +(0,d.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!t)return(0,v.createElement)(_t,null,s);const n=100*e,r=(0,d.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ -(0,d.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",r+"%",t);return(0,v.createElement)(_t,null,(0,mt.Z)({mixedString:n,components:{wincherAccountUpgradeLink:s}}))};It.propTypes={discount:x().number,months:x().number};const Lt=({onClose:e,isTitleShortened:t,trackingInfo:s})=>{const r=(()=>{const[e,t]=(0,k.useState)(null);return(0,k.useEffect)((()=>{e||async function(){return await wt({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:n,usage:a}=s;if(!(n&&a/n>=.8))return null;const o=Boolean(null==r?void 0:r.discount);return(0,v.createElement)(xt,{isTitleShortened:t},e&&(0,v.createElement)(Rt,{type:"button","aria-label":(0,d.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,v.createElement)(T.SvgIcon,{icon:"times-circle",color:C.colors.$color_pink_dark,size:"14px"})),(0,v.createElement)(St,{...s,isTitleShortened:t,isFreeAccount:o}),(0,v.createElement)(It,{discount:null==r?void 0:r.discount,months:null==r?void 0:r.months}))};Lt.propTypes={onClose:x().func,isTitleShortened:x().bool,trackingInfo:x().object};const qt=Lt,Pt=()=>(0,v.createElement)(T.Alert,{type:"success"},(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,d.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",n+"%",t);return(0,v.createElement)(_t,null,(0,mt.Z)({mixedString:r,components:{wincherAccountUpgradeLink:s}}))};It.propTypes={discount:x().number,months:x().number};const Lt=({onClose:e,isTitleShortened:t,trackingInfo:s})=>{const n=(()=>{const[e,t]=(0,k.useState)(null);return(0,k.useEffect)((()=>{e||async function(){return await wt({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:r,usage:a}=s;if(!(r&&a/r>=.8))return null;const o=Boolean(null==n?void 0:n.discount);return(0,v.createElement)(xt,{isTitleShortened:t},e&&(0,v.createElement)(Rt,{type:"button","aria-label":(0,d.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,v.createElement)(T.SvgIcon,{icon:"times-circle",color:C.colors.$color_pink_dark,size:"14px"})),(0,v.createElement)(St,{...s,isTitleShortened:t,isFreeAccount:o}),(0,v.createElement)(It,{discount:null==n?void 0:n.discount,months:null==n?void 0:n.months}))};Lt.propTypes={onClose:x().func,isTitleShortened:x().bool,trackingInfo:x().object};const qt=Lt,Pt=()=>(0,v.createElement)(T.Alert,{type:"success"},(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,d.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),At=()=>(0,v.createElement)(T.Alert,{type:"info"},(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ (0,d.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),Nt=()=>(0,v.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,d.__)("Tracking the ranking position...","wordpress-seo")," ",(0,v.createElement)(T.SvgIcon,{icon:"loading-spinner"})),Mt=R()(T.SvgIcon)` margin-left: 2px; @@ -276,7 +276,7 @@ align-items: center; `,Ht=R().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; -`;function Wt(e){return Math.round(100*e)}function jt({chartData:e}){if((0,c.isEmpty)(e)||(0,c.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,d.sprintf)((0,d._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,v.createElement)(tt,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Wt,dataTableCaption:(0,d.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:t})}jt.propTypes={chartData:x().object},jt.defaultProps={chartData:{}};const zt=({rowData:e})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,v.createElement)(jt,{chartData:e});const s=e.position.change<0;return(0,v.createElement)(k.Fragment,null,(0,v.createElement)(jt,{chartData:e}),(0,v.createElement)(Ot,{isImproving:s},Math.abs(e.position.change)),(0,v.createElement)(Mt,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function Yt(e){var t;const{keyphrase:s,rowData:r,onTrackKeyphrase:n,onUntrackKeyphrase:a,isFocusKeyphrase:o,isDisabled:i,isLoading:l,isSelected:u,onSelectKeyphrases:p}=e,m=!(0,c.isEmpty)(r),h=!(0,c.isEmpty)(null==r||null===(t=r.position)||void 0===t?void 0:t.history),g=(0,k.useCallback)((()=>{i||(m?a(s,r.id):n(s))}),[s,n,a,m,r,i]),y=(0,k.useCallback)((()=>{p((e=>u?e.filter((e=>e!==s)):e.concat(s)))}),[p,u,s]);return(0,v.createElement)(Ht,{isEnabled:m},(0,v.createElement)(Bt,null,h&&(0,v.createElement)(T.Checkbox,{id:"select-"+s,onChange:y,checked:u,label:""})),(0,v.createElement)(Kt,null,s,o&&(0,v.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:s,keyphrase:r,onSelectKeyphrases:n}=e,a=(0,k.useCallback)((()=>{n([r])}),[n,r]),o=!(0,c.isEmpty)(t),i=t&&t.updated_at&&pt()(t.updated_at)>=pt()().subtract(7,"days"),l=t?(0,d.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,t.id):null;return o?i?(0,v.createElement)(k.Fragment,null,(0,v.createElement)("td",null,(0,v.createElement)(Dt,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(t),(0,v.createElement)(T.ButtonStyledLink,{variant:"secondary",href:l,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,d.__)("View","wordpress-seo")))),(0,v.createElement)("td",{className:"yoast-table--nopadding"},(0,v.createElement)($t,{type:"button",onClick:a},(0,v.createElement)(zt,{rowData:t}))),(0,v.createElement)("td",null,(u=t.updated_at,pt()(u).fromNow()))):(0,v.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,v.createElement)(Nt,null)):(0,v.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,v.createElement)("i",null,(0,d.__)("Activate tracking to show the ranking position","wordpress-seo")));var u}(e),(0,v.createElement)(Ft,null,function({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:r}){return r?(0,v.createElement)(T.SvgIcon,{icon:"loading-spinner"}):(0,v.createElement)(T.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:m,toggleAction:g,isLoading:l})))}zt.propTypes={rowData:x().object},Yt.propTypes={rowData:x().object,keyphrase:x().string.isRequired,onTrackKeyphrase:x().func,onUntrackKeyphrase:x().func,isFocusKeyphrase:x().bool,isDisabled:x().bool,isLoading:x().bool,websiteId:x().string,isSelected:x().bool.isRequired,onSelectKeyphrases:x().func.isRequired},Yt.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const Ut=(0,S.makeOutboundLink)(),Vt=R().span` +`;function Wt(e){return Math.round(100*e)}function jt({chartData:e}){if((0,c.isEmpty)(e)||(0,c.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,d.sprintf)((0,d._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,v.createElement)(tt,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Wt,dataTableCaption:(0,d.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:t})}jt.propTypes={chartData:x().object},jt.defaultProps={chartData:{}};const zt=({rowData:e})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,v.createElement)(jt,{chartData:e});const s=e.position.change<0;return(0,v.createElement)(k.Fragment,null,(0,v.createElement)(jt,{chartData:e}),(0,v.createElement)(Ot,{isImproving:s},Math.abs(e.position.change)),(0,v.createElement)(Mt,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function Yt(e){var t;const{keyphrase:s,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:a,isFocusKeyphrase:o,isDisabled:i,isLoading:l,isSelected:u,onSelectKeyphrases:p}=e,m=!(0,c.isEmpty)(n),h=!(0,c.isEmpty)(null==n||null===(t=n.position)||void 0===t?void 0:t.history),g=(0,k.useCallback)((()=>{i||(m?a(s,n.id):r(s))}),[s,r,a,m,n,i]),y=(0,k.useCallback)((()=>{p((e=>u?e.filter((e=>e!==s)):e.concat(s)))}),[p,u,s]);return(0,v.createElement)(Ht,{isEnabled:m},(0,v.createElement)(Bt,null,h&&(0,v.createElement)(T.Checkbox,{id:"select-"+s,onChange:y,checked:u,label:""})),(0,v.createElement)(Kt,null,s,o&&(0,v.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:s,keyphrase:n,onSelectKeyphrases:r}=e,a=(0,k.useCallback)((()=>{r([n])}),[r,n]),o=!(0,c.isEmpty)(t),i=t&&t.updated_at&&pt()(t.updated_at)>=pt()().subtract(7,"days"),l=t?(0,d.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,t.id):null;return o?i?(0,v.createElement)(k.Fragment,null,(0,v.createElement)("td",null,(0,v.createElement)(Dt,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(t),(0,v.createElement)(T.ButtonStyledLink,{variant:"secondary",href:l,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,d.__)("View","wordpress-seo")))),(0,v.createElement)("td",{className:"yoast-table--nopadding"},(0,v.createElement)($t,{type:"button",onClick:a},(0,v.createElement)(zt,{rowData:t}))),(0,v.createElement)("td",null,(u=t.updated_at,pt()(u).fromNow()))):(0,v.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,v.createElement)(Nt,null)):(0,v.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,v.createElement)("i",null,(0,d.__)("Activate tracking to show the ranking position","wordpress-seo")));var u}(e),(0,v.createElement)(Ft,null,function({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:n}){return n?(0,v.createElement)(T.SvgIcon,{icon:"loading-spinner"}):(0,v.createElement)(T.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:m,toggleAction:g,isLoading:l})))}zt.propTypes={rowData:x().object},Yt.propTypes={rowData:x().object,keyphrase:x().string.isRequired,onTrackKeyphrase:x().func,onUntrackKeyphrase:x().func,isFocusKeyphrase:x().bool,isDisabled:x().bool,isLoading:x().bool,websiteId:x().string,isSelected:x().bool.isRequired,onSelectKeyphrases:x().func.isRequired},Yt.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const Ut=(0,S.makeOutboundLink)(),Vt=R().span` display: block; font-style: italic; @@ -297,12 +297,12 @@ } `,Jt=R().th` padding-left: 2px !important; -`,Qt=e=>{const t=(0,k.useRef)();return(0,k.useEffect)((()=>{t.current=e})),t.current},Xt=(0,c.debounce)((async function(e=null,t=null,s=null,r){return await wt({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:r})}),500,{leading:!0}),es=e=>{const{addTrackedKeyphrase:t,isLoggedIn:s,keyphrases:r,permalink:n,removeTrackedKeyphrase:a,setKeyphraseLimitReached:o,setRequestFailed:i,setRequestSucceeded:l,setTrackedKeyphrases:u,setHasTrackedAll:p,trackAll:m,trackedKeyphrases:h,isNewlyAuthenticated:g,websiteId:y,focusKeyphrase:f,newRequest:b,startAt:w,selectedKeyphrases:E,onSelectKeyphrases:R}=e,_=(0,k.useRef)(),x=(0,k.useRef)(),S=(0,k.useRef)(!1),[C,I]=(0,k.useState)([]),L=(0,k.useCallback)((e=>{const t=e.toLowerCase();return h&&!(0,c.isEmpty)(h)&&h.hasOwnProperty(t)?h[t]:null}),[h]),q=(0,k.useMemo)((()=>async()=>{await bt((()=>(x.current&&x.current.abort(),x.current="undefined"==typeof AbortController?null:new AbortController,Xt(r,w,n,x.current.signal))),(e=>{l(e),u(e.results)}),(e=>{i(e)}))}),[l,i,u,r,n,w]),P=(0,k.useCallback)((async e=>{const s=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));I((e=>[...e,...s])),await bt((()=>vt(s)),(e=>{l(e),t(e.results),q()}),(e=>{400===e.status&&e.limit&&o(e.limit),i(e)}),201),I((e=>(0,c.without)(e,...s)))}),[l,i,o,t,q]),A=(0,k.useCallback)((async(e,t)=>{e=e.toLowerCase(),I((t=>[...t,e])),await bt((()=>async function(e){return await wt({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{l(t),a(e)}),(e=>{i(e)})),I((t=>(0,c.without)(t,e)))}),[l,a,i]),N=(0,k.useCallback)((async e=>{b(),await P(e)}),[b,P]),M=Qt(n),O=Qt(r),B=Qt(w),K=n&&w;(0,k.useEffect)((()=>{s&&K&&(n!==M||(0,c.difference)(r,O).length||w!==B)&&q()}),[s,n,M,r,O,q,K,w,B]),(0,k.useEffect)((()=>{if(s&&m&&null!==h){const e=r.filter((e=>!L(e)));e.length&&P(e),p()}}),[s,m,h,P,p,L,r]),(0,k.useEffect)((()=>{g&&!S.current&&(q(),S.current=!0)}),[g,q]),(0,k.useEffect)((()=>{if(s&&!(0,c.isEmpty)(h))return(0,c.filter)(h,(e=>(0,c.isEmpty)(e.updated_at))).length>0&&(_.current=setInterval((()=>{q()}),1e4)),()=>{clearInterval(_.current)}}),[s,h,q]);const F=s&&null===h,D=(0,k.useMemo)((()=>(0,c.isEmpty)(h)?[]:Object.values(h).filter((e=>{var t;return!(0,c.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[h]),$=(0,k.useMemo)((()=>E.length>0&&D.length>0&&D.every((e=>E.includes(e)))),[E,D]),H=(0,k.useCallback)((()=>{R($?[]:D)}),[R,$,D]),W=(0,k.useMemo)((()=>(0,c.orderBy)(r,[e=>Object.values(h||{}).map((e=>e.keyword)).includes(e)],["desc"])),[r,h]);return r&&!(0,c.isEmpty)(r)&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)(Gt,null,(0,v.createElement)("table",{className:"yoast yoast-table"},(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,(0,v.createElement)(Zt,{isDisabled:0===D.length},(0,v.createElement)(T.Checkbox,{id:"select-all",onChange:H,checked:$,label:""})),(0,v.createElement)(Jt,{scope:"col",abbr:(0,d.__)("Keyphrase","wordpress-seo")},(0,d.__)("Keyphrase","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Position","wordpress-seo")},(0,d.__)("Position","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Position over time","wordpress-seo")},(0,d.__)("Position over time","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Last updated","wordpress-seo")},(0,d.__)("Last updated","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Tracking","wordpress-seo")},(0,d.__)("Tracking","wordpress-seo")))),(0,v.createElement)("tbody",null,W.map(((e,t)=>(0,v.createElement)(Yt,{key:`trackable-keyphrase-${t}`,keyphrase:e,onTrackKeyphrase:N,onUntrackKeyphrase:A,rowData:L(e),isFocusKeyphrase:e===f.trim().toLowerCase(),websiteId:y,isDisabled:!s,isLoading:F||C.indexOf(e.toLowerCase())>=0,isSelected:E.includes(e),onSelectKeyphrases:R})))))),(0,v.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,v.createElement)(Ut,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,d.sprintf)(/* translators: %s expands to Wincher */ -(0,d.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,v.createElement)(Vt,null,(0,d.__)("* focus keyphrase","wordpress-seo"))))};es.propTypes={addTrackedKeyphrase:x().func.isRequired,isLoggedIn:x().bool,isNewlyAuthenticated:x().bool,keyphrases:x().array,newRequest:x().func.isRequired,removeTrackedKeyphrase:x().func.isRequired,setRequestFailed:x().func.isRequired,setKeyphraseLimitReached:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setTrackedKeyphrases:x().func.isRequired,setHasTrackedAll:x().func.isRequired,trackAll:x().bool,trackedKeyphrases:x().object,websiteId:x().string,permalink:x().string.isRequired,focusKeyphrase:x().string,startAt:x().string,selectedKeyphrases:x().arrayOf(x().string).isRequired,onSelectKeyphrases:x().func.isRequired},es.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const ts=es,ss=(0,me.compose)([(0,he.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:r,getWincherPermalink:n,getFocusKeyphrase:a,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:a(),keyphrases:s(),isLoggedIn:r(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:n()}})),(0,he.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:r,setWincherSetKeyphraseLimitReached:n,setWincherTrackedKeyphrases:a,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{r(e)},setKeyphraseLimitReached:e=>{n(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{a(e)},setHasTrackedAll:()=>{i(!1)}}}))])(ts),rs=(0,S.makeOutboundLink)(),ns=(0,S.makeOutboundLink)(),as=()=>{const e=(0,d.sprintf)((0,d.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ -"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,v.createElement)("p",null,(0,mt.Z)({mixedString:e,components:{wincherLink:(0,v.createElement)(rs,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,v.createElement)(ns,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,d.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},os=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),is=()=>(0,v.createElement)(T.Alert,{type:"info"},(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,d.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class ls{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,r=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,r.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:r}=e;r===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const cs=e=>{const t=(0,d.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ +`,Qt=e=>{const t=(0,k.useRef)();return(0,k.useEffect)((()=>{t.current=e})),t.current},Xt=(0,c.debounce)((async function(e=null,t=null,s=null,n){return await wt({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:n})}),500,{leading:!0}),es=e=>{const{addTrackedKeyphrase:t,isLoggedIn:s,keyphrases:n,permalink:r,removeTrackedKeyphrase:a,setKeyphraseLimitReached:o,setRequestFailed:i,setRequestSucceeded:l,setTrackedKeyphrases:u,setHasTrackedAll:p,trackAll:m,trackedKeyphrases:h,isNewlyAuthenticated:g,websiteId:y,focusKeyphrase:f,newRequest:b,startAt:w,selectedKeyphrases:E,onSelectKeyphrases:R}=e,_=(0,k.useRef)(),x=(0,k.useRef)(),S=(0,k.useRef)(!1),[C,I]=(0,k.useState)([]),L=(0,k.useCallback)((e=>{const t=e.toLowerCase();return h&&!(0,c.isEmpty)(h)&&h.hasOwnProperty(t)?h[t]:null}),[h]),q=(0,k.useMemo)((()=>async()=>{await bt((()=>(x.current&&x.current.abort(),x.current="undefined"==typeof AbortController?null:new AbortController,Xt(n,w,r,x.current.signal))),(e=>{l(e),u(e.results)}),(e=>{i(e)}))}),[l,i,u,n,r,w]),P=(0,k.useCallback)((async e=>{const s=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));I((e=>[...e,...s])),await bt((()=>vt(s)),(e=>{l(e),t(e.results),q()}),(e=>{400===e.status&&e.limit&&o(e.limit),i(e)}),201),I((e=>(0,c.without)(e,...s)))}),[l,i,o,t,q]),A=(0,k.useCallback)((async(e,t)=>{e=e.toLowerCase(),I((t=>[...t,e])),await bt((()=>async function(e){return await wt({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{l(t),a(e)}),(e=>{i(e)})),I((t=>(0,c.without)(t,e)))}),[l,a,i]),N=(0,k.useCallback)((async e=>{b(),await P(e)}),[b,P]),M=Qt(r),O=Qt(n),B=Qt(w),K=r&&w;(0,k.useEffect)((()=>{s&&K&&(r!==M||(0,c.difference)(n,O).length||w!==B)&&q()}),[s,r,M,n,O,q,K,w,B]),(0,k.useEffect)((()=>{if(s&&m&&null!==h){const e=n.filter((e=>!L(e)));e.length&&P(e),p()}}),[s,m,h,P,p,L,n]),(0,k.useEffect)((()=>{g&&!S.current&&(q(),S.current=!0)}),[g,q]),(0,k.useEffect)((()=>{if(s&&!(0,c.isEmpty)(h))return(0,c.filter)(h,(e=>(0,c.isEmpty)(e.updated_at))).length>0&&(_.current=setInterval((()=>{q()}),1e4)),()=>{clearInterval(_.current)}}),[s,h,q]);const F=s&&null===h,D=(0,k.useMemo)((()=>(0,c.isEmpty)(h)?[]:Object.values(h).filter((e=>{var t;return!(0,c.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[h]),$=(0,k.useMemo)((()=>E.length>0&&D.length>0&&D.every((e=>E.includes(e)))),[E,D]),H=(0,k.useCallback)((()=>{R($?[]:D)}),[R,$,D]),W=(0,k.useMemo)((()=>(0,c.orderBy)(n,[e=>Object.values(h||{}).map((e=>e.keyword)).includes(e)],["desc"])),[n,h]);return n&&!(0,c.isEmpty)(n)&&(0,v.createElement)(k.Fragment,null,(0,v.createElement)(Gt,null,(0,v.createElement)("table",{className:"yoast yoast-table"},(0,v.createElement)("thead",null,(0,v.createElement)("tr",null,(0,v.createElement)(Zt,{isDisabled:0===D.length},(0,v.createElement)(T.Checkbox,{id:"select-all",onChange:H,checked:$,label:""})),(0,v.createElement)(Jt,{scope:"col",abbr:(0,d.__)("Keyphrase","wordpress-seo")},(0,d.__)("Keyphrase","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Position","wordpress-seo")},(0,d.__)("Position","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Position over time","wordpress-seo")},(0,d.__)("Position over time","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Last updated","wordpress-seo")},(0,d.__)("Last updated","wordpress-seo")),(0,v.createElement)("th",{scope:"col",abbr:(0,d.__)("Tracking","wordpress-seo")},(0,d.__)("Tracking","wordpress-seo")))),(0,v.createElement)("tbody",null,W.map(((e,t)=>(0,v.createElement)(Yt,{key:`trackable-keyphrase-${t}`,keyphrase:e,onTrackKeyphrase:N,onUntrackKeyphrase:A,rowData:L(e),isFocusKeyphrase:e===f.trim().toLowerCase(),websiteId:y,isDisabled:!s,isLoading:F||C.indexOf(e.toLowerCase())>=0,isSelected:E.includes(e),onSelectKeyphrases:R})))))),(0,v.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,v.createElement)(Ut,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,d.sprintf)(/* translators: %s expands to Wincher */ +(0,d.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,v.createElement)(Vt,null,(0,d.__)("* focus keyphrase","wordpress-seo"))))};es.propTypes={addTrackedKeyphrase:x().func.isRequired,isLoggedIn:x().bool,isNewlyAuthenticated:x().bool,keyphrases:x().array,newRequest:x().func.isRequired,removeTrackedKeyphrase:x().func.isRequired,setRequestFailed:x().func.isRequired,setKeyphraseLimitReached:x().func.isRequired,setRequestSucceeded:x().func.isRequired,setTrackedKeyphrases:x().func.isRequired,setHasTrackedAll:x().func.isRequired,trackAll:x().bool,trackedKeyphrases:x().object,websiteId:x().string,permalink:x().string.isRequired,focusKeyphrase:x().string,startAt:x().string,selectedKeyphrases:x().arrayOf(x().string).isRequired,onSelectKeyphrases:x().func.isRequired},es.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const ts=es,ss=(0,me.compose)([(0,he.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:n,getWincherPermalink:r,getFocusKeyphrase:a,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:a(),keyphrases:s(),isLoggedIn:n(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:r()}})),(0,he.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:a,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{a(e)},setHasTrackedAll:()=>{i(!1)}}}))])(ts),ns=(0,S.makeOutboundLink)(),rs=(0,S.makeOutboundLink)(),as=()=>{const e=(0,d.sprintf)((0,d.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ +"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,v.createElement)("p",null,(0,mt.Z)({mixedString:e,components:{wincherLink:(0,v.createElement)(ns,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,v.createElement)(rs,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,d.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},os=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),is=()=>(0,v.createElement)(T.Alert,{type:"info"},(0,d.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,d.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class ls{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:n}=e;n===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const cs=e=>{const t=(0,d.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ (0,d.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,v.createElement)(T.Alert,{type:"error",className:e.className},(0,mt.Z)({mixedString:t,components:{reconnectToWincher:(0,v.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},(0,d.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,d.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};cs.propTypes={onReconnect:x().func.isRequired,className:x().string},cs.defaultProps={className:""};const us=cs,ds=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),ps=window.yoast["chart.js"],ms="label";function hs(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function gs(e,t){e.labels=t}function ys(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ms;const r=[];e.datasets=t.map((t=>{const n=e.datasets.find((e=>e[s]===t[s]));return n&&t.data&&!r.includes(n)?(r.push(n),Object.assign(n,t),n):{...t}}))}function fs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms;const s={labels:[],datasets:[]};return gs(s,e.labels),ys(s,e.datasets,t),s}function bs(e,t){const{height:s=150,width:r=300,redraw:n=!1,datasetIdKey:a,type:o,data:i,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...p}=e,m=(0,v.useRef)(null),h=(0,v.useRef)(),g=()=>{m.current&&(h.current=new ps.Chart(m.current,{type:o,data:fs(i,a),options:l&&{...l},plugins:c}),hs(t,h.current))},y=()=>{hs(t,null),h.current&&(h.current.destroy(),h.current=null)};return(0,v.useEffect)((()=>{!n&&h.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(h.current,l)}),[n,l]),(0,v.useEffect)((()=>{!n&&h.current&&gs(h.current.config.data,i.labels)}),[n,i.labels]),(0,v.useEffect)((()=>{!n&&h.current&&i.datasets&&ys(h.current.config.data,i.datasets,a)}),[n,i.datasets]),(0,v.useEffect)((()=>{h.current&&(n?(y(),setTimeout(g)):h.current.update(d))}),[n,l,i.labels,i.datasets,d]),(0,v.useEffect)((()=>{h.current&&(y(),setTimeout(g))}),[o]),(0,v.useEffect)((()=>(g(),()=>y())),[]),v.createElement("canvas",Object.assign({ref:m,role:"img",height:s,width:r},p),u)}const ws=(0,v.forwardRef)(bs);function vs(e,t){return ps.Chart.register(t),(0,v.forwardRef)(((t,s)=>v.createElement(ws,Object.assign({},t,{ref:s,type:e}))))}const ks=vs("line",ps.LineController),Es={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ps._adapters._date.override("function"==typeof pt()?{_id:"moment",formats:function(){return Es},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=pt()(e,t):e instanceof pt()||(e=pt()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return pt()(e).format(t)},add:function(e,t,s){return pt()(e).add(t,s).valueOf()},diff:function(e,t,s){return pt()(e).diff(pt()(t),s)},startOf:function(e,t,s){return e=pt()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return pt()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Rs=["top","right","bottom","left"];function _s(e,t,s){const r={};s=s?"-"+s:"";for(let n=0;n<4;n++){const a=Rs[n];r[a]=parseFloat(e[t+"-"+a+s])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),ps.Chart.register(ps.CategoryScale,ps.LineController,ps.LineElement,ps.PointElement,ps.LinearScale,ps.TimeScale,ps.Legend,ps.Tooltip);const xs=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Ts({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const r=(0,k.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,xs[t%xs.length]])))),[s]),n=e.map((e=>{const t=r[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,v.createElement)(ks,{height:100,data:{datasets:n},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:c.noop},tooltip:{enabled:!0,callbacks:{title:e=>pt()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}ps.Interaction.modes.xPoint=(e,t,s,r)=>{const n=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:r}=t,n=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),a="border-box"===n.boxSizing,o=_s(n,"padding"),i=_s(n,"border","width"),{x:l,y:c,box:u}=function(e,t){const s=e.touches,r=s&&s.length?s[0]:e,{offsetX:n,offsetY:a}=r;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(n,a,e.target))o=n,i=a;else{const e=t.getBoundingClientRect();o=r.clientX-e.left,i=r.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),d=o.left+(u&&i.left),p=o.top+(u&&i.top);var m;let{width:h,height:g}=t;return a&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-d)/h*s.width/r),y:Math.round((c-p)/g*s.height/r)}}(t,e);let a=[];if(ps.Interaction.evaluateInteractionItems(e,"x",n,((e,t,s)=>{e.inXRange(n.x,r)&&a.push({element:e,datasetIndex:t,index:s})})),0===a.length)return a;const o=a.reduce(((e,t)=>Math.abs(n.x-e.element.x)e.element.x===o)),a.some((e=>Math.abs(e.element.y-n.y)<10))?a:[]},Ts.propTypes={datasets:x().arrayOf(x().shape({label:x().string.isRequired,data:x().arrayOf(x().shape({datetime:x().string.isRequired,value:x().number.isRequired})).isRequired,selected:x().bool})).isRequired,isChartShown:x().bool.isRequired,keyphrases:x().array.isRequired};const Ss=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,v.createElement)(us,{onReconnect:t}):(0,v.createElement)(ft,null);Ss.propTypes={response:x().object.isRequired,onLogin:x().func.isRequired};const Cs=({isSuccess:e,response:t,allKeyphrasesMissRanking:s,onLogin:r,keyphraseLimitReached:n,limit:a})=>n?(0,v.createElement)(yt,{limit:a}):(0,c.isEmpty)(t)||e?s?(0,v.createElement)(At,null):null:(0,v.createElement)(Ss,{response:t,onLogin:r});Cs.propTypes={isSuccess:x().bool.isRequired,allKeyphrasesMissRanking:x().bool.isRequired,response:x().object,onLogin:x().func.isRequired,keyphraseLimitReached:x().bool.isRequired,limit:x().number.isRequired},Cs.defaultProps={response:{}};let Is=null;const Ls=async e=>{if(Is&&!Is.isClosed())return void Is.focus();const{url:t}=await async function(){return await wt({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Is=new ls(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:r,setRequestFailed:n,keyphrases:a,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await bt((()=>async function(e){const{code:t,websiteId:s}=e;return await wt({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),r(e);const l=(Array.isArray(a)?a:[a]).map((e=>e.toLowerCase()));await bt((()=>vt(l)),(e=>{r(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),n(e)}),201);const c=Is.getPopup();c&&c.close()}),(async e=>n(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Is.createPopup()},qs=e=>e.isLoggedIn?null:(0,v.createElement)("p",null,(0,v.createElement)(T.NewButton,{onClick:e.onLogin,variant:"primary"},(0,d.sprintf)(/* translators: %s expands to Wincher */ +(0,d.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};cs.propTypes={onReconnect:x().func.isRequired,className:x().string},cs.defaultProps={className:""};const us=cs,ds=()=>(0,v.createElement)(T.Alert,{type:"error"},(0,d.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),ps=window.yoast["chart.js"],ms="label";function hs(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function gs(e,t){e.labels=t}function ys(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ms;const n=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[s]===t[s]));return r&&t.data&&!n.includes(r)?(n.push(r),Object.assign(r,t),r):{...t}}))}function fs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms;const s={labels:[],datasets:[]};return gs(s,e.labels),ys(s,e.datasets,t),s}function bs(e,t){const{height:s=150,width:n=300,redraw:r=!1,datasetIdKey:a,type:o,data:i,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...p}=e,m=(0,v.useRef)(null),h=(0,v.useRef)(),g=()=>{m.current&&(h.current=new ps.Chart(m.current,{type:o,data:fs(i,a),options:l&&{...l},plugins:c}),hs(t,h.current))},y=()=>{hs(t,null),h.current&&(h.current.destroy(),h.current=null)};return(0,v.useEffect)((()=>{!r&&h.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(h.current,l)}),[r,l]),(0,v.useEffect)((()=>{!r&&h.current&&gs(h.current.config.data,i.labels)}),[r,i.labels]),(0,v.useEffect)((()=>{!r&&h.current&&i.datasets&&ys(h.current.config.data,i.datasets,a)}),[r,i.datasets]),(0,v.useEffect)((()=>{h.current&&(r?(y(),setTimeout(g)):h.current.update(d))}),[r,l,i.labels,i.datasets,d]),(0,v.useEffect)((()=>{h.current&&(y(),setTimeout(g))}),[o]),(0,v.useEffect)((()=>(g(),()=>y())),[]),v.createElement("canvas",Object.assign({ref:m,role:"img",height:s,width:n},p),u)}const ws=(0,v.forwardRef)(bs);function vs(e,t){return ps.Chart.register(t),(0,v.forwardRef)(((t,s)=>v.createElement(ws,Object.assign({},t,{ref:s,type:e}))))}const ks=vs("line",ps.LineController),Es={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ps._adapters._date.override("function"==typeof pt()?{_id:"moment",formats:function(){return Es},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=pt()(e,t):e instanceof pt()||(e=pt()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return pt()(e).format(t)},add:function(e,t,s){return pt()(e).add(t,s).valueOf()},diff:function(e,t,s){return pt()(e).diff(pt()(t),s)},startOf:function(e,t,s){return e=pt()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return pt()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Rs=["top","right","bottom","left"];function _s(e,t,s){const n={};s=s?"-"+s:"";for(let r=0;r<4;r++){const a=Rs[r];n[a]=parseFloat(e[t+"-"+a+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),ps.Chart.register(ps.CategoryScale,ps.LineController,ps.LineElement,ps.PointElement,ps.LinearScale,ps.TimeScale,ps.Legend,ps.Tooltip);const xs=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Ts({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const n=(0,k.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,xs[t%xs.length]])))),[s]),r=e.map((e=>{const t=n[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,v.createElement)(ks,{height:100,data:{datasets:r},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:c.noop},tooltip:{enabled:!0,callbacks:{title:e=>pt()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}ps.Interaction.modes.xPoint=(e,t,s,n)=>{const r=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,r=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),a="border-box"===r.boxSizing,o=_s(r,"padding"),i=_s(r,"border","width"),{x:l,y:c,box:u}=function(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:r,offsetY:a}=n;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(r,a,e.target))o=r,i=a;else{const e=t.getBoundingClientRect();o=n.clientX-e.left,i=n.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),d=o.left+(u&&i.left),p=o.top+(u&&i.top);var m;let{width:h,height:g}=t;return a&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-d)/h*s.width/n),y:Math.round((c-p)/g*s.height/n)}}(t,e);let a=[];if(ps.Interaction.evaluateInteractionItems(e,"x",r,((e,t,s)=>{e.inXRange(r.x,n)&&a.push({element:e,datasetIndex:t,index:s})})),0===a.length)return a;const o=a.reduce(((e,t)=>Math.abs(r.x-e.element.x)e.element.x===o)),a.some((e=>Math.abs(e.element.y-r.y)<10))?a:[]},Ts.propTypes={datasets:x().arrayOf(x().shape({label:x().string.isRequired,data:x().arrayOf(x().shape({datetime:x().string.isRequired,value:x().number.isRequired})).isRequired,selected:x().bool})).isRequired,isChartShown:x().bool.isRequired,keyphrases:x().array.isRequired};const Ss=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,v.createElement)(us,{onReconnect:t}):(0,v.createElement)(ft,null);Ss.propTypes={response:x().object.isRequired,onLogin:x().func.isRequired};const Cs=({isSuccess:e,response:t,allKeyphrasesMissRanking:s,onLogin:n,keyphraseLimitReached:r,limit:a})=>r?(0,v.createElement)(yt,{limit:a}):(0,c.isEmpty)(t)||e?s?(0,v.createElement)(At,null):null:(0,v.createElement)(Ss,{response:t,onLogin:n});Cs.propTypes={isSuccess:x().bool.isRequired,allKeyphrasesMissRanking:x().bool.isRequired,response:x().object,onLogin:x().func.isRequired,keyphraseLimitReached:x().bool.isRequired,limit:x().number.isRequired},Cs.defaultProps={response:{}};let Is=null;const Ls=async e=>{if(Is&&!Is.isClosed())return void Is.focus();const{url:t}=await async function(){return await wt({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Is=new ls(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:n,setRequestFailed:r,keyphrases:a,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await bt((()=>async function(e){const{code:t,websiteId:s}=e;return await wt({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),n(e);const l=(Array.isArray(a)?a:[a]).map((e=>e.toLowerCase()));await bt((()=>vt(l)),(e=>{n(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),r(e)}),201);const c=Is.getPopup();c&&c.close()}),(async e=>r(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Is.createPopup()},qs=e=>e.isLoggedIn?null:(0,v.createElement)("p",null,(0,v.createElement)(T.NewButton,{onClick:e.onLogin,variant:"primary"},(0,d.sprintf)(/* translators: %s expands to Wincher */ (0,d.__)("Connect with %s","wordpress-seo"),"Wincher")));qs.propTypes={isLoggedIn:x().bool.isRequired,onLogin:x().func.isRequired};const Ps=R().div` p { margin: 1em 0; @@ -320,5 +320,5 @@ margin-bottom: 14px; `,Os=R().div` margin: 8px 0; -`,Bs=pt().utc().startOf("day"),Ks=[{name:(0,d.__)("Last day","wordpress-seo"),value:pt()(Bs).subtract(1,"days").format(),defaultIndex:1},{name:(0,d.__)("Last week","wordpress-seo"),value:pt()(Bs).subtract(1,"week").format(),defaultIndex:2},{name:(0,d.__)("Last month","wordpress-seo"),value:pt()(Bs).subtract(1,"month").format(),defaultIndex:3},{name:(0,d.__)("Last year","wordpress-seo"),value:pt()(Bs).subtract(1,"year").format(),defaultIndex:0}],Fs=e=>{const{onSelect:t,selected:s,options:r,isLoggedIn:n}=e;return n?r.length<1?null:(0,v.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||r[0].value,onChange:t},r.map((e=>(0,v.createElement)("option",{key:e.name,value:e.value},e.name)))):null};Fs.propTypes={onSelect:x().func.isRequired,selected:x().object,options:x().array.isRequired,isLoggedIn:x().bool.isRequired};const Ds=e=>{const{trackedKeyphrases:t,isLoggedIn:s,keyphrases:r,shouldTrackAll:n,permalink:a,historyDaysLimit:o}=e;if(!a&&s)return(0,v.createElement)(ds,null);if(0===r.length)return(0,v.createElement)(os,null);const i=pt()(Bs).subtract(o,"days"),l=Ks.filter((e=>pt()(e.value).isSameOrAfter(i))),u=(0,c.orderBy)(l,(e=>e.defaultIndex),"desc")[0],[p,m]=(0,k.useState)(u),[h,g]=(0,k.useState)([]),y=h.length>0,f=(0,me.usePrevious)(t);(0,k.useEffect)((()=>{if(!(0,c.isEmpty)(t)&&(0,c.difference)(Object.keys(t),Object.keys(f||[])).length){const e=Object.values(t).map((e=>e.keyword));g(e)}}),[t,f]),(0,k.useEffect)((()=>{m(u)}),[null==u?void 0:u.name]);const b=(0,k.useCallback)((e=>{const t=Ks.find((t=>t.value===e.target.value));t&&m(t)}),[m]),w=(0,k.useMemo)((()=>(0,c.isEmpty)(h)||(0,c.isEmpty)(t)?[]:Object.values(t).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:h.includes(e.keyword)&&!(0,c.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[h,t]);return(0,v.createElement)(As,{isDisabled:!s},(0,v.createElement)("p",null,(0,d.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&n&&(0,v.createElement)(is,null),(0,v.createElement)(Ms,null,(0,v.createElement)(Fs,{selected:p,onSelect:b,options:l,isLoggedIn:s})),(0,v.createElement)(Os,null,(0,v.createElement)(Ts,{isChartShown:y,datasets:w,keyphrases:r})),(0,v.createElement)(ss,{startAt:null==p?void 0:p.value,selectedKeyphrases:h,onSelectKeyphrases:g,trackedKeyphrases:t}))};function $s(e){const{isNewlyAuthenticated:t,isLoggedIn:s}=e,r=(0,k.useCallback)((()=>{Ls(e)}),[Ls,e]),n=Tt(s);return(0,v.createElement)(Ps,null,t&&(0,v.createElement)(Pt,null),s&&(0,v.createElement)(qt,{trackingInfo:n}),(0,v.createElement)(Ns,null,(0,d.__)("SEO performance","wordpress-seo"),(0,v.createElement)(T.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] -/* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,v.createElement)(as,null),(0,v.createElement)(qs,{isLoggedIn:s,onLogin:r}),(0,v.createElement)(Cs,{...e,onLogin:r}),(0,v.createElement)(Ds,{...e,historyDaysLimit:(null==n?void 0:n.historyDays)||31}))}Ds.propTypes={trackedKeyphrases:x().object,keyphrases:x().array.isRequired,isLoggedIn:x().bool.isRequired,shouldTrackAll:x().bool.isRequired,permalink:x().string.isRequired,historyDaysLimit:x().number},$s.propTypes={trackedKeyphrases:x().object,addTrackedKeyphrase:x().func.isRequired,isLoggedIn:x().bool,isNewlyAuthenticated:x().bool,keyphrases:x().array,response:x().object,shouldTrackAll:x().bool,permalink:x().string,historyDaysLimit:x().number},$s.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const Hs=(0,me.compose)([(0,he.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:r,getWincherHistoryDaysLimit:n,getWincherLoginStatus:a,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:u,getWincherPermalink:d,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:u(),isLoggedIn:a(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:r(),response:i(),shouldTrackAll:p(),permalink:d(),historyDaysLimit:n()}})),(0,he.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:r,setWincherTrackingForKeyphrase:n,setWincherSetKeyphraseLimitReached:a,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{r(e)},addTrackedKeyphrase:e=>{n(e)},setKeyphraseLimitReached:e=>{a(e)},onAuthentication:(e,s,r)=>{t(r),o(e,s)}}}))])($s);function Ws(e,t,s,r){return new Promise(((n,a)=>{jQuery.ajax({type:e,url:t,beforeSend:s?e=>{e.setRequestHeader("X-WP-Nonce",s)}:null,data:r,dataType:"json",success:n,error:a})}))}let js,zs,Ys,Us;const Vs=/<(\/)?(\w+)\s*(\/)?>/g;function Gs(e,t,s,r,n){return{element:e,tokenStart:t,tokenLength:s,prevOffset:r,leadingTextStart:n,children:[]}}function Zs(){const e=js.length-zs;0!==e&&Ys.push(js.substring(zs,zs+e))}function Js(e){const{element:t,tokenStart:s,tokenLength:r,prevOffset:n,children:a}=e,o=Us[Us.length-1],i=js.substring(o.prevOffset,s);i&&o.children.push(i),o.children.push((0,k.cloneElement)(t,null,...a)),o.prevOffset=n||s+r}function Qs(e){const t=function(){const e=Vs.exec(js);if(null===e)return["no-more-tokens"];const t=e.index,[s,r,n,a]=e,o=s.length;return a?["self-closed",n,t,o]:r?["closer",n,t,o]:["opener",n,t,o]}(),[s,r,n,a]=t,o=Us.length,i=n>zs?zs:null;if(!e[r])return Zs(),!1;switch(s){case"no-more-tokens":if(0!==o){const{leadingTextStart:e,tokenStart:t}=Us.pop();Ys.push(js.substring(e,e+t))}return Zs(),!1;case"self-closed":return 0===o?(null!==i&&Ys.push(js.substring(i,n)),Ys.push(e[r]),zs=n+a,!0):(Js(Gs(e[r],n,a)),zs=n+a,!0);case"opener":return Us.push(Gs(e[r],n,a,n+a,i)),zs=n+a,!0;case"closer":if(1===o)return function(e){const{element:t,leadingTextStart:s,prevOffset:r,tokenStart:n,children:a}=Us.pop(),o=e?js.substring(r,e):js.substring(r);o&&a.push(o),null!==s&&Ys.push(js.substring(s,n)),Ys.push((0,k.cloneElement)(t,null,...a))}(n),zs=n+a,!0;const t=Us.pop(),s=js.substring(t.prevOffset,n);t.children.push(s),t.prevOffset=n+a;const l=Gs(t.element,t.tokenStart,t.tokenLength,n+a);return l.children=t.children,Js(l),zs=n+a,!0;default:return Zs(),!1}}function Xs(e,t="wpseoYoastJSL10n"){const s=(0,c.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===s?(0,d.setLocaleData)({"":{}},e):(0,d.setLocaleData)(s,e)}const er=window.wp.sanitize,tr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",sr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH";function rr(e,t,s="",r=!1){const n="string"==typeof t?(0,S.decodeHTML)(t):t;return{type:tr,name:e,value:n,label:s,hidden:r}}function nr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const{stripHTMLTags:ar}=S.strings,or=["slug","content","contentImage","snippetPreviewImageURL"];function ir(e,t){(0,c.forEach)(e,((e,s)=>{or.includes(s)||t.dispatch(rr(s,e))}))}function lr(e){if(!["ct_","cf_","pt_"].includes(e.substring(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function cr(e){return nr(e=lr(e))}function ur(e,t){return e.push({name:t.name,label:t.label||cr(t.name),value:t.value}),e}function dr(e,t="_"){return e.replace(/\s/g,t)}function pr(e){return{name:"cf_"+dr(e),label:nr(e+" (custom field)")}}function mr(e){const t=dr(e);return{name:"ct_"+t,label:nr(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:nr(e+" description (custom taxonomy)")}}function hr(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,c.forEach)(e.custom_taxonomies,((e,t)=>{const{name:r,label:n,descriptionName:a,descriptionLabel:o}=mr(t),i="string"==typeof e.name?(0,S.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,S.decodeHTML)(e.description):e.description;s[r]={value:i,label:n},s[a]={value:l,label:o}})),t.dispatch(function(e){return{type:sr,updatedVariables:e}}(s)),(0,c.omit)({...e},"custom_taxonomies")}function gr(e,t){return e.custom_fields?((0,c.forEach)(e.custom_fields,((e,s)=>{const{name:r,label:n}=pr(s);t.dispatch(rr(r,e,n))})),(0,c.omit)({...e},"custom_fields")):e}function yr(e,t=156){return(e=(e=(0,er.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const fr=function(e){const t=(0,c.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,c.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,c.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],c.identity);return{url:e.url,title:ar(t(e.title)),description:ar(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?ar(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:ar(s("data_page_title",e.title)),description:ar(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?ar(s("data_page_title",e.filteredSEOTitle)):""}};var br="score-text",wr="image yoast-logo svg",vr=jQuery;function kr(e,t,s=null){return null!==s?(0,c.get)(s,t,""):(0,c.get)(wpseoScriptData,`metabox.publish_box.labels.${e}.${t}`,"")}window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:u,getContentLocale:function(){const e=u();return(0,c.get)(e,"contentLocale","en_US")},getIndicatorForScore:function(e){return(0,c.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,d.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,d.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,d.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(p.interpreters.scoreToRating(e))},isZapierConnected:function(){const e=u();return 1===(0,c.get)(e,"zapierConnectedStatus",0)},isZapierIntegrationActive:function(){const e=u();return 1===(0,c.get)(e,"zapierIntegrationActive",0)},constants:e,refreshAnalysis:t},components:{HelpLink:V,TopLevelProviders:pe,higherorder:{withYoastSidebarPriority:e=>{const t=t=>{const{renderPriority:s,...r}=t;return(0,v.createElement)(e,{...r})};return t.propTypes={renderPriority:x().number},t}},contentAnalysis:{KeywordInput:W,mapResults:r},contexts:{location:{LocationContext:i.LocationContext,LocationProvider:i.LocationProvider,LocationConsumer:i.LocationConsumer}},SidebarItem:ue,SidebarCollapsible:le,MetaboxCollapsible:e=>(0,v.createElement)(G,{hasPadding:!0,hasSeparator:!0,...e}),Modal:X,portals:{Portal:re,ImageSelectPortal:ne,ScoreIconPortal:oe}},containers:{EditorModal:we,PersistentDismissableAlert:ve,Results:He,SEMrushRelatedKeyphrases:ut,WincherSEOPerformance:Hs},helpers:{ajaxHelper:n,createInterpolateElement:(e,t)=>{if(js=e,zs=0,Ys=[],Us=[],Vs.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,k.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(Qs(t));return(0,k.createElement)(k.Fragment,null,...Ys)},createWatcher:(e,t)=>{let s=e();return()=>{const r=e();(0,c.isEqual)(r,s)||(s=r,t((0,c.clone)(r)))}},isBlockEditor:function(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor},i18n:a,replacementVariableHelpers:o,publishBox:{updateScore:function(e,t,s=null){var r=vr("#"+e+"-score"),n=wr+" "+t;r.children(".image").attr("class",n);var a=kr(e,t,s);r.children("."+br).html(a)},createScoresInPublishBox:function(e,t,s=null){const r=vr("
",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),n=vr("",{class:br,html:kr(e,t,s)}),a=vr("").attr("class",wr+" na");r.append(a).append(n),vr("#yoast-seo-publishbox-section").append(r)},scrollToCollapsible:function(e){const t=vr("#wpadminbar"),s=vr(e);if(!t||!s)return;const r="fixed"===t.css("position")?t.height():0;vr([document.documentElement,document.body]).animate({scrollTop:s.offset().top-r},1e3),s.trigger("focus"),0===s.parent().siblings().length&&s.trigger("click")}},updateAdminBar:function(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)},updateTrafficLight:function(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),r=jQuery("#wpseo-traffic-light-desc"),n=e.className||"na";t.attr("class","yst-traffic-light "+n),s.attr("aria-describedby","wpseo-traffic-light-desc"),r.length>0?r.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}}}})()})(); \ No newline at end of file +`,Bs=pt().utc().startOf("day"),Ks=[{name:(0,d.__)("Last day","wordpress-seo"),value:pt()(Bs).subtract(1,"days").format(),defaultIndex:1},{name:(0,d.__)("Last week","wordpress-seo"),value:pt()(Bs).subtract(1,"week").format(),defaultIndex:2},{name:(0,d.__)("Last month","wordpress-seo"),value:pt()(Bs).subtract(1,"month").format(),defaultIndex:3},{name:(0,d.__)("Last year","wordpress-seo"),value:pt()(Bs).subtract(1,"year").format(),defaultIndex:0}],Fs=e=>{const{onSelect:t,selected:s,options:n,isLoggedIn:r}=e;return r?n.length<1?null:(0,v.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||n[0].value,onChange:t},n.map((e=>(0,v.createElement)("option",{key:e.name,value:e.value},e.name)))):null};Fs.propTypes={onSelect:x().func.isRequired,selected:x().object,options:x().array.isRequired,isLoggedIn:x().bool.isRequired};const Ds=e=>{const{trackedKeyphrases:t,isLoggedIn:s,keyphrases:n,shouldTrackAll:r,permalink:a,historyDaysLimit:o}=e;if(!a&&s)return(0,v.createElement)(ds,null);if(0===n.length)return(0,v.createElement)(os,null);const i=pt()(Bs).subtract(o,"days"),l=Ks.filter((e=>pt()(e.value).isSameOrAfter(i))),u=(0,c.orderBy)(l,(e=>e.defaultIndex),"desc")[0],[p,m]=(0,k.useState)(u),[h,g]=(0,k.useState)([]),y=h.length>0,f=(0,me.usePrevious)(t);(0,k.useEffect)((()=>{if(!(0,c.isEmpty)(t)&&(0,c.difference)(Object.keys(t),Object.keys(f||[])).length){const e=Object.values(t).map((e=>e.keyword));g(e)}}),[t,f]),(0,k.useEffect)((()=>{m(u)}),[null==u?void 0:u.name]);const b=(0,k.useCallback)((e=>{const t=Ks.find((t=>t.value===e.target.value));t&&m(t)}),[m]),w=(0,k.useMemo)((()=>(0,c.isEmpty)(h)||(0,c.isEmpty)(t)?[]:Object.values(t).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:h.includes(e.keyword)&&!(0,c.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[h,t]);return(0,v.createElement)(As,{isDisabled:!s},(0,v.createElement)("p",null,(0,d.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&r&&(0,v.createElement)(is,null),(0,v.createElement)(Ms,null,(0,v.createElement)(Fs,{selected:p,onSelect:b,options:l,isLoggedIn:s})),(0,v.createElement)(Os,null,(0,v.createElement)(Ts,{isChartShown:y,datasets:w,keyphrases:n})),(0,v.createElement)(ss,{startAt:null==p?void 0:p.value,selectedKeyphrases:h,onSelectKeyphrases:g,trackedKeyphrases:t}))};function $s(e){const{isNewlyAuthenticated:t,isLoggedIn:s}=e,n=(0,k.useCallback)((()=>{Ls(e)}),[Ls,e]),r=Tt(s);return(0,v.createElement)(Ps,null,t&&(0,v.createElement)(Pt,null),s&&(0,v.createElement)(qt,{trackingInfo:r}),(0,v.createElement)(Ns,null,(0,d.__)("SEO performance","wordpress-seo"),(0,v.createElement)(T.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] +/* translators: Hidden accessibility text. */,linkText:(0,d.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,v.createElement)(as,null),(0,v.createElement)(qs,{isLoggedIn:s,onLogin:n}),(0,v.createElement)(Cs,{...e,onLogin:n}),(0,v.createElement)(Ds,{...e,historyDaysLimit:(null==r?void 0:r.historyDays)||31}))}Ds.propTypes={trackedKeyphrases:x().object,keyphrases:x().array.isRequired,isLoggedIn:x().bool.isRequired,shouldTrackAll:x().bool.isRequired,permalink:x().string.isRequired,historyDaysLimit:x().number},$s.propTypes={trackedKeyphrases:x().object,addTrackedKeyphrase:x().func.isRequired,isLoggedIn:x().bool,isNewlyAuthenticated:x().bool,keyphrases:x().array,response:x().object,shouldTrackAll:x().bool,permalink:x().string,historyDaysLimit:x().number},$s.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const Hs=(0,me.compose)([(0,he.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:n,getWincherHistoryDaysLimit:r,getWincherLoginStatus:a,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:u,getWincherPermalink:d,shouldWincherAutomaticallyTrackAll:p}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:u(),isLoggedIn:a(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:n(),response:i(),shouldTrackAll:p(),permalink:d(),historyDaysLimit:r()}})),(0,he.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:n,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:a,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{n(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{a(e)},onAuthentication:(e,s,n)=>{t(n),o(e,s)}}}))])($s);function Ws(e,t,s,n){return new Promise(((r,a)=>{jQuery.ajax({type:e,url:t,beforeSend:s?e=>{e.setRequestHeader("X-WP-Nonce",s)}:null,data:n,dataType:"json",success:r,error:a})}))}let js,zs,Ys,Us;const Vs=/<(\/)?(\w+)\s*(\/)?>/g;function Gs(e,t,s,n,r){return{element:e,tokenStart:t,tokenLength:s,prevOffset:n,leadingTextStart:r,children:[]}}function Zs(){const e=js.length-zs;0!==e&&Ys.push(js.substring(zs,zs+e))}function Js(e){const{element:t,tokenStart:s,tokenLength:n,prevOffset:r,children:a}=e,o=Us[Us.length-1],i=js.substring(o.prevOffset,s);i&&o.children.push(i),o.children.push((0,k.cloneElement)(t,null,...a)),o.prevOffset=r||s+n}function Qs(e){const t=function(){const e=Vs.exec(js);if(null===e)return["no-more-tokens"];const t=e.index,[s,n,r,a]=e,o=s.length;return a?["self-closed",r,t,o]:n?["closer",r,t,o]:["opener",r,t,o]}(),[s,n,r,a]=t,o=Us.length,i=r>zs?zs:null;if(!e[n])return Zs(),!1;switch(s){case"no-more-tokens":if(0!==o){const{leadingTextStart:e,tokenStart:t}=Us.pop();Ys.push(js.substring(e,e+t))}return Zs(),!1;case"self-closed":return 0===o?(null!==i&&Ys.push(js.substring(i,r)),Ys.push(e[n]),zs=r+a,!0):(Js(Gs(e[n],r,a)),zs=r+a,!0);case"opener":return Us.push(Gs(e[n],r,a,r+a,i)),zs=r+a,!0;case"closer":if(1===o)return function(e){const{element:t,leadingTextStart:s,prevOffset:n,tokenStart:r,children:a}=Us.pop(),o=e?js.substring(n,e):js.substring(n);o&&a.push(o),null!==s&&Ys.push(js.substring(s,r)),Ys.push((0,k.cloneElement)(t,null,...a))}(r),zs=r+a,!0;const t=Us.pop(),s=js.substring(t.prevOffset,r);t.children.push(s),t.prevOffset=r+a;const l=Gs(t.element,t.tokenStart,t.tokenLength,r+a);return l.children=t.children,Js(l),zs=r+a,!0;default:return Zs(),!1}}function Xs(e,t="wpseoYoastJSL10n"){const s=(0,c.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===s?(0,d.setLocaleData)({"":{}},e):(0,d.setLocaleData)(s,e)}const en=window.wp.sanitize,tn="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",sn="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH";function nn(e,t,s="",n=!1){const r="string"==typeof t?(0,S.decodeHTML)(t):t;return{type:tn,name:e,value:r,label:s,hidden:n}}function rn(e){return e.charAt(0).toUpperCase()+e.slice(1)}const{stripHTMLTags:an}=S.strings,on=["slug","content","contentImage","snippetPreviewImageURL"];function ln(e,t){(0,c.forEach)(e,((e,s)=>{on.includes(s)||t.dispatch(nn(s,e))}))}function cn(e){if(!["ct_","cf_","pt_"].includes(e.substring(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function un(e){return rn(e=cn(e))}function dn(e,t){return e.push({name:t.name,label:t.label||un(t.name),value:t.value}),e}function pn(e,t="_"){return e.replace(/\s/g,t)}function mn(e){return{name:"cf_"+pn(e),label:rn(e+" (custom field)")}}function hn(e){const t=pn(e);return{name:"ct_"+t,label:rn(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:rn(e+" description (custom taxonomy)")}}function gn(e,t){if(!e.custom_taxonomies)return e;const s={};return(0,c.forEach)(e.custom_taxonomies,((e,t)=>{const{name:n,label:r,descriptionName:a,descriptionLabel:o}=hn(t),i="string"==typeof e.name?(0,S.decodeHTML)(e.name):e.name,l="string"==typeof e.description?(0,S.decodeHTML)(e.description):e.description;s[n]={value:i,label:r},s[a]={value:l,label:o}})),t.dispatch(function(e){return{type:sn,updatedVariables:e}}(s)),(0,c.omit)({...e},"custom_taxonomies")}function yn(e,t){return e.custom_fields?((0,c.forEach)(e.custom_fields,((e,s)=>{const{name:n,label:r}=mn(s);t.dispatch(nn(n,e,r))})),(0,c.omit)({...e},"custom_fields")):e}function fn(e,t=156){return(e=(e=(0,en.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const bn=function(e){const t=(0,c.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,c.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,c.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],c.identity);return{url:e.url,title:an(t(e.title)),description:an(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?an(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:an(s("data_page_title",e.title)),description:an(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?an(s("data_page_title",e.filteredSEOTitle)):""}};var wn="score-text",vn="image yoast-logo svg",kn=jQuery;function En(e,t,s=null){return null!==s?(0,c.get)(s,t,""):(0,c.get)(wpseoScriptData,`metabox.publish_box.labels.${e}.${t}`,"")}window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:u,getContentLocale:function(){const e=u();return(0,c.get)(e,"contentLocale","en_US")},getIndicatorForScore:function(e){return(0,c.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,d.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,d.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,d.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,d.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,d.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(p.interpreters.scoreToRating(e))},isZapierConnected:function(){const e=u();return 1===(0,c.get)(e,"zapierConnectedStatus",0)},isZapierIntegrationActive:function(){const e=u();return 1===(0,c.get)(e,"zapierIntegrationActive",0)},constants:e,refreshAnalysis:t},components:{HelpLink:V,TopLevelProviders:pe,higherorder:{withYoastSidebarPriority:e=>{const t=t=>{const{renderPriority:s,...n}=t;return(0,v.createElement)(e,{...n})};return t.propTypes={renderPriority:x().number},t}},contentAnalysis:{KeywordInput:W,mapResults:n},contexts:{location:{LocationContext:i.LocationContext,LocationProvider:i.LocationProvider,LocationConsumer:i.LocationConsumer}},SidebarItem:ue,SidebarCollapsible:le,MetaboxCollapsible:e=>(0,v.createElement)(G,{hasPadding:!0,hasSeparator:!0,...e}),Modal:X,portals:{Portal:ne,ImageSelectPortal:re,ScoreIconPortal:oe}},containers:{EditorModal:we,PersistentDismissableAlert:ve,Results:He,SEMrushRelatedKeyphrases:ut,WincherSEOPerformance:Hs},helpers:{ajaxHelper:r,createInterpolateElement:(e,t)=>{if(js=e,zs=0,Ys=[],Us=[],Vs.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,k.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(Qs(t));return(0,k.createElement)(k.Fragment,null,...Ys)},createWatcher:(e,t)=>{let s=e();return()=>{const n=e();(0,c.isEqual)(n,s)||(s=n,t((0,c.clone)(n)))}},isBlockEditor:function(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor},i18n:a,replacementVariableHelpers:o,publishBox:{updateScore:function(e,t,s=null){var n=kn("#"+e+"-score"),r=vn+" "+t;n.children(".image").attr("class",r);var a=En(e,t,s);n.children("."+wn).html(a)},createScoresInPublishBox:function(e,t,s=null){const n=kn("
",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),r=kn("",{class:wn,html:En(e,t,s)}),a=kn("").attr("class",vn+" na");n.append(a).append(r),kn("#yoast-seo-publishbox-section").append(n)},scrollToCollapsible:function(e){const t=kn("#wpadminbar"),s=kn(e);if(!t||!s)return;const n="fixed"===t.css("position")?t.height():0;kn([document.documentElement,document.body]).animate({scrollTop:s.offset().top-n},1e3),s.trigger("focus"),0===s.parent().siblings().length&&s.trigger("click")}},updateAdminBar:function(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)},updateTrafficLight:function(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),r=e.className||"na";t.attr("class","yst-traffic-light "+r),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}}}})()})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/elementor.js b/wp/wp-content/plugins/wordpress-seo/js/dist/elementor.js index 527886ff..09ecb4f9 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/elementor.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/elementor.js @@ -1,26 +1,26 @@ -(()=>{var e={6746:(e,t,s)=>{"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(s(9196)),n=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,d,p,u,m,h,g=[],y={};for(u=0;u "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=t[p.value],i=u;break}g.push(t[p.value])}else g.push(p.value);return s&&(d=function(e,t){var s,a,r=t[e],n=0;for(a=e+1;a{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{"use strict";var a=s(9196),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,n=s(7942),o=s(9179),i=s(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function u(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,a={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var s,a}function m(e,t,s,a){var n,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===r)return s(a,e,""===t?l+u(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{"use strict";function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{"use strict";e.exports=function(e,t,s,a,r,n,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,a,r,n,o,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{"use strict";var a=s(7942);e.exports=a},4530:(e,t)=>{var s;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function s(a){var r=t[a];if(void 0!==r)return r.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>Me,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>Oe,wistiaEmbedPermission:()=>De});var t={};s.r(t),s.d(t,{loadSnippetEditorData:()=>Ue,updateData:()=>Be});var a={};s.r(a),s.d(a,{getAnalysisData:()=>it});var r={};s.r(r),s.d(r,{authorFirstName:()=>ht,authorLastName:()=>gt,category:()=>bt,categoryTitle:()=>Et,currentDate:()=>yt,currentDay:()=>ft,currentMonth:()=>wt,currentYear:()=>_t,date:()=>vt,excerpt:()=>kt,focusKeyphrase:()=>xt,id:()=>St,modified:()=>Tt,name:()=>Rt,page:()=>Ct,pageNumber:()=>It,pageTotal:()=>Lt,permalink:()=>Pt,postContent:()=>At,postDay:()=>Mt,postMonth:()=>Ot,postTypeNamePlural:()=>Ft,postTypeNameSingular:()=>Nt,postYear:()=>Dt,primaryCategory:()=>qt,searchPhrase:()=>$t,separator:()=>Bt,siteDescription:()=>Ut,siteName:()=>Wt,tag:()=>zt,term404:()=>Kt,termDescription:()=>Ht,termHierarchy:()=>Yt,termTitle:()=>jt,title:()=>Vt,userDescription:()=>Gt});const n=window.wp.data,o=window.wp.hooks,i=window.wp.apiFetch;var l=s.n(i);async function c(e,t,s,a=200){try{const r=await e();return!!r&&(r.status===a?t(r):s(r))}catch(e){}}async function d(e){try{return await l()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const p=async()=>await c((async()=>await g()),(e=>e),(()=>!1)),u="wordproof/v1",m=async e=>{const{state:t,code:s}=e;return await d({path:`${u}/oauth/authenticate`,method:"POST",data:{state:t,code:s}})},h=async e=>{const{settings:t}=e;return await d({path:`${u}/settings`,method:"POST",data:{settings:t}})},g=async()=>await d({path:`${u}/oauth/destroy`,method:"POST"}),y=async e=>d({path:`${u}/posts/${e}/timestamp`,method:"POST"}),{get:f}=lodash,w=(e,t={})=>f(window,"wordproofSdk.data"+(e?`.${e}`:""),t),b=window.yoast.propTypes;var E=s.n(b);function _(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}const v=e=>{const{response:t,createSuccessNotice:s,createErrorNotice:a,postId:r}=e;if(null===t||200===t.status)return;const n={id:"wordproof-timestamp-notice"};t&&201===t.status?0===t.balance?(n.actions=[{label:w("translations.open_settings_button_text"),onClick:()=>{_("wordproof:open_settings")},variant:"link"}],a(w("translations.no_balance"),n)):(s(w("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),k(r,t.hash,a,n)):t.error&&("not_authenticated"===t.error?(n.type="snackbar",n.actions=[{label:w("translations.open_authentication_button_text"),onClick:()=>{_("wordproof:open_authentication")},variant:"link"}],a(w("translations.not_authenticated"),n)):a(w("translations.timestamp_failed"),n))},k=async(e,t,s,a)=>{setTimeout((async()=>{const r=await(async e=>d({path:`${u}/posts/${e}/timestamp/transaction/latest`,method:"GET"}))(e);r.hash!==t&&(a.type="snackbar",s(w("translations.webhook_failed"),a))}),1e4)};v.proptypes={timestampResponse:E().any.isRequired,createSuccessNotice:E().func.isRequired,createErrorNotice:E().func.isRequired,postId:E().number.isRequired};const{debounce:x}=lodash,{applyFilters:S}=wp.hooks,{dispatch:T}=wp.data;$e.modules.hookUI.Base;class R extends $e.modules.hookData.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function C(e,t){let s=null;t.actions&&(s=[],t.actions.forEach((e=>{s.push({name:"wordproof_notice_button",text:e.label,callback(){e.onClick()}})}))),window.elementor.notifications.showToast({message:e,buttons:s})}function I(e){!function(e,t,s){$e&&$e.hooks.registerDataAfter(new R("document/save/save","wordproof/timestamper",s))}(0,0,(()=>{window.setTimeout(e,1e3)}))}var L=s(9196),P=s.n(L);const A=window.wp.components,M=window.wp.element,O=window.wp.i18n,D=window.yoast.uiLibrary;E().string.isRequired;const F=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),N=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),q=({learnMoreLink:e,thumbnail:t,wistiaEmbedPermission:s,upsellLink:a,isProductCopy:r,title:n,upsellLabel:o,newToText:i,bundleNote:l})=>{const{onClose:c,initialFocus:d}=(0,D.useModalContext)(),p={a:(0,L.createElement)(W,{href:e,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,L.createElement)(N,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})};return(0,L.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},(0,L.createElement)("div",{className:"yst-relative yst-w-full"},(0,L.createElement)(he,{videoId:"vmrahpfjxp",thumbnail:t,wistiaEmbedPermission:s}),(0,L.createElement)(D.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),(0,L.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},(0,L.createElement)("span",{className:"yst-introduction-modal-uppercase"},i)),(0,L.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},(0,L.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},n),(0,L.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},r?(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ +(()=>{var e={6746:(e,t,s)=>{"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(s(9196)),n=i(s(9156)),o=i(s(6743));function i(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function c(e,t){var s,o,i,d,p,u,m,h,g=[],y={};for(u=0;u "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=t[p.value],i=u;break}g.push(t[p.value])}else g.push(p.value);return s&&(d=function(e,t){var s,a,r=t[e],n=0;for(a=e+1;a{"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},9156:(e,t,s)=>{"use strict";var a=s(9196),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,n=s(7942),o=s(9179),i=s(397),l=".",c=":",d="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function u(e,t){return e&&"object"==typeof e&&null!=e.key?(s=e.key,a={"=":"=0",":":"=2"},"$"+(""+s).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var s,a}function m(e,t,s,a){var n,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===r)return s(a,e,""===t?l+u(e,0):t),1;var h=0,g=""===t?l:t+c;if(Array.isArray(e))for(var y=0;y{"use strict";function t(e){return function(){return e}}var s=function(){};s.thatReturns=t,s.thatReturnsFalse=t(!1),s.thatReturnsTrue=t(!0),s.thatReturnsNull=t(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},9179:e=>{"use strict";e.exports=function(e,t,s,a,r,n,o,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[s,a,r,n,o,i],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},397:(e,t,s)=>{"use strict";var a=s(7942);e.exports=a},4530:(e,t)=>{var s;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";e.exports=window.React}},t={};function s(a){var r=t[a];if(void 0!==r)return r.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};s.r(e),s.d(e,{DISMISS_ALERT:()=>Me,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>Oe,wistiaEmbedPermission:()=>Fe});var t={};s.r(t),s.d(t,{loadSnippetEditorData:()=>Ue,updateData:()=>Be});var a={};s.r(a),s.d(a,{getAnalysisData:()=>it});var r={};s.r(r),s.d(r,{authorFirstName:()=>ht,authorLastName:()=>gt,category:()=>bt,categoryTitle:()=>Et,currentDate:()=>yt,currentDay:()=>ft,currentMonth:()=>wt,currentYear:()=>vt,date:()=>_t,excerpt:()=>kt,focusKeyphrase:()=>xt,id:()=>St,modified:()=>Tt,name:()=>Rt,page:()=>Ct,pageNumber:()=>It,pageTotal:()=>Lt,permalink:()=>Pt,postContent:()=>At,postDay:()=>Mt,postMonth:()=>Ot,postTypeNamePlural:()=>Dt,postTypeNameSingular:()=>Nt,postYear:()=>Ft,primaryCategory:()=>qt,searchPhrase:()=>$t,separator:()=>Bt,siteDescription:()=>Ut,siteName:()=>Wt,tag:()=>zt,term404:()=>Kt,termDescription:()=>Ht,termHierarchy:()=>Yt,termTitle:()=>jt,title:()=>Vt,userDescription:()=>Gt});const n=window.wp.data,o=window.wp.hooks,i=window.wp.apiFetch;var l=s.n(i);async function c(e,t,s,a=200){try{const r=await e();return!!r&&(r.status===a?t(r):s(r))}catch(e){}}async function d(e){try{return await l()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const p=async()=>await c((async()=>await g()),(e=>e),(()=>!1)),u="wordproof/v1",m=async e=>{const{state:t,code:s}=e;return await d({path:`${u}/oauth/authenticate`,method:"POST",data:{state:t,code:s}})},h=async e=>{const{settings:t}=e;return await d({path:`${u}/settings`,method:"POST",data:{settings:t}})},g=async()=>await d({path:`${u}/oauth/destroy`,method:"POST"}),y=async e=>d({path:`${u}/posts/${e}/timestamp`,method:"POST"}),{get:f}=lodash,w=(e,t={})=>f(window,"wordproofSdk.data"+(e?`.${e}`:""),t),b=window.yoast.propTypes;var E=s.n(b);function v(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}const _=e=>{const{response:t,createSuccessNotice:s,createErrorNotice:a,postId:r}=e;if(null===t||200===t.status)return;const n={id:"wordproof-timestamp-notice"};t&&201===t.status?0===t.balance?(n.actions=[{label:w("translations.open_settings_button_text"),onClick:()=>{v("wordproof:open_settings")},variant:"link"}],a(w("translations.no_balance"),n)):(s(w("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),k(r,t.hash,a,n)):t.error&&("not_authenticated"===t.error?(n.type="snackbar",n.actions=[{label:w("translations.open_authentication_button_text"),onClick:()=>{v("wordproof:open_authentication")},variant:"link"}],a(w("translations.not_authenticated"),n)):a(w("translations.timestamp_failed"),n))},k=async(e,t,s,a)=>{setTimeout((async()=>{const r=await(async e=>d({path:`${u}/posts/${e}/timestamp/transaction/latest`,method:"GET"}))(e);r.hash!==t&&(a.type="snackbar",s(w("translations.webhook_failed"),a))}),1e4)};_.proptypes={timestampResponse:E().any.isRequired,createSuccessNotice:E().func.isRequired,createErrorNotice:E().func.isRequired,postId:E().number.isRequired};const{debounce:x}=lodash,{applyFilters:S}=wp.hooks,{dispatch:T}=wp.data;$e.modules.hookUI.Base;class R extends $e.modules.hookData.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function C(e,t){let s=null;t.actions&&(s=[],t.actions.forEach((e=>{s.push({name:"wordproof_notice_button",text:e.label,callback(){e.onClick()}})}))),window.elementor.notifications.showToast({message:e,buttons:s})}function I(e){!function(e,t,s){$e&&$e.hooks.registerDataAfter(new R("document/save/save","wordproof/timestamper",s))}(0,0,(()=>{window.setTimeout(e,1e3)}))}var L=s(9196),P=s.n(L);const A=window.wp.components,M=window.wp.element,O=window.wp.i18n,F=window.yoast.uiLibrary;E().string.isRequired;const D=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),N=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),q=({learnMoreLink:e,thumbnail:t,wistiaEmbedPermission:s,upsellLink:a,isProductCopy:r,title:n,upsellLabel:o,newToText:i,bundleNote:l})=>{const{onClose:c,initialFocus:d}=(0,F.useModalContext)(),p={a:(0,L.createElement)(W,{href:e,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,L.createElement)(N,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})};return(0,L.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},(0,L.createElement)("div",{className:"yst-relative yst-w-full"},(0,L.createElement)(he,{videoId:"vmrahpfjxp",thumbnail:t,wistiaEmbedPermission:s}),(0,L.createElement)(F.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),(0,L.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},(0,L.createElement)("span",{className:"yst-introduction-modal-uppercase"},i)),(0,L.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},(0,L.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},n),(0,L.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},r?(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ (0,O.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for product titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),p):(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ -(0,O.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),p))),(0,L.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},(0,L.createElement)(D.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:a,target:"_blank",ref:d},(0,L.createElement)(F,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),o,(0,L.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ -(0,O.__)("(Opens in a new browser tab)","wordpress-seo")))),l,(0,L.createElement)(D.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:c},(0,O.__)("Close","wordpress-seo")))};q.propTypes={learnMoreLink:E().string.isRequired,upsellLink:E().string.isRequired,thumbnail:E().shape({src:E().string.isRequired,width:E().string,height:E().string}).isRequired,wistiaEmbedPermission:E().shape({value:E().bool.isRequired,status:E().string.isRequired,set:E().func.isRequired}).isRequired,title:E().string,upsellLabel:E().string,newToText:E().string,isProductCopy:E().bool,bundleNote:E().oneOfType([E().string,E().element])},q.defaultProps={title:(0,O.__)("Use AI to write your titles & meta descriptions!","wordpress-seo"),upsellLabel:(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ +(0,O.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),p))),(0,L.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},(0,L.createElement)(F.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:a,target:"_blank",ref:d},(0,L.createElement)(D,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),o,(0,L.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ +(0,O.__)("(Opens in a new browser tab)","wordpress-seo")))),l,(0,L.createElement)(F.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:c},(0,O.__)("Close","wordpress-seo")))};q.propTypes={learnMoreLink:E().string.isRequired,upsellLink:E().string.isRequired,thumbnail:E().shape({src:E().string.isRequired,width:E().string,height:E().string}).isRequired,wistiaEmbedPermission:E().shape({value:E().bool.isRequired,status:E().string.isRequired,set:E().func.isRequired}).isRequired,title:E().string,upsellLabel:E().string,newToText:E().string,isProductCopy:E().bool,bundleNote:E().oneOfType([E().string,E().element])},q.defaultProps={title:(0,O.__)("Use AI to write your titles & meta descriptions!","wordpress-seo"),upsellLabel:(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),newToText:(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ -(0,O.__)("New in %1$s","wordpress-seo"),"Yoast SEO Premium"),isProductCopy:!1,bundleNote:""};var $;function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1000 1000"},e),$||($=L.createElement("path",{fill:"#fff",d:"M500 0C223.9 0 0 223.9 0 500s223.9 500 500 500 500-223.9 500-500S776.1 0 500 0Zm87.2 412.4c0-21.9 4.3-40.2 13.1-54.4s24-27.1 45.9-38.2l10.1-4.9c17.8-9 22.4-16.7 22.4-26 0-11.1-9.5-19.1-25-19.1-18.3 0-32.2 9.5-41.8 28.9l-24.7-24.8c5.4-11.6 14.1-20.9 25.8-28.1a70.8 70.8 0 0 1 38.9-11.1c17.8 0 33.3 4.6 45.9 14.2s19.4 22.7 19.4 39.4c0 26.6-15 42.9-43.1 57.3l-15.7 8c-16.8 8.5-25.1 16-27.4 29.4h85.4v35.4H587.2Zm-82.1 373.3c-157.8 0-285.7-127.9-285.7-285.7s127.9-285.7 285.7-285.7a286.4 286.4 0 0 1 55.9 5.5l-55.9 116.9c-90 0-163.3 73.3-163.3 163.3s73.3 163.3 163.3 163.3a162.8 162.8 0 0 0 106.4-39.6l61.8 107.2a283.9 283.9 0 0 1-168.2 54.8ZM705 704.1l-70.7-122.5H492.9l70.7-122.4H705l70.7 122.4Z"}))),W=({href:e,children:t,...s})=>(0,L.createElement)(D.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e},t,(0,L.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ +(0,O.__)("New in %1$s","wordpress-seo"),"Yoast SEO Premium"),isProductCopy:!1,bundleNote:""};var $;function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1000 1000"},e),$||($=L.createElement("path",{fill:"#fff",d:"M500 0C223.9 0 0 223.9 0 500s223.9 500 500 500 500-223.9 500-500S776.1 0 500 0Zm87.2 412.4c0-21.9 4.3-40.2 13.1-54.4s24-27.1 45.9-38.2l10.1-4.9c17.8-9 22.4-16.7 22.4-26 0-11.1-9.5-19.1-25-19.1-18.3 0-32.2 9.5-41.8 28.9l-24.7-24.8c5.4-11.6 14.1-20.9 25.8-28.1a70.8 70.8 0 0 1 38.9-11.1c17.8 0 33.3 4.6 45.9 14.2s19.4 22.7 19.4 39.4c0 26.6-15 42.9-43.1 57.3l-15.7 8c-16.8 8.5-25.1 16-27.4 29.4h85.4v35.4H587.2Zm-82.1 373.3c-157.8 0-285.7-127.9-285.7-285.7s127.9-285.7 285.7-285.7a286.4 286.4 0 0 1 55.9 5.5l-55.9 116.9c-90 0-163.3 73.3-163.3 163.3s73.3 163.3 163.3 163.3a162.8 162.8 0 0 0 106.4-39.6l61.8 107.2a283.9 283.9 0 0 1-168.2 54.8ZM705 704.1l-70.7-122.5H492.9l70.7-122.4H705l70.7 122.4Z"}))),W=({href:e,children:t,...s})=>(0,L.createElement)(F.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e},t,(0,L.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ (0,O.__)("(Opens in a new browser tab)","wordpress-seo")));W.propTypes={href:E().string.isRequired,children:E().node},W.defaultProps={children:null};const z=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));var K,H,Y;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",id:"star-rating-half_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),K||(K=L.createElement("defs",null,L.createElement("style",null,".star-rating-half_svg__cls-1{fill:#fbbf24}"))),H||(H=L.createElement("path",{d:"M250 392.04 98.15 471.87l29-169.09L4.3 183.03l169.77-24.67L250 4.52l75.93 153.84 169.77 24.67-122.85 119.75 29 169.09L250 392.04z",className:"star-rating-half_svg__cls-1"})),Y||(Y=L.createElement("path",{d:"m250 9.04 73.67 149.27.93 1.88 2.08.3 164.72 23.94-119.19 116.19-1.51 1.47.36 2.07 28.14 164.06-147.34-77.46-1.86-1-1.86 1-147.34 77.46 28.14-164.06.36-2.07-1.51-1.47L8.6 184.43l164.72-23.9 2.08-.3.93-1.88L250 9.04m0-9-77.25 156.49L0 181.64l125 121.89-29.51 172L250 394.3l154.51 81.23-29.51-172 125-121.89-172.75-25.11L250 0Z",className:"star-rating-half_svg__cls-1"})),L.createElement("path",{d:"m500 181.64-172.75-25.11L250 0v394.3l154.51 81.23L375 303.48l125-121.84z",style:{fill:"#f3f4f6"}}));function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),L.createElement("path",{d:"m250 0 77.25 156.53L500 181.64 375 303.48l29.51 172.05L250 394.3 95.49 475.53 125 303.48 0 181.64l172.75-25.11L250 0z",style:{fill:"#fbbf24"}}));var Q,X,J,ee,te,se,ae,re,ne;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 500 500"},e),Q||(Q=L.createElement("path",{fill:"#a4286a",d:"M80 0h340a80 80 0 0 1 80 80v420H80a80 80 0 0 1-80-80V80A80 80 0 0 1 80 0z"})),X||(X=L.createElement("path",{fill:"#6c2548",d:"M437.61 2 155.89 500H500V80a80 80 0 0 0-62.39-78z"})),J||(J=L.createElement("path",{fill:"#fff",d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 0 1 0 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z"})),ee||(ee=L.createElement("circle",{cx:368.33,cy:124.68,r:97.34,fill:"#9fda4f",transform:"rotate(-45 368.335 124.68)"})),te||(te=L.createElement("path",{fill:"#77b227",d:"m416.2 39.93-95.74 169.51A97.34 97.34 0 1 0 416.2 39.93z"})),se||(se=L.createElement("path",{fill:"#fec228",d:"m294.78 254.75-.15-.08-.13-.07a63.6 63.6 0 0 0-62.56 110.76h.13a63.6 63.6 0 0 0 62.71-110.67z"})),ae||(ae=L.createElement("path",{fill:"#f49a00",d:"m294.5 254.59-62.56 110.76a63.6 63.6 0 1 0 62.56-110.76z"})),re||(re=L.createElement("path",{fill:"#ff4e47",d:"M222.31 450.07A38.16 38.16 0 0 0 203 416.83a38.18 38.18 0 1 0 19.41 33.27z"})),ne||(ne=L.createElement("path",{fill:"#ed261f",d:"m202.9 416.8-37.54 66.48a38.17 38.17 0 0 0 37.54-66.48z"}))),le=({link:e,linkProps:t,promotions:s})=>{const a=(0,M.useMemo)((()=>(0,O.__)("Use AI to generate titles and meta descriptions, automatically redirect deleted pages, get 24/7 support, and much, much more!","wordpress-seo")),[]),r=(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */ (0,O.__)("%1$sGet%2$s %3$s","wordpress-seo"),"","","Yoast SEO Premium"),{nowrap:(0,L.createElement)("span",{className:"yst-whitespace-nowrap"})}),n=s.includes("black-friday-2023-promotion"),o=(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s and %2$s expand to strong tags. */ -(0,O.__)("%1$sSAVE 30%%%2$s on your 12 month subscription","wordpress-seo"),"",""),{strong:(0,L.createElement)("strong",null)});return(0,L.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},(0,L.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none yst-relative yst-z-10 yst-mt-[-2.6rem]"},(0,L.createElement)(ie,null)),n&&(0,L.createElement)("div",{className:"sidebar__sale_banner_container"},(0,L.createElement)("div",{className:"sidebar__sale_banner"},(0,L.createElement)("span",{className:"banner_text"},(0,O.__)("BLACK FRIDAY - 30% OFF","wordpress-seo")))),(0,L.createElement)(D.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},r),(0,L.createElement)("p",{className:"yst-mt-2"},a),n&&(0,L.createElement)("div",{className:"yst-text-center yst-border-t-[1px] yst-border-white yst-italic yst-mt-3"},(0,L.createElement)("p",{className:"yst-text-[10px] yst-my-3 yst-mx-0"},o)),(0,L.createElement)(D.Button,{as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500",...t},(0,L.createElement)("span",null,n?(0,O.__)("Claim your 30% off now!","wordpress-seo"):r),(0,L.createElement)(z,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),(0,L.createElement)("p",{className:"yst-text-center yst-text-xs yst-mx-2 yst-font-light yst-leading-5 yst-mt-2"},(0,O.__)("Only $/€/£99 per year (ex VAT)","wordpress-seo"),(0,L.createElement)("br",null),(0,O.__)("30-day money back guarantee.","wordpress-seo")),(0,L.createElement)("hr",{className:"yst-border-t yst-border-primary-300 yst-my-4"}),(0,L.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},(0,L.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},(0,O.__)("Read reviews from real users","wordpress-seo")),(0,L.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},(0,L.createElement)(U,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)("span",{className:"yst-flex yst-gap-1"},(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(V,{className:"yst-w-5 yst-h-5"})),(0,L.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};le.propTypes={link:E().string.isRequired,linkProps:E().object,promotions:E().array},le.defaultProps={linkProps:{},promotions:[]},E().node.isRequired;const ce=window.yoast.reactHelmet,de="loading",pe="showPlay",ue="askPermission",me="isPlaying",he=({videoId:e,thumbnail:t,wistiaEmbedPermission:s})=>{const[a,r]=(0,M.useState)(s.value?me:pe),n=(0,M.useCallback)((()=>r(me)),[r]),o=(0,M.useCallback)((()=>{s.value?n():r(ue)}),[s.value,n,r]),i=(0,M.useCallback)((()=>r(pe)),[r]),l=(0,M.useCallback)((()=>{s.set(!0),n()}),[s.set,n]);return(0,L.createElement)(L.Fragment,null,s.value&&(0,L.createElement)(ce.Helmet,null,(0,L.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),(0,L.createElement)("div",{className:"yst-relative yst-w-full yst-h-0 yst-pt-[56.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white"},a===pe&&(0,L.createElement)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:o},(0,L.createElement)("img",{className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async",...t})),a===ue&&(0,L.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},(0,L.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},s.status===de&&(0,L.createElement)(D.Spinner,null),s.status!==de&&(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ -(0,O.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),(0,L.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},(0,L.createElement)(D.Button,{type:"button",variant:"secondary",onClick:i,disabled:s.status===de},(0,O.__)("Deny","wordpress-seo")),(0,L.createElement)(D.Button,{type:"button",variant:"primary",onClick:l,disabled:s.status===de},(0,O.__)("Allow","wordpress-seo")))),s.value&&a===me&&(0,L.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===e&&(0,L.createElement)(D.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,L.createElement)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`}))))};he.propTypes={videoId:E().string.isRequired,thumbnail:E().shape({src:E().string.isRequired,width:E().string,height:E().string}).isRequired,wistiaEmbedPermission:E().shape({value:E().bool.isRequired,status:E().string.isRequired,set:E().func.isRequired}).isRequired};const ge="yoast-seo/editor",ye=()=>{const e=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-learn-more")),[]),t=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell")),[]),s=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell-woo-seo-premium-bundle")),[]),a=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell-woo-seo")),[]),r=(0,n.useSelect)((e=>e(ge).getIsPremium()),[]),o=(0,n.useSelect)((e=>e(ge).getIsWooSeoUpsell()),[]),i=(0,n.useSelect)((e=>e(ge).getIsProduct()),[]),l=!(!o&&(!i||o||r)),c={isProductCopy:l,upsellLink:t};if(l){const e=(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium, %2$s expands to Yoast WooCommerce SEO. */ +(0,O.__)("%1$sSAVE 30%%%2$s on your 12 month subscription","wordpress-seo"),"",""),{strong:(0,L.createElement)("strong",null)});return(0,L.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},(0,L.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none yst-relative yst-z-10 yst-mt-[-2.6rem]"},(0,L.createElement)(ie,null)),n&&(0,L.createElement)("div",{className:"sidebar__sale_banner_container"},(0,L.createElement)("div",{className:"sidebar__sale_banner"},(0,L.createElement)("span",{className:"banner_text"},(0,O.__)("BLACK FRIDAY - 30% OFF","wordpress-seo")))),(0,L.createElement)(F.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},r),(0,L.createElement)("p",{className:"yst-mt-2"},a),n&&(0,L.createElement)("div",{className:"yst-text-center yst-border-t-[1px] yst-border-white yst-italic yst-mt-3"},(0,L.createElement)("p",{className:"yst-text-[10px] yst-my-3 yst-mx-0"},o)),(0,L.createElement)(F.Button,{as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500",...t},(0,L.createElement)("span",null,n?(0,O.__)("Claim your 30% off now!","wordpress-seo"):r),(0,L.createElement)(z,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),(0,L.createElement)("p",{className:"yst-text-center yst-text-xs yst-mx-2 yst-font-light yst-leading-5 yst-mt-2"},(0,O.__)("Only $/€/£99 per year (ex VAT)","wordpress-seo"),(0,L.createElement)("br",null),(0,O.__)("30-day money back guarantee.","wordpress-seo")),(0,L.createElement)("hr",{className:"yst-border-t yst-border-primary-300 yst-my-4"}),(0,L.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},(0,L.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},(0,O.__)("Read reviews from real users","wordpress-seo")),(0,L.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},(0,L.createElement)(U,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)("span",{className:"yst-flex yst-gap-1"},(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(Z,{className:"yst-w-5 yst-h-5"}),(0,L.createElement)(V,{className:"yst-w-5 yst-h-5"})),(0,L.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};le.propTypes={link:E().string.isRequired,linkProps:E().object,promotions:E().array},le.defaultProps={linkProps:{},promotions:[]},E().node.isRequired;const ce=window.yoast.reactHelmet,de="loading",pe="showPlay",ue="askPermission",me="isPlaying",he=({videoId:e,thumbnail:t,wistiaEmbedPermission:s})=>{const[a,r]=(0,M.useState)(s.value?me:pe),n=(0,M.useCallback)((()=>r(me)),[r]),o=(0,M.useCallback)((()=>{s.value?n():r(ue)}),[s.value,n,r]),i=(0,M.useCallback)((()=>r(pe)),[r]),l=(0,M.useCallback)((()=>{s.set(!0),n()}),[s.set,n]);return(0,L.createElement)(L.Fragment,null,s.value&&(0,L.createElement)(ce.Helmet,null,(0,L.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),(0,L.createElement)("div",{className:"yst-relative yst-w-full yst-h-0 yst-pt-[56.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white"},a===pe&&(0,L.createElement)("button",{type:"button",className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:o},(0,L.createElement)("img",{className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async",...t})),a===ue&&(0,L.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},(0,L.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},s.status===de&&(0,L.createElement)(F.Spinner,null),s.status!==de&&(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */ +(0,O.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),(0,L.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},(0,L.createElement)(F.Button,{type:"button",variant:"secondary",onClick:i,disabled:s.status===de},(0,O.__)("Deny","wordpress-seo")),(0,L.createElement)(F.Button,{type:"button",variant:"primary",onClick:l,disabled:s.status===de},(0,O.__)("Allow","wordpress-seo")))),s.value&&a===me&&(0,L.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===e&&(0,L.createElement)(F.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==e&&(0,L.createElement)("div",{className:`wistia_embed wistia_async_${e} videoFoam=true`}))))};he.propTypes={videoId:E().string.isRequired,thumbnail:E().shape({src:E().string.isRequired,width:E().string,height:E().string}).isRequired,wistiaEmbedPermission:E().shape({value:E().bool.isRequired,status:E().string.isRequired,set:E().func.isRequired}).isRequired};const ge="yoast-seo/editor",ye=()=>{const e=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-learn-more")),[]),t=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell")),[]),s=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell-woo-seo-premium-bundle")),[]),a=(0,n.useSelect)((e=>e(ge).selectLink("https://yoa.st/ai-generator-upsell-woo-seo")),[]),r=(0,n.useSelect)((e=>e(ge).getIsPremium()),[]),o=(0,n.useSelect)((e=>e(ge).getIsWooSeoUpsell()),[]),i=(0,n.useSelect)((e=>e(ge).getIsProduct()),[]),l=!(!o&&(!i||o||r)),c={isProductCopy:l,upsellLink:t};if(l){const e=(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium, %2$s expands to Yoast WooCommerce SEO. */ (0,O.__)("%1$s + %2$s","wordpress-seo"),"Yoast SEO Premium","Yoast WooCommerce SEO");c.newToText=(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium and Yoast WooCommerce SEO. */ (0,O.__)("New in %1$s","wordpress-seo"),e),c.title=(0,O.__)("Generate product titles & descriptions with AI!","wordpress-seo"),!r&&o&&(c.upsellLabel=`${(0,O.sprintf)(/* translators: %1$s expands to Woo Premium bundle. */ (0,O.__)("Unlock with the %1$s","wordpress-seo"),"Woo Premium bundle")}*`,c.bundleNote=(0,L.createElement)("div",{className:"yst-text-xs yst-text-slate-500 yst-mt-2"},`*${e}`),c.upsellLink=s),r&&(c.upsellLabel=(0,O.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),c.upsellLink=a)}const d=(0,n.useSelect)((e=>e(ge).selectImageLink("ai-generator-preview.png")),[]),p=(0,M.useMemo)((()=>({src:d,width:"432",height:"244"})),[d]),u=(0,n.useSelect)((e=>e(ge).selectWistiaEmbedPermissionValue()),[]),m=(0,n.useSelect)((e=>e(ge).selectWistiaEmbedPermissionStatus()),[]),{setWistiaEmbedPermission:h}=(0,n.useDispatch)(ge),g=(0,M.useMemo)((()=>({value:u,status:m,set:h})),[u,m,h]);return(0,L.createElement)(q,{learnMoreLink:e,thumbnail:p,wistiaEmbedPermission:g,...c})},fe=({fieldId:e})=>{const[t,,,s,a]=(0,D.useToggleState)(!1),r=(0,M.useCallback)((()=>{s()}),[s]),n=(0,M.useRef)(null);return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("button",{type:"button",id:`yst-replacevar__use-ai-button__${e}`,className:"yst-replacevar__use-ai-button-upsell",onClick:r},(0,O.__)("Use AI","wordpress-seo")),(0,L.createElement)(D.Modal,{className:"yst-introduction-modal",isOpen:t,onClose:a,initialFocus:n},(0,L.createElement)(D.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl yst-introduction-modal-panel"},(0,L.createElement)(ye,{onClose:a,focusElementRef:n}))))};fe.propTypes={fieldId:E().string.isRequired};const we="yoast-seo/editor",be=window.yoast.externals.redux,Ee=window.lodash,_e=window.yoast.reduxJsToolkit,ve=window.wp.url,ke="linkParams",xe=(0,_e.createSlice)({name:ke,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),Se=(xe.getInitialState,{selectLinkParam:(e,t,s={})=>(0,Ee.get)(e,`${ke}.${t}`,s),selectLinkParams:e=>(0,Ee.get)(e,ke,{})});Se.selectLink=(0,_e.createSelector)([Se.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,ve.addQueryArgs)(t,{...e,...s}))),xe.actions,xe.reducer;const Te=(0,_e.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,_e.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,Ee.omit)(e,t)}}),Re=(Te.getInitialState,Te.actions,Te.reducer,"pluginUrl"),Ce=(0,_e.createSlice)({name:Re,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),Ie=(Ce.getInitialState,{selectPluginUrl:e=>(0,Ee.get)(e,Re,"")});Ie.selectImageLink=(0,_e.createSelector)([Ie.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,Ee.trimEnd)(e,"/"),(0,Ee.trim)(t,"/"),(0,Ee.trimStart)(s,"/")].join("/"))),Ce.actions,Ce.reducer;const Le="wistiaEmbedPermission",Pe=(0,_e.createSlice)({name:Le,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Le}/request`,(e=>{e.status=de})),e.addCase(`${Le}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${Le}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,Ee.get)(t,"error.code",500),message:(0,Ee.get)(t,"error.message","Unknown")}}))}}),Ae=(Pe.getInitialState,Pe.actions,{[Le]:async({payload:e})=>l()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function Me({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function Oe({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}Pe.reducer;const De=Ae[Le];class Fe{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}static get slugElement(){return document.getElementById("yoast_wpseo_slug")}static get title(){return Fe.titleElement.value}static set title(e){Fe.titleElement.value=e}static get description(){return Fe.descriptionElement.value}static set description(e){Fe.descriptionElement.value=e}static get slug(){return Fe.slugElement.value}static set slug(e){Fe.slugElement.value=e}}const{UPDATE_DATA:Ne,LOAD_SNIPPET_EDITOR_DATA:qe}=be.actions;function Be(e){if(e.hasOwnProperty("title")){let t=e.title;e.title===(0,Ee.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),Fe.title=t}if(e.hasOwnProperty("description")){let t=e.description;e.description===(0,Ee.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(t=""),Fe.description=t}return e.hasOwnProperty("slug")&&(Fe.slug=e.slug),{type:Ne,data:e}}const Ue=()=>{const e=(0,Ee.get)(window,"wpseoScriptData.metabox.title_template",""),t=(0,Ee.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:qe,data:{title:Fe.title||e,description:Fe.description||t,slug:Fe.slug},templates:{title:e,description:t}}},We=window.yoast.helpers,ze="yoast-measurement-element";function Ke(e){let t=document.getElementById(ze);return t||(t=function(){const e=document.createElement("div");return e.id=ze,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}class He{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(t)||(0,Ee.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,a){if(!(0,Ee.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,Ee.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,Ee.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const r={callable:t,origin:s,priority:(0,Ee.isNumber)(a)?a:10};return(0,Ee.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(r),!0}_registerAssessment(e,t,s,a){return(0,Ee.isString)(t)?(0,Ee.isObject)(s)?(0,Ee.isString)(a)?(t=a+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+a+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+a+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+a+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let a=this.modifications[e];return!(0,Ee.isArray)(a)||a.length<1||(a=this._stripIllegalModifications(a),a.sort(((e,t)=>e.priority-t.priority)),(0,Ee.forEach)(a,(function(a){const r=a.callable(t,s);typeof r==typeof t?t=r:console.error("Modification with name "+e+" performed by plugin with name "+a.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,Ee.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,Ee.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,Ee.forEach)(this.plugins,(function(e,t){(0,Ee.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,Ee.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,Ee.isUndefined)(this.plugins[e])}}let Ye=null;const je=()=>{if(null===Ye){const e=(0,n.dispatch)("yoast-seo/editor").runAnalysis;Ye=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new He(e)}return Ye},Ve=e=>je()._ready(e),Ge=e=>je()._reloaded(e),Ze=(e,t,s,a)=>je()._registerModification(e,t,s,a),Qe=(e,t)=>je()._registerPlugin(e,t),Xe=(e,t,s)=>je().loaded?je()._applyModifications(e,t,s):t,{getBaseUrlFromSettings:Je,getContentLocale:et,getEditorDataContent:tt,getFocusKeyphrase:st,getSnippetEditorDescriptionWithTemplate:at,getSnippetEditorSlug:rt,getSnippetEditorTitleWithTemplate:nt,getDateFromSettings:ot}=be.selectors,it=e=>{let t=nt(e),s=at(e),a=rt(e);const r=Je(e);return t=We.strings.stripHTMLTags(Xe("data_page_title",t)),s=We.strings.stripHTMLTags(Xe("data_meta_desc",s)),a=a.trim().replace(/\s+/g,"-"),{text:tt(e),title:t,keyword:st(e),description:s,locale:et(e),titleWidth:Ke(t),slug:a,permalink:r+a,date:ot(e)}},lt=window.yoast.analysis;function ct(e,t){const{updateWordsToHighlight:s}=(0,n.dispatch)("yoast-seo/editor");e("morphology",new lt.Paper("",{keyword:t})).then((({result:{keyphraseForms:e}})=>{s((0,Ee.uniq)((0,Ee.flatten)(e)))})).catch((()=>{s([])}))}const dt=(0,Ee.debounce)(ct,500);function pt(){return(0,Ee.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}var ut=jQuery;function mt(e,t,s,a,r){this._scriptUrl=a,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=ut("#post_ID, [name=tag_ID]").val(),this._taxonomy=ut("[name=taxonomy]").val()||"",this._nonce=r,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}mt.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,Ee.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,Ee.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},mt.prototype.setKeyword=function(e){(0,Ee.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},mt.prototype.requestKeywordUsage=function(e){ut.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},mt.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,a=t.keyword_usage,r=t.post_types;a&&(0,Ee.isArray)(a)&&(this._keywordUsage[e]=a,this._usedKeywordsPostTypes[e]=r,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const ht={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},gt={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},yt={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},ft={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},wt={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},bt={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Et={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},_t={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},vt={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},kt={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},xt={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},St={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Tt={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Rt={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Ct={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},It={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},Lt={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Pt={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},At={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},Mt={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},Ot={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},Dt={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},Ft={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Nt={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},qt={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},$t={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},Bt={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Ut={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Wt={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},zt={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},Kt={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},Ht={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return(0,Ee.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Yt={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},jt={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Vt={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Gt={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")};var Zt={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Qt=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,Ee.defaults)(s,Zt)};Qt.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Qt.prototype.setSource=function(e){this.options.source=e},Qt.prototype.hasScope=function(){return!(0,Ee.isEmpty)(this.options.scope)},Qt.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Qt.prototype.inScope=function(e){return!this.hasScope()||(0,Ee.indexOf)(this.options.scope,e)>-1},Qt.prototype.hasAlias=function(){return!(0,Ee.isEmpty)(this.options.aliases)},Qt.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Qt.prototype.getAliases=function(){return this.options.aliases};const Xt=Qt,Jt="replaceVariablePlugin";let es=null,ts=null;const ss=e=>{["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((t=>{Ze(t,e,Jt,10)}))},as=(e="")=>{switch(""===e&&(e=(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},rs=e=>ss((t=>t.replace(new RegExp(e.placeholder,"g"),e.replacement))),ns=()=>{if(null===ts){ts=[];const e=(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===es&&(es=as().map((e=>null==r?void 0:r[e])).filter(Boolean)),es).forEach((t=>{const s=e.includes(t.name);ts.push({name:t.name,label:t.label,value:t.placeholder,hidden:s}),t.aliases.forEach((e=>{ts.push({name:e.name,label:e.label,value:e.placeholder,hidden:s})}))}))}return ts},os=e=>(0,Ee.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),is=()=>{const e=pt();return 1===(0,Ee.get)(e,"wordproofIntegrationActive",0)},ls=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},cs=()=>{ls("wordproof:open_authentication")},ds=500;function ps(){}function us(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function ms(){const e=pt();return(0,Ee.get)(e,"contentLocale","en_US")}function hs(){const e=pt();return!0===(0,Ee.get)(e,"contentAnalysisActive",!1)}function gs(){const e=pt();return!0===(0,Ee.get)(e,"keywordAnalysisActive",!1)}function ys(){const e=pt();return!0===(0,Ee.get)(e,"inclusiveLanguageAnalysisActive",!1)}const fs=window.yoast.featureFlag;const ws="yoastmark";function bs(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function Es(e,t,s){const a=e.dom;let r=e.getContent();if(r=lt.markers.removeMarks(r),(0,Ee.isEmpty)(s))return void e.setContent(r);r=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,Ee.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const a=e[s];bs(a,t)||(t=a.applyWithPosition(t))}return t}(s,r):function(e,t,s,a){const{fieldsToMark:r,selectedHTML:n}=lt.languageProcessing.getFieldsToMark(s,a);return(0,Ee.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=lt.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=lt.languageProcessing.normalizeHTML(t._properties.original)),r.length>0?n.forEach((e=>{const s=t.applyWithReplace(e);a=a.replace(e,s)})):a=t.applyWithReplace(a)})),a}(e,0,s,r),e.setContent(r),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const n=a.select(ws);(0,Ee.forEach)(n,(function(e){e.setAttribute("data-mce-bogus","1")}))}function _s(e){return window.test=e,Es.bind(null,e)}Ee.noop,Ee.noop,Ee.noop;const vs="content";function ks(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}window.wp.annotations;const xs=function(e){return(0,Ee.uniq)((0,Ee.flatten)(e.map((e=>{if(!(0,Ee.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Ss=window.wp.richText,Ts=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Rs}=lt.helpers.htmlEntities,Cs=e=>{let t=0;return(0,Ee.forEachRight)(e,(e=>{const[s]=e;let a=s.length;/^<\/?br/.test(s)&&(a-=1),t+=a})),t},Is="",Ls="",Ps='';function As(e,t,s,a,r){const n=a.clientId,o=(0,Ss.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,Ee.flatMap)(r,(s=>{let r;return r=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,a,r){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),n=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const a="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=a.length,blockEndOffset:t-=a.length}})(t,n,s);t=e.blockStartOffset,n=e.blockEndOffset}if(a.slice(t,n)===r.slice(t,n))return[{startOffset:t,endOffset:n}];const o=((e,t,s)=>{const a=s.slice(0,e),r=s.slice(0,t),n=((e,t,s,a)=>{const r=[...e.matchAll(Ts)];s-=Cs(r);const n=[...t.matchAll(Ts)];return{blockStartOffset:s,blockEndOffset:a-=Cs(n)}})(a,r,e,t),o=((e,t,s,a)=>{let r=[...e.matchAll(Rs)];return(0,Ee.forEachRight)(r,(e=>{const[,t]=e;s-=t.length})),r=[...t.matchAll(Rs)],(0,Ee.forEachRight)(r,(e=>{const[,t]=e;a-=t.length})),{blockStartOffset:s,blockEndOffset:a}})(a,r,e=n.blockStartOffset,t=n.blockEndOffset);return{blockStartOffset:e=o.blockStartOffset,blockEndOffset:t=o.blockEndOffset}})(t,n,a);return[{startOffset:o.blockStartOffset,endOffset:o.blockEndOffset}]}return[]}(s,n,a.name,e,o):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),a=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),r=function(e,t,s=!0){const a=[];if(0===e.length)return a;let r,n=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(r=e.indexOf(t,n))>-1;)a.push(r),n=r+t.length;return a}(e,s);if(0===r.length)return[];const n=function(e){let t=e.indexOf(Is);const s=t>=0;s||(t=e.indexOf(Ps));let a=null;const r=[];for(;t>=0;){if(a=(e=s?e.replace(Is,""):e.replace(Ps,"")).indexOf(Ls),a{r.forEach((a=>{const r=a+e.startOffset;let n=a+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(n=a+s.length),o.push({startOffset:r,endOffset:n})}))})),o}(o,s),r?r.map((e=>({...e,block:n,richTextIdentifier:t}))):[]}))}const Ms=e=>e[0].toUpperCase()+e.slice(1),Os=(e,t,s,a,r)=>(e=e.map((e=>{const n=`${e.id}-${r[0]}`,o=`${e.id}-${r[1]}`,i=Ms(r[0]),l=Ms(r[1]),c=e[`json${i}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),m=As(c,n,s,a,p),h=As(d,o,s,a,u);return m.concat(h)})),(0,Ee.flattenDeep)(e)),Ds="yoast";let Fs=[];const Ns={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function qs(){const e=Fs.shift();e&&((0,n.dispatch)("core/annotations").__experimentalAddAnnotation(e),$s())}function $s(){(0,Ee.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(qs,{timeout:1e3}):setTimeout(qs,150)}const Bs=(e,t)=>{return(0,Ee.flatMap)((s=e.name,Ns.hasOwnProperty(s)?Ns[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const a=t.attributes[e.key];return 0===a.length?[]:Os(a,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const a=t.attributes[e.key];if(a&&0===a.length)return[];const r=[];return"steps"===e.key&&r.push(Os(a,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),r.push(As(a,"description",e,t,s))),(0,Ee.flattenDeep)(r)})(s,e,t):function(e,t,s){const a=e.key,r=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,a);return As(r,a,e,t,s)}(s,e,t)));var s};function Us(e,t){return(0,Ee.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?Us(e.innerBlocks,t):[];return Bs(e,t).concat(s)}))}function Ws(e){Fs=[],(0,n.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Ds);const t=xs(e);if(0===e.length)return;let s=(0,n.select)("core/block-editor").getBlocks();var a;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),a=Us(s,e),Fs=a.map((e=>({blockClientId:e.block,source:Ds,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),$s()}function zs(e,t){let s;ks(vs)&&((0,Ee.isUndefined)(s)&&(s=_s(tinyMCE.get(vs))),s(e,t)),(0,n.select)("core/block-editor")&&(0,Ee.isFunction)((0,n.select)("core/block-editor").getBlocks)&&(0,n.select)("core/annotations")&&(0,Ee.isFunction)((0,n.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>_s(e))).forEach((s=>s(e,t)))}(e,t),Ws(t)),(0,o.doAction)("yoast.analysis.applyMarks",t)}function Ks(){const e=(0,n.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,n.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?Ee.noop:zs}const Hs=(0,Ee.debounce)((async function(e,t){const{text:s,...a}=t,r=new lt.Paper(s,a);try{const t=await e.analyze(r),{seo:s,readability:a,inclusiveLanguage:i}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),e.results=us(e.results),(0,n.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(r.getKeyword(),e.results),(0,n.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,r.getKeyword())}a&&(a.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),a.results=us(a.results),(0,n.dispatch)("yoast-seo/editor").setReadabilityResults(a.results),(0,n.dispatch)("yoast-seo/editor").setOverallReadabilityScore(a.score)),i&&(i.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),i.results=us(i.results),(0,n.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(i.results),(0,n.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(i.score)),(0,o.doAction)("yoast.analysis.run",t,{paper:r})}catch(e){}}),ds);function Ys(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,n.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const a=function(e){return e.title=Xe("data_page_title",e.title),e.title=Xe("title",e.title),e.description=Xe("data_meta_desc",e.description),e.text=Xe("content",e.text),e}(s);return(0,o.applyFilters)("yoast.analysis.data",a)}function js(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=(0,n.select)("yoast-seo/editor"),s=function(){const e=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,lt.createWorker)(e),s=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),a=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const r=t.innerHTML.slice(214),n=r.indexOf(","),o=r.slice(0,n-1);try{const e=JSON.parse(r.slice(n+1,-4));a.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:a}),new lt.AnalysisWorkerWrapper(t)}();s.initialize(function(e={}){let t={locale:ms(),contentAnalysisActive:hs(),keywordAnalysisActive:gs(),inclusiveLanguageAnalysisActive:ys(),defaultQueryParams:(0,Ee.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,Ee.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,fs.enabledFeatures)()};t=(0,Ee.merge)(t,e);const s=function(){const e=pt();return(0,Ee.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}();return(0,Ee.isUndefined)(s)||(0,Ee.isUndefined)(s.domain)||(t.translations=s),t}({useCornerstone:t(),marker:Ks()})).catch(ps),window.YoastSEO.analysis.applyMarks=(e,t)=>Ks()(e,t);let a=Ys(),r=t(),o=e();return(0,n.subscribe)((()=>{const n=t(),i=Ys(),l=e();if(n!==r)return r=n,a=i,void s.initialize({useCornerstone:n}).then((()=>Hs(s,i))).catch(ps);l===o&&!1!==(0,Ee.isEqual)(i,a)||(a=i,o=l,Hs(s,i))})),s}const Vs=window.yoast.styledComponents;var Gs=s.n(Vs);class Zs extends $e.modules.hookUI.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class Qs extends $e.modules.hookData.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function Xs(e,t,s){$e.hooks.registerUIAfter(new Zs(e,t,s))}function Js(e,t,s){$e.hooks.registerUIBefore(new Zs(e,t,s))}const ea=window.yoast.externals.contexts,ta=({theme:e,location:t,children:s})=>(0,L.createElement)(ea.LocationProvider,{value:t},(0,L.createElement)(Vs.ThemeProvider,{theme:e},s));ta.propTypes={theme:E().object.isRequired,location:E().oneOf(["sidebar","metabox","modal"]).isRequired,children:E().element.isRequired};const sa=ta,aa=[];let ra=null;class na extends M.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,L.createElement)(e,{key:t})))}}function oa(e,t){null===ra||null===ra.current?aa.push({key:e,Component:t}):ra.current.registerComponent(e,t)}const ia=({handleRefreshClick:e,supportLink:t})=>(0,L.createElement)("div",{className:"yst-flex yst-gap-2"},(0,L.createElement)(D.Button,{onClick:e},(0,O.__)("Refresh this page","wordpress-seo")),(0,L.createElement)(D.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener"},(0,O.__)("Contact support","wordpress-seo")));ia.propTypes={handleRefreshClick:E().func.isRequired,supportLink:E().string.isRequired};const la=({handleRefreshClick:e,supportLink:t})=>(0,L.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,L.createElement)(D.Button,{className:"yst-order-last",onClick:e},(0,O.__)("Refresh this page","wordpress-seo")),(0,L.createElement)(D.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener"},(0,O.__)("Contact support","wordpress-seo")));la.propTypes={handleRefreshClick:E().func.isRequired,supportLink:E().string.isRequired};const ca=({error:e,children:t})=>(0,L.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,L.createElement)(D.Title,null,(0,O.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,L.createElement)("p",null,(0,O.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,L.createElement)(D.Alert,{variant:"error"},(null==e?void 0:e.message)||(0,O.__)("Undefined error message.","wordpress-seo")),(0,L.createElement)("p",null,(0,O.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),t);ca.propTypes={error:E().object.isRequired,children:E().node},ca.VerticalButtons=la,ca.HorizontalButtons=ia;const da=({error:e})=>{const t=(0,M.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/elementor-error-support")),[]),a=(0,n.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,L.createElement)(D.Root,{context:{isRtl:a}},(0,L.createElement)(ca,{error:e},(0,L.createElement)(ca.VerticalButtons,{supportLink:s,handleRefreshClick:t})))};function pa(){return(0,L.createElement)(D.ErrorBoundary,{FallbackComponent:da},(0,L.createElement)(A.Slot,{name:"YoastElementor"},(e=>{return void 0===(t=e).length?t:(0,Ee.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t})))}da.propTypes={error:E().object.isRequired};const ua=window.wp.compose,ma=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),ha=()=>[(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),c.upsellLink=a)}const d=(0,n.useSelect)((e=>e(ge).selectImageLink("ai-generator-preview.png")),[]),p=(0,M.useMemo)((()=>({src:d,width:"432",height:"244"})),[d]),u=(0,n.useSelect)((e=>e(ge).selectWistiaEmbedPermissionValue()),[]),m=(0,n.useSelect)((e=>e(ge).selectWistiaEmbedPermissionStatus()),[]),{setWistiaEmbedPermission:h}=(0,n.useDispatch)(ge),g=(0,M.useMemo)((()=>({value:u,status:m,set:h})),[u,m,h]);return(0,L.createElement)(q,{learnMoreLink:e,thumbnail:p,wistiaEmbedPermission:g,...c})},fe=({fieldId:e})=>{const[t,,,s,a]=(0,F.useToggleState)(!1),r=(0,M.useCallback)((()=>{s()}),[s]),n=(0,M.useRef)(null);return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("button",{type:"button",id:`yst-replacevar__use-ai-button__${e}`,className:"yst-replacevar__use-ai-button-upsell",onClick:r},(0,O.__)("Use AI","wordpress-seo")),(0,L.createElement)(F.Modal,{className:"yst-introduction-modal",isOpen:t,onClose:a,initialFocus:n},(0,L.createElement)(F.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl yst-introduction-modal-panel"},(0,L.createElement)(ye,{onClose:a,focusElementRef:n}))))};fe.propTypes={fieldId:E().string.isRequired};const we="yoast-seo/editor",be=window.yoast.externals.redux,Ee=window.lodash,ve=window.yoast.reduxJsToolkit,_e=window.wp.url,ke="linkParams",xe=(0,ve.createSlice)({name:ke,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),Se=(xe.getInitialState,{selectLinkParam:(e,t,s={})=>(0,Ee.get)(e,`${ke}.${t}`,s),selectLinkParams:e=>(0,Ee.get)(e,ke,{})});Se.selectLink=(0,ve.createSelector)([Se.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,_e.addQueryArgs)(t,{...e,...s}))),xe.actions,xe.reducer;const Te=(0,ve.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,ve.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,Ee.omit)(e,t)}}),Re=(Te.getInitialState,Te.actions,Te.reducer,"pluginUrl"),Ce=(0,ve.createSlice)({name:Re,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),Ie=(Ce.getInitialState,{selectPluginUrl:e=>(0,Ee.get)(e,Re,"")});Ie.selectImageLink=(0,ve.createSelector)([Ie.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,Ee.trimEnd)(e,"/"),(0,Ee.trim)(t,"/"),(0,Ee.trimStart)(s,"/")].join("/"))),Ce.actions,Ce.reducer;const Le="wistiaEmbedPermission",Pe=(0,ve.createSlice)({name:Le,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Le}/request`,(e=>{e.status=de})),e.addCase(`${Le}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${Le}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,Ee.get)(t,"error.code",500),message:(0,Ee.get)(t,"error.message","Unknown")}}))}}),Ae=(Pe.getInitialState,Pe.actions,{[Le]:async({payload:e})=>l()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function Me({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function Oe({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}Pe.reducer;const Fe=Ae[Le];class De{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}static get slugElement(){return document.getElementById("yoast_wpseo_slug")}static get title(){return De.titleElement.value}static set title(e){De.titleElement.value=e}static get description(){return De.descriptionElement.value}static set description(e){De.descriptionElement.value=e}static get slug(){return De.slugElement.value}static set slug(e){De.slugElement.value=e}}const{UPDATE_DATA:Ne,LOAD_SNIPPET_EDITOR_DATA:qe}=be.actions;function Be(e){if(e.hasOwnProperty("title")){let t=e.title;e.title===(0,Ee.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),De.title=t}if(e.hasOwnProperty("description")){let t=e.description;e.description===(0,Ee.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(t=""),De.description=t}return e.hasOwnProperty("slug")&&(De.slug=e.slug),{type:Ne,data:e}}const Ue=()=>{const e=(0,Ee.get)(window,"wpseoScriptData.metabox.title_template",""),t=(0,Ee.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:qe,data:{title:De.title||e,description:De.description||t,slug:De.slug},templates:{title:e,description:t}}},We=window.yoast.helpers,ze="yoast-measurement-element";function Ke(e){let t=document.getElementById(ze);return t||(t=function(){const e=document.createElement("div");return e.id=ze,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}class He{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(t)||(0,Ee.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,Ee.isString)(e)?(0,Ee.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,a){if(!(0,Ee.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,Ee.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,Ee.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const r={callable:t,origin:s,priority:(0,Ee.isNumber)(a)?a:10};return(0,Ee.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(r),!0}_registerAssessment(e,t,s,a){return(0,Ee.isString)(t)?(0,Ee.isObject)(s)?(0,Ee.isString)(a)?(t=a+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+a+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+a+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+a+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let a=this.modifications[e];return!(0,Ee.isArray)(a)||a.length<1||(a=this._stripIllegalModifications(a),a.sort(((e,t)=>e.priority-t.priority)),(0,Ee.forEach)(a,(function(a){const r=a.callable(t,s);typeof r==typeof t?t=r:console.error("Modification with name "+e+" performed by plugin with name "+a.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,Ee.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,Ee.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,Ee.forEach)(this.plugins,(function(e,t){(0,Ee.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,Ee.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,Ee.isUndefined)(this.plugins[e])}}let Ye=null;const je=()=>{if(null===Ye){const e=(0,n.dispatch)("yoast-seo/editor").runAnalysis;Ye=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new He(e)}return Ye},Ve=e=>je()._ready(e),Ge=e=>je()._reloaded(e),Ze=(e,t,s,a)=>je()._registerModification(e,t,s,a),Qe=(e,t)=>je()._registerPlugin(e,t),Xe=(e,t,s)=>je().loaded?je()._applyModifications(e,t,s):t,{getBaseUrlFromSettings:Je,getContentLocale:et,getEditorDataContent:tt,getFocusKeyphrase:st,getSnippetEditorDescriptionWithTemplate:at,getSnippetEditorSlug:rt,getSnippetEditorTitleWithTemplate:nt,getDateFromSettings:ot}=be.selectors,it=e=>{let t=nt(e),s=at(e),a=rt(e);const r=Je(e);return t=We.strings.stripHTMLTags(Xe("data_page_title",t)),s=We.strings.stripHTMLTags(Xe("data_meta_desc",s)),a=a.trim().replace(/\s+/g,"-"),{text:tt(e),title:t,keyword:st(e),description:s,locale:et(e),titleWidth:Ke(t),slug:a,permalink:r+a,date:ot(e)}},lt=window.yoast.analysis;function ct(e,t){const{updateWordsToHighlight:s}=(0,n.dispatch)("yoast-seo/editor");e("morphology",new lt.Paper("",{keyword:t})).then((({result:{keyphraseForms:e}})=>{s((0,Ee.uniq)((0,Ee.flatten)(e)))})).catch((()=>{s([])}))}const dt=(0,Ee.debounce)(ct,500);function pt(){return(0,Ee.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}var ut=jQuery;function mt(e,t,s,a,r){this._scriptUrl=a,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=ut("#post_ID, [name=tag_ID]").val(),this._taxonomy=ut("[name=taxonomy]").val()||"",this._nonce=r,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}mt.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,Ee.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,Ee.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},mt.prototype.setKeyword=function(e){(0,Ee.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},mt.prototype.requestKeywordUsage=function(e){ut.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},mt.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,a=t.keyword_usage,r=t.post_types;a&&(0,Ee.isArray)(a)&&(this._keywordUsage[e]=a,this._usedKeywordsPostTypes[e]=r,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const ht={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},gt={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},yt={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},ft={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},wt={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},bt={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Et={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},vt={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},_t={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},kt={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},xt={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},St={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Tt={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Rt={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Ct={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},It={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},Lt={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Pt={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},At={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},Mt={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},Ot={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},Ft={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},Dt={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Nt={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},qt={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},$t={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},Bt={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Ut={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Wt={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},zt={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},Kt={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},Ht={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return(0,Ee.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Yt={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},jt={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Vt={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return(0,n.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Gt={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")};var Zt={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Qt=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,Ee.defaults)(s,Zt)};Qt.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Qt.prototype.setSource=function(e){this.options.source=e},Qt.prototype.hasScope=function(){return!(0,Ee.isEmpty)(this.options.scope)},Qt.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Qt.prototype.inScope=function(e){return!this.hasScope()||(0,Ee.indexOf)(this.options.scope,e)>-1},Qt.prototype.hasAlias=function(){return!(0,Ee.isEmpty)(this.options.aliases)},Qt.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Qt.prototype.getAliases=function(){return this.options.aliases};const Xt=Qt,Jt="replaceVariablePlugin";let es=null,ts=null;const ss=e=>{["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((t=>{Ze(t,e,Jt,10)}))},as=(e="")=>{switch(""===e&&(e=(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},rs=e=>ss((t=>t.replace(new RegExp(e.placeholder,"g"),e.replacement))),ns=()=>{if(null===ts){ts=[];const e=(0,Ee.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);(null===es&&(es=as().map((e=>null==r?void 0:r[e])).filter(Boolean)),es).forEach((t=>{const s=e.includes(t.name);ts.push({name:t.name,label:t.label,value:t.placeholder,hidden:s}),t.aliases.forEach((e=>{ts.push({name:e.name,label:e.label,value:e.placeholder,hidden:s})}))}))}return ts},os=e=>(0,Ee.get)(window,"wordproofSdk.data"+(e?`.${e}`:""),{}),is=()=>{const e=pt();return 1===(0,Ee.get)(e,"wordproofIntegrationActive",0)},ls=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},cs=()=>{ls("wordproof:open_authentication")},ds=500;function ps(){}function us(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function ms(){const e=pt();return(0,Ee.get)(e,"contentLocale","en_US")}function hs(){const e=pt();return!0===(0,Ee.get)(e,"contentAnalysisActive",!1)}function gs(){const e=pt();return!0===(0,Ee.get)(e,"keywordAnalysisActive",!1)}function ys(){const e=pt();return!0===(0,Ee.get)(e,"inclusiveLanguageAnalysisActive",!1)}const fs=window.yoast.featureFlag;const ws="yoastmark";function bs(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function Es(e,t,s){const a=e.dom;let r=e.getContent();if(r=lt.markers.removeMarks(r),(0,Ee.isEmpty)(s))return void e.setContent(r);r=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,Ee.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const a=e[s];bs(a,t)||(t=a.applyWithPosition(t))}return t}(s,r):function(e,t,s,a){const{fieldsToMark:r,selectedHTML:n}=lt.languageProcessing.getFieldsToMark(s,a);return(0,Ee.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=lt.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=lt.languageProcessing.normalizeHTML(t._properties.original)),r.length>0?n.forEach((e=>{const s=t.applyWithReplace(e);a=a.replace(e,s)})):a=t.applyWithReplace(a)})),a}(e,0,s,r),e.setContent(r),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const n=a.select(ws);(0,Ee.forEach)(n,(function(e){e.setAttribute("data-mce-bogus","1")}))}function vs(e){return window.test=e,Es.bind(null,e)}Ee.noop,Ee.noop,Ee.noop;const _s="content";function ks(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}window.wp.annotations;const xs=function(e){return(0,Ee.uniq)((0,Ee.flatten)(e.map((e=>{if(!(0,Ee.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Ss=window.wp.richText,Ts=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Rs}=lt.helpers.htmlEntities,Cs=e=>{let t=0;return(0,Ee.forEachRight)(e,(e=>{const[s]=e;let a=s.length;/^<\/?br/.test(s)&&(a-=1),t+=a})),t},Is="",Ls="",Ps='';function As(e,t,s,a,r){const n=a.clientId,o=(0,Ss.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,Ee.flatMap)(r,(s=>{let r;return r=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,a,r){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),n=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const a="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=a.length,blockEndOffset:t-=a.length}})(t,n,s);t=e.blockStartOffset,n=e.blockEndOffset}if(a.slice(t,n)===r.slice(t,n))return[{startOffset:t,endOffset:n}];const o=((e,t,s)=>{const a=s.slice(0,e),r=s.slice(0,t),n=((e,t,s,a)=>{const r=[...e.matchAll(Ts)];s-=Cs(r);const n=[...t.matchAll(Ts)];return{blockStartOffset:s,blockEndOffset:a-=Cs(n)}})(a,r,e,t),o=((e,t,s,a)=>{let r=[...e.matchAll(Rs)];return(0,Ee.forEachRight)(r,(e=>{const[,t]=e;s-=t.length})),r=[...t.matchAll(Rs)],(0,Ee.forEachRight)(r,(e=>{const[,t]=e;a-=t.length})),{blockStartOffset:s,blockEndOffset:a}})(a,r,e=n.blockStartOffset,t=n.blockEndOffset);return{blockStartOffset:e=o.blockStartOffset,blockEndOffset:t=o.blockEndOffset}})(t,n,a);return[{startOffset:o.blockStartOffset,endOffset:o.blockEndOffset}]}return[]}(s,n,a.name,e,o):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),a=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),r=function(e,t,s=!0){const a=[];if(0===e.length)return a;let r,n=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(r=e.indexOf(t,n))>-1;)a.push(r),n=r+t.length;return a}(e,s);if(0===r.length)return[];const n=function(e){let t=e.indexOf(Is);const s=t>=0;s||(t=e.indexOf(Ps));let a=null;const r=[];for(;t>=0;){if(a=(e=s?e.replace(Is,""):e.replace(Ps,"")).indexOf(Ls),a{r.forEach((a=>{const r=a+e.startOffset;let n=a+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(n=a+s.length),o.push({startOffset:r,endOffset:n})}))})),o}(o,s),r?r.map((e=>({...e,block:n,richTextIdentifier:t}))):[]}))}const Ms=e=>e[0].toUpperCase()+e.slice(1),Os=(e,t,s,a,r)=>(e=e.map((e=>{const n=`${e.id}-${r[0]}`,o=`${e.id}-${r[1]}`,i=Ms(r[0]),l=Ms(r[1]),c=e[`json${i}`],d=e[`json${l}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),m=As(c,n,s,a,p),h=As(d,o,s,a,u);return m.concat(h)})),(0,Ee.flattenDeep)(e)),Fs="yoast";let Ds=[];const Ns={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function qs(){const e=Ds.shift();e&&((0,n.dispatch)("core/annotations").__experimentalAddAnnotation(e),$s())}function $s(){(0,Ee.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(qs,{timeout:1e3}):setTimeout(qs,150)}const Bs=(e,t)=>{return(0,Ee.flatMap)((s=e.name,Ns.hasOwnProperty(s)?Ns[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const a=t.attributes[e.key];return 0===a.length?[]:Os(a,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const a=t.attributes[e.key];if(a&&0===a.length)return[];const r=[];return"steps"===e.key&&r.push(Os(a,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),r.push(As(a,"description",e,t,s))),(0,Ee.flattenDeep)(r)})(s,e,t):function(e,t,s){const a=e.key,r=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,a);return As(r,a,e,t,s)}(s,e,t)));var s};function Us(e,t){return(0,Ee.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?Us(e.innerBlocks,t):[];return Bs(e,t).concat(s)}))}function Ws(e){Ds=[],(0,n.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Fs);const t=xs(e);if(0===e.length)return;let s=(0,n.select)("core/block-editor").getBlocks();var a;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),a=Us(s,e),Ds=a.map((e=>({blockClientId:e.block,source:Fs,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),$s()}function zs(e,t){let s;ks(_s)&&((0,Ee.isUndefined)(s)&&(s=vs(tinyMCE.get(_s))),s(e,t)),(0,n.select)("core/block-editor")&&(0,Ee.isFunction)((0,n.select)("core/block-editor").getBlocks)&&(0,n.select)("core/annotations")&&(0,Ee.isFunction)((0,n.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>vs(e))).forEach((s=>s(e,t)))}(e,t),Ws(t)),(0,o.doAction)("yoast.analysis.applyMarks",t)}function Ks(){const e=(0,n.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,n.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?Ee.noop:zs}const Hs=(0,Ee.debounce)((async function(e,t){const{text:s,...a}=t,r=new lt.Paper(s,a);try{const t=await e.analyze(r),{seo:s,readability:a,inclusiveLanguage:i}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),e.results=us(e.results),(0,n.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(r.getKeyword(),e.results),(0,n.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,r.getKeyword())}a&&(a.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),a.results=us(a.results),(0,n.dispatch)("yoast-seo/editor").setReadabilityResults(a.results),(0,n.dispatch)("yoast-seo/editor").setOverallReadabilityScore(a.score)),i&&(i.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(r,e.marks)})),i.results=us(i.results),(0,n.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(i.results),(0,n.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(i.score)),(0,o.doAction)("yoast.analysis.run",t,{paper:r})}catch(e){}}),ds);function Ys(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,n.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const a=function(e){return e.title=Xe("data_page_title",e.title),e.title=Xe("title",e.title),e.description=Xe("data_meta_desc",e.description),e.text=Xe("content",e.text),e}(s);return(0,o.applyFilters)("yoast.analysis.data",a)}function js(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=(0,n.select)("yoast-seo/editor"),s=function(){const e=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,lt.createWorker)(e),s=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),a=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const r=t.innerHTML.slice(214),n=r.indexOf(","),o=r.slice(0,n-1);try{const e=JSON.parse(r.slice(n+1,-4));a.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:a}),new lt.AnalysisWorkerWrapper(t)}();s.initialize(function(e={}){let t={locale:ms(),contentAnalysisActive:hs(),keywordAnalysisActive:gs(),inclusiveLanguageAnalysisActive:ys(),defaultQueryParams:(0,Ee.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,Ee.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,fs.enabledFeatures)()};t=(0,Ee.merge)(t,e);const s=function(){const e=pt();return(0,Ee.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}();return(0,Ee.isUndefined)(s)||(0,Ee.isUndefined)(s.domain)||(t.translations=s),t}({useCornerstone:t(),marker:Ks()})).catch(ps),window.YoastSEO.analysis.applyMarks=(e,t)=>Ks()(e,t);let a=Ys(),r=t(),o=e();return(0,n.subscribe)((()=>{const n=t(),i=Ys(),l=e();if(n!==r)return r=n,a=i,void s.initialize({useCornerstone:n}).then((()=>Hs(s,i))).catch(ps);l===o&&!1!==(0,Ee.isEqual)(i,a)||(a=i,o=l,Hs(s,i))})),s}const Vs=window.wp.domReady;var Gs=s.n(Vs);const Zs=window.yoast.externals.contexts,Qs=({handleRefreshClick:e,supportLink:t})=>(0,L.createElement)("div",{className:"yst-flex yst-gap-2"},(0,L.createElement)(F.Button,{onClick:e},(0,O.__)("Refresh this page","wordpress-seo")),(0,L.createElement)(F.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener"},(0,O.__)("Contact support","wordpress-seo")));Qs.propTypes={handleRefreshClick:E().func.isRequired,supportLink:E().string.isRequired};const Xs=({handleRefreshClick:e,supportLink:t})=>(0,L.createElement)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2"},(0,L.createElement)(F.Button,{className:"yst-order-last",onClick:e},(0,O.__)("Refresh this page","wordpress-seo")),(0,L.createElement)(F.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener"},(0,O.__)("Contact support","wordpress-seo")));Xs.propTypes={handleRefreshClick:E().func.isRequired,supportLink:E().string.isRequired};const Js=({error:e,children:t})=>(0,L.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},(0,L.createElement)(F.Title,null,(0,O.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),(0,L.createElement)("p",null,(0,O.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),(0,L.createElement)(F.Alert,{variant:"error"},(null==e?void 0:e.message)||(0,O.__)("Undefined error message.","wordpress-seo")),(0,L.createElement)("p",null,(0,O.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),t);Js.propTypes={error:E().object.isRequired,children:E().node},Js.VerticalButtons=Xs,Js.HorizontalButtons=Qs;const ea=({error:e})=>{const t=(0,M.useCallback)((()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()}),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").selectLink("https://yoa.st/elementor-error-support")),[]),a=(0,n.useSelect)((e=>e("yoast-seo/editor").getPreference("isRtl",!1)),[]);return(0,L.createElement)(F.Root,{context:{isRtl:a}},(0,L.createElement)(Js,{error:e},(0,L.createElement)(Js.VerticalButtons,{supportLink:s,handleRefreshClick:t})))};function ta(){return(0,L.createElement)(F.ErrorBoundary,{FallbackComponent:ea},(0,L.createElement)(A.Slot,{name:"YoastElementor"},(e=>{return void 0===(t=e).length?t:(0,Ee.flatten)(t).sort(((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority));var t})))}ea.propTypes={error:E().object.isRequired};const sa=window.wp.compose,aa=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),ra=()=>[(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,O.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,O.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,O.__)("%1$sSuper fast%2$s internal linking suggestions.","wordpress-seo"),"",""),(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,O.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,O.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,O.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,O.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")];var ga=s(4530),ya=s.n(ga);const fa=({className:e,...t})=>(0,L.createElement)("span",{className:ya()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",e),...t});fa.displayName="MetaboxButton.Text",fa.propTypes={className:E().string},fa.defaultProps={className:""};const wa=({className:e,...t})=>(0,L.createElement)("button",{type:"button",className:ya()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...t});wa.propTypes={className:E().string},wa.defaultProps={className:""},wa.Text=fa;const ba=window.yoast.componentsNew,Ea=e=>(0,L.createElement)("div",{className:"yoast components-panel__body"},(0,L.createElement)("h2",{className:"components-panel__body-title"},(0,L.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,L.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,L.createElement)(ba.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,L.createElement)("span",{className:"yoast-title-container"},(0,L.createElement)("div",{className:"yoast-title"},e.title),(0,L.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,L.createElement)(ba.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),_a=Ea;Ea.propTypes={onClick:E().func.isRequired,title:E().string.isRequired,id:E().string,subTitle:E().string,suffixIcon:E().object,SuffixHeroIcon:E().object,prefixIcon:E().object,children:E().node},Ea.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const va=Gs().div` +(0,O.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")];var na=s(4530),oa=s.n(na);const ia=({className:e,...t})=>(0,L.createElement)("span",{className:oa()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",e),...t});ia.displayName="MetaboxButton.Text",ia.propTypes={className:E().string},ia.defaultProps={className:""};const la=({className:e,...t})=>(0,L.createElement)("button",{type:"button",className:oa()("yst-flex yst-items-center yst-w-full yst-pt-4 yst-pb-4 yst-pr-4 yst-pl-6 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",e),...t});la.propTypes={className:E().string},la.defaultProps={className:""},la.Text=ia;const ca=window.yoast.componentsNew,da=e=>(0,L.createElement)("div",{className:"yoast components-panel__body"},(0,L.createElement)("h2",{className:"components-panel__body-title"},(0,L.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,L.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,L.createElement)(ca.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,L.createElement)("span",{className:"yoast-title-container"},(0,L.createElement)("div",{className:"yoast-title"},e.title),(0,L.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,L.createElement)(ca.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),pa=da;da.propTypes={onClick:E().func.isRequired,title:E().string.isRequired,id:E().string,subTitle:E().string,suffixIcon:E().object,SuffixHeroIcon:E().object,prefixIcon:E().object,children:E().node},da.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const ua=window.yoast.styledComponents;var ma=s.n(ua);const ha=ma().div` padding: 25px 32px 32px; color: #303030; -`,ka=Gs().ul` +`,ga=ma().ul` margin: 0; padding: 0; @@ -33,40 +33,40 @@ font-size: 1.5rem; } } -`,xa=Gs().span` +`,ya=ma().span` display: block; margin-top: 4px; -`,Sa=Gs().h2` +`,fa=ma().h2` margin-top: 0; margin-bottom: 0.25rem; color: #303030; font-size: 0.8125rem; font-weight: 600; -`,Ta=Gs().p` +`,wa=ma().p` display: block; margin: 0.25rem 0 1rem 0 !important; max-width: 420px; -`,Ra=Gs().hr` +`,ba=ma().hr` margin-top: 1.5rem; margin-bottom: 1rem; border-top: 0; border-bottom: 1px solid #E2E8F0; -`,Ca=Gs().div` +`,Ea=ma().div` text-align: center; -`,Ia=Gs().a` +`,va=ma().a` width: 100%; -`,La=(0,We.makeOutboundLink)(Ia);class Pa extends M.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,L.createElement)(ka,{role:"list"},e.map(((e,t)=>(0,L.createElement)("li",{key:`upsell-benefit-${t}`},(0,M.createInterpolateElement)(e,{strong:(0,L.createElement)("strong",null)})))))}render(){const e=(0,n.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:t}=this.state,s=e?"69.30":null,a=s||t;return(0,L.createElement)(M.Fragment,null,e&&(0,L.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,L.createElement)("div",null,(0,O.__)("BLACK FRIDAY","wordpress-seo")),(0,L.createElement)("div",null,(0,O.__)("30% OFF","wordpress-seo"))),(0,L.createElement)(va,null,(0,L.createElement)(Sa,null,this.props.title),(0,L.createElement)(Ta,null,this.props.description),(0,L.createElement)(Ca,null,(0,L.createElement)(La,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,L.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},t)," "),(0,L.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,O.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,L.createElement)(xa,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,L.createElement)(Ra,null),(0,L.createElement)(Sa,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Pa.propTypes={title:E().node,benefits:E().array,benefitsTitle:E().node,description:E().node,upsellButton:E().object,upsellButtonText:E().string.isRequired,upsellButtonLabel:E().string,upsellButtonHasCaret:E().bool},Pa.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Aa=Pa,Ma=Gs().div` +`,_a=(0,We.makeOutboundLink)(va);class ka extends M.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,L.createElement)(ga,{role:"list"},e.map(((e,t)=>(0,L.createElement)("li",{key:`upsell-benefit-${t}`},(0,M.createInterpolateElement)(e,{strong:(0,L.createElement)("strong",null)})))))}render(){const e=(0,n.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:t}=this.state,s=e?"69.30":null,a=s||t;return(0,L.createElement)(M.Fragment,null,e&&(0,L.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,L.createElement)("div",null,(0,O.__)("BLACK FRIDAY","wordpress-seo")),(0,L.createElement)("div",null,(0,O.__)("30% OFF","wordpress-seo"))),(0,L.createElement)(ha,null,(0,L.createElement)(fa,null,this.props.title),(0,L.createElement)(wa,null,this.props.description),(0,L.createElement)(Ea,null,(0,L.createElement)(_a,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,L.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},s&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},t)," "),(0,L.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},a)," ",(0,O.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,L.createElement)(ya,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,L.createElement)(ba,null),(0,L.createElement)(fa,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}ka.propTypes={title:E().node,benefits:E().array,benefitsTitle:E().node,description:E().node,upsellButton:E().object,upsellButtonText:E().string.isRequired,upsellButtonLabel:E().string,upsellButtonHasCaret:E().bool},ka.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const xa=ka,Sa=ma().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } -`,Oa=Gs().div` +`,Ta=ma().div` @media screen and ( min-width: 600px ) { max-width: 420px; } -`,Da=(Gs()(ba.Icon)` +`,Ra=(ma()(ca.Icon)` float: ${(0,We.getDirectionalStyle)("right","left")}; margin: ${(0,We.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; @@ -79,55 +79,55 @@ height: 80px; } } -`,"yoast yoast-gutenberg-modal"),Fa=e=>{const{title:t,className:s,showYoastIcon:a,additionalClassName:r,...n}=e,o=a?(0,L.createElement)("span",{className:"yoast-icon"}):null;return(0,L.createElement)(A.Modal,{title:t,className:`${s} ${r}`,icon:o,...n},e.children)};Fa.propTypes={title:E().string,className:E().string,showYoastIcon:E().bool,children:E().oneOfType([E().node,E().arrayOf(E().node)]),additionalClassName:E().string},Fa.defaultProps={title:"Yoast SEO",className:Da,showYoastIcon:!0,children:null,additionalClassName:""};const Na=Fa,qa=()=>{const[e,,,t,s]=(0,D.useToggleState)(!1),{locationContext:a}=(0,ea.useRootContext)(),r=(0,D.useSvgAria)(),n=a.includes("sidebar"),o=a.includes("metabox"),i=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Na,{title:(0,O.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${Da} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,L.createElement)(Oa,null,(0,L.createElement)(Aa,{title:(0,O.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,O.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ +`,"yoast yoast-gutenberg-modal"),Ca=e=>{const{title:t,className:s,showYoastIcon:a,additionalClassName:r,...n}=e,o=a?(0,L.createElement)("span",{className:"yoast-icon"}):null;return(0,L.createElement)(A.Modal,{title:t,className:`${s} ${r}`,icon:o,...n},e.children)};Ca.propTypes={title:E().string,className:E().string,showYoastIcon:E().bool,children:E().oneOfType([E().node,E().arrayOf(E().node)]),additionalClassName:E().string},Ca.defaultProps={title:"Yoast SEO",className:Ra,showYoastIcon:!0,children:null,additionalClassName:""};const Ia=Ca,La=()=>{const[e,,,t,s]=(0,F.useToggleState)(!1),{locationContext:a}=(0,Zs.useRootContext)(),r=(0,F.useSvgAria)(),n=a.includes("sidebar"),o=a.includes("metabox"),i=wpseoAdminL10n[n?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Ia,{title:(0,O.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:`${Ra} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,L.createElement)(Ta,null,(0,L.createElement)(xa,{title:(0,O.__)("Rank higher by connecting your content","wordpress-seo"),description:(0,O.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ (0,O.__)("%s automatically suggests to what content you can link with easy drag-and-drop functionality, which is good for your SEO!","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ha(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,ve.addQueryArgs)(i,{context:a}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year free support and updates included!","wordpress-seo")}))),n&&(0,L.createElement)(_a,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,O.__)("Internal linking suggestions","wordpress-seo"),onClick:t},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...r})))),o&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(wa,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t},(0,L.createElement)(wa.Text,null,(0,O.__)("Internal linking suggestions","wordpress-seo")),(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...r}),(0,L.createElement)("span",null,"Premium")))))},$a=window.yoast.externals.components;function Ba(){return(0,ua.createHigherOrderComponent)((function(e){return(0,ua.pure)((function(t){const s=(0,M.useContext)(ea.LocationContext);return(0,M.createElement)(e,{...t,location:s})}))}),"withLocation")}const Ua=(0,ua.compose)([(0,n.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,n.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),Ba()])($a.CollapsibleCornerstone),Wa=(0,ua.compose)([(0,n.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,n.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),za=({children:e,id:t,hasIcon:s=!0,title:a,image:r=null,isAlertDismissed:n,onDismissed:o})=>n?null:(0,L.createElement)("div",{id:t,className:"notice-yoast yoast is-dismissible"},(0,L.createElement)("div",{className:"notice-yoast__container"},(0,L.createElement)("div",null,(0,L.createElement)("div",{className:"notice-yoast__header"},s&&(0,L.createElement)("span",{className:"yoast-icon"}),(0,L.createElement)("h2",{className:"notice-yoast__header-heading"},a)),(0,L.createElement)("p",null,e)),r&&(0,L.createElement)(r,{height:"60"})),(0,L.createElement)("button",{type:"button",className:"notice-dismiss",onClick:o},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,O.__)("Dismiss this notice.","wordpress-seo"))));za.propTypes={children:E().node.isRequired,id:E().string.isRequired,hasIcon:E().bool,title:E().any.isRequired,image:E().elementType,isAlertDismissed:E().bool.isRequired,onDismissed:E().func.isRequired};const Ka=Wa(za),Ha=({store:e="yoast-seo/editor",image:t=null,title:s,promoId:a,alertKey:r,children:o,...i})=>(0,n.select)(e).isPromotionActive(a)&&(0,L.createElement)(Ka,{alertKey:r,store:e,id:r,title:s,image:t,...i},o);Ha.propTypes={store:E().string,image:E().elementType,title:E().any.isRequired,promoId:E().string.isRequired,alertKey:E().string.isRequired,children:E().node};const Ya=({store:e="yoast-seo/editor",location:t="sidebar",...s})=>{const a=(0,n.useSelect)((t=>t(e).getIsPremium()),[e]),r=(0,n.useSelect)((t=>t(e).selectLinkParams()),[e]),o="sidebar"===t?(0,O.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ +(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ra(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:(0,_e.addQueryArgs)(i,{context:a}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year free support and updates included!","wordpress-seo")}))),n&&(0,L.createElement)(pa,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:(0,O.__)("Internal linking suggestions","wordpress-seo"),onClick:t},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...r})))),o&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(la,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t},(0,L.createElement)(la.Text,null,(0,O.__)("Internal linking suggestions","wordpress-seo")),(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...r}),(0,L.createElement)("span",null,"Premium")))))},Pa=window.yoast.externals.components;function Aa(){return(0,sa.createHigherOrderComponent)((function(e){return(0,sa.pure)((function(t){const s=(0,M.useContext)(Zs.LocationContext);return(0,M.createElement)(e,{...t,location:s})}))}),"withLocation")}const Ma=(0,sa.compose)([(0,n.withSelect)((e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),(0,n.withDispatch)((e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}})),Aa()])(Pa.CollapsibleCornerstone),Oa=(0,sa.compose)([(0,n.withSelect)(((e,t)=>{const{isAlertDismissed:s}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:s(t.alertKey)}})),(0,n.withDispatch)(((e,t)=>{const{dismissAlert:s}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>s(t.alertKey)}}))]),Fa=({children:e,id:t,hasIcon:s=!0,title:a,image:r=null,isAlertDismissed:n,onDismissed:o})=>n?null:(0,L.createElement)("div",{id:t,className:"notice-yoast yoast is-dismissible"},(0,L.createElement)("div",{className:"notice-yoast__container"},(0,L.createElement)("div",null,(0,L.createElement)("div",{className:"notice-yoast__header"},s&&(0,L.createElement)("span",{className:"yoast-icon"}),(0,L.createElement)("h2",{className:"notice-yoast__header-heading"},a)),(0,L.createElement)("p",null,e)),r&&(0,L.createElement)(r,{height:"60"})),(0,L.createElement)("button",{type:"button",className:"notice-dismiss",onClick:o},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,O.__)("Dismiss this notice.","wordpress-seo"))));Fa.propTypes={children:E().node.isRequired,id:E().string.isRequired,hasIcon:E().bool,title:E().any.isRequired,image:E().elementType,isAlertDismissed:E().bool.isRequired,onDismissed:E().func.isRequired};const Da=Oa(Fa),Na=({store:e="yoast-seo/editor",image:t=null,title:s,promoId:a,alertKey:r,children:o,...i})=>(0,n.select)(e).isPromotionActive(a)&&(0,L.createElement)(Da,{alertKey:r,store:e,id:r,title:s,image:t,...i},o);Na.propTypes={store:E().string,image:E().elementType,title:E().any.isRequired,promoId:E().string.isRequired,alertKey:E().string.isRequired,children:E().node};const qa=({store:e="yoast-seo/editor",location:t="sidebar",...s})=>{const a=(0,n.useSelect)((t=>t(e).getIsPremium()),[e]),r=(0,n.useSelect)((t=>t(e).selectLinkParams()),[e]),o="sidebar"===t?(0,O.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM */ (0,O.__)("BLACK FRIDAY SALE: %1$s","wordpress-seo"),"YOAST SEO PREMIUM"):(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s expands to YOAST SEO PREMIUM, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ -(0,O.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,L.createElement)("a",{href:(0,ve.addQueryArgs)("https://yoa.st/black-friday-sale",r),target:"_blank",rel:"noreferrer"})});return a?null:(0,L.createElement)(Ha,{id:`black-friday-2023-promotion-${t}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:e,title:o,image:Image,...s},(0,L.createElement)("span",{className:"yoast-bf-sale-badge"},(0,O.__)("30% OFF!","wordpress-seo")," "),"sidebar"===t&&(0,L.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,ve.addQueryArgs)("https://yoa.st/black-friday-sale",r),target:"_blank",rel:"noreferrer"},(0,O.__)("Buy now!","wordpress-seo")))};Ya.propTypes={store:E().string,location:E().oneOf(["sidebar","metabox"])};const ja=({store:e="yoast-seo/editor",...t})=>{const s=(0,n.useSelect)((t=>t(e).selectLinkParams()),[e]),a=(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s expands to Yoast, %2$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ -(0,O.__)("The %1$s %2$sultimate Black Friday checklist%3$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"Yoast","",""),{strong:(0,L.createElement)("strong",null)});return(0,L.createElement)(Ha,{id:"black-friday-2023-sidebar-checklist",promoId:"black-friday-2023-checklist",alertKey:"black-friday-2023-sidebar-checklist",store:e,title:(0,O.__)("Is your WooCommerce store ready for Black Friday?","wordpress-seo"),...t},a," ",(0,L.createElement)("a",{href:(0,ve.addQueryArgs)("https://yoa.st/black-friday-checklist",s),target:"_blank",rel:"noreferrer"},(0,O.__)("Get the checklist and start optimizing now!","wordpress-seo")))};ja.propTypes={store:E().string};const Va="trustpilot-review-notification",Ga="yoast-seo/editor";const Za=()=>{const e=(0,n.useSelect)((e=>e(Ga).getIsPremium()),[]),t=(0,n.useSelect)((e=>e(Ga).isAlertDismissed(Va)),[]),{overallScore:s}=(0,n.useSelect)((e=>e(Ga).getResultsForFocusKeyword()),[]),{dismissAlert:a}=(0,n.useDispatch)(Ga),r=(0,M.useCallback)((()=>a(Va)),[a]),[o,i]=(0,M.useState)(!1);return(0,M.useEffect)((()=>{var e,t;"good"===(null===(t=s,(0,Ee.isNil)(t)||(t/=10),e=function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,O.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,O.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,O.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,O.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(lt.interpreters.scoreToRating(t)))||void 0===e?void 0:e.className)&&i(!0)}),[s]),{shouldShow:!e&&!t&&o,dismiss:r}},Qa=(0,We.makeOutboundLink)(),Xa=()=>{const{shouldShow:e,dismiss:t}=Za(),{locationContext:s}=(0,ea.useRootContext)(),a=(0,n.useSelect)((e=>e(Ga).selectLink("https://yoa.st/trustpilot-review",{context:s})),[s]);return(0,L.createElement)(za,{alertKey:Va,store:Ga,id:Va,title:(0,O.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:t},(0,O.__)("Happy with the plugin?","wordpress-seo")," ",(0,L.createElement)(Qa,{href:a,rel:"noopener noreferrer"},(0,O.__)("Leave a quick review","wordpress-seo")),".")};var Ja,er,tr,sr,ar,rr,nr,or,ir,lr,cr,dr,pr,ur,mr,hr,gr,yr,fr,wr,br,Er,_r,vr,kr,xr,Sr,Tr,Rr,Cr,Ir,Lr,Pr,Ar,Mr,Or,Dr,Fr,Nr,qr,$r,Br,Ur,Wr,zr,Kr,Hr;function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",Yr({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Ja||(Ja=L.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),er||(er=L.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),tr||(tr=L.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),sr||(sr=L.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),ar||(ar=L.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),rr||(rr=L.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),nr||(nr=L.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),or||(or=L.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),ir||(ir=L.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),lr||(lr=L.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),cr||(cr=L.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),dr||(dr=L.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),pr||(pr=L.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),ur||(ur=L.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),mr||(mr=L.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),hr||(hr=L.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),gr||(gr=L.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),yr||(yr=L.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),fr||(fr=L.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),wr||(wr=L.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),br||(br=L.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),Er||(Er=L.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),_r||(_r=L.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),vr||(vr=L.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),kr||(kr=L.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),xr||(xr=L.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),Sr||(Sr=L.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Tr||(Tr=L.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Rr||(Rr=L.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Cr||(Cr=L.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Ir||(Ir=L.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Lr||(Lr=L.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Pr||(Pr=L.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Ar||(Ar=L.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Mr||(Mr=L.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Or||(Or=L.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Dr||(Dr=L.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Fr||(Fr=L.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Nr||(Nr=L.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),qr||(qr=L.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),$r||($r=L.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Br||(Br=L.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Ur||(Ur=L.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Wr||(Wr=L.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),zr||(zr=L.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Kr||(Kr=L.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Hr||(Hr=L.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Vr=({store:e="yoast-seo/editor",image:t=jr,url:s,...a})=>(0,n.useSelect)((t=>t(e).getIsPremium()))?null:(0,L.createElement)(Ka,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,O.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:t,url:s,...a},(0,O.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,L.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},(0,O.__)("Sign up today!","wordpress-seo")));Vr.propTypes={store:E().string,image:E().elementType,url:E().string.isRequired};const Gr=Vr,Zr=()=>window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive,Qr=(e="yoast-seo/editor")=>{const t=(0,n.select)(e).isPromotionActive("black-friday-2023-promotion"),s=(0,n.select)(e).isAlertDismissed("black-friday-2023-promotion");return t?s:((e="yoast-seo/editor")=>{const t=(0,n.select)(e).isPromotionActive("black-friday-2023-checklist"),s=(0,n.select)(e).isAlertDismissed("black-friday-2023-sidebar-checklist");return!t||s})(e)},Xr=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),Jr=(e=null)=>(0,L.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]),en=e=>{let t=!0;if("blur"===(null==e?void 0:e.type)){const{relatedTarget:s}=e;if(s){const e=["media-modal","wp-core-ui"];t=(0,Ee.intersection)(e,Array.from(s.classList)).length!==e.length}}return t},tn=({id:e,postTypeName:t,children:s,title:a,isOpen:r,close:n,open:o,shouldCloseOnClickOutside:i,showChangesWarning:l,SuffixHeroIcon:c})=>{const d=(0,M.useCallback)((e=>{en(e)&&n()}),[n]);return(0,L.createElement)(M.Fragment,null,r&&(0,L.createElement)(ea.LocationProvider,{value:"modal"},(0,L.createElement)(Na,{title:a,onRequestClose:d,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:i},(0,L.createElement)("div",{className:"yoast-content-container"},(0,L.createElement)("div",{className:"yoast-modal-content"},s)),(0,L.createElement)("div",{className:"yoast-notice-container"},(0,L.createElement)("hr",null),(0,L.createElement)("div",{className:"yoast-button-container"},l&&(0,L.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ -(0,O.sprintf)((0,O.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)),(0,L.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:d},/* Translators: %s translates to the Post Label in singular form */ -(0,O.sprintf)((0,O.__)("Return to your %s","wordpress-seo"),t)))))),(0,L.createElement)(_a,{id:e+"-open-button",title:a,SuffixHeroIcon:c,suffixIcon:c?null:{size:"20px",icon:"pencil-square"},onClick:o}))};tn.propTypes={id:E().string.isRequired,postTypeName:E().string.isRequired,children:E().oneOfType([E().node,E().arrayOf(E().node)]).isRequired,title:E().string.isRequired,isOpen:E().bool.isRequired,open:E().func.isRequired,close:E().func.isRequired,shouldCloseOnClickOutside:E().bool,showChangesWarning:E().bool,SuffixHeroIcon:E().object},tn.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const sn=tn,an=(0,ua.compose)([(0,n.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:a}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:a(t.id)}})),(0,n.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:a}=e("yoast-seo/editor");return{open:()=>s(t.id),close:a}}))])(sn),rn=()=>{const e=(0,n.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,L.createElement)(ba.InsightsCard,{amount:e,unit:(0,O._n)("minute","minutes",e,"wordpress-seo"),title:(0,O.__)("Reading time","wordpress-seo"),linkTo:t -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about reading time","wordpress-seo")})},nn=(0,We.makeOutboundLink)();function on(e,t,s){const a=function(e){switch(e){case lt.DIFFICULTY.FAIRLY_DIFFICULT:case lt.DIFFICULTY.DIFFICULT:case lt.DIFFICULTY.VERY_DIFFICULT:return(0,O.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case lt.DIFFICULTY.NO_DATA:return(0,O.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,O.__)("Good job!","wordpress-seo")}}(t);return(0,L.createElement)("span",null,function(e,t){return-1===e?(0,O.sprintf)((0,O.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,O.sprintf)( +(0,O.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","",""),{a:(0,L.createElement)("a",{href:(0,_e.addQueryArgs)("https://yoa.st/black-friday-sale",r),target:"_blank",rel:"noreferrer"})});return a?null:(0,L.createElement)(Na,{id:`black-friday-2023-promotion-${t}`,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:e,title:o,image:Image,...s},(0,L.createElement)("span",{className:"yoast-bf-sale-badge"},(0,O.__)("30% OFF!","wordpress-seo")," "),"sidebar"===t&&(0,L.createElement)("a",{className:"yst-block yst--mb-[1em]",href:(0,_e.addQueryArgs)("https://yoa.st/black-friday-sale",r),target:"_blank",rel:"noreferrer"},(0,O.__)("Buy now!","wordpress-seo")))};qa.propTypes={store:E().string,location:E().oneOf(["sidebar","metabox"])};const $a=({store:e="yoast-seo/editor",...t})=>{const s=(0,n.useSelect)((t=>t(e).selectLinkParams()),[e]),a=(0,M.createInterpolateElement)((0,O.sprintf)(/* translators: %1$s expands to Yoast, %2$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */ +(0,O.__)("The %1$s %2$sultimate Black Friday checklist%3$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"Yoast","",""),{strong:(0,L.createElement)("strong",null)});return(0,L.createElement)(Na,{id:"black-friday-2023-sidebar-checklist",promoId:"black-friday-2023-checklist",alertKey:"black-friday-2023-sidebar-checklist",store:e,title:(0,O.__)("Is your WooCommerce store ready for Black Friday?","wordpress-seo"),...t},a," ",(0,L.createElement)("a",{href:(0,_e.addQueryArgs)("https://yoa.st/black-friday-checklist",s),target:"_blank",rel:"noreferrer"},(0,O.__)("Get the checklist and start optimizing now!","wordpress-seo")))};$a.propTypes={store:E().string};const Ba="trustpilot-review-notification",Ua="yoast-seo/editor";const Wa=()=>{const e=(0,n.useSelect)((e=>e(Ua).getIsPremium()),[]),t=(0,n.useSelect)((e=>e(Ua).isAlertDismissed(Ba)),[]),{overallScore:s}=(0,n.useSelect)((e=>e(Ua).getResultsForFocusKeyword()),[]),{dismissAlert:a}=(0,n.useDispatch)(Ua),r=(0,M.useCallback)((()=>a(Ba)),[a]),[o,i]=(0,M.useState)(!1);return(0,M.useEffect)((()=>{var e,t;"good"===(null===(t=s,(0,Ee.isNil)(t)||(t/=10),e=function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,O.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,O.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,O.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,O.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,O.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,O.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(lt.interpreters.scoreToRating(t)))||void 0===e?void 0:e.className)&&i(!0)}),[s]),{shouldShow:!e&&!t&&o,dismiss:r}},za=(0,We.makeOutboundLink)(),Ka=()=>{const{shouldShow:e,dismiss:t}=Wa(),{locationContext:s}=(0,Zs.useRootContext)(),a=(0,n.useSelect)((e=>e(Ua).selectLink("https://yoa.st/trustpilot-review",{context:s})),[s]);return(0,L.createElement)(Fa,{alertKey:Ba,store:Ua,id:Ba,title:(0,O.__)("Show Yoast SEO some love!","wordpress-seo"),hasIcon:!1,isAlertDismissed:!e,onDismissed:t},(0,O.__)("Happy with the plugin?","wordpress-seo")," ",(0,L.createElement)(za,{href:a,rel:"noopener noreferrer"},(0,O.__)("Leave a quick review","wordpress-seo")),".")};var Ha,Ya,ja,Va,Ga,Za,Qa,Xa,Ja,er,tr,sr,ar,rr,nr,or,ir,lr,cr,dr,pr,ur,mr,hr,gr,yr,fr,wr,br,Er,vr,_r,kr,xr,Sr,Tr,Rr,Cr,Ir,Lr,Pr,Ar,Mr,Or,Fr,Dr,Nr;function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",qr({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Ha||(Ha=L.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),Ya||(Ya=L.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z"})),ja||(ja=L.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12z"})),Va||(Va=L.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z"})),Ga||(Ga=L.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z"})),Za||(Za=L.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z"})),Qa||(Qa=L.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z"})),Xa||(Xa=L.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z"})),Ja||(Ja=L.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z"})),er||(er=L.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z"})),tr||(tr=L.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82z"})),sr||(sr=L.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),ar||(ar=L.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53z"})),rr||(rr=L.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z"})),nr||(nr=L.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),or||(or=L.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z"})),ir||(ir=L.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z"})),lr||(lr=L.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z"})),cr||(cr=L.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),dr||(dr=L.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z"})),pr||(pr=L.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z"})),ur||(ur=L.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z"})),mr||(mr=L.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z"})),hr||(hr=L.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),gr||(gr=L.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),yr||(yr=L.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),fr||(fr=L.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),wr||(wr=L.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),br||(br=L.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Er||(Er=L.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),vr||(vr=L.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),_r||(_r=L.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),kr||(kr=L.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),xr||(xr=L.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Sr||(Sr=L.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Tr||(Tr=L.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Rr||(Rr=L.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Cr||(Cr=L.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Ir||(Ir=L.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Lr||(Lr=L.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Pr||(Pr=L.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Ar||(Ar=L.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Mr||(Mr=L.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Or||(Or=L.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z"})),Fr||(Fr=L.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z"})),Dr||(Dr=L.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Nr||(Nr=L.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),Br=({store:e="yoast-seo/editor",image:t=$r,url:s,...a})=>(0,n.useSelect)((t=>t(e).getIsPremium()))?null:(0,L.createElement)(Da,{alertKey:"webinar-promo-notification",store:e,id:"webinar-promo-notification",title:(0,O.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:t,url:s,...a},(0,O.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",(0,L.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},(0,O.__)("Sign up today!","wordpress-seo")));Br.propTypes={store:E().string,image:E().elementType,url:E().string.isRequired};const Ur=Br,Wr=()=>window.wpseoScriptData&&"1"===window.wpseoScriptData.isWooCommerceActive,zr=(e="yoast-seo/editor")=>{const t=(0,n.select)(e).isPromotionActive("black-friday-2023-promotion"),s=(0,n.select)(e).isAlertDismissed("black-friday-2023-promotion");return t?s:((e="yoast-seo/editor")=>{const t=(0,n.select)(e).isPromotionActive("black-friday-2023-checklist"),s=(0,n.select)(e).isAlertDismissed("black-friday-2023-sidebar-checklist");return!t||s})(e)},Kr=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),Hr=(e=null)=>(0,L.useMemo)((()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t}),[e]),Yr=({id:e,postTypeName:t,children:s,title:a,isOpen:r,close:n,open:o,shouldCloseOnClickOutside:i,showChangesWarning:l,SuffixHeroIcon:c})=>(0,L.createElement)(M.Fragment,null,r&&(0,L.createElement)(Zs.LocationProvider,{value:"modal"},(0,L.createElement)(Ia,{title:a,onRequestClose:n,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:i},(0,L.createElement)("div",{className:"yoast-content-container"},(0,L.createElement)("div",{className:"yoast-modal-content"},s)),(0,L.createElement)("div",{className:"yoast-notice-container"},(0,L.createElement)("hr",null),(0,L.createElement)("div",{className:"yoast-button-container"},l&&(0,L.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ +(0,O.sprintf)((0,O.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),t)),(0,L.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:n},/* Translators: %s translates to the Post Label in singular form */ +(0,O.sprintf)((0,O.__)("Return to your %s","wordpress-seo"),t)))))),(0,L.createElement)(pa,{id:e+"-open-button",title:a,SuffixHeroIcon:c,suffixIcon:c?null:{size:"20px",icon:"pencil-square"},onClick:o}));Yr.propTypes={id:E().string.isRequired,postTypeName:E().string.isRequired,children:E().oneOfType([E().node,E().arrayOf(E().node)]).isRequired,title:E().string.isRequired,isOpen:E().bool.isRequired,open:E().func.isRequired,close:E().func.isRequired,shouldCloseOnClickOutside:E().bool,showChangesWarning:E().bool,SuffixHeroIcon:E().object},Yr.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};const jr=Yr,Vr=(0,sa.compose)([(0,n.withSelect)(((e,t)=>{const{getPostOrPageString:s,getIsModalOpen:a}=e("yoast-seo/editor");return{postTypeName:s(),isOpen:a(t.id)}})),(0,n.withDispatch)(((e,t)=>{const{openEditorModal:s,closeEditorModal:a}=e("yoast-seo/editor");return{open:()=>s(t.id),close:a}}))])(jr),Gr=()=>{const e=(0,n.useSelect)((e=>e("yoast-seo/editor").getEstimatedReadingTime()),[]),t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time","")),[]);return(0,L.createElement)(ca.InsightsCard,{amount:e,unit:(0,O._n)("minute","minutes",e,"wordpress-seo"),title:(0,O.__)("Reading time","wordpress-seo"),linkTo:t +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about reading time","wordpress-seo")})},Zr=(0,We.makeOutboundLink)();function Qr(e,t,s){const a=function(e){switch(e){case lt.DIFFICULTY.FAIRLY_DIFFICULT:case lt.DIFFICULTY.DIFFICULT:case lt.DIFFICULTY.VERY_DIFFICULT:return(0,O.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case lt.DIFFICULTY.NO_DATA:return(0,O.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return(0,O.__)("Good job!","wordpress-seo")}}(t);return(0,L.createElement)("span",null,function(e,t){return-1===e?(0,O.sprintf)((0,O.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):(0,O.sprintf)( /* Translators: %1$s expands to the numeric Flesch reading ease score, %2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult'). */ -(0,O.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case lt.DIFFICULTY.NO_DATA:return(0,O.__)("no data","wordpress-seo");case lt.DIFFICULTY.VERY_EASY:return(0,O.__)("very easy","wordpress-seo");case lt.DIFFICULTY.EASY:return(0,O.__)("easy","wordpress-seo");case lt.DIFFICULTY.FAIRLY_EASY:return(0,O.__)("fairly easy","wordpress-seo");case lt.DIFFICULTY.OKAY:return(0,O.__)("okay","wordpress-seo");case lt.DIFFICULTY.FAIRLY_DIFFICULT:return(0,O.__)("fairly difficult","wordpress-seo");case lt.DIFFICULTY.DIFFICULT:return(0,O.__)("difficult","wordpress-seo");case lt.DIFFICULTY.VERY_DIFFICULT:return(0,O.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=lt.DIFFICULTY.FAIRLY_DIFFICULT?(0,L.createElement)(nn,{href:s},a+"."):a)}const ln=()=>{let e=(0,n.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),a=(0,M.useMemo)((()=>{const t=(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return on(e,s,t)}),[e,s]);return-1===e&&(e="?"),(0,L.createElement)(ba.InsightsCard,{amount:e,unit:(0,O.__)("out of 100","wordpress-seo"),title:(0,O.__)("Flesch reading ease","wordpress-seo"),linkTo:t -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let cn,dn,pn,un;const mn=/<(\/)?(\w+)\s*(\/)?>/g;function hn(e,t,s,a,r){return{element:e,tokenStart:t,tokenLength:s,prevOffset:a,leadingTextStart:r,children:[]}}function gn(){const e=cn.length-dn;0!==e&&pn.push(cn.substring(dn,dn+e))}function yn(e){const{element:t,tokenStart:s,tokenLength:a,prevOffset:r,children:n}=e,o=un[un.length-1],i=cn.substring(o.prevOffset,s);i&&o.children.push(i),o.children.push((0,M.cloneElement)(t,null,...n)),o.prevOffset=r||s+a}function fn(e){const t=function(){const e=mn.exec(cn);if(null===e)return["no-more-tokens"];const t=e.index,[s,a,r,n]=e,o=s.length;return n?["self-closed",r,t,o]:a?["closer",r,t,o]:["opener",r,t,o]}(),[s,a,r,n]=t,o=un.length,i=r>dn?dn:null;if(!e[a])return gn(),!1;switch(s){case"no-more-tokens":if(0!==o){const{leadingTextStart:e,tokenStart:t}=un.pop();pn.push(cn.substring(e,e+t))}return gn(),!1;case"self-closed":return 0===o?(null!==i&&pn.push(cn.substring(i,r)),pn.push(e[a]),dn=r+n,!0):(yn(hn(e[a],r,n)),dn=r+n,!0);case"opener":return un.push(hn(e[a],r,n,r+n,i)),dn=r+n,!0;case"closer":if(1===o)return function(e){const{element:t,leadingTextStart:s,prevOffset:a,tokenStart:r,children:n}=un.pop(),o=e?cn.substring(a,e):cn.substring(a);o&&n.push(o),null!==s&&pn.push(cn.substring(s,r)),pn.push((0,M.cloneElement)(t,null,...n))}(r),dn=r+n,!0;const t=un.pop(),s=cn.substring(t.prevOffset,r);t.children.push(s),t.prevOffset=r+n;const l=hn(t.element,t.tokenStart,t.tokenLength,r+n);return l.children=t.children,yn(l),dn=r+n,!0;default:return gn(),!1}}const wn=(e,t)=>{if(cn=e,dn=0,pn=[],un=[],mn.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,M.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(fn(t));return(0,M.createElement)(M.Fragment,null,...pn)},bn=({data:e,itemScreenReaderText:t,className:s,...a})=>{const r=(0,M.useMemo)((()=>{var t,s;return null!==(t=null===(s=(0,Ee.maxBy)(e,"number"))||void 0===s?void 0:s.number)&&void 0!==t?t:0}),[e]);return(0,L.createElement)("ul",{className:ya()("yoast-data-model",s),...a},e.map((({name:e,number:s})=>(0,L.createElement)("li",{key:`${e}_dataItem`,style:{"--yoast-width":s/r*100+"%"}},e,(0,L.createElement)("span",null,s),t&&(0,L.createElement)("span",{className:"screen-reader-text"},(0,O.sprintf)(t,s))))))};bn.propTypes={data:E().arrayOf(E().shape({name:E().string.isRequired,number:E().number.isRequired})),itemScreenReaderText:E().string,className:E().string},bn.defaultProps={data:[],itemScreenReaderText:"",className:""};const En=bn,vn=(0,We.makeOutboundLink)(),kn=({location:e})=>{const t=(0,n.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,M.useMemo)((()=>(0,Ee.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),r=(0,M.useMemo)((()=>{const e=(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return wn((0,O.sprintf)( +(0,O.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case lt.DIFFICULTY.NO_DATA:return(0,O.__)("no data","wordpress-seo");case lt.DIFFICULTY.VERY_EASY:return(0,O.__)("very easy","wordpress-seo");case lt.DIFFICULTY.EASY:return(0,O.__)("easy","wordpress-seo");case lt.DIFFICULTY.FAIRLY_EASY:return(0,O.__)("fairly easy","wordpress-seo");case lt.DIFFICULTY.OKAY:return(0,O.__)("okay","wordpress-seo");case lt.DIFFICULTY.FAIRLY_DIFFICULT:return(0,O.__)("fairly difficult","wordpress-seo");case lt.DIFFICULTY.DIFFICULT:return(0,O.__)("difficult","wordpress-seo");case lt.DIFFICULTY.VERY_DIFFICULT:return(0,O.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=lt.DIFFICULTY.FAIRLY_DIFFICULT?(0,L.createElement)(Zr,{href:s},a+"."):a)}const Xr=()=>{let e=(0,n.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseScore()),[]);const t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease","")),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty()),[e]),a=(0,M.useMemo)((()=>{const t=(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return Qr(e,s,t)}),[e,s]);return-1===e&&(e="?"),(0,L.createElement)(ca.InsightsCard,{amount:e,unit:(0,O.__)("out of 100","wordpress-seo"),title:(0,O.__)("Flesch reading ease","wordpress-seo"),linkTo:t +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about Flesch reading ease","wordpress-seo"),description:a})};let Jr,en,tn,sn;const an=/<(\/)?(\w+)\s*(\/)?>/g;function rn(e,t,s,a,r){return{element:e,tokenStart:t,tokenLength:s,prevOffset:a,leadingTextStart:r,children:[]}}function nn(){const e=Jr.length-en;0!==e&&tn.push(Jr.substring(en,en+e))}function on(e){const{element:t,tokenStart:s,tokenLength:a,prevOffset:r,children:n}=e,o=sn[sn.length-1],i=Jr.substring(o.prevOffset,s);i&&o.children.push(i),o.children.push((0,M.cloneElement)(t,null,...n)),o.prevOffset=r||s+a}function ln(e){const t=function(){const e=an.exec(Jr);if(null===e)return["no-more-tokens"];const t=e.index,[s,a,r,n]=e,o=s.length;return n?["self-closed",r,t,o]:a?["closer",r,t,o]:["opener",r,t,o]}(),[s,a,r,n]=t,o=sn.length,i=r>en?en:null;if(!e[a])return nn(),!1;switch(s){case"no-more-tokens":if(0!==o){const{leadingTextStart:e,tokenStart:t}=sn.pop();tn.push(Jr.substring(e,e+t))}return nn(),!1;case"self-closed":return 0===o?(null!==i&&tn.push(Jr.substring(i,r)),tn.push(e[a]),en=r+n,!0):(on(rn(e[a],r,n)),en=r+n,!0);case"opener":return sn.push(rn(e[a],r,n,r+n,i)),en=r+n,!0;case"closer":if(1===o)return function(e){const{element:t,leadingTextStart:s,prevOffset:a,tokenStart:r,children:n}=sn.pop(),o=e?Jr.substring(a,e):Jr.substring(a);o&&n.push(o),null!==s&&tn.push(Jr.substring(s,r)),tn.push((0,M.cloneElement)(t,null,...n))}(r),en=r+n,!0;const t=sn.pop(),s=Jr.substring(t.prevOffset,r);t.children.push(s),t.prevOffset=r+n;const l=rn(t.element,t.tokenStart,t.tokenLength,r+n);return l.children=t.children,on(l),en=r+n,!0;default:return nn(),!1}}const cn=(e,t)=>{if(Jr=e,en=0,tn=[],sn=[],an.lastIndex=0,!(e=>{const t="object"==typeof e,s=t&&Object.values(e);return t&&s.length&&s.every((e=>(0,M.isValidElement)(e)))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(ln(t));return(0,M.createElement)(M.Fragment,null,...tn)},dn=({data:e,itemScreenReaderText:t,className:s,...a})=>{const r=(0,M.useMemo)((()=>{var t,s;return null!==(t=null===(s=(0,Ee.maxBy)(e,"number"))||void 0===s?void 0:s.number)&&void 0!==t?t:0}),[e]);return(0,L.createElement)("ul",{className:oa()("yoast-data-model",s),...a},e.map((({name:e,number:s})=>(0,L.createElement)("li",{key:`${e}_dataItem`,style:{"--yoast-width":s/r*100+"%"}},e,(0,L.createElement)("span",null,s),t&&(0,L.createElement)("span",{className:"screen-reader-text"},(0,O.sprintf)(t,s))))))};dn.propTypes={data:E().arrayOf(E().shape({name:E().string.isRequired,number:E().number.isRequired})),itemScreenReaderText:E().string,className:E().string},dn.defaultProps={data:[],itemScreenReaderText:"",className:""};const pn=dn,un=(0,We.makeOutboundLink)(),mn=({location:e})=>{const t=(0,n.useSelect)((e=>{var t,s;return null===(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getPreference("isProminentWordsAvailable",!1))||void 0===t||t}),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1)),[]),a=(0,M.useMemo)((()=>(0,Ee.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-prominent_words`,"")),[e]),r=(0,M.useMemo)((()=>{const e=(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return cn((0,O.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,O.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,L.createElement)(vn,{href:e})})}),[]),o=(0,M.useMemo)((()=>wn((0,O.sprintf)( +(0,O.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"",""),{a:(0,L.createElement)(un,{href:e})})}),[]),o=(0,M.useMemo)((()=>cn((0,O.sprintf)( // translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. (0,O.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,L.createElement)("b",null)})),[]),i=(0,n.useSelect)((e=>{var t,s;return null!==(t=null===(s=e("yoast-seo-premium/editor"))||void 0===s?void 0:s.getProminentWords())&&void 0!==t?t:[]}),[]),l=(0,M.useMemo)((()=>{const e=(0,O.sprintf)( // translators: %1$s expands to Yoast SEO Premium. -(0,O.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),c=(0,M.useMemo)((()=>s?l:i.map((({word:e,occurrence:t})=>({name:e,number:t})))),[i,l]);if(!t)return null;const{locationContext:d}=(0,ea.useRootContext)();return(0,L.createElement)("div",{className:"yoast-prominent-words"},(0,L.createElement)("div",{className:"yoast-field-group__title"},(0,L.createElement)("b",null,(0,O.__)("Prominent words","wordpress-seo"))),!s&&(0,L.createElement)("p",null,0===c.length?(0,O.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,O.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),s&&(0,L.createElement)("p",null,o),s&&(0,L.createElement)(vn,{href:(0,ve.addQueryArgs)(a,{context:d}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,O.sprintf)( +(0,O.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map(((t,s)=>({name:t,number:e.length-s})))}),[]),c=(0,M.useMemo)((()=>s?l:i.map((({word:e,occurrence:t})=>({name:e,number:t})))),[i,l]);if(!t)return null;const{locationContext:d}=(0,Zs.useRootContext)();return(0,L.createElement)("div",{className:"yoast-prominent-words"},(0,L.createElement)("div",{className:"yoast-field-group__title"},(0,L.createElement)("b",null,(0,O.__)("Prominent words","wordpress-seo"))),!s&&(0,L.createElement)("p",null,0===c.length?(0,O.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):(0,O.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),s&&(0,L.createElement)("p",null,o),s&&(0,L.createElement)(un,{href:(0,_e.addQueryArgs)(a,{context:d}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},(0,O.sprintf)( // translators: %s expands to `Premium` (part of add-on name). -(0,O.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,L.createElement)("p",null,r),(0,L.createElement)(En,{data:c,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ -(0,O.__)("%d occurrences","wordpress-seo"),"aria-label":(0,O.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null}))};kn.propTypes={location:E().string.isRequired};const xn=kn,Sn=(0,We.makeOutboundLink)(),Tn=({location:e})=>{const t=(0,M.useMemo)((()=>(0,Ee.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,M.useMemo)((()=>wn((0,O.sprintf)( +(0,O.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,L.createElement)("p",null,r),(0,L.createElement)(pn,{data:c,itemScreenReaderText:/* translators: Hidden accessibility text; %d expands to the number of occurrences. */ +(0,O.__)("%d occurrences","wordpress-seo"),"aria-label":(0,O.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null}))};mn.propTypes={location:E().string.isRequired};const hn=mn,gn=(0,We.makeOutboundLink)(),yn=({location:e})=>{const t=(0,M.useMemo)((()=>(0,Ee.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${e}-text_formality`,"")),[e]),s=(0,M.useMemo)((()=>cn((0,O.sprintf)( // Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`. -(0,O.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,L.createElement)("b",null)})),[]);return(0,L.createElement)(M.Fragment,null,(0,L.createElement)("div",null,(0,L.createElement)("p",null,s),(0,L.createElement)(Sn,{href:t,className:"yoast-button yoast-button-upsell"},(0,O.sprintf)( +(0,O.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"","","Yoast SEO Premium"),{b:(0,L.createElement)("b",null)})),[]);return(0,L.createElement)(M.Fragment,null,(0,L.createElement)("div",null,(0,L.createElement)("p",null,s),(0,L.createElement)(gn,{href:t,className:"yoast-button yoast-button-upsell"},(0,O.sprintf)( // Translators: %s expands to `Premium` (part of add-on name). -(0,O.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};Tn.propTypes={location:E().string.isRequired};const Rn=Tn,Cn=({location:e,name:t})=>{const s=(0,n.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=pt().isPremium,r=a?(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),o=(0,O.__)("Read more about text formality.","wordpress-seo");return s?(0,L.createElement)("div",{className:"yoast-text-formality"},(0,L.createElement)("div",{className:"yoast-field-group__title"},(0,L.createElement)("b",null,(0,O.__)("Text formality","wordpress-seo")),(0,L.createElement)(ba.HelpIcon,{linkTo:r,linkText:o})),a?(0,L.createElement)(A.Slot,{name:t}):(0,L.createElement)(Rn,{location:e})):null};Cn.propTypes={location:E().string.isRequired,name:E().string.isRequired};const In=Cn,Ln=()=>{const e=(0,n.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let s=(0,O._n)("word","words",e.count,"wordpress-seo"),a=(0,O.__)("Word count","wordpress-seo"),r=(0,O.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(s=(0,O._n)("character","characters",e.count,"wordpress-seo"),a=(0,O.__)("Character count","wordpress-seo"), +(0,O.__)("Unlock with %s","wordpress-seo"),"Premium"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};yn.propTypes={location:E().string.isRequired};const fn=yn,wn=({location:e,name:t})=>{const s=(0,n.useSelect)((e=>e("yoast-seo/editor").isFormalitySupported()),[]),a=pt().isPremium,r=a?(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),o=(0,O.__)("Read more about text formality.","wordpress-seo");return s?(0,L.createElement)("div",{className:"yoast-text-formality"},(0,L.createElement)("div",{className:"yoast-field-group__title"},(0,L.createElement)("b",null,(0,O.__)("Text formality","wordpress-seo")),(0,L.createElement)(ca.HelpIcon,{linkTo:r,linkText:o})),a?(0,L.createElement)(A.Slot,{name:t}):(0,L.createElement)(fn,{location:e})):null};wn.propTypes={location:E().string.isRequired,name:E().string.isRequired};const bn=wn,En=()=>{const e=(0,n.useSelect)((e=>e("yoast-seo/editor").getTextLength()),[]),t=(0,M.useMemo)((()=>(0,Ee.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count","")),[]);let s=(0,O._n)("word","words",e.count,"wordpress-seo"),a=(0,O.__)("Word count","wordpress-seo"),r=(0,O.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(s=(0,O._n)("character","characters",e.count,"wordpress-seo"),a=(0,O.__)("Character count","wordpress-seo"), /* translators: Hidden accessibility text. */ -r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createElement)(ba.InsightsCard,{amount:e.count,unit:s,title:a,linkTo:t,linkText:r})},Pn=Gs()(Xr)` +r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createElement)(ca.InsightsCard,{amount:e.count,unit:s,title:a,linkTo:t,linkText:r})},vn=ma()(Kr)` width: 18px; height: 18px; margin: 3px; -`,An=({location:e})=>{const t=(0,n.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),a=Jr();return(0,L.createElement)(an,{title:(0,O.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!t,showChangesWarning:!1,SuffixHeroIcon:(0,L.createElement)(Pn,{className:"yst-text-slate-500",...a})},(0,L.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},(0,L.createElement)(xn,{location:e}),(0,L.createElement)("div",null,s&&(0,L.createElement)("div",{className:"yoast-insights-row"},(0,L.createElement)(ln,null)),(0,L.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,L.createElement)(rn,null),(0,L.createElement)(Ln,null)),(0,fs.isFeatureEnabled)("TEXT_FORMALITY")&&(0,L.createElement)(In,{location:e,name:"YoastTextFormalityMetabox"}))))};An.propTypes={location:E().string},An.defaultProps={location:"sidebar"};const Mn=An;function On(e){return 0===e.message.length?null:(0,L.createElement)(ba.Alert,{type:e.type},e.message)}On.propTypes={message:E().oneOfType([E().array,E().string]).isRequired,type:E().string.isRequired};const Dn=(0,n.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t(),type:"info"}}))(On),Fn=({children:e})=>(0,L.createElement)("div",null,e);Fn.propTypes={renderPriority:E().number.isRequired,children:E().node.isRequired};const Nn=Fn,qn=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),$n=window.yoast.searchMetadataPreviews,Bn=Gs()(ba.StyledSection)` - &${ba.StyledSectionBase} { +`,kn=({location:e})=>{const t=(0,n.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]),s=(0,n.useSelect)((e=>e("yoast-seo/editor").isFleschReadingEaseAvailable()),[]),a=Hr();return(0,L.createElement)(Vr,{title:(0,O.__)("Insights","wordpress-seo"),id:`yoast-insights-modal-${e}`,shouldCloseOnClickOutside:!t,showChangesWarning:!1,SuffixHeroIcon:(0,L.createElement)(vn,{className:"yst-text-slate-500",...a})},(0,L.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},(0,L.createElement)(hn,{location:e}),(0,L.createElement)("div",null,s&&(0,L.createElement)("div",{className:"yoast-insights-row"},(0,L.createElement)(Xr,null)),(0,L.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},(0,L.createElement)(Gr,null),(0,L.createElement)(En,null)),(0,fs.isFeatureEnabled)("TEXT_FORMALITY")&&(0,L.createElement)(bn,{location:e,name:"YoastTextFormalityMetabox"}))))};kn.propTypes={location:E().string},kn.defaultProps={location:"sidebar"};const xn=kn;function Sn(e){return 0===e.message.length?null:(0,L.createElement)(ca.Alert,{type:e.type},e.message)}Sn.propTypes={message:E().oneOfType([E().array,E().string]).isRequired,type:E().string.isRequired};const Tn=(0,n.withSelect)((e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t(),type:"info"}}))(Sn),Rn=({children:e})=>(0,L.createElement)("div",null,e);Rn.propTypes={renderPriority:E().number.isRequired,children:E().node.isRequired};const Cn=Rn,In=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),Ln=window.yoast.searchMetadataPreviews,Pn=ma()(ca.StyledSection)` + &${ca.StyledSectionBase} { padding: 0; - & ${ba.StyledHeading} { + & ${ca.StyledHeading} { ${(0,We.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${(0,We.getDirectionalStyle)("0","20px")}; } } -`,Un=({children:e,title:t,icon:s,hasPaperStyle:a,shoppingData:r})=>(0,L.createElement)(Bn,{headingLevel:3,headingText:t,headingIcon:s,headingIconColor:"#555",hasPaperStyle:a,shoppingData:r},e);Un.propTypes={children:E().element,title:E().string,icon:E().string,hasPaperStyle:E().bool,shoppingData:E().object},Un.defaultProps={hasPaperStyle:!0,shoppingData:null};const Wn=Un;function zn(e,t,s=""){return(0,M.createInterpolateElement)(e,{a:(0,L.createElement)("a",{id:s,href:t,target:"_blank",rel:"noopener noreferrer"})})}window.wp.sanitize;const{stripHTMLTags:Kn}=We.strings,Hn=(0,Ee.memoize)(((e,t)=>0===e?Ee.noop:(0,Ee.debounce)((s=>t(s,e)),500))),Yn=({link:e,text:t})=>(0,L.createElement)(D.Root,null,(0,L.createElement)("p",null,t),(0,L.createElement)(D.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,L.createElement)(F,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,O.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));Yn.propTypes={link:E().string.isRequired,text:E().string.isRequired};const jn=Yn,Vn=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,Ee.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,Ee.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,Ee.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],Ee.identity);return{url:e.url,title:Kn(t(e.title)),description:Kn(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?Kn(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:Kn(s("data_page_title",e.title)),description:Kn(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Kn(s("data_page_title",e.filteredSEOTitle)):""}}(e)},Gn=(0,ua.compose)([(0,n.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:a,getRecommendedReplaceVars:r,getReplaceVars:n,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),y=n();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:i(),keyword:a(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:y,shoppingData:o(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,n.withDispatch)((function(e,t,{select:s}){const{updateData:a,switchMode:r,updateAnalysisData:n,findCustomFields:o}=e("yoast-seo/editor"),i=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":r(t);break;case"slug":a({slug:t}),i&&i.editPost({slug:t});break;default:a({[e]:t})}},onChangeAnalysisData:n,onReplacementVariableSearchChange:Hn(l,o)}}))])((e=>{const t=(0,Ee.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),s=(0,Ee.get)(window,"wpseoScriptData.woocommerceUpsell",""),a=(0,O.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,L.createElement)(ea.LocationConsumer,null,(r=>(0,L.createElement)(Wn,{icon:"eye",hasPaperStyle:e.hasPaperStyle},(0,L.createElement)(L.Fragment,null,s&&(0,L.createElement)(jn,{link:t,text:a}),(0,L.createElement)($n.SnippetEditor,{...e,descriptionPlaceholder:(0,O.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Vn,showCloseButton:!1,idSuffix:r})))))})),{stripHTMLTags:Zn}=We.strings,Qn=(e,t)=>{const s=(0,n.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=s.title),""===e.description&&(e.description=s.description);let a=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(a=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[a]&&(e.url=e.url.slice(0,a)+e.url.slice(a+1)),{url:e.url,title:Zn(Xe("data_page_title",e.title)),description:Zn(Xe("data_meta_desc",e.description)),filteredSEOTitle:Zn(Xe("data_page_title",e.filteredSEOTitle))}},Xn=({isLoading:e,onLoad:t,location:s,...a})=>((0,M.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,L.createElement)(Wn,{icon:"eye",hasPaperStyle:a.hasPaperStyle},(0,L.createElement)($n.SnippetEditor,{...a,descriptionPlaceholder:(0,O.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Qn,showCloseButton:!1,idSuffix:s})));Xn.propTypes={isLoading:E().bool.isRequired,onLoad:E().func.isRequired,hasPaperStyle:E().bool.isRequired,location:E().string.isRequired};const Jn=(0,ua.compose)([(0,n.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:s,getEditorDataImageUrl:a,getFocusKeyphrase:r,getRecommendedReplaceVars:n,getSiteIconUrlFromSettings:o,getSnippetEditorData:i,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:m}=e("yoast-seo/editor");return{baseUrl:t(),data:i(),date:s(),faviconSrc:o(),isLoading:l(),keyword:r(),mobileImageSrc:a(),mode:c(),recommendedReplacementVariables:n(),replacementVariables:ns(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:m()}})),(0,n.withDispatch)((e=>{const{updateData:t,switchMode:s,updateAnalysisData:a,loadSnippetEditorData:r}=e("yoast-seo/editor");return{onChange:(e,a)=>{switch(e){case"mode":s(a);break;case"slug":t({slug:a});break;default:t({[e]:a})}},onChangeAnalysisData:a,onLoad:r}})),Ba()])(Xn),eo=Gs()(qn)` +`,An=({children:e,title:t,icon:s,hasPaperStyle:a,shoppingData:r})=>(0,L.createElement)(Pn,{headingLevel:3,headingText:t,headingIcon:s,headingIconColor:"#555",hasPaperStyle:a,shoppingData:r},e);An.propTypes={children:E().element,title:E().string,icon:E().string,hasPaperStyle:E().bool,shoppingData:E().object},An.defaultProps={hasPaperStyle:!0,shoppingData:null};const Mn=An;function On(e,t,s=""){return(0,M.createInterpolateElement)(e,{a:(0,L.createElement)("a",{id:s,href:t,target:"_blank",rel:"noopener noreferrer"})})}window.wp.sanitize;const{stripHTMLTags:Fn}=We.strings,Dn=(0,Ee.memoize)(((e,t)=>0===e?Ee.noop:(0,Ee.debounce)((s=>t(s,e)),500))),Nn=({link:e,text:t})=>(0,L.createElement)(F.Root,null,(0,L.createElement)("p",null,t),(0,L.createElement)(F.Button,{href:e,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},(0,L.createElement)(D,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),(0,O.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")));Nn.propTypes={link:E().string.isRequired,text:E().string.isRequired};const qn=Nn,$n=function(e,t){let s=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(s=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[s]&&(e.url=e.url.slice(0,s)+e.url.slice(s+1)),function(e){const t=(0,Ee.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,Ee.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=(0,Ee.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],Ee.identity);return{url:e.url,title:Fn(t(e.title)),description:Fn(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?Fn(t(e.filteredSEOTitle)):""}}(e);const s=t._applyModifications.bind(t);return{url:e.url,title:Fn(s("data_page_title",e.title)),description:Fn(s("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?Fn(s("data_page_title",e.filteredSEOTitle)):""}}(e)},Bn=(0,sa.compose)([(0,n.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:s,getFocusKeyphrase:a,getRecommendedReplaceVars:r,getReplaceVars:n,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:l,getSnippetEditorMode:c,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:p,isCornerstoneContent:u,getIsTerm:m,getContentLocale:h,getSiteName:g}=e("yoast-seo/editor"),y=n();return y.forEach((e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:t(),data:l(),date:s(),faviconSrc:i(),keyword:a(),mobileImageSrc:d(),mode:c(),recommendedReplacementVariables:r(),replacementVariables:y,shoppingData:o(),wordsToHighlight:p(),isCornerstone:u(),isTaxonomy:m(),locale:h(),siteName:g()}})),(0,n.withDispatch)((function(e,t,{select:s}){const{updateData:a,switchMode:r,updateAnalysisData:n,findCustomFields:o}=e("yoast-seo/editor"),i=e("core/editor"),l=s("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":r(t);break;case"slug":a({slug:t}),i&&i.editPost({slug:t});break;default:a({[e]:t})}},onChangeAnalysisData:n,onReplacementVariableSearchChange:Dn(l,o)}}))])((e=>{const t=(0,Ee.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),s=(0,Ee.get)(window,"wpseoScriptData.woocommerceUpsell",""),a=(0,O.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return(0,L.createElement)(Zs.LocationConsumer,null,(r=>(0,L.createElement)(Mn,{icon:"eye",hasPaperStyle:e.hasPaperStyle},(0,L.createElement)(L.Fragment,null,s&&(0,L.createElement)(qn,{link:t,text:a}),(0,L.createElement)(Ln.SnippetEditor,{...e,descriptionPlaceholder:(0,O.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:$n,showCloseButton:!1,idSuffix:r})))))})),{stripHTMLTags:Un}=We.strings,Wn=(e,t)=>{const s=(0,n.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=s.title),""===e.description&&(e.description=s.description);let a=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(a=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[a]&&(e.url=e.url.slice(0,a)+e.url.slice(a+1)),{url:e.url,title:Un(Xe("data_page_title",e.title)),description:Un(Xe("data_meta_desc",e.description)),filteredSEOTitle:Un(Xe("data_page_title",e.filteredSEOTitle))}},zn=({isLoading:e,onLoad:t,location:s,...a})=>((0,M.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,L.createElement)(Mn,{icon:"eye",hasPaperStyle:a.hasPaperStyle},(0,L.createElement)(Ln.SnippetEditor,{...a,descriptionPlaceholder:(0,O.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:Wn,showCloseButton:!1,idSuffix:s})));zn.propTypes={isLoading:E().bool.isRequired,onLoad:E().func.isRequired,hasPaperStyle:E().bool.isRequired,location:E().string.isRequired};const Kn=(0,sa.compose)([(0,n.withSelect)((e=>{const{getBaseUrlFromSettings:t,getDateFromSettings:s,getEditorDataImageUrl:a,getFocusKeyphrase:r,getRecommendedReplaceVars:n,getSiteIconUrlFromSettings:o,getSnippetEditorData:i,getSnippetEditorIsLoading:l,getSnippetEditorMode:c,getSnippetEditorWordsToHighlight:d,isCornerstoneContent:p,getContentLocale:u,getSiteName:m}=e("yoast-seo/editor");return{baseUrl:t(),data:i(),date:s(),faviconSrc:o(),isLoading:l(),keyword:r(),mobileImageSrc:a(),mode:c(),recommendedReplacementVariables:n(),replacementVariables:ns(),wordsToHighlight:d(),isCornerstone:p(),locale:u(),siteName:m()}})),(0,n.withDispatch)((e=>{const{updateData:t,switchMode:s,updateAnalysisData:a,loadSnippetEditorData:r}=e("yoast-seo/editor");return{onChange:(e,a)=>{switch(e){case"mode":s(a);break;case"slug":t({slug:a});break;default:t({[e]:a})}},onChangeAnalysisData:a,onLoad:r}})),Aa()])(zn),Hn=ma()(In)` width: 18px; height: 18px; margin: 3px; -`,to=()=>{const e=Jr(),t=(0,n.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,L.createElement)(an,{title:(0,O.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,L.createElement)(eo,{className:"yst-text-slate-500",...e})},!0===t&&(0,L.createElement)(Jn,{showCloseButton:!1,hasPaperStyle:!1}),!1===t&&(0,L.createElement)(Gn,{showCloseButton:!1,hasPaperStyle:!1}))},so=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),ao=Gs().p` +`,Yn=()=>{const e=Hr(),t=(0,n.useSelect)((e=>e("yoast-seo/editor").getIsElementorEditor()),[]);return(0,L.createElement)(Vr,{title:(0,O.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,L.createElement)(Hn,{className:"yst-text-slate-500",...e})},!0===t&&(0,L.createElement)(Kn,{showCloseButton:!1,hasPaperStyle:!1}),!1===t&&(0,L.createElement)(Bn,{showCloseButton:!1,hasPaperStyle:!1}))},jn=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),Vn=ma().p` color: #606770; flex-shrink: 0; font-size: 12px; @@ -139,7 +139,7 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; -`,ro=e=>{const{siteUrl:t}=e;return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("span",{className:"screen-reader-text"},t),(0,L.createElement)(ao,{"aria-hidden":"true"},(0,L.createElement)("span",null,t)))};ro.propTypes={siteUrl:E().string.isRequired};const no=ro,oo=window.yoast.socialMetadataForms,io=window.yoast.styleGuide,lo=Gs().img` +`,Gn=e=>{const{siteUrl:t}=e;return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("span",{className:"screen-reader-text"},t),(0,L.createElement)(Vn,{"aria-hidden":"true"},(0,L.createElement)("span",null,t)))};Gn.propTypes={siteUrl:E().string.isRequired};const Zn=Gn,Qn=window.yoast.socialMetadataForms,Xn=window.yoast.styleGuide,Jn=ma().img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; @@ -149,25 +149,25 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme transform: translate(-50%, -50%); max-width: none; } -`,co=Gs().img` +`,eo=ma().img` &&{ height: 100%; position: absolute; width: 100%; object-fit: cover; } -`,po=Gs().div` +`,to=ma().div` padding-bottom: ${e=>e.aspectRatio}%; -`,uo=e=>{const{imageProps:t,width:s,height:a,imageMode:r}=e;return"landscape"===r?(0,L.createElement)(po,{aspectRatio:t.aspectRatio},(0,L.createElement)(co,{src:t.src,alt:t.alt})):(0,L.createElement)(lo,{src:t.src,alt:t.alt,width:s,height:a,imageProperties:t})};function mo(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function ho(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function go(e,t,s=!1){const a=await function(e){return new Promise(((t,s)=>{const a=new Image;a.onload=()=>{t({width:a.width,height:a.height})},a.onerror=s,a.src=e}))}(e);let r=s?"landscape":"square";"Facebook"===t&&(r=(0,oo.determineFacebookImageMode)(a));const n=function(e){return"Twitter"===e?oo.TWITTER_IMAGE_SIZES:oo.FACEBOOK_IMAGE_SIZES}(t),o=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:ho(t,mo(e,t,s))}(n,a,r);return{mode:r,height:o.height,width:o.width}}async function yo(e,t,s=!1){try{return{imageProperties:await go(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}uo.propTypes={imageProps:E().shape({src:E().string.isRequired,alt:E().string.isRequired,aspectRatio:E().number.isRequired}).isRequired,width:E().number.isRequired,height:E().number.isRequired,imageMode:E().string},uo.defaultProps={imageMode:"landscape"};const fo=Gs().div` +`,so=e=>{const{imageProps:t,width:s,height:a,imageMode:r}=e;return"landscape"===r?(0,L.createElement)(to,{aspectRatio:t.aspectRatio},(0,L.createElement)(eo,{src:t.src,alt:t.alt})):(0,L.createElement)(Jn,{src:t.src,alt:t.alt,width:s,height:a,imageProperties:t})};function ao(e,t,s){return"landscape"===s?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===s?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function ro(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}async function no(e,t,s=!1){const a=await function(e){return new Promise(((t,s)=>{const a=new Image;a.onload=()=>{t({width:a.width,height:a.height})},a.onerror=s,a.src=e}))}(e);let r=s?"landscape":"square";"Facebook"===t&&(r=(0,Qn.determineFacebookImageMode)(a));const n=function(e){return"Twitter"===e?Qn.TWITTER_IMAGE_SIZES:Qn.FACEBOOK_IMAGE_SIZES}(t),o=function(e,t,s){return"square"===s&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:ro(t,ao(e,t,s))}(n,a,r);return{mode:r,height:o.height,width:o.width}}async function oo(e,t,s=!1){try{return{imageProperties:await no(e,t,s),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}so.propTypes={imageProps:E().shape({src:E().string.isRequired,alt:E().string.isRequired,aspectRatio:E().number.isRequired}).isRequired,width:E().number.isRequired,height:E().number.isRequired,imageMode:E().string},so.defaultProps={imageMode:"landscape"};const io=ma().div` position: relative; ${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; - background-color: ${io.colors.$color_white}; -`,wo=Gs().div` + background-color: ${Xn.colors.$color_white}; +`,lo=ma().div` box-sizing: border-box; - max-width: ${oo.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; - height: ${oo.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; - background-color: ${io.colors.$color_grey}; + max-width: ${Qn.FACEBOOK_IMAGE_SIZES.landscapeWidth}px; + height: ${Qn.FACEBOOK_IMAGE_SIZES.landscapeHeight}px; + background-color: ${Xn.colors.$color_grey}; border-style: dashed; border-width: 1px; // We're not using standard colors to increase contrast for accessibility. @@ -180,7 +180,7 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class bo extends L.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await yo(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:oo.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:oo.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:oo.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:oo.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:oo.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:oo.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,L.createElement)(wo,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,O.__)("Select image","wordpress-seo"));const s=this.retrieveContainerDimensions(e.mode);return(0,L.createElement)(fo,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,L.createElement)(uo,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:oo.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}bo.propTypes={src:E().string,alt:E().string,onImageLoaded:E().func,onImageClick:E().func,onMouseEnter:E().func,onMouseLeave:E().func},bo.defaultProps={src:"",alt:"",onImageLoaded:Ee.noop,onImageClick:Ee.noop,onMouseEnter:Ee.noop,onMouseLeave:Ee.noop};const Eo=bo,_o=Gs().span` +`;class co extends L.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await oo(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:Qn.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:Qn.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:Qn.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:Qn.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:Qn.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:Qn.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return(0,L.createElement)(lo,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,O.__)("Select image","wordpress-seo"));const s=this.retrieveContainerDimensions(e.mode);return(0,L.createElement)(io,{mode:e.mode,dimensions:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},(0,L.createElement)(so,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Qn.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}co.propTypes={src:E().string,alt:E().string,onImageLoaded:E().func,onImageClick:E().func,onMouseEnter:E().func,onMouseLeave:E().func},co.defaultProps={src:"",alt:"",onImageLoaded:Ee.noop,onImageClick:Ee.noop,onMouseEnter:Ee.noop,onMouseLeave:Ee.noop};const po=co,uo=ma().span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; @@ -196,7 +196,7 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; -`,vo=Gs().p` +`,mo=ma().p` line-height: ${16}px; min-height : ${16}px; color: #606770; @@ -213,13 +213,13 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } -`,ko=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},xo=Gs().div` +`,ho=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},go=ma().div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; -`,So=Gs().div` +`,yo=ma().div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; @@ -235,7 +235,7 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; -`;class To extends L.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=P().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,a=this.getTitleLineCount();let r=t-a;"portrait"===s&&(r=5===a?0:4),r!==e&&this.setState({descriptionLineCount:r})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,L.createElement)(xo,{id:"facebookPreview",mode:e},(0,L.createElement)(Eo,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,L.createElement)(So,{mode:e},(0,L.createElement)(no,{siteUrl:this.props.siteUrl,mode:e}),(0,L.createElement)(_o,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),s>0&&(0,L.createElement)(vo,{maxWidth:ko(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s},this.props.description)))}}To.propTypes={siteUrl:E().string.isRequired,title:E().string.isRequired,description:E().string,imageUrl:E().string,imageFallbackUrl:E().string,alt:E().string,onSelect:E().func,onImageClick:E().func,onMouseHover:E().func},To.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const Ro=To,Co=Gs().div` +`;class fo extends L.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=P().createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,s="landscape"===e?2:5;s!==t&&this.setState({maxLineCount:s})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:s}=this.state,a=this.getTitleLineCount();let r=t-a;"portrait"===s&&(r=5===a?0:4),r!==e&&this.setState({descriptionLineCount:r})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:s}=this.state;return(0,L.createElement)(go,{id:"facebookPreview",mode:e},(0,L.createElement)(po,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,L.createElement)(yo,{mode:e},(0,L.createElement)(Zn,{siteUrl:this.props.siteUrl,mode:e}),(0,L.createElement)(uo,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),s>0&&(0,L.createElement)(mo,{maxWidth:ho(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:s},this.props.description)))}}fo.propTypes={siteUrl:E().string.isRequired,title:E().string.isRequired,description:E().string,imageUrl:E().string,imageFallbackUrl:E().string,alt:E().string,onSelect:E().func,onImageClick:E().func,onMouseHover:E().func},fo.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};const wo=fo,bo=ma().div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; @@ -246,14 +246,14 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme display: flex; flex-direction: row; align-items: flex-end; -`,Io=e=>(0,L.createElement)(Co,null,(0,L.createElement)("span",null,e.siteUrl));Io.propTypes={siteUrl:E().string.isRequired};const Lo=Io,Po=(e,t=!0)=>e?`\n\t\t\tmax-width: ${oo.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${oo.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,Ao=Gs().div` +`,Eo=e=>(0,L.createElement)(bo,null,(0,L.createElement)("span",null,e.siteUrl));Eo.propTypes={siteUrl:E().string.isRequired};const vo=Eo,_o=(e,t=!0)=>e?`\n\t\t\tmax-width: ${Qn.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${Qn.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,ko=ma().div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; - ${e=>Po(e.isLarge)} -`,Mo=Gs().div` + ${e=>_o(e.isLarge)} +`,xo=ma().div` display: flex; justify-content: center; align-items: center; @@ -263,9 +263,9 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme padding: 1em; text-align: center; font-size: 1rem; - ${e=>Po(e.isLarge,!1)} -`,Oo=Gs()(Mo)` - ${e=>e.isLarge&&`height: ${oo.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} + ${e=>_o(e.isLarge,!1)} +`,So=ma()(xo)` + ${e=>e.isLarge&&`height: ${Qn.TWITTER_IMAGE_SIZES.landscapeHeight}px;`} border-top-left-radius: 14px; ${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px; border-style: dashed; @@ -277,7 +277,7 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme text-decoration: underline; font-size: 14px; cursor: pointer; -`;class Do extends P().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await yo(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,L.createElement)(Oo,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,O.__)("Select image","wordpress-seo")):(0,L.createElement)(Ao,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,L.createElement)(uo,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:oo.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}Do.propTypes={isLarge:E().bool.isRequired,src:E().string,alt:E().string,onImageClick:E().func,onMouseEnter:E().func,onMouseLeave:E().func},Do.defaultProps={src:"",alt:"",onMouseEnter:Ee.noop,onImageClick:Ee.noop,onMouseLeave:Ee.noop};const Fo=Gs().div` +`;class To extends P().Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await oo(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?(0,L.createElement)(So,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,O.__)("Select image","wordpress-seo")):(0,L.createElement)(ko,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,L.createElement)(so,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:Qn.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}To.propTypes={isLarge:E().bool.isRequired,src:E().string,alt:E().string,onImageClick:E().func,onMouseEnter:E().func,onMouseLeave:E().func},To.defaultProps={src:"",alt:"",onMouseEnter:Ee.noop,onImageClick:Ee.noop,onMouseLeave:Ee.noop};const Ro=ma().div` display: flex; flex-direction: column; padding: 12px; @@ -292,14 +292,14 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme min-height:20px; font-size:15px; } -`,No=e=>(0,L.createElement)(Fo,null,e.children);No.propTypes={children:E().array.isRequired};const qo=No,$o=Gs().p` +`,Co=e=>(0,L.createElement)(Ro,null,e.children);Co.propTypes={children:E().array.isRequired};const Io=Co,Lo=ma().p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; -`,Bo=Gs().p` +`,Po=ma().p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; @@ -310,10 +310,10 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme -webkit-line-clamp: 2; -webkit-box-orient: vertical; - @media all and ( max-width: ${oo.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { + @media all and ( max-width: ${Qn.TWITTER_IMAGE_SIZES.landscapeWidth}px ) { display: none; } -`,Uo=Gs().div` +`,Ao=ma().div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; @@ -331,16 +331,16 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } -`,Wo=Gs()(Uo)` +`,Mo=ma()(Ao)` flex-direction: column; max-height: 370px; -`,zo=Gs()(Uo)` +`,Oo=ma()(Ao)` flex-direction: row; height: 125px; -`;class Ko extends L.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:a,title:r,description:n,siteUrl:o}=this.props,i=e?Wo:zo;return(0,L.createElement)(i,{id:"twitterPreview"},(0,L.createElement)(Do,{src:t||s,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,L.createElement)(qo,null,(0,L.createElement)(Lo,{siteUrl:o}),(0,L.createElement)($o,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),(0,L.createElement)(Bo,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},n)))}}Ko.propTypes={siteUrl:E().string.isRequired,title:E().string.isRequired,description:E().string,isLarge:E().bool,imageUrl:E().string,imageFallbackUrl:E().string,alt:E().string,onSelect:E().func,onImageClick:E().func,onMouseHover:E().func},Ko.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Ho=Ko,Yo=window.yoast.replacementVariableEditor;class jo extends L.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?Ro:Ho,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:r,imageWarnings:n,siteUrl:o,description:i,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:p,alt:u,title:m,titleInputPlaceholder:h,titlePreviewFallback:g,replacementVariables:y,recommendedReplacementVariables:f,applyReplacementVariables:w,onReplacementVariableSearchChange:b,isPremium:E,isLarge:_,socialPreviewLabel:v,idSuffix:k,activeMetaTabId:x}=this.props,S=w({title:m||g,description:i||c});return(0,L.createElement)(P().Fragment,null,v&&(0,L.createElement)(ba.SimulatedLabel,null,v),(0,L.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:o,title:S.title,description:S.description,imageUrl:d,imageFallbackUrl:p,alt:u,isLarge:_,activeMetaTabId:x}),(0,L.createElement)(oo.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:m,titleInputPlaceholder:h,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,onTitleChange:t,onSelectImageClick:s,description:i,descriptionInputPlaceholder:l,imageWarnings:n,replacementVariables:y,recommendedReplacementVariables:f,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:E,setEditorRef:this.setEditorRef,idSuffix:k}))}}jo.propTypes={title:E().string.isRequired,onTitleChange:E().func.isRequired,description:E().string.isRequired,onDescriptionChange:E().func.isRequired,imageUrl:E().string.isRequired,imageFallbackUrl:E().string.isRequired,onSelectImageClick:E().func.isRequired,onRemoveImageClick:E().func.isRequired,socialMediumName:E().string.isRequired,alt:E().string,isPremium:E().bool,imageWarnings:E().array,isLarge:E().bool,siteUrl:E().string,descriptionInputPlaceholder:E().string,titleInputPlaceholder:E().string,descriptionPreviewFallback:E().string,titlePreviewFallback:E().string,replacementVariables:Yo.replacementVariablesShape,recommendedReplacementVariables:Yo.recommendedReplacementVariablesShape,applyReplacementVariables:E().func,onReplacementVariableSearchChange:E().func,socialPreviewLabel:E().string,idSuffix:E().string,activeMetaTabId:E().string},jo.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const Vo={},Go=(e,t,{log:s=console.warn}={})=>{Vo[e]||(Vo[e]=!0,s(t))},Zo=(e,t=Ee.noop)=>{const s={};for(const a in e)Object.hasOwn(e,a)&&Object.defineProperty(s,a,{set:s=>{e[a]=s,t("set",a,s)},get:()=>(t("get",a),e[a])});return s};Zo({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>Go(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Zo({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>Go(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const Qo=Gs().div` +`;class Fo extends L.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:s,alt:a,title:r,description:n,siteUrl:o}=this.props,i=e?Mo:Oo;return(0,L.createElement)(i,{id:"twitterPreview"},(0,L.createElement)(To,{src:t||s,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),(0,L.createElement)(Io,null,(0,L.createElement)(vo,{siteUrl:o}),(0,L.createElement)(Lo,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),(0,L.createElement)(Po,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},n)))}}Fo.propTypes={siteUrl:E().string.isRequired,title:E().string.isRequired,description:E().string,isLarge:E().bool,imageUrl:E().string,imageFallbackUrl:E().string,alt:E().string,onSelect:E().func,onImageClick:E().func,onMouseHover:E().func},Fo.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};const Do=Fo,No=window.yoast.replacementVariableEditor;class qo extends L.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?wo:Do,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:r,imageWarnings:n,siteUrl:o,description:i,descriptionInputPlaceholder:l,descriptionPreviewFallback:c,imageUrl:d,imageFallbackUrl:p,alt:u,title:m,titleInputPlaceholder:h,titlePreviewFallback:g,replacementVariables:y,recommendedReplacementVariables:f,applyReplacementVariables:w,onReplacementVariableSearchChange:b,isPremium:E,isLarge:v,socialPreviewLabel:_,idSuffix:k,activeMetaTabId:x}=this.props,S=w({title:m||g,description:i||c});return(0,L.createElement)(P().Fragment,null,_&&(0,L.createElement)(ca.SimulatedLabel,null,_),(0,L.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:s,siteUrl:o,title:S.title,description:S.description,imageUrl:d,imageFallbackUrl:p,alt:u,isLarge:v,activeMetaTabId:x}),(0,L.createElement)(Qn.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:m,titleInputPlaceholder:h,onRemoveImageClick:a,imageSelected:!!d,imageUrl:d,onTitleChange:t,onSelectImageClick:s,description:i,descriptionInputPlaceholder:l,imageWarnings:n,replacementVariables:y,recommendedReplacementVariables:f,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:E,setEditorRef:this.setEditorRef,idSuffix:k}))}}qo.propTypes={title:E().string.isRequired,onTitleChange:E().func.isRequired,description:E().string.isRequired,onDescriptionChange:E().func.isRequired,imageUrl:E().string.isRequired,imageFallbackUrl:E().string.isRequired,onSelectImageClick:E().func.isRequired,onRemoveImageClick:E().func.isRequired,socialMediumName:E().string.isRequired,alt:E().string,isPremium:E().bool,imageWarnings:E().array,isLarge:E().bool,siteUrl:E().string,descriptionInputPlaceholder:E().string,titleInputPlaceholder:E().string,descriptionPreviewFallback:E().string,titlePreviewFallback:E().string,replacementVariables:No.replacementVariablesShape,recommendedReplacementVariables:No.recommendedReplacementVariablesShape,applyReplacementVariables:E().func,onReplacementVariableSearchChange:E().func,socialPreviewLabel:E().string,idSuffix:E().string,activeMetaTabId:E().string},qo.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const $o={},Bo=(e,t,{log:s=console.warn}={})=>{$o[e]||($o[e]=!0,s(t))},Uo=(e,t=Ee.noop)=>{const s={};for(const a in e)Object.hasOwn(e,a)&&Object.defineProperty(s,a,{set:s=>{e[a]=s,t("set",a,s)},get:()=>(t("get",a),e[a])});return s};Uo({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},((e,t)=>Bo(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`))),Uo({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},((e,t)=>Bo(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)));const Wo=ma().div` max-width: calc(527px + 1.5rem); -`,Xo=e=>{const t="X"===e.socialMediumName?(0,O.__)("X share preview","wordpress-seo"):(0,O.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,D.useRootContext)();return(0,L.createElement)(D.Root,null,(0,L.createElement)(Qo,null,(0,L.createElement)(D.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,ve.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ -(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,L.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,L.createElement)(D.Label,null,t),(0,L.createElement)(Ro,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:Ee.noop,onImageClick:Ee.noop,onMouseHover:Ee.noop})))))};Xo.propTypes={socialMediumName:E().oneOf(["Social","Twitter","X"]).isRequired};const Jo=Xo;class ei extends M.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:r,imageWarnings:n,description:o,descriptionInputPlaceholder:i,imageUrl:l,alt:c,title:d,titleInputPlaceholder:p,replacementVariables:u,recommendedReplacementVariables:m,onReplacementVariableSearchChange:h,isPremium:g,location:y}=this.props;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(Jo,{socialMediumName:r}),(0,L.createElement)(oo.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:d,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,imageAltText:c,onTitleChange:t,onSelectImageClick:s,description:o,descriptionInputPlaceholder:i,imageWarnings:n,replacementVariables:u,recommendedReplacementVariables:m,onReplacementVariableSearchChange:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:g,setEditorRef:this.setEditorRef,idSuffix:y}))}}ei.propTypes={title:E().string.isRequired,onTitleChange:E().func.isRequired,description:E().string.isRequired,onDescriptionChange:E().func.isRequired,imageUrl:E().string.isRequired,onSelectImageClick:E().func.isRequired,onRemoveImageClick:E().func.isRequired,socialMediumName:E().string.isRequired,isPremium:E().bool,imageWarnings:E().array,descriptionInputPlaceholder:E().string,titleInputPlaceholder:E().string,replacementVariables:Yo.replacementVariablesShape,recommendedReplacementVariables:Yo.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:E().func,location:E().string,alt:E().string},ei.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const ti=ei,si=e=>{const[t,s]=(0,M.useState)(""),a=(0,M.useCallback)((e=>{s(e.detail.metaTabId)}),[s]);(0,M.useEffect)((()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",a),()=>{window.removeEventListener("YoastSEO:metaTabChange",a)})),[]);const r=(0,M.useMemo)((()=>({...e,activeMetaTabId:t})),[e,t]);return e.isPremium?(0,L.createElement)(A.Slot,{name:`YoastFacebookPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:r}):(0,L.createElement)(ti,{...r})};si.propTypes={isPremium:E().bool.isRequired,onLoad:E().func.isRequired,location:E().string.isRequired};const ai=si;function ri(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var a;e({type:(a=s.attributes).subtype,width:a.width,height:a.height,url:a.url,id:a.id,sizes:a.sizes,alt:a.alt||a.title||a.name})})),t})(e).open()}const ni=()=>{ri((e=>(0,n.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,a=(0,oo.determineFacebookImageMode)({width:t,height:s}),r=oo.FACEBOOK_IMAGE_SIZES[a+"Width"],n=oo.FACEBOOK_IMAGE_SIZES[a+"Height"],o=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=n));return{url:o?o.url:e.url,id:e.id,warnings:(0,We.validateFacebookImage)(e),alt:e.alt||""}})(e))))},oi=(0,ua.compose)([(0,n.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:a,getSeoTitle:r,getFacebookImageUrl:n,getImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:y,getFacebookAltText:f}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:o(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||s()||h()||y()||"",title:a(),titlePreviewFallback:m()||r()||u()||p()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!pt().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:f()}})),(0,n.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:a,setFacebookPreviewDescription:r,clearFacebookPreviewImage:n,loadFacebookPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:ni,onRemoveImageClick:n,onDescriptionChange:r,onTitleChange:a,onLoad:o,onReplacementVariableSearchChange:Hn(l,i)}})),Ba()])(ai),ii=e=>((0,M.useEffect)((()=>{setTimeout(e.onLoad)}),[]),e.isPremium?(0,L.createElement)(A.Slot,{name:`YoastTwitterPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:e}):(0,L.createElement)(ti,{...e}));ii.propTypes={isPremium:E().bool.isRequired,onLoad:E().func.isRequired,location:E().string.isRequired};const li=ii,ci=()=>{ri((e=>(0,n.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,Ee.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=oo.TWITTER_IMAGE_SIZES[t+"Width"],a=oo.TWITTER_IMAGE_SIZES[t+"Height"],r=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=a));return{url:r?r.url:e.url,id:e.id,warnings:(0,We.validateTwitterImage)(e),alt:e.alt||""}})(e))))},di=(0,ua.compose)([(0,n.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:a,getFacebookImageUrl:r,getFacebookTitle:n,getFacebookDescription:o,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:y,getSocialTitleTemplate:f,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:_}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:r()||p(),recommendedReplacementVariables:u(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||o()||i()||w()||E()||"",title:s(),titlePreviewFallback:f()||n()||l()||y()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!pt().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:_()}})),(0,n.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:a,setTwitterPreviewDescription:r,clearTwitterPreviewImage:n,loadTwitterPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:ci,onRemoveImageClick:n,onDescriptionChange:r,onTitleChange:a,onLoad:o,onReplacementVariableSearchChange:Hn(l,i)}})),Ba()])(li),pi=Gs()(ba.Collapsible)` +`,zo=e=>{const t="X"===e.socialMediumName?(0,O.__)("X share preview","wordpress-seo"):(0,O.__)("Social share preview","wordpress-seo"),{locationContext:s}=(0,F.useRootContext)();return(0,L.createElement)(F.Root,null,(0,L.createElement)(Wo,null,(0,L.createElement)(F.FeatureUpsell,{shouldUpsell:!0,variant:"card",cardLink:(0,_e.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:s}),cardText:(0,O.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ +(0,O.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium"),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,L.createElement)("div",{className:"yst-grayscale yst-opacity-50"},(0,L.createElement)(F.Label,null,t),(0,L.createElement)(wo,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:Ee.noop,onImageClick:Ee.noop,onMouseHover:Ee.noop})))))};zo.propTypes={socialMediumName:E().oneOf(["Social","Twitter","X"]).isRequired};const Ko=zo;class Ho extends M.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},(()=>this.setEditorFocus(e)))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:s,onRemoveImageClick:a,socialMediumName:r,imageWarnings:n,description:o,descriptionInputPlaceholder:i,imageUrl:l,alt:c,title:d,titleInputPlaceholder:p,replacementVariables:u,recommendedReplacementVariables:m,onReplacementVariableSearchChange:h,isPremium:g,location:y}=this.props;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(Ko,{socialMediumName:r}),(0,L.createElement)(Qn.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:d,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,imageAltText:c,onTitleChange:t,onSelectImageClick:s,description:o,descriptionInputPlaceholder:i,imageWarnings:n,replacementVariables:u,recommendedReplacementVariables:m,onReplacementVariableSearchChange:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:g,setEditorRef:this.setEditorRef,idSuffix:y}))}}Ho.propTypes={title:E().string.isRequired,onTitleChange:E().func.isRequired,description:E().string.isRequired,onDescriptionChange:E().func.isRequired,imageUrl:E().string.isRequired,onSelectImageClick:E().func.isRequired,onRemoveImageClick:E().func.isRequired,socialMediumName:E().string.isRequired,isPremium:E().bool,imageWarnings:E().array,descriptionInputPlaceholder:E().string,titleInputPlaceholder:E().string,replacementVariables:No.replacementVariablesShape,recommendedReplacementVariables:No.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:E().func,location:E().string,alt:E().string},Ho.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""};const Yo=Ho,jo=e=>{const[t,s]=(0,M.useState)(""),a=(0,M.useCallback)((e=>{s(e.detail.metaTabId)}),[s]);(0,M.useEffect)((()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",a),()=>{window.removeEventListener("YoastSEO:metaTabChange",a)})),[]);const r=(0,M.useMemo)((()=>({...e,activeMetaTabId:t})),[e,t]);return e.isPremium?(0,L.createElement)(A.Slot,{name:`YoastFacebookPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:r}):(0,L.createElement)(Yo,{...r})};jo.propTypes={isPremium:E().bool.isRequired,onLoad:E().func.isRequired,location:E().string.isRequired};const Vo=jo;function Go(e){(function(e){const t=window.wp.media();return t.on("select",(()=>{const s=t.state().get("selection").first();var a;e({type:(a=s.attributes).subtype,width:a.width,height:a.height,url:a.url,id:a.id,sizes:a.sizes,alt:a.alt||a.title||a.name})})),t})(e).open()}const Zo=()=>{Go((e=>(0,n.dispatch)("yoast-seo/editor").setFacebookPreviewImage((e=>{const{width:t,height:s}=e,a=(0,Qn.determineFacebookImageMode)({width:t,height:s}),r=Qn.FACEBOOK_IMAGE_SIZES[a+"Width"],n=Qn.FACEBOOK_IMAGE_SIZES[a+"Height"],o=Object.values(e.sizes).find((e=>e.width>=r&&e.height>=n));return{url:o?o.url:e.url,id:e.id,warnings:(0,We.validateFacebookImage)(e),alt:e.alt||""}})(e))))},Qo=(0,sa.compose)([(0,n.withSelect)((e=>{const{getFacebookDescription:t,getDescription:s,getFacebookTitle:a,getSeoTitle:r,getFacebookImageUrl:n,getImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:l,getReplaceVars:c,getSiteUrl:d,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:u,getSocialTitleTemplate:m,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:y,getFacebookAltText:f}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:o(),recommendedReplacementVariables:l(),replacementVariables:c(),description:t(),descriptionPreviewFallback:g()||s()||h()||y()||"",title:a(),titlePreviewFallback:m()||r()||u()||p()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!pt().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:f()}})),(0,n.withDispatch)(((e,t,{select:s})=>{const{setFacebookPreviewTitle:a,setFacebookPreviewDescription:r,clearFacebookPreviewImage:n,loadFacebookPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:Zo,onRemoveImageClick:n,onDescriptionChange:r,onTitleChange:a,onLoad:o,onReplacementVariableSearchChange:Dn(l,i)}})),Aa()])(Vo),Xo=e=>((0,M.useEffect)((()=>{setTimeout(e.onLoad)}),[]),e.isPremium?(0,L.createElement)(A.Slot,{name:`YoastTwitterPremium${e.location.charAt(0).toUpperCase()+e.location.slice(1)}`,fillProps:e}):(0,L.createElement)(Yo,{...e}));Xo.propTypes={isPremium:E().bool.isRequired,onLoad:E().func.isRequired,location:E().string.isRequired};const Jo=Xo,ei=()=>{Go((e=>(0,n.dispatch)("yoast-seo/editor").setTwitterPreviewImage((e=>{const t="summary"!==(0,Ee.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",s=Qn.TWITTER_IMAGE_SIZES[t+"Width"],a=Qn.TWITTER_IMAGE_SIZES[t+"Height"],r=Object.values(e.sizes).find((e=>e.width>=s&&e.height>=a));return{url:r?r.url:e.url,id:e.id,warnings:(0,We.validateTwitterImage)(e),alt:e.alt||""}})(e))))},ti=(0,sa.compose)([(0,n.withSelect)((e=>{const{getTwitterDescription:t,getTwitterTitle:s,getTwitterImageUrl:a,getFacebookImageUrl:r,getFacebookTitle:n,getFacebookDescription:o,getDescription:i,getSeoTitle:l,getTwitterWarnings:c,getTwitterImageType:d,getImageFallback:p,getRecommendedReplaceVars:u,getReplaceVars:m,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:y,getSocialTitleTemplate:f,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:b,getReplacedExcerpt:E,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:r()||p(),recommendedReplacementVariables:u(),replacementVariables:m(),description:t(),descriptionPreviewFallback:b()||o()||i()||w()||E()||"",title:s(),titlePreviewFallback:f()||n()||l()||y()||g()||"",imageWarnings:c(),siteUrl:h(),isPremium:!!pt().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"X",alt:v()}})),(0,n.withDispatch)(((e,t,{select:s})=>{const{setTwitterPreviewTitle:a,setTwitterPreviewDescription:r,clearTwitterPreviewImage:n,loadTwitterPreviewData:o,findCustomFields:i}=e("yoast-seo/editor"),l=s("yoast-seo/editor").getPostId();return{onSelectImageClick:ei,onRemoveImageClick:n,onDescriptionChange:r,onTitleChange:a,onLoad:o,onReplacementVariableSearchChange:Dn(l,i)}})),Aa()])(Jo),si=ma()(ca.Collapsible)` h2 > button { padding-left: 0; padding-top: 16px; @@ -356,46 +356,46 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme border-top: 1px solid rgba(0,0,0,0.2); } -`,ui=e=>(0,L.createElement)(pi,{hasPadding:!1,hasSeparator:!0,...e}),mi=Gs().legend` +`,ai=e=>(0,L.createElement)(si,{hasPadding:!1,hasSeparator:!0,...e}),ri=ma().legend` margin: 16px 0; padding: 0; - color: ${io.colors.$color_headings}; + color: ${Xn.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,hi=Gs().legend` +`,ni=ma().legend` margin: 0 0 16px; padding: 0; - color: ${io.colors.$color_headings}; + color: ${Xn.colors.$color_headings}; font-size: 12px; font-weight: 300; -`,gi=Gs()(so)` +`,oi=ma()(jn)` width: 18px; height: 18px; margin: 3px; -`,yi=e=>{const{useOpenGraphData:t,useTwitterData:s}=e;if(!t&&!s)return;const a=Jr();return(0,L.createElement)(an -/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,O.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,L.createElement)(gi,{className:"yst-text-slate-500",...a})},t&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(hi,null,(0,O.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,L.createElement)(oi,null),s&&(0,L.createElement)(mi,null,(0,O.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),t&&s&&(0,L.createElement)(ui,{title:(0,O.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,L.createElement)(di,null)),!t&&s&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(hi,null,(0,O.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,L.createElement)(di,null)))};yi.propTypes={useOpenGraphData:E().bool.isRequired,useTwitterData:E().bool.isRequired};const fi=yi,wi=(0,O.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),bi=e=>{const{locationContext:t}=(0,ea.useRootContext)(),s=(0,ve.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:t});return(0,L.createElement)(Aa,{title:(0,O.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ha(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year of premium support and updates included!","wordpress-seo")})};bi.propTypes={buyLink:E().string.isRequired,description:E().string},bi.defaultProps={description:wi};const Ei=bi,_i=({location:e})=>{const[t,s]=(0,M.useState)(!1),a=(0,M.useCallback)((()=>s(!1)),[]),r=(0,M.useCallback)((()=>s(!0)),[]),n=(0,D.useSvgAria)();return(0,L.createElement)(M.Fragment,null,t&&(0,L.createElement)(Na,{title:(0,O.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${Da} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,L.createElement)(Oa,null,(0,L.createElement)(Ei,{buyLink:`shortlinks.upsell.${e}.premium_seo_analysis_button`}))),"sidebar"===e&&(0,L.createElement)(_a,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,O.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:io.colors.$color_grey},onClick:r},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===e&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(wa,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:r},(0,L.createElement)(ba.SvgIcon,{icon:"seo-score-none",color:io.colors.$color_grey}),(0,L.createElement)(wa.Text,null,(0,O.__)("Premium SEO analysis","wordpress-seo")),(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,L.createElement)("span",null,"Premium")))))};_i.propTypes={location:E().string},_i.defaultProps={location:"sidebar"};const vi=_i,ki=e=>{const[t,s]=(0,M.useState)(!1),{prefixIcon:a}=e;return(0,L.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},(0,L.createElement)("h2",{className:"components-panel__body-title"},(0,L.createElement)("button",{onClick:function(){s(!t)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,L.createElement)("span",{className:"yoast-icon-span",style:{fill:`${a&&a.color||""}`}},a&&(0,L.createElement)(ba.SvgIcon,{icon:a.icon,color:a.color,size:a.size})),(0,L.createElement)("span",{className:"yoast-title-container"},(0,L.createElement)("div",{className:"yoast-title"},e.title),(0,L.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,L.createElement)(ba.BetaBadge,null),(0,L.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)},xi=ki;ki.propTypes={title:E().string.isRequired,children:E().oneOfType([E().node,E().arrayOf(E().node)]).isRequired,prefixIcon:E().object,subTitle:E().string,hasBetaBadgeLabel:E().bool,buttonId:E().string},ki.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};var Si=s(6746);const Ti=(0,We.makeOutboundLink)(),Ri=Gs().div` +`,ii=e=>{const{useOpenGraphData:t,useTwitterData:s}=e;if(!t&&!s)return;const a=Hr();return(0,L.createElement)(Vr +/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:(0,O.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:(0,L.createElement)(oi,{className:"yst-text-slate-500",...a})},t&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ni,null,(0,O.__)("Determine how your post should look on social media like Facebook, X, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),(0,L.createElement)(Qo,null),s&&(0,L.createElement)(ri,null,(0,O.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on X.","wordpress-seo"))),t&&s&&(0,L.createElement)(ai,{title:(0,O.__)("X appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},(0,L.createElement)(ti,null)),!t&&s&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ni,null,(0,O.__)("To customize the appearance of your post specifically for X, please fill out the 'X appearance' settings below.","wordpress-seo")),(0,L.createElement)(ti,null)))};ii.propTypes={useOpenGraphData:E().bool.isRequired,useTwitterData:E().bool.isRequired};const li=ii,ci=(0,O.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),di=e=>{const{locationContext:t}=(0,Zs.useRootContext)(),s=(0,_e.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:t});return(0,L.createElement)(xa,{title:(0,O.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ra(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year of premium support and updates included!","wordpress-seo")})};di.propTypes={buyLink:E().string.isRequired,description:E().string},di.defaultProps={description:ci};const pi=di,ui=({location:e})=>{const[t,s]=(0,M.useState)(!1),a=(0,M.useCallback)((()=>s(!1)),[]),r=(0,M.useCallback)((()=>s(!0)),[]),n=(0,F.useSvgAria)();return(0,L.createElement)(M.Fragment,null,t&&(0,L.createElement)(Ia,{title:(0,O.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:a,additionalClassName:"",className:`${Ra} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},(0,L.createElement)(Ta,null,(0,L.createElement)(pi,{buyLink:`shortlinks.upsell.${e}.premium_seo_analysis_button`}))),"sidebar"===e&&(0,L.createElement)(pa,{id:"yoast-premium-seo-analysis-modal-open-button",title:(0,O.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:Xn.colors.$color_grey},onClick:r},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===e&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(la,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:r},(0,L.createElement)(ca.SvgIcon,{icon:"seo-score-none",color:Xn.colors.$color_grey}),(0,L.createElement)(la.Text,null,(0,O.__)("Premium SEO analysis","wordpress-seo")),(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,L.createElement)("span",null,"Premium")))))};ui.propTypes={location:E().string},ui.defaultProps={location:"sidebar"};const mi=ui,hi=e=>{const[t,s]=(0,M.useState)(!1),{prefixIcon:a}=e;return(0,L.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},(0,L.createElement)("h2",{className:"components-panel__body-title"},(0,L.createElement)("button",{onClick:function(){s(!t)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,L.createElement)("span",{className:"yoast-icon-span",style:{fill:`${a&&a.color||""}`}},a&&(0,L.createElement)(ca.SvgIcon,{icon:a.icon,color:a.color,size:a.size})),(0,L.createElement)("span",{className:"yoast-title-container"},(0,L.createElement)("div",{className:"yoast-title"},e.title),(0,L.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,L.createElement)(ca.BetaBadge,null),(0,L.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)},gi=hi;hi.propTypes={title:E().string.isRequired,children:E().oneOfType([E().node,E().arrayOf(E().node)]).isRequired,prefixIcon:E().object,subTitle:E().string,hasBetaBadgeLabel:E().bool,buttonId:E().string},hi.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};var yi=s(6746);const fi=(0,We.makeOutboundLink)(),wi=ma().div` padding: 16px; -`,Ci="yoast-seo/editor";function Ii({location:e,show:t}){return t?(0,L.createElement)(ba.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ -(0,O.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,L.createElement)(Ti,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`]},(0,O.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ -(0,O.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}Ii.propTypes={show:E().bool.isRequired,location:E().string.isRequired};const Li=(e,t,s)=>{const a=(0,n.useSelect)((e=>e(Ci).getIsProduct()),[]),r=(0,n.useSelect)((e=>e(Ci).getIsWooSeoActive()),[]),o=a&&r?{name:(0,O.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,O.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ -(0,O.__)("Default for %1$s (%2$s)","wordpress-seo"),s,o?o.name:""),value:""},...e]},Pi=e=>(0,O.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ -(0,O.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");E().string.isRequired,E().string.isRequired,E().string.isRequired;const Ai=e=>{const t=Li(e.pageTypeOptions,e.defaultPageType,e.postTypeName),s=Li(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=(0,Ee.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),r=(0,Ee.get)(window,"wpseoScriptData.woocommerceUpsell",""),[o,i]=(0,M.useState)(e.schemaArticleTypeSelected),l=(0,O.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),c=(0,n.useSelect)((e=>e(Ci).getIsProduct()),[]),d=(0,n.useSelect)((e=>e(Ci).getIsWooSeoActive()),[]),p=c&&d,u=(0,M.useCallback)(((e,t)=>{i(t)}),[o]);return(0,M.useEffect)((()=>{u(null,e.schemaArticleTypeSelected)}),[e.schemaArticleTypeSelected]),(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ba.FieldGroup,{label:(0,O.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about page or content types","wordpress-seo")}),r&&(0,L.createElement)(jn,{link:a,text:l}),(0,L.createElement)(ba.Select,{id:(0,We.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,O.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:p?"ItemPage":e.schemaPageTypeSelected,disabled:p}),e.showArticleTypeInput&&(0,L.createElement)(ba.Select,{id:(0,We.join)(["yoast-schema-article-type",e.location]),options:s,label:(0,O.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:u}),(0,L.createElement)(Ii,{location:e.location,show:!e.isNewsEnabled&&(h=o,g=e.defaultArticleType,"NewsArticle"===h||""===h&&"NewsArticle"===g)}),e.displayFooter&&!p&&(0,L.createElement)("p",null,(m=e.postTypeName,(0,Si.Z)({mixedString:Pi(m),components:{link:(0,L.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),p&&(0,L.createElement)("p",null,(0,O.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,O.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var m,h,g},Mi=E().arrayOf(E().shape({name:E().string,value:E().string}));Ai.propTypes={schemaPageTypeChange:E().func,schemaPageTypeSelected:E().string,pageTypeOptions:Mi.isRequired,schemaArticleTypeChange:E().func,schemaArticleTypeSelected:E().string,articleTypeOptions:Mi.isRequired,showArticleTypeInput:E().bool.isRequired,additionalHelpTextLink:E().string.isRequired,helpTextLink:E().string.isRequired,helpTextTitle:E().string.isRequired,helpTextDescription:E().string.isRequired,postTypeName:E().string.isRequired,displayFooter:E().bool,defaultPageType:E().string.isRequired,defaultArticleType:E().string.isRequired,location:E().string.isRequired,isNewsEnabled:E().bool},Ai.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const Oi=e=>e.isMetabox?(0,M.createPortal)((0,L.createElement)(Ri,null,(0,L.createElement)(Ai,{...e})),document.getElementById("wpseo-meta-section-schema")):(0,L.createElement)(Ai,{...e});Oi.propTypes={showArticleTypeInput:E().bool,articleTypeLabel:E().string,additionalHelpTextLink:E().string,pageTypeLabel:E().string.isRequired,helpTextLink:E().string.isRequired,helpTextTitle:E().string.isRequired,helpTextDescription:E().string.isRequired,isMetabox:E().bool.isRequired,postTypeName:E().string.isRequired,displayFooter:E().bool,loadSchemaArticleData:E().func.isRequired,loadSchemaPageData:E().func.isRequired,location:E().string.isRequired},Oi.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const Di=Oi;class Fi{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return Fi.articleTypeInput.getAttribute("data-default")}static get articleType(){return Fi.articleTypeInput.value}static set articleType(e){Fi.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return Fi.pageTypeInput.getAttribute("data-default")}static get pageType(){return Fi.pageTypeInput.value}static set pageType(e){Fi.pageTypeInput.value=e}}const Ni=e=>{const t=null!==Fi.articleTypeInput;(0,M.useEffect)((()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,r={articleTypeLabel:(0,O.__)("Article type","wordpress-seo"),pageTypeLabel:(0,O.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,O.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,O.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:s,articleTypeOptions:a},n={...e,...r,...(o=e.location,"metabox"===o?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var o;return(0,L.createElement)(Di,{...n})};Ni.propTypes={displayFooter:E().bool.isRequired,schemaPageTypeSelected:E().string.isRequired,schemaArticleTypeSelected:E().string.isRequired,defaultArticleType:E().string.isRequired,defaultPageType:E().string.isRequired,loadSchemaPageData:E().func.isRequired,loadSchemaArticleData:E().func.isRequired,schemaPageTypeChange:E().func.isRequired,schemaArticleTypeChange:E().func.isRequired,location:E().string.isRequired};const qi=(0,ua.compose)([(0,n.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:a,getArticleType:r,getDefaultArticleType:n}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:s(),schemaArticleTypeSelected:r(),defaultArticleType:n(),defaultPageType:a()}})),(0,n.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:a,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:a,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),Ba()])(Ni),$i=e=>{if(!e.isAuthenticated)return null;const t=(0,M.useCallback)((()=>{ls("wordproof:open_settings")}));return(0,L.createElement)(A.Button,{variant:"link",onClick:t},(0,O.__)("Manage WordProof settings","wordpress-seo"))};$i.propTypes={isAuthenticated:E().bool.isRequired};const Bi=e=>{const t=(0,M.useCallback)((()=>{cs()}));return!e.isAuthenticated&&e.toggleIsEnabled?(0,L.createElement)(A.Button,{variant:"link",onClick:t},(0,O.__)("Authenticate with WordProof","wordpress-seo")):null};Bi.propTypes={isAuthenticated:E().bool.isRequired,toggleIsEnabled:E().bool.isRequired};class Ui extends M.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):cs()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ba.FieldGroup -/* translators: Hidden accessibility text. */,{linkText:(0,O.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:(0,O.__)("Timestamp with WordProof","wordpress-seo")},(0,L.createElement)(ba.Toggle,{id:this.props.id,labelText:(0,O.sprintf)(/* Translators: %s translates to the Post type in singular form */ -(0,O.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,L.createElement)($i,{isAuthenticated:this.props.isAuthenticated}),(0,L.createElement)(Bi,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,L.createElement)(ba.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,O.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}Ui.propTypes={id:E().string,isEnabled:E().bool,onToggle:E().func,postTypeName:E().string,isAuthenticated:E().bool.isRequired},Ui.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:Ee.noop};const Wi=(0,ua.compose)([(0,n.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(Ui),zi=({noIndex:e,onNoIndexChange:t,editorContext:s,isPrivateBlog:a})=>{const r=(e=>{const t=(0,O.__)("No","wordpress-seo"),s=(0,O.__)("Yes","wordpress-seo"),a=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,O.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ +`,bi="yoast-seo/editor";function Ei({location:e,show:t}){return t?(0,L.createElement)(ca.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ +(0,O.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",(0,L.createElement)(fi,{href:window.wpseoAdminL10n[`shortlinks.upsell.${e}.news`]},(0,O.sprintf)(/* translators: %s: Expands to "Yoast News SEO". */ +(0,O.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}Ei.propTypes={show:E().bool.isRequired,location:E().string.isRequired};const vi=(e,t,s)=>{const a=(0,n.useSelect)((e=>e(bi).getIsProduct()),[]),r=(0,n.useSelect)((e=>e(bi).getIsWooSeoActive()),[]),o=a&&r?{name:(0,O.__)("Item Page","wordpress-seo"),value:"ItemPage"}:e.find((e=>e.value===t));return[{name:(0,O.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */ +(0,O.__)("Default for %1$s (%2$s)","wordpress-seo"),s,o?o.name:""),value:""},...e]},_i=e=>(0,O.sprintf)(/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */ +(0,O.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");E().string.isRequired,E().string.isRequired,E().string.isRequired;const ki=e=>{const t=vi(e.pageTypeOptions,e.defaultPageType,e.postTypeName),s=vi(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=(0,Ee.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),r=(0,Ee.get)(window,"wpseoScriptData.woocommerceUpsell",""),[o,i]=(0,M.useState)(e.schemaArticleTypeSelected),l=(0,O.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),c=(0,n.useSelect)((e=>e(bi).getIsProduct()),[]),d=(0,n.useSelect)((e=>e(bi).getIsWooSeoActive()),[]),p=c&&d,u=(0,M.useCallback)(((e,t)=>{i(t)}),[o]);return(0,M.useEffect)((()=>{u(null,e.schemaArticleTypeSelected)}),[e.schemaArticleTypeSelected]),(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ca.FieldGroup,{label:(0,O.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about page or content types","wordpress-seo")}),r&&(0,L.createElement)(qn,{link:a,text:l}),(0,L.createElement)(ca.Select,{id:(0,We.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,O.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:p?"ItemPage":e.schemaPageTypeSelected,disabled:p}),e.showArticleTypeInput&&(0,L.createElement)(ca.Select,{id:(0,We.join)(["yoast-schema-article-type",e.location]),options:s,label:(0,O.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:u}),(0,L.createElement)(Ei,{location:e.location,show:!e.isNewsEnabled&&(h=o,g=e.defaultArticleType,"NewsArticle"===h||""===h&&"NewsArticle"===g)}),e.displayFooter&&!p&&(0,L.createElement)("p",null,(m=e.postTypeName,(0,yi.Z)({mixedString:_i(m),components:{link:(0,L.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))),p&&(0,L.createElement)("p",null,(0,O.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ +(0,O.__)("You have %1$s activated on your site, automatically setting the Page type for your products to 'Item Page'. As a result, the Page type selection is disabled.","wordpress-seo"),"Yoast WooCommerce SEO")));var m,h,g},xi=E().arrayOf(E().shape({name:E().string,value:E().string}));ki.propTypes={schemaPageTypeChange:E().func,schemaPageTypeSelected:E().string,pageTypeOptions:xi.isRequired,schemaArticleTypeChange:E().func,schemaArticleTypeSelected:E().string,articleTypeOptions:xi.isRequired,showArticleTypeInput:E().bool.isRequired,additionalHelpTextLink:E().string.isRequired,helpTextLink:E().string.isRequired,helpTextTitle:E().string.isRequired,helpTextDescription:E().string.isRequired,postTypeName:E().string.isRequired,displayFooter:E().bool,defaultPageType:E().string.isRequired,defaultArticleType:E().string.isRequired,location:E().string.isRequired,isNewsEnabled:E().bool},ki.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const Si=e=>e.isMetabox?(0,M.createPortal)((0,L.createElement)(wi,null,(0,L.createElement)(ki,{...e})),document.getElementById("wpseo-meta-section-schema")):(0,L.createElement)(ki,{...e});Si.propTypes={showArticleTypeInput:E().bool,articleTypeLabel:E().string,additionalHelpTextLink:E().string,pageTypeLabel:E().string.isRequired,helpTextLink:E().string.isRequired,helpTextTitle:E().string.isRequired,helpTextDescription:E().string.isRequired,isMetabox:E().bool.isRequired,postTypeName:E().string.isRequired,displayFooter:E().bool,loadSchemaArticleData:E().func.isRequired,loadSchemaPageData:E().func.isRequired,location:E().string.isRequired},Si.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};const Ti=Si;class Ri{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return Ri.articleTypeInput.getAttribute("data-default")}static get articleType(){return Ri.articleTypeInput.value}static set articleType(e){Ri.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return Ri.pageTypeInput.getAttribute("data-default")}static get pageType(){return Ri.pageTypeInput.value}static set pageType(e){Ri.pageTypeInput.value=e}}const Ci=e=>{const t=null!==Ri.articleTypeInput;(0,M.useEffect)((()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);const{pageTypeOptions:s,articleTypeOptions:a}=window.wpseoScriptData.metabox.schema,r={articleTypeLabel:(0,O.__)("Article type","wordpress-seo"),pageTypeLabel:(0,O.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,O.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,O.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:s,articleTypeOptions:a},n={...e,...r,...(o=e.location,"metabox"===o?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var o;return(0,L.createElement)(Ti,{...n})};Ci.propTypes={displayFooter:E().bool.isRequired,schemaPageTypeSelected:E().string.isRequired,schemaArticleTypeSelected:E().string.isRequired,defaultArticleType:E().string.isRequired,defaultPageType:E().string.isRequired,loadSchemaPageData:E().func.isRequired,loadSchemaArticleData:E().func.isRequired,schemaPageTypeChange:E().func.isRequired,schemaArticleTypeChange:E().func.isRequired,location:E().string.isRequired};const Ii=(0,sa.compose)([(0,n.withSelect)((e=>{const{getPreferences:t,getPageType:s,getDefaultPageType:a,getArticleType:r,getDefaultArticleType:n}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:s(),schemaArticleTypeSelected:r(),defaultArticleType:n(),defaultPageType:a()}})),(0,n.withDispatch)((e=>{const{setPageType:t,setArticleType:s,getSchemaPageData:a,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:a,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:s}})),Aa()])(Ci),Li=e=>{if(!e.isAuthenticated)return null;const t=(0,M.useCallback)((()=>{ls("wordproof:open_settings")}));return(0,L.createElement)(A.Button,{variant:"link",onClick:t},(0,O.__)("Manage WordProof settings","wordpress-seo"))};Li.propTypes={isAuthenticated:E().bool.isRequired};const Pi=e=>{const t=(0,M.useCallback)((()=>{cs()}));return!e.isAuthenticated&&e.toggleIsEnabled?(0,L.createElement)(A.Button,{variant:"link",onClick:t},(0,O.__)("Authenticate with WordProof","wordpress-seo")):null};Pi.propTypes={isAuthenticated:E().bool.isRequired,toggleIsEnabled:E().bool.isRequired};class Ai extends M.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):cs()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ca.FieldGroup +/* translators: Hidden accessibility text. */,{linkText:(0,O.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:(0,O.__)("Timestamp with WordProof","wordpress-seo")},(0,L.createElement)(ca.Toggle,{id:this.props.id,labelText:(0,O.sprintf)(/* Translators: %s translates to the Post type in singular form */ +(0,O.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),(0,L.createElement)(Li,{isAuthenticated:this.props.isAuthenticated}),(0,L.createElement)(Pi,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&(0,L.createElement)(ca.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},(0,O.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}Ai.propTypes={id:E().string,isEnabled:E().bool,onToggle:E().func,postTypeName:E().string,isAuthenticated:E().bool.isRequired},Ai.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:Ee.noop};const Mi=(0,sa.compose)([(0,n.withSelect)((e=>({isAuthenticated:e("wordproof").getIsAuthenticated()})))])(Ai),Oi=({noIndex:e,onNoIndexChange:t,editorContext:s,isPrivateBlog:a})=>{const r=(e=>{const t=(0,O.__)("No","wordpress-seo"),s=(0,O.__)("Yes","wordpress-seo"),a=e.noIndex?t:s;return window.wpseoScriptData.isPost?[{name:(0,O.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ (0,O.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:s,value:"2"}]:[{name:(0,O.sprintf)(/* translators: the first %s translates to "yes" or "no", the second %s translates to the content type label in plural form */ -(0,O.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(s);return(0,L.createElement)(ea.LocationConsumer,null,(s=>(0,L.createElement)(M.Fragment,null,a&&(0,L.createElement)(ba.Alert,{type:"warning"},(0,O.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),(0,L.createElement)(ba.Select,{label:(0,O.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:t,id:(0,We.join)(["yoast-meta-robots-noindex",s]),options:r,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};zi.propTypes={noIndex:E().string.isRequired,onNoIndexChange:E().func.isRequired,editorContext:E().object.isRequired,isPrivateBlog:E().bool},zi.defaultProps={isPrivateBlog:!1};const Ki=({noFollow:e,onNoFollowChange:t})=>(0,L.createElement)(ea.LocationConsumer,null,(s=>{const a=(0,We.join)(["yoast-meta-robots-nofollow",s]);return(0,L.createElement)(ba.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,O.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:a,onChange:t,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));Ki.propTypes={noFollow:E().string.isRequired,onNoFollowChange:E().func.isRequired};const Hi=({advanced:e,onAdvancedChange:t})=>(0,L.createElement)(ea.LocationConsumer,null,(s=>{const a=(0,We.join)(["yoast-meta-robots-advanced",s]),r=`${a}-input`;return(0,L.createElement)(ba.MultiSelect,{label:(0,O.__)("Meta robots advanced","wordpress-seo"),onChange:t,id:a,inputId:r,options:[{name:(0,O.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,O.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,O.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));Hi.propTypes={advanced:E().array.isRequired,onAdvancedChange:E().func.isRequired};const Yi=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:t})=>(0,L.createElement)(ea.LocationConsumer,null,(s=>(0,L.createElement)(ba.TextInput,{label:(0,O.__)("Breadcrumbs Title","wordpress-seo"),id:(0,We.join)(["yoast-breadcrumbs-title",s]),onChange:t,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));Yi.propTypes={breadcrumbsTitle:E().string.isRequired,onBreadcrumbsTitleChange:E().func.isRequired};const ji=({canonical:e,onCanonicalChange:t})=>(0,L.createElement)(ea.LocationConsumer,null,(s=>(0,L.createElement)(ba.TextInput,{label:(0,O.__)("Canonical URL","wordpress-seo"),id:(0,We.join)(["yoast-canonical",s]),onChange:t,value:e,linkTo:"https://yoa.st/canonical-url" -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));ji.propTypes={canonical:E().string.isRequired,onCanonicalChange:E().func.isRequired};const Vi=({wordproofTimestamp:e,onWordProofTimestampChange:t,postTypeName:s})=>(0,L.createElement)(ea.LocationConsumer,null,(a=>(0,L.createElement)(Wi,{id:(0,We.join)(["yoast-wordproof-timestamp",a]),isEnabled:e,onToggle:t,postTypeName:s})));Vi.propTypes={wordproofTimestamp:E().bool.isRequired,onWordProofTimestampChange:E().func.isRequired,postTypeName:E().string.isRequired};const Gi=e=>{const{noIndex:t,noFollow:s,advanced:a,breadcrumbsTitle:r,canonical:n,wordproofTimestamp:o,onNoIndexChange:i,onNoFollowChange:l,onAdvancedChange:c,onBreadcrumbsTitleChange:d,onCanonicalChange:p,onWordProofTimestampChange:u,onLoad:m,isLoading:h,editorContext:g,isBreadcrumbsDisabled:y,isPrivateBlog:f,isWordProofIntegrationActive:w}=e;(0,M.useEffect)((()=>{setTimeout((()=>{h&&m()}))}));const b={noIndex:t,onNoIndexChange:i,editorContext:g,isPrivateBlog:f},E={noFollow:s,onNoFollowChange:l},_={advanced:a,onAdvancedChange:c},v={breadcrumbsTitle:r,onBreadcrumbsTitleChange:d},k={canonical:n,onCanonicalChange:p},x={wordproofTimestamp:o,onWordProofTimestampChange:u,postTypeName:g.postTypeNameSingular};return h?null:(0,L.createElement)(M.Fragment,null,(0,L.createElement)(zi,{...b}),g.isPost&&(0,L.createElement)(Ki,{...E}),g.isPost&&(0,L.createElement)(Hi,{..._}),!y&&(0,L.createElement)(Yi,{...v}),(0,L.createElement)(ji,{...k}),w&&(0,L.createElement)(Vi,{...x}))};Gi.propTypes={noIndex:E().string.isRequired,canonical:E().string.isRequired,wordproofTimestamp:E().bool,onNoIndexChange:E().func.isRequired,onCanonicalChange:E().func.isRequired,onWordProofTimestampChange:E().func,onLoad:E().func.isRequired,isLoading:E().bool.isRequired,editorContext:E().object.isRequired,isBreadcrumbsDisabled:E().bool.isRequired,isPrivateBlog:E().bool,advanced:E().array,onAdvancedChange:E().func,noFollow:E().string,onNoFollowChange:E().func,breadcrumbsTitle:E().string,onBreadcrumbsTitleChange:E().func,isWordProofIntegrationActive:E().bool.isRequired},Gi.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const Zi=Gi,Qi=(0,ua.compose)([(0,n.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:a,getBreadcrumbsTitle:r,getCanonical:n,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}=c();return{noIndex:t(),noFollow:s(),advanced:a(),breadcrumbsTitle:r(),canonical:n(),wordproofTimestamp:o(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}})),(0,n.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:a,setBreadcrumbsTitle:r,setCanonical:n,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:a,onBreadcrumbsTitleChange:r,onCanonicalChange:n,onWordProofTimestampChange:o,onLoad:i}}))])(Zi),Xi=()=>(0,L.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,O.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ -(0,O.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,L.createElement)(ba.SvgIcon,{icon:"loading-spinner"})),Ji=(0,We.makeOutboundLink)(),el=()=>(0,L.createElement)(M.Fragment,null,(0,L.createElement)("p",null,(0,O.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,O.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,L.createElement)(Ji,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,O.sprintf)(/* translators: %s : Expands to "Semrush". */ -(0,O.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),tl="yoast-semrush-country-selector",sl=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class al extends M.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){l()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const a=await this.doRequest(e,t);200!==a.status?this.handleFailedResponse(a):this.handleSuccessResponse(a)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await l()({path:(0,ve.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,L.createElement)("div",{id:tl},(0,L.createElement)(ba.SingleSelect,{id:tl+"-select",label:(0,O.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:sl,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,L.createElement)(ba.NewButton,{id:tl+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,O.__)("Select country","wordpress-seo")))}}al.propTypes={keyphrase:E().string,countryCode:E().string,response:E().object,lastRequestKeyphrase:E().string,setCountry:E().func.isRequired,newRequest:E().func.isRequired,setNoResultsFound:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setRequestLimitReached:E().func.isRequired,setRequestFailed:E().func.isRequired},al.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const rl=al,nl=({data:e,mapChartDataToTableData:t,dataTableCaption:s,dataTableHeaderLabels:a,isDataTableVisuallyHidden:r})=>e.length!==a.length?(0,L.createElement)("p",null,(0,O.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,L.createElement)("div",{className:r?"screen-reader-text":null},(0,L.createElement)("table",null,(0,L.createElement)("caption",null,s),(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,a.map(((e,t)=>(0,L.createElement)("th",{key:t},e))))),(0,L.createElement)("tbody",null,(0,L.createElement)("tr",null,e.map(((e,s)=>(0,L.createElement)("td",{key:s},t(e.y))))))));nl.propTypes={data:E().arrayOf(E().shape({x:E().number,y:E().number})).isRequired,mapChartDataToTableData:E().func,dataTableCaption:E().string.isRequired,dataTableHeaderLabels:E().array.isRequired,isDataTableVisuallyHidden:E().bool},nl.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const ol=nl,il=({data:e,width:t,height:s,fillColor:a,strokeColor:r,strokeWidth:n,className:o,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d})=>{const p=Math.max(1,Math.max(...e.map((e=>e.x)))),u=Math.max(1,Math.max(...e.map((e=>e.y)))),m=s-n,h=e.map((e=>`${e.x/p*t},${m-e.y/u*m+n}`)).join(" "),g=`0,${m+n} `+h+` ${t},${m+n}`;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:o,role:"img","aria-hidden":"true",focusable:"false"},(0,L.createElement)("polygon",{fill:a,points:g}),(0,L.createElement)("polyline",{fill:"none",stroke:r,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:h})),i&&(0,L.createElement)(ol,{data:e,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d}))};il.propTypes={data:E().arrayOf(E().shape({x:E().number,y:E().number})).isRequired,width:E().number.isRequired,height:E().number.isRequired,fillColor:E().string,strokeColor:E().string,strokeWidth:E().number,className:E().string,mapChartDataToTableData:E().func,dataTableCaption:E().string.isRequired,dataTableHeaderLabels:E().array.isRequired,isDataTableVisuallyHidden:E().bool},il.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const ll=il,cl=(0,We.makeOutboundLink)(Gs().a` +(0,O.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlural),value:"default"},{name:s,value:"index"},{name:t,value:"noindex"}]})(s);return(0,L.createElement)(Zs.LocationConsumer,null,(s=>(0,L.createElement)(M.Fragment,null,a&&(0,L.createElement)(ca.Alert,{type:"warning"},(0,O.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),(0,L.createElement)(ca.Select,{label:(0,O.__)("Allow search engines to show this content in search results?","wordpress-seo"),onChange:t,id:(0,We.join)(["yoast-meta-robots-noindex",s]),options:r,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"] +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))))};Oi.propTypes={noIndex:E().string.isRequired,onNoIndexChange:E().func.isRequired,editorContext:E().object.isRequired,isPrivateBlog:E().bool},Oi.defaultProps={isPrivateBlog:!1};const Fi=({noFollow:e,onNoFollowChange:t})=>(0,L.createElement)(Zs.LocationConsumer,null,(s=>{const a=(0,We.join)(["yoast-meta-robots-nofollow",s]);return(0,L.createElement)(ca.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,O.__)("Should search engines follow links on this content?","wordpress-seo"),groupName:a,onChange:t,selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"] +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}));Fi.propTypes={noFollow:E().string.isRequired,onNoFollowChange:E().func.isRequired};const Di=({advanced:e,onAdvancedChange:t})=>(0,L.createElement)(Zs.LocationConsumer,null,(s=>{const a=(0,We.join)(["yoast-meta-robots-advanced",s]),r=`${a}-input`;return(0,L.createElement)(ca.MultiSelect,{label:(0,O.__)("Meta robots advanced","wordpress-seo"),onChange:t,id:a,inputId:r,options:[{name:(0,O.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,O.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,O.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:e,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"] +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}));Di.propTypes={advanced:E().array.isRequired,onAdvancedChange:E().func.isRequired};const Ni=({breadcrumbsTitle:e,onBreadcrumbsTitleChange:t})=>(0,L.createElement)(Zs.LocationConsumer,null,(s=>(0,L.createElement)(ca.TextInput,{label:(0,O.__)("Breadcrumbs Title","wordpress-seo"),id:(0,We.join)(["yoast-breadcrumbs-title",s]),onChange:t,value:e,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"] +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})));Ni.propTypes={breadcrumbsTitle:E().string.isRequired,onBreadcrumbsTitleChange:E().func.isRequired};const qi=({canonical:e,onCanonicalChange:t})=>(0,L.createElement)(Zs.LocationConsumer,null,(s=>(0,L.createElement)(ca.TextInput,{label:(0,O.__)("Canonical URL","wordpress-seo"),id:(0,We.join)(["yoast-canonical",s]),onChange:t,value:e,linkTo:"https://yoa.st/canonical-url" +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})));qi.propTypes={canonical:E().string.isRequired,onCanonicalChange:E().func.isRequired};const $i=({wordproofTimestamp:e,onWordProofTimestampChange:t,postTypeName:s})=>(0,L.createElement)(Zs.LocationConsumer,null,(a=>(0,L.createElement)(Mi,{id:(0,We.join)(["yoast-wordproof-timestamp",a]),isEnabled:e,onToggle:t,postTypeName:s})));$i.propTypes={wordproofTimestamp:E().bool.isRequired,onWordProofTimestampChange:E().func.isRequired,postTypeName:E().string.isRequired};const Bi=e=>{const{noIndex:t,noFollow:s,advanced:a,breadcrumbsTitle:r,canonical:n,wordproofTimestamp:o,onNoIndexChange:i,onNoFollowChange:l,onAdvancedChange:c,onBreadcrumbsTitleChange:d,onCanonicalChange:p,onWordProofTimestampChange:u,onLoad:m,isLoading:h,editorContext:g,isBreadcrumbsDisabled:y,isPrivateBlog:f,isWordProofIntegrationActive:w}=e;(0,M.useEffect)((()=>{setTimeout((()=>{h&&m()}))}));const b={noIndex:t,onNoIndexChange:i,editorContext:g,isPrivateBlog:f},E={noFollow:s,onNoFollowChange:l},v={advanced:a,onAdvancedChange:c},_={breadcrumbsTitle:r,onBreadcrumbsTitleChange:d},k={canonical:n,onCanonicalChange:p},x={wordproofTimestamp:o,onWordProofTimestampChange:u,postTypeName:g.postTypeNameSingular};return h?null:(0,L.createElement)(M.Fragment,null,(0,L.createElement)(Oi,{...b}),g.isPost&&(0,L.createElement)(Fi,{...E}),g.isPost&&(0,L.createElement)(Di,{...v}),!y&&(0,L.createElement)(Ni,{..._}),(0,L.createElement)(qi,{...k}),w&&(0,L.createElement)($i,{...x}))};Bi.propTypes={noIndex:E().string.isRequired,canonical:E().string.isRequired,wordproofTimestamp:E().bool,onNoIndexChange:E().func.isRequired,onCanonicalChange:E().func.isRequired,onWordProofTimestampChange:E().func,onLoad:E().func.isRequired,isLoading:E().bool.isRequired,editorContext:E().object.isRequired,isBreadcrumbsDisabled:E().bool.isRequired,isPrivateBlog:E().bool,advanced:E().array,onAdvancedChange:E().func,noFollow:E().string,onNoFollowChange:E().func,breadcrumbsTitle:E().string,onBreadcrumbsTitleChange:E().func,isWordProofIntegrationActive:E().bool.isRequired},Bi.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};const Ui=Bi,Wi=(0,sa.compose)([(0,n.withSelect)((e=>{const{getNoIndex:t,getNoFollow:s,getAdvanced:a,getBreadcrumbsTitle:r,getCanonical:n,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:l,getPreferences:c}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}=c();return{noIndex:t(),noFollow:s(),advanced:a(),breadcrumbsTitle:r(),canonical:n(),wordproofTimestamp:o(),isLoading:i(),editorContext:l(),isBreadcrumbsDisabled:d,isPrivateBlog:p,isWordProofIntegrationActive:u}})),(0,n.withDispatch)((e=>{const{setNoIndex:t,setNoFollow:s,setAdvanced:a,setBreadcrumbsTitle:r,setCanonical:n,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:s,onAdvancedChange:a,onBreadcrumbsTitleChange:r,onCanonicalChange:n,onWordProofTimestampChange:o,onLoad:i}}))])(Ui),zi=()=>(0,L.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,O.sprintf)(/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */ +(0,O.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",(0,L.createElement)(ca.SvgIcon,{icon:"loading-spinner"})),Ki=(0,We.makeOutboundLink)(),Hi=()=>(0,L.createElement)(M.Fragment,null,(0,L.createElement)("p",null,(0,O.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,O.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),(0,L.createElement)(Ki,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,O.sprintf)(/* translators: %s : Expands to "Semrush". */ +(0,O.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),(0,L.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),Yi="yoast-semrush-country-selector",ji=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class Vi extends M.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){l()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:s}=this.props;s(t,e),this.storeCountryCode(t);const a=await this.doRequest(e,t);200!==a.status?this.handleFailedResponse(a):this.handleSuccessResponse(a)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:s}=this.props;0!==e.results.rows.length?s(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:s}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():s(e))}async doRequest(e,t){return await l()({path:(0,_e.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return(0,L.createElement)("div",{id:Yi},(0,L.createElement)(ca.SingleSelect,{id:Yi+"-select",label:(0,O.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:ji,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),(0,L.createElement)(ca.NewButton,{id:Yi+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,O.__)("Select country","wordpress-seo")))}}Vi.propTypes={keyphrase:E().string,countryCode:E().string,response:E().object,lastRequestKeyphrase:E().string,setCountry:E().func.isRequired,newRequest:E().func.isRequired,setNoResultsFound:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setRequestLimitReached:E().func.isRequired,setRequestFailed:E().func.isRequired},Vi.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};const Gi=Vi,Zi=({data:e,mapChartDataToTableData:t,dataTableCaption:s,dataTableHeaderLabels:a,isDataTableVisuallyHidden:r})=>e.length!==a.length?(0,L.createElement)("p",null,(0,O.__)("The number of headers and header labels don't match.","wordpress-seo")):(0,L.createElement)("div",{className:r?"screen-reader-text":null},(0,L.createElement)("table",null,(0,L.createElement)("caption",null,s),(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,a.map(((e,t)=>(0,L.createElement)("th",{key:t},e))))),(0,L.createElement)("tbody",null,(0,L.createElement)("tr",null,e.map(((e,s)=>(0,L.createElement)("td",{key:s},t(e.y))))))));Zi.propTypes={data:E().arrayOf(E().shape({x:E().number,y:E().number})).isRequired,mapChartDataToTableData:E().func,dataTableCaption:E().string.isRequired,dataTableHeaderLabels:E().array.isRequired,isDataTableVisuallyHidden:E().bool},Zi.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Qi=Zi,Xi=({data:e,width:t,height:s,fillColor:a,strokeColor:r,strokeWidth:n,className:o,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d})=>{const p=Math.max(1,Math.max(...e.map((e=>e.x)))),u=Math.max(1,Math.max(...e.map((e=>e.y)))),m=s-n,h=e.map((e=>`${e.x/p*t},${m-e.y/u*m+n}`)).join(" "),g=`0,${m+n} `+h+` ${t},${m+n}`;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)("svg",{width:t,height:s,viewBox:`0 0 ${t} ${s}`,className:o,role:"img","aria-hidden":"true",focusable:"false"},(0,L.createElement)("polygon",{fill:a,points:g}),(0,L.createElement)("polyline",{fill:"none",stroke:r,strokeWidth:n,strokeLinejoin:"round",strokeLinecap:"round",points:h})),i&&(0,L.createElement)(Qi,{data:e,mapChartDataToTableData:i,dataTableCaption:l,dataTableHeaderLabels:c,isDataTableVisuallyHidden:d}))};Xi.propTypes={data:E().arrayOf(E().shape({x:E().number,y:E().number})).isRequired,width:E().number.isRequired,height:E().number.isRequired,fillColor:E().string,strokeColor:E().string,strokeWidth:E().number,className:E().string,mapChartDataToTableData:E().func,dataTableCaption:E().string.isRequired,dataTableHeaderLabels:E().array.isRequired,isDataTableVisuallyHidden:E().bool},Xi.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};const Ji=Xi,el=(0,We.makeOutboundLink)(ma().a` display: inline-block; position: relative; outline: none; @@ -406,16 +406,16 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme margin: -4px 0; vertical-align: middle; - color: ${io.colors.$color_help_text}; + color: ${Xn.colors.$color_help_text}; &:hover, &:focus { - color: ${io.colors.$color_snippet_focus}; + color: ${Xn.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { - color: ${io.colors.$color_help_text}; + color: ${Xn.colors.$color_help_text}; } &::before { @@ -425,41 +425,41 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme padding: 2px; content: "\f223"; } -`),dl=(0,We.makeOutboundLink)();class pl extends M.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,O.__)("Twelve months ago","wordpress-seo"),(0,O.__)("Eleven months ago","wordpress-seo"),(0,O.__)("Ten months ago","wordpress-seo"),(0,O.__)("Nine months ago","wordpress-seo"),(0,O.__)("Eight months ago","wordpress-seo"),(0,O.__)("Seven months ago","wordpress-seo"),(0,O.__)("Six months ago","wordpress-seo"),(0,O.__)("Five months ago","wordpress-seo"),(0,O.__)("Four months ago","wordpress-seo"),(0,O.__)("Three months ago","wordpress-seo"),(0,O.__)("Two months ago","wordpress-seo"),(0,O.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:s,data:a,renderAction:r}=this.props,n="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return a&&!(0,Ee.isEmpty)(a.results)&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)("table",{className:"yoast yoast-table"},(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,(0,L.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,O.__)("Related keyphrase","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Volume","wordpress-seo")},(0,O.__)("Volume","wordpress-seo"),(0,L.createElement)(cl,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,O.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Trend","wordpress-seo")},(0,O.__)("Trend","wordpress-seo"),(0,L.createElement)(cl,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,O.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&(0,L.createElement)("td",{className:"yoast-table--nobreak"}))),(0,L.createElement)("tbody",null,a.results.rows.map(((e,s)=>{const a=e[0],n=this.transformTrendDataToChartPoints(e[2]),o=this.getAreaChartDataTableHeaderLabels();return(0,L.createElement)("tr",{key:s},(0,L.createElement)("td",null,a),(0,L.createElement)("td",null,e[1]),(0,L.createElement)("td",{className:"yoast-table--nopadding"},(0,L.createElement)(ll,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,O.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:o})),r&&(0,L.createElement)("td",{className:"yoast-table--nobreak"},r(a,t)))})))),(0,L.createElement)("p",{style:{marginBottom:0}},(0,L.createElement)(dl,{href:n},(0,O.sprintf)(/* translators: %s expands to Semrush */ -(0,O.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}pl.propTypes={data:E().object,keyphrase:E().string,relatedKeyphrases:E().array,countryCode:E().string,renderAction:E().func},pl.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const ul=pl,ml=(0,We.makeOutboundLink)(),hl=()=>(0,L.createElement)(ba.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,O.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,L.createElement)(ml,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ -(0,O.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),gl=()=>(0,L.createElement)(ba.Alert,{type:"error"},(0,O.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),yl=()=>(0,L.createElement)(ba.Alert,{type:"warning"},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ -(0,O.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function fl(e){const{response:t,lastRequestKeyphrase:s,keyphrase:a,newRequest:r,setCountry:n,renderAction:o,countryCode:i,requestLimitReached:l,setRequestFailed:c,setNoResultsFound:d,relatedKeyphrases:p,setRequestSucceeded:u,setRequestLimitReached:m}=e,h=pt().isPremium;return(0,L.createElement)(M.Fragment,null,!l&&(0,L.createElement)(M.Fragment,null,!h&&(0,L.createElement)(hl,null),h&&function(e){return e&&e.length>=4}(p)&&(0,L.createElement)(yl,null),(0,L.createElement)(rl,{countryCode:i,setCountry:n,newRequest:r,keyphrase:a,setRequestFailed:c,setNoResultsFound:d,setRequestSucceeded:u,setRequestLimitReached:m,response:t,lastRequestKeyphrase:s})),function(e){const{isPending:t,requestLimitReached:s,isSuccess:a,response:r,requestHasData:n}=e;return t?(0,L.createElement)(Xi,null):s?(0,L.createElement)(el,null):!a&&function(e){return!(0,Ee.isEmpty)(e)&&"error"in e}(r)?(0,L.createElement)(gl,null):n?void 0:(0,L.createElement)("p",null,(0,O.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,L.createElement)(ul,{keyphrase:a,relatedKeyphrases:p,countryCode:i,renderAction:o,data:t}))}fl.propTypes={keyphrase:E().string,relatedKeyphrases:E().array,renderAction:E().func,requestLimitReached:E().bool,countryCode:E().string.isRequired,setCountry:E().func.isRequired,newRequest:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setRequestLimitReached:E().func.isRequired,setRequestFailed:E().func.isRequired,setNoResultsFound:E().func.isRequired,response:E().object,lastRequestKeyphrase:E().string},fl.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const wl=(0,ua.compose)([(0,n.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:a,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:n,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:a(),response:r(),isSuccess:n(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,n.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:a,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:n,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{n()},setNoResultsFound:()=>{o()}}}))])(fl),bl=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))}));var El,_l;function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",vl({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),El||(El=L.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),_l||(_l=L.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),xl=window.moment;var Sl=s.n(xl);const Tl=(0,We.makeOutboundLink)(),Rl=e=>{const t=(0,O.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ -(0,O.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return(0,L.createElement)(ba.Alert,{type:"error"},(0,Si.Z)({mixedString:t,components:{updateWincherPlanLink:(0,L.createElement)(Tl,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,O.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,O.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};Rl.propTypes={limit:E().number},Rl.defaultProps={limit:10};const Cl=Rl,Il=()=>(0,L.createElement)(ba.Alert,{type:"error"},(0,O.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function Ll(e,t,s,a=200){try{const r=await e();return!!r&&(r.status===a?t(r):s(r))}catch(e){console.error(e.message)}}async function Pl(e){try{return await l()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function Al(e){return(0,Ee.isArray)(e)||(e=[e]),await Pl({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const Ml=Gs().p` - color: ${io.colors.$color_pink_dark}; +`),tl=(0,We.makeOutboundLink)();class sl extends M.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map(((e,t)=>({x:t,y:parseFloat(e)})))}getAreaChartDataTableHeaderLabels(){return[(0,O.__)("Twelve months ago","wordpress-seo"),(0,O.__)("Eleven months ago","wordpress-seo"),(0,O.__)("Ten months ago","wordpress-seo"),(0,O.__)("Nine months ago","wordpress-seo"),(0,O.__)("Eight months ago","wordpress-seo"),(0,O.__)("Seven months ago","wordpress-seo"),(0,O.__)("Six months ago","wordpress-seo"),(0,O.__)("Five months ago","wordpress-seo"),(0,O.__)("Four months ago","wordpress-seo"),(0,O.__)("Three months ago","wordpress-seo"),(0,O.__)("Two months ago","wordpress-seo"),(0,O.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:s,data:a,renderAction:r}=this.props,n="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(s);return a&&!(0,Ee.isEmpty)(a.results)&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)("table",{className:"yoast yoast-table"},(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,(0,L.createElement)("th",{scope:"col",className:"yoast-table--primary"},(0,O.__)("Related keyphrase","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Volume","wordpress-seo")},(0,O.__)("Volume","wordpress-seo"),(0,L.createElement)(el,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,O.__)("Learn more about the related keyphrases volume","wordpress-seo")))),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Trend","wordpress-seo")},(0,O.__)("Trend","wordpress-seo"),(0,L.createElement)(el,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},(0,L.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,O.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&(0,L.createElement)("td",{className:"yoast-table--nobreak"}))),(0,L.createElement)("tbody",null,a.results.rows.map(((e,s)=>{const a=e[0],n=this.transformTrendDataToChartPoints(e[2]),o=this.getAreaChartDataTableHeaderLabels();return(0,L.createElement)("tr",{key:s},(0,L.createElement)("td",null,a),(0,L.createElement)("td",null,e[1]),(0,L.createElement)("td",{className:"yoast-table--nopadding"},(0,L.createElement)(Ji,{width:66,height:24,data:n,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:(0,O.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:o})),r&&(0,L.createElement)("td",{className:"yoast-table--nobreak"},r(a,t)))})))),(0,L.createElement)("p",{style:{marginBottom:0}},(0,L.createElement)(tl,{href:n},(0,O.sprintf)(/* translators: %s expands to Semrush */ +(0,O.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}sl.propTypes={data:E().object,keyphrase:E().string,relatedKeyphrases:E().array,countryCode:E().string,renderAction:E().func},sl.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};const al=sl,rl=(0,We.makeOutboundLink)(),nl=()=>(0,L.createElement)(ca.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,O.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")+" ",(0,L.createElement)(rl,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ +(0,O.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"))),ol=()=>(0,L.createElement)(ca.Alert,{type:"error"},(0,O.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),il=()=>(0,L.createElement)(ca.Alert,{type:"warning"},(0,O.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ +(0,O.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));function ll(e){const{response:t,lastRequestKeyphrase:s,keyphrase:a,newRequest:r,setCountry:n,renderAction:o,countryCode:i,requestLimitReached:l,setRequestFailed:c,setNoResultsFound:d,relatedKeyphrases:p,setRequestSucceeded:u,setRequestLimitReached:m}=e,h=pt().isPremium;return(0,L.createElement)(M.Fragment,null,!l&&(0,L.createElement)(M.Fragment,null,!h&&(0,L.createElement)(nl,null),h&&function(e){return e&&e.length>=4}(p)&&(0,L.createElement)(il,null),(0,L.createElement)(Gi,{countryCode:i,setCountry:n,newRequest:r,keyphrase:a,setRequestFailed:c,setNoResultsFound:d,setRequestSucceeded:u,setRequestLimitReached:m,response:t,lastRequestKeyphrase:s})),function(e){const{isPending:t,requestLimitReached:s,isSuccess:a,response:r,requestHasData:n}=e;return t?(0,L.createElement)(zi,null):s?(0,L.createElement)(Hi,null):!a&&function(e){return!(0,Ee.isEmpty)(e)&&"error"in e}(r)?(0,L.createElement)(ol,null):n?void 0:(0,L.createElement)("p",null,(0,O.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),(0,L.createElement)(al,{keyphrase:a,relatedKeyphrases:p,countryCode:i,renderAction:o,data:t}))}ll.propTypes={keyphrase:E().string,relatedKeyphrases:E().array,renderAction:E().func,requestLimitReached:E().bool,countryCode:E().string.isRequired,setCountry:E().func.isRequired,newRequest:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setRequestLimitReached:E().func.isRequired,setRequestFailed:E().func.isRequired,setNoResultsFound:E().func.isRequired,response:E().object,lastRequestKeyphrase:E().string},ll.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""};const cl=(0,sa.compose)([(0,n.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:s,getSEMrushRequestLimitReached:a,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:n,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:l}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:s(),requestLimitReached:a(),response:r(),isSuccess:n(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:l()}})),(0,n.withDispatch)((e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:s,setSEMrushRequestSucceeded:a,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:n,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{s(e,t)},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{n()},setNoResultsFound:()=>{o()}}}))])(ll),dl=L.forwardRef((function(e,t){return L.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),L.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))}));var pl,ul;function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",ml({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),pl||(pl=L.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),ul||(ul=L.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),gl=window.moment;var yl=s.n(gl);const fl=(0,We.makeOutboundLink)(),wl=e=>{const t=(0,O.sprintf)(/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */ +(0,O.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return(0,L.createElement)(ca.Alert,{type:"error"},(0,yi.Z)({mixedString:t,components:{updateWincherPlanLink:(0,L.createElement)(fl,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},(0,O.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,O.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};wl.propTypes={limit:E().number},wl.defaultProps={limit:10};const bl=wl,El=()=>(0,L.createElement)(ca.Alert,{type:"error"},(0,O.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"));async function vl(e,t,s,a=200){try{const r=await e();return!!r&&(r.status===a?t(r):s(r))}catch(e){console.error(e.message)}}async function _l(e){try{return await l()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}async function kl(e){return(0,Ee.isArray)(e)||(e=[e]),await _l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}const xl=ma().p` + color: ${Xn.colors.$color_pink_dark}; font-size: 14px; font-weight: 700; margin: 13px 0 10px; -`,Ol=Gs()(ba.SvgIcon)` +`,Sl=ma()(ca.SvgIcon)` margin-right: 5px; vertical-align: middle; -`,Dl=Gs().button` +`,Tl=ma().button` position: absolute; top: 9px; right: 9px; border: none; background: none; cursor: pointer; -`,Fl=Gs().p` +`,Rl=ma().p` font-size: 13px; font-weight: 500; margin: 10px 0 13px; -`,Nl=Gs().div` +`,Cl=ma().div` position: relative; background: ${e=>e.isTitleShortened?"#F5F7F7":"transparent"}; border: 1px solid #C7C7C7; - border-left: 4px solid${io.colors.$color_pink_dark}; + border-left: 4px solid${Xn.colors.$color_pink_dark}; padding: 0 16px; margin-bottom: 1.5em; -`,ql=e=>{const[t,s]=(0,M.useState)(null);return(0,M.useEffect)((()=>{e&&!t&&async function(){return await Pl({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};ql.propTypes={limit:E().bool.isRequired};const $l=({limit:e,usage:t,isTitleShortened:s,isFreeAccount:a})=>{const r=(0,O.sprintf)( +`,Il=e=>{const[t,s]=(0,M.useState)(null);return(0,M.useEffect)((()=>{e&&!t&&async function(){return await _l({path:"yoast/v1/wincher/account/limit",method:"GET"})}().then((e=>s(e)))}),[t]),t};Il.propTypes={limit:E().bool.isRequired};const Ll=({limit:e,usage:t,isTitleShortened:s,isFreeAccount:a})=>{const r=(0,O.sprintf)( /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ @@ -471,44 +471,44 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme /* Translators: %1$s expands to the number of used keywords. * %2$s expands to the account keywords limit. */ -(0,O.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?i:o;return(0,L.createElement)(Ml,null,s&&(0,L.createElement)(Ol,{icon:"exclamation-triangle",color:io.colors.$color_pink_dark,size:"14px"}),l)};$l.propTypes={limit:E().number.isRequired,usage:E().number.isRequired,isTitleShortened:E().bool,isFreeAccount:E().bool};const Bl=(0,We.makeOutboundLink)(),Ul=({discount:e,months:t})=>{const s=(0,L.createElement)(Bl,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,O.sprintf)(/* Translators: %s : Expands to "Wincher". */ -(0,O.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!t)return(0,L.createElement)(Fl,null,s);const a=100*e,r=(0,O.sprintf)( +(0,O.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),t,e),l=s?i:o;return(0,L.createElement)(xl,null,s&&(0,L.createElement)(Sl,{icon:"exclamation-triangle",color:Xn.colors.$color_pink_dark,size:"14px"}),l)};Ll.propTypes={limit:E().number.isRequired,usage:E().number.isRequired,isTitleShortened:E().bool,isFreeAccount:E().bool};const Pl=(0,We.makeOutboundLink)(),Al=({discount:e,months:t})=>{const s=(0,L.createElement)(Pl,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},(0,O.sprintf)(/* Translators: %s : Expands to "Wincher". */ +(0,O.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!e||!t)return(0,L.createElement)(Rl,null,s);const a=100*e,r=(0,O.sprintf)( /* Translators: %1$s expands to upgrade account link. * %2$s expands to the upgrade discount value. * %3$s expands to the upgrade discount duration e.g. 2 months. */ -(0,O.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",a+"%",t);return(0,L.createElement)(Fl,null,(0,Si.Z)({mixedString:r,components:{wincherAccountUpgradeLink:s}}))};Ul.propTypes={discount:E().number,months:E().number};const Wl=({onClose:e,isTitleShortened:t,trackingInfo:s})=>{const a=(()=>{const[e,t]=(0,M.useState)(null);return(0,M.useEffect)((()=>{e||async function(){return await Pl({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:r,usage:n}=s;if(!(r&&n/r>=.8))return null;const o=Boolean(null==a?void 0:a.discount);return(0,L.createElement)(Nl,{isTitleShortened:t},e&&(0,L.createElement)(Dl,{type:"button","aria-label":(0,O.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,L.createElement)(ba.SvgIcon,{icon:"times-circle",color:io.colors.$color_pink_dark,size:"14px"})),(0,L.createElement)($l,{...s,isTitleShortened:t,isFreeAccount:o}),(0,L.createElement)(Ul,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};Wl.propTypes={onClose:E().func,isTitleShortened:E().bool,trackingInfo:E().object};const zl=Wl,Kl=()=>(0,L.createElement)(ba.Alert,{type:"success"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,O.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),Hl=()=>(0,L.createElement)(ba.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,O.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),Yl=()=>(0,L.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,O.__)("Tracking the ranking position...","wordpress-seo")," ",(0,L.createElement)(ba.SvgIcon,{icon:"loading-spinner"})),jl=Gs()(ba.SvgIcon)` +(0,O.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",a+"%",t);return(0,L.createElement)(Rl,null,(0,yi.Z)({mixedString:r,components:{wincherAccountUpgradeLink:s}}))};Al.propTypes={discount:E().number,months:E().number};const Ml=({onClose:e,isTitleShortened:t,trackingInfo:s})=>{const a=(()=>{const[e,t]=(0,M.useState)(null);return(0,M.useEffect)((()=>{e||async function(){return await _l({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}().then((e=>t(e)))}),[e]),e})();if(null===s)return null;const{limit:r,usage:n}=s;if(!(r&&n/r>=.8))return null;const o=Boolean(null==a?void 0:a.discount);return(0,L.createElement)(Cl,{isTitleShortened:t},e&&(0,L.createElement)(Tl,{type:"button","aria-label":(0,O.__)("Close the upgrade callout","wordpress-seo"),onClick:e},(0,L.createElement)(ca.SvgIcon,{icon:"times-circle",color:Xn.colors.$color_pink_dark,size:"14px"})),(0,L.createElement)(Ll,{...s,isTitleShortened:t,isFreeAccount:o}),(0,L.createElement)(Al,{discount:null==a?void 0:a.discount,months:null==a?void 0:a.months}))};Ml.propTypes={onClose:E().func,isTitleShortened:E().bool,trackingInfo:E().object};const Ol=Ml,Fl=()=>(0,L.createElement)(ca.Alert,{type:"success"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,O.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),Dl=()=>(0,L.createElement)(ca.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,O.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),Nl=()=>(0,L.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},(0,O.__)("Tracking the ranking position...","wordpress-seo")," ",(0,L.createElement)(ca.SvgIcon,{icon:"loading-spinner"})),ql=ma()(ca.SvgIcon)` margin-left: 2px; flex-shrink: 0; rotate: ${e=>e.isImproving?"-90deg":"90deg"}; -`,Vl=Gs().span` +`,$l=ma().span` color: ${e=>e.isImproving?"#69AB56":"#DC3332"}; font-size: 13px; font-weight: 600; line-height: 20px; margin-right: 2px; margin-left: 12px; -`,Gl=Gs().td` +`,Bl=ma().td` padding-right: 0 !important; & > div { margin: 0px; } -`,Zl=Gs().td` +`,Ul=ma().td` padding-left: 2px !important; -`,Ql=Gs().td.attrs({className:"yoast-table--nopadding"})` +`,Wl=ma().td.attrs({className:"yoast-table--nopadding"})` & > div { justify-content: center; } -`,Xl=Gs().div` +`,zl=ma().div` display: flex; align-items: center; & > a { box-sizing: border-box; } -`,Jl=Gs().button` +`,Kl=ma().button` background: none; color: inherit; border: none; @@ -518,9 +518,9 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme outline: inherit; display: flex; align-items: center; -`,ec=Gs().tr` +`,Hl=ma().tr` background-color: ${e=>e.isEnabled?"#FFFFFF":"#F9F9F9"} !important; -`;function tc(e){return Math.round(100*e)}function sc({chartData:e}){if((0,Ee.isEmpty)(e)||(0,Ee.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,O.sprintf)((0,O._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,L.createElement)(ll,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:tc,dataTableCaption:(0,O.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:t})}sc.propTypes={chartData:E().object},sc.defaultProps={chartData:{}};const ac=({rowData:e})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,L.createElement)(sc,{chartData:e});const s=e.position.change<0;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(sc,{chartData:e}),(0,L.createElement)(Vl,{isImproving:s},Math.abs(e.position.change)),(0,L.createElement)(jl,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function rc(e){var t;const{keyphrase:s,rowData:a,onTrackKeyphrase:r,onUntrackKeyphrase:n,isFocusKeyphrase:o,isDisabled:i,isLoading:l,isSelected:c,onSelectKeyphrases:d}=e,p=!(0,Ee.isEmpty)(a),u=!(0,Ee.isEmpty)(null==a||null===(t=a.position)||void 0===t?void 0:t.history),m=(0,M.useCallback)((()=>{i||(p?n(s,a.id):r(s))}),[s,r,n,p,a,i]),h=(0,M.useCallback)((()=>{d((e=>c?e.filter((e=>e!==s)):e.concat(s)))}),[d,c,s]);return(0,L.createElement)(ec,{isEnabled:p},(0,L.createElement)(Gl,null,u&&(0,L.createElement)(ba.Checkbox,{id:"select-"+s,onChange:h,checked:c,label:""})),(0,L.createElement)(Zl,null,s,o&&(0,L.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:s,keyphrase:a,onSelectKeyphrases:r}=e,n=(0,M.useCallback)((()=>{r([a])}),[r,a]),o=!(0,Ee.isEmpty)(t),i=t&&t.updated_at&&Sl()(t.updated_at)>=Sl()().subtract(7,"days"),l=t?(0,O.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,t.id):null;return o?i?(0,L.createElement)(M.Fragment,null,(0,L.createElement)("td",null,(0,L.createElement)(Xl,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(t),(0,L.createElement)(ba.ButtonStyledLink,{variant:"secondary",href:l,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,O.__)("View","wordpress-seo")))),(0,L.createElement)("td",{className:"yoast-table--nopadding"},(0,L.createElement)(Jl,{type:"button",onClick:n},(0,L.createElement)(ac,{rowData:t}))),(0,L.createElement)("td",null,(c=t.updated_at,Sl()(c).fromNow()))):(0,L.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,L.createElement)(Yl,null)):(0,L.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,L.createElement)("i",null,(0,O.__)("Activate tracking to show the ranking position","wordpress-seo")));var c}(e),(0,L.createElement)(Ql,null,function({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:a}){return a?(0,L.createElement)(ba.SvgIcon,{icon:"loading-spinner"}):(0,L.createElement)(ba.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:p,toggleAction:m,isLoading:l})))}ac.propTypes={rowData:E().object},rc.propTypes={rowData:E().object,keyphrase:E().string.isRequired,onTrackKeyphrase:E().func,onUntrackKeyphrase:E().func,isFocusKeyphrase:E().bool,isDisabled:E().bool,isLoading:E().bool,websiteId:E().string,isSelected:E().bool.isRequired,onSelectKeyphrases:E().func.isRequired},rc.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const nc=(0,We.makeOutboundLink)(),oc=Gs().span` +`;function Yl(e){return Math.round(100*e)}function jl({chartData:e}){if((0,Ee.isEmpty)(e)||(0,Ee.isEmpty)(e.position))return"?";const t=function(e){return Array.from({length:e.position.history.length},((e,t)=>t+1)).map((e=>(0,O.sprintf)((0,O._n)("%d day","%d days",e,"wordpress-seo"),e)))}(e),s=e.position.history.map(((e,t)=>({x:t,y:101-e.value})));return(0,L.createElement)(Ji,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",mapChartDataToTableData:Yl,dataTableCaption:(0,O.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:t})}jl.propTypes={chartData:E().object},jl.defaultProps={chartData:{}};const Vl=({rowData:e})=>{var t;if(null==e||null===(t=e.position)||void 0===t||!t.change)return(0,L.createElement)(jl,{chartData:e});const s=e.position.change<0;return(0,L.createElement)(M.Fragment,null,(0,L.createElement)(jl,{chartData:e}),(0,L.createElement)($l,{isImproving:s},Math.abs(e.position.change)),(0,L.createElement)(ql,{icon:"caret-right",color:s?"#69AB56":"#DC3332",size:"14px",isImproving:s}))};function Gl(e){var t;const{keyphrase:s,rowData:a,onTrackKeyphrase:r,onUntrackKeyphrase:n,isFocusKeyphrase:o,isDisabled:i,isLoading:l,isSelected:c,onSelectKeyphrases:d}=e,p=!(0,Ee.isEmpty)(a),u=!(0,Ee.isEmpty)(null==a||null===(t=a.position)||void 0===t?void 0:t.history),m=(0,M.useCallback)((()=>{i||(p?n(s,a.id):r(s))}),[s,r,n,p,a,i]),h=(0,M.useCallback)((()=>{d((e=>c?e.filter((e=>e!==s)):e.concat(s)))}),[d,c,s]);return(0,L.createElement)(Hl,{isEnabled:p},(0,L.createElement)(Bl,null,u&&(0,L.createElement)(ca.Checkbox,{id:"select-"+s,onChange:h,checked:c,label:""})),(0,L.createElement)(Ul,null,s,o&&(0,L.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:s,keyphrase:a,onSelectKeyphrases:r}=e,n=(0,M.useCallback)((()=>{r([a])}),[r,a]),o=!(0,Ee.isEmpty)(t),i=t&&t.updated_at&&yl()(t.updated_at)>=yl()().subtract(7,"days"),l=t?(0,O.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",s,t.id):null;return o?i?(0,L.createElement)(M.Fragment,null,(0,L.createElement)("td",null,(0,L.createElement)(zl,null,function(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}(t),(0,L.createElement)(ca.ButtonStyledLink,{variant:"secondary",href:l,style:{height:28,marginLeft:12},rel:"noopener",target:"_blank"},(0,O.__)("View","wordpress-seo")))),(0,L.createElement)("td",{className:"yoast-table--nopadding"},(0,L.createElement)(Kl,{type:"button",onClick:n},(0,L.createElement)(Vl,{rowData:t}))),(0,L.createElement)("td",null,(c=t.updated_at,yl()(c).fromNow()))):(0,L.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,L.createElement)(Nl,null)):(0,L.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},(0,L.createElement)("i",null,(0,O.__)("Activate tracking to show the ranking position","wordpress-seo")));var c}(e),(0,L.createElement)(Wl,null,function({keyphrase:e,isEnabled:t,toggleAction:s,isLoading:a}){return a?(0,L.createElement)(ca.SvgIcon,{icon:"loading-spinner"}):(0,L.createElement)(ca.Toggle,{id:`toggle-keyphrase-tracking-${e}`,className:"wincher-toggle",isEnabled:t,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:s,isEnabled:p,toggleAction:m,isLoading:l})))}Vl.propTypes={rowData:E().object},Gl.propTypes={rowData:E().object,keyphrase:E().string.isRequired,onTrackKeyphrase:E().func,onUntrackKeyphrase:E().func,isFocusKeyphrase:E().bool,isDisabled:E().bool,isLoading:E().bool,websiteId:E().string,isSelected:E().bool.isRequired,onSelectKeyphrases:E().func.isRequired},Gl.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""};const Zl=(0,We.makeOutboundLink)(),Ql=ma().span` display: block; font-style: italic; @@ -529,61 +529,59 @@ r=(0,O.__)("Learn more about character count","wordpress-seo")),(0,L.createEleme position: absolute; ${(0,We.getDirectionalStyle)("right","left")}: 8px; } -`,ic=Gs().div` +`,Xl=ma().div` width: 100%; overflow-y: auto; -`,lc=Gs().th` +`,Jl=ma().th` pointer-events: ${e=>e.isDisabled?"none":"initial"}; padding-right: 0 !important; & > div { margin: 0px; } -`,cc=Gs().th` +`,ec=ma().th` padding-left: 2px !important; -`,dc=e=>{const t=(0,M.useRef)();return(0,M.useEffect)((()=>{t.current=e})),t.current},pc=(0,Ee.debounce)((async function(e=null,t=null,s=null,a){return await Pl({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:a})}),500,{leading:!0}),uc=e=>{const{addTrackedKeyphrase:t,isLoggedIn:s,keyphrases:a,permalink:r,removeTrackedKeyphrase:n,setKeyphraseLimitReached:o,setRequestFailed:i,setRequestSucceeded:l,setTrackedKeyphrases:c,setHasTrackedAll:d,trackAll:p,trackedKeyphrases:u,isNewlyAuthenticated:m,websiteId:h,focusKeyphrase:g,newRequest:y,startAt:f,selectedKeyphrases:w,onSelectKeyphrases:b}=e,E=(0,M.useRef)(),_=(0,M.useRef)(),v=(0,M.useRef)(!1),[k,x]=(0,M.useState)([]),S=(0,M.useCallback)((e=>{const t=e.toLowerCase();return u&&!(0,Ee.isEmpty)(u)&&u.hasOwnProperty(t)?u[t]:null}),[u]),T=(0,M.useMemo)((()=>async()=>{await Ll((()=>(_.current&&_.current.abort(),_.current="undefined"==typeof AbortController?null:new AbortController,pc(a,f,r,_.current.signal))),(e=>{l(e),c(e.results)}),(e=>{i(e)}))}),[l,i,c,a,r,f]),R=(0,M.useCallback)((async e=>{const s=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));x((e=>[...e,...s])),await Ll((()=>Al(s)),(e=>{l(e),t(e.results),T()}),(e=>{400===e.status&&e.limit&&o(e.limit),i(e)}),201),x((e=>(0,Ee.without)(e,...s)))}),[l,i,o,t,T]),C=(0,M.useCallback)((async(e,t)=>{e=e.toLowerCase(),x((t=>[...t,e])),await Ll((()=>async function(e){return await Pl({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{l(t),n(e)}),(e=>{i(e)})),x((t=>(0,Ee.without)(t,e)))}),[l,n,i]),I=(0,M.useCallback)((async e=>{y(),await R(e)}),[y,R]),P=dc(r),A=dc(a),D=dc(f),F=r&&f;(0,M.useEffect)((()=>{s&&F&&(r!==P||(0,Ee.difference)(a,A).length||f!==D)&&T()}),[s,r,P,a,A,T,F,f,D]),(0,M.useEffect)((()=>{if(s&&p&&null!==u){const e=a.filter((e=>!S(e)));e.length&&R(e),d()}}),[s,p,u,R,d,S,a]),(0,M.useEffect)((()=>{m&&!v.current&&(T(),v.current=!0)}),[m,T]),(0,M.useEffect)((()=>{if(s&&!(0,Ee.isEmpty)(u))return(0,Ee.filter)(u,(e=>(0,Ee.isEmpty)(e.updated_at))).length>0&&(E.current=setInterval((()=>{T()}),1e4)),()=>{clearInterval(E.current)}}),[s,u,T]);const N=s&&null===u,q=(0,M.useMemo)((()=>(0,Ee.isEmpty)(u)?[]:Object.values(u).filter((e=>{var t;return!(0,Ee.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[u]),$=(0,M.useMemo)((()=>w.length>0&&q.length>0&&q.every((e=>w.includes(e)))),[w,q]),B=(0,M.useCallback)((()=>{b($?[]:q)}),[b,$,q]),U=(0,M.useMemo)((()=>(0,Ee.orderBy)(a,[e=>Object.values(u||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,u]);return a&&!(0,Ee.isEmpty)(a)&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(ic,null,(0,L.createElement)("table",{className:"yoast yoast-table"},(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,(0,L.createElement)(lc,{isDisabled:0===q.length},(0,L.createElement)(ba.Checkbox,{id:"select-all",onChange:B,checked:$,label:""})),(0,L.createElement)(cc,{scope:"col",abbr:(0,O.__)("Keyphrase","wordpress-seo")},(0,O.__)("Keyphrase","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Position","wordpress-seo")},(0,O.__)("Position","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Position over time","wordpress-seo")},(0,O.__)("Position over time","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Last updated","wordpress-seo")},(0,O.__)("Last updated","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Tracking","wordpress-seo")},(0,O.__)("Tracking","wordpress-seo")))),(0,L.createElement)("tbody",null,U.map(((e,t)=>(0,L.createElement)(rc,{key:`trackable-keyphrase-${t}`,keyphrase:e,onTrackKeyphrase:I,onUntrackKeyphrase:C,rowData:S(e),isFocusKeyphrase:e===g.trim().toLowerCase(),websiteId:h,isDisabled:!s,isLoading:N||k.indexOf(e.toLowerCase())>=0,isSelected:w.includes(e),onSelectKeyphrases:b})))))),(0,L.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,L.createElement)(nc,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,O.sprintf)(/* translators: %s expands to Wincher */ -(0,O.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,L.createElement)(oc,null,(0,O.__)("* focus keyphrase","wordpress-seo"))))};uc.propTypes={addTrackedKeyphrase:E().func.isRequired,isLoggedIn:E().bool,isNewlyAuthenticated:E().bool,keyphrases:E().array,newRequest:E().func.isRequired,removeTrackedKeyphrase:E().func.isRequired,setRequestFailed:E().func.isRequired,setKeyphraseLimitReached:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setTrackedKeyphrases:E().func.isRequired,setHasTrackedAll:E().func.isRequired,trackAll:E().bool,trackedKeyphrases:E().object,websiteId:E().string,permalink:E().string.isRequired,focusKeyphrase:E().string,startAt:E().string,selectedKeyphrases:E().arrayOf(E().string).isRequired,onSelectKeyphrases:E().func.isRequired},uc.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const mc=uc,hc=(0,ua.compose)([(0,n.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:a,getWincherPermalink:r,getFocusKeyphrase:n,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:n(),keyphrases:s(),isLoggedIn:a(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:r()}})),(0,n.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:a,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:n,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{n(e)},setHasTrackedAll:()=>{i(!1)}}}))])(mc),gc=(0,We.makeOutboundLink)(),yc=(0,We.makeOutboundLink)(),fc=()=>{const e=(0,O.sprintf)((0,O.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ -"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,L.createElement)("p",null,(0,Si.Z)({mixedString:e,components:{wincherLink:(0,L.createElement)(gc,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,L.createElement)(yc,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,O.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},wc=()=>(0,L.createElement)(ba.Alert,{type:"error"},(0,O.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),bc=()=>(0,L.createElement)(ba.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ -(0,O.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class Ec{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:a}=e;a===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const _c=e=>{const t=(0,O.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ -(0,O.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,L.createElement)(ba.Alert,{type:"error",className:e.className},(0,Si.Z)({mixedString:t,components:{reconnectToWincher:(0,L.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},(0,O.sprintf)(/* translators: %s : Expands to "Wincher". */ -(0,O.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};_c.propTypes={onReconnect:E().func.isRequired,className:E().string},_c.defaultProps={className:""};const vc=_c,kc=()=>(0,L.createElement)(ba.Alert,{type:"error"},(0,O.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),xc=window.yoast["chart.js"],Sc="label";function Tc(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Rc(e,t){e.labels=t}function Cc(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sc;const a=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[s]===t[s]));return r&&t.data&&!a.includes(r)?(a.push(r),Object.assign(r,t),r):{...t}}))}function Ic(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sc;const s={labels:[],datasets:[]};return Rc(s,e.labels),Cc(s,e.datasets,t),s}function Lc(e,t){const{height:s=150,width:a=300,redraw:r=!1,datasetIdKey:n,type:o,data:i,options:l,plugins:c=[],fallbackContent:d,updateMode:p,...u}=e,m=(0,L.useRef)(null),h=(0,L.useRef)(),g=()=>{m.current&&(h.current=new xc.Chart(m.current,{type:o,data:Ic(i,n),options:l&&{...l},plugins:c}),Tc(t,h.current))},y=()=>{Tc(t,null),h.current&&(h.current.destroy(),h.current=null)};return(0,L.useEffect)((()=>{!r&&h.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(h.current,l)}),[r,l]),(0,L.useEffect)((()=>{!r&&h.current&&Rc(h.current.config.data,i.labels)}),[r,i.labels]),(0,L.useEffect)((()=>{!r&&h.current&&i.datasets&&Cc(h.current.config.data,i.datasets,n)}),[r,i.datasets]),(0,L.useEffect)((()=>{h.current&&(r?(y(),setTimeout(g)):h.current.update(p))}),[r,l,i.labels,i.datasets,p]),(0,L.useEffect)((()=>{h.current&&(y(),setTimeout(g))}),[o]),(0,L.useEffect)((()=>(g(),()=>y())),[]),L.createElement("canvas",Object.assign({ref:m,role:"img",height:s,width:a},u),d)}const Pc=(0,L.forwardRef)(Lc);function Ac(e,t){return xc.Chart.register(t),(0,L.forwardRef)(((t,s)=>L.createElement(Pc,Object.assign({},t,{ref:s,type:e}))))}const Mc=Ac("line",xc.LineController),Oc={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};xc._adapters._date.override("function"==typeof Sl()?{_id:"moment",formats:function(){return Oc},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=Sl()(e,t):e instanceof Sl()||(e=Sl()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return Sl()(e).format(t)},add:function(e,t,s){return Sl()(e).add(t,s).valueOf()},diff:function(e,t,s){return Sl()(e).diff(Sl()(t),s)},startOf:function(e,t,s){return e=Sl()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return Sl()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Dc=["top","right","bottom","left"];function Fc(e,t,s){const a={};s=s?"-"+s:"";for(let r=0;r<4;r++){const n=Dc[r];a[n]=parseFloat(e[t+"-"+n+s])||0}return a.width=a.left+a.right,a.height=a.top+a.bottom,a}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),xc.Chart.register(xc.CategoryScale,xc.LineController,xc.LineElement,xc.PointElement,xc.LinearScale,xc.TimeScale,xc.Legend,xc.Tooltip);const Nc=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function qc({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const a=(0,M.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,Nc[t%Nc.length]])))),[s]),r=e.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,L.createElement)(Mc,{height:100,data:{datasets:r},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:Ee.noop},tooltip:{enabled:!0,callbacks:{title:e=>Sl()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}xc.Interaction.modes.xPoint=(e,t,s,a)=>{const r=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:a}=t,r=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),n="border-box"===r.boxSizing,o=Fc(r,"padding"),i=Fc(r,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,a=s&&s.length?s[0]:e,{offsetX:r,offsetY:n}=a;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(r,n,e.target))o=r,i=n;else{const e=t.getBoundingClientRect();o=a.clientX-e.left,i=a.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),p=o.left+(d&&i.left),u=o.top+(d&&i.top);var m;let{width:h,height:g}=t;return n&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-p)/h*s.width/a),y:Math.round((c-u)/g*s.height/a)}}(t,e);let n=[];if(xc.Interaction.evaluateInteractionItems(e,"x",r,((e,t,s)=>{e.inXRange(r.x,a)&&n.push({element:e,datasetIndex:t,index:s})})),0===n.length)return n;const o=n.reduce(((e,t)=>Math.abs(r.x-e.element.x)e.element.x===o)),n.some((e=>Math.abs(e.element.y-r.y)<10))?n:[]},qc.propTypes={datasets:E().arrayOf(E().shape({label:E().string.isRequired,data:E().arrayOf(E().shape({datetime:E().string.isRequired,value:E().number.isRequired})).isRequired,selected:E().bool})).isRequired,isChartShown:E().bool.isRequired,keyphrases:E().array.isRequired};const $c=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,L.createElement)(vc,{onReconnect:t}):(0,L.createElement)(Il,null);$c.propTypes={response:E().object.isRequired,onLogin:E().func.isRequired};const Bc=({isSuccess:e,response:t,allKeyphrasesMissRanking:s,onLogin:a,keyphraseLimitReached:r,limit:n})=>r?(0,L.createElement)(Cl,{limit:n}):(0,Ee.isEmpty)(t)||e?s?(0,L.createElement)(Hl,null):null:(0,L.createElement)($c,{response:t,onLogin:a});Bc.propTypes={isSuccess:E().bool.isRequired,allKeyphrasesMissRanking:E().bool.isRequired,response:E().object,onLogin:E().func.isRequired,keyphraseLimitReached:E().bool.isRequired,limit:E().number.isRequired},Bc.defaultProps={response:{}};let Uc=null;const Wc=async e=>{if(Uc&&!Uc.isClosed())return void Uc.focus();const{url:t}=await async function(){return await Pl({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Uc=new Ec(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:a,setRequestFailed:r,keyphrases:n,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await Ll((()=>async function(e){const{code:t,websiteId:s}=e;return await Pl({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),a(e);const l=(Array.isArray(n)?n:[n]).map((e=>e.toLowerCase()));await Ll((()=>Al(l)),(e=>{a(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),r(e)}),201);const c=Uc.getPopup();c&&c.close()}),(async e=>r(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Uc.createPopup()},zc=e=>e.isLoggedIn?null:(0,L.createElement)("p",null,(0,L.createElement)(ba.NewButton,{onClick:e.onLogin,variant:"primary"},(0,O.sprintf)(/* translators: %s expands to Wincher */ -(0,O.__)("Connect with %s","wordpress-seo"),"Wincher")));zc.propTypes={isLoggedIn:E().bool.isRequired,onLogin:E().func.isRequired};const Kc=Gs().div` +`,tc=e=>{const t=(0,M.useRef)();return(0,M.useEffect)((()=>{t.current=e})),t.current},sc=(0,Ee.debounce)((async function(e=null,t=null,s=null,a){return await _l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:s,startAt:t},signal:a})}),500,{leading:!0}),ac=e=>{const{addTrackedKeyphrase:t,isLoggedIn:s,keyphrases:a,permalink:r,removeTrackedKeyphrase:n,setKeyphraseLimitReached:o,setRequestFailed:i,setRequestSucceeded:l,setTrackedKeyphrases:c,setHasTrackedAll:d,trackAll:p,trackedKeyphrases:u,isNewlyAuthenticated:m,websiteId:h,focusKeyphrase:g,newRequest:y,startAt:f,selectedKeyphrases:w,onSelectKeyphrases:b}=e,E=(0,M.useRef)(),v=(0,M.useRef)(),_=(0,M.useRef)(!1),[k,x]=(0,M.useState)([]),S=(0,M.useCallback)((e=>{const t=e.toLowerCase();return u&&!(0,Ee.isEmpty)(u)&&u.hasOwnProperty(t)?u[t]:null}),[u]),T=(0,M.useMemo)((()=>async()=>{await vl((()=>(v.current&&v.current.abort(),v.current="undefined"==typeof AbortController?null:new AbortController,sc(a,f,r,v.current.signal))),(e=>{l(e),c(e.results)}),(e=>{i(e)}))}),[l,i,c,a,r,f]),R=(0,M.useCallback)((async e=>{const s=(Array.isArray(e)?e:[e]).map((e=>e.toLowerCase()));x((e=>[...e,...s])),await vl((()=>kl(s)),(e=>{l(e),t(e.results),T()}),(e=>{400===e.status&&e.limit&&o(e.limit),i(e)}),201),x((e=>(0,Ee.without)(e,...s)))}),[l,i,o,t,T]),C=(0,M.useCallback)((async(e,t)=>{e=e.toLowerCase(),x((t=>[...t,e])),await vl((()=>async function(e){return await _l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}(t)),(t=>{l(t),n(e)}),(e=>{i(e)})),x((t=>(0,Ee.without)(t,e)))}),[l,n,i]),I=(0,M.useCallback)((async e=>{y(),await R(e)}),[y,R]),P=tc(r),A=tc(a),F=tc(f),D=r&&f;(0,M.useEffect)((()=>{s&&D&&(r!==P||(0,Ee.difference)(a,A).length||f!==F)&&T()}),[s,r,P,a,A,T,D,f,F]),(0,M.useEffect)((()=>{if(s&&p&&null!==u){const e=a.filter((e=>!S(e)));e.length&&R(e),d()}}),[s,p,u,R,d,S,a]),(0,M.useEffect)((()=>{m&&!_.current&&(T(),_.current=!0)}),[m,T]),(0,M.useEffect)((()=>{if(s&&!(0,Ee.isEmpty)(u))return(0,Ee.filter)(u,(e=>(0,Ee.isEmpty)(e.updated_at))).length>0&&(E.current=setInterval((()=>{T()}),1e4)),()=>{clearInterval(E.current)}}),[s,u,T]);const N=s&&null===u,q=(0,M.useMemo)((()=>(0,Ee.isEmpty)(u)?[]:Object.values(u).filter((e=>{var t;return!(0,Ee.isEmpty)(null==e||null===(t=e.position)||void 0===t?void 0:t.history)})).map((e=>e.keyword))),[u]),$=(0,M.useMemo)((()=>w.length>0&&q.length>0&&q.every((e=>w.includes(e)))),[w,q]),B=(0,M.useCallback)((()=>{b($?[]:q)}),[b,$,q]),U=(0,M.useMemo)((()=>(0,Ee.orderBy)(a,[e=>Object.values(u||{}).map((e=>e.keyword)).includes(e)],["desc"])),[a,u]);return a&&!(0,Ee.isEmpty)(a)&&(0,L.createElement)(M.Fragment,null,(0,L.createElement)(Xl,null,(0,L.createElement)("table",{className:"yoast yoast-table"},(0,L.createElement)("thead",null,(0,L.createElement)("tr",null,(0,L.createElement)(Jl,{isDisabled:0===q.length},(0,L.createElement)(ca.Checkbox,{id:"select-all",onChange:B,checked:$,label:""})),(0,L.createElement)(ec,{scope:"col",abbr:(0,O.__)("Keyphrase","wordpress-seo")},(0,O.__)("Keyphrase","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Position","wordpress-seo")},(0,O.__)("Position","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Position over time","wordpress-seo")},(0,O.__)("Position over time","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Last updated","wordpress-seo")},(0,O.__)("Last updated","wordpress-seo")),(0,L.createElement)("th",{scope:"col",abbr:(0,O.__)("Tracking","wordpress-seo")},(0,O.__)("Tracking","wordpress-seo")))),(0,L.createElement)("tbody",null,U.map(((e,t)=>(0,L.createElement)(Gl,{key:`trackable-keyphrase-${t}`,keyphrase:e,onTrackKeyphrase:I,onUntrackKeyphrase:C,rowData:S(e),isFocusKeyphrase:e===g.trim().toLowerCase(),websiteId:h,isDisabled:!s,isLoading:N||k.indexOf(e.toLowerCase())>=0,isSelected:w.includes(e),onSelectKeyphrases:b})))))),(0,L.createElement)("p",{style:{marginBottom:0,position:"relative"}},(0,L.createElement)(Zl,{href:wpseoAdminGlobalL10n["links.wincher.login"]},(0,O.sprintf)(/* translators: %s expands to Wincher */ +(0,O.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),(0,L.createElement)(Ql,null,(0,O.__)("* focus keyphrase","wordpress-seo"))))};ac.propTypes={addTrackedKeyphrase:E().func.isRequired,isLoggedIn:E().bool,isNewlyAuthenticated:E().bool,keyphrases:E().array,newRequest:E().func.isRequired,removeTrackedKeyphrase:E().func.isRequired,setRequestFailed:E().func.isRequired,setKeyphraseLimitReached:E().func.isRequired,setRequestSucceeded:E().func.isRequired,setTrackedKeyphrases:E().func.isRequired,setHasTrackedAll:E().func.isRequired,trackAll:E().bool,trackedKeyphrases:E().object,websiteId:E().string,permalink:E().string.isRequired,focusKeyphrase:E().string,startAt:E().string,selectedKeyphrases:E().arrayOf(E().string).isRequired,onSelectKeyphrases:E().func.isRequired},ac.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,websiteId:"",focusKeyphrase:""};const rc=ac,nc=(0,sa.compose)([(0,n.withSelect)((e=>{const{getWincherWebsiteId:t,getWincherTrackableKeyphrases:s,getWincherLoginStatus:a,getWincherPermalink:r,getFocusKeyphrase:n,isWincherNewlyAuthenticated:o,shouldWincherTrackAll:i}=e("yoast-seo/editor");return{focusKeyphrase:n(),keyphrases:s(),isLoggedIn:a(),trackAll:i(),websiteId:t(),isNewlyAuthenticated:o(),permalink:r()}})),(0,n.withDispatch)((e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:s,setWincherRequestFailed:a,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:n,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:l}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{l(e)},setTrackedKeyphrases:e=>{n(e)},setHasTrackedAll:()=>{i(!1)}}}))])(rc),oc=(0,We.makeOutboundLink)(),ic=(0,We.makeOutboundLink)(),lc=()=>{const e=(0,O.sprintf)((0,O.__)(/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */ +"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return(0,L.createElement)("p",null,(0,yi.Z)({mixedString:e,components:{wincherLink:(0,L.createElement)(oc,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:(0,L.createElement)(ic,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},(0,O.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},cc=()=>(0,L.createElement)(ca.Alert,{type:"error"},(0,O.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),dc=()=>(0,L.createElement)(ca.Alert,{type:"info"},(0,O.sprintf)(/* translators: %s: Expands to "Wincher". */ +(0,O.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"));class pc{constructor(e,t={},s={}){this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},s),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:s}=this.options,a=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,s,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:s,origin:a}=e;a===this.origin&&this.popup===s&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}const uc=e=>{const t=(0,O.sprintf)(/* translators: %s expands to a link to open the Wincher login popup. */ +(0,O.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return(0,L.createElement)(ca.Alert,{type:"error",className:e.className},(0,yi.Z)({mixedString:t,components:{reconnectToWincher:(0,L.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},(0,O.sprintf)(/* translators: %s : Expands to "Wincher". */ +(0,O.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};uc.propTypes={onReconnect:E().func.isRequired,className:E().string},uc.defaultProps={className:""};const mc=uc,hc=()=>(0,L.createElement)(ca.Alert,{type:"error"},(0,O.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo")),gc=window.yoast["chart.js"],yc="label";function fc(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function wc(e,t){e.labels=t}function bc(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yc;const a=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[s]===t[s]));return r&&t.data&&!a.includes(r)?(a.push(r),Object.assign(r,t),r):{...t}}))}function Ec(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yc;const s={labels:[],datasets:[]};return wc(s,e.labels),bc(s,e.datasets,t),s}function vc(e,t){const{height:s=150,width:a=300,redraw:r=!1,datasetIdKey:n,type:o,data:i,options:l,plugins:c=[],fallbackContent:d,updateMode:p,...u}=e,m=(0,L.useRef)(null),h=(0,L.useRef)(),g=()=>{m.current&&(h.current=new gc.Chart(m.current,{type:o,data:Ec(i,n),options:l&&{...l},plugins:c}),fc(t,h.current))},y=()=>{fc(t,null),h.current&&(h.current.destroy(),h.current=null)};return(0,L.useEffect)((()=>{!r&&h.current&&l&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(h.current,l)}),[r,l]),(0,L.useEffect)((()=>{!r&&h.current&&wc(h.current.config.data,i.labels)}),[r,i.labels]),(0,L.useEffect)((()=>{!r&&h.current&&i.datasets&&bc(h.current.config.data,i.datasets,n)}),[r,i.datasets]),(0,L.useEffect)((()=>{h.current&&(r?(y(),setTimeout(g)):h.current.update(p))}),[r,l,i.labels,i.datasets,p]),(0,L.useEffect)((()=>{h.current&&(y(),setTimeout(g))}),[o]),(0,L.useEffect)((()=>(g(),()=>y())),[]),L.createElement("canvas",Object.assign({ref:m,role:"img",height:s,width:a},u),d)}const _c=(0,L.forwardRef)(vc);function kc(e,t){return gc.Chart.register(t),(0,L.forwardRef)(((t,s)=>L.createElement(_c,Object.assign({},t,{ref:s,type:e}))))}const xc=kc("line",gc.LineController),Sc={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};gc._adapters._date.override("function"==typeof yl()?{_id:"moment",formats:function(){return Sc},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=yl()(e,t):e instanceof yl()||(e=yl()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return yl()(e).format(t)},add:function(e,t,s){return yl()(e).add(t,s).valueOf()},diff:function(e,t,s){return yl()(e).diff(yl()(t),s)},startOf:function(e,t,s){return e=yl()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return yl()(e).endOf(t).valueOf()}}:{}),Math.PI,Number.POSITIVE_INFINITY,Math.log10,Math.sign,"undefined"==typeof window||window.requestAnimationFrame,new Map,Object.create(null),Object.create(null),Number.EPSILON;const Tc=["top","right","bottom","left"];function Rc(e,t,s){const a={};s=s?"-"+s:"";for(let r=0;r<4;r++){const n=Tc[r];a[n]=parseFloat(e[t+"-"+n+s])||0}return a.width=a.left+a.right,a.height=a.top+a.bottom,a}!function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}}(),gc.Chart.register(gc.CategoryScale,gc.LineController,gc.LineElement,gc.PointElement,gc.LinearScale,gc.TimeScale,gc.Legend,gc.Tooltip);const Cc=["#ff983b","#ffa3f7","#3798ff","#ff3b3b","#acce81","#b51751","#3949ab","#26c6da","#ccb800","#de66ff","#4db6ac","#ffab91","#45f5f1","#77f210","#90a4ae","#ffd54f","#006b5e","#8ec7d2","#b1887c","#cc9300"];function Ic({datasets:e,isChartShown:t,keyphrases:s}){if(!t)return null;const a=(0,M.useMemo)((()=>Object.fromEntries([...s].sort().map(((e,t)=>[e,Cc[t%Cc.length]])))),[s]),r=e.map((e=>{const t=a[e.label];return{...e,data:e.data.map((({datetime:e,value:t})=>({x:e,y:t}))),lineTension:0,pointRadius:1,pointHoverRadius:4,borderWidth:2,pointHitRadius:6,backgroundColor:t,borderColor:t}})).filter((e=>!1!==e.selected));return(0,L.createElement)(xc,{height:100,data:{datasets:r},options:{plugins:{legend:{display:!0,position:"bottom",labels:{color:"black",usePointStyle:!0,boxHeight:7,boxWidth:7},onClick:Ee.noop},tooltip:{enabled:!0,callbacks:{title:e=>yl()(e[0].raw.x).utc().format("YYYY-MM-DD")},titleAlign:"center",mode:"xPoint",position:"nearest",usePointStyle:!0,boxHeight:7,boxWidth:7,boxPadding:2}},scales:{x:{bounds:"ticks",type:"time",time:{unit:"day",minUnit:"day"},grid:{display:!1},ticks:{autoSkipPadding:50,maxRotation:0,color:"black"}},y:{bounds:"ticks",offset:!0,reverse:!0,ticks:{precision:0,color:"black"},max:101}}}})}gc.Interaction.modes.xPoint=(e,t,s,a)=>{const r=function(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:a}=t,r=(m=s).ownerDocument.defaultView.getComputedStyle(m,null),n="border-box"===r.boxSizing,o=Rc(r,"padding"),i=Rc(r,"border","width"),{x:l,y:c,box:d}=function(e,t){const s=e.touches,a=s&&s.length?s[0]:e,{offsetX:r,offsetY:n}=a;let o,i,l=!1;if(((e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot))(r,n,e.target))o=r,i=n;else{const e=t.getBoundingClientRect();o=a.clientX-e.left,i=a.clientY-e.top,l=!0}return{x:o,y:i,box:l}}(e,s),p=o.left+(d&&i.left),u=o.top+(d&&i.top);var m;let{width:h,height:g}=t;return n&&(h-=o.width+i.width,g-=o.height+i.height),{x:Math.round((l-p)/h*s.width/a),y:Math.round((c-u)/g*s.height/a)}}(t,e);let n=[];if(gc.Interaction.evaluateInteractionItems(e,"x",r,((e,t,s)=>{e.inXRange(r.x,a)&&n.push({element:e,datasetIndex:t,index:s})})),0===n.length)return n;const o=n.reduce(((e,t)=>Math.abs(r.x-e.element.x)e.element.x===o)),n.some((e=>Math.abs(e.element.y-r.y)<10))?n:[]},Ic.propTypes={datasets:E().arrayOf(E().shape({label:E().string.isRequired,data:E().arrayOf(E().shape({datetime:E().string.isRequired,value:E().number.isRequired})).isRequired,selected:E().bool})).isRequired,isChartShown:E().bool.isRequired,keyphrases:E().array.isRequired};const Lc=({response:e,onLogin:t})=>[401,403,404].includes(e.status)?(0,L.createElement)(mc,{onReconnect:t}):(0,L.createElement)(El,null);Lc.propTypes={response:E().object.isRequired,onLogin:E().func.isRequired};const Pc=({isSuccess:e,response:t,allKeyphrasesMissRanking:s,onLogin:a,keyphraseLimitReached:r,limit:n})=>r?(0,L.createElement)(bl,{limit:n}):(0,Ee.isEmpty)(t)||e?s?(0,L.createElement)(Dl,null):null:(0,L.createElement)(Lc,{response:t,onLogin:a});Pc.propTypes={isSuccess:E().bool.isRequired,allKeyphrasesMissRanking:E().bool.isRequired,response:E().object,onLogin:E().func.isRequired,keyphraseLimitReached:E().bool.isRequired,limit:E().number.isRequired},Pc.defaultProps={response:{}};let Ac=null;const Mc=async e=>{if(Ac&&!Ac.isClosed())return void Ac.focus();const{url:t}=await async function(){return await _l({path:"yoast/v1/wincher/authorization-url",method:"GET"})}();Ac=new pc(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:s,setRequestSucceeded:a,setRequestFailed:r,keyphrases:n,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await vl((()=>async function(e){const{code:t,websiteId:s}=e;return await _l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:s}})}(t)),(async e=>{s(!0,!0,t.websiteId.toString()),a(e);const l=(Array.isArray(n)?n:[n]).map((e=>e.toLowerCase()));await vl((()=>kl(l)),(e=>{a(e),o(e.results)}),(e=>{400===e.status&&e.limit&&i(e.limit),r(e)}),201);const c=Ac.getPopup();c&&c.close()}),(async e=>r(e)))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),Ac.createPopup()},Oc=e=>e.isLoggedIn?null:(0,L.createElement)("p",null,(0,L.createElement)(ca.NewButton,{onClick:e.onLogin,variant:"primary"},(0,O.sprintf)(/* translators: %s expands to Wincher */ +(0,O.__)("Connect with %s","wordpress-seo"),"Wincher")));Oc.propTypes={isLoggedIn:E().bool.isRequired,onLogin:E().func.isRequired};const Fc=ma().div` p { margin: 1em 0; } -`,Hc=Gs().div` +`,Dc=ma().div` ${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"}; -`,Yc=Gs().div` +`,Nc=ma().div` font-weight: var(--yoast-font-weight-bold); color: var(--yoast-color-label); font-size: var(--yoast-font-size-default); -`,jc=Gs().div.attrs({className:"yoast-field-group"})` +`,qc=ma().div.attrs({className:"yoast-field-group"})` display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; -`,Vc=Gs().div` +`,$c=ma().div` margin: 8px 0; -`,Gc=Sl().utc().startOf("day"),Zc=[{name:(0,O.__)("Last day","wordpress-seo"),value:Sl()(Gc).subtract(1,"days").format(),defaultIndex:1},{name:(0,O.__)("Last week","wordpress-seo"),value:Sl()(Gc).subtract(1,"week").format(),defaultIndex:2},{name:(0,O.__)("Last month","wordpress-seo"),value:Sl()(Gc).subtract(1,"month").format(),defaultIndex:3},{name:(0,O.__)("Last year","wordpress-seo"),value:Sl()(Gc).subtract(1,"year").format(),defaultIndex:0}],Qc=e=>{const{onSelect:t,selected:s,options:a,isLoggedIn:r}=e;return r?a.length<1?null:(0,L.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||a[0].value,onChange:t},a.map((e=>(0,L.createElement)("option",{key:e.name,value:e.value},e.name)))):null};Qc.propTypes={onSelect:E().func.isRequired,selected:E().object,options:E().array.isRequired,isLoggedIn:E().bool.isRequired};const Xc=e=>{const{trackedKeyphrases:t,isLoggedIn:s,keyphrases:a,shouldTrackAll:r,permalink:n,historyDaysLimit:o}=e;if(!n&&s)return(0,L.createElement)(kc,null);if(0===a.length)return(0,L.createElement)(wc,null);const i=Sl()(Gc).subtract(o,"days"),l=Zc.filter((e=>Sl()(e.value).isSameOrAfter(i))),c=(0,Ee.orderBy)(l,(e=>e.defaultIndex),"desc")[0],[d,p]=(0,M.useState)(c),[u,m]=(0,M.useState)([]),h=u.length>0,g=(0,ua.usePrevious)(t);(0,M.useEffect)((()=>{if(!(0,Ee.isEmpty)(t)&&(0,Ee.difference)(Object.keys(t),Object.keys(g||[])).length){const e=Object.values(t).map((e=>e.keyword));m(e)}}),[t,g]),(0,M.useEffect)((()=>{p(c)}),[null==c?void 0:c.name]);const y=(0,M.useCallback)((e=>{const t=Zc.find((t=>t.value===e.target.value));t&&p(t)}),[p]),f=(0,M.useMemo)((()=>(0,Ee.isEmpty)(u)||(0,Ee.isEmpty)(t)?[]:Object.values(t).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:u.includes(e.keyword)&&!(0,Ee.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[u,t]);return(0,L.createElement)(Hc,{isDisabled:!s},(0,L.createElement)("p",null,(0,O.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&r&&(0,L.createElement)(bc,null),(0,L.createElement)(jc,null,(0,L.createElement)(Qc,{selected:d,onSelect:y,options:l,isLoggedIn:s})),(0,L.createElement)(Vc,null,(0,L.createElement)(qc,{isChartShown:h,datasets:f,keyphrases:a})),(0,L.createElement)(hc,{startAt:null==d?void 0:d.value,selectedKeyphrases:u,onSelectKeyphrases:m,trackedKeyphrases:t}))};function Jc(e){const{isNewlyAuthenticated:t,isLoggedIn:s}=e,a=(0,M.useCallback)((()=>{Wc(e)}),[Wc,e]),r=ql(s);return(0,L.createElement)(Kc,null,t&&(0,L.createElement)(Kl,null),s&&(0,L.createElement)(zl,{trackingInfo:r}),(0,L.createElement)(Yc,null,(0,O.__)("SEO performance","wordpress-seo"),(0,L.createElement)(ba.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] -/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,L.createElement)(fc,null),(0,L.createElement)(zc,{isLoggedIn:s,onLogin:a}),(0,L.createElement)(Bc,{...e,onLogin:a}),(0,L.createElement)(Xc,{...e,historyDaysLimit:(null==r?void 0:r.historyDays)||31}))}Xc.propTypes={trackedKeyphrases:E().object,keyphrases:E().array.isRequired,isLoggedIn:E().bool.isRequired,shouldTrackAll:E().bool.isRequired,permalink:E().string.isRequired,historyDaysLimit:E().number},Jc.propTypes={trackedKeyphrases:E().object,addTrackedKeyphrase:E().func.isRequired,isLoggedIn:E().bool,isNewlyAuthenticated:E().bool,keyphrases:E().array,response:E().object,shouldTrackAll:E().bool,permalink:E().string,historyDaysLimit:E().number},Jc.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const ed=(0,ua.compose)([(0,n.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:a,getWincherHistoryDaysLimit:r,getWincherLoginStatus:n,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:p,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:n(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:a(),response:i(),shouldTrackAll:u(),permalink:p(),historyDaysLimit:r()}})),(0,n.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:a,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:n,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{n(e)},onAuthentication:(e,s,a)=>{t(a),o(e,s)}}}))])(Jc),td=Gs()(bl)` +`,Bc=yl().utc().startOf("day"),Uc=[{name:(0,O.__)("Last day","wordpress-seo"),value:yl()(Bc).subtract(1,"days").format(),defaultIndex:1},{name:(0,O.__)("Last week","wordpress-seo"),value:yl()(Bc).subtract(1,"week").format(),defaultIndex:2},{name:(0,O.__)("Last month","wordpress-seo"),value:yl()(Bc).subtract(1,"month").format(),defaultIndex:3},{name:(0,O.__)("Last year","wordpress-seo"),value:yl()(Bc).subtract(1,"year").format(),defaultIndex:0}],Wc=e=>{const{onSelect:t,selected:s,options:a,isLoggedIn:r}=e;return r?a.length<1?null:(0,L.createElement)("select",{className:"components-select-control__input",id:"wincher-period-picker",value:(null==s?void 0:s.value)||a[0].value,onChange:t},a.map((e=>(0,L.createElement)("option",{key:e.name,value:e.value},e.name)))):null};Wc.propTypes={onSelect:E().func.isRequired,selected:E().object,options:E().array.isRequired,isLoggedIn:E().bool.isRequired};const zc=e=>{const{trackedKeyphrases:t,isLoggedIn:s,keyphrases:a,shouldTrackAll:r,permalink:n,historyDaysLimit:o}=e;if(!n&&s)return(0,L.createElement)(hc,null);if(0===a.length)return(0,L.createElement)(cc,null);const i=yl()(Bc).subtract(o,"days"),l=Uc.filter((e=>yl()(e.value).isSameOrAfter(i))),c=(0,Ee.orderBy)(l,(e=>e.defaultIndex),"desc")[0],[d,p]=(0,M.useState)(c),[u,m]=(0,M.useState)([]),h=u.length>0,g=(0,sa.usePrevious)(t);(0,M.useEffect)((()=>{if(!(0,Ee.isEmpty)(t)&&(0,Ee.difference)(Object.keys(t),Object.keys(g||[])).length){const e=Object.values(t).map((e=>e.keyword));m(e)}}),[t,g]),(0,M.useEffect)((()=>{p(c)}),[null==c?void 0:c.name]);const y=(0,M.useCallback)((e=>{const t=Uc.find((t=>t.value===e.target.value));t&&p(t)}),[p]),f=(0,M.useMemo)((()=>(0,Ee.isEmpty)(u)||(0,Ee.isEmpty)(t)?[]:Object.values(t).filter((e=>{var t;return!(null==e||null===(t=e.position)||void 0===t||!t.history)})).map((e=>{var t;return{label:e.keyword,data:e.position.history,selected:u.includes(e.keyword)&&!(0,Ee.isEmpty)(null===(t=e.position)||void 0===t?void 0:t.history)}}))),[u,t]);return(0,L.createElement)(Dc,{isDisabled:!s},(0,L.createElement)("p",null,(0,O.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),s&&r&&(0,L.createElement)(dc,null),(0,L.createElement)(qc,null,(0,L.createElement)(Wc,{selected:d,onSelect:y,options:l,isLoggedIn:s})),(0,L.createElement)($c,null,(0,L.createElement)(Ic,{isChartShown:h,datasets:f,keyphrases:a})),(0,L.createElement)(nc,{startAt:null==d?void 0:d.value,selectedKeyphrases:u,onSelectKeyphrases:m,trackedKeyphrases:t}))};function Kc(e){const{isNewlyAuthenticated:t,isLoggedIn:s}=e,a=(0,M.useCallback)((()=>{Mc(e)}),[Mc,e]),r=Il(s);return(0,L.createElement)(Fc,null,t&&(0,L.createElement)(Fl,null),s&&(0,L.createElement)(Ol,{trackingInfo:r}),(0,L.createElement)(Nc,null,(0,O.__)("SEO performance","wordpress-seo"),(0,L.createElement)(ca.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"] +/* translators: Hidden accessibility text. */,linkText:(0,O.__)("Learn more about the SEO performance feature.","wordpress-seo")})),(0,L.createElement)(lc,null),(0,L.createElement)(Oc,{isLoggedIn:s,onLogin:a}),(0,L.createElement)(Pc,{...e,onLogin:a}),(0,L.createElement)(zc,{...e,historyDaysLimit:(null==r?void 0:r.historyDays)||31}))}zc.propTypes={trackedKeyphrases:E().object,keyphrases:E().array.isRequired,isLoggedIn:E().bool.isRequired,shouldTrackAll:E().bool.isRequired,permalink:E().string.isRequired,historyDaysLimit:E().number},Kc.propTypes={trackedKeyphrases:E().object,addTrackedKeyphrase:E().func.isRequired,isLoggedIn:E().bool,isNewlyAuthenticated:E().bool,keyphrases:E().array,response:E().object,shouldTrackAll:E().bool,permalink:E().string,historyDaysLimit:E().number},Kc.defaultProps={trackedKeyphrases:null,isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:"",historyDaysLimit:0};const Hc=(0,sa.compose)([(0,n.withSelect)((e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:s,getWincherLimit:a,getWincherHistoryDaysLimit:r,getWincherLoginStatus:n,getWincherRequestIsSuccess:o,getWincherRequestResponse:i,getWincherTrackableKeyphrases:l,getWincherTrackedKeyphrases:c,getWincherAllKeyphrasesMissRanking:d,getWincherPermalink:p,shouldWincherAutomaticallyTrackAll:u}=e("yoast-seo/editor");return{keyphrases:l(),trackedKeyphrases:c(),allKeyphrasesMissRanking:d(),isLoggedIn:n(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:s(),limit:a(),response:i(),shouldTrackAll:u(),permalink:p(),historyDaysLimit:r()}})),(0,n.withDispatch)((e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:s,setWincherRequestFailed:a,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:n,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{s(e)},setRequestFailed:e=>{a(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{n(e)},onAuthentication:(e,s,a)=>{t(a),o(e,s)}}}))])(Kc),Yc=ma()(dl)` width: 18px; height: 18px; margin: 3px; -`;function sd(e){const{keyphrases:t,onNoKeyphraseSet:s,onOpen:a,location:r}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void s()}a(r)}function ad(e,t){en(t)&&e.onClose()}function rd(e){const{location:t,whichModalOpen:s,shouldCloseOnClickOutside:a}=e,r=(0,M.useCallback)((()=>{sd(e)}),[sd,e]),n=(0,M.useCallback)((t=>{ad(e,t)}),[ad,e]),o=(0,O.__)("Track SEO performance","wordpress-seo"),i=Jr();return(0,L.createElement)(M.Fragment,null,s===t&&(0,L.createElement)(Na,{title:o,onRequestClose:n,icon:(0,L.createElement)(kl,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,L.createElement)(Ma,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,L.createElement)(ed,null))),"sidebar"===t&&(0,L.createElement)(_a,{id:`wincher-open-button-${t}`,title:o,SuffixHeroIcon:(0,L.createElement)(td,{className:"yst-text-slate-500",...i}),onClick:r}),"metabox"===t&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(wa,{id:`wincher-open-button-${t}`,onClick:r},(0,L.createElement)(wa.Text,null,o),(0,L.createElement)(bl,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...i}))))}rd.propTypes={location:E().string,whichModalOpen:E().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:E().bool},rd.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const nd=(0,ua.compose)([(0,n.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,n.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:a}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{a()}}}))])(rd),od=()=>(0,L.createElement)(L.Fragment,null,(0,L.createElement)("p",null,zn((0,O.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ -(0,O.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var id,ld,cd,dd,pd,ud,md,hd,gd,yd,fd,wd,bd,Ed,_d,vd,kd,xd,Sd,Td,Rd,Cd,Id,Ld,Pd,Ad,Md,Od,Dd,Fd,Nd,qd,$d,Bd,Ud,Wd,zd,Kd,Hd,Yd,jd,Vd,Gd,Zd,Qd,Xd,Jd,ep;function tp(){return tp=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",tp({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),id||(id=L.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),ld||(ld=L.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),cd||(cd=L.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),dd||(dd=L.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),pd||(pd=L.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),ud||(ud=L.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),md||(md=L.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),hd||(hd=L.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),gd||(gd=L.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),yd||(yd=L.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),fd||(fd=L.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),wd||(wd=L.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),bd||(bd=L.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),Ed||(Ed=L.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),_d||(_d=L.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),vd||(vd=L.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),kd||(kd=L.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),xd||(xd=L.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),Sd||(Sd=L.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),Td||(Td=L.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),Rd||(Rd=L.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),Cd||(Cd=L.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),Id||(Id=L.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),Ld||(Ld=L.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),Pd||(Pd=L.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),Ad||(Ad=L.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),Md||(Md=L.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),Od||(Od=L.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Dd||(Dd=L.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Fd||(Fd=L.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Nd||(Nd=L.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),qd||(qd=L.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),$d||($d=L.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Bd||(Bd=L.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Ud||(Ud=L.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Wd||(Wd=L.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),zd||(zd=L.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Kd||(Kd=L.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Hd||(Hd=L.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Yd||(Yd=L.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),jd||(jd=L.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),Vd||(Vd=L.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Gd||(Gd=L.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Zd||(Zd=L.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Qd||(Qd=L.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),Xd||(Xd=L.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),Jd||(Jd=L.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),ep||(ep=L.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),ap=e=>{const{closeModal:t}=e;return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,L.createElement)(sp,{class:"yoast-wordproof-modal-svg__success"})),(0,L.createElement)("p",null,(0,O.sprintf)(/* Translators: %s translates to the Post type in singular form */ +`;function jc(e){const{keyphrases:t,onNoKeyphraseSet:s,onOpen:a,location:r}=e;if(!t.length){let e=document.querySelector("#focus-keyword-input-metabox");return e||(e=document.querySelector("#focus-keyword-input-sidebar")),e.focus(),void s()}a(r)}function Vc(e){const{location:t,whichModalOpen:s,shouldCloseOnClickOutside:a}=e,r=(0,M.useCallback)((()=>{jc(e)}),[jc,e]),n=(0,O.__)("Track SEO performance","wordpress-seo"),o=Hr();return(0,L.createElement)(M.Fragment,null,s===t&&(0,L.createElement)(Ia,{title:n,onRequestClose:e.onClose,icon:(0,L.createElement)(hl,null),additionalClassName:"yoast-wincher-seo-performance-modal yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:a},(0,L.createElement)(Sa,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},(0,L.createElement)(Hc,null))),"sidebar"===t&&(0,L.createElement)(pa,{id:`wincher-open-button-${t}`,title:n,SuffixHeroIcon:(0,L.createElement)(Yc,{className:"yst-text-slate-500",...o}),onClick:r}),"metabox"===t&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(la,{id:`wincher-open-button-${t}`,onClick:r},(0,L.createElement)(la.Text,null,n),(0,L.createElement)(dl,{className:"yst-h-5 yst-w-5 yst-text-slate-500",...o}))))}Vc.propTypes={location:E().string,whichModalOpen:E().oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:E().bool,keyphrases:E().array.isRequired,onNoKeyphraseSet:E().func.isRequired,onOpen:E().func.isRequired,onClose:E().func.isRequired},Vc.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0};const Gc=(0,sa.compose)([(0,n.withSelect)((e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:s}=e("yoast-seo/editor");return{keyphrases:s(),whichModalOpen:t()}})),(0,n.withDispatch)((e=>{const{setWincherOpenModal:t,setWincherDismissModal:s,setWincherNoKeyphrase:a}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{s()},onNoKeyphraseSet:()=>{a()}}}))])(Vc),Zc=()=>(0,L.createElement)(L.Fragment,null,(0,L.createElement)("p",null,On((0,O.sprintf)(/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ +(0,O.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"","","WordProof","WordPress"),"https://help.wordproof.com/")));var Qc,Xc,Jc,ed,td,sd,ad,rd,nd,od,id,ld,cd,dd,pd,ud,md,hd,gd,yd,fd,wd,bd,Ed,vd,_d,kd,xd,Sd,Td,Rd,Cd,Id,Ld,Pd,Ad,Md,Od,Fd,Dd,Nd,qd,$d,Bd,Ud,Wd,zd,Kd;function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",Hd({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 448 360"},e),Qc||(Qc=L.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),Xc||(Xc=L.createElement("path",{fill:"#fbd2a6",d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92Z"})),Jc||(Jc=L.createElement("path",{fill:"#a4286a",d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 0 0 110.3 8.66 25.66 25.66 0 0 1 .18-8.12Z"})),ed||(ed=L.createElement("path",{fill:"#9a5815",d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55Z"})),td||(td=L.createElement("path",{fill:"#efb17c",d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39Z"})),sd||(sd=L.createElement("path",{fill:"#fbd2a6",d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36Z"})),ad||(ad=L.createElement("path",{fill:"#f6b488",d:"m235.21 167.9 53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49Z"})),rd||(rd=L.createElement("path",{fill:"#efb17c",d:"M277.68 178.82Z"})),nd||(nd=L.createElement("path",{fill:"#fbd2a6",d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73Z"})),od||(od=L.createElement("path",{fill:"#e5766c",d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23Z"})),id||(id=L.createElement("path",{fill:"#fff",d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39ZM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93Z"})),ld||(ld=L.createElement("path",{fill:"#000001",d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 0 0-1.24 1.23h-.12a3.73 3.73 0 0 1 1-1.52 12.53 12.53 0 0 1 11.93-3c4.73 1 9.43 4.63 9.42 9.82Z"})),cd||(cd=L.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),dd||(dd=L.createElement("path",{fill:"#fff",d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 0 1 6.11 11.53Z"})),pd||(pd=L.createElement("path",{fill:"#000001",d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 0 0-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22Z"})),ud||(ud=L.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),md||(md=L.createElement("path",{fill:"#efb17c",d:"M218.66 120.27a27.32 27.32 0 0 0 4.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78Z"})),hd||(hd=L.createElement("path",{fill:"#a57c52",d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45ZM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33Z"})),gd||(gd=L.createElement("path",{fill:"#fbd2a6",d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55Z"})),yd||(yd=L.createElement("path",{fill:"#a4286a",d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54"})),fd||(fd=L.createElement("path",{fill:"#cb9833",d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67Z"})),wd||(wd=L.createElement("path",{fill:"#fbd2a6",d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 0 0 302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23Z"})),bd||(bd=L.createElement("path",{fill:"#efb17c",d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8Z"})),Ed||(Ed=L.createElement("path",{fill:"#efb17c",d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10ZM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96ZM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44Z"})),vd||(vd=L.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),_d||(_d=L.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),kd||(kd=L.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),xd||(xd=L.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),Sd||(Sd=L.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),Td||(Td=L.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),Rd||(Rd=L.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),Cd||(Cd=L.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),Id||(Id=L.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),Ld||(Ld=L.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),Pd||(Pd=L.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),Ad||(Ad=L.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),Md||(Md=L.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Od||(Od=L.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),Fd||(Fd=L.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),Dd||(Dd=L.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Nd||(Nd=L.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),qd||(qd=L.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),$d||($d=L.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),Bd||(Bd=L.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Ud||(Ud=L.createElement("path",{fill:"#71b026",d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36Z"})),Wd||(Wd=L.createElement("path",{fill:"#074a67",d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3Z"})),zd||(zd=L.createElement("ellipse",{cx:255.38,cy:103.18,fill:"#fff",rx:1.84,ry:1.77})),Kd||(Kd=L.createElement("ellipse",{cx:221.24,cy:94.75,fill:"#fff",rx:1.84,ry:1.77}))),jd=e=>{const{closeModal:t}=e;return(0,L.createElement)(L.Fragment,null,(0,L.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,L.createElement)(Yd,{class:"yoast-wordproof-modal-svg__success"})),(0,L.createElement)("p",null,(0,O.sprintf)(/* Translators: %s translates to the Post type in singular form */ (0,O.__)("Your %s is now protected via the blockchain!","wordpress-seo"),os("current_post_type")),(0,L.createElement)("br",null),(0,M.createInterpolateElement)((0,O.sprintf)((0,O.__)( /** translators: * %1$s and %2$s are replaced by opening and closing tags. * %3$s translates to the Post type in singular form. */ -"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",os("current_post_type")),{b:(0,L.createElement)("b",null)})),(0,L.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,L.createElement)(ba.NewButton,{variant:"primary",onClick:t},"Continue")))};ap.propTypes={closeModal:E().func.isRequired};const rp=ap;var np;function op(){return op=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",op({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},e),np||(np=L.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},L.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),L.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),L.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),L.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),L.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),L.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),L.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),lp=e=>{const{closeModal:t}=e,s=(0,M.useCallback)((e=>{t(),e.preventDefault(),cs()}));return(0,L.createElement)("div",null,(0,L.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,L.createElement)(ip,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,L.createElement)("div",null,(0,O.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,L.createElement)("br",null),zn((0,O.sprintf)( +"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"","",os("current_post_type")),{b:(0,L.createElement)("b",null)})),(0,L.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,L.createElement)(ca.NewButton,{variant:"primary",onClick:t},"Continue")))};jd.propTypes={closeModal:E().func.isRequired};const Vd=jd;var Gd;function Zd(){return Zd=Object.assign?Object.assign.bind():function(e){for(var t=1;tL.createElement("svg",Zd({xmlns:"http://www.w3.org/2000/svg",fill:"#fff",fillRule:"evenodd",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",viewBox:"0 0 752 247"},e),Gd||(Gd=L.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},L.createElement("path",{fill:"#f17523",d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.622-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z"}),L.createElement("path",{fill:"#fccda3",d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 0 0 1.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085 4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 0 1-1.565-3.955 31.05 31.05 0 0 1-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z"}),L.createElement("path",{fill:"#847972",d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z"}),L.createElement("path",{d:"M354 58.469c3.673-2.831 10.069-1.515 11.47 3.192l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.887c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),L.createElement("path",{fill:"#3e2723",d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296 79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696 6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135 15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z"}),L.createElement("path",{fill:"#dba378",d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z"}),L.createElement("path",{fill:"#bf360c",d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.638 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 0 0 .367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 0 0-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 0 0 6.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z"})))),Xd=e=>{const{closeModal:t}=e,s=(0,M.useCallback)((e=>{t(),e.preventDefault(),cs()}));return(0,L.createElement)("div",null,(0,L.createElement)("div",{className:"yoast-wordproof-modal-image"},(0,L.createElement)(Qd,{className:"yoast-wordproof-modal-svg__webhook-failed"})),(0,L.createElement)("div",null,(0,O.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),(0,L.createElement)("br",null),On((0,O.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. -(0,O.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,L.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,L.createElement)(ba.NewButton,{variant:"secondary",onClick:s},(0,O.__)("Try again","wordpress-seo"))),(0,L.createElement)("div",null,zn((0,O.sprintf)( +(0,O.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"",""),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),(0,L.createElement)("div",{className:"yoast-wordproof-modal-action"},(0,L.createElement)(ca.NewButton,{variant:"secondary",onClick:s},(0,O.__)("Try again","wordpress-seo"))),(0,L.createElement)("div",null,On((0,O.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. %3$s expands to WordProof. -(0,O.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};lp.propTypes={closeModal:E().func.isRequired};const cp=lp,dp=()=>{const[e,t]=(0,M.useState)(null),s=(0,M.useCallback)((()=>{t("oauth:failed")})),a=(0,M.useCallback)((()=>{t("webhook:failed")})),r=(0,M.useCallback)((()=>{t("oauth:success")})),n=(0,M.useCallback)((()=>{t(null)}));(0,M.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",s,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",s,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const o=(0,M.useCallback)((()=>{switch(e){case"webhook:failed":return(0,O.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,O.__)("Connected to WordProof","wordpress-seo");default:return(0,O.__)("WordProof authentication","wordpress-seo")}}));return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Na,{onRequestClose:n,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&(0,L.createElement)(rp,{closeModal:n}),"oauth:failed"===e&&(0,L.createElement)(od,null),"webhook:failed"===e&&(0,L.createElement)(cp,{closeModal:n})))},pp=e=>(0,L.createElement)(Aa,{title:(0,O.__)("Reach a wider audience","wordpress-seo"),description:(0,O.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ha(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year free support and updates included!","wordpress-seo")});pp.propTypes={buyLink:E().string.isRequired};const up=pp,mp=()=>{const[e,,,t,s]=(0,D.useToggleState)(!1),a=(0,M.useContext)(ea.LocationContext),{locationContext:r}=(0,ea.useRootContext)(),n=(0,D.useSvgAria)(),o=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Na,{title:(0,O.__)("Add related keyphrases","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${Da} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,L.createElement)(Oa,null,(0,L.createElement)(up,{buyLink:(0,ve.addQueryArgs)(o,{context:r})}))),"sidebar"===a&&(0,L.createElement)(_a,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,O.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:io.colors.$color_grey_medium_dark},onClick:t},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===a&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(wa,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:t},(0,L.createElement)(ba.SvgIcon,{icon:"plus",color:io.colors.$color_grey_medium_dark}),(0,L.createElement)(wa.Text,null,(0,O.__)("Add related keyphrase","wordpress-seo")),(0,L.createElement)(D.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(ma,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,L.createElement)("span",null,"Premium")))))};function hp({isLoading:e,onLoad:t,settings:s}){const a=(({webinarIntroUrl:e})=>{const{shouldShow:t}=Za(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>t,component:Xa},{getIsEligible:Qr,component:()=>(0,L.createElement)(Gr,{hasIcon:!1,image:null,url:e})},{getIsEligible:Zr,component:()=>(0,L.createElement)(ja,{hasIcon:!1})},{getIsEligible:()=>!0,component:()=>(0,L.createElement)(Ya,{hasIcon:!1})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,Ee.get)(window,"wpseoScriptData.webinarIntroElementorUrl","https://yoa.st/webinar-intro-elementor")});return(0,M.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,L.createElement)(M.Fragment,null,is()&&(0,L.createElement)(dp,null),(0,L.createElement)(A.Fill,{name:"YoastElementor"},(0,L.createElement)(Nn,{renderPriority:1},(0,L.createElement)(Dn,null),a&&(0,L.createElement)(a,null)),s.isKeywordAnalysisActive&&(0,L.createElement)(Nn,{renderPriority:8},(0,L.createElement)($a.KeywordInput,{isSEMrushIntegrationActive:s.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,L.createElement)(A.Fill,{name:"YoastRelatedKeyphrases"},(0,L.createElement)(wl,null))),s.isKeywordAnalysisActive&&(0,L.createElement)(Nn,{renderPriority:10},(0,L.createElement)(M.Fragment,null,(0,L.createElement)($a.SeoAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellWordFormRecognition:s.isWordFormRecognitionActive,shouldUpsellHighlighting:s.shouldUpsell}),s.shouldUpsell&&(0,L.createElement)(vi,null))),s.isContentAnalysisActive&&(0,L.createElement)(Nn,{renderPriority:15},(0,L.createElement)($a.ReadabilityAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellHighlighting:s.shouldUpsell})),s.isInclusiveLanguageAnalysisActive&&(0,L.createElement)(Nn,{renderPriority:19},(0,L.createElement)($a.InclusiveLanguageAnalysis,{shouldUpsellHighlighting:s.shouldUpsell})),s.isKeywordAnalysisActive&&(0,L.createElement)(Nn,{key:"additional-keywords-upsell",renderPriority:22},s.shouldUpsell&&(0,L.createElement)(mp,null)),s.isKeywordAnalysisActive&&s.isWincherIntegrationActive&&(0,L.createElement)(Nn,{key:"wincher-seo-performance",renderPriority:23},(0,L.createElement)(nd,{location:"sidebar",shouldCloseOnClickOutside:!1})),s.shouldUpsell&&(0,L.createElement)(Nn,{key:"internal-linking-suggestions-upsell",renderPriority:24},(0,L.createElement)(qa,null)),(0,L.createElement)(Nn,{renderPriority:25},(0,L.createElement)(to,null)),(s.useOpenGraphData||s.useTwitterData)&&(0,L.createElement)(Nn,{key:"social-appearance",renderPriority:26},(0,L.createElement)(fi,{useOpenGraphData:s.useOpenGraphData,useTwitterData:s.useTwitterData})),s.displaySchemaSettings&&(0,L.createElement)(Nn,{renderPriority:28},(0,L.createElement)(xi,{title:(0,O.__)("Schema","wordpress-seo")},(0,L.createElement)(qi,null))),s.displayAdvancedTab&&(0,L.createElement)(Nn,{renderPriority:29},(0,L.createElement)(xi,{title:(0,O.__)("Advanced","wordpress-seo"),buttonId:"yoast-seo-elementor-advanced-button"},(0,L.createElement)(Qi,{location:"sidebar"}))),s.isCornerstoneActive&&(0,L.createElement)(Nn,{renderPriority:30},(0,L.createElement)(Ua,null)),s.isInsightsEnabled&&(0,L.createElement)(Nn,{renderPriority:32},(0,L.createElement)(Mn,{location:"elementor"}))))}hp.propTypes={isLoading:E().bool.isRequired,onLoad:E().func.isRequired,settings:E().object.isRequired};const gp=(0,ua.compose)([(0,n.withSelect)((e=>{const{getPreferences:t,getSnippetEditorIsLoading:s}=e("yoast-seo/editor");return{settings:t(),isLoading:s()}})),(0,n.withDispatch)((e=>{const{loadSnippetEditorData:t}=e("yoast-seo/editor");return{onLoad:t}}))])(hp);let yp,fp=!1;function bp(e){e.oldValue=e.value}function Ep(){yp.forEach((e=>bp(e)))}const _p=(0,Ee.debounce)((function(){let e;fp&&( +(0,O.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"","","WordProof"),"https://help.wordproof.com")))};Xd.propTypes={closeModal:E().func.isRequired};const Jd=Xd,ep=()=>{const[e,t]=(0,M.useState)(null),s=(0,M.useCallback)((()=>{t("oauth:failed")})),a=(0,M.useCallback)((()=>{t("webhook:failed")})),r=(0,M.useCallback)((()=>{t("oauth:success")})),n=(0,M.useCallback)((()=>{t(null)}));(0,M.useEffect)((()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",s,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",s,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)})),[]);const o=(0,M.useCallback)((()=>{switch(e){case"webhook:failed":return(0,O.__)("Connection failed","wordpress-seo");case"oauth:success":return(0,O.__)("Connected to WordProof","wordpress-seo");default:return(0,O.__)("WordProof authentication","wordpress-seo")}}));return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Ia,{onRequestClose:n,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&(0,L.createElement)(Vd,{closeModal:n}),"oauth:failed"===e&&(0,L.createElement)(Zc,null),"webhook:failed"===e&&(0,L.createElement)(Jd,{closeModal:n})))},tp=e=>(0,L.createElement)(xa,{title:(0,O.__)("Reach a wider audience","wordpress-seo"),description:(0,O.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,O.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:ra(),upsellButtonText:(0,O.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,O.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,O.__)("1 year free support and updates included!","wordpress-seo")});tp.propTypes={buyLink:E().string.isRequired};const sp=tp,ap=()=>{const[e,,,t,s]=(0,F.useToggleState)(!1),a=(0,M.useContext)(Zs.LocationContext),{locationContext:r}=(0,Zs.useRootContext)(),n=(0,F.useSvgAria)(),o=wpseoAdminL10n["sidebar"===a.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return(0,L.createElement)(L.Fragment,null,e&&(0,L.createElement)(Ia,{title:(0,O.__)("Add related keyphrases","wordpress-seo"),onRequestClose:s,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:`${Ra} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,shouldCloseOnClickOutside:!0},(0,L.createElement)(Ta,null,(0,L.createElement)(sp,{buyLink:(0,_e.addQueryArgs)(o,{context:r})}))),"sidebar"===a&&(0,L.createElement)(pa,{id:"yoast-additional-keyphrase-modal-open-button",title:(0,O.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:Xn.colors.$color_grey_medium_dark},onClick:t},(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",...n})))),"metabox"===a&&(0,L.createElement)("div",{className:"yst-root"},(0,L.createElement)(la,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:t},(0,L.createElement)(ca.SvgIcon,{icon:"plus",color:Xn.colors.$color_grey_medium_dark}),(0,L.createElement)(la.Text,null,(0,O.__)("Add related keyphrase","wordpress-seo")),(0,L.createElement)(F.Badge,{size:"small",variant:"upsell"},(0,L.createElement)(aa,{className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0",...n}),(0,L.createElement)("span",null,"Premium")))))};function rp({isLoading:e,onLoad:t,settings:s}){const a=(({webinarIntroUrl:e})=>{const{shouldShow:t}=Wa(),s=(e=>{for(const t of e)if(null!=t&&t.getIsEligible())return t;return null})([{getIsEligible:()=>t,component:Ka},{getIsEligible:zr,component:()=>(0,L.createElement)(Ur,{hasIcon:!1,image:null,url:e})},{getIsEligible:Wr,component:()=>(0,L.createElement)($a,{hasIcon:!1})},{getIsEligible:()=>!0,component:()=>(0,L.createElement)(qa,{hasIcon:!1})}]);return(null==s?void 0:s.component)||null})({webinarIntroUrl:(0,Ee.get)(window,"wpseoScriptData.webinarIntroElementorUrl","https://yoa.st/webinar-intro-elementor")});return(0,M.useEffect)((()=>{setTimeout((()=>{e&&t()}))})),e?null:(0,L.createElement)(M.Fragment,null,is()&&(0,L.createElement)(ep,null),(0,L.createElement)(A.Fill,{name:"YoastElementor"},(0,L.createElement)(Cn,{renderPriority:1},(0,L.createElement)(Tn,null),a&&(0,L.createElement)(a,null)),s.isKeywordAnalysisActive&&(0,L.createElement)(Cn,{renderPriority:8},(0,L.createElement)(Pa.KeywordInput,{isSEMrushIntegrationActive:s.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&(0,L.createElement)(A.Fill,{name:"YoastRelatedKeyphrases"},(0,L.createElement)(cl,null))),s.isKeywordAnalysisActive&&(0,L.createElement)(Cn,{renderPriority:10},(0,L.createElement)(M.Fragment,null,(0,L.createElement)(Pa.SeoAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellWordFormRecognition:s.isWordFormRecognitionActive,shouldUpsellHighlighting:s.shouldUpsell}),s.shouldUpsell&&(0,L.createElement)(mi,null))),s.isContentAnalysisActive&&(0,L.createElement)(Cn,{renderPriority:15},(0,L.createElement)(Pa.ReadabilityAnalysis,{shouldUpsell:s.shouldUpsell,shouldUpsellHighlighting:s.shouldUpsell})),s.isInclusiveLanguageAnalysisActive&&(0,L.createElement)(Cn,{renderPriority:19},(0,L.createElement)(Pa.InclusiveLanguageAnalysis,{shouldUpsellHighlighting:s.shouldUpsell})),s.isKeywordAnalysisActive&&(0,L.createElement)(Cn,{key:"additional-keywords-upsell",renderPriority:22},s.shouldUpsell&&(0,L.createElement)(ap,null)),s.isKeywordAnalysisActive&&s.isWincherIntegrationActive&&(0,L.createElement)(Cn,{key:"wincher-seo-performance",renderPriority:23},(0,L.createElement)(Gc,{location:"sidebar",shouldCloseOnClickOutside:!1})),s.shouldUpsell&&(0,L.createElement)(Cn,{key:"internal-linking-suggestions-upsell",renderPriority:24},(0,L.createElement)(La,null)),(0,L.createElement)(Cn,{renderPriority:25},(0,L.createElement)(Yn,null)),(s.useOpenGraphData||s.useTwitterData)&&(0,L.createElement)(Cn,{key:"social-appearance",renderPriority:26},(0,L.createElement)(li,{useOpenGraphData:s.useOpenGraphData,useTwitterData:s.useTwitterData})),s.displaySchemaSettings&&(0,L.createElement)(Cn,{renderPriority:28},(0,L.createElement)(gi,{title:(0,O.__)("Schema","wordpress-seo")},(0,L.createElement)(Ii,null))),s.displayAdvancedTab&&(0,L.createElement)(Cn,{renderPriority:29},(0,L.createElement)(gi,{title:(0,O.__)("Advanced","wordpress-seo"),buttonId:"yoast-seo-elementor-advanced-button"},(0,L.createElement)(Wi,{location:"sidebar"}))),s.isCornerstoneActive&&(0,L.createElement)(Cn,{renderPriority:30},(0,L.createElement)(Ma,null)),s.isInsightsEnabled&&(0,L.createElement)(Cn,{renderPriority:32},(0,L.createElement)(xn,{location:"elementor"}))))}rp.propTypes={isLoading:E().bool.isRequired,onLoad:E().func.isRequired,settings:E().object.isRequired};const np=(0,sa.compose)([(0,n.withSelect)((e=>{const{getPreferences:t,getSnippetEditorIsLoading:s}=e("yoast-seo/editor");return{settings:t(),isLoading:s()}})),(0,n.withDispatch)((e=>{const{loadSnippetEditorData:t}=e("yoast-seo/editor");return{onLoad:t}}))])(rp);class op extends $e.modules.hookUI.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class ip extends $e.modules.hookData.Base{constructor(e,t,s){super(),this.hook=e,this.id=t,this.callback=s}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function lp(e,t,s){$e.hooks.registerUIAfter(new op(e,t,s))}function cp(e,t,s){$e.hooks.registerUIBefore(new op(e,t,s))}const dp=({theme:e,location:t,children:s})=>(0,L.createElement)(Zs.LocationProvider,{value:t},(0,L.createElement)(ua.ThemeProvider,{theme:e},s));dp.propTypes={theme:E().object.isRequired,location:E().oneOf(["sidebar","metabox","modal"]).isRequired,children:E().element.isRequired};const pp=dp,up=[];let mp=null;class hp extends M.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map((({Component:e,key:t})=>(0,L.createElement)(e,{key:t})))}}function gp(e,t){null===mp||null===mp.current?up.push({key:e,Component:t}):mp.current.registerComponent(e,t)}const yp="yoast-elementor-react-tab";let fp,bp=!1;function Ep(e){e.oldValue=e.value}function vp(){fp.forEach((e=>Ep(e)))}const _p=(0,Ee.debounce)((function(){let e;bp&&( /* Translators: %1$s translates to the Post Label in singular form */ -e=(0,O.sprintf)((0,O.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),(0,n.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function vp(e){var t;(function(e){return["yoast_wpseo_linkdex","yoast_wpseo_content_score","yoast_wpseo_inclusive_language_score","yoast_wpseo_words_for_linking","yoast_wpseo_estimated-reading-time-minutes"].includes(e.name)})(e)||(t=e.name,["yoast_wpseo_focuskeywords","hidden_wpseo_focuskeywords"].includes(t)&&function(e,t){if(t===e)return!0;if(""===t||""===e)return!1;const s=JSON.parse(t),a=JSON.parse(e);return s.length===a.length&&s.every(((e,t)=>e.keyword===a[t].keyword))}(e.oldValue,e.value)||e.value!==e.oldValue&&(fp=!0,_p(),window.$e.internal("document/save/set-is-modified",{status:!0}),bp(e)))}function kp(e){fp=!1;const t=jQuery(e).serializeArray().reduce(((e,{name:t,value:s})=>(e[t]=s,e)),{});jQuery.post(e.getAttribute("action"),t,(({success:e,data:s},a,r)=>{e?((0,o.doAction)("yoast.elementor.save.success",r),s.slug&&s.slug!==t.slug&&(0,n.dispatch)("yoast-seo/editor").updateData({slug:s.slug}),Ep(),_p()):fp=!0}))}function xp(){const e={locationContext:"elementor-sidebar"};setTimeout((()=>{!function(e,t){const s=pt();ra=(0,M.createRef)();const a={isRtl:s.isRtl};(0,M.render)((0,L.createElement)(sa,{theme:a,location:"sidebar"},(0,L.createElement)(A.SlotFillProvider,null,(0,L.createElement)(M.Fragment,null,t,(0,L.createElement)(na,{ref:ra})))),document.getElementById("elementor-panel-page-settings-controls")),aa.forEach((e=>{ra.current.registerComponent(e.key,e.Component)}))}(0,(0,L.createElement)(ea.Root,{context:e},(0,L.createElement)(Vs.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},(0,L.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},(0,L.createElement)(pa,null),(0,L.createElement)(gp,null)))))}),200)}function Sp(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=oa,window.elementor.settings.page.model.on("change",(e=>{e.changed&&e.changed.post_status&&_p()}));const e=kp.bind(null,document.getElementById("yoast-form"));$e.hooks.registerDataAfter(new Qs("document/save/save","yoast-seo-save",(()=>{window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e()}))),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:()=>{try{window.$e.route("panel/page-settings/yoast-tab")}catch(e){window.$e.route("panel/page-settings/settings"),window.$e.route("panel/page-settings/yoast-tab")}xp()}},"more"),jQuery(document).on("click",'[data-tab="yoast-tab"]:not(.elementor-active)',xp).on("keyup",'[data-tab="yoast-tab"]:not(.elementor-active)',(e=>{13!==e.keyCode&&32!==e.keyCode||e.currentTarget.click()})),yp=document.querySelectorAll("input[name^='yoast']"),Ep(),setInterval((()=>yp.forEach(vp)),500)}const Tp=()=>{const{getContentLocale:e}=(0,n.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,Ys),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,n.dispatch)("yoast-seo/editor"),a=(0,Ee.get)(window,"YoastSEO.analysis.worker.runResearch",Ee.noop);return()=>{const r=lt.Paper.parse(Ys());a("readingTime",r).then((t=>e(t.result))),a("getFleschReadingScore",r).then((e=>{e.result&&t(e.result)})),a("wordCountInText",r).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const a=e();(0,Ee.isEqual)(a,s)||(s=a,t((0,Ee.clone)(a)))}})(t,s)},Rp={content:"",title:"",excerpt:"",slug:"",imageUrl:""},Cp="yoastmark";function Ip(e){const t=window.elementor.settings.page.model.get("post_featured_image"),s=(0,Ee.get)(t,"url","");return""===s?function(e){const t=lt.languageProcessing.imageInText(e);if(0===t.length)return"";const s=jQuery.parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}(e):s}function Lp(){window.elementor.documents.getCurrent().$element.find(".elementor-widget-container").each(((e,t)=>{-1!==t.innerHTML.indexOf("<"+Cp)&&(t.innerHTML=lt.markers.removeMarks(t.innerHTML))})),(0,n.dispatch)("yoast-seo/editor").setActiveMarker(null),(0,n.dispatch)("yoast-seo/editor").setMarkerPauseStatus(!1),window.YoastSEO.analysis.applyMarks(new lt.Paper("",{}),[])}const Pp=(0,Ee.debounce)((function(){const e=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(e.config.type))return;if((0,n.select)("yoast-seo/editor").getActiveMarker())return;const t=function(e){const t=function(e){const t=[];return e.$element.find(".elementor-widget-container").each(((e,s)=>{const a=s.innerHTML.replace(/[\n\t]/g,"").trim();t.push(a)})),t.join("")}(e);return{content:t,title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:Ip(t),status:window.elementor.settings.page.model.get("post_status")}}(e);t.content!==Rp.content&&(Rp.content=t.content,(0,n.dispatch)("yoast-seo/editor").setEditorDataContent(Rp.content)),t.title!==Rp.title&&(Rp.title=t.title,(0,n.dispatch)("yoast-seo/editor").setEditorDataTitle(Rp.title),"draft"!==t.status&&"auto-draft"!==t.status||(0,n.dispatch)("yoast-seo/editor").updateData({slug:(0,ve.cleanForSlug)(Rp.title)})),t.excerpt!==Rp.excerpt&&(Rp.excerpt=t.excerpt,(0,n.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Rp.excerpt)),t.imageUrl!==Rp.imageUrl&&(Rp.imageUrl=t.imageUrl,(0,n.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Rp.imageUrl))}),ds);function Ap(){new MutationObserver(Pp).observe(window.document,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}const Mp=({mentionsName:e,children:t})=>{const[s,a]=(0,M.useState)(!1),r=(0,M.useCallback)((()=>a(!0)),[a]),n=(0,M.useCallback)((()=>a(!1)),[a]);return(0,L.createElement)(L.Fragment,null,(0,L.createElement)(D.Badge,{variant:"plain",className:"yst-text-slate-500 yst-relative yst-cursor-pointer","aria-describedby":D.Tooltip.id,onMouseEnter:r,onMouseLeave:n},(0,L.createElement)("span",null,e),s&&(0,L.createElement)(D.Tooltip,{id:D.Tooltip.id,className:"yst--translate-x-10 yst-max-w-lg yst-text-xs"},t)))};Mp.propTypes={mentionsName:E().node.isRequired,children:E().node.isRequired};const Op=(e,{fieldId:t})=>{const s=(0,Ee.get)(window,"wpseoScriptData.metabox.isRtl",!1),a=(0,n.select)("yoast-seo/editor").getDateFromSettings,r=(0,n.select)("yoast-seo/editor").getIsProduct(),o="yoast-google-preview-description-metabox"===t||"yoast-google-preview-description-modal"===t,i=a().length,l=[];return!r&&o&&l.push((0,L.createElement)(A.Fill,{name:`yoast.replacementVariableEditor.additionalMentions.${t}`},(0,L.createElement)(D.Root,{context:{isRtl:s}},(0,L.createElement)(Mp,{mentionsName:(0,O.__)("Date","wordpress-seo")},(0,O.sprintf)(/* translators: %s expands to the amount of characters */ -(0,O._n)("The 'Date' variable is fixed and adds %s character to the length of your meta description.","The 'Date' variable is fixed and adds %s characters to the length of your meta description.",i,"wordpress-seo"),i))," ",(0,L.createElement)(Mp,{mentionsName:"—"},(0,O.sprintf)(/* translators: %s expands to the amount of characters */ -(0,O._n)("The em dash (—) is fixed and adds %s character to the length of your meta description.","The em dash (—) is fixed and adds %s characters to the length of your meta description.",3,"wordpress-seo"),3))," "))),[...e,...l]};function Dp(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=function(){const s=(0,n.registerStore)("yoast-seo/editor",{reducer:(0,n.combineReducers)(be.reducers),selectors:{...be.selectors,...a},actions:(0,Ee.pickBy)({...be.actions,...t},(e=>"function"==typeof e)),controls:e});return(e=>{e.dispatch(be.actions.loadCornerstoneContent()),e.dispatch(be.actions.loadFocusKeyword()),e.dispatch(be.actions.setMarkerStatus(window.wpseoScriptData.metabox.elementorMarkerStatus)),e.dispatch(be.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));const{facebook:t,twitter:s}=window.wpseoScriptData.metabox.showSocial;t&&e.dispatch(be.actions.loadFacebookPreviewData()),s&&e.dispatch(be.actions.loadTwitterPreviewData()),e.dispatch(be.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(be.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(be.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(be.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(be.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(be.actions.setDismissedAlerts((0,Ee.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(be.actions.setCurrentPromotions((0,Ee.get)(window,"wpseoScriptData.currentPromotions",{}))),e.dispatch(be.actions.setIsPremium(Boolean((0,Ee.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(be.actions.setLinkParams((0,Ee.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(be.actions.setPluginUrl((0,Ee.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(be.actions.setWistiaEmbedPermissionValue("1"===(0,Ee.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(s),s}(),Js("panel/editor/open","yoast-seo-reset-marks-edit",(0,Ee.debounce)(Lp,ds)),Js("document/save/save","yoast-seo-reset-marks-save",Lp),Xs("editor/documents/attach-preview","yoast-seo-content-scraper-initial",Pp),Xs("editor/documents/attach-preview","yoast-seo-content-scraper",(0,Ee.debounce)(Ap,ds)),Xs("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",Pp),window.YoastSEO.pluginReady=Ve,window.YoastSEO.pluginReloaded=Ge,window.YoastSEO.registerModification=Ze,window.YoastSEO.registerPlugin=Qe,window.YoastSEO.applyModifications=Xe,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=(0,n.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=js(),window.YoastSEO.analysis.collectData=Ys,Qe(Jt,{status:"ready"}),as().forEach((e=>{const t=null==r?void 0:r[e];if(t){const e=(({getReplacement:e,regexp:t})=>s=>s.replace(t,e()))(t);ss(e)}})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:rs,ReplaceVar:Xt},function(){const e=pt(),t=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),s=(0,Ee.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),a=new mt("get_focus_keyword_usage_and_post_types",e,(0,n.dispatch)("yoast-seo/editor").runAnalysis,t,s);a.init();let r="";(0,n.subscribe)((()=>{const e=(0,n.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,a.setKeyword(e))}))}(),(()=>{if((0,n.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,n.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,n.subscribe)((0,Ee.debounce)(Tp(),1500,{maxWait:3e3}))})(),function(e){const{getFocusKeyphrase:t}=(0,n.select)("yoast-seo/editor");let s=t();ct(e,s),(0,n.subscribe)((()=>{const a=t();s!==a&&(s=a,dt(e,a))}))}(window.YoastSEO.analysis.worker.runResearch),function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;const e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:(0,O.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:(0,O.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:t=>{window.$e.routes.on("run:after",(function(e,s){"panel/menu"===s&&t.getElements("ok").trigger("click")})),t.addButton({name:"ok",text:(0,O.__)("Got it","wordpress-seo"),callback:()=>e.setViewed()}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}(),Sp(),is()&&(function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=T("wordproof"),s=w("popup_redirect_authentication_url"),a=w("popup_redirect_settings_url");let r=null;const n=(e,t)=>{r=function(e,t,s="",a=800,r=680){const n=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-a/2;return e.open(t,s,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${a},\n\t\theight=${r},\n\t\ttop=${n},\n\t\tleft=${o}`)}(window,e,t),r&&r.focus(),window.addEventListener("message",o,!1)},o=async e=>{const{data:t,source:s,origin:a}=e;if(a===w("origin")&&r===s)switch(t.type){case"wordproof:oauth:granted":!1===await d(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await u(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,s=null)=>{l(),_(t),!1===s&&(await p(),e(!1)),!0===s&&e(!0)},l=()=>{window.removeEventListener("message",o,!1),r.close()},d=async e=>{await c((()=>m(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return r.postMessage(t,w("origin")),!0}),(async()=>!1))},u=async e=>{await c((()=>h(e)),(async()=>{const s=e.settings;return s.selectedPostTypes&&t(s.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),n(s,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),n(a,"WordProof_Settings")}),!1)}(),function(e,t,s){e(x((async()=>{if(S("wordproof.timestamp",!0)){const e=w("current_post_id"),a=await y(e);v({response:a,createSuccessNotice:t,createErrorNotice:s,postId:e})}}),500))}(I,C,C)),window.wpseoScriptData.postType&&!["attachment","product"].includes(window.wpseoScriptData.postType)&&(()=>{const e=(0,n.select)(we).getIsPremium(),t=(0,n.select)(we).getIsWooSeoUpsell(),s=(0,n.select)(we).getIsProduct()?!e||t:!e;(0,o.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",((e,{fieldId:t})=>(s&&e.push((0,L.createElement)(A.Fill,{name:`yoast.replacementVariableEditor.additionalButtons.${t}`},(0,L.createElement)(fe,{fieldId:t}))),e)))})(),(0,n.select)("yoast-seo/editor").getDateFromSettings,(0,o.addFilter)("yoast.replacementVariableEditor.additionalMentions","yoast/yoast-seo/Mentions",Op),(0,o.doAction)("yoast.elementor.loaded")}jQuery(window).on("elementor:init",(()=>{window.elementor.on("panel:init",(()=>{setTimeout(Dp)}))}))})()})(); \ No newline at end of file +e=(0,O.sprintf)((0,O.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),(0,n.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function kp(e){var t;(function(e){return["yoast_wpseo_linkdex","yoast_wpseo_content_score","yoast_wpseo_inclusive_language_score","yoast_wpseo_words_for_linking","yoast_wpseo_estimated-reading-time-minutes"].includes(e.name)})(e)||(t=e.name,["yoast_wpseo_focuskeywords","hidden_wpseo_focuskeywords"].includes(t)&&function(e,t){if(t===e)return!0;if(""===t||""===e)return!1;const s=JSON.parse(t),a=JSON.parse(e);return s.length===a.length&&s.every(((e,t)=>e.keyword===a[t].keyword))}(e.oldValue,e.value)||e.value!==e.oldValue&&(bp=!0,_p(),window.$e.internal("document/save/set-is-modified",{status:!0}),Ep(e)))}function xp(e){bp=!1;const t=jQuery(e).serializeArray().reduce(((e,{name:t,value:s})=>(e[t]=s,e)),{});jQuery.post(e.getAttribute("action"),t,(({success:e,data:s},a,r)=>{e?((0,o.doAction)("yoast.elementor.save.success",r),s.slug&&s.slug!==t.slug&&(0,n.dispatch)("yoast-seo/editor").updateData({slug:s.slug}),vp(),_p()):bp=!0}))}const Sp=({id:e,children:t})=>{const[s,a]=(0,M.useState)(null);return((e,t,s={childList:!0,subtree:!0})=>{(0,M.useEffect)((()=>{const a=new MutationObserver(t);return a.observe(e,s),()=>a.disconnect()}),[e,t])})(document.body,(()=>{const r=document.getElementById(e);r?null===s&&a((0,M.createPortal)(t,r)):null!==s&&a(null)})),s},Tp=()=>{var e;const t=document.getElementById("elementor-panel-page-settings-controls");if(!t)return;const s=null===(e=t.getElementsByClassName("elementor-control"))||void 0===e?void 0:e[0];s&&(s.style.display="none");const a=document.createElement("div");a.id=yp,a.className="yoast yoast-elementor-panel__fills",t.appendChild(a)},Rp=()=>{const e=document.createElement("div");e.id="yoast-elementor-react-root",document.body.appendChild(e),function(e,t){const s=pt();mp=(0,M.createRef)();const a={isRtl:s.isRtl};(0,M.render)((0,L.createElement)(pp,{theme:a,location:"sidebar"},(0,L.createElement)(A.SlotFillProvider,null,(0,L.createElement)(M.Fragment,null,t,(0,L.createElement)(hp,{ref:mp})))),document.getElementById(e)),up.forEach((e=>{mp.current.registerComponent(e.key,e.Component)}))}(e.id,(0,L.createElement)(Zs.Root,{context:{locationContext:"elementor-sidebar"}},(0,L.createElement)(Sp,{id:yp},(0,L.createElement)(ta,null),(0,L.createElement)(np,null))))};function Cp(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=gp,Gs()(Rp),window.elementor.settings.page.model.on("change",(e=>{e.changed&&e.changed.post_status&&_p()}));const e=xp.bind(null,document.getElementById("yoast-form"));$e.hooks.registerDataAfter(new ip("document/save/save","yoast-seo-save",(()=>{window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e()}))),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:()=>{try{window.$e.route("panel/page-settings/yoast-tab")}catch(e){window.$e.route("panel/page-settings/settings"),window.$e.route("panel/page-settings/yoast-tab")}Tp()}},"more"),jQuery(document).on("click",'[data-tab="yoast-tab"]:not(.elementor-active)',Tp).on("keyup",'[data-tab="yoast-tab"]:not(.elementor-active)',(e=>{13!==e.keyCode&&32!==e.keyCode||e.currentTarget.click()})),fp=document.querySelectorAll("input[name^='yoast']"),vp(),setInterval((()=>fp.forEach(kp)),500)}const Ip=()=>{const{getContentLocale:e}=(0,n.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,Ys),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,n.dispatch)("yoast-seo/editor"),a=(0,Ee.get)(window,"YoastSEO.analysis.worker.runResearch",Ee.noop);return()=>{const r=lt.Paper.parse(Ys());a("readingTime",r).then((t=>e(t.result))),a("getFleschReadingScore",r).then((e=>{e.result&&t(e.result)})),a("wordCountInText",r).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const a=e();(0,Ee.isEqual)(a,s)||(s=a,t((0,Ee.clone)(a)))}})(t,s)},Lp={content:"",title:"",excerpt:"",slug:"",imageUrl:""},Pp="yoastmark";function Ap(e){const t=window.elementor.settings.page.model.get("post_featured_image"),s=(0,Ee.get)(t,"url","");return""===s?function(e){const t=lt.languageProcessing.imageInText(e);if(0===t.length)return"";const s=jQuery.parseHTML(t.join(""));for(const e of s)if(e.src)return e.src;return""}(e):s}function Mp(){window.elementor.documents.getCurrent().$element.find(".elementor-widget-container").each(((e,t)=>{-1!==t.innerHTML.indexOf("<"+Pp)&&(t.innerHTML=lt.markers.removeMarks(t.innerHTML))})),(0,n.dispatch)("yoast-seo/editor").setActiveMarker(null),(0,n.dispatch)("yoast-seo/editor").setMarkerPauseStatus(!1),window.YoastSEO.analysis.applyMarks(new lt.Paper("",{}),[])}const Op=(0,Ee.debounce)((function(){const e=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(e.config.type))return;if((0,n.select)("yoast-seo/editor").getActiveMarker())return;const t=function(e){const t=function(e){const t=[];return e.$element.find(".elementor-widget-container").each(((e,s)=>{const a=s.innerHTML.replace(/[\n\t]/g,"").trim();t.push(a)})),t.join("")}(e);return{content:t,title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:Ap(t),status:window.elementor.settings.page.model.get("post_status")}}(e);t.content!==Lp.content&&(Lp.content=t.content,(0,n.dispatch)("yoast-seo/editor").setEditorDataContent(Lp.content)),t.title!==Lp.title&&(Lp.title=t.title,(0,n.dispatch)("yoast-seo/editor").setEditorDataTitle(Lp.title),"draft"!==t.status&&"auto-draft"!==t.status||(0,n.dispatch)("yoast-seo/editor").updateData({slug:(0,_e.cleanForSlug)(Lp.title)})),t.excerpt!==Lp.excerpt&&(Lp.excerpt=t.excerpt,(0,n.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Lp.excerpt)),t.imageUrl!==Lp.imageUrl&&(Lp.imageUrl=t.imageUrl,(0,n.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Lp.imageUrl))}),ds);function Fp(){new MutationObserver(Op).observe(window.document,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}function Dp(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=function(){const s=(0,n.registerStore)("yoast-seo/editor",{reducer:(0,n.combineReducers)(be.reducers),selectors:{...be.selectors,...a},actions:(0,Ee.pickBy)({...be.actions,...t},(e=>"function"==typeof e)),controls:e});return(e=>{e.dispatch(be.actions.loadCornerstoneContent()),e.dispatch(be.actions.loadFocusKeyword()),e.dispatch(be.actions.setMarkerStatus(window.wpseoScriptData.metabox.elementorMarkerStatus)),e.dispatch(be.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));const{facebook:t,twitter:s}=window.wpseoScriptData.metabox.showSocial;t&&e.dispatch(be.actions.loadFacebookPreviewData()),s&&e.dispatch(be.actions.loadTwitterPreviewData()),e.dispatch(be.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(be.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(be.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(be.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(be.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(be.actions.setDismissedAlerts((0,Ee.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(be.actions.setCurrentPromotions((0,Ee.get)(window,"wpseoScriptData.currentPromotions",{}))),e.dispatch(be.actions.setIsPremium(Boolean((0,Ee.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(be.actions.setLinkParams((0,Ee.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(be.actions.setPluginUrl((0,Ee.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(be.actions.setWistiaEmbedPermissionValue("1"===(0,Ee.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(s),s}(),cp("panel/editor/open","yoast-seo-reset-marks-edit",(0,Ee.debounce)(Mp,ds)),cp("document/save/save","yoast-seo-reset-marks-save",Mp),lp("editor/documents/attach-preview","yoast-seo-content-scraper-initial",Op),lp("editor/documents/attach-preview","yoast-seo-content-scraper",(0,Ee.debounce)(Fp,ds)),lp("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",Op),window.YoastSEO.pluginReady=Ve,window.YoastSEO.pluginReloaded=Ge,window.YoastSEO.registerModification=Ze,window.YoastSEO.registerPlugin=Qe,window.YoastSEO.applyModifications=Xe,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=(0,n.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=js(),window.YoastSEO.analysis.collectData=Ys,Qe(Jt,{status:"ready"}),as().forEach((e=>{const t=null==r?void 0:r[e];if(t){const e=(({getReplacement:e,regexp:t})=>s=>s.replace(t,e()))(t);ss(e)}})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:rs,ReplaceVar:Xt},function(){const e=pt(),t=(0,Ee.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),s=(0,Ee.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),a=new mt("get_focus_keyword_usage_and_post_types",e,(0,n.dispatch)("yoast-seo/editor").runAnalysis,t,s);a.init();let r="";(0,n.subscribe)((()=>{const e=(0,n.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,a.setKeyword(e))}))}(),(()=>{if((0,n.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,n.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,n.subscribe)((0,Ee.debounce)(Ip(),1500,{maxWait:3e3}))})(),function(e){const{getFocusKeyphrase:t}=(0,n.select)("yoast-seo/editor");let s=t();ct(e,s),(0,n.subscribe)((()=>{const a=t();s!==a&&(s=a,dt(e,a))}))}(window.YoastSEO.analysis.worker.runResearch),function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;const e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:(0,O.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:(0,O.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:t=>{window.$e.routes.on("run:after",(function(e,s){"panel/menu"===s&&t.getElements("ok").trigger("click")})),t.addButton({name:"ok",text:(0,O.__)("Got it","wordpress-seo"),callback:()=>e.setViewed()}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}(),Cp(),is()&&(function(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=T("wordproof"),s=w("popup_redirect_authentication_url"),a=w("popup_redirect_settings_url");let r=null;const n=(e,t)=>{r=function(e,t,s="",a=800,r=680){const n=e.top.outerHeight/2+e.top.screenY-r/2,o=e.top.outerWidth/2+e.top.screenX-a/2;return e.open(t,s,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${a},\n\t\theight=${r},\n\t\ttop=${n},\n\t\tleft=${o}`)}(window,e,t),r&&r.focus(),window.addEventListener("message",o,!1)},o=async e=>{const{data:t,source:s,origin:a}=e;if(a===w("origin")&&r===s)switch(t.type){case"wordproof:oauth:granted":!1===await d(t)&&await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await i("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await i("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await i("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await i("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await i("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await i("wordproof:settings:updated"),await u(t);break;case"wordproof:oauth:destroy":await i("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await i("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":l()}},i=async(t,s=null)=>{l(),v(t),!1===s&&(await p(),e(!1)),!0===s&&e(!0)},l=()=>{window.removeEventListener("message",o,!1),r.close()},d=async e=>{await c((()=>m(e)),(async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return r.postMessage(t,w("origin")),!0}),(async()=>!1))},u=async e=>{await c((()=>h(e)),(async()=>{const s=e.settings;return s.selectedPostTypes&&t(s.selectedPostTypes),!0}),(async()=>!1))};window.addEventListener("wordproof:open_authentication",(e=>{e.preventDefault(),n(s,"WordProof_Authentication")}),!1),window.addEventListener("wordproof:open_settings",(e=>{e.preventDefault(),n(a,"WordProof_Settings")}),!1)}(),function(e,t,s){e(x((async()=>{if(S("wordproof.timestamp",!0)){const e=w("current_post_id"),a=await y(e);_({response:a,createSuccessNotice:t,createErrorNotice:s,postId:e})}}),500))}(I,C,C)),window.wpseoScriptData.postType&&!["attachment","product"].includes(window.wpseoScriptData.postType)&&(()=>{const e=(0,n.select)(we).getIsPremium(),t=(0,n.select)(we).getIsWooSeoUpsell(),s=(0,n.select)(we).getIsProduct()?!e||t:!e;(0,o.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",((e,{fieldId:t})=>(s&&e.push((0,L.createElement)(A.Fill,{name:`yoast.replacementVariableEditor.additionalButtons.${t}`},(0,L.createElement)(fe,{fieldId:t}))),e)))})(),(0,o.doAction)("yoast.elementor.loaded")}jQuery(window).on("elementor:init",(()=>{window.elementor.on("panel:init",(()=>{setTimeout(Dp)}))}))})()})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/externals-components.js b/wp/wp-content/plugins/wordpress-seo/js/dist/externals-components.js index bf354a0f..0b13e3bf 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/externals-components.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/externals-components.js @@ -1,7 +1,7 @@ -(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var o in s)e.o(s,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:s[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,s=window.wp.i18n,o=window.wp.components,r=window.yoast.componentsNew,n=window.yoast.helpers,a=window.yoast.propTypes;var l=e.n(a);const i=window.wp.element,c=window.yoast.styledComponents;var d=e.n(c);const p=d().div` +(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var o in s)e.o(s,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:s[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,s=window.wp.i18n,o=window.wp.components,r=window.yoast.componentsNew,n=window.yoast.helpers,a=window.yoast.propTypes;var l=e.n(a);const i=window.wp.element,d=window.yoast.styledComponents;var c=e.n(d);const p=c().div` display: flex; margin-top: 8px; -`;class u extends i.Component{render(){return(0,t.createElement)(p,null,(0,t.createElement)(r.Toggle,{id:this.props.id,labelText:(0,s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}u.propTypes={id:l().string,isEnabled:l().bool,onToggle:l().func,onToggleDisabled:l().func},u.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:()=>{},onToggleDisabled:()=>{}};const h=u,m=d()(r.Collapsible)` +`;class u extends i.Component{render(){return(0,t.createElement)(p,null,(0,t.createElement)(r.Toggle,{id:this.props.id,labelText:(0,s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}u.propTypes={id:l().string,isEnabled:l().bool,onToggle:l().func,onToggleDisabled:l().func},u.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:()=>{},onToggleDisabled:()=>{}};const h=u,m=c()(r.Collapsible)` h2 > button { padding-left: 24px; padding-top: 16px; @@ -17,18 +17,18 @@ border-top: 1px solid rgba(0,0,0,0.2); } -`,g=e=>(0,t.createElement)(m,{hasPadding:!0,hasSeparator:!0,...e}),y=e=>{const[s,o]=(0,i.useState)(!1),{prefixIcon:n}=e;return(0,t.createElement)("div",{className:"yoast components-panel__body "+(s?"is-opened":"")},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{onClick:function(){o(!s)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`}},n&&(0,t.createElement)(r.SvgIcon,{icon:n.icon,color:n.color,size:n.size})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,t.createElement)(r.BetaBadge,null),(0,t.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),s&&e.children)},b=y;y.propTypes={title:l().string.isRequired,children:l().oneOfType([l().node,l().arrayOf(l().node)]).isRequired,prefixIcon:l().object,subTitle:l().string,hasBetaBadgeLabel:l().bool,buttonId:l().string},y.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};const w=(0,n.makeOutboundLink)();function f({isCornerstone:e,onChange:a,learnMoreUrl:l,location:i}){const c="metabox"===i?g:b;return(0,t.createElement)(c,{id:(0,n.join)(["yoast-cornerstone-collapsible",i]),title:(0,s.__)("Cornerstone content","wordpress-seo")},(0,t.createElement)(r.HelpText,null,(0,s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",(0,t.createElement)(w,{href:l},(0,s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),(0,t.createElement)(h,{id:(0,n.join)(["yoast-cornerstone",i]),isEnabled:e,onToggle:a}),(0,t.createElement)(o.Slot,{name:"YoastAfterCornerstoneToggle"}))}f.propTypes={isCornerstone:l().bool,onChange:l().func,learnMoreUrl:l().string.isRequired,location:l().string},f.defaultProps={isCornerstone:!0,onChange:()=>{},location:""};const k=window.wp.compose,_=window.wp.data,x=window.yoast.externals.contexts,E=window.wp.apiFetch;var v=e.n(E);const C=d().div` +`,g=e=>(0,t.createElement)(m,{hasPadding:!0,hasSeparator:!0,...e}),y=e=>{const[s,o]=(0,i.useState)(!1),{prefixIcon:n}=e;return(0,t.createElement)("div",{className:"yoast components-panel__body "+(s?"is-opened":"")},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{onClick:function(){o(!s)},className:"components-button components-panel__body-toggle",type:"button",id:e.buttonId},(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${n&&n.color||""}`}},n&&(0,t.createElement)(r.SvgIcon,{icon:n.icon,color:n.color,size:n.size})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&(0,t.createElement)(r.BetaBadge,null),(0,t.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),s&&e.children)},b=y;y.propTypes={title:l().string.isRequired,children:l().oneOfType([l().node,l().arrayOf(l().node)]).isRequired,prefixIcon:l().object,subTitle:l().string,hasBetaBadgeLabel:l().bool,buttonId:l().string},y.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1,buttonId:null};const w=(0,n.makeOutboundLink)();function k({isCornerstone:e,onChange:a,learnMoreUrl:l,location:i}){const d="metabox"===i?g:b;return(0,t.createElement)(d,{id:(0,n.join)(["yoast-cornerstone-collapsible",i]),title:(0,s.__)("Cornerstone content","wordpress-seo")},(0,t.createElement)(r.HelpText,null,(0,s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",(0,t.createElement)(w,{href:l},(0,s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),(0,t.createElement)(h,{id:(0,n.join)(["yoast-cornerstone",i]),isEnabled:e,onToggle:a}),(0,t.createElement)(o.Slot,{name:"YoastAfterCornerstoneToggle"}))}k.propTypes={isCornerstone:l().bool,onChange:l().func,learnMoreUrl:l().string.isRequired,location:l().string},k.defaultProps={isCornerstone:!0,onChange:()=>{},location:""};const f=window.wp.compose,_=window.wp.data,x=window.yoast.externals.contexts,E=window.wp.apiFetch;var v=e.n(E);const R=c().div` min-width: 600px; @media screen and ( max-width: 680px ) { min-width: 0; width: 86vw; } -`,R=d().div` +`,C=c().div` @media screen and ( min-width: 600px ) { max-width: 420px; } -`,N=(d()(r.Icon)` +`,B=(c()(r.Icon)` float: ${(0,n.getDirectionalStyle)("right","left")}; margin: ${(0,n.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")}; @@ -41,10 +41,8 @@ height: 80px; } } -`,"yoast yoast-gutenberg-modal"),B=e=>{const{title:s,className:r,showYoastIcon:n,additionalClassName:a,...l}=e,i=n?(0,t.createElement)("span",{className:"yoast-icon"}):null;return(0,t.createElement)(o.Modal,{title:s,className:`${r} ${a}`,icon:i,...l},e.children)};B.propTypes={title:l().string,className:l().string,showYoastIcon:l().bool,children:l().oneOfType([l().node,l().arrayOf(l().node)]),additionalClassName:l().string},B.defaultProps={title:"Yoast SEO",className:N,showYoastIcon:!0,children:null,additionalClassName:""};const S=B;var L,M;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),L||(L=t.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),M||(M=t.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"}))),O=window.lodash,$=e=>(0,t.createElement)("div",{className:"yoast components-panel__body"},(0,t.createElement)("h2",{className:"components-panel__body-title"},(0,t.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle",type:"button"},e.prefixIcon&&(0,t.createElement)("span",{className:"yoast-icon-span",style:{fill:`${e.prefixIcon&&e.prefixIcon.color||""}`}},(0,t.createElement)(r.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),(0,t.createElement)("span",{className:"yoast-title-container"},(0,t.createElement)("div",{className:"yoast-title"},e.title),(0,t.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&(0,t.createElement)(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon))),P=$;$.propTypes={onClick:l().func.isRequired,title:l().string.isRequired,id:l().string,subTitle:l().string,suffixIcon:l().object,SuffixHeroIcon:l().object,prefixIcon:l().object,children:l().node},$.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null};const A=e=>{let t=!0;if("blur"===(null==e?void 0:e.type)){const{relatedTarget:s}=e;if(s){const e=["media-modal","wp-core-ui"];t=(0,O.intersection)(e,Array.from(s.classList)).length!==e.length}}return t},F=({id:e,postTypeName:o,children:r,title:n,isOpen:a,close:l,open:c,shouldCloseOnClickOutside:d,showChangesWarning:p,SuffixHeroIcon:u})=>{const h=(0,i.useCallback)((e=>{A(e)&&l()}),[l]);return(0,t.createElement)(i.Fragment,null,a&&(0,t.createElement)(x.LocationProvider,{value:"modal"},(0,t.createElement)(S,{title:n,onRequestClose:h,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:d},(0,t.createElement)("div",{className:"yoast-content-container"},(0,t.createElement)("div",{className:"yoast-modal-content"},r)),(0,t.createElement)("div",{className:"yoast-notice-container"},(0,t.createElement)("hr",null),(0,t.createElement)("div",{className:"yoast-button-container"},p&&(0,t.createElement)("p",null,/* Translators: %s translates to the Post Label in singular form */ -(0,s.sprintf)((0,s.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),o)),(0,t.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:h},/* Translators: %s translates to the Post Label in singular form */ -(0,s.sprintf)((0,s.__)("Return to your %s","wordpress-seo"),o)))))),(0,t.createElement)(P,{id:e+"-open-button",title:n,SuffixHeroIcon:u,suffixIcon:u?null:{size:"20px",icon:"pencil-square"},onClick:c}))};F.propTypes={id:l().string.isRequired,postTypeName:l().string.isRequired,children:l().oneOfType([l().node,l().arrayOf(l().node)]).isRequired,title:l().string.isRequired,isOpen:l().bool.isRequired,open:l().func.isRequired,close:l().func.isRequired,shouldCloseOnClickOutside:l().bool,showChangesWarning:l().bool,SuffixHeroIcon:l().object},F.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0};class K extends i.Component{constructor(e){super(e),this.onModalOpen=this.onModalOpen.bind(this),this.onModalClose=this.onModalClose.bind(this),this.onLinkClick=this.onLinkClick.bind(this),this.listenToMessages=this.listenToMessages.bind(this)}onModalOpen(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}onModalClose(e){A(e)&&this.props.onClose()}onLinkClick(e){if(e.preventDefault(),!this.props.keyphrase.trim())return void this.props.onOpenWithNoKeyphrase();const t=e.target.href,s=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",s.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}async listenToMessages(e){const{data:t,source:s,origin:o}=e;"https://oauth.semrush.com"===o&&this.popup===s&&("semrush:oauth:success"===t.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),await this.performAuthenticationRequest(t)),"semrush:oauth:denied"===t.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1)))}async performAuthenticationRequest(e){try{const t=new URL(e.url).searchParams.get("code"),s=await v()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:t}});200===s.status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(s.error)}catch(e){console.error(e.message)}}render(){const{keyphrase:e,location:n,whichModalOpen:a,isLoggedIn:l,shouldCloseOnClickOutside:c}=this.props;return(0,t.createElement)(i.Fragment,null,l&&(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(r.NewButton,{variant:"secondary",id:`yoast-get-related-keyphrases-${n}`,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),e&&a===n&&(0,t.createElement)(S,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:(0,t.createElement)(I,null),additionalClassName:"yoast-related-keyphrases-modal",shouldCloseOnClickOutside:c},(0,t.createElement)(C,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},(0,t.createElement)(o.Slot,{name:"YoastRelatedKeyphrases"}))),!l&&(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(r.ButtonStyledLink,{variant:"secondary",id:`yoast-get-related-keyphrases-${n}`,href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},(0,s.__)("Get related keyphrases","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,s.__)("(Opens in a new browser tab)","wordpress-seo")))))}}K.propTypes={keyphrase:l().string,location:l().string,whichModalOpen:l().oneOf(["none","metabox","sidebar"]),isLoggedIn:l().bool,onOpen:l().func.isRequired,onOpenWithNoKeyphrase:l().func.isRequired,onClose:l().func.isRequired,onAuthentication:l().func.isRequired,shouldCloseOnClickOutside:l().bool},K.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1,shouldCloseOnClickOutside:!0};const U=K,q=(0,k.compose)([(0,_.withSelect)((e=>{const{getSEMrushModalOpen:t,getSEMrushLoginStatus:s,getIsElementorEditor:o}=e("yoast-seo/editor");return{whichModalOpen:t(),isLoggedIn:s(),shouldCloseOnClickOutside:!o()}})),(0,_.withDispatch)((e=>{const{setSEMrushNoKeyphraseMessage:t,setSEMrushOpenModal:s,setSEMrushDismissModal:o,setSEMrushLoginStatus:r}=e("yoast-seo/editor");return{onOpenWithNoKeyphrase:()=>{t()},onOpen:e=>{s(e)},onClose:()=>{o()},onAuthentication:e=>{r(e)}}}))])(U),H=window.yoast.styleGuide,z=(0,n.makeOutboundLink)(d().a` +`,"yoast yoast-gutenberg-modal"),S=e=>{const{title:s,className:r,showYoastIcon:n,additionalClassName:a,...l}=e,i=n?(0,t.createElement)("span",{className:"yoast-icon"}):null;return(0,t.createElement)(o.Modal,{title:s,className:`${r} ${a}`,icon:i,...l},e.children)};S.propTypes={title:l().string,className:l().string,showYoastIcon:l().bool,children:l().oneOfType([l().node,l().arrayOf(l().node)]),additionalClassName:l().string},S.defaultProps={title:"Yoast SEO",className:B,showYoastIcon:!0,children:null,additionalClassName:""};const N=S;var L,M;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 425 456.27"},e),L||(L=t.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"})),M||(M=t.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81,d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z"})));class $ extends i.Component{constructor(e){super(e),this.onModalOpen=this.onModalOpen.bind(this),this.onLinkClick=this.onLinkClick.bind(this),this.listenToMessages=this.listenToMessages.bind(this)}onModalOpen(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}onLinkClick(e){if(e.preventDefault(),!this.props.keyphrase.trim())return void this.props.onOpenWithNoKeyphrase();const t=e.target.href,s=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",s.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}async listenToMessages(e){const{data:t,source:s,origin:o}=e;"https://oauth.semrush.com"===o&&this.popup===s&&("semrush:oauth:success"===t.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),await this.performAuthenticationRequest(t)),"semrush:oauth:denied"===t.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1)))}async performAuthenticationRequest(e){try{const t=new URL(e.url).searchParams.get("code"),s=await v()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:t}});200===s.status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(s.error)}catch(e){console.error(e.message)}}render(){const{keyphrase:e,location:n,whichModalOpen:a,isLoggedIn:l,shouldCloseOnClickOutside:d,onClose:c}=this.props;return(0,t.createElement)(i.Fragment,null,l&&(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(r.NewButton,{variant:"secondary",id:`yoast-get-related-keyphrases-${n}`,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),e&&a===n&&(0,t.createElement)(N,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:c,icon:(0,t.createElement)(O,null),additionalClassName:"yoast-related-keyphrases-modal",shouldCloseOnClickOutside:d},(0,t.createElement)(R,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},(0,t.createElement)(o.Slot,{name:"YoastRelatedKeyphrases"}))),!l&&(0,t.createElement)("div",{className:"yoast"},(0,t.createElement)(r.ButtonStyledLink,{variant:"secondary",id:`yoast-get-related-keyphrases-${n}`,href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},(0,s.__)("Get related keyphrases","wordpress-seo"),(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,s.__)("(Opens in a new browser tab)","wordpress-seo")))))}}$.propTypes={keyphrase:l().string,location:l().string,whichModalOpen:l().oneOf(["none","metabox","sidebar"]),isLoggedIn:l().bool,onOpen:l().func.isRequired,onOpenWithNoKeyphrase:l().func.isRequired,onClose:l().func.isRequired,onAuthentication:l().func.isRequired,shouldCloseOnClickOutside:l().bool},$.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1,shouldCloseOnClickOutside:!0};const I=$,P=(0,f.compose)([(0,_.withSelect)((e=>{const{getSEMrushModalOpen:t,getSEMrushLoginStatus:s,getIsElementorEditor:o}=e("yoast-seo/editor");return{whichModalOpen:t(),isLoggedIn:s(),shouldCloseOnClickOutside:!o()}})),(0,_.withDispatch)((e=>{const{setSEMrushNoKeyphraseMessage:t,setSEMrushOpenModal:s,setSEMrushDismissModal:o,setSEMrushLoginStatus:r}=e("yoast-seo/editor");return{onOpenWithNoKeyphrase:()=>{t()},onOpen:e=>{s(e)},onClose:()=>{o()},onAuthentication:e=>{r(e)}}}))])(I),A=window.yoast.styleGuide,K=(0,n.makeOutboundLink)(c().a` display: inline-block; position: relative; outline: none; @@ -55,16 +53,16 @@ margin: -4px 0; vertical-align: middle; - color: ${H.colors.$color_help_text}; + color: ${A.colors.$color_help_text}; &:hover, &:focus { - color: ${H.colors.$color_snippet_focus}; + color: ${A.colors.$color_snippet_focus}; } // Overwrite the default blue active color for links. &:active { - color: ${H.colors.$color_help_text}; + color: ${A.colors.$color_help_text}; } &::before { @@ -74,16 +72,16 @@ padding: 2px; content: "\f223"; } -`),D=H.colors.$color_bad,W=H.colors.$palette_error_background,Y=H.colors.$color_grey_text_light,j=H.colors.$palette_error_text,G=d().div` +`),F=window.lodash,U=A.colors.$color_bad,H=A.colors.$palette_error_background,q=A.colors.$color_grey_text_light,z=A.colors.$palette_error_text,D=c().div` display: flex; flex-direction: column; -`,V=d().label` +`,W=c().label` font-size: var(--yoast-font-size-default); font-weight: var(--yoast-font-weight-bold); ${(0,n.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")}; -`,Q=d().span` +`,Y=c().span` margin-bottom: 0.5em; -`,J=d()(r.InputField)` +`,G=c()(r.InputField)` flex: 1 !important; box-sizing: border-box; max-width: 100%; @@ -95,23 +93,23 @@ } &.has-error { - border-color: ${D} !important; - background-color: ${W} !important; + border-color: ${U} !important; + background-color: ${H} !important; &:focus { - box-shadow: 0 0 2px ${D} !important; + box-shadow: 0 0 2px ${U} !important; } } -`,X=d().ul` - color: ${j}; +`,j=c().ul` + color: ${z}; list-style-type: disc; list-style-position: outside; margin: 0; margin-left: 1.2em; -`,Z=d().li` - color: ${j}; +`,V=c().li` + color: ${z}; margin: 0 0 0.5em 0; -`,ee=(0,r.addFocusStyle)(d().button` +`,Q=(0,r.addFocusStyle)(c().button` border: 1px solid transparent; box-shadow: none; background: none; @@ -120,37 +118,37 @@ max-width: 32px; padding: 0; cursor: pointer; - `);ee.propTypes={type:l().string,focusColor:l().string,focusBackgroundColor:l().string,focusBorderColor:l().string},ee.defaultProps={type:"button",focusColor:H.colors.$color_button_text_hover,focusBackgroundColor:"transparent",focusBorderColor:H.colors.$color_blue};const te=d()(r.SvgIcon)` + `);Q.propTypes={type:l().string,focusColor:l().string,focusBackgroundColor:l().string,focusBorderColor:l().string},Q.defaultProps={type:"button",focusColor:A.colors.$color_button_text_hover,focusBackgroundColor:"transparent",focusBorderColor:A.colors.$color_blue};const J=c()(r.SvgIcon)` margin-top: 4px; -`,se=d().div` +`,X=c().div` display: flex; flex-direction: row; align-items: center; &.has-remove-keyword-button { - ${J} { + ${G} { ${(0,n.getDirectionalStyle)("padding-right: 40px","padding-left: 40px")}; } - ${ee} { + ${Q} { ${(0,n.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")}; } } -`;class oe extends i.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:s,helpLink:o}=this.props;return(0,t.createElement)(Q,null,(0,t.createElement)(V,{htmlFor:e},s),o)}renderErrorMessages(){const e=[...this.props.errorMessages];return!(0,O.isEmpty)(e)&&(0,t.createElement)(X,null,e.map(((e,s)=>(0,t.createElement)(Z,{key:s},(0,t.createElement)("span",{role:"alert"},e)))))}render(){const{id:e,showLabel:s,keyword:o,onRemoveKeyword:r,onBlurKeyword:n,onFocusKeyword:a,hasError:l}=this.props,i=!s,c=r!==O.noop;return(0,t.createElement)(G,null,s&&this.renderLabel(),l&&this.renderErrorMessages(),(0,t.createElement)(se,{className:c?"has-remove-keyword-button":null},(0,t.createElement)(J,{"aria-label":i?this.props.label:null,type:"text",id:e,className:l?"has-error":null,onChange:this.handleChange,onFocus:a,onBlur:n,value:o,autoComplete:"off"}),c&&(0,t.createElement)(ee,{onClick:r,focusBoxShadowColor:"#084A67"},(0,t.createElement)(te,{size:"18px",icon:"times-circle",color:Y}))))}}oe.propTypes={id:l().string.isRequired,showLabel:l().bool,keyword:l().string,onChange:l().func.isRequired,onRemoveKeyword:l().func,onBlurKeyword:l().func,onFocusKeyword:l().func,label:l().string.isRequired,helpLink:l().node,hasError:l().bool,errorMessages:l().arrayOf(l().string)},oe.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:O.noop,onBlurKeyword:O.noop,onFocusKeyword:O.noop,helpLink:null,hasError:!1,errorMessages:[]};const re=oe,ne=d().div` +`;class Z extends i.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:s,helpLink:o}=this.props;return(0,t.createElement)(Y,null,(0,t.createElement)(W,{htmlFor:e},s),o)}renderErrorMessages(){const e=[...this.props.errorMessages];return!(0,F.isEmpty)(e)&&(0,t.createElement)(j,null,e.map(((e,s)=>(0,t.createElement)(V,{key:s},(0,t.createElement)("span",{role:"alert"},e)))))}render(){const{id:e,showLabel:s,keyword:o,onRemoveKeyword:r,onBlurKeyword:n,onFocusKeyword:a,hasError:l}=this.props,i=!s,d=r!==F.noop;return(0,t.createElement)(D,null,s&&this.renderLabel(),l&&this.renderErrorMessages(),(0,t.createElement)(X,{className:d?"has-remove-keyword-button":null},(0,t.createElement)(G,{"aria-label":i?this.props.label:null,type:"text",id:e,className:l?"has-error":null,onChange:this.handleChange,onFocus:a,onBlur:n,value:o,autoComplete:"off"}),d&&(0,t.createElement)(Q,{onClick:r,focusBoxShadowColor:"#084A67"},(0,t.createElement)(J,{size:"18px",icon:"times-circle",color:q}))))}}Z.propTypes={id:l().string.isRequired,showLabel:l().bool,keyword:l().string,onChange:l().func.isRequired,onRemoveKeyword:l().func,onBlurKeyword:l().func,onFocusKeyword:l().func,label:l().string.isRequired,helpLink:l().node,hasError:l().bool,errorMessages:l().arrayOf(l().string)},Z.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:F.noop,onBlurKeyword:F.noop,onFocusKeyword:F.noop,helpLink:null,hasError:!1,errorMessages:[]};const ee=Z,te=c().div` padding: 16px; /* Necessary to compensate negative top margin of the collapsible after the keyword input. */ border-bottom: 1px solid transparent; -`;class ae extends i.Component{constructor(e){super(e),this.validate=this.validate.bind(this)}static renderHelpLink(){return(0,t.createElement)(z,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,s.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}validate(){const e=[...this.props.errors];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),0===this.props.keyword.trim().length&&this.props.displayNoKeyphrasForTrackingMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to track keyphrase performance","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,s.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,s.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}render(){const e=this.validate();return(0,t.createElement)(x.LocationConsumer,null,(r=>(0,t.createElement)("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},(0,t.createElement)(ne,{location:r},(0,t.createElement)(re,{id:`focus-keyword-input-${r}`,onChange:this.props.onFocusKeywordChange,keyword:this.props.keyword,label:(0,s.__)("Focus keyphrase","wordpress-seo"),helpLink:ae.renderHelpLink(),onBlurKeyword:this.props.onBlurKeyword,onFocusKeyword:this.props.onFocusKeyword,hasError:e.length>0,errorMessages:e}),this.props.isSEMrushIntegrationActive&&(0,t.createElement)(q,{location:r,keyphrase:this.props.keyword})),(0,t.createElement)(o.Slot,{name:`YoastAfterKeywordInput${r.charAt(0).toUpperCase()+r.slice(1)}`}))))}}ae.propTypes={keyword:l().string,onFocusKeywordChange:l().func.isRequired,onFocusKeyword:l().func.isRequired,onBlurKeyword:l().func.isRequired,isSEMrushIntegrationActive:l().bool,displayNoKeyphraseMessage:l().bool,displayNoKeyphrasForTrackingMessage:l().bool,errors:l().arrayOf(l().string)},ae.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1,displayNoKeyphrasForTrackingMessage:!1,errors:[]};const le=(0,k.compose)([(0,_.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushNoKeyphraseMessage:s,hasWincherNoKeyphrase:o,getFocusKeyphraseErrors:r}=e("yoast-seo/editor");return{keyword:t(),displayNoKeyphraseMessage:s(),displayNoKeyphrasForTrackingMessage:o(),errors:r()}})),(0,_.withDispatch)((e=>{const{setFocusKeyword:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{onFocusKeywordChange:t,onFocusKeyword:()=>s(!0),onBlurKeyword:()=>s(!1)}}))])(ae),ie=window.yoast.analysis;function ce(e,t=""){const s=e.getIdentifier(),o={score:e.score,rating:ie.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:s,text:e.text,markerId:t.length>0?`${t}:${s}`:s,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===o.rating&&(o.rating="OK"),o}function de(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function pe(e){switch(e){case"loading":return{icon:"loading-spinner",color:H.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:H.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:H.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:H.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:H.colors.$color_ok};default:return{icon:"seo-score-bad",color:H.colors.$color_red}}}function ue(e,t=""){let s={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return s;for(let o=0;o(0,t.createElement)(he,{target:e},(0,t.createElement)(r.SvgIcon,{...pe(s)}));me.propTypes={target:l().string.isRequired,scoreIndicator:l().string.isRequired};const ge=me,ye=window.yoast.analysisReport,be=window.yoast.uiLibrary,we=t.forwardRef((function(e,s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),t.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),fe=window.wp.hooks,ke=window.wp.url,_e=()=>[(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ +`;class se extends i.Component{constructor(e){super(e),this.validate=this.validate.bind(this)}static renderHelpLink(){return(0,t.createElement)(K,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,s.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}validate(){const e=[...this.props.errors];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),0===this.props.keyword.trim().length&&this.props.displayNoKeyphrasForTrackingMessage&&e.push((0,s.__)("Please enter a focus keyphrase first to track keyphrase performance","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,s.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,s.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}render(){const e=this.validate();return(0,t.createElement)(x.LocationConsumer,null,(r=>(0,t.createElement)("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},(0,t.createElement)(te,{location:r},(0,t.createElement)(ee,{id:`focus-keyword-input-${r}`,onChange:this.props.onFocusKeywordChange,keyword:this.props.keyword,label:(0,s.__)("Focus keyphrase","wordpress-seo"),helpLink:se.renderHelpLink(),onBlurKeyword:this.props.onBlurKeyword,onFocusKeyword:this.props.onFocusKeyword,hasError:e.length>0,errorMessages:e}),this.props.isSEMrushIntegrationActive&&(0,t.createElement)(P,{location:r,keyphrase:this.props.keyword})),(0,t.createElement)(o.Slot,{name:`YoastAfterKeywordInput${r.charAt(0).toUpperCase()+r.slice(1)}`}))))}}se.propTypes={keyword:l().string,onFocusKeywordChange:l().func.isRequired,onFocusKeyword:l().func.isRequired,onBlurKeyword:l().func.isRequired,isSEMrushIntegrationActive:l().bool,displayNoKeyphraseMessage:l().bool,displayNoKeyphrasForTrackingMessage:l().bool,errors:l().arrayOf(l().string)},se.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1,displayNoKeyphrasForTrackingMessage:!1,errors:[]};const oe=(0,f.compose)([(0,_.withSelect)((e=>{const{getFocusKeyphrase:t,getSEMrushNoKeyphraseMessage:s,hasWincherNoKeyphrase:o,getFocusKeyphraseErrors:r}=e("yoast-seo/editor");return{keyword:t(),displayNoKeyphraseMessage:s(),displayNoKeyphrasForTrackingMessage:o(),errors:r()}})),(0,_.withDispatch)((e=>{const{setFocusKeyword:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{onFocusKeywordChange:t,onFocusKeyword:()=>s(!0),onBlurKeyword:()=>s(!1)}}))])(se),re=window.yoast.analysis;function ne(e,t=""){const s=e.getIdentifier(),o={score:e.score,rating:re.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:s,text:e.text,markerId:t.length>0?`${t}:${s}`:s,hasBetaBadge:e.hasBetaBadge(),hasJumps:e.hasJumps(),editFieldName:e.editFieldName};return"ok"===o.rating&&(o.rating="OK"),o}function ae(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function le(e){switch(e){case"loading":return{icon:"loading-spinner",color:A.colors.$color_green_medium_light};case"not-set":return{icon:"seo-score-none",color:A.colors.$color_score_icon};case"noindex":return{icon:"seo-score-none",color:A.colors.$color_noindex};case"good":return{icon:"seo-score-good",color:A.colors.$color_green_medium};case"ok":return{icon:"seo-score-ok",color:A.colors.$color_ok};default:return{icon:"seo-score-bad",color:A.colors.$color_red}}}function ie(e,t=""){let s={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return s;for(let o=0;o(0,t.createElement)(de,{target:e},(0,t.createElement)(r.SvgIcon,{...le(s)}));ce.propTypes={target:l().string.isRequired,scoreIndicator:l().string.isRequired};const pe=ce,ue=window.yoast.analysisReport,he=window.yoast.uiLibrary,me=t.forwardRef((function(e,s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},e),t.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))})),ge=window.wp.hooks,ye=window.wp.url,be=()=>[(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,s.__)("%1$sAI%2$s: Better SEO titles and meta descriptions, faster.","wordpress-seo"),"",""),(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,s.__)("%1$sMultiple keywords%2$s: Rank higher for more searches.","wordpress-seo"),"",""),(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,s.__)("%1$sSuper fast%2$s internal linking suggestions.","wordpress-seo"),"",""),(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,s.__)("%1$sNo more broken links%2$s: Automatic redirect manager.","wordpress-seo"),"",""),(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ (0,s.__)("%1$sAppealing social previews%2$s people actually want to click on.","wordpress-seo"),"",""),(0,s.sprintf)(/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */ -(0,s.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],xe=d().div` +(0,s.__)("%1$s24/7 support%2$s: Also on evenings and weekends.","wordpress-seo"),"","")],we=c().div` padding: 25px 32px 32px; color: #303030; -`,Ee=d().ul` +`,ke=c().ul` margin: 0; padding: 0; @@ -163,70 +161,70 @@ font-size: 1.5rem; } } -`,ve=d().span` +`,fe=c().span` display: block; margin-top: 4px; -`,Ce=d().h2` +`,_e=c().h2` margin-top: 0; margin-bottom: 0.25rem; color: #303030; font-size: 0.8125rem; font-weight: 600; -`,Re=d().p` +`,xe=c().p` display: block; margin: 0.25rem 0 1rem 0 !important; max-width: 420px; -`,Ne=d().hr` +`,Ee=c().hr` margin-top: 1.5rem; margin-bottom: 1rem; border-top: 0; border-bottom: 1px solid #E2E8F0; -`,Be=d().div` +`,ve=c().div` text-align: center; -`,Se=d().a` +`,Re=c().a` width: 100%; -`,Le=(0,n.makeOutboundLink)(Se);class Me extends i.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,t.createElement)(Ee,{role:"list"},e.map(((e,s)=>(0,t.createElement)("li",{key:`upsell-benefit-${s}`},(0,i.createInterpolateElement)(e,{strong:(0,t.createElement)("strong",null)})))))}render(){const e=(0,_.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:o}=this.state,r=e?"69.30":null,n=r||o;return(0,t.createElement)(i.Fragment,null,e&&(0,t.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,t.createElement)("div",null,(0,s.__)("BLACK FRIDAY","wordpress-seo")),(0,t.createElement)("div",null,(0,s.__)("30% OFF","wordpress-seo"))),(0,t.createElement)(xe,null,(0,t.createElement)(Ce,null,this.props.title),(0,t.createElement)(Re,null,this.props.description),(0,t.createElement)(Be,null,(0,t.createElement)(Le,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},r&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},o)," "),(0,t.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},n)," ",(0,s.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,t.createElement)(ve,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,t.createElement)(Ne,null),(0,t.createElement)(Ce,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Me.propTypes={title:l().node,benefits:l().array,benefitsTitle:l().node,description:l().node,upsellButton:l().object,upsellButtonText:l().string.isRequired,upsellButtonLabel:l().string,upsellButtonHasCaret:l().bool},Me.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Te=Me,Ie=(0,s.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),Oe=e=>{const{locationContext:o}=(0,x.useRootContext)(),r=(0,ke.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:o});return(0,t.createElement)(Te,{title:(0,s.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:_e(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:r,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year of premium support and updates included!","wordpress-seo")})};Oe.propTypes={buyLink:l().string.isRequired,description:l().string},Oe.defaultProps={description:Ie};const $e=Oe;class Pe extends i.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:ue(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:ue(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:s,className:o,status:n,onClick:a,isPressed:l}){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(r.IconButtonToggle,{marksButtonStatus:n,className:o,onClick:a,id:s,icon:"eye",pressed:l,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(be.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--right-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell"},(0,t.createElement)(we,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1}))))}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,t){this.props.setActiveMarker(e),t()}handleMarkButtonClick(e,t){const s=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;s===this.props.activeMarker?this.deactivateMarker():this.activateMarker(s,t)}handleResultsChange(e,t,s){const o=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;o===this.props.activeMarker&&(s?(0,O.isUndefined)(t)||this.activateMarker(o,t):this.deactivateMarker())}focusOnKeyphraseField(e){const t=this.props.keywordKey,s=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,o=document.getElementById(s);o.focus(),o.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let s;s="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const o=document.getElementById("yoast-google-preview-"+s+"-"+t);o.focus(),o.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){const t=this.props.location;"functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e?(["metaDescriptionKeyword","metaDescriptionLength","titleWidth","keyphraseInSEOTitle","slugKeyword"].includes(e)&&this.handleGooglePreviewFocus(t,e),(0,fe.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(t)}handleGooglePreviewFocus(e,t){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(t,"modal")),500);else{const s=document.getElementById("yoast-snippet-editor-metabox");s&&"false"===s.getAttribute("aria-expanded")?(s.click(),setTimeout((()=>this.focusOnGooglePreviewField(t,e)),100)):this.focusOnGooglePreviewField(t,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new ie.Paper("",{}),[])}renderHighlightingUpsell(e,o){const r=(0,s.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return e&&(0,t.createElement)(S,{title:(0,s.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:o,additionalClassName:"",className:`${N} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-highlighting-modal",shouldCloseOnClickOutside:!0},(0,t.createElement)(R,null,(0,t.createElement)($e,{buyLink:this.props.highlightingUpsellLink,description:r})))}render(){const{mappedResults:e}=this.state,{errorsResults:o,improvementsResults:r,goodResults:n,considerationsResults:a,problemsResults:l}=e,{upsellResults:c,resultCategoryLabels:d}=this.props,p={errors:(0,s.__)("Errors","wordpress-seo"),problems:(0,s.__)("Problems","wordpress-seo"),improvements:(0,s.__)("Improvements","wordpress-seo"),considerations:(0,s.__)("Considerations","wordpress-seo"),goodResults:(0,s.__)("Good results","wordpress-seo")},u=Object.assign(p,d);let h=this.props.marksButtonStatus;return"enabled"===h&&this.props.shortcodesForParsing.length>0&&(h="disabled"),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ye.ContentAnalysis,{errorsResults:o,problemsResults:l,upsellResults:c,improvementsResults:r,considerationsResults:a,goodResults:n,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:h,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:u,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton}))}}Pe.propTypes={results:l().array,upsellResults:l().array,marksButtonClassName:l().string,editButtonClassName:l().string,marksButtonStatus:l().oneOf(["enabled","disabled","hidden"]),setActiveMarker:l().func.isRequired,setMarkerPauseStatus:l().func.isRequired,activeMarker:l().string,keywordKey:l().string,location:l().string,isPremium:l().bool,resultCategoryLabels:l().shape({errors:l().string,problems:l().string,improvements:l().string,considerations:l().string,goodResults:l().string}),shortcodesForParsing:l().array,shouldUpsellHighlighting:l().bool,highlightingUpsellLink:l().string},Pe.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:""};const Ae=Pe,Fe=(0,k.compose)([(0,_.withSelect)((e=>{const{getActiveMarker:t,getIsPremium:s,getShortcodesForParsing:o}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:s(),shortcodesForParsing:o()}})),(0,_.withDispatch)((e=>{const{setActiveMarker:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:s}}))])(Ae);function Ke(e){return(0,O.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,s.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,s.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,s.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(ie.interpreters.scoreToRating(e))}function Ue({target:e,children:s}){return(0,t.createElement)(he,{target:e},s)}Ue.propTypes={target:l().string.isRequired,children:l().node.isRequired};const qe=d().span` +`,Ce=(0,n.makeOutboundLink)(Re);class Be extends i.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&(0,t.createElement)(ke,{role:"list"},e.map(((e,s)=>(0,t.createElement)("li",{key:`upsell-benefit-${s}`},(0,i.createInterpolateElement)(e,{strong:(0,t.createElement)("strong",null)})))))}render(){const e=(0,_.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:o}=this.state,r=e?"69.30":null,n=r||o;return(0,t.createElement)(i.Fragment,null,e&&(0,t.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},(0,t.createElement)("div",null,(0,s.__)("BLACK FRIDAY","wordpress-seo")),(0,t.createElement)("div",null,(0,s.__)("30% OFF","wordpress-seo"))),(0,t.createElement)(we,null,(0,t.createElement)(_e,null,this.props.title),(0,t.createElement)(xe,null,this.props.description),(0,t.createElement)(ve,null,(0,t.createElement)(Ce,{...this.props.upsellButton},this.props.upsellButtonText,this.props.upsellButtonHasCaret&&(0,t.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),(0,t.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},r&&(0,t.createElement)(i.Fragment,null,(0,t.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},o)," "),(0,t.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},n)," ",(0,s.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),(0,t.createElement)(fe,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),(0,t.createElement)(Ee,null),(0,t.createElement)(_e,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}Be.propTypes={title:l().node,benefits:l().array,benefitsTitle:l().node,description:l().node,upsellButton:l().object,upsellButtonText:l().string.isRequired,upsellButtonLabel:l().string,upsellButtonHasCaret:l().bool},Be.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};const Se=Be,Ne=(0,s.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),Le=e=>{const{locationContext:o}=(0,x.useRootContext)(),r=(0,ye.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:o});return(0,t.createElement)(Se,{title:(0,s.__)("Get more help with writing content that ranks","wordpress-seo"),description:e.description,benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:be(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:r,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year of premium support and updates included!","wordpress-seo")})};Le.propTypes={buyLink:l().string.isRequired,description:l().string},Le.defaultProps={description:Ne};const Me=Le;class Te extends i.Component{constructor(e){super(e);const t=this.props.results;this.state={mappedResults:{}},null!==t&&(this.state={mappedResults:ie(t,this.props.keywordKey)}),this.handleMarkButtonClick=this.handleMarkButtonClick.bind(this),this.handleEditButtonClick=this.handleEditButtonClick.bind(this),this.handleResultsChange=this.handleResultsChange.bind(this),this.renderHighlightingUpsell=this.renderHighlightingUpsell.bind(this),this.createMarkButton=this.createMarkButton.bind(this)}componentDidUpdate(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:ie(this.props.results,this.props.keywordKey)})}createMarkButton({ariaLabel:e,id:s,className:o,status:n,onClick:a,isPressed:l}){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(r.IconButtonToggle,{marksButtonStatus:n,className:o,onClick:a,id:s,icon:"eye",pressed:l,ariaLabel:e}),this.props.shouldUpsellHighlighting&&(0,t.createElement)("div",{className:"yst-root"},(0,t.createElement)(he.Badge,{className:"yst-absolute yst-px-[3px] yst-py-[3px] yst--right-[6.5px] yst--top-[6.5px]",size:"small",variant:"upsell"},(0,t.createElement)(me,{className:"yst-w-2.5 yst-h-2.5 yst-shrink-0",role:"img","aria-hidden":!0,focusable:!1}))))}deactivateMarker(){this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()}activateMarker(e,t){this.props.setActiveMarker(e),t()}handleMarkButtonClick(e,t){const s=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;s===this.props.activeMarker?this.deactivateMarker():this.activateMarker(s,t)}handleResultsChange(e,t,s){const o=this.props.keywordKey.length>0?`${this.props.keywordKey}:${e}`:e;o===this.props.activeMarker&&(s?(0,F.isUndefined)(t)||this.activateMarker(o,t):this.deactivateMarker())}focusOnKeyphraseField(e){const t=this.props.keywordKey,s=""===t?"focus-keyword-input-"+e:"yoast-keyword-input-"+t+"-"+e,o=document.getElementById(s);o.focus(),o.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}focusOnGooglePreviewField(e,t){let s;s="metaDescriptionKeyword"===e||"metaDescriptionLength"===e?"description":"titleWidth"===e||"keyphraseInSEOTitle"===e?"title":"slug";const o=document.getElementById("yoast-google-preview-"+s+"-"+t);o.focus(),o.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}handleEditButtonClick(e){const t=this.props.location;"functionWordsInKeyphrase"!==e&&"keyphraseLength"!==e?(["metaDescriptionKeyword","metaDescriptionLength","titleWidth","keyphraseInSEOTitle","slugKeyword"].includes(e)&&this.handleGooglePreviewFocus(t,e),(0,ge.doAction)("yoast.focus.input",e)):this.focusOnKeyphraseField(t)}handleGooglePreviewFocus(e,t){if("sidebar"===e)document.getElementById("yoast-search-appearance-modal-open-button").click(),setTimeout((()=>this.focusOnGooglePreviewField(t,"modal")),500);else{const s=document.getElementById("yoast-snippet-editor-metabox");s&&"false"===s.getAttribute("aria-expanded")?(s.click(),setTimeout((()=>this.focusOnGooglePreviewField(t,e)),100)):this.focusOnGooglePreviewField(t,e)}}removeMarkers(){window.YoastSEO.analysis.applyMarks(new re.Paper("",{}),[])}renderHighlightingUpsell(e,o){const r=(0,s.__)("Highlight areas of improvement in your text, no more searching for a needle in a haystack, straight to optimizing! Now also in Elementor!","wordpress-seo");return e&&(0,t.createElement)(N,{title:(0,s.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:o,additionalClassName:"",className:`${B} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,id:"yoast-premium-seo-analysis-highlighting-modal",shouldCloseOnClickOutside:!0},(0,t.createElement)(C,null,(0,t.createElement)(Me,{buyLink:this.props.highlightingUpsellLink,description:r})))}render(){const{mappedResults:e}=this.state,{errorsResults:o,improvementsResults:r,goodResults:n,considerationsResults:a,problemsResults:l}=e,{upsellResults:d,resultCategoryLabels:c}=this.props,p={errors:(0,s.__)("Errors","wordpress-seo"),problems:(0,s.__)("Problems","wordpress-seo"),improvements:(0,s.__)("Improvements","wordpress-seo"),considerations:(0,s.__)("Considerations","wordpress-seo"),goodResults:(0,s.__)("Good results","wordpress-seo")},u=Object.assign(p,c);let h=this.props.marksButtonStatus;return"enabled"===h&&this.props.shortcodesForParsing.length>0&&(h="disabled"),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ue.ContentAnalysis,{errorsResults:o,problemsResults:l,upsellResults:d,improvementsResults:r,considerationsResults:a,goodResults:n,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,onEditButtonClick:this.handleEditButtonClick,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,marksButtonStatus:h,headingLevel:3,keywordKey:this.props.keywordKey,isPremium:this.props.isPremium,resultCategoryLabels:u,onResultChange:this.handleResultsChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.renderHighlightingUpsell,markButtonFactory:this.createMarkButton}))}}Te.propTypes={results:l().array,upsellResults:l().array,marksButtonClassName:l().string,editButtonClassName:l().string,marksButtonStatus:l().oneOf(["enabled","disabled","hidden"]),setActiveMarker:l().func.isRequired,setMarkerPauseStatus:l().func.isRequired,activeMarker:l().string,keywordKey:l().string,location:l().string,isPremium:l().bool,resultCategoryLabels:l().shape({errors:l().string,problems:l().string,improvements:l().string,considerations:l().string,goodResults:l().string}),shortcodesForParsing:l().array,shouldUpsellHighlighting:l().bool,highlightingUpsellLink:l().string},Te.defaultProps={results:null,upsellResults:[],marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:null,keywordKey:"",location:"",isPremium:!1,resultCategoryLabels:{},shortcodesForParsing:[],shouldUpsellHighlighting:!1,highlightingUpsellLink:""};const Oe=Te,$e=(0,f.compose)([(0,_.withSelect)((e=>{const{getActiveMarker:t,getIsPremium:s,getShortcodesForParsing:o}=e("yoast-seo/editor");return{activeMarker:t(),isPremium:s(),shortcodesForParsing:o()}})),(0,_.withDispatch)((e=>{const{setActiveMarker:t,setMarkerPauseStatus:s}=e("yoast-seo/editor");return{setActiveMarker:t,setMarkerPauseStatus:s}}))])(Oe);function Ie(e){return(0,F.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,s.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,s.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,s.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,s.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,s.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(re.interpreters.scoreToRating(e))}function Pe({target:e,children:s}){return(0,t.createElement)(de,{target:e},s)}Pe.propTypes={target:l().string.isRequired,children:l().node.isRequired};const Ae=c().span` font-size: 1em; font-weight: bold; margin: 0 0 8px; display: block; -`,He=d().div` +`,Ke=c().div` padding: 16px; -`,ze=d()(z)` +`,Fe=c()(K)` margin: -8px 0 -4px 4px; -`;class De extends i.Component{renderResults(e){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(qe,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(ze,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,s.__)("Learn more about the readability analysis","wordpress-seo")))),(0,t.createElement)(Fe,{results:this.props.results,upsellResults:e,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_readability_analysis",shouldUpsellHighlighting:this.props.shouldUpsellHighlighting}))}getUpsellResults(e,t){let o=wpseoAdminL10n["shortlinks.upsell.metabox.word_complexity"];return"sidebar"===e&&(o=wpseoAdminL10n["shortlinks.upsell.sidebar.word_complexity"]),o=(0,ke.addQueryArgs)(o,{context:t}),function(){const e=ie.helpers.getLanguagesWithWordComplexity(),t=window.wpseoScriptData.metabox.contentLocale,s=ie.languageProcessing.getLanguage(t);return e.includes(s)}()?[{score:0,rating:"upsell",hasMarks:!1,id:"wordComplexity",text:(0,s.sprintf)( +`;class Ue extends i.Component{renderResults(e){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ae,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(Fe,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,s.__)("Learn more about the readability analysis","wordpress-seo")))),(0,t.createElement)($e,{results:this.props.results,upsellResults:e,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_readability_analysis",shouldUpsellHighlighting:this.props.shouldUpsellHighlighting}))}getUpsellResults(e,t){let o=wpseoAdminL10n["shortlinks.upsell.metabox.word_complexity"];return"sidebar"===e&&(o=wpseoAdminL10n["shortlinks.upsell.sidebar.word_complexity"]),o=(0,ye.addQueryArgs)(o,{context:t}),function(){const e=re.helpers.getLanguagesWithWordComplexity(),t=window.wpseoScriptData.metabox.contentLocale,s=re.languageProcessing.getLanguage(t);return e.includes(s)}()?[{score:0,rating:"upsell",hasMarks:!1,id:"wordComplexity",text:(0,s.sprintf)( /* Translators: %1$s is a span tag that adds styling to 'Word complexity', %2$s is a closing span tag. %3$s is an anchor tag with a link to yoast.com, %4$s is a closing anchor tag.*/ -(0,s.__)("%1$sWord complexity%2$s: Is your vocabulary suited for a larger audience? %3$sYoast SEO Premium will tell you!%4$s","wordpress-seo"),"","",``,""),markerId:"wordComplexity"}]:[]}render(){const e=Ke(this.props.overallScore);return(0,O.isNil)(this.props.overallScore)&&(e.className="loading"),(0,t.createElement)(x.LocationConsumer,null,(o=>(0,t.createElement)(x.RootContext.Consumer,null,(({locationContext:r})=>{let n=[];return this.props.shouldUpsell&&(n=this.getUpsellResults(o,r)),"sidebar"===o?(0,t.createElement)(b,{title:(0,s.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:pe(e.className),prefixIconCollapsed:pe(e.className),id:`yoast-readability-analysis-collapsible-${o}`},this.renderResults(n)):"metabox"===o?(0,t.createElement)(Ue,{target:"wpseo-metabox-readability-root"},(0,t.createElement)(He,null,(0,t.createElement)(ge,{target:"wpseo-readability-score-icon",scoreIndicator:e.className}),this.renderResults(n))):void 0}))))}}De.propTypes={results:l().array.isRequired,marksButtonStatus:l().string.isRequired,overallScore:l().number,shouldUpsell:l().bool,shouldUpsellHighlighting:l().bool},De.defaultProps={overallScore:null,shouldUpsell:!1,shouldUpsellHighlighting:!1};const We=(0,_.withSelect)((e=>{const{getReadabilityResults:t,getMarkButtonStatus:s}=e("yoast-seo/editor");return{...t(),marksButtonStatus:s()}}))(De);function Ye(){return(0,O.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const je=d().p` - color: ${H.colors.$color_upsell_text}; +(0,s.__)("%1$sWord complexity%2$s: Is your vocabulary suited for a larger audience? %3$sYoast SEO Premium will tell you!%4$s","wordpress-seo"),"","",``,""),markerId:"wordComplexity"}]:[]}render(){const e=Ie(this.props.overallScore);return(0,F.isNil)(this.props.overallScore)&&(e.className="loading"),(0,t.createElement)(x.LocationConsumer,null,(o=>(0,t.createElement)(x.RootContext.Consumer,null,(({locationContext:r})=>{let n=[];return this.props.shouldUpsell&&(n=this.getUpsellResults(o,r)),"sidebar"===o?(0,t.createElement)(b,{title:(0,s.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:le(e.className),prefixIconCollapsed:le(e.className),id:`yoast-readability-analysis-collapsible-${o}`},this.renderResults(n)):"metabox"===o?(0,t.createElement)(Pe,{target:"wpseo-metabox-readability-root"},(0,t.createElement)(Ke,null,(0,t.createElement)(pe,{target:"wpseo-readability-score-icon",scoreIndicator:e.className}),this.renderResults(n))):void 0}))))}}Ue.propTypes={results:l().array.isRequired,marksButtonStatus:l().string.isRequired,overallScore:l().number,shouldUpsell:l().bool,shouldUpsellHighlighting:l().bool},Ue.defaultProps={overallScore:null,shouldUpsell:!1,shouldUpsellHighlighting:!1};const He=(0,_.withSelect)((e=>{const{getReadabilityResults:t,getMarkButtonStatus:s}=e("yoast-seo/editor");return{...t(),marksButtonStatus:s()}}))(Ue);function qe(){return(0,F.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}const ze=c().p` + color: ${A.colors.$color_upsell_text}; margin: 0; padding-right: 8px; -`,Ge=d().div` +`,De=c().div` font-size: 1em; display: flex; flex-direction: ${e=>"horizontal"===e.alignment?"row":"column"}; - ${(0,n.getDirectionalStyle)("border-left","border-right")}: 4px solid ${H.colors.$color_pink_dark}; + ${(0,n.getDirectionalStyle)("border-left","border-right")}: 4px solid ${A.colors.$color_pink_dark}; margin: 16px 0; padding: 0 0 0 8px; max-width: 600px; - > ${je} { + > ${ze} { margin-bottom: ${e=>"vertical"===e.alignment&&"16px"}; } -`,Ve=d()(r.SvgIcon)` +`,We=c()(r.SvgIcon)` margin: ${(0,n.getDirectionalStyle)("0 0 0 4px","0 4px 0 0")}; transform: ${(0,n.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")}; -`,Qe=(0,n.makeOutboundLink)(r.UpsellLinkButton),Je=e=>{const{alignment:o,url:r}=e;return(0,t.createElement)(Ge,{alignment:o},(0,t.createElement)(je,null,(0,s.sprintf)(/* translators: %s expands to Yoast SEO Premium */ -(0,s.__)("%s looks at more than just your main keyword. It analyzes different word forms, plurals, and past tenses. This helps your website perform even better in searches!","wordpress-seo"),"Yoast SEO Premium")),(0,t.createElement)("div",null,(0,t.createElement)(Qe,{href:r,className:"UpsellLinkButton","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,s.sprintf)(/* translators: %s expands to Premium */ -(0,s.__)("Go %s!","wordpress-seo"),"Premium"),(0,t.createElement)(Ve,{icon:"arrow-right",size:"8px",color:H.colors.$color_black}))))};Je.propTypes={alignment:l().oneOf(["horizontal","vertical"]),url:l().string.isRequired},Je.defaultProps={alignment:"vertical"};const Xe=Je,Ze=e=>(0,t.createElement)(Te,{title:(0,s.__)("Write more natural and engaging content","wordpress-seo"),description:(0,s.sprintf)(/* translators: %s expands to "Yoast SEO Premium" */ +`,Ye=(0,n.makeOutboundLink)(r.UpsellLinkButton),Ge=e=>{const{alignment:o,url:r}=e;return(0,t.createElement)(De,{alignment:o},(0,t.createElement)(ze,null,(0,s.sprintf)(/* translators: %s expands to Yoast SEO Premium */ +(0,s.__)("%s looks at more than just your main keyword. It analyzes different word forms, plurals, and past tenses. This helps your website perform even better in searches!","wordpress-seo"),"Yoast SEO Premium")),(0,t.createElement)("div",null,(0,t.createElement)(Ye,{href:r,className:"UpsellLinkButton","data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"},(0,s.sprintf)(/* translators: %s expands to Premium */ +(0,s.__)("Go %s!","wordpress-seo"),"Premium"),(0,t.createElement)(We,{icon:"arrow-right",size:"8px",color:A.colors.$color_black}))))};Ge.propTypes={alignment:l().oneOf(["horizontal","vertical"]),url:l().string.isRequired},Ge.defaultProps={alignment:"vertical"};const je=Ge,Ve=e=>(0,t.createElement)(Se,{title:(0,s.__)("Write more natural and engaging content","wordpress-seo"),description:(0,s.sprintf)(/* translators: %s expands to "Yoast SEO Premium" */ (0,s.__)("Synonyms help users understand your copy better. It’s easier to read for both users and Google. In %s, you can add synonyms for your focus keyphrase, and we’ll help you optimize for them.","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:_e(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year free support and updates included!","wordpress-seo")});Ze.propTypes={buyLink:l().string.isRequired};const et=Ze,tt=e=>(0,t.createElement)(Te,{title:(0,s.__)("Reach a wider audience","wordpress-seo"),description:(0,s.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:_e(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ -(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year free support and updates included!","wordpress-seo")});tt.propTypes={buyLink:l().string.isRequired};const st=tt,ot=d().button` +(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:be(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year free support and updates included!","wordpress-seo")});Ve.propTypes={buyLink:l().string.isRequired};const Qe=Ve,Je=e=>(0,t.createElement)(Se,{title:(0,s.__)("Reach a wider audience","wordpress-seo"),description:(0,s.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,s.sprintf)("%s also gives you:","Yoast SEO Premium"),benefits:be(),upsellButtonText:(0,s.sprintf)(/* translators: %s expands to 'Yoast SEO Premium'. */ +(0,s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:(0,s.__)("1 year free support and updates included!","wordpress-seo")});Je.propTypes={buyLink:l().string.isRequired};const Xe=Je,Ze=c().button` // Increase specificity to override WP rules. && { display: flex; @@ -237,32 +235,32 @@ margin: 1px 7px 0 0; fill: currentColor; } -`,rt={open:(0,s.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,s.__)("Close","wordpress-seo"),closeButton:""},nt=e=>{const[s,o]=(0,i.useState)(!1),n=Object.assign({},rt,e.labels),a=(0,i.useCallback)((()=>o(!1)),[]),l=(0,i.useCallback)((()=>o(!0)),[]);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ot,{type:"button",onClick:l,className:`${e.classes.openButton} yoast-modal__button-open`},e.openButtonIcon&&(0,t.createElement)(r.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),n.open),s&&(0,t.createElement)(S,{onRequestClose:a,className:e.className,title:n.heading},e.children))};nt.propTypes={openButtonIcon:l().string,labels:l().shape({open:l().string,modalAriaLabel:l().string.isRequired,heading:l().string,closeIconButton:l().string,closeButton:l().string}).isRequired,classes:l().shape({openButton:l().string,closeIconButton:l().string,closeButton:l().string}),className:l().string,children:l().any.isRequired},nt.defaultProps={className:N,openButtonIcon:"",classes:{}};const at=nt;function lt({location:e}){return(0,t.createElement)(o.Slot,{name:`yoast-synonyms-${e}`})}lt.propTypes={location:l().string.isRequired};const it=d().span` +`,et={open:(0,s.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,s.__)("Close","wordpress-seo"),closeButton:""},tt=e=>{const[s,o]=(0,i.useState)(!1),n=Object.assign({},et,e.labels),a=(0,i.useCallback)((()=>o(!1)),[]),l=(0,i.useCallback)((()=>o(!0)),[]);return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(Ze,{type:"button",onClick:l,className:`${e.classes.openButton} yoast-modal__button-open`},e.openButtonIcon&&(0,t.createElement)(r.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),n.open),s&&(0,t.createElement)(N,{onRequestClose:a,className:e.className,title:n.heading},e.children))};tt.propTypes={openButtonIcon:l().string,labels:l().shape({open:l().string,modalAriaLabel:l().string.isRequired,heading:l().string,closeIconButton:l().string,closeButton:l().string}).isRequired,classes:l().shape({openButton:l().string,closeIconButton:l().string,closeButton:l().string}),className:l().string,children:l().any.isRequired},tt.defaultProps={className:B,openButtonIcon:"",classes:{}};const st=tt;function ot({location:e}){return(0,t.createElement)(o.Slot,{name:`yoast-synonyms-${e}`})}ot.propTypes={location:l().string.isRequired};const rt=c().span` font-size: 1em; font-weight: bold; margin: 1.5em 0 1em; display: block; -`;class ct extends i.Component{renderSynonymsUpsell(e,o){const r={className:`${N} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,s.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,s.__)("Add synonyms","wordpress-seo"),heading:(0,s.__)("Add synonyms","wordpress-seo")}},n=wpseoAdminL10n["sidebar"===e.toLowerCase()?"shortlinks.upsell.sidebar.focus_keyword_synonyms_button":"shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return(0,t.createElement)(at,{...r},(0,t.createElement)(R,null,(0,t.createElement)(et,{buyLink:(0,ke.addQueryArgs)(n,{context:o})})))}renderMultipleKeywordsUpsell(e,o){const r={className:`${N} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,s.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,s.__)("Add related keyphrases","wordpress-seo"),heading:(0,s.__)("Add related keyphrases","wordpress-seo")}},n=wpseoAdminL10n["sidebar"===e.toLowerCase()?"shortlinks.upsell.sidebar.focus_keyword_additional_button":"shortlinks.upsell.metabox.focus_keyword_additional_button"];return(0,t.createElement)(at,{...r},(0,t.createElement)(R,null,(0,t.createElement)(st,{buyLink:(0,ke.addQueryArgs)(n,{context:o})})))}renderWordFormsUpsell(e,s){let o="sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"];return o=(0,ke.addQueryArgs)(o,{context:s}),(0,t.createElement)(Xe,{url:o,alignment:"sidebar"===e?"vertical":"horizontal"})}renderTabIcon(e,s){return"metabox"!==e?null:(0,t.createElement)(ge,{target:"wpseo-seo-score-icon",scoreIndicator:s})}getUpsellResults(e,t){let o=wpseoAdminL10n["shortlinks.upsell.metabox.keyphrase_distribution"];return"sidebar"===e&&(o=wpseoAdminL10n["shortlinks.upsell.sidebar.keyphrase_distribution"]),o=(0,ke.addQueryArgs)(o,{context:t}),[{score:0,rating:"upsell",hasMarks:!1,hasJumps:!1,id:"keyphraseDistribution",text:(0,s.sprintf)( +`;class nt extends i.Component{renderSynonymsUpsell(e,o){const r={className:`${B} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,s.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,s.__)("Add synonyms","wordpress-seo"),heading:(0,s.__)("Add synonyms","wordpress-seo")}},n=wpseoAdminL10n["sidebar"===e.toLowerCase()?"shortlinks.upsell.sidebar.focus_keyword_synonyms_button":"shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return(0,t.createElement)(st,{...r},(0,t.createElement)(C,null,(0,t.createElement)(Qe,{buyLink:(0,ye.addQueryArgs)(n,{context:o})})))}renderMultipleKeywordsUpsell(e,o){const r={className:`${B} yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding`,classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,s.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,s.__)("Add related keyphrases","wordpress-seo"),heading:(0,s.__)("Add related keyphrases","wordpress-seo")}},n=wpseoAdminL10n["sidebar"===e.toLowerCase()?"shortlinks.upsell.sidebar.focus_keyword_additional_button":"shortlinks.upsell.metabox.focus_keyword_additional_button"];return(0,t.createElement)(st,{...r},(0,t.createElement)(C,null,(0,t.createElement)(Xe,{buyLink:(0,ye.addQueryArgs)(n,{context:o})})))}renderWordFormsUpsell(e,s){let o="sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"];return o=(0,ye.addQueryArgs)(o,{context:s}),(0,t.createElement)(je,{url:o,alignment:"sidebar"===e?"vertical":"horizontal"})}renderTabIcon(e,s){return"metabox"!==e?null:(0,t.createElement)(pe,{target:"wpseo-seo-score-icon",scoreIndicator:s})}getUpsellResults(e,t){let o=wpseoAdminL10n["shortlinks.upsell.metabox.keyphrase_distribution"];return"sidebar"===e&&(o=wpseoAdminL10n["shortlinks.upsell.sidebar.keyphrase_distribution"]),o=(0,ye.addQueryArgs)(o,{context:t}),[{score:0,rating:"upsell",hasMarks:!1,hasJumps:!1,id:"keyphraseDistribution",text:(0,s.sprintf)( /* Translators: %1$s is a span tag that adds styling to 'Keyphrase distribution', %2$s is a closing span tag. %3%s is an anchor tag with a link to yoast.com, %4$s is a closing anchor tag.*/ -(0,s.__)("%1$sKeyphrase distribution%2$s: Have you evenly distributed your focus keyphrase throughout the whole text? %3$sYoast SEO Premium will tell you!%4$s","wordpress-seo"),"","",``,""),markerId:"keyphraseDistribution"}]}render(){const e=Ke(this.props.overallScore),o=Ye().isPremium;return"loading"!==e.className&&""===this.props.keyword&&(e.className="na",e.screenReaderReadabilityText=(0,s.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),(0,t.createElement)(x.LocationConsumer,null,(r=>(0,t.createElement)(x.RootContext.Consumer,null,(({locationContext:n})=>{const a="metabox"===r?g:b;let l=[];return this.props.shouldUpsell&&(l=this.getUpsellResults(r,n)),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(a,{title:o?(0,s.__)("Premium SEO analysis","wordpress-seo"):(0,s.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:pe(e.className),prefixIconCollapsed:pe(e.className),subTitle:this.props.keyword,id:`yoast-seo-analysis-collapsible-${r}`},(0,t.createElement)(lt,{location:r}),this.props.shouldUpsell&&(0,t.createElement)(i.Fragment,null,this.renderSynonymsUpsell(r,n),this.renderMultipleKeywordsUpsell(r,n)),this.props.shouldUpsellWordFormRecognition&&this.renderWordFormsUpsell(r,n),(0,t.createElement)(it,null,(0,s.__)("Analysis results","wordpress-seo")),(0,t.createElement)(Fe,{results:this.props.results,upsellResults:l,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",editButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,location:r,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_seo_analysis"})),this.renderTabIcon(r,e.className))}))))}}ct.propTypes={results:l().array,marksButtonStatus:l().string,keyword:l().string,shouldUpsell:l().bool,shouldUpsellWordFormRecognition:l().bool,overallScore:l().number,shouldUpsellHighlighting:l().bool},ct.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null,shouldUpsellHighlighting:!1};const dt=(0,_.withSelect)(((e,t)=>{const{getFocusKeyphrase:s,getMarksButtonStatus:o,getResultsForKeyword:r}=e("yoast-seo/editor"),n=s();return{...r(n),marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:n}}))(ct);function pt(){const e=Ye();return(0,O.get)(e,"multilingualPluginActive",!1)}const ut=d().span` +(0,s.__)("%1$sKeyphrase distribution%2$s: Have you evenly distributed your focus keyphrase throughout the whole text? %3$sYoast SEO Premium will tell you!%4$s","wordpress-seo"),"","",``,""),markerId:"keyphraseDistribution"}]}render(){const e=Ie(this.props.overallScore),o=qe().isPremium;return"loading"!==e.className&&""===this.props.keyword&&(e.className="na",e.screenReaderReadabilityText=(0,s.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),(0,t.createElement)(x.LocationConsumer,null,(r=>(0,t.createElement)(x.RootContext.Consumer,null,(({locationContext:n})=>{const a="metabox"===r?g:b;let l=[];return this.props.shouldUpsell&&(l=this.getUpsellResults(r,n)),(0,t.createElement)(i.Fragment,null,(0,t.createElement)(a,{title:o?(0,s.__)("Premium SEO analysis","wordpress-seo"):(0,s.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:e.screenReaderReadabilityText,prefixIcon:le(e.className),prefixIconCollapsed:le(e.className),subTitle:this.props.keyword,id:`yoast-seo-analysis-collapsible-${r}`},(0,t.createElement)(ot,{location:r}),this.props.shouldUpsell&&(0,t.createElement)(i.Fragment,null,this.renderSynonymsUpsell(r,n),this.renderMultipleKeywordsUpsell(r,n)),this.props.shouldUpsellWordFormRecognition&&this.renderWordFormsUpsell(r,n),(0,t.createElement)(rt,null,(0,s.__)("Analysis results","wordpress-seo")),(0,t.createElement)($e,{results:this.props.results,upsellResults:l,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",editButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus,location:r,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_seo_analysis"})),this.renderTabIcon(r,e.className))}))))}}nt.propTypes={results:l().array,marksButtonStatus:l().string,keyword:l().string,shouldUpsell:l().bool,shouldUpsellWordFormRecognition:l().bool,overallScore:l().number,shouldUpsellHighlighting:l().bool},nt.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null,shouldUpsellHighlighting:!1};const at=(0,_.withSelect)(((e,t)=>{const{getFocusKeyphrase:s,getMarksButtonStatus:o,getResultsForKeyword:r}=e("yoast-seo/editor"),n=s();return{...r(n),marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:n}}))(nt);function lt(){const e=qe();return(0,F.get)(e,"multilingualPluginActive",!1)}const it=c().span` font-size: 1em; font-weight: bold; margin: 0 0 8px; display: block; -`,ht=d().div` +`,dt=c().div` padding: 16px; -`,mt=d()(z)` +`,ct=c()(K)` margin: -8px 0 -4px 4px; -`,gt=d().p` +`,pt=c().p` min-height: 24px; margin: 12px 0 0 0; padding: 0; display: flex; align-items: flex-start; -`,yt=d()(r.SvgIcon)` +`,ut=c()(r.SvgIcon)` margin: 3px 11px 0 0; // icon 13 + 11 right margin = 24 for the 8px grid. -`,bt=e=>{const o=wpseoAdminL10n["shortlinks.inclusive_language_analysis_info"];function n(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ut,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(mt,{href:o,className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,s.__)("Learn more about the inclusive language analysis","wordpress-seo")))),(0,t.createElement)(Fe,{results:e.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.marksButtonStatus,resultCategoryLabels:{problems:(0,s.__)("Non-inclusive","wordpress-seo"),improvements:(0,s.__)("Potentially non-inclusive","wordpress-seo")},highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_inclusive_analysis",shouldUpsellHighlighting:e.shouldUpsellHighlighting}))}const a=(0,i.createInterpolateElement)((0,s.sprintf)(/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ -(0,s.__)("%1$sInclusive language%2$s: We haven't detected any potentially non-inclusive phrases. Great work!","wordpress-seo"),"",""),{a:(0,t.createElement)("a",{href:o,target:"_blank",rel:"noreferrer"})});function l(){const e=(0,s.__)("We noticed that you are using a multilingual plugin. Please be aware that this analysis feedback is intended only for texts written in English.","wordpress-seo");return(0,t.createElement)(r.Alert,{type:"info"},e)}function c(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(ut,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(mt,{href:o,className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ -(0,s.__)("Learn more about the inclusive language analysis","wordpress-seo")))),(0,t.createElement)(gt,null,(0,t.createElement)(yt,{icon:"circle",color:"#7ad03a",size:"13px"}),(0,t.createElement)("span",null,a)))}const d=Ke(e.overallScore);return(0,O.isNil)(e.overallScore)&&(d.className="loading"),(0,t.createElement)(x.LocationConsumer,null,(o=>{return"sidebar"===o?(r=e.results,a=d,(0,t.createElement)(b,{title:(0,s.__)("Inclusive language","wordpress-seo"),titleScreenReaderText:a.screenReaderInclusiveLanguageText,prefixIcon:pe(a.className),prefixIconCollapsed:pe(a.className),id:"yoast-inclusive-language-analysis-collapsible-sidebar"},pt()?l():null,r.length>=1?n():c())):"metabox"===o?function(e,s){return(0,t.createElement)(he,{target:"wpseo-metabox-inclusive-language-root"},(0,t.createElement)(ht,null,(0,t.createElement)(ge,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:s.className}),pt()?l():null,e.length>=1?n():c()))}(e.results,d):void 0;var r,a}))};bt.propTypes={results:l().array,marksButtonStatus:l().oneOf(["enabled","disabled","hidden"]).isRequired,overallScore:l().number,shouldUpsellHighlighting:l().bool},bt.defaultProps={results:[],overallScore:null,shouldUpsellHighlighting:!1};const wt=(0,_.withSelect)((e=>{const{getInclusiveLanguageResults:t,getMarkButtonStatus:s}=e("yoast-seo/editor");return{...t(),marksButtonStatus:s()}}))(bt);window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.components={CollapsibleCornerstone:f,KeywordInput:le,ReadabilityAnalysis:We,SeoAnalysis:dt,InclusiveLanguageAnalysis:wt}})(); \ No newline at end of file +`,ht=e=>{const o=wpseoAdminL10n["shortlinks.inclusive_language_analysis_info"];function n(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(it,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(ct,{href:o,className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,s.__)("Learn more about the inclusive language analysis","wordpress-seo")))),(0,t.createElement)($e,{results:e.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.marksButtonStatus,resultCategoryLabels:{problems:(0,s.__)("Non-inclusive","wordpress-seo"),improvements:(0,s.__)("Potentially non-inclusive","wordpress-seo")},highlightingUpsellLink:"shortlinks.upsell.sidebar.highlighting_inclusive_analysis",shouldUpsellHighlighting:e.shouldUpsellHighlighting}))}const a=(0,i.createInterpolateElement)((0,s.sprintf)(/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ +(0,s.__)("%1$sInclusive language%2$s: We haven't detected any potentially non-inclusive phrases. Great work!","wordpress-seo"),"",""),{a:(0,t.createElement)("a",{href:o,target:"_blank",rel:"noreferrer"})});function l(){const e=(0,s.__)("We noticed that you are using a multilingual plugin. Please be aware that this analysis feedback is intended only for texts written in English.","wordpress-seo");return(0,t.createElement)(r.Alert,{type:"info"},e)}function d(){return(0,t.createElement)(i.Fragment,null,(0,t.createElement)(it,null,(0,s.__)("Analysis results","wordpress-seo"),(0,t.createElement)(ct,{href:o,className:"dashicons"},(0,t.createElement)("span",{className:"screen-reader-text"},/* translators: Hidden accessibility text. */ +(0,s.__)("Learn more about the inclusive language analysis","wordpress-seo")))),(0,t.createElement)(pt,null,(0,t.createElement)(ut,{icon:"circle",color:"#7ad03a",size:"13px"}),(0,t.createElement)("span",null,a)))}const c=Ie(e.overallScore);return(0,F.isNil)(e.overallScore)&&(c.className="loading"),(0,t.createElement)(x.LocationConsumer,null,(o=>{return"sidebar"===o?(r=e.results,a=c,(0,t.createElement)(b,{title:(0,s.__)("Inclusive language","wordpress-seo"),titleScreenReaderText:a.screenReaderInclusiveLanguageText,prefixIcon:le(a.className),prefixIconCollapsed:le(a.className),id:"yoast-inclusive-language-analysis-collapsible-sidebar"},lt()?l():null,r.length>=1?n():d())):"metabox"===o?function(e,s){return(0,t.createElement)(de,{target:"wpseo-metabox-inclusive-language-root"},(0,t.createElement)(dt,null,(0,t.createElement)(pe,{target:"wpseo-inclusive-language-score-icon",scoreIndicator:s.className}),lt()?l():null,e.length>=1?n():d()))}(e.results,c):void 0;var r,a}))};ht.propTypes={results:l().array,marksButtonStatus:l().oneOf(["enabled","disabled","hidden"]).isRequired,overallScore:l().number,shouldUpsellHighlighting:l().bool},ht.defaultProps={results:[],overallScore:null,shouldUpsellHighlighting:!1};const mt=(0,_.withSelect)((e=>{const{getInclusiveLanguageResults:t,getMarkButtonStatus:s}=e("yoast-seo/editor");return{...t(),marksButtonStatus:s()}}))(ht);window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.components={CollapsibleCornerstone:k,KeywordInput:oe,ReadabilityAnalysis:He,SeoAnalysis:at,InclusiveLanguageAnalysis:mt}})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/externals/analysis.js b/wp/wp-content/plugins/wordpress-seo/js/dist/externals/analysis.js index 015ad9e9..373e89bd 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/externals/analysis.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/externals/analysis.js @@ -1,4 +1,4 @@ -(()=>{var e={12552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=m(r(85551)),a=r(25003),o=m(r(96908)),l=m(r(20019)),u=m(r(70021)),c=m(r(93334)),d=m(r(47899)),h=m(r(4855)),p=m(r(63745)),f=m(r(4914)),g=m(r(82304));function m(e){return e&&e.__esModule?e:{default:e}}var _={callbacks:{bindElementEvents:s.noop,updateSnippetValues:s.noop,saveScores:s.noop,saveContentScore:s.noop,updatedContentResults:s.noop,updatedKeywordsResults:s.noop},sampleText:{baseUrl:"example.org/",snippetCite:"example-post/",title:"",keyword:"Choose a focus keyword",meta:"",text:"Start writing your text!"},queue:["wordCount","keywordDensity","subHeadings","stopwords","fleschReading","linkCount","imageCount","slugKeyword","urlLength","metaDescription","pageTitleKeyword","pageTitleWidth","firstParagraph","'keywordDoubles"],typeDelay:3e3,typeDelayStep:1500,maxTypeDelay:5e3,dynamicDelay:!0,locale:"en_US",translations:{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}},replaceTarget:[],resetTarget:[],elementTarget:[],marker:s.noop,keywordAnalysisActive:!0,contentAnalysisActive:!0,hasSnippetPreview:!0,debounceRefresh:!0};function y(){var e=document.getElementById(this.config.targets.snippet);return new f.default({analyzerApp:this,targetElement:e,callbacks:{saveSnippetData:this.config.callbacks.saveSnippetData}})}function E(e){return!(0,s.isUndefined)(e)&&Object.prototype.isPrototypeOf.call(f.default.prototype,e)}var T=function(e){(0,s.isObject)(e)||(e={}),(0,s.defaultsDeep)(e,_),function(e){if(!(0,s.isObject)(e.callbacks.getData))throw new i.default("The app requires an object with a getdata callback.");if(!(0,s.isObject)(e.targets))throw new i.default("`targets` is a required App argument, `targets` is not an object.");if(e.hasSnippetPreview&&!E(e.snippetPreview)&&!(0,s.isString)(e.targets.snippet))throw new i.default("A snippet preview is required. When no SnippetPreview object isn't passed to the App, the `targets.snippet` is a required App argument. `targets.snippet` is not a string.")}(e),this.config=e,!0===e.debouncedRefresh&&(this.refresh=(0,s.debounce)(this.refresh.bind(this),800)),this._pureRefresh=(0,s.throttle)(this._pureRefresh.bind(this),this.config.typeDelay),this.callbacks=this.config.callbacks,(0,n.setLocaleData)(this.config.translations.locale_data["wordpress-seo"],"wordpress-seo"),this.initializeAssessors(e),this.pluggable=new l.default(this),this.getData(),this.defaultOutputElement=this.getDefaultOutputElement(e),""!==this.defaultOutputElement&&this.showLoadingDialog(),E(e.snippetPreview)?(this.snippetPreview=e.snippetPreview,this.snippetPreview.refObj!==this&&(this.snippetPreview.refObj=this)):e.hasSnippetPreview&&(this.snippetPreview=y.call(this)),this._assessorOptions={useCornerStone:!1},this.initSnippetPreview(),this.initAssessorPresenters()};T.prototype.getDefaultOutputElement=function(e){return e.keywordAnalysisActive?e.targets.output:e.contentAnalysisActive?e.targets.contentOutput:""},T.prototype.changeAssessorOptions=function(e){this._assessorOptions=(0,s.merge)(this._assessorOptions,e),this.seoAssessor=this.getSeoAssessor(),this.contentAssessor=this.getContentAssessor(),this.initAssessorPresenters(),this.refresh()},T.prototype.getSeoAssessor=function(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneSeoAssessor:this.defaultSeoAssessor},T.prototype.getContentAssessor=function(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneContentAssessor:this.defaultContentAssessor},T.prototype.initializeAssessors=function(e){this.initializeSEOAssessor(e),this.initializeContentAssessor(e)},T.prototype.initializeSEOAssessor=function(e){e.keywordAnalysisActive&&(this.defaultSeoAssessor=new p.default({marker:this.config.marker}),this.cornerStoneSeoAssessor=new d.default({marker:this.config.marker}),(0,s.isUndefined)(e.seoAssessor)?this.seoAssessor=this.defaultSeoAssessor:this.seoAssessor=e.seoAssessor)},T.prototype.initializeContentAssessor=function(e){e.contentAnalysisActive&&(this.defaultContentAssessor=new u.default({marker:this.config.marker,locale:this.config.locale}),this.cornerStoneContentAssessor=new c.default({marker:this.config.marker,locale:this.config.locale}),(0,s.isUndefined)(e._contentAssessor)?this.contentAssessor=this.defaultContentAssessor:this.contentAssessor=e._contentAssessor)},T.prototype.extendConfig=function(e){return e.sampleText=this.extendSampleText(e.sampleText),e.locale=e.locale||"en_US",e},T.prototype.extendSampleText=function(e){var t=_.sampleText;if((0,s.isUndefined)(e))return t;for(var r in e)(0,s.isUndefined)(e[r])&&(e[r]=t[r]);return e},T.prototype.registerCustomDataCallback=function(e){this.callbacks.custom||(this.callbacks.custom=[]),(0,s.isFunction)(e)&&this.callbacks.custom.push(e)},T.prototype.getData=function(){if(this.rawData=this.callbacks.getData(),(0,s.isArray)(this.callbacks.custom)&&this.callbacks.custom.forEach((e=>{const t=e();this.rawData=(0,s.merge)(this.rawData,t)})),this.hasSnippetPreview()){var e=this.snippetPreview.getAnalyzerData();this.rawData.metaTitle=e.title,this.rawData.url=e.url,this.rawData.meta=e.metaDesc}this.pluggable.loaded&&(this.rawData.metaTitle=this.pluggable._applyModifications("data_page_title",this.rawData.metaTitle),this.rawData.meta=this.pluggable._applyModifications("data_meta_desc",this.rawData.meta)),this.rawData.titleWidth=(0,a.measureTextWidth)(this.rawData.metaTitle),this.rawData.locale=this.config.locale},T.prototype.refresh=function(){this.pluggable.loaded&&this._pureRefresh()},T.prototype._pureRefresh=function(){this.getData(),this.runAnalyzer()},T.prototype.hasSnippetPreview=function(){return null!==this.snippetPreview&&!(0,s.isUndefined)(this.snippetPreview)},T.prototype.initSnippetPreview=function(){this.hasSnippetPreview()&&(this.snippetPreview.renderTemplate(),this.snippetPreview.callRegisteredEventBinder(),this.snippetPreview.bindEvents(),this.snippetPreview.init())},T.prototype.initAssessorPresenters=function(){(0,s.isUndefined)(this.config.targets.output)||(this.seoAssessorPresenter=new h.default({targets:{output:this.config.targets.output},assessor:this.seoAssessor})),(0,s.isUndefined)(this.config.targets.contentOutput)||(this.contentAssessorPresenter=new h.default({targets:{output:this.config.targets.contentOutput},assessor:this.contentAssessor}))},T.prototype.bindInputEvent=function(){for(var e=0;ethis.config.typeDelay&&this.config.typeDelay"+t+""+e.status+"
"})),r.innerHTML+=""}},T.prototype.removeLoadingDialog=function(){var e=document.getElementById(this.defaultOutputElement),t=document.getElementById("YoastSEO-plugin-loading");""===this.defaultOutputElement||(0,s.isEmpty)(e)||(0,s.isEmpty)(t)||document.getElementById(this.defaultOutputElement).removeChild(document.getElementById("YoastSEO-plugin-loading"))},T.prototype.registerPlugin=function(e,t){return this.pluggable._registerPlugin(e,t)},T.prototype.pluginReady=function(e){return this.pluggable._ready(e)},T.prototype.pluginReloaded=function(e){return this.pluggable._reloaded(e)},T.prototype.registerModification=function(e,t,r,n){return this.pluggable._registerModification(e,t,r,n)},T.prototype.registerAssessment=function(e,t,r){if(!(0,s.isUndefined)(this.seoAssessor))return this.pluggable._registerAssessment(this.defaultSeoAssessor,e,t,r)&&this.pluggable._registerAssessment(this.cornerStoneSeoAssessor,e,t,r)},T.prototype.disableMarkers=function(){(0,s.isUndefined)(this.seoAssessorPresenter)||this.seoAssessorPresenter.disableMarker(),(0,s.isUndefined)(this.contentAssessorPresenter)||this.contentAssessorPresenter.disableMarker()},T.prototype._renderAnalysisResults=function(){this.config.contentAnalysisActive&&!(0,s.isUndefined)(this.contentAssessorPresenter)&&this.contentAssessorPresenter.renderIndividualRatings(),this.config.keywordAnalysisActive&&!(0,s.isUndefined)(this.seoAssessorPresenter)&&(this.seoAssessorPresenter.setKeyword(this.paper.getKeyword()),this.seoAssessorPresenter.render())},T.prototype.analyzeTimer=function(){this.refresh()},T.prototype.registerTest=function(){console.error("This function is deprecated, please use registerAssessment")},T.prototype.createSnippetPreview=function(){this.snippetPreview=y.call(this),this.initSnippetPreview()},T.prototype.switchAssessors=function(e){console.warn("Switch assessor is deprecated since YoastSEO.js version 1.35.0"),this.changeAssessorOptions({useCornerStone:e})},t.default=T},74059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"usedKeywords",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(41156))&&n.__esModule?n:{default:n}},41156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=l(r(85551)),a=r(33140),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){if((0,s.isUndefined)(e))throw new i.default("The previously keyword plugin requires the YoastSEO app");(0,s.isUndefined)(t)&&(t={usedKeywords:{},usedKeywordsPostTypes:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.usedKeywordsPostTypes=t.usedKeywordsPostTypes,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=(0,a.createAnchorOpeningTag)("https://yoa.st/33x"),this.urlCallToAction=(0,a.createAnchorOpeningTag)("https://yoa.st/33y")};u.prototype.registerPlugin=function(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this),isApplicable:function(e){return e.hasKeyword()}},"previouslyUsedKeywords")},u.prototype.updateKeywordUsage=function(e,t){this.usedKeywords=e,this.usedKeywordsPostTypes=t},u.prototype.scoreAssessment=function(e,t){const r=e.count,s=e.id,i=e.postTypeToDisplay;let a;return 0===r?{text:(0,n.sprintf)( +(()=>{var e={12552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=g(r(85551)),a=r(49061),o=g(r(96908)),l=g(r(20019)),u=g(r(70021)),c=g(r(93334)),d=g(r(47899)),h=g(r(4855)),p=g(r(63745)),f=g(r(82304));function g(e){return e&&e.__esModule?e:{default:e}}var m={callbacks:{bindElementEvents:s.noop,updateSnippetValues:s.noop,saveScores:s.noop,saveContentScore:s.noop,updatedContentResults:s.noop,updatedKeywordsResults:s.noop},sampleText:{baseUrl:"example.org/",snippetCite:"example-post/",title:"",keyword:"Choose a focus keyword",meta:"",text:"Start writing your text!"},queue:["wordCount","keywordDensity","subHeadings","stopwords","fleschReading","linkCount","imageCount","slugKeyword","urlLength","metaDescription","pageTitleKeyword","pageTitleWidth","firstParagraph","'keywordDoubles"],typeDelay:3e3,typeDelayStep:1500,maxTypeDelay:5e3,dynamicDelay:!0,locale:"en_US",translations:{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}},replaceTarget:[],resetTarget:[],elementTarget:[],marker:s.noop,keywordAnalysisActive:!0,contentAnalysisActive:!0,debounceRefresh:!0},_=function(e){(0,s.isObject)(e)||(e={}),(0,s.defaultsDeep)(e,m),function(e){if(!(0,s.isObject)(e.callbacks.getData))throw new i.default("The app requires an object with a getdata callback.");if(!(0,s.isObject)(e.targets))throw new i.default("`targets` is a required App argument, `targets` is not an object.")}(e),this.config=e,!0===e.debouncedRefresh&&(this.refresh=(0,s.debounce)(this.refresh.bind(this),800)),this._pureRefresh=(0,s.throttle)(this._pureRefresh.bind(this),this.config.typeDelay),this.callbacks=this.config.callbacks,(0,n.setLocaleData)(this.config.translations.locale_data["wordpress-seo"],"wordpress-seo"),this.initializeAssessors(e),this.pluggable=new l.default(this),this.getData(),this.defaultOutputElement=this.getDefaultOutputElement(e),""!==this.defaultOutputElement&&this.showLoadingDialog(),this._assessorOptions={useCornerStone:!1},this.initAssessorPresenters()};_.prototype.getDefaultOutputElement=function(e){return e.keywordAnalysisActive?e.targets.output:e.contentAnalysisActive?e.targets.contentOutput:""},_.prototype.changeAssessorOptions=function(e){this._assessorOptions=(0,s.merge)(this._assessorOptions,e),this.seoAssessor=this.getSeoAssessor(),this.contentAssessor=this.getContentAssessor(),this.initAssessorPresenters(),this.refresh()},_.prototype.getSeoAssessor=function(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneSeoAssessor:this.defaultSeoAssessor},_.prototype.getContentAssessor=function(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneContentAssessor:this.defaultContentAssessor},_.prototype.initializeAssessors=function(e){this.initializeSEOAssessor(e),this.initializeContentAssessor(e)},_.prototype.initializeSEOAssessor=function(e){e.keywordAnalysisActive&&(this.defaultSeoAssessor=new p.default({marker:this.config.marker}),this.cornerStoneSeoAssessor=new d.default({marker:this.config.marker}),(0,s.isUndefined)(e.seoAssessor)?this.seoAssessor=this.defaultSeoAssessor:this.seoAssessor=e.seoAssessor)},_.prototype.initializeContentAssessor=function(e){e.contentAnalysisActive&&(this.defaultContentAssessor=new u.default({marker:this.config.marker,locale:this.config.locale}),this.cornerStoneContentAssessor=new c.default({marker:this.config.marker,locale:this.config.locale}),(0,s.isUndefined)(e._contentAssessor)?this.contentAssessor=this.defaultContentAssessor:this.contentAssessor=e._contentAssessor)},_.prototype.extendConfig=function(e){return e.sampleText=this.extendSampleText(e.sampleText),e.locale=e.locale||"en_US",e},_.prototype.extendSampleText=function(e){var t=m.sampleText;if((0,s.isUndefined)(e))return t;for(var r in e)(0,s.isUndefined)(e[r])&&(e[r]=t[r]);return e},_.prototype.registerCustomDataCallback=function(e){this.callbacks.custom||(this.callbacks.custom=[]),(0,s.isFunction)(e)&&this.callbacks.custom.push(e)},_.prototype.getData=function(){this.rawData=this.callbacks.getData(),(0,s.isArray)(this.callbacks.custom)&&this.callbacks.custom.forEach((e=>{const t=e();this.rawData=(0,s.merge)(this.rawData,t)})),this.pluggable.loaded&&(this.rawData.metaTitle=this.pluggable._applyModifications("data_page_title",this.rawData.metaTitle),this.rawData.meta=this.pluggable._applyModifications("data_meta_desc",this.rawData.meta)),this.rawData.titleWidth=(0,a.measureTextWidth)(this.rawData.metaTitle),this.rawData.locale=this.config.locale},_.prototype.refresh=function(){this.pluggable.loaded&&this._pureRefresh()},_.prototype._pureRefresh=function(){this.getData(),this.runAnalyzer()},_.prototype.initAssessorPresenters=function(){(0,s.isUndefined)(this.config.targets.output)||(this.seoAssessorPresenter=new h.default({targets:{output:this.config.targets.output},assessor:this.seoAssessor})),(0,s.isUndefined)(this.config.targets.contentOutput)||(this.contentAssessorPresenter=new h.default({targets:{output:this.config.targets.contentOutput},assessor:this.contentAssessor}))},_.prototype.startTime=function(){this.startTimestamp=(new Date).getTime()},_.prototype.endTime=function(){this.endTimestamp=(new Date).getTime(),this.endTimestamp-this.startTimestamp>this.config.typeDelay&&this.config.typeDelay"+t+"
"+e.status+"
"})),r.innerHTML+=""}},_.prototype.removeLoadingDialog=function(){var e=document.getElementById(this.defaultOutputElement),t=document.getElementById("YoastSEO-plugin-loading");""===this.defaultOutputElement||(0,s.isEmpty)(e)||(0,s.isEmpty)(t)||document.getElementById(this.defaultOutputElement).removeChild(document.getElementById("YoastSEO-plugin-loading"))},_.prototype.registerPlugin=function(e,t){return this.pluggable._registerPlugin(e,t)},_.prototype.pluginReady=function(e){return this.pluggable._ready(e)},_.prototype.pluginReloaded=function(e){return this.pluggable._reloaded(e)},_.prototype.registerModification=function(e,t,r,n){return this.pluggable._registerModification(e,t,r,n)},_.prototype.registerAssessment=function(e,t,r){if(!(0,s.isUndefined)(this.seoAssessor))return this.pluggable._registerAssessment(this.defaultSeoAssessor,e,t,r)&&this.pluggable._registerAssessment(this.cornerStoneSeoAssessor,e,t,r)},_.prototype.disableMarkers=function(){(0,s.isUndefined)(this.seoAssessorPresenter)||this.seoAssessorPresenter.disableMarker(),(0,s.isUndefined)(this.contentAssessorPresenter)||this.contentAssessorPresenter.disableMarker()},_.prototype._renderAnalysisResults=function(){this.config.contentAnalysisActive&&!(0,s.isUndefined)(this.contentAssessorPresenter)&&this.contentAssessorPresenter.renderIndividualRatings(),this.config.keywordAnalysisActive&&!(0,s.isUndefined)(this.seoAssessorPresenter)&&(this.seoAssessorPresenter.setKeyword(this.paper.getKeyword()),this.seoAssessorPresenter.render())},_.prototype.analyzeTimer=function(){this.refresh()},_.prototype.registerTest=function(){console.error("This function is deprecated, please use registerAssessment")},_.prototype.switchAssessors=function(e){console.warn("Switch assessor is deprecated since YoastSEO.js version 1.35.0"),this.changeAssessorOptions({useCornerStone:e})},t.default=_},74059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"usedKeywords",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(41156))&&n.__esModule?n:{default:n}},41156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=l(r(85551)),a=r(33140),o=l(r(73054));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e,t){if((0,s.isUndefined)(e))throw new i.default("The previously keyword plugin requires the YoastSEO app");(0,s.isUndefined)(t)&&(t={usedKeywords:{},usedKeywordsPostTypes:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.usedKeywordsPostTypes=t.usedKeywordsPostTypes,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=(0,a.createAnchorOpeningTag)("https://yoa.st/33x"),this.urlCallToAction=(0,a.createAnchorOpeningTag)("https://yoa.st/33y")};u.prototype.registerPlugin=function(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this),isApplicable:function(e){return e.hasKeyword()}},"previouslyUsedKeywords")},u.prototype.updateKeywordUsage=function(e,t){this.usedKeywords=e,this.usedKeywordsPostTypes=t},u.prototype.scoreAssessment=function(e,t){const r=e.count,s=e.id,i=e.postTypeToDisplay;let a;return 0===r?{text:(0,n.sprintf)( /* translators: %1$s expands to a link to an article on yoast.com, %2$s expands to an anchor end tag. */ @@ -8,7 +8,7 @@ text:(0,n.sprintf)((0,n.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$sonce before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"",this.urlTitle,this.urlCallToAction),score:6}):r>1?(a=i?``:``,{ /* translators: %1$s expands to a link to the admin search page for the keyphrase, %2$s expands to the anchor end tag, %3$s and %4$s expand to links to yoast.com */ -text:(0,n.sprintf)((0,n.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$smultiple times before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"",this.urlTitle,this.urlCallToAction),score:1}):void 0},u.prototype.researchPreviouslyUsedKeywords=function(e){const t=e.getKeyword();let r=0,n="",i=0;return!(0,s.isUndefined)(this.usedKeywords[t])&&this.usedKeywords[t].length>0&&(r=this.usedKeywords[t].length,this.usedKeywordsPostTypes&&(n=this.usedKeywordsPostTypes[t][0]),i=this.usedKeywords[t][0]),{id:i,count:r,postTypeToDisplay:n}},u.prototype.assess=function(e){var t=this.researchPreviouslyUsedKeywords(e),r=this.scoreAssessment(t,e),n=new o.default;return n.setScore(r.score),n.setText(r.text),n},t.default=u},24910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}]}},43879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];const t=(0,s.default)(e);return"nb"===t||"nn"===t?a.nbnn:"bal"===t||"ca"===t?a.ca:a[t]||[]},t.transliterations=void 0;var n,s=(n=r(67404))&&n.__esModule?n:{default:n},i=r(92819);const a=t.transliterations={es:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00FA\u00FC]/g,alternative:"u"},{letter:/[\u00DA\u00DC]/g,alternative:"U"}],pl:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u017A\u017C]/g,alternative:"z"},{letter:/[\u0179\u017B]/g,alternative:"Z"}],de:[{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00DF]/g,alternative:"ss"},{letter:/[\u1E9E]/g,alternative:"SS"}],nbnn:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00F3\u00F2\u00F4]/g,alternative:"o"},{letter:/[\u00D3\u00D2\u00D4]/g,alternative:"O"}],sv:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"}],fi:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u017E]/g,alternative:"zh"},{letter:/[\u017D]/g,alternative:"Zh"},{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"}],da:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"}],tr:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u0131\u00EE]/g,alternative:"i"},{letter:/[\u0130\u00CE]/g,alternative:"I"},{letter:/[\u00FC\u00FB]/g,alternative:"u"},{letter:/[\u00DC\u00DB]/g,alternative:"U"}],lv:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"}],is:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3\u00F6]/g,alternative:"o"},{letter:/[\u00D3\u00D6]/g,alternative:"O"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00DE]/g,alternative:"Th"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],fa:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00F3\u00F8]/g,alternative:"o"},{letter:/[\u00D3\u00D8]/g,alternative:"O"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],cs:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u00E9\u011B]/g,alternative:"e"},{letter:/[\u00C9\u011A]/g,alternative:"E"},{letter:/[\u00FA\u016F]/g,alternative:"u"},{letter:/[\u00DA\u016E]/g,alternative:"U"}],ru:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0456\u0438\u0439]/g,alternative:"i"},{letter:/[\u0406\u0418\u0419]/g,alternative:"I"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044A]/g,alternative:"ie"},{letter:/[\u042A]/g,alternative:"Ie"},{letter:/[\u044B]/g,alternative:"y"},{letter:/[\u042B]/g,alternative:"Y"},{letter:/[\u044C]/g,alternative:""},{letter:/[\u042C]/g,alternative:""},{letter:/[\u0451\u044D]/g,alternative:"e"},{letter:/[\u0401\u042D]/g,alternative:"E"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/[\u042E]/g,alternative:"Iu"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/[\u042F]/g,alternative:"Ia"}],eo:[{letter:/[\u0109]/g,alternative:"ch"},{letter:/[\u0108]/g,alternative:"Ch"},{letter:/[\u011d]/g,alternative:"gh"},{letter:/[\u011c]/g,alternative:"Gh"},{letter:/[\u0125]/g,alternative:"hx"},{letter:/[\u0124]/g,alternative:"Hx"},{letter:/[\u0135]/g,alternative:"jx"},{letter:/[\u0134]/g,alternative:"Jx"},{letter:/[\u015d]/g,alternative:"sx"},{letter:/[\u015c]/g,alternative:"Sx"},{letter:/[\u016d]/g,alternative:"ux"},{letter:/[\u016c]/g,alternative:"Ux"}],af:[{letter:/[\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00CB\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00EE\u00EF]/g,alternative:"i"},{letter:/[\u00CE\u00CF]/g,alternative:"I"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00DB\u00DC]/g,alternative:"U"}],ca:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9|\u00E8]/g,alternative:"e"},{letter:/[\u00C9|\u00C8]/g,alternative:"E"},{letter:/[\u00ED|\u00EF]/g,alternative:"i"},{letter:/[\u00CD|\u00CF]/g,alternative:"I"},{letter:/[\u00F3|\u00F2]/g,alternative:"o"},{letter:/[\u00D3|\u00D2]/g,alternative:"O"},{letter:/[\u00FA|\u00FC]/g,alternative:"u"},{letter:/[\u00DA|\u00DC]/g,alternative:"U"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"}],ast:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],an:[{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00F1]/g,alternative:"ny"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00D1]/g,alternative:"Ny"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00C1]/g,alternative:"A"}],ay:[{letter:/(([\u00EF])|([\u00ED]))/g,alternative:"i"},{letter:/(([\u00CF])|([\u00CD]))/g,alternative:"I"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u0027]/g,alternative:""},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],en:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00EB\u00E9]/g,alternative:"e"},{letter:/[\u00C9\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],fr:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EB\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CB\u00CA]/g,alternative:"E"},{letter:/[\u00E0\u00E2]/g,alternative:"a"},{letter:/[\u00C0\u00C2]/g,alternative:"A"},{letter:/[\u00EF\u00EE]/g,alternative:"i"},{letter:/[\u00CF\u00CE]/g,alternative:"I"},{letter:/[\u00F9\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00D9\u00DB\u00DC]/g,alternative:"U"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],it:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9\u00E8]/g,alternative:"e"},{letter:/[\u00C9\u00C8]/g,alternative:"E"},{letter:/[\u00EC\u00ED\u00EE]/g,alternative:"i"},{letter:/[\u00CC\u00CD\u00CE]/g,alternative:"I"},{letter:/[\u00F3\u00F2]/g,alternative:"o"},{letter:/[\u00D3\u00D2]/g,alternative:"O"},{letter:/[\u00F9\u00FA]/g,alternative:"u"},{letter:/[\u00D9\u00DA]/g,alternative:"U"}],nl:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E9\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],bm:[{letter:/[\u025B]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0272]/g,alternative:"ny"},{letter:/[\u019D]/g,alternative:"Ny"},{letter:/[\u014B]/g,alternative:"ng"},{letter:/[\u014A]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"}],uk:[{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"h"},{letter:/[\u0413]/g,alternative:"H"},{letter:/[\u0491]/g,alternative:"g"},{letter:/[\u0490]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u0070]/g,alternative:"r"},{letter:/[\u0050]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044C\u042C]/g,alternative:""},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0438]/g,alternative:"y"},{letter:/[\u0418]/g,alternative:"Y"},{letter:/^[\u0454]/g,alternative:"ye"},{letter:/[\s][\u0454]/g,alternative:" ye"},{letter:/[\u0454]/g,alternative:"ie"},{letter:/^[\u0404]/g,alternative:"Ye"},{letter:/[\s][\u0404]/g,alternative:" Ye"},{letter:/[\u0404]/g,alternative:"IE"},{letter:/^[\u0457]/g,alternative:"yi"},{letter:/[\s][\u0457]/g,alternative:" yi"},{letter:/[\u0457]/g,alternative:"i"},{letter:/^[\u0407]/g,alternative:"Yi"},{letter:/[\s][\u0407]/g,alternative:" Yi"},{letter:/[\u0407]/g,alternative:"I"},{letter:/^[\u0439]/g,alternative:"y"},{letter:/[\s][\u0439]/g,alternative:" y"},{letter:/[\u0439]/g,alternative:"i"},{letter:/^[\u0419]/g,alternative:"Y"},{letter:/[\s][\u0419]/g,alternative:" Y"},{letter:/[\u0419]/g,alternative:"I"},{letter:/^[\u044E]/g,alternative:"yu"},{letter:/[\s][\u044E]/g,alternative:" yu"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/^[\u042E]/g,alternative:"Yu"},{letter:/[\s][\u042E]/g,alternative:" Yu"},{letter:/[\u042E]/g,alternative:"IU"},{letter:/^[\u044F]/g,alternative:"ya"},{letter:/[\s][\u044F]/g,alternative:" ya"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/^[\u042F]/g,alternative:"Ya"},{letter:/[\s][\u042F]/g,alternative:" Ya"},{letter:/[\u042F]/g,alternative:"IA"}],br:[{letter:/\u0063\u0027\u0068/g,alternative:"ch"},{letter:/\u0043\u0027\u0048/g,alternative:"CH"},{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],ch:[{letter:/[\u0027]/g,alternative:""},{letter:/[\u00e5]/g,alternative:"a"},{letter:/[\u00c5]/g,alternative:"A"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],co:[{letter:/[\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00e6\u04d5]/g,alternative:"ae"},{letter:/[\u00c6\u04d4]/g,alternative:"Ae"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e9\u00ea\u00e8\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00ca\u00c8\u00cb]/g,alternative:"E"},{letter:/[\u00ec\u00ee\u00ef]/g,alternative:"i"},{letter:/[\u00cc\u00ce\u00cf]/g,alternative:"I"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00f4\u00f2]/g,alternative:"o"},{letter:/[\u00d4\u00d2]/g,alternative:"O"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]]/g,alternative:"Oe"},{letter:/[\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00ff]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"}],csb:[{letter:/[\u0105\u00e3]/g,alternative:"a"},{letter:/[\u0104\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00cb]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00f2\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u017c]/g,alternative:"z"},{letter:/[\u017b]/g,alternative:"Z"}],cy:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0176]/g,alternative:"Y"}],ee:[{letter:/[\u0256]/g,alternative:"d"},{letter:/[\u0189]/g,alternative:"D"},{letter:/[\u025b]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0192]/g,alternative:"f"},{letter:/[\u0191]/g,alternative:"F"},{letter:/[\u0263]/g,alternative:"g"},{letter:/[\u0194]/g,alternative:"G"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"},{letter:/[\u028b]/g,alternative:"w"},{letter:/[\u01b2]/g,alternative:"W"},{letter:/\u0061\u0303/g,alternative:"a"},{letter:/[\u00e1\u00e0\u01ce\u00e2\u00e3]/g,alternative:"a"},{letter:/\u0041\u0303/g,alternative:"A"},{letter:/[\u00c1\u00c0\u01cd\u00c2\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00e8\u011b\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u011a\u00ca]/g,alternative:"E"},{letter:/[\u00f3\u00f2\u01d2\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u01d1\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u00f9\u01d4\u00fb]/g,alternative:"u"},{letter:/[\u00da\u00d9\u01d3\u00db]/g,alternative:"U"},{letter:/[\u00ed\u00ec\u01d0\u00ee]/g,alternative:"i"},{letter:/[\u00cd\u00cc\u01cf\u00ce]/g,alternative:"I"}],et:[{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"},{letter:/[\u017e]/g,alternative:"zh"},{letter:/[\u017d]/g,alternative:"Zh"},{letter:/[\u00f5\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d5]/g,alternative:"O"},{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],eu:[{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],fuc:[{letter:/[\u0253]/g,alternative:"b"},{letter:/[\u0181]/g,alternative:"B"},{letter:/[\u0257]/g,alternative:"d"},{letter:/[\u018a]/g,alternative:"D"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0272\u00f1]/g,alternative:"ny"},{letter:/[\u019d\u00d1]/g,alternative:"Ny"},{letter:/[\u01b4]/g,alternative:"y"},{letter:/[\u01b3]/g,alternative:"Y"},{letter:/[\u0260]/g,alternative:"g"},{letter:/[\u0193]/g,alternative:"G"}],fj:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u016a]/g,alternative:"U"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u014c]/g,alternative:"O"}],frp:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00ca\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"}],fur:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00e0\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ec\u00ee]/g,alternative:"i"},{letter:/[\u00cc\u00ce]/g,alternative:"I"},{letter:/[\u00f2\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d4]/g,alternative:"O"},{letter:/[\u00f9\u00fb]/g,alternative:"u"},{letter:/[\u00d9\u00db]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u011f]/g,alternative:"g"},{letter:/[\u011e]/g,alternative:"G"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"}],fy:[{letter:/[\u00e2\u0101\u00e4\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u0100\u00c4\u00c5]/g,alternative:"A"},{letter:/[\u00ea\u00e9\u0113]/g,alternative:"e"},{letter:/[\u00ca\u00c9\u0112]/g,alternative:"E"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d4\u00d6]/g,alternative:"O"},{letter:/[\u00fa\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u0111\u00f0]/g,alternative:"d"},{letter:/[\u0110\u00d0]/g,alternative:"D"}],ga:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"}],gd:[{letter:/[\u00e0]/g,alternative:"a"},{letter:/[\u00c0]/g,alternative:"A"},{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u00ec]/g,alternative:"i"},{letter:/[\u00cc]/g,alternative:"I"}],gl:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],gn:[{letter:/[\u2019]/g,alternative:""},{letter:/\u0067\u0303/g,alternative:"g"},{letter:/\u0047\u0303/g,alternative:"G"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u1ebd]/g,alternative:"e"},{letter:/[\u1ebc]/g,alternative:"E"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u00f5]/g,alternative:"o"},{letter:/[\u00d5]/g,alternative:"O"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u1ef9]/g,alternative:"y"},{letter:/[\u1ef8]/g,alternative:"Y"}],gsw:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00f6]/g,alternative:"o"},{letter:/[\u00d6]/g,alternative:"O"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],hat:[{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"}],haw:[{letter:/[\u02bb\u0027\u2019]/g,alternative:""},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u014c]/g,alternative:"O"},{letter:/[\u016a]/g,alternative:"U"}],hr:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"dj"},{letter:/[\u0110]/g,alternative:"Dj"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"}],ka:[{letter:/[\u10d0]/g,alternative:"a"},{letter:/[\u10d1]/g,alternative:"b"},{letter:/[\u10d2]/g,alternative:"g"},{letter:/[\u10d3]/g,alternative:"d"},{letter:/[\u10d4]/g,alternative:"e"},{letter:/[\u10d5]/g,alternative:"v"},{letter:/[\u10d6]/g,alternative:"z"},{letter:/[\u10d7]/g,alternative:"t"},{letter:/[\u10d8]/g,alternative:"i"},{letter:/[\u10d9]/g,alternative:"k"},{letter:/[\u10da]/g,alternative:"l"},{letter:/[\u10db]/g,alternative:"m"},{letter:/[\u10dc]/g,alternative:"n"},{letter:/[\u10dd]/g,alternative:"o"},{letter:/[\u10de]/g,alternative:"p"},{letter:/[\u10df]/g,alternative:"zh"},{letter:/[\u10e0]/g,alternative:"r"},{letter:/[\u10e1]/g,alternative:"s"},{letter:/[\u10e2]/g,alternative:"t"},{letter:/[\u10e3]/g,alternative:"u"},{letter:/[\u10e4]/g,alternative:"p"},{letter:/[\u10e5]/g,alternative:"k"},{letter:/[\u10e6]/g,alternative:"gh"},{letter:/[\u10e7]/g,alternative:"q"},{letter:/[\u10e8]/g,alternative:"sh"},{letter:/[\u10e9]/g,alternative:"ch"},{letter:/[\u10ea]/g,alternative:"ts"},{letter:/[\u10eb]/g,alternative:"dz"},{letter:/[\u10ec]/g,alternative:"ts"},{letter:/[\u10ed]/g,alternative:"ch"},{letter:/[\u10ee]/g,alternative:"kh"},{letter:/[\u10ef]/g,alternative:"j"},{letter:/[\u10f0]/g,alternative:"h"}],kal:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"}],kin:[{letter:/[\u2019\u0027]/g,alternative:""}],lb:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e9]/g,alternative:"e"},{letter:/[\u00cb\u00c9]/g,alternative:"E"}],li:[{letter:/[\u00e1\u00e2\u00e0\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c0\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00cb\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00f6\u00f3]/g,alternative:"o"},{letter:/[\u00d6\u00d3]/g,alternative:"O"}],lin:[{letter:/[\u00e1\u00e2\u01ce]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u01cd]/g,alternative:"A"},{letter:/\u025b\u0301/g,alternative:"e"},{letter:/\u025b\u0302/g,alternative:"e"},{letter:/\u025b\u030c/g,alternative:"e"},{letter:/[\u00e9\u00ea\u011b\u025b]/g,alternative:"e"},{letter:/\u0190\u0301/g,alternative:"E"},{letter:/\u0190\u0302/g,alternative:"E"},{letter:/\u0190\u030c/g,alternative:"E"},{letter:/[\u00c9\u00ca\u011a\u0190]/g,alternative:"E"},{letter:/[\u00ed\u00ee\u01d0]/g,alternative:"i"},{letter:/[\u00cd\u00ce\u01cf]/g,alternative:"I"},{letter:/\u0254\u0301/g,alternative:"o"},{letter:/\u0254\u0302/g,alternative:"o"},{letter:/\u0254\u030c/g,alternative:"o"},{letter:/[\u00f3\u00f4\u01d2\u0254]/g,alternative:"o"},{letter:/\u0186\u0301/g,alternative:"O"},{letter:/\u0186\u0302/g,alternative:"O"},{letter:/\u0186\u030c/g,alternative:"O"},{letter:/[\u00d3\u00d4\u01d1\u0186]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],lt:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u0119\u0117]/g,alternative:"e"},{letter:/[\u0118\u0116]/g,alternative:"E"},{letter:/[\u012f]/g,alternative:"i"},{letter:/[\u012e]/g,alternative:"I"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0173\u016b]/g,alternative:"u"},{letter:/[\u0172\u016a]/g,alternative:"U"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],mg:[{letter:/[\u00f4]/g,alternative:"ao"},{letter:/[\u00d4]/g,alternative:"Ao"}],mk:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0453]/g,alternative:"gj"},{letter:/[\u0403]/g,alternative:"Gj"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0455]/g,alternative:"dz"},{letter:/[\u0405]/g,alternative:"Dz"},{letter:/[\u0438]/g,alternative:"i"},{letter:/[\u0418]/g,alternative:"I"},{letter:/[\u0458]/g,alternative:"j"},{letter:/[\u0408]/g,alternative:"J"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u0459]/g,alternative:"lj"},{letter:/[\u0409]/g,alternative:"Lj"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u045A]/g,alternative:"nj"},{letter:/[\u040A]/g,alternative:"Nj"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u045C]/g,alternative:"kj"},{letter:/[\u040C]/g,alternative:"Kj"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"h"},{letter:/[\u0425]/g,alternative:"H"},{letter:/[\u0446]/g,alternative:"c"},{letter:/[\u0426]/g,alternative:"C"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u045F]/g,alternative:"dj"},{letter:/[\u040F]/g,alternative:"Dj"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"}],mri:[{letter:/[\u0101]/g,alternative:"aa"},{letter:/[\u0100]/g,alternative:"Aa"},{letter:/[\u0113]/g,alternative:"ee"},{letter:/[\u0112]/g,alternative:"Ee"},{letter:/[\u012b]/g,alternative:"ii"},{letter:/[\u012a]/g,alternative:"Ii"},{letter:/[\u014d]/g,alternative:"oo"},{letter:/[\u014c]/g,alternative:"Oo"},{letter:/[\u016b]/g,alternative:"uu"},{letter:/[\u016a]/g,alternative:"Uu"}],mwl:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u0169]/g,alternative:"u"},{letter:/[\u00da\u0168]/g,alternative:"U"}],oci:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00b7]/g,alternative:""}],orm:[{letter:/[\u0027]/g,alternative:""}],pt:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1\u00e2\u00e3\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c3\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u00d3\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],roh:[{letter:/[\u00e9\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ef]/g,alternative:"i"},{letter:/[\u00cf]/g,alternative:"I"},{letter:/[\u00f6]/g,alternative:"oe"},{letter:/[\u00d6]/g,alternative:"Oe"},{letter:/[\u00fc]/g,alternative:"ue"},{letter:/[\u00dc]/g,alternative:"Ue"},{letter:/[\u00e4]/g,alternative:"ae"},{letter:/[\u00c4]/g,alternative:"Ae"}],rup:[{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"}],ro:[{letter:/[\u0103\u00e2]/g,alternative:"a"},{letter:/[\u0102\u00c2]/g,alternative:"A"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u0219\u015f]/g,alternative:"s"},{letter:/[\u0218\u015e]/g,alternative:"S"},{letter:/[\u021b\u0163]/g,alternative:"t"},{letter:/[\u021a\u0162]/g,alternative:"T"}],tlh:[{letter:/[\u2019\u0027]/g,alternative:""}],sk:[{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"},{letter:/[\u00e1\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c4]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u010f]/g,alternative:"d"},{letter:/[\u010e]/g,alternative:"D"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u013e\u013a]/g,alternative:"l"},{letter:/[\u013d\u0139]/g,alternative:"L"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00fd]/g,alternative:"y"},{letter:/[\u00dd]/g,alternative:"Y"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],sl:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u00e0\u00e1\u0203\u0201]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u0202\u0200]/g,alternative:"A"},{letter:/[\u00e8\u00e9\u0207\u0205]/g,alternative:"e"},{letter:/\u01dd\u0300/g,alternative:"e"},{letter:/\u01dd\u030f/g,alternative:"e"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb9\u0311/g,alternative:"e"},{letter:/[\u00c8\u00c9\u0206\u0204]/g,alternative:"E"},{letter:/\u018e\u030f/g,alternative:"E"},{letter:/\u018e\u0300/g,alternative:"E"},{letter:/\u1eb8\u0311/g,alternative:"E"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/[\u00ec\u00ed\u020b\u0209]/g,alternative:"i"},{letter:/[\u00cc\u00cd\u020a\u0208]/g,alternative:"I"},{letter:/[\u00f2\u00f3\u020f\u020d]/g,alternative:"o"},{letter:/\u1ecd\u0311/g,alternative:"o"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0311/g,alternative:"O"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/[\u00d2\u00d3\u020e\u020c]/g,alternative:"O"},{letter:/[\u00f9\u00fa\u0217\u0215]/g,alternative:"u"},{letter:/[\u00d9\u00da\u0216\u0214]/g,alternative:"U"},{letter:/[\u0155\u0213]/g,alternative:"r"},{letter:/[\u0154\u0212]/g,alternative:"R"}],sq:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00eb]/g,alternative:"e"},{letter:/[\u00cb]/g,alternative:"E"}],hu:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f6\u0151]/g,alternative:"o"},{letter:/[\u00d3\u00d6\u0150]/g,alternative:"O"},{letter:/[\u00fa\u00fc\u0171]/g,alternative:"u"},{letter:/[\u00da\u00dc\u0170]/g,alternative:"U"}],srd:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"}],szl:[{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u0142]/g,alternative:"u"},{letter:/[\u0141]/g,alternative:"U"},{letter:/[\u006e]/g,alternative:"n"},{letter:/[\u004e]/g,alternative:"N"},{letter:/[\u014f\u014d\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u014e\u014c\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u015b]/g,alternative:"s"},{letter:/[\u015a]/g,alternative:"S"},{letter:/[\u017a\u017c\u017e]/g,alternative:"z"},{letter:/[\u0179\u017b\u017d]/g,alternative:"Z"},{letter:/[\u016f]/g,alternative:"u"},{letter:/[\u016e]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"cz"},{letter:/[\u010c]/g,alternative:"Cz"},{letter:/[\u0159]/g,alternative:"rz"},{letter:/[\u0158]/g,alternative:"Rz"},{letter:/[\u0161]/g,alternative:"sz"},{letter:/[\u0160]/g,alternative:"Sz"}],tah:[{letter:/[\u0101\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u0100\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00ef\u00ee\u00ec]/g,alternative:"i"},{letter:/[\u00cf\u00ce\u00cc]/g,alternative:"I"},{letter:/[\u0113\u00ea\u00e9]/g,alternative:"e"},{letter:/[\u0112\u00ca\u00c9]/g,alternative:"E"},{letter:/[\u016b\u00fb\u00fa]/g,alternative:"u"},{letter:/[\u016a\u00db\u00da]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f2\u00f4\u014d]/g,alternative:"o"},{letter:/[\u00d2\u00d4\u014c]/g,alternative:"O"},{letter:/[\u2019\u0027\u2018]/g,alternative:""}],vec:[{letter:/\u0073\u002d\u0063/g,alternative:"sc"},{letter:/\u0053\u002d\u0043/g,alternative:"SC"},{letter:/\u0073\u0027\u0063/g,alternative:"sc"},{letter:/\u0053\u0027\u0043/g,alternative:"SC"},{letter:/\u0073\u2019\u0063/g,alternative:"sc"},{letter:/\u0053\u2019\u0043/g,alternative:"SC"},{letter:/\u0073\u2018\u0063/g,alternative:"sc"},{letter:/\u0053\u2018\u0043/g,alternative:"SC"},{letter:/\u0053\u002d\u0063/g,alternative:"Sc"},{letter:/\u0053\u0027\u0063/g,alternative:"Sc"},{letter:/\u0053\u2019\u0063/g,alternative:"Sc"},{letter:/\u0053\u2018\u0063/g,alternative:"Sc"},{letter:/\u0063\u2019/g,alternative:"c"},{letter:/\u0043\u2019/g,alternative:"C"},{letter:/\u0063\u2018/g,alternative:"c"},{letter:/\u0043\u2018/g,alternative:"C"},{letter:/\u0063\u0027/g,alternative:"c"},{letter:/\u0043\u0027/g,alternative:"C"},{letter:/[\u00e0\u00e1\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00f9\u00fa]/g,alternative:"u"},{letter:/[\u00d9\u00da]/g,alternative:"U"},{letter:/[\u00e7\u010d\u010b]/g,alternative:"c"},{letter:/[\u00c7\u010c\u010a]/g,alternative:"C"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u00a3\u0141]/g,alternative:"L"},{letter:/\ud835\udeff/g,alternative:"dh"},{letter:/[\u0111\u03b4]/g,alternative:"dh"},{letter:/[\u0110\u0394]/g,alternative:"Dh"}],wa:[{letter:/[\u00e2\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u00c5]/g,alternative:"A"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/\u0065\u030a/g,alternative:"e"},{letter:/\u0045\u030a/g,alternative:"E"},{letter:/[\u00eb\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca\u00cb]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"}],yor:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00ec\u00ed]/g,alternative:"i"},{letter:/[\u00cc\u00cd]/g,alternative:"I"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/\u1ecd\u0300/g,alternative:"o"},{letter:/\u1ecc\u0300/g,alternative:"O"},{letter:/[\u00f3\u00f2\u1ecd]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u1ecc]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/\u1eb9\u0300/g,alternative:"e"},{letter:/\u1eb8\u0300/g,alternative:"E"},{letter:/[\u00e9\u00e8\u1eb9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u1eb8]/g,alternative:"E"},{letter:/[\u1e63]/g,alternative:"s"},{letter:/[\u1e62]/g,alternative:"S"}]}},78035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"presenter",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(1456))&&n.__esModule?n:{default:n}},1456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,n.__)("Content optimization:","wordpress-seo");return{feedback:{className:"na",screenReaderText:(0,n.__)("Feedback","wordpress-seo"),fullText:`${e} ${(0,n.__)("Has feedback","wordpress-seo")}`,screenReaderReadabilityText:""},bad:{className:"bad",screenReaderText:(0,n.__)("Needs improvement","wordpress-seo"),fullText:`${e} ${(0,n.__)("Needs improvement","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("Needs improvement","wordpress-seo")},ok:{className:"ok",screenReaderText:(0,n.__)("OK SEO score","wordpress-seo"),fullText:`${e} ${(0,n.__)("OK SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("OK","wordpress-seo")},good:{className:"good",screenReaderText:(0,n.__)("Good SEO score","wordpress-seo"),fullText:`${e} ${(0,n.__)("Good SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("Good","wordpress-seo")}}};var n=r(65736)},23324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];let t=a;return t=t.concat(d((0,s.default)(e))),t};var n,s=(n=r(67404))&&n.__esModule?n:{default:n},i=r(92819);const a=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternative:"o"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00F8]/g,alternative:"o"},{letter:/[\u00F9]/g,alternative:"u"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00FB]/g,alternative:"u"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0102]/g,alternative:"A"},{letter:/[\u0103]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0108]/g,alternative:"C"},{letter:/[\u0109]/g,alternative:"c"},{letter:/[\u010A]/g,alternative:"C"},{letter:/[\u010B]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0114]/g,alternative:"E"},{letter:/[\u0115]/g,alternative:"e"},{letter:/[\u0116]/g,alternative:"E"},{letter:/[\u0117]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u011A]/g,alternative:"E"},{letter:/[\u011B]/g,alternative:"e"},{letter:/[\u011C]/g,alternative:"G"},{letter:/[\u011D]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u0120]/g,alternative:"G"},{letter:/[\u0121]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0124]/g,alternative:"H"},{letter:/[\u0125]/g,alternative:"h"},{letter:/[\u0126]/g,alternative:"H"},{letter:/[\u0127]/g,alternative:"h"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012C]/g,alternative:"I"},{letter:/[\u012D]/g,alternative:"i"},{letter:/[\u012E]/g,alternative:"I"},{letter:/[\u012F]/g,alternative:"i"},{letter:/[\u0130]/g,alternative:"I"},{letter:/[\u0131]/g,alternative:"i"},{letter:/[\u0132]/g,alternative:"IJ"},{letter:/[\u0133]/g,alternative:"ij"},{letter:/[\u0134]/g,alternative:"J"},{letter:/[\u0135]/g,alternative:"j"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0138]/g,alternative:"k"},{letter:/[\u0139]/g,alternative:"L"},{letter:/[\u013A]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013D]/g,alternative:"L"},{letter:/[\u013E]/g,alternative:"l"},{letter:/[\u013F]/g,alternative:"L"},{letter:/[\u0140]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0149]/g,alternative:"n"},{letter:/[\u014A]/g,alternative:"N"},{letter:/[\u014B]/g,alternative:"n"},{letter:/[\u014C]/g,alternative:"O"},{letter:/[\u014D]/g,alternative:"o"},{letter:/[\u014E]/g,alternative:"O"},{letter:/[\u014F]/g,alternative:"o"},{letter:/[\u0150]/g,alternative:"O"},{letter:/[\u0151]/g,alternative:"o"},{letter:/[\u0152]/g,alternative:"OE"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0156]/g,alternative:"R"},{letter:/[\u0157]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015C]/g,alternative:"S"},{letter:/[\u015D]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0162]/g,alternative:"T"},{letter:/[\u0163]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0166]/g,alternative:"T"},{letter:/[\u0167]/g,alternative:"t"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016C]/g,alternative:"U"},{letter:/[\u016D]/g,alternative:"u"},{letter:/[\u016E]/g,alternative:"U"},{letter:/[\u016F]/g,alternative:"u"},{letter:/[\u0170]/g,alternative:"U"},{letter:/[\u0171]/g,alternative:"u"},{letter:/[\u0172]/g,alternative:"U"},{letter:/[\u0173]/g,alternative:"u"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0176]/g,alternative:"Y"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u0179]/g,alternative:"Z"},{letter:/[\u017A]/g,alternative:"z"},{letter:/[\u017B]/g,alternative:"Z"},{letter:/[\u017C]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017F]/g,alternative:"s"},{letter:/[\u01A0]/g,alternative:"O"},{letter:/[\u01A1]/g,alternative:"o"},{letter:/[\u01AF]/g,alternative:"U"},{letter:/[\u01B0]/g,alternative:"u"},{letter:/[\u01CD]/g,alternative:"A"},{letter:/[\u01CE]/g,alternative:"a"},{letter:/[\u01CF]/g,alternative:"I"},{letter:/[\u01D0]/g,alternative:"i"},{letter:/[\u01D1]/g,alternative:"O"},{letter:/[\u01D2]/g,alternative:"o"},{letter:/[\u01D3]/g,alternative:"U"},{letter:/[\u01D4]/g,alternative:"u"},{letter:/[\u01D5]/g,alternative:"U"},{letter:/[\u01D6]/g,alternative:"u"},{letter:/[\u01D7]/g,alternative:"U"},{letter:/[\u01D8]/g,alternative:"u"},{letter:/[\u01D9]/g,alternative:"U"},{letter:/[\u01DA]/g,alternative:"u"},{letter:/[\u01DB]/g,alternative:"U"},{letter:/[\u01DC]/g,alternative:"u"},{letter:/[\u0218]/g,alternative:"S"},{letter:/[\u0219]/g,alternative:"s"},{letter:/[\u021A]/g,alternative:"T"},{letter:/[\u021B]/g,alternative:"t"},{letter:/[\u0251]/g,alternative:"a"},{letter:/[\u1EA0]/g,alternative:"A"},{letter:/[\u1EA1]/g,alternative:"a"},{letter:/[\u1EA2]/g,alternative:"A"},{letter:/[\u1EA3]/g,alternative:"a"},{letter:/[\u1EA4]/g,alternative:"A"},{letter:/[\u1EA5]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EA7]/g,alternative:"a"},{letter:/[\u1EA8]/g,alternative:"A"},{letter:/[\u1EA9]/g,alternative:"a"},{letter:/[\u1EAA]/g,alternative:"A"},{letter:/[\u1EAB]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EAD]/g,alternative:"a"},{letter:/[\u1EAE]/g,alternative:"A"},{letter:/[\u1EAF]/g,alternative:"a"},{letter:/[\u1EB0]/g,alternative:"A"},{letter:/[\u1EB1]/g,alternative:"a"},{letter:/[\u1EB2]/g,alternative:"A"},{letter:/[\u1EB3]/g,alternative:"a"},{letter:/[\u1EB4]/g,alternative:"A"},{letter:/[\u1EB5]/g,alternative:"a"},{letter:/[\u1EB6]/g,alternative:"A"},{letter:/[\u1EB7]/g,alternative:"a"},{letter:/[\u1EB8]/g,alternative:"E"},{letter:/[\u1EB9]/g,alternative:"e"},{letter:/[\u1EBA]/g,alternative:"E"},{letter:/[\u1EBB]/g,alternative:"e"},{letter:/[\u1EBC]/g,alternative:"E"},{letter:/[\u1EBD]/g,alternative:"e"},{letter:/[\u1EBE]/g,alternative:"E"},{letter:/[\u1EBF]/g,alternative:"e"},{letter:/[\u1EC0]/g,alternative:"E"},{letter:/[\u1EC1]/g,alternative:"e"},{letter:/[\u1EC2]/g,alternative:"E"},{letter:/[\u1EC3]/g,alternative:"e"},{letter:/[\u1EC4]/g,alternative:"E"},{letter:/[\u1EC5]/g,alternative:"e"},{letter:/[\u1EC6]/g,alternative:"E"},{letter:/[\u1EC7]/g,alternative:"e"},{letter:/[\u1EC8]/g,alternative:"I"},{letter:/[\u1EC9]/g,alternative:"i"},{letter:/[\u1ECA]/g,alternative:"I"},{letter:/[\u1ECB]/g,alternative:"i"},{letter:/[\u1ECC]/g,alternative:"O"},{letter:/[\u1ECD]/g,alternative:"o"},{letter:/[\u1ECE]/g,alternative:"O"},{letter:/[\u1ECF]/g,alternative:"o"},{letter:/[\u1ED0]/g,alternative:"O"},{letter:/[\u1ED1]/g,alternative:"o"},{letter:/[\u1ED2]/g,alternative:"O"},{letter:/[\u1ED3]/g,alternative:"o"},{letter:/[\u1ED4]/g,alternative:"O"},{letter:/[\u1ED5]/g,alternative:"o"},{letter:/[\u1ED6]/g,alternative:"O"},{letter:/[\u1ED7]/g,alternative:"o"},{letter:/[\u1ED8]/g,alternative:"O"},{letter:/[\u1ED9]/g,alternative:"o"},{letter:/[\u1EDA]/g,alternative:"O"},{letter:/[\u1EDB]/g,alternative:"o"},{letter:/[\u1EDC]/g,alternative:"O"},{letter:/[\u1EDD]/g,alternative:"o"},{letter:/[\u1EDE]/g,alternative:"O"},{letter:/[\u1EDF]/g,alternative:"o"},{letter:/[\u1EE0]/g,alternative:"O"},{letter:/[\u1EE1]/g,alternative:"o"},{letter:/[\u1EE2]/g,alternative:"O"},{letter:/[\u1EE3]/g,alternative:"o"},{letter:/[\u1EE4]/g,alternative:"U"},{letter:/[\u1EE5]/g,alternative:"u"},{letter:/[\u1EE6]/g,alternative:"U"},{letter:/[\u1EE7]/g,alternative:"u"},{letter:/[\u1EE8]/g,alternative:"U"},{letter:/[\u1EE9]/g,alternative:"u"},{letter:/[\u1EEA]/g,alternative:"U"},{letter:/[\u1EEB]/g,alternative:"u"},{letter:/[\u1EEC]/g,alternative:"U"},{letter:/[\u1EED]/g,alternative:"u"},{letter:/[\u1EEE]/g,alternative:"U"},{letter:/[\u1EEF]/g,alternative:"u"},{letter:/[\u1EF0]/g,alternative:"U"},{letter:/[\u1EF1]/g,alternative:"u"},{letter:/[\u1EF2]/g,alternative:"Y"},{letter:/[\u1EF3]/g,alternative:"y"},{letter:/[\u1EF4]/g,alternative:"Y"},{letter:/[\u1EF5]/g,alternative:"y"},{letter:/[\u1EF6]/g,alternative:"Y"},{letter:/[\u1EF7]/g,alternative:"y"},{letter:/[\u1EF8]/g,alternative:"Y"},{letter:/[\u1EF9]/g,alternative:"y"}],o=[{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u1E9E]/g,alternative:"SS"},{letter:/[\u00DF]/g,alternative:"ss"}],l=[{letter:/[\u00C6]/g,alternative:"Ae"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E5]/g,alternative:"aa"}],u=[{letter:/[\u00B7]/g,alternative:"ll"}],c=[{letter:/[\u0110]/g,alternative:"DJ"},{letter:/[\u0111]/g,alternative:"dj"}],d=function(e){switch(e){case"de":return o;case"da":return l;case"ca":return u;case"sr":case"bs":return c;default:return[]}}},35468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"]}},10152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORD_BOUNDARY_WITH_HYPHEN=t.WORD_BOUNDARY_WITHOUT_HYPHEN=void 0,t.WORD_BOUNDARY_WITH_HYPHEN="[\\s\\u2013\\u002d]",t.WORD_BOUNDARY_WITHOUT_HYPHEN="[\\s\\u2013]"},62887:(e,t,r)=>{"use strict";var n;function s(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,((n=r(89539))&&n.__esModule?n:{default:n}).default.inherits(s,Error),t.default=s},85551:(e,t,r)=>{"use strict";var n;function s(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,((n=r(89539))&&n.__esModule?n:{default:n}).default.inherits(s,Error),t.default=s},25003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.measureTextWidth=void 0;const r="yoast-measurement-element";t.measureTextWidth=function(e){let t=document.getElementById(r);return t||(t=function(){const e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}},52243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);t.default={hasClass:function(e,t){return e.className.indexOf(t)>-1},addClass:function(e,t){var r=e.className.split(" ");-1===r.indexOf(t)&&r.push(t),e.className=r.join(" ")},removeClass:function(e,t){var r=e.className.split(" "),n=r.indexOf(t);-1!==n&&r.splice(n,1),e.className=r.join(" ")},removeClasses:function(e,t){(0,n.forEach)(t,this.removeClass.bind(null,e))}}},47661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.showTrace=s;var n=r(92819);function s(e){(0,n.isUndefined)(e)&&(e=""),(0,n.isUndefined)(console)||(0,n.isUndefined)(console.trace)||console.trace(e)}t.default={showTrace:s}},52453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);const s=function(){};s.prototype.buildMockElement=function(){const e=[];return e.nodeType=1,e},s.prototype.buildMockResearcher=function(e,t=!1,r=!1,s=!1,i=!1){return!t||"object"!=typeof e&&"object"!=typeof i&&"object"!=typeof s?{getResearch:function(){return e},getData:function(){return r},getHelper:function(){return i},hasHelper:function(){return e},getConfig:function(){return s},hasConfig:function(t){return!(0,n.isUndefined)(e[t])}}:{getResearch:function(t){return e[t]},hasResearch:function(t){return!(0,n.isUndefined)(e[t])},addResearch:function(t,r){e[t]=r},getData:function(){return r},getHelper:function(e){return i[e]},hasHelper:function(e){return!(0,n.isUndefined)(i[e])},addHelper:function(e,t){i||(i={}),i[e]=t},getConfig:function(e){return s[e]},hasConfig:function(e){return!(0,n.isUndefined)(s[e])},addConfig:function(e,t){s[e]=t}}},s.prototype.buildMockString=function(e,t){let r="";e=e||"Test ",t=t||1;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10}},54057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="%%"){r=(0,n.escapeRegExp)(r);const s=new RegExp(`${r}(.+?)${r}`,"g");let i,a=e;for(;null!==(i=s.exec(e));){const e=i[1],s=new RegExp(`${r}${(0,n.escapeRegExp)(e)}${r}`,"g");e in t&&(a=a.replace(s,t[e]))}return a};var n=r(92819)},89175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordComplexity=function(){return["en","es","de","fr"]}},73816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordFormSupport=function(){return["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk","el","ja"]}},33888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEntitiesRegex=t.htmlEntities=t.hashedHtmlEntitiesRegexStart=t.hashedHtmlEntitiesRegexEnd=t.hashedHtmlEntities=void 0;const r=t.htmlEntities=new Map([["amp;","&"],["lt;","<"],["gt;",">"],["quot;",'"'],["apos;","'"],["ndash;","–"],["mdash;","—"],["copy;","©"],["reg;","®"],["trade;","™"],["pound;","£"],["yen;","¥"],["euro;","€"],["dollar;","$"],["deg;","°"],["asymp;","≈"],["ne;","≠"],["nbsp;"," "]]),n=(t.htmlEntitiesRegex=new RegExp("&("+[...r.keys()].join("|")+")","ig"),t.hashedHtmlEntities=new Map);r.forEach(((e,t)=>n.set("#"+t,e))),t.hashedHtmlEntitiesRegexStart=new RegExp("^("+[...n.keys()].join("|")+")"),t.hashedHtmlEntitiesRegexEnd=new RegExp("("+[...n.keys()].join("|")+")$")},64495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAnchorOpeningTag",{enumerable:!0,get:function(){return l.createAnchorOpeningTag}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"getLanguagesWithWordComplexity",{enumerable:!0,get:function(){return o.getLanguagesWithWordComplexity}}),Object.defineProperty(t,"getLanguagesWithWordFormSupport",{enumerable:!0,get:function(){return i.getLanguagesWithWordFormSupport}}),t.htmlEntities=void 0,Object.defineProperty(t,"measureTextWidth",{enumerable:!0,get:function(){return s.measureTextWidth}});var n,s=r(25003),i=r(73816),a=(n=r(17179))&&n.__esModule?n:{default:n},o=r(89175),l=r(33140),u=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(33888));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}t.htmlEntities=u},23319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e={}){this.configure(e)}configure(e){this._config={params:{},...e}}static createQueryString(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}append(e,t={}){let n=encodeURI(e);const s=r.createQueryString({...this._config.params,...t});return""!==s&&(n+="?"+s),n}createAnchorOpeningTag(e,t={}){return``}}t.default=r},33140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(28774);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},28774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configureShortlinker=function(e){a().configure(e)},t.createAnchorOpeningTag=function(e,t={}){return a().createAnchorOpeningTag(e,t)},t.createShortlink=function(e,t={}){return a().append(e,t)};var n,s=(n=r(23319))&&n.__esModule?n:{default:n};let i;function a(){return null===i.yoast.shortlinker&&(i.yoast.shortlinker=new s.default),i.yoast.shortlinker}i="undefined"==typeof window?"undefined"==typeof self?r.g:self:window,i.yoast=i.yoast||{},i.yoast.shortlinker=i.yoast.shortlinker||null},67986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=H(r(62887)),i=H(r(85551)),a=H(r(40027)),o=H(r(99447)),l=H(r(86232)),u=H(r(14117)),c=H(r(69564)),d=H(r(3479)),h=H(r(63216)),p=H(r(82163)),f=G(r(78160)),g=H(r(901)),m=H(r(45095)),_=H(r(41564)),y=H(r(72619)),E=H(r(52364)),T=H(r(18807)),A=H(r(58743)),v=H(r(62987)),b=H(r(21706)),S=H(r(31051)),I=H(r(52948)),O=H(r(57419)),C=G(r(82242)),N=r(74066),D=H(r(72286)),w=H(r(90497)),P=H(r(96458)),R=H(r(31015)),k=H(r(7045)),L=H(r(48799)),M=H(r(25969)),x=H(r(99074)),F=H(r(44518)),U=H(r(47647));function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(B=function(e){return e?r:t})(e)}function G(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=B(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function H(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this.paper=e,this.defaultResearches={altTagCount:a.default,countSentencesFromText:o.default,findKeywordInFirstParagraph:l.default,findKeyphraseInSEOTitle:u.default,findTransitionWords:c.default,functionWordsInKeyphrase:d.default,getAnchorsWithKeyphrase:h.default,getFleschReadingScore:p.default,getKeyphraseCount:C.default,getKeyphraseDensity:f.default,getKeywordDensity:f.getKeywordDensity,getLinks:g.default,getLinkStatistics:m.default,getParagraphs:_.default,getParagraphLength:y.default,getProminentWordsForInsights:T.default,getProminentWordsForInternalLinking:A.default,getSentenceBeginnings:v.default,getSubheadingTextLengths:b.default,h1s:S.default,imageCount:I.default,keyphraseLength:O.default,keywordCount:C.keywordCount,keywordCountInSlug:N.keywordCountInSlug,keywordCountInUrl:N.keywordCountInUrl,matchKeywordInSubheadings:D.default,metaDescriptionKeyword:w.default,metaDescriptionLength:P.default,morphology:R.default,pageTitleWidth:k.default,readingTime:L.default,sentences:M.default,wordCountInText:F.default,videoCount:x.default,getPassiveVoiceResult:E.default},this._data={},this.customResearches={},this.helpers={memoizedTokenizer:U.default},this.config={areHyphensWordBoundaries:!0}}setPaper(e){this.paper=e}addResearch(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Research name cannot be empty");if(!(t instanceof Function))throw new s.default("The research requires a Function callback.");this.customResearches[e]=t}addResearchData(e,t){this._data[e]=t}addHelper(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Helper name cannot be empty");if(!(t instanceof Function))throw new s.default("The research requires a Function callback.");this.helpers[e]=t}addConfig(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Failed to add the custom researcher config. Config name cannot be empty.");if((0,n.isUndefined)(t)||(0,n.isEmpty)(t)&&t===Object(t))throw new i.default("Failed to add the custom researcher config. Config cannot be empty.");this.config[e]=t}hasResearch(e){return Object.keys(this.getAvailableResearches()).filter((function(t){return t===e})).length>0}hasHelper(e){return Object.keys(this.getAvailableHelpers()).filter((function(t){return t===e})).length>0}hasConfig(e){return Object.keys(this.getAvailableConfig()).filter((function(t){return t===e})).length>0}hasResearchData(e){return Object.keys(this.getAvailableResearchData()).filter((function(t){return t===e})).length>0}getAvailableResearches(){return(0,n.merge)(this.defaultResearches,this.customResearches)}getAvailableHelpers(){return this.helpers}getAvailableConfig(){return this.config}getAvailableResearchData(){return this._data}getResearch(e){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Research name cannot be empty");return!!this.hasResearch(e)&&this.getAvailableResearches()[e](this.paper,this)}getData(e){return!!this.hasResearchData(e)&&this._data[e]}getConfig(e){return!!this.hasConfig(e)&&this.config[e]}getHelper(e){return!!this.hasHelper(e)&&this.helpers[e]}}},82676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(41054))&&n.__esModule?n:{default:n};t.default=function(e,t){if(0===t.length)return[];const r=((e,t)=>{const r=e.tokens,n=[];for(let e=r.length-1;e>=0;e--){const s=r[e];t.some((e=>e.sourceCodeRange.startOffset===s.sourceCodeRange.startOffset||e.sourceCodeRange.endOffset===s.sourceCodeRange.endOffset))?n.unshift("",s.text,""):n.unshift(s.text)}return n.join("").replace(new RegExp("([  ]?)","ig"),"$1")})(e,t);return(e=>{const t=[];return e.sort((function(e,t){return e.getPositionStart()-t.getPositionStart()})),e.forEach((e=>{if(0===t.length)return void t.push(e);const r=t[t.length-1];r.getPositionEnd()+1===e.getPositionStart()||e.getPositionStart()<=r.getPositionEnd()?(r.setPositionEnd(e.getPositionEnd()),r.setBlockPositionEnd(e.getBlockPositionEnd())):t.push(e)})),t})(t.map((t=>{const n=t.sourceCodeRange.startOffset,i=t.sourceCodeRange.endOffset;return new s.default({position:{startOffset:n,endOffset:i,startOffsetBlock:n-(e.parentStartOffset||0),endOffsetBlock:i-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1},marked:r,original:e.text})})))}},29368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldsToMark=function(e,t){const r=(0,n.uniq)((0,n.flatten)(e.map((e=>{if(!(0,n.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()})))),i=[];return r.forEach((e=>{"heading"===e&&(0,s.getSubheadings)(t).forEach((e=>{i.push(e[0])}))})),{fieldsToMark:r,selectedHTML:i}};var n=r(92819),s=r(84285)},89272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[...e.matchAll(new RegExp("]+)?>(.*?)<\\/h\\1>","ig"))],r=[];return t.forEach(((e,s)=>{const i=e[0],a=e.index,o=t[s+1];let l;l=(0,n.isUndefined)(o)?e.input.length:o.index;const u=e.input.slice(a+i.length,l);r.push({subheading:i,text:u,index:a})})),r};var n=r(92819)},84285:(e,t)=>{"use strict";function r(e){const t=[],r=/]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}function n(e){const t=[],r=/]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}function s(e){return r(e).map((e=>e[0]))}function i(e){return n(e).map((e=>e[0]))}function a(e){return e.replace(/]+)?>(.*?)<\/h\1>/gi,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSubheadingContents=s,t.getSubheadingContentsTopLevel=i,t.getSubheadings=r,t.getSubheadingsTopLevel=n,t.removeSubheadingsTopLevel=a,t.default={getSubheadings:r,getSubheadingsTopLevel:n,getSubheadingContents:s,getSubheadingContentsTopLevel:i,removeSubheadingsTopLevel:a}},1831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineElements=t.getBlocks=t.default=t.blockElements=void 0,t.isBlockElement=A,t.isInlineElement=v;var n,s=r(92819),i=(n=r(14429))&&n.__esModule?n:{default:n};const a=t.blockElements=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],o=t.inlineElements=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],l=new RegExp("^("+a.join("|")+")$","i"),u=new RegExp("^("+o.join("|")+")$","i"),c=new RegExp("^<("+a.join("|")+")[^>]*?>$","i"),d=new RegExp("^]*?>$","i"),h=new RegExp("^<("+o.join("|")+")[^>]*>$","i"),p=new RegExp("^]*>$","i"),f=/^<([^>\s/]+)[^>]*>$/,g=/^<\/([^>\s]+)[^>]*>$/,m=/^[^<]+$/,_=/^<[^><]*$/,y=//g;let E,T=[];function A(e){return l.test(e)}function v(e){return u.test(e)}const b=t.getBlocks=(0,s.memoize)((function(e){const t=[];let r=0,n="",a="",o="";return e=e.replace(y,""),T=[],E=(0,i.default)((function(e){T.push(e)})),E.addRule(m,"content"),E.addRule(_,"greater-than-sign-content"),E.addRule(c,"block-start"),E.addRule(d,"block-end"),E.addRule(h,"inline-start"),E.addRule(p,"inline-end"),E.addRule(f,"other-element-start"),E.addRule(g,"other-element-end"),E.onText(e),E.end(),(0,s.forEach)(T,(function(e,s){const i=T[s+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==r||"block-start"!==i.type&&"block-end"!==i.type)?a+=e.src:(a+=e.src,t.push(a),n="",a="",o="");break;case"block-start":0!==r&&(""!==a.trim()&&t.push(a),a="",o=""),r++,n=e.src;break;case"block-end":r--,o=e.src,""!==n&&""!==o?t.push(n+a+o):""!==a.trim()&&t.push(a),n="",a="",o=""}r<0&&(r=0)})),t}));t.default={blockElements:a,inlineElements:o,isBlockElement:A,isInlineElement:v,getBlocks:b}},96908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i=[],a=!1,o=[],c.write(e),c.parseComplete(),i.join("")};var n,s=(n=r(23719))&&n.__esModule?n:{default:n};let i=[],a=!1,o=[];const l=["script","style","code","pre","blockquote","textarea"],u=["yoast-table-of-contents","yoast-reading-time__wrapper","elementor-button-wrapper","elementor-divider","elementor-spacer","elementor-custom-embed","elementor-icon-wrapper","elementor-icon-box-wrapper","elementor-counter","elementor-progress-wrapper","elementor-alert","elementor-soundcloud-wrapper","elementor-shortcode","elementor-menu-anchor","elementor-title"],c=new s.default.Parser({onopentag:function(e,t){if(a)return void o.push(e);const r=t.class?t.class.split(" "):[];if(l.includes(e)||r.some((e=>u.includes(e))))return a=!0,void o.push(e);const n=Object.keys(t);let s="";n.forEach((function(e){s+=" "+e+"='"+t[e]+"'"})),i.push("<"+e+s+">")},ontext:function(e){a||i.push(e)},onclosetag:function(e){if(1===o.length&&o[0]===e)return a=!1,void(o=[]);a?o.pop():i.push("")}},{decodeEntities:!0})},62932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=i(e);if(t.length>0)return t;let r=(0,s.getBlocks)(e);return r=(0,n.filter)(r,(function(e){return 0!==e.indexOf("0?t:[e]};var n=r(92819),s=r(1831);const i=function(e){let t=[];const r=/]+)?>(.*?)<\/p>/gi;let s;for(;null!==(s=r.exec(e));)t.push(s);return t=(0,n.map)(t,(function(e){return e[1]})),t.filter((e=>e.length>0))}},88567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(new DOMParser).parseFromString(e,"text/html").body.innerHTML.replace(/ /g," ")}},15770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="";return"img"===e.name&&(t=(0,s.default)(e.attributes.alt||""),t=t.replace(/"/g,'"'),t=t.replace(/'/g,"'")),t};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},92017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.getTree();return t?t.findAll((e=>"img"===e.name)):[]}},61440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e,i)},t.imageRegex=void 0;var n,s=(n=r(13617))&&n.__esModule?n:{default:n};const i=t.imageRegex=new RegExp("]+)?>()*","ig")},29866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"filterShortcodesFromHTML",{enumerable:!0,get:function(){return i.filterShortcodesFromHTML}}),Object.defineProperty(t,"matchStringWithRegex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return s.normalize}}),Object.defineProperty(t,"removeHtmlBlocks",{enumerable:!0,get:function(){return a.default}});var n=o(r(13617)),s=r(37361),i=r(24533),a=o(r(96908));function o(e){return e&&e.__esModule?e:{default:e}}},67404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("_")[0]}},88782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="Dofollow";const r=new s.default.Parser({onopentag:function(e,r){"a"===e&&r.rel&&r.rel.toLowerCase().split(/\s/).includes("nofollow")&&(t="Nofollow")}});return r.write(e),r.end(),t};var n,s=(n=r(23719))&&n.__esModule?n:{default:n}},30341:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;return t=e.match(/]+)>((?:.|[\n\r\u2028\u2029])*?)<\/a>/gi),null===t&&(t=[]),t}},25930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=s.default.getFromAnchorTag(e),n=s.default.getProtocol(r);return n&&!s.default.protocolIsHttpScheme(n)||s.default.isRelativeFragmentURL(r)?"other":s.default.isInternalLink(r,t)?"internal":"external"};var n,s=(n=r(20917))&&n.__esModule?n:{default:n}},36478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findWordFormsInString=t.findTopicFormsInString=void 0;var n,s=r(92819),i=(n=r(7407))&&n.__esModule?n:{default:n};const a=function(e,t,r,n){const a=e.length,o=Array(a);let l=[],u=[];for(let s=0;s0?1:0,l.push(a.position),u=u.concat(a.matches)}const c=(0,s.sum)(o),d={countWordMatches:c,percentWordMatches:0,matches:u};return a>0&&(d.percentWordMatches=Math.round(c/a*100)),l=l.filter((e=>e>=0)),d.position=0===l.length?-1:Math.min(...l),d};t.findWordFormsInString=a,t.findTopicFormsInString=function(e,t,r,n,i){let o=a(e.keyphraseForms,t,n,i);if(o.keyphraseOrSynonym="keyphrase",100===o.percentWordMatches||!1===r||(0,s.isEmpty)(e.synonymsForms))return o;const l=[];for(let r=0;re.percentWordMatches)),c=u.indexOf(Math.max(...u));return o.percentWordMatches>=l[c].percentWordMatches||(o=l[c],o.keyphraseOrSynonym="synonym"),o}},23116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(21389))&&n.__esModule?n:{default:n},i=r(92819);t.default=e=>(0,i.includes)(s.default,e[0])&&(0,i.includes)(s.default,e[e.length-1])},7407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="en_EN",n){let a=0,o=[],l=[];return(0,i.uniq)(t).forEach((function(t){const i=(0,s.default)(e,t,r,n);a+=i.count,o=o.concat(i.matches),l.push(i.position)})),l=l.filter((e=>e>=0)),{count:a,matches:o,position:0===l.length?-1:Math.min(...l)}};var n,s=(n=r(75118))&&n.__esModule?n:{default:n},i=r(92819)},95785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const c=(0,u.getLanguage)(r);let h=d(t,c);if("tr"===c){const e=(0,l.replaceTurkishIsMemoized)(t);h=new RegExp(e.map((e=>(0,s.default)(e))).join("|"),"ig")}const p=e.match(h)||[];e=e.replace(h,"");const f=(0,a.default)(t,r),g=d(f,c),m=e.match(g)||[];let _=p.concat(m);const y=(0,o.default)(t,r);if(y!==f){const t=d(y,c),r=e.match(t)||[];_=_.concat(r)}return(0,n.map)(_,(function(e){return(0,i.default)(e)}))};var n=r(92819),s=c(r(28875)),i=c(r(47793)),a=c(r(36064)),o=c(r(78087)),l=r(81011),u=r(58677);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){return e=(0,s.default)(e,!1,"",t),new RegExp(e,"ig")}},75118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,c){e=(0,n.default)(e),e=(0,a.unifyAllSpaces)(e),e=(0,l.normalize)(e),t=(0,l.normalize)(t);let d=c?c(e,t):(0,o.default)(e,t,r);d=(0,u.map)(d,(function(e){return(0,s.default)((0,i.default)(e))}));const h=(0,u.map)(d,(function(t){return e.indexOf(t)}));return{count:d.length,matches:d,position:0===h.length?-1:Math.min(...h)}};var n=c(r(57719)),s=c(r(47793)),i=c(r(8737)),a=r(81831),o=c(r(95785)),l=r(37361),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}},57329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenizeKeyphraseFormsForExactMatching=t.default=void 0;var n=i(r(95785)),s=i(r(7337));function i(e){return e&&e.__esModule?e:{default:e}}const a=(e,t)=>{const r=e[0];return t?t(r):(0,s.default)(r)};t.tokenizeKeyphraseFormsForExactMatching=a;t.default=(e,t,r,s,i=!1,o)=>i&&!s?((e,t,r,s)=>{const i={count:0,matches:[]},o=a(t,s),l=e.tokens;let u=0,c=0,d=[];for(;c0?(d.push(l[c]),u++):(u=0,d=[]),d.length===o.length&&(i.matches.push(...d),i.count++,u=0,d=[]),c++}return i})(e,t,r,o):((e,t,r,s)=>{const i={count:0,matches:[]};return t.forEach((t=>{let a=[];a=s?s(e,t):((e,t,r)=>{let s=[];return e.forEach((e=>{(0,n.default)(e.text,t,r).length>0&&(s=s.concat(e))})),s})(e.tokens.slice(),t,r),i.count+=a.length,i.matches=i.matches.concat(a)})),i})(e,t,r,s)},83927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={exactMatchRequested:!1,keyphrase:e};return(0,s.default)(e)&&(t.keyphrase=e.substring(1,e.length-1),t.exactMatchRequested=!0),t};var n,s=(n=r(23116))&&n.__esModule?n:{default:n}},42992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},19605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.includes(null))return e;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StemOriginalPair=c,t.TopicPhrase=u,t.buildStems=void 0,t.collectStems=function(e,t,r,n,s){return h(r,n,s)(e,t)},t.primeLanguageSpecificData=void 0;var n=l(r(1105)),s=r(37361),i=r(10152),a=r(92819),o=l(r(23116));function l(e){return e&&e.__esModule?e:{default:e}}function u(e=[],t=!1){this.stemOriginalPairs=e,this.exactMatch=t}function c(e,t){this.stem=e,this.original=t}u.prototype.getStems=function(){return this.exactMatch?[]:this.stemOriginalPairs.map((e=>e.stem))};const d=function(e,t,r,l){if((0,a.isUndefined)(e)||""===e)return new u;if((0,o.default)(e))return e=e.substring(1,e.length-1),new u([new c((0,a.escapeRegExp)(e),e)],!0);let d=l?(0,n.default)(e,i.WORD_BOUNDARY_WITH_HYPHEN):(0,n.default)(e,i.WORD_BOUNDARY_WITHOUT_HYPHEN);const h=d.filter((e=>!r.includes(e)));return h.length>0&&(d=h),new u(d.map((e=>new c(t((0,s.normalizeSingle)((0,a.escapeRegExp)(e))),e))))};t.buildStems=d;const h=t.primeLanguageSpecificData=(0,a.memoize)(((e,t,r)=>(0,a.memoize)(((n,s)=>function(e,t,r,n,s){return{keyphraseStems:d(e,r,n,s),synonymsStems:t.map((e=>d(e,r,n,s)))}}(n,s,e,t,r)),((e,t)=>e+","+t.join(",")))))},53371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createSingleRuleFromArray=t.createRulesFromArrays=void 0;const r=function(e,t="i"){return 2===e.length?{reg:new RegExp(e[0],t),repl:e[1]}:3===e.length?{reg:new RegExp(e[0],t),repl1:e[1],repl2:e[2]}:null};t.createSingleRuleFromArray=r;const n=function(e,t="i"){return e.map((e=>r(e,t)))};t.createRulesFromArrays=n,t.default=n},74252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkExceptionListWithTwoStems=function(e,t){for(const r of e){const e=r.find((e=>t.endsWith(e)));if(e)return t.slice(0,t.length-e.length)+r[0]}},t.checkIfWordEndingIsOnExceptionList=function(e,t){for(let r=0;re.startsWith(t)));let i="";return"string"==typeof n&&(i=e.slice(n.length),i.length>2&&(e=i)),t.includes(e)};var n,s=(n=r(44949))&&n.__esModule?n:{default:n}},30259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(const n in t)e.endsWith(t[n])&&r.push(t[n]);const n=r.sort((function(e,t){return t.length-e.length}))[0];return n||""}},44949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.flatten)(Object.values(e)).sort(((e,t)=>t.length-e.length||e.localeCompare(t)))};var n=r(92819)},90831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getText(),c=(0,l.default)(e).map((e=>(0,s.default)(e))),d=[r,e.getTitle(),e.getSlug(),(0,a.default)(e.getSlug()),e.getDescription(),c.join(" ")].join(" ");return(t?(0,o.default)(d,u.WORD_BOUNDARY_WITH_HYPHEN):(0,o.default)(d,u.WORD_BOUNDARY_WITHOUT_HYPHEN)).map((e=>(0,i.normalizeSingle)((0,n.escapeRegExp)(e))))};var n=r(92819),s=c(r(15770)),i=r(37361),a=c(r(84159)),o=c(r(1105)),l=c(r(92017)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}},64396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyAllReplacements=function(e,t){return t.forEach((function(t){e=e.replace(new RegExp(t[0]),t[1])})),e},t.doesWordMatchRegex=function(e,t){return RegExp(t).test(e)},t.searchAndReplaceWithRegex=function(e,t){for(const r of t)if(-1!==e.search(new RegExp(r[0])))return e.replace(new RegExp(r[0]),r[1])}},74694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSuffixFromFullForm=function(e,t,r){for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stemPrefixedFunctionWords=function(e,t){let r=e,n="";const s=e.match(t);return s&&(n=s[0],r=e.slice(n.length)),{stem:r,prefix:n}}},23107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const n=(0,i.default)(e).map((e=>e.toLowerCase())),a=n.indexOf(t.toLowerCase());if(a<1)return!1;const o=n[a-1];return(0,s.includes)(r,o)};var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n}},80053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(47793))&&n.__esModule?n:{default:n};t.default=function(e,t){const r=t.regexes.auxiliaryRegex;if(null===e.match(r))return[];let n;const a=e.match(t.regexes.stopwordRegex)||[];return n=function(e,t){const r=[];return(0,s.forEach)(t,(function(t){const n=e.split(t);(0,s.isEmpty)(n[0])||r.push(n[0]);const a=e.indexOf(t),o=e.length;e=(0,i.default)(e.substring(a,o))})),r.push(e),r}(e,a),void 0!==t.regexes.stopCharacterRegex&&1===n.length&&(n=function(e,t){const r=e.split(t);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){const l=(0,n.uniq)(r),u=(0,a.getIndicesByWordListSorted)(l,e),c=e.indexOf(t),d=(0,s.default)(o),h=u.filter((e=>e.indexe.index>p.index&&e.index0};var n=r(92819),s=o(r(18072)),i=o(r(40404)),a=r(61403);function o(e){return e&&e.__esModule?e:{default:e}}},43527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return p(e,t)};var n=r(61403),s=c(r(47793)),i=r(37361),a=c(r(40404)),o=c(r(9803)),l=c(r(89032)),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(n,e.index)&&(t=t.filter((function(t){return t.index!==e.index})))})),t},h=function(e,t){const{auxiliaryRegex:r,directPrecedenceExceptionRegex:i,followingAuxiliaryExceptionRegex:o}=t;let c=e.match(r)||[];if(void 0!==i||void 0!==o){let t=(0,n.getIndicesByWordList)(c,e);void 0!==i&&(t=d(e,t,i)),t=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,l.default)(n,e)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,t,o),c=[],(0,u.forEach)(t,(function(e){c.push(e.match)}))}return(0,u.map)(c,(function(e){return(0,s.default)(e)}))},p=function(e,t){const r=[],l=t.regexes.auxiliaryRegex;if(null===(e=(0,i.normalizeSingle)(e)).match(l))return r;const c=function(e,t){e=e.toLocaleLowerCase();const{regexes:r}=t;let s=(0,n.getIndicesByWordList)(t.auxiliaries,e);const i=function(e,t){let r;const n=[];for(t.lastIndex=0;null!==(r=t.exec(e));)n.push({index:r.index,match:r[0]});return n}(e,r.stopCharacterRegex);let l=(0,n.getIndicesByWordList)(t.stopwords,e);t.otherStopWordIndices&&t.otherStopWordIndices.length>0&&(l=l.concat(t.otherStopWordIndices)),void 0!==r.directPrecedenceExceptionRegex&&(s=d(e,s,r.directPrecedenceExceptionRegex)),void 0!==r.elisionAuxiliaryExceptionRegex&&(s=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(n,e.index,!1)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,s,r.elisionAuxiliaryExceptionRegex));let c=s.concat(l,i);return c=(0,n.filterIndices)(c),(0,n.sortIndices)(c)}(e,t);for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(let n=t.exec(e);null!==n;n=t.exec(e))r.push({match:n[0],index:n.index});return r}},2329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=[];return t.forEach((function(t){const n=e.match(t);null!==n&&r.push(n)})),r=(0,n.flattenDeep)(r),r};var n=r(92819)},14456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const n=(0,i.default)(e).map((e=>e.toLowerCase())),a=n.indexOf(t.toLowerCase());if(a<1)return!1;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collapseProminentWordsOnStem=d,t.default=void 0,t.filterProminentWords=u,t.getProminentWords=g,t.getProminentWordsFromPaperAttributes=m,t.retrieveAbbreviations=h,t.sortProminentWords=c;var n=r(92819),s=o(r(1105)),i=r(37361),a=o(r(4446));function o(e){return e&&e.__esModule?e:{default:e}}const l=/[1234567890‘’“”"'.…?!:;,¿¡«»&*@#±^%$|~=+§`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\s]/g;function u(e,t=2){return e.filter((function(e){return e.getOccurrences()>=t&&""!==e.getWord().replace(l,"")}))}function c(e){e.sort((function(e,t){const r=t.getOccurrences()-e.getOccurrences();return 0!==r?r:e.getStem().localeCompare(t.getStem())}))}function d(e){if(0===e.length)return[];e.sort((function(e,t){return e.getStem().localeCompare(t.getStem())}));const t=[];let r=new a.default(e[0].getWord(),e[0].getStem(),e[0].getOccurrences());for(let n=1;n1&&e.length<5&&e===e.toLocaleUpperCase()&&r.push(e.toLocaleLowerCase())})),(0,n.uniq)(r)}function p(e,t,r,s){if(0===e.length)return[];const i=(0,n.uniq)(e.filter((e=>!s.includes(e.trim())))),o=[];return i.forEach((function(n){t.includes(n)?o.push(new a.default(n.toLocaleUpperCase(),n,e.filter((e=>e===n)).length)):o.push(new a.default(n,r(n),e.filter((e=>e===n)).length))})),d(o)}const f=(0,n.memoize)(((e,t,r,n)=>p(e,t,r,n)),((e,t)=>e.join(",")+","+t.join(",")));function g(e,t,r,n,a){if(""===e)return[];const o=a?a((0,i.normalizeSingle)(e).toLocaleLowerCase()):(0,s.default)((0,i.normalizeSingle)(e).toLocaleLowerCase());return f(o,t,r,n)}function m(e,t,r,n,i){return p(i?i(e.join(" ").toLocaleLowerCase()):(0,s.default)(e.join(" ").toLocaleLowerCase()),t,r,n)}t.default={getProminentWords:g,getProminentWordsFromPaperAttributes:m,filterProminentWords:u,sortProminentWords:c,collapseProminentWordsOnStem:d,retrieveAbbreviations:h}},18072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",o=!1){const l="("+(e=(0,n.map)(e,(function(e){return o&&(e=(0,i.default)(e)),e=(0,a.default)(e),t?e:(0,s.default)(e,!0,r)}))).join(")|(")+")";return new RegExp(l,"ig")};var n=r(92819),s=o(r(28875)),i=o(r(74169)),a=o(r(86697));function o(e){return e&&e.__esModule?e:{default:e}}},55508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t="("+(e=e.map((function(e){return i(e)}))).join(")|(")+")";return new RegExp(t,"ig")};var n,s=(n=r(28875))&&n.__esModule?n:{default:n};const i=function(e){return(e=e.map((function(e){return(0,s.default)(e)}))).join("(.*?)")}},67397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=o(r(86697)),i=o(r(74169)),a=o(r(28875));function o(e){return e&&e.__esModule?e:{default:e}}t.default=(0,n.memoize)((function(e,t,r){return(0,n.isUndefined)(t)&&(t=""),((0,n.isUndefined)(r)||!0===r)&&(e=(0,i.default)(e)),e=(0,s.default)(e),e=(0,n.escapeRegExp)(e),e=(0,a.default)(e,!1,t),new RegExp(e,"ig")}))},13617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.match(t);return null===r&&(r=[]),r}},21389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"]},24533:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterShortcodesFromHTML=t.default=void 0;const r=e=>{const t=`\\[\\/?(${e.join("|")})[^\\]]*\\]`;return new RegExp(t,"g")};t.filterShortcodesFromHTML=(e,t)=>{if(!t||0===t.length)return e;const n=r(t);return e.replace(n,"")};const n=(e,t,r,n)=>n&&r.includes(e[t].text)&&(((e,t)=>e[t-1]&&"["===e[t-1].text)(e,t)||((e,t)=>e[t-1]&&"/"===e[t-1].text&&e[t-2]&&"["===e[t-2].text)(e,t)),s=(e,t,r)=>{e.sentences&&e.sentences.forEach((e=>{((e,t,r)=>{const s=e.tokens;let i=!1;for(let e=s.length-1;e>=0;e--)if("]"===s[e].text&&(i=!0),n(s,e,t,i)){for(;"]"!==s[e].text;)s.splice(e,1);for(s.splice(e,1),i=!1;s[e-1]&&"[/".includes(s[e-1].text);)s.splice(e-1,1),e--}e.tokens=s,e.text=e.text.replace(r,"")})(e,t,r)})),e.childNodes&&e.childNodes.forEach((e=>{s(e,t,r)}))};t.default=(e,t)=>{if(!t||0===t.length)return;const n=r(t);s(e,t,n)}},10840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeListItems=function(e){return(e=(e=e.replace(/<\/?(o|ul)(?:[^>]+)?>/g,"")).replace(/\s?<\/?li(?:[^>]+)?>\s?/g," ")).replace(/\s+/g," ")}},73481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.split(",");return t=t.map((e=>(0,s.default)((0,n.default)(e)))).filter((e=>e)),t};var n=i(r(47793)),s=i(r(50544));function i(e){return e&&e.__esModule?e:{default:e}}},37361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SINGLE_QUOTES_REGEX=t.SINGLE_QUOTES_ARRAY=void 0,t.normalize=a,t.normalizeDouble=i,t.normalizeSingle=s;const r=t.SINGLE_QUOTES_ARRAY=["'","‘","’","‛","`","‹","›"],n=t.SINGLE_QUOTES_REGEX=new RegExp("["+r.join("")+"]","g");function s(e){return e.replace(n,"'")}function i(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}function a(e){return i(s(e))}t.default={normalizeSingle:s,normalizeDouble:i,normalize:a}},32879:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("[^\\s@]+@[^\\s@]+\\.[^\\s@]+","igm")},8737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(0,n.unifyNonBreakingSpace)(e)).replace("&","");const t=new RegExp("(\\\\)","g");return(e=(e=e.replace(t,"")).replace(i,"")).replace(a,"")},t.punctuationRegexString=t.punctuationRegexStart=t.punctuationRegexEnd=t.punctuationList=void 0;var n=r(81831);const s=t.punctuationRegexString="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>",i=(t.punctuationList=s.split(""),t.punctuationRegexStart=new RegExp("^["+s+"]+")),a=t.punctuationRegexEnd=new RegExp("["+s+"]+$")},50544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=e.replace(n,"")).replace(s,"")};const r="[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+",n=new RegExp("^"+r),s=new RegExp(r+"$")},85476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("(ftp|http(s)?:\\/\\/.)(www\\\\.)?[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)|www\\.[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)","igm")},65510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/\s*<.*?br.*?>/gm,"

")}},86697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=(0,s.unifyAllSpaces)(e),(0,n.stripFullTags)(e)};var n=r(62240),s=r(81831)},62240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var n,s=(n=r(47793))&&n.__esModule?n:{default:n},i=r(1831);const a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),o=new RegExp("]*?>$","i"),l=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=l;const u=function(e){return(e=e.replace(a,"")).replace(o,"")};t.stripBlockTagsAtStartEnd=u;const c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,s.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:l,stripBlockTagsAtStartEnd:u}},57719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/<(?!li|\/li|p|\/p|h1|\/h1|h2|\/h2|h3|\/h3|h4|\/h4|h5|\/h5|h6|\/h6|dd).*?>/g,""),(0,s.default)(e)};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},86812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/\b[0-9]+\b/g,""),"."===(e=(0,s.default)(e))&&(e=""),e};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},47793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}},52731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripWordBoundariesStart=t.stripWordBoundariesEverywhere=t.stripWordBoundariesEnd=t.default=void 0;const r="[ \\u00a0\\u06d4\\u061f\\u060C\\u061B \\n\\r\\t.,'()\"+\\-;!?:/»«‹›<>]",n=new RegExp("^("+r+"+)","ig"),s=new RegExp("("+r+"+$)","ig"),i=function(e){return e.replace(n,"")};t.stripWordBoundariesStart=i;const a=function(e){return e.replace(s,"")};t.stripWordBoundariesEnd=a;const o=function(e){return(e=e.replace(n,"")).replace(s,"")};t.stripWordBoundariesEverywhere=o,t.default={stripWordBoundariesStart:i,stripWordBoundariesEnd:a,stripWordBoundariesEverywhere:o}},81831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unifyWhiteSpace=t.unifyNonBreakingSpace=t.unifyEmDash=t.unifyAllSpaces=t.default=void 0;const r=function(e){return e.replace(/ /g," ")};t.unifyNonBreakingSpace=r;const n=function(e){return e.replace(/\u2014/g," ")};t.unifyEmDash=n;const s=function(e){return e.replace(/\s/g," ")};t.unifyWhiteSpace=s;const i=function(e){return e=r(e),e=n(e),s(e)};t.unifyAllSpaces=i,t.default={unifyNonBreakingSpace:r,unifyEmDash:n,unifyWhiteSpace:s,unifyAllSpaces:i}},29003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=u(r(14429)),i=r(37361),a=u(r(31946)),o=u(r(18072)),l=u(r(35468));function u(e){return e&&e.__esModule?e:{default:e}}const c=new RegExp("^[.]$"),d=/^<[^><]*$/,h=/^<([^>\s/]+)[^>]*>$/im,p=/^<\/([^>\s]+)[^>]*>$/im,f=/^\s*[[({]\s*$/,g=/^\s*[\])}]\s*$/,m=a.default.map((e=>e.replace(".","\\."))),_=(0,o.default)(m),y="(^|$|["+(0,l.default)().map((e=>"\\"+e)).join("")+"])",E=new RegExp(y+"[A-Za-z]$"),T=/<\/?([^\s]+?)(\s|>)/,A=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];t.default=class{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,n.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=(0,i.normalize)(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return(0,n.isUndefined)(e[0])||(t+=e[0].src),(0,n.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((t=>t.test(e)))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,n.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,n.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,s){return!(0,n.isUndefined)(e)&&!(0,n.isUndefined)(r)&&!(0,n.isUndefined)(s)&&!(0,n.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&E.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===s.type}tokenizeSmallerThanContent(e,t,r){const s=e.src.substring(1),i=this.createTokenizer();this.tokenize(i.tokenizer,s);const a=this.getSentencesFromTokens(i.tokens,!1);if(a[0]=(0,n.isUndefined)(a[0])?"<":"<"+a[0],this.isValidSentenceBeginning(a[0])&&(t.push(r),r=""),r+=a[0],a.length>1){t.push(r),r="",a.shift();const e=a.pop();a.forEach((e=>{t.push(e)}));const n=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(n)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],n=(0,s.default)((function(e){r.push(e)}));return n.addRule(c,"full-stop"),n.addRule(d,"smaller-than-sign-content"),n.addRule(h,"html-start"),n.addRule(p,"html-end"),n.addRule(f,"block-start"),n.addRule(g,"block-end"),n.addRule(e,"sentence-delimiter"),n.addRule(t,"sentence"),{tokenizer:n,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(_);if(!t)return!1;const r=t.pop();return e.endsWith(r)}isValidTagPair(e,t){const r=e.src,n=t.src,s=r.match(T)[1];return s===n.match(T)[1]&&A.includes(s)}getSentencesFromTokens(e,t=!0){let r,s,i=[],a="";do{s=!1;const t=e[0],r=e[e.length-1];t&&r&&"html-start"===t.type&&"html-end"===r.type&&this.isValidTagPair(t,r)&&(e=e.slice(1,e.length-1),s=!0)}while(s&&e.length>1);return e.forEach(((t,s)=>{let o,l,u;const c=e[s+1],d=e[s-1],h=e[s+2];switch(l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",t.type){case"html-start":case"html-end":this.isBreakTag(t.src)?(i.push(a),a=""):a+=t.src;break;case"smaller-than-sign-content":u=this.tokenizeSmallerThanContent(t,i,a),i=u.tokenSentences,a=u.currentSentence;break;case"sentence":case"block-start":a+=t.src;break;case"sentence-delimiter":if(a+=t.src,!(0,n.isUndefined)(c)&&"block-end"!==c.type&&"sentence-delimiter"!==c.type&&this.isCharacterASpace(c.src[0])){if(this.isQuotation(t.src)&&d&&"."!==d.src)break;this.isQuotation(t.src)||"…"===t.src?a=this.getValidSentence(o,r,l,c,i,a):(i.push(a),a="")}break;case"full-stop":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",this.endsWithAbbreviation(a))break;if(o&&this.isNumber(l[0]))break;if(this.isPartOfPersonInitial(t,d,c,h))break;if(this.endsWithOrdinalDot(a))break;a=this.getValidSentence(o,r,l,c,i,a);break;case"block-end":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[0]:"",o&&this.isNumber(l[0])||this.isSentenceEnding(d)&&!this.isValidSentenceBeginning(r)&&!this.isSentenceStart(c))break;this.isSentenceEnding(d)&&(this.isSentenceStart(c)||this.isValidSentenceBeginning(r))&&(i.push(a),a="")}})),""!==a&&i.push(a),t&&(i=(0,n.map)(i,(function(e){return e.trim()}))),i}getValidSentence(e,t,r,n,s,i){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(n))&&(s.push(i),i=""),i}isCharacterASpace(e){return/\s/.test(e)}}},55473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(e,t);let n=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=u.default){e=(e=(0,l.unifyNonBreakingSpace)(e)).replace(a.imageRegex,"");let r=(0,i.getBlocks)(e);r=(0,s.flatMap)(r,(function(e){return e.split(c)})),r=r.filter((e=>!d.test(e)));let n=r.map((e=>t(e))).flat();return n=n.map((e=>(0,o.stripBlockTagsAtStartEnd)(e).trim())),(0,s.filter)(n,(0,s.negate)(s.isEmpty))};var n,s=r(92819),i=r(1831),a=r(61440),o=r(62240),l=r(81831),u=(n=r(47647))&&n.__esModule?n:{default:n};const c=new RegExp("\n\r|\n|\r"),d=new RegExp("^(

|

)$")},54241:(e,t)=>{"use strict";function r(e){return e.sourceCodeLocation&&(e.sourceCodeLocation.startTag&&e.sourceCodeLocation.startTag.endOffset||e.sourceCodeLocation.startOffset)||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.getTree().findAll((e=>!!e.sentences)).flatMap((t=>t.sentences.map((n=>{let s=t;return t.isImplicit&&(s=function(e,t){return e.getTree().findAll((e=>e.childNodes&&e.childNodes.includes(t)))[0]||t}(e,t)),{...n,parentStartOffset:r(s),parentClientId:s.clientId||"",parentAttributeId:t.attributeId||"",isParentFirstSectionOfBlock:t.isFirstSection||!1}}))))}},47647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(29003))&&n.__esModule?n:{default:n},i=r(92819);t.default=(0,i.memoize)((function(e,t=!0){const r=new s.default,{tokenizer:n,tokens:i}=r.createTokenizer();return r.tokenize(n,e),0===i.length?[]:r.getSentencesFromTokens(i,t)}),((...e)=>JSON.stringify(e)))},91916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];return(0,i.forEach)(e,(function(e){const n=(0,a.stripFullTags)(e),i=t.getHelper("customCountLength"),o=i?i(n):(0,s.default)(n);o<=0||r.push({sentence:e,sentenceLength:o})})),r};var n,s=(n=r(33870))&&n.__esModule?n:{default:n},i=r(92819),a=r(62240)},58766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);function s(e){this._location=e.location,this._fragment=e.word,this._syllables=e.syllables,this._regex=null,this._options=(0,n.pick)(e,["notFollowedBy","alsoFollowedBy"])}s.prototype.createRegex=function(){let e="";const t=this._options;let r=this._fragment;switch((0,n.isUndefined)(t.notFollowedBy)||(r+="(?!["+t.notFollowedBy.join("")+"])"),(0,n.isUndefined)(t.alsoFollowedBy)||(r+="["+t.alsoFollowedBy.join("")+"]?"),this._location){case"atBeginning":e="^"+r;break;case"atEnd":e=r+"$";break;case"atBeginningOrEnd":e="(^"+r+")|("+r+"$)";break;default:e=r}this._regex=new RegExp(e)},s.prototype.getRegex=function(){return null===this._regex&&this.createRegex(),this._regex},s.prototype.occursIn=function(e){return this.getRegex().test(e)},s.prototype.removeFrom=function(e){return e.replace(this._fragment," ")},s.prototype.getSyllables=function(){return this._syllables},t.default=s},39617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1105)),s=r(92819),i=o(r(15495)),a=o(r(58766));function o(e){return e&&e.__esModule?e:{default:e}}const l=(0,s.memoize)((function(e){let t=[];const r=e.deviations;return t=(0,s.flatMap)(r.words.fragments,(function(e,t){return(0,s.map)(e,(function(e){return e.location=t,new a.default(e)}))})),t})),u=function(e,t){let r=0;if(!(0,s.isUndefined)(t.deviations)&&!(0,s.isUndefined)(t.deviations.words)){if(!(0,s.isUndefined)(t.deviations.words.full)){const r=function(e,t){const r=t.deviations.words.full,n=(0,s.find)(r,(function(t){return t.word===e}));return(0,s.isUndefined)(n)?0:n.syllables}(e,t);if(0!==r)return r}if(!(0,s.isUndefined)(t.deviations.words.fragments)){const n=function(e,t){const r=l(t);let n=e,i=0;return(0,s.forEach)(r,(function(e){e.occursIn(n)&&(n=e.removeFrom(n),i+=e.getSyllables())})),{word:n,syllableCount:i}}(e,t);e=n.word,r+=n.syllableCount}}return r+=function(e,t){let r=0;return r+=function(e,t){let r=0;const n=new RegExp("[^"+t.vowels+"]","ig"),i=e.split(n);return r+=(0,s.filter)(i,(function(e){return""!==e})).length,r}(e,t),(0,s.isUndefined)(t.deviations)||(0,s.isUndefined)(t.deviations.vowels)||(r+=function(e,t){return new i.default(t).countSyllables(e)}(e,t)),r}(e,t),r};t.default=function(e,t){e=e.toLocaleLowerCase();const r=(0,n.default)(e),i=(0,s.map)(r,(function(e){return u(e,t)}));return(0,s.sum)(i)}},15495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(87743))&&n.__esModule?n:{default:n},i=r(92819);const a=function(e){this.countSteps=[],(0,i.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)};a.prototype.createSyllableCountSteps=function(e){(0,i.forEach)(e,function(e){this.countSteps.push(new s.default(e))}.bind(this))},a.prototype.getAvailableSyllableCountSteps=function(){return this.countSteps},a.prototype.countSyllables=function(e){let t=0;return(0,i.forEach)(this.countSteps,(function(r){t+=r.countSyllables(e)})),t},t.default=a},87743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(18072))&&n.__esModule?n:{default:n};const a=function(e){this._hasRegex=!1,this._regex="",this._multiplier="",this.createRegex(e)};a.prototype.hasRegex=function(){return this._hasRegex},a.prototype.createRegex=function(e){(0,s.isUndefined)(e)||(0,s.isUndefined)(e.fragments)||(this._hasRegex=!0,this._regex=(0,i.default)(e.fragments,!0),this._multiplier=e.countModifier)},a.prototype.getRegex=function(){return this._regex},a.prototype.countSyllables=function(e){return this._hasRegex?(e.match(this._regex)||[]).length*this._multiplier:0},t.default=a},85336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}},74169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)();for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arraysDifference=l,t.arraysOverlap=u,t.combinations=c,t.getIndicesOfCharacter=o,t.getIndicesOfWords=a,t.replaceTurkishIs=h,t.replaceTurkishIsMemoized=void 0;var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n};function a(e){const t=[],r=(0,i.default)(e);let n=0;return r.forEach((function(r){const s=e.indexOf(r,n);t.push(s),n=s+r.length})),t}function o(e,t){const r=[];if(e.indexOf(t)>-1)for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(t);for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(t);for(let t=r.length-1;t>=0;t--)e=e.replace(r[t].letter,r[t].alternative);return e};var n,s=(n=r(23324))&&n.__esModule?n:{default:n}},84159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[-_]/gi," ")}},20917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(8575))&&n.__esModule?n:{default:n};const i=/href=(["'])([^"']+)\1/i;function a(e){return e.split("#")[0]}function o(e){return e.split("?")[0]}function l(e){return e.replace(/\/$/,"")}function u(e){return l(e)+"/"}t.default={removeHash:a,removeQueryArgs:o,removeTrailingSlash:l,addTrailingSlash:u,getFromAnchorTag:function(e){const t=i.exec(e);return null===t?"":t[2]},areEqual:function(e,t){return e=o(a(e)),t=o(a(t)),u(e)===u(t)},getHostname:function(e){return(e=s.default.parse(e)).hostname},getProtocol:function(e){return s.default.parse(e).protocol},isInternalLink:function(e,t){const r=s.default.parse(e,!1,!0).hostname;return-1===e.indexOf("//")&&0===e.indexOf("/")||0!==e.indexOf("#")&&(!r||r===t||r===s.default.parse(t).hostname)},protocolIsHttpScheme:function(e){return!!e&&("http:"===e||"https:"===e)},isRelativeFragmentURL:function(e){return 0===e.indexOf("#")}}},28875:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",n=""){let s,i;return s="id"===n?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+r+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+r+"<>",i=t?"($|((?="+s+"]))|((['‘’‛`])("+s+"])))":"($|("+s+"])|((['‘’‛`])("+s+"])))","(^|"+s+"'‘’‛`])"+e+i}},11475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 0!==(0,s.filter)((0,i.default)(t),(function(t){return e.includes(t.toLocaleLowerCase())})).length};var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n}},40231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=t.length;return""!==e&&(r+=e.length+3),r}},33870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e).length};var n,s=(n=r(1105))&&n.__esModule?n:{default:n}},16431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(8737),s=r(33888);t.default=e=>{const t=[];return e.forEach((e=>{const r=[],i=[];for(;n.punctuationRegexStart.test(e)&&!s.hashedHtmlEntitiesRegexStart.test(e);)r.push(e[0]),e=e.slice(1);for(;n.punctuationRegexEnd.test(e)&&!s.hashedHtmlEntitiesRegexEnd.test(e);)i.unshift(e[e.length-1]),e=e.slice(0,-1);let a=[...r,e,...i];a=a.filter((e=>""!==e)),t.push(...a)})),t}},49325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=[]){return(0,n.filter)(e,(function(e){return!(0,n.includes)(t,e.trim().toLocaleLowerCase())}))};var n=r(92819)},89032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isEmpty)(e))return!1;const r=t.index+t.match.length,s=[];return(0,n.forEach)(e,(function(e){s.push(e.index)})),(0,n.includes)(s,r)};var n=r(92819)},60914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)(e).map((e=>e.tokens));let r=(0,s.flatMap)(t).map((e=>e.text));return r=r.map((e=>(0,i.default)(e))),r.filter((e=>""!==e.trim()))};var n=a(r(54241)),s=r(92819),i=a(r(8737));function a(e){return e&&e.__esModule?e:{default:e}}},1105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="\\s",r=!0){if(""===(e=(0,s.default)(e)))return[];const n=new RegExp(t,"g");let o=e.split(n);return o=r?o.map(a.default):(0,i.flatMap)(o,(e=>e.replace(l," $1 ").split(" "))),(0,i.filter)(o,(function(e){return""!==e.trim()}))};var n,s=(n=r(86697))&&n.__esModule?n:{default:n},i=r(92819),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(8737));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}const l=new RegExp(`([${a.punctuationRegexString}])`,"g")},9803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!0){const s=r?1:0;if((0,n.isEmpty)(e))return!1;const i=[];return(0,n.forEach)(e,(function(e){const t=e.index+e.match.length+s;i.push(t)})),(0,n.includes)(i,t)};var n=r(92819)},61403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterIndices=t.default=void 0,t.getIndicesByWord=o,t.sortIndices=t.getIndicesByWordListSorted=t.getIndicesByWordList=void 0;var n,s=r(92819),i=(n=r(47793))&&n.__esModule?n:{default:n},a=r(30043);function o(e,t){let r=0;const n=e.length;let s;const i=[];for(;(s=t.indexOf(e,r))>-1;){const o=(0,a.characterInBoundary)(t[s-1])||0===s,l=(0,a.characterInBoundary)(t[s+n])||t.length===s+n;o&&l&&i.push({index:s,match:e}),r=s+n}return i}const l=function(e,t){let r=[];return(0,s.forEach)(e,(function(e){e=(0,i.default)(e),(0,a.isWordInSentence)(e,t)&&(r=r.concat(o(e,t)))})),r};t.getIndicesByWordList=l;const u=function(e){return e.sort((function(e,t){return e.index-t.index}))};t.sortIndices=u;const c=function(e){e=u(e);const t=[];for(let r=0;rt.index?1:0})),r};t.getIndicesByWordListSorted=d,t.default={getIndicesByWord:o,getIndicesByWordList:l,filterIndices:c,sortIndices:u,getIndicesByWordListSorted:d}},48024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deConstructAnchor=t.collectMarkingsInSentence=void 0,t.markWordsInASentence=g,t.markWordsInSentences=function(e,t,r,s){let i=[],a=[];return t.forEach((function(t){i=(0,n.default)(t,e,r,s).matches,i.length>0&&(a=a.concat(g(t,i,s)))})),a},t.reConstructAnchor=void 0;var n=c(r(7407)),s=c(r(18072)),i=c(r(5262)),a=c(r(41054)),o=r(92819),l=c(r(30341)),u=r(37361);function c(e){return e&&e.__esModule?e:{default:e}}const d=/(]+>)([^]*?)(<\/a>)/,h=function(e){const[,t,r]=e.match(d);return{openTag:t,content:r}};t.deConstructAnchor=h;const p=function(e,t){return`${e}${t}
`};t.reConstructAnchor=p;const f=function(e,t,r){const n=[];t.forEach((e=>{const t=e.match(u.SINGLE_QUOTES_REGEX);t?u.SINGLE_QUOTES_ARRAY.forEach((r=>{t.forEach((t=>{n.push((0,o.escapeRegExp)(e.replace(new RegExp(t,"g"),r)))}))})):n.push((0,o.escapeRegExp)(e))}));const a=r?(0,s.default)(n,!0):(0,s.default)(n),{anchors:c,markedAnchors:d}=function(e,t){const r=(0,l.default)(e),n=r.map((e=>{const{openTag:r,content:n}=h(e),s=n.replace(t,(e=>(0,i.default)(e)));return p(r,s)}));return{anchors:r,markedAnchors:n}}(e,a);let f=e.replace(a,(function(e){return(0,i.default)(e)}));if(c.length>0){const e=(0,l.default)(f);for(let t=0;t ","ig")," ")};function g(e,t,r){return[new a.default({original:e,marked:f(e,t,r)})]}t.collectMarkingsInSentence=f},30043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWordInSentence=t.default=t.characterInBoundary=void 0;var n=a(r(35468)),s=r(92819),i=a(r(28875));function a(e){return e&&e.__esModule?e:{default:e}}const o=(0,n.default)(),l=function(e){return(0,s.includes)(o,e)};t.characterInBoundary=l;const u=function(e,t){e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase();const r=(0,i.default)((0,s.escapeRegExp)(e));let n=t.search(new RegExp(r,"ig"));if(-1===n)return!1;n>0&&(n+=1);const a=n+e.length,o=l(t[n-1])||0===n,u=l(t[a])||a===t.length;return o&&u};t.isWordInSentence=u,t.default={characterInBoundary:l,isWordInSentence:u}},7337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(16431))&&n.__esModule?n:{default:n};const i=/([\s\t\u00A0\u2013\u2014\u002d[\]]|#nbsp;)/;t.default=e=>{if(!e)return[];const t=e.split(i).filter((e=>""!==e));return(0,s.default)(t)}},58677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbstractResearcher",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"areWordsInSentence",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"baseStemmer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"buildFormRule",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"collectMarkingsInSentence",{enumerable:!0,get:function(){return G.collectMarkingsInSentence}}),Object.defineProperty(t,"countMetaDescriptionLength",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"createRegexFromArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createRulesFromArrays",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"createSingleRuleFromArray",{enumerable:!0,get:function(){return f.createSingleRuleFromArray}}),Object.defineProperty(t,"directPrecedenceException",{enumerable:!0,get:function(){return m.default}}),t.exceptionListHelpers=void 0,Object.defineProperty(t,"findMatchingEndingInArray",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"findWordFormsInString",{enumerable:!0,get:function(){return B.findWordFormsInString}}),Object.defineProperty(t,"flattenSortLength",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"getClauses",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"getClausesSplitOnStopWords",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"getFieldsToMark",{enumerable:!0,get:function(){return M.getFieldsToMark}}),Object.defineProperty(t,"getLanguage",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"getSentences",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"getWords",{enumerable:!0,get:function(){return u.default}}),t.helpers=void 0,Object.defineProperty(t,"imageInText",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"indices",{enumerable:!0,get:function(){return h.default}}),t.languageHelpers=t.languageConfigs=void 0,Object.defineProperty(t,"markWordsInSentences",{enumerable:!0,get:function(){return G.markWordsInSentences}}),Object.defineProperty(t,"matchRegularParticiples",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"mergeListItems",{enumerable:!0,get:function(){return U.mergeListItems}}),Object.defineProperty(t,"nonDirectPrecedenceException",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"normalizeHTML",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"normalizeSingle",{enumerable:!0,get:function(){return x.normalizeSingle}}),Object.defineProperty(t,"parseSynonyms",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"precedenceException",{enumerable:!0,get:function(){return _.default}}),t.regexHelpers=void 0,Object.defineProperty(t,"removePunctuation",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"replaceDiacritics",{enumerable:!0,get:function(){return n.default}}),t.researches=void 0,Object.defineProperty(t,"sanitizeString",{enumerable:!0,get:function(){return N.default}}),t.stemHelpers=void 0,Object.defineProperty(t,"stripBlockTagsAtStartEnd",{enumerable:!0,get:function(){return C.stripBlockTagsAtStartEnd}}),Object.defineProperty(t,"stripHTMLTags",{enumerable:!0,get:function(){return C.stripFullTags}}),Object.defineProperty(t,"stripSpaces",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"transliterate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"unifyAllSpaces",{enumerable:!0,get:function(){return D.unifyAllSpaces}}),t.values=void 0;var n=Z(r(74169)),s=Z(r(36064)),i=Z(r(18072)),a=Z(r(61440)),o=Z(r(47793)),l=Z(r(42992)),u=Z(r(1105)),c=Z(r(67986)),d=Z(r(44949)),h=Z(r(61403)),p=Z(r(19605)),f=J(r(53371)),g=Z(r(2329)),m=Z(r(23107)),_=Z(r(14456)),y=Z(r(95580)),E=Z(r(30259)),T=J(r(64396));t.regexHelpers=T;var A=J(r(74252));t.exceptionListHelpers=A;var v=J(r(74694));t.stemHelpers=v;var b=J(r(62390));t.values=b;var S=Z(r(11475)),I=Z(r(43527)),O=Z(r(80053)),C=r(62240),N=Z(r(86697)),D=r(81831),w=Z(r(8737)),P=Z(r(88567)),R=Z(r(40231)),k=Z(r(67404)),L=Z(r(9862)),M=r(29368),x=r(37361),F=Z(r(73481)),U=r(10840),B=r(36478),G=r(48024),H=J(r(29866));t.helpers=H;var j=J(r(42299));t.researches=j;var $=Z(r(46882)),W=Z(r(60645)),q=Z(r(66676)),V=Z(r(8920)),Y=Z(r(92518)),z=Z(r(24081)),K=Z(r(45072)),Q=Z(r(20712));function X(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(X=function(e){return e?r:t})(e)}function J(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=X(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function Z(e){return e&&e.__esModule?e:{default:e}}t.languageHelpers={wordComplexityHelperEnglish:$.default,wordComplexityHelperGerman:W.default,wordComplexityHelperSpanish:q.default,wordComplexityHelperFrench:V.default},t.languageConfigs={wordComplexityConfigEnglish:Y.default,wordComplexityConfigGerman:z.default,wordComplexityConfigSpanish:K.default,wordComplexityConfigFrench:Q.default}},24081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:10}},60645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const s=e.wordLength,i=n.frequencyList.list;return!((t=t.toLowerCase()).length<=s)&&(!i.includes(t)&&(!r.test(t)||(t=t.replace(r,""),!i.includes(t))))};const r=new RegExp("(en|e|s)$")},31946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."]},89456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonNouns=t.filteredAtEnding=t.filteredAtBeginningAndEnding=t.filteredAnywhere=t.default=t.cannotDirectlyPrecedePassiveParticiple=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=t.all=void 0;var n,s=r(64998),i=r(27350),a=(n=r(85336))&&n.__esModule?n:{default:n};const o=["the","an","a"],l=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty","hundred","hundreds","thousand","thousands","million","millions","billion","billions"],u=["first","second","third","fourth","fifth","sixth","seventh","eighth","ninth","tenth","eleventh","twelfth","thirteenth","fourteenth","fifteenth","sixteenth","seventeenth","eighteenth","nineteenth","twentieth"],c=["i","you","he","she","it","we","they"],d=["me","him","us","them"],h=["this","that","these","those"],p=["my","your","his","her","its","their","our","mine","yours","hers","theirs","ours"],f=["all","some","many","lot","lots","ton","tons","bit","no","every","enough","little","much","more","most","plenty","several","few","fewer","kind","kinds"],g=["myself","yourself","himself","herself","itself","oneself","ourselves","yourselves","themselves"],m=["none","nobody","everyone","everybody","someone","somebody","anyone","anybody","nothing","everything","something","anything","each","other","whatever","whichever","whoever","whomever","whomsoever","whosoever","others","neither","both","either","any","such"],_=["one's","nobody's","everyone's","everybody's","someone's","somebody's","anyone's","anybody's","nothing's","everything's","something's","anything's","whoever's","others'","other's","another's","neither's","either's"],y=["which","what","whose"],E=["who","whom"],T=["where","how","why","whether","wherever","whyever","wheresoever","whensoever","howsoever","whysoever","whatsoever","whereso","whomso","whenso","howso","whyso","whoso","whatso"],A=["therefor","therein","hereby","hereto","wherein","therewith","herewith","wherewith","thereby"],v=["there","here","whither","thither","hither","whence","thence"],b=["always","once","twice","thrice"],S=["can","cannot","can't","could","couldn't","could've","dare","dares","dared","do","don't","does","doesn't","did","didn't","done","have","haven't","had","hadn't","has","hasn't","i've","you've","we've","they've","i'd","you'd","he'd","she'd","it'd","we'd","they'd","would","wouldn't","would've","may","might","must","need","needn't","needs","ought","shall","shalln't","shan't","should","shouldn't","will","won't","i'll","you'll","he'll","she'll","it'll","we'll","they'll","there's","there're","there'll","here's","here're","there'll"],I=["appear","appears","appeared","become","becomes","became","come","comes","came","keep","keeps","kept","remain","remains","remained","stay","stays","stayed","turn","turns","turned"],O=["doing","daring","having","appearing","becoming","coming","keeping","remaining","staying","saying","asking","stating","seeming","letting","making","setting","showing","putting","adding","going","using","trying","containing"],C=["in","from","with","under","throughout","atop","for","on","of","to","aboard","about","above","abreast","absent","across","adjacent","after","against","along","alongside","amid","mid","among","apropos","apud","around","as","astride","at","ontop","afore","tofore","behind","ahind","below","ablow","beneath","neath","beside","between","atween","beyond","ayond","by","chez","circa","spite","down","except","into","less","like","minus","near","nearer","nearest","anear","notwithstanding","off","onto","opposite","out","outen","over","past","per","pre","qua","sans","sithence","through","thru","truout","toward","underneath","up","upon","upside","versus","via","vis-à-vis","without","ago","apart","aside","aslant","away","withal","towards","amidst","amongst","midst","whilst"],N=["back","within","forward","backward","ahead"],D=["and","or","and/or","yet"],w=["sooner","just","only"],P=["if","even"],R=["say","says","said","claimed","ask","asks","asked","stated","explain","explains","explained","think","thinks","talks","talked","announces","announced","tells","told","discusses","discussed","suggests","suggested","understands","understood"],k=["again","definitely","eternally","expressively","instead","expressly","immediately","including","instantly","namely","naturally","next","notably","now","nowadays","ordinarily","positively","truly","ultimately","uniquely","usually","almost","maybe","probably","granted","initially","too","actually","already","e.g","i.e","often","regularly","simply","optionally","perhaps","sometimes","likely","never","ever","else","inasmuch","provided","currently","incidentally","elsewhere","particular","recently","relatively","f.i","clearly","apparently"],L=["highly","very","really","extremely","absolutely","completely","totally","utterly","quite","somewhat","seriously","fairly","fully","amazingly"],M=["seem","seems","seemed","let","let's","lets","make","makes","made","want","showed","shown","go","goes","went","gone","take","takes","took","taken","put","puts","use","used","try","tries","tried","mean","means","meant","called","based","add","adds","added","contain","contains","contained","consist","consists","consisted","ensure","ensures","ensured"],x=["new","newer","newest","old","older","oldest","previous","good","well","better","best","big","bigger","biggest","easy","easier","easiest","fast","faster","fastest","far","hard","harder","hardest","least","own","large","larger","largest","long","longer","longest","low","lower","lowest","high","higher","highest","regular","simple","simpler","simplest","small","smaller","smallest","tiny","tinier","tiniest","short","shorter","shortest","main","actual","nice","nicer","nicest","real","same","able","certain","usual","so-called","mainly","mostly","recent","anymore","complete","lately","possible","commonly","constantly","continually","directly","easily","nearly","slightly","somewhere","estimated","latest","different","similar","widely","bad","worse","worst","great","specific","available","average","awful","awesome","basic","beautiful","busy","current","entire","everywhere","important","major","multiple","normal","necessary","obvious","partly","special","last","early","earlier","earliest","young","younger","youngest"],F=["oh","wow","tut-tut","tsk-tsk","ugh","whew","phew","yeah","yea","shh","oops","ouch","aha","yikes"],U=["tbs","tbsp","spk","lb","qt","pk","bu","oz","pt","mod","doz","hr","f.g","ml","dl","cl","l","mg","g","kg","quart"],B=["seconds","minute","minutes","hour","hours","day","days","week","weeks","month","months","year","years","today","tomorrow","yesterday"],G=["thing","things","way","ways","matter","case","likelihood","ones","piece","pieces","stuff","times","part","parts","percent","instance","instances","aspect","aspects","item","items","idea","theme","person","instance","instances","detail","details","factor","factors","difference","differences"],H=["not","yes","sure","top","bottom","ok","okay","amen","aka","etc","etcetera","sorry","please"],j=["jr","sr"],$=t.filteredAtEnding=(0,a.default)([].concat(u,O,x)),W=t.filteredAtBeginningAndEnding=(0,a.default)([].concat(o,C,D,h,L,f,p)),q=t.filteredAnywhere=(0,a.default)([].concat(i.singleWords,b,c,d,g,F,l,s.filteredAuxiliaries,S,I,R,M,m,w,P,y,E,T,v,H,N,A,U,B,G)),V=t.cannotDirectlyPrecedePassiveParticiple=(0,a.default)([].concat(o,C,h,p,u,O,f)),Y=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=(0,a.default)([].concat(S,I,R,M)),z=(t.nonNouns=(0,a.default)([].concat(o,l,u,h,p,g,c,d,f,m,O,_,y,E,T,A,v,b,N,s.filteredAuxiliaries,s.notFilteredAuxiliaries,S,I,C,D,w,P,R,i.singleWords,k,L,M,F,x,U,H,j)),t.all=(0,a.default)([].concat(o,l,u,h,p,g,c,d,f,m,O,_,y,E,T,A,v,b,N,s.filteredAuxiliaries,s.notFilteredAuxiliaries,S,I,C,D,w,P,R,i.singleWords,k,L,M,F,x,U,G,H,B,["ms","mss","mrs","mr","dr","prof"],j)));t.default={filteredAtEnding:$,filteredAtBeginningAndEnding:W,filteredAnywhere:q,cannotDirectlyPrecedePassiveParticiple:V,cannotBeBetweenPassiveAuxiliaryAndParticiple:Y,all:z}},64998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notFilteredAuxiliaries=t.filteredAuxiliaries=t.default=t.all=void 0;const r=t.filteredAuxiliaries=["am","is","are","was","were","been","get","gets","got","gotten","be","she's","he's","it's","i'm","we're","they're","you're","that's","isn't","weren't","wasn't","aren't"],n=t.notFilteredAuxiliaries=["being","getting","having","what's"],s=t.all=r.concat(n);t.default=s},89597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["arisen","awoken","reawoken","babysat","backslid","backslidden","beat","beaten","become","begun","bent","unbent","bet","bid","outbid","rebid","underbid","overbid","bidden","bitten","blown","bought","overbought","bound","unbound","rebound","broadcast","rebroadcast","broken","brought","browbeat","browbeaten","built","prebuilt","rebuilt","overbuilt","burnt","burst","bust","cast","miscast","recast","caught","chosen","clung","come","overcome","cost","crept","cut","undercut","recut","daydreamt","dealt","misdealt","redealt","disproven","done","predone","outdone","misdone","redone","overdone","undone","drawn","outdrawn","redrawn","overdrawn","dreamt","driven","outdriven","drunk","outdrunk","overdrunk","dug","dwelt","eaten","overeaten","fallen","felt","fit","refit","retrofit","flown","outflown","flung","forbidden","forecast","foregone","foreseen","foretold","forgiven","forgotten","forsaken","fought","outfought","found","frostbitten","frozen","unfrozen","given","gone","undergone","gotten","ground","reground","grown","outgrown","regrown","had","handwritten","heard","reheard","misheard","overheard","held","hewn","hidden","unhidden","hit","hung","rehung","overhung","unhung","hurt","inlaid","input","interwound","interwoven","jerry-built","kept","knelt","knit","reknit","unknit","known","laid","mislaid","relaid","overlaid","lain","underlain","leant","leapt","outleapt","learnt","unlearnt","relearnt","mislearnt","left","lent","let","lip-read","lit","relit","lost","made","premade","remade","meant","met","mown","offset","paid","prepaid","repaid","overpaid","partaken","proofread","proven","put","quick-frozen","quit","read","misread","reread","retread","rewaken","rid","ridden","outridden","overridden","risen","roughcast","run","outrun","rerun","overrun","rung","said","sand-cast","sat","outsat","sawn","seen","overseen","sent","resent","set","preset","reset","misset","sewn","resewn","oversewn","unsewn","shaken","shat","shaven","shit","shone","outshone","shorn","shot","outshot","overshot","shown","shrunk","preshrunk","shut","sight-read","slain","slept","outslept","overslept","slid","slit","slung","unslung","slunk","smelt","outsmelt","snuck","sold","undersold","presold","outsold","resold","oversold","sought","sown","spat","spelt","misspelt","spent","underspent","outspent","misspent","overspent","spilt","overspilt","spit","split","spoilt","spoken","outspoken","misspoken","overspoken","spread","sprung","spun","unspun","stolen","stood","understood","misunderstood","strewn","stricken","stridden","striven","struck","strung","unstrung","stuck","unstuck","stung","stunk","sublet","sunburnt","sung","outsung","sunk","sweat","swept","swollen","sworn","outsworn","swum","outswum","swung","taken","undertaken","mistaken","retaken","overtaken","taught","mistaught","retaught","telecast","test-driven","test-flown","thought","outthought","rethought","overthought","thrown","outthrown","overthrown","thrust","told","retold","torn","retorn","trod","trodden","typecast","typeset","upheld","upset","waylaid","wept","wet","rewet","withdrawn","withheld","withstood","woken","won","rewon","worn","reworn","wound","rewound","overwound","unwound","woven","rewoven","unwoven","written","typewritten","underwritten","outwritten","miswritten","rewritten","overwritten","wrung"]},74016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regularParticiplesRegex=void 0,t.regularParticiplesRegex=/\w+ed($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi},27350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.singleWords=t.multipleWords=t.default=t.allWords=void 0;const r=t.singleWords=["accordingly","additionally","afterward","afterwards","albeit","also","although","altogether","another","basically","because","before","besides","but","certainly","chiefly","comparatively","concurrently","consequently","contrarily","conversely","correspondingly","despite","doubtedly","during","e.g.","earlier","emphatically","equally","especially","eventually","evidently","explicitly","finally","firstly","following","formerly","forthwith","fourthly","further","furthermore","generally","hence","henceforth","however","i.e.","identically","indeed","initially","instead","last","lastly","later","lest","likewise","markedly","meanwhile","moreover","nevertheless","nonetheless","nor","notwithstanding","obviously","occasionally","otherwise","overall","particularly","presently","previously","rather","regardless","secondly","shortly","significantly","similarly","simultaneously","since","so","soon","specifically","still","straightaway","subsequently","surely","surprisingly","than","then","thereafter","therefore","thereupon","thirdly","though","thus","till","undeniably","undoubtedly","unless","unlike","unquestionably","until","when","whenever","whereas","while"],n=t.multipleWords=["above all","after all","after that","all in all","all of a sudden","all things considered","analogous to","although this may be true","analogous to","another key point","as a matter of fact","as a result","as an illustration","as can be seen","as has been noted","as I have noted","as I have said","as I have shown","as long as","as much as","as opposed to","as shown above","as soon as","as well as","at any rate","at first","at last","at least","at length","at the present time","at the same time","at this instant","at this point","at this time","balanced against","being that","by all means","by and large","by comparison","by the same token","by the time","compared to","be that as it may","coupled with","different from","due to","equally important","even if","even more","even so","even though","first thing to remember","for example","for fear that","for instance","for one thing","for that reason","for the most part","for the purpose of","for the same reason","for this purpose","for this reason","from time to time","given that","given these points","important to realize","in a word","in addition","in another case","in any case","in any event","in brief","in case","in conclusion","in contrast","in detail","in due time","in effect","in either case","in essence","in fact","in general","in light of","in like fashion","in like manner","in order that","in order to","in other words","in particular","in reality","in short","in similar fashion","in spite of","in sum","in summary","in that case","in the event that","in the final analysis","in the first place","in the fourth place","in the hope that","in the light of","in the long run","in the meantime","in the same fashion","in the same way","in the second place","in the third place","in this case","in this situation","in time","in truth","in view of","inasmuch as","most compelling evidence","most important","must be remembered","not only","not to mention","note that","now that","of course","on account of","on balance","on condition that","on one hand","on the condition that","on the contrary","on the negative side","on the other hand","on the positive side","on the whole","on this occasion","once","once in a while","only if","owing to","point often overlooked","prior to","provided that","seeing that","so as to","so far","so long as","so that","sooner or later","such as","summing up","take the case of","that is","that is to say","then again","this time","to be sure","to begin with","to clarify","to conclude","to demonstrate","to emphasize","to enumerate","to explain","to illustrate","to list","to point out","to put it another way","to put it differently","to repeat","to rephrase it","to say nothing of","to sum up","to summarize","to that end","to the end that","to this end","together with","under those circumstances","until now","up against","up to the present time","vis a vis","what's more","while it may be true","while this may be true","with attention to","with the result that","with this in mind","with this intention","with this purpose in mind","without a doubt","without delay","without doubt","without reservation"],s=t.allWords=r.concat(n);t.default=s},92518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7,doesUpperCaseDecreaseComplexity:!0}},46882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list,o=e.doesUpperCaseDecreaseComplexity;if(t.length<=i)return!1;if(o&&t[0].toLowerCase()!==t[0])return!1;if(a.includes(t))return!1;if(r){const e=(0,n.default)(t,(0,s.default)(r.nouns.regexNoun.singularize));return!a.includes(e)}return!0};var n=i(r(19605)),s=i(r(53371));function i(e){return e&&e.__esModule?e:{default:e}}},45072:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7}},66676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i){const a=e.wordLength,o=i.frequencyList.list;return!(t.length<=a)&&(t[0].toLowerCase()===t[0]&&(!o.includes(t)&&(n.test(t)?(t=t.replace(s,""),!o.includes(t)):!r.test(t)||(t=t.replace(s,""),!o.includes(t)))))};const r=new RegExp("[aeiuoyáéíóúñ](s)$"),n=new RegExp("[bcdfghjklmnpqrstvwxzñ](es)$"),s=new RegExp("(s|es)$")},20712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:9}},8920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list;if(t=(0,n.normalizeSingle)(t),s.test(t)&&(t=t.replace(s,"")),t.length<=i)return!1;if(a.includes(t))return!1;if(t[0].toLowerCase()===t[0]){const e=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithSplural),n=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithXplural),s=r.suffixGroupsComplexity.irregularPluralSingularSuffixes,i=new RegExp(s[0]);return e.test(t)||n.test(t)?t=t.substring(0,t.length-1):i.test(t)&&(t=t.replace(i,s[1])),!a.includes(t)}return!1};var n=r(37361);const s=new RegExp("^(c'|d'|l'|s')")},49581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={recommendedMaximumLength:60,maximumLength:80}},40027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,a.default)(e),n=t.getResearch("morphology"),s=t.getHelper("matchWordCustomHelper");return l(r,n,e.getLocale(),s)};var n=o(r(15770)),s=r(36478),i=r(92819),a=o(r(92017));function o(e){return e&&e.__esModule?e:{default:e}}const l=function(e,t,r,a){const o={noAlt:0,withAlt:0,withAltKeyword:0,withAltNonKeyword:0};return e.forEach((e=>{const l=(0,n.default)(e);""!==l?(0,i.isEmpty)(t.keyphraseForms)?o.withAlt++:(0,s.findTopicFormsInString)(t,l,!0,r,a).percentWordMatches>=50?o.withAltKeyword++:o.withAltNonKeyword++:o.noAlt++})),o}},99447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let o=e.getText();o=(0,i.default)(o),o=(0,a.filterShortcodesFromHTML)(o,e._attributes&&e._attributes.shortcodes);const l=(0,n.default)(o,r);return(0,s.default)(l,t)};var n=o(r(9862)),s=o(r(91916)),i=o(r(96908)),a=r(29866);function o(e){return e&&e.__esModule?e:{default:e}}},14117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=c(r(75118)),i=r(36478),a=r(66382),o=c(r(83927)),l=c(r(1105)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}let d=[];const h=function(e,t){return 0===t||0===d.length?t:function(e){e=e.toLocaleLowerCase();let t=(0,l.default)(e.toLocaleLowerCase(),u.WORD_BOUNDARY_WITH_HYPHEN);return t=(0,n.filter)(t,(function(e){return!(0,n.includes)(d,e.trim().toLocaleLowerCase())})),(0,n.isEmpty)(t)}(e.substring(0,t))?0:t};t.default=function(e,t){d=t.getConfig("functionWords");let r=(0,n.escapeRegExp)(e.getKeyword());const l=e.getTitle(),u=e.getLocale();let c={exactMatchFound:!1,allWordsFound:!1,position:-1,exactMatchKeyphrase:!1};const p=(0,o.default)(r);p.exactMatchRequested&&(r=p.keyphrase,c.exactMatchKeyphrase=!0);const f=t.getConfig("prefixedFunctionWordsRegex"),g=(0,s.default)(l,r,u,!1);return g.count>0&&!f?(c.exactMatchFound=!0,c.allWordsFound=!0,c.position=h(l,g.position),c):(c=function(e,t,r,o,l){const u=e.getTitle(),c=e.getLocale(),d=t.getResearch("morphology"),p=(0,i.findTopicFormsInString)(d,u,!1,c,!1);if(100===p.percentWordMatches){if(l){const{exactMatchFound:e,position:t}=function(e,t,r,i,o,l){let u=[];e.matches.forEach((e=>{const{prefix:t}=(0,a.stemPrefixedFunctionWords)(e,i);u.push(t)}));const c=t.split(" ");let d=[];u=(0,n.uniq)(u.concat([""]));const p=[];return c.forEach((e=>{p.push(u.map((t=>t+e)))})),d=function(...e){return e.reduce(((e,t)=>e.flatMap((e=>t.map((t=>[e,t].flat()))))))}(...p),d=d.map((e=>Array.isArray(e)?e.join(" "):e)),d.forEach((e=>{const t=(0,s.default)(o,e,l,!1);t.count>0&&(r.exactMatchFound=!0,r.position=h(o,t.position))})),0===e.position&&(r.position=0),r}(p,r,o,l,u,c);o={...o,exactMatchFound:e,position:t}}o.allWordsFound=!0}return o}(e,t,r,c,f),c)}},86232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("getParagraphs")[0],i=t.getResearch("morphology"),a=t.getHelper("matchWordCustomHelper"),o=e.getLocale(),l={foundInOneSentence:!1,foundInParagraph:!1,keyphraseOrSynonym:""};if((0,s.isEmpty)(r))return l;const u=r.sentences.map((e=>e.text));if(!(0,s.isEmpty)(u)){const e=u.map((e=>(0,n.findTopicFormsInString)(i,e,!0,o,a))).find((e=>100===e.percentWordMatches));if(e)return l.foundInOneSentence=!0,l.foundInParagraph=!0,l.keyphraseOrSynonym=e.keyphraseOrSynonym,l;const t=(0,n.findTopicFormsInString)(i,r.innerText(),!0,o,a);if(100===t.percentWordMatches)return l.foundInParagraph=!0,l.keyphraseOrSynonym=t.keyphraseOrSynonym,l}return l};var n=r(36478),s=r(92819)},69564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("matchTransitionWordsHelper"),n=t.getConfig("transitionWords"),i=t.getConfig("twoPartTransitionWords"),a=t.getHelper("memoizedTokenizer");let l=e.getText();l=(0,o.default)(l),l=(0,u.filterShortcodesFromHTML)(l,e._attributes&&e._attributes.shortcodes);const c=(0,s.default)(l,a),d=p(c,n,i,r);return{totalSentences:c.length,sentenceResults:d,transitionWordSentences:d.length}};var n=c(r(55508)),s=c(r(9862)),i=r(37361),a=r(30043),o=c(r(96908)),l=r(92819),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}let d=null,h="";const p=function(e,t,r,s){const o=[];return e.forEach((e=>{if(r){const t=function(e,t){e=(0,i.normalizeSingle)(e);const r=function(e){const t=(0,l.flattenDeep)(e).join("");return h===t&&null!==d||(h=t,d=(0,n.default)(e)),d}(t);return e.match(r)}(e,r);if(null!==t)return void o.push({sentence:e,transitionWords:t})}const u=s?s(e,t):function(e,t){return e=(0,i.normalizeSingle)(e),t.filter((t=>(0,a.isWordInSentence)(t,e)))}(e,t);0!==u.length&&o.push({sentence:e,transitionWords:u})})),o}},3479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("getWordsCustomHelper"),l=e.getKeyword();if((0,i.default)(l).exactMatchRequested)return!1;let u=o?o(l):(0,s.default)(l,a.WORD_BOUNDARY_WITH_HYPHEN);return u=(0,n.filter)(u,(function(e){return!(0,n.includes)(r,e.trim().toLocaleLowerCase())})),(0,n.isEmpty)(u)};var n=r(92819),s=o(r(1105)),i=o(r(83927)),a=r(10152);function o(e){return e&&e.__esModule?e:{default:e}}},63216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){p=t.getConfig("functionWords");const r=t.getConfig("areHyphensWordBoundaries"),h={anchorsWithKeyphrase:[],anchorsWithKeyphraseCount:0};if(""===e.getText())return h;const f=e.getKeyword();if(""===f)return h;const g=(0,l.default)(e.getSynonyms());g.push(f);let m=e.getTree().findAll((e=>"a"===e.name));if(m=function(e,t){const r=e.map((function(e){const r=e.attributes.href;return!!r&&function(e,t){return Boolean(c.default.areEqual(e,t)||c.default.isRelativeFragmentURL(e))}(r,t)}));return e.filter(((e,t)=>!r[t]))}(m,e.getPermalink()),0===m.length)return h;const _=e.getLocale(),y=t.getResearch("morphology"),E={matchWordCustomHelper:t.getHelper("matchWordCustomHelper"),getWordsCustomHelper:t.getHelper("getWordsCustomHelper")};if(m=function(e,t,r,n){const s=e.map((function(e){const s=e.innerText();return 100===(0,i.findTopicFormsInString)(t,s,!0,r,n).percentWordMatches}));return e.filter(((e,t)=>s[t]))}(m,y,_,E.matchWordCustomHelper),0===m.length)return h;return m=function(e,t,r,i,l,u){const c=i.matchWordCustomHelper,h=i.getWordsCustomHelper,f=[(0,n.flatten)(t.keyphraseForms)];t.synonymsForms.forEach((e=>f.push((0,n.flatten)(e))));const g=[];return e.forEach((function(e){const t=e.innerText();let i;i=h?(0,n.uniq)(h(t)):u?(0,n.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITH_HYPHEN)):(0,n.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITHOUT_HYPHEN));const m=(0,s.default)(i,p);m.length>0&&(i=m),l.forEach((e=>{e.exactMatchRequested&&i.every((t=>e.keyphrase.includes(t)))&&g.push(!0)}));for(let e=0;e(0,o.default)(e,t,r,c).count>0))){g.push(!0);break}}})),e.filter(((e,t)=>g[t]))}(m,y,_,E,g.map((e=>(0,u.default)(e))),r),{anchorsWithKeyphrase:m,anchorsWithKeyphraseCount:m.length}};var n=r(92819),s=h(r(49325)),i=r(36478),a=h(r(1105)),o=h(r(7407)),l=h(r(73481)),u=h(r(83927)),c=h(r(20917)),d=r(10152);function h(e){return e&&e.__esModule?e:{default:e}}let p=[]},82163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DIFFICULTY=void 0,t.default=function(e,t){const r=t.getConfig("syllables"),l=t.getHelper("memoizedTokenizer"),d=function(e){return e.getConfig("fleschReadingEaseScores")||{borders:{veryEasy:90,easy:80,fairlyEasy:70,okay:60,fairlyDifficult:50,difficult:30,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}}}(t);let h=e.getText();if(""===h)return{score:-1,difficulty:c.NO_DATA};h=(0,n.default)(h);const p=(0,s.default)(h,l),f=(0,i.default)(h);if(p<1||f<=10)return{score:-1,difficulty:c.NO_DATA};const g=(0,a.default)(h,r),m={numberOfSentences:p,numberOfWords:f,numberOfSyllables:g,averageWordsPerSentence:u(f,p),syllablesPer100Words:g*(100/f)},_=t.getHelper("fleschReadingScore"),y=(0,o.clamp)(_(m),0,100),E=function(e,t){return e>=t.borders.veryEasy?c.VERY_EASY:(0,o.inRange)(e,t.borders.easy,t.borders.veryEasy)?c.EASY:(0,o.inRange)(e,t.borders.fairlyEasy,t.borders.easy)?c.FAIRLY_EASY:(0,o.inRange)(e,t.borders.okay,t.borders.fairlyEasy)?c.OKAY:(0,o.inRange)(e,t.borders.fairlyDifficult,t.borders.okay)?c.FAIRLY_DIFFICULT:(0,o.inRange)(e,t.borders.difficult,t.borders.fairlyDifficult)?c.DIFFICULT:c.VERY_DIFFICULT}(y,d);return{score:y,difficulty:E}};var n=l(r(86812)),s=l(r(55473)),i=l(r(33870)),a=l(r(39617)),o=r(92819);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){return e/t},c=t.DIFFICULTY={NO_DATA:-1,VERY_EASY:0,EASY:1,FAIRLY_EASY:2,OKAY:3,FAIRLY_DIFFICULT:4,DIFFICULT:5,VERY_DIFFICULT:6}},78160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.getKeywordDensity=function(e,t){return console.warn("This function is deprecated, use getKeyphraseDensity instead."),i(e,t)};var n,s=(n=r(60914))&&n.__esModule?n:{default:n};function i(e,t){const r=t.getHelper("getWordsCustomHelper");let n=0;return n=r?r(e.getText()).length:(0,s.default)(e).length,0===n?0:t.getResearch("getKeyphraseCount").count/n*100}},45095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e.getText()),r=e.getPermalink(),a={total:t.length,internalTotal:0,internalDofollow:0,internalNofollow:0,externalTotal:0,externalDofollow:0,externalNofollow:0,otherTotal:0,otherDofollow:0,otherNofollow:0};for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)(e.getText());return(0,s.map)(t,i.default.getFromAnchorTag)};var n=a(r(30341)),s=r(92819),i=a(r(20917));function a(e){return e&&e.__esModule?e:{default:e}}},37228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getText();t=(0,s.default)(t),t=(0,o.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes);const r=(0,i.default)(t,c),a=(0,i.default)(t,d),l=h(r,"paragraph"),u=h(a,"heading");return(0,n.flatten)(l.concat(u))};var n=r(92819),s=l(r(96908)),i=l(r(13617)),a=l(r(86697)),o=r(24533);function l(e){return e&&e.__esModule?e:{default:e}}const u=/class=["'].*?has-text-align-center.*?["']/i,c=/]+)?>(.*?)<\/p>/gi,d=/]+)?>(.*?)<\/h\1>/gi;function h(e,t){return e.filter((e=>u.test(e)&&(0,a.default)(e).length>50)).map((e=>({text:e,elementType:t})))}},72619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,l.default)(r),r=(0,u.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes),r=r.replace(n.imageRegex,""),r=(0,s.default)(r);const c=(0,a.default)(r),d=[],h=t.getHelper("customCountLength");return c.map((function(e){d.push({countLength:h?h(e):(0,i.default)(e),text:e})})),(0,o.filter)(d,(function(e){return e.countLength>0}))};var n=r(61440),s=c(r(65510)),i=c(r(33870)),a=c(r(62932)),o=r(92819),l=c(r(96908)),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}},41564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getTree().findAll((e=>"p"===e.name));return t=(0,n.reject)(t,(e=>0===e.sentences.length)),t=(0,n.reject)(t,(e=>e.childNodes.every((e=>"a"===e.name)))),t};var n=r(92819)},52364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("passiveConstructionType");return"periphrastic"===r?d(e,t):"morphological"===r?c(e,t):h(e,t)},t.getPeriphrasticPassives=t.getMorphologicalPassives=void 0;var n=u(r(9862)),s=r(62240),i=u(r(18812)),a=r(92819),o=u(r(96908)),l=r(29866);function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t){const r=t.getHelper("isPassiveSentence");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,n.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,p=[];return(0,a.forEach)(d,(function(e){const t=(0,s.stripFullTags)(e.getSentenceText()).toLocaleLowerCase();e.setPassive(r(t)),!0===e.isPassive()&&p.push(e.getSentenceText())})),{total:h,passives:p}};t.getMorphologicalPassives=c;const d=function(e,t){const r=t.getHelper("getClauses");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,n.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,p=[];return(0,a.forEach)(d,(function(e){const t=(0,s.stripFullTags)(e.getSentenceText()).toLocaleLowerCase(),n=r(t);e.setClauses(n),e.isPassive()&&p.push(e.getSentenceText())})),{total:h,passives:p}};t.getPeriphrasticPassives=d;const h=function(e,t){const r=c(e,t),n=d(e,t).passives;return{total:r.total,passives:n.concat(r.passives)}}},18807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=r(85683),i=o(r(85476)),a=o(r(32879));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("customGetStemmer"),l=o?o(t):t.getHelper("getStemmer")(t),u=t.getHelper("getWordsCustomHelper");let c=e.getText();c=(0,i.default)(c),c=(0,a.default)(c);const d=u?[]:(0,s.retrieveAbbreviations)(c),h=(0,s.getProminentWords)(c,d,l,r,u),p=(0,s.collapseProminentWordsOnStem)(h);return(0,s.sortProminentWords)(p),(0,n.take)((0,s.filterProminentWords)(p,5),20)}},58743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=c(r(33870)),i=r(85683),a=r(84285),o=c(r(42992)),l=c(r(85476)),u=c(r(32879));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e){return e=(0,l.default)(e),(0,u.default)(e)};t.default=function(e,t){const r=t.getConfig("functionWords"),l=t.getHelper("customGetStemmer"),u=l?l(t):t.getHelper("getStemmer")(t),c=t.getHelper("getWordsCustomHelper"),h=t.getHelper("customCountLength"),p=d(e.getText()),f=d(e.getDescription()),g=d(e.getTitle()),m={};if(m.hasMetaDescription=""!==f,m.hasTitle=""!==g,m.prominentWords=[],h){if(h(p)<200)return m}else if((0,s.default)(p)<100)return m;const _=(0,a.getSubheadingsTopLevel)(p).map((e=>e[2])),y=[e.getKeyword(),e.getSynonyms(),g,f,_.join(" ")],E=c?[]:(0,i.retrieveAbbreviations)(p.concat(y.join(" "))),T=(0,a.removeSubheadingsTopLevel)(p),A=(0,i.getProminentWords)(T,E,u,r,c),v=(0,i.getProminentWordsFromPaperAttributes)(y,E,u,r,c);v.forEach((e=>e.setOccurrences(3*e.getOccurrences())));const b=(0,i.collapseProminentWordsOnStem)(v.concat(A));(0,i.sortProminentWords)(b);let S=4;return u===o.default&&(S=2),m.prominentWords=(0,n.take)((0,i.filterProminentWords)(b,S),100),m}},62987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("firstWordExceptions"),c=t.getConfig("secondWordExceptions"),h=t.getHelper("getWordsCustomHelper"),p=t.getHelper("memoizedTokenizer");let f=e.getText();f=(0,l.default)(f),f=(0,u.filterShortcodesFromHTML)(f,e._attributes&&e._attributes.shortcodes),f=f.replace(/[\s\n]+/g," "),f=f.replace(/
.*<\/figure>/gs,""),f=f.replace(/]+)?>(.*?)<\/li>/gi,"");let g=(0,s.default)(f,p),m=g.map((function(e){return function(e,t,r,s){const o=(0,a.stripFullTags)((0,i.default)(e)),l=s?s(o):(0,n.default)(o);if(0===l.length)return"";let u=l[0].toLocaleLowerCase();return t.indexOf(u)>-1&&l.length>1&&(u=u+" "+l[1],r&&r.includes(l[1])&&(u=u+" "+l[2])),u}(e,r,c,h)}));return g=g.filter((function(e){const t=(0,i.default)(e);return(h?h(t):(0,n.default)(t)).length>0})),m=(0,o.filter)(m),d(m,g)};var n=c(r(1105)),s=c(r(9862)),i=c(r(47793)),a=r(62240),o=r(92819),l=c(r(96908)),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){const r=[];let n=[],s=1;return(0,o.forEach)(e,(function(i,a){const l=i,u=e[a+1];n.push(t[a]),function(e,t){return!(0,o.isEmpty)(e)&&e===t}(l,u)?s++:(r.push({word:l,count:s,sentences:n}),s=1,n=[])})),r}},21706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,a.default)(r),r=(0,o.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes);const l=(0,n.default)(r),u=t.getHelper("customCountLength"),c=[];(0,i.forEach)(l,(function(e){c.push({subheading:e.subheading,text:e.text,countLength:u?u(e.text):(0,s.default)(e.text),index:e.index})}));let d=0,h="";if(c.length>0){const e=c[0];h=r.slice(0,e.index),d=u?u(h):(0,s.default)(h)}return d>0&&""!==h&&c.unshift({subheading:"",text:h,countLength:d}),c};var n=l(r(89272)),s=l(r(33870)),i=r(92819),a=l(r(96908)),o=r(29866);function l(e){return e&&e.__esModule?e:{default:e}}},31015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("getStemmer")(t),i=t.getHelper("createBasicWordForms"),l=t.getConfig("language"),p=t.getConfig("areHyphensWordBoundaries"),f=(0,a.default)(e,p).map((e=>e.toLocaleLowerCase(l)));return function(e,t,r,n,i,a,o){const l=(0,s.collectStems)(e,t,i,n,o),p=l.keyphraseStems,f=l.synonymsStems;if(0===p.stemOriginalPairs.length&&0===f.length)return new c;if([p,...f].every((e=>!0===e.exactMatch)))return new c([[p.stemOriginalPairs[0].stem]],f.map((e=>[[e.stemOriginalPairs[0].stem]])));const g=[...new Set(d(p,f))],m=[...new Set(r.filter((e=>!n.includes(e))))].map((e=>new s.StemOriginalPair(i(e),e))).filter((e=>g.includes(e.stem))).sort(((e,t)=>e.stem.localeCompare(t.stem))).reduce((function(e,t){const r=e[e.length-1];return 0===e.length||r.stem!==t.stem?e.push(new u(t.stem,[t.original])):r.forms.push(t.original),e}),[]);return new c(h(p,m,a),f.map((e=>h(e,m,a))))}(e.getKeyword().toLocaleLowerCase(l).trim(),(0,o.default)(e.getSynonyms().toLocaleLowerCase(l).trim()),f,r,n,i,p)};var n=r(37361),s=r(17811),i=r(92819),a=l(r(90831)),o=l(r(73481));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){this.stem=e,this.forms=t}function c(e=[],t=[]){this.keyphraseForms=e,this.synonymsForms=t}function d(e,t){const r=0===e.stemOriginalPairs.length?[]:e.getStems(),n=0===t.length?[]:t.map((e=>e.getStems()));return[...r,...(0,i.flattenDeep)(n)]}function h(e,t,r){return 0===e.stemOriginalPairs.length?[]:e.exactMatch?[[e.stemOriginalPairs[0].stem]]:e.stemOriginalPairs.map((function(e){return function(e,t,r){const s=t.find((t=>t.stem===e.stem)),a=(0,n.normalizeSingle)((0,i.escapeRegExp)(e.original)),o=s?[a,...s.forms]:[a];return r&&o.push(...r(e.original)),[...new Set(o)]}(e,t,r)}))}},31051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.getTree().findAll((e=>"h1"===e.name)).map((e=>({tag:"h1",content:e.findAll((e=>"#text"===e.name)).map((e=>e.value)).join(""),position:{startOffset:e.sourceCodeLocation.startTag.endOffset,endOffset:e.sourceCodeLocation.endTag.startOffset,clientId:e.clientId||""}}))).filter((e=>!!e.content))}},52948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e).length};var n,s=(n=r(92017))&&n.__esModule?n:{default:n}},42299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLongCenterAlignedTexts",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"keyphraseDistribution",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"wordComplexity",{enumerable:!0,get:function(){return s.default}});var n=a(r(37228)),s=a(r(53201)),i=a(r(53127));function a(e){return e&&e.__esModule?e:{default:e}}},53127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maximizeSentenceScores=t.keyphraseDistributionResearcher=t.getDistraction=t.default=t.computeScoresPerSentenceShortTopic=t.computeScoresPerSentenceLongTopic=void 0;var n=r(92819),s=r(36478),i=r(48024),a=d(r(9862)),o=d(r(73481)),l=r(10840),u=d(r(96908)),c=r(24533);function d(e){return e&&e.__esModule?e:{default:e}}const h=function(e,t,r,n){const i=Array(t.length);for(let a=0;a=50?i[a]=9:i[a]=3;return i};t.computeScoresPerSentenceLongTopic=h;const p=function(e,t,r,n){const i=Array(t.length);for(let a=0;a3&&r.push(n);const s=r.length;if(0===s)return t;r.unshift(-1),r.push(t);const i=[];for(let e=1;ev.push(d(e)))));const b=e.getLocale(),S=[A.keyphraseForms];A.synonymsForms.forEach((function(e){S.push(e)}));const I=(0,n.uniq)((0,n.flattenDeep)(S)).sort(((e,t)=>t.length-e.length)),O=function(e,t,r,s,i,a=4,o,l){const u=t.length,c=Array(u);if(s.length>0)for(let n=0;n({sentence:e,score:t}))).filter((e=>e.score>3)).map((e=>e.sentence))}}(T,S,b,r,s,y,v,m),C=O.maximizedSentenceScores,N=g(C);return{sentencesToHighlight:(0,i.markWordsInSentences)(I,O.sentencesWithTopic,b,s),keyphraseDistributionScore:N/T.length*100}};t.keyphraseDistributionResearcher=m,t.default=m},57419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("morphology"),n=t.getConfig("functionWords");return{keyphraseLength:r.keyphraseForms.length,functionWords:n}}},82242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.countKeyphraseInText=p,t.default=f,t.keywordCount=function(e,t){return console.warn("This function is deprecated, use getKeyphraseCount instead."),f(e,t)};var n=r(92819),s=h(r(54241)),i=r(37361),a=h(r(82676)),o=h(r(57329)),l=h(r(23116)),u=r(48024),c=h(r(9862)),d=r(29866);function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r,s,i,l){const c={count:0,markings:[]};return e.forEach((e=>{const d=t.map((t=>(0,o.default)(e,t,r,s,i,l)));if(d.every((e=>e.count>0))){const t=d.map((e=>e.count)),r=Math.min(...t),i=(0,n.flattenDeep)(d.map((e=>e.matches)));let o=[];o=s?(0,u.markWordsInASentence)(e,i,s):(0,a.default)(e,i),c.count+=r,c.markings.push(o)}})),c}function f(e,t){const r={count:0,markings:[],keyphraseLength:0};let a=t.getResearch("morphology").keyphraseForms;const o=a.length;if(a=a.map((e=>e.map((e=>(0,i.normalizeSingle)(e))))),0===o)return r;const u=t.getHelper("matchWordCustomHelper"),h=t.getHelper("memoizedTokenizer"),f=t.getHelper("splitIntoTokensCustom"),g=e.getLocale(),m=u?(0,d.filterShortcodesFromHTML)(e.getText(),e._attributes&&e._attributes.shortcodes):e.getText(),_=p(u?(0,c.default)(m,h):(0,s.default)(e),a,g,u,(0,l.default)(e.getKeyword()),f);return r.count=_.count,r.markings=(0,n.flatten)(_.markings),r.keyphraseLength=o,r}},74066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.keywordCountInSlug=o,t.keywordCountInUrl=function(e,t){return console.warn("This function is deprecated, use keywordCountInSlug instead."),o(e,t)};var n,s=(n=r(84159))&&n.__esModule?n:{default:n},i=r(36478),a=r(92819);function o(e,t){const r=(0,a.cloneDeep)(t);r.addConfig("areHyphensWordBoundaries",!0);const n=r.getResearch("morphology"),o=(0,s.default)(e.getSlug()),l=e.getLocale(),u=(0,i.findTopicFormsInString)(n,o,!1,l,!1);return{keyphraseLength:n.keyphraseForms.length,percentWordMatches:u.percentWordMatches}}t.default=o},72286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),i=t.getHelper("matchWordCustomHelper");let l=e.getText();l=(0,a.default)(l),l=(0,o.filterShortcodesFromHTML)(l,e._attributes&&e._attributes.shortcodes),l=(0,s.default)(l);const c=t.getResearch("morphology"),d=e.getLocale(),h={count:0,matches:0,percentReflectingTopic:0},p=(0,n.getSubheadingContentsTopLevel)(l);return 0!==p.length&&(h.count=p.length,h.matches=u(c,p,!0,d,r,i),h.percentReflectingTopic=h.matches/h.count*100),h};var n=r(84285),s=l(r(57719)),i=r(36478),a=l(r(96908)),o=r(29866);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t,r,n,s,a){return t.filter((t=>{const o=(0,i.findTopicFormsInString)(e,t,r,n,a);return 0===s.length?100===o.percentWordMatches:o.percentWordMatches>50})).length}},90497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getDescription(),n=e.getLocale(),i=t.getResearch("morphology"),a=t.getHelper("matchWordCustomHelper"),l=t.getHelper("memoizedTokenizer");return(0,s.default)(r,l).map((e=>o(e,i,n,a))).reduce(((e,t)=>e+t),0)};var n=i(r(7407)),s=i(r(9862));function i(e){return e&&e.__esModule?e:{default:e}}const a=function(e,t,r){return t.forEach((t=>t.matches.slice(0,r).forEach((t=>{e=e.replace(t,"")})))),e},o=function(e,t,r,s){const i=t.keyphraseForms.map((t=>(0,n.default)(e,t,r,s))),o=Math.min(...i.map((e=>e.count)));return e=a(e,i,o),[o,...t.synonymsForms.map((t=>{const o=t.map((t=>(0,n.default)(e,t,r,s))),l=Math.min(...o.map((e=>e.count)));return e=a(e,i,l),l}))].reduce(((e,t)=>e+t),0)}},96458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e.getDate(),e.getDescription())};var n,s=(n=r(40231))&&n.__esModule?n:{default:n}},7045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.hasTitle()?e.getTitleWidth():0}},48799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(e.getLocale()),a=t.getHelper("getWordsCustomHelper"),o=t.getHelper("wordsCharacterCount"),l={ar:138,cn:158,de:179,en:228,es:218,fi:161,fr:195,he:187,it:188,nl:202,pl:166,pt:181,ru:184,sl:180,sv:199,tr:166},u=l[r],c={ja:357}[r];let d,h=(0,s.default)(e).count;c?(h=o(a(e.getText())),d=h/c):d=u?h/u:h/(Object.values(l).reduce(((e,t)=>e+t))/Object.keys(l).length);const p=(0,i.default)(e);return Math.ceil(d+.2*p)};var n=a(r(67404)),s=a(r(44518)),i=a(r(52948));function a(e){return e&&e.__esModule?e:{default:e}}},25969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let a=e.getText();return a=(0,s.default)(a),a=(0,i.filterShortcodesFromHTML)(a,e._attributes&&e._attributes.shortcodes),(0,n.default)(a,r)};var n=a(r(9862)),s=a(r(96908)),i=r(29866);function a(e){return e&&e.__esModule?e:{default:e}}},99074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=new RegExp("()","igs");let r=e.getText().match(t);return null===r&&(r=[]),r.length}},53201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let n=e.getText();n=(0,a.default)(n),n=(0,o.filterShortcodesFromHTML)(n,e._attributes&&e._attributes.shortcodes);let l=(0,s.default)(n,r).map((e=>u(e,t)));l=l.filter((e=>0!==e.complexWords.length));const d=(0,i.default)(n);return{complexWords:l,percentage:c(l,d)}};var n=r(92819),s=l(r(9862)),i=l(r(1105)),a=l(r(96908)),o=r(24533);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){const r=t.getConfig("language"),s=t.getHelper("checkIfWordIsComplex"),a=t.getConfig("functionWords"),o=t.getConfig("wordComplexity"),l=t.getHelper("checkIfWordIsFunction"),u=(0,n.get)(t.getData("morphology"),r,!1),c=(0,i.default)(e).filter((e=>!(l?l(e):a.includes(e)))),d={complexWords:[],sentence:e};return u?(c.forEach((e=>{s(o,e,u)&&d.complexWords.push(e)})),d):d},c=function(e,t){return+((0,n.flatMap)(e,(e=>e.complexWords)).length/t.length*100).toFixed(2)}},44518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getText();return t=(0,s.default)(t),t=(0,i.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),{text:t,count:(0,n.default)(t),unit:"word"}};var n=a(r(33870)),s=a(r(96908)),i=r(29866);function a(e){return e&&e.__esModule?e:{default:e}}},83937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t){this._clauseText=e,this._auxiliaries=t,this._isPassive=!1,this._participles=[]}getClauseText(){return this._clauseText}isPassive(){return this._isPassive}getAuxiliaries(){return this._auxiliaries}setPassive(e){this._isPassive=e}setParticiples(e){this._participles=e}getParticiples(){return this._participles}serialize(){return{_parseClass:"Clause",clauseText:this._clauseText,auxiliaries:this._auxiliaries,isPassive:this._isPassive,participles:this._participles}}parse(e){const t=new r(e.clauseText,e.auxiliaries);return t.setPassive(e.isPassive),t}}t.default=r},4446:(e,t)=>{"use strict";function r(e,t,r){this._word=e,this._stem=t||e,this._occurrences=r||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.prototype.setWord=function(e){this._word=e},r.prototype.getWord=function(){return this._word},r.prototype.getStem=function(){return this._stem},r.prototype.setOccurrences=function(e){this._occurrences=e},r.prototype.getOccurrences=function(){return this._occurrences},r.prototype.serialize=function(){return{_parseClass:"ProminentWord",word:this._word,stem:this._stem,occurrences:this._occurrences}},r.parse=function(e){return new r(e.word,e.stem,e.occurrences)},t.default=r},18812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e){this._sentenceText=e||"",this._isPassive=!1,this._clauses=[]}getSentenceText(){return this._sentenceText}isPassive(){return this._isPassive}setPassive(e){this._isPassive=e}getClauses(){return this._clauses}setClauses(e){this._clauses=e,this.setSentencePassiveness()}setSentencePassiveness(){const e=this.getClauses().filter((e=>!0===e.isPassive()));this.setPassive(e.length>0)}serialize(){return{_parseClass:"Sentence",sentenceText:this._sentenceText,isPassive:this._isPassive,clauses:this._clauses}}parse(e){const t=new r(e.sentenceText);return t.setClauses(e.clauses),t.setPassive(e.isPassive),t}}t.default=r},62390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Clause",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"ProminentWord",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Sentence",{enumerable:!0,get:function(){return i.default}});var n=a(r(83937)),s=a(r(4446)),i=a(r(18812));function a(e){return e&&e.__esModule?e:{default:e}}},15010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return""+e+""}},5262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.stripWordBoundariesStart)(e);let r="",i="";if(t!==e){const n=e.search((0,s.escapeRegExp)(t));r=e.substring(0,n)}const a=(0,n.stripWordBoundariesEnd)(t);if(a!==t){const e=t.search((0,s.escapeRegExp)(a))+a.length;i=t.substring(e)}return r+""+a+""+i};var n=r(52731),s=r(92819)},84476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addMark",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"removeMarks",{enumerable:!0,get:function(){return n.default}});var n=i(r(78970)),s=i(r(15010));function i(e){return e&&e.__esModule?e:{default:e}}},52505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);t.default=function(e){return e&&(0===e.length||e[0].hasPosition())?e:(0,n.uniqBy)(e,(function(e){return e.getOriginal()}))}},78970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(new RegExp("]*>","g"),"").replace(new RegExp("","g"),"")}},87908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let h=e.getText();h=h.replace(d.htmlEntitiesRegex,"#$1");let p=(0,s.default)((0,n.parseFragment)(h,{sourceCodeLocationInfo:!0}));return p.childNodes&&p.childNodes.length>0&&(0,u.default)(e,p),p=(0,l.filterBeforeTokenizing)(p),p=(0,i.default)(p,t),r&&(0,c.default)(p,r),(0,a.default)(p,o.default)};var n=r(37015),s=h(r(70734)),i=h(r(63596)),a=h(r(46705)),o=h(r(67929)),l=r(12045),u=h(r(85990)),c=h(r(24533)),d=r(33888);function h(e){return e&&e.__esModule?e:{default:e}}},7104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(87908))&&n.__esModule?n:{default:n}},70734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if("#text"===t.nodeName)return new o.Text(t);let r=[],l=!1;(0,a.isEmpty)(t.childNodes)||(r=t.childNodes.map(e),function(e){return!(u(e)||(0,i.default)(e)||c(e))}(t.nodeName)&&(r=(0,n.default)(r,t.sourceCodeLocation)),function(e,t){return u(e)&&t.some(((e,t,r)=>{const n=r.length-1!==t&&r[t+1];return"br"===e.name&&n&&"br"===n.name}))}(t.nodeName,r)&&(l=!0,r=(0,n.default)(r,t.sourceCodeLocation)));const d=(0,s.default)(t.attrs);if(u(t.nodeName))return new o.Paragraph(d,r,t.sourceCodeLocation,!1,l);if(c(t.nodeName)){const e=parseInt(t.nodeName[1],10);return new o.Heading(e,d,r,t.sourceCodeLocation)}return new o.Node(t.nodeName,d,r,t.sourceCodeLocation)};var n=l(r(38884)),s=l(r(54637)),i=l(r(33319)),a=r(92819),o=r(67330);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return"p"===e}function c(e){return["h1","h2","h3","h4","h5","h6"].includes(e)}},54637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(90666))&&n.__esModule?n:{default:n};t.default=function(e){if(!e)return{};const t={};return e.forEach((({name:e,value:r})=>{"class"===e&&(r=(0,s.default)(r)),t[e]=r})),t}},67929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.canBeChildOfParagraph=void 0;var n=r(59603);t.canBeChildOfParagraph=["code","kbd","math","q","samp","script","var","#comment","cite","form","map","noscript","output"];const s=[(0,n.elementHasClass)("yoast-table-of-contents"),(0,n.elementHasClass)("yoast-reading-time__wrapper"),(0,n.elementHasID)("breadcrumbs"),(0,n.elementHasClass)("elementor-button-wrapper"),(0,n.elementHasClass)("elementor-divider"),(0,n.elementHasClass)("elementor-spacer"),(0,n.elementHasClass)("elementor-custom-embed"),(0,n.elementHasClass)("elementor-icon-wrapper"),(0,n.elementHasClass)("elementor-icon-box-wrapper"),(0,n.elementHasClass)("elementor-counter"),(0,n.elementHasClass)("elementor-progress-wrapper"),(0,n.elementHasClass)("elementor-title"),(0,n.elementHasClass)("elementor-alert"),(0,n.elementHasClass)("elementor-soundcloud-wrapper"),(0,n.elementHasClass)("elementor-shortcode"),(0,n.elementHasClass)("elementor-menu-anchor"),(0,n.elementHasClass)("e-rating"),(0,n.elementHasName)("base"),(0,n.elementHasName)("blockquote"),(0,n.elementHasName)("canvas"),(0,n.elementHasName)("code"),(0,n.elementHasName)("head"),(0,n.elementHasName)("iframe"),(0,n.elementHasName)("input"),(0,n.elementHasName)("kbd"),(0,n.elementHasName)("link"),(0,n.elementHasName)("math"),(0,n.elementHasName)("meta"),(0,n.elementHasName)("meter"),(0,n.elementHasName)("noscript"),(0,n.elementHasName)("object"),(0,n.elementHasName)("portal"),(0,n.elementHasName)("pre"),(0,n.elementHasName)("progress"),(0,n.elementHasName)("q"),(0,n.elementHasName)("samp"),(0,n.elementHasName)("script"),(0,n.elementHasName)("slot"),(0,n.elementHasName)("style"),(0,n.elementHasName)("svg"),(0,n.elementHasName)("template"),(0,n.elementHasName)("textarea"),(0,n.elementHasName)("title"),(0,n.elementHasName)("var"),(0,n.elementHasName)("#comment"),(0,n.elementHasName)("cite"),(0,n.elementHasName)("form"),(0,n.elementHasName)("map"),(0,n.elementHasName)("noscript"),(0,n.elementHasName)("output")];t.default=s},38884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(33319)),s=r(67330),i=r(92819),a=o(r(42036));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return e&&e.childNodes.length>0}const u=e=>{const[t]=e.childNodes.slice(0),[r]=e.childNodes.slice(-1);if((t.sourceCodeRange||t.sourceCodeLocation)&&(r.sourceCodeRange||r.sourceCodeLocation)){const n=t.sourceCodeRange?t.sourceCodeRange.startOffset:t.sourceCodeLocation.startOffset,s=r.sourceCodeRange?r.sourceCodeRange.endOffset:r.sourceCodeLocation.endOffset;e.sourceCodeLocation=new a.default({startOffset:n,endOffset:s})}};t.default=function(e,t={}){const r=[];let o={};if((0,i.isEmpty)(t)){const t=e[0],r=e[e.length-1];t&&r&&t.sourceCodeLocation&&r.sourceCodeLocation&&(o=new a.default({startOffset:t.sourceCodeLocation.startOffset,endOffset:r.sourceCodeLocation.endOffset}))}else o=new a.default({startOffset:t.startTag?t.startTag.endOffset:t.startOffset,endOffset:t.endTag?t.endTag.startOffset:t.endOffset});let c=s.Paragraph.createImplicit({},[],o);return e.forEach(((e,t,i)=>{const a=0!==t&&i[t-1],d=i.length-1!==t&&i[t+1];!(0,n.default)(e.name)||function(e){return"#text"===e.name&&e.value&&e.value.match(/^[\n\s]+$/g)}(e)||((e,t,r)=>{const n=t&&"br"===t.name,s=r&&"br"===r.name;return"br"===e.name&&(n||s)})(e,a,d)?(l(c)&&(u(c),e.sourceCodeLocation&&(o.startOffset=e.sourceCodeLocation.endOffset),r.push(c),c=s.Paragraph.createImplicit({},[],o)),r.push(e)):c.childNodes.push(e)})),l(c)&&(u(c),r.push(c)),r}},12045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterBeforeTokenizing=function e(t){return s.canBeChildOfParagraph.includes(t.name)&&(t.childNodes=[]),(0,n.isEmpty)(t.childNodes)||t.childNodes.map(e),t};var n=r(92819),s=r(67929)},59603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementHasClass=function(e){return t=>!!t.attributes.class&&t.attributes.class.has(e)},t.elementHasID=function(e){return t=>t.attributes.id===e},t.elementHasName=function(e){return t=>t.name===e}},46705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if(!(function(e,t){return"#text"!==e.name&&t.some((t=>t(e)))}(t,r)||t.childNodes&&(t.childNodes=t.childNodes.filter((t=>e(t,r))),0===t.childNodes.length&&t instanceof n.Paragraph&&t.isImplicit)))return t};var n=r(67330)},35261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=-1){if(0===t.length||!e.sourceCodeLocation)return t;let n,a=r>=0?r:i(e),o=[];if(e.findAll){const t=e.findAll((e=>e.sourceCodeLocation),!0);t.length>0&&(o=function(e){const t=[];return e.forEach((e=>{if(s.canBeChildOfParagraph.includes(e.name))t.push(e.sourceCodeLocation);else{if(e.sourceCodeLocation.startTag){const r={startOffset:e.sourceCodeLocation.startTag.startOffset,endOffset:e.sourceCodeLocation.startTag.endOffset};"br"===e.name&&(r.endOffset=r.endOffset-1),t.push(r)}e.sourceCodeLocation.endTag&&t.push(e.sourceCodeLocation.endTag)}})),t.sort(((e,t)=>e.startOffset-t.startOffset)),t}(t))}return t.forEach((e=>{n=a+e.text.length,o.length>0&&(n=function(e,t,r){return e.forEach((e=>{e.startOffset>=t&&e.startOffset{e.startOffset===t&&(t+=e.endOffset-e.startOffset)})),t}(o,a)),e.sourceCodeRange={startOffset:a,endOffset:n},a=n})),t};var n=r(67330),s=r(67929);const i=e=>e instanceof n.Paragraph&&e.isImplicit?e.sourceCodeLocation.startOffset:e.sourceCodeLocation.startTag.endOffset},90666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Set(e.split(" "))}},33319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"];t.default=function(e){return r.includes(e)||"#text"===e}},85990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const a=e._attributes.wpBlocks||[];r.lastIndex=0,s(a,e.getText());i(t,n(e),void 0)};const r=/)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g,n=e=>{const t=e._attributes.wpBlocks,r=[];return t&&t.length>0?(t.forEach((e=>{if(e.innerBlocks.length>0){const t=e.innerBlocks;r.push(e,...t)}else r.push(e)})),r):[]};function s(e,t){0!==e.length&&e.forEach((e=>{const n=r.exec(t);if(null===n)return;const[i]=n,a=n.index,o=i.length;e.startOffset=a,e.contentOffset=a+o+1,e.innerBlocks&&e.innerBlocks.length>0&&s(e.innerBlocks,t)}))}function i(e,t,r){if(!e)return;let n=r;if(e.sourceCodeLocation&&e.sourceCodeLocation.startOffset){const r=t.find((t=>t.contentOffset===e.sourceCodeLocation.startOffset));r&&(n=r.clientId)}n&&(e.clientId=n),(e.childNodes||[]).forEach((e=>{e.attributes&&e.attributes.id&&e.childNodes&&e.childNodes.length>3&&(e.childNodes[0].attributeId=e.attributes.id,e.childNodes[0].isFirstSection=!0,e.childNodes[2].attributeId=e.attributes.id,e.childNodes[2].isFirstSection=!1),i(e,t,n)}))}},63596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(67330),i=(n=r(35261))&&n.__esModule?n:{default:n},a=r(33888);t.default=function e(t,r){return(t instanceof s.Paragraph&&"p-overarching"!==t.name||t instanceof s.Heading)&&(t.sentences=function(e,t){let r=t.splitIntoSentences(e.innerText());return r=(0,i.default)(e,r),r.map((r=>(r=function(e,t,r){return t.tokens=r.splitIntoTokens(t),t.tokens=(0,i.default)(e,t.tokens,t.sourceCodeRange.startOffset),t}(e,r,t),a.hashedHtmlEntities.forEach(((e,t)=>{const n=new RegExp(t,"g");r.text=r.text.replace(n,e),r.tokens.map((t=>(t.text=t.text.replace(n,e),t)))})),r)))}(t,r)),t.childNodes&&(t.childNodes=t.childNodes.map((t=>e(t,r)))),t}},49781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(99286)),s=a(r(82615)),i=a(r(7337));function a(e){return e&&e.__esModule?e:{default:e}}const o=/^\s+$/;t.default=class{constructor(e){this.researcher=e}splitIntoSentences(e){const t=this.researcher.getHelper("memoizedTokenizer")(e,!1);return o.test(t[t.length-1])&&t.pop(),t.map((function(e){return new n.default(e)}))}splitIntoTokens(e){const t=e.text,r=this.researcher.getHelper("splitIntoTokensCustom");return r?r(t).map((e=>new s.default(e))):(0,i.default)(t).map((e=>new s.default(e)))}}},71927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(81056))&&n.__esModule?n:{default:n};class i extends s.default{constructor(e,t={},r=[],n={}){super(`h${e}`,t,r,n),this.level=e}}t.default=i},81056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(93078),i=(n=r(42036))&&n.__esModule?n:{default:n},a=r(92819);t.default=class{constructor(e,t={},r=[],n={}){this.name=e,this.attributes=t,this.childNodes=r,(0,a.isEmpty)(n)||(this.sourceCodeLocation=new i.default(n))}findAll(e,t=!1){return(0,s.findAllInTree)(this,e,t)}innerText(){return(0,s.innerText)(this)}}},66741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(81056))&&n.__esModule?n:{default:n};class i extends s.default{constructor(e={},t=[],r={},n=!1,s=!1){super(s?"p-overarching":"p",e,t,r),this.isImplicit=n}static createImplicit(e={},t=[],r={}){return new i(e,t,r,!0)}}t.default=i},99286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){this.text=e,this.tokens=[],this.sourceCodeRange={}}}},42036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){e.startTag&&(this.startTag={startOffset:e.startTag.startOffset,endOffset:e.startTag.endOffset}),e.endTag&&(this.endTag={startOffset:e.endTag.startOffset,endOffset:e.endTag.endOffset}),this.startOffset=e.startOffset,this.endOffset=e.endOffset}}},76342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(42036))&&n.__esModule?n:{default:n};t.default=class{constructor(e){this.name="#text",this.value=e.value,this.sourceCodeRange=new s.default({startOffset:e.sourceCodeLocation.startOffset,endOffset:e.sourceCodeLocation.endOffset})}}},82615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58677);t.default=class{constructor(e,t={}){this.text=(0,n.normalizeSingle)(e),this.sourceCodeRange=t}}},67330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.default}});var n=o(r(81056)),s=o(r(71927)),i=o(r(66741)),a=o(r(76342));function o(e){return e&&e.__esModule?e:{default:e}}},45613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,n=!1){const s=[];return t.childNodes?(t.childNodes.forEach((t=>{r(t)?(s.push(t),n&&s.push(...e(t,r,n))):s.push(...e(t,r,n))})),s):s}},93078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findAllInTree",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"innerText",{enumerable:!0,get:function(){return s.default}});var n=i(r(45613)),s=i(r(41225));function i(e){return e&&e.__esModule?e:{default:e}}},41225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let r="";return(0,n.isEmpty)(t.childNodes)||t.childNodes.forEach((t=>{"#text"===t.name?r+=t.value:"br"===t.name?r+="\n":r+=e(t)})),r};var n=r(92819)},20019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(62887))&&n.__esModule?n:{default:n},a=function(e){this.app=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this.customTests=[],setTimeout(this._pollLoadingPlugins.bind(this),1500)};a.prototype._registerPlugin=function(e,t){return"string"!=typeof e?(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(t)||"object"==typeof t?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1)},a.prototype._ready=function(e){return"string"!=typeof e?(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0)},a.prototype._reloaded=function(e){return"string"!=typeof e?(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.app.refresh(),!0)},a.prototype._registerModification=function(e,t,r,n){if("string"!=typeof e)return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if("function"!=typeof t)return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if("string"!=typeof r)return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;var i={callable:t,origin:r,priority:"number"==typeof n?n:10};return(0,s.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0},a.prototype._registerTest=function(){console.error("This function is deprecated, please use _registerAssessment")},a.prototype._registerAssessment=function(e,t,r,n){if(!(0,s.isString)(t))throw new i.default("Failed to register test for plugin "+n+". Expected parameter `name` to be a string.");if(!(0,s.isObject)(r))throw new i.default("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function.");if(!(0,s.isString)(n))throw new i.default("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string.");return t=n+"-"+t,e.addAssessment(t,r),!0},a.prototype._pollLoadingPlugins=function(e){e=(0,s.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.app.pluginsLoaded()):e>=this.preloadThreshold?this._pollTimeExceeded():(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))},a.prototype._allReady=function(){return(0,s.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)},a.prototype._pollTimeExceeded=function(){(0,s.forEach)(this.plugins,(function(e,t){(0,s.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})),this.loaded=!0,this.app.pluginsLoaded()},a.prototype._applyModifications=function(e,t,r){var n=this.modifications[e];return n instanceof Array&&n.length>0&&((n=this._stripIllegalModifications(n)).sort((function(e,t){return e.priority-t.priority})),(0,s.forEach)(n,(function(n){var s=(0,n.callable)(t,r);typeof s==typeof t?t=s:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t},a.prototype._addPluginTests=function(e){this.customTests.map((function(t){this._addPluginTest(e,t)}),this)},a.prototype._addPluginTest=function(e,t){e.addAnalysis({name:t.name,callable:t.analysis}),e.analyzeScorer.addScoring({name:t.name,scoring:t.scoring})},a.prototype._stripIllegalModifications=function(e){return(0,s.forEach)(e,function(t,r){!1===this._validateOrigin(t.origin)&&delete e[r]}.bind(this)),e},a.prototype._validateOrigin=function(e){return"ready"===this.plugins[e].status},a.prototype._validateUniqueness=function(e){return!!(0,s.isUndefined)(this.plugins[e])},t.default=a},9017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58677),s=r(29866);t.default=class{getResult(e,t){throw"The method getResult is not implemented"}isApplicable(e,t){return!0}hasEnoughContentForAssessment(e,t=50){let r=e.getText();return r=(0,s.removeHtmlBlocks)(r),r=(0,s.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes),(0,n.sanitizeString)(r).length>=t}}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=d(r(73054)),a=d(r(41054)),o=d(r(15010)),l=r(33140),u=r(58677),c=r(88626);function d(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor({identifier:e,nonInclusivePhrases:t,inclusiveAlternatives:r,score:n,feedbackFormat:i,learnMoreUrl:a,rule:o,caseSensitive:u,category:d}){this.identifier=e,this.nonInclusivePhrases=t,this.inclusiveAlternatives=r,(0,s.isString)(this.inclusiveAlternatives)&&(this.inclusiveAlternatives=[this.inclusiveAlternatives]),this.score=n,this.feedbackFormat=i,this.learnMoreUrl=(0,l.createAnchorOpeningTag)(a),this.rule=o||c.includesConsecutiveWords,this.caseSensitive=u||!1,this.category=d}isApplicable(e,t){const r=t.getResearch("sentences"),n=e.getTextTitle();return r.push(n),this.foundPhrases=[],r.forEach((e=>{let t=(0,u.getWords)(e,"\\s",!1);this.caseSensitive||(t=t.map((e=>e.toLocaleLowerCase())));const r=this.nonInclusivePhrases.find((e=>this.rule(t,(0,u.getWords)(e,"\\s",!1)).length>=1));r&&this.foundPhrases.push({sentence:e,phrase:r})})),this.foundPhrases.length>=1}getResult(){const e=(0,n.sprintf)("%1$sLearn more.%2$s",this.learnMoreUrl,""),t=(0,n.sprintf)(this.feedbackFormat,this.foundPhrases[0].phrase,...this.inclusiveAlternatives),r=new i.default({score:this.score,text:`${t} ${e}`});return r.setIdentifier(this.identifier),r.setHasMarks(!0),r}getMarks(){return this.foundPhrases?this.foundPhrases.map((e=>new a.default({original:e.sentence,marked:(0,o.default)(e.sentence)}))):[]}}},46176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(17864),a=r(64948),o=r(88626),l=r(28045),u=(n=r(77965))&&n.__esModule?n:{default:n};const c="Or, if possible, be specific about the group you are referring to (e.g. %3$s).",d=[{identifier:"seniorCitizen",nonInclusivePhrases:["senior citizen"],inclusiveAlternatives:["older person, older citizen","person older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"seniorCitizens",nonInclusivePhrases:["senior citizens"],inclusiveAlternatives:["older people, older citizens","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"agingDependants",nonInclusivePhrases:["aging dependants"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"elderly",nonInclusivePhrases:["elderly"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"senile",nonInclusivePhrases:["senile"],inclusiveAlternatives:"",score:l.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as a specific characteristic or experience if it is known (e.g. has Alzheimer's)."].join(" ")},{identifier:"senility",nonInclusivePhrases:["senility"],inclusiveAlternatives:"dementia",score:l.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"seniors",nonInclusivePhrases:["seniors"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" "),rule:(e,t)=>(0,o.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["high school","college","graduating","juniors and"])).filter((0,a.isNotFollowedByException)(e,t,["in high school","in college","who are graduating"]))},{identifier:"theAged",nonInclusivePhrases:["the aged"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmful,c].join(" "),rule:(e,t)=>(0,o.includesConsecutiveWords)(e,t).filter((0,u.default)(e,t))}];d.forEach((e=>{e.category="age",e.learnMoreUrl="https://yoa.st/inclusive-language-age"})),t.default=d},9214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l=[{identifier:"albinos",nonInclusivePhrases:["albinos"],inclusiveAlternatives:"people with albinism, albino people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"anAlbino",nonInclusivePhrases:["an albino"],inclusiveAlternatives:"person with albinism, albino person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"obese",nonInclusivePhrases:["obese","overweight"],inclusiveAlternatives:"has a higher weight, higher-weight person, person in higher weight body, heavier person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,s.preferredDescriptorIfKnown].join(" ")},{identifier:"obesitySingular",nonInclusivePhrases:["person with obesity","fat person"],inclusiveAlternatives:"person who has a higher weight, higher-weight person, person in higher weight body, heavier person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,s.preferredDescriptorIfKnown].join(" ")},{identifier:"obesityPlural",nonInclusivePhrases:["people with obesity","fat people"],inclusiveAlternatives:"people who have a higher weight, higher-weight people, people in higher weight bodies, heavier people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless].join(" ")},{identifier:"verticallyChallenged",nonInclusivePhrases:["vertically challenged"],inclusiveAlternatives:"little person, has short stature, someone with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"midget",nonInclusivePhrases:["midget"],inclusiveAlternatives:"little person, has short stature, someone with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"midgets",nonInclusivePhrases:["midgets"],inclusiveAlternatives:"little people, have short stature, people with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"harelip",nonInclusivePhrases:["harelip"],inclusiveAlternatives:"cleft lip, cleft palate",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful}];l.forEach((e=>{e.category="appearance",e.learnMoreUrl="https://yoa.st/inclusive-language-appearance"})),t.default=l},20117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(88626),i=r(64948),a=r(6653);const o="Be careful when using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead, unless you are referring to the culture in which this term originated.",l=[{identifier:"firstWorld",nonInclusivePhrases:["First World"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Assembly","assembly"]))},{identifier:"thirdWorld",nonInclusivePhrases:["Third World"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Quarterly","quarterly","country"]))},{identifier:"tribe",nonInclusivePhrases:["tribe"],inclusiveAlternatives:"group, cohort, crew, league, guild, team, union",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.slice(0,-42)+"a culture that uses this term."},{identifier:"tribes",nonInclusivePhrases:["tribes"],inclusiveAlternatives:"groups, cohorts, crews, leagues, guilds, teams, unions",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.slice(0,-42)+"a culture that uses this term."},{identifier:"exotic",nonInclusivePhrases:["exotic"],inclusiveAlternatives:"unfamiliar, foreign, peculiar, fascinating, alluring, bizarre, non-native, introduced",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.harmfulPotentiallyNonInclusive+" Unless you are referring to animals, consider using an alternative, such as %2$s.",rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["longhair","longhairs","shorthair","shorthairs"]))},{identifier:"sherpa",nonInclusivePhrases:["sherpa"],inclusiveAlternatives:"commander, coach, mastermind, coach, mentor",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"guru",nonInclusivePhrases:["guru"],inclusiveAlternatives:"mentor, doyen, coach, mastermind, virtuoso, expert",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"gurus",nonInclusivePhrases:["gurus"],inclusiveAlternatives:"mentors, doyens, coaches, masterminds, virtuosos, experts",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"nonWhite",nonInclusivePhrases:["non-white"],inclusiveAlternatives:"people of color, POC, BIPOC or specifying the racial groups mentioned",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"oriental",nonInclusivePhrases:["oriental"],inclusiveAlternatives:"Asian. When possible, be more specific (e.g. East Asian)",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"asianAmerican",nonInclusivePhrases:["Asian-American"],inclusiveAlternatives:"Asian American",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"asianAmericans",nonInclusivePhrases:["Asian-Americans"],inclusiveAlternatives:"Asian Americans",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"africanAmerican",nonInclusivePhrases:["African-American"],inclusiveAlternatives:"African American, Black, American of African descent",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"africanAmericans",nonInclusivePhrases:["African-Americans"],inclusiveAlternatives:"African Americans, Black, Americans of African descent",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"whiteRace",nonInclusivePhrases:["the White race"],inclusiveAlternatives:"",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.harmfulNonInclusive,caseSensitive:!0},{identifier:"whitelist",nonInclusivePhrases:["whitelist"],inclusiveAlternatives:"allowlist",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelists",nonInclusivePhrases:["whitelists"],inclusiveAlternatives:"allowlists",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelisting",nonInclusivePhrases:["whitelisting"],inclusiveAlternatives:"allowlisting",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelisted",nonInclusivePhrases:["whitelisted"],inclusiveAlternatives:"allowlisted",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklist",nonInclusivePhrases:["blacklist"],inclusiveAlternatives:"blocklist, denylist, faillist, redlist",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklists",nonInclusivePhrases:["blacklists"],inclusiveAlternatives:"blocklists, denylists, faillists, redlists",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklisting",nonInclusivePhrases:["blacklisting"],inclusiveAlternatives:"blocklisting, denylisting, faillisting, redlisting",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklisted",nonInclusivePhrases:["blacklisted"],inclusiveAlternatives:"blocklisted, denylisted, faillisted, redlisted",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gyp",nonInclusivePhrases:["gyp"],inclusiveAlternatives:"fraud, cheat, swindle, rip-off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gyps",nonInclusivePhrases:["gyps"],inclusiveAlternatives:"frauds, cheats, swindles, rips off, rip-offs",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypped",nonInclusivePhrases:["gypped"],inclusiveAlternatives:"cheated, swindled, ripped off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypping",nonInclusivePhrases:["gypping"],inclusiveAlternatives:"cheating, swindling, ripping off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypsy",nonInclusivePhrases:["gypsy","gipsy"],inclusiveAlternatives:["Rom, Roma person, Romani, Romani person","traveler, wanderer, free-spirited"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.potentiallyHarmfulUnless,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"gypsies",nonInclusivePhrases:["gypsies","gipsies"],inclusiveAlternatives:["Roma, Romani, Romani people","travelers, wanderers, free-spirited"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.potentiallyHarmfulUnless,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"eskimo",nonInclusivePhrases:["eskimo","eskimos"],inclusiveAlternatives:"the specific name of the Indigenous community (for example, Inuit)",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnless},{identifier:"coloredPerson",nonInclusivePhrases:["colored person"],inclusiveAlternatives:"person of color, POC, BIPOC",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"coloredPeople",nonInclusivePhrases:["colored people"],inclusiveAlternatives:"people of color, POC, BIPOC",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"americanIndians",nonInclusivePhrases:["American Indian","American Indians"],inclusiveAlternatives:"Native American(s), Indigenous peoples of America",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnless,caseSensitive:!0},{identifier:"mulatto",nonInclusivePhrases:["mulatto","mulattos","mulattoes"],inclusiveAlternatives:"mixed, biracial, multiracial",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"savage",nonInclusivePhrases:["savage"],inclusiveAlternatives:"severe, dreadful, untamed, brutal, fearless, fierce, brilliant, amazing",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"civilized",nonInclusivePhrases:["civilized"],inclusiveAlternatives:"proper, well-mannered, enlightened, respectful",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"primitive",nonInclusivePhrases:["primitive"],inclusiveAlternatives:"early, rudimentary",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"powWow",nonInclusivePhrases:["pow-wow"],inclusiveAlternatives:"chat, brief conversation, brainstorm, huddle",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"lowManOnTheTotemPole",nonInclusivePhrases:["low man on the totem pole"],inclusiveAlternatives:"person of lower rank, junior-level",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"spiritAnimal",nonInclusivePhrases:["spirit animal"],inclusiveAlternatives:"inspiration, hero, icon, idol",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"firstWorldCountries",nonInclusivePhrases:["first world countries"],inclusiveAlternatives:"the specific name for the regions or countries",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"firstWorldHyphen",nonInclusivePhrases:["first-world"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third-world country"],inclusiveAlternatives:"low-income country, developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third world country"],inclusiveAlternatives:"low-income country, developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"underdevelopedCountry",nonInclusivePhrases:["underdeveloped country"],inclusiveAlternatives:"developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead or be more specific about what aspect this word refers to."},{identifier:"underdevelopedCountries",nonInclusivePhrases:["underdeveloped countries"],inclusiveAlternatives:"developing countries",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead or be more specific about what aspect this word refers to."}];l.forEach((e=>{e.category="culture",e.learnMoreUrl="https://yoa.st/inclusive-language-culture"})),t.default=l},77018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(17864),a=r(64948),o=r(5719),l=r(88626),u=r(28045),c=(n=r(77965))&&n.__esModule?n:{default:n},d=r(538),h=r(65736);const p="Avoid using %1$s as it is derogatory. Consider using an alternative, such as %2$s.",f=s.harmfulPotentiallyNonInclusive+" Unless you are referencing the specific medical condition, consider using another alternative to describe the trait or behavior, such as %2$s.",g=[{identifier:"binge",nonInclusivePhrases:["binge"],inclusiveAlternatives:"indulge, satiate, wallow, spree, marathon, consume excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"]))},{identifier:"bingeing",nonInclusivePhrases:["bingeing","binging"],inclusiveAlternatives:"indulging, satiating, wallowing, spreeing, marathoning, consuming excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purging","behavior","behaviors","behaviour","behaviours"]))},{identifier:"binged",nonInclusivePhrases:["binged"],inclusiveAlternatives:"indulged, satiated, wallowed, spreed, marathoned, consumed excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purged"]))},{identifier:"binges",nonInclusivePhrases:["binges"],inclusiveAlternatives:"indulges, satiates, wallows, sprees, marathons, consumes excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purges"]))},{identifier:"wheelchairBound",nonInclusivePhrases:["wheelchair-bound","wheelchair bound","confined to a wheelchair"],inclusiveAlternatives:"uses a wheelchair, is a wheelchair user",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mentallyRetarded",nonInclusivePhrases:["mentally retarded"],inclusiveAlternatives:"person with an intellectual disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"retarded",nonInclusivePhrases:["retarded"],inclusiveAlternatives:"uninformed, ignorant, foolish, irrational, insensible",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["mentally"]))},{identifier:"alcoholic",nonInclusivePhrases:["an alcoholic"],inclusiveAlternatives:"person with alcohol use disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["drink","beverage"]))},{identifier:"alcoholics",nonInclusivePhrases:["alcoholics"],inclusiveAlternatives:"people with alcohol use disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["anonymous"]))},{identifier:"cripple",nonInclusivePhrases:["a cripple"],inclusiveAlternatives:"person with a physical disability, a physically disabled person",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"crippled",nonInclusivePhrases:["crippled"],inclusiveAlternatives:"has a physical disability, is physically disabled",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"daft",nonInclusivePhrases:["daft"],inclusiveAlternatives:"uninformed, ignorant, foolish, inconsiderate, irrational, reckless",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapped",nonInclusivePhrases:["handicapped"],inclusiveAlternatives:"disabled, person with a disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicap",nonInclusivePhrases:["handicap"],inclusiveAlternatives:"disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["toilet","toilets","parking","bathroom","bathrooms","stall","stalls"]))},{identifier:"insane",nonInclusivePhrases:["insane"],inclusiveAlternatives:"wild, confusing, unpredictable, impulsive, reckless, out of control, unbelievable, amazing, incomprehensible, nonsensical, outrageous, ridiculous",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"imbecile",nonInclusivePhrases:["imbecile"],inclusiveAlternatives:"uninformed, ignorant, foolish, inconsiderate, irrational, reckless",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"specialNeeds",nonInclusivePhrases:["special needs"],inclusiveAlternatives:["functional needs, support needs","disabled, person with a disability"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s when referring to someone's needs, or %3$s when referring to a person."},{identifier:"hardOfHearing",nonInclusivePhrases:["hard-of-hearing"],inclusiveAlternatives:"hard of hearing, partially deaf, has partial hearing loss",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"hearingImpaired",nonInclusivePhrases:["hearing impaired"],inclusiveAlternatives:"deaf or hard of hearing, partially deaf, has partial hearing loss",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"functioning",nonInclusivePhrases:["high functioning","low functioning"],inclusiveAlternatives:"describing the specific characteristic or experience",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["autism"]))},{identifier:"autismHigh",nonInclusivePhrases:["high functioning autism","high-functioning autism"],inclusiveAlternatives:"autism with high support needs or describing the specific characteristic or experience",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"autismLow",nonInclusivePhrases:["low functioning autism","low-functioning autism"],inclusiveAlternatives:"autism with low support needs or describing the specific characteristic or experience",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"lame",nonInclusivePhrases:["lame"],inclusiveAlternatives:"boring, lousy, unimpressive, sad, corny",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"lamer",nonInclusivePhrases:["lamer"],inclusiveAlternatives:"more boring, lousier, more unimpressive, sadder, cornier",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"lamest",nonInclusivePhrases:["lamest"],inclusiveAlternatives:"most boring, lousiest, most unimpressive, saddest, corniest",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"commitSuicide",nonInclusivePhrases:["commit suicide"],inclusiveAlternatives:"take one's life, die by suicide, kill oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"committingSuicide",nonInclusivePhrases:["committing suicide"],inclusiveAlternatives:"taking one's life, dying by suicide, killing oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"commitsSuicide",nonInclusivePhrases:["commits suicide"],inclusiveAlternatives:"takes one's life, dies by suicide, kills oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"committedSuicide",nonInclusivePhrases:["committed suicide"],inclusiveAlternatives:"took one's life, died by suicide, killed themself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapParking",nonInclusivePhrases:["handicap parking"],inclusiveAlternatives:"accessible parking",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"fellOnDeafEars",nonInclusivePhrases:["fell on deaf ears"],inclusiveAlternatives:"was not addressed, was ignored, was disregarded",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"turnOnBlindEye",nonInclusivePhrases:["turn a blind eye"],inclusiveAlternatives:"ignore, pretend not to notice",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"blindLeadingBlind",nonInclusivePhrases:["the blind leading the blind"],inclusiveAlternatives:"ignorant, misguided, incompetent, unqualified, insensitive, unaware",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapBathroom",nonInclusivePhrases:["handicap bathroom","handicap bathrooms"],inclusiveAlternatives:"accessible bathroom(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapToilet",nonInclusivePhrases:["handicap toilet","handicap toilets"],inclusiveAlternatives:"accessible toilet(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapStall",nonInclusivePhrases:["handicap stall","handicap stalls"],inclusiveAlternatives:"accessible stall(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"stupid",nonInclusivePhrases:["stupid"],inclusiveAlternatives:["uninformed, ignorant, foolish, inconsiderate, irrational, reckless"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"dumb",nonInclusivePhrases:["dumb","dumber","dumbest"],inclusiveAlternatives:["uninformed, ignorant, foolish, inconsiderate, irrational, reckless"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["deaf and"]))},{identifier:"deaf",nonInclusivePhrases:["deaf-mute","deaf and dumb"],inclusiveAlternatives:"deaf",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"addict",nonInclusivePhrases:["addict"],inclusiveAlternatives:"person with a (drug, alcohol, ...) addiction, person with substance abuse disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"addicts",nonInclusivePhrases:["addicts"],inclusiveAlternatives:"people with a (drug, alcohol, ...) addiction, people with substance abuse disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"brainDamaged",nonInclusivePhrases:["brain-damaged"],inclusiveAlternatives:"person with a (traumatic) brain injury",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"differentlyAbled",nonInclusivePhrases:["differently abled","differently-abled"],inclusiveAlternatives:"disabled, person with a disability",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"epilepticFit",nonInclusivePhrases:["epileptic fit"],inclusiveAlternatives:"epileptic seizure",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"epilepticFits",nonInclusivePhrases:["epileptic fits"],inclusiveAlternatives:"epileptic seizures",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"sanityCheck",nonInclusivePhrases:["sanity check"],inclusiveAlternatives:"final check, confidence check, rationality check, soundness check",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"to not be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"to not be impressed by, to not be enthusiastic about, to not be into, to not like",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to not be crazy about as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeNotWithOptionalIntensifier))},{identifier:"to be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"to love, to be obsessed with, to be infatuated with",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to be crazy about as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeWithOptionalIntensifier))},{identifier:"crazy in love",nonInclusivePhrases:["crazy in love"],inclusiveAlternatives:"wildly in love, head over heels, infatuated",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"to go crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"to go wild, to go out of control, to go up the wall, to be aggravated, to get confused",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to go crazy as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToGo))},{identifier:"to drive crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to drive crazy as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.combinationsOfDriveAndObjectPronoun))},{identifier:"crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,d.shouldNotPrecedeStandaloneCrazy)).filter((0,a.isNotFollowedByException)(e,t,d.shouldNotFollowStandaloneCrazy)).filter((0,o.isNotFollowedAndPrecededByException)(e,t,d.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,d.shouldNotFollowStandaloneCrazyWhenPrecededByToBe))},{identifier:"crazier",nonInclusivePhrases:["crazier"],inclusiveAlternatives:"more wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"craziest",nonInclusivePhrases:["craziest"],inclusiveAlternatives:"most wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"psychopathic",nonInclusivePhrases:["psychopath","psychopaths","psychopathic"],inclusiveAlternatives:"toxic, manipulative, unpredictable, impulsive, reckless, out of control",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"schizophrenic",nonInclusivePhrases:["schizophrenic","bipolar"],inclusiveAlternatives:"of two minds, chaotic, confusing",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["disorder"]))},{identifier:"paranoid",nonInclusivePhrases:["paranoid"],inclusiveAlternatives:"overly suspicious, unreasonable, defensive",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["personality disorder","delusion","delusions","ideation"]))},{identifier:"manic",nonInclusivePhrases:["manic"],inclusiveAlternatives:"excited, raving, unbalanced, wild",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["episode","episodes","state","states","symptoms","and depressive episodes","and hypomanic","or hypomanic"]))},{identifier:"hysterical",nonInclusivePhrases:["hysterical"],inclusiveAlternatives:"intense, vehement, piercing, chaotic",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"psycho",nonInclusivePhrases:["psycho","psychos"],inclusiveAlternatives:"toxic, distraught, unpredictable, reckless, out of control",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"neurotic",nonInclusivePhrases:["neurotic","lunatic"],inclusiveAlternatives:"distraught, unstable, startling, confusing, baffling",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"sociopath",nonInclusivePhrases:["sociopath"],inclusiveAlternatives:["person with antisocial personality disorder","toxic, manipulative, cruel"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"sociopaths",nonInclusivePhrases:["sociopaths"],inclusiveAlternatives:["people with antisocial personality disorder","toxic, manipulative, cruel"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"narcissistic",nonInclusivePhrases:["narcissistic"],inclusiveAlternatives:["person with narcissistic personality disorder","selfish, egotistical, self-centered, self-absorbed, vain, toxic, manipulative"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["personality disorder"]))},{identifier:"OCD",nonInclusivePhrases:["ocd"],inclusiveAlternatives:"pedantic, obsessed, perfectionist",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[(0,h.sprintf)(f,"OCD","%2$s"),"If you are referring to someone who has the medical condition, then state that they have OCD rather than that they are OCD."].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeAndToBeNotWithOptionalIntensifier))},{identifier:"theMentallyIll",nonInclusivePhrases:["the mentally ill"],inclusiveAlternatives:"people who are mentally ill, mentally ill people",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t))},{identifier:"theDisabled",nonInclusivePhrases:["the disabled"],inclusiveAlternatives:"people who have a disability, disabled people",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t))}];g.forEach((e=>{e.category="disability",e.learnMoreUrl="https://yoa.st/inclusive-language-disability"})),t.default=g},538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=t.shouldNotPrecedeStandaloneCrazy=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=t.shouldNotFollowStandaloneCrazy=t.formsOfToGo=t.formsOfToBeWithOptionalIntensifier=t.formsOfToBeNotWithOptionalIntensifier=t.formsOfToBeAndToBeNotWithOptionalIntensifier=t.default=t.combinationsOfDriveAndObjectPronoun=void 0;var n,s=(n=r(64998))&&n.__esModule?n:{default:n},i=r(92819);const a=["so","very","a bit","really","pretty","kind of","that","too","totally","completely","absolutely","even","also","as"],o=s.default.slice(0,-2),l=o.splice(19,4),u=function(e,t){return(0,i.flatMap)(e,(e=>(0,i.flatMap)(t,(t=>`${e} ${t}`))))},c=u(o,a),d=t.formsOfToBeWithOptionalIntensifier=c.concat(o);let h=(0,i.flatMap)(o,(e=>`${e} not`));h=h.concat(l);const p=u(h,a),f=t.formsOfToBeNotWithOptionalIntensifier=p.concat(h),g=t.formsOfToBeAndToBeNotWithOptionalIntensifier=d.concat(f),m=t.combinationsOfDriveAndObjectPronoun=u(["driving","drive","drove","drives","driven"],["me","you","them","him","her","someone","somebody","anyone","anybody","everyone","everybody"]),_=t.formsOfToGo=["go","goes","going","gone","went"],y=t.shouldNotPrecedeStandaloneCrazy=m.concat(_),E=t.shouldNotFollowStandaloneCrazy=["in love"],T=t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=d.concat(f),A=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=["about"];t.default={formsOfToBeWithOptionalIntensifier:d,formsOfToBeNotWithOptionalIntensifier:f,formsOfToBeAndToBeNotWithOptionalIntensifier:g,combinationsOfDriveAndObjectPronoun:m,formsOfToGo:_,shouldNotPrecedeStandaloneCrazy:y,shouldNotFollowStandaloneCrazy:E,shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout:T,shouldNotFollowStandaloneCrazyWhenPrecededByToBe:A}},6653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preferredDescriptorIfKnown=t.potentiallyHarmfulUnlessAnimalsObjects=t.potentiallyHarmfulUnless=t.potentiallyHarmfulCareful=t.potentiallyHarmful=t.harmfulPotentiallyNonInclusive=t.harmfulNonInclusive=t.alternative=void 0;const r=t.harmfulNonInclusive="Avoid using %1$s as it is potentially harmful.",n=t.harmfulPotentiallyNonInclusive="Be careful when using %1$s as it is potentially harmful.",s=t.alternative="Consider using an alternative, such as %2$s.";t.potentiallyHarmful=[r,s].join(" "),t.potentiallyHarmfulCareful=[n,s].join(" "),t.potentiallyHarmfulUnless=[n,"Consider using an alternative, such as %2$s, unless referring to someone who explicitly wants to be referred to with this term."].join(" "),t.preferredDescriptorIfKnown="Alternatively, if talking about a specific person, use their preferred descriptor if known.",t.potentiallyHarmfulUnlessAnimalsObjects=[n,"Unless you are referring to objects or animals, consider using an alternative, such as %2$s."].join(" ")},556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l="Avoid using %1$s as it is exclusionary. Consider using an alternative, such as %2$s.",u="Be careful when using %1$s as it is potentially exclusionary. Consider using an alternative, such as %2$s.",c="Avoid using %1$s as it is potentially exclusionary. Consider using an alternative, such as %2$s.",d="Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of %1$s, use an alternative, such as %2$s.",h="Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of men, use an alternative, such as %2$s.",p="Avoid using %1$s as it is derogatory.",f=[{identifier:"firemen",nonInclusivePhrases:["firemen"],inclusiveAlternatives:"firefighters",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:h},{identifier:"policemen",nonInclusivePhrases:["policemen"],inclusiveAlternatives:"police officers",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:h},{identifier:"menAndWomen",nonInclusivePhrases:["men and women","women and men"],inclusiveAlternatives:"people, people of all genders, individuals, human beings",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:d},{identifier:"boysAndGirls",nonInclusivePhrases:["boys and girls","girls and boys"],inclusiveAlternatives:"kids, children",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:d},{identifier:"heOrShe",nonInclusivePhrases:["he/she","he or she","she or he","(s)he"],inclusiveAlternatives:"they",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:u},{identifier:"birthSex",nonInclusivePhrases:["birth sex","natal sex"],inclusiveAlternatives:"assigned sex, assigned sex at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mankind",nonInclusivePhrases:["mankind"],inclusiveAlternatives:"individuals, people, persons, human beings, humanity",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"preferredPronouns",nonInclusivePhrases:["preferred pronouns"],inclusiveAlternatives:"pronouns",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulCareful.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own pronouns."].join("")},{identifier:"oppositeGender",nonInclusivePhrases:["opposite gender"],inclusiveAlternatives:"another gender",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"oppositeSex",nonInclusivePhrases:["opposite sex"],inclusiveAlternatives:"another sex",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"femaleBodied",nonInclusivePhrases:["female-bodied"],inclusiveAlternatives:"assigned female at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:c.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to %1$s."},{identifier:"maleBodied",nonInclusivePhrases:["male-bodied"],inclusiveAlternatives:"assigned male at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:c.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to %1$s."},{identifier:"hermaphrodite",nonInclusivePhrases:["hermaphrodite"],inclusiveAlternatives:"intersex",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"hermaphrodites",nonInclusivePhrases:["hermaphrodites"],inclusiveAlternatives:"intersex people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"bothGenders",nonInclusivePhrases:["both genders"],inclusiveAlternatives:"people, folks, human beings, all genders",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of two genders, use an alternative, such as %2$s."},{identifier:"ladiesAndGentleman",nonInclusivePhrases:["ladies and gentlemen"],inclusiveAlternatives:"everyone, folks, honored guests",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of men and women, use an alternative, such as %2$s."},{identifier:"husbandAndWife",nonInclusivePhrases:["husband and wife","husbands and wives"],inclusiveAlternatives:"spouses, partners",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:u.slice(0,-1)+", unless referring to someone who explicitly wants to be referred to with this term."},{identifier:"mothersAndFathers",nonInclusivePhrases:["mothers and fathers","fathers and mothers"],inclusiveAlternatives:"parents",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of people who use this term, use an alternative, such as %2$s."},{identifier:"manHours",nonInclusivePhrases:["man-hours"],inclusiveAlternatives:"person-hours, business hours",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"preferredName",nonInclusivePhrases:["preferred name"],inclusiveAlternatives:"name, affirming name",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulCareful.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own name."].join("")},{identifier:"transgenders",nonInclusivePhrases:["transgenders"],inclusiveAlternatives:"trans people, transgender people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:[p,s.alternative].join(" ")},{identifier:"transsexual",nonInclusivePhrases:["transsexual"],inclusiveAlternatives:"transgender",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transsexuals",nonInclusivePhrases:["transsexuals"],inclusiveAlternatives:"trans people, transgender people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transWoman",nonInclusivePhrases:["transwoman"],inclusiveAlternatives:"trans woman, transgender woman",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transWomen",nonInclusivePhrases:["transwomen"],inclusiveAlternatives:"trans women, transgender women",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transMan",nonInclusivePhrases:["transman"],inclusiveAlternatives:"trans man, transgender man",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transMen",nonInclusivePhrases:["transmen"],inclusiveAlternatives:"trans men, transgender men",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transgendered",nonInclusivePhrases:["transgendered"],inclusiveAlternatives:["transgender, trans","transitioned, went through a gender transition"],score:i.SCORES.NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmful.slice(0,-1),"if referring to a person. If referring to a transition process, consider using an alternative such as %3$s."].join(" ")},{identifier:"maleToFemale",nonInclusivePhrases:["male-to-female","mtf"],inclusiveAlternatives:"trans woman, transgender woman",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"femaleToMale",nonInclusivePhrases:["female-to-male","ftm"],inclusiveAlternatives:"trans man, transgender man",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"heShe",nonInclusivePhrases:["he-she"],inclusiveAlternatives:"",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"shemale",nonInclusivePhrases:["shemale","she-male"],inclusiveAlternatives:"",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"manMade",nonInclusivePhrases:["man-made","manmade"],inclusiveAlternatives:"artificial, synthetic, machine-made",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"toEachTheirOwn",nonInclusivePhrases:["to each his own"],inclusiveAlternatives:"to each their own",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"manned",nonInclusivePhrases:["manned"],inclusiveAlternatives:"crewed",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"aTransgender",nonInclusivePhrases:["a transgender","the transgender"],inclusiveAlternatives:"transgender person",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))}];f.forEach((e=>{e.category="gender",e.learnMoreUrl="https://yoa.st/inclusive-language-gender"})),t.default=f},90529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(46176)),s=d(r(9214)),i=d(r(77018)),a=d(r(556)),o=d(r(20117)),l=d(r(27540)),u=d(r(12297)),c=d(r(32296));function d(e){return e&&e.__esModule?e:{default:e}}t.default=[...n.default,...s.default,...i.default,...a.default,...o.default,...l.default,...u.default,...c.default]},12297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(6653),i=r(88626),a=r(17864);const o=[{identifier:"minorities",nonInclusivePhrases:["minorities"],inclusiveAlternatives:["members of the LGBTQ+ community","Indigenous peoples","marginalized groups","religious minorities"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.harmfulPotentiallyNonInclusive,"Consider using an alternative by being specific about which group(s) of people you are referring to. For example: %2$s, %3$s, %4$s. In case an alternative is not available, make sure to specify the type of minorities you are referring to, e.g., %5$s."].join(" ")},{identifier:"normalPerson",nonInclusivePhrases:["normal person"],inclusiveAlternatives:["typical person, average person or describing the person's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"]))},{identifier:"normalPeople",nonInclusivePhrases:["normal people","Normal people"],inclusiveAlternatives:["typical people, average people or describing people's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"]))},{identifier:"mentallyNormal",nonInclusivePhrases:["mentally normal"],inclusiveAlternatives:["people without mental health conditions, mentally healthy people"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: people who don’t have anxiety disorders, people who haven't experienced trauma, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyNormal",nonInclusivePhrases:["behaviorally normal","behaviourally normal"],inclusiveAlternatives:["showing typical behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"abnormalPerson",nonInclusivePhrases:["abnormal person"],inclusiveAlternatives:["describing the person's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"abnormalPeople",nonInclusivePhrases:["abnormal people"],inclusiveAlternatives:["describing people's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mentallyAbnormal",nonInclusivePhrases:["mentally abnormal"],inclusiveAlternatives:["people with a mental health condition, people with mental health problems"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: people who have anxiety disorders, people who have experienced trauma, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyAbnormal",nonInclusivePhrases:["behaviorally abnormal","behaviourally abnormal"],inclusiveAlternatives:["showing atypical behavior, showing dysfunctional behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"abnormalBehavior",nonInclusivePhrases:["abnormal behavior","abnormal behaviour"],inclusiveAlternatives:["atypical behavior, unusual behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects}];o.forEach((e=>{e.category="other",e.learnMoreUrl="https://yoa.st/inclusive-language-other"})),t.default=o},28045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCORES=void 0,t.SCORES={NON_INCLUSIVE:3,POTENTIALLY_NON_INCLUSIVE:6}},27540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l=[{identifier:"illegalImmigrant",nonInclusivePhrases:["illegal immigrant","illegal alien"],inclusiveAlternatives:"undocumented person, person without papers, immigrant without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"illegalImmigrants",nonInclusivePhrases:["illegal immigrants","illegal aliens"],inclusiveAlternatives:"undocumented people, people without papers, immigrants without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"povertyStricken",nonInclusivePhrases:["poverty stricken"],inclusiveAlternatives:"people whose income is below the poverty threshold, people with low-income",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"welfareReliant",nonInclusivePhrases:["welfare reliant"],inclusiveAlternatives:"receiving welfare",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"prostitute",nonInclusivePhrases:["prostitute"],inclusiveAlternatives:"sex worker",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"prostitutes",nonInclusivePhrases:["prostitutes"],inclusiveAlternatives:"sex workers",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"ex-con",nonInclusivePhrases:["ex-con"],inclusiveAlternatives:"person who has had felony convictions, person who has been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-cons",nonInclusivePhrases:["ex-cons"],inclusiveAlternatives:"people who have had felony convictions, people who have been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"felon",nonInclusivePhrases:["felon"],inclusiveAlternatives:"person with felony convictions, person who has been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"felons",nonInclusivePhrases:["felons"],inclusiveAlternatives:"people with felony convictions, people who have been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-offender",nonInclusivePhrases:["ex-offender"],inclusiveAlternatives:"formerly incarcerated person",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-offenders",nonInclusivePhrases:["ex-offenders"],inclusiveAlternatives:"formerly incarcerated people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"theHomeless",nonInclusivePhrases:["the homeless"],inclusiveAlternatives:"people experiencing homelessness",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"theUndocumented",nonInclusivePhrases:["the undocumented"],inclusiveAlternatives:"people who are undocumented, undocumented people, people without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"thePoor",nonInclusivePhrases:["the poor"],inclusiveAlternatives:"people whose income is below the poverty threshold, people with low-income",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))}];l.forEach((e=>{e.category="ses",e.learnMoreUrl="https://yoa.st/inclusive-language-ses"})),t.default=l},32296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(6653);const i=[{identifier:"homosexuals",nonInclusivePhrases:["homosexuals"],inclusiveAlternatives:"gay people, queer people, lesbians, gay men, people in same-gender relationships",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,"Be as specific possible and use people's preferred labels if they are known."].join(" ")}];i.forEach((e=>{e.category="sexualOrientation",e.learnMoreUrl="https://yoa.st/inclusive-language-orientation"})),t.default=i},88626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesConsecutiveWords=function(e,t){const r=[];return e.forEach(((s,i)=>{(0,n.includesWordsAtPosition)(t,i,e)&&r.push(i)})),r};var n=r(40880)},40880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesWordsAtPosition=function(e,t,r){return e.every(((e,n)=>r[t+n]===e))}},5719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedAndPrecededByException=i,t.isNotFollowedAndPrecededByException=function(e,t,r,n){return s=>!i(e,t,r,n)(s)};var n=r(64948),s=r(17864);function i(e,t,r,i){return a=>(0,n.isFollowedByException)(e,t,i)(a)&&(0,s.isPrecededByException)(e,r)(a)}},64948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByException=i,t.isNotFollowedByException=function(e,t,r){return n=>!i(e,t,r)(n)};var n=r(58677),s=r(40880);function i(e,t,r){const i=r.map((e=>(0,n.getWords)(e,"\\s",!1)));return r=>i.some((n=>{const i=r+t.length;return i>=0&&(0,s.includesWordsAtPosition)(n,i,e)}))}},88883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByParticiple=function(e,t){return r=>{const n=r+t.length;return n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNotPrecededByException=function(e,t){return r=>!i(e,t)(r)},t.isPrecededByException=i;var n=r(58677),s=r(40880);function i(e,t){const r=t.map((e=>(0,n.getWords)(e,"\\s",!1)));return t=>r.some((r=>{const n=t-r.length;return n>=0&&(0,s.includesWordsAtPosition)(r,n,e)}))}},77965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r=>(0,n.isFollowedByException)(e,t,i.nonNouns)(r)||(0,s.isFollowedByParticiple)(e,t)(r)||(0,n.isFollowedByException)(e,t,l)(r)};var n=r(64948),s=r(88883),i=r(89456),a=r(8737),o=r(58677);const l=a.punctuationList.filter((e=>(0,o.getWords)(e,"\\s",!1).length>0))},43947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seo=t.readability=t.inclusiveLanguage=void 0;var n=F(r(40774)),s=F(r(25636)),i=F(r(38196)),a=F(r(86089)),o=F(r(7261)),l=F(r(35780)),u=F(r(62318)),c=F(r(57749)),d=F(r(50791)),h=F(r(97758)),p=F(r(36832)),f=F(r(92922)),g=F(r(90575)),m=F(r(99815)),_=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=x(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(70966)),y=F(r(34847)),E=F(r(70476)),T=F(r(27661)),A=F(r(46430)),v=F(r(47502)),b=F(r(17915)),S=F(r(69360)),I=F(r(57480)),O=F(r(46787)),C=r(80009),N=F(r(8980)),D=F(r(38754)),w=F(r(58850)),P=F(r(77428)),R=F(r(40826)),k=F(r(76369)),L=F(r(11842)),M=F(r(96682));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(x=function(e){return e?r:t})(e)}function F(e){return e&&e.__esModule?e:{default:e}}t.readability={ListAssessment:h.default,ParagraphTooLongAssessment:n.default,PassiveVoiceAssessment:s.default,SentenceBeginningsAssessment:i.default,SentenceLengthInTextAssessment:a.default,SubheadingDistributionTooLongAssessment:o.default,TextAlignmentAssessment:c.default,TextPresenceAssessment:l.default,TransitionWordsAssessment:u.default,WordComplexityAssessment:d.default},t.seo={FunctionWordsInKeyphraseAssessment:p.default,ImageAltTagsAssessment:R.default,ImageCountAssessment:D.default,ImageKeyphraseAssessment:N.default,InternalLinksAssessment:f.default,IntroductionKeywordAssessment:g.default,KeyphraseDistributionAssessment:w.default,KeyphraseInSEOTitleAssessment:O.default,KeyphraseLengthAssessment:m.default,KeyphraseDensityAssessment:_.default,KeywordDensityAssessment:_.KeywordDensityAssessment,MetaDescriptionKeywordAssessment:y.default,MetaDescriptionLengthAssessment:E.default,OutboundLinksAssessment:T.default,PageTitleWidthAssessment:A.default,ProductIdentifiersAssessment:k.default,ProductSKUAssessment:L.default,SingleH1Assessment:v.default,SubheadingsKeywordAssessment:b.default,TextCompetingLinksAssessment:S.default,TextLengthAssessment:I.default,TextTitleAssessment:P.default,SlugKeywordAssessment:C.SlugKeywordAssessment,UrlKeywordAssessment:C.UrlKeywordAssessment},t.inclusiveLanguage={InclusiveLanguageAssessment:M.default}},97758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=u(r(9017)),a=u(r(73054)),o=r(49061),l=u(r(96908));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={}){super();const t={urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/shopify38"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/shopify39"),scores:{bad:3,good:9}};this._config=(0,s.merge)(t,e),this.identifier="listsPresence"}findList(e){let t=e.getText();return t=(0,l.default)(t),/<[uo]l.*>[\s\S]*<\/[uo]l>/.test(t)}getResult(e){this.textContainsList=this.findList(e);const t=this.calculateResult(),r=new a.default;return r.setScore(t.score),r.setText(t.resultText),r}isApplicable(e){return this.hasEnoughContentForAssessment(e)}calculateResult(){return this.textContainsList?{score:this._config.scores.good,resultText:(0,n.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ +text:(0,n.sprintf)((0,n.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$smultiple times before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"",this.urlTitle,this.urlCallToAction),score:1}):void 0},u.prototype.researchPreviouslyUsedKeywords=function(e){const t=e.getKeyword();let r=0,n="",i=0;return!(0,s.isUndefined)(this.usedKeywords[t])&&this.usedKeywords[t].length>0&&(r=this.usedKeywords[t].length,this.usedKeywordsPostTypes&&(n=this.usedKeywordsPostTypes[t][0]),i=this.usedKeywords[t][0]),{id:i,count:r,postTypeToDisplay:n}},u.prototype.assess=function(e){var t=this.researchPreviouslyUsedKeywords(e),r=this.scoreAssessment(t,e),n=new o.default;return n.setScore(r.score),n.setText(r.text),n},t.default=u},24910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}]}},43879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];const t=(0,s.default)(e);return"nb"===t||"nn"===t?a.nbnn:"bal"===t||"ca"===t?a.ca:a[t]||[]},t.transliterations=void 0;var n,s=(n=r(67404))&&n.__esModule?n:{default:n},i=r(92819);const a=t.transliterations={es:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00FA\u00FC]/g,alternative:"u"},{letter:/[\u00DA\u00DC]/g,alternative:"U"}],pl:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u017A\u017C]/g,alternative:"z"},{letter:/[\u0179\u017B]/g,alternative:"Z"}],de:[{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00DF]/g,alternative:"ss"},{letter:/[\u1E9E]/g,alternative:"SS"}],nbnn:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00F3\u00F2\u00F4]/g,alternative:"o"},{letter:/[\u00D3\u00D2\u00D4]/g,alternative:"O"}],sv:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"}],fi:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u017E]/g,alternative:"zh"},{letter:/[\u017D]/g,alternative:"Zh"},{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"}],da:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"}],tr:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u0131\u00EE]/g,alternative:"i"},{letter:/[\u0130\u00CE]/g,alternative:"I"},{letter:/[\u00FC\u00FB]/g,alternative:"u"},{letter:/[\u00DC\u00DB]/g,alternative:"U"}],lv:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"}],is:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3\u00F6]/g,alternative:"o"},{letter:/[\u00D3\u00D6]/g,alternative:"O"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00DE]/g,alternative:"Th"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],fa:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00F3\u00F8]/g,alternative:"o"},{letter:/[\u00D3\u00D8]/g,alternative:"O"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],cs:[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u00E9\u011B]/g,alternative:"e"},{letter:/[\u00C9\u011A]/g,alternative:"E"},{letter:/[\u00FA\u016F]/g,alternative:"u"},{letter:/[\u00DA\u016E]/g,alternative:"U"}],ru:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0456\u0438\u0439]/g,alternative:"i"},{letter:/[\u0406\u0418\u0419]/g,alternative:"I"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044A]/g,alternative:"ie"},{letter:/[\u042A]/g,alternative:"Ie"},{letter:/[\u044B]/g,alternative:"y"},{letter:/[\u042B]/g,alternative:"Y"},{letter:/[\u044C]/g,alternative:""},{letter:/[\u042C]/g,alternative:""},{letter:/[\u0451\u044D]/g,alternative:"e"},{letter:/[\u0401\u042D]/g,alternative:"E"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/[\u042E]/g,alternative:"Iu"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/[\u042F]/g,alternative:"Ia"}],eo:[{letter:/[\u0109]/g,alternative:"ch"},{letter:/[\u0108]/g,alternative:"Ch"},{letter:/[\u011d]/g,alternative:"gh"},{letter:/[\u011c]/g,alternative:"Gh"},{letter:/[\u0125]/g,alternative:"hx"},{letter:/[\u0124]/g,alternative:"Hx"},{letter:/[\u0135]/g,alternative:"jx"},{letter:/[\u0134]/g,alternative:"Jx"},{letter:/[\u015d]/g,alternative:"sx"},{letter:/[\u015c]/g,alternative:"Sx"},{letter:/[\u016d]/g,alternative:"ux"},{letter:/[\u016c]/g,alternative:"Ux"}],af:[{letter:/[\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00CB\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00EE\u00EF]/g,alternative:"i"},{letter:/[\u00CE\u00CF]/g,alternative:"I"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00DB\u00DC]/g,alternative:"U"}],ca:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9|\u00E8]/g,alternative:"e"},{letter:/[\u00C9|\u00C8]/g,alternative:"E"},{letter:/[\u00ED|\u00EF]/g,alternative:"i"},{letter:/[\u00CD|\u00CF]/g,alternative:"I"},{letter:/[\u00F3|\u00F2]/g,alternative:"o"},{letter:/[\u00D3|\u00D2]/g,alternative:"O"},{letter:/[\u00FA|\u00FC]/g,alternative:"u"},{letter:/[\u00DA|\u00DC]/g,alternative:"U"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"}],ast:[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],an:[{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00F1]/g,alternative:"ny"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00D1]/g,alternative:"Ny"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00C1]/g,alternative:"A"}],ay:[{letter:/(([\u00EF])|([\u00ED]))/g,alternative:"i"},{letter:/(([\u00CF])|([\u00CD]))/g,alternative:"I"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u0027]/g,alternative:""},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],en:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00EB\u00E9]/g,alternative:"e"},{letter:/[\u00C9\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],fr:[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EB\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CB\u00CA]/g,alternative:"E"},{letter:/[\u00E0\u00E2]/g,alternative:"a"},{letter:/[\u00C0\u00C2]/g,alternative:"A"},{letter:/[\u00EF\u00EE]/g,alternative:"i"},{letter:/[\u00CF\u00CE]/g,alternative:"I"},{letter:/[\u00F9\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00D9\u00DB\u00DC]/g,alternative:"U"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],it:[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9\u00E8]/g,alternative:"e"},{letter:/[\u00C9\u00C8]/g,alternative:"E"},{letter:/[\u00EC\u00ED\u00EE]/g,alternative:"i"},{letter:/[\u00CC\u00CD\u00CE]/g,alternative:"I"},{letter:/[\u00F3\u00F2]/g,alternative:"o"},{letter:/[\u00D3\u00D2]/g,alternative:"O"},{letter:/[\u00F9\u00FA]/g,alternative:"u"},{letter:/[\u00D9\u00DA]/g,alternative:"U"}],nl:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E9\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],bm:[{letter:/[\u025B]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0272]/g,alternative:"ny"},{letter:/[\u019D]/g,alternative:"Ny"},{letter:/[\u014B]/g,alternative:"ng"},{letter:/[\u014A]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"}],uk:[{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"h"},{letter:/[\u0413]/g,alternative:"H"},{letter:/[\u0491]/g,alternative:"g"},{letter:/[\u0490]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u0070]/g,alternative:"r"},{letter:/[\u0050]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044C\u042C]/g,alternative:""},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0438]/g,alternative:"y"},{letter:/[\u0418]/g,alternative:"Y"},{letter:/^[\u0454]/g,alternative:"ye"},{letter:/[\s][\u0454]/g,alternative:" ye"},{letter:/[\u0454]/g,alternative:"ie"},{letter:/^[\u0404]/g,alternative:"Ye"},{letter:/[\s][\u0404]/g,alternative:" Ye"},{letter:/[\u0404]/g,alternative:"IE"},{letter:/^[\u0457]/g,alternative:"yi"},{letter:/[\s][\u0457]/g,alternative:" yi"},{letter:/[\u0457]/g,alternative:"i"},{letter:/^[\u0407]/g,alternative:"Yi"},{letter:/[\s][\u0407]/g,alternative:" Yi"},{letter:/[\u0407]/g,alternative:"I"},{letter:/^[\u0439]/g,alternative:"y"},{letter:/[\s][\u0439]/g,alternative:" y"},{letter:/[\u0439]/g,alternative:"i"},{letter:/^[\u0419]/g,alternative:"Y"},{letter:/[\s][\u0419]/g,alternative:" Y"},{letter:/[\u0419]/g,alternative:"I"},{letter:/^[\u044E]/g,alternative:"yu"},{letter:/[\s][\u044E]/g,alternative:" yu"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/^[\u042E]/g,alternative:"Yu"},{letter:/[\s][\u042E]/g,alternative:" Yu"},{letter:/[\u042E]/g,alternative:"IU"},{letter:/^[\u044F]/g,alternative:"ya"},{letter:/[\s][\u044F]/g,alternative:" ya"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/^[\u042F]/g,alternative:"Ya"},{letter:/[\s][\u042F]/g,alternative:" Ya"},{letter:/[\u042F]/g,alternative:"IA"}],br:[{letter:/\u0063\u0027\u0068/g,alternative:"ch"},{letter:/\u0043\u0027\u0048/g,alternative:"CH"},{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],ch:[{letter:/[\u0027]/g,alternative:""},{letter:/[\u00e5]/g,alternative:"a"},{letter:/[\u00c5]/g,alternative:"A"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],co:[{letter:/[\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00e6\u04d5]/g,alternative:"ae"},{letter:/[\u00c6\u04d4]/g,alternative:"Ae"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e9\u00ea\u00e8\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00ca\u00c8\u00cb]/g,alternative:"E"},{letter:/[\u00ec\u00ee\u00ef]/g,alternative:"i"},{letter:/[\u00cc\u00ce\u00cf]/g,alternative:"I"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00f4\u00f2]/g,alternative:"o"},{letter:/[\u00d4\u00d2]/g,alternative:"O"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]]/g,alternative:"Oe"},{letter:/[\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00ff]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"}],csb:[{letter:/[\u0105\u00e3]/g,alternative:"a"},{letter:/[\u0104\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00cb]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00f2\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u017c]/g,alternative:"z"},{letter:/[\u017b]/g,alternative:"Z"}],cy:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0176]/g,alternative:"Y"}],ee:[{letter:/[\u0256]/g,alternative:"d"},{letter:/[\u0189]/g,alternative:"D"},{letter:/[\u025b]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0192]/g,alternative:"f"},{letter:/[\u0191]/g,alternative:"F"},{letter:/[\u0263]/g,alternative:"g"},{letter:/[\u0194]/g,alternative:"G"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"},{letter:/[\u028b]/g,alternative:"w"},{letter:/[\u01b2]/g,alternative:"W"},{letter:/\u0061\u0303/g,alternative:"a"},{letter:/[\u00e1\u00e0\u01ce\u00e2\u00e3]/g,alternative:"a"},{letter:/\u0041\u0303/g,alternative:"A"},{letter:/[\u00c1\u00c0\u01cd\u00c2\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00e8\u011b\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u011a\u00ca]/g,alternative:"E"},{letter:/[\u00f3\u00f2\u01d2\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u01d1\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u00f9\u01d4\u00fb]/g,alternative:"u"},{letter:/[\u00da\u00d9\u01d3\u00db]/g,alternative:"U"},{letter:/[\u00ed\u00ec\u01d0\u00ee]/g,alternative:"i"},{letter:/[\u00cd\u00cc\u01cf\u00ce]/g,alternative:"I"}],et:[{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"},{letter:/[\u017e]/g,alternative:"zh"},{letter:/[\u017d]/g,alternative:"Zh"},{letter:/[\u00f5\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d5]/g,alternative:"O"},{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],eu:[{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],fuc:[{letter:/[\u0253]/g,alternative:"b"},{letter:/[\u0181]/g,alternative:"B"},{letter:/[\u0257]/g,alternative:"d"},{letter:/[\u018a]/g,alternative:"D"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0272\u00f1]/g,alternative:"ny"},{letter:/[\u019d\u00d1]/g,alternative:"Ny"},{letter:/[\u01b4]/g,alternative:"y"},{letter:/[\u01b3]/g,alternative:"Y"},{letter:/[\u0260]/g,alternative:"g"},{letter:/[\u0193]/g,alternative:"G"}],fj:[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u016a]/g,alternative:"U"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u014c]/g,alternative:"O"}],frp:[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00ca\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"}],fur:[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00e0\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ec\u00ee]/g,alternative:"i"},{letter:/[\u00cc\u00ce]/g,alternative:"I"},{letter:/[\u00f2\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d4]/g,alternative:"O"},{letter:/[\u00f9\u00fb]/g,alternative:"u"},{letter:/[\u00d9\u00db]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u011f]/g,alternative:"g"},{letter:/[\u011e]/g,alternative:"G"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"}],fy:[{letter:/[\u00e2\u0101\u00e4\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u0100\u00c4\u00c5]/g,alternative:"A"},{letter:/[\u00ea\u00e9\u0113]/g,alternative:"e"},{letter:/[\u00ca\u00c9\u0112]/g,alternative:"E"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d4\u00d6]/g,alternative:"O"},{letter:/[\u00fa\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u0111\u00f0]/g,alternative:"d"},{letter:/[\u0110\u00d0]/g,alternative:"D"}],ga:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"}],gd:[{letter:/[\u00e0]/g,alternative:"a"},{letter:/[\u00c0]/g,alternative:"A"},{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u00ec]/g,alternative:"i"},{letter:/[\u00cc]/g,alternative:"I"}],gl:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],gn:[{letter:/[\u2019]/g,alternative:""},{letter:/\u0067\u0303/g,alternative:"g"},{letter:/\u0047\u0303/g,alternative:"G"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u1ebd]/g,alternative:"e"},{letter:/[\u1ebc]/g,alternative:"E"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u00f5]/g,alternative:"o"},{letter:/[\u00d5]/g,alternative:"O"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u1ef9]/g,alternative:"y"},{letter:/[\u1ef8]/g,alternative:"Y"}],gsw:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00f6]/g,alternative:"o"},{letter:/[\u00d6]/g,alternative:"O"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],hat:[{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"}],haw:[{letter:/[\u02bb\u0027\u2019]/g,alternative:""},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u014c]/g,alternative:"O"},{letter:/[\u016a]/g,alternative:"U"}],hr:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"dj"},{letter:/[\u0110]/g,alternative:"Dj"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"}],ka:[{letter:/[\u10d0]/g,alternative:"a"},{letter:/[\u10d1]/g,alternative:"b"},{letter:/[\u10d2]/g,alternative:"g"},{letter:/[\u10d3]/g,alternative:"d"},{letter:/[\u10d4]/g,alternative:"e"},{letter:/[\u10d5]/g,alternative:"v"},{letter:/[\u10d6]/g,alternative:"z"},{letter:/[\u10d7]/g,alternative:"t"},{letter:/[\u10d8]/g,alternative:"i"},{letter:/[\u10d9]/g,alternative:"k"},{letter:/[\u10da]/g,alternative:"l"},{letter:/[\u10db]/g,alternative:"m"},{letter:/[\u10dc]/g,alternative:"n"},{letter:/[\u10dd]/g,alternative:"o"},{letter:/[\u10de]/g,alternative:"p"},{letter:/[\u10df]/g,alternative:"zh"},{letter:/[\u10e0]/g,alternative:"r"},{letter:/[\u10e1]/g,alternative:"s"},{letter:/[\u10e2]/g,alternative:"t"},{letter:/[\u10e3]/g,alternative:"u"},{letter:/[\u10e4]/g,alternative:"p"},{letter:/[\u10e5]/g,alternative:"k"},{letter:/[\u10e6]/g,alternative:"gh"},{letter:/[\u10e7]/g,alternative:"q"},{letter:/[\u10e8]/g,alternative:"sh"},{letter:/[\u10e9]/g,alternative:"ch"},{letter:/[\u10ea]/g,alternative:"ts"},{letter:/[\u10eb]/g,alternative:"dz"},{letter:/[\u10ec]/g,alternative:"ts"},{letter:/[\u10ed]/g,alternative:"ch"},{letter:/[\u10ee]/g,alternative:"kh"},{letter:/[\u10ef]/g,alternative:"j"},{letter:/[\u10f0]/g,alternative:"h"}],kal:[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"}],kin:[{letter:/[\u2019\u0027]/g,alternative:""}],lb:[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e9]/g,alternative:"e"},{letter:/[\u00cb\u00c9]/g,alternative:"E"}],li:[{letter:/[\u00e1\u00e2\u00e0\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c0\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00cb\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00f6\u00f3]/g,alternative:"o"},{letter:/[\u00d6\u00d3]/g,alternative:"O"}],lin:[{letter:/[\u00e1\u00e2\u01ce]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u01cd]/g,alternative:"A"},{letter:/\u025b\u0301/g,alternative:"e"},{letter:/\u025b\u0302/g,alternative:"e"},{letter:/\u025b\u030c/g,alternative:"e"},{letter:/[\u00e9\u00ea\u011b\u025b]/g,alternative:"e"},{letter:/\u0190\u0301/g,alternative:"E"},{letter:/\u0190\u0302/g,alternative:"E"},{letter:/\u0190\u030c/g,alternative:"E"},{letter:/[\u00c9\u00ca\u011a\u0190]/g,alternative:"E"},{letter:/[\u00ed\u00ee\u01d0]/g,alternative:"i"},{letter:/[\u00cd\u00ce\u01cf]/g,alternative:"I"},{letter:/\u0254\u0301/g,alternative:"o"},{letter:/\u0254\u0302/g,alternative:"o"},{letter:/\u0254\u030c/g,alternative:"o"},{letter:/[\u00f3\u00f4\u01d2\u0254]/g,alternative:"o"},{letter:/\u0186\u0301/g,alternative:"O"},{letter:/\u0186\u0302/g,alternative:"O"},{letter:/\u0186\u030c/g,alternative:"O"},{letter:/[\u00d3\u00d4\u01d1\u0186]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],lt:[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u0119\u0117]/g,alternative:"e"},{letter:/[\u0118\u0116]/g,alternative:"E"},{letter:/[\u012f]/g,alternative:"i"},{letter:/[\u012e]/g,alternative:"I"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0173\u016b]/g,alternative:"u"},{letter:/[\u0172\u016a]/g,alternative:"U"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],mg:[{letter:/[\u00f4]/g,alternative:"ao"},{letter:/[\u00d4]/g,alternative:"Ao"}],mk:[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0453]/g,alternative:"gj"},{letter:/[\u0403]/g,alternative:"Gj"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0455]/g,alternative:"dz"},{letter:/[\u0405]/g,alternative:"Dz"},{letter:/[\u0438]/g,alternative:"i"},{letter:/[\u0418]/g,alternative:"I"},{letter:/[\u0458]/g,alternative:"j"},{letter:/[\u0408]/g,alternative:"J"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u0459]/g,alternative:"lj"},{letter:/[\u0409]/g,alternative:"Lj"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u045A]/g,alternative:"nj"},{letter:/[\u040A]/g,alternative:"Nj"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u045C]/g,alternative:"kj"},{letter:/[\u040C]/g,alternative:"Kj"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"h"},{letter:/[\u0425]/g,alternative:"H"},{letter:/[\u0446]/g,alternative:"c"},{letter:/[\u0426]/g,alternative:"C"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u045F]/g,alternative:"dj"},{letter:/[\u040F]/g,alternative:"Dj"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"}],mri:[{letter:/[\u0101]/g,alternative:"aa"},{letter:/[\u0100]/g,alternative:"Aa"},{letter:/[\u0113]/g,alternative:"ee"},{letter:/[\u0112]/g,alternative:"Ee"},{letter:/[\u012b]/g,alternative:"ii"},{letter:/[\u012a]/g,alternative:"Ii"},{letter:/[\u014d]/g,alternative:"oo"},{letter:/[\u014c]/g,alternative:"Oo"},{letter:/[\u016b]/g,alternative:"uu"},{letter:/[\u016a]/g,alternative:"Uu"}],mwl:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u0169]/g,alternative:"u"},{letter:/[\u00da\u0168]/g,alternative:"U"}],oci:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00b7]/g,alternative:""}],orm:[{letter:/[\u0027]/g,alternative:""}],pt:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1\u00e2\u00e3\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c3\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u00d3\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],roh:[{letter:/[\u00e9\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ef]/g,alternative:"i"},{letter:/[\u00cf]/g,alternative:"I"},{letter:/[\u00f6]/g,alternative:"oe"},{letter:/[\u00d6]/g,alternative:"Oe"},{letter:/[\u00fc]/g,alternative:"ue"},{letter:/[\u00dc]/g,alternative:"Ue"},{letter:/[\u00e4]/g,alternative:"ae"},{letter:/[\u00c4]/g,alternative:"Ae"}],rup:[{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"}],ro:[{letter:/[\u0103\u00e2]/g,alternative:"a"},{letter:/[\u0102\u00c2]/g,alternative:"A"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u0219\u015f]/g,alternative:"s"},{letter:/[\u0218\u015e]/g,alternative:"S"},{letter:/[\u021b\u0163]/g,alternative:"t"},{letter:/[\u021a\u0162]/g,alternative:"T"}],tlh:[{letter:/[\u2019\u0027]/g,alternative:""}],sk:[{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"},{letter:/[\u00e1\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c4]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u010f]/g,alternative:"d"},{letter:/[\u010e]/g,alternative:"D"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u013e\u013a]/g,alternative:"l"},{letter:/[\u013d\u0139]/g,alternative:"L"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00fd]/g,alternative:"y"},{letter:/[\u00dd]/g,alternative:"Y"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],sl:[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u00e0\u00e1\u0203\u0201]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u0202\u0200]/g,alternative:"A"},{letter:/[\u00e8\u00e9\u0207\u0205]/g,alternative:"e"},{letter:/\u01dd\u0300/g,alternative:"e"},{letter:/\u01dd\u030f/g,alternative:"e"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb9\u0311/g,alternative:"e"},{letter:/[\u00c8\u00c9\u0206\u0204]/g,alternative:"E"},{letter:/\u018e\u030f/g,alternative:"E"},{letter:/\u018e\u0300/g,alternative:"E"},{letter:/\u1eb8\u0311/g,alternative:"E"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/[\u00ec\u00ed\u020b\u0209]/g,alternative:"i"},{letter:/[\u00cc\u00cd\u020a\u0208]/g,alternative:"I"},{letter:/[\u00f2\u00f3\u020f\u020d]/g,alternative:"o"},{letter:/\u1ecd\u0311/g,alternative:"o"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0311/g,alternative:"O"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/[\u00d2\u00d3\u020e\u020c]/g,alternative:"O"},{letter:/[\u00f9\u00fa\u0217\u0215]/g,alternative:"u"},{letter:/[\u00d9\u00da\u0216\u0214]/g,alternative:"U"},{letter:/[\u0155\u0213]/g,alternative:"r"},{letter:/[\u0154\u0212]/g,alternative:"R"}],sq:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00eb]/g,alternative:"e"},{letter:/[\u00cb]/g,alternative:"E"}],hu:[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f6\u0151]/g,alternative:"o"},{letter:/[\u00d3\u00d6\u0150]/g,alternative:"O"},{letter:/[\u00fa\u00fc\u0171]/g,alternative:"u"},{letter:/[\u00da\u00dc\u0170]/g,alternative:"U"}],srd:[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"}],szl:[{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u0142]/g,alternative:"u"},{letter:/[\u0141]/g,alternative:"U"},{letter:/[\u006e]/g,alternative:"n"},{letter:/[\u004e]/g,alternative:"N"},{letter:/[\u014f\u014d\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u014e\u014c\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u015b]/g,alternative:"s"},{letter:/[\u015a]/g,alternative:"S"},{letter:/[\u017a\u017c\u017e]/g,alternative:"z"},{letter:/[\u0179\u017b\u017d]/g,alternative:"Z"},{letter:/[\u016f]/g,alternative:"u"},{letter:/[\u016e]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"cz"},{letter:/[\u010c]/g,alternative:"Cz"},{letter:/[\u0159]/g,alternative:"rz"},{letter:/[\u0158]/g,alternative:"Rz"},{letter:/[\u0161]/g,alternative:"sz"},{letter:/[\u0160]/g,alternative:"Sz"}],tah:[{letter:/[\u0101\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u0100\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00ef\u00ee\u00ec]/g,alternative:"i"},{letter:/[\u00cf\u00ce\u00cc]/g,alternative:"I"},{letter:/[\u0113\u00ea\u00e9]/g,alternative:"e"},{letter:/[\u0112\u00ca\u00c9]/g,alternative:"E"},{letter:/[\u016b\u00fb\u00fa]/g,alternative:"u"},{letter:/[\u016a\u00db\u00da]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f2\u00f4\u014d]/g,alternative:"o"},{letter:/[\u00d2\u00d4\u014c]/g,alternative:"O"},{letter:/[\u2019\u0027\u2018]/g,alternative:""}],vec:[{letter:/\u0073\u002d\u0063/g,alternative:"sc"},{letter:/\u0053\u002d\u0043/g,alternative:"SC"},{letter:/\u0073\u0027\u0063/g,alternative:"sc"},{letter:/\u0053\u0027\u0043/g,alternative:"SC"},{letter:/\u0073\u2019\u0063/g,alternative:"sc"},{letter:/\u0053\u2019\u0043/g,alternative:"SC"},{letter:/\u0073\u2018\u0063/g,alternative:"sc"},{letter:/\u0053\u2018\u0043/g,alternative:"SC"},{letter:/\u0053\u002d\u0063/g,alternative:"Sc"},{letter:/\u0053\u0027\u0063/g,alternative:"Sc"},{letter:/\u0053\u2019\u0063/g,alternative:"Sc"},{letter:/\u0053\u2018\u0063/g,alternative:"Sc"},{letter:/\u0063\u2019/g,alternative:"c"},{letter:/\u0043\u2019/g,alternative:"C"},{letter:/\u0063\u2018/g,alternative:"c"},{letter:/\u0043\u2018/g,alternative:"C"},{letter:/\u0063\u0027/g,alternative:"c"},{letter:/\u0043\u0027/g,alternative:"C"},{letter:/[\u00e0\u00e1\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00f9\u00fa]/g,alternative:"u"},{letter:/[\u00d9\u00da]/g,alternative:"U"},{letter:/[\u00e7\u010d\u010b]/g,alternative:"c"},{letter:/[\u00c7\u010c\u010a]/g,alternative:"C"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u00a3\u0141]/g,alternative:"L"},{letter:/\ud835\udeff/g,alternative:"dh"},{letter:/[\u0111\u03b4]/g,alternative:"dh"},{letter:/[\u0110\u0394]/g,alternative:"Dh"}],wa:[{letter:/[\u00e2\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u00c5]/g,alternative:"A"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/\u0065\u030a/g,alternative:"e"},{letter:/\u0045\u030a/g,alternative:"E"},{letter:/[\u00eb\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca\u00cb]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"}],yor:[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00ec\u00ed]/g,alternative:"i"},{letter:/[\u00cc\u00cd]/g,alternative:"I"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/\u1ecd\u0300/g,alternative:"o"},{letter:/\u1ecc\u0300/g,alternative:"O"},{letter:/[\u00f3\u00f2\u1ecd]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u1ecc]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/\u1eb9\u0300/g,alternative:"e"},{letter:/\u1eb8\u0300/g,alternative:"E"},{letter:/[\u00e9\u00e8\u1eb9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u1eb8]/g,alternative:"E"},{letter:/[\u1e63]/g,alternative:"s"},{letter:/[\u1e62]/g,alternative:"S"}]}},78035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"presenter",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(1456))&&n.__esModule?n:{default:n}},1456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,n.__)("Content optimization:","wordpress-seo");return{feedback:{className:"na",screenReaderText:(0,n.__)("Feedback","wordpress-seo"),fullText:`${e} ${(0,n.__)("Has feedback","wordpress-seo")}`,screenReaderReadabilityText:""},bad:{className:"bad",screenReaderText:(0,n.__)("Needs improvement","wordpress-seo"),fullText:`${e} ${(0,n.__)("Needs improvement","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("Needs improvement","wordpress-seo")},ok:{className:"ok",screenReaderText:(0,n.__)("OK SEO score","wordpress-seo"),fullText:`${e} ${(0,n.__)("OK SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("OK","wordpress-seo")},good:{className:"good",screenReaderText:(0,n.__)("Good SEO score","wordpress-seo"),fullText:`${e} ${(0,n.__)("Good SEO score","wordpress-seo")}`,screenReaderReadabilityText:(0,n.__)("Good","wordpress-seo")}}};var n=r(65736)},23324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];let t=a;return t=t.concat(d((0,s.default)(e))),t};var n,s=(n=r(67404))&&n.__esModule?n:{default:n},i=r(92819);const a=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternative:"o"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00F8]/g,alternative:"o"},{letter:/[\u00F9]/g,alternative:"u"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00FB]/g,alternative:"u"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0102]/g,alternative:"A"},{letter:/[\u0103]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0108]/g,alternative:"C"},{letter:/[\u0109]/g,alternative:"c"},{letter:/[\u010A]/g,alternative:"C"},{letter:/[\u010B]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0114]/g,alternative:"E"},{letter:/[\u0115]/g,alternative:"e"},{letter:/[\u0116]/g,alternative:"E"},{letter:/[\u0117]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u011A]/g,alternative:"E"},{letter:/[\u011B]/g,alternative:"e"},{letter:/[\u011C]/g,alternative:"G"},{letter:/[\u011D]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u0120]/g,alternative:"G"},{letter:/[\u0121]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0124]/g,alternative:"H"},{letter:/[\u0125]/g,alternative:"h"},{letter:/[\u0126]/g,alternative:"H"},{letter:/[\u0127]/g,alternative:"h"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012C]/g,alternative:"I"},{letter:/[\u012D]/g,alternative:"i"},{letter:/[\u012E]/g,alternative:"I"},{letter:/[\u012F]/g,alternative:"i"},{letter:/[\u0130]/g,alternative:"I"},{letter:/[\u0131]/g,alternative:"i"},{letter:/[\u0132]/g,alternative:"IJ"},{letter:/[\u0133]/g,alternative:"ij"},{letter:/[\u0134]/g,alternative:"J"},{letter:/[\u0135]/g,alternative:"j"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0138]/g,alternative:"k"},{letter:/[\u0139]/g,alternative:"L"},{letter:/[\u013A]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013D]/g,alternative:"L"},{letter:/[\u013E]/g,alternative:"l"},{letter:/[\u013F]/g,alternative:"L"},{letter:/[\u0140]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0149]/g,alternative:"n"},{letter:/[\u014A]/g,alternative:"N"},{letter:/[\u014B]/g,alternative:"n"},{letter:/[\u014C]/g,alternative:"O"},{letter:/[\u014D]/g,alternative:"o"},{letter:/[\u014E]/g,alternative:"O"},{letter:/[\u014F]/g,alternative:"o"},{letter:/[\u0150]/g,alternative:"O"},{letter:/[\u0151]/g,alternative:"o"},{letter:/[\u0152]/g,alternative:"OE"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0156]/g,alternative:"R"},{letter:/[\u0157]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015C]/g,alternative:"S"},{letter:/[\u015D]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0162]/g,alternative:"T"},{letter:/[\u0163]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0166]/g,alternative:"T"},{letter:/[\u0167]/g,alternative:"t"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016C]/g,alternative:"U"},{letter:/[\u016D]/g,alternative:"u"},{letter:/[\u016E]/g,alternative:"U"},{letter:/[\u016F]/g,alternative:"u"},{letter:/[\u0170]/g,alternative:"U"},{letter:/[\u0171]/g,alternative:"u"},{letter:/[\u0172]/g,alternative:"U"},{letter:/[\u0173]/g,alternative:"u"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0176]/g,alternative:"Y"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u0179]/g,alternative:"Z"},{letter:/[\u017A]/g,alternative:"z"},{letter:/[\u017B]/g,alternative:"Z"},{letter:/[\u017C]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017F]/g,alternative:"s"},{letter:/[\u01A0]/g,alternative:"O"},{letter:/[\u01A1]/g,alternative:"o"},{letter:/[\u01AF]/g,alternative:"U"},{letter:/[\u01B0]/g,alternative:"u"},{letter:/[\u01CD]/g,alternative:"A"},{letter:/[\u01CE]/g,alternative:"a"},{letter:/[\u01CF]/g,alternative:"I"},{letter:/[\u01D0]/g,alternative:"i"},{letter:/[\u01D1]/g,alternative:"O"},{letter:/[\u01D2]/g,alternative:"o"},{letter:/[\u01D3]/g,alternative:"U"},{letter:/[\u01D4]/g,alternative:"u"},{letter:/[\u01D5]/g,alternative:"U"},{letter:/[\u01D6]/g,alternative:"u"},{letter:/[\u01D7]/g,alternative:"U"},{letter:/[\u01D8]/g,alternative:"u"},{letter:/[\u01D9]/g,alternative:"U"},{letter:/[\u01DA]/g,alternative:"u"},{letter:/[\u01DB]/g,alternative:"U"},{letter:/[\u01DC]/g,alternative:"u"},{letter:/[\u0218]/g,alternative:"S"},{letter:/[\u0219]/g,alternative:"s"},{letter:/[\u021A]/g,alternative:"T"},{letter:/[\u021B]/g,alternative:"t"},{letter:/[\u0251]/g,alternative:"a"},{letter:/[\u1EA0]/g,alternative:"A"},{letter:/[\u1EA1]/g,alternative:"a"},{letter:/[\u1EA2]/g,alternative:"A"},{letter:/[\u1EA3]/g,alternative:"a"},{letter:/[\u1EA4]/g,alternative:"A"},{letter:/[\u1EA5]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EA7]/g,alternative:"a"},{letter:/[\u1EA8]/g,alternative:"A"},{letter:/[\u1EA9]/g,alternative:"a"},{letter:/[\u1EAA]/g,alternative:"A"},{letter:/[\u1EAB]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EAD]/g,alternative:"a"},{letter:/[\u1EAE]/g,alternative:"A"},{letter:/[\u1EAF]/g,alternative:"a"},{letter:/[\u1EB0]/g,alternative:"A"},{letter:/[\u1EB1]/g,alternative:"a"},{letter:/[\u1EB2]/g,alternative:"A"},{letter:/[\u1EB3]/g,alternative:"a"},{letter:/[\u1EB4]/g,alternative:"A"},{letter:/[\u1EB5]/g,alternative:"a"},{letter:/[\u1EB6]/g,alternative:"A"},{letter:/[\u1EB7]/g,alternative:"a"},{letter:/[\u1EB8]/g,alternative:"E"},{letter:/[\u1EB9]/g,alternative:"e"},{letter:/[\u1EBA]/g,alternative:"E"},{letter:/[\u1EBB]/g,alternative:"e"},{letter:/[\u1EBC]/g,alternative:"E"},{letter:/[\u1EBD]/g,alternative:"e"},{letter:/[\u1EBE]/g,alternative:"E"},{letter:/[\u1EBF]/g,alternative:"e"},{letter:/[\u1EC0]/g,alternative:"E"},{letter:/[\u1EC1]/g,alternative:"e"},{letter:/[\u1EC2]/g,alternative:"E"},{letter:/[\u1EC3]/g,alternative:"e"},{letter:/[\u1EC4]/g,alternative:"E"},{letter:/[\u1EC5]/g,alternative:"e"},{letter:/[\u1EC6]/g,alternative:"E"},{letter:/[\u1EC7]/g,alternative:"e"},{letter:/[\u1EC8]/g,alternative:"I"},{letter:/[\u1EC9]/g,alternative:"i"},{letter:/[\u1ECA]/g,alternative:"I"},{letter:/[\u1ECB]/g,alternative:"i"},{letter:/[\u1ECC]/g,alternative:"O"},{letter:/[\u1ECD]/g,alternative:"o"},{letter:/[\u1ECE]/g,alternative:"O"},{letter:/[\u1ECF]/g,alternative:"o"},{letter:/[\u1ED0]/g,alternative:"O"},{letter:/[\u1ED1]/g,alternative:"o"},{letter:/[\u1ED2]/g,alternative:"O"},{letter:/[\u1ED3]/g,alternative:"o"},{letter:/[\u1ED4]/g,alternative:"O"},{letter:/[\u1ED5]/g,alternative:"o"},{letter:/[\u1ED6]/g,alternative:"O"},{letter:/[\u1ED7]/g,alternative:"o"},{letter:/[\u1ED8]/g,alternative:"O"},{letter:/[\u1ED9]/g,alternative:"o"},{letter:/[\u1EDA]/g,alternative:"O"},{letter:/[\u1EDB]/g,alternative:"o"},{letter:/[\u1EDC]/g,alternative:"O"},{letter:/[\u1EDD]/g,alternative:"o"},{letter:/[\u1EDE]/g,alternative:"O"},{letter:/[\u1EDF]/g,alternative:"o"},{letter:/[\u1EE0]/g,alternative:"O"},{letter:/[\u1EE1]/g,alternative:"o"},{letter:/[\u1EE2]/g,alternative:"O"},{letter:/[\u1EE3]/g,alternative:"o"},{letter:/[\u1EE4]/g,alternative:"U"},{letter:/[\u1EE5]/g,alternative:"u"},{letter:/[\u1EE6]/g,alternative:"U"},{letter:/[\u1EE7]/g,alternative:"u"},{letter:/[\u1EE8]/g,alternative:"U"},{letter:/[\u1EE9]/g,alternative:"u"},{letter:/[\u1EEA]/g,alternative:"U"},{letter:/[\u1EEB]/g,alternative:"u"},{letter:/[\u1EEC]/g,alternative:"U"},{letter:/[\u1EED]/g,alternative:"u"},{letter:/[\u1EEE]/g,alternative:"U"},{letter:/[\u1EEF]/g,alternative:"u"},{letter:/[\u1EF0]/g,alternative:"U"},{letter:/[\u1EF1]/g,alternative:"u"},{letter:/[\u1EF2]/g,alternative:"Y"},{letter:/[\u1EF3]/g,alternative:"y"},{letter:/[\u1EF4]/g,alternative:"Y"},{letter:/[\u1EF5]/g,alternative:"y"},{letter:/[\u1EF6]/g,alternative:"Y"},{letter:/[\u1EF7]/g,alternative:"y"},{letter:/[\u1EF8]/g,alternative:"Y"},{letter:/[\u1EF9]/g,alternative:"y"}],o=[{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u1E9E]/g,alternative:"SS"},{letter:/[\u00DF]/g,alternative:"ss"}],l=[{letter:/[\u00C6]/g,alternative:"Ae"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E5]/g,alternative:"aa"}],u=[{letter:/[\u00B7]/g,alternative:"ll"}],c=[{letter:/[\u0110]/g,alternative:"DJ"},{letter:/[\u0111]/g,alternative:"dj"}],d=function(e){switch(e){case"de":return o;case"da":return l;case"ca":return u;case"sr":case"bs":return c;default:return[]}}},35468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"]}},10152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORD_BOUNDARY_WITH_HYPHEN=t.WORD_BOUNDARY_WITHOUT_HYPHEN=void 0,t.WORD_BOUNDARY_WITH_HYPHEN="[\\s\\u2013\\u002d]",t.WORD_BOUNDARY_WITHOUT_HYPHEN="[\\s\\u2013]"},62887:(e,t,r)=>{"use strict";var n;function s(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,((n=r(89539))&&n.__esModule?n:{default:n}).default.inherits(s,Error),t.default=s},85551:(e,t,r)=>{"use strict";var n;function s(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,((n=r(89539))&&n.__esModule?n:{default:n}).default.inherits(s,Error),t.default=s},25003:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.measureTextWidth=void 0;const r="yoast-measurement-element";t.measureTextWidth=function(e){let t=document.getElementById(r);return t||(t=function(){const e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}},47661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.showTrace=s;var n=r(92819);function s(e){(0,n.isUndefined)(e)&&(e=""),(0,n.isUndefined)(console)||(0,n.isUndefined)(console.trace)||console.trace(e)}t.default={showTrace:s}},52453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);const s=function(){};s.prototype.buildMockElement=function(){const e=[];return e.nodeType=1,e},s.prototype.buildMockResearcher=function(e,t=!1,r=!1,s=!1,i=!1){return!t||"object"!=typeof e&&"object"!=typeof i&&"object"!=typeof s?{getResearch:function(){return e},getData:function(){return r},getHelper:function(){return i},hasHelper:function(){return e},getConfig:function(){return s},hasConfig:function(t){return!(0,n.isUndefined)(e[t])}}:{getResearch:function(t){return e[t]},hasResearch:function(t){return!(0,n.isUndefined)(e[t])},addResearch:function(t,r){e[t]=r},getData:function(){return r},getHelper:function(e){return i[e]},hasHelper:function(e){return!(0,n.isUndefined)(i[e])},addHelper:function(e,t){i||(i={}),i[e]=t},getConfig:function(e){return s[e]},hasConfig:function(e){return!(0,n.isUndefined)(s[e])},addConfig:function(e,t){s[e]=t}}},s.prototype.buildMockString=function(e,t){let r="";e=e||"Test ",t=t||1;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10}},54057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="%%"){r=(0,n.escapeRegExp)(r);const s=new RegExp(`${r}(.+?)${r}`,"g");let i,a=e;for(;null!==(i=s.exec(e));){const e=i[1],s=new RegExp(`${r}${(0,n.escapeRegExp)(e)}${r}`,"g");e in t&&(a=a.replace(s,t[e]))}return a};var n=r(92819)},89175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordComplexity=function(){return["en","es","de","fr"]}},73816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordFormSupport=function(){return["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk","el","ja"]}},33888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEntitiesRegex=t.htmlEntities=t.hashedHtmlEntitiesRegexStart=t.hashedHtmlEntitiesRegexEnd=t.hashedHtmlEntities=void 0;const r=t.htmlEntities=new Map([["amp;","&"],["lt;","<"],["gt;",">"],["quot;",'"'],["apos;","'"],["ndash;","–"],["mdash;","—"],["copy;","©"],["reg;","®"],["trade;","™"],["pound;","£"],["yen;","¥"],["euro;","€"],["dollar;","$"],["deg;","°"],["asymp;","≈"],["ne;","≠"],["nbsp;"," "]]),n=(t.htmlEntitiesRegex=new RegExp("&("+[...r.keys()].join("|")+")","ig"),t.hashedHtmlEntities=new Map);r.forEach(((e,t)=>n.set("#"+t,e))),t.hashedHtmlEntitiesRegexStart=new RegExp("^("+[...n.keys()].join("|")+")"),t.hashedHtmlEntitiesRegexEnd=new RegExp("("+[...n.keys()].join("|")+")$")},64495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAnchorOpeningTag",{enumerable:!0,get:function(){return l.createAnchorOpeningTag}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"getLanguagesWithWordComplexity",{enumerable:!0,get:function(){return o.getLanguagesWithWordComplexity}}),Object.defineProperty(t,"getLanguagesWithWordFormSupport",{enumerable:!0,get:function(){return i.getLanguagesWithWordFormSupport}}),t.htmlEntities=void 0,Object.defineProperty(t,"measureTextWidth",{enumerable:!0,get:function(){return s.measureTextWidth}});var n,s=r(25003),i=r(73816),a=(n=r(17179))&&n.__esModule?n:{default:n},o=r(89175),l=r(33140),u=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(33888));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}t.htmlEntities=u},23319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e={}){this.configure(e)}configure(e){this._config={params:{},...e}}static createQueryString(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}append(e,t={}){let n=encodeURI(e);const s=r.createQueryString({...this._config.params,...t});return""!==s&&(n+="?"+s),n}createAnchorOpeningTag(e,t={}){return``}}t.default=r},33140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(28774);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},28774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configureShortlinker=function(e){a().configure(e)},t.createAnchorOpeningTag=function(e,t={}){return a().createAnchorOpeningTag(e,t)},t.createShortlink=function(e,t={}){return a().append(e,t)};var n,s=(n=r(23319))&&n.__esModule?n:{default:n};let i;function a(){return null===i.yoast.shortlinker&&(i.yoast.shortlinker=new s.default),i.yoast.shortlinker}i="undefined"==typeof window?"undefined"==typeof self?r.g:self:window,i.yoast=i.yoast||{},i.yoast.shortlinker=i.yoast.shortlinker||null},67986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=H(r(62887)),i=H(r(85551)),a=H(r(40027)),o=H(r(99447)),l=H(r(86232)),u=H(r(14117)),c=H(r(69564)),d=H(r(3479)),h=H(r(63216)),p=H(r(82163)),f=G(r(78160)),g=H(r(901)),m=H(r(45095)),_=H(r(41564)),y=H(r(72619)),E=H(r(52364)),T=H(r(18807)),A=H(r(58743)),v=H(r(62987)),b=H(r(21706)),S=H(r(31051)),I=H(r(52948)),O=H(r(57419)),C=G(r(82242)),N=r(74066),D=H(r(72286)),w=H(r(90497)),P=H(r(96458)),R=H(r(31015)),k=H(r(7045)),L=H(r(48799)),M=H(r(25969)),x=H(r(99074)),F=H(r(44518)),U=H(r(47647));function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(B=function(e){return e?r:t})(e)}function G(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=B(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function H(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this.paper=e,this.defaultResearches={altTagCount:a.default,countSentencesFromText:o.default,findKeywordInFirstParagraph:l.default,findKeyphraseInSEOTitle:u.default,findTransitionWords:c.default,functionWordsInKeyphrase:d.default,getAnchorsWithKeyphrase:h.default,getFleschReadingScore:p.default,getKeyphraseCount:C.default,getKeyphraseDensity:f.default,getKeywordDensity:f.getKeywordDensity,getLinks:g.default,getLinkStatistics:m.default,getParagraphs:_.default,getParagraphLength:y.default,getProminentWordsForInsights:T.default,getProminentWordsForInternalLinking:A.default,getSentenceBeginnings:v.default,getSubheadingTextLengths:b.default,h1s:S.default,imageCount:I.default,keyphraseLength:O.default,keywordCount:C.keywordCount,keywordCountInSlug:N.keywordCountInSlug,keywordCountInUrl:N.keywordCountInUrl,matchKeywordInSubheadings:D.default,metaDescriptionKeyword:w.default,metaDescriptionLength:P.default,morphology:R.default,pageTitleWidth:k.default,readingTime:L.default,sentences:M.default,wordCountInText:F.default,videoCount:x.default,getPassiveVoiceResult:E.default},this._data={},this.customResearches={},this.helpers={memoizedTokenizer:U.default},this.config={areHyphensWordBoundaries:!0}}setPaper(e){this.paper=e}addResearch(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Research name cannot be empty");if(!(t instanceof Function))throw new s.default("The research requires a Function callback.");this.customResearches[e]=t}addResearchData(e,t){this._data[e]=t}addHelper(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Helper name cannot be empty");if(!(t instanceof Function))throw new s.default("The research requires a Function callback.");this.helpers[e]=t}addConfig(e,t){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Failed to add the custom researcher config. Config name cannot be empty.");if((0,n.isUndefined)(t)||(0,n.isEmpty)(t)&&t===Object(t))throw new i.default("Failed to add the custom researcher config. Config cannot be empty.");this.config[e]=t}hasResearch(e){return Object.keys(this.getAvailableResearches()).filter((function(t){return t===e})).length>0}hasHelper(e){return Object.keys(this.getAvailableHelpers()).filter((function(t){return t===e})).length>0}hasConfig(e){return Object.keys(this.getAvailableConfig()).filter((function(t){return t===e})).length>0}hasResearchData(e){return Object.keys(this.getAvailableResearchData()).filter((function(t){return t===e})).length>0}getAvailableResearches(){return(0,n.merge)(this.defaultResearches,this.customResearches)}getAvailableHelpers(){return this.helpers}getAvailableConfig(){return this.config}getAvailableResearchData(){return this._data}getResearch(e){if((0,n.isUndefined)(e)||(0,n.isEmpty)(e))throw new i.default("Research name cannot be empty");return!!this.hasResearch(e)&&this.getAvailableResearches()[e](this.paper,this)}getData(e){return!!this.hasResearchData(e)&&this._data[e]}getConfig(e){return!!this.hasConfig(e)&&this.config[e]}getHelper(e){return!!this.hasHelper(e)&&this.helpers[e]}}},82676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(41054))&&n.__esModule?n:{default:n};t.default=function(e,t){if(0===t.length)return[];const r=((e,t)=>{const r=e.tokens,n=[];for(let e=r.length-1;e>=0;e--){const s=r[e];t.some((e=>e.sourceCodeRange.startOffset===s.sourceCodeRange.startOffset||e.sourceCodeRange.endOffset===s.sourceCodeRange.endOffset))?n.unshift("",s.text,""):n.unshift(s.text)}return n.join("").replace(new RegExp("([  ]?)","ig"),"$1")})(e,t);return(e=>{const t=[];return e.sort((function(e,t){return e.getPositionStart()-t.getPositionStart()})),e.forEach((e=>{if(0===t.length)return void t.push(e);const r=t[t.length-1];r.getPositionEnd()+1===e.getPositionStart()||e.getPositionStart()<=r.getPositionEnd()?(r.setPositionEnd(e.getPositionEnd()),r.setBlockPositionEnd(e.getBlockPositionEnd())):t.push(e)})),t})(t.map((t=>{const n=t.sourceCodeRange.startOffset,i=t.sourceCodeRange.endOffset;return new s.default({position:{startOffset:n,endOffset:i,startOffsetBlock:n-(e.parentStartOffset||0),endOffsetBlock:i-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1},marked:r,original:e.text})})))}},29368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldsToMark=function(e,t){const r=(0,n.uniq)((0,n.flatten)(e.map((e=>{if(!(0,n.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()})))),i=[];return r.forEach((e=>{"heading"===e&&(0,s.getSubheadings)(t).forEach((e=>{i.push(e[0])}))})),{fieldsToMark:r,selectedHTML:i}};var n=r(92819),s=r(84285)},89272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[...e.matchAll(new RegExp("]+)?>(.*?)<\\/h\\1>","ig"))],r=[];return t.forEach(((e,s)=>{const i=e[0],a=e.index,o=t[s+1];let l;l=(0,n.isUndefined)(o)?e.input.length:o.index;const u=e.input.slice(a+i.length,l);r.push({subheading:i,text:u,index:a})})),r};var n=r(92819)},84285:(e,t)=>{"use strict";function r(e){const t=[],r=/]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}function n(e){const t=[],r=/]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}function s(e){return r(e).map((e=>e[0]))}function i(e){return n(e).map((e=>e[0]))}function a(e){return e.replace(/]+)?>(.*?)<\/h\1>/gi,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSubheadingContents=s,t.getSubheadingContentsTopLevel=i,t.getSubheadings=r,t.getSubheadingsTopLevel=n,t.removeSubheadingsTopLevel=a,t.default={getSubheadings:r,getSubheadingsTopLevel:n,getSubheadingContents:s,getSubheadingContentsTopLevel:i,removeSubheadingsTopLevel:a}},1831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineElements=t.getBlocks=t.default=t.blockElements=void 0,t.isBlockElement=A,t.isInlineElement=v;var n,s=r(92819),i=(n=r(14429))&&n.__esModule?n:{default:n};const a=t.blockElements=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],o=t.inlineElements=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],l=new RegExp("^("+a.join("|")+")$","i"),u=new RegExp("^("+o.join("|")+")$","i"),c=new RegExp("^<("+a.join("|")+")[^>]*?>$","i"),d=new RegExp("^]*?>$","i"),h=new RegExp("^<("+o.join("|")+")[^>]*>$","i"),p=new RegExp("^]*>$","i"),f=/^<([^>\s/]+)[^>]*>$/,g=/^<\/([^>\s]+)[^>]*>$/,m=/^[^<]+$/,_=/^<[^><]*$/,y=//g;let E,T=[];function A(e){return l.test(e)}function v(e){return u.test(e)}const b=t.getBlocks=(0,s.memoize)((function(e){const t=[];let r=0,n="",a="",o="";return e=e.replace(y,""),T=[],E=(0,i.default)((function(e){T.push(e)})),E.addRule(m,"content"),E.addRule(_,"greater-than-sign-content"),E.addRule(c,"block-start"),E.addRule(d,"block-end"),E.addRule(h,"inline-start"),E.addRule(p,"inline-end"),E.addRule(f,"other-element-start"),E.addRule(g,"other-element-end"),E.onText(e),E.end(),(0,s.forEach)(T,(function(e,s){const i=T[s+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":i&&(0!==r||"block-start"!==i.type&&"block-end"!==i.type)?a+=e.src:(a+=e.src,t.push(a),n="",a="",o="");break;case"block-start":0!==r&&(""!==a.trim()&&t.push(a),a="",o=""),r++,n=e.src;break;case"block-end":r--,o=e.src,""!==n&&""!==o?t.push(n+a+o):""!==a.trim()&&t.push(a),n="",a="",o=""}r<0&&(r=0)})),t}));t.default={blockElements:a,inlineElements:o,isBlockElement:A,isInlineElement:v,getBlocks:b}},96908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i=[],a=!1,o=[],c.write(e),c.parseComplete(),i.join("")};var n,s=(n=r(23719))&&n.__esModule?n:{default:n};let i=[],a=!1,o=[];const l=["script","style","code","pre","blockquote","textarea"],u=["yoast-table-of-contents","yoast-reading-time__wrapper","elementor-button-wrapper","elementor-divider","elementor-spacer","elementor-custom-embed","elementor-icon-wrapper","elementor-icon-box-wrapper","elementor-counter","elementor-progress-wrapper","elementor-alert","elementor-soundcloud-wrapper","elementor-shortcode","elementor-menu-anchor","elementor-title"],c=new s.default.Parser({onopentag:function(e,t){if(a)return void o.push(e);const r=t.class?t.class.split(" "):[];if(l.includes(e)||r.some((e=>u.includes(e))))return a=!0,void o.push(e);const n=Object.keys(t);let s="";n.forEach((function(e){s+=" "+e+"='"+t[e]+"'"})),i.push("<"+e+s+">")},ontext:function(e){a||i.push(e)},onclosetag:function(e){if(1===o.length&&o[0]===e)return a=!1,void(o=[]);a?o.pop():i.push("")}},{decodeEntities:!0})},62932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=i(e);if(t.length>0)return t;let r=(0,s.getBlocks)(e);return r=(0,n.filter)(r,(function(e){return 0!==e.indexOf("0?t:[e]};var n=r(92819),s=r(1831);const i=function(e){let t=[];const r=/]+)?>(.*?)<\/p>/gi;let s;for(;null!==(s=r.exec(e));)t.push(s);return t=(0,n.map)(t,(function(e){return e[1]})),t.filter((e=>e.length>0))}},88567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(new DOMParser).parseFromString(e,"text/html").body.innerHTML.replace(/ /g," ")}},15770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="";return"img"===e.name&&(t=(0,s.default)(e.attributes.alt||""),t=t.replace(/"/g,'"'),t=t.replace(/'/g,"'")),t};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},92017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.getTree();return t?t.findAll((e=>"img"===e.name)):[]}},61440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e,i)},t.imageRegex=void 0;var n,s=(n=r(13617))&&n.__esModule?n:{default:n};const i=t.imageRegex=new RegExp("]+)?>()*","ig")},29866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"filterShortcodesFromHTML",{enumerable:!0,get:function(){return i.filterShortcodesFromHTML}}),Object.defineProperty(t,"matchStringWithRegex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return s.normalize}}),Object.defineProperty(t,"removeHtmlBlocks",{enumerable:!0,get:function(){return a.default}});var n=o(r(13617)),s=r(37361),i=r(24533),a=o(r(96908));function o(e){return e&&e.__esModule?e:{default:e}}},67404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("_")[0]}},88782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="Dofollow";const r=new s.default.Parser({onopentag:function(e,r){"a"===e&&r.rel&&r.rel.toLowerCase().split(/\s/).includes("nofollow")&&(t="Nofollow")}});return r.write(e),r.end(),t};var n,s=(n=r(23719))&&n.__esModule?n:{default:n}},30341:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;return t=e.match(/]+)>((?:.|[\n\r\u2028\u2029])*?)<\/a>/gi),null===t&&(t=[]),t}},25930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=s.default.getFromAnchorTag(e),n=s.default.getProtocol(r);return n&&!s.default.protocolIsHttpScheme(n)||s.default.isRelativeFragmentURL(r)?"other":s.default.isInternalLink(r,t)?"internal":"external"};var n,s=(n=r(20917))&&n.__esModule?n:{default:n}},36478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findWordFormsInString=t.findTopicFormsInString=void 0;var n,s=r(92819),i=(n=r(7407))&&n.__esModule?n:{default:n};const a=function(e,t,r,n){const a=e.length,o=Array(a);let l=[],u=[];for(let s=0;s0?1:0,l.push(a.position),u=u.concat(a.matches)}const c=(0,s.sum)(o),d={countWordMatches:c,percentWordMatches:0,matches:u};return a>0&&(d.percentWordMatches=Math.round(c/a*100)),l=l.filter((e=>e>=0)),d.position=0===l.length?-1:Math.min(...l),d};t.findWordFormsInString=a,t.findTopicFormsInString=function(e,t,r,n,i){let o=a(e.keyphraseForms,t,n,i);if(o.keyphraseOrSynonym="keyphrase",100===o.percentWordMatches||!1===r||(0,s.isEmpty)(e.synonymsForms))return o;const l=[];for(let r=0;re.percentWordMatches)),c=u.indexOf(Math.max(...u));return o.percentWordMatches>=l[c].percentWordMatches||(o=l[c],o.keyphraseOrSynonym="synonym"),o}},23116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(21389))&&n.__esModule?n:{default:n},i=r(92819);t.default=e=>(0,i.includes)(s.default,e[0])&&(0,i.includes)(s.default,e[e.length-1])},7407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="en_EN",n){let a=0,o=[],l=[];return(0,i.uniq)(t).forEach((function(t){const i=(0,s.default)(e,t,r,n);a+=i.count,o=o.concat(i.matches),l.push(i.position)})),l=l.filter((e=>e>=0)),{count:a,matches:o,position:0===l.length?-1:Math.min(...l)}};var n,s=(n=r(75118))&&n.__esModule?n:{default:n},i=r(92819)},95785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const c=(0,u.getLanguage)(r);let h=d(t,c);if("tr"===c){const e=(0,l.replaceTurkishIsMemoized)(t);h=new RegExp(e.map((e=>(0,s.default)(e))).join("|"),"ig")}const p=e.match(h)||[];e=e.replace(h,"");const f=(0,a.default)(t,r),g=d(f,c),m=e.match(g)||[];let _=p.concat(m);const y=(0,o.default)(t,r);if(y!==f){const t=d(y,c),r=e.match(t)||[];_=_.concat(r)}return(0,n.map)(_,(function(e){return(0,i.default)(e)}))};var n=r(92819),s=c(r(28875)),i=c(r(47793)),a=c(r(36064)),o=c(r(78087)),l=r(81011),u=r(58677);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){return e=(0,s.default)(e,!1,"",t),new RegExp(e,"ig")}},75118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,c){e=(0,n.default)(e),e=(0,a.unifyAllSpaces)(e),e=(0,l.normalize)(e),t=(0,l.normalize)(t);let d=c?c(e,t):(0,o.default)(e,t,r);d=(0,u.map)(d,(function(e){return(0,s.default)((0,i.default)(e))}));const h=(0,u.map)(d,(function(t){return e.indexOf(t)}));return{count:d.length,matches:d,position:0===h.length?-1:Math.min(...h)}};var n=c(r(57719)),s=c(r(47793)),i=c(r(8737)),a=r(81831),o=c(r(95785)),l=r(37361),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}},57329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tokenizeKeyphraseFormsForExactMatching=t.default=void 0;var n=i(r(95785)),s=i(r(7337));function i(e){return e&&e.__esModule?e:{default:e}}const a=(e,t)=>{const r=e[0];return t?t(r):(0,s.default)(r)};t.tokenizeKeyphraseFormsForExactMatching=a;t.default=(e,t,r,s,i=!1,o)=>i&&!s?((e,t,r,s)=>{const i={count:0,matches:[]},o=a(t,s),l=e.tokens;let u=0,c=0,d=[];for(;c0?(d.push(l[c]),u++):(u=0,d=[]),d.length===o.length&&(i.matches.push(...d),i.count++,u=0,d=[]),c++}return i})(e,t,r,o):((e,t,r,s)=>{const i={count:0,matches:[]};return t.forEach((t=>{let a=[];a=s?s(e,t):((e,t,r)=>{let s=[];return e.forEach((e=>{(0,n.default)(e.text,t,r).length>0&&(s=s.concat(e))})),s})(e.tokens.slice(),t,r),i.count+=a.length,i.matches=i.matches.concat(a)})),i})(e,t,r,s)},83927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={exactMatchRequested:!1,keyphrase:e};return(0,s.default)(e)&&(t.keyphrase=e.substring(1,e.length-1),t.exactMatchRequested=!0),t};var n,s=(n=r(23116))&&n.__esModule?n:{default:n}},42992:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},19605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.includes(null))return e;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StemOriginalPair=c,t.TopicPhrase=u,t.buildStems=void 0,t.collectStems=function(e,t,r,n,s){return h(r,n,s)(e,t)},t.primeLanguageSpecificData=void 0;var n=l(r(1105)),s=r(37361),i=r(10152),a=r(92819),o=l(r(23116));function l(e){return e&&e.__esModule?e:{default:e}}function u(e=[],t=!1){this.stemOriginalPairs=e,this.exactMatch=t}function c(e,t){this.stem=e,this.original=t}u.prototype.getStems=function(){return this.exactMatch?[]:this.stemOriginalPairs.map((e=>e.stem))};const d=function(e,t,r,l){if((0,a.isUndefined)(e)||""===e)return new u;if((0,o.default)(e))return e=e.substring(1,e.length-1),new u([new c((0,a.escapeRegExp)(e),e)],!0);let d=l?(0,n.default)(e,i.WORD_BOUNDARY_WITH_HYPHEN):(0,n.default)(e,i.WORD_BOUNDARY_WITHOUT_HYPHEN);const h=d.filter((e=>!r.includes(e)));return h.length>0&&(d=h),new u(d.map((e=>new c(t((0,s.normalizeSingle)((0,a.escapeRegExp)(e))),e))))};t.buildStems=d;const h=t.primeLanguageSpecificData=(0,a.memoize)(((e,t,r)=>(0,a.memoize)(((n,s)=>function(e,t,r,n,s){return{keyphraseStems:d(e,r,n,s),synonymsStems:t.map((e=>d(e,r,n,s)))}}(n,s,e,t,r)),((e,t)=>e+","+t.join(",")))))},53371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createSingleRuleFromArray=t.createRulesFromArrays=void 0;const r=function(e,t="i"){return 2===e.length?{reg:new RegExp(e[0],t),repl:e[1]}:3===e.length?{reg:new RegExp(e[0],t),repl1:e[1],repl2:e[2]}:null};t.createSingleRuleFromArray=r;const n=function(e,t="i"){return e.map((e=>r(e,t)))};t.createRulesFromArrays=n,t.default=n},74252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkExceptionListWithTwoStems=function(e,t){for(const r of e){const e=r.find((e=>t.endsWith(e)));if(e)return t.slice(0,t.length-e.length)+r[0]}},t.checkIfWordEndingIsOnExceptionList=function(e,t){for(let r=0;re.startsWith(t)));let i="";return"string"==typeof n&&(i=e.slice(n.length),i.length>2&&(e=i)),t.includes(e)};var n,s=(n=r(44949))&&n.__esModule?n:{default:n}},30259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(const n in t)e.endsWith(t[n])&&r.push(t[n]);const n=r.sort((function(e,t){return t.length-e.length}))[0];return n||""}},44949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.flatten)(Object.values(e)).sort(((e,t)=>t.length-e.length||e.localeCompare(t)))};var n=r(92819)},90831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getText(),c=(0,l.default)(e).map((e=>(0,s.default)(e))),d=[r,e.getTitle(),e.getSlug(),(0,a.default)(e.getSlug()),e.getDescription(),c.join(" ")].join(" ");return(t?(0,o.default)(d,u.WORD_BOUNDARY_WITH_HYPHEN):(0,o.default)(d,u.WORD_BOUNDARY_WITHOUT_HYPHEN)).map((e=>(0,i.normalizeSingle)((0,n.escapeRegExp)(e))))};var n=r(92819),s=c(r(15770)),i=r(37361),a=c(r(84159)),o=c(r(1105)),l=c(r(92017)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}},64396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyAllReplacements=function(e,t){return t.forEach((function(t){e=e.replace(new RegExp(t[0]),t[1])})),e},t.doesWordMatchRegex=function(e,t){return RegExp(t).test(e)},t.searchAndReplaceWithRegex=function(e,t){for(const r of t)if(-1!==e.search(new RegExp(r[0])))return e.replace(new RegExp(r[0]),r[1])}},74694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSuffixFromFullForm=function(e,t,r){for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stemPrefixedFunctionWords=function(e,t){let r=e,n="";const s=e.match(t);return s&&(n=s[0],r=e.slice(n.length)),{stem:r,prefix:n}}},23107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const n=(0,i.default)(e).map((e=>e.toLowerCase())),a=n.indexOf(t.toLowerCase());if(a<1)return!1;const o=n[a-1];return(0,s.includes)(r,o)};var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n}},80053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(47793))&&n.__esModule?n:{default:n};t.default=function(e,t){const r=t.regexes.auxiliaryRegex;if(null===e.match(r))return[];let n;const a=e.match(t.regexes.stopwordRegex)||[];return n=function(e,t){const r=[];return(0,s.forEach)(t,(function(t){const n=e.split(t);(0,s.isEmpty)(n[0])||r.push(n[0]);const a=e.indexOf(t),o=e.length;e=(0,i.default)(e.substring(a,o))})),r.push(e),r}(e,a),void 0!==t.regexes.stopCharacterRegex&&1===n.length&&(n=function(e,t){const r=e.split(t);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){const l=(0,n.uniq)(r),u=(0,a.getIndicesByWordListSorted)(l,e),c=e.indexOf(t),d=(0,s.default)(o),h=u.filter((e=>e.indexe.index>p.index&&e.index0};var n=r(92819),s=o(r(18072)),i=o(r(40404)),a=r(61403);function o(e){return e&&e.__esModule?e:{default:e}}},43527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return p(e,t)};var n=r(61403),s=c(r(47793)),i=r(37361),a=c(r(40404)),o=c(r(9803)),l=c(r(89032)),u=r(92819);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(n,e.index)&&(t=t.filter((function(t){return t.index!==e.index})))})),t},h=function(e,t){const{auxiliaryRegex:r,directPrecedenceExceptionRegex:i,followingAuxiliaryExceptionRegex:o}=t;let c=e.match(r)||[];if(void 0!==i||void 0!==o){let t=(0,n.getIndicesByWordList)(c,e);void 0!==i&&(t=d(e,t,i)),t=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,l.default)(n,e)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,t,o),c=[],(0,u.forEach)(t,(function(e){c.push(e.match)}))}return(0,u.map)(c,(function(e){return(0,s.default)(e)}))},p=function(e,t){const r=[],l=t.regexes.auxiliaryRegex;if(null===(e=(0,i.normalizeSingle)(e)).match(l))return r;const c=function(e,t){e=e.toLocaleLowerCase();const{regexes:r}=t;let s=(0,n.getIndicesByWordList)(t.auxiliaries,e);const i=function(e,t){let r;const n=[];for(t.lastIndex=0;null!==(r=t.exec(e));)n.push({index:r.index,match:r[0]});return n}(e,r.stopCharacterRegex);let l=(0,n.getIndicesByWordList)(t.stopwords,e);t.otherStopWordIndices&&t.otherStopWordIndices.length>0&&(l=l.concat(t.otherStopWordIndices)),void 0!==r.directPrecedenceExceptionRegex&&(s=d(e,s,r.directPrecedenceExceptionRegex)),void 0!==r.elisionAuxiliaryExceptionRegex&&(s=function(e,t,r){const n=(0,a.default)(e,r);return(0,u.forEach)(t,(function(e){(0,o.default)(n,e.index,!1)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,s,r.elisionAuxiliaryExceptionRegex));let c=s.concat(l,i);return c=(0,n.filterIndices)(c),(0,n.sortIndices)(c)}(e,t);for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];for(let n=t.exec(e);null!==n;n=t.exec(e))r.push({match:n[0],index:n.index});return r}},2329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=[];return t.forEach((function(t){const n=e.match(t);null!==n&&r.push(n)})),r=(0,n.flattenDeep)(r),r};var n=r(92819)},14456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=[]){const n=(0,i.default)(e).map((e=>e.toLowerCase())),a=n.indexOf(t.toLowerCase());if(a<1)return!1;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collapseProminentWordsOnStem=d,t.default=void 0,t.filterProminentWords=u,t.getProminentWords=g,t.getProminentWordsFromPaperAttributes=m,t.retrieveAbbreviations=h,t.sortProminentWords=c;var n=r(92819),s=o(r(1105)),i=r(37361),a=o(r(4446));function o(e){return e&&e.__esModule?e:{default:e}}const l=/[1234567890‘’“”"'.…?!:;,¿¡«»&*@#±^%$|~=+§`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\s]/g;function u(e,t=2){return e.filter((function(e){return e.getOccurrences()>=t&&""!==e.getWord().replace(l,"")}))}function c(e){e.sort((function(e,t){const r=t.getOccurrences()-e.getOccurrences();return 0!==r?r:e.getStem().localeCompare(t.getStem())}))}function d(e){if(0===e.length)return[];e.sort((function(e,t){return e.getStem().localeCompare(t.getStem())}));const t=[];let r=new a.default(e[0].getWord(),e[0].getStem(),e[0].getOccurrences());for(let n=1;n1&&e.length<5&&e===e.toLocaleUpperCase()&&r.push(e.toLocaleLowerCase())})),(0,n.uniq)(r)}function p(e,t,r,s){if(0===e.length)return[];const i=(0,n.uniq)(e.filter((e=>!s.includes(e.trim())))),o=[];return i.forEach((function(n){t.includes(n)?o.push(new a.default(n.toLocaleUpperCase(),n,e.filter((e=>e===n)).length)):o.push(new a.default(n,r(n),e.filter((e=>e===n)).length))})),d(o)}const f=(0,n.memoize)(((e,t,r,n)=>p(e,t,r,n)),((e,t)=>e.join(",")+","+t.join(",")));function g(e,t,r,n,a){if(""===e)return[];const o=a?a((0,i.normalizeSingle)(e).toLocaleLowerCase()):(0,s.default)((0,i.normalizeSingle)(e).toLocaleLowerCase());return f(o,t,r,n)}function m(e,t,r,n,i){return p(i?i(e.join(" ").toLocaleLowerCase()):(0,s.default)(e.join(" ").toLocaleLowerCase()),t,r,n)}t.default={getProminentWords:g,getProminentWordsFromPaperAttributes:m,filterProminentWords:u,sortProminentWords:c,collapseProminentWordsOnStem:d,retrieveAbbreviations:h}},18072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",o=!1){const l="("+(e=(0,n.map)(e,(function(e){return o&&(e=(0,i.default)(e)),e=(0,a.default)(e),t?e:(0,s.default)(e,!0,r)}))).join(")|(")+")";return new RegExp(l,"ig")};var n=r(92819),s=o(r(28875)),i=o(r(74169)),a=o(r(86697));function o(e){return e&&e.__esModule?e:{default:e}}},55508:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t="("+(e=e.map((function(e){return i(e)}))).join(")|(")+")";return new RegExp(t,"ig")};var n,s=(n=r(28875))&&n.__esModule?n:{default:n};const i=function(e){return(e=e.map((function(e){return(0,s.default)(e)}))).join("(.*?)")}},13617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.match(t);return null===r&&(r=[]),r}},21389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"]},24533:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterShortcodesFromHTML=t.default=void 0;const r=e=>{const t=`\\[\\/?(${e.join("|")})[^\\]]*\\]`;return new RegExp(t,"g")};t.filterShortcodesFromHTML=(e,t)=>{if(!t||0===t.length)return e;const n=r(t);return e.replace(n,"")};const n=(e,t,r,n)=>n&&r.includes(e[t].text)&&(((e,t)=>e[t-1]&&"["===e[t-1].text)(e,t)||((e,t)=>e[t-1]&&"/"===e[t-1].text&&e[t-2]&&"["===e[t-2].text)(e,t)),s=(e,t,r)=>{e.sentences&&e.sentences.forEach((e=>{((e,t,r)=>{const s=e.tokens;let i=!1;for(let e=s.length-1;e>=0;e--)if("]"===s[e].text&&(i=!0),n(s,e,t,i)){for(;"]"!==s[e].text;)s.splice(e,1);for(s.splice(e,1),i=!1;s[e-1]&&"[/".includes(s[e-1].text);)s.splice(e-1,1),e--}e.tokens=s,e.text=e.text.replace(r,"")})(e,t,r)})),e.childNodes&&e.childNodes.forEach((e=>{s(e,t,r)}))};t.default=(e,t)=>{if(!t||0===t.length)return;const n=r(t);s(e,t,n)}},10840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeListItems=function(e){return(e=(e=e.replace(/<\/?(o|ul)(?:[^>]+)?>/g,"")).replace(/\s?<\/?li(?:[^>]+)?>\s?/g," ")).replace(/\s+/g," ")}},73481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.split(",");return t=t.map((e=>(0,s.default)((0,n.default)(e)))).filter((e=>e)),t};var n=i(r(47793)),s=i(r(50544));function i(e){return e&&e.__esModule?e:{default:e}}},37361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SINGLE_QUOTES_REGEX=t.SINGLE_QUOTES_ARRAY=void 0,t.normalize=a,t.normalizeDouble=i,t.normalizeSingle=s;const r=t.SINGLE_QUOTES_ARRAY=["'","‘","’","‛","`","‹","›"],n=t.SINGLE_QUOTES_REGEX=new RegExp("["+r.join("")+"]","g");function s(e){return e.replace(n,"'")}function i(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}function a(e){return i(s(e))}t.default={normalizeSingle:s,normalizeDouble:i,normalize:a}},32879:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("[^\\s@]+@[^\\s@]+\\.[^\\s@]+","igm")},8737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(0,n.unifyNonBreakingSpace)(e)).replace("&","");const t=new RegExp("(\\\\)","g");return(e=(e=e.replace(t,"")).replace(i,"")).replace(a,"")},t.punctuationRegexString=t.punctuationRegexStart=t.punctuationRegexEnd=t.punctuationList=void 0;var n=r(81831);const s=t.punctuationRegexString="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>",i=(t.punctuationList=s.split(""),t.punctuationRegexStart=new RegExp("^["+s+"]+")),a=t.punctuationRegexEnd=new RegExp("["+s+"]+$")},50544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=e.replace(n,"")).replace(s,"")};const r="[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+",n=new RegExp("^"+r),s=new RegExp(r+"$")},85476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"")};const r=new RegExp("(ftp|http(s)?:\\/\\/.)(www\\\\.)?[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)|www\\.[-a-zA-Z0-9@:%._\\/+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:;%_\\/+.~#?&()=]*)","igm")},65510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/\s*<.*?br.*?>/gm,"

")}},86697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=(0,s.unifyAllSpaces)(e),(0,n.stripFullTags)(e)};var n=r(62240),s=r(81831)},62240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var n,s=(n=r(47793))&&n.__esModule?n:{default:n},i=r(1831);const a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),o=new RegExp("]*?>$","i"),l=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=l;const u=function(e){return(e=e.replace(a,"")).replace(o,"")};t.stripBlockTagsAtStartEnd=u;const c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,s.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:l,stripBlockTagsAtStartEnd:u}},57719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/<(?!li|\/li|p|\/p|h1|\/h1|h2|\/h2|h3|\/h3|h4|\/h4|h5|\/h5|h6|\/h6|dd).*?>/g,""),(0,s.default)(e)};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},86812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e.replace(/\b[0-9]+\b/g,""),"."===(e=(0,s.default)(e))&&(e=""),e};var n,s=(n=r(47793))&&n.__esModule?n:{default:n}},47793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")}},52731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripWordBoundariesStart=t.stripWordBoundariesEverywhere=t.stripWordBoundariesEnd=t.default=void 0;const r="[ \\u00a0\\u06d4\\u061f\\u060C\\u061B \\n\\r\\t.,'()\"+\\-;!?:/»«‹›<>]",n=new RegExp("^("+r+"+)","ig"),s=new RegExp("("+r+"+$)","ig"),i=function(e){return e.replace(n,"")};t.stripWordBoundariesStart=i;const a=function(e){return e.replace(s,"")};t.stripWordBoundariesEnd=a;const o=function(e){return(e=e.replace(n,"")).replace(s,"")};t.stripWordBoundariesEverywhere=o,t.default={stripWordBoundariesStart:i,stripWordBoundariesEnd:a,stripWordBoundariesEverywhere:o}},81831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unifyWhiteSpace=t.unifyNonBreakingSpace=t.unifyEmDash=t.unifyAllSpaces=t.default=void 0;const r=function(e){return e.replace(/ /g," ")};t.unifyNonBreakingSpace=r;const n=function(e){return e.replace(/\u2014/g," ")};t.unifyEmDash=n;const s=function(e){return e.replace(/\s/g," ")};t.unifyWhiteSpace=s;const i=function(e){return e=r(e),e=n(e),s(e)};t.unifyAllSpaces=i,t.default={unifyNonBreakingSpace:r,unifyEmDash:n,unifyWhiteSpace:s,unifyAllSpaces:i}},29003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=u(r(14429)),i=r(37361),a=u(r(31946)),o=u(r(18072)),l=u(r(35468));function u(e){return e&&e.__esModule?e:{default:e}}const c=new RegExp("^[.]$"),d=/^<[^><]*$/,h=/^<([^>\s/]+)[^>]*>$/im,p=/^<\/([^>\s]+)[^>]*>$/im,f=/^\s*[[({]\s*$/,g=/^\s*[\])}]\s*$/,m=a.default.map((e=>e.replace(".","\\."))),_=(0,o.default)(m),y="(^|$|["+(0,l.default)().map((e=>"\\"+e)).join("")+"])",E=new RegExp(y+"[A-Za-z]$"),T=/<\/?([^\s]+?)(\s|>)/,A=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];t.default=class{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,n.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=(0,i.normalize)(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return(0,n.isUndefined)(e[0])||(t+=e[0].src),(0,n.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some((t=>t.test(e)))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,n.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,n.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,s){return!(0,n.isUndefined)(e)&&!(0,n.isUndefined)(r)&&!(0,n.isUndefined)(s)&&!(0,n.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&E.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===s.type}tokenizeSmallerThanContent(e,t,r){const s=e.src.substring(1),i=this.createTokenizer();this.tokenize(i.tokenizer,s);const a=this.getSentencesFromTokens(i.tokens,!1);if(a[0]=(0,n.isUndefined)(a[0])?"<":"<"+a[0],this.isValidSentenceBeginning(a[0])&&(t.push(r),r=""),r+=a[0],a.length>1){t.push(r),r="",a.shift();const e=a.pop();a.forEach((e=>{t.push(e)}));const n=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(n)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],n=(0,s.default)((function(e){r.push(e)}));return n.addRule(c,"full-stop"),n.addRule(d,"smaller-than-sign-content"),n.addRule(h,"html-start"),n.addRule(p,"html-end"),n.addRule(f,"block-start"),n.addRule(g,"block-end"),n.addRule(e,"sentence-delimiter"),n.addRule(t,"sentence"),{tokenizer:n,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(_);if(!t)return!1;const r=t.pop();return e.endsWith(r)}isValidTagPair(e,t){const r=e.src,n=t.src,s=r.match(T)[1];return s===n.match(T)[1]&&A.includes(s)}getSentencesFromTokens(e,t=!0){let r,s,i=[],a="";do{s=!1;const t=e[0],r=e[e.length-1];t&&r&&"html-start"===t.type&&"html-end"===r.type&&this.isValidTagPair(t,r)&&(e=e.slice(1,e.length-1),s=!0)}while(s&&e.length>1);return e.forEach(((t,s)=>{let o,l,u;const c=e[s+1],d=e[s-1],h=e[s+2];switch(l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",t.type){case"html-start":case"html-end":this.isBreakTag(t.src)?(i.push(a),a=""):a+=t.src;break;case"smaller-than-sign-content":u=this.tokenizeSmallerThanContent(t,i,a),i=u.tokenSentences,a=u.currentSentence;break;case"sentence":case"block-start":a+=t.src;break;case"sentence-delimiter":if(a+=t.src,!(0,n.isUndefined)(c)&&"block-end"!==c.type&&"sentence-delimiter"!==c.type&&this.isCharacterASpace(c.src[0])){if(this.isQuotation(t.src)&&d&&"."!==d.src)break;this.isQuotation(t.src)||"…"===t.src?a=this.getValidSentence(o,r,l,c,i,a):(i.push(a),a="")}break;case"full-stop":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[1]:"",this.endsWithAbbreviation(a))break;if(o&&this.isNumber(l[0]))break;if(this.isPartOfPersonInitial(t,d,c,h))break;if(this.endsWithOrdinalDot(a))break;a=this.getValidSentence(o,r,l,c,i,a);break;case"block-end":if(a+=t.src,l=this.getNextTwoCharacters([c,h]),o=l.length>=2,r=o?l[0]:"",o&&this.isNumber(l[0])||this.isSentenceEnding(d)&&!this.isValidSentenceBeginning(r)&&!this.isSentenceStart(c))break;this.isSentenceEnding(d)&&(this.isSentenceStart(c)||this.isValidSentenceBeginning(r))&&(i.push(a),a="")}})),""!==a&&i.push(a),t&&(i=(0,n.map)(i,(function(e){return e.trim()}))),i}getValidSentence(e,t,r,n,s,i){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(n))&&(s.push(i),i=""),i}isCharacterASpace(e){return/\s/.test(e)}}},55473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(e,t);let n=0;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=u.default){e=(e=(0,l.unifyNonBreakingSpace)(e)).replace(a.imageRegex,"");let r=(0,i.getBlocks)(e);r=(0,s.flatMap)(r,(function(e){return e.split(c)})),r=r.filter((e=>!d.test(e)));let n=r.map((e=>t(e))).flat();return n=n.map((e=>(0,o.stripBlockTagsAtStartEnd)(e).trim())),(0,s.filter)(n,(0,s.negate)(s.isEmpty))};var n,s=r(92819),i=r(1831),a=r(61440),o=r(62240),l=r(81831),u=(n=r(47647))&&n.__esModule?n:{default:n};const c=new RegExp("\n\r|\n|\r"),d=new RegExp("^(

|

)$")},54241:(e,t)=>{"use strict";function r(e){return e.sourceCodeLocation&&(e.sourceCodeLocation.startTag&&e.sourceCodeLocation.startTag.endOffset||e.sourceCodeLocation.startOffset)||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.getTree().findAll((e=>!!e.sentences)).flatMap((t=>t.sentences.map((n=>{let s=t;return t.isImplicit&&(s=function(e,t){return e.getTree().findAll((e=>e.childNodes&&e.childNodes.includes(t)))[0]||t}(e,t)),{...n,parentStartOffset:r(s),parentClientId:s.clientId||"",parentAttributeId:t.attributeId||"",isParentFirstSectionOfBlock:t.isFirstSection||!1}}))))}},47647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(29003))&&n.__esModule?n:{default:n},i=r(92819);t.default=(0,i.memoize)((function(e,t=!0){const r=new s.default,{tokenizer:n,tokens:i}=r.createTokenizer();return r.tokenize(n,e),0===i.length?[]:r.getSentencesFromTokens(i,t)}),((...e)=>JSON.stringify(e)))},91916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=[];return(0,i.forEach)(e,(function(e){const n=(0,a.stripFullTags)(e),i=t.getHelper("customCountLength"),o=i?i(n):(0,s.default)(n);o<=0||r.push({sentence:e,sentenceLength:o})})),r};var n,s=(n=r(33870))&&n.__esModule?n:{default:n},i=r(92819),a=r(62240)},58766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);function s(e){this._location=e.location,this._fragment=e.word,this._syllables=e.syllables,this._regex=null,this._options=(0,n.pick)(e,["notFollowedBy","alsoFollowedBy"])}s.prototype.createRegex=function(){let e="";const t=this._options;let r=this._fragment;switch((0,n.isUndefined)(t.notFollowedBy)||(r+="(?!["+t.notFollowedBy.join("")+"])"),(0,n.isUndefined)(t.alsoFollowedBy)||(r+="["+t.alsoFollowedBy.join("")+"]?"),this._location){case"atBeginning":e="^"+r;break;case"atEnd":e=r+"$";break;case"atBeginningOrEnd":e="(^"+r+")|("+r+"$)";break;default:e=r}this._regex=new RegExp(e)},s.prototype.getRegex=function(){return null===this._regex&&this.createRegex(),this._regex},s.prototype.occursIn=function(e){return this.getRegex().test(e)},s.prototype.removeFrom=function(e){return e.replace(this._fragment," ")},s.prototype.getSyllables=function(){return this._syllables},t.default=s},39617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1105)),s=r(92819),i=o(r(15495)),a=o(r(58766));function o(e){return e&&e.__esModule?e:{default:e}}const l=(0,s.memoize)((function(e){let t=[];const r=e.deviations;return t=(0,s.flatMap)(r.words.fragments,(function(e,t){return(0,s.map)(e,(function(e){return e.location=t,new a.default(e)}))})),t})),u=function(e,t){let r=0;if(!(0,s.isUndefined)(t.deviations)&&!(0,s.isUndefined)(t.deviations.words)){if(!(0,s.isUndefined)(t.deviations.words.full)){const r=function(e,t){const r=t.deviations.words.full,n=(0,s.find)(r,(function(t){return t.word===e}));return(0,s.isUndefined)(n)?0:n.syllables}(e,t);if(0!==r)return r}if(!(0,s.isUndefined)(t.deviations.words.fragments)){const n=function(e,t){const r=l(t);let n=e,i=0;return(0,s.forEach)(r,(function(e){e.occursIn(n)&&(n=e.removeFrom(n),i+=e.getSyllables())})),{word:n,syllableCount:i}}(e,t);e=n.word,r+=n.syllableCount}}return r+=function(e,t){let r=0;return r+=function(e,t){let r=0;const n=new RegExp("[^"+t.vowels+"]","ig"),i=e.split(n);return r+=(0,s.filter)(i,(function(e){return""!==e})).length,r}(e,t),(0,s.isUndefined)(t.deviations)||(0,s.isUndefined)(t.deviations.vowels)||(r+=function(e,t){return new i.default(t).countSyllables(e)}(e,t)),r}(e,t),r};t.default=function(e,t){e=e.toLocaleLowerCase();const r=(0,n.default)(e),i=(0,s.map)(r,(function(e){return u(e,t)}));return(0,s.sum)(i)}},15495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(87743))&&n.__esModule?n:{default:n},i=r(92819);const a=function(e){this.countSteps=[],(0,i.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)};a.prototype.createSyllableCountSteps=function(e){(0,i.forEach)(e,function(e){this.countSteps.push(new s.default(e))}.bind(this))},a.prototype.getAvailableSyllableCountSteps=function(){return this.countSteps},a.prototype.countSyllables=function(e){let t=0;return(0,i.forEach)(this.countSteps,(function(r){t+=r.countSyllables(e)})),t},t.default=a},87743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(18072))&&n.__esModule?n:{default:n};const a=function(e){this._hasRegex=!1,this._regex="",this._multiplier="",this.createRegex(e)};a.prototype.hasRegex=function(){return this._hasRegex},a.prototype.createRegex=function(e){(0,s.isUndefined)(e)||(0,s.isUndefined)(e.fragments)||(this._hasRegex=!0,this._regex=(0,i.default)(e.fragments,!0),this._multiplier=e.countModifier)},a.prototype.getRegex=function(){return this._regex},a.prototype.countSyllables=function(e){return this._hasRegex?(e.match(this._regex)||[]).length*this._multiplier:0},t.default=a},85336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e;return e.forEach((r=>{(r=r.split("-")).length>0&&r.filter((t=>!e.includes(t))).length>0&&(t=t.concat(r))})),t}},74169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)();for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arraysDifference=l,t.arraysOverlap=u,t.combinations=c,t.getIndicesOfCharacter=o,t.getIndicesOfWords=a,t.replaceTurkishIs=h,t.replaceTurkishIsMemoized=void 0;var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n};function a(e){const t=[],r=(0,i.default)(e);let n=0;return r.forEach((function(r){const s=e.indexOf(r,n);t.push(s),n=s+r.length})),t}function o(e,t){const r=[];if(e.indexOf(t)>-1)for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(t);for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,s.default)(t);for(let t=r.length-1;t>=0;t--)e=e.replace(r[t].letter,r[t].alternative);return e};var n,s=(n=r(23324))&&n.__esModule?n:{default:n}},84159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[-_]/gi," ")}},20917:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(8575))&&n.__esModule?n:{default:n};const i=/href=(["'])([^"']+)\1/i;function a(e){return e.split("#")[0]}function o(e){return e.split("?")[0]}function l(e){return e.replace(/\/$/,"")}function u(e){return l(e)+"/"}t.default={removeHash:a,removeQueryArgs:o,removeTrailingSlash:l,addTrailingSlash:u,getFromAnchorTag:function(e){const t=i.exec(e);return null===t?"":t[2]},areEqual:function(e,t){return e=o(a(e)),t=o(a(t)),u(e)===u(t)},getHostname:function(e){return(e=s.default.parse(e)).hostname},getProtocol:function(e){return s.default.parse(e).protocol},isInternalLink:function(e,t){const r=s.default.parse(e,!1,!0).hostname;return-1===e.indexOf("//")&&0===e.indexOf("/")||0!==e.indexOf("#")&&(!r||r===t||r===s.default.parse(t).hostname)},protocolIsHttpScheme:function(e){return!!e&&("http:"===e||"https:"===e)},isRelativeFragmentURL:function(e){return 0===e.indexOf("#")}}},28875:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!1,r="",n=""){let s,i;return s="id"===n?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+r+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+r+"<>",i=t?"($|((?="+s+"]))|((['‘’‛`])("+s+"])))":"($|("+s+"])|((['‘’‛`])("+s+"])))","(^|"+s+"'‘’‛`])"+e+i}},11475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 0!==(0,s.filter)((0,i.default)(t),(function(t){return e.includes(t.toLocaleLowerCase())})).length};var n,s=r(92819),i=(n=r(1105))&&n.__esModule?n:{default:n}},40231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=t.length;return""!==e&&r>0&&(r+=e.length+3),r}},33870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e).length};var n,s=(n=r(1105))&&n.__esModule?n:{default:n}},16431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(8737),s=r(33888);t.default=e=>{const t=[];return e.forEach((e=>{const r=[],i=[];for(;n.punctuationRegexStart.test(e)&&!s.hashedHtmlEntitiesRegexStart.test(e);)r.push(e[0]),e=e.slice(1);for(;n.punctuationRegexEnd.test(e)&&!s.hashedHtmlEntitiesRegexEnd.test(e);)i.unshift(e[e.length-1]),e=e.slice(0,-1);let a=[...r,e,...i];a=a.filter((e=>""!==e)),t.push(...a)})),t}},49325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=[]){return(0,n.filter)(e,(function(e){return!(0,n.includes)(t,e.trim().toLocaleLowerCase())}))};var n=r(92819)},89032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isEmpty)(e))return!1;const r=t.index+t.match.length,s=[];return(0,n.forEach)(e,(function(e){s.push(e.index)})),(0,n.includes)(s,r)};var n=r(92819)},60914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)(e).map((e=>e.tokens));let r=(0,s.flatMap)(t).map((e=>e.text));return r=r.map((e=>(0,i.default)(e))),r.filter((e=>""!==e.trim()))};var n=a(r(54241)),s=r(92819),i=a(r(8737));function a(e){return e&&e.__esModule?e:{default:e}}},1105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="\\s",r=!0){if(""===(e=(0,s.default)(e)))return[];const n=new RegExp(t,"g");let o=e.split(n);return o=r?o.map(a.default):(0,i.flatMap)(o,(e=>e.replace(l," $1 ").split(" "))),(0,i.filter)(o,(function(e){return""!==e.trim()}))};var n,s=(n=r(86697))&&n.__esModule?n:{default:n},i=r(92819),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(8737));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}const l=new RegExp(`([${a.punctuationRegexString}])`,"g")},9803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!0){const s=r?1:0;if((0,n.isEmpty)(e))return!1;const i=[];return(0,n.forEach)(e,(function(e){const t=e.index+e.match.length+s;i.push(t)})),(0,n.includes)(i,t)};var n=r(92819)},61403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterIndices=t.default=void 0,t.getIndicesByWord=o,t.sortIndices=t.getIndicesByWordListSorted=t.getIndicesByWordList=void 0;var n,s=r(92819),i=(n=r(47793))&&n.__esModule?n:{default:n},a=r(30043);function o(e,t){let r=0;const n=e.length;let s;const i=[];for(;(s=t.indexOf(e,r))>-1;){const o=(0,a.characterInBoundary)(t[s-1])||0===s,l=(0,a.characterInBoundary)(t[s+n])||t.length===s+n;o&&l&&i.push({index:s,match:e}),r=s+n}return i}const l=function(e,t){let r=[];return(0,s.forEach)(e,(function(e){e=(0,i.default)(e),(0,a.isWordInSentence)(e,t)&&(r=r.concat(o(e,t)))})),r};t.getIndicesByWordList=l;const u=function(e){return e.sort((function(e,t){return e.index-t.index}))};t.sortIndices=u;const c=function(e){e=u(e);const t=[];for(let r=0;rt.index?1:0})),r};t.getIndicesByWordListSorted=d,t.default={getIndicesByWord:o,getIndicesByWordList:l,filterIndices:c,sortIndices:u,getIndicesByWordListSorted:d}},48024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deConstructAnchor=t.collectMarkingsInSentence=void 0,t.markWordsInASentence=g,t.markWordsInSentences=function(e,t,r,s){let i=[],a=[];return t.forEach((function(t){i=(0,n.default)(t,e,r,s).matches,i.length>0&&(a=a.concat(g(t,i,s)))})),a},t.reConstructAnchor=void 0;var n=c(r(7407)),s=c(r(18072)),i=c(r(5262)),a=c(r(41054)),o=r(92819),l=c(r(30341)),u=r(37361);function c(e){return e&&e.__esModule?e:{default:e}}const d=/(]+>)([^]*?)(<\/a>)/,h=function(e){const[,t,r]=e.match(d);return{openTag:t,content:r}};t.deConstructAnchor=h;const p=function(e,t){return`${e}${t}
`};t.reConstructAnchor=p;const f=function(e,t,r){const n=[];t.forEach((e=>{const t=e.match(u.SINGLE_QUOTES_REGEX);t?u.SINGLE_QUOTES_ARRAY.forEach((r=>{t.forEach((t=>{n.push((0,o.escapeRegExp)(e.replace(new RegExp(t,"g"),r)))}))})):n.push((0,o.escapeRegExp)(e))}));const a=r?(0,s.default)(n,!0):(0,s.default)(n),{anchors:c,markedAnchors:d}=function(e,t){const r=(0,l.default)(e),n=r.map((e=>{const{openTag:r,content:n}=h(e),s=n.replace(t,(e=>(0,i.default)(e)));return p(r,s)}));return{anchors:r,markedAnchors:n}}(e,a);let f=e.replace(a,(function(e){return(0,i.default)(e)}));if(c.length>0){const e=(0,l.default)(f);for(let t=0;t ","ig")," ")};function g(e,t,r){return[new a.default({original:e,marked:f(e,t,r)})]}t.collectMarkingsInSentence=f},30043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWordInSentence=t.default=t.characterInBoundary=void 0;var n=a(r(35468)),s=r(92819),i=a(r(28875));function a(e){return e&&e.__esModule?e:{default:e}}const o=(0,n.default)(),l=function(e){return(0,s.includes)(o,e)};t.characterInBoundary=l;const u=function(e,t){e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase();const r=(0,i.default)((0,s.escapeRegExp)(e));let n=t.search(new RegExp(r,"ig"));if(-1===n)return!1;n>0&&(n+=1);const a=n+e.length,o=l(t[n-1])||0===n,u=l(t[a])||a===t.length;return o&&u};t.isWordInSentence=u,t.default={characterInBoundary:l,isWordInSentence:u}},7337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(16431))&&n.__esModule?n:{default:n};const i=/([\s\t\u00A0\u2013\u2014\u002d[\]]|#nbsp;)/;t.default=e=>{if(!e)return[];const t=e.split(i).filter((e=>""!==e));return(0,s.default)(t)}},58677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbstractResearcher",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"areWordsInSentence",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"baseStemmer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"buildFormRule",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"collectMarkingsInSentence",{enumerable:!0,get:function(){return G.collectMarkingsInSentence}}),Object.defineProperty(t,"countMetaDescriptionLength",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"createRegexFromArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createRulesFromArrays",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"createSingleRuleFromArray",{enumerable:!0,get:function(){return f.createSingleRuleFromArray}}),Object.defineProperty(t,"directPrecedenceException",{enumerable:!0,get:function(){return m.default}}),t.exceptionListHelpers=void 0,Object.defineProperty(t,"findMatchingEndingInArray",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"findWordFormsInString",{enumerable:!0,get:function(){return B.findWordFormsInString}}),Object.defineProperty(t,"flattenSortLength",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"getClauses",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"getClausesSplitOnStopWords",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"getFieldsToMark",{enumerable:!0,get:function(){return M.getFieldsToMark}}),Object.defineProperty(t,"getLanguage",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"getSentences",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"getWords",{enumerable:!0,get:function(){return u.default}}),t.helpers=void 0,Object.defineProperty(t,"imageInText",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"indices",{enumerable:!0,get:function(){return h.default}}),t.languageHelpers=t.languageConfigs=void 0,Object.defineProperty(t,"markWordsInSentences",{enumerable:!0,get:function(){return G.markWordsInSentences}}),Object.defineProperty(t,"matchRegularParticiples",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"mergeListItems",{enumerable:!0,get:function(){return U.mergeListItems}}),Object.defineProperty(t,"nonDirectPrecedenceException",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"normalizeHTML",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"normalizeSingle",{enumerable:!0,get:function(){return x.normalizeSingle}}),Object.defineProperty(t,"parseSynonyms",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"precedenceException",{enumerable:!0,get:function(){return _.default}}),t.regexHelpers=void 0,Object.defineProperty(t,"removePunctuation",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"replaceDiacritics",{enumerable:!0,get:function(){return n.default}}),t.researches=void 0,Object.defineProperty(t,"sanitizeString",{enumerable:!0,get:function(){return N.default}}),t.stemHelpers=void 0,Object.defineProperty(t,"stripBlockTagsAtStartEnd",{enumerable:!0,get:function(){return C.stripBlockTagsAtStartEnd}}),Object.defineProperty(t,"stripHTMLTags",{enumerable:!0,get:function(){return C.stripFullTags}}),Object.defineProperty(t,"stripSpaces",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"transliterate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"unifyAllSpaces",{enumerable:!0,get:function(){return D.unifyAllSpaces}}),t.values=void 0;var n=Z(r(74169)),s=Z(r(36064)),i=Z(r(18072)),a=Z(r(61440)),o=Z(r(47793)),l=Z(r(42992)),u=Z(r(1105)),c=Z(r(67986)),d=Z(r(44949)),h=Z(r(61403)),p=Z(r(19605)),f=J(r(53371)),g=Z(r(2329)),m=Z(r(23107)),_=Z(r(14456)),y=Z(r(95580)),E=Z(r(30259)),T=J(r(64396));t.regexHelpers=T;var A=J(r(74252));t.exceptionListHelpers=A;var v=J(r(74694));t.stemHelpers=v;var b=J(r(62390));t.values=b;var S=Z(r(11475)),I=Z(r(43527)),O=Z(r(80053)),C=r(62240),N=Z(r(86697)),D=r(81831),w=Z(r(8737)),P=Z(r(88567)),R=Z(r(40231)),k=Z(r(67404)),L=Z(r(9862)),M=r(29368),x=r(37361),F=Z(r(73481)),U=r(10840),B=r(36478),G=r(48024),H=J(r(29866));t.helpers=H;var j=J(r(42299));t.researches=j;var $=Z(r(46882)),q=Z(r(60645)),W=Z(r(66676)),V=Z(r(8920)),Y=Z(r(92518)),z=Z(r(24081)),K=Z(r(45072)),Q=Z(r(20712));function X(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(X=function(e){return e?r:t})(e)}function J(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=X(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function Z(e){return e&&e.__esModule?e:{default:e}}t.languageHelpers={wordComplexityHelperEnglish:$.default,wordComplexityHelperGerman:q.default,wordComplexityHelperSpanish:W.default,wordComplexityHelperFrench:V.default},t.languageConfigs={wordComplexityConfigEnglish:Y.default,wordComplexityConfigGerman:z.default,wordComplexityConfigSpanish:K.default,wordComplexityConfigFrench:Q.default}},24081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:10}},60645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const s=e.wordLength,i=n.frequencyList.list;return!((t=t.toLowerCase()).length<=s)&&(!i.includes(t)&&(!r.test(t)||(t=t.replace(r,""),!i.includes(t))))};const r=new RegExp("(en|e|s)$")},31946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."]},89456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonNouns=t.filteredAtEnding=t.filteredAtBeginningAndEnding=t.filteredAnywhere=t.default=t.cannotDirectlyPrecedePassiveParticiple=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=t.all=void 0;var n,s=r(64998),i=r(27350),a=(n=r(85336))&&n.__esModule?n:{default:n};const o=["the","an","a"],l=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty","hundred","hundreds","thousand","thousands","million","millions","billion","billions"],u=["first","second","third","fourth","fifth","sixth","seventh","eighth","ninth","tenth","eleventh","twelfth","thirteenth","fourteenth","fifteenth","sixteenth","seventeenth","eighteenth","nineteenth","twentieth"],c=["i","you","he","she","it","we","they"],d=["me","him","us","them"],h=["this","that","these","those"],p=["my","your","his","her","its","their","our","mine","yours","hers","theirs","ours"],f=["all","some","many","lot","lots","ton","tons","bit","no","every","enough","little","much","more","most","plenty","several","few","fewer","kind","kinds"],g=["myself","yourself","himself","herself","itself","oneself","ourselves","yourselves","themselves"],m=["none","nobody","everyone","everybody","someone","somebody","anyone","anybody","nothing","everything","something","anything","each","other","whatever","whichever","whoever","whomever","whomsoever","whosoever","others","neither","both","either","any","such"],_=["one's","nobody's","everyone's","everybody's","someone's","somebody's","anyone's","anybody's","nothing's","everything's","something's","anything's","whoever's","others'","other's","another's","neither's","either's"],y=["which","what","whose"],E=["who","whom"],T=["where","how","why","whether","wherever","whyever","wheresoever","whensoever","howsoever","whysoever","whatsoever","whereso","whomso","whenso","howso","whyso","whoso","whatso"],A=["therefor","therein","hereby","hereto","wherein","therewith","herewith","wherewith","thereby"],v=["there","here","whither","thither","hither","whence","thence"],b=["always","once","twice","thrice"],S=["can","cannot","can't","could","couldn't","could've","dare","dares","dared","do","don't","does","doesn't","did","didn't","done","have","haven't","had","hadn't","has","hasn't","i've","you've","we've","they've","i'd","you'd","he'd","she'd","it'd","we'd","they'd","would","wouldn't","would've","may","might","must","need","needn't","needs","ought","shall","shalln't","shan't","should","shouldn't","will","won't","i'll","you'll","he'll","she'll","it'll","we'll","they'll","there's","there're","there'll","here's","here're","there'll"],I=["appear","appears","appeared","become","becomes","became","come","comes","came","keep","keeps","kept","remain","remains","remained","stay","stays","stayed","turn","turns","turned"],O=["doing","daring","having","appearing","becoming","coming","keeping","remaining","staying","saying","asking","stating","seeming","letting","making","setting","showing","putting","adding","going","using","trying","containing"],C=["in","from","with","under","throughout","atop","for","on","of","to","aboard","about","above","abreast","absent","across","adjacent","after","against","along","alongside","amid","mid","among","apropos","apud","around","as","astride","at","ontop","afore","tofore","behind","ahind","below","ablow","beneath","neath","beside","between","atween","beyond","ayond","by","chez","circa","spite","down","except","into","less","like","minus","near","nearer","nearest","anear","notwithstanding","off","onto","opposite","out","outen","over","past","per","pre","qua","sans","sithence","through","thru","truout","toward","underneath","up","upon","upside","versus","via","vis-à-vis","without","ago","apart","aside","aslant","away","withal","towards","amidst","amongst","midst","whilst"],N=["back","within","forward","backward","ahead"],D=["and","or","and/or","yet"],w=["sooner","just","only"],P=["if","even"],R=["say","says","said","claimed","ask","asks","asked","stated","explain","explains","explained","think","thinks","talks","talked","announces","announced","tells","told","discusses","discussed","suggests","suggested","understands","understood"],k=["again","definitely","eternally","expressively","instead","expressly","immediately","including","instantly","namely","naturally","next","notably","now","nowadays","ordinarily","positively","truly","ultimately","uniquely","usually","almost","maybe","probably","granted","initially","too","actually","already","e.g","i.e","often","regularly","simply","optionally","perhaps","sometimes","likely","never","ever","else","inasmuch","provided","currently","incidentally","elsewhere","particular","recently","relatively","f.i","clearly","apparently"],L=["highly","very","really","extremely","absolutely","completely","totally","utterly","quite","somewhat","seriously","fairly","fully","amazingly"],M=["seem","seems","seemed","let","let's","lets","make","makes","made","want","showed","shown","go","goes","went","gone","take","takes","took","taken","put","puts","use","used","try","tries","tried","mean","means","meant","called","based","add","adds","added","contain","contains","contained","consist","consists","consisted","ensure","ensures","ensured"],x=["new","newer","newest","old","older","oldest","previous","good","well","better","best","big","bigger","biggest","easy","easier","easiest","fast","faster","fastest","far","hard","harder","hardest","least","own","large","larger","largest","long","longer","longest","low","lower","lowest","high","higher","highest","regular","simple","simpler","simplest","small","smaller","smallest","tiny","tinier","tiniest","short","shorter","shortest","main","actual","nice","nicer","nicest","real","same","able","certain","usual","so-called","mainly","mostly","recent","anymore","complete","lately","possible","commonly","constantly","continually","directly","easily","nearly","slightly","somewhere","estimated","latest","different","similar","widely","bad","worse","worst","great","specific","available","average","awful","awesome","basic","beautiful","busy","current","entire","everywhere","important","major","multiple","normal","necessary","obvious","partly","special","last","early","earlier","earliest","young","younger","youngest"],F=["oh","wow","tut-tut","tsk-tsk","ugh","whew","phew","yeah","yea","shh","oops","ouch","aha","yikes"],U=["tbs","tbsp","spk","lb","qt","pk","bu","oz","pt","mod","doz","hr","f.g","ml","dl","cl","l","mg","g","kg","quart"],B=["seconds","minute","minutes","hour","hours","day","days","week","weeks","month","months","year","years","today","tomorrow","yesterday"],G=["thing","things","way","ways","matter","case","likelihood","ones","piece","pieces","stuff","times","part","parts","percent","instance","instances","aspect","aspects","item","items","idea","theme","person","instance","instances","detail","details","factor","factors","difference","differences"],H=["not","yes","sure","top","bottom","ok","okay","amen","aka","etc","etcetera","sorry","please"],j=["jr","sr"],$=t.filteredAtEnding=(0,a.default)([].concat(u,O,x)),q=t.filteredAtBeginningAndEnding=(0,a.default)([].concat(o,C,D,h,L,f,p)),W=t.filteredAnywhere=(0,a.default)([].concat(i.singleWords,b,c,d,g,F,l,s.filteredAuxiliaries,S,I,R,M,m,w,P,y,E,T,v,H,N,A,U,B,G)),V=t.cannotDirectlyPrecedePassiveParticiple=(0,a.default)([].concat(o,C,h,p,u,O,f)),Y=t.cannotBeBetweenPassiveAuxiliaryAndParticiple=(0,a.default)([].concat(S,I,R,M)),z=(t.nonNouns=(0,a.default)([].concat(o,l,u,h,p,g,c,d,f,m,O,_,y,E,T,A,v,b,N,s.filteredAuxiliaries,s.notFilteredAuxiliaries,S,I,C,D,w,P,R,i.singleWords,k,L,M,F,x,U,H,j)),t.all=(0,a.default)([].concat(o,l,u,h,p,g,c,d,f,m,O,_,y,E,T,A,v,b,N,s.filteredAuxiliaries,s.notFilteredAuxiliaries,S,I,C,D,w,P,R,i.singleWords,k,L,M,F,x,U,G,H,B,["ms","mss","mrs","mr","dr","prof"],j)));t.default={filteredAtEnding:$,filteredAtBeginningAndEnding:q,filteredAnywhere:W,cannotDirectlyPrecedePassiveParticiple:V,cannotBeBetweenPassiveAuxiliaryAndParticiple:Y,all:z}},64998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notFilteredAuxiliaries=t.filteredAuxiliaries=t.default=t.all=void 0;const r=t.filteredAuxiliaries=["am","is","are","was","were","been","get","gets","got","gotten","be","she's","he's","it's","i'm","we're","they're","you're","that's","isn't","weren't","wasn't","aren't"],n=t.notFilteredAuxiliaries=["being","getting","having","what's"],s=t.all=r.concat(n);t.default=s},89597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["arisen","awoken","reawoken","babysat","backslid","backslidden","beat","beaten","become","begun","bent","unbent","bet","bid","outbid","rebid","underbid","overbid","bidden","bitten","blown","bought","overbought","bound","unbound","rebound","broadcast","rebroadcast","broken","brought","browbeat","browbeaten","built","prebuilt","rebuilt","overbuilt","burnt","burst","bust","cast","miscast","recast","caught","chosen","clung","come","overcome","cost","crept","cut","undercut","recut","daydreamt","dealt","misdealt","redealt","disproven","done","predone","outdone","misdone","redone","overdone","undone","drawn","outdrawn","redrawn","overdrawn","dreamt","driven","outdriven","drunk","outdrunk","overdrunk","dug","dwelt","eaten","overeaten","fallen","felt","fit","refit","retrofit","flown","outflown","flung","forbidden","forecast","foregone","foreseen","foretold","forgiven","forgotten","forsaken","fought","outfought","found","frostbitten","frozen","unfrozen","given","gone","undergone","gotten","ground","reground","grown","outgrown","regrown","had","handwritten","heard","reheard","misheard","overheard","held","hewn","hidden","unhidden","hit","hung","rehung","overhung","unhung","hurt","inlaid","input","interwound","interwoven","jerry-built","kept","knelt","knit","reknit","unknit","known","laid","mislaid","relaid","overlaid","lain","underlain","leant","leapt","outleapt","learnt","unlearnt","relearnt","mislearnt","left","lent","let","lip-read","lit","relit","lost","made","premade","remade","meant","met","mown","offset","paid","prepaid","repaid","overpaid","partaken","proofread","proven","put","quick-frozen","quit","read","misread","reread","retread","rewaken","rid","ridden","outridden","overridden","risen","roughcast","run","outrun","rerun","overrun","rung","said","sand-cast","sat","outsat","sawn","seen","overseen","sent","resent","set","preset","reset","misset","sewn","resewn","oversewn","unsewn","shaken","shat","shaven","shit","shone","outshone","shorn","shot","outshot","overshot","shown","shrunk","preshrunk","shut","sight-read","slain","slept","outslept","overslept","slid","slit","slung","unslung","slunk","smelt","outsmelt","snuck","sold","undersold","presold","outsold","resold","oversold","sought","sown","spat","spelt","misspelt","spent","underspent","outspent","misspent","overspent","spilt","overspilt","spit","split","spoilt","spoken","outspoken","misspoken","overspoken","spread","sprung","spun","unspun","stolen","stood","understood","misunderstood","strewn","stricken","stridden","striven","struck","strung","unstrung","stuck","unstuck","stung","stunk","sublet","sunburnt","sung","outsung","sunk","sweat","swept","swollen","sworn","outsworn","swum","outswum","swung","taken","undertaken","mistaken","retaken","overtaken","taught","mistaught","retaught","telecast","test-driven","test-flown","thought","outthought","rethought","overthought","thrown","outthrown","overthrown","thrust","told","retold","torn","retorn","trod","trodden","typecast","typeset","upheld","upset","waylaid","wept","wet","rewet","withdrawn","withheld","withstood","woken","won","rewon","worn","reworn","wound","rewound","overwound","unwound","woven","rewoven","unwoven","written","typewritten","underwritten","outwritten","miswritten","rewritten","overwritten","wrung"]},74016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regularParticiplesRegex=void 0,t.regularParticiplesRegex=/\w+ed($|[ \n\r\t.,'()"+\-;!?:/»«‹›<>])/gi},27350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.singleWords=t.multipleWords=t.default=t.allWords=void 0;const r=t.singleWords=["accordingly","additionally","afterward","afterwards","albeit","also","although","altogether","another","basically","because","before","besides","but","certainly","chiefly","comparatively","concurrently","consequently","contrarily","conversely","correspondingly","despite","doubtedly","during","e.g.","earlier","emphatically","equally","especially","eventually","evidently","explicitly","finally","firstly","following","formerly","forthwith","fourthly","further","furthermore","generally","hence","henceforth","however","i.e.","identically","indeed","initially","instead","last","lastly","later","lest","likewise","markedly","meanwhile","moreover","nevertheless","nonetheless","nor","notwithstanding","obviously","occasionally","otherwise","overall","particularly","presently","previously","rather","regardless","secondly","shortly","significantly","similarly","simultaneously","since","so","soon","specifically","still","straightaway","subsequently","surely","surprisingly","than","then","thereafter","therefore","thereupon","thirdly","though","thus","till","undeniably","undoubtedly","unless","unlike","unquestionably","until","when","whenever","whereas","while"],n=t.multipleWords=["above all","after all","after that","all in all","all of a sudden","all things considered","analogous to","although this may be true","analogous to","another key point","as a matter of fact","as a result","as an illustration","as can be seen","as has been noted","as I have noted","as I have said","as I have shown","as long as","as much as","as opposed to","as shown above","as soon as","as well as","at any rate","at first","at last","at least","at length","at the present time","at the same time","at this instant","at this point","at this time","balanced against","being that","by all means","by and large","by comparison","by the same token","by the time","compared to","be that as it may","coupled with","different from","due to","equally important","even if","even more","even so","even though","first thing to remember","for example","for fear that","for instance","for one thing","for that reason","for the most part","for the purpose of","for the same reason","for this purpose","for this reason","from time to time","given that","given these points","important to realize","in a word","in addition","in another case","in any case","in any event","in brief","in case","in conclusion","in contrast","in detail","in due time","in effect","in either case","in essence","in fact","in general","in light of","in like fashion","in like manner","in order that","in order to","in other words","in particular","in reality","in short","in similar fashion","in spite of","in sum","in summary","in that case","in the event that","in the final analysis","in the first place","in the fourth place","in the hope that","in the light of","in the long run","in the meantime","in the same fashion","in the same way","in the second place","in the third place","in this case","in this situation","in time","in truth","in view of","inasmuch as","most compelling evidence","most important","must be remembered","not only","not to mention","note that","now that","of course","on account of","on balance","on condition that","on one hand","on the condition that","on the contrary","on the negative side","on the other hand","on the positive side","on the whole","on this occasion","once","once in a while","only if","owing to","point often overlooked","prior to","provided that","seeing that","so as to","so far","so long as","so that","sooner or later","such as","summing up","take the case of","that is","that is to say","then again","this time","to be sure","to begin with","to clarify","to conclude","to demonstrate","to emphasize","to enumerate","to explain","to illustrate","to list","to point out","to put it another way","to put it differently","to repeat","to rephrase it","to say nothing of","to sum up","to summarize","to that end","to the end that","to this end","together with","under those circumstances","until now","up against","up to the present time","vis a vis","what's more","while it may be true","while this may be true","with attention to","with the result that","with this in mind","with this intention","with this purpose in mind","without a doubt","without delay","without doubt","without reservation"],s=t.allWords=r.concat(n);t.default=s},92518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7,doesUpperCaseDecreaseComplexity:!0}},46882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list,o=e.doesUpperCaseDecreaseComplexity;if(t.length<=i)return!1;if(o&&t[0].toLowerCase()!==t[0])return!1;if(a.includes(t))return!1;if(r){const e=(0,n.default)(t,(0,s.default)(r.nouns.regexNoun.singularize));return!a.includes(e)}return!0};var n=i(r(19605)),s=i(r(53371));function i(e){return e&&e.__esModule?e:{default:e}}},45072:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:7}},66676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i){const a=e.wordLength,o=i.frequencyList.list;return!(t.length<=a)&&(t[0].toLowerCase()===t[0]&&(!o.includes(t)&&(n.test(t)?(t=t.replace(s,""),!o.includes(t)):!r.test(t)||(t=t.replace(s,""),!o.includes(t)))))};const r=new RegExp("[aeiuoyáéíóúñ](s)$"),n=new RegExp("[bcdfghjklmnpqrstvwxzñ](es)$"),s=new RegExp("(s|es)$")},20712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={wordLength:9}},8920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list;if(t=(0,n.normalizeSingle)(t),s.test(t)&&(t=t.replace(s,"")),t.length<=i)return!1;if(a.includes(t))return!1;if(t[0].toLowerCase()===t[0]){const e=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithSplural),n=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithXplural),s=r.suffixGroupsComplexity.irregularPluralSingularSuffixes,i=new RegExp(s[0]);return e.test(t)||n.test(t)?t=t.substring(0,t.length-1):i.test(t)&&(t=t.replace(i,s[1])),!a.includes(t)}return!1};var n=r(37361);const s=new RegExp("^(c'|d'|l'|s')")},49581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={recommendedMaximumLength:60,maximumLength:80}},40027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,a.default)(e),n=t.getResearch("morphology"),s=t.getHelper("matchWordCustomHelper");return l(r,n,e.getLocale(),s)};var n=o(r(15770)),s=r(36478),i=r(92819),a=o(r(92017));function o(e){return e&&e.__esModule?e:{default:e}}const l=function(e,t,r,a){const o={noAlt:0,withAlt:0,withAltKeyword:0,withAltNonKeyword:0};return e.forEach((e=>{const l=(0,n.default)(e);""!==l?(0,i.isEmpty)(t.keyphraseForms)?o.withAlt++:(0,s.findTopicFormsInString)(t,l,!0,r,a).percentWordMatches>=50?o.withAltKeyword++:o.withAltNonKeyword++:o.noAlt++})),o}},99447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let o=e.getText();o=(0,i.default)(o),o=(0,a.filterShortcodesFromHTML)(o,e._attributes&&e._attributes.shortcodes);const l=(0,n.default)(o,r);return(0,s.default)(l,t)};var n=o(r(9862)),s=o(r(91916)),i=o(r(96908)),a=r(29866);function o(e){return e&&e.__esModule?e:{default:e}}},14117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=c(r(75118)),i=r(36478),a=r(66382),o=c(r(83927)),l=c(r(1105)),u=r(10152);function c(e){return e&&e.__esModule?e:{default:e}}let d=[];const h=function(e,t){return 0===t||0===d.length?t:function(e){e=e.toLocaleLowerCase();let t=(0,l.default)(e.toLocaleLowerCase(),u.WORD_BOUNDARY_WITH_HYPHEN);return t=(0,n.filter)(t,(function(e){return!(0,n.includes)(d,e.trim().toLocaleLowerCase())})),(0,n.isEmpty)(t)}(e.substring(0,t))?0:t};t.default=function(e,t){d=t.getConfig("functionWords");let r=(0,n.escapeRegExp)(e.getKeyword());const l=e.getTitle(),u=e.getLocale();let c={exactMatchFound:!1,allWordsFound:!1,position:-1,exactMatchKeyphrase:!1};const p=(0,o.default)(r);p.exactMatchRequested&&(r=p.keyphrase,c.exactMatchKeyphrase=!0);const f=t.getConfig("prefixedFunctionWordsRegex"),g=(0,s.default)(l,r,u,!1);return g.count>0&&!f?(c.exactMatchFound=!0,c.allWordsFound=!0,c.position=h(l,g.position),c):(c=function(e,t,r,o,l){const u=e.getTitle(),c=e.getLocale(),d=t.getResearch("morphology"),p=(0,i.findTopicFormsInString)(d,u,!1,c,!1);if(100===p.percentWordMatches){if(l){const{exactMatchFound:e,position:t}=function(e,t,r,i,o,l){let u=[];e.matches.forEach((e=>{const{prefix:t}=(0,a.stemPrefixedFunctionWords)(e,i);u.push(t)}));const c=t.split(" ");let d=[];u=(0,n.uniq)(u.concat([""]));const p=[];return c.forEach((e=>{p.push(u.map((t=>t+e)))})),d=function(...e){return e.reduce(((e,t)=>e.flatMap((e=>t.map((t=>[e,t].flat()))))))}(...p),d=d.map((e=>Array.isArray(e)?e.join(" "):e)),d.forEach((e=>{const t=(0,s.default)(o,e,l,!1);t.count>0&&(r.exactMatchFound=!0,r.position=h(o,t.position))})),0===e.position&&(r.position=0),r}(p,r,o,l,u,c);o={...o,exactMatchFound:e,position:t}}o.allWordsFound=!0}return o}(e,t,r,c,f),c)}},86232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("getParagraphs")[0],i=t.getResearch("morphology"),a=t.getHelper("matchWordCustomHelper"),o=e.getLocale(),l={foundInOneSentence:!1,foundInParagraph:!1,keyphraseOrSynonym:""};if((0,s.isEmpty)(r))return l;const u=r.sentences.map((e=>e.text));if(!(0,s.isEmpty)(u)){const e=u.map((e=>(0,n.findTopicFormsInString)(i,e,!0,o,a))).find((e=>100===e.percentWordMatches));if(e)return l.foundInOneSentence=!0,l.foundInParagraph=!0,l.keyphraseOrSynonym=e.keyphraseOrSynonym,l;const t=(0,n.findTopicFormsInString)(i,r.innerText(),!0,o,a);if(100===t.percentWordMatches)return l.foundInParagraph=!0,l.keyphraseOrSynonym=t.keyphraseOrSynonym,l}return l};var n=r(36478),s=r(92819)},69564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("matchTransitionWordsHelper"),n=t.getConfig("transitionWords"),i=t.getConfig("twoPartTransitionWords"),a=t.getHelper("memoizedTokenizer");let l=e.getText();l=(0,o.default)(l),l=(0,u.filterShortcodesFromHTML)(l,e._attributes&&e._attributes.shortcodes);const c=(0,s.default)(l,a),d=p(c,n,i,r);return{totalSentences:c.length,sentenceResults:d,transitionWordSentences:d.length}};var n=c(r(55508)),s=c(r(9862)),i=r(37361),a=r(30043),o=c(r(96908)),l=r(92819),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}let d=null,h="";const p=function(e,t,r,s){const o=[];return e.forEach((e=>{if(r){const t=function(e,t){e=(0,i.normalizeSingle)(e);const r=function(e){const t=(0,l.flattenDeep)(e).join("");return h===t&&null!==d||(h=t,d=(0,n.default)(e)),d}(t);return e.match(r)}(e,r);if(null!==t)return void o.push({sentence:e,transitionWords:t})}const u=s?s(e,t):function(e,t){return e=(0,i.normalizeSingle)(e),t.filter((t=>(0,a.isWordInSentence)(t,e)))}(e,t);0!==u.length&&o.push({sentence:e,transitionWords:u})})),o}},3479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("getWordsCustomHelper"),l=e.getKeyword();if((0,i.default)(l).exactMatchRequested)return!1;let u=o?o(l):(0,s.default)(l,a.WORD_BOUNDARY_WITH_HYPHEN);return u=(0,n.filter)(u,(function(e){return!(0,n.includes)(r,e.trim().toLocaleLowerCase())})),(0,n.isEmpty)(u)};var n=r(92819),s=o(r(1105)),i=o(r(83927)),a=r(10152);function o(e){return e&&e.__esModule?e:{default:e}}},63216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){p=t.getConfig("functionWords");const r=t.getConfig("areHyphensWordBoundaries"),h={anchorsWithKeyphrase:[],anchorsWithKeyphraseCount:0};if(""===e.getText())return h;const f=e.getKeyword();if(""===f)return h;const g=(0,l.default)(e.getSynonyms());g.push(f);let m=e.getTree().findAll((e=>"a"===e.name));if(m=function(e,t){const r=e.map((function(e){const r=e.attributes.href;return!!r&&function(e,t){return Boolean(c.default.areEqual(e,t)||c.default.isRelativeFragmentURL(e))}(r,t)}));return e.filter(((e,t)=>!r[t]))}(m,e.getPermalink()),0===m.length)return h;const _=e.getLocale(),y=t.getResearch("morphology"),E={matchWordCustomHelper:t.getHelper("matchWordCustomHelper"),getWordsCustomHelper:t.getHelper("getWordsCustomHelper")};if(m=function(e,t,r,n){const s=e.map((function(e){const s=e.innerText();return 100===(0,i.findTopicFormsInString)(t,s,!0,r,n).percentWordMatches}));return e.filter(((e,t)=>s[t]))}(m,y,_,E.matchWordCustomHelper),0===m.length)return h;return m=function(e,t,r,i,l,u){const c=i.matchWordCustomHelper,h=i.getWordsCustomHelper,f=[(0,n.flatten)(t.keyphraseForms)];t.synonymsForms.forEach((e=>f.push((0,n.flatten)(e))));const g=[];return e.forEach((function(e){const t=e.innerText();let i;i=h?(0,n.uniq)(h(t)):u?(0,n.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITH_HYPHEN)):(0,n.uniq)((0,a.default)(t,d.WORD_BOUNDARY_WITHOUT_HYPHEN));const m=(0,s.default)(i,p);m.length>0&&(i=m),l.forEach((e=>{e.exactMatchRequested&&i.every((t=>e.keyphrase.includes(t)))&&g.push(!0)}));for(let e=0;e(0,o.default)(e,t,r,c).count>0))){g.push(!0);break}}})),e.filter(((e,t)=>g[t]))}(m,y,_,E,g.map((e=>(0,u.default)(e))),r),{anchorsWithKeyphrase:m,anchorsWithKeyphraseCount:m.length}};var n=r(92819),s=h(r(49325)),i=r(36478),a=h(r(1105)),o=h(r(7407)),l=h(r(73481)),u=h(r(83927)),c=h(r(20917)),d=r(10152);function h(e){return e&&e.__esModule?e:{default:e}}let p=[]},82163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DIFFICULTY=void 0,t.default=function(e,t){const r=t.getConfig("syllables"),l=t.getHelper("memoizedTokenizer"),d=function(e){return e.getConfig("fleschReadingEaseScores")||{borders:{veryEasy:90,easy:80,fairlyEasy:70,okay:60,fairlyDifficult:50,difficult:30,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}}}(t);let h=e.getText();if(""===h)return{score:-1,difficulty:c.NO_DATA};h=(0,n.default)(h);const p=(0,s.default)(h,l),f=(0,i.default)(h);if(p<1||f<=10)return{score:-1,difficulty:c.NO_DATA};const g=(0,a.default)(h,r),m={numberOfSentences:p,numberOfWords:f,numberOfSyllables:g,averageWordsPerSentence:u(f,p),syllablesPer100Words:g*(100/f)},_=t.getHelper("fleschReadingScore"),y=(0,o.clamp)(_(m),0,100),E=function(e,t){return e>=t.borders.veryEasy?c.VERY_EASY:(0,o.inRange)(e,t.borders.easy,t.borders.veryEasy)?c.EASY:(0,o.inRange)(e,t.borders.fairlyEasy,t.borders.easy)?c.FAIRLY_EASY:(0,o.inRange)(e,t.borders.okay,t.borders.fairlyEasy)?c.OKAY:(0,o.inRange)(e,t.borders.fairlyDifficult,t.borders.okay)?c.FAIRLY_DIFFICULT:(0,o.inRange)(e,t.borders.difficult,t.borders.fairlyDifficult)?c.DIFFICULT:c.VERY_DIFFICULT}(y,d);return{score:y,difficulty:E}};var n=l(r(86812)),s=l(r(55473)),i=l(r(33870)),a=l(r(39617)),o=r(92819);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){return e/t},c=t.DIFFICULTY={NO_DATA:-1,VERY_EASY:0,EASY:1,FAIRLY_EASY:2,OKAY:3,FAIRLY_DIFFICULT:4,DIFFICULT:5,VERY_DIFFICULT:6}},78160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.getKeywordDensity=function(e,t){return console.warn("This function is deprecated, use getKeyphraseDensity instead."),i(e,t)};var n,s=(n=r(60914))&&n.__esModule?n:{default:n};function i(e,t){const r=t.getHelper("getWordsCustomHelper");let n=0;return n=r?r(e.getText()).length:(0,s.default)(e).length,0===n?0:t.getResearch("getKeyphraseCount").count/n*100}},45095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e.getText()),r=e.getPermalink(),a={total:t.length,internalTotal:0,internalDofollow:0,internalNofollow:0,externalTotal:0,externalDofollow:0,externalNofollow:0,otherTotal:0,otherDofollow:0,otherNofollow:0};for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)(e.getText());return(0,s.map)(t,i.default.getFromAnchorTag)};var n=a(r(30341)),s=r(92819),i=a(r(20917));function a(e){return e&&e.__esModule?e:{default:e}}},37228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getText();t=(0,s.default)(t),t=(0,o.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes);const r=(0,i.default)(t,c),a=(0,i.default)(t,d),l=h(r,"paragraph"),u=h(a,"heading");return(0,n.flatten)(l.concat(u))};var n=r(92819),s=l(r(96908)),i=l(r(13617)),a=l(r(86697)),o=r(24533);function l(e){return e&&e.__esModule?e:{default:e}}const u=/class=["'].*?has-text-align-center.*?["']/i,c=/]+)?>(.*?)<\/p>/gi,d=/]+)?>(.*?)<\/h\1>/gi;function h(e,t){return e.filter((e=>u.test(e)&&(0,a.default)(e).length>50)).map((e=>({text:e,elementType:t})))}},72619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,l.default)(r),r=(0,u.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes),r=r.replace(n.imageRegex,""),r=(0,s.default)(r);const c=(0,a.default)(r),d=[],h=t.getHelper("customCountLength");return c.map((function(e){d.push({countLength:h?h(e):(0,i.default)(e),text:e})})),(0,o.filter)(d,(function(e){return e.countLength>0}))};var n=r(61440),s=c(r(65510)),i=c(r(33870)),a=c(r(62932)),o=r(92819),l=c(r(96908)),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}},41564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getTree().findAll((e=>"p"===e.name));return t=(0,n.reject)(t,(e=>0===e.sentences.length)),t=(0,n.reject)(t,(e=>e.childNodes.every((e=>"a"===e.name)))),t};var n=r(92819)},52364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("passiveConstructionType");return"periphrastic"===r?d(e,t):"morphological"===r?c(e,t):h(e,t)},t.getPeriphrasticPassives=t.getMorphologicalPassives=void 0;var n=u(r(9862)),s=r(62240),i=u(r(18812)),a=r(92819),o=u(r(96908)),l=r(29866);function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t){const r=t.getHelper("isPassiveSentence");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,n.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,p=[];return(0,a.forEach)(d,(function(e){const t=(0,s.stripFullTags)(e.getSentenceText()).toLocaleLowerCase();e.setPassive(r(t)),!0===e.isPassive()&&p.push(e.getSentenceText())})),{total:h,passives:p}};t.getMorphologicalPassives=c;const d=function(e,t){const r=t.getHelper("getClauses");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,n.default)(u,c).map((function(e){return new i.default(e)})),h=d.length,p=[];return(0,a.forEach)(d,(function(e){const t=(0,s.stripFullTags)(e.getSentenceText()).toLocaleLowerCase(),n=r(t);e.setClauses(n),e.isPassive()&&p.push(e.getSentenceText())})),{total:h,passives:p}};t.getPeriphrasticPassives=d;const h=function(e,t){const r=c(e,t),n=d(e,t).passives;return{total:r.total,passives:n.concat(r.passives)}}},18807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=r(85683),i=o(r(85476)),a=o(r(32879));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("customGetStemmer"),l=o?o(t):t.getHelper("getStemmer")(t),u=t.getHelper("getWordsCustomHelper");let c=e.getText();c=(0,i.default)(c),c=(0,a.default)(c);const d=u?[]:(0,s.retrieveAbbreviations)(c),h=(0,s.getProminentWords)(c,d,l,r,u),p=(0,s.collapseProminentWordsOnStem)(h);return(0,s.sortProminentWords)(p),(0,n.take)((0,s.filterProminentWords)(p,5),20)}},58743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=c(r(33870)),i=r(85683),a=r(84285),o=c(r(42992)),l=c(r(85476)),u=c(r(32879));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e){return e=(0,l.default)(e),(0,u.default)(e)};t.default=function(e,t){const r=t.getConfig("functionWords"),l=t.getHelper("customGetStemmer"),u=l?l(t):t.getHelper("getStemmer")(t),c=t.getHelper("getWordsCustomHelper"),h=t.getHelper("customCountLength"),p=d(e.getText()),f=d(e.getDescription()),g=d(e.getTitle()),m={};if(m.hasMetaDescription=""!==f,m.hasTitle=""!==g,m.prominentWords=[],h){if(h(p)<200)return m}else if((0,s.default)(p)<100)return m;const _=(0,a.getSubheadingsTopLevel)(p).map((e=>e[2])),y=[e.getKeyword(),e.getSynonyms(),g,f,_.join(" ")],E=c?[]:(0,i.retrieveAbbreviations)(p.concat(y.join(" "))),T=(0,a.removeSubheadingsTopLevel)(p),A=(0,i.getProminentWords)(T,E,u,r,c),v=(0,i.getProminentWordsFromPaperAttributes)(y,E,u,r,c);v.forEach((e=>e.setOccurrences(3*e.getOccurrences())));const b=(0,i.collapseProminentWordsOnStem)(v.concat(A));(0,i.sortProminentWords)(b);let S=4;return u===o.default&&(S=2),m.prominentWords=(0,n.take)((0,i.filterProminentWords)(b,S),100),m}},62987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("firstWordExceptions"),c=t.getConfig("secondWordExceptions"),h=t.getHelper("getWordsCustomHelper"),p=t.getHelper("memoizedTokenizer");let f=e.getText();f=(0,l.default)(f),f=(0,u.filterShortcodesFromHTML)(f,e._attributes&&e._attributes.shortcodes),f=f.replace(/[\s\n]+/g," "),f=f.replace(/
.*<\/figure>/gs,""),f=f.replace(/]+)?>(.*?)<\/li>/gi,"");let g=(0,s.default)(f,p),m=g.map((function(e){return function(e,t,r,s){const o=(0,a.stripFullTags)((0,i.default)(e)),l=s?s(o):(0,n.default)(o);if(0===l.length)return"";let u=l[0].toLocaleLowerCase();return t.indexOf(u)>-1&&l.length>1&&(u=u+" "+l[1],r&&r.includes(l[1])&&(u=u+" "+l[2])),u}(e,r,c,h)}));return g=g.filter((function(e){const t=(0,i.default)(e);return(h?h(t):(0,n.default)(t)).length>0})),m=(0,o.filter)(m),d(m,g)};var n=c(r(1105)),s=c(r(9862)),i=c(r(47793)),a=r(62240),o=r(92819),l=c(r(96908)),u=r(29866);function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){const r=[];let n=[],s=1;return(0,o.forEach)(e,(function(i,a){const l=i,u=e[a+1];n.push(t[a]),function(e,t){return!(0,o.isEmpty)(e)&&e===t}(l,u)?s++:(r.push({word:l,count:s,sentences:n}),s=1,n=[])})),r}},21706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,a.default)(r),r=(0,o.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes);const l=(0,n.default)(r),u=t.getHelper("customCountLength"),c=[];(0,i.forEach)(l,(function(e){c.push({subheading:e.subheading,text:e.text,countLength:u?u(e.text):(0,s.default)(e.text),index:e.index})}));let d=0,h="";if(c.length>0){const e=c[0];h=r.slice(0,e.index),d=u?u(h):(0,s.default)(h)}return d>0&&""!==h&&c.unshift({subheading:"",text:h,countLength:d}),c};var n=l(r(89272)),s=l(r(33870)),i=r(92819),a=l(r(96908)),o=r(29866);function l(e){return e&&e.__esModule?e:{default:e}}},31015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("getStemmer")(t),i=t.getHelper("createBasicWordForms"),l=t.getConfig("language"),p=t.getConfig("areHyphensWordBoundaries"),f=(0,a.default)(e,p).map((e=>e.toLocaleLowerCase(l)));return function(e,t,r,n,i,a,o){const l=(0,s.collectStems)(e,t,i,n,o),p=l.keyphraseStems,f=l.synonymsStems;if(0===p.stemOriginalPairs.length&&0===f.length)return new c;if([p,...f].every((e=>!0===e.exactMatch)))return new c([[p.stemOriginalPairs[0].stem]],f.map((e=>[[e.stemOriginalPairs[0].stem]])));const g=[...new Set(d(p,f))],m=[...new Set(r.filter((e=>!n.includes(e))))].map((e=>new s.StemOriginalPair(i(e),e))).filter((e=>g.includes(e.stem))).sort(((e,t)=>e.stem.localeCompare(t.stem))).reduce((function(e,t){const r=e[e.length-1];return 0===e.length||r.stem!==t.stem?e.push(new u(t.stem,[t.original])):r.forms.push(t.original),e}),[]);return new c(h(p,m,a),f.map((e=>h(e,m,a))))}(e.getKeyword().toLocaleLowerCase(l).trim(),(0,o.default)(e.getSynonyms().toLocaleLowerCase(l).trim()),f,r,n,i,p)};var n=r(37361),s=r(17811),i=r(92819),a=l(r(90831)),o=l(r(73481));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){this.stem=e,this.forms=t}function c(e=[],t=[]){this.keyphraseForms=e,this.synonymsForms=t}function d(e,t){const r=0===e.stemOriginalPairs.length?[]:e.getStems(),n=0===t.length?[]:t.map((e=>e.getStems()));return[...r,...(0,i.flattenDeep)(n)]}function h(e,t,r){return 0===e.stemOriginalPairs.length?[]:e.exactMatch?[[e.stemOriginalPairs[0].stem]]:e.stemOriginalPairs.map((function(e){return function(e,t,r){const s=t.find((t=>t.stem===e.stem)),a=(0,n.normalizeSingle)((0,i.escapeRegExp)(e.original)),o=s?[a,...s.forms]:[a];return r&&o.push(...r(e.original)),[...new Set(o)]}(e,t,r)}))}},31051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.getTree().findAll((e=>"h1"===e.name)).map((e=>({tag:"h1",content:e.findAll((e=>"#text"===e.name)).map((e=>e.value)).join(""),position:{startOffset:e.sourceCodeLocation.startTag.endOffset,endOffset:e.sourceCodeLocation.endTag.startOffset,clientId:e.clientId||""}}))).filter((e=>!!e.content))}},52948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e).length};var n,s=(n=r(92017))&&n.__esModule?n:{default:n}},42299:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLongCenterAlignedTexts",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"keyphraseDistribution",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"wordComplexity",{enumerable:!0,get:function(){return s.default}});var n=a(r(37228)),s=a(r(53201)),i=a(r(53127));function a(e){return e&&e.__esModule?e:{default:e}}},53127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maximizeSentenceScores=t.keyphraseDistributionResearcher=t.getDistraction=t.default=t.computeScoresPerSentenceShortTopic=t.computeScoresPerSentenceLongTopic=void 0;var n=r(92819),s=r(36478),i=r(48024),a=d(r(9862)),o=d(r(73481)),l=r(10840),u=d(r(96908)),c=r(24533);function d(e){return e&&e.__esModule?e:{default:e}}const h=function(e,t,r,n){const i=Array(t.length);for(let a=0;a=50?i[a]=9:i[a]=3;return i};t.computeScoresPerSentenceLongTopic=h;const p=function(e,t,r,n){const i=Array(t.length);for(let a=0;a3&&r.push(n);const s=r.length;if(0===s)return t;r.unshift(-1),r.push(t);const i=[];for(let e=1;ev.push(d(e)))));const b=e.getLocale(),S=[A.keyphraseForms];A.synonymsForms.forEach((function(e){S.push(e)}));const I=(0,n.uniq)((0,n.flattenDeep)(S)).sort(((e,t)=>t.length-e.length)),O=function(e,t,r,s,i,a=4,o,l){const u=t.length,c=Array(u);if(s.length>0)for(let n=0;n({sentence:e,score:t}))).filter((e=>e.score>3)).map((e=>e.sentence))}}(T,S,b,r,s,y,v,m),C=O.maximizedSentenceScores,N=g(C);return{sentencesToHighlight:(0,i.markWordsInSentences)(I,O.sentencesWithTopic,b,s),keyphraseDistributionScore:N/T.length*100}};t.keyphraseDistributionResearcher=m,t.default=m},57419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("morphology"),n=t.getConfig("functionWords");return{keyphraseLength:r.keyphraseForms.length,functionWords:n}}},82242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.countKeyphraseInText=p,t.default=f,t.keywordCount=function(e,t){return console.warn("This function is deprecated, use getKeyphraseCount instead."),f(e,t)};var n=r(92819),s=h(r(54241)),i=r(37361),a=h(r(82676)),o=h(r(57329)),l=h(r(23116)),u=r(48024),c=h(r(9862)),d=r(29866);function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r,s,i,l){const c={count:0,markings:[]};return e.forEach((e=>{const d=t.map((t=>(0,o.default)(e,t,r,s,i,l)));if(d.every((e=>e.count>0))){const t=d.map((e=>e.count)),r=Math.min(...t),i=(0,n.flattenDeep)(d.map((e=>e.matches)));let o=[];o=s?(0,u.markWordsInASentence)(e,i,s):(0,a.default)(e,i),c.count+=r,c.markings.push(o)}})),c}function f(e,t){const r={count:0,markings:[],keyphraseLength:0};let a=t.getResearch("morphology").keyphraseForms;const o=a.length;if(a=a.map((e=>e.map((e=>(0,i.normalizeSingle)(e))))),0===o)return r;const u=t.getHelper("matchWordCustomHelper"),h=t.getHelper("memoizedTokenizer"),f=t.getHelper("splitIntoTokensCustom"),g=e.getLocale(),m=u?(0,d.filterShortcodesFromHTML)(e.getText(),e._attributes&&e._attributes.shortcodes):e.getText(),_=p(u?(0,c.default)(m,h):(0,s.default)(e),a,g,u,(0,l.default)(e.getKeyword()),f);return r.count=_.count,r.markings=(0,n.flatten)(_.markings),r.keyphraseLength=o,r}},74066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.keywordCountInSlug=o,t.keywordCountInUrl=function(e,t){return console.warn("This function is deprecated, use keywordCountInSlug instead."),o(e,t)};var n,s=(n=r(84159))&&n.__esModule?n:{default:n},i=r(36478),a=r(92819);function o(e,t){const r=(0,a.cloneDeep)(t);r.addConfig("areHyphensWordBoundaries",!0);const n=r.getResearch("morphology"),o=(0,s.default)(e.getSlug()),l=e.getLocale(),u=(0,i.findTopicFormsInString)(n,o,!1,l,!1);return{keyphraseLength:n.keyphraseForms.length,percentWordMatches:u.percentWordMatches}}t.default=o},72286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),i=t.getHelper("matchWordCustomHelper");let l=e.getText();l=(0,a.default)(l),l=(0,o.filterShortcodesFromHTML)(l,e._attributes&&e._attributes.shortcodes),l=(0,s.default)(l);const c=t.getResearch("morphology"),d=e.getLocale(),h={count:0,matches:0,percentReflectingTopic:0},p=(0,n.getSubheadingContentsTopLevel)(l);return 0!==p.length&&(h.count=p.length,h.matches=u(c,p,!0,d,r,i),h.percentReflectingTopic=h.matches/h.count*100),h};var n=r(84285),s=l(r(57719)),i=r(36478),a=l(r(96908)),o=r(29866);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t,r,n,s,a){return t.filter((t=>{const o=(0,i.findTopicFormsInString)(e,t,r,n,a);return 0===s.length?100===o.percentWordMatches:o.percentWordMatches>50})).length}},90497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getDescription(),n=e.getLocale(),i=t.getResearch("morphology"),a=t.getHelper("matchWordCustomHelper"),l=t.getHelper("memoizedTokenizer");return(0,s.default)(r,l).map((e=>o(e,i,n,a))).reduce(((e,t)=>e+t),0)};var n=i(r(7407)),s=i(r(9862));function i(e){return e&&e.__esModule?e:{default:e}}const a=function(e,t,r){return t.forEach((t=>t.matches.slice(0,r).forEach((t=>{e=e.replace(t,"")})))),e},o=function(e,t,r,s){const i=t.keyphraseForms.map((t=>(0,n.default)(e,t,r,s))),o=Math.min(...i.map((e=>e.count)));return e=a(e,i,o),[o,...t.synonymsForms.map((t=>{const o=t.map((t=>(0,n.default)(e,t,r,s))),l=Math.min(...o.map((e=>e.count)));return e=a(e,i,l),l}))].reduce(((e,t)=>e+t),0)}},96458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.default)(e.getDate(),e.getDescription())};var n,s=(n=r(40231))&&n.__esModule?n:{default:n}},7045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.hasTitle()?e.getTitleWidth():0}},48799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(e.getLocale()),a=t.getHelper("getWordsCustomHelper"),o=t.getHelper("wordsCharacterCount"),l={ar:138,cn:158,de:179,en:228,es:218,fi:161,fr:195,he:187,it:188,nl:202,pl:166,pt:181,ru:184,sl:180,sv:199,tr:166},u=l[r],c={ja:357}[r];let d,h=(0,s.default)(e).count;c?(h=o(a(e.getText())),d=h/c):d=u?h/u:h/(Object.values(l).reduce(((e,t)=>e+t))/Object.keys(l).length);const p=(0,i.default)(e);return Math.ceil(d+.2*p)};var n=a(r(67404)),s=a(r(44518)),i=a(r(52948));function a(e){return e&&e.__esModule?e:{default:e}}},25969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let a=e.getText();return a=(0,s.default)(a),a=(0,i.filterShortcodesFromHTML)(a,e._attributes&&e._attributes.shortcodes),(0,n.default)(a,r)};var n=a(r(9862)),s=a(r(96908)),i=r(29866);function a(e){return e&&e.__esModule?e:{default:e}}},99074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=new RegExp("()","igs");let r=e.getText().match(t);return null===r&&(r=[]),r.length}},53201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("memoizedTokenizer");let n=e.getText();n=(0,a.default)(n),n=(0,o.filterShortcodesFromHTML)(n,e._attributes&&e._attributes.shortcodes);let l=(0,s.default)(n,r).map((e=>u(e,t)));l=l.filter((e=>0!==e.complexWords.length));const d=(0,i.default)(n);return{complexWords:l,percentage:c(l,d)}};var n=r(92819),s=l(r(9862)),i=l(r(1105)),a=l(r(96908)),o=r(24533);function l(e){return e&&e.__esModule?e:{default:e}}const u=function(e,t){const r=t.getConfig("language"),s=t.getHelper("checkIfWordIsComplex"),a=t.getConfig("functionWords"),o=t.getConfig("wordComplexity"),l=t.getHelper("checkIfWordIsFunction"),u=(0,n.get)(t.getData("morphology"),r,!1),c=(0,i.default)(e).filter((e=>!(l?l(e):a.includes(e)))),d={complexWords:[],sentence:e};return u?(c.forEach((e=>{s(o,e,u)&&d.complexWords.push(e)})),d):d},c=function(e,t){return+((0,n.flatMap)(e,(e=>e.complexWords)).length/t.length*100).toFixed(2)}},44518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=e.getText();return t=(0,s.default)(t),t=(0,i.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),{text:t,count:(0,n.default)(t),unit:"word"}};var n=a(r(33870)),s=a(r(96908)),i=r(29866);function a(e){return e&&e.__esModule?e:{default:e}}},83937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t){this._clauseText=e,this._auxiliaries=t,this._isPassive=!1,this._participles=[]}getClauseText(){return this._clauseText}isPassive(){return this._isPassive}getAuxiliaries(){return this._auxiliaries}setPassive(e){this._isPassive=e}setParticiples(e){this._participles=e}getParticiples(){return this._participles}serialize(){return{_parseClass:"Clause",clauseText:this._clauseText,auxiliaries:this._auxiliaries,isPassive:this._isPassive,participles:this._participles}}parse(e){const t=new r(e.clauseText,e.auxiliaries);return t.setPassive(e.isPassive),t}}t.default=r},4446:(e,t)=>{"use strict";function r(e,t,r){this._word=e,this._stem=t||e,this._occurrences=r||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.prototype.setWord=function(e){this._word=e},r.prototype.getWord=function(){return this._word},r.prototype.getStem=function(){return this._stem},r.prototype.setOccurrences=function(e){this._occurrences=e},r.prototype.getOccurrences=function(){return this._occurrences},r.prototype.serialize=function(){return{_parseClass:"ProminentWord",word:this._word,stem:this._stem,occurrences:this._occurrences}},r.parse=function(e){return new r(e.word,e.stem,e.occurrences)},t.default=r},18812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e){this._sentenceText=e||"",this._isPassive=!1,this._clauses=[]}getSentenceText(){return this._sentenceText}isPassive(){return this._isPassive}setPassive(e){this._isPassive=e}getClauses(){return this._clauses}setClauses(e){this._clauses=e,this.setSentencePassiveness()}setSentencePassiveness(){const e=this.getClauses().filter((e=>!0===e.isPassive()));this.setPassive(e.length>0)}serialize(){return{_parseClass:"Sentence",sentenceText:this._sentenceText,isPassive:this._isPassive,clauses:this._clauses}}parse(e){const t=new r(e.sentenceText);return t.setClauses(e.clauses),t.setPassive(e.isPassive),t}}t.default=r},62390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Clause",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"ProminentWord",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Sentence",{enumerable:!0,get:function(){return i.default}});var n=a(r(83937)),s=a(r(4446)),i=a(r(18812));function a(e){return e&&e.__esModule?e:{default:e}}},15010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return""+e+""}},5262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.stripWordBoundariesStart)(e);let r="",i="";if(t!==e){const n=e.search((0,s.escapeRegExp)(t));r=e.substring(0,n)}const a=(0,n.stripWordBoundariesEnd)(t);if(a!==t){const e=t.search((0,s.escapeRegExp)(a))+a.length;i=t.substring(e)}return r+""+a+""+i};var n=r(52731),s=r(92819)},84476:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addMark",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"removeMarks",{enumerable:!0,get:function(){return n.default}});var n=i(r(78970)),s=i(r(15010));function i(e){return e&&e.__esModule?e:{default:e}}},52505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);t.default=function(e){return e&&(0===e.length||e[0].hasPosition())?e:(0,n.uniqBy)(e,(function(e){return e.getOriginal()}))}},78970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(new RegExp("]*>","g"),"").replace(new RegExp("","g"),"")}},87908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let h=e.getText();h=h.replace(d.htmlEntitiesRegex,"#$1");let p=(0,s.default)((0,n.parseFragment)(h,{sourceCodeLocationInfo:!0}));return p.childNodes&&p.childNodes.length>0&&(0,u.default)(e,p),p=(0,l.filterBeforeTokenizing)(p),p=(0,i.default)(p,t),r&&(0,c.default)(p,r),(0,a.default)(p,o.default)};var n=r(37015),s=h(r(70734)),i=h(r(63596)),a=h(r(46705)),o=h(r(67929)),l=r(12045),u=h(r(85990)),c=h(r(24533)),d=r(33888);function h(e){return e&&e.__esModule?e:{default:e}}},7104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(87908))&&n.__esModule?n:{default:n}},70734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if("#text"===t.nodeName)return new o.Text(t);let r=[],l=!1;(0,a.isEmpty)(t.childNodes)||(r=t.childNodes.map(e),function(e){return!(u(e)||(0,i.default)(e)||c(e))}(t.nodeName)&&(r=(0,n.default)(r,t.sourceCodeLocation)),function(e,t){return u(e)&&t.some(((e,t,r)=>{const n=r.length-1!==t&&r[t+1];return"br"===e.name&&n&&"br"===n.name}))}(t.nodeName,r)&&(l=!0,r=(0,n.default)(r,t.sourceCodeLocation)));const d=(0,s.default)(t.attrs);if(u(t.nodeName))return new o.Paragraph(d,r,t.sourceCodeLocation,!1,l);if(c(t.nodeName)){const e=parseInt(t.nodeName[1],10);return new o.Heading(e,d,r,t.sourceCodeLocation)}return new o.Node(t.nodeName,d,r,t.sourceCodeLocation)};var n=l(r(38884)),s=l(r(54637)),i=l(r(33319)),a=r(92819),o=r(67330);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return"p"===e}function c(e){return["h1","h2","h3","h4","h5","h6"].includes(e)}},54637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(90666))&&n.__esModule?n:{default:n};t.default=function(e){if(!e)return{};const t={};return e.forEach((({name:e,value:r})=>{"class"===e&&(r=(0,s.default)(r)),t[e]=r})),t}},67929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.canBeChildOfParagraph=void 0;var n=r(59603);t.canBeChildOfParagraph=["code","kbd","math","q","samp","script","var","#comment","cite","form","map","noscript","output"];const s=[(0,n.elementHasClass)("yoast-table-of-contents"),(0,n.elementHasClass)("yoast-reading-time__wrapper"),(0,n.elementHasID)("breadcrumbs"),(0,n.elementHasClass)("elementor-button-wrapper"),(0,n.elementHasClass)("elementor-divider"),(0,n.elementHasClass)("elementor-spacer"),(0,n.elementHasClass)("elementor-custom-embed"),(0,n.elementHasClass)("elementor-icon-wrapper"),(0,n.elementHasClass)("elementor-icon-box-wrapper"),(0,n.elementHasClass)("elementor-counter"),(0,n.elementHasClass)("elementor-progress-wrapper"),(0,n.elementHasClass)("elementor-title"),(0,n.elementHasClass)("elementor-alert"),(0,n.elementHasClass)("elementor-soundcloud-wrapper"),(0,n.elementHasClass)("elementor-shortcode"),(0,n.elementHasClass)("elementor-menu-anchor"),(0,n.elementHasClass)("e-rating"),(0,n.elementHasName)("base"),(0,n.elementHasName)("blockquote"),(0,n.elementHasName)("canvas"),(0,n.elementHasName)("code"),(0,n.elementHasName)("head"),(0,n.elementHasName)("iframe"),(0,n.elementHasName)("input"),(0,n.elementHasName)("kbd"),(0,n.elementHasName)("link"),(0,n.elementHasName)("math"),(0,n.elementHasName)("meta"),(0,n.elementHasName)("meter"),(0,n.elementHasName)("noscript"),(0,n.elementHasName)("object"),(0,n.elementHasName)("portal"),(0,n.elementHasName)("pre"),(0,n.elementHasName)("progress"),(0,n.elementHasName)("q"),(0,n.elementHasName)("samp"),(0,n.elementHasName)("script"),(0,n.elementHasName)("slot"),(0,n.elementHasName)("style"),(0,n.elementHasName)("svg"),(0,n.elementHasName)("template"),(0,n.elementHasName)("textarea"),(0,n.elementHasName)("title"),(0,n.elementHasName)("var"),(0,n.elementHasName)("#comment"),(0,n.elementHasName)("cite"),(0,n.elementHasName)("form"),(0,n.elementHasName)("map"),(0,n.elementHasName)("noscript"),(0,n.elementHasName)("output")];t.default=s},38884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(33319)),s=r(67330),i=r(92819),a=o(r(42036));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return e&&e.childNodes.length>0}const u=e=>{const[t]=e.childNodes.slice(0),[r]=e.childNodes.slice(-1);if((t.sourceCodeRange||t.sourceCodeLocation)&&(r.sourceCodeRange||r.sourceCodeLocation)){const n=t.sourceCodeRange?t.sourceCodeRange.startOffset:t.sourceCodeLocation.startOffset,s=r.sourceCodeRange?r.sourceCodeRange.endOffset:r.sourceCodeLocation.endOffset;e.sourceCodeLocation=new a.default({startOffset:n,endOffset:s})}};t.default=function(e,t={}){const r=[];let o={};if((0,i.isEmpty)(t)){const t=e[0],r=e[e.length-1];t&&r&&t.sourceCodeLocation&&r.sourceCodeLocation&&(o=new a.default({startOffset:t.sourceCodeLocation.startOffset,endOffset:r.sourceCodeLocation.endOffset}))}else o=new a.default({startOffset:t.startTag?t.startTag.endOffset:t.startOffset,endOffset:t.endTag?t.endTag.startOffset:t.endOffset});let c=s.Paragraph.createImplicit({},[],o);return e.forEach(((e,t,i)=>{const a=0!==t&&i[t-1],d=i.length-1!==t&&i[t+1];!(0,n.default)(e.name)||function(e){return"#text"===e.name&&e.value&&e.value.match(/^[\n\s]+$/g)}(e)||((e,t,r)=>{const n=t&&"br"===t.name,s=r&&"br"===r.name;return"br"===e.name&&(n||s)})(e,a,d)?(l(c)&&(u(c),e.sourceCodeLocation&&(o.startOffset=e.sourceCodeLocation.endOffset),r.push(c),c=s.Paragraph.createImplicit({},[],o)),r.push(e)):c.childNodes.push(e)})),l(c)&&(u(c),r.push(c)),r}},12045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterBeforeTokenizing=function e(t){return s.canBeChildOfParagraph.includes(t.name)&&(t.childNodes=[]),(0,n.isEmpty)(t.childNodes)||t.childNodes.map(e),t};var n=r(92819),s=r(67929)},59603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementHasClass=function(e){return t=>!!t.attributes.class&&t.attributes.class.has(e)},t.elementHasID=function(e){return t=>t.attributes.id===e},t.elementHasName=function(e){return t=>t.name===e}},46705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if(!(function(e,t){return"#text"!==e.name&&t.some((t=>t(e)))}(t,r)||t.childNodes&&(t.childNodes=t.childNodes.filter((t=>e(t,r))),0===t.childNodes.length&&t instanceof n.Paragraph&&t.isImplicit)))return t};var n=r(67330)},35261:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=-1){if(0===t.length||!e.sourceCodeLocation)return t;let n,a=r>=0?r:i(e),o=[];if(e.findAll){const t=e.findAll((e=>e.sourceCodeLocation),!0);t.length>0&&(o=function(e){const t=[];return e.forEach((e=>{if(s.canBeChildOfParagraph.includes(e.name))t.push(e.sourceCodeLocation);else{if(e.sourceCodeLocation.startTag){const r={startOffset:e.sourceCodeLocation.startTag.startOffset,endOffset:e.sourceCodeLocation.startTag.endOffset};"br"===e.name&&(r.endOffset=r.endOffset-1),t.push(r)}e.sourceCodeLocation.endTag&&t.push(e.sourceCodeLocation.endTag)}})),t.sort(((e,t)=>e.startOffset-t.startOffset)),t}(t))}return t.forEach((e=>{n=a+e.text.length,o.length>0&&(n=function(e,t,r){return e.forEach((e=>{e.startOffset>=t&&e.startOffset{e.startOffset===t&&(t+=e.endOffset-e.startOffset)})),t}(o,a)),e.sourceCodeRange={startOffset:a,endOffset:n},a=n})),t};var n=r(67330),s=r(67929);const i=e=>e instanceof n.Paragraph&&e.isImplicit?e.sourceCodeLocation.startOffset:e.sourceCodeLocation.startTag.endOffset},90666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Set(e.split(" "))}},33319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"];t.default=function(e){return r.includes(e)||"#text"===e}},85990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const a=e._attributes.wpBlocks||[];r.lastIndex=0,s(a,e.getText());i(t,n(e),void 0)};const r=/)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g,n=e=>{const t=e._attributes.wpBlocks,r=[];return t&&t.length>0?(t.forEach((e=>{if(e.innerBlocks.length>0){const t=e.innerBlocks;r.push(e,...t)}else r.push(e)})),r):[]};function s(e,t){0!==e.length&&e.forEach((e=>{const n=r.exec(t);if(null===n)return;const[i]=n,a=n.index,o=i.length;e.startOffset=a,e.contentOffset=a+o+1,e.innerBlocks&&e.innerBlocks.length>0&&s(e.innerBlocks,t)}))}function i(e,t,r){if(!e)return;let n=r;if(e.sourceCodeLocation&&e.sourceCodeLocation.startOffset){const r=t.find((t=>t.contentOffset===e.sourceCodeLocation.startOffset));r&&(n=r.clientId)}n&&(e.clientId=n),(e.childNodes||[]).forEach((e=>{e.attributes&&e.attributes.id&&e.childNodes&&e.childNodes.length>3&&(e.childNodes[0].attributeId=e.attributes.id,e.childNodes[0].isFirstSection=!0,e.childNodes[2].attributeId=e.attributes.id,e.childNodes[2].isFirstSection=!1),i(e,t,n)}))}},63596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(67330),i=(n=r(35261))&&n.__esModule?n:{default:n},a=r(33888);t.default=function e(t,r){return(t instanceof s.Paragraph&&"p-overarching"!==t.name||t instanceof s.Heading)&&(t.sentences=function(e,t){let r=t.splitIntoSentences(e.innerText());return r=(0,i.default)(e,r),r.map((r=>(r=function(e,t,r){return t.tokens=r.splitIntoTokens(t),t.tokens=(0,i.default)(e,t.tokens,t.sourceCodeRange.startOffset),t}(e,r,t),a.hashedHtmlEntities.forEach(((e,t)=>{const n=new RegExp(t,"g");r.text=r.text.replace(n,e),r.tokens.map((t=>(t.text=t.text.replace(n,e),t)))})),r)))}(t,r)),t.childNodes&&(t.childNodes=t.childNodes.map((t=>e(t,r)))),t}},49781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(99286)),s=a(r(82615)),i=a(r(7337));function a(e){return e&&e.__esModule?e:{default:e}}const o=/^\s+$/;t.default=class{constructor(e){this.researcher=e}splitIntoSentences(e){const t=this.researcher.getHelper("memoizedTokenizer")(e,!1);return o.test(t[t.length-1])&&t.pop(),t.map((function(e){return new n.default(e)}))}splitIntoTokens(e){const t=e.text,r=this.researcher.getHelper("splitIntoTokensCustom");return r?r(t).map((e=>new s.default(e))):(0,i.default)(t).map((e=>new s.default(e)))}}},71927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(81056))&&n.__esModule?n:{default:n};class i extends s.default{constructor(e,t={},r=[],n={}){super(`h${e}`,t,r,n),this.level=e}}t.default=i},81056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(93078),i=(n=r(42036))&&n.__esModule?n:{default:n},a=r(92819);t.default=class{constructor(e,t={},r=[],n={}){this.name=e,this.attributes=t,this.childNodes=r,(0,a.isEmpty)(n)||(this.sourceCodeLocation=new i.default(n))}findAll(e,t=!1){return(0,s.findAllInTree)(this,e,t)}innerText(){return(0,s.innerText)(this)}}},66741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(81056))&&n.__esModule?n:{default:n};class i extends s.default{constructor(e={},t=[],r={},n=!1,s=!1){super(s?"p-overarching":"p",e,t,r),this.isImplicit=n}static createImplicit(e={},t=[],r={}){return new i(e,t,r,!0)}}t.default=i},99286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){this.text=e,this.tokens=[],this.sourceCodeRange={}}}},42036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){e.startTag&&(this.startTag={startOffset:e.startTag.startOffset,endOffset:e.startTag.endOffset}),e.endTag&&(this.endTag={startOffset:e.endTag.startOffset,endOffset:e.endTag.endOffset}),this.startOffset=e.startOffset,this.endOffset=e.endOffset}}},76342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(42036))&&n.__esModule?n:{default:n};t.default=class{constructor(e){this.name="#text",this.value=e.value,this.sourceCodeRange=new s.default({startOffset:e.sourceCodeLocation.startOffset,endOffset:e.sourceCodeLocation.endOffset})}}},82615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58677);t.default=class{constructor(e,t={}){this.text=(0,n.normalizeSingle)(e),this.sourceCodeRange=t}}},67330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.default}});var n=o(r(81056)),s=o(r(71927)),i=o(r(66741)),a=o(r(76342));function o(e){return e&&e.__esModule?e:{default:e}}},45613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,n=!1){const s=[];return t.childNodes?(t.childNodes.forEach((t=>{r(t)?(s.push(t),n&&s.push(...e(t,r,n))):s.push(...e(t,r,n))})),s):s}},93078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findAllInTree",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"innerText",{enumerable:!0,get:function(){return s.default}});var n=i(r(45613)),s=i(r(41225));function i(e){return e&&e.__esModule?e:{default:e}}},41225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let r="";return(0,n.isEmpty)(t.childNodes)||t.childNodes.forEach((t=>{"#text"===t.name?r+=t.value:"br"===t.name?r+="\n":r+=e(t)})),r};var n=r(92819)},20019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(62887))&&n.__esModule?n:{default:n},a=function(e){this.app=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this.customTests=[],setTimeout(this._pollLoadingPlugins.bind(this),1500)};a.prototype._registerPlugin=function(e,t){return"string"!=typeof e?(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(t)||"object"==typeof t?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1)},a.prototype._ready=function(e){return"string"!=typeof e?(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0)},a.prototype._reloaded=function(e){return"string"!=typeof e?(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1):(0,s.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.app.refresh(),!0)},a.prototype._registerModification=function(e,t,r,n){if("string"!=typeof e)return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if("function"!=typeof t)return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if("string"!=typeof r)return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;var i={callable:t,origin:r,priority:"number"==typeof n?n:10};return(0,s.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0},a.prototype._registerTest=function(){console.error("This function is deprecated, please use _registerAssessment")},a.prototype._registerAssessment=function(e,t,r,n){if(!(0,s.isString)(t))throw new i.default("Failed to register test for plugin "+n+". Expected parameter `name` to be a string.");if(!(0,s.isObject)(r))throw new i.default("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function.");if(!(0,s.isString)(n))throw new i.default("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string.");return t=n+"-"+t,e.addAssessment(t,r),!0},a.prototype._pollLoadingPlugins=function(e){e=(0,s.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.app.pluginsLoaded()):e>=this.preloadThreshold?this._pollTimeExceeded():(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))},a.prototype._allReady=function(){return(0,s.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)},a.prototype._pollTimeExceeded=function(){(0,s.forEach)(this.plugins,(function(e,t){(0,s.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})),this.loaded=!0,this.app.pluginsLoaded()},a.prototype._applyModifications=function(e,t,r){var n=this.modifications[e];return n instanceof Array&&n.length>0&&((n=this._stripIllegalModifications(n)).sort((function(e,t){return e.priority-t.priority})),(0,s.forEach)(n,(function(n){var s=(0,n.callable)(t,r);typeof s==typeof t?t=s:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t},a.prototype._addPluginTests=function(e){this.customTests.map((function(t){this._addPluginTest(e,t)}),this)},a.prototype._addPluginTest=function(e,t){e.addAnalysis({name:t.name,callable:t.analysis}),e.analyzeScorer.addScoring({name:t.name,scoring:t.scoring})},a.prototype._stripIllegalModifications=function(e){return(0,s.forEach)(e,function(t,r){!1===this._validateOrigin(t.origin)&&delete e[r]}.bind(this)),e},a.prototype._validateOrigin=function(e){return"ready"===this.plugins[e].status},a.prototype._validateUniqueness=function(e){return!!(0,s.isUndefined)(this.plugins[e])},t.default=a},9017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(58677),s=r(29866);t.default=class{getResult(e,t){throw"The method getResult is not implemented"}isApplicable(e,t){return!0}hasEnoughContentForAssessment(e,t=50){let r=e.getText();return r=(0,s.removeHtmlBlocks)(r),r=(0,s.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes),(0,n.sanitizeString)(r).length>=t}}},96682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=d(r(73054)),a=d(r(41054)),o=d(r(15010)),l=r(33140),u=r(58677),c=r(88626);function d(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor({identifier:e,nonInclusivePhrases:t,inclusiveAlternatives:r,score:n,feedbackFormat:i,learnMoreUrl:a,rule:o,caseSensitive:u,category:d}){this.identifier=e,this.nonInclusivePhrases=t,this.inclusiveAlternatives=r,(0,s.isString)(this.inclusiveAlternatives)&&(this.inclusiveAlternatives=[this.inclusiveAlternatives]),this.score=n,this.feedbackFormat=i,this.learnMoreUrl=(0,l.createAnchorOpeningTag)(a),this.rule=o||c.includesConsecutiveWords,this.caseSensitive=u||!1,this.category=d}isApplicable(e,t){const r=t.getResearch("sentences"),n=e.getTextTitle();return r.push(n),this.foundPhrases=[],r.forEach((e=>{let t=(0,u.getWords)(e,"\\s",!1);this.caseSensitive||(t=t.map((e=>e.toLocaleLowerCase())));const r=this.nonInclusivePhrases.find((e=>this.rule(t,(0,u.getWords)(e,"\\s",!1)).length>=1));r&&this.foundPhrases.push({sentence:e,phrase:r})})),this.foundPhrases.length>=1}getResult(){const e=(0,n.sprintf)("%1$sLearn more.%2$s",this.learnMoreUrl,""),t=(0,n.sprintf)(this.feedbackFormat,this.foundPhrases[0].phrase,...this.inclusiveAlternatives),r=new i.default({score:this.score,text:`${t} ${e}`});return r.setIdentifier(this.identifier),r.setHasMarks(!0),r}getMarks(){return this.foundPhrases?this.foundPhrases.map((e=>new a.default({original:e.sentence,marked:(0,o.default)(e.sentence)}))):[]}}},46176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(17864),a=r(64948),o=r(88626),l=r(28045),u=(n=r(77965))&&n.__esModule?n:{default:n};const c="Or, if possible, be specific about the group you are referring to (e.g. %3$s).",d=[{identifier:"seniorCitizen",nonInclusivePhrases:["senior citizen"],inclusiveAlternatives:["older person, older citizen","person older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"seniorCitizens",nonInclusivePhrases:["senior citizens"],inclusiveAlternatives:["older people, older citizens","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"agingDependants",nonInclusivePhrases:["aging dependants"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"elderly",nonInclusivePhrases:["elderly"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" ")},{identifier:"senile",nonInclusivePhrases:["senile"],inclusiveAlternatives:"",score:l.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as a specific characteristic or experience if it is known (e.g. has Alzheimer's)."].join(" ")},{identifier:"senility",nonInclusivePhrases:["senility"],inclusiveAlternatives:"dementia",score:l.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"seniors",nonInclusivePhrases:["seniors"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,c].join(" "),rule:(e,t)=>(0,o.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["high school","college","graduating","juniors and"])).filter((0,a.isNotFollowedByException)(e,t,["in high school","in college","who are graduating"]))},{identifier:"theAged",nonInclusivePhrases:["the aged"],inclusiveAlternatives:["older people","people older than 70"],score:l.SCORES.NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmful,c].join(" "),rule:(e,t)=>(0,o.includesConsecutiveWords)(e,t).filter((0,u.default)(e,t))}];d.forEach((e=>{e.category="age",e.learnMoreUrl="https://yoa.st/inclusive-language-age"})),t.default=d},9214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l=[{identifier:"albinos",nonInclusivePhrases:["albinos"],inclusiveAlternatives:"people with albinism, albino people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"anAlbino",nonInclusivePhrases:["an albino"],inclusiveAlternatives:"person with albinism, albino person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"obese",nonInclusivePhrases:["obese","overweight"],inclusiveAlternatives:"has a higher weight, higher-weight person, person in higher weight body, heavier person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,s.preferredDescriptorIfKnown].join(" ")},{identifier:"obesitySingular",nonInclusivePhrases:["person with obesity","fat person"],inclusiveAlternatives:"person who has a higher weight, higher-weight person, person in higher weight body, heavier person",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,s.preferredDescriptorIfKnown].join(" ")},{identifier:"obesityPlural",nonInclusivePhrases:["people with obesity","fat people"],inclusiveAlternatives:"people who have a higher weight, higher-weight people, people in higher weight bodies, heavier people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless].join(" ")},{identifier:"verticallyChallenged",nonInclusivePhrases:["vertically challenged"],inclusiveAlternatives:"little person, has short stature, someone with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"midget",nonInclusivePhrases:["midget"],inclusiveAlternatives:"little person, has short stature, someone with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"midgets",nonInclusivePhrases:["midgets"],inclusiveAlternatives:"little people, have short stature, people with dwarfism",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"harelip",nonInclusivePhrases:["harelip"],inclusiveAlternatives:"cleft lip, cleft palate",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful}];l.forEach((e=>{e.category="appearance",e.learnMoreUrl="https://yoa.st/inclusive-language-appearance"})),t.default=l},20117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(88626),i=r(64948),a=r(6653);const o="Be careful when using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead, unless you are referring to the culture in which this term originated.",l=[{identifier:"firstWorld",nonInclusivePhrases:["First World"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Assembly","assembly"]))},{identifier:"thirdWorld",nonInclusivePhrases:["Third World"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["War","war","Quarterly","quarterly","country"]))},{identifier:"tribe",nonInclusivePhrases:["tribe"],inclusiveAlternatives:"group, cohort, crew, league, guild, team, union",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.slice(0,-42)+"a culture that uses this term."},{identifier:"tribes",nonInclusivePhrases:["tribes"],inclusiveAlternatives:"groups, cohorts, crews, leagues, guilds, teams, unions",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o.slice(0,-42)+"a culture that uses this term."},{identifier:"exotic",nonInclusivePhrases:["exotic"],inclusiveAlternatives:"unfamiliar, foreign, peculiar, fascinating, alluring, bizarre, non-native, introduced",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.harmfulPotentiallyNonInclusive+" Unless you are referring to animals, consider using an alternative, such as %2$s.",rule:(e,t)=>(0,s.includesConsecutiveWords)(e,t).filter((0,i.isNotFollowedByException)(e,t,["longhair","longhairs","shorthair","shorthairs"]))},{identifier:"sherpa",nonInclusivePhrases:["sherpa"],inclusiveAlternatives:"commander, coach, mastermind, coach, mentor",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"guru",nonInclusivePhrases:["guru"],inclusiveAlternatives:"mentor, doyen, coach, mastermind, virtuoso, expert",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"gurus",nonInclusivePhrases:["gurus"],inclusiveAlternatives:"mentors, doyens, coaches, masterminds, virtuosos, experts",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"nonWhite",nonInclusivePhrases:["non-white"],inclusiveAlternatives:"people of color, POC, BIPOC or specifying the racial groups mentioned",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"oriental",nonInclusivePhrases:["oriental"],inclusiveAlternatives:"Asian. When possible, be more specific (e.g. East Asian)",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"asianAmerican",nonInclusivePhrases:["Asian-American"],inclusiveAlternatives:"Asian American",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"asianAmericans",nonInclusivePhrases:["Asian-Americans"],inclusiveAlternatives:"Asian Americans",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"africanAmerican",nonInclusivePhrases:["African-American"],inclusiveAlternatives:"African American, Black, American of African descent",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"africanAmericans",nonInclusivePhrases:["African-Americans"],inclusiveAlternatives:"African Americans, Black, Americans of African descent",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful,caseSensitive:!0},{identifier:"whiteRace",nonInclusivePhrases:["the White race"],inclusiveAlternatives:"",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.harmfulNonInclusive,caseSensitive:!0},{identifier:"whitelist",nonInclusivePhrases:["whitelist"],inclusiveAlternatives:"allowlist",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelists",nonInclusivePhrases:["whitelists"],inclusiveAlternatives:"allowlists",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelisting",nonInclusivePhrases:["whitelisting"],inclusiveAlternatives:"allowlisting",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"whitelisted",nonInclusivePhrases:["whitelisted"],inclusiveAlternatives:"allowlisted",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklist",nonInclusivePhrases:["blacklist"],inclusiveAlternatives:"blocklist, denylist, faillist, redlist",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklists",nonInclusivePhrases:["blacklists"],inclusiveAlternatives:"blocklists, denylists, faillists, redlists",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklisting",nonInclusivePhrases:["blacklisting"],inclusiveAlternatives:"blocklisting, denylisting, faillisting, redlisting",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"blacklisted",nonInclusivePhrases:["blacklisted"],inclusiveAlternatives:"blocklisted, denylisted, faillisted, redlisted",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gyp",nonInclusivePhrases:["gyp"],inclusiveAlternatives:"fraud, cheat, swindle, rip-off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gyps",nonInclusivePhrases:["gyps"],inclusiveAlternatives:"frauds, cheats, swindles, rips off, rip-offs",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypped",nonInclusivePhrases:["gypped"],inclusiveAlternatives:"cheated, swindled, ripped off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypping",nonInclusivePhrases:["gypping"],inclusiveAlternatives:"cheating, swindling, ripping off",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"gypsy",nonInclusivePhrases:["gypsy","gipsy"],inclusiveAlternatives:["Rom, Roma person, Romani, Romani person","traveler, wanderer, free-spirited"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.potentiallyHarmfulUnless,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"gypsies",nonInclusivePhrases:["gypsies","gipsies"],inclusiveAlternatives:["Roma, Romani, Romani people","travelers, wanderers, free-spirited"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[a.potentiallyHarmfulUnless,"If you are referring to a lifestyle rather than the ethnic group or their music, consider using an alternative such as %3$s."].join(" ")},{identifier:"eskimo",nonInclusivePhrases:["eskimo","eskimos"],inclusiveAlternatives:"the specific name of the Indigenous community (for example, Inuit)",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnless},{identifier:"coloredPerson",nonInclusivePhrases:["colored person"],inclusiveAlternatives:"person of color, POC, BIPOC",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"coloredPeople",nonInclusivePhrases:["colored people"],inclusiveAlternatives:"people of color, POC, BIPOC",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"americanIndians",nonInclusivePhrases:["American Indian","American Indians"],inclusiveAlternatives:"Native American(s), Indigenous peoples of America",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmfulUnless,caseSensitive:!0},{identifier:"mulatto",nonInclusivePhrases:["mulatto","mulattos","mulattoes"],inclusiveAlternatives:"mixed, biracial, multiracial",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"savage",nonInclusivePhrases:["savage"],inclusiveAlternatives:"severe, dreadful, untamed, brutal, fearless, fierce, brilliant, amazing",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"civilized",nonInclusivePhrases:["civilized"],inclusiveAlternatives:"proper, well-mannered, enlightened, respectful",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"primitive",nonInclusivePhrases:["primitive"],inclusiveAlternatives:"early, rudimentary",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"powWow",nonInclusivePhrases:["pow-wow"],inclusiveAlternatives:"chat, brief conversation, brainstorm, huddle",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"lowManOnTheTotemPole",nonInclusivePhrases:["low man on the totem pole"],inclusiveAlternatives:"person of lower rank, junior-level",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"spiritAnimal",nonInclusivePhrases:["spirit animal"],inclusiveAlternatives:"inspiration, hero, icon, idol",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:o},{identifier:"firstWorldCountries",nonInclusivePhrases:["first world countries"],inclusiveAlternatives:"the specific name for the regions or countries",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"firstWorldHyphen",nonInclusivePhrases:["first-world"],inclusiveAlternatives:"the specific name for the region or country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third-world country"],inclusiveAlternatives:"low-income country, developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"third-worldCountry",nonInclusivePhrases:["third world country"],inclusiveAlternatives:"low-income country, developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:a.potentiallyHarmful},{identifier:"underdevelopedCountry",nonInclusivePhrases:["underdeveloped country"],inclusiveAlternatives:"developing country",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead or be more specific about what aspect this word refers to."},{identifier:"underdevelopedCountries",nonInclusivePhrases:["underdeveloped countries"],inclusiveAlternatives:"developing countries",score:n.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s instead or be more specific about what aspect this word refers to."}];l.forEach((e=>{e.category="culture",e.learnMoreUrl="https://yoa.st/inclusive-language-culture"})),t.default=l},77018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(17864),a=r(64948),o=r(5719),l=r(88626),u=r(28045),c=(n=r(77965))&&n.__esModule?n:{default:n},d=r(538),h=r(65736);const p="Avoid using %1$s as it is derogatory. Consider using an alternative, such as %2$s.",f=s.harmfulPotentiallyNonInclusive+" Unless you are referencing the specific medical condition, consider using another alternative to describe the trait or behavior, such as %2$s.",g=[{identifier:"binge",nonInclusivePhrases:["binge"],inclusiveAlternatives:"indulge, satiate, wallow, spree, marathon, consume excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"]))},{identifier:"bingeing",nonInclusivePhrases:["bingeing","binging"],inclusiveAlternatives:"indulging, satiating, wallowing, spreeing, marathoning, consuming excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purging","behavior","behaviors","behaviour","behaviours"]))},{identifier:"binged",nonInclusivePhrases:["binged"],inclusiveAlternatives:"indulged, satiated, wallowed, spreed, marathoned, consumed excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purged"]))},{identifier:"binges",nonInclusivePhrases:["binges"],inclusiveAlternatives:"indulges, satiates, wallows, sprees, marathons, consumes excessively",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["and purges"]))},{identifier:"wheelchairBound",nonInclusivePhrases:["wheelchair-bound","wheelchair bound","confined to a wheelchair"],inclusiveAlternatives:"uses a wheelchair, is a wheelchair user",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mentallyRetarded",nonInclusivePhrases:["mentally retarded"],inclusiveAlternatives:"person with an intellectual disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"retarded",nonInclusivePhrases:["retarded"],inclusiveAlternatives:"uninformed, ignorant, foolish, irrational, insensible",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["mentally"]))},{identifier:"alcoholic",nonInclusivePhrases:["an alcoholic"],inclusiveAlternatives:"person with alcohol use disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["drink","beverage"]))},{identifier:"alcoholics",nonInclusivePhrases:["alcoholics"],inclusiveAlternatives:"people with alcohol use disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["anonymous"]))},{identifier:"cripple",nonInclusivePhrases:["a cripple"],inclusiveAlternatives:"person with a physical disability, a physically disabled person",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"crippled",nonInclusivePhrases:["crippled"],inclusiveAlternatives:"has a physical disability, is physically disabled",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"daft",nonInclusivePhrases:["daft"],inclusiveAlternatives:"uninformed, ignorant, foolish, inconsiderate, irrational, reckless",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapped",nonInclusivePhrases:["handicapped"],inclusiveAlternatives:"disabled, person with a disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicap",nonInclusivePhrases:["handicap"],inclusiveAlternatives:"disability",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["toilet","toilets","parking","bathroom","bathrooms","stall","stalls"]))},{identifier:"insane",nonInclusivePhrases:["insane"],inclusiveAlternatives:"wild, confusing, unpredictable, impulsive, reckless, out of control, unbelievable, amazing, incomprehensible, nonsensical, outrageous, ridiculous",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"imbecile",nonInclusivePhrases:["imbecile"],inclusiveAlternatives:"uninformed, ignorant, foolish, inconsiderate, irrational, reckless",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"specialNeeds",nonInclusivePhrases:["special needs"],inclusiveAlternatives:["functional needs, support needs","disabled, person with a disability"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s when referring to someone's needs, or %3$s when referring to a person."},{identifier:"hardOfHearing",nonInclusivePhrases:["hard-of-hearing"],inclusiveAlternatives:"hard of hearing, partially deaf, has partial hearing loss",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"hearingImpaired",nonInclusivePhrases:["hearing impaired"],inclusiveAlternatives:"deaf or hard of hearing, partially deaf, has partial hearing loss",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"functioning",nonInclusivePhrases:["high functioning","low functioning"],inclusiveAlternatives:"describing the specific characteristic or experience",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["autism"]))},{identifier:"autismHigh",nonInclusivePhrases:["high functioning autism","high-functioning autism"],inclusiveAlternatives:"autism with high support needs or describing the specific characteristic or experience",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"autismLow",nonInclusivePhrases:["low functioning autism","low-functioning autism"],inclusiveAlternatives:"autism with low support needs or describing the specific characteristic or experience",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:"Avoid using %1$s as it is potentially harmful. Consider using an alternative, such as %2$s, unless referring to how you characterize your own condition."},{identifier:"lame",nonInclusivePhrases:["lame"],inclusiveAlternatives:"boring, lousy, unimpressive, sad, corny",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"lamer",nonInclusivePhrases:["lamer"],inclusiveAlternatives:"more boring, lousier, more unimpressive, sadder, cornier",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"lamest",nonInclusivePhrases:["lamest"],inclusiveAlternatives:"most boring, lousiest, most unimpressive, saddest, corniest",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"commitSuicide",nonInclusivePhrases:["commit suicide"],inclusiveAlternatives:"take one's life, die by suicide, kill oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"committingSuicide",nonInclusivePhrases:["committing suicide"],inclusiveAlternatives:"taking one's life, dying by suicide, killing oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"commitsSuicide",nonInclusivePhrases:["commits suicide"],inclusiveAlternatives:"takes one's life, dies by suicide, kills oneself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"committedSuicide",nonInclusivePhrases:["committed suicide"],inclusiveAlternatives:"took one's life, died by suicide, killed themself",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapParking",nonInclusivePhrases:["handicap parking"],inclusiveAlternatives:"accessible parking",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"fellOnDeafEars",nonInclusivePhrases:["fell on deaf ears"],inclusiveAlternatives:"was not addressed, was ignored, was disregarded",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"turnOnBlindEye",nonInclusivePhrases:["turn a blind eye"],inclusiveAlternatives:"ignore, pretend not to notice",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"blindLeadingBlind",nonInclusivePhrases:["the blind leading the blind"],inclusiveAlternatives:"ignorant, misguided, incompetent, unqualified, insensitive, unaware",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapBathroom",nonInclusivePhrases:["handicap bathroom","handicap bathrooms"],inclusiveAlternatives:"accessible bathroom(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapToilet",nonInclusivePhrases:["handicap toilet","handicap toilets"],inclusiveAlternatives:"accessible toilet(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"handicapStall",nonInclusivePhrases:["handicap stall","handicap stalls"],inclusiveAlternatives:"accessible stall(s)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"stupid",nonInclusivePhrases:["stupid"],inclusiveAlternatives:["uninformed, ignorant, foolish, inconsiderate, irrational, reckless"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"dumb",nonInclusivePhrases:["dumb","dumber","dumbest"],inclusiveAlternatives:["uninformed, ignorant, foolish, inconsiderate, irrational, reckless"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,["deaf and"]))},{identifier:"deaf",nonInclusivePhrases:["deaf-mute","deaf and dumb"],inclusiveAlternatives:"deaf",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"addict",nonInclusivePhrases:["addict"],inclusiveAlternatives:"person with a (drug, alcohol, ...) addiction, person with substance abuse disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"addicts",nonInclusivePhrases:["addicts"],inclusiveAlternatives:"people with a (drug, alcohol, ...) addiction, people with substance abuse disorder",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"brainDamaged",nonInclusivePhrases:["brain-damaged"],inclusiveAlternatives:"person with a (traumatic) brain injury",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"differentlyAbled",nonInclusivePhrases:["differently abled","differently-abled"],inclusiveAlternatives:"disabled, person with a disability",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"epilepticFit",nonInclusivePhrases:["epileptic fit"],inclusiveAlternatives:"epileptic seizure",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"epilepticFits",nonInclusivePhrases:["epileptic fits"],inclusiveAlternatives:"epileptic seizures",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"sanityCheck",nonInclusivePhrases:["sanity check"],inclusiveAlternatives:"final check, confidence check, rationality check, soundness check",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"to not be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"to not be impressed by, to not be enthusiastic about, to not be into, to not like",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to not be crazy about as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeNotWithOptionalIntensifier))},{identifier:"to be crazy about",nonInclusivePhrases:["crazy about"],inclusiveAlternatives:"to love, to be obsessed with, to be infatuated with",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to be crazy about as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeWithOptionalIntensifier))},{identifier:"crazy in love",nonInclusivePhrases:["crazy in love"],inclusiveAlternatives:"wildly in love, head over heels, infatuated",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"to go crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"to go wild, to go out of control, to go up the wall, to be aggravated, to get confused",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to go crazy as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToGo))},{identifier:"to drive crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"to drive one to their limit, to get on one's last nerve, to make one livid, to aggravate, to make one's blood boil, to exasperate, to get into one's head",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:["Avoid using to drive crazy as it is potentially harmful.",s.alternative].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.combinationsOfDriveAndObjectPronoun))},{identifier:"crazy",nonInclusivePhrases:["crazy"],inclusiveAlternatives:"wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isNotPrecededByException)(e,d.shouldNotPrecedeStandaloneCrazy)).filter((0,a.isNotFollowedByException)(e,t,d.shouldNotFollowStandaloneCrazy)).filter((0,o.isNotFollowedAndPrecededByException)(e,t,d.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout,d.shouldNotFollowStandaloneCrazyWhenPrecededByToBe))},{identifier:"crazier",nonInclusivePhrases:["crazier"],inclusiveAlternatives:"more wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"craziest",nonInclusivePhrases:["craziest"],inclusiveAlternatives:"most wild, baffling, out of control, inexplicable, unbelievable, aggravating, shocking, intense, impulsive, chaotic, confused, mistaken, obsessed",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"psychopathic",nonInclusivePhrases:["psychopath","psychopaths","psychopathic"],inclusiveAlternatives:"toxic, manipulative, unpredictable, impulsive, reckless, out of control",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"schizophrenic",nonInclusivePhrases:["schizophrenic","bipolar"],inclusiveAlternatives:"of two minds, chaotic, confusing",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["disorder"]))},{identifier:"paranoid",nonInclusivePhrases:["paranoid"],inclusiveAlternatives:"overly suspicious, unreasonable, defensive",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["personality disorder","delusion","delusions","ideation"]))},{identifier:"manic",nonInclusivePhrases:["manic"],inclusiveAlternatives:"excited, raving, unbalanced, wild",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:f,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["episode","episodes","state","states","symptoms","and depressive episodes","and hypomanic","or hypomanic"]))},{identifier:"hysterical",nonInclusivePhrases:["hysterical"],inclusiveAlternatives:"intense, vehement, piercing, chaotic",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"psycho",nonInclusivePhrases:["psycho","psychos"],inclusiveAlternatives:"toxic, distraught, unpredictable, reckless, out of control",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"neurotic",nonInclusivePhrases:["neurotic","lunatic"],inclusiveAlternatives:"distraught, unstable, startling, confusing, baffling",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"sociopath",nonInclusivePhrases:["sociopath"],inclusiveAlternatives:["person with antisocial personality disorder","toxic, manipulative, cruel"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"sociopaths",nonInclusivePhrases:["sociopaths"],inclusiveAlternatives:["people with antisocial personality disorder","toxic, manipulative, cruel"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s."},{identifier:"narcissistic",nonInclusivePhrases:["narcissistic"],inclusiveAlternatives:["person with narcissistic personality disorder","selfish, egotistical, self-centered, self-absorbed, vain, toxic, manipulative"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it is potentially harmful. If you are referencing the medical condition, use %2$s instead, unless referring to someone who explicitly wants to be referred to with this term. If you are not referencing the medical condition, consider other alternatives to describe the trait or behavior, such as %3$s.",rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotFollowedByException)(e,t,["personality disorder"]))},{identifier:"OCD",nonInclusivePhrases:["ocd"],inclusiveAlternatives:"pedantic, obsessed, perfectionist",score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[(0,h.sprintf)(f,"OCD","%2$s"),"If you are referring to someone who has the medical condition, then state that they have OCD rather than that they are OCD."].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,i.isPrecededByException)(e,d.formsOfToBeAndToBeNotWithOptionalIntensifier))},{identifier:"theMentallyIll",nonInclusivePhrases:["the mentally ill"],inclusiveAlternatives:"people who are mentally ill, mentally ill people",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t))},{identifier:"theDisabled",nonInclusivePhrases:["the disabled"],inclusiveAlternatives:"people who have a disability, disabled people",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t))}];g.forEach((e=>{e.category="disability",e.learnMoreUrl="https://yoa.st/inclusive-language-disability"})),t.default=g},538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=t.shouldNotPrecedeStandaloneCrazy=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=t.shouldNotFollowStandaloneCrazy=t.formsOfToGo=t.formsOfToBeWithOptionalIntensifier=t.formsOfToBeNotWithOptionalIntensifier=t.formsOfToBeAndToBeNotWithOptionalIntensifier=t.default=t.combinationsOfDriveAndObjectPronoun=void 0;var n,s=(n=r(64998))&&n.__esModule?n:{default:n},i=r(92819);const a=["so","very","a bit","really","pretty","kind of","that","too","totally","completely","absolutely","even","also","as"],o=s.default.slice(0,-2),l=o.splice(19,4),u=function(e,t){return(0,i.flatMap)(e,(e=>(0,i.flatMap)(t,(t=>`${e} ${t}`))))},c=u(o,a),d=t.formsOfToBeWithOptionalIntensifier=c.concat(o);let h=(0,i.flatMap)(o,(e=>`${e} not`));h=h.concat(l);const p=u(h,a),f=t.formsOfToBeNotWithOptionalIntensifier=p.concat(h),g=t.formsOfToBeAndToBeNotWithOptionalIntensifier=d.concat(f),m=t.combinationsOfDriveAndObjectPronoun=u(["driving","drive","drove","drives","driven"],["me","you","them","him","her","someone","somebody","anyone","anybody","everyone","everybody"]),_=t.formsOfToGo=["go","goes","going","gone","went"],y=t.shouldNotPrecedeStandaloneCrazy=m.concat(_),E=t.shouldNotFollowStandaloneCrazy=["in love"],T=t.shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout=d.concat(f),A=t.shouldNotFollowStandaloneCrazyWhenPrecededByToBe=["about"];t.default={formsOfToBeWithOptionalIntensifier:d,formsOfToBeNotWithOptionalIntensifier:f,formsOfToBeAndToBeNotWithOptionalIntensifier:g,combinationsOfDriveAndObjectPronoun:m,formsOfToGo:_,shouldNotPrecedeStandaloneCrazy:y,shouldNotFollowStandaloneCrazy:E,shouldNotPrecedeStandaloneCrazyWhenFollowedByAbout:T,shouldNotFollowStandaloneCrazyWhenPrecededByToBe:A}},6653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preferredDescriptorIfKnown=t.potentiallyHarmfulUnlessAnimalsObjects=t.potentiallyHarmfulUnless=t.potentiallyHarmfulCareful=t.potentiallyHarmful=t.harmfulPotentiallyNonInclusive=t.harmfulNonInclusive=t.alternative=void 0;const r=t.harmfulNonInclusive="Avoid using %1$s as it is potentially harmful.",n=t.harmfulPotentiallyNonInclusive="Be careful when using %1$s as it is potentially harmful.",s=t.alternative="Consider using an alternative, such as %2$s.";t.potentiallyHarmful=[r,s].join(" "),t.potentiallyHarmfulCareful=[n,s].join(" "),t.potentiallyHarmfulUnless=[n,"Consider using an alternative, such as %2$s, unless referring to someone who explicitly wants to be referred to with this term."].join(" "),t.preferredDescriptorIfKnown="Alternatively, if talking about a specific person, use their preferred descriptor if known.",t.potentiallyHarmfulUnlessAnimalsObjects=[n,"Unless you are referring to objects or animals, consider using an alternative, such as %2$s."].join(" ")},556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l="Avoid using %1$s as it is exclusionary. Consider using an alternative, such as %2$s.",u="Be careful when using %1$s as it is potentially exclusionary. Consider using an alternative, such as %2$s.",c="Avoid using %1$s as it is potentially exclusionary. Consider using an alternative, such as %2$s.",d="Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of %1$s, use an alternative, such as %2$s.",h="Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of men, use an alternative, such as %2$s.",p="Avoid using %1$s as it is derogatory.",f=[{identifier:"firemen",nonInclusivePhrases:["firemen"],inclusiveAlternatives:"firefighters",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:h},{identifier:"policemen",nonInclusivePhrases:["policemen"],inclusiveAlternatives:"police officers",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:h},{identifier:"menAndWomen",nonInclusivePhrases:["men and women","women and men"],inclusiveAlternatives:"people, people of all genders, individuals, human beings",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:d},{identifier:"boysAndGirls",nonInclusivePhrases:["boys and girls","girls and boys"],inclusiveAlternatives:"kids, children",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:d},{identifier:"heOrShe",nonInclusivePhrases:["he/she","he or she","she or he","(s)he"],inclusiveAlternatives:"they",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:u},{identifier:"birthSex",nonInclusivePhrases:["birth sex","natal sex"],inclusiveAlternatives:"assigned sex, assigned sex at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mankind",nonInclusivePhrases:["mankind"],inclusiveAlternatives:"individuals, people, persons, human beings, humanity",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"preferredPronouns",nonInclusivePhrases:["preferred pronouns"],inclusiveAlternatives:"pronouns",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulCareful.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own pronouns."].join("")},{identifier:"oppositeGender",nonInclusivePhrases:["opposite gender"],inclusiveAlternatives:"another gender",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"oppositeSex",nonInclusivePhrases:["opposite sex"],inclusiveAlternatives:"another sex",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"femaleBodied",nonInclusivePhrases:["female-bodied"],inclusiveAlternatives:"assigned female at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:c.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to %1$s."},{identifier:"maleBodied",nonInclusivePhrases:["male-bodied"],inclusiveAlternatives:"assigned male at birth",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:c.slice(0,-1)+" if you are discussing a person based on their sex or assigned gender at birth. If talking about human anatomy, use the specific anatomical phrase as opposed to %1$s."},{identifier:"hermaphrodite",nonInclusivePhrases:["hermaphrodite"],inclusiveAlternatives:"intersex",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"hermaphrodites",nonInclusivePhrases:["hermaphrodites"],inclusiveAlternatives:"intersex people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"bothGenders",nonInclusivePhrases:["both genders"],inclusiveAlternatives:"people, folks, human beings, all genders",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of two genders, use an alternative, such as %2$s."},{identifier:"ladiesAndGentleman",nonInclusivePhrases:["ladies and gentlemen"],inclusiveAlternatives:"everyone, folks, honored guests",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of men and women, use an alternative, such as %2$s."},{identifier:"husbandAndWife",nonInclusivePhrases:["husband and wife","husbands and wives"],inclusiveAlternatives:"spouses, partners",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:u.slice(0,-1)+", unless referring to someone who explicitly wants to be referred to with this term."},{identifier:"mothersAndFathers",nonInclusivePhrases:["mothers and fathers","fathers and mothers"],inclusiveAlternatives:"parents",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using %1$s as it can be exclusionary. Unless you are sure that the group you refer to only consists of people who use this term, use an alternative, such as %2$s."},{identifier:"manHours",nonInclusivePhrases:["man-hours"],inclusiveAlternatives:"person-hours, business hours",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"preferredName",nonInclusivePhrases:["preferred name"],inclusiveAlternatives:"name, affirming name",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulCareful.slice(0,-1),", unless referring to someone who explicitly wants to use this term to describe their own name."].join("")},{identifier:"transgenders",nonInclusivePhrases:["transgenders"],inclusiveAlternatives:"trans people, transgender people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:[p,s.alternative].join(" ")},{identifier:"transsexual",nonInclusivePhrases:["transsexual"],inclusiveAlternatives:"transgender",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transsexuals",nonInclusivePhrases:["transsexuals"],inclusiveAlternatives:"trans people, transgender people",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transWoman",nonInclusivePhrases:["transwoman"],inclusiveAlternatives:"trans woman, transgender woman",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transWomen",nonInclusivePhrases:["transwomen"],inclusiveAlternatives:"trans women, transgender women",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transMan",nonInclusivePhrases:["transman"],inclusiveAlternatives:"trans man, transgender man",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transMen",nonInclusivePhrases:["transmen"],inclusiveAlternatives:"trans men, transgender men",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"transgendered",nonInclusivePhrases:["transgendered"],inclusiveAlternatives:["transgender, trans","transitioned, went through a gender transition"],score:i.SCORES.NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmful.slice(0,-1),"if referring to a person. If referring to a transition process, consider using an alternative such as %3$s."].join(" ")},{identifier:"maleToFemale",nonInclusivePhrases:["male-to-female","mtf"],inclusiveAlternatives:"trans woman, transgender woman",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"femaleToMale",nonInclusivePhrases:["female-to-male","ftm"],inclusiveAlternatives:"trans man, transgender man",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"heShe",nonInclusivePhrases:["he-she"],inclusiveAlternatives:"",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"shemale",nonInclusivePhrases:["shemale","she-male"],inclusiveAlternatives:"",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:p},{identifier:"manMade",nonInclusivePhrases:["man-made","manmade"],inclusiveAlternatives:"artificial, synthetic, machine-made",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"toEachTheirOwn",nonInclusivePhrases:["to each his own"],inclusiveAlternatives:"to each their own",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"manned",nonInclusivePhrases:["manned"],inclusiveAlternatives:"crewed",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:l},{identifier:"aTransgender",nonInclusivePhrases:["a transgender","the transgender"],inclusiveAlternatives:"transgender person",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))}];f.forEach((e=>{e.category="gender",e.learnMoreUrl="https://yoa.st/inclusive-language-gender"})),t.default=f},90529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(46176)),s=d(r(9214)),i=d(r(77018)),a=d(r(556)),o=d(r(20117)),l=d(r(27540)),u=d(r(12297)),c=d(r(32296));function d(e){return e&&e.__esModule?e:{default:e}}t.default=[...n.default,...s.default,...i.default,...a.default,...o.default,...l.default,...u.default,...c.default]},12297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(6653),i=r(88626),a=r(17864);const o=[{identifier:"minorities",nonInclusivePhrases:["minorities"],inclusiveAlternatives:["members of the LGBTQ+ community","Indigenous peoples","marginalized groups","religious minorities"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.harmfulPotentiallyNonInclusive,"Consider using an alternative by being specific about which group(s) of people you are referring to. For example: %2$s, %3$s, %4$s. In case an alternative is not available, make sure to specify the type of minorities you are referring to, e.g., %5$s."].join(" ")},{identifier:"normalPerson",nonInclusivePhrases:["normal person"],inclusiveAlternatives:["typical person, average person or describing the person's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"]))},{identifier:"normalPeople",nonInclusivePhrases:["normal people","Normal people"],inclusiveAlternatives:["typical people, average people or describing people's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,caseSensitive:!0,rule:(e,t)=>(0,i.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally","behaviorally","behaviourally"]))},{identifier:"mentallyNormal",nonInclusivePhrases:["mentally normal"],inclusiveAlternatives:["people without mental health conditions, mentally healthy people"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: people who don’t have anxiety disorders, people who haven't experienced trauma, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyNormal",nonInclusivePhrases:["behaviorally normal","behaviourally normal"],inclusiveAlternatives:["showing typical behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"abnormalPerson",nonInclusivePhrases:["abnormal person"],inclusiveAlternatives:["describing the person's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"abnormalPeople",nonInclusivePhrases:["abnormal people"],inclusiveAlternatives:["describing people's specific trait, experience, or behavior"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"mentallyAbnormal",nonInclusivePhrases:["mentally abnormal"],inclusiveAlternatives:["people with a mental health condition, people with mental health problems"],score:n.SCORES.NON_INCLUSIVE,feedbackFormat:[s.harmfulNonInclusive,"Consider using an alternative, such as %2$s. If possible, be more specific. For example: people who have anxiety disorders, people who have experienced trauma, etc. Be careful when using mental health descriptors and try to avoid making assumptions about someone's mental health."].join(" ")},{identifier:"behaviorallyAbnormal",nonInclusivePhrases:["behaviorally abnormal","behaviourally abnormal"],inclusiveAlternatives:["showing atypical behavior, showing dysfunctional behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects},{identifier:"abnormalBehavior",nonInclusivePhrases:["abnormal behavior","abnormal behaviour"],inclusiveAlternatives:["atypical behavior, unusual behavior or describing the specific behavior"],score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnlessAnimalsObjects}];o.forEach((e=>{e.category="other",e.learnMoreUrl="https://yoa.st/inclusive-language-other"})),t.default=o},28045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCORES=void 0,t.SCORES={NON_INCLUSIVE:3,POTENTIALLY_NON_INCLUSIVE:6}},27540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(6653),i=r(28045),a=r(88626),o=(n=r(77965))&&n.__esModule?n:{default:n};const l=[{identifier:"illegalImmigrant",nonInclusivePhrases:["illegal immigrant","illegal alien"],inclusiveAlternatives:"undocumented person, person without papers, immigrant without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"illegalImmigrants",nonInclusivePhrases:["illegal immigrants","illegal aliens"],inclusiveAlternatives:"undocumented people, people without papers, immigrants without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"povertyStricken",nonInclusivePhrases:["poverty stricken"],inclusiveAlternatives:"people whose income is below the poverty threshold, people with low-income",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"welfareReliant",nonInclusivePhrases:["welfare reliant"],inclusiveAlternatives:"receiving welfare",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"prostitute",nonInclusivePhrases:["prostitute"],inclusiveAlternatives:"sex worker",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"prostitutes",nonInclusivePhrases:["prostitutes"],inclusiveAlternatives:"sex workers",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmfulUnless},{identifier:"ex-con",nonInclusivePhrases:["ex-con"],inclusiveAlternatives:"person who has had felony convictions, person who has been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-cons",nonInclusivePhrases:["ex-cons"],inclusiveAlternatives:"people who have had felony convictions, people who have been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"felon",nonInclusivePhrases:["felon"],inclusiveAlternatives:"person with felony convictions, person who has been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"felons",nonInclusivePhrases:["felons"],inclusiveAlternatives:"people with felony convictions, people who have been incarcerated",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-offender",nonInclusivePhrases:["ex-offender"],inclusiveAlternatives:"formerly incarcerated person",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"ex-offenders",nonInclusivePhrases:["ex-offenders"],inclusiveAlternatives:"formerly incarcerated people",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful},{identifier:"theHomeless",nonInclusivePhrases:["the homeless"],inclusiveAlternatives:"people experiencing homelessness",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"theUndocumented",nonInclusivePhrases:["the undocumented"],inclusiveAlternatives:"people who are undocumented, undocumented people, people without papers",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))},{identifier:"thePoor",nonInclusivePhrases:["the poor"],inclusiveAlternatives:"people whose income is below the poverty threshold, people with low-income",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:s.potentiallyHarmful,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t))}];l.forEach((e=>{e.category="ses",e.learnMoreUrl="https://yoa.st/inclusive-language-ses"})),t.default=l},32296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(28045),s=r(6653);const i=[{identifier:"homosexuals",nonInclusivePhrases:["homosexuals"],inclusiveAlternatives:"gay people, queer people, lesbians, gay men, people in same-gender relationships",score:n.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[s.potentiallyHarmfulUnless,"Be as specific possible and use people's preferred labels if they are known."].join(" ")}];i.forEach((e=>{e.category="sexualOrientation",e.learnMoreUrl="https://yoa.st/inclusive-language-orientation"})),t.default=i},88626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesConsecutiveWords=function(e,t){const r=[];return e.forEach(((s,i)=>{(0,n.includesWordsAtPosition)(t,i,e)&&r.push(i)})),r};var n=r(40880)},40880:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.includesWordsAtPosition=function(e,t,r){return e.every(((e,n)=>r[t+n]===e))}},5719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedAndPrecededByException=i,t.isNotFollowedAndPrecededByException=function(e,t,r,n){return s=>!i(e,t,r,n)(s)};var n=r(64948),s=r(17864);function i(e,t,r,i){return a=>(0,n.isFollowedByException)(e,t,i)(a)&&(0,s.isPrecededByException)(e,r)(a)}},64948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByException=i,t.isNotFollowedByException=function(e,t,r){return n=>!i(e,t,r)(n)};var n=r(58677),s=r(40880);function i(e,t,r){const i=r.map((e=>(0,n.getWords)(e,"\\s",!1)));return r=>i.some((n=>{const i=r+t.length;return i>=0&&(0,s.includesWordsAtPosition)(n,i,e)}))}},88883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByParticiple=function(e,t){return r=>{const n=r+t.length;return n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNotPrecededByException=function(e,t){return r=>!i(e,t)(r)},t.isPrecededByException=i;var n=r(58677),s=r(40880);function i(e,t){const r=t.map((e=>(0,n.getWords)(e,"\\s",!1)));return t=>r.some((r=>{const n=t-r.length;return n>=0&&(0,s.includesWordsAtPosition)(r,n,e)}))}},77965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r=>(0,n.isFollowedByException)(e,t,i.nonNouns)(r)||(0,s.isFollowedByParticiple)(e,t)(r)||(0,n.isFollowedByException)(e,t,l)(r)};var n=r(64948),s=r(88883),i=r(89456),a=r(8737),o=r(58677);const l=a.punctuationList.filter((e=>(0,o.getWords)(e,"\\s",!1).length>0))},43947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.seo=t.readability=t.inclusiveLanguage=void 0;var n=F(r(40774)),s=F(r(25636)),i=F(r(38196)),a=F(r(86089)),o=F(r(7261)),l=F(r(35780)),u=F(r(62318)),c=F(r(57749)),d=F(r(50791)),h=F(r(97758)),p=F(r(36832)),f=F(r(92922)),g=F(r(90575)),m=F(r(99815)),_=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=x(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(70966)),y=F(r(34847)),E=F(r(70476)),T=F(r(27661)),A=F(r(46430)),v=F(r(47502)),b=F(r(17915)),S=F(r(69360)),I=F(r(57480)),O=F(r(46787)),C=r(80009),N=F(r(8980)),D=F(r(38754)),w=F(r(58850)),P=F(r(77428)),R=F(r(40826)),k=F(r(76369)),L=F(r(11842)),M=F(r(96682));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(x=function(e){return e?r:t})(e)}function F(e){return e&&e.__esModule?e:{default:e}}t.readability={ListAssessment:h.default,ParagraphTooLongAssessment:n.default,PassiveVoiceAssessment:s.default,SentenceBeginningsAssessment:i.default,SentenceLengthInTextAssessment:a.default,SubheadingDistributionTooLongAssessment:o.default,TextAlignmentAssessment:c.default,TextPresenceAssessment:l.default,TransitionWordsAssessment:u.default,WordComplexityAssessment:d.default},t.seo={FunctionWordsInKeyphraseAssessment:p.default,ImageAltTagsAssessment:R.default,ImageCountAssessment:D.default,ImageKeyphraseAssessment:N.default,InternalLinksAssessment:f.default,IntroductionKeywordAssessment:g.default,KeyphraseDistributionAssessment:w.default,KeyphraseInSEOTitleAssessment:O.default,KeyphraseLengthAssessment:m.default,KeyphraseDensityAssessment:_.default,KeywordDensityAssessment:_.KeywordDensityAssessment,MetaDescriptionKeywordAssessment:y.default,MetaDescriptionLengthAssessment:E.default,OutboundLinksAssessment:T.default,PageTitleWidthAssessment:A.default,ProductIdentifiersAssessment:k.default,ProductSKUAssessment:L.default,SingleH1Assessment:v.default,SubheadingsKeywordAssessment:b.default,TextCompetingLinksAssessment:S.default,TextLengthAssessment:I.default,TextTitleAssessment:P.default,SlugKeywordAssessment:C.SlugKeywordAssessment,UrlKeywordAssessment:C.UrlKeywordAssessment},t.inclusiveLanguage={InclusiveLanguageAssessment:M.default}},97758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=u(r(9017)),a=u(r(73054)),o=r(49061),l=u(r(96908));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={}){super();const t={urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/shopify38"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/shopify39"),scores:{bad:3,good:9}};this._config=(0,s.merge)(t,e),this.identifier="listsPresence"}findList(e){let t=e.getText();return t=(0,l.default)(t),/<[uo]l.*>[\s\S]*<\/[uo]l>/.test(t)}getResult(e){this.textContainsList=this.findList(e);const t=this.calculateResult(),r=new a.default;return r.setScore(t.score),r.setText(t.resultText),r}isApplicable(e){return this.hasEnoughContentForAssessment(e)}calculateResult(){return this.textContainsList?{score:this._config.scores.good,resultText:(0,n.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,n.__)("%1$sLists%2$s: There is at least one list on this page. Great!","yoast-woo-seo"),this._config.urlTitle,"")}:{score:this._config.scores.bad,resultText:(0,n.sprintf)( /* translators: %1$s expands to a link on yoast.com, * %2$s expands to the anchor end tag. */ @@ -364,5 +364,5 @@ this.name=(0,n.__)("Keyphrase in SEO title","wordpress-seo"),this._config=(0,s.m (0,n.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"")}:this._keywordInSlug.percentWordMatches>50?{score:this._config.scores.good,resultText:(0,n.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ (0,n.__)("%1$sKeyphrase in slug%2$s: More than half of your keyphrase appears in the slug. That's great!","wordpress-seo"),this._config.urlTitle,"")}:{score:this._config.scores.okay,resultText:(0,n.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ (0,n.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"")}}}t.SlugKeywordAssessment=u,t.UrlKeywordAssessment=class extends u{constructor(e={}){super(e),this.identifier="urlKeyword",console.warn("This object is deprecated, use SlugKeywordAssessment instead.")}},t.default=u},25859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(85551)),s=d(r(52505)),i=d(r(73054)),a=r(47661),o=r(65736),l=r(92819),u=d(r(49781)),c=r(7104);function d(e){return e&&e.__esModule?e:{default:e}}const h=function(e,t){this.type="assessor",this.setResearcher(e),this._assessments=[],this._options=t||{}};h.prototype.setResearcher=function(e){if((0,l.isUndefined)(e))throw new n.default("The assessor requires a researcher.");this._researcher=e},h.prototype.getAvailableAssessments=function(){return this._assessments},h.prototype.isApplicable=function(e,t,r){return!e.hasOwnProperty("isApplicable")&&"function"!=typeof e.isApplicable||e.isApplicable(t,r)},h.prototype.hasMarker=function(e){return(0,l.isFunction)(this._options.marker)&&(e.hasOwnProperty("getMarks")||"function"==typeof e.getMarks)},h.prototype.getSpecificMarker=function(){return this._options.marker},h.prototype.getPaper=function(){return this._lastPaper},h.prototype.getMarker=function(e,t,r){const n=this._options.marker;return function(){let i=e.getMarks(t,r);i=(0,s.default)(i),n(t,i)}},h.prototype.assess=function(e){this._researcher.setPaper(e);const t=new u.default(this._researcher),r=e._attributes&&e._attributes.shortcodes;e.setTree((0,c.build)(e,t,r));let n=this.getAvailableAssessments();this.results=[],n=(0,l.filter)(n,function(t){return this.isApplicable(t,e,this._researcher)}.bind(this)),this.setHasMarkers(!1),this.results=(0,l.map)(n,this.executeAssessment.bind(this,e,this._researcher)),this._lastPaper=e},h.prototype.setHasMarkers=function(e){this._hasMarkers=e},h.prototype.hasMarkers=function(){return this._hasMarkers},h.prototype.executeAssessment=function(e,t,r){let n;try{n=r.getResult(e,t),n.setIdentifier(r.identifier),n.hasMarks()&&(n.marks=r.getMarks(e,t),n.marks=(0,s.default)(n.marks)),n.hasMarks()&&this.hasMarker(r)&&(this.setHasMarkers(!0),n.setMarker(this.getMarker(r,e,t)))}catch(e){(0,a.showTrace)(e),n=new i.default,n.setScore(-1),n.setText((0,o.sprintf)(/* translators: %1$s expands to the name of the assessment. */ -(0,o.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),r.identifier,e))}return n},h.prototype.getValidResults=function(){return(0,l.filter)(this.results,function(e){return this.isValidResult(e)}.bind(this))},h.prototype.isValidResult=function(e){return e.hasScore()&&e.hasText()},h.prototype.calculateOverallScore=function(){const e=this.getValidResults(),t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(t/(9*e.length)*100)||0},h.prototype.addAssessment=function(e,t){return t.hasOwnProperty("identifier")||(t.identifier=e),this.getAssessment(t.identifier)&&this.removeAssessment(t.identifier),this._assessments.push(t),!0},h.prototype.removeAssessment=function(e){const t=(0,l.findIndex)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}));-1!==t&&this._assessments.splice(t,1)},h.prototype.getAssessment=function(e){return(0,l.find)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}))},h.prototype.getApplicableAssessments=function(){const e=this.getAvailableAssessments();return(0,l.filter)(e,function(e){return this.isApplicable(e,this.getPaper(),this._researcher)}.bind(this))},t.default=h},70021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(25859)),s=p(r(40774)),i=p(r(86089)),a=p(r(7261)),o=p(r(62318)),l=p(r(25636)),u=p(r(38196)),c=p(r(35780)),d=p(r(17413)),h=r(92819);function p(e){return e&&e.__esModule?e:{default:e}}const f=function(e,t={}){n.default.call(this,e,t),this.type="contentAssessor",this._assessments=[new a.default,new s.default,new i.default,new o.default,new l.default,new c.default,new u.default]};r(89539).inherits(f,n.default),f.prototype.calculatePenaltyPointsFullSupport=function(e){switch(e){case"bad":return 3;case"ok":return 2;default:return 0}},f.prototype.calculatePenaltyPointsPartialSupport=function(e){switch(e){case"bad":return 4;case"ok":return 2;default:return 0}},f.prototype._allAssessmentsSupported=function(){const e=this._assessments.length;return this.getApplicableAssessments().length===e},f.prototype.calculatePenaltyPoints=function(){const e=this.getValidResults(),t=(0,h.map)(e,function(e){const t=(0,d.default)(e.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(t):this.calculatePenaltyPointsPartialSupport(t)}.bind(this));return(0,h.sum)(t)},f.prototype._ratePenaltyPoints=function(e){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(e>6)return 30;if(e>4)return 60}else{if(e>4)return 30;if(e>2)return 60}return 90},f.prototype.calculateOverallScore=function(){if(0===this.getValidResults().length)return 30;const e=this.calculatePenaltyPoints();return this._ratePenaltyPoints(e)},t.default=f},93334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h(r(25859)),s=h(r(70021)),i=h(r(40774)),a=h(r(86089)),o=h(r(7261)),l=h(r(62318)),u=h(r(25636)),c=h(r(38196)),d=h(r(35780));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t={}){n.default.call(this,e,t),this.type="cornerstoneContentAssessor",this._assessments=[new o.default({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},applicableIfTextLongerThan:250,cornerstoneContent:!0}),new i.default,new a.default({slightlyTooMany:20,farTooMany:25},!0),new l.default,new u.default,new d.default,new c.default]};r(89539).inherits(p,s.default),t.default=p},55122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=h(r(25859)),i=h(r(90575)),a=h(r(99815)),o=h(r(70966)),l=h(r(34847)),u=h(r(69360)),c=h(r(36832)),d=h(r(8980));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t){s.default.call(this,e,t),this.type="cornerstoneRelatedKeywordAssessor",this._assessments=[new i.default,new a.default({isRelatedKeyphrase:!0}),new o.default,new l.default,new u.default,new c.default,new d.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}})]};(0,n.inherits)(p,s.default),t.default=p},47899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=b(r(90575)),i=b(r(99815)),a=b(r(70966)),o=b(r(34847)),l=b(r(69360)),u=b(r(92922)),c=b(r(46787)),d=b(r(80009)),h=b(r(25859)),p=b(r(63745)),f=b(r(70476)),g=b(r(17915)),m=b(r(8980)),_=b(r(38754)),y=b(r(57480)),E=b(r(27661)),T=b(r(46430)),A=b(r(36832)),v=b(r(47502));function b(e){return e&&e.__esModule?e:{default:e}}const S=function(e,t){h.default.call(this,e,t),this.type="cornerstoneSEOAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new f.default({scores:{tooLong:3,tooShort:3}}),new g.default,new l.default,new m.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}}),new _.default,new y.default({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},cornerstoneContent:!0}),new E.default({scores:{noLinks:3}}),new c.default,new u.default,new T.default({scores:{widthTooShort:9}},!0),new d.default({scores:{okay:3}}),new A.default,new v.default]};(0,n.inherits)(S,p.default),t.default=S},90327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.filter)(e,(function(e){return e.sentenceLength>t}))};var n=r(92819)},76663:(e,t)=>{"use strict";function r(e,t,r){return e>t&&e<=r}function n(e,t,r){return e>=t&&e=t&&e<=r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.inRangeEndInclusive=t.inRange=r,t.inRangeStartEndInclusive=s,t.inRangeStartInclusive=n,t.default={inRange:r,inRangeStartInclusive:n,inRangeEndInclusive:r,inRangeStartEndInclusive:s}},4913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return.7+e/3}},68055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i,a){const o=a?a(e.getText()).length:(0,n.default)(e).length;if(0===o)return 0;const l=r*o/(100*(0,s.default)(t));return l<2?2:"min"===i?Math.ceil(l):Math.floor(l)};var n=i(r(60914)),s=i(r(4913));function i(e){return e&&e.__esModule?e:{default:e}}},97679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(25859)),s=a(r(90529)),i=a(r(96682));function a(e){return e&&e.__esModule?e:{default:e}}const o={infoLinks:{}};class l extends n.default{constructor(e,t={}){super(e,t),this.type="inclusiveLanguageAssessor",this._options=Object.assign({},o,t);const r=this._options.infoLinks;this._assessments=s.default.map((e=>(r[e.category]&&(e.learnMoreUrl=r[e.category]),new i.default(e))))}calculateOverallScore(){const e=this.getValidResults(),t=e.filter((e=>6===e.getScore()));return e.filter((e=>3===e.getScore())).length>=1?30:t.length>=1?60:90}}t.default=l},80572:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"scoreToRating",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(17413))&&n.__esModule?n:{default:n}},17413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return-1===e?"error":0===e?"feedback":e<=4?"bad":e>4&&e<=7?"ok":e>7?"good":""}},12028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=h(r(25859)),i=h(r(90575)),a=h(r(99815)),o=h(r(70966)),l=h(r(34847)),u=h(r(8980)),c=h(r(69360)),d=h(r(36832));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t){s.default.call(this,e,t),this.type="relatedKeywordAssessor",this._assessments=[new i.default,new a.default({isRelatedKeyphrase:!0}),new o.default,new l.default,new c.default,new d.default,new u.default]};(0,n.inherits)(p,s.default),t.default=p},88533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=c(r(90575)),i=c(r(99815)),a=c(r(70966)),o=c(r(34847)),l=c(r(25859)),u=c(r(36832));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){l.default.call(this,e,t),this.type="relatedKeywordsTaxonomyAssessor",this._assessments=[new s.default,new i.default({isRelatedKeyphrase:!0}),new a.default,new o.default,new u.default]};(0,n.inherits)(d,l.default),t.default=d},4855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=a(r(17413)),i=a(r(1456));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(e){this.keyword=e.keyword,this.assessor=e.assessor,this.output=e.targets.output,this.overall=e.targets.overall||"overallScore",this.presenterConfig=(0,i.default)(),this._disableMarkerButtons=!1,this._activeMarker=!1};o.prototype.setKeyword=function(e){this.keyword=e},o.prototype.configHasProperty=function(e){return this.presenterConfig.hasOwnProperty(e)},o.prototype.getIndicator=function(e){return{className:this.getIndicatorColorClass(e),screenReaderText:this.getIndicatorScreenReaderText(e),fullText:this.getIndicatorFullText(e),screenReaderReadabilityText:this.getIndicatorScreenReaderReadabilityText(e)}},o.prototype.getIndicatorColorClass=function(e){return this.configHasProperty(e)?this.presenterConfig[e].className:""},o.prototype.getIndicatorScreenReaderText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderText:""},o.prototype.getIndicatorScreenReaderReadabilityText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderReadabilityText:""},o.prototype.getIndicatorFullText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].fullText:""},o.prototype.resultToRating=function(e){return(0,n.isObject)(e)?(e.rating=(0,s.default)(e.score),e):""},o.prototype.getIndividualRatings=function(){var e={},t=this.sort(this.assessor.getValidResults()).map(this.resultToRating);return(0,n.forEach)(t,function(t,r){e[r]=this.addRating(t)}.bind(this)),e},o.prototype.excludeFromResults=function(e,t){return(0,n.difference)(e,t)},o.prototype.sort=function(e){var t=this.getUndefinedScores(e),r=this.excludeFromResults(e,t);return r.sort((function(e,t){return e.score-t.score})),t.concat(r)},o.prototype.getUndefinedScores=function(e){return e.filter((function(e){return(0,n.isUndefined)(e.score)||0===e.score}))},o.prototype.addRating=function(e){var t=this.getIndicator(e.rating);return t.text=e.text,t.identifier=e.getIdentifier(),e.hasMarker()&&(t.marker=e.getMarker()),t},o.prototype.getOverallRating=function(e){var t=0;return""===this.keyword||(0,n.isNumber)(e)&&(t=e/10),this.resultToRating({score:t})},o.prototype.markAssessment=function(e,t){this._activeMarker===e?(this.removeAllMarks(),this._activeMarker=!1):(t(),this._activeMarker=e),this.render()},o.prototype.disableMarker=function(){this._activeMarker=!1,this.render()},o.prototype.disableMarkerButtons=function(){this._disableMarkerButtons=!0,this.render()},o.prototype.enableMarkerButtons=function(){this._disableMarkerButtons=!1,this.render()},o.prototype.addMarkerEventHandler=function(e,t){document.getElementById(this.output).getElementsByClassName("js-assessment-results__mark-"+e)[0].addEventListener("click",this.markAssessment.bind(this,e,t))},o.prototype.render=function(){this.renderIndividualRatings(),this.renderOverallRating()},o.prototype.bindMarkButtons=function(e){(0,n.forEach)(e,function(e){e.hasOwnProperty("marker")&&this.addMarkerEventHandler(e.identifier,e.marker)}.bind(this))},o.prototype.removeAllMarks=function(){this.assessor.getSpecificMarker()(this.assessor.getPaper(),[])},o.prototype.renderIndividualRatings=function(){},o.prototype.renderOverallRating=function(){var e=this.getOverallRating(this.assessor.calculateOverallScore()),t=document.getElementById(this.overall);t&&(t.className="overallScore "+this.getIndicatorColorClass(e.rating))},t.default=o},9286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.READABILITY_SCORES=void 0;var n=a(r(67404)),s=r(80572),i=a(r(34115));function a(e){return e&&e.__esModule?e:{default:e}}const o={bad:3,ok:2,good:0},l={bad:4,ok:2,good:0},u=t.READABILITY_SCORES={GOOD:90,OKAY:60,NEEDS_IMPROVEMENT:30,NOT_AVAILABLE:0},c=["en","nl","de","it","ru","fr","es"];class d extends i.default{isFullySupported(e){if(e&&e.includes("_")){const t=(0,n.default)(e);return c.includes(t)}return!1}calculateScore(e,t){if(e){if(t>6)return u.NEEDS_IMPROVEMENT;if(t>4)return u.OKAY}else{if(t>4)return u.NEEDS_IMPROVEMENT;if(t>2)return u.OKAY}return u.GOOD}calculatePenalty(e){return e.reduce(((e,t)=>{const r=(0,s.scoreToRating)(t.getScore()),n=this.isFullySupported(this.locale)?o[r]:l[r];return n?e+n:e}),0)}getValidResults(e){return e.filter((e=>e.hasScore()&&e.hasText()))}setLocale(e){this.locale=e}aggregate(e){const t=this.getValidResults(e);if(t.length<=1)return u.NOT_AVAILABLE;const r=this.calculatePenalty(t),n=this.isFullySupported(this.locale);return this.calculateScore(n,r)}}t.default=d},50734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(34115))&&n.__esModule?n:{default:n};class i extends s.default{aggregate(e){const t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(100*t/(9*e.length))||0}}t.default=i},34115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{aggregate(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}}},83819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReadabilityScoreAggregator",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SEOScoreAggregator",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ScoreAggregator",{enumerable:!0,get:function(){return s.default}});var n=a(r(9286)),s=a(r(34115)),i=a(r(50734));function a(e){return e&&e.__esModule?e:{default:e}}},63745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=v(r(90575)),i=v(r(99815)),a=v(r(70966)),o=v(r(34847)),l=v(r(69360)),u=v(r(92922)),c=v(r(46787)),d=v(r(80009)),h=v(r(25859)),p=v(r(70476)),f=v(r(17915)),g=v(r(8980)),m=v(r(38754)),_=v(r(57480)),y=v(r(27661)),E=v(r(46430)),T=v(r(36832)),A=v(r(47502));function v(e){return e&&e.__esModule?e:{default:e}}const b=function(e,t){h.default.call(this,e,t),this.type="SEOAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new p.default,new f.default,new l.default,new g.default,new m.default,new _.default,new y.default,new c.default,new u.default,new E.default({scores:{widthTooShort:9}},!0),new d.default,new T.default,new A.default]};(0,n.inherits)(b,h.default),t.default=b},74437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTextLengthAssessment=t.default=void 0;var n=r(89539),s=_(r(90575)),i=_(r(99815)),a=_(r(70966)),o=_(r(34847)),l=_(r(46787)),u=_(r(80009)),c=_(r(25859)),d=_(r(70476)),h=_(r(57480)),p=_(r(46430)),f=_(r(36832)),g=_(r(47502)),m=r(49061);function _(e){return e&&e.__esModule?e:{default:e}}const y=function(){return new h.default({recommendedMinimum:30,slightlyBelowMinimum:10,veryFarBelowMinimum:1,urlTitle:(0,m.createAnchorOpeningTag)("https://yoa.st/34j"),urlCallToAction:(0,m.createAnchorOpeningTag)("https://yoa.st/34k"),customContentType:"taxonomyAssessor"})};t.getTextLengthAssessment=y;const E=function(e,t){c.default.call(this,e,t),this.type="taxonomyAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new d.default,y(),new l.default,new p.default({scores:{widthTooShort:9}},!0),new u.default,new f.default,new g.default]};(0,n.inherits)(E,c.default),t.default=E},4914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65736),s=r(92819),i=h(r(67397)),a=r(62240),o=h(r(47793)),l=h(r(74169)),u=h(r(36064)),c=h(r(2022)),d=h(r(52243));function h(e){return e&&e.__esModule?e:{default:e}}var p={data:{title:"",metaDesc:"",urlPath:"",titleWidth:0,metaHeight:0},placeholder:{title:"",metaDesc:"",urlPath:"example-post/"},defaultValue:{title:"",metaDesc:""},baseURL:"http://example.com/",callbacks:{saveSnippetData:function(){}},addTrailingSlash:!0,metaDescriptionDate:"",previewMode:"desktop"},f=600;const g=156;var m=[{preview:"title_container",inputField:"title"},{preview:"url_container",inputField:"urlPath"},{preview:"meta_container",inputField:"metaDesc"}],_=function(){var e=this.opts.baseURL;return this.hasApp()&&!(0,s.isEmpty)(this.refObj.rawData.baseUrl)&&this.opts.baseURL===p.baseURL&&(e=this.refObj.rawData.baseUrl),e};function y(e){return this.data[e]}function E(e,t){this.element.input[e].value=t,this.data[e]=t}function T(e,t,r,n){var s;e.value=t,d.default.removeClasses(e,["snippet-editor__progress--bad","snippet-editor__progress--ok","snippet-editor__progress--good"]),d.default.addClass(e,"snippet-editor__progress--"+n),this.hasProgressSupport||(s=t/r*100,e.getElementsByClassName("snippet-editor__progress-bar")[0].style.width=s+"%")}var A=function(e){if((0,s.defaultsDeep)(e,p),this.data=e.data,(0,s.isUndefined)(e.analyzerApp)||(this.refObj=e.analyzerApp,this.data={title:this.refObj.rawData.snippetTitle||"",urlPath:this.refObj.rawData.snippetCite||"",metaDesc:this.refObj.rawData.snippetMeta||""},(0,s.isEmpty)(this.refObj.rawData.metaTitle)||(e.placeholder.title=this.refObj.rawData.metaTitle)),!(0,s.isElement)(e.targetElement))throw new Error("The snippet preview requires a valid target element");this.opts=e,this._currentFocus=null,this._currentHover=null,this.unformattedText={},Object.defineProperty(this.unformattedText,"snippet_cite",{get:y.bind(this,"urlPath"),set:E.bind(this,"urlPath")}),Object.defineProperty(this.unformattedText,"snippet_meta",{get:y.bind(this,"metaDesc"),set:E.bind(this,"metaDesc")}),Object.defineProperty(this.unformattedText,"snippet_title",{get:y.bind(this,"title"),set:E.bind(this,"title")})};function v(){var e=this.data.title;return(0,s.isEmpty)(e)&&(e=this.opts.defaultValue.title),this.hasPluggable()&&(e=this.refObj.pluggable._applyModifications("data_page_title",e)),(0,o.default)(e)}A.prototype.renderTemplate=function(){var e,t=this.opts.targetElement;this.element={measurers:{metaHeight:null},rendered:{title:document.getElementById("snippet_title"),urlBase:document.getElementById("snippet_citeBase"),urlPath:document.getElementById("snippet_cite"),metaDesc:document.getElementById("snippet_meta")},input:{title:t.getElementsByClassName("js-snippet-editor-title")[0],urlPath:t.getElementsByClassName("js-snippet-editor-slug")[0],metaDesc:t.getElementsByClassName("js-snippet-editor-meta-description")[0]},progress:{title:t.getElementsByClassName("snippet-editor__progress-title")[0],metaDesc:t.getElementsByClassName("snippet-editor__progress-meta-description")[0]},container:document.getElementById("snippet_preview"),formContainer:t.getElementsByClassName("snippet-editor__form")[0],editToggle:t.getElementsByClassName("snippet-editor__edit-button")[0],closeEditor:t.getElementsByClassName("snippet-editor__submit")[0],formFields:t.getElementsByClassName("snippet-editor__form-field")},this.element.label={title:this.element.input.title.parentNode,urlPath:this.element.input.urlPath.parentNode,metaDesc:this.element.input.metaDesc.parentNode},this.element.preview={title:this.element.rendered.title.parentNode,urlPath:this.element.rendered.urlPath.parentNode,metaDesc:this.element.rendered.metaDesc.parentNode},this.hasProgressSupport=(e=document.createElement("progress"),!(0,s.isUndefined)(e.max)),this.hasProgressSupport?(this.element.progress.title.max=f,this.element.progress.metaDesc.max=g):(0,s.forEach)(this.element.progress,(function(e){d.default.addClass(e,"snippet-editor__progress--fallback")})),this.initPreviewToggler(),this.setInitialView(),this.opened=!1,this.createMeasurementElements(),this.updateProgressBars()},A.prototype.initPreviewToggler=function(){this.snippetPreviewToggle=new c.default(this.opts.previewMode,this.opts.targetElement.getElementsByClassName("snippet-editor__view-icon")),this.snippetPreviewToggle.initialize(),this.snippetPreviewToggle.bindEvents()},A.prototype.refresh=function(){this.output=this.htmlOutput(),this.renderOutput(),this.renderSnippetStyle(),this.measureTitle(),this.measureMetaDescription(),this.updateProgressBars()};var b=function(){var e=this.data.metaDesc;return(0,s.isEmpty)(e)&&(e=this.opts.defaultValue.metaDesc),this.hasPluggable()&&(e=this.refObj.pluggable._applyModifications("data_meta_desc",e)),(0,s.isEmpty)(this.opts.metaDescriptionDate)||(0,s.isEmpty)(e)||(e=this.opts.metaDescriptionDate+" - "+this.data.metaDesc),(0,o.default)(e)};A.prototype.getAnalyzerData=function(){return{title:v.call(this),url:this.data.urlPath,metaDesc:b.call(this)}},A.prototype.callRegisteredEventBinder=function(){this.hasApp()&&this.refObj.callbacks.bindElementEvents(this.refObj)},A.prototype.init=function(){this.hasApp()&&null!==this.refObj.rawData.metaTitle&&null!==this.refObj.rawData.cite&&this.refresh()},A.prototype.htmlOutput=function(){var e={};return e.title=this.formatTitle(),e.cite=this.formatCite(),e.meta=this.formatMeta(),e.url=this.formatUrl(),e},A.prototype.formatTitle=function(){var e=this.data.title;return(0,s.isEmpty)(e)&&(e=this.opts.defaultValue.title),(0,s.isEmpty)(e)&&(e=this.opts.placeholder.title),this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("data_page_title",e)),e=(0,a.stripFullTags)(e),(0,s.isEmpty)(e)&&(e=(0,n.__)("Please provide an SEO title by editing the snippet below.","wordpress-seo")),e},A.prototype.formatUrl=function(){return _.call(this).replace(/http:\/\//gi,"")},A.prototype.formatCite=function(){var e,t=this.data.urlPath;return t=(0,l.default)((0,a.stripFullTags)(t)),(0,s.isEmpty)(t)&&(t=this.opts.placeholder.urlPath),this.hasApp()&&!(0,s.isEmpty)(this.refObj.rawData.keyword)&&(t=this.formatKeywordUrl(t)),this.opts.addTrailingSlash&&(e=t).indexOf("/")!==e.length-1&&(t+="/"),(t=t.replace(/\s/g,"-")).replace(/\?|#/g,"")},A.prototype.formatMeta=function(){var e=this.data.metaDesc;return(0,s.isEmpty)(e)&&(e=this.getMetaText()),this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("data_meta_desc",e)),e=(e=(0,a.stripFullTags)(e)).substring(0,g),this.hasApp()&&!(0,s.isEmpty)(this.refObj.rawData.keyword)&&(e=this.formatKeyword(e)),(0,s.isEmpty)(e)&&(e=(0,n.__)("Please provide a meta description by editing the snippet below.","wordpress-seo")),e},A.prototype.getMetaText=function(){var e=this.opts.defaultValue.metaDesc;return this.hasApp()&&!(0,s.isUndefined)(this.refObj.rawData.excerpt)&&(0,s.isEmpty)(e)&&(e=this.refObj.rawData.excerpt),this.hasApp()&&!(0,s.isUndefined)(this.refObj.rawData.text)&&(0,s.isEmpty)(e)&&(e=this.refObj.rawData.text,this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("content",e))),(e=(0,a.stripFullTags)(e)).substring(0,g)},A.prototype.getIndexMatches=function(){for(var e=[],t=0,r=this.refObj.rawData.text.indexOf(this.refObj.rawData.keyword,t);r>-1;)e.push(r),t=r+this.refObj.rawData.keyword.length,r=this.refObj.rawData.text.indexOf(this.refObj.rawData.keyword,t);return e},A.prototype.getPeriodMatches=function(){for(var e,t=[0],r=0;(e=this.refObj.rawData.text.indexOf(".",r))>-1;)t.push(e),r=e+1;return t},A.prototype.formatKeyword=function(e){var t=this.refObj.rawData.keyword,r=(0,i.default)(t,"",!1);e=e.replace(r,(function(e){return""+e+""}));var n=(0,u.default)(t,this.refObj.rawData.locale);return n!==t&&(r=(0,i.default)(n,"",!1),e=e.replace(r,(function(e){return""+e+""}))),e},A.prototype.formatKeywordUrl=function(e){var t=this.refObj.rawData.keyword,r=(t=(t=(0,u.default)(t,this.refObj.rawData.locale)).replace(/'/,"")).replace(/\s/g,"-"),n=(0,i.default)(r,"\\-");return e.replace(n,(function(e){return""+e+""}))},A.prototype.renderOutput=function(){this.element.rendered.title.innerHTML=this.output.title,this.element.rendered.urlPath.innerHTML=this.output.cite,this.element.rendered.urlBase.innerHTML=this.output.url,this.element.rendered.metaDesc.innerHTML=this.output.meta},A.prototype.renderSnippetStyle=function(){var e=this.element.rendered.metaDesc,t=b.call(this);(0,s.isEmpty)(t)?(d.default.addClass(e,"desc-render"),d.default.removeClass(e,"desc-default")):(d.default.addClass(e,"desc-default"),d.default.removeClass(e,"desc-render"))},A.prototype.reRender=function(){this.init()},A.prototype.checkTextLength=function(e){var t=e.currentTarget.textContent;switch(e.currentTarget.id){case"snippet_meta":e.currentTarget.className="desc",t.length>g&&(YoastSEO.app.snippetPreview.unformattedText.snippet_meta=e.currentTarget.textContent,e.currentTarget.textContent=t.substring(0,g));break;case"snippet_title":e.currentTarget.className="title",t.length>f&&(YoastSEO.app.snippetPreview.unformattedText.snippet_title=e.currentTarget.textContent,e.currentTarget.textContent=t.substring(0,f))}},A.prototype.getUnformattedText=function(e){var t=e.currentTarget.id;void 0!==this.unformattedText[t]&&(e.currentTarget.textContent=this.unformattedText[t])},A.prototype.setUnformattedText=function(e){var t=e.currentTarget.id;this.unformattedText[t]=document.getElementById(t).textContent},A.prototype.validateFields=function(){var e=b.call(this),t=v.call(this);e.length>g?d.default.addClass(this.element.input.metaDesc,"snippet-editor__field--invalid"):d.default.removeClass(this.element.input.metaDesc,"snippet-editor__field--invalid"),t.length>f?d.default.addClass(this.element.input.title,"snippet-editor__field--invalid"):d.default.removeClass(this.element.input.title,"snippet-editor__field--invalid")},A.prototype.updateProgressBars=function(){var e,t,r;r=b.call(this),t=function(e){var t;switch(!0){case e>0&&e<=399:case e>600:t="ok";break;case e>=400&&e<=600:t="good";break;default:t="bad"}return t}(this.data.titleWidth),e=function(e){var t;switch(!0){case e>0&&e<120:case e>g:t="ok";break;case e>=120&&e<=g:t="good";break;default:t="bad"}return t}(r.length),T.call(this,this.element.progress.title,this.data.titleWidth,f,t),T.call(this,this.element.progress.metaDesc,r.length,g,e)},A.prototype.setInitialView=function(){var e=document.getElementById("snippet_preview").getBoundingClientRect().width;this.snippetPreviewToggle.setVisibility(e)},A.prototype.handleWindowResizing=(0,s.debounce)((function(){var e=document.getElementById("snippet_preview").getBoundingClientRect().width;this.snippetPreviewToggle.setScrollHintVisibility(e)}),25),A.prototype.bindEvents=function(){var e;(0,s.forEach)(["title","slug","meta-description"],function(t){(e=document.getElementsByClassName("js-snippet-editor-"+t)[0]).addEventListener("keydown",this.changedInput.bind(this)),e.addEventListener("keyup",this.changedInput.bind(this)),e.addEventListener("input",this.changedInput.bind(this)),e.addEventListener("focus",this.changedInput.bind(this)),e.addEventListener("blur",this.changedInput.bind(this))}.bind(this)),this.element.editToggle.addEventListener("click",this.toggleEditor.bind(this)),this.element.closeEditor.addEventListener("click",this.closeEditor.bind(this)),window.addEventListener("resize",this.handleWindowResizing.bind(this)),(0,s.forEach)(m,function(e){var t=document.getElementById(e.preview),r=this.element.input[e.inputField];t.addEventListener("click",function(){this.openEditor(),r.focus()}.bind(this)),r.addEventListener("focus",function(){this._currentFocus=e.inputField,this._updateFocusCarets()}.bind(this)),r.addEventListener("blur",function(){this._currentFocus=null,this._updateFocusCarets()}.bind(this)),t.addEventListener("mouseover",function(){this._currentHover=e.inputField,this._updateHoverCarets()}.bind(this)),t.addEventListener("mouseout",function(){this._currentHover=null,this._updateHoverCarets()}.bind(this))}.bind(this))},A.prototype.changedInput=(0,s.debounce)((function(){this.updateDataFromDOM(),this.validateFields(),this.updateProgressBars(),this.refresh(),this.hasApp()&&this.refObj.refresh()}),25),A.prototype.updateDataFromDOM=function(){this.data.title=this.element.input.title.value,this.data.urlPath=this.element.input.urlPath.value,this.data.metaDesc=this.element.input.metaDesc.value,this.opts.callbacks.saveSnippetData((0,s.clone)(this.data))},A.prototype.openEditor=function(){this.element.editToggle.setAttribute("aria-expanded","true"),d.default.removeClass(this.element.formContainer,"snippet-editor--hidden"),this.opened=!0},A.prototype.closeEditor=function(){d.default.addClass(this.element.formContainer,"snippet-editor--hidden"),this.element.editToggle.setAttribute("aria-expanded","false"),this.element.editToggle.focus(),this.opened=!1},A.prototype.toggleEditor=function(){this.opened?this.closeEditor():this.openEditor()},A.prototype._updateFocusCarets=function(){var e,t;(0,s.forEach)(this.element.label,(function(e){d.default.removeClass(e,"snippet-editor__label--focus")})),(0,s.forEach)(this.element.preview,(function(e){d.default.removeClass(e,"snippet-editor__container--focus")})),null!==this._currentFocus&&(e=this.element.label[this._currentFocus],t=this.element.preview[this._currentFocus],d.default.addClass(e,"snippet-editor__label--focus"),d.default.addClass(t,"snippet-editor__container--focus"))},A.prototype._updateHoverCarets=function(){var e;(0,s.forEach)(this.element.label,(function(e){d.default.removeClass(e,"snippet-editor__label--hover")})),null!==this._currentHover&&(e=this.element.label[this._currentHover],d.default.addClass(e,"snippet-editor__label--hover"))},A.prototype.setTitle=function(e){this.element.input.title.value=e,this.changedInput()},A.prototype.setUrlPath=function(e){this.element.input.urlPath.value=e,this.changedInput()},A.prototype.setMetaDescription=function(e){this.element.input.metaDesc.value=e,this.changedInput()},A.prototype.createMeasurementElements=function(){var e;(e=document.createElement("div")).className="yoast-measurement-elements-holder",document.body.appendChild(e),this.element.measurers.metaHeight=e.childNodes[0]},A.prototype.measureTitle=function(){0===this.element.rendered.title.offsetWidth&&""!==this.element.rendered.title.textContent||(this.data.titleWidth=this.element.rendered.title.offsetWidth)},A.prototype.measureMetaDescription=function(){var e=this.element.measurers.metaHeight;e.innerHTML=this.element.rendered.metaDesc.innerHTML,this.data.metaHeight=e.offsetHeight},A.prototype.getTitleWidth=function(){return this.data.titleWidth},A.prototype.setTitleWidth=function(e){this.data.titleWidth=e},A.prototype.hasApp=function(){return!(0,s.isUndefined)(this.refObj)},A.prototype.hasPluggable=function(){return!(0,s.isUndefined)(this.refObj)&&!(0,s.isUndefined)(this.refObj.pluggable)},A.prototype.disableEnter=function(e){},A.prototype.textFeedback=function(e){},A.prototype.showEditIcon=function(e){},A.prototype.hideEditIcon=function(){},A.prototype.setFocus=function(e){},t.default=A},2022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(52243))&&n.__esModule?n:{default:n},a={desktop:"snippet-editor__view--desktop",mobile:"snippet-editor__view--mobile"},o=function(e,t){this.previewMode=e,this.previewToggles=t,this.viewElement=document.getElementById("snippet-preview-view")};o.prototype.initialize=function(){this._setPreviewMode(this.previewMode,this._findElementByMode(this.previewMode))},o.prototype.bindClickEvent=function(e){e.addEventListener("click",function(){this._setPreviewMode(e.getAttribute("data-type"),e),this.removeTooltipAbility(e)}.bind(this))},o.prototype.bindMouseleaveEvent=function(e){e.addEventListener("mouseleave",function(){this.removeTooltipAbility(e)}.bind(this))},o.prototype.bindBlurEvent=function(e){e.addEventListener("blur",function(){this.restoreTooltipAbility(e)}.bind(this))},o.prototype.bindMouseenterEvent=function(e){e.addEventListener("mouseenter",function(){this.restoreTooltipAbility(e)}.bind(this))},o.prototype.bindEvents=function(){(0,s.forEach)(this.previewToggles,function(e){this.bindClickEvent(e),this.bindMouseleaveEvent(e),this.bindBlurEvent(e),this.bindMouseenterEvent(e)}.bind(this))},o.prototype._findElementByMode=function(e){return document.getElementsByClassName("snippet-editor__view-icon-"+e)[0]},o.prototype._setPreviewMode=function(e,t){this._removeActiveStates(),this._setActiveState(t),i.default.removeClass(this.viewElement,a[this.previewMode]),i.default.addClass(this.viewElement,a[e]),this.previewMode=e},o.prototype.setDesktopMode=function(){this._setPreviewMode("desktop",this._findElementByMode("desktop"))},o.prototype.setMobileMode=function(){this._setPreviewMode("mobile",this._findElementByMode("mobile"))},o.prototype.setVisibility=function(e){e<640?(this.setMobileMode(),i.default.addClass(this.viewElement,"snippet-editor__view--desktop-has-scroll")):this.setDesktopMode()},o.prototype.setScrollHintVisibility=function(e){i.default.removeClass(this.viewElement,"snippet-editor__view--desktop-has-scroll"),e<640&&i.default.addClass(this.viewElement,"snippet-editor__view--desktop-has-scroll")},o.prototype._removeActiveStates=function(){(0,s.forEach)(this.previewToggles,this._removeActiveState.bind(this))},o.prototype._removeActiveState=function(e){i.default.removeClass(e,"snippet-editor__view-icon-"+e.getAttribute("data-type")+"--active"),i.default.removeClass(e,"snippet-editor__view-icon--active"),e.setAttribute("aria-pressed","false")},o.prototype.removeTooltipAbility=function(e){i.default.addClass(e,"yoast-tooltip-hidden")},o.prototype.restoreTooltipAbility=function(e){i.default.removeClass(e,"yoast-tooltip-hidden")},o.prototype._setActiveState=function(e){i.default.addClass(e,"snippet-editor__view-icon-"+e.getAttribute("data-type")+"--active"),i.default.addClass(e,"snippet-editor__view-icon--active"),e.setAttribute("aria-pressed","true")},t.default=o},73054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(41054))&&n.__esModule?n:{default:n},a=function(){return[]},o=function(e){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._hasJumps=!1,this._hasEditFieldName=!1,this._marker=a,this._hasBetaBadge=!1,this.score=0,this.text="",this.marks=[],this.editFieldName="",(0,s.isUndefined)(e)&&(e={}),(0,s.isUndefined)(e.score)||this.setScore(e.score),(0,s.isUndefined)(e.text)||this.setText(e.text),(0,s.isUndefined)(e.marks)||this.setMarks(e.marks),(0,s.isUndefined)(e._hasBetaBadge)||this.setHasBetaBadge(e._hasBetaBadge),(0,s.isUndefined)(e._hasJumps)||this.setHasJumps(e._hasJumps),(0,s.isUndefined)(e.editFieldName)||this.setEditFieldName(e.editFieldName)};o.prototype.hasScore=function(){return this._hasScore},o.prototype.getScore=function(){return this.score},o.prototype.setScore=function(e){(0,s.isNumber)(e)&&(this.score=e,this._hasScore=!0)},o.prototype.hasText=function(){return""!==this.text},o.prototype.getText=function(){return this.text},o.prototype.setText=function(e){(0,s.isUndefined)(e)&&(e=""),this.text=e},o.prototype.getMarks=function(){return this.marks},o.prototype.setMarks=function(e){(0,s.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)},o.prototype.setIdentifier=function(e){this._identifier=e},o.prototype.getIdentifier=function(){return this._identifier},o.prototype.setMarker=function(e){this._marker=e},o.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},o.prototype.getMarker=function(){return this._marker},o.prototype.setHasMarks=function(e){this._hasMarks=e},o.prototype.hasMarks=function(){return this._hasMarks},o.prototype.setHasBetaBadge=function(e){this._hasBetaBadge=e},o.prototype.hasBetaBadge=function(){return this._hasBetaBadge},o.prototype.setHasJumps=function(e){this._hasJumps=e},o.prototype.hasJumps=function(){return this._hasJumps},o.prototype.hasEditFieldName=function(){return this._hasEditFieldName},o.prototype.getEditFieldName=function(){return this.editFieldName},o.prototype.setEditFieldName=function(e){""!==e&&(this.editFieldName=e,this._hasEditFieldName=!0)},o.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map((e=>e.serialize())),_hasBetaBadge:this._hasBetaBadge,_hasJumps:this._hasJumps,editFieldName:this.editFieldName}},o.parse=function(e){const t=new o({text:e.text,score:e.score,marks:e.marks.map((e=>i.default.parse(e))),_hasBetaBadge:e._hasBetaBadge,_hasJumps:e._hasJumps,editFieldName:e.editFieldName});return t.setIdentifier(e.identifier),t},t.default=o},41054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);function s(e){(0,n.defaults)(e,{original:"",marked:"",fieldsToMark:[]}),this._properties=e,this.isValid()}s.prototype.getOriginal=function(){return this._properties.original},s.prototype.getMarked=function(){return this._properties.marked},s.prototype.getFieldsToMark=function(){return this._properties.fieldsToMark},s.prototype.getPosition=function(){return this._properties.position},s.prototype.getPositionStart=function(){return this._properties.position&&this._properties.position.startOffset},s.prototype.getPositionEnd=function(){return this._properties.position&&this._properties.position.endOffset},s.prototype.setPositionStart=function(e){this._properties.position.startOffset=e},s.prototype.setPositionEnd=function(e){this._properties.position.endOffset=e},s.prototype.setBlockPositionStart=function(e){this._properties.position.startOffsetBlock=e},s.prototype.setBlockPositionEnd=function(e){this._properties.position.endOffsetBlock=e},s.prototype.getBlockClientId=function(){return this._properties.position&&this._properties.position.clientId},s.prototype.getBlockAttributeId=function(){return this._properties.position&&this._properties.position.attributeId},s.prototype.isMarkForFirstBlockSection=function(){return this._properties.position&&this._properties.position.isFirstSection},s.prototype.getBlockPositionStart=function(){return this._properties.position&&this._properties.position.startOffsetBlock},s.prototype.getBlockPositionEnd=function(){return this._properties.position&&this._properties.position.endOffsetBlock},s.prototype.applyWithReplace=function(e){return e.split(this._properties.original).join(this._properties.marked)},s.prototype.applyWithPosition=function(e){const t=this.getPositionEnd()+35;return(e=e.substring(0,this.getPositionStart())+""+e.substring(this.getPositionStart())).substring(0,t)+""+e.substring(t)},s.prototype.serialize=function(){return{_parseClass:"Mark",...this._properties}},s.prototype.isValid=function(){if(!(0,n.isUndefined)(this.getPositionStart())&&this.getPositionStart()<0)throw new RangeError("positionStart should be larger or equal than 0.");if(!(0,n.isUndefined)(this.getPositionEnd())&&this.getPositionEnd()<=0)throw new RangeError("positionEnd should be larger than 0.");if(!(0,n.isUndefined)(this.getPositionStart())&&!(0,n.isUndefined)(this.getPositionEnd())&&this.getPositionStart()>=this.getPositionEnd())throw new RangeError("The positionStart should be smaller than the positionEnd.");if((0,n.isUndefined)(this.getPositionStart())&&!(0,n.isUndefined)(this.getPositionEnd())||(0,n.isUndefined)(this.getPositionEnd())&&!(0,n.isUndefined)(this.getPositionStart()))throw new Error("A mark object should either have start and end defined or start and end undefined.")},s.prototype.hasPosition=function(){return!(0,n.isUndefined)(this.getPositionStart())},s.prototype.hasBlockPosition=function(){return!(0,n.isUndefined)(this.getBlockPositionStart())},s.parse=function(e){return delete e._parseClass,new s(e)},t.default=s},82304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);const s={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,slug:"",locale:"en_US",permalink:"",date:"",customData:{},textTitle:"",writingDirection:"LTR"};function i(e,t){this._text=e||"",this._tree=null,t=t||{},(0,n.defaults)(t,s),""===t.locale&&(t.locale=s.locale),t.hasOwnProperty("url")&&(console.warn("The 'url' attribute is deprecated, use 'slug' instead."),t.slug=t.url||t.slug);const r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\u0026\s]/g,"");(0,n.isEmpty)(r)&&(t.keyword=s.keyword),this._attributes=t}i.prototype.hasKeyword=function(){return""!==this._attributes.keyword},i.prototype.getKeyword=function(){return this._attributes.keyword},i.prototype.hasSynonyms=function(){return""!==this._attributes.synonyms},i.prototype.getSynonyms=function(){return this._attributes.synonyms},i.prototype.hasText=function(){return""!==this._text},i.prototype.getText=function(){return this._text},i.prototype.setTree=function(e){this._tree=e},i.prototype.getTree=function(){return this._tree},i.prototype.hasDescription=function(){return""!==this._attributes.description},i.prototype.getDescription=function(){return this._attributes.description},i.prototype.hasTitle=function(){return""!==this._attributes.title},i.prototype.getTitle=function(){return this._attributes.title},i.prototype.hasTitleWidth=function(){return 0!==this._attributes.titleWidth},i.prototype.getTitleWidth=function(){return this._attributes.titleWidth},i.prototype.hasSlug=function(){return""!==this._attributes.slug},i.prototype.getSlug=function(){return this._attributes.slug},i.prototype.hasUrl=function(){return console.warn("This function is deprecated, use hasSlug instead"),this.hasSlug()},i.prototype.getUrl=function(){return console.warn("This function is deprecated, use getSlug instead"),this.getSlug()},i.prototype.hasLocale=function(){return""!==this._attributes.locale},i.prototype.getLocale=function(){return this._attributes.locale},i.prototype.getWritingDirection=function(){return this._attributes.writingDirection},i.prototype.hasPermalink=function(){return""!==this._attributes.permalink},i.prototype.getPermalink=function(){return this._attributes.permalink},i.prototype.hasDate=function(){return""!==this._attributes.date},i.prototype.getDate=function(){return this._attributes.date},i.prototype.hasCustomData=function(){return!(0,n.isEmpty)(this._attributes.customData)},i.prototype.getCustomData=function(){return this._attributes.customData},i.prototype.hasTextTitle=function(){return""!==this._attributes.textTitle&&!(0,n.isNil)(this._attributes.textTitle)},i.prototype.getTextTitle=function(){return this._attributes.textTitle},i.prototype.serialize=function(){return{_parseClass:"Paper",text:this._text,...this._attributes}},i.prototype.equals=function(e){return this._text===e.getText()&&(0,n.isEqual)(this._attributes,e._attributes)},i.parse=function(e){if(e instanceof i)return e;const{text:t,_parseClass:r,...n}=e;return new i(t,n)},t.default=i},73728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AssessmentResult",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Mark",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Paper",{enumerable:!0,get:function(){return i.default}});var n=a(r(73054)),s=a(r(41054)),i=a(r(82304));function a(e){return e&&e.__esModule?e:{default:e}}},86912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(14715),s=r(65736),i=r(92819),a=r(2043),o=N(r(63745)),l=N(r(70021)),u=N(r(74437)),c=N(r(82304)),d=N(r(73054)),h=N(r(12028)),p=N(r(97679)),f=r(7104),g=N(r(49781)),m=N(r(93334)),_=N(r(55122)),y=N(r(47899)),E=N(r(62887)),T=N(r(85551)),A=N(r(64495)),v=r(33140),b=N(r(88533)),S=N(r(96224)),I=N(r(46746)),O=N(r(72557)),C=r(83819);function N(e){return e&&e.__esModule?e:{default:e}}const D=(0,a.getLogger)("yoast-analysis-worker");D.setDefaultLevel("error");class w{constructor(e,t){this._scope=e,this._configuration={contentAnalysisActive:!0,keywordAnalysisActive:!0,inclusiveLanguageAnalysisActive:!1,useCornerstone:!1,useTaxonomy:!1,locale:"en_US",customAnalysisType:""},this._scheduler=new S.default,this._paper=null,this._relatedKeywords={},this._researcher=t,this._contentAssessor=null,this._seoAssessor=null,this._relatedKeywordAssessor=null,this.additionalAssessors={},this._inclusiveLanguageOptions={},this._results={readability:{results:[],score:0},seo:{"":{results:[],score:0}},inclusiveLanguage:{results:[],score:0}},this._registeredAssessments=[],this._registeredMessageHandlers={},this._registeredParsers=[],this.setupTreeAnalysis(),this.bindActions(),this.assessRelatedKeywords=this.assessRelatedKeywords.bind(this),this.registerAssessment=this.registerAssessment.bind(this),this.registerMessageHandler=this.registerMessageHandler.bind(this),this.refreshAssessment=this.refreshAssessment.bind(this),this.setCustomContentAssessorClass=this.setCustomContentAssessorClass.bind(this),this.setCustomCornerstoneContentAssessorClass=this.setCustomCornerstoneContentAssessorClass.bind(this),this.setCustomSEOAssessorClass=this.setCustomSEOAssessorClass.bind(this),this.setCustomCornerstoneSEOAssessorClass=this.setCustomCornerstoneSEOAssessorClass.bind(this),this.setCustomRelatedKeywordAssessorClass=this.setCustomRelatedKeywordAssessorClass.bind(this),this.setCustomCornerstoneRelatedKeywordAssessorClass=this.setCustomCornerstoneRelatedKeywordAssessorClass.bind(this),this.registerAssessor=this.registerAssessor.bind(this),this.registerResearch=this.registerResearch.bind(this),this.registerHelper=this.registerHelper.bind(this),this.registerResearcherConfig=this.registerResearcherConfig.bind(this),this.setInclusiveLanguageOptions=this.setInclusiveLanguageOptions.bind(this),this.handleMessage=this.handleMessage.bind(this),this.analyzeRelatedKeywords=(0,O.default)(D,this.analyze,"An error occurred while running the related keywords analysis."),this.analyze=(0,O.default)(D,this.analyze,"An error occurred while running the analysis."),this.runResearch=(0,O.default)(D,this.runResearch,"An error occurred after running the '%%name%%' research.")}bindActions(){this.analyze=this.analyze.bind(this),this.analyzeDone=this.analyzeDone.bind(this),this.analyzeRelatedKeywordsDone=this.analyzeRelatedKeywordsDone.bind(this),this.loadScript=this.loadScript.bind(this),this.loadScriptDone=this.loadScriptDone.bind(this),this.customMessage=this.customMessage.bind(this),this.customMessageDone=this.customMessageDone.bind(this),this.clearCache=this.clearCache.bind(this),this.runResearch=this.runResearch.bind(this),this.runResearchDone=this.runResearchDone.bind(this)}setCustomContentAssessorClass(e,t,r){this._CustomContentAssessorClasses[t]=e,this._CustomContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomCornerstoneContentAssessorClass(e,t,r){this._CustomCornerstoneContentAssessorClasses[t]=e,this._CustomCornerstoneContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomSEOAssessorClass(e,t,r){this._CustomSEOAssessorClasses[t]=e,this._CustomSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomCornerstoneSEOAssessorClass(e,t,r){this._CustomCornerstoneSEOAssessorClasses[t]=e,this._CustomCornerstoneSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomRelatedKeywordAssessorClass(e,t,r){this._CustomRelatedKeywordAssessorClasses[t]=e,this._CustomRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setCustomCornerstoneRelatedKeywordAssessorClass(e,t,r){this._CustomCornerstoneRelatedKeywordAssessorClasses[t]=e,this._CustomCornerstoneRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setInclusiveLanguageOptions(e){this._inclusiveLanguageOptions=e}setupTreeAnalysis(){this._treeResearcher=null,this._contentTreeAssessor=null,this._seoTreeAssessor=null,this._relatedKeywordTreeAssessor=null,this._CustomSEOAssessorClasses={},this._CustomCornerstoneSEOAssessorClasses={},this._CustomContentAssessorClasses={},this._CustomCornerstoneContentAssessorClasses={},this._CustomRelatedKeywordAssessorClasses={},this._CustomCornerstoneRelatedKeywordAssessorClasses={},this._CustomSEOAssessorOptions={},this._CustomCornerstoneSEOAssessorOptions={},this._CustomContentAssessorOptions={},this._CustomCornerstoneContentAssessorOptions={},this._CustomRelatedKeywordAssessorOptions={},this._CustomCornerstoneRelatedKeywordAssessorOptions={},this._registeredTreeAssessments=[],this._seoScoreAggregator=new C.SEOScoreAggregator,this._contentScoreAggregator=new C.ReadabilityScoreAggregator,this._tree=null,this._treeBuilder=null}register(){this._scope.onmessage=this.handleMessage,this._scope.analysisWorker=this}handleMessage({data:{type:e,id:t,payload:r}}){switch(r=I.default.parse(r),D.debug("AnalysisWebWorker incoming:",e,t,r),e){case"initialize":this.initialize(t,r),this._scheduler.startPolling();break;case"analyze":this._scheduler.schedule({id:t,execute:this.analyze,done:this.analyzeDone,data:r,type:e});break;case"analyzeRelatedKeywords":this._scheduler.schedule({id:t,execute:this.analyzeRelatedKeywords,done:this.analyzeRelatedKeywordsDone,data:r,type:e});break;case"loadScript":this._scheduler.schedule({id:t,execute:this.loadScript,done:this.loadScriptDone,data:r,type:e});break;case"runResearch":this._scheduler.schedule({id:t,execute:this.runResearch,done:this.runResearchDone,data:r});break;case"customMessage":{const n=r.name;if(n&&this._registeredMessageHandlers[n]){this._scheduler.schedule({id:t,execute:this.customMessage,done:this.customMessageDone,data:r,type:e});break}this.customMessageDone(t,{error:new Error("No message handler registered for messages with name: "+n)});break}default:console.warn("AnalysisWebWorker unrecognized action:",e)}}createContentAssessor(){const{contentAnalysisActive:e,useCornerstone:t,customAnalysisType:r}=this._configuration;if(!1===e)return null;let n;return!0===t?(n=this._CustomCornerstoneContentAssessorClasses[r]?new this._CustomCornerstoneContentAssessorClasses[r](this._researcher,this._CustomCornerstoneContentAssessorOptions[r]):new m.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"cornerstoneReadability"===r&&n.addAssessment(e,t)}))):(n=this._CustomContentAssessorClasses[r]?new this._CustomContentAssessorClasses[r](this._researcher,this._CustomContentAssessorOptions[r]):new l.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"readability"===r&&n.addAssessment(e,t)}))),n}createSEOAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:n}=this._configuration;if(!1===e)return null;let s;return s=!0===r?new u.default(this._researcher):!0===t?this._CustomCornerstoneSEOAssessorClasses[n]?new this._CustomCornerstoneSEOAssessorClasses[n](this._researcher,this._CustomCornerstoneSEOAssessorOptions[n]):new y.default(this._researcher):this._CustomSEOAssessorClasses[n]?new this._CustomSEOAssessorClasses[n](this._researcher,this._CustomSEOAssessorOptions[n]):new o.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"seo"===r&&s.addAssessment(e,t)})),s}createInclusiveLanguageAssessor(){const{inclusiveLanguageAnalysisActive:e}=this._configuration;return!1===e?null:new p.default(this._researcher,this._inclusiveLanguageOptions)}createRelatedKeywordsAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:n}=this._configuration;if(!1===e)return null;let s;return s=!0===r?new b.default(this._researcher):!0===t?this._CustomCornerstoneRelatedKeywordAssessorClasses[n]?new this._CustomCornerstoneRelatedKeywordAssessorClasses[n](this._researcher,this._CustomCornerstoneRelatedKeywordAssessorOptions[n]):new _.default(this._researcher):this._CustomRelatedKeywordAssessorClasses[n]?new this._CustomRelatedKeywordAssessorClasses[n](this._researcher,this._CustomRelatedKeywordAssessorOptions[n]):new h.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"relatedKeyphrase"===r&&s.addAssessment(e,t)})),s}send(e,t,r={}){D.debug("AnalysisWebWorker outgoing:",e,t,r),r=I.default.serialize(r),this._scope.postMessage({type:e,id:t,payload:r})}static shouldAssessorsUpdate(e,t=null,r=null,n=null){const s=Object.keys(e);return{readability:(0,i.isNull)(t)||(0,A.default)(s,["contentAnalysisActive","useCornerstone","locale","translations","customAnalysisType"]),seo:(0,i.isNull)(r)||(0,A.default)(s,["keywordAnalysisActive","useCornerstone","useTaxonomy","locale","translations","researchData","customAnalysisType"]),inclusiveLanguage:(0,i.isNull)(n)||(0,A.default)(s,["inclusiveLanguageAnalysisActive","locale","translations"])}}initialize(e,t){const r=w.shouldAssessorsUpdate(t,this._contentAssessor,this._seoAssessor,this._inclusiveLanguageAssessor);(0,i.has)(t,"translations")&&Object.values(t.translations).forEach((e=>{if(e){const{domain:t,locale_data:r}=e;(0,s.setLocaleData)(r[t],t)}})),(0,i.has)(t,"researchData")&&((0,i.forEach)(t.researchData,((e,t)=>{this._researcher.addResearchData(t,e)})),delete t.researchData),(0,i.has)(t,"defaultQueryParams")&&((0,v.configureShortlinker)({params:t.defaultQueryParams}),delete t.defaultQueryParams),(0,i.has)(t,"logLevel")&&(D.setLevel(t.logLevel,!1),delete t.logLevel),(0,i.has)(t,"enabledFeatures")&&((0,n.enableFeatures)(t.enabledFeatures),delete t.enabledFeatures),this._configuration=(0,i.merge)(this._configuration,t),r.readability&&(this._contentAssessor=this.createContentAssessor(),this._contentTreeAssessor=null),r.seo&&(this._seoAssessor=this.createSEOAssessor(),this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()),r.inclusiveLanguage&&(this._inclusiveLanguageAssessor=this.createInclusiveLanguageAssessor()),this.clearCache(),this.send("initialize:done",e)}registerAssessor(e,t,r){const n=new t(this._researcher);this.additionalAssessors[e]={assessor:n,shouldUpdate:r}}registerAssessment(e,t,r,n="seo"){const{useCornerstone:s}=this._configuration;if(!(0,i.isString)(e))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function.");if(!(0,i.isString)(r))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string.");const a=r+"-"+e;return null!==this._seoAssessor&&"seo"===n&&this._seoAssessor.addAssessment(a,t),null!==this._contentAssessor&&"readability"===n&&this._contentAssessor.addAssessment(a,t),null!==this._contentAssessor&&"cornerstoneReadability"===n&&s&&this._contentAssessor.addAssessment(a,t),null!==this._relatedKeywordAssessor&&"relatedKeyphrase"===n&&this._relatedKeywordAssessor.addAssessment(a,t),this._registeredAssessments.push({combinedName:a,assessment:t,type:n}),this.refreshAssessment(e,r),!0}registerMessageHandler(e,t,r){if(!(0,i.isString)(e))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `handler` to be a function.");if(!(0,i.isString)(r))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `pluginName` to be a string.");e=r+"-"+e,this._registeredMessageHandlers[e]=t}refreshAssessment(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to refresh assessment for plugin "+t+". Expected parameter `name` to be a string.");if(!(0,i.isString)(t))throw new E.default("Failed to refresh assessment for plugin "+t+". Expected parameter `pluginName` to be a string.");this.clearCache()}registerParser(e){if("function"!=typeof e.isApplicable)throw new E.default("Failed to register the custom parser. Expected parameter 'parser' to have a method 'isApplicable'.");if("function"!=typeof e.parse)throw new E.default("Failed to register the custom parser. Expected parameter 'parser' to have a method 'parse'.");this._registeredParsers.push(e)}clearCache(){this._paper=null}setLocale(e){this._configuration.locale!==e&&(this._configuration.locale=e,this._contentAssessor=this.createContentAssessor())}shouldReadabilityUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getLocale()!==e.getLocale()}shouldInclusiveLanguageUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getTextTitle()!==e.getTextTitle()||this._paper.getLocale()!==e.getLocale()}updateInclusiveLanguageAssessor(e){this._configuration.inclusiveLanguageAnalysisActive&&this._inclusiveLanguageAssessor&&e&&(this._inclusiveLanguageAssessor.assess(this._paper),this._results.inclusiveLanguage={results:this._inclusiveLanguageAssessor.results,score:this._inclusiveLanguageAssessor.calculateOverallScore()})}shouldSeoUpdate(e,{keyword:t,synonyms:r}){return!!(0,i.isUndefined)(this._relatedKeywords[e])||this._relatedKeywords[e].keyword!==t||this._relatedKeywords[e].synonyms!==r}shouldAdditionalAssessorsUpdate(e){const t={};return Object.keys(this.additionalAssessors).forEach((r=>{t[r]=this.additionalAssessors[r].shouldUpdate(this._paper,e)})),t}updateAdditionalAssessors(e){Object.keys(this.additionalAssessors).forEach((t=>{const{assessor:r}=this.additionalAssessors[t];this._results[t]&&!e[t]||(r.assess(this._paper),this._results[t]={results:r.results,score:r.calculateOverallScore()})}))}async analyze(e,{paper:t,relatedKeywords:r={}}){const n=null===this._paper||!this._paper.equals(t),s=this.shouldReadabilityUpdate(t),a=this.shouldInclusiveLanguageUpdate(t),o=this.shouldAdditionalAssessorsUpdate(t);if(n){this._paper=t,this._researcher.setPaper(this._paper);const e=new g.default(this._researcher),r=this._paper._attributes&&this._paper._attributes.shortcodes;this._paper.setTree((0,f.build)(this._paper,e,r)),this.setLocale(this._paper.getLocale())}if(this._configuration.keywordAnalysisActive&&this._seoAssessor&&(n&&(this._results.seo[""]=await this.assess(this._paper,this._tree,{oldAssessor:this._seoAssessor,treeAssessor:this._seoTreeAssessor,scoreAggregator:this._seoScoreAggregator})),!(0,i.isEmpty)(r))){const e=Object.keys(r);(await this.assessRelatedKeywords(t,this._tree,r)).forEach((e=>{this._results.seo[e.key]=e.results})),e.length>1&&(this._results.seo=(0,i.pickBy)(this._results.seo,((t,r)=>(0,i.includes)(e,r)||""===r)))}if(this._configuration.contentAnalysisActive&&this._contentAssessor&&s){const e={oldAssessor:this._contentAssessor,treeAssessor:this._contentTreeAssessor,scoreAggregator:this._contentScoreAggregator};e.scoreAggregator.setLocale(this._configuration.locale),this._results.readability=await this.assess(this._paper,this._tree,e)}return this.updateInclusiveLanguageAssessor(a),this.updateAdditionalAssessors(o),this._results}async assess(e,t,r){const{oldAssessor:n,scoreAggregator:s}=r;n.assess(e);const i=[...n.results];return{results:i,score:s.aggregate(i)}}generateAssessmentError(e){const t=new d.default;return t.setScore(-1),t.setText((0,s.sprintf)(/* translators: %1$s expands to the name of the assessment. */ -(0,s.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),e.name)),t}async assessRelatedKeywords(e,t,r){const n=Object.keys(r);return await Promise.all(n.map((n=>{this._relatedKeywords[n]=r[n];const s=c.default.parse({...e.serialize(),keyword:this._relatedKeywords[n].keyword,synonyms:this._relatedKeywords[n].synonyms}),i={oldAssessor:this._relatedKeywordAssessor,treeAssessor:this._relatedKeywordTreeAssessor,scoreAggregator:this._seoScoreAggregator};return this.assess(s,t,i).then((e=>({key:n,results:e})))})))}loadScript(e,{url:t}){if((0,i.isUndefined)(t))return{loaded:!1,url:t,message:"Load Script was called without an URL."};try{this._scope.importScripts(t)}catch(e){return{loaded:!1,url:t,message:e.message}}return{loaded:!0,url:t}}loadScriptDone(e,t){t.loaded?this.send("loadScript:done",e,t):this.send("loadScript:failed",e,t)}analyzeDone(e,t){t.error?this.send("analyze:failed",e,t):this.send("analyze:done",e,t)}analyzeRelatedKeywordsDone(e,t){t.error?this.send("analyzeRelatedKeywords:failed",e,t):this.send("analyzeRelatedKeywords:done",e,t)}customMessage(e,{name:t,data:r}){try{return{success:!0,data:this._registeredMessageHandlers[t](r)}}catch(e){return{error:e}}}customMessageDone(e,t){t.success?this.send("customMessage:done",e,t.data):this.send("customMessage:failed",t.error)}registerResearch(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom research. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register the custom research. Expected parameter `research` to be a function.");const r=this._researcher;r.hasResearch(e)||r.addResearch(e,t)}runResearch(e,{name:t,paper:r=null}){const n=this._researcher.getData("morphology"),s=this._researcher;if(null!==r&&(s.setPaper(r),s.addResearchData("morphology",n),null===r.getTree())){const e=new g.default(s),t=r._attributes&&r._attributes.shortcodes;r.setTree((0,f.build)(r,e,t))}return s.getResearch(t)}runResearchDone(e,t){t.error?this.send("runResearch:failed",e,t):this.send("runResearch:done",e,t)}registerHelper(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom helper. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register the custom helper. Expected parameter `helper` to be a function.");const r=this._researcher;r.hasHelper(e)||r.addHelper(e,t)}registerResearcherConfig(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom researcher config. Expected parameter `name` to be a string.");if((0,i.isUndefined)(t)||(0,i.isEmpty)(t))throw new T.default("Failed to register the custom researcher config. Expected parameter `researcherConfig` to be defined.");const r=this._researcher;r.hasConfig(e)||r.addConfig(e,t)}}t.default=w},49326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(31769)),s=i(r(46746));function i(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this._worker=e,this._requests={},this._autoIncrementedRequestId=-1,this.initialize=this.initialize.bind(this),this.analyze=this.analyze.bind(this),this.analyzeRelatedKeywords=this.analyzeRelatedKeywords.bind(this),this.loadScript=this.loadScript.bind(this),this.sendMessage=this.sendMessage.bind(this),this.runResearch=this.runResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.handleMessageError=this.handleMessageError.bind(this),this.handleError=this.handleError.bind(this),this._worker.onmessage=this.handleMessage,this._worker.onmessageerror=this.handleMessageError,this._worker.onerror=this.handleError}handleMessage({data:{type:e,id:t,payload:r}}){const n=this._requests[t];if(n){switch(r=s.default.parse(r),e){case"initialize:done":case"loadScript:done":case"customMessage:done":case"runResearch:done":case"analyzeRelatedKeywords:done":case"analyze:done":n.resolve(r);break;case"analyze:failed":case"loadScript:failed":case"customMessage:failed":case"runResearch:failed":case"analyzeRelatedKeywords:failed":n.reject(r);break;default:console.warn("AnalysisWebWorker unrecognized action:",e)}delete this._requests[t]}else console.warn("AnalysisWebWorker unmatched response:",r)}handleMessageError(e){console.warn("AnalysisWebWorker message error:",e)}handleError(e){const t=Object.keys(this._requests),r=t[t.length-1],n=this._requests[r];n?n.reject(e):console.error("AnalysisWebWorker error:",e)}createRequestId(){return this._autoIncrementedRequestId++,this._autoIncrementedRequestId}createRequestPromise(e,t={}){return new Promise(((r,s)=>{this._requests[e]=new n.default(r,s,t)}))}sendRequest(e,t,r={}){const n=this.createRequestId(),s=this.createRequestPromise(n,r);return this.send(e,n,t),s}send(e,t,r={}){r=s.default.serialize(r),this._worker.postMessage({type:e,id:t,payload:r})}initialize(e){return this.sendRequest("initialize",e)}analyzeRelatedKeywords(e,t={}){return this.sendRequest("analyzeRelatedKeywords",{paper:e,relatedKeywords:t})}analyze(e){return this.sendRequest("analyze",{paper:e})}loadScript(e){return this.sendRequest("loadScript",{url:e})}sendMessage(e,t,r){return e=r+"-"+e,this.sendRequest("customMessage",{name:e,data:t},t)}runResearch(e,t=null){return this.sendRequest("runResearch",{name:e,paper:t})}}},7718:(e,t)=>{"use strict";function r(e){return`\n\t\ttry {\n\t\t\t${e}\n\t\t} catch ( error ) {\n\t\t\tconsole.log( "Error occurred during worker initialization:" );\n\t\t\tconsole.log( error );\n\t\t}\n\t`}function n(e){return`\n\t\tself.yoastOriginalUrl = '${e}';\n\t\timportScripts('${e}');\n\t`}function s(e,t){const r=new URL(e,window.location.origin),n=new URL(t,window.location.origin);return r.hostname===n.hostname&&r.port===n.port&&r.protocol===n.protocol}function i(e){const t=window.URL||window.webkitURL,s=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,i=r(n(e));let a;try{a=new Blob([i],{type:"application/javascript"})}catch(e){const t=new s;t.append(i),a=t.getBlob("application/javascript")}return t.createObjectURL(a)}function a(e){const t=i(e);return new Worker(t)}function o(e){if(!s(window.location,e)||window.wpseoAdminL10n&&"1"===window.wpseoAdminL10n.isWebStoriesIntegrationActive)return a(e);let t=null;try{t=new Worker(e)}catch(r){t=a(e)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobScript=n,t.createBlobURL=i,t.createExceptionHandler=r,t.createWorker=o,t.createWorkerFallback=a,t.default=void 0,t.isSameOrigin=s,t.default=o},77687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnalysisWebWorker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createWorker",{enumerable:!0,get:function(){return i.default}});var n=a(r(86912)),s=a(r(49326)),i=a(r(7718));function a(e){return e&&e.__esModule?e:{default:e}}},90256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(19832))&&n.__esModule?n:{default:n};t.default=class{constructor(e,t,r={}){this._resolve=e,this._reject=t,this._data=r}resolve(e={}){const t=new s.default(e,this._data);this._resolve(t)}reject(e={}){const t=new s.default(e,this._data);this._reject(t)}}},19832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t={}){this.result=e,this.data=t}}},31769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(90256))&&n.__esModule?n:{default:n};t.default=s.default},30271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(11506))&&n.__esModule?n:{default:n};const a={pollTime:50};t.default=class{constructor(e={}){this._configuration=(0,s.merge)(a,e),this._tasks={standard:[],extensions:[],analyze:[],analyzeRelatedKeywords:[]},this._pollHandle=null,this._started=!1,this.startPolling=this.startPolling.bind(this),this.stopPolling=this.stopPolling.bind(this),this.tick=this.tick.bind(this)}startPolling(){this._started||(this._started=!0,this.tick())}tick(){this.executeNextTask().then((()=>{this._pollHandle=setTimeout(this.tick,this._configuration.pollTime)}))}stopPolling(){clearTimeout(this._pollHandle),this._pollHandle=null,this._started=!1}schedule({id:e,execute:t,done:r,data:n,type:s}){const a=new i.default(e,t,r,n,s);switch(s){case"customMessage":case"loadScript":this._tasks.extensions.push(a);break;case"analyze":this._tasks.analyze=[a];break;case"analyzeRelatedKeywords":this._tasks.analyzeRelatedKeywords=[a];break;default:this._tasks.standard.push(a)}}getNextTask(){return this._tasks.extensions.length>0?this._tasks.extensions.shift():this._tasks.analyze.length>0?this._tasks.analyze.shift():this._tasks.analyzeRelatedKeywords.length>0?this._tasks.analyzeRelatedKeywords.shift():this._tasks.standard.length>0?this._tasks.standard.shift():null}executeNextTask(){const e=this.getNextTask();return null===e?Promise.resolve(null):Promise.resolve().then((()=>e.execute(e.id,e.data))).then((t=>(e.done(e.id,t),t)))}}},11506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);t.default=class{constructor(e,t,r,s={},i="analyze"){if(!(0,n.isNumber)(e))throw new Error("Task.id should be a number.");if(!(0,n.isFunction)(t))throw new Error("Task.execute should be a function.");if(!(0,n.isFunction)(r))throw new Error("Task.done should be a function.");if(!(0,n.isObject)(s))throw new Error("Task.data should be an object.");this.id=e,this.execute=t,this.done=r,this.data=s,this.type=i}}},96224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(30271))&&n.__esModule?n:{default:n};t.default=s.default},46746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(6658)),s=i(r(61854));function i(e){return e&&e.__esModule?e:{default:e}}t.default={parse:n.default,serialize:s.default}},6658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,n.isArray)(t))return t.map(e);const r=(0,n.isObject)(t);return r&&t._parseClass&&d[t._parseClass]?"Sentence"===t._parseClass||"Clause"===t._parseClass?d[t._parseClass].prototype.parse(t):d[t._parseClass].parse(t):r?(0,n.mapValues)(t,(t=>e(t))):t};var n=r(92819),s=c(r(73054)),i=c(r(41054)),a=c(r(82304)),o=c(r(18812)),l=c(r(83937)),u=c(r(4446));function c(e){return e&&e.__esModule?e:{default:e}}const d={AssessmentResult:s.default,Mark:i.default,Paper:a.default,Sentence:o.default,Clause:l.default,ProminentWord:u.default}},61854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,n.isArray)(t))return t.map(e);const r=(0,n.isObject)(t);return r&&t.serialize?t.serialize():r?(0,n.mapValues)(t,(t=>e(t))):t};var n=r(92819)},72557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=""){return async(...n)=>{try{return await t(...n)}catch(t){return{error:i(e,t,n[1],r)}}}};var n,s=(n=r(54057))&&n.__esModule?n:{default:n};const i=function(e,t,r,n=""){r&&(n=(0,s.default)(n,r));let i=n?[n]:[];return t.name&&t.message&&(t.stack&&e.debug(t.stack),i.push(`${t.name}: ${t.message}`)),i=i.join("\n\t"),e.error(i),i}},79742:(e,t)=>{"use strict";t.byteLength=function(e){var t=o(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=o(e),a=i[0],l=i[1],u=new s(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),c=0,d=l>0?a-4:a;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,s=n%3,i=[],a=16383,o=0,u=n-s;ou?u:o+a));return 1===s?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===s&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],n=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var s,i,a=[],o=t;o>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";var n=r(79742),s=r(80645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),n=o(r),s=n.write(e,t);return s!==r&&(n=n.slice(0,s)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var s=function(e){if(l.isBuffer(e)){var t=0|f(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||j(e.length)?o(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),o(e<0?0:0|f(e))}function h(e){for(var t=e.length<0?0:0|f(e.length),r=o(t),n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(s)return n?-1:U(e).length;t=(""+t).toLowerCase(),s=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return w(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return N(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),j(r=+r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):E(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function E(e,t,r,n,s){var i,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(s){var c=-1;for(i=r;io&&(r=o-l),i=r;i>=0;i--){for(var d=!0,h=0;hs&&(n=s):n=s;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a>8,s=r%256,i.push(s),i.push(n);return i}(t,e.length-r),e,r,n)}function I(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],s=t;s239?4:u>223?3:u>191?2:1;if(s+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[s+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[s+1],a=e[s+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[s+1],a=e[s+2],o=e[s+3],128==(192&i)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),s+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn.length?l.from(i).copy(n,s):Uint8Array.prototype.set.call(n,i,s);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,s)}s+=i.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tr&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,s){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(s>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(i,a),u=this.slice(n,s),c=e.slice(t,r),d=0;d>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var s=this.length-t;if((void 0===r||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return A(this,e,t,r);case"ascii":case"latin1":case"binary":return v(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function N(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;sn)&&(r=n);for(var s="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,r,n,s,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||te.length)throw new RangeError("Index out of range")}function L(e,t,r,n,s,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return t=+t,r>>>=0,i||L(e,0,r,4),s.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,i){return t=+t,r>>>=0,i||L(e,0,r,8),s.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],s=1,i=0;++i>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],s=1,i=0;++i=(s*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=t,s=1,i=this[e+--n];n>0&&(s*=256);)i+=this[e+--n]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),s.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),s.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),s.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),s.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||k(this,e,t,r,Math.pow(2,8*r)-1,0);var s=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,n||k(this,e,t,r,Math.pow(2,8*r)-1,0);var s=r-1,i=1;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=e/i&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var s=Math.pow(2,8*r-1);k(this,e,t,r,s-1,-s)}var i=0,a=1,o=0;for(this[t]=255&e;++i>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var s=Math.pow(2,8*r-1);k(this,e,t,r,s-1,-s)}var i=r-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function B(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,r,n){for(var s=0;s=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function j(e){return e!=e}var $=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,s=0;s<16;++s)t[n+s]=e[r]+e[s];return t}()},21924:(e,t,r)=>{"use strict";var n=r(10492),s=r(55559),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},55559:(e,t,r)=>{"use strict";var n=r(58612),s=r(10492),i=s("%Function.prototype.apply%"),a=s("%Function.prototype.call%"),o=s("%Reflect.apply%",!0)||n.call(a,i),l=s("%Object.getOwnPropertyDescriptor%",!0),u=s("%Object.defineProperty%",!0),c=s("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=o(n,a,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var d=function(){return o(n,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},10492:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(38626)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},38626:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(19305);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},19305:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},12296:(e,t,r)=>{"use strict";var n=r(31044)(),s=r(40210),i=n&&s("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var a=s("%SyntaxError%"),o=s("%TypeError%"),l=r(27296);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!l&&l(e,t);if(i)i(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===n&&d?d.enumerable:!n,value:r,writable:null===s&&d?d.writable:!s});else{if(!c&&(n||s||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},17187:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function s(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,s)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var s,i,a,u;if(o(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(s=l(e))>0&&a.length>s&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},s=c.bind(n);return s.listener=r,n.wrapFn=s,s}function h(e,t,r){var n=e._events;if(void 0===n)return[];var s=n[t];return void 0===s?[]:"function"==typeof s?r?[s.listener||s]:[s]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var u=l.length,c=f(l,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,s=i;break}if(s<0)return this;0===s?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},94029:(e,t,r)=>{"use strict";var n=r(95320),s=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===s.call(e)?function(e,t,r){for(var n=0,s=e.length;n{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var s,i=t.call(arguments,1),a=Math.max(0,n.length-i.length),o=[],l=0;l{"use strict";var n=r(17648);e.exports=Function.prototype.bind||n},40210:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(41405)(),h=r(28185)(),p=Object.getPrototypeOf||(h?function(e){return e.__proto__}:null),f={},g="undefined"!=typeof Uint8Array&&p?p(Uint8Array):n,m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&p?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&p?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&p?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&p?p(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(p)try{null.error}catch(e){var _=p(p(e));m["%Error.prototype%"]=_}var y=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&p&&(r=p(s.prototype))}return m[t]=r,r},E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=r(22544),A=r(48824),v=T.call(Function.call,Array.prototype.concat),b=T.call(Function.apply,Array.prototype.splice),S=T.call(Function.call,String.prototype.replace),I=T.call(Function.call,String.prototype.slice),O=T.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,D=function(e,t){var r,n=e;if(A(E,n)&&(n="%"+(r=E[n])[0]+"%"),A(m,n)){var i=m[n];if(i===f&&(i=y(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===O(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=I(e,0,1),r=I(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return S(e,C,(function(e,t,r,s){n[n.length]=r?S(s,N,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=D("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],b(r,v([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=A(u,f),u=u[f];p&&!c&&(m[o]=u)}}return u}},73146:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(73146);e.exports=Function.prototype.bind||n},27296:(e,t,r)=>{"use strict";var n=r(10505)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},10505:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(41405)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=y.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,C=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,I,(function(e,t,r,s){n[n.length]=r?v(s,O,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=C("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},31044:(e,t,r)=>{"use strict";var n=r(56181)("%Object.defineProperty%",!0),s=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){return!1}return!1};s.hasArrayLengthDefineBug=function(){if(!s())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=s},56181:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(88194)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},88194:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(87797);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},87797:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},28185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},41405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(55419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},55419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},99608:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},96410:(e,t,r)=>{"use strict";var n=r(99608);e.exports=function(){return n()&&!!Symbol.toStringTag}},17642:(e,t,r)=>{"use strict";var n=r(58612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},48824:(e,t,r)=>{"use strict";var n=Function.prototype.call,s=Object.prototype.hasOwnProperty,i=r(24753);e.exports=i.call(n,s)},61454:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(61454);e.exports=Function.prototype.bind||n},95449:(e,t,r)=>{function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var s=r(23719).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e{var n=r(29730),s=r(29443);function i(e,t){this.init(e,t)}function a(e,t){return s.getElementsByTagName(e,t,!0)}function o(e,t){return s.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return s.getText(s.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,s){var i=l(r,n,s);i&&(e[t]=i)}r(35717)(i,n),i.prototype.init=n;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},s=o(c,this.dom);s&&("feed"===s.name?(t=s.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=o("channel",s.children).children,r.type=s.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=a("item",s.children).map((function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,s?null:Error("couldn't find root of feed"))},e.exports=i},50763:(e,t,r)=>{var n=r(39889),s={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:s,input:s,output:s,button:s,datalist:s,textarea:s,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(35717)(c,r(17187).EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in o?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in o||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},76321:(e,t,r)=>{function n(e){this._cbs=e||{}}e.exports=n;var s=r(23719).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},89924:(e,t,r)=>{e.exports=s;var n=r(83621);function s(e){n.call(this,new i(this),e)}function i(e){this.scope=e}r(35717)(s,n),s.prototype.readable=!0;var a=r(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},39889:(e,t,r)=>{e.exports=me;var n=r(58894),s=r(23042),i=r(60317),a=r(51373),o=0,l=o++,u=o++,c=o++,d=o++,h=o++,p=o++,f=o++,g=o++,m=o++,_=o++,y=o++,E=o++,T=o++,A=o++,v=o++,b=o++,S=o++,I=o++,O=o++,C=o++,N=o++,D=o++,w=o++,P=o++,R=o++,k=o++,L=o++,M=o++,x=o++,F=o++,U=o++,B=o++,G=o++,H=o++,j=o++,$=o++,W=o++,q=o++,V=o++,Y=o++,z=o++,K=o++,Q=o++,X=o++,J=o++,Z=o++,ee=o++,te=o++,re=o++,ne=o++,se=o++,ie=o++,ae=o++,oe=o++,le=o++,ue=0,ce=ue++,de=ue++,he=ue++;function pe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function fe(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(s){s===n||s===e?this._state=t:(this._state=r,this._index--)}}function ge(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=c,this._index--)}}function me(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||pe(e)?this._state=l:"!"===e?(this._state=v,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:U,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=B:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=d:pe(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pe(e)||(this._state=g,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):pe(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=E,this._sectionStart=this._index+1):"'"===e?(this._state=T,this._sectionStart=this._index+1):pe(e)||(this._state=A,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){pe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?D:"-"===e?I:b},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=O,this._sectionStart=this._index+1):this._state=b},me.prototype._stateInComment=function(e){"-"===e&&(this._state=C)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?N:O},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=O)},me.prototype._stateBeforeCdata1=fe("C",w,b),me.prototype._stateBeforeCdata2=fe("D",P,b),me.prototype._stateBeforeCdata3=fe("A",R,b),me.prototype._stateBeforeCdata4=fe("T",k,b),me.prototype._stateBeforeCdata5=fe("A",L,b),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=M,this._sectionStart=this._index+1):(this._state=b,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=x)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:M},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=M)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=G:"t"===e||"T"===e?this._state=Q:(this._state=c,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==de||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=q},me.prototype._stateBeforeScript1=ge("R",H),me.prototype._stateBeforeScript2=ge("I",j),me.prototype._stateBeforeScript3=ge("P",$),me.prototype._stateBeforeScript4=ge("T",W),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=c,this._index--},me.prototype._stateAfterScript1=fe("R",V,l),me.prototype._stateAfterScript2=fe("I",Y,l),me.prototype._stateAfterScript3=fe("P",z,l),me.prototype._stateAfterScript4=fe("T",K,l),me.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},me.prototype._stateBeforeStyle1=ge("Y",X),me.prototype._stateBeforeStyle2=ge("L",J),me.prototype._stateBeforeStyle3=ge("E",Z),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=he),this._state=c,this._index--},me.prototype._stateAfterStyle1=fe("Y",te,l),me.prototype._stateAfterStyle2=fe("L",re,l),me.prototype._stateAfterStyle3=fe("E",ne,l),me.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},me.prototype._stateBeforeEntity=fe("#",ie,ae),me.prototype._stateBeforeNumericEntity=fe("X",le,oe),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var s=this._buffer.substring(r,this._index),i=parseInt(s,t);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index{e.exports=o;var n=r(50763),s=r(50247).Writable,i=r(48645).s,a=r(48764).Buffer;function o(e,t){var r=this._parser=new n(e,t),a=this._decoder=new i;s.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(35717)(o,s),o.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},23719:(e,t,r)=>{var n=r(50763),s=r(29730);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(39889),ElementType:r(62391),DomHandler:s,get FeedHandler(){return i("FeedHandler",r(63870))},get Stream(){return i("Stream",r(89924))},get WritableStream(){return i("WritableStream",r(83621))},get ProxyHandler(){return i("ProxyHandler",r(76321))},get DomUtils(){return i("DomUtils",r(29443))},get CollectingHandler(){return i("CollectingHandler",r(95449))},DefaultHandler:s,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new s(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var s=new e.exports.FeedHandler(r);return new n(s,r).end(t),s.dom},createDomStream:function(e,t,r){var i=new s(e,t,r);return new n(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},88066:(e,t,r)=>{var n=r(82570),s=r(81137),i=r(79004);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",s=0;s=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?s.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),o[e.name]&&!t.xmlMode||(r+="")):r+="/>",r}function d(e){return"<"+e.data+">"}function h(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=s.encodeXML(r)),r}function p(e){return""}function f(e){return"\x3c!--"+e.data+"--\x3e"}},82570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=void 0,t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},80162:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var s=n(r(53082)),i=n(r(23195)),a=n(r(61210)),o=n(r(64914)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(s.default);var c=function(e,t){return e65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in s.default&&(e=s.default[e]),i(e))}},60670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var s=c(n(r(61210)).default),i=d(s);t.encodeXML=m(s);var a,o,l=c(n(r(53082)).default),u=d(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function d(e){for(var t=[],r=[],n=0,s=Object.keys(e);n1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(i.source+"|"+h.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(g,f)},t.escapeUTF8=function(e){return e.replace(i,f)}},81137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(80162),s=r(60670);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?s.encodeXML:s.encodeHTML)(e)};var i=r(60670);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(80162);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},62391:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},29730:(e,t,r)=>{var n=r(62391),s=/\s+/g,i=r(16805),a=r(7359);function o(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};o.prototype.onparserinit=function(e){this._parser=e},o.prototype.onreset=function(){o.call(this,this._callback,this._options,this._elementCB)},o.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},o.prototype._handleCallback=o.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},o.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},o.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},o.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},o.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)},o.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else{r&&(e=e.replace(s," "));var i=this._createDomElement({data:e,type:n.Text});this._addDomElement(i)}},o.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)}},o.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},o.prototype.oncommentend=o.prototype.oncdataend=function(){this._tagStack.pop()},o.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=o},7359:(e,t,r)=>{var n=r(16805),s=e.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(s,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:e=>{var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var n=r[e];Object.defineProperty(t,e,{get:function(){return this[n]||null},set:function(e){return this[n]=e,e}})}))},29443:(e,t,r)=>{var n=e.exports;[r(72178),r(61699),r(26167),r(46754),r(55355),r(99256)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},99256:(e,t)=>{t.removeSubsets=function(e){for(var t,r,n,s=e.length;--s>-1;){for(t=r=e[s],e[s]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(s,1);break}r=r.parent}n&&(e[s]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,s,i,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(s=(n=l[o-1]).children,i=l[o],a=u[o],s.indexOf(i)>s.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,s=e.length;for(e=e.slice();--s>-1;)t=e[s],(n=e.indexOf(t))>-1&&n{var n=r(62391),s=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!s(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(s(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return s(t)&&e(t.name)}:"*"===e?s:function(t){return s(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!s(t)&&e(t.data)}:function(t){return!s(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var s=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===s.length?[]:this.filter(s.reduce(o),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(i.tag_type(e),t,r,n)}},26167:(e,t)=>{t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var s=t.parent=e.parent;if(s){var i=s.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var s=r.children;s.splice(s.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},46754:(e,t,r)=>{var n=r(62391).isTag;function s(e,t,r,n){for(var i,a=[],o=0,l=t.length;o0&&(i=s(e,i,r,n),a=a.concat(i),(n-=i.length)<=0)));o++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),s(e,t,!1!==r,n)},find:s,findOneChild:function(e,t){for(var r=0,n=t.length;r0&&(s=e(t,r[i].children)));return s},existsOne:function e(t,r){for(var s=0,i=r.length;s0&&e(t,r[s].children)))return!0;return!1},findAll:function(e,t){for(var r=[],s=t.slice();s.length;){var i=s.shift();n(i)&&(i.children&&i.children.length>0&&s.unshift.apply(s,i.children),e(i)&&r.push(i))}return r}}},72178:(e,t,r)=>{var n=r(62391),s=r(88066),i=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return s(e,t)})).join(""):""},getOuterHTML:s,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},61699:(e,t)=>{var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},58894:(e,t,r)=>{var n=r(42968);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},48645:(e,t,r)=>{"use strict";var n=r(89509).Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(s>0&&(e.lastNeed=s-1),s):--n=0?(s>0&&(e.lastNeed=s-2),s):--n=0?(s>0&&(2===s?s=0:e.lastNeed=s-3),s):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},80645:(e,t)=>{t.read=function(e,t,r,n,s){var i,a,o=8*s-n-1,l=(1<>1,c=-7,d=r?s-1:0,h=r?-1:1,p=e[t+d];for(d+=h,i=p&(1<<-c)-1,p>>=-c,c+=o;c>0;i=256*i+e[t+d],d+=h,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=u}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,s,i){var a,o,l,u=8*i-s-1,c=(1<>1,h=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,f=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(o=0,a=c):a+d>=1?(o=(t*l-1)*Math.pow(2,s),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,s),a=0));s>=8;e[r+p]=255&o,p+=f,o/=256,s-=8);for(a=a<0;e[r+p]=255&a,p+=f,a/=256,u-=8);e[r+p-f]|=128*g}},35717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},82584:(e,t,r)=>{"use strict";var n=r(96410)(),s=r(21924)("Object.prototype.toString"),i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===s(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==s(e)&&"[object Function]"===s(e.callee)},o=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=o?i:a},95320:e=>{"use strict";var t,r,n=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},s((function(){throw 42}),null,t)}catch(e){e!==r&&(s=null)}else s=null;var i=/^\s*class\b/,a=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},o=Object.prototype.toString,l="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,u="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};e.exports=s?function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{s(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)}:function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(l)return function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=o.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},48662:(e,t,r)=>{"use strict";var n,s=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,o=r(96410)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(i.call(e)))return!0;if(!o)return"[object GeneratorFunction]"===s.call(e);if(!l)return!1;if(void 0===n){var t=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&l(t)}return l(e)===n}},85692:(e,t,r)=>{"use strict";var n=r(65025);e.exports=function(e){return!!n(e)}},4318:(e,t,r)=>{"use strict";var n=r(40210),s=r(78073),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},78073:(e,t,r)=>{"use strict";var n=r(86718),s=r(40210),i=r(67771),a=s("%TypeError%"),o=s("%Function.prototype.apply%"),l=s("%Function.prototype.call%"),u=s("%Reflect.apply%",!0)||n.call(l,o),c=s("%Object.defineProperty%",!0),d=s("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,o,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},5761:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(5761);e.exports=Function.prototype.bind||n},28202:(e,t,r)=>{"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},65025:(e,t,r)=>{"use strict";var n=r(94029),s=r(63083),i=r(78073),a=r(4318),o=r(27296),l=a("Object.prototype.toString"),u=r(28202)(),c="undefined"==typeof globalThis?r.g:globalThis,d=s(),h=a("String.prototype.slice"),p=Object.getPrototypeOf,f=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r-1?t:"Object"===t&&function(e){var t=!1;return n(g,(function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}})),t}(e)}return o?function(e){var t=!1;return n(g,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}})),t}(e):null}},2043:function(e,t,r){var n,s;!function(i,a){"use strict";n=function(){var e=function(){},t="undefined",r=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function s(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(t){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(t,r){for(var s=0;s=0&&r<=o.levels.SILENT))throw"log.setLevel() called with invalid level: "+r;if(i=r,!1!==s&&function(e){var r=(n[e]||"silent").toUpperCase();if(typeof window!==t&&u){try{return void(window.localStorage[u]=r)}catch(e){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(e){}}}(r),a.call(o,r,e),typeof console===t&&r{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},89509:(e,t,r)=>{var n=r(48764),s=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(s.prototype),i(s,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},67771:(e,t,r)=>{"use strict";var n=r(40210),s=r(12296),i=r(31044)(),a=r(27296),o=n("%TypeError%"),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new o("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new o("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(i?s(e,"length",t,!0,!0):s(e,"length",t)),e}},37478:(e,t,r)=>{"use strict";var n=r(45388),s=r(21924),i=r(27470),a=n("%TypeError%"),o=n("%WeakMap%",!0),l=n("%Map%",!0),u=s("WeakMap.prototype.get",!0),c=s("WeakMap.prototype.set",!0),d=s("WeakMap.prototype.has",!0),h=s("Map.prototype.get",!0),p=s("Map.prototype.set",!0),f=s("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(o&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return h(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(o&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(l){if(t)return f(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,s){o&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new o),c(e,n,s)):l?(t||(t=new l),p(t,n,s)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,s))}};return n}},45388:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(19193)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},19193:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(6105);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},6105:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},27470:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,s=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&s&&"function"==typeof s.get?s.get:null,a=n&&Map.prototype.forEach,o="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=o&&l&&"function"==typeof l.get?l.get:null,c=o&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p=Boolean.prototype.valueOf,f=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,y=Object.getOwnPropertySymbols,E="function"==typeof Symbol?Symbol.prototype.toString:null,T=Object.prototype.propertyIsEnumerable,A=r(47165).custom,v=A&&O(A)?A:null;function b(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function S(e){return String(e).replace(/"/g,""")}function I(e){return"[object Array]"===D(e)}function O(e){return"[object Symbol]"===D(e)}e.exports=function e(t,r,n,s){var o=r||{};if(N(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!N(o,"customInspect")||o.customInspect;if("boolean"!=typeof l)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(N(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return P(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var f=void 0===o.depth?5:o.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"==typeof t)return I(t)?"[Array]":"[Object]";var y,T=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(o,n);if(void 0===s)s=[];else if(w(s,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(s=s.slice()).push(r),i){var a={depth:o.depth};return N(o,"quoteStyle")&&(a.quoteStyle=o.quoteStyle),e(t,a,n+1,s)}return e(t,o,n+1,s)}if("function"==typeof t){var C=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),R=F(t,A);return"[Function"+(C?": "+C:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(O(t)){var U=E.call(t);return"object"==typeof t?k(U):U}if((y=t)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var B="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H"}if(I(t)){if(0===t.length)return"[]";var j=F(t,A);return T&&!function(e){for(var t=0;t=0)return!1;return!0}(j)?"["+x(j,T)+"]":"[ "+j.join(", ")+" ]"}if(function(e){return"[object Error]"===D(e)}(t)){var $=F(t,A);return 0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$.join(", ")+" }"}if("object"==typeof t&&l){if(v&&"function"==typeof t[v])return t[v]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var W=[];return a.call(t,(function(e,r){W.push(A(r,t,!0)+" => "+A(e,t))})),M("Map",i.call(t),W,T)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var q=[];return c.call(t,(function(e){q.push(A(e,t))})),M("Set",u.call(t),q,T)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){return"[object Number]"===D(e)}(t))return k(A(Number(t)));if(function(e){return"[object BigInt]"===D(e)}(t))return k(A(_.call(t)));if(function(e){return"[object Boolean]"===D(e)}(t))return k(p.call(t));if(function(e){return"[object String]"===D(e)}(t))return k(A(String(t)));if(!function(e){return"[object Date]"===D(e)}(t)&&!function(e){return"[object RegExp]"===D(e)}(t)){var V=F(t,A);return 0===V.length?"{}":T?"{"+x(V,T)+"}":"{ "+V.join(", ")+" }"}return String(t)};var C=Object.prototype.hasOwnProperty||function(e){return e in this};function N(e,t){return C.call(e,t)}function D(e){return f.call(e)}function w(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return P(e.slice(0,t.maxStringLength),t)+n}return b(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,R),"single",t)}function R(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function k(e){return"Object("+e+")"}function L(e){return e+" { ? }"}function M(e,t,r,n){return e+" ("+t+") {"+(n?x(r,n):r.join(", "))+"}"}function x(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function F(e,t){var r=I(e),n=[];if(r){n.length=e.length;for(var s=0;s{var t=function(e,t){var r;for(r=0;r1?1:a)+n[n.length-1].length};return{addRule:function(e,t){s.push({regex:e,type:t})},onText:function(e){for(var t=n+e,i=r(s,t);i&&i.max_index!==t.length;)o(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=r(s,t);n=t},end:function(){if(0!==n.length){var e=t(s,n);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:n,line:i,col:a},r}o(n,e.type)}}}}},52511:function(e,t,r){var n;e=r.nmd(e),function(s){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,o=2147483647,l=36,u=26,c=38,d=700,h=/^xn--/,p=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=l-1,_=Math.floor,y=String.fromCharCode;function E(e){throw new RangeError(g[e])}function T(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function A(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+T((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],s=0,i=e.length;s=55296&&t<=56319&&s65535&&(t+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+y(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>m*u>>1;n+=l)e=_(e/m);return _(n+(m+1)*e/(e+c))}function O(e){var t,r,n,s,i,a,c,d,h,p,f,g=[],m=e.length,y=0,T=128,A=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&E("not-basic"),g.push(e.charCodeAt(n));for(s=r>0?r+1:0;s=m&&E("invalid-input"),((d=(f=e.charCodeAt(s++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l)>=l||d>_((o-y)/a))&&E("overflow"),y+=d*a,!(d<(h=c<=A?1:c>=A+u?u:c-A));c+=l)a>_(o/(p=l-h))&&E("overflow"),a*=p;A=I(y-i,t=g.length+1,0==i),_(y/t)>o-T&&E("overflow"),T+=_(y/t),y%=t,g.splice(y++,0,T)}return b(g)}function C(e){var t,r,n,s,i,a,c,d,h,p,f,g,m,T,A,b=[];for(g=(e=v(e)).length,t=128,r=0,i=72,a=0;a=t&&f_((o-r)/(m=n+1))&&E("overflow"),r+=(c-t)*m,t=c,a=0;ao&&E("overflow"),f==t){for(d=r,h=l;!(d<(p=h<=i?1:h>=i+u?u:h-i));h+=l)A=d-p,T=l-p,b.push(y(S(p+A%T,0))),d=_(A/T);b.push(y(S(d,0))),i=I(r,m,n==s),r=0,++n}++r,++t}return b.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:b},decode:O,encode:C,toASCII:function(e){return A(e,(function(e){return p.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return A(e,(function(e){return h.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},39532:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},35984:(e,t,r)=>{"use strict";var n=r(24730),s=r(7325),i=r(39532);e.exports={formats:i,parse:s,stringify:n}},7325:(e,t,r)=>{"use strict";var n=r(19368),s=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=o?i.slice(0,o.index):i,c=[];if(u){if(!r.plainObjects&&s.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(o=a.exec(i))&&d=0;--i){var a,o=e[i];if("[]"===o&&r.parseArrays)a=[].concat(s);else{a=r.plainObjects?Object.create(null):{};var u="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&o!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=s:"__proto__"!==u&&(a[u]=s):a={0:s}}s=a}return s}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,h=c.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(m=i(m)?[m]:m),s.call(u,g)?u[g]=n.combine(u[g],m):u[g]=m}return u}(e,r):e,d=r.plainObjects?Object.create(null):{},h=Object.keys(c),p=0;p{"use strict";var n=r(37478),s=r(19368),i=r(39532),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:s.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},g=function e(t,r,i,a,o,u,d,h,g,m,_,y,E,T,A,v){for(var b,S=t,I=v,O=0,C=!1;void 0!==(I=I.get(f))&&!C;){var N=I.get(t);if(O+=1,void 0!==N){if(N===O)throw new RangeError("Cyclic object value");C=!0}void 0===I.get(f)&&(O=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=_(S):"comma"===i&&l(S)&&(S=s.maybeMap(S,(function(e){return e instanceof Date?_(e):e}))),null===S){if(o)return d&&!T?d(r,p.encoder,A,"key",y):r;S=""}if("string"==typeof(b=S)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||s.isBuffer(S))return d?[E(T?r:d(r,p.encoder,A,"key",y))+"="+E(d(S,p.encoder,A,"value",y))]:[E(r)+"="+E(String(S))];var D,w=[];if(void 0===S)return w;if("comma"===i&&l(S))T&&d&&(S=s.maybeMap(S,d)),D=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(h))D=h;else{var P=Object.keys(S);D=g?P.sort(g):P}for(var R=a&&l(S)&&1===S.length?r+"[]":r,k=0;k0?A+T:""}},19368:(e,t,r)=>{"use strict";var n=r(39532),s=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),o=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],s=0;s=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?l+=o.charAt(u):c<128?l+=a[c]:c<2048?l+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?l+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(u)),l+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n{"use strict";var n=r(52511);function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r(35984);function y(e,t,r){if(e&&"object"==typeof e&&e instanceof s)return e;var n=new s;return n.parse(e,t,r),n}s.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),a=-1!==s&&s127?R+="x":R+=P[k];if(!R.match(h)){var M=D.slice(0,O),x=D.slice(O+1),F=P.match(p);F&&(M.push(F[1]),x.unshift(F[2])),x.length&&(y="/"+x.join(".")+y),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+U,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[A])for(O=0,w=u.length;O0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!v.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=v.slice(-1)[0],I=(r.host||e.host||v.length>1)&&("."===S||".."===S)||""===S,O=0,C=v.length;C>=0;C--)"."===(S=v[C])?v.splice(C,1):".."===S?(v.splice(C,1),O++):O&&(v.splice(C,1),O--);if(!T&&!A)for(;O--;O)v.unshift("..");!T||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),I&&"/"!==v.join("/").substr(-1)&&v.push("");var N,D=""===v[0]||v[0]&&"/"===v[0].charAt(0);return b&&(r.hostname=D?"":v.length?v.shift():"",r.host=r.hostname,(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),(T=T||r.host&&v.length)&&!D&&v.unshift(""),v.length>0?r.pathname=v.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},s.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s},88778:(e,t,r)=>{"use strict";var n=r(40210),s=r(86036),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},86036:(e,t,r)=>{"use strict";var n=r(92087),s=r(40210),i=r(67771),a=s("%TypeError%"),o=s("%Function.prototype.apply%"),l=s("%Function.prototype.call%"),u=s("%Reflect.apply%",!0)||n.call(l,o),c=s("%Object.defineProperty%",!0),d=s("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,o,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},56705:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(56705);e.exports=Function.prototype.bind||n},3391:(e,t,r)=>{"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},23395:(e,t,r)=>{"use strict";var n=r(94029),s=r(63083),i=r(86036),a=r(88778),o=r(27296),l=a("Object.prototype.toString"),u=r(3391)(),c="undefined"==typeof globalThis?r.g:globalThis,d=s(),h=a("String.prototype.slice"),p=Object.getPrototypeOf,f=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r-1?t:"Object"===t&&function(e){var t=!1;return n(g,(function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}})),t}(e)}return o?function(e){var t=!1;return n(g,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}})),t}(e):null}},20384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},55955:(e,t,r)=>{"use strict";var n=r(82584),s=r(48662),i=r(23395),a=r(85692);function o(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=o(Object.prototype.toString),d=o(Number.prototype.valueOf),h=o(String.prototype.valueOf),p=o(Boolean.prototype.valueOf);if(l)var f=o(BigInt.prototype.valueOf);if(u)var g=o(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function _(e){return"[object Map]"===c(e)}function y(e){return"[object Set]"===c(e)}function E(e){return"[object WeakMap]"===c(e)}function T(e){return"[object WeakSet]"===c(e)}function A(e){return"[object ArrayBuffer]"===c(e)}function v(e){return"undefined"!=typeof ArrayBuffer&&(A.working?A(e):e instanceof ArrayBuffer)}function b(e){return"[object DataView]"===c(e)}function S(e){return"undefined"!=typeof DataView&&(b.working?b(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=s,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},_.working="undefined"!=typeof Map&&_(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(_.working?_(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},E.working="undefined"!=typeof WeakMap&&E(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(E.working?E(e):e instanceof WeakMap)},T.working="undefined"!=typeof WeakSet&&T(new WeakSet),t.isWeakSet=function(e){return T(e)},A.working="undefined"!=typeof ArrayBuffer&&A(new ArrayBuffer),t.isArrayBuffer=v,b.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&b(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var I="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function C(e){return void 0!==I&&(void 0===O.working&&(O.working=O(new I)),O.working?O(e):e instanceof I)}function N(e){return m(e,d)}function D(e){return m(e,h)}function w(e){return m(e,p)}function P(e){return l&&m(e,f)}function R(e){return u&&m(e,g)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=N,t.isStringObject=D,t.isBooleanObject=w,t.isBigIntObject=P,t.isSymbolObject=R,t.isBoxedPrimitive=function(e){return N(e)||D(e)||w(e)||P(e)||R(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(v(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},89539:(e,t,r)=>{var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),l=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&b(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var s=r.inspect(n,e);return _(s)||(s=c(e,s,n)),s}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(_(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):f(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,r);if(i)return i;var a=Object.keys(r),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),v(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(r);if(0===a.length){if(b(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return e.stylize(Date.prototype.toString.call(r),"date");if(v(r))return d(r)}var u,T="",S=!1,I=["{","}"];return p(r)&&(S=!0,I=["[","]"]),b(r)&&(T=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(T=" "+RegExp.prototype.toString.call(r)),A(r)&&(T=" "+Date.prototype.toUTCString.call(r)),v(r)&&(T=" "+d(r)),0!==a.length||S&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=S?function(e,t,r,n,s){for(var i=[],a=0,o=t.length;a60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,T,I)):I[0]+T+I[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,s,i){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),C(n,s)||(a="["+s+"]"),o||(e.seen.indexOf(l.value)<0?(o=g(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(o=i?o.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n")):o=e.stylize("[Circular]","special")),y(a)){if(i&&s.match(/^\d+$/))return o;(a=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function p(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function _(e){return"string"==typeof e}function y(e){return void 0===e}function E(e){return T(e)&&"[object RegExp]"===S(e)}function T(e){return"object"==typeof e&&null!==e}function A(e){return T(e)&&"[object Date]"===S(e)}function v(e){return T(e)&&("[object Error]"===S(e)||e instanceof Error)}function b(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var r=process.pid;i[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else i[e]=function(){};return i[e]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(55955),t.isArray=p,t.isBoolean=f,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=_,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=E,t.types.isRegExp=E,t.isObject=T,t.isDate=A,t.types.isDate=A,t.isError=v,t.types.isNativeError=v,t.isFunction=b,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(20384);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[I((e=new Date).getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(35717),t._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),s=[],i=0;i=c.ZERO&&e<=c.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return f.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return f.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(c||(c={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(h||(h={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var m=function(){function e(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=h.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=h.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case h.EntityStart:return e.charCodeAt(t)===c.NUM?(this.state=h.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=h.NamedEntity,this.stateNamedEntity(e,t));case h.NumericStart:return this.stateNumericStart(e,t);case h.NumericDecimal:return this.stateNumericDecimal(e,t);case h.NumericHex:return this.stateNumericHex(e,t);case h.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===c.LOWER_X?(this.state=h.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=h.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,r,n){if(t!==r){var s=r-t;this.result=this.result*Math.pow(n,s)+parseInt(e.substr(t,s),n),this.consumed+=s}},e.prototype.stateNumericHex=function(e,t){for(var r,n=t;t=c.UPPER_A&&r<=c.UPPER_F||r>=c.LOWER_A&&r<=c.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(s,3);t+=1}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var r=t;t>14;t=c.UPPER_A&&e<=c.UPPER_Z||e>=c.LOWER_A&&e<=c.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(s=((n=r[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(i===c.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,r=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,r){var n=this.decodeTree;return this.emitCodePoint(1===t?n[e]&~d.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r},e.prototype.end=function(){var e;switch(this.state){case h.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case h.NumericDecimal:return this.emitNumericEntity(0,2);case h.NumericHex:return this.emitNumericEntity(0,3);case h.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case h.EntityStart:return 0}},e}();function _(e){var t="",r=new m(e,(function(e){return t+=(0,u.fromCodePoint)(e)}));return function(e,n){for(var s=0,i=0;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),r.startEntity(n);var a=r.write(e,i+1);if(a<0){s=i+r.end();break}s=i+a,i=0===a?s+1:s}var o=t+e.slice(s);return t="",o}}function y(e,t,r,n){var s=(t&d.BRANCH_LENGTH)>>7,i=t&d.JUMP_TABLE;if(0===s)return 0!==i&&n===i?r:-1;if(i){var a=n-i;return a<0||a>=s?-1:e[r+a]-1}for(var o=r,l=o+s-1;o<=l;){var u=o+l>>>1,c=e[u];if(cn))return e[u+s];l=u-1}}return-1}t.EntityDecoder=m,t.determineBranch=y;var E=_(o.default),T=_(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),E(e,t)},t.decodeHTMLAttribute=function(e){return E(e,p.Attribute)},t.decodeHTMLStrict=function(e){return E(e,p.Strict)},t.decodeXML=function(e){return T(e,p.Strict)}},10057:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function s(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(r=String.fromCodePoint)&&void 0!==r?r:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=s,t.default=function(e){return(0,t.fromCodePoint)(s(e))}},41594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,s="",i=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,o=e.charCodeAt(a),l=r.get(o);void 0!==l?(s+=e.substring(i,a)+l,i=a+1):(s+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&o)))}return s+e.substr(i)}function s(e,t){return function(r){for(var n,s=0,i="";n=e.exec(r);)s!==n.index&&(i+=r.substring(s,n.index)),i+=t.get(n[0].charCodeAt(0)),s=n.index+1;return i+r.substring(s)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=s(/[&<>'"]/g,r),t.escapeAttribute=s(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=s(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},38099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},93350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},92819:e=>{"use strict";e.exports=window.lodash},65736:e=>{"use strict";e.exports=window.wp.i18n},14715:e=>{"use strict";e.exports=window.yoast.featureFlag},50247:()=>{},47165:()=>{},63083:(e,t,r)=>{"use strict";var n=r(89908),s="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentMode=t.isConforming=void 0;const n=r(96854),s="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=[...i,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],o=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=[...l,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function c(e,t){return t.some((t=>e.startsWith(t)))}t.isConforming=function(e){return e.name===s&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==s)return n.DOCUMENT_MODE.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return n.DOCUMENT_MODE.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),o.has(r))return n.DOCUMENT_MODE.QUIRKS;let e=null===t?a:i;if(c(r,e))return n.DOCUMENT_MODE.QUIRKS;if(e=null===t?l:u,c(r,e))return n.DOCUMENT_MODE.LIMITED_QUIRKS}return n.DOCUMENT_MODE.NO_QUIRKS}},13246:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ERR=void 0,(r=t.ERR||(t.ERR={})).controlCharacterInInputStream="control-character-in-input-stream",r.noncharacterInInputStream="noncharacter-in-input-stream",r.surrogateInInputStream="surrogate-in-input-stream",r.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",r.endTagWithAttributes="end-tag-with-attributes",r.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",r.unexpectedSolidusInTag="unexpected-solidus-in-tag",r.unexpectedNullCharacter="unexpected-null-character",r.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",r.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",r.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",r.missingEndTagName="missing-end-tag-name",r.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",r.unknownNamedCharacterReference="unknown-named-character-reference",r.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",r.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",r.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",r.eofBeforeTagName="eof-before-tag-name",r.eofInTag="eof-in-tag",r.missingAttributeValue="missing-attribute-value",r.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",r.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",r.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",r.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",r.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",r.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",r.missingDoctypePublicIdentifier="missing-doctype-public-identifier",r.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",r.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",r.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",r.cdataInHtmlContent="cdata-in-html-content",r.incorrectlyOpenedComment="incorrectly-opened-comment",r.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",r.eofInDoctype="eof-in-doctype",r.nestedComment="nested-comment",r.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",r.eofInComment="eof-in-comment",r.incorrectlyClosedComment="incorrectly-closed-comment",r.eofInCdata="eof-in-cdata",r.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",r.nullCharacterReference="null-character-reference",r.surrogateCharacterReference="surrogate-character-reference",r.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",r.controlCharacterReference="control-character-reference",r.noncharacterCharacterReference="noncharacter-character-reference",r.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",r.missingDoctypeName="missing-doctype-name",r.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",r.duplicateAttribute="duplicate-attribute",r.nonConformingDoctype="non-conforming-doctype",r.missingDoctype="missing-doctype",r.misplacedDoctype="misplaced-doctype",r.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",r.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",r.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",r.openElementsLeftAfterEof="open-elements-left-after-eof",r.abandonedHeadElementChild="abandoned-head-element-child",r.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",r.nestedNoscriptInHead="nested-noscript-in-head",r.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"},34589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIntegrationPoint=t.adjustTokenSVGTagName=t.adjustTokenXMLAttrs=t.adjustTokenSVGAttrs=t.adjustTokenMathMLAttrs=t.causesExit=t.SVG_TAG_NAMES_ADJUSTMENT_MAP=void 0;const n=r(96854),s="text/html",i="application/xhtml+xml",a=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),o=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:n.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:n.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:n.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:n.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:n.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:n.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:n.NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:n.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:n.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:n.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:n.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:n.NS.XMLNS}]]);t.SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e])));const l=new Set([n.TAG_ID.B,n.TAG_ID.BIG,n.TAG_ID.BLOCKQUOTE,n.TAG_ID.BODY,n.TAG_ID.BR,n.TAG_ID.CENTER,n.TAG_ID.CODE,n.TAG_ID.DD,n.TAG_ID.DIV,n.TAG_ID.DL,n.TAG_ID.DT,n.TAG_ID.EM,n.TAG_ID.EMBED,n.TAG_ID.H1,n.TAG_ID.H2,n.TAG_ID.H3,n.TAG_ID.H4,n.TAG_ID.H5,n.TAG_ID.H6,n.TAG_ID.HEAD,n.TAG_ID.HR,n.TAG_ID.I,n.TAG_ID.IMG,n.TAG_ID.LI,n.TAG_ID.LISTING,n.TAG_ID.MENU,n.TAG_ID.META,n.TAG_ID.NOBR,n.TAG_ID.OL,n.TAG_ID.P,n.TAG_ID.PRE,n.TAG_ID.RUBY,n.TAG_ID.S,n.TAG_ID.SMALL,n.TAG_ID.SPAN,n.TAG_ID.STRONG,n.TAG_ID.STRIKE,n.TAG_ID.SUB,n.TAG_ID.SUP,n.TAG_ID.TABLE,n.TAG_ID.TT,n.TAG_ID.U,n.TAG_ID.UL,n.TAG_ID.VAR]);t.causesExit=function(e){const t=e.tagID;return t===n.TAG_ID.FONT&&e.attrs.some((({name:e})=>e===n.ATTRS.COLOR||e===n.ATTRS.SIZE||e===n.ATTRS.FACE))||l.has(t)},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t{"use strict";var r,n,s,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.hasUnescapedText=t.isNumberedHeader=t.SPECIAL_ELEMENTS=t.getTagID=t.TAG_ID=t.TAG_NAMES=t.DOCUMENT_MODE=t.ATTRS=t.NS=void 0,function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(r=t.NS||(t.NS={})),(a=t.ATTRS||(t.ATTRS={})).TYPE="type",a.ACTION="action",a.ENCODING="encoding",a.PROMPT="prompt",a.NAME="name",a.COLOR="color",a.FACE="face",a.SIZE="size",(i=t.DOCUMENT_MODE||(t.DOCUMENT_MODE={})).NO_QUIRKS="no-quirks",i.QUIRKS="quirks",i.LIMITED_QUIRKS="limited-quirks",function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(n=t.TAG_NAMES||(t.TAG_NAMES={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(s=t.TAG_ID||(t.TAG_ID={}));const o=new Map([[n.A,s.A],[n.ADDRESS,s.ADDRESS],[n.ANNOTATION_XML,s.ANNOTATION_XML],[n.APPLET,s.APPLET],[n.AREA,s.AREA],[n.ARTICLE,s.ARTICLE],[n.ASIDE,s.ASIDE],[n.B,s.B],[n.BASE,s.BASE],[n.BASEFONT,s.BASEFONT],[n.BGSOUND,s.BGSOUND],[n.BIG,s.BIG],[n.BLOCKQUOTE,s.BLOCKQUOTE],[n.BODY,s.BODY],[n.BR,s.BR],[n.BUTTON,s.BUTTON],[n.CAPTION,s.CAPTION],[n.CENTER,s.CENTER],[n.CODE,s.CODE],[n.COL,s.COL],[n.COLGROUP,s.COLGROUP],[n.DD,s.DD],[n.DESC,s.DESC],[n.DETAILS,s.DETAILS],[n.DIALOG,s.DIALOG],[n.DIR,s.DIR],[n.DIV,s.DIV],[n.DL,s.DL],[n.DT,s.DT],[n.EM,s.EM],[n.EMBED,s.EMBED],[n.FIELDSET,s.FIELDSET],[n.FIGCAPTION,s.FIGCAPTION],[n.FIGURE,s.FIGURE],[n.FONT,s.FONT],[n.FOOTER,s.FOOTER],[n.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[n.FORM,s.FORM],[n.FRAME,s.FRAME],[n.FRAMESET,s.FRAMESET],[n.H1,s.H1],[n.H2,s.H2],[n.H3,s.H3],[n.H4,s.H4],[n.H5,s.H5],[n.H6,s.H6],[n.HEAD,s.HEAD],[n.HEADER,s.HEADER],[n.HGROUP,s.HGROUP],[n.HR,s.HR],[n.HTML,s.HTML],[n.I,s.I],[n.IMG,s.IMG],[n.IMAGE,s.IMAGE],[n.INPUT,s.INPUT],[n.IFRAME,s.IFRAME],[n.KEYGEN,s.KEYGEN],[n.LABEL,s.LABEL],[n.LI,s.LI],[n.LINK,s.LINK],[n.LISTING,s.LISTING],[n.MAIN,s.MAIN],[n.MALIGNMARK,s.MALIGNMARK],[n.MARQUEE,s.MARQUEE],[n.MATH,s.MATH],[n.MENU,s.MENU],[n.META,s.META],[n.MGLYPH,s.MGLYPH],[n.MI,s.MI],[n.MO,s.MO],[n.MN,s.MN],[n.MS,s.MS],[n.MTEXT,s.MTEXT],[n.NAV,s.NAV],[n.NOBR,s.NOBR],[n.NOFRAMES,s.NOFRAMES],[n.NOEMBED,s.NOEMBED],[n.NOSCRIPT,s.NOSCRIPT],[n.OBJECT,s.OBJECT],[n.OL,s.OL],[n.OPTGROUP,s.OPTGROUP],[n.OPTION,s.OPTION],[n.P,s.P],[n.PARAM,s.PARAM],[n.PLAINTEXT,s.PLAINTEXT],[n.PRE,s.PRE],[n.RB,s.RB],[n.RP,s.RP],[n.RT,s.RT],[n.RTC,s.RTC],[n.RUBY,s.RUBY],[n.S,s.S],[n.SCRIPT,s.SCRIPT],[n.SECTION,s.SECTION],[n.SELECT,s.SELECT],[n.SOURCE,s.SOURCE],[n.SMALL,s.SMALL],[n.SPAN,s.SPAN],[n.STRIKE,s.STRIKE],[n.STRONG,s.STRONG],[n.STYLE,s.STYLE],[n.SUB,s.SUB],[n.SUMMARY,s.SUMMARY],[n.SUP,s.SUP],[n.TABLE,s.TABLE],[n.TBODY,s.TBODY],[n.TEMPLATE,s.TEMPLATE],[n.TEXTAREA,s.TEXTAREA],[n.TFOOT,s.TFOOT],[n.TD,s.TD],[n.TH,s.TH],[n.THEAD,s.THEAD],[n.TITLE,s.TITLE],[n.TR,s.TR],[n.TRACK,s.TRACK],[n.TT,s.TT],[n.U,s.U],[n.UL,s.UL],[n.SVG,s.SVG],[n.VAR,s.VAR],[n.WBR,s.WBR],[n.XMP,s.XMP]]);t.getTagID=function(e){var t;return null!==(t=o.get(e))&&void 0!==t?t:s.UNKNOWN};const l=s;t.SPECIAL_ELEMENTS={[r.HTML]:new Set([l.ADDRESS,l.APPLET,l.AREA,l.ARTICLE,l.ASIDE,l.BASE,l.BASEFONT,l.BGSOUND,l.BLOCKQUOTE,l.BODY,l.BR,l.BUTTON,l.CAPTION,l.CENTER,l.COL,l.COLGROUP,l.DD,l.DETAILS,l.DIR,l.DIV,l.DL,l.DT,l.EMBED,l.FIELDSET,l.FIGCAPTION,l.FIGURE,l.FOOTER,l.FORM,l.FRAME,l.FRAMESET,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HEADER,l.HGROUP,l.HR,l.HTML,l.IFRAME,l.IMG,l.INPUT,l.LI,l.LINK,l.LISTING,l.MAIN,l.MARQUEE,l.MENU,l.META,l.NAV,l.NOEMBED,l.NOFRAMES,l.NOSCRIPT,l.OBJECT,l.OL,l.P,l.PARAM,l.PLAINTEXT,l.PRE,l.SCRIPT,l.SECTION,l.SELECT,l.SOURCE,l.STYLE,l.SUMMARY,l.TABLE,l.TBODY,l.TD,l.TEMPLATE,l.TEXTAREA,l.TFOOT,l.TH,l.THEAD,l.TITLE,l.TR,l.TRACK,l.UL,l.WBR,l.XMP]),[r.MATHML]:new Set([l.MI,l.MO,l.MN,l.MS,l.MTEXT,l.ANNOTATION_XML]),[r.SVG]:new Set([l.TITLE,l.FOREIGN_OBJECT,l.DESC]),[r.XLINK]:new Set,[r.XML]:new Set,[r.XMLNS]:new Set},t.isNumberedHeader=function(e){return e===l.H1||e===l.H2||e===l.H3||e===l.H4||e===l.H5||e===l.H6};const u=new Set([n.STYLE,n.SCRIPT,n.XMP,n.IFRAME,n.NOEMBED,n.NOFRAMES,n.PLAINTEXT]);t.hasUnescapedText=function(e,t){return u.has(e)||t&&e===n.NOSCRIPT}},14708:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenAttr=t.TokenType=void 0,(r=t.TokenType||(t.TokenType={}))[r.CHARACTER=0]="CHARACTER",r[r.NULL_CHARACTER=1]="NULL_CHARACTER",r[r.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",r[r.START_TAG=3]="START_TAG",r[r.END_TAG=4]="END_TAG",r[r.COMMENT=5]="COMMENT",r[r.DOCTYPE=6]="DOCTYPE",r[r.EOF=7]="EOF",r[r.HIBERNATION=8]="HIBERNATION",t.getTokenAttr=function(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}},6746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUndefinedCodePoint=t.isControlCodePoint=t.getSurrogatePairCodePoint=t.isSurrogatePair=t.isSurrogate=t.SEQUENCES=t.CODE_POINTS=t.REPLACEMENT_CHARACTER=void 0;const r=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);var n;t.REPLACEMENT_CHARACTER="�",(n=t.CODE_POINTS||(t.CODE_POINTS={}))[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.NUMBER_SIGN=35]="NUMBER_SIGN",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",n[n.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_F=102]="LATIN_SMALL_F",n[n.LATIN_SMALL_X=120]="LATIN_SMALL_X",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",n[n.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER",t.SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||r.has(e)}},37015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseFragment=t.parse=t.TokenizerMode=t.Tokenizer=t.Token=t.html=t.foreignContent=t.ErrorCodes=t.serializeOuter=t.serialize=t.Parser=t.defaultTreeAdapter=void 0;const n=r(62314);var s=r(53384);Object.defineProperty(t,"defaultTreeAdapter",{enumerable:!0,get:function(){return s.defaultTreeAdapter}});var i=r(62314);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return i.Parser}});var a=r(37742);Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return a.serialize}}),Object.defineProperty(t,"serializeOuter",{enumerable:!0,get:function(){return a.serializeOuter}});var o=r(13246);Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return o.ERR}}),t.foreignContent=r(34589),t.html=r(96854),t.Token=r(14708);var l=r(73783);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l.Tokenizer}}),Object.defineProperty(t,"TokenizerMode",{enumerable:!0,get:function(){return l.TokenizerMode}}),t.parse=function(e,t){return n.Parser.parse(e,t)},t.parseFragment=function(e,t,r){"string"==typeof e&&(r=t,t=e,e=null);const s=n.Parser.getFragmentParser(e,r);return s.tokenizer.write(t,!0),s.getFragment()}},83129:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.FormattingElementList=t.EntryType=void 0,function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(r=t.EntryType||(t.EntryType={}));const n={type:r.Marker};t.FormattingElementList=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],s=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;en.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(n)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:r.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:r.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(n);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===r.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===r.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===r.Element&&t.element===e))}}},62314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;const n=r(73783),s=r(21982),i=r(83129),a=r(53384),o=r(58993),l=r(34589),u=r(13246),c=r(6746),d=r(96854),h=r(14708),p="hidden",f=8,g=3;var m;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(m||(m={}));const _={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},y=new Set([d.TAG_ID.TABLE,d.TAG_ID.TBODY,d.TAG_ID.TFOOT,d.TAG_ID.THEAD,d.TAG_ID.TR]),E={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:a.defaultTreeAdapter,onParseError:null};function T(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):q(e,t),r}function A(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const s=e.openElements.items[n];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[n])&&(r=s)}return r||(e.openElements.shortenToLength(n<0?0:n),e.activeFormattingElements.removeEntry(t)),r}function v(e,t,r){let n=t,s=e.openElements.getCommonAncestor(t);for(let i=0,a=s;a!==r;i++,a=s){s=e.openElements.getCommonAncestor(a);const r=e.activeFormattingElements.getElementEntry(a),o=r&&i>=g;!r||o?(o&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(a)):(a=b(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(a,n),n=a)}return n}function b(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function S(e,t,r){const n=e.treeAdapter.getTagName(t),s=(0,d.getTagID)(n);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(r);else{const n=e.treeAdapter.getNamespaceURI(t);s===d.TAG_ID.TEMPLATE&&n===d.NS.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function I(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:s}=r,i=e.treeAdapter.createElement(s.tagName,n,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,s.tagID)}function O(e,t){for(let r=0;r=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function D(e,t){e._err(t,u.ERR.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,d.DOCUMENT_MODE.QUIRKS),e.insertionMode=m.BEFORE_HTML,e._processToken(t)}function w(e,t){e._insertFakeRootElement(),e.insertionMode=m.BEFORE_HEAD,e._processToken(t)}function P(e,t){e._insertFakeElement(d.TAG_NAMES.HEAD,d.TAG_ID.HEAD),e.headElement=e.openElements.current,e.insertionMode=m.IN_HEAD,e._processToken(t)}function R(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TITLE:e._switchToTextParsing(t,n.TokenizerMode.RCDATA);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT):(e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_HEAD_NO_SCRIPT);break;case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT);break;case d.TAG_ID.SCRIPT:e._switchToTextParsing(t,n.TokenizerMode.SCRIPT_DATA);break;case d.TAG_ID.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=m.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(m.IN_TEMPLATE);break;case d.TAG_ID.HEAD:e._err(t,u.ERR.misplacedStartTagForHeadElement);break;default:L(e,t)}}function k(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TAG_ID.TEMPLATE&&e._err(t,u.ERR.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}function L(e,t){e.openElements.pop(),e.insertionMode=m.AFTER_HEAD,e._processToken(t)}function M(e,t){const r=t.type===h.TokenType.EOF?u.ERR.openElementsLeftAfterEof:u.ERR.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=m.IN_HEAD,e._processToken(t)}function x(e,t){e._insertFakeElement(d.TAG_NAMES.BODY,d.TAG_ID.BODY),e.insertionMode=m.IN_BODY,F(e,t)}function F(e,t){switch(t.type){case h.TokenType.CHARACTER:B(e,t);break;case h.TokenType.WHITESPACE_CHARACTER:U(e,t);break;case h.TokenType.COMMENT:C(e,t);break;case h.TokenType.START_TAG:W(e,t);break;case h.TokenType.END_TAG:V(e,t);break;case h.TokenType.EOF:Y(e,t)}}function U(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function B(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function G(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function H(e){const t=(0,h.getTokenAttr)(e,d.ATTRS.TYPE);return null!=t&&t.toLowerCase()===p}function j(e,t){e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}function $(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}function W(e,t){switch(t.tagID){case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.B:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.A:!function(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(d.TAG_NAMES.A);r&&(O(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),(0,d.isNumberedHeader)(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.P:case d.TAG_ID.DL:case d.TAG_ID.OL:case d.TAG_ID.UL:case d.TAG_ID.DIV:case d.TAG_ID.DIR:case d.TAG_ID.NAV:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.DETAILS:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.LI:case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){e.framesetOk=!1;const r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const n=e.openElements.tagIDs[t];if(r===d.TAG_ID.LI&&n===d.TAG_ID.LI||(r===d.TAG_ID.DD||r===d.TAG_ID.DT)&&(n===d.TAG_ID.DD||n===d.TAG_ID.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==d.TAG_ID.ADDRESS&&n!==d.TAG_ID.DIV&&n!==d.TAG_ID.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.BR:case d.TAG_ID.IMG:case d.TAG_ID.WBR:case d.TAG_ID.AREA:case d.TAG_ID.EMBED:case d.TAG_ID.KEYGEN:G(e,t);break;case d.TAG_ID.HR:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.RB:case d.TAG_ID.RTC:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.RT:case d.TAG_ID.RP:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.RTC),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.PRE:case d.TAG_ID.LISTING:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case d.TAG_ID.XMP:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SVG:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenSVGAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.SVG):e._insertElement(t,d.NS.SVG),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.STYLE:case d.TAG_ID.TITLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.BGSOUND:case d.TAG_ID.BASEFONT:case d.TAG_ID.TEMPLATE:R(e,t);break;case d.TAG_ID.BODY:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}(e,t);break;case d.TAG_ID.FORM:!function(e,t){const r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),r||(e.formElement=e.openElements.current))}(e,t);break;case d.TAG_ID.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.TAG_ID.NOBR)&&(O(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.MATH:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenMathMLAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.MATHML):e._insertElement(t,d.NS.MATHML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==d.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=m.IN_TABLE}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),H(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.PARAM:case d.TAG_ID.TRACK:case d.TAG_ID.SOURCE:!function(e,t){e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.IMAGE:!function(e,t){t.tagName=d.TAG_NAMES.IMG,t.tagID=d.TAG_ID.IMG,G(e,t)}(e,t);break;case d.TAG_ID.BUTTON:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1}(e,t);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case d.TAG_ID.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===m.IN_TABLE||e.insertionMode===m.IN_CAPTION||e.insertionMode===m.IN_TABLE_BODY||e.insertionMode===m.IN_ROW||e.insertionMode===m.IN_CELL?m.IN_SELECT_IN_TABLE:m.IN_SELECT}(e,t);break;case d.TAG_ID.OPTION:case d.TAG_ID.OPTGROUP:!function(e,t){e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.NOEMBED:j(e,t);break;case d.TAG_ID.FRAMESET:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_FRAMESET)}(e,t);break;case d.TAG_ID.TEXTAREA:!function(e,t){e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.tokenizer.state=n.TokenizerMode.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=m.TEXT}(e,t);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?j(e,t):$(e,t);break;case d.TAG_ID.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.tokenizer.state=n.TokenizerMode.PLAINTEXT}(e,t);break;case d.TAG_ID.COL:case d.TAG_ID.TH:case d.TAG_ID.TD:case d.TAG_ID.TR:case d.TAG_ID.HEAD:case d.TAG_ID.FRAME:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:break;default:$(e,t)}}function q(e,t){const r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(n===i&&(n!==d.TAG_ID.UNKNOWN||e.treeAdapter.getTagName(s)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function V(e,t){switch(t.tagID){case d.TAG_ID.A:case d.TAG_ID.B:case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.NOBR:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:O(e,t);break;case d.TAG_ID.P:!function(e){e.openElements.hasInButtonScope(d.TAG_ID.P)||e._insertFakeElement(d.TAG_NAMES.P,d.TAG_ID.P),e._closePElement()}(e);break;case d.TAG_ID.DL:case d.TAG_ID.UL:case d.TAG_ID.OL:case d.TAG_ID.DIR:case d.TAG_ID.DIV:case d.TAG_ID.NAV:case d.TAG_ID.PRE:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.BUTTON:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.DETAILS:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.LISTING:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case d.TAG_ID.LI:!function(e){e.openElements.hasInListItemScope(d.TAG_ID.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.LI),e.openElements.popUntilTagNamePopped(d.TAG_ID.LI))}(e);break;case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case d.TAG_ID.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(d.TAG_NAMES.BR,d.TAG_ID.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case d.TAG_ID.BODY:!function(e,t){if(e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=m.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}(e,t);break;case d.TAG_ID.HTML:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=m.AFTER_BODY,de(e,t))}(e,t);break;case d.TAG_ID.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.TAG_ID.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.TAG_ID.FORM):r&&e.openElements.remove(r))}(e);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:q(e,t)}}function Y(e,t){e.tmplInsertionModeStack.length>0?ce(e,t):N(e,t)}function z(e,t){if(y.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=m.IN_TABLE_TEXT,t.type){case h.TokenType.CHARACTER:Z(e,t);break;case h.TokenType.WHITESPACE_CHARACTER:J(e,t)}else X(e,t)}function K(e,t){switch(t.tagID){case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.TBODY,d.TAG_ID.TBODY),e.insertionMode=m.IN_TABLE_BODY,se(e,t)}(e,t);break;case d.TAG_ID.STYLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:R(e,t);break;case d.TAG_ID.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.COLGROUP,d.TAG_ID.COLGROUP),e.insertionMode=m.IN_COLUMN_GROUP,re(e,t)}(e,t);break;case d.TAG_ID.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,d.NS.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_TABLE_BODY}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){H(t)?e._appendElement(t,d.NS.HTML):X(e,t),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_CAPTION}(e,t);break;case d.TAG_ID.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_COLUMN_GROUP}(e,t);break;default:X(e,t)}}function Q(e,t){switch(t.tagID){case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:k(e,t);break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:X(e,t)}}function X(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,F(e,t),e.fosterParentingEnabled=r}function J(e,t){e.pendingCharacterTokens.push(t)}function Z(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ee(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(n=(r=this.treeAdapter).onItemPop)||void 0===n||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===d.NS.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,d.NS.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=m.TEXT}switchToPlaintextParsing(){this.insertionMode=m.TEXT,this.originalInsertionMode=m.IN_BODY,this.tokenizer.state=n.TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===d.TAG_NAMES.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===d.NS.HTML)switch(this.fragmentContextID){case d.TAG_ID.TITLE:case d.TAG_ID.TEXTAREA:this.tokenizer.state=n.TokenizerMode.RCDATA;break;case d.TAG_ID.STYLE:case d.TAG_ID.XMP:case d.TAG_ID.IFRAME:case d.TAG_ID.NOEMBED:case d.TAG_ID.NOFRAMES:case d.TAG_ID.NOSCRIPT:this.tokenizer.state=n.TokenizerMode.RAWTEXT;break;case d.TAG_ID.SCRIPT:this.tokenizer.state=n.TokenizerMode.SCRIPT_DATA;break;case d.TAG_ID.PLAINTEXT:this.tokenizer.state=n.TokenizerMode.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&Object.assign(Object.assign({},t),{startTag:t});this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,d.NS.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,d.NS.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(d.TAG_NAMES.HTML,d.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,d.TAG_ID.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:r}=this._findFosterParentingLocation()),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),s=r?n.lastIndexOf(r):n.length,i=n[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),s=t.type===h.TokenType.END_TAG&&n===t.tagName?{endTag:Object.assign({},r),endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):({current:t,currentTagId:r}=this.openElements),(e.tagID!==d.TAG_ID.SVG||this.treeAdapter.getTagName(t)!==d.TAG_NAMES.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==d.NS.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===d.TAG_ID.MGLYPH||e.tagID===d.TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(r,t,d.NS.HTML))}_processToken(e){switch(e.type){case h.TokenType.CHARACTER:this.onCharacter(e);break;case h.TokenType.NULL_CHARACTER:this.onNullCharacter(e);break;case h.TokenType.COMMENT:this.onComment(e);break;case h.TokenType.DOCTYPE:this.onDoctype(e);break;case h.TokenType.START_TAG:this._processStartTag(e);break;case h.TokenType.END_TAG:this.onEndTag(e);break;case h.TokenType.EOF:this.onEof(e);break;case h.TokenType.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),s=this.treeAdapter.getAttrList(t);return l.isIntegrationPoint(e,n,s,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===i.EntryType.Marker||this.openElements.contains(e.element)));for(let r=t<0?e-1:t-1;r>=0;r--){const e=this.activeFormattingElements.entries[r];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=m.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.P),this.openElements.popUntilTagNamePopped(d.TAG_ID.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case d.TAG_ID.TR:return void(this.insertionMode=m.IN_ROW);case d.TAG_ID.TBODY:case d.TAG_ID.THEAD:case d.TAG_ID.TFOOT:return void(this.insertionMode=m.IN_TABLE_BODY);case d.TAG_ID.CAPTION:return void(this.insertionMode=m.IN_CAPTION);case d.TAG_ID.COLGROUP:return void(this.insertionMode=m.IN_COLUMN_GROUP);case d.TAG_ID.TABLE:return void(this.insertionMode=m.IN_TABLE);case d.TAG_ID.BODY:return void(this.insertionMode=m.IN_BODY);case d.TAG_ID.FRAMESET:return void(this.insertionMode=m.IN_FRAMESET);case d.TAG_ID.SELECT:return void this._resetInsertionModeForSelect(e);case d.TAG_ID.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case d.TAG_ID.HTML:return void(this.insertionMode=this.headElement?m.AFTER_HEAD:m.BEFORE_HEAD);case d.TAG_ID.TD:case d.TAG_ID.TH:if(e>0)return void(this.insertionMode=m.IN_CELL);break;case d.TAG_ID.HEAD:if(e>0)return void(this.insertionMode=m.IN_HEAD)}this.insertionMode=m.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===d.TAG_ID.TEMPLATE)break;if(e===d.TAG_ID.TABLE)return void(this.insertionMode=m.IN_SELECT_IN_TABLE)}this.insertionMode=m.IN_SELECT}_isElementCausesFosterParenting(e){return y.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case d.TAG_ID.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===d.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case d.TAG_ID.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return d.SPECIAL_ELEMENTS[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.IN_BODY:case m.IN_CAPTION:case m.IN_CELL:case m.IN_TEMPLATE:B(this,e);break;case m.TEXT:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_TABLE_TEXT:Z(this,e);break;case m.IN_COLUMN_GROUP:ne(this,e);break;case m.AFTER_BODY:he(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=c.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.TEXT:this._insertCharacters(e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_COLUMN_GROUP:ne(this,e);break;case m.AFTER_BODY:he(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)C(this,e);else switch(this.insertionMode){case m.INITIAL:case m.BEFORE_HTML:case m.BEFORE_HEAD:case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:case m.IN_BODY:case m.IN_TABLE:case m.IN_CAPTION:case m.IN_COLUMN_GROUP:case m.IN_TABLE_BODY:case m.IN_ROW:case m.IN_CELL:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:case m.IN_TEMPLATE:case m.IN_FRAMESET:case m.AFTER_FRAMESET:C(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case m.INITIAL:!function(e,t){e._setDocumentType(t);const r=t.forceQuirks?d.DOCUMENT_MODE.QUIRKS:o.getDocumentMode(t);o.isConforming(t)||e._err(t,u.ERR.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=m.BEFORE_HTML}(this,e);break;case m.BEFORE_HEAD:case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:this._err(e,u.ERR.misplacedDoctype);break;case m.IN_TABLE_TEXT:ee(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,u.ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(l.causesExit(t))fe(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===d.NS.MATHML?l.adjustTokenMathMLAttrs(t):n===d.NS.SVG&&(l.adjustTokenSVGTagName(t),l.adjustTokenSVGAttrs(t)),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:!function(e,t){t.tagID===d.TAG_ID.HTML?(e._insertElement(t,d.NS.HTML),e.insertionMode=m.BEFORE_HEAD):w(e,t)}(this,e);break;case m.BEFORE_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.HEAD:e._insertElement(t,d.NS.HTML),e.headElement=e.openElements.current,e.insertionMode=m.IN_HEAD;break;default:P(e,t)}}(this,e);break;case m.IN_HEAD:R(this,e);break;case m.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.HEAD:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:R(e,t);break;case d.TAG_ID.NOSCRIPT:e._err(t,u.ERR.nestedNoscriptInHead);break;default:M(e,t)}}(this,e);break;case m.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.BODY:e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=m.IN_BODY;break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_FRAMESET;break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:e._err(t,u.ERR.abandonedHeadElementChild),e.openElements.push(e.headElement,d.TAG_ID.HEAD),R(e,t),e.openElements.remove(e.headElement);break;case d.TAG_ID.HEAD:e._err(t,u.ERR.misplacedStartTagForHeadElement);break;default:x(e,t)}}(this,e);break;case m.IN_BODY:W(this,e);break;case m.IN_TABLE:K(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_CAPTION:!function(e,t){const r=t.tagID;te.has(r)?e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_TABLE,K(e,t)):W(e,t)}(this,e);break;case m.IN_COLUMN_GROUP:re(this,e);break;case m.IN_TABLE_BODY:se(this,e);break;case m.IN_ROW:ae(this,e);break;case m.IN_CELL:!function(e,t){const r=t.tagID;te.has(r)?(e.openElements.hasInTableScope(d.TAG_ID.TD)||e.openElements.hasInTableScope(d.TAG_ID.TH))&&(e._closeTableCell(),ae(e,t)):W(e,t)}(this,e);break;case m.IN_SELECT:le(this,e);break;case m.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===d.TAG_ID.CAPTION||r===d.TAG_ID.TABLE||r===d.TAG_ID.TBODY||r===d.TAG_ID.TFOOT||r===d.TAG_ID.THEAD||r===d.TAG_ID.TR||r===d.TAG_ID.TD||r===d.TAG_ID.TH?(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e._processStartTag(t)):le(e,t)}(this,e);break;case m.IN_TEMPLATE:!function(e,t){switch(t.tagID){case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:R(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.tmplInsertionModeStack[0]=m.IN_TABLE,e.insertionMode=m.IN_TABLE,K(e,t);break;case d.TAG_ID.COL:e.tmplInsertionModeStack[0]=m.IN_COLUMN_GROUP,e.insertionMode=m.IN_COLUMN_GROUP,re(e,t);break;case d.TAG_ID.TR:e.tmplInsertionModeStack[0]=m.IN_TABLE_BODY,e.insertionMode=m.IN_TABLE_BODY,se(e,t);break;case d.TAG_ID.TD:case d.TAG_ID.TH:e.tmplInsertionModeStack[0]=m.IN_ROW,e.insertionMode=m.IN_ROW,ae(e,t);break;default:e.tmplInsertionModeStack[0]=m.IN_BODY,e.insertionMode=m.IN_BODY,W(e,t)}}(this,e);break;case m.AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?W(e,t):he(e,t)}(this,e);break;case m.IN_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.FRAME:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e);break;case m.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e);break;case m.AFTER_AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?W(e,t):pe(e,t)}(this,e);break;case m.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===d.TAG_ID.P||t.tagID===d.TAG_ID.BR)return fe(e),void e._endTagOutsideForeignContent(t);for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===d.NS.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(n);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:!function(e,t){const r=t.tagID;r!==d.TAG_ID.HTML&&r!==d.TAG_ID.HEAD&&r!==d.TAG_ID.BODY&&r!==d.TAG_ID.BR||w(e,t)}(this,e);break;case m.BEFORE_HEAD:!function(e,t){const r=t.tagID;r===d.TAG_ID.HEAD||r===d.TAG_ID.BODY||r===d.TAG_ID.HTML||r===d.TAG_ID.BR?P(e,t):e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}(this,e);break;case m.IN_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HEAD:e.openElements.pop(),e.insertionMode=m.AFTER_HEAD;break;case d.TAG_ID.BODY:case d.TAG_ID.BR:case d.TAG_ID.HTML:L(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.NOSCRIPT:e.openElements.pop(),e.insertionMode=m.IN_HEAD;break;case d.TAG_ID.BR:M(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.BODY:case d.TAG_ID.HTML:case d.TAG_ID.BR:x(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.IN_BODY:V(this,e);break;case m.TEXT:!function(e,t){var r;t.tagID===d.TAG_ID.SCRIPT&&(null===(r=e.scriptHandler)||void 0===r||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case m.IN_TABLE:Q(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_CAPTION:!function(e,t){const r=t.tagID;switch(r){case d.TAG_ID.CAPTION:case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_TABLE,r===d.TAG_ID.TABLE&&Q(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:V(e,t)}}(this,e);break;case m.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case d.TAG_ID.COLGROUP:e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=m.IN_TABLE);break;case d.TAG_ID.TEMPLATE:k(e,t);break;case d.TAG_ID.COL:break;default:ne(e,t)}}(this,e);break;case m.IN_TABLE_BODY:ie(this,e);break;case m.IN_ROW:oe(this,e);break;case m.IN_CELL:!function(e,t){const r=t.tagID;switch(r){case d.TAG_ID.TD:case d.TAG_ID.TH:e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_ROW);break;case d.TAG_ID.TABLE:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(r)&&(e._closeTableCell(),oe(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:break;default:V(e,t)}}(this,e);break;case m.IN_SELECT:ue(this,e);break;case m.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===d.TAG_ID.CAPTION||r===d.TAG_ID.TABLE||r===d.TAG_ID.TBODY||r===d.TAG_ID.TFOOT||r===d.TAG_ID.THEAD||r===d.TAG_ID.TR||r===d.TAG_ID.TD||r===d.TAG_ID.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ue(e,t)}(this,e);break;case m.IN_TEMPLATE:!function(e,t){t.tagID===d.TAG_ID.TEMPLATE&&k(e,t)}(this,e);break;case m.AFTER_BODY:de(this,e);break;case m.IN_FRAMESET:!function(e,t){t.tagID!==d.TAG_ID.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===d.TAG_ID.FRAMESET||(e.insertionMode=m.AFTER_FRAMESET))}(this,e);break;case m.AFTER_FRAMESET:!function(e,t){t.tagID===d.TAG_ID.HTML&&(e.insertionMode=m.AFTER_AFTER_FRAMESET)}(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onEof(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.IN_BODY:case m.IN_TABLE:case m.IN_CAPTION:case m.IN_COLUMN_GROUP:case m.IN_TABLE_BODY:case m.IN_ROW:case m.IN_CELL:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:Y(this,e);break;case m.TEXT:!function(e,t){e._err(t,u.ERR.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_TEMPLATE:ce(this,e);break;case m.AFTER_BODY:case m.IN_FRAMESET:case m.AFTER_FRAMESET:case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:N(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===c.CODE_POINTS.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:case m.TEXT:case m.IN_COLUMN_GROUP:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:case m.IN_FRAMESET:case m.AFTER_FRAMESET:this._insertCharacters(e);break;case m.IN_BODY:case m.IN_CAPTION:case m.IN_CELL:case m.IN_TEMPLATE:case m.AFTER_BODY:case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:U(this,e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_TABLE_TEXT:J(this,e)}}};const te=new Set([d.TAG_ID.CAPTION,d.TAG_ID.COL,d.TAG_ID.COLGROUP,d.TAG_ID.TBODY,d.TAG_ID.TD,d.TAG_ID.TFOOT,d.TAG_ID.TH,d.TAG_ID.THEAD,d.TAG_ID.TR]);function re(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.COL:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TEMPLATE:R(e,t);break;default:ne(e,t)}}function ne(e,t){e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=m.IN_TABLE,e._processToken(t))}function se(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_ROW;break;case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(d.TAG_NAMES.TR,d.TAG_ID.TR),e.insertionMode=m.IN_ROW,ae(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE,K(e,t));break;default:K(e,t)}}function ie(e,t){const r=t.tagID;switch(t.tagID){case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE);break;case d.TAG_ID.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE,Q(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:break;default:Q(e,t)}}function ae(e,t){switch(t.tagID){case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_CELL,e.activeFormattingElements.insertMarker();break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,se(e,t));break;default:K(e,t)}}function oe(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY);break;case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,ie(e,t));break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TAG_ID.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,ie(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:break;default:Q(e,t)}}function le(e,t){switch(t.tagID){case d.TAG_ID.HTML:W(e,t);break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.OPTGROUP:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.INPUT:case d.TAG_ID.KEYGEN:case d.TAG_ID.TEXTAREA:case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),t.tagID!==d.TAG_ID.SELECT&&e._processStartTag(t));break;case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:R(e,t)}}function ue(e,t){switch(t.tagID){case d.TAG_ID.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop();break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop();break;case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:k(e,t)}}function ce(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):N(e,t)}function de(e,t){var r;if(t.tagID===d.TAG_ID.HTML){if(e.fragmentContext||(e.insertionMode=m.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.TAG_ID.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(null===(r=e.treeAdapter.getNodeSourceCodeLocation(n))||void 0===r?void 0:r.endTag)&&e._setEndLocation(n,t)}}else he(e,t)}function he(e,t){e.insertionMode=m.IN_BODY,F(e,t)}function pe(e,t){e.insertionMode=m.IN_BODY,F(e,t)}function fe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==d.NS.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}},21982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenElementStack=void 0;const n=r(96854),s=new Set([n.TAG_ID.DD,n.TAG_ID.DT,n.TAG_ID.LI,n.TAG_ID.OPTGROUP,n.TAG_ID.OPTION,n.TAG_ID.P,n.TAG_ID.RB,n.TAG_ID.RP,n.TAG_ID.RT,n.TAG_ID.RTC]),i=new Set([...s,n.TAG_ID.CAPTION,n.TAG_ID.COLGROUP,n.TAG_ID.TBODY,n.TAG_ID.TD,n.TAG_ID.TFOOT,n.TAG_ID.TH,n.TAG_ID.THEAD,n.TAG_ID.TR]),a=new Map([[n.TAG_ID.APPLET,n.NS.HTML],[n.TAG_ID.CAPTION,n.NS.HTML],[n.TAG_ID.HTML,n.NS.HTML],[n.TAG_ID.MARQUEE,n.NS.HTML],[n.TAG_ID.OBJECT,n.NS.HTML],[n.TAG_ID.TABLE,n.NS.HTML],[n.TAG_ID.TD,n.NS.HTML],[n.TAG_ID.TEMPLATE,n.NS.HTML],[n.TAG_ID.TH,n.NS.HTML],[n.TAG_ID.ANNOTATION_XML,n.NS.MATHML],[n.TAG_ID.MI,n.NS.MATHML],[n.TAG_ID.MN,n.NS.MATHML],[n.TAG_ID.MO,n.NS.MATHML],[n.TAG_ID.MS,n.NS.MATHML],[n.TAG_ID.MTEXT,n.NS.MATHML],[n.TAG_ID.DESC,n.NS.SVG],[n.TAG_ID.FOREIGN_OBJECT,n.NS.SVG],[n.TAG_ID.TITLE,n.NS.SVG]]),o=[n.TAG_ID.H1,n.TAG_ID.H2,n.TAG_ID.H3,n.TAG_ID.H4,n.TAG_ID.H5,n.TAG_ID.H6],l=[n.TAG_ID.TR,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],u=[n.TAG_ID.TBODY,n.TAG_ID.TFOOT,n.TAG_ID.THEAD,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],c=[n.TAG_ID.TABLE,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],d=[n.TAG_ID.TD,n.TAG_ID.TH];t.OpenElementStack=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=n.TAG_ID.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===n.TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===n.NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==n.NS.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;r--)if(e.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(c,n.NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(u,n.NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(l,n.NS.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===n.TAG_ID.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===n.TAG_ID.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if(a.get(r)===s)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if((0,n.isNumberedHeader)(t)&&r===n.NS.HTML)return!0;if(a.get(t)===r)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if((r===n.TAG_ID.UL||r===n.TAG_ID.OL)&&s===n.NS.HTML||a.get(r)===s)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if(r===n.TAG_ID.BUTTON&&s===n.NS.HTML||a.get(r)===s)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===n.NS.HTML){if(r===e)return!0;if(r===n.TAG_ID.TABLE||r===n.TAG_ID.TEMPLATE||r===n.TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===n.NS.HTML){if(t===n.TAG_ID.TBODY||t===n.TAG_ID.THEAD||t===n.TAG_ID.TFOOT)return!0;if(t===n.TAG_ID.TABLE||t===n.TAG_ID.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===n.NS.HTML){if(r===e)return!0;if(r!==n.TAG_ID.OPTION&&r!==n.TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;s.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;i.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&i.has(this.currentTagId);)this.pop()}}},37742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeOuter=t.serialize=void 0;const n=r(96854),s=r(41594),i=r(53384),a=new Set([n.TAG_NAMES.AREA,n.TAG_NAMES.BASE,n.TAG_NAMES.BASEFONT,n.TAG_NAMES.BGSOUND,n.TAG_NAMES.BR,n.TAG_NAMES.COL,n.TAG_NAMES.EMBED,n.TAG_NAMES.FRAME,n.TAG_NAMES.HR,n.TAG_NAMES.IMG,n.TAG_NAMES.INPUT,n.TAG_NAMES.KEYGEN,n.TAG_NAMES.LINK,n.TAG_NAMES.META,n.TAG_NAMES.PARAM,n.TAG_NAMES.SOURCE,n.TAG_NAMES.TRACK,n.TAG_NAMES.WBR]);function o(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===n.NS.HTML&&a.has(t.treeAdapter.getTagName(e))}const l={treeAdapter:i.defaultTreeAdapter,scriptingEnabled:!0};function u(e,t){let r="";const s=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===n.TAG_NAMES.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===n.NS.HTML?t.treeAdapter.getTemplateContent(e):e,i=t.treeAdapter.getChildNodes(s);if(i)for(const e of i)r+=c(e,t);return r}function c(e,t){return t.treeAdapter.isElementNode(e)?function(e,t){const r=t.treeAdapter.getTagName(e);return`<${r}${function(e,{treeAdapter:t}){let r="";for(const i of t.getAttrList(e)){if(r+=" ",i.namespace)switch(i.namespace){case n.NS.XML:r+=`xml:${i.name}`;break;case n.NS.XMLNS:"xmlns"!==i.name&&(r+="xmlns:"),r+=i.name;break;case n.NS.XLINK:r+=`xlink:${i.name}`;break;default:r+=`${i.prefix}:${i.name}`}else r+=i.name;r+=`="${(0,s.escapeAttribute)(i.value)}"`}return r}(e,t)}>${o(e,t)?"":`${u(e,t)}`}`}(e,t):t.treeAdapter.isTextNode(e)?function(e,t){const{treeAdapter:r}=t,i=r.getTextNodeContent(e),a=r.getParentNode(e),o=a&&r.isElementNode(a)&&r.getTagName(a);return o&&r.getNamespaceURI(a)===n.NS.HTML&&(0,n.hasUnescapedText)(o,t.scriptingEnabled)?i:(0,s.escapeText)(i)}(e,t):t.treeAdapter.isCommentNode(e)?function(e,{treeAdapter:t}){return`\x3c!--${t.getCommentNodeContent(e)}--\x3e`}(e,t):t.treeAdapter.isDocumentTypeNode(e)?function(e,{treeAdapter:t}){return``}(e,t):""}t.serialize=function(e,t){const r=Object.assign(Object.assign({},l),t);return o(e,r)?"":u(e,r)},t.serializeOuter=function(e,t){return c(e,Object.assign(Object.assign({},l),t))}},73783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=t.TokenizerMode=void 0;const n=r(70601),s=r(6746),i=r(14708),a=r(98824),o=r(13246),l=r(96854),u=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var c;function d(e){return e>=s.CODE_POINTS.DIGIT_0&&e<=s.CODE_POINTS.DIGIT_9}function h(e){return e>=s.CODE_POINTS.LATIN_CAPITAL_A&&e<=s.CODE_POINTS.LATIN_CAPITAL_Z}function p(e){return function(e){return e>=s.CODE_POINTS.LATIN_SMALL_A&&e<=s.CODE_POINTS.LATIN_SMALL_Z}(e)||h(e)}function f(e){return p(e)||d(e)}function g(e){return e>=s.CODE_POINTS.LATIN_CAPITAL_A&&e<=s.CODE_POINTS.LATIN_CAPITAL_F}function m(e){return e>=s.CODE_POINTS.LATIN_SMALL_A&&e<=s.CODE_POINTS.LATIN_SMALL_F}function _(e){return e+32}function y(e){return e===s.CODE_POINTS.SPACE||e===s.CODE_POINTS.LINE_FEED||e===s.CODE_POINTS.TABULATION||e===s.CODE_POINTS.FORM_FEED}function E(e){return y(e)||e===s.CODE_POINTS.SOLIDUS||e===s.CODE_POINTS.GREATER_THAN_SIGN}!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(c||(c={})),t.TokenizerMode={DATA:c.DATA,RCDATA:c.RCDATA,RAWTEXT:c.RAWTEXT,SCRIPT_DATA:c.SCRIPT_DATA,PLAINTEXT:c.PLAINTEXT,CDATA_SECTION:c.CDATA_SECTION},t.Tokenizer=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=c.DATA,this.returnState=c.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new n.Preprocessor(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,r;null===(r=(t=this.handler).onParseError)||void 0===r||r.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(o.ERR.endTagWithAttributes),e.selfClosing&&this._err(o.ERR.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case i.TokenType.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case i.TokenType.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case i.TokenType.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:i.TokenType.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=y(e)?i.TokenType.WHITESPACE_CHARACTER:e===s.CODE_POINTS.NULL?i.TokenType.NULL_CHARACTER:i.TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(i.TokenType.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,r=0,n=!1;for(let o=0,l=a.htmlDecodeTree[0];o>=0&&(o=(0,a.determineBranch)(a.htmlDecodeTree,l,o+1,e),!(o<0));e=this._consume()){r+=1,l=a.htmlDecodeTree[o];const u=l&a.BinTrieFlags.VALUE_LENGTH;if(u){const l=(u>>14)-1;if(e!==s.CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===s.CODE_POINTS.EQUALS_SIGN||f(i))?(t=[s.CODE_POINTS.AMPERSAND],o+=l):(t=0===l?[a.htmlDecodeTree[o]&~a.BinTrieFlags.VALUE_LENGTH]:1===l?[a.htmlDecodeTree[++o]]:[a.htmlDecodeTree[++o],a.htmlDecodeTree[++o]],r=0,n=e!==s.CODE_POINTS.SEMICOLON),0===l){this._consume();break}}}var i;return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(o.ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===c.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===c.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===c.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case c.DATA:this._stateData(e);break;case c.RCDATA:this._stateRcdata(e);break;case c.RAWTEXT:this._stateRawtext(e);break;case c.SCRIPT_DATA:this._stateScriptData(e);break;case c.PLAINTEXT:this._statePlaintext(e);break;case c.TAG_OPEN:this._stateTagOpen(e);break;case c.END_TAG_OPEN:this._stateEndTagOpen(e);break;case c.TAG_NAME:this._stateTagName(e);break;case c.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case c.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case c.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case c.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case c.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case c.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case c.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case c.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case c.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case c.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case c.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case c.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case c.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case c.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case c.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case c.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case c.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case c.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case c.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case c.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case c.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case c.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case c.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case c.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case c.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case c.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case c.BOGUS_COMMENT:this._stateBogusComment(e);break;case c.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case c.COMMENT_START:this._stateCommentStart(e);break;case c.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case c.COMMENT:this._stateComment(e);break;case c.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case c.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case c.COMMENT_END:this._stateCommentEnd(e);break;case c.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case c.DOCTYPE:this._stateDoctype(e);break;case c.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case c.DOCTYPE_NAME:this._stateDoctypeName(e);break;case c.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case c.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case c.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case c.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case c.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case c.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case c.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case c.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case c.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case c.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case c.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case c.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case c.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case c.CDATA_SECTION:this._stateCdataSection(e);break;case c.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case c.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case c.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case c.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case c.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case c.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case c.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case c.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case c.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case c.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.TAG_OPEN;break;case s.CODE_POINTS.AMPERSAND:this.returnState=c.DATA,this.state=c.CHARACTER_REFERENCE;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitCodePoint(e);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case s.CODE_POINTS.AMPERSAND:this.returnState=c.RCDATA,this.state=c.CHARACTER_REFERENCE;break;case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.RCDATA_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.RAWTEXT_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.SCRIPT_DATA_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(p(e))this._createStartTagToken(),this.state=c.TAG_NAME,this._stateTagName(e);else switch(e){case s.CODE_POINTS.EXCLAMATION_MARK:this.state=c.MARKUP_DECLARATION_OPEN;break;case s.CODE_POINTS.SOLIDUS:this.state=c.END_TAG_OPEN;break;case s.CODE_POINTS.QUESTION_MARK:this._err(o.ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=c.BOGUS_COMMENT,this._stateBogusComment(e);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(o.ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=c.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(p(e))this._createEndTagToken(),this.state=c.TAG_NAME,this._stateTagName(e);else switch(e){case s.CODE_POINTS.GREATER_THAN_SIGN:this._err(o.ERR.missingEndTagName),this.state=c.DATA;break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofBeforeTagName),this._emitChars("");break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this.state=c.SCRIPT_DATA_ESCAPED,this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=c.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===s.CODE_POINTS.SOLIDUS?this.state=c.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:p(e)?(this._emitChars("<"),this.state=c.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=c.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){p(e)?(this.state=c.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===s.CODE_POINTS.SOLIDUS?(this.state=c.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(s.SEQUENCES.SCRIPT,!1)&&E(this.preprocessor.peek(s.SEQUENCES.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(o.ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=s.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,s.isSurrogate)(this.charRefCode))this._err(o.ERR.surrogateCharacterReference),this.charRefCode=s.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,s.isUndefinedCodePoint)(this.charRefCode))this._err(o.ERR.noncharacterCharacterReference);else if((0,s.isControlCodePoint)(this.charRefCode)||this.charRefCode===s.CODE_POINTS.CARRIAGE_RETURN){this._err(o.ERR.controlCharacterReference);const e=u.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}},70601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Preprocessor=void 0;const n=r(6746),s=r(13246);t.Preprocessor=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:r,offset:n}=this;return{code:e,startLine:t,endLine:t,startCol:r,endCol:r,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if((0,n.isSurrogatePair)(t))return this.pos++,this._addGap(),(0,n.getSurrogatePairCodePoint)(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,n.CODE_POINTS.EOF;return this._err(s.ERR.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,n.CODE_POINTS.EOF;const r=this.html.charCodeAt(t);return r===n.CODE_POINTS.CARRIAGE_RETURN?n.CODE_POINTS.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,n.CODE_POINTS.EOF;let e=this.html.charCodeAt(this.pos);return e===n.CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,n.CODE_POINTS.LINE_FEED):e===n.CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,(0,n.isSurrogate)(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===n.CODE_POINTS.LINE_FEED||e===n.CODE_POINTS.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){(0,n.isControlCodePoint)(e)?this._err(s.ERR.controlCharacterInInputStream):(0,n.isUndefinedCodePoint)(e)&&this._err(s.ERR.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTreeAdapter=void 0;const n=r(96854);function s(e){return{nodeName:"#text",value:e,parentNode:null}}t.defaultTreeAdapter={createDocument:()=>({nodeName:"#document",mode:n.DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,r,n,s){const i=e.childNodes.find((e=>"#documentType"===e.nodeName));if(i)i.name=r,i.publicId=n,i.systemId=s;else{const i={nodeName:"#documentType",name:r,publicId:n,systemId:s,parentNode:null};t.defaultTreeAdapter.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(t.defaultTreeAdapter.isTextNode(n))return void(n.value+=r)}t.defaultTreeAdapter.appendChild(e,s(r))},insertTextBefore(e,r,n){const i=e.childNodes[e.childNodes.indexOf(n)-1];i&&t.defaultTreeAdapter.isTextNode(i)?i.value+=r:t.defaultTreeAdapter.insertBefore(e,s(r),n)},adoptAttributes(e,t){const r=new Set(e.attrs.map((e=>e.name)));for(let n=0;ne.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=Object.assign(Object.assign({},e.sourceCodeLocation),t)}}},79004:e=>{"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},33523:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},53082:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},23195:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},61210:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},42968:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},23042:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},60317:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},51373:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnalysisWebWorker",{enumerable:!0,get:function(){return t.AnalysisWebWorker}}),Object.defineProperty(e,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return t.AnalysisWorkerWrapper}}),Object.defineProperty(e,"App",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Assessment",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"AssessmentResult",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"Assessor",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ContentAssessor",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"DIFFICULTY",{enumerable:!0,get:function(){return v.DIFFICULTY}}),Object.defineProperty(e,"Factory",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Paper",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"Pluggable",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"SeoAssessor",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"SnippetPreview",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"TaxonomyAssessor",{enumerable:!0,get:function(){return m.default}}),e.config=e.bundledPlugins=e.assessments=void 0,Object.defineProperty(e,"createWorker",{enumerable:!0,get:function(){return t.createWorker}}),e.values=e.markers=e.languageProcessing=e.interpreters=e.helpers=e.default=void 0;var t=r(77687),s=O(r(43947));e.assessments=s;var i=O(r(74059));e.bundledPlugins=i;var a=O(r(49061));e.helpers=a;var o=O(r(84476));e.markers=o;var l=O(r(80572));e.interpreters=l;var u=O(r(78035));e.config=u;var c=O(r(58677));e.languageProcessing=c;var d=O(r(73728));e.values=d;var h=S(r(12552)),p=S(r(25859)),f=S(r(70021)),g=S(r(63745)),m=S(r(74437)),_=S(r(20019)),y=S(r(4914)),E=S(r(82304)),T=S(r(73054)),A=S(r(9017)),v=r(82163),b=S(r(52453));function S(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(I=function(e){return e?r:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=I(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}e.default={App:h.default,Assessor:p.default,ContentAssessor:f.default,TaxonomyAssessor:m.default,Pluggable:_.default,SnippetPreview:y.default,Paper:E.default,AssessmentResult:T.default,AnalysisWebWorker:t.AnalysisWebWorker,AnalysisWorkerWrapper:t.AnalysisWorkerWrapper,createWorker:t.createWorker,assessments:s,bundledPlugins:i,config:u,helpers:a,markers:o,interpreters:l,languageProcessing:c,values:d}})(),(window.yoast=window.yoast||{}).analysis=n})(); \ No newline at end of file +(0,o.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),r.identifier,e))}return n},h.prototype.getValidResults=function(){return(0,l.filter)(this.results,function(e){return this.isValidResult(e)}.bind(this))},h.prototype.isValidResult=function(e){return e.hasScore()&&e.hasText()},h.prototype.calculateOverallScore=function(){const e=this.getValidResults(),t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(t/(9*e.length)*100)||0},h.prototype.addAssessment=function(e,t){return t.hasOwnProperty("identifier")||(t.identifier=e),this.getAssessment(t.identifier)&&this.removeAssessment(t.identifier),this._assessments.push(t),!0},h.prototype.removeAssessment=function(e){const t=(0,l.findIndex)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}));-1!==t&&this._assessments.splice(t,1)},h.prototype.getAssessment=function(e){return(0,l.find)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}))},h.prototype.getApplicableAssessments=function(){const e=this.getAvailableAssessments();return(0,l.filter)(e,function(e){return this.isApplicable(e,this.getPaper(),this._researcher)}.bind(this))},t.default=h},70021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(25859)),s=p(r(40774)),i=p(r(86089)),a=p(r(7261)),o=p(r(62318)),l=p(r(25636)),u=p(r(38196)),c=p(r(35780)),d=p(r(17413)),h=r(92819);function p(e){return e&&e.__esModule?e:{default:e}}const f=function(e,t={}){n.default.call(this,e,t),this.type="contentAssessor",this._assessments=[new a.default,new s.default,new i.default,new o.default,new l.default,new c.default,new u.default]};r(89539).inherits(f,n.default),f.prototype.calculatePenaltyPointsFullSupport=function(e){switch(e){case"bad":return 3;case"ok":return 2;default:return 0}},f.prototype.calculatePenaltyPointsPartialSupport=function(e){switch(e){case"bad":return 4;case"ok":return 2;default:return 0}},f.prototype._allAssessmentsSupported=function(){const e=this._assessments.length;return this.getApplicableAssessments().length===e},f.prototype.calculatePenaltyPoints=function(){const e=this.getValidResults(),t=(0,h.map)(e,function(e){const t=(0,d.default)(e.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(t):this.calculatePenaltyPointsPartialSupport(t)}.bind(this));return(0,h.sum)(t)},f.prototype._ratePenaltyPoints=function(e){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(e>6)return 30;if(e>4)return 60}else{if(e>4)return 30;if(e>2)return 60}return 90},f.prototype.calculateOverallScore=function(){if(0===this.getValidResults().length)return 30;const e=this.calculatePenaltyPoints();return this._ratePenaltyPoints(e)},t.default=f},93334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h(r(25859)),s=h(r(70021)),i=h(r(40774)),a=h(r(86089)),o=h(r(7261)),l=h(r(62318)),u=h(r(25636)),c=h(r(38196)),d=h(r(35780));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t={}){n.default.call(this,e,t),this.type="cornerstoneContentAssessor",this._assessments=[new o.default({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},applicableIfTextLongerThan:250,cornerstoneContent:!0}),new i.default,new a.default({slightlyTooMany:20,farTooMany:25},!0),new l.default,new u.default,new d.default,new c.default]};r(89539).inherits(p,s.default),t.default=p},55122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=h(r(25859)),i=h(r(90575)),a=h(r(99815)),o=h(r(70966)),l=h(r(34847)),u=h(r(69360)),c=h(r(36832)),d=h(r(8980));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t){s.default.call(this,e,t),this.type="cornerstoneRelatedKeywordAssessor",this._assessments=[new i.default,new a.default({isRelatedKeyphrase:!0}),new o.default,new l.default,new u.default,new c.default,new d.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}})]};(0,n.inherits)(p,s.default),t.default=p},47899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=b(r(90575)),i=b(r(99815)),a=b(r(70966)),o=b(r(34847)),l=b(r(69360)),u=b(r(92922)),c=b(r(46787)),d=b(r(80009)),h=b(r(25859)),p=b(r(63745)),f=b(r(70476)),g=b(r(17915)),m=b(r(8980)),_=b(r(38754)),y=b(r(57480)),E=b(r(27661)),T=b(r(46430)),A=b(r(36832)),v=b(r(47502));function b(e){return e&&e.__esModule?e:{default:e}}const S=function(e,t){h.default.call(this,e,t),this.type="cornerstoneSEOAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new f.default({scores:{tooLong:3,tooShort:3}}),new g.default,new l.default,new m.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}}),new _.default,new y.default({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},cornerstoneContent:!0}),new E.default({scores:{noLinks:3}}),new c.default,new u.default,new T.default({scores:{widthTooShort:9}},!0),new d.default({scores:{okay:3}}),new A.default,new v.default]};(0,n.inherits)(S,p.default),t.default=S},90327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.filter)(e,(function(e){return e.sentenceLength>t}))};var n=r(92819)},76663:(e,t)=>{"use strict";function r(e,t,r){return e>t&&e<=r}function n(e,t,r){return e>=t&&e=t&&e<=r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.inRangeEndInclusive=t.inRange=r,t.inRangeStartEndInclusive=s,t.inRangeStartInclusive=n,t.default={inRange:r,inRangeStartInclusive:n,inRangeEndInclusive:r,inRangeStartEndInclusive:s}},4913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return.7+e/3}},68055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i,a){const o=a?a(e.getText()).length:(0,n.default)(e).length;if(0===o)return 0;const l=r*o/(100*(0,s.default)(t));return l<2?2:"min"===i?Math.ceil(l):Math.floor(l)};var n=i(r(60914)),s=i(r(4913));function i(e){return e&&e.__esModule?e:{default:e}}},97679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(25859)),s=a(r(90529)),i=a(r(96682));function a(e){return e&&e.__esModule?e:{default:e}}const o={infoLinks:{}};class l extends n.default{constructor(e,t={}){super(e,t),this.type="inclusiveLanguageAssessor",this._options=Object.assign({},o,t);const r=this._options.infoLinks;this._assessments=s.default.map((e=>(r[e.category]&&(e.learnMoreUrl=r[e.category]),new i.default(e))))}calculateOverallScore(){const e=this.getValidResults(),t=e.filter((e=>6===e.getScore()));return e.filter((e=>3===e.getScore())).length>=1?30:t.length>=1?60:90}}t.default=l},80572:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"scoreToRating",{enumerable:!0,get:function(){return s.default}});var n,s=(n=r(17413))&&n.__esModule?n:{default:n}},17413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return-1===e?"error":0===e?"feedback":e<=4?"bad":e>4&&e<=7?"ok":e>7?"good":""}},12028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=h(r(25859)),i=h(r(90575)),a=h(r(99815)),o=h(r(70966)),l=h(r(34847)),u=h(r(8980)),c=h(r(69360)),d=h(r(36832));function h(e){return e&&e.__esModule?e:{default:e}}const p=function(e,t){s.default.call(this,e,t),this.type="relatedKeywordAssessor",this._assessments=[new i.default,new a.default({isRelatedKeyphrase:!0}),new o.default,new l.default,new c.default,new d.default,new u.default]};(0,n.inherits)(p,s.default),t.default=p},88533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=c(r(90575)),i=c(r(99815)),a=c(r(70966)),o=c(r(34847)),l=c(r(25859)),u=c(r(36832));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(e,t){l.default.call(this,e,t),this.type="relatedKeywordsTaxonomyAssessor",this._assessments=[new s.default,new i.default({isRelatedKeyphrase:!0}),new a.default,new o.default,new u.default]};(0,n.inherits)(d,l.default),t.default=d},4855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819),s=a(r(17413)),i=a(r(1456));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(e){this.keyword=e.keyword,this.assessor=e.assessor,this.output=e.targets.output,this.overall=e.targets.overall||"overallScore",this.presenterConfig=(0,i.default)(),this._disableMarkerButtons=!1,this._activeMarker=!1};o.prototype.setKeyword=function(e){this.keyword=e},o.prototype.configHasProperty=function(e){return this.presenterConfig.hasOwnProperty(e)},o.prototype.getIndicator=function(e){return{className:this.getIndicatorColorClass(e),screenReaderText:this.getIndicatorScreenReaderText(e),fullText:this.getIndicatorFullText(e),screenReaderReadabilityText:this.getIndicatorScreenReaderReadabilityText(e)}},o.prototype.getIndicatorColorClass=function(e){return this.configHasProperty(e)?this.presenterConfig[e].className:""},o.prototype.getIndicatorScreenReaderText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderText:""},o.prototype.getIndicatorScreenReaderReadabilityText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderReadabilityText:""},o.prototype.getIndicatorFullText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].fullText:""},o.prototype.resultToRating=function(e){return(0,n.isObject)(e)?(e.rating=(0,s.default)(e.score),e):""},o.prototype.getIndividualRatings=function(){var e={},t=this.sort(this.assessor.getValidResults()).map(this.resultToRating);return(0,n.forEach)(t,function(t,r){e[r]=this.addRating(t)}.bind(this)),e},o.prototype.excludeFromResults=function(e,t){return(0,n.difference)(e,t)},o.prototype.sort=function(e){var t=this.getUndefinedScores(e),r=this.excludeFromResults(e,t);return r.sort((function(e,t){return e.score-t.score})),t.concat(r)},o.prototype.getUndefinedScores=function(e){return e.filter((function(e){return(0,n.isUndefined)(e.score)||0===e.score}))},o.prototype.addRating=function(e){var t=this.getIndicator(e.rating);return t.text=e.text,t.identifier=e.getIdentifier(),e.hasMarker()&&(t.marker=e.getMarker()),t},o.prototype.getOverallRating=function(e){var t=0;return""===this.keyword||(0,n.isNumber)(e)&&(t=e/10),this.resultToRating({score:t})},o.prototype.markAssessment=function(e,t){this._activeMarker===e?(this.removeAllMarks(),this._activeMarker=!1):(t(),this._activeMarker=e),this.render()},o.prototype.disableMarker=function(){this._activeMarker=!1,this.render()},o.prototype.disableMarkerButtons=function(){this._disableMarkerButtons=!0,this.render()},o.prototype.enableMarkerButtons=function(){this._disableMarkerButtons=!1,this.render()},o.prototype.addMarkerEventHandler=function(e,t){document.getElementById(this.output).getElementsByClassName("js-assessment-results__mark-"+e)[0].addEventListener("click",this.markAssessment.bind(this,e,t))},o.prototype.render=function(){this.renderIndividualRatings(),this.renderOverallRating()},o.prototype.bindMarkButtons=function(e){(0,n.forEach)(e,function(e){e.hasOwnProperty("marker")&&this.addMarkerEventHandler(e.identifier,e.marker)}.bind(this))},o.prototype.removeAllMarks=function(){this.assessor.getSpecificMarker()(this.assessor.getPaper(),[])},o.prototype.renderIndividualRatings=function(){},o.prototype.renderOverallRating=function(){var e=this.getOverallRating(this.assessor.calculateOverallScore()),t=document.getElementById(this.overall);t&&(t.className="overallScore "+this.getIndicatorColorClass(e.rating))},t.default=o},9286:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.READABILITY_SCORES=void 0;var n=a(r(67404)),s=r(80572),i=a(r(34115));function a(e){return e&&e.__esModule?e:{default:e}}const o={bad:3,ok:2,good:0},l={bad:4,ok:2,good:0},u=t.READABILITY_SCORES={GOOD:90,OKAY:60,NEEDS_IMPROVEMENT:30,NOT_AVAILABLE:0},c=["en","nl","de","it","ru","fr","es"];class d extends i.default{isFullySupported(e){if(e&&e.includes("_")){const t=(0,n.default)(e);return c.includes(t)}return!1}calculateScore(e,t){if(e){if(t>6)return u.NEEDS_IMPROVEMENT;if(t>4)return u.OKAY}else{if(t>4)return u.NEEDS_IMPROVEMENT;if(t>2)return u.OKAY}return u.GOOD}calculatePenalty(e){return e.reduce(((e,t)=>{const r=(0,s.scoreToRating)(t.getScore()),n=this.isFullySupported(this.locale)?o[r]:l[r];return n?e+n:e}),0)}getValidResults(e){return e.filter((e=>e.hasScore()&&e.hasText()))}setLocale(e){this.locale=e}aggregate(e){const t=this.getValidResults(e);if(t.length<=1)return u.NOT_AVAILABLE;const r=this.calculatePenalty(t),n=this.isFullySupported(this.locale);return this.calculateScore(n,r)}}t.default=d},50734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(34115))&&n.__esModule?n:{default:n};class i extends s.default{aggregate(e){const t=e.reduce(((e,t)=>e+t.getScore()),0);return Math.round(100*t/(9*e.length))||0}}t.default=i},34115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{aggregate(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}}},83819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReadabilityScoreAggregator",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SEOScoreAggregator",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ScoreAggregator",{enumerable:!0,get:function(){return s.default}});var n=a(r(9286)),s=a(r(34115)),i=a(r(50734));function a(e){return e&&e.__esModule?e:{default:e}}},63745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(89539),s=v(r(90575)),i=v(r(99815)),a=v(r(70966)),o=v(r(34847)),l=v(r(69360)),u=v(r(92922)),c=v(r(46787)),d=v(r(80009)),h=v(r(25859)),p=v(r(70476)),f=v(r(17915)),g=v(r(8980)),m=v(r(38754)),_=v(r(57480)),y=v(r(27661)),E=v(r(46430)),T=v(r(36832)),A=v(r(47502));function v(e){return e&&e.__esModule?e:{default:e}}const b=function(e,t){h.default.call(this,e,t),this.type="SEOAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new p.default,new f.default,new l.default,new g.default,new m.default,new _.default,new y.default,new c.default,new u.default,new E.default({scores:{widthTooShort:9}},!0),new d.default,new T.default,new A.default]};(0,n.inherits)(b,h.default),t.default=b},74437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTextLengthAssessment=t.default=void 0;var n=r(89539),s=_(r(90575)),i=_(r(99815)),a=_(r(70966)),o=_(r(34847)),l=_(r(46787)),u=_(r(80009)),c=_(r(25859)),d=_(r(70476)),h=_(r(57480)),p=_(r(46430)),f=_(r(36832)),g=_(r(47502)),m=r(49061);function _(e){return e&&e.__esModule?e:{default:e}}const y=function(){return new h.default({recommendedMinimum:30,slightlyBelowMinimum:10,veryFarBelowMinimum:1,urlTitle:(0,m.createAnchorOpeningTag)("https://yoa.st/34j"),urlCallToAction:(0,m.createAnchorOpeningTag)("https://yoa.st/34k"),customContentType:"taxonomyAssessor"})};t.getTextLengthAssessment=y;const E=function(e,t){c.default.call(this,e,t),this.type="taxonomyAssessor",this._assessments=[new s.default,new i.default,new a.default,new o.default,new d.default,y(),new l.default,new p.default({scores:{widthTooShort:9}},!0),new u.default,new f.default,new g.default]};(0,n.inherits)(E,c.default),t.default=E},73054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(41054))&&n.__esModule?n:{default:n},a=function(){return[]},o=function(e){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._hasJumps=!1,this._hasEditFieldName=!1,this._marker=a,this._hasBetaBadge=!1,this.score=0,this.text="",this.marks=[],this.editFieldName="",(0,s.isUndefined)(e)&&(e={}),(0,s.isUndefined)(e.score)||this.setScore(e.score),(0,s.isUndefined)(e.text)||this.setText(e.text),(0,s.isUndefined)(e.marks)||this.setMarks(e.marks),(0,s.isUndefined)(e._hasBetaBadge)||this.setHasBetaBadge(e._hasBetaBadge),(0,s.isUndefined)(e._hasJumps)||this.setHasJumps(e._hasJumps),(0,s.isUndefined)(e.editFieldName)||this.setEditFieldName(e.editFieldName)};o.prototype.hasScore=function(){return this._hasScore},o.prototype.getScore=function(){return this.score},o.prototype.setScore=function(e){(0,s.isNumber)(e)&&(this.score=e,this._hasScore=!0)},o.prototype.hasText=function(){return""!==this.text},o.prototype.getText=function(){return this.text},o.prototype.setText=function(e){(0,s.isUndefined)(e)&&(e=""),this.text=e},o.prototype.getMarks=function(){return this.marks},o.prototype.setMarks=function(e){(0,s.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)},o.prototype.setIdentifier=function(e){this._identifier=e},o.prototype.getIdentifier=function(){return this._identifier},o.prototype.setMarker=function(e){this._marker=e},o.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},o.prototype.getMarker=function(){return this._marker},o.prototype.setHasMarks=function(e){this._hasMarks=e},o.prototype.hasMarks=function(){return this._hasMarks},o.prototype.setHasBetaBadge=function(e){this._hasBetaBadge=e},o.prototype.hasBetaBadge=function(){return this._hasBetaBadge},o.prototype.setHasJumps=function(e){this._hasJumps=e},o.prototype.hasJumps=function(){return this._hasJumps},o.prototype.hasEditFieldName=function(){return this._hasEditFieldName},o.prototype.getEditFieldName=function(){return this.editFieldName},o.prototype.setEditFieldName=function(e){""!==e&&(this.editFieldName=e,this._hasEditFieldName=!0)},o.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map((e=>e.serialize())),_hasBetaBadge:this._hasBetaBadge,_hasJumps:this._hasJumps,editFieldName:this.editFieldName}},o.parse=function(e){const t=new o({text:e.text,score:e.score,marks:e.marks.map((e=>i.default.parse(e))),_hasBetaBadge:e._hasBetaBadge,_hasJumps:e._hasJumps,editFieldName:e.editFieldName});return t.setIdentifier(e.identifier),t},t.default=o},41054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);function s(e){(0,n.defaults)(e,{original:"",marked:"",fieldsToMark:[]}),this._properties=e,this.isValid()}s.prototype.getOriginal=function(){return this._properties.original},s.prototype.getMarked=function(){return this._properties.marked},s.prototype.getFieldsToMark=function(){return this._properties.fieldsToMark},s.prototype.getPosition=function(){return this._properties.position},s.prototype.getPositionStart=function(){return this._properties.position&&this._properties.position.startOffset},s.prototype.getPositionEnd=function(){return this._properties.position&&this._properties.position.endOffset},s.prototype.setPositionStart=function(e){this._properties.position.startOffset=e},s.prototype.setPositionEnd=function(e){this._properties.position.endOffset=e},s.prototype.setBlockPositionStart=function(e){this._properties.position.startOffsetBlock=e},s.prototype.setBlockPositionEnd=function(e){this._properties.position.endOffsetBlock=e},s.prototype.getBlockClientId=function(){return this._properties.position&&this._properties.position.clientId},s.prototype.getBlockAttributeId=function(){return this._properties.position&&this._properties.position.attributeId},s.prototype.isMarkForFirstBlockSection=function(){return this._properties.position&&this._properties.position.isFirstSection},s.prototype.getBlockPositionStart=function(){return this._properties.position&&this._properties.position.startOffsetBlock},s.prototype.getBlockPositionEnd=function(){return this._properties.position&&this._properties.position.endOffsetBlock},s.prototype.applyWithReplace=function(e){return e.split(this._properties.original).join(this._properties.marked)},s.prototype.applyWithPosition=function(e){const t=this.getPositionEnd()+35;return(e=e.substring(0,this.getPositionStart())+""+e.substring(this.getPositionStart())).substring(0,t)+""+e.substring(t)},s.prototype.serialize=function(){return{_parseClass:"Mark",...this._properties}},s.prototype.isValid=function(){if(!(0,n.isUndefined)(this.getPositionStart())&&this.getPositionStart()<0)throw new RangeError("positionStart should be larger or equal than 0.");if(!(0,n.isUndefined)(this.getPositionEnd())&&this.getPositionEnd()<=0)throw new RangeError("positionEnd should be larger than 0.");if(!(0,n.isUndefined)(this.getPositionStart())&&!(0,n.isUndefined)(this.getPositionEnd())&&this.getPositionStart()>=this.getPositionEnd())throw new RangeError("The positionStart should be smaller than the positionEnd.");if((0,n.isUndefined)(this.getPositionStart())&&!(0,n.isUndefined)(this.getPositionEnd())||(0,n.isUndefined)(this.getPositionEnd())&&!(0,n.isUndefined)(this.getPositionStart()))throw new Error("A mark object should either have start and end defined or start and end undefined.")},s.prototype.hasPosition=function(){return!(0,n.isUndefined)(this.getPositionStart())},s.prototype.hasBlockPosition=function(){return!(0,n.isUndefined)(this.getBlockPositionStart())},s.parse=function(e){return delete e._parseClass,new s(e)},t.default=s},82304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);const s={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,slug:"",locale:"en_US",permalink:"",date:"",customData:{},textTitle:"",writingDirection:"LTR"};function i(e,t){this._text=e||"",this._tree=null,t=t||{},(0,n.defaults)(t,s),""===t.locale&&(t.locale=s.locale),t.hasOwnProperty("url")&&(console.warn("The 'url' attribute is deprecated, use 'slug' instead."),t.slug=t.url||t.slug);const r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\u0026\s]/g,"");(0,n.isEmpty)(r)&&(t.keyword=s.keyword),this._attributes=t}i.prototype.hasKeyword=function(){return""!==this._attributes.keyword},i.prototype.getKeyword=function(){return this._attributes.keyword},i.prototype.hasSynonyms=function(){return""!==this._attributes.synonyms},i.prototype.getSynonyms=function(){return this._attributes.synonyms},i.prototype.hasText=function(){return""!==this._text},i.prototype.getText=function(){return this._text},i.prototype.setTree=function(e){this._tree=e},i.prototype.getTree=function(){return this._tree},i.prototype.hasDescription=function(){return""!==this._attributes.description},i.prototype.getDescription=function(){return this._attributes.description},i.prototype.hasTitle=function(){return""!==this._attributes.title},i.prototype.getTitle=function(){return this._attributes.title},i.prototype.hasTitleWidth=function(){return 0!==this._attributes.titleWidth},i.prototype.getTitleWidth=function(){return this._attributes.titleWidth},i.prototype.hasSlug=function(){return""!==this._attributes.slug},i.prototype.getSlug=function(){return this._attributes.slug},i.prototype.hasUrl=function(){return console.warn("This function is deprecated, use hasSlug instead"),this.hasSlug()},i.prototype.getUrl=function(){return console.warn("This function is deprecated, use getSlug instead"),this.getSlug()},i.prototype.hasLocale=function(){return""!==this._attributes.locale},i.prototype.getLocale=function(){return this._attributes.locale},i.prototype.getWritingDirection=function(){return this._attributes.writingDirection},i.prototype.hasPermalink=function(){return""!==this._attributes.permalink},i.prototype.getPermalink=function(){return this._attributes.permalink},i.prototype.hasDate=function(){return""!==this._attributes.date},i.prototype.getDate=function(){return this._attributes.date},i.prototype.hasCustomData=function(){return!(0,n.isEmpty)(this._attributes.customData)},i.prototype.getCustomData=function(){return this._attributes.customData},i.prototype.hasTextTitle=function(){return""!==this._attributes.textTitle&&!(0,n.isNil)(this._attributes.textTitle)},i.prototype.getTextTitle=function(){return this._attributes.textTitle},i.prototype.serialize=function(){return{_parseClass:"Paper",text:this._text,...this._attributes}},i.prototype.equals=function(e){return this._text===e.getText()&&(0,n.isEqual)(this._attributes,e._attributes)},i.parse=function(e){if(e instanceof i)return e;const{text:t,_parseClass:r,...n}=e;return new i(t,n)},t.default=i},73728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AssessmentResult",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Mark",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Paper",{enumerable:!0,get:function(){return i.default}});var n=a(r(73054)),s=a(r(41054)),i=a(r(82304));function a(e){return e&&e.__esModule?e:{default:e}}},86912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(14715),s=r(65736),i=r(92819),a=r(2043),o=N(r(63745)),l=N(r(70021)),u=N(r(74437)),c=N(r(82304)),d=N(r(73054)),h=N(r(12028)),p=N(r(97679)),f=r(7104),g=N(r(49781)),m=N(r(93334)),_=N(r(55122)),y=N(r(47899)),E=N(r(62887)),T=N(r(85551)),A=N(r(64495)),v=r(33140),b=N(r(88533)),S=N(r(96224)),I=N(r(46746)),O=N(r(72557)),C=r(83819);function N(e){return e&&e.__esModule?e:{default:e}}const D=(0,a.getLogger)("yoast-analysis-worker");D.setDefaultLevel("error");class w{constructor(e,t){this._scope=e,this._configuration={contentAnalysisActive:!0,keywordAnalysisActive:!0,inclusiveLanguageAnalysisActive:!1,useCornerstone:!1,useTaxonomy:!1,locale:"en_US",customAnalysisType:""},this._scheduler=new S.default,this._paper=null,this._relatedKeywords={},this._researcher=t,this._contentAssessor=null,this._seoAssessor=null,this._relatedKeywordAssessor=null,this.additionalAssessors={},this._inclusiveLanguageOptions={},this._results={readability:{results:[],score:0},seo:{"":{results:[],score:0}},inclusiveLanguage:{results:[],score:0}},this._registeredAssessments=[],this._registeredMessageHandlers={},this._registeredParsers=[],this.setupTreeAnalysis(),this.bindActions(),this.assessRelatedKeywords=this.assessRelatedKeywords.bind(this),this.registerAssessment=this.registerAssessment.bind(this),this.registerMessageHandler=this.registerMessageHandler.bind(this),this.refreshAssessment=this.refreshAssessment.bind(this),this.setCustomContentAssessorClass=this.setCustomContentAssessorClass.bind(this),this.setCustomCornerstoneContentAssessorClass=this.setCustomCornerstoneContentAssessorClass.bind(this),this.setCustomSEOAssessorClass=this.setCustomSEOAssessorClass.bind(this),this.setCustomCornerstoneSEOAssessorClass=this.setCustomCornerstoneSEOAssessorClass.bind(this),this.setCustomRelatedKeywordAssessorClass=this.setCustomRelatedKeywordAssessorClass.bind(this),this.setCustomCornerstoneRelatedKeywordAssessorClass=this.setCustomCornerstoneRelatedKeywordAssessorClass.bind(this),this.registerAssessor=this.registerAssessor.bind(this),this.registerResearch=this.registerResearch.bind(this),this.registerHelper=this.registerHelper.bind(this),this.registerResearcherConfig=this.registerResearcherConfig.bind(this),this.setInclusiveLanguageOptions=this.setInclusiveLanguageOptions.bind(this),this.handleMessage=this.handleMessage.bind(this),this.analyzeRelatedKeywords=(0,O.default)(D,this.analyze,"An error occurred while running the related keywords analysis."),this.analyze=(0,O.default)(D,this.analyze,"An error occurred while running the analysis."),this.runResearch=(0,O.default)(D,this.runResearch,"An error occurred after running the '%%name%%' research.")}bindActions(){this.analyze=this.analyze.bind(this),this.analyzeDone=this.analyzeDone.bind(this),this.analyzeRelatedKeywordsDone=this.analyzeRelatedKeywordsDone.bind(this),this.loadScript=this.loadScript.bind(this),this.loadScriptDone=this.loadScriptDone.bind(this),this.customMessage=this.customMessage.bind(this),this.customMessageDone=this.customMessageDone.bind(this),this.clearCache=this.clearCache.bind(this),this.runResearch=this.runResearch.bind(this),this.runResearchDone=this.runResearchDone.bind(this)}setCustomContentAssessorClass(e,t,r){this._CustomContentAssessorClasses[t]=e,this._CustomContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomCornerstoneContentAssessorClass(e,t,r){this._CustomCornerstoneContentAssessorClasses[t]=e,this._CustomCornerstoneContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomSEOAssessorClass(e,t,r){this._CustomSEOAssessorClasses[t]=e,this._CustomSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomCornerstoneSEOAssessorClass(e,t,r){this._CustomCornerstoneSEOAssessorClasses[t]=e,this._CustomCornerstoneSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomRelatedKeywordAssessorClass(e,t,r){this._CustomRelatedKeywordAssessorClasses[t]=e,this._CustomRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setCustomCornerstoneRelatedKeywordAssessorClass(e,t,r){this._CustomCornerstoneRelatedKeywordAssessorClasses[t]=e,this._CustomCornerstoneRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setInclusiveLanguageOptions(e){this._inclusiveLanguageOptions=e}setupTreeAnalysis(){this._treeResearcher=null,this._contentTreeAssessor=null,this._seoTreeAssessor=null,this._relatedKeywordTreeAssessor=null,this._CustomSEOAssessorClasses={},this._CustomCornerstoneSEOAssessorClasses={},this._CustomContentAssessorClasses={},this._CustomCornerstoneContentAssessorClasses={},this._CustomRelatedKeywordAssessorClasses={},this._CustomCornerstoneRelatedKeywordAssessorClasses={},this._CustomSEOAssessorOptions={},this._CustomCornerstoneSEOAssessorOptions={},this._CustomContentAssessorOptions={},this._CustomCornerstoneContentAssessorOptions={},this._CustomRelatedKeywordAssessorOptions={},this._CustomCornerstoneRelatedKeywordAssessorOptions={},this._registeredTreeAssessments=[],this._seoScoreAggregator=new C.SEOScoreAggregator,this._contentScoreAggregator=new C.ReadabilityScoreAggregator,this._tree=null,this._treeBuilder=null}register(){this._scope.onmessage=this.handleMessage,this._scope.analysisWorker=this}handleMessage({data:{type:e,id:t,payload:r}}){switch(r=I.default.parse(r),D.debug("AnalysisWebWorker incoming:",e,t,r),e){case"initialize":this.initialize(t,r),this._scheduler.startPolling();break;case"analyze":this._scheduler.schedule({id:t,execute:this.analyze,done:this.analyzeDone,data:r,type:e});break;case"analyzeRelatedKeywords":this._scheduler.schedule({id:t,execute:this.analyzeRelatedKeywords,done:this.analyzeRelatedKeywordsDone,data:r,type:e});break;case"loadScript":this._scheduler.schedule({id:t,execute:this.loadScript,done:this.loadScriptDone,data:r,type:e});break;case"runResearch":this._scheduler.schedule({id:t,execute:this.runResearch,done:this.runResearchDone,data:r});break;case"customMessage":{const n=r.name;if(n&&this._registeredMessageHandlers[n]){this._scheduler.schedule({id:t,execute:this.customMessage,done:this.customMessageDone,data:r,type:e});break}this.customMessageDone(t,{error:new Error("No message handler registered for messages with name: "+n)});break}default:console.warn("AnalysisWebWorker unrecognized action:",e)}}createContentAssessor(){const{contentAnalysisActive:e,useCornerstone:t,customAnalysisType:r}=this._configuration;if(!1===e)return null;let n;return!0===t?(n=this._CustomCornerstoneContentAssessorClasses[r]?new this._CustomCornerstoneContentAssessorClasses[r](this._researcher,this._CustomCornerstoneContentAssessorOptions[r]):new m.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"cornerstoneReadability"===r&&n.addAssessment(e,t)}))):(n=this._CustomContentAssessorClasses[r]?new this._CustomContentAssessorClasses[r](this._researcher,this._CustomContentAssessorOptions[r]):new l.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(n.getAssessment(e))&&"readability"===r&&n.addAssessment(e,t)}))),n}createSEOAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:n}=this._configuration;if(!1===e)return null;let s;return s=!0===r?new u.default(this._researcher):!0===t?this._CustomCornerstoneSEOAssessorClasses[n]?new this._CustomCornerstoneSEOAssessorClasses[n](this._researcher,this._CustomCornerstoneSEOAssessorOptions[n]):new y.default(this._researcher):this._CustomSEOAssessorClasses[n]?new this._CustomSEOAssessorClasses[n](this._researcher,this._CustomSEOAssessorOptions[n]):new o.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"seo"===r&&s.addAssessment(e,t)})),s}createInclusiveLanguageAssessor(){const{inclusiveLanguageAnalysisActive:e}=this._configuration;return!1===e?null:new p.default(this._researcher,this._inclusiveLanguageOptions)}createRelatedKeywordsAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:n}=this._configuration;if(!1===e)return null;let s;return s=!0===r?new b.default(this._researcher):!0===t?this._CustomCornerstoneRelatedKeywordAssessorClasses[n]?new this._CustomCornerstoneRelatedKeywordAssessorClasses[n](this._researcher,this._CustomCornerstoneRelatedKeywordAssessorOptions[n]):new _.default(this._researcher):this._CustomRelatedKeywordAssessorClasses[n]?new this._CustomRelatedKeywordAssessorClasses[n](this._researcher,this._CustomRelatedKeywordAssessorOptions[n]):new h.default(this._researcher),this._registeredAssessments.forEach((({name:e,assessment:t,type:r})=>{(0,i.isUndefined)(s.getAssessment(e))&&"relatedKeyphrase"===r&&s.addAssessment(e,t)})),s}send(e,t,r={}){D.debug("AnalysisWebWorker outgoing:",e,t,r),r=I.default.serialize(r),this._scope.postMessage({type:e,id:t,payload:r})}static shouldAssessorsUpdate(e,t=null,r=null,n=null){const s=Object.keys(e);return{readability:(0,i.isNull)(t)||(0,A.default)(s,["contentAnalysisActive","useCornerstone","locale","translations","customAnalysisType"]),seo:(0,i.isNull)(r)||(0,A.default)(s,["keywordAnalysisActive","useCornerstone","useTaxonomy","locale","translations","researchData","customAnalysisType"]),inclusiveLanguage:(0,i.isNull)(n)||(0,A.default)(s,["inclusiveLanguageAnalysisActive","locale","translations"])}}initialize(e,t){const r=w.shouldAssessorsUpdate(t,this._contentAssessor,this._seoAssessor,this._inclusiveLanguageAssessor);(0,i.has)(t,"translations")&&Object.values(t.translations).forEach((e=>{if(e){const{domain:t,locale_data:r}=e;(0,s.setLocaleData)(r[t],t)}})),(0,i.has)(t,"researchData")&&((0,i.forEach)(t.researchData,((e,t)=>{this._researcher.addResearchData(t,e)})),delete t.researchData),(0,i.has)(t,"defaultQueryParams")&&((0,v.configureShortlinker)({params:t.defaultQueryParams}),delete t.defaultQueryParams),(0,i.has)(t,"logLevel")&&(D.setLevel(t.logLevel,!1),delete t.logLevel),(0,i.has)(t,"enabledFeatures")&&((0,n.enableFeatures)(t.enabledFeatures),delete t.enabledFeatures),this._configuration=(0,i.merge)(this._configuration,t),r.readability&&(this._contentAssessor=this.createContentAssessor(),this._contentTreeAssessor=null),r.seo&&(this._seoAssessor=this.createSEOAssessor(),this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()),r.inclusiveLanguage&&(this._inclusiveLanguageAssessor=this.createInclusiveLanguageAssessor()),this.clearCache(),this.send("initialize:done",e)}registerAssessor(e,t,r){const n=new t(this._researcher);this.additionalAssessors[e]={assessor:n,shouldUpdate:r}}registerAssessment(e,t,r,n="seo"){const{useCornerstone:s}=this._configuration;if(!(0,i.isString)(e))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function.");if(!(0,i.isString)(r))throw new E.default("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string.");const a=r+"-"+e;return null!==this._seoAssessor&&"seo"===n&&this._seoAssessor.addAssessment(a,t),null!==this._contentAssessor&&"readability"===n&&this._contentAssessor.addAssessment(a,t),null!==this._contentAssessor&&"cornerstoneReadability"===n&&s&&this._contentAssessor.addAssessment(a,t),null!==this._relatedKeywordAssessor&&"relatedKeyphrase"===n&&this._relatedKeywordAssessor.addAssessment(a,t),this._registeredAssessments.push({combinedName:a,assessment:t,type:n}),this.refreshAssessment(e,r),!0}registerMessageHandler(e,t,r){if(!(0,i.isString)(e))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `handler` to be a function.");if(!(0,i.isString)(r))throw new E.default("Failed to register handler for plugin "+r+". Expected parameter `pluginName` to be a string.");e=r+"-"+e,this._registeredMessageHandlers[e]=t}refreshAssessment(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to refresh assessment for plugin "+t+". Expected parameter `name` to be a string.");if(!(0,i.isString)(t))throw new E.default("Failed to refresh assessment for plugin "+t+". Expected parameter `pluginName` to be a string.");this.clearCache()}registerParser(e){if("function"!=typeof e.isApplicable)throw new E.default("Failed to register the custom parser. Expected parameter 'parser' to have a method 'isApplicable'.");if("function"!=typeof e.parse)throw new E.default("Failed to register the custom parser. Expected parameter 'parser' to have a method 'parse'.");this._registeredParsers.push(e)}clearCache(){this._paper=null}setLocale(e){this._configuration.locale!==e&&(this._configuration.locale=e,this._contentAssessor=this.createContentAssessor())}shouldReadabilityUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getLocale()!==e.getLocale()}shouldInclusiveLanguageUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getTextTitle()!==e.getTextTitle()||this._paper.getLocale()!==e.getLocale()}updateInclusiveLanguageAssessor(e){this._configuration.inclusiveLanguageAnalysisActive&&this._inclusiveLanguageAssessor&&e&&(this._inclusiveLanguageAssessor.assess(this._paper),this._results.inclusiveLanguage={results:this._inclusiveLanguageAssessor.results,score:this._inclusiveLanguageAssessor.calculateOverallScore()})}shouldSeoUpdate(e,{keyword:t,synonyms:r}){return!!(0,i.isUndefined)(this._relatedKeywords[e])||this._relatedKeywords[e].keyword!==t||this._relatedKeywords[e].synonyms!==r}shouldAdditionalAssessorsUpdate(e){const t={};return Object.keys(this.additionalAssessors).forEach((r=>{t[r]=this.additionalAssessors[r].shouldUpdate(this._paper,e)})),t}updateAdditionalAssessors(e){Object.keys(this.additionalAssessors).forEach((t=>{const{assessor:r}=this.additionalAssessors[t];this._results[t]&&!e[t]||(r.assess(this._paper),this._results[t]={results:r.results,score:r.calculateOverallScore()})}))}async analyze(e,{paper:t,relatedKeywords:r={}}){const n=null===this._paper||!this._paper.equals(t),s=this.shouldReadabilityUpdate(t),a=this.shouldInclusiveLanguageUpdate(t),o=this.shouldAdditionalAssessorsUpdate(t);if(n){this._paper=t,this._researcher.setPaper(this._paper);const e=new g.default(this._researcher),r=this._paper._attributes&&this._paper._attributes.shortcodes;this._paper.setTree((0,f.build)(this._paper,e,r)),this.setLocale(this._paper.getLocale())}if(this._configuration.keywordAnalysisActive&&this._seoAssessor&&(n&&(this._results.seo[""]=await this.assess(this._paper,this._tree,{oldAssessor:this._seoAssessor,treeAssessor:this._seoTreeAssessor,scoreAggregator:this._seoScoreAggregator})),!(0,i.isEmpty)(r))){const e=Object.keys(r);(await this.assessRelatedKeywords(t,this._tree,r)).forEach((e=>{this._results.seo[e.key]=e.results})),e.length>1&&(this._results.seo=(0,i.pickBy)(this._results.seo,((t,r)=>(0,i.includes)(e,r)||""===r)))}if(this._configuration.contentAnalysisActive&&this._contentAssessor&&s){const e={oldAssessor:this._contentAssessor,treeAssessor:this._contentTreeAssessor,scoreAggregator:this._contentScoreAggregator};e.scoreAggregator.setLocale(this._configuration.locale),this._results.readability=await this.assess(this._paper,this._tree,e)}return this.updateInclusiveLanguageAssessor(a),this.updateAdditionalAssessors(o),this._results}async assess(e,t,r){const{oldAssessor:n,scoreAggregator:s}=r;n.assess(e);const i=[...n.results];return{results:i,score:s.aggregate(i)}}generateAssessmentError(e){const t=new d.default;return t.setScore(-1),t.setText((0,s.sprintf)(/* translators: %1$s expands to the name of the assessment. */ +(0,s.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),e.name)),t}async assessRelatedKeywords(e,t,r){const n=Object.keys(r);return await Promise.all(n.map((n=>{this._relatedKeywords[n]=r[n];const s=c.default.parse({...e.serialize(),keyword:this._relatedKeywords[n].keyword,synonyms:this._relatedKeywords[n].synonyms}),i={oldAssessor:this._relatedKeywordAssessor,treeAssessor:this._relatedKeywordTreeAssessor,scoreAggregator:this._seoScoreAggregator};return this.assess(s,t,i).then((e=>({key:n,results:e})))})))}loadScript(e,{url:t}){if((0,i.isUndefined)(t))return{loaded:!1,url:t,message:"Load Script was called without an URL."};try{this._scope.importScripts(t)}catch(e){return{loaded:!1,url:t,message:e.message}}return{loaded:!0,url:t}}loadScriptDone(e,t){t.loaded?this.send("loadScript:done",e,t):this.send("loadScript:failed",e,t)}analyzeDone(e,t){t.error?this.send("analyze:failed",e,t):this.send("analyze:done",e,t)}analyzeRelatedKeywordsDone(e,t){t.error?this.send("analyzeRelatedKeywords:failed",e,t):this.send("analyzeRelatedKeywords:done",e,t)}customMessage(e,{name:t,data:r}){try{return{success:!0,data:this._registeredMessageHandlers[t](r)}}catch(e){return{error:e}}}customMessageDone(e,t){t.success?this.send("customMessage:done",e,t.data):this.send("customMessage:failed",t.error)}registerResearch(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom research. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register the custom research. Expected parameter `research` to be a function.");const r=this._researcher;r.hasResearch(e)||r.addResearch(e,t)}runResearch(e,{name:t,paper:r=null}){const n=this._researcher.getData("morphology"),s=this._researcher;if(null!==r&&(s.setPaper(r),s.addResearchData("morphology",n),null===r.getTree())){const e=new g.default(s),t=r._attributes&&r._attributes.shortcodes;r.setTree((0,f.build)(r,e,t))}return s.getResearch(t)}runResearchDone(e,t){t.error?this.send("runResearch:failed",e,t):this.send("runResearch:done",e,t)}registerHelper(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom helper. Expected parameter `name` to be a string.");if(!(0,i.isObject)(t))throw new E.default("Failed to register the custom helper. Expected parameter `helper` to be a function.");const r=this._researcher;r.hasHelper(e)||r.addHelper(e,t)}registerResearcherConfig(e,t){if(!(0,i.isString)(e))throw new E.default("Failed to register the custom researcher config. Expected parameter `name` to be a string.");if((0,i.isUndefined)(t)||(0,i.isEmpty)(t))throw new T.default("Failed to register the custom researcher config. Expected parameter `researcherConfig` to be defined.");const r=this._researcher;r.hasConfig(e)||r.addConfig(e,t)}}t.default=w},49326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(31769)),s=i(r(46746));function i(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this._worker=e,this._requests={},this._autoIncrementedRequestId=-1,this.initialize=this.initialize.bind(this),this.analyze=this.analyze.bind(this),this.analyzeRelatedKeywords=this.analyzeRelatedKeywords.bind(this),this.loadScript=this.loadScript.bind(this),this.sendMessage=this.sendMessage.bind(this),this.runResearch=this.runResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.handleMessageError=this.handleMessageError.bind(this),this.handleError=this.handleError.bind(this),this._worker.onmessage=this.handleMessage,this._worker.onmessageerror=this.handleMessageError,this._worker.onerror=this.handleError}handleMessage({data:{type:e,id:t,payload:r}}){const n=this._requests[t];if(n){switch(r=s.default.parse(r),e){case"initialize:done":case"loadScript:done":case"customMessage:done":case"runResearch:done":case"analyzeRelatedKeywords:done":case"analyze:done":n.resolve(r);break;case"analyze:failed":case"loadScript:failed":case"customMessage:failed":case"runResearch:failed":case"analyzeRelatedKeywords:failed":n.reject(r);break;default:console.warn("AnalysisWebWorker unrecognized action:",e)}delete this._requests[t]}else console.warn("AnalysisWebWorker unmatched response:",r)}handleMessageError(e){console.warn("AnalysisWebWorker message error:",e)}handleError(e){const t=Object.keys(this._requests),r=t[t.length-1],n=this._requests[r];n?n.reject(e):console.error("AnalysisWebWorker error:",e)}createRequestId(){return this._autoIncrementedRequestId++,this._autoIncrementedRequestId}createRequestPromise(e,t={}){return new Promise(((r,s)=>{this._requests[e]=new n.default(r,s,t)}))}sendRequest(e,t,r={}){const n=this.createRequestId(),s=this.createRequestPromise(n,r);return this.send(e,n,t),s}send(e,t,r={}){r=s.default.serialize(r),this._worker.postMessage({type:e,id:t,payload:r})}initialize(e){return this.sendRequest("initialize",e)}analyzeRelatedKeywords(e,t={}){return this.sendRequest("analyzeRelatedKeywords",{paper:e,relatedKeywords:t})}analyze(e){return this.sendRequest("analyze",{paper:e})}loadScript(e){return this.sendRequest("loadScript",{url:e})}sendMessage(e,t,r){return e=r+"-"+e,this.sendRequest("customMessage",{name:e,data:t},t)}runResearch(e,t=null){return this.sendRequest("runResearch",{name:e,paper:t})}}},7718:(e,t)=>{"use strict";function r(e){return`\n\t\ttry {\n\t\t\t${e}\n\t\t} catch ( error ) {\n\t\t\tconsole.log( "Error occurred during worker initialization:" );\n\t\t\tconsole.log( error );\n\t\t}\n\t`}function n(e){return`\n\t\tself.yoastOriginalUrl = '${e}';\n\t\timportScripts('${e}');\n\t`}function s(e,t){const r=new URL(e,window.location.origin),n=new URL(t,window.location.origin);return r.hostname===n.hostname&&r.port===n.port&&r.protocol===n.protocol}function i(e){const t=window.URL||window.webkitURL,s=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,i=r(n(e));let a;try{a=new Blob([i],{type:"application/javascript"})}catch(e){const t=new s;t.append(i),a=t.getBlob("application/javascript")}return t.createObjectURL(a)}function a(e){const t=i(e);return new Worker(t)}function o(e){if(!s(window.location,e)||window.wpseoAdminL10n&&"1"===window.wpseoAdminL10n.isWebStoriesIntegrationActive)return a(e);let t=null;try{t=new Worker(e)}catch(r){t=a(e)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobScript=n,t.createBlobURL=i,t.createExceptionHandler=r,t.createWorker=o,t.createWorkerFallback=a,t.default=void 0,t.isSameOrigin=s,t.default=o},77687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnalysisWebWorker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createWorker",{enumerable:!0,get:function(){return i.default}});var n=a(r(86912)),s=a(r(49326)),i=a(r(7718));function a(e){return e&&e.__esModule?e:{default:e}}},90256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(19832))&&n.__esModule?n:{default:n};t.default=class{constructor(e,t,r={}){this._resolve=e,this._reject=t,this._data=r}resolve(e={}){const t=new s.default(e,this._data);this._resolve(t)}reject(e={}){const t=new s.default(e,this._data);this._reject(t)}}},19832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t={}){this.result=e,this.data=t}}},31769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(90256))&&n.__esModule?n:{default:n};t.default=s.default},30271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=r(92819),i=(n=r(11506))&&n.__esModule?n:{default:n};const a={pollTime:50};t.default=class{constructor(e={}){this._configuration=(0,s.merge)(a,e),this._tasks={standard:[],extensions:[],analyze:[],analyzeRelatedKeywords:[]},this._pollHandle=null,this._started=!1,this.startPolling=this.startPolling.bind(this),this.stopPolling=this.stopPolling.bind(this),this.tick=this.tick.bind(this)}startPolling(){this._started||(this._started=!0,this.tick())}tick(){this.executeNextTask().then((()=>{this._pollHandle=setTimeout(this.tick,this._configuration.pollTime)}))}stopPolling(){clearTimeout(this._pollHandle),this._pollHandle=null,this._started=!1}schedule({id:e,execute:t,done:r,data:n,type:s}){const a=new i.default(e,t,r,n,s);switch(s){case"customMessage":case"loadScript":this._tasks.extensions.push(a);break;case"analyze":this._tasks.analyze=[a];break;case"analyzeRelatedKeywords":this._tasks.analyzeRelatedKeywords=[a];break;default:this._tasks.standard.push(a)}}getNextTask(){return this._tasks.extensions.length>0?this._tasks.extensions.shift():this._tasks.analyze.length>0?this._tasks.analyze.shift():this._tasks.analyzeRelatedKeywords.length>0?this._tasks.analyzeRelatedKeywords.shift():this._tasks.standard.length>0?this._tasks.standard.shift():null}executeNextTask(){const e=this.getNextTask();return null===e?Promise.resolve(null):Promise.resolve().then((()=>e.execute(e.id,e.data))).then((t=>(e.done(e.id,t),t)))}}},11506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(92819);t.default=class{constructor(e,t,r,s={},i="analyze"){if(!(0,n.isNumber)(e))throw new Error("Task.id should be a number.");if(!(0,n.isFunction)(t))throw new Error("Task.execute should be a function.");if(!(0,n.isFunction)(r))throw new Error("Task.done should be a function.");if(!(0,n.isObject)(s))throw new Error("Task.data should be an object.");this.id=e,this.execute=t,this.done=r,this.data=s,this.type=i}}},96224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,s=(n=r(30271))&&n.__esModule?n:{default:n};t.default=s.default},46746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(6658)),s=i(r(61854));function i(e){return e&&e.__esModule?e:{default:e}}t.default={parse:n.default,serialize:s.default}},6658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,n.isArray)(t))return t.map(e);const r=(0,n.isObject)(t);return r&&t._parseClass&&d[t._parseClass]?"Sentence"===t._parseClass||"Clause"===t._parseClass?d[t._parseClass].prototype.parse(t):d[t._parseClass].parse(t):r?(0,n.mapValues)(t,(t=>e(t))):t};var n=r(92819),s=c(r(73054)),i=c(r(41054)),a=c(r(82304)),o=c(r(18812)),l=c(r(83937)),u=c(r(4446));function c(e){return e&&e.__esModule?e:{default:e}}const d={AssessmentResult:s.default,Mark:i.default,Paper:a.default,Sentence:o.default,Clause:l.default,ProminentWord:u.default}},61854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if((0,n.isArray)(t))return t.map(e);const r=(0,n.isObject)(t);return r&&t.serialize?t.serialize():r?(0,n.mapValues)(t,(t=>e(t))):t};var n=r(92819)},72557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=""){return async(...n)=>{try{return await t(...n)}catch(t){return{error:i(e,t,n[1],r)}}}};var n,s=(n=r(54057))&&n.__esModule?n:{default:n};const i=function(e,t,r,n=""){r&&(n=(0,s.default)(n,r));let i=n?[n]:[];return t.name&&t.message&&(t.stack&&e.debug(t.stack),i.push(`${t.name}: ${t.message}`)),i=i.join("\n\t"),e.error(i),i}},79742:(e,t)=>{"use strict";t.byteLength=function(e){var t=o(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=o(e),a=i[0],l=i[1],u=new s(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),c=0,d=l>0?a-4:a;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,s=n%3,i=[],a=16383,o=0,u=n-s;ou?u:o+a));return 1===s?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===s&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],n=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var s,i,a=[],o=t;o>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";var n=r(79742),s=r(80645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),n=o(r),s=n.write(e,t);return s!==r&&(n=n.slice(0,s)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var s=function(e){if(l.isBuffer(e)){var t=0|f(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||j(e.length)?o(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),o(e<0?0:0|f(e))}function h(e){for(var t=e.length<0?0:0|f(e.length),r=o(t),n=0;n=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(e).length;default:if(s)return n?-1:U(e).length;t=(""+t).toLowerCase(),s=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return w(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return N(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),j(r=+r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):E(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function E(e,t,r,n,s){var i,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(s){var c=-1;for(i=r;io&&(r=o-l),i=r;i>=0;i--){for(var d=!0,h=0;hs&&(n=s):n=s;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a>8,s=r%256,i.push(s),i.push(n);return i}(t,e.length-r),e,r,n)}function I(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],s=t;s239?4:u>223?3:u>191?2:1;if(s+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[s+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[s+1],a=e[s+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[s+1],a=e[s+2],o=e[s+3],128==(192&i)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),s+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn.length?l.from(i).copy(n,s):Uint8Array.prototype.set.call(n,i,s);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,s)}s+=i.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tr&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,s){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(s>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(i,a),u=this.slice(n,s),c=e.slice(t,r),d=0;d>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var s=this.length-t;if((void 0===r||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return A(this,e,t,r);case"ascii":case"latin1":case"binary":return v(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function N(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;sn)&&(r=n);for(var s="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,r,n,s,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||te.length)throw new RangeError("Index out of range")}function L(e,t,r,n,s,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return t=+t,r>>>=0,i||L(e,0,r,4),s.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,i){return t=+t,r>>>=0,i||L(e,0,r,8),s.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],s=1,i=0;++i>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],s=1,i=0;++i=(s*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=t,s=1,i=this[e+--n];n>0&&(s*=256);)i+=this[e+--n]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),s.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),s.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),s.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),s.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||k(this,e,t,r,Math.pow(2,8*r)-1,0);var s=1,i=0;for(this[t]=255&e;++i>>=0,r>>>=0,n||k(this,e,t,r,Math.pow(2,8*r)-1,0);var s=r-1,i=1;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=e/i&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var s=Math.pow(2,8*r-1);k(this,e,t,r,s-1,-s)}var i=0,a=1,o=0;for(this[t]=255&e;++i>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var s=Math.pow(2,8*r-1);k(this,e,t,r,s-1,-s)}var i=r-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function B(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,r,n){for(var s=0;s=t.length||s>=e.length);++s)t[s+r]=e[s];return s}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function j(e){return e!=e}var $=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,s=0;s<16;++s)t[n+s]=e[r]+e[s];return t}()},21924:(e,t,r)=>{"use strict";var n=r(10492),s=r(55559),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},55559:(e,t,r)=>{"use strict";var n=r(58612),s=r(10492),i=s("%Function.prototype.apply%"),a=s("%Function.prototype.call%"),o=s("%Reflect.apply%",!0)||n.call(a,i),l=s("%Object.getOwnPropertyDescriptor%",!0),u=s("%Object.defineProperty%",!0),c=s("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=o(n,a,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var d=function(){return o(n,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},10492:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(38626)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},38626:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(19305);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},19305:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},12296:(e,t,r)=>{"use strict";var n=r(31044)(),s=r(40210),i=n&&s("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var a=s("%SyntaxError%"),o=s("%TypeError%"),l=r(27296);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!l&&l(e,t);if(i)i(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===n&&d?d.enumerable:!n,value:r,writable:null===s&&d?d.writable:!s});else{if(!c&&(n||s||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},17187:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function s(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,s)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function o(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var s,i,a,u;if(o(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(s=l(e))>0&&a.length>s&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},s=c.bind(n);return s.listener=r,n.wrapFn=s,s}function h(e,t,r){var n=e._events;if(void 0===n)return[];var s=n[t];return void 0===s?[]:"function"==typeof s?r?[s.listener||s]:[s]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var u=l.length,c=f(l,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,s=i;break}if(s<0)return this;0===s?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},94029:(e,t,r)=>{"use strict";var n=r(95320),s=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===s.call(e)?function(e,t,r){for(var n=0,s=e.length;n{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var s,i=t.call(arguments,1),a=Math.max(0,n.length-i.length),o=[],l=0;l{"use strict";var n=r(17648);e.exports=Function.prototype.bind||n},40210:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(41405)(),h=r(28185)(),p=Object.getPrototypeOf||(h?function(e){return e.__proto__}:null),f={},g="undefined"!=typeof Uint8Array&&p?p(Uint8Array):n,m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&p?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&p?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&p?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&p?p(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(p)try{null.error}catch(e){var _=p(p(e));m["%Error.prototype%"]=_}var y=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&p&&(r=p(s.prototype))}return m[t]=r,r},E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=r(22544),A=r(48824),v=T.call(Function.call,Array.prototype.concat),b=T.call(Function.apply,Array.prototype.splice),S=T.call(Function.call,String.prototype.replace),I=T.call(Function.call,String.prototype.slice),O=T.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,D=function(e,t){var r,n=e;if(A(E,n)&&(n="%"+(r=E[n])[0]+"%"),A(m,n)){var i=m[n];if(i===f&&(i=y(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===O(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=I(e,0,1),r=I(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return S(e,C,(function(e,t,r,s){n[n.length]=r?S(s,N,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=D("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],b(r,v([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=A(u,f),u=u[f];p&&!c&&(m[o]=u)}}return u}},73146:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(73146);e.exports=Function.prototype.bind||n},27296:(e,t,r)=>{"use strict";var n=r(10505)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},10505:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(41405)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=y.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,C=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,I,(function(e,t,r,s){n[n.length]=r?v(s,O,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=C("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},31044:(e,t,r)=>{"use strict";var n=r(56181)("%Object.defineProperty%",!0),s=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){return!1}return!1};s.hasArrayLengthDefineBug=function(){if(!s())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=s},56181:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(88194)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},88194:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(87797);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},87797:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},28185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},41405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(55419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},55419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},99608:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},96410:(e,t,r)=>{"use strict";var n=r(99608);e.exports=function(){return n()&&!!Symbol.toStringTag}},17642:(e,t,r)=>{"use strict";var n=r(58612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},48824:(e,t,r)=>{"use strict";var n=Function.prototype.call,s=Object.prototype.hasOwnProperty,i=r(24753);e.exports=i.call(n,s)},61454:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(61454);e.exports=Function.prototype.bind||n},95449:(e,t,r)=>{function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var s=r(23719).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e{var n=r(29730),s=r(29443);function i(e,t){this.init(e,t)}function a(e,t){return s.getElementsByTagName(e,t,!0)}function o(e,t){return s.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return s.getText(s.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,s){var i=l(r,n,s);i&&(e[t]=i)}r(35717)(i,n),i.prototype.init=n;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},s=o(c,this.dom);s&&("feed"===s.name?(t=s.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=o("channel",s.children).children,r.type=s.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=a("item",s.children).map((function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,s?null:Error("couldn't find root of feed"))},e.exports=i},50763:(e,t,r)=>{var n=r(39889),s={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:s,input:s,output:s,button:s,datalist:s,textarea:s,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(35717)(c,r(17187).EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in o?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in o||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},76321:(e,t,r)=>{function n(e){this._cbs=e||{}}e.exports=n;var s=r(23719).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},89924:(e,t,r)=>{e.exports=s;var n=r(83621);function s(e){n.call(this,new i(this),e)}function i(e){this.scope=e}r(35717)(s,n),s.prototype.readable=!0;var a=r(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},39889:(e,t,r)=>{e.exports=me;var n=r(58894),s=r(23042),i=r(60317),a=r(51373),o=0,l=o++,u=o++,c=o++,d=o++,h=o++,p=o++,f=o++,g=o++,m=o++,_=o++,y=o++,E=o++,T=o++,A=o++,v=o++,b=o++,S=o++,I=o++,O=o++,C=o++,N=o++,D=o++,w=o++,P=o++,R=o++,k=o++,L=o++,M=o++,x=o++,F=o++,U=o++,B=o++,G=o++,H=o++,j=o++,$=o++,q=o++,W=o++,V=o++,Y=o++,z=o++,K=o++,Q=o++,X=o++,J=o++,Z=o++,ee=o++,te=o++,re=o++,ne=o++,se=o++,ie=o++,ae=o++,oe=o++,le=o++,ue=0,ce=ue++,de=ue++,he=ue++;function pe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function fe(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(s){s===n||s===e?this._state=t:(this._state=r,this._index--)}}function ge(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=c,this._index--)}}function me(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||pe(e)?this._state=l:"!"===e?(this._state=v,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:U,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=B:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=d:pe(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pe(e)||(this._state=g,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):pe(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=E,this._sectionStart=this._index+1):"'"===e?(this._state=T,this._sectionStart=this._index+1):pe(e)||(this._state=A,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){pe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?D:"-"===e?I:b},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=O,this._sectionStart=this._index+1):this._state=b},me.prototype._stateInComment=function(e){"-"===e&&(this._state=C)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?N:O},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=O)},me.prototype._stateBeforeCdata1=fe("C",w,b),me.prototype._stateBeforeCdata2=fe("D",P,b),me.prototype._stateBeforeCdata3=fe("A",R,b),me.prototype._stateBeforeCdata4=fe("T",k,b),me.prototype._stateBeforeCdata5=fe("A",L,b),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=M,this._sectionStart=this._index+1):(this._state=b,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=x)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:M},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=M)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=G:"t"===e||"T"===e?this._state=Q:(this._state=c,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==de||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=W},me.prototype._stateBeforeScript1=ge("R",H),me.prototype._stateBeforeScript2=ge("I",j),me.prototype._stateBeforeScript3=ge("P",$),me.prototype._stateBeforeScript4=ge("T",q),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=c,this._index--},me.prototype._stateAfterScript1=fe("R",V,l),me.prototype._stateAfterScript2=fe("I",Y,l),me.prototype._stateAfterScript3=fe("P",z,l),me.prototype._stateAfterScript4=fe("T",K,l),me.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},me.prototype._stateBeforeStyle1=ge("Y",X),me.prototype._stateBeforeStyle2=ge("L",J),me.prototype._stateBeforeStyle3=ge("E",Z),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=he),this._state=c,this._index--},me.prototype._stateAfterStyle1=fe("Y",te,l),me.prototype._stateAfterStyle2=fe("L",re,l),me.prototype._stateAfterStyle3=fe("E",ne,l),me.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},me.prototype._stateBeforeEntity=fe("#",ie,ae),me.prototype._stateBeforeNumericEntity=fe("X",le,oe),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var s=this._buffer.substring(r,this._index),i=parseInt(s,t);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index{e.exports=o;var n=r(50763),s=r(50247).Writable,i=r(48645).s,a=r(48764).Buffer;function o(e,t){var r=this._parser=new n(e,t),a=this._decoder=new i;s.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(35717)(o,s),o.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},23719:(e,t,r)=>{var n=r(50763),s=r(29730);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(39889),ElementType:r(62391),DomHandler:s,get FeedHandler(){return i("FeedHandler",r(63870))},get Stream(){return i("Stream",r(89924))},get WritableStream(){return i("WritableStream",r(83621))},get ProxyHandler(){return i("ProxyHandler",r(76321))},get DomUtils(){return i("DomUtils",r(29443))},get CollectingHandler(){return i("CollectingHandler",r(95449))},DefaultHandler:s,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new s(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var s=new e.exports.FeedHandler(r);return new n(s,r).end(t),s.dom},createDomStream:function(e,t,r){var i=new s(e,t,r);return new n(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},88066:(e,t,r)=>{var n=r(82570),s=r(81137),i=r(79004);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",s=0;s=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?s.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),o[e.name]&&!t.xmlMode||(r+="")):r+="/>",r}function d(e){return"<"+e.data+">"}function h(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=s.encodeXML(r)),r}function p(e){return""}function f(e){return"\x3c!--"+e.data+"--\x3e"}},82570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=void 0,t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},80162:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var s=n(r(53082)),i=n(r(23195)),a=n(r(61210)),o=n(r(64914)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(s.default);var c=function(e,t){return e65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in s.default&&(e=s.default[e]),i(e))}},60670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var s=c(n(r(61210)).default),i=d(s);t.encodeXML=m(s);var a,o,l=c(n(r(53082)).default),u=d(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function d(e){for(var t=[],r=[],n=0,s=Object.keys(e);n1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(i.source+"|"+h.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(g,f)},t.escapeUTF8=function(e){return e.replace(i,f)}},81137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(80162),s=r(60670);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?s.encodeXML:s.encodeHTML)(e)};var i=r(60670);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(80162);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},62391:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},29730:(e,t,r)=>{var n=r(62391),s=/\s+/g,i=r(16805),a=r(7359);function o(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};o.prototype.onparserinit=function(e){this._parser=e},o.prototype.onreset=function(){o.call(this,this._callback,this._options,this._elementCB)},o.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},o.prototype._handleCallback=o.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},o.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},o.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},o.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},o.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)},o.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else{r&&(e=e.replace(s," "));var i=this._createDomElement({data:e,type:n.Text});this._addDomElement(i)}},o.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)}},o.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},o.prototype.oncommentend=o.prototype.oncdataend=function(){this._tagStack.pop()},o.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=o},7359:(e,t,r)=>{var n=r(16805),s=e.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(s,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:e=>{var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var n=r[e];Object.defineProperty(t,e,{get:function(){return this[n]||null},set:function(e){return this[n]=e,e}})}))},29443:(e,t,r)=>{var n=e.exports;[r(72178),r(61699),r(26167),r(46754),r(55355),r(99256)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},99256:(e,t)=>{t.removeSubsets=function(e){for(var t,r,n,s=e.length;--s>-1;){for(t=r=e[s],e[s]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(s,1);break}r=r.parent}n&&(e[s]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,s,i,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(s=(n=l[o-1]).children,i=l[o],a=u[o],s.indexOf(i)>s.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,s=e.length;for(e=e.slice();--s>-1;)t=e[s],(n=e.indexOf(t))>-1&&n{var n=r(62391),s=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!s(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(s(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return s(t)&&e(t.name)}:"*"===e?s:function(t){return s(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!s(t)&&e(t.data)}:function(t){return!s(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var s=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===s.length?[]:this.filter(s.reduce(o),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(i.tag_type(e),t,r,n)}},26167:(e,t)=>{t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var s=t.parent=e.parent;if(s){var i=s.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var s=r.children;s.splice(s.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},46754:(e,t,r)=>{var n=r(62391).isTag;function s(e,t,r,n){for(var i,a=[],o=0,l=t.length;o0&&(i=s(e,i,r,n),a=a.concat(i),(n-=i.length)<=0)));o++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),s(e,t,!1!==r,n)},find:s,findOneChild:function(e,t){for(var r=0,n=t.length;r0&&(s=e(t,r[i].children)));return s},existsOne:function e(t,r){for(var s=0,i=r.length;s0&&e(t,r[s].children)))return!0;return!1},findAll:function(e,t){for(var r=[],s=t.slice();s.length;){var i=s.shift();n(i)&&(i.children&&i.children.length>0&&s.unshift.apply(s,i.children),e(i)&&r.push(i))}return r}}},72178:(e,t,r)=>{var n=r(62391),s=r(88066),i=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return s(e,t)})).join(""):""},getOuterHTML:s,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},61699:(e,t)=>{var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},58894:(e,t,r)=>{var n=r(42968);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},48645:(e,t,r)=>{"use strict";var n=r(89509).Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(s>0&&(e.lastNeed=s-1),s):--n=0?(s>0&&(e.lastNeed=s-2),s):--n=0?(s>0&&(2===s?s=0:e.lastNeed=s-3),s):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},80645:(e,t)=>{t.read=function(e,t,r,n,s){var i,a,o=8*s-n-1,l=(1<>1,c=-7,d=r?s-1:0,h=r?-1:1,p=e[t+d];for(d+=h,i=p&(1<<-c)-1,p>>=-c,c+=o;c>0;i=256*i+e[t+d],d+=h,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=u}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,s,i){var a,o,l,u=8*i-s-1,c=(1<>1,h=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,f=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(o=0,a=c):a+d>=1?(o=(t*l-1)*Math.pow(2,s),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,s),a=0));s>=8;e[r+p]=255&o,p+=f,o/=256,s-=8);for(a=a<0;e[r+p]=255&a,p+=f,a/=256,u-=8);e[r+p-f]|=128*g}},35717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},82584:(e,t,r)=>{"use strict";var n=r(96410)(),s=r(21924)("Object.prototype.toString"),i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===s(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==s(e)&&"[object Function]"===s(e.callee)},o=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=o?i:a},95320:e=>{"use strict";var t,r,n=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},s((function(){throw 42}),null,t)}catch(e){e!==r&&(s=null)}else s=null;var i=/^\s*class\b/,a=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},o=Object.prototype.toString,l="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,u="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};e.exports=s?function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{s(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)}:function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(l)return function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=o.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},48662:(e,t,r)=>{"use strict";var n,s=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,o=r(96410)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(i.call(e)))return!0;if(!o)return"[object GeneratorFunction]"===s.call(e);if(!l)return!1;if(void 0===n){var t=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&l(t)}return l(e)===n}},85692:(e,t,r)=>{"use strict";var n=r(65025);e.exports=function(e){return!!n(e)}},4318:(e,t,r)=>{"use strict";var n=r(40210),s=r(78073),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},78073:(e,t,r)=>{"use strict";var n=r(86718),s=r(40210),i=r(67771),a=s("%TypeError%"),o=s("%Function.prototype.apply%"),l=s("%Function.prototype.call%"),u=s("%Reflect.apply%",!0)||n.call(l,o),c=s("%Object.defineProperty%",!0),d=s("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,o,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},5761:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(5761);e.exports=Function.prototype.bind||n},28202:(e,t,r)=>{"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},65025:(e,t,r)=>{"use strict";var n=r(94029),s=r(63083),i=r(78073),a=r(4318),o=r(27296),l=a("Object.prototype.toString"),u=r(28202)(),c="undefined"==typeof globalThis?r.g:globalThis,d=s(),h=a("String.prototype.slice"),p=Object.getPrototypeOf,f=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r-1?t:"Object"===t&&function(e){var t=!1;return n(g,(function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}})),t}(e)}return o?function(e){var t=!1;return n(g,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}})),t}(e):null}},2043:function(e,t,r){var n,s;!function(i,a){"use strict";n=function(){var e=function(){},t="undefined",r=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function s(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(t){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(t,r){for(var s=0;s=0&&r<=o.levels.SILENT))throw"log.setLevel() called with invalid level: "+r;if(i=r,!1!==s&&function(e){var r=(n[e]||"silent").toUpperCase();if(typeof window!==t&&u){try{return void(window.localStorage[u]=r)}catch(e){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(e){}}}(r),a.call(o,r,e),typeof console===t&&r{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},89509:(e,t,r)=>{var n=r(48764),s=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(s.prototype),i(s,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},67771:(e,t,r)=>{"use strict";var n=r(40210),s=r(12296),i=r(31044)(),a=r(27296),o=n("%TypeError%"),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new o("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new o("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(i?s(e,"length",t,!0,!0):s(e,"length",t)),e}},37478:(e,t,r)=>{"use strict";var n=r(45388),s=r(21924),i=r(27470),a=n("%TypeError%"),o=n("%WeakMap%",!0),l=n("%Map%",!0),u=s("WeakMap.prototype.get",!0),c=s("WeakMap.prototype.set",!0),d=s("WeakMap.prototype.has",!0),h=s("Map.prototype.get",!0),p=s("Map.prototype.set",!0),f=s("Map.prototype.has",!0),g=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(o&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return h(t,n)}else if(r)return function(e,t){var r=g(e,t);return r&&r.value}(r,n)},has:function(n){if(o&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(l){if(t)return f(t,n)}else if(r)return function(e,t){return!!g(e,t)}(r,n);return!1},set:function(n,s){o&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new o),c(e,n,s)):l?(t||(t=new l),p(t,n,s)):(r||(r={key:{},next:null}),function(e,t,r){var n=g(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,s))}};return n}},45388:(e,t,r)=>{"use strict";var n,s=SyntaxError,i=Function,a=TypeError,o=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=r(19193)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=o("async function () {}");else if("%GeneratorFunction%"===t)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=o("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var s=e("%AsyncGenerator%");s&&(r=h(s.prototype))}return g[t]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(58612),E=r(17642),T=y.call(Function.call,Array.prototype.concat),A=y.call(Function.apply,Array.prototype.splice),v=y.call(Function.call,String.prototype.replace),b=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(g,n)){var i=g[n];if(i===p&&(i=m(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=function(e){var t=b(e,0,1),r=b(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return v(e,S,(function(e,t,r,s){n[n.length]=r?v(s,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=O("%"+n+"%",t),o=i.name,u=i.value,c=!1,d=i.alias;d&&(n=d[0],A(r,T([0,1],d)));for(var h=1,p=!0;h=r.length){var y=l(u,f);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[f]}else p=E(u,f),u=u[f];p&&!c&&(g[o]=u)}}return u}},19193:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,s=r(6105);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&s()}},6105:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},27470:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,s=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&s&&"function"==typeof s.get?s.get:null,a=n&&Map.prototype.forEach,o="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=o&&l&&"function"==typeof l.get?l.get:null,c=o&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p=Boolean.prototype.valueOf,f=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,y=Object.getOwnPropertySymbols,E="function"==typeof Symbol?Symbol.prototype.toString:null,T=Object.prototype.propertyIsEnumerable,A=r(47165).custom,v=A&&O(A)?A:null;function b(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function S(e){return String(e).replace(/"/g,""")}function I(e){return"[object Array]"===D(e)}function O(e){return"[object Symbol]"===D(e)}e.exports=function e(t,r,n,s){var o=r||{};if(N(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!N(o,"customInspect")||o.customInspect;if("boolean"!=typeof l)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(N(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return P(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var f=void 0===o.depth?5:o.depth;if(void 0===n&&(n=0),n>=f&&f>0&&"object"==typeof t)return I(t)?"[Array]":"[Object]";var y,T=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(o,n);if(void 0===s)s=[];else if(w(s,t)>=0)return"[Circular]";function A(t,r,i){if(r&&(s=s.slice()).push(r),i){var a={depth:o.depth};return N(o,"quoteStyle")&&(a.quoteStyle=o.quoteStyle),e(t,a,n+1,s)}return e(t,o,n+1,s)}if("function"==typeof t){var C=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),R=F(t,A);return"[Function"+(C?": "+C:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(O(t)){var U=E.call(t);return"object"==typeof t?k(U):U}if((y=t)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var B="<"+String(t.nodeName).toLowerCase(),G=t.attributes||[],H=0;H"}if(I(t)){if(0===t.length)return"[]";var j=F(t,A);return T&&!function(e){for(var t=0;t=0)return!1;return!0}(j)?"["+x(j,T)+"]":"[ "+j.join(", ")+" ]"}if(function(e){return"[object Error]"===D(e)}(t)){var $=F(t,A);return 0===$.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$.join(", ")+" }"}if("object"==typeof t&&l){if(v&&"function"==typeof t[v])return t[v]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var q=[];return a.call(t,(function(e,r){q.push(A(r,t,!0)+" => "+A(e,t))})),M("Map",i.call(t),q,T)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var W=[];return c.call(t,(function(e){W.push(A(e,t))})),M("Set",u.call(t),W,T)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){return"[object Number]"===D(e)}(t))return k(A(Number(t)));if(function(e){return"[object BigInt]"===D(e)}(t))return k(A(_.call(t)));if(function(e){return"[object Boolean]"===D(e)}(t))return k(p.call(t));if(function(e){return"[object String]"===D(e)}(t))return k(A(String(t)));if(!function(e){return"[object Date]"===D(e)}(t)&&!function(e){return"[object RegExp]"===D(e)}(t)){var V=F(t,A);return 0===V.length?"{}":T?"{"+x(V,T)+"}":"{ "+V.join(", ")+" }"}return String(t)};var C=Object.prototype.hasOwnProperty||function(e){return e in this};function N(e,t){return C.call(e,t)}function D(e){return f.call(e)}function w(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return P(e.slice(0,t.maxStringLength),t)+n}return b(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,R),"single",t)}function R(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function k(e){return"Object("+e+")"}function L(e){return e+" { ? }"}function M(e,t,r,n){return e+" ("+t+") {"+(n?x(r,n):r.join(", "))+"}"}function x(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function F(e,t){var r=I(e),n=[];if(r){n.length=e.length;for(var s=0;s{var t=function(e,t){var r;for(r=0;r1?1:a)+n[n.length-1].length};return{addRule:function(e,t){s.push({regex:e,type:t})},onText:function(e){for(var t=n+e,i=r(s,t);i&&i.max_index!==t.length;)o(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=r(s,t);n=t},end:function(){if(0!==n.length){var e=t(s,n);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:n,line:i,col:a},r}o(n,e.type)}}}}},52511:function(e,t,r){var n;e=r.nmd(e),function(s){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,o=2147483647,l=36,u=26,c=38,d=700,h=/^xn--/,p=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=l-1,_=Math.floor,y=String.fromCharCode;function E(e){throw new RangeError(g[e])}function T(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function A(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+T((e=e.replace(f,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],s=0,i=e.length;s=55296&&t<=56319&&s65535&&(t+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+y(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>m*u>>1;n+=l)e=_(e/m);return _(n+(m+1)*e/(e+c))}function O(e){var t,r,n,s,i,a,c,d,h,p,f,g=[],m=e.length,y=0,T=128,A=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&E("not-basic"),g.push(e.charCodeAt(n));for(s=r>0?r+1:0;s=m&&E("invalid-input"),((d=(f=e.charCodeAt(s++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l)>=l||d>_((o-y)/a))&&E("overflow"),y+=d*a,!(d<(h=c<=A?1:c>=A+u?u:c-A));c+=l)a>_(o/(p=l-h))&&E("overflow"),a*=p;A=I(y-i,t=g.length+1,0==i),_(y/t)>o-T&&E("overflow"),T+=_(y/t),y%=t,g.splice(y++,0,T)}return b(g)}function C(e){var t,r,n,s,i,a,c,d,h,p,f,g,m,T,A,b=[];for(g=(e=v(e)).length,t=128,r=0,i=72,a=0;a=t&&f_((o-r)/(m=n+1))&&E("overflow"),r+=(c-t)*m,t=c,a=0;ao&&E("overflow"),f==t){for(d=r,h=l;!(d<(p=h<=i?1:h>=i+u?u:h-i));h+=l)A=d-p,T=l-p,b.push(y(S(p+A%T,0))),d=_(A/T);b.push(y(S(d,0))),i=I(r,m,n==s),r=0,++n}++r,++t}return b.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:b},decode:O,encode:C,toASCII:function(e){return A(e,(function(e){return p.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return A(e,(function(e){return h.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},39532:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},35984:(e,t,r)=>{"use strict";var n=r(24730),s=r(7325),i=r(39532);e.exports={formats:i,parse:s,stringify:n}},7325:(e,t,r)=>{"use strict";var n=r(19368),s=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=o?i.slice(0,o.index):i,c=[];if(u){if(!r.plainObjects&&s.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(o=a.exec(i))&&d=0;--i){var a,o=e[i];if("[]"===o&&r.parseArrays)a=[].concat(s);else{a=r.plainObjects?Object.create(null):{};var u="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&o!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=s:"__proto__"!==u&&(a[u]=s):a={0:s}}s=a}return s}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,h=c.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(m=i(m)?[m]:m),s.call(u,g)?u[g]=n.combine(u[g],m):u[g]=m}return u}(e,r):e,d=r.plainObjects?Object.create(null):{},h=Object.keys(c),p=0;p{"use strict";var n=r(37478),s=r(19368),i=r(39532),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:s.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},g=function e(t,r,i,a,o,u,d,h,g,m,_,y,E,T,A,v){for(var b,S=t,I=v,O=0,C=!1;void 0!==(I=I.get(f))&&!C;){var N=I.get(t);if(O+=1,void 0!==N){if(N===O)throw new RangeError("Cyclic object value");C=!0}void 0===I.get(f)&&(O=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=_(S):"comma"===i&&l(S)&&(S=s.maybeMap(S,(function(e){return e instanceof Date?_(e):e}))),null===S){if(o)return d&&!T?d(r,p.encoder,A,"key",y):r;S=""}if("string"==typeof(b=S)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||s.isBuffer(S))return d?[E(T?r:d(r,p.encoder,A,"key",y))+"="+E(d(S,p.encoder,A,"value",y))]:[E(r)+"="+E(String(S))];var D,w=[];if(void 0===S)return w;if("comma"===i&&l(S))T&&d&&(S=s.maybeMap(S,d)),D=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(h))D=h;else{var P=Object.keys(S);D=g?P.sort(g):P}for(var R=a&&l(S)&&1===S.length?r+"[]":r,k=0;k0?A+T:""}},19368:(e,t,r)=>{"use strict";var n=r(39532),s=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),o=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],s=0;s=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===n.RFC1738&&(40===c||41===c)?l+=o.charAt(u):c<128?l+=a[c]:c<2048?l+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?l+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(u)),l+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n{"use strict";var n=r(52511);function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r(35984);function y(e,t,r){if(e&&"object"==typeof e&&e instanceof s)return e;var n=new s;return n.parse(e,t,r),n}s.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),a=-1!==s&&s127?R+="x":R+=P[k];if(!R.match(h)){var M=D.slice(0,O),x=D.slice(O+1),F=P.match(p);F&&(M.push(F[1]),x.unshift(F[2])),x.length&&(y="/"+x.join(".")+y),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+U,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[A])for(O=0,w=u.length;O0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!v.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=v.slice(-1)[0],I=(r.host||e.host||v.length>1)&&("."===S||".."===S)||""===S,O=0,C=v.length;C>=0;C--)"."===(S=v[C])?v.splice(C,1):".."===S?(v.splice(C,1),O++):O&&(v.splice(C,1),O--);if(!T&&!A)for(;O--;O)v.unshift("..");!T||""===v[0]||v[0]&&"/"===v[0].charAt(0)||v.unshift(""),I&&"/"!==v.join("/").substr(-1)&&v.push("");var N,D=""===v[0]||v[0]&&"/"===v[0].charAt(0);return b&&(r.hostname=D?"":v.length?v.shift():"",r.host=r.hostname,(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.hostname=N.shift(),r.host=r.hostname)),(T=T||r.host&&v.length)&&!D&&v.unshift(""),v.length>0?r.pathname=v.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},s.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s},88778:(e,t,r)=>{"use strict";var n=r(40210),s=r(86036),i=s(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?s(r):r}},86036:(e,t,r)=>{"use strict";var n=r(92087),s=r(40210),i=r(67771),a=s("%TypeError%"),o=s("%Function.prototype.apply%"),l=s("%Function.prototype.call%"),u=s("%Reflect.apply%",!0)||n.call(l,o),c=s("%Object.defineProperty%",!0),d=s("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,o,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},56705:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(56705);e.exports=Function.prototype.bind||n},3391:(e,t,r)=>{"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},23395:(e,t,r)=>{"use strict";var n=r(94029),s=r(63083),i=r(86036),a=r(88778),o=r(27296),l=a("Object.prototype.toString"),u=r(3391)(),c="undefined"==typeof globalThis?r.g:globalThis,d=s(),h=a("String.prototype.slice"),p=Object.getPrototypeOf,f=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r-1?t:"Object"===t&&function(e){var t=!1;return n(g,(function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}})),t}(e)}return o?function(e){var t=!1;return n(g,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}})),t}(e):null}},20384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},55955:(e,t,r)=>{"use strict";var n=r(82584),s=r(48662),i=r(23395),a=r(85692);function o(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=o(Object.prototype.toString),d=o(Number.prototype.valueOf),h=o(String.prototype.valueOf),p=o(Boolean.prototype.valueOf);if(l)var f=o(BigInt.prototype.valueOf);if(u)var g=o(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function _(e){return"[object Map]"===c(e)}function y(e){return"[object Set]"===c(e)}function E(e){return"[object WeakMap]"===c(e)}function T(e){return"[object WeakSet]"===c(e)}function A(e){return"[object ArrayBuffer]"===c(e)}function v(e){return"undefined"!=typeof ArrayBuffer&&(A.working?A(e):e instanceof ArrayBuffer)}function b(e){return"[object DataView]"===c(e)}function S(e){return"undefined"!=typeof DataView&&(b.working?b(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=s,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},_.working="undefined"!=typeof Map&&_(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(_.working?_(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},E.working="undefined"!=typeof WeakMap&&E(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(E.working?E(e):e instanceof WeakMap)},T.working="undefined"!=typeof WeakSet&&T(new WeakSet),t.isWeakSet=function(e){return T(e)},A.working="undefined"!=typeof ArrayBuffer&&A(new ArrayBuffer),t.isArrayBuffer=v,b.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&b(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var I="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function C(e){return void 0!==I&&(void 0===O.working&&(O.working=O(new I)),O.working?O(e):e instanceof I)}function N(e){return m(e,d)}function D(e){return m(e,h)}function w(e){return m(e,p)}function P(e){return l&&m(e,f)}function R(e){return u&&m(e,g)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=N,t.isStringObject=D,t.isBooleanObject=w,t.isBigIntObject=P,t.isSymbolObject=R,t.isBoxedPrimitive=function(e){return N(e)||D(e)||w(e)||P(e)||R(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(v(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},89539:(e,t,r)=>{var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),l=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&b(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var s=r.inspect(n,e);return _(s)||(s=c(e,s,n)),s}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(_(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):f(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,r);if(i)return i;var a=Object.keys(r),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),v(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(r);if(0===a.length){if(b(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return e.stylize(Date.prototype.toString.call(r),"date");if(v(r))return d(r)}var u,T="",S=!1,I=["{","}"];return p(r)&&(S=!0,I=["[","]"]),b(r)&&(T=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(T=" "+RegExp.prototype.toString.call(r)),A(r)&&(T=" "+Date.prototype.toUTCString.call(r)),v(r)&&(T=" "+d(r)),0!==a.length||S&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=S?function(e,t,r,n,s){for(var i=[],a=0,o=t.length;a60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,T,I)):I[0]+T+I[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,s,i){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),C(n,s)||(a="["+s+"]"),o||(e.seen.indexOf(l.value)<0?(o=g(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(o=i?o.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n")):o=e.stylize("[Circular]","special")),y(a)){if(i&&s.match(/^\d+$/))return o;(a=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function p(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function _(e){return"string"==typeof e}function y(e){return void 0===e}function E(e){return T(e)&&"[object RegExp]"===S(e)}function T(e){return"object"==typeof e&&null!==e}function A(e){return T(e)&&"[object Date]"===S(e)}function v(e){return T(e)&&("[object Error]"===S(e)||e instanceof Error)}function b(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var r=process.pid;i[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else i[e]=function(){};return i[e]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(55955),t.isArray=p,t.isBoolean=f,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=_,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=E,t.types.isRegExp=E,t.isObject=T,t.isDate=A,t.types.isDate=A,t.isError=v,t.types.isNativeError=v,t.isFunction=b,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(20384);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[I((e=new Date).getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(35717),t._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t;if("function"!=typeof(t=e[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),s=[],i=0;i=c.ZERO&&e<=c.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return f.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return f.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(c||(c={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(h||(h={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var m=function(){function e(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=h.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=h.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case h.EntityStart:return e.charCodeAt(t)===c.NUM?(this.state=h.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=h.NamedEntity,this.stateNamedEntity(e,t));case h.NumericStart:return this.stateNumericStart(e,t);case h.NumericDecimal:return this.stateNumericDecimal(e,t);case h.NumericHex:return this.stateNumericHex(e,t);case h.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===c.LOWER_X?(this.state=h.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=h.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,r,n){if(t!==r){var s=r-t;this.result=this.result*Math.pow(n,s)+parseInt(e.substr(t,s),n),this.consumed+=s}},e.prototype.stateNumericHex=function(e,t){for(var r,n=t;t=c.UPPER_A&&r<=c.UPPER_F||r>=c.LOWER_A&&r<=c.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(s,3);t+=1}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var r=t;t>14;t=c.UPPER_A&&e<=c.UPPER_Z||e>=c.LOWER_A&&e<=c.LOWER_Z||g(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(s=((n=r[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(i===c.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,r=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,r){var n=this.decodeTree;return this.emitCodePoint(1===t?n[e]&~d.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r},e.prototype.end=function(){var e;switch(this.state){case h.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case h.NumericDecimal:return this.emitNumericEntity(0,2);case h.NumericHex:return this.emitNumericEntity(0,3);case h.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case h.EntityStart:return 0}},e}();function _(e){var t="",r=new m(e,(function(e){return t+=(0,u.fromCodePoint)(e)}));return function(e,n){for(var s=0,i=0;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),r.startEntity(n);var a=r.write(e,i+1);if(a<0){s=i+r.end();break}s=i+a,i=0===a?s+1:s}var o=t+e.slice(s);return t="",o}}function y(e,t,r,n){var s=(t&d.BRANCH_LENGTH)>>7,i=t&d.JUMP_TABLE;if(0===s)return 0!==i&&n===i?r:-1;if(i){var a=n-i;return a<0||a>=s?-1:e[r+a]-1}for(var o=r,l=o+s-1;o<=l;){var u=o+l>>>1,c=e[u];if(cn))return e[u+s];l=u-1}}return-1}t.EntityDecoder=m,t.determineBranch=y;var E=_(o.default),T=_(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),E(e,t)},t.decodeHTMLAttribute=function(e){return E(e,p.Attribute)},t.decodeHTMLStrict=function(e){return E(e,p.Strict)},t.decodeXML=function(e){return T(e,p.Strict)}},10057:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function s(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(r=String.fromCodePoint)&&void 0!==r?r:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=s,t.default=function(e){return(0,t.fromCodePoint)(s(e))}},41594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,s="",i=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,o=e.charCodeAt(a),l=r.get(o);void 0!==l?(s+=e.substring(i,a)+l,i=a+1):(s+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&o)))}return s+e.substr(i)}function s(e,t){return function(r){for(var n,s=0,i="";n=e.exec(r);)s!==n.index&&(i+=r.substring(s,n.index)),i+=t.get(n[0].charCodeAt(0)),s=n.index+1;return i+r.substring(s)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=s(/[&<>'"]/g,r),t.escapeAttribute=s(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=s(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},38099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},93350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},92819:e=>{"use strict";e.exports=window.lodash},65736:e=>{"use strict";e.exports=window.wp.i18n},14715:e=>{"use strict";e.exports=window.yoast.featureFlag},50247:()=>{},47165:()=>{},63083:(e,t,r)=>{"use strict";var n=r(89908),s="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentMode=t.isConforming=void 0;const n=r(96854),s="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=[...i,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],o=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=[...l,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function c(e,t){return t.some((t=>e.startsWith(t)))}t.isConforming=function(e){return e.name===s&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==s)return n.DOCUMENT_MODE.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return n.DOCUMENT_MODE.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),o.has(r))return n.DOCUMENT_MODE.QUIRKS;let e=null===t?a:i;if(c(r,e))return n.DOCUMENT_MODE.QUIRKS;if(e=null===t?l:u,c(r,e))return n.DOCUMENT_MODE.LIMITED_QUIRKS}return n.DOCUMENT_MODE.NO_QUIRKS}},13246:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ERR=void 0,(r=t.ERR||(t.ERR={})).controlCharacterInInputStream="control-character-in-input-stream",r.noncharacterInInputStream="noncharacter-in-input-stream",r.surrogateInInputStream="surrogate-in-input-stream",r.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",r.endTagWithAttributes="end-tag-with-attributes",r.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",r.unexpectedSolidusInTag="unexpected-solidus-in-tag",r.unexpectedNullCharacter="unexpected-null-character",r.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",r.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",r.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",r.missingEndTagName="missing-end-tag-name",r.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",r.unknownNamedCharacterReference="unknown-named-character-reference",r.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",r.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",r.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",r.eofBeforeTagName="eof-before-tag-name",r.eofInTag="eof-in-tag",r.missingAttributeValue="missing-attribute-value",r.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",r.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",r.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",r.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",r.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",r.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",r.missingDoctypePublicIdentifier="missing-doctype-public-identifier",r.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",r.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",r.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",r.cdataInHtmlContent="cdata-in-html-content",r.incorrectlyOpenedComment="incorrectly-opened-comment",r.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",r.eofInDoctype="eof-in-doctype",r.nestedComment="nested-comment",r.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",r.eofInComment="eof-in-comment",r.incorrectlyClosedComment="incorrectly-closed-comment",r.eofInCdata="eof-in-cdata",r.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",r.nullCharacterReference="null-character-reference",r.surrogateCharacterReference="surrogate-character-reference",r.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",r.controlCharacterReference="control-character-reference",r.noncharacterCharacterReference="noncharacter-character-reference",r.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",r.missingDoctypeName="missing-doctype-name",r.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",r.duplicateAttribute="duplicate-attribute",r.nonConformingDoctype="non-conforming-doctype",r.missingDoctype="missing-doctype",r.misplacedDoctype="misplaced-doctype",r.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",r.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",r.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",r.openElementsLeftAfterEof="open-elements-left-after-eof",r.abandonedHeadElementChild="abandoned-head-element-child",r.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",r.nestedNoscriptInHead="nested-noscript-in-head",r.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"},34589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIntegrationPoint=t.adjustTokenSVGTagName=t.adjustTokenXMLAttrs=t.adjustTokenSVGAttrs=t.adjustTokenMathMLAttrs=t.causesExit=t.SVG_TAG_NAMES_ADJUSTMENT_MAP=void 0;const n=r(96854),s="text/html",i="application/xhtml+xml",a=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),o=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:n.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:n.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:n.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:n.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:n.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:n.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:n.NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:n.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:n.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:n.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:n.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:n.NS.XMLNS}]]);t.SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e])));const l=new Set([n.TAG_ID.B,n.TAG_ID.BIG,n.TAG_ID.BLOCKQUOTE,n.TAG_ID.BODY,n.TAG_ID.BR,n.TAG_ID.CENTER,n.TAG_ID.CODE,n.TAG_ID.DD,n.TAG_ID.DIV,n.TAG_ID.DL,n.TAG_ID.DT,n.TAG_ID.EM,n.TAG_ID.EMBED,n.TAG_ID.H1,n.TAG_ID.H2,n.TAG_ID.H3,n.TAG_ID.H4,n.TAG_ID.H5,n.TAG_ID.H6,n.TAG_ID.HEAD,n.TAG_ID.HR,n.TAG_ID.I,n.TAG_ID.IMG,n.TAG_ID.LI,n.TAG_ID.LISTING,n.TAG_ID.MENU,n.TAG_ID.META,n.TAG_ID.NOBR,n.TAG_ID.OL,n.TAG_ID.P,n.TAG_ID.PRE,n.TAG_ID.RUBY,n.TAG_ID.S,n.TAG_ID.SMALL,n.TAG_ID.SPAN,n.TAG_ID.STRONG,n.TAG_ID.STRIKE,n.TAG_ID.SUB,n.TAG_ID.SUP,n.TAG_ID.TABLE,n.TAG_ID.TT,n.TAG_ID.U,n.TAG_ID.UL,n.TAG_ID.VAR]);t.causesExit=function(e){const t=e.tagID;return t===n.TAG_ID.FONT&&e.attrs.some((({name:e})=>e===n.ATTRS.COLOR||e===n.ATTRS.SIZE||e===n.ATTRS.FACE))||l.has(t)},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t{"use strict";var r,n,s,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.hasUnescapedText=t.isNumberedHeader=t.SPECIAL_ELEMENTS=t.getTagID=t.TAG_ID=t.TAG_NAMES=t.DOCUMENT_MODE=t.ATTRS=t.NS=void 0,function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(r=t.NS||(t.NS={})),(a=t.ATTRS||(t.ATTRS={})).TYPE="type",a.ACTION="action",a.ENCODING="encoding",a.PROMPT="prompt",a.NAME="name",a.COLOR="color",a.FACE="face",a.SIZE="size",(i=t.DOCUMENT_MODE||(t.DOCUMENT_MODE={})).NO_QUIRKS="no-quirks",i.QUIRKS="quirks",i.LIMITED_QUIRKS="limited-quirks",function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(n=t.TAG_NAMES||(t.TAG_NAMES={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(s=t.TAG_ID||(t.TAG_ID={}));const o=new Map([[n.A,s.A],[n.ADDRESS,s.ADDRESS],[n.ANNOTATION_XML,s.ANNOTATION_XML],[n.APPLET,s.APPLET],[n.AREA,s.AREA],[n.ARTICLE,s.ARTICLE],[n.ASIDE,s.ASIDE],[n.B,s.B],[n.BASE,s.BASE],[n.BASEFONT,s.BASEFONT],[n.BGSOUND,s.BGSOUND],[n.BIG,s.BIG],[n.BLOCKQUOTE,s.BLOCKQUOTE],[n.BODY,s.BODY],[n.BR,s.BR],[n.BUTTON,s.BUTTON],[n.CAPTION,s.CAPTION],[n.CENTER,s.CENTER],[n.CODE,s.CODE],[n.COL,s.COL],[n.COLGROUP,s.COLGROUP],[n.DD,s.DD],[n.DESC,s.DESC],[n.DETAILS,s.DETAILS],[n.DIALOG,s.DIALOG],[n.DIR,s.DIR],[n.DIV,s.DIV],[n.DL,s.DL],[n.DT,s.DT],[n.EM,s.EM],[n.EMBED,s.EMBED],[n.FIELDSET,s.FIELDSET],[n.FIGCAPTION,s.FIGCAPTION],[n.FIGURE,s.FIGURE],[n.FONT,s.FONT],[n.FOOTER,s.FOOTER],[n.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[n.FORM,s.FORM],[n.FRAME,s.FRAME],[n.FRAMESET,s.FRAMESET],[n.H1,s.H1],[n.H2,s.H2],[n.H3,s.H3],[n.H4,s.H4],[n.H5,s.H5],[n.H6,s.H6],[n.HEAD,s.HEAD],[n.HEADER,s.HEADER],[n.HGROUP,s.HGROUP],[n.HR,s.HR],[n.HTML,s.HTML],[n.I,s.I],[n.IMG,s.IMG],[n.IMAGE,s.IMAGE],[n.INPUT,s.INPUT],[n.IFRAME,s.IFRAME],[n.KEYGEN,s.KEYGEN],[n.LABEL,s.LABEL],[n.LI,s.LI],[n.LINK,s.LINK],[n.LISTING,s.LISTING],[n.MAIN,s.MAIN],[n.MALIGNMARK,s.MALIGNMARK],[n.MARQUEE,s.MARQUEE],[n.MATH,s.MATH],[n.MENU,s.MENU],[n.META,s.META],[n.MGLYPH,s.MGLYPH],[n.MI,s.MI],[n.MO,s.MO],[n.MN,s.MN],[n.MS,s.MS],[n.MTEXT,s.MTEXT],[n.NAV,s.NAV],[n.NOBR,s.NOBR],[n.NOFRAMES,s.NOFRAMES],[n.NOEMBED,s.NOEMBED],[n.NOSCRIPT,s.NOSCRIPT],[n.OBJECT,s.OBJECT],[n.OL,s.OL],[n.OPTGROUP,s.OPTGROUP],[n.OPTION,s.OPTION],[n.P,s.P],[n.PARAM,s.PARAM],[n.PLAINTEXT,s.PLAINTEXT],[n.PRE,s.PRE],[n.RB,s.RB],[n.RP,s.RP],[n.RT,s.RT],[n.RTC,s.RTC],[n.RUBY,s.RUBY],[n.S,s.S],[n.SCRIPT,s.SCRIPT],[n.SECTION,s.SECTION],[n.SELECT,s.SELECT],[n.SOURCE,s.SOURCE],[n.SMALL,s.SMALL],[n.SPAN,s.SPAN],[n.STRIKE,s.STRIKE],[n.STRONG,s.STRONG],[n.STYLE,s.STYLE],[n.SUB,s.SUB],[n.SUMMARY,s.SUMMARY],[n.SUP,s.SUP],[n.TABLE,s.TABLE],[n.TBODY,s.TBODY],[n.TEMPLATE,s.TEMPLATE],[n.TEXTAREA,s.TEXTAREA],[n.TFOOT,s.TFOOT],[n.TD,s.TD],[n.TH,s.TH],[n.THEAD,s.THEAD],[n.TITLE,s.TITLE],[n.TR,s.TR],[n.TRACK,s.TRACK],[n.TT,s.TT],[n.U,s.U],[n.UL,s.UL],[n.SVG,s.SVG],[n.VAR,s.VAR],[n.WBR,s.WBR],[n.XMP,s.XMP]]);t.getTagID=function(e){var t;return null!==(t=o.get(e))&&void 0!==t?t:s.UNKNOWN};const l=s;t.SPECIAL_ELEMENTS={[r.HTML]:new Set([l.ADDRESS,l.APPLET,l.AREA,l.ARTICLE,l.ASIDE,l.BASE,l.BASEFONT,l.BGSOUND,l.BLOCKQUOTE,l.BODY,l.BR,l.BUTTON,l.CAPTION,l.CENTER,l.COL,l.COLGROUP,l.DD,l.DETAILS,l.DIR,l.DIV,l.DL,l.DT,l.EMBED,l.FIELDSET,l.FIGCAPTION,l.FIGURE,l.FOOTER,l.FORM,l.FRAME,l.FRAMESET,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HEADER,l.HGROUP,l.HR,l.HTML,l.IFRAME,l.IMG,l.INPUT,l.LI,l.LINK,l.LISTING,l.MAIN,l.MARQUEE,l.MENU,l.META,l.NAV,l.NOEMBED,l.NOFRAMES,l.NOSCRIPT,l.OBJECT,l.OL,l.P,l.PARAM,l.PLAINTEXT,l.PRE,l.SCRIPT,l.SECTION,l.SELECT,l.SOURCE,l.STYLE,l.SUMMARY,l.TABLE,l.TBODY,l.TD,l.TEMPLATE,l.TEXTAREA,l.TFOOT,l.TH,l.THEAD,l.TITLE,l.TR,l.TRACK,l.UL,l.WBR,l.XMP]),[r.MATHML]:new Set([l.MI,l.MO,l.MN,l.MS,l.MTEXT,l.ANNOTATION_XML]),[r.SVG]:new Set([l.TITLE,l.FOREIGN_OBJECT,l.DESC]),[r.XLINK]:new Set,[r.XML]:new Set,[r.XMLNS]:new Set},t.isNumberedHeader=function(e){return e===l.H1||e===l.H2||e===l.H3||e===l.H4||e===l.H5||e===l.H6};const u=new Set([n.STYLE,n.SCRIPT,n.XMP,n.IFRAME,n.NOEMBED,n.NOFRAMES,n.PLAINTEXT]);t.hasUnescapedText=function(e,t){return u.has(e)||t&&e===n.NOSCRIPT}},14708:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenAttr=t.TokenType=void 0,(r=t.TokenType||(t.TokenType={}))[r.CHARACTER=0]="CHARACTER",r[r.NULL_CHARACTER=1]="NULL_CHARACTER",r[r.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",r[r.START_TAG=3]="START_TAG",r[r.END_TAG=4]="END_TAG",r[r.COMMENT=5]="COMMENT",r[r.DOCTYPE=6]="DOCTYPE",r[r.EOF=7]="EOF",r[r.HIBERNATION=8]="HIBERNATION",t.getTokenAttr=function(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}},6746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUndefinedCodePoint=t.isControlCodePoint=t.getSurrogatePairCodePoint=t.isSurrogatePair=t.isSurrogate=t.SEQUENCES=t.CODE_POINTS=t.REPLACEMENT_CHARACTER=void 0;const r=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);var n;t.REPLACEMENT_CHARACTER="�",(n=t.CODE_POINTS||(t.CODE_POINTS={}))[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.NUMBER_SIGN=35]="NUMBER_SIGN",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",n[n.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_F=102]="LATIN_SMALL_F",n[n.LATIN_SMALL_X=120]="LATIN_SMALL_X",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",n[n.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER",t.SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||r.has(e)}},37015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseFragment=t.parse=t.TokenizerMode=t.Tokenizer=t.Token=t.html=t.foreignContent=t.ErrorCodes=t.serializeOuter=t.serialize=t.Parser=t.defaultTreeAdapter=void 0;const n=r(62314);var s=r(53384);Object.defineProperty(t,"defaultTreeAdapter",{enumerable:!0,get:function(){return s.defaultTreeAdapter}});var i=r(62314);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return i.Parser}});var a=r(37742);Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return a.serialize}}),Object.defineProperty(t,"serializeOuter",{enumerable:!0,get:function(){return a.serializeOuter}});var o=r(13246);Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return o.ERR}}),t.foreignContent=r(34589),t.html=r(96854),t.Token=r(14708);var l=r(73783);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l.Tokenizer}}),Object.defineProperty(t,"TokenizerMode",{enumerable:!0,get:function(){return l.TokenizerMode}}),t.parse=function(e,t){return n.Parser.parse(e,t)},t.parseFragment=function(e,t,r){"string"==typeof e&&(r=t,t=e,e=null);const s=n.Parser.getFragmentParser(e,r);return s.tokenizer.write(t,!0),s.getFragment()}},83129:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.FormattingElementList=t.EntryType=void 0,function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(r=t.EntryType||(t.EntryType={}));const n={type:r.Marker};t.FormattingElementList=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],s=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;en.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(n)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:r.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:r.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(n);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===r.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===r.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===r.Element&&t.element===e))}}},62314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;const n=r(73783),s=r(21982),i=r(83129),a=r(53384),o=r(58993),l=r(34589),u=r(13246),c=r(6746),d=r(96854),h=r(14708),p="hidden",f=8,g=3;var m;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(m||(m={}));const _={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},y=new Set([d.TAG_ID.TABLE,d.TAG_ID.TBODY,d.TAG_ID.TFOOT,d.TAG_ID.THEAD,d.TAG_ID.TR]),E={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:a.defaultTreeAdapter,onParseError:null};function T(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):W(e,t),r}function A(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const s=e.openElements.items[n];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[n])&&(r=s)}return r||(e.openElements.shortenToLength(n<0?0:n),e.activeFormattingElements.removeEntry(t)),r}function v(e,t,r){let n=t,s=e.openElements.getCommonAncestor(t);for(let i=0,a=s;a!==r;i++,a=s){s=e.openElements.getCommonAncestor(a);const r=e.activeFormattingElements.getElementEntry(a),o=r&&i>=g;!r||o?(o&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(a)):(a=b(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(a,n),n=a)}return n}function b(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function S(e,t,r){const n=e.treeAdapter.getTagName(t),s=(0,d.getTagID)(n);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(r);else{const n=e.treeAdapter.getNamespaceURI(t);s===d.TAG_ID.TEMPLATE&&n===d.NS.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function I(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:s}=r,i=e.treeAdapter.createElement(s.tagName,n,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,s.tagID)}function O(e,t){for(let r=0;r=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function D(e,t){e._err(t,u.ERR.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,d.DOCUMENT_MODE.QUIRKS),e.insertionMode=m.BEFORE_HTML,e._processToken(t)}function w(e,t){e._insertFakeRootElement(),e.insertionMode=m.BEFORE_HEAD,e._processToken(t)}function P(e,t){e._insertFakeElement(d.TAG_NAMES.HEAD,d.TAG_ID.HEAD),e.headElement=e.openElements.current,e.insertionMode=m.IN_HEAD,e._processToken(t)}function R(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TITLE:e._switchToTextParsing(t,n.TokenizerMode.RCDATA);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT):(e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_HEAD_NO_SCRIPT);break;case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT);break;case d.TAG_ID.SCRIPT:e._switchToTextParsing(t,n.TokenizerMode.SCRIPT_DATA);break;case d.TAG_ID.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=m.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(m.IN_TEMPLATE);break;case d.TAG_ID.HEAD:e._err(t,u.ERR.misplacedStartTagForHeadElement);break;default:L(e,t)}}function k(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TAG_ID.TEMPLATE&&e._err(t,u.ERR.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}function L(e,t){e.openElements.pop(),e.insertionMode=m.AFTER_HEAD,e._processToken(t)}function M(e,t){const r=t.type===h.TokenType.EOF?u.ERR.openElementsLeftAfterEof:u.ERR.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=m.IN_HEAD,e._processToken(t)}function x(e,t){e._insertFakeElement(d.TAG_NAMES.BODY,d.TAG_ID.BODY),e.insertionMode=m.IN_BODY,F(e,t)}function F(e,t){switch(t.type){case h.TokenType.CHARACTER:B(e,t);break;case h.TokenType.WHITESPACE_CHARACTER:U(e,t);break;case h.TokenType.COMMENT:C(e,t);break;case h.TokenType.START_TAG:q(e,t);break;case h.TokenType.END_TAG:V(e,t);break;case h.TokenType.EOF:Y(e,t)}}function U(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function B(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function G(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function H(e){const t=(0,h.getTokenAttr)(e,d.ATTRS.TYPE);return null!=t&&t.toLowerCase()===p}function j(e,t){e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}function $(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}function q(e,t){switch(t.tagID){case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.B:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.A:!function(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(d.TAG_NAMES.A);r&&(O(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),(0,d.isNumberedHeader)(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.P:case d.TAG_ID.DL:case d.TAG_ID.OL:case d.TAG_ID.UL:case d.TAG_ID.DIV:case d.TAG_ID.DIR:case d.TAG_ID.NAV:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.DETAILS:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.LI:case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){e.framesetOk=!1;const r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const n=e.openElements.tagIDs[t];if(r===d.TAG_ID.LI&&n===d.TAG_ID.LI||(r===d.TAG_ID.DD||r===d.TAG_ID.DT)&&(n===d.TAG_ID.DD||n===d.TAG_ID.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==d.TAG_ID.ADDRESS&&n!==d.TAG_ID.DIV&&n!==d.TAG_ID.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.BR:case d.TAG_ID.IMG:case d.TAG_ID.WBR:case d.TAG_ID.AREA:case d.TAG_ID.EMBED:case d.TAG_ID.KEYGEN:G(e,t);break;case d.TAG_ID.HR:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.RB:case d.TAG_ID.RTC:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.RT:case d.TAG_ID.RP:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.RTC),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.PRE:case d.TAG_ID.LISTING:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case d.TAG_ID.XMP:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SVG:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenSVGAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.SVG):e._insertElement(t,d.NS.SVG),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.STYLE:case d.TAG_ID.TITLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.BGSOUND:case d.TAG_ID.BASEFONT:case d.TAG_ID.TEMPLATE:R(e,t);break;case d.TAG_ID.BODY:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}(e,t);break;case d.TAG_ID.FORM:!function(e,t){const r=e.openElements.tmplCount>0;e.formElement&&!r||(e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),r||(e.formElement=e.openElements.current))}(e,t);break;case d.TAG_ID.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.TAG_ID.NOBR)&&(O(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.MATH:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenMathMLAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.MATHML):e._insertElement(t,d.NS.MATHML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==d.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=m.IN_TABLE}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),H(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.PARAM:case d.TAG_ID.TRACK:case d.TAG_ID.SOURCE:!function(e,t){e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.IMAGE:!function(e,t){t.tagName=d.TAG_NAMES.IMG,t.tagID=d.TAG_ID.IMG,G(e,t)}(e,t);break;case d.TAG_ID.BUTTON:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1}(e,t);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case d.TAG_ID.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,n.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===m.IN_TABLE||e.insertionMode===m.IN_CAPTION||e.insertionMode===m.IN_TABLE_BODY||e.insertionMode===m.IN_ROW||e.insertionMode===m.IN_CELL?m.IN_SELECT_IN_TABLE:m.IN_SELECT}(e,t);break;case d.TAG_ID.OPTION:case d.TAG_ID.OPTGROUP:!function(e,t){e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.NOEMBED:j(e,t);break;case d.TAG_ID.FRAMESET:!function(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_FRAMESET)}(e,t);break;case d.TAG_ID.TEXTAREA:!function(e,t){e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.tokenizer.state=n.TokenizerMode.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=m.TEXT}(e,t);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?j(e,t):$(e,t);break;case d.TAG_ID.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.tokenizer.state=n.TokenizerMode.PLAINTEXT}(e,t);break;case d.TAG_ID.COL:case d.TAG_ID.TH:case d.TAG_ID.TD:case d.TAG_ID.TR:case d.TAG_ID.HEAD:case d.TAG_ID.FRAME:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:break;default:$(e,t)}}function W(e,t){const r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(n===i&&(n!==d.TAG_ID.UNKNOWN||e.treeAdapter.getTagName(s)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function V(e,t){switch(t.tagID){case d.TAG_ID.A:case d.TAG_ID.B:case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.NOBR:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:O(e,t);break;case d.TAG_ID.P:!function(e){e.openElements.hasInButtonScope(d.TAG_ID.P)||e._insertFakeElement(d.TAG_NAMES.P,d.TAG_ID.P),e._closePElement()}(e);break;case d.TAG_ID.DL:case d.TAG_ID.UL:case d.TAG_ID.OL:case d.TAG_ID.DIR:case d.TAG_ID.DIV:case d.TAG_ID.NAV:case d.TAG_ID.PRE:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.BUTTON:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.DETAILS:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.LISTING:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case d.TAG_ID.LI:!function(e){e.openElements.hasInListItemScope(d.TAG_ID.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.LI),e.openElements.popUntilTagNamePopped(d.TAG_ID.LI))}(e);break;case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case d.TAG_ID.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(d.TAG_NAMES.BR,d.TAG_ID.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case d.TAG_ID.BODY:!function(e,t){if(e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=m.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}(e,t);break;case d.TAG_ID.HTML:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=m.AFTER_BODY,de(e,t))}(e,t);break;case d.TAG_ID.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.TAG_ID.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.TAG_ID.FORM):r&&e.openElements.remove(r))}(e);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:W(e,t)}}function Y(e,t){e.tmplInsertionModeStack.length>0?ce(e,t):N(e,t)}function z(e,t){if(y.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=m.IN_TABLE_TEXT,t.type){case h.TokenType.CHARACTER:Z(e,t);break;case h.TokenType.WHITESPACE_CHARACTER:J(e,t)}else X(e,t)}function K(e,t){switch(t.tagID){case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.TBODY,d.TAG_ID.TBODY),e.insertionMode=m.IN_TABLE_BODY,se(e,t)}(e,t);break;case d.TAG_ID.STYLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:R(e,t);break;case d.TAG_ID.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.COLGROUP,d.TAG_ID.COLGROUP),e.insertionMode=m.IN_COLUMN_GROUP,re(e,t)}(e,t);break;case d.TAG_ID.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,d.NS.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_TABLE_BODY}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){H(t)?e._appendElement(t,d.NS.HTML):X(e,t),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_CAPTION}(e,t);break;case d.TAG_ID.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_COLUMN_GROUP}(e,t);break;default:X(e,t)}}function Q(e,t){switch(t.tagID){case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:k(e,t);break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:X(e,t)}}function X(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,F(e,t),e.fosterParentingEnabled=r}function J(e,t){e.pendingCharacterTokens.push(t)}function Z(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ee(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(n=(r=this.treeAdapter).onItemPop)||void 0===n||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===d.NS.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,d.NS.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=m.TEXT}switchToPlaintextParsing(){this.insertionMode=m.TEXT,this.originalInsertionMode=m.IN_BODY,this.tokenizer.state=n.TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===d.TAG_NAMES.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===d.NS.HTML)switch(this.fragmentContextID){case d.TAG_ID.TITLE:case d.TAG_ID.TEXTAREA:this.tokenizer.state=n.TokenizerMode.RCDATA;break;case d.TAG_ID.STYLE:case d.TAG_ID.XMP:case d.TAG_ID.IFRAME:case d.TAG_ID.NOEMBED:case d.TAG_ID.NOFRAMES:case d.TAG_ID.NOSCRIPT:this.tokenizer.state=n.TokenizerMode.RAWTEXT;break;case d.TAG_ID.SCRIPT:this.tokenizer.state=n.TokenizerMode.SCRIPT_DATA;break;case d.TAG_ID.PLAINTEXT:this.tokenizer.state=n.TokenizerMode.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&Object.assign(Object.assign({},t),{startTag:t});this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,d.NS.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,d.NS.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(d.TAG_NAMES.HTML,d.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,d.TAG_ID.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:r}=this._findFosterParentingLocation()),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),s=r?n.lastIndexOf(r):n.length,i=n[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),s=t.type===h.TokenType.END_TAG&&n===t.tagName?{endTag:Object.assign({},r),endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):({current:t,currentTagId:r}=this.openElements),(e.tagID!==d.TAG_ID.SVG||this.treeAdapter.getTagName(t)!==d.TAG_NAMES.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==d.NS.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===d.TAG_ID.MGLYPH||e.tagID===d.TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(r,t,d.NS.HTML))}_processToken(e){switch(e.type){case h.TokenType.CHARACTER:this.onCharacter(e);break;case h.TokenType.NULL_CHARACTER:this.onNullCharacter(e);break;case h.TokenType.COMMENT:this.onComment(e);break;case h.TokenType.DOCTYPE:this.onDoctype(e);break;case h.TokenType.START_TAG:this._processStartTag(e);break;case h.TokenType.END_TAG:this.onEndTag(e);break;case h.TokenType.EOF:this.onEof(e);break;case h.TokenType.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),s=this.treeAdapter.getAttrList(t);return l.isIntegrationPoint(e,n,s,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===i.EntryType.Marker||this.openElements.contains(e.element)));for(let r=t<0?e-1:t-1;r>=0;r--){const e=this.activeFormattingElements.entries[r];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=m.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.P),this.openElements.popUntilTagNamePopped(d.TAG_ID.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case d.TAG_ID.TR:return void(this.insertionMode=m.IN_ROW);case d.TAG_ID.TBODY:case d.TAG_ID.THEAD:case d.TAG_ID.TFOOT:return void(this.insertionMode=m.IN_TABLE_BODY);case d.TAG_ID.CAPTION:return void(this.insertionMode=m.IN_CAPTION);case d.TAG_ID.COLGROUP:return void(this.insertionMode=m.IN_COLUMN_GROUP);case d.TAG_ID.TABLE:return void(this.insertionMode=m.IN_TABLE);case d.TAG_ID.BODY:return void(this.insertionMode=m.IN_BODY);case d.TAG_ID.FRAMESET:return void(this.insertionMode=m.IN_FRAMESET);case d.TAG_ID.SELECT:return void this._resetInsertionModeForSelect(e);case d.TAG_ID.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case d.TAG_ID.HTML:return void(this.insertionMode=this.headElement?m.AFTER_HEAD:m.BEFORE_HEAD);case d.TAG_ID.TD:case d.TAG_ID.TH:if(e>0)return void(this.insertionMode=m.IN_CELL);break;case d.TAG_ID.HEAD:if(e>0)return void(this.insertionMode=m.IN_HEAD)}this.insertionMode=m.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===d.TAG_ID.TEMPLATE)break;if(e===d.TAG_ID.TABLE)return void(this.insertionMode=m.IN_SELECT_IN_TABLE)}this.insertionMode=m.IN_SELECT}_isElementCausesFosterParenting(e){return y.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case d.TAG_ID.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===d.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case d.TAG_ID.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return d.SPECIAL_ELEMENTS[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.IN_BODY:case m.IN_CAPTION:case m.IN_CELL:case m.IN_TEMPLATE:B(this,e);break;case m.TEXT:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_TABLE_TEXT:Z(this,e);break;case m.IN_COLUMN_GROUP:ne(this,e);break;case m.AFTER_BODY:he(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=c.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.TEXT:this._insertCharacters(e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_COLUMN_GROUP:ne(this,e);break;case m.AFTER_BODY:he(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)C(this,e);else switch(this.insertionMode){case m.INITIAL:case m.BEFORE_HTML:case m.BEFORE_HEAD:case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:case m.IN_BODY:case m.IN_TABLE:case m.IN_CAPTION:case m.IN_COLUMN_GROUP:case m.IN_TABLE_BODY:case m.IN_ROW:case m.IN_CELL:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:case m.IN_TEMPLATE:case m.IN_FRAMESET:case m.AFTER_FRAMESET:C(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case m.INITIAL:!function(e,t){e._setDocumentType(t);const r=t.forceQuirks?d.DOCUMENT_MODE.QUIRKS:o.getDocumentMode(t);o.isConforming(t)||e._err(t,u.ERR.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=m.BEFORE_HTML}(this,e);break;case m.BEFORE_HEAD:case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:this._err(e,u.ERR.misplacedDoctype);break;case m.IN_TABLE_TEXT:ee(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,u.ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(l.causesExit(t))fe(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===d.NS.MATHML?l.adjustTokenMathMLAttrs(t):n===d.NS.SVG&&(l.adjustTokenSVGTagName(t),l.adjustTokenSVGAttrs(t)),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:!function(e,t){t.tagID===d.TAG_ID.HTML?(e._insertElement(t,d.NS.HTML),e.insertionMode=m.BEFORE_HEAD):w(e,t)}(this,e);break;case m.BEFORE_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.HEAD:e._insertElement(t,d.NS.HTML),e.headElement=e.openElements.current,e.insertionMode=m.IN_HEAD;break;default:P(e,t)}}(this,e);break;case m.IN_HEAD:R(this,e);break;case m.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.HEAD:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:R(e,t);break;case d.TAG_ID.NOSCRIPT:e._err(t,u.ERR.nestedNoscriptInHead);break;default:M(e,t)}}(this,e);break;case m.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.BODY:e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=m.IN_BODY;break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_FRAMESET;break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:e._err(t,u.ERR.abandonedHeadElementChild),e.openElements.push(e.headElement,d.TAG_ID.HEAD),R(e,t),e.openElements.remove(e.headElement);break;case d.TAG_ID.HEAD:e._err(t,u.ERR.misplacedStartTagForHeadElement);break;default:x(e,t)}}(this,e);break;case m.IN_BODY:q(this,e);break;case m.IN_TABLE:K(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_CAPTION:!function(e,t){const r=t.tagID;te.has(r)?e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_TABLE,K(e,t)):q(e,t)}(this,e);break;case m.IN_COLUMN_GROUP:re(this,e);break;case m.IN_TABLE_BODY:se(this,e);break;case m.IN_ROW:ae(this,e);break;case m.IN_CELL:!function(e,t){const r=t.tagID;te.has(r)?(e.openElements.hasInTableScope(d.TAG_ID.TD)||e.openElements.hasInTableScope(d.TAG_ID.TH))&&(e._closeTableCell(),ae(e,t)):q(e,t)}(this,e);break;case m.IN_SELECT:le(this,e);break;case m.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===d.TAG_ID.CAPTION||r===d.TAG_ID.TABLE||r===d.TAG_ID.TBODY||r===d.TAG_ID.TFOOT||r===d.TAG_ID.THEAD||r===d.TAG_ID.TR||r===d.TAG_ID.TD||r===d.TAG_ID.TH?(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e._processStartTag(t)):le(e,t)}(this,e);break;case m.IN_TEMPLATE:!function(e,t){switch(t.tagID){case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:R(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.tmplInsertionModeStack[0]=m.IN_TABLE,e.insertionMode=m.IN_TABLE,K(e,t);break;case d.TAG_ID.COL:e.tmplInsertionModeStack[0]=m.IN_COLUMN_GROUP,e.insertionMode=m.IN_COLUMN_GROUP,re(e,t);break;case d.TAG_ID.TR:e.tmplInsertionModeStack[0]=m.IN_TABLE_BODY,e.insertionMode=m.IN_TABLE_BODY,se(e,t);break;case d.TAG_ID.TD:case d.TAG_ID.TH:e.tmplInsertionModeStack[0]=m.IN_ROW,e.insertionMode=m.IN_ROW,ae(e,t);break;default:e.tmplInsertionModeStack[0]=m.IN_BODY,e.insertionMode=m.IN_BODY,q(e,t)}}(this,e);break;case m.AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?q(e,t):he(e,t)}(this,e);break;case m.IN_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.FRAME:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e);break;case m.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e);break;case m.AFTER_AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?q(e,t):pe(e,t)}(this,e);break;case m.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.NOFRAMES:R(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===d.TAG_ID.P||t.tagID===d.TAG_ID.BR)return fe(e),void e._endTagOutsideForeignContent(t);for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===d.NS.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(n);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:!function(e,t){const r=t.tagID;r!==d.TAG_ID.HTML&&r!==d.TAG_ID.HEAD&&r!==d.TAG_ID.BODY&&r!==d.TAG_ID.BR||w(e,t)}(this,e);break;case m.BEFORE_HEAD:!function(e,t){const r=t.tagID;r===d.TAG_ID.HEAD||r===d.TAG_ID.BODY||r===d.TAG_ID.HTML||r===d.TAG_ID.BR?P(e,t):e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}(this,e);break;case m.IN_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HEAD:e.openElements.pop(),e.insertionMode=m.AFTER_HEAD;break;case d.TAG_ID.BODY:case d.TAG_ID.BR:case d.TAG_ID.HTML:L(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.NOSCRIPT:e.openElements.pop(),e.insertionMode=m.IN_HEAD;break;case d.TAG_ID.BR:M(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.BODY:case d.TAG_ID.HTML:case d.TAG_ID.BR:x(e,t);break;case d.TAG_ID.TEMPLATE:k(e,t);break;default:e._err(t,u.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case m.IN_BODY:V(this,e);break;case m.TEXT:!function(e,t){var r;t.tagID===d.TAG_ID.SCRIPT&&(null===(r=e.scriptHandler)||void 0===r||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case m.IN_TABLE:Q(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_CAPTION:!function(e,t){const r=t.tagID;switch(r){case d.TAG_ID.CAPTION:case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_TABLE,r===d.TAG_ID.TABLE&&Q(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:V(e,t)}}(this,e);break;case m.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case d.TAG_ID.COLGROUP:e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=m.IN_TABLE);break;case d.TAG_ID.TEMPLATE:k(e,t);break;case d.TAG_ID.COL:break;default:ne(e,t)}}(this,e);break;case m.IN_TABLE_BODY:ie(this,e);break;case m.IN_ROW:oe(this,e);break;case m.IN_CELL:!function(e,t){const r=t.tagID;switch(r){case d.TAG_ID.TD:case d.TAG_ID.TH:e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=m.IN_ROW);break;case d.TAG_ID.TABLE:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(r)&&(e._closeTableCell(),oe(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:break;default:V(e,t)}}(this,e);break;case m.IN_SELECT:ue(this,e);break;case m.IN_SELECT_IN_TABLE:!function(e,t){const r=t.tagID;r===d.TAG_ID.CAPTION||r===d.TAG_ID.TABLE||r===d.TAG_ID.TBODY||r===d.TAG_ID.TFOOT||r===d.TAG_ID.THEAD||r===d.TAG_ID.TR||r===d.TAG_ID.TD||r===d.TAG_ID.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ue(e,t)}(this,e);break;case m.IN_TEMPLATE:!function(e,t){t.tagID===d.TAG_ID.TEMPLATE&&k(e,t)}(this,e);break;case m.AFTER_BODY:de(this,e);break;case m.IN_FRAMESET:!function(e,t){t.tagID!==d.TAG_ID.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===d.TAG_ID.FRAMESET||(e.insertionMode=m.AFTER_FRAMESET))}(this,e);break;case m.AFTER_FRAMESET:!function(e,t){t.tagID===d.TAG_ID.HTML&&(e.insertionMode=m.AFTER_AFTER_FRAMESET)}(this,e);break;case m.AFTER_AFTER_BODY:pe(this,e)}}onEof(e){switch(this.insertionMode){case m.INITIAL:D(this,e);break;case m.BEFORE_HTML:w(this,e);break;case m.BEFORE_HEAD:P(this,e);break;case m.IN_HEAD:L(this,e);break;case m.IN_HEAD_NO_SCRIPT:M(this,e);break;case m.AFTER_HEAD:x(this,e);break;case m.IN_BODY:case m.IN_TABLE:case m.IN_CAPTION:case m.IN_COLUMN_GROUP:case m.IN_TABLE_BODY:case m.IN_ROW:case m.IN_CELL:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:Y(this,e);break;case m.TEXT:!function(e,t){e._err(t,u.ERR.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case m.IN_TABLE_TEXT:ee(this,e);break;case m.IN_TEMPLATE:ce(this,e);break;case m.AFTER_BODY:case m.IN_FRAMESET:case m.AFTER_FRAMESET:case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:N(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===c.CODE_POINTS.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case m.IN_HEAD:case m.IN_HEAD_NO_SCRIPT:case m.AFTER_HEAD:case m.TEXT:case m.IN_COLUMN_GROUP:case m.IN_SELECT:case m.IN_SELECT_IN_TABLE:case m.IN_FRAMESET:case m.AFTER_FRAMESET:this._insertCharacters(e);break;case m.IN_BODY:case m.IN_CAPTION:case m.IN_CELL:case m.IN_TEMPLATE:case m.AFTER_BODY:case m.AFTER_AFTER_BODY:case m.AFTER_AFTER_FRAMESET:U(this,e);break;case m.IN_TABLE:case m.IN_TABLE_BODY:case m.IN_ROW:z(this,e);break;case m.IN_TABLE_TEXT:J(this,e)}}};const te=new Set([d.TAG_ID.CAPTION,d.TAG_ID.COL,d.TAG_ID.COLGROUP,d.TAG_ID.TBODY,d.TAG_ID.TD,d.TAG_ID.TFOOT,d.TAG_ID.TH,d.TAG_ID.THEAD,d.TAG_ID.TR]);function re(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.COL:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TEMPLATE:R(e,t);break;default:ne(e,t)}}function ne(e,t){e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=m.IN_TABLE,e._processToken(t))}function se(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_ROW;break;case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(d.TAG_NAMES.TR,d.TAG_ID.TR),e.insertionMode=m.IN_ROW,ae(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE,K(e,t));break;default:K(e,t)}}function ie(e,t){const r=t.tagID;switch(t.tagID){case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE);break;case d.TAG_ID.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE,Q(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:break;default:Q(e,t)}}function ae(e,t){switch(t.tagID){case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=m.IN_CELL,e.activeFormattingElements.insertMarker();break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,se(e,t));break;default:K(e,t)}}function oe(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY);break;case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,ie(e,t));break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TAG_ID.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=m.IN_TABLE_BODY,ie(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:break;default:Q(e,t)}}function le(e,t){switch(t.tagID){case d.TAG_ID.HTML:q(e,t);break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.OPTGROUP:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.INPUT:case d.TAG_ID.KEYGEN:case d.TAG_ID.TEXTAREA:case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),t.tagID!==d.TAG_ID.SELECT&&e._processStartTag(t));break;case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:R(e,t)}}function ue(e,t){switch(t.tagID){case d.TAG_ID.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop();break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop();break;case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:k(e,t)}}function ce(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):N(e,t)}function de(e,t){var r;if(t.tagID===d.TAG_ID.HTML){if(e.fragmentContext||(e.insertionMode=m.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.TAG_ID.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(null===(r=e.treeAdapter.getNodeSourceCodeLocation(n))||void 0===r?void 0:r.endTag)&&e._setEndLocation(n,t)}}else he(e,t)}function he(e,t){e.insertionMode=m.IN_BODY,F(e,t)}function pe(e,t){e.insertionMode=m.IN_BODY,F(e,t)}function fe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==d.NS.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}},21982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenElementStack=void 0;const n=r(96854),s=new Set([n.TAG_ID.DD,n.TAG_ID.DT,n.TAG_ID.LI,n.TAG_ID.OPTGROUP,n.TAG_ID.OPTION,n.TAG_ID.P,n.TAG_ID.RB,n.TAG_ID.RP,n.TAG_ID.RT,n.TAG_ID.RTC]),i=new Set([...s,n.TAG_ID.CAPTION,n.TAG_ID.COLGROUP,n.TAG_ID.TBODY,n.TAG_ID.TD,n.TAG_ID.TFOOT,n.TAG_ID.TH,n.TAG_ID.THEAD,n.TAG_ID.TR]),a=new Map([[n.TAG_ID.APPLET,n.NS.HTML],[n.TAG_ID.CAPTION,n.NS.HTML],[n.TAG_ID.HTML,n.NS.HTML],[n.TAG_ID.MARQUEE,n.NS.HTML],[n.TAG_ID.OBJECT,n.NS.HTML],[n.TAG_ID.TABLE,n.NS.HTML],[n.TAG_ID.TD,n.NS.HTML],[n.TAG_ID.TEMPLATE,n.NS.HTML],[n.TAG_ID.TH,n.NS.HTML],[n.TAG_ID.ANNOTATION_XML,n.NS.MATHML],[n.TAG_ID.MI,n.NS.MATHML],[n.TAG_ID.MN,n.NS.MATHML],[n.TAG_ID.MO,n.NS.MATHML],[n.TAG_ID.MS,n.NS.MATHML],[n.TAG_ID.MTEXT,n.NS.MATHML],[n.TAG_ID.DESC,n.NS.SVG],[n.TAG_ID.FOREIGN_OBJECT,n.NS.SVG],[n.TAG_ID.TITLE,n.NS.SVG]]),o=[n.TAG_ID.H1,n.TAG_ID.H2,n.TAG_ID.H3,n.TAG_ID.H4,n.TAG_ID.H5,n.TAG_ID.H6],l=[n.TAG_ID.TR,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],u=[n.TAG_ID.TBODY,n.TAG_ID.TFOOT,n.TAG_ID.THEAD,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],c=[n.TAG_ID.TABLE,n.TAG_ID.TEMPLATE,n.TAG_ID.HTML],d=[n.TAG_ID.TD,n.TAG_ID.TH];t.OpenElementStack=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=n.TAG_ID.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===n.TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===n.NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==n.NS.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;r--)if(e.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(c,n.NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(u,n.NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(l,n.NS.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===n.TAG_ID.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===n.TAG_ID.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if(a.get(r)===s)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if((0,n.isNumberedHeader)(t)&&r===n.NS.HTML)return!0;if(a.get(t)===r)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if((r===n.TAG_ID.UL||r===n.TAG_ID.OL)&&s===n.NS.HTML||a.get(r)===s)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t],s=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===e&&s===n.NS.HTML)return!0;if(r===n.TAG_ID.BUTTON&&s===n.NS.HTML||a.get(r)===s)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===n.NS.HTML){if(r===e)return!0;if(r===n.TAG_ID.TABLE||r===n.TAG_ID.TEMPLATE||r===n.TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===n.NS.HTML){if(t===n.TAG_ID.TBODY||t===n.TAG_ID.THEAD||t===n.TAG_ID.TFOOT)return!0;if(t===n.TAG_ID.TABLE||t===n.TAG_ID.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===n.NS.HTML){if(r===e)return!0;if(r!==n.TAG_ID.OPTION&&r!==n.TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;s.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;i.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&i.has(this.currentTagId);)this.pop()}}},37742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeOuter=t.serialize=void 0;const n=r(96854),s=r(41594),i=r(53384),a=new Set([n.TAG_NAMES.AREA,n.TAG_NAMES.BASE,n.TAG_NAMES.BASEFONT,n.TAG_NAMES.BGSOUND,n.TAG_NAMES.BR,n.TAG_NAMES.COL,n.TAG_NAMES.EMBED,n.TAG_NAMES.FRAME,n.TAG_NAMES.HR,n.TAG_NAMES.IMG,n.TAG_NAMES.INPUT,n.TAG_NAMES.KEYGEN,n.TAG_NAMES.LINK,n.TAG_NAMES.META,n.TAG_NAMES.PARAM,n.TAG_NAMES.SOURCE,n.TAG_NAMES.TRACK,n.TAG_NAMES.WBR]);function o(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===n.NS.HTML&&a.has(t.treeAdapter.getTagName(e))}const l={treeAdapter:i.defaultTreeAdapter,scriptingEnabled:!0};function u(e,t){let r="";const s=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===n.TAG_NAMES.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===n.NS.HTML?t.treeAdapter.getTemplateContent(e):e,i=t.treeAdapter.getChildNodes(s);if(i)for(const e of i)r+=c(e,t);return r}function c(e,t){return t.treeAdapter.isElementNode(e)?function(e,t){const r=t.treeAdapter.getTagName(e);return`<${r}${function(e,{treeAdapter:t}){let r="";for(const i of t.getAttrList(e)){if(r+=" ",i.namespace)switch(i.namespace){case n.NS.XML:r+=`xml:${i.name}`;break;case n.NS.XMLNS:"xmlns"!==i.name&&(r+="xmlns:"),r+=i.name;break;case n.NS.XLINK:r+=`xlink:${i.name}`;break;default:r+=`${i.prefix}:${i.name}`}else r+=i.name;r+=`="${(0,s.escapeAttribute)(i.value)}"`}return r}(e,t)}>${o(e,t)?"":`${u(e,t)}`}`}(e,t):t.treeAdapter.isTextNode(e)?function(e,t){const{treeAdapter:r}=t,i=r.getTextNodeContent(e),a=r.getParentNode(e),o=a&&r.isElementNode(a)&&r.getTagName(a);return o&&r.getNamespaceURI(a)===n.NS.HTML&&(0,n.hasUnescapedText)(o,t.scriptingEnabled)?i:(0,s.escapeText)(i)}(e,t):t.treeAdapter.isCommentNode(e)?function(e,{treeAdapter:t}){return`\x3c!--${t.getCommentNodeContent(e)}--\x3e`}(e,t):t.treeAdapter.isDocumentTypeNode(e)?function(e,{treeAdapter:t}){return``}(e,t):""}t.serialize=function(e,t){const r=Object.assign(Object.assign({},l),t);return o(e,r)?"":u(e,r)},t.serializeOuter=function(e,t){return c(e,Object.assign(Object.assign({},l),t))}},73783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=t.TokenizerMode=void 0;const n=r(70601),s=r(6746),i=r(14708),a=r(98824),o=r(13246),l=r(96854),u=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var c;function d(e){return e>=s.CODE_POINTS.DIGIT_0&&e<=s.CODE_POINTS.DIGIT_9}function h(e){return e>=s.CODE_POINTS.LATIN_CAPITAL_A&&e<=s.CODE_POINTS.LATIN_CAPITAL_Z}function p(e){return function(e){return e>=s.CODE_POINTS.LATIN_SMALL_A&&e<=s.CODE_POINTS.LATIN_SMALL_Z}(e)||h(e)}function f(e){return p(e)||d(e)}function g(e){return e>=s.CODE_POINTS.LATIN_CAPITAL_A&&e<=s.CODE_POINTS.LATIN_CAPITAL_F}function m(e){return e>=s.CODE_POINTS.LATIN_SMALL_A&&e<=s.CODE_POINTS.LATIN_SMALL_F}function _(e){return e+32}function y(e){return e===s.CODE_POINTS.SPACE||e===s.CODE_POINTS.LINE_FEED||e===s.CODE_POINTS.TABULATION||e===s.CODE_POINTS.FORM_FEED}function E(e){return y(e)||e===s.CODE_POINTS.SOLIDUS||e===s.CODE_POINTS.GREATER_THAN_SIGN}!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(c||(c={})),t.TokenizerMode={DATA:c.DATA,RCDATA:c.RCDATA,RAWTEXT:c.RAWTEXT,SCRIPT_DATA:c.SCRIPT_DATA,PLAINTEXT:c.PLAINTEXT,CDATA_SECTION:c.CDATA_SECTION},t.Tokenizer=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=c.DATA,this.returnState=c.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new n.Preprocessor(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,r;null===(r=(t=this.handler).onParseError)||void 0===r||r.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(o.ERR.endTagWithAttributes),e.selfClosing&&this._err(o.ERR.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case i.TokenType.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case i.TokenType.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case i.TokenType.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:i.TokenType.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=y(e)?i.TokenType.WHITESPACE_CHARACTER:e===s.CODE_POINTS.NULL?i.TokenType.NULL_CHARACTER:i.TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(i.TokenType.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,r=0,n=!1;for(let o=0,l=a.htmlDecodeTree[0];o>=0&&(o=(0,a.determineBranch)(a.htmlDecodeTree,l,o+1,e),!(o<0));e=this._consume()){r+=1,l=a.htmlDecodeTree[o];const u=l&a.BinTrieFlags.VALUE_LENGTH;if(u){const l=(u>>14)-1;if(e!==s.CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===s.CODE_POINTS.EQUALS_SIGN||f(i))?(t=[s.CODE_POINTS.AMPERSAND],o+=l):(t=0===l?[a.htmlDecodeTree[o]&~a.BinTrieFlags.VALUE_LENGTH]:1===l?[a.htmlDecodeTree[++o]]:[a.htmlDecodeTree[++o],a.htmlDecodeTree[++o]],r=0,n=e!==s.CODE_POINTS.SEMICOLON),0===l){this._consume();break}}}var i;return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(o.ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===c.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===c.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===c.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case c.DATA:this._stateData(e);break;case c.RCDATA:this._stateRcdata(e);break;case c.RAWTEXT:this._stateRawtext(e);break;case c.SCRIPT_DATA:this._stateScriptData(e);break;case c.PLAINTEXT:this._statePlaintext(e);break;case c.TAG_OPEN:this._stateTagOpen(e);break;case c.END_TAG_OPEN:this._stateEndTagOpen(e);break;case c.TAG_NAME:this._stateTagName(e);break;case c.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case c.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case c.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case c.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case c.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case c.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case c.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case c.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case c.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case c.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case c.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case c.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case c.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case c.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case c.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case c.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case c.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case c.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case c.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case c.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case c.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case c.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case c.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case c.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case c.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case c.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case c.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case c.BOGUS_COMMENT:this._stateBogusComment(e);break;case c.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case c.COMMENT_START:this._stateCommentStart(e);break;case c.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case c.COMMENT:this._stateComment(e);break;case c.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case c.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case c.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case c.COMMENT_END:this._stateCommentEnd(e);break;case c.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case c.DOCTYPE:this._stateDoctype(e);break;case c.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case c.DOCTYPE_NAME:this._stateDoctypeName(e);break;case c.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case c.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case c.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case c.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case c.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case c.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case c.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case c.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case c.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case c.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case c.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case c.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case c.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case c.CDATA_SECTION:this._stateCdataSection(e);break;case c.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case c.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case c.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case c.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case c.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case c.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case c.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case c.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case c.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case c.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.TAG_OPEN;break;case s.CODE_POINTS.AMPERSAND:this.returnState=c.DATA,this.state=c.CHARACTER_REFERENCE;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitCodePoint(e);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case s.CODE_POINTS.AMPERSAND:this.returnState=c.RCDATA,this.state=c.CHARACTER_REFERENCE;break;case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.RCDATA_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.RAWTEXT_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case s.CODE_POINTS.LESS_THAN_SIGN:this.state=c.SCRIPT_DATA_LESS_THAN_SIGN;break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(p(e))this._createStartTagToken(),this.state=c.TAG_NAME,this._stateTagName(e);else switch(e){case s.CODE_POINTS.EXCLAMATION_MARK:this.state=c.MARKUP_DECLARATION_OPEN;break;case s.CODE_POINTS.SOLIDUS:this.state=c.END_TAG_OPEN;break;case s.CODE_POINTS.QUESTION_MARK:this._err(o.ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=c.BOGUS_COMMENT,this._stateBogusComment(e);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(o.ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=c.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(p(e))this._createEndTagToken(),this.state=c.TAG_NAME,this._stateTagName(e);else switch(e){case s.CODE_POINTS.GREATER_THAN_SIGN:this._err(o.ERR.missingEndTagName),this.state=c.DATA;break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofBeforeTagName),this._emitChars("");break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this.state=c.SCRIPT_DATA_ESCAPED,this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=c.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===s.CODE_POINTS.SOLIDUS?this.state=c.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:p(e)?(this._emitChars("<"),this.state=c.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=c.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){p(e)?(this.state=c.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case s.CODE_POINTS.NULL:this._err(o.ERR.unexpectedNullCharacter),this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(s.REPLACEMENT_CHARACTER);break;case s.CODE_POINTS.EOF:this._err(o.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===s.CODE_POINTS.SOLIDUS?(this.state=c.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=c.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(s.SEQUENCES.SCRIPT,!1)&&E(this.preprocessor.peek(s.SEQUENCES.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(o.ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=s.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,s.isSurrogate)(this.charRefCode))this._err(o.ERR.surrogateCharacterReference),this.charRefCode=s.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,s.isUndefinedCodePoint)(this.charRefCode))this._err(o.ERR.noncharacterCharacterReference);else if((0,s.isControlCodePoint)(this.charRefCode)||this.charRefCode===s.CODE_POINTS.CARRIAGE_RETURN){this._err(o.ERR.controlCharacterReference);const e=u.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}},70601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Preprocessor=void 0;const n=r(6746),s=r(13246);t.Preprocessor=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:r,offset:n}=this;return{code:e,startLine:t,endLine:t,startCol:r,endCol:r,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if((0,n.isSurrogatePair)(t))return this.pos++,this._addGap(),(0,n.getSurrogatePairCodePoint)(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,n.CODE_POINTS.EOF;return this._err(s.ERR.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,n.CODE_POINTS.EOF;const r=this.html.charCodeAt(t);return r===n.CODE_POINTS.CARRIAGE_RETURN?n.CODE_POINTS.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,n.CODE_POINTS.EOF;let e=this.html.charCodeAt(this.pos);return e===n.CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,n.CODE_POINTS.LINE_FEED):e===n.CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,(0,n.isSurrogate)(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===n.CODE_POINTS.LINE_FEED||e===n.CODE_POINTS.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){(0,n.isControlCodePoint)(e)?this._err(s.ERR.controlCharacterInInputStream):(0,n.isUndefinedCodePoint)(e)&&this._err(s.ERR.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTreeAdapter=void 0;const n=r(96854);function s(e){return{nodeName:"#text",value:e,parentNode:null}}t.defaultTreeAdapter={createDocument:()=>({nodeName:"#document",mode:n.DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,r,n,s){const i=e.childNodes.find((e=>"#documentType"===e.nodeName));if(i)i.name=r,i.publicId=n,i.systemId=s;else{const i={nodeName:"#documentType",name:r,publicId:n,systemId:s,parentNode:null};t.defaultTreeAdapter.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(t.defaultTreeAdapter.isTextNode(n))return void(n.value+=r)}t.defaultTreeAdapter.appendChild(e,s(r))},insertTextBefore(e,r,n){const i=e.childNodes[e.childNodes.indexOf(n)-1];i&&t.defaultTreeAdapter.isTextNode(i)?i.value+=r:t.defaultTreeAdapter.insertBefore(e,s(r),n)},adoptAttributes(e,t){const r=new Set(e.attrs.map((e=>e.name)));for(let n=0;ne.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=Object.assign(Object.assign({},e.sourceCodeLocation),t)}}},79004:e=>{"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},33523:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},53082:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},23195:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},61210:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},42968:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},23042:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},60317:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},51373:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnalysisWebWorker",{enumerable:!0,get:function(){return t.AnalysisWebWorker}}),Object.defineProperty(e,"AnalysisWorkerWrapper",{enumerable:!0,get:function(){return t.AnalysisWorkerWrapper}}),Object.defineProperty(e,"App",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Assessment",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"AssessmentResult",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"Assessor",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ContentAssessor",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"DIFFICULTY",{enumerable:!0,get:function(){return A.DIFFICULTY}}),Object.defineProperty(e,"Factory",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"Paper",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"Pluggable",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"SeoAssessor",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"TaxonomyAssessor",{enumerable:!0,get:function(){return m.default}}),e.config=e.bundledPlugins=e.assessments=void 0,Object.defineProperty(e,"createWorker",{enumerable:!0,get:function(){return t.createWorker}}),e.values=e.markers=e.languageProcessing=e.interpreters=e.helpers=e.default=void 0;var t=r(77687),s=I(r(43947));e.assessments=s;var i=I(r(74059));e.bundledPlugins=i;var a=I(r(49061));e.helpers=a;var o=I(r(84476));e.markers=o;var l=I(r(80572));e.interpreters=l;var u=I(r(78035));e.config=u;var c=I(r(58677));e.languageProcessing=c;var d=I(r(73728));e.values=d;var h=b(r(12552)),p=b(r(25859)),f=b(r(70021)),g=b(r(63745)),m=b(r(74437)),_=b(r(20019)),y=b(r(82304)),E=b(r(73054)),T=b(r(9017)),A=r(82163),v=b(r(52453));function b(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(S=function(e){return e?r:t})(e)}function I(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=S(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}e.default={App:h.default,Assessor:p.default,ContentAssessor:f.default,TaxonomyAssessor:m.default,Pluggable:_.default,Paper:y.default,AssessmentResult:E.default,AnalysisWebWorker:t.AnalysisWebWorker,AnalysisWorkerWrapper:t.AnalysisWorkerWrapper,createWorker:t.createWorker,assessments:s,bundledPlugins:i,config:u,helpers:a,markers:o,interpreters:l,languageProcessing:c,values:d}})(),(window.yoast=window.yoast||{}).analysis=n})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/externals/replacementVariableEditor.js b/wp/wp-content/plugins/wordpress-seo/js/dist/externals/replacementVariableEditor.js index 4ad9918e..ed594e8f 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/externals/replacementVariableEditor.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/externals/replacementVariableEditor.js @@ -13,7 +13,7 @@ background-color: rgb(226 232 240); cursor: auto; } -`,c=({children:t,className:e})=>r.default.createElement(u,{className:(0,s.default)("yst-replacevar__mention",e),spellCheck:!1},t);e.Mention=c,c.propTypes={children:o.default.node.isRequired,className:o.default.string.isRequired}},51381:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(92694),i=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=v(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(99196)),o=d(n(85890)),s=d(n(12049)),a=n(65736),u=n(55609),c=d(n(42578)),f=n(37188),l=n(32183),h=n(34353),p=n(81413);function d(t){return t&&t.__esModule?t:{default:t}}function v(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:e})(t)}class _ extends i.default.Component{constructor(t){super(t),this.uniqueId=(0,s.default)("replacement-variable-editor-field-"),"description"===t.type?this.InputContainer=l.DescriptionInputContainer:this.InputContainer=l.TitleInputContainer,t.withCaret&&(this.InputContainer=(0,f.withCaretStyles)(this.InputContainer)),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this)}triggerReplacementVariableSuggestions(){this.ref.triggerReplacementVariableSuggestions()}render(){const{label:t,onChange:e,content:n,onFocus:o,onBlur:s,isActive:f,isHovered:h,onSearchChange:d,replacementVariables:v,recommendedReplacementVariables:_,editorRef:y,placeholder:g,fieldId:m,onMouseEnter:b,onMouseLeave:w,hasNewBadge:S,isDisabled:E,hasPremiumBadge:O,type:x}=this.props,I=this.InputContainer,z=(0,r.applyFilters)("yoast.replacementVariableEditor.additionalButtons",[],{fieldId:m,type:x}),M=(0,r.applyFilters)("yoast.replacementVariableEditor.additionalMentions",[],{fieldId:m,type:x});return i.default.createElement(l.FormSection,{className:["yst-replacevar",E&&"yst-replacevar--disabled"].filter(Boolean).join(" "),onMouseEnter:b,onMouseLeave:w},i.default.createElement(p.SimulatedLabel,{className:"yst-replacevar__label",id:this.uniqueId,onClick:o},t),O&&i.default.createElement(p.PremiumBadge,{inLabel:!0}),S&&i.default.createElement(p.NewBadge,{inLabel:!0}),i.default.createElement(l.ButtonsContainer,{className:"yst-replacevar__buttons"},i.default.createElement(u.Slot,{name:`yoast.replacementVariableEditor.additionalButtons.${m}`}),z.map(((t,e)=>i.default.createElement(i.Fragment,{key:`additional-button-${e}-${m}`},t))),i.default.createElement(u.Slot,{key:`PluginComponent-${m}`,name:`PluginComponent-${m}`}),i.default.createElement(l.TriggerReplacementVariableSuggestionsButton,{className:"yst-replacevar__button-insert",onClick:this.triggerReplacementVariableSuggestions,disabled:E},(0,a.__)("Insert variable","wordpress-seo"))),i.default.createElement(I,{className:`yst-replacevar__editor yst-replacevar__editor--${x}`,onClick:o,isActive:f&&!E,isHovered:h},i.default.createElement(u.Slot,{name:`yoast.replacementVariableEditor.additionalMentions.${m}`}),M.map(((t,e)=>i.default.createElement(i.Fragment,{key:`additional-mention-${e}-${m}`},t))),i.default.createElement(c.default,{fieldId:m,placeholder:g,content:n,onChange:e,onFocus:o,onBlur:s,onSearchChange:d,replacementVariables:v,recommendedReplacementVariables:_,ref:t=>{this.ref=t,y(t)},ariaLabelledBy:this.uniqueId,isDisabled:E,wrapperClassName:`yst-replacevar__editor-wrapper--${x}`})))}}_.propTypes={editorRef:o.default.func,content:o.default.string.isRequired,onChange:o.default.func.isRequired,onBlur:o.default.func,onSearchChange:o.default.func,replacementVariables:h.replacementVariablesShape,recommendedReplacementVariables:h.recommendedReplacementVariablesShape,isActive:o.default.bool,isHovered:o.default.bool,withCaret:o.default.bool,onFocus:o.default.func,label:o.default.string,placeholder:o.default.string,type:o.default.oneOf(["title","description"]).isRequired,fieldId:o.default.string,onMouseEnter:o.default.func,onMouseLeave:o.default.func,hasNewBadge:o.default.bool,isDisabled:o.default.bool,hasPremiumBadge:o.default.bool},_.defaultProps={onFocus:()=>{},onBlur:()=>{},onSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],fieldId:"",placeholder:"",label:"",withCaret:!1,isHovered:!1,isActive:!1,editorRef:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=_},42578:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ReplacementVariableEditorStandaloneInnerComponent=void 0;var r=E(n(99196)),i=E(n(37166)),o=E(n(95423)),s=E(n(60940)),a=E(n(25853)),u=E(n(66366)),c=E(n(1843)),f=E(n(16965)),l=E(n(18491)),h=E(n(85890)),p=n(25158),d=n(92694),v=n(65736),_=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=S(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(98487)),y=n(34353),g=n(82080),m=n(31689),b=n(17481),w=n(45608);function S(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(S=function(t){return t?n:e})(t)}function E(t){return t&&t.__esModule?t:{default:t}}const O=_.default.div` +`,c=({children:t,className:e})=>r.default.createElement(u,{className:(0,s.default)("yst-replacevar__mention",e),spellCheck:!1},t);e.Mention=c,c.propTypes={children:o.default.node.isRequired,className:o.default.string.isRequired}},51381:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(92694),i=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=v(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(99196)),o=d(n(85890)),s=d(n(12049)),a=n(65736),u=n(55609),c=d(n(42578)),f=n(37188),l=n(32183),h=n(34353),p=n(81413);function d(t){return t&&t.__esModule?t:{default:t}}function v(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:e})(t)}class _ extends i.default.Component{constructor(t){super(t),this.uniqueId=(0,s.default)("replacement-variable-editor-field-"),"description"===t.type?this.InputContainer=l.DescriptionInputContainer:this.InputContainer=l.TitleInputContainer,t.withCaret&&(this.InputContainer=(0,f.withCaretStyles)(this.InputContainer)),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this)}triggerReplacementVariableSuggestions(){this.ref.triggerReplacementVariableSuggestions()}render(){const{label:t,onChange:e,content:n,onFocus:o,onBlur:s,isActive:f,isHovered:h,onSearchChange:d,replacementVariables:v,recommendedReplacementVariables:_,editorRef:y,placeholder:g,fieldId:m,onMouseEnter:b,onMouseLeave:w,hasNewBadge:S,isDisabled:E,hasPremiumBadge:O,type:x}=this.props,I=this.InputContainer,z=(0,r.applyFilters)("yoast.replacementVariableEditor.additionalButtons",[],{fieldId:m,type:x});return i.default.createElement(l.FormSection,{className:["yst-replacevar",E&&"yst-replacevar--disabled"].filter(Boolean).join(" "),onMouseEnter:b,onMouseLeave:w},i.default.createElement(p.SimulatedLabel,{className:"yst-replacevar__label",id:this.uniqueId,onClick:o},t),O&&i.default.createElement(p.PremiumBadge,{inLabel:!0}),S&&i.default.createElement(p.NewBadge,{inLabel:!0}),i.default.createElement(l.ButtonsContainer,{className:"yst-replacevar__buttons"},i.default.createElement(u.Slot,{name:`yoast.replacementVariableEditor.additionalButtons.${m}`}),z.map(((t,e)=>i.default.createElement(i.Fragment,{key:`additional-button-${e}-${m}`},t))),i.default.createElement(u.Slot,{key:`PluginComponent-${m}`,name:`PluginComponent-${m}`}),i.default.createElement(l.TriggerReplacementVariableSuggestionsButton,{className:"yst-replacevar__button-insert",onClick:this.triggerReplacementVariableSuggestions,disabled:E},(0,a.__)("Insert variable","wordpress-seo"))),i.default.createElement(I,{className:"yst-replacevar__editor",onClick:o,isActive:f&&!E,isHovered:h},i.default.createElement(c.default,{fieldId:m,placeholder:g,content:n,onChange:e,onFocus:o,onBlur:s,onSearchChange:d,replacementVariables:v,recommendedReplacementVariables:_,ref:t=>{this.ref=t,y(t)},ariaLabelledBy:this.uniqueId,isDisabled:E})))}}_.propTypes={editorRef:o.default.func,content:o.default.string.isRequired,onChange:o.default.func.isRequired,onBlur:o.default.func,onSearchChange:o.default.func,replacementVariables:h.replacementVariablesShape,recommendedReplacementVariables:h.recommendedReplacementVariablesShape,isActive:o.default.bool,isHovered:o.default.bool,withCaret:o.default.bool,onFocus:o.default.func,label:o.default.string,placeholder:o.default.string,type:o.default.oneOf(["title","description"]).isRequired,fieldId:o.default.string,onMouseEnter:o.default.func,onMouseLeave:o.default.func,hasNewBadge:o.default.bool,isDisabled:o.default.bool,hasPremiumBadge:o.default.bool},_.defaultProps={onFocus:()=>{},onBlur:()=>{},onSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],fieldId:"",placeholder:"",label:"",withCaret:!1,isHovered:!1,isActive:!1,editorRef:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=_},42578:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ReplacementVariableEditorStandaloneInnerComponent=void 0;var r=E(n(99196)),i=E(n(37166)),o=E(n(95423)),s=E(n(60940)),a=E(n(25853)),u=E(n(66366)),c=E(n(1843)),f=E(n(16965)),l=E(n(18491)),h=E(n(85890)),p=n(25158),d=n(92694),v=n(65736),_=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=S(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(98487)),y=n(34353),g=n(82080),m=n(31689),b=n(17481),w=n(45608);function S(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(S=function(t){return t?n:e})(t)}function E(t){return t&&t.__esModule?t:{default:t}}const O=_.default.div` div { z-index: 10995; } @@ -21,7 +21,7 @@ max-height: 450px; overflow-y: auto; } -`,x=new RegExp("(?:\\p{RI}\\p{RI}|\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*)","gu");class I extends r.default.Component{constructor(t){super(t);const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,i=(0,m.unserializeEditor)(e,n),o=this.determineCurrentReplacementVariables(n,r);this.state={editorState:i,searchValue:"",isSuggestionsOpen:!1,editorKey:this.props.fieldId,suggestions:this.mapReplacementVariablesToSuggestions(o)},this._serializedContent=e,this.initializeBinds(),this.initializeDraftJsPlugins()}initializeBinds(){this.onChange=this.onChange.bind(this),this.handleKeyCommand=this.handleKeyCommand.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=(0,a.default)(p.speak.bind(this),500),this.onSuggestionsOpenChange=this.onSuggestionsOpenChange.bind(this)}initializeDraftJsPlugins(){const t=(0,o.default)({mentionTrigger:"%",entityMutability:"IMMUTABLE",mentionComponent:g.Mention}),e=(0,s.default)({stripEntities:!1});this.pluginList={mentionsPlugin:t,singleLinePlugin:{...e,handleReturn:()=>{}}},this.pluginList=(0,d.applyFilters)("yoast.replacementVariableEditor.pluginList",this.pluginList)}serializeContent(t){const e=(0,m.serializeEditor)(t.getCurrentContent());this._serializedContent!==e&&(this._serializedContent=e,this.props.onChange(this._serializedContent))}onChange(t){return new Promise((e=>{t=(0,m.replaceReplacementVariables)(t,this.props.replacementVariables),t=(0,w.selectReplacementVariables)(t,this.state.editorState),this.setState({editorState:t},(()=>{this.serializeContent(t),e()}))}))}handleKeyCommand(t){if("backspace"!==t&&"delete"!==t)return"not-handled";let e=(0,b.removeSelectedText)(this.state.editorState);const n=e.getCurrentContent(),r=e.getSelection();if(!r.isCollapsed())return"not-handled";const i=r.getStartOffset();if(i<0)return"not-handled";const o=n.getBlockForKey(r.getStartKey()).getText(),s="backspace"===t?i-1:i+1;if((o.codePointAt(s)||0)<=127)return"not-handled";let a;return a="backspace"===t?this.getBackwardMatch(o,i):this.getForwardMatch(o,i),a?(e=(0,b.removeEmojiCompletely)(e,a,t),this.onChange(e).then((()=>this.focus())),"handled"):"not-handled"}getForwardMatch(t,e){let n=1;return[2,3,4,5,6,7,8,9,10,11,12,13,14].every((r=>{const i=t.slice(e,e+r);return!(null===i.match(x)||i.match(x).length>1||(n=r,0))})),t.slice(e,e+n).match(x)}getBackwardMatch(t,e){return t.slice(0,e).match(x)}mapReplacementVariablesToSuggestions(t){return t.map((t=>({...t,name:t.label,replaceName:t.name})))}suggestionsFilter(t,e){const n=t.toLowerCase();return e.filter((function(t){return!(t.hidden||n&&0!==t.name.toLowerCase().indexOf(n))}))}determineCurrentReplacementVariables(t,e,n=""){if(""===n&&!(0,u.default)(e)){const n=(0,c.default)(t,(t=>(0,f.default)(e,t.name)));if(0!==n.length)return n}return t}onSearchChange({value:t}){this.props.onSearchChange&&this.props.onSearchChange(t);const e=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,t),n=this.mapReplacementVariablesToSuggestions(e);this.setState({searchValue:t,suggestions:this.suggestionsFilter(t,n)}),setTimeout((()=>{this.announceSearchResults()}))}onSuggestionsOpenChange(t){this.setState({isSuggestionsOpen:t})}announceSearchResults(){const{suggestions:t}=this.state;t.length?this.debouncedA11ySpeak((0,v.sprintf)((0,v._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",t.length,"wordpress-seo"),t.length),"assertive"):this.debouncedA11ySpeak((0,v.__)("No results","wordpress-seo"),"assertive")}focus(){this.editor.focus()}setEditorRef(t){this.editor=t}setEditorFieldId(){(0,l.default)(this.editor,"editor.editor").id=this.props.fieldId}triggerReplacementVariableSuggestions(){let t=(0,b.removeSelectedText)(this.state.editorState);const e=t.getSelection(),n=t.getCurrentContent(),r=(0,b.getAnchorBlock)(n,e).getText(),i=(0,b.getCaretOffset)(e),o=!(0,b.hasWhitespaceAt)(r,i-1),s=!(0,b.hasWhitespaceAt)(r,i),a=(0,b.getTrigger)(o,s);if(t=(0,b.insertText)(t,a),s){const e=i+a.length-1;t=(0,b.moveCaret)(t,e)}this.onChange(t).then((()=>this.focus()))}componentDidUpdate(t,e){const{content:n,replacementVariables:r,recommendedReplacementVariables:i}=t,{searchValue:o}=this.state,s={},a=this.props,u=a.content!==this._serializedContent&&a.content!==n,c=a.replacementVariables!==r,f=a.replacementVariables.map((t=>t.name)).filter((t=>!r.map((t=>t.name)).includes(t))).some((t=>n.includes("%%"+t+"%%")));if(u&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),!u&&c&&f&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),c){const t=this.determineCurrentReplacementVariables(a.replacementVariables,i,o);s.suggestions=this.suggestionsFilter(o,this.mapReplacementVariablesToSuggestions(t))}(c||u)&&this.setState({...e,...s})}handleCopyCutEvent(t){const{editorState:e}=this.state,n=e.getSelection();if(n.getHasFocus())try{const r=t.clipboardData,i=e.getCurrentContent(),o=(0,m.serializeSelection)(i,n);r.setData("text/plain",o),t.preventDefault()}catch(t){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",t)}}componentDidMount(){document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}componentWillUnmount(){this.debouncedA11ySpeak.cancel(),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}render(){const{MentionSuggestions:t}=this.pluginList.mentionsPlugin,{onFocus:e,onBlur:n,ariaLabelledBy:o,placeholder:s,theme:a,isDisabled:u,fieldId:c,wrapperClassName:f}=this.props,{editorState:l,suggestions:h,isSuggestionsOpen:p}=this.state;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{key:this.state.editorKey,textDirectionality:a.isRtl?"RTL":"LTR",editorState:l,handleKeyCommand:this.handleKeyCommand,onChange:this.onChange,onFocus:e,onBlur:n,plugins:Object.values(this.pluginList),ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:o,placeholder:s,spellCheck:!0,readOnly:u}),(0,d.applyFilters)("yoast.replacementVariableEditor.additionalPlugins",r.default.createElement(r.default.Fragment,null),this.pluginList,c),r.default.createElement(O,{className:f},r.default.createElement(t,{onSearchChange:this.onSearchChange,suggestions:h,onOpenChange:this.onSuggestionsOpenChange,open:p})))}}e.ReplacementVariableEditorStandaloneInnerComponent=I,I.propTypes={content:h.default.string.isRequired,replacementVariables:y.replacementVariablesShape.isRequired,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,ariaLabelledBy:h.default.string.isRequired,onSearchChange:h.default.func,onChange:h.default.func.isRequired,onFocus:h.default.func,onBlur:h.default.func,theme:h.default.object,placeholder:h.default.string,fieldId:h.default.string.isRequired,isDisabled:h.default.bool,wrapperClassName:h.default.string.isRequired},I.defaultProps={onSearchChange:null,onFocus:()=>{},onBlur:()=>{},placeholder:"",theme:{isRtl:!1},recommendedReplacementVariables:[],isDisabled:!1},e.default=(0,_.withTheme)(I)},26895:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(n(99196)),i=u(n(85890)),o=n(81413),s=u(n(9283)),a=n(34353);function u(t){return t&&t.__esModule?t:{default:t}}class c extends r.default.Component{constructor(t){super(t),this.state={activeField:null,hoveredField:null},this.setFieldFocus=this.setFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this)}handleChange(t,e){this.props.onChange(t,e)}setFieldFocus(t){this.setState({activeField:t})}onBlur(){this.setState({activeField:null})}onClick(t){this.setFieldFocus(t)}render(){const{data:t,replacementVariables:e,recommendedReplacementVariables:n,descriptionEditorFieldPlaceholder:i,hasPaperStyle:a,fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}=this.props,{activeField:p,hoveredField:d}=this.state;return r.default.createElement(o.ErrorBoundary,null,r.default.createElement(s.default,{descriptionEditorFieldPlaceholder:i,data:t,activeField:p,hoveredField:d,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:e,recommendedReplacementVariables:n,containerPadding:a?"0 20px":"0",fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}))}}c.propTypes={replacementVariables:a.replacementVariablesShape,recommendedReplacementVariables:a.recommendedReplacementVariablesShape,data:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,onChange:i.default.func.isRequired,descriptionEditorFieldPlaceholder:i.default.string,hasPaperStyle:i.default.bool,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},c.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0,descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=c},9283:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StyledEditor=void 0;var r=c(n(99196)),i=c(n(85890)),o=n(65736),s=c(n(98487)),a=c(n(51381)),u=n(34353);function c(t){return t&&t.__esModule?t:{default:t}}const f=e.StyledEditor=s.default.section` +`,x=new RegExp("(?:\\p{RI}\\p{RI}|\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*)","gu");class I extends r.default.Component{constructor(t){super(t);const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,i=(0,m.unserializeEditor)(e,n),o=this.determineCurrentReplacementVariables(n,r);this.state={editorState:i,searchValue:"",isSuggestionsOpen:!1,editorKey:this.props.fieldId,suggestions:this.mapReplacementVariablesToSuggestions(o)},this._serializedContent=e,this.initializeBinds(),this.initializeDraftJsPlugins()}initializeBinds(){this.onChange=this.onChange.bind(this),this.handleKeyCommand=this.handleKeyCommand.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=(0,a.default)(p.speak.bind(this),500),this.onSuggestionsOpenChange=this.onSuggestionsOpenChange.bind(this)}initializeDraftJsPlugins(){const t=(0,o.default)({mentionTrigger:"%",entityMutability:"IMMUTABLE",mentionComponent:g.Mention}),e=(0,s.default)({stripEntities:!1});this.pluginList={mentionsPlugin:t,singleLinePlugin:{...e,handleReturn:()=>{}}},this.pluginList=(0,d.applyFilters)("yoast.replacementVariableEditor.pluginList",this.pluginList)}serializeContent(t){const e=(0,m.serializeEditor)(t.getCurrentContent());this._serializedContent!==e&&(this._serializedContent=e,this.props.onChange(this._serializedContent))}onChange(t){return new Promise((e=>{t=(0,m.replaceReplacementVariables)(t,this.props.replacementVariables),t=(0,w.selectReplacementVariables)(t,this.state.editorState),this.setState({editorState:t},(()=>{this.serializeContent(t),e()}))}))}handleKeyCommand(t){if("backspace"!==t&&"delete"!==t)return"not-handled";let e=(0,b.removeSelectedText)(this.state.editorState);const n=e.getCurrentContent(),r=e.getSelection();if(!r.isCollapsed())return"not-handled";const i=r.getStartOffset();if(i<0)return"not-handled";const o=n.getBlockForKey(r.getStartKey()).getText(),s="backspace"===t?i-1:i+1;if((o.codePointAt(s)||0)<=127)return"not-handled";let a;return a="backspace"===t?this.getBackwardMatch(o,i):this.getForwardMatch(o,i),a?(e=(0,b.removeEmojiCompletely)(e,a,t),this.onChange(e).then((()=>this.focus())),"handled"):"not-handled"}getForwardMatch(t,e){let n=1;return[2,3,4,5,6,7,8,9,10,11,12,13,14].every((r=>{const i=t.slice(e,e+r);return!(null===i.match(x)||i.match(x).length>1||(n=r,0))})),t.slice(e,e+n).match(x)}getBackwardMatch(t,e){return t.slice(0,e).match(x)}mapReplacementVariablesToSuggestions(t){return t.map((t=>({...t,name:t.label,replaceName:t.name})))}suggestionsFilter(t,e){const n=t.toLowerCase();return e.filter((function(t){return!(t.hidden||n&&0!==t.name.toLowerCase().indexOf(n))}))}determineCurrentReplacementVariables(t,e,n=""){if(""===n&&!(0,u.default)(e)){const n=(0,c.default)(t,(t=>(0,f.default)(e,t.name)));if(0!==n.length)return n}return t}onSearchChange({value:t}){this.props.onSearchChange&&this.props.onSearchChange(t);const e=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,t),n=this.mapReplacementVariablesToSuggestions(e);this.setState({searchValue:t,suggestions:this.suggestionsFilter(t,n)}),setTimeout((()=>{this.announceSearchResults()}))}onSuggestionsOpenChange(t){this.setState({isSuggestionsOpen:t})}announceSearchResults(){const{suggestions:t}=this.state;t.length?this.debouncedA11ySpeak((0,v.sprintf)((0,v._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",t.length,"wordpress-seo"),t.length),"assertive"):this.debouncedA11ySpeak((0,v.__)("No results","wordpress-seo"),"assertive")}focus(){this.editor.focus()}setEditorRef(t){this.editor=t}setEditorFieldId(){(0,l.default)(this.editor,"editor.editor").id=this.props.fieldId}triggerReplacementVariableSuggestions(){let t=(0,b.removeSelectedText)(this.state.editorState);const e=t.getSelection(),n=t.getCurrentContent(),r=(0,b.getAnchorBlock)(n,e).getText(),i=(0,b.getCaretOffset)(e),o=!(0,b.hasWhitespaceAt)(r,i-1),s=!(0,b.hasWhitespaceAt)(r,i),a=(0,b.getTrigger)(o,s);if(t=(0,b.insertText)(t,a),s){const e=i+a.length-1;t=(0,b.moveCaret)(t,e)}this.onChange(t).then((()=>this.focus()))}componentDidUpdate(t,e){const{content:n,replacementVariables:r,recommendedReplacementVariables:i}=t,{searchValue:o}=this.state,s={},a=this.props,u=a.content!==this._serializedContent&&a.content!==n,c=a.replacementVariables!==r,f=a.replacementVariables.map((t=>t.name)).filter((t=>!r.map((t=>t.name)).includes(t))).some((t=>n.includes("%%"+t+"%%")));if(u&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),!u&&c&&f&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),c){const t=this.determineCurrentReplacementVariables(a.replacementVariables,i,o);s.suggestions=this.suggestionsFilter(o,this.mapReplacementVariablesToSuggestions(t))}(c||u)&&this.setState({...e,...s})}handleCopyCutEvent(t){const{editorState:e}=this.state,n=e.getSelection();if(n.getHasFocus())try{const r=t.clipboardData,i=e.getCurrentContent(),o=(0,m.serializeSelection)(i,n);r.setData("text/plain",o),t.preventDefault()}catch(t){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",t)}}componentDidMount(){document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}componentWillUnmount(){this.debouncedA11ySpeak.cancel(),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}render(){const{MentionSuggestions:t}=this.pluginList.mentionsPlugin,{onFocus:e,onBlur:n,ariaLabelledBy:o,placeholder:s,theme:a,isDisabled:u,fieldId:c}=this.props,{editorState:f,suggestions:l,isSuggestionsOpen:h}=this.state;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{key:this.state.editorKey,textDirectionality:a.isRtl?"RTL":"LTR",editorState:f,handleKeyCommand:this.handleKeyCommand,onChange:this.onChange,onFocus:e,onBlur:n,plugins:Object.values(this.pluginList),ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:o,placeholder:s,spellCheck:!0,readOnly:u}),(0,d.applyFilters)("yoast.replacementVariableEditor.additionalPlugins",r.default.createElement(r.default.Fragment,null),this.pluginList,c),r.default.createElement(O,null,r.default.createElement(t,{onSearchChange:this.onSearchChange,suggestions:l,onOpenChange:this.onSuggestionsOpenChange,open:h})))}}e.ReplacementVariableEditorStandaloneInnerComponent=I,I.propTypes={content:h.default.string.isRequired,replacementVariables:y.replacementVariablesShape.isRequired,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,ariaLabelledBy:h.default.string.isRequired,onSearchChange:h.default.func,onChange:h.default.func.isRequired,onFocus:h.default.func,onBlur:h.default.func,theme:h.default.object,placeholder:h.default.string,fieldId:h.default.string.isRequired,isDisabled:h.default.bool},I.defaultProps={onSearchChange:null,onFocus:()=>{},onBlur:()=>{},placeholder:"",theme:{isRtl:!1},recommendedReplacementVariables:[],isDisabled:!1},e.default=(0,_.withTheme)(I)},26895:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(n(99196)),i=u(n(85890)),o=n(81413),s=u(n(9283)),a=n(34353);function u(t){return t&&t.__esModule?t:{default:t}}class c extends r.default.Component{constructor(t){super(t),this.state={activeField:null,hoveredField:null},this.setFieldFocus=this.setFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this)}handleChange(t,e){this.props.onChange(t,e)}setFieldFocus(t){this.setState({activeField:t})}onBlur(){this.setState({activeField:null})}onClick(t){this.setFieldFocus(t)}render(){const{data:t,replacementVariables:e,recommendedReplacementVariables:n,descriptionEditorFieldPlaceholder:i,hasPaperStyle:a,fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}=this.props,{activeField:p,hoveredField:d}=this.state;return r.default.createElement(o.ErrorBoundary,null,r.default.createElement(s.default,{descriptionEditorFieldPlaceholder:i,data:t,activeField:p,hoveredField:d,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:e,recommendedReplacementVariables:n,containerPadding:a?"0 20px":"0",fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}))}}c.propTypes={replacementVariables:a.replacementVariablesShape,recommendedReplacementVariables:a.recommendedReplacementVariablesShape,data:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,onChange:i.default.func.isRequired,descriptionEditorFieldPlaceholder:i.default.string,hasPaperStyle:i.default.bool,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},c.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0,descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=c},9283:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StyledEditor=void 0;var r=c(n(99196)),i=c(n(85890)),o=n(65736),s=c(n(98487)),a=c(n(51381)),u=n(34353);function c(t){return t&&t.__esModule?t:{default:t}}const f=e.StyledEditor=s.default.section` padding: ${t=>t.padding?t.padding:"0 20px"}; `;class l extends r.default.Component{constructor(t){super(t),this.elements={title:null,description:null},this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(t,e){this.elements[t]=e}setTitleRef(t){this.setRef("title",t)}setDescriptionRef(t){this.setRef("description",t)}componentDidUpdate(t){this.focusOnActiveFieldChange(t.activeField)}focusOnActiveFieldChange(t){const{activeField:e}=this.props;e&&e!==t&&this.elements[e].focus()}triggerReplacementVariableSuggestions(t){this.elements[t].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(t){this.props.onChange("title",t)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(t){this.props.onChange("description",t)}render(){const{descriptionEditorFieldPlaceholder:t,activeField:e,hoveredField:n,replacementVariables:i,recommendedReplacementVariables:s,onBlur:u,data:{title:c,description:l},containerPadding:h,fieldIds:p,labels:d,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}=this.props;return r.default.createElement(f,{padding:h},r.default.createElement(a.default,{type:"title",label:d.title||(0,o.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:u,isActive:"title"===e,isHovered:"title"===n,editorRef:this.setTitleRef,replacementVariables:i,recommendedReplacementVariables:s,content:c,onChange:this.onChangeTitle,fieldId:p.title,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}),r.default.createElement(a.default,{type:"description",placeholder:t,label:d.description||(0,o.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:u,isActive:"description"===e,isHovered:"description"===n,editorRef:this.setDescriptionRef,replacementVariables:i,recommendedReplacementVariables:s,content:l,onChange:this.onChangeDescription,fieldId:p.description,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}))}}l.propTypes={replacementVariables:u.replacementVariablesShape,recommendedReplacementVariables:u.recommendedReplacementVariablesShape,onChange:i.default.func.isRequired,onFocus:i.default.func,onBlur:i.default.func,data:i.default.shape({title:i.default.string,description:i.default.string}).isRequired,activeField:i.default.oneOf(["title","description"]),hoveredField:i.default.oneOf(["title","description"]),descriptionEditorFieldPlaceholder:i.default.string,containerPadding:i.default.string,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},l.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},containerPadding:"0 20px",descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,activeField:"",hoveredField:""},e.default=l},34353:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.replacementVariablesShape=e.recommendedReplacementVariablesShape=void 0;var r,i=(r=n(85890))&&r.__esModule?r:{default:r};e.replacementVariablesShape=i.default.arrayOf(i.default.shape({name:i.default.string.isRequired,value:i.default.string.isRequired,label:i.default.string,description:i.default.string,hidden:i.default.bool})),e.recommendedReplacementVariablesShape=i.default.arrayOf(i.default.string)},17481:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSelectedText=e.removeEmojiCompletely=e.moveCaret=e.insertText=e.hasWhitespaceAt=e.getTrigger=e.getCaretOffset=e.getAnchorBlock=void 0;var r=n(7206);e.getTrigger=(t,e)=>{let n="%";return t&&(n=" "+n),e&&(n+=" "),n},e.hasWhitespaceAt=(t,e)=>{const n=t.charAt(e);return 0===n.length||/\s/.test(n)},e.getCaretOffset=t=>t.getIsBackward()?t.getEndOffset():t.getStartOffset();const i=(t,e)=>{const n=e.getAnchorKey();return t.getBlockForKey(n)};e.getAnchorBlock=i,e.insertText=(t,e)=>{const n=t.getCurrentContent(),i=t.getSelection();if(!i.isCollapsed())return t;const o=r.Modifier.insertText(n,i,e);return r.EditorState.push(t,o,"insert-characters")},e.removeSelectedText=t=>{const e=t.getCurrentContent(),n=t.getSelection(),i=r.Modifier.removeRange(e,n,"backward");return r.EditorState.push(t,i,"remove-range")},e.moveCaret=(t,e,n="")=>{const o=t.getCurrentContent(),s=t.getSelection();""===n&&(n=i(o,s).getKey());const a=r.SelectionState.createEmpty(n).merge({anchorOffset:e,focusOffset:e});return r.EditorState.acceptSelection(t,a)},e.removeEmojiCompletely=(t,e,n)=>{const i=t.getSelection(),o=t.getCurrentContent(),s=i.getStartOffset(),a=o.getBlockForKey(i.getStartKey()),u=e[e.length-1].length,c="backspace"===n?s-u:s+u,f=new r.SelectionState({anchorOffset:c,anchorKey:a.getKey(),focusOffset:s,focusKey:a.getKey(),isBackward:"delete"===n,hasFocus:i.getHasFocus()});return r.EditorState.push(t,r.Modifier.replaceText(o,f,""),"remove-range")}},45608:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEntityAtPosition=o,e.getEntityRange=i,e.selectReplacementVariables=function(t,e){const n=t.getSelection(),u=e.getSelection(),c=t.getCurrentContent();if(n===u)return t;const f=function(t,e,n){const r=t.getStartOffset(),u=t.getStartKey(),c=t.getEndOffset(),f=t.getEndKey(),{startOffsetProperty:l,endOffsetProperty:h}=s(t.getIsBackward()),p=o(n,u,r);if(null!==p){const r=i(n,u,p),{start:o,end:s}=r;t=a(e,r)?t.merge({[l]:s}):t.merge({[l]:o})}const d=o(n,f,c);if(null!==d){const r=i(n,u,d),{start:o,end:s}=r;t=a(e,r)?t.merge({[h]:o}):t.merge({[h]:s})}return t}(n,u,c);return f!==n&&(t=r.EditorState.forceSelection(t,f)),t};var r=n(7206);function i(t,e,n){const r=t.getBlockForKey(e);let i=null;return r.findEntityRanges((t=>t.getEntity()===n),((t,e)=>{i={start:t,end:e}})),i}function o(t,e,n){const r=t.getBlockForKey(e).getEntityAt(n),o=i(t,e,r);return null===o||o.start===n?null:r}const s=function(t){let e="anchorOffset",n="focusOffset";return t&&(e="focusOffset",n="anchorOffset"),{startOffsetProperty:e,endOffsetProperty:n}};function a(t,e){const{start:n,end:r}=e;return t.getStartOffset()<=n&&t.getEndOffset()>=r}},31689:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addLabel=v,e.addPositionInformation=_,e.createEntityInContent=g,e.findReplacementVariables=d,e.getReplacementVariableLabel=p,e.getSelectedText=b,e.moveSelectionAfterReplacement=y,e.replaceByPosition=f,e.replaceReplacementVariables=w,e.replaceVariableWithEntity=m,e.serializeBlock=h,e.serializeEditor=function(t,e=" "){return t.getBlockMap().map((e=>h(e,(e=>t.getEntity(e))))).join(e)},e.serializeSelection=function(t,e,n=" "){const r=e.getStartKey(),i=e.getEndKey(),o=t.getBlockMap();let s=!1;return o.skipUntil((function(t){return t.getKey()===r})).takeUntil((function(t){const e=s;return t.getKey()===i&&(s=!0),e})).map((function(n){const o=n.getKey(),s={};return o===r&&(s.start=e.getStartOffset()),o===i&&(s.end=e.getEndOffset()),h(n,(e=>t.getEntity(e)),s)})).join(n)},e.serializeVariable=c,e.unserializeEditor=function(t,e){return w(r.EditorState.createWithContent(r.ContentState.createFromText(t)),e)};var r=n(7206),i=n(23695);const o="%%",s=/%%([A-Za-z0-9_]+)%%/g,a="%mention",u="IMMUTABLE";function c(t){return o+t+o}function f(t,e=[]){return[...e].reverse().forEach((e=>{const{start:n,end:r,replacementText:i}=e,o=t.slice(0,n),s=t.slice(r,t.length);t=o+i+s})),t}function l(t,e,n){return t>=e&&t<=n}function h(t,e,{start:n=0,end:r=t.getText().length}={}){const i=t.getText().slice(n,r),o=[];return t.findEntityRanges((t=>!!t.getEntity()),((i,s)=>{if(l(i,n,r)&&l(s,n,r)){const r=e(t.getEntityAt(i));r.data.mention&&o.push({start:i-n,end:s-n,replacementText:c(r.data.mention.replaceName)})}})),f(i,o)}function p(t,e){let n=e;return t.forEach((t=>{t.name===e&&t.label&&(n=t.label)})),n}function d(t){const e=[];let n;for(;n=s.exec(t);){const[t,r]=n;e.push({name:r,start:n.index,length:t.length})}return e}function v(t,e){return{...t,label:p(e,t.name)}}function _(t){return{...t,start:t.start,end:t.start+t.length,delta:t.label.length-t.length}}function y(t,e,n){const{start:r,end:i,delta:o}=n;if(t.hasEdgeWithin(e,r,i)){const e=i+o;t=t.merge({anchorOffset:e,focusOffset:e})}else t.focusOffset>i&&(t=t.merge({anchorOffset:t.anchorOffset+o,focusOffset:t.focusOffset+o}));return t}function g(t,e){const n={mention:{replaceName:e.name}};return t.createEntity(a,u,n)}function m(t,e,n){let i=t.getCurrentContent();const o=r.SelectionState.createEmpty(n).merge({anchorOffset:e.start,focusOffset:e.end});i=g(i,e);const s=r.Modifier.replaceText(i,o,e.label,null,i.getLastCreatedEntityKey());return r.EditorState.push(t,s,"apply-entity")}function b(t,e){const n=e.getAnchorKey(),r=t.getCurrentContent().getBlockForKey(n),i=e.getStartOffset(),o=e.getEndOffset();return r.getText().slice(i,o)}function w(t,e){const n=t.getCurrentContent().getBlockMap();let o=t;return n.forEach((t=>{const{text:n,key:s}=t;[...d(n)].reverse().forEach((t=>{t=_(t=v(t,e));let n=o.getSelection();n=y(n,s,t);const a=function(t,e,n,o){const s=t.getCurrentContent(),a=b(t,r.SelectionState.createEmpty(n).merge({anchorOffset:o.end,focusOffset:o.end+1}));if(!(0,i.getWordBoundaries)().includes(a)){const i=r.SelectionState.createEmpty(n).merge({anchorOffset:o.end,focusOffset:o.end}),a=r.Modifier.insertText(s,i," ");t=r.EditorState.push(t,a,"insert-characters"),e.getAnchorOffset()>=o.start&&(e=e.merge({anchorOffset:e.getAnchorOffset()+1,focusOffset:e.getFocusOffset()+1}))}return{editorState:t,selection:e}}(o,n,s,t);o=m(a.editorState,t,s),o=r.EditorState.acceptSelection(o,a.selection)}))})),o}},32183:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TriggerReplacementVariableSuggestionsButton=e.TitleInputContainer=e.StandardButton=e.FormSection=e.DescriptionInputContainer=e.ButtonsContainer=void 0;var r,i=(r=n(98487))&&r.__esModule?r:{default:r},o=n(23695),s=n(37188),a=n(81413);const u="#707070",c=(e.TitleInputContainer=(0,i.default)(a.VariableEditorInputContainer)` .public-DraftStyleDefault-block { diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/faq-block.js b/wp/wp-content/plugins/wordpress-seo/js/dist/faq-block.js index 87bcdabb..aa84841d 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/faq-block.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/faq-block.js @@ -1 +1 @@ -(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,s=window.wp.blockEditor,n=window.wp.blocks,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.7","name":"yoast/faq-block","title":"Yoast FAQ","description":"List your Frequently Asked Questions in an SEO-friendly way.","category":"yoast-structured-data-blocks","icon":"editor-ul","keywords":["FAQ","Frequently Asked Questions","Schema","SEO","Structured Data"],"supports":{"multiple":false},"textdomain":"wordpress-seo","attributes":{"questions":{"type":"array"},"additionalListCssClasses":{"type":"string"}},"example":{"attributes":{"steps":[{"id":"faq-question-1","question":[],"answer":[]},{"id":"faq-question-2","question":[],"answer":[]}]}},"editorScript":"yoast-seo-faq-block","editorStyle":"yoast-seo-structured-data-blocks"}'),i=window.yoast.propTypes;var r=e.n(i);const a=window.wp.i18n,u=window.wp.a11y,c=window.wp.isShallowEqual,l=window.wp.element,h=window.wp.components,d=function(e){return class extends l.Component{render(){return(0,t.createElement)(l.Fragment,null,(0,t.createElement)(e,{...this.props})," ")}}},p=d(s.RichText.Content);class m extends l.Component{constructor(e){super(e),this.onSelectImage=this.onSelectImage.bind(this),this.onFocusAnswer=this.onFocusAnswer.bind(this),this.onFocusQuestion=this.onFocusQuestion.bind(this),this.onChangeAnswer=this.onChangeAnswer.bind(this),this.onChangeQuestion=this.onChangeQuestion.bind(this),this.onInsertQuestion=this.onInsertQuestion.bind(this),this.onRemoveQuestion=this.onRemoveQuestion.bind(this),this.onMoveDown=this.onMoveDown.bind(this),this.onMoveUp=this.onMoveUp.bind(this)}getMediaUploadButton(e){return(0,t.createElement)(h.Button,{className:"schema-faq-section-button faq-section-add-media",icon:"insert",onClick:e.open},(0,a.__)("Add image","wordpress-seo"))}onFocusQuestion(){this.props.onFocus("question",this.props.index)}onFocusAnswer(){this.props.onFocus("answer",this.props.index)}onChangeQuestion(e){const{index:t,onChange:s,attributes:{answer:n,question:o}}=this.props;s(e,n,o,n,t)}onChangeAnswer(e){const{index:t,onChange:s,attributes:{answer:n,question:o}}=this.props;s(o,e,o,n,t)}onInsertQuestion(){this.props.insertQuestion(this.props.index)}onRemoveQuestion(){this.props.removeQuestion(this.props.index)}onMoveUp(){this.props.isFirst||this.props.onMoveUp(this.props.index)}onMoveDown(){this.props.isLast||this.props.onMoveDown(this.props.index)}getButtons(){const{attributes:e}=this.props;return(0,t.createElement)("div",{className:"schema-faq-section-button-container"},(0,t.createElement)(s.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),(0,t.createElement)(h.Button,{className:"schema-faq-section-button",icon:"trash",label:(0,a.__)("Delete question","wordpress-seo"),onClick:this.onRemoveQuestion}),(0,t.createElement)(h.Button,{className:"schema-faq-section-button",icon:"insert",label:(0,a.__)("Insert question","wordpress-seo"),onClick:this.onInsertQuestion}))}getMover(){return(0,t.createElement)("div",{className:"schema-faq-section-mover"},(0,t.createElement)(h.Button,{className:"editor-block-mover__control",onClick:this.onMoveUp,icon:"arrow-up-alt2",label:(0,a.__)("Move question up","wordpress-seo"),"aria-disabled":this.props.isFirst}),(0,t.createElement)(h.Button,{className:"editor-block-mover__control",onClick:this.onMoveDown,icon:"arrow-down-alt2",label:(0,a.__)("Move question down","wordpress-seo"),"aria-disabled":this.props.isLast}))}onSelectImage(e){const{attributes:{answer:s,question:n},index:o}=this.props;let i=s.slice();const r=(0,t.createElement)("img",{className:`wp-image-${e.id}`,alt:e.alt,src:e.url,style:"max-width:100%;"});i.push?i.push(r):i=[i,r],this.props.onChange(n,i,n,s,o)}static getImageSrc(e){if(!e||!e.filter)return!1;const t=e.filter((e=>e&&e.type&&"img"===e.type))[0];return!!t&&t.props.src}static Content(e){return(0,t.createElement)("div",{className:"schema-faq-section",id:e.id,key:e.id},(0,t.createElement)(p,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),(0,t.createElement)(p,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}shouldComponentUpdate(e){return!(0,c.isShallowEqualObjects)(e,this.props)}render(){const{attributes:e,isSelected:n}=this.props,{id:o,question:i,answer:r}=e;return(0,t.createElement)("div",{className:"schema-faq-section",key:o},(0,t.createElement)(s.RichText,{identifier:o+"-question",className:"schema-faq-question",tagName:"p",key:o+"-question",value:i,onChange:this.onChangeQuestion,onFocus:this.onFocusQuestion,unstableOnFocus:this.onFocusQuestion,placeholder:(0,a.__)("Enter a question","wordpress-seo"),allowedFormats:["core/italic","core/strikethrough","core/link","core/annotation"]}),(0,t.createElement)(s.RichText,{identifier:o+"-answer",className:"schema-faq-answer",tagName:"p",key:o+"-answer",value:r,onChange:this.onChangeAnswer,onFocus:this.onFocusAnswer,unstableOnFocus:this.onFocusAnswer,placeholder:(0,a.__)("Enter the answer to the question","wordpress-seo")}),n&&(0,t.createElement)("div",{className:"schema-faq-section-controls-container"},this.getMover(),this.getButtons()))}}m.propTypes={index:r().number.isRequired,attributes:r().object.isRequired,onChange:r().func.isRequired,insertQuestion:r().func.isRequired,removeQuestion:r().func.isRequired,onFocus:r().func.isRequired,onMoveUp:r().func.isRequired,onMoveDown:r().func.isRequired,isSelected:r().bool.isRequired,isFirst:r().bool.isRequired,isLast:r().bool.isRequired};const q=d(m.Content);class w extends l.Component{constructor(e){super(e),this.state={focus:""},this.changeQuestion=this.changeQuestion.bind(this),this.insertQuestion=this.insertQuestion.bind(this),this.removeQuestion=this.removeQuestion.bind(this),this.swapQuestions=this.swapQuestions.bind(this),this.moveQuestionDown=this.moveQuestionDown.bind(this),this.moveQuestionUp=this.moveQuestionUp.bind(this),this.setFocus=this.setFocus.bind(this),this.onAddQuestionButtonClick=this.onAddQuestionButtonClick.bind(this)}static generateId(e){return`${e}-${(new Date).getTime()}`}onAddQuestionButtonClick(){this.insertQuestion(null,[],[],!1)}changeQuestion(e,t,s,n,o){const i=this.props.attributes.questions?this.props.attributes.questions.slice():[];if(o>=i.length)return;if(i[o].question!==s||i[o].answer!==n)return;i[o]={id:i[o].id,question:e,answer:t,jsonQuestion:(0,l.renderToString)(e),jsonAnswer:(0,l.renderToString)(t)};const r=m.getImageSrc(t);r&&(i[o].jsonImageSrc=r),this.props.setAttributes({questions:i})}insertQuestion(e=null,t=[],s=[],n=!0){const o=this.props.attributes.questions?this.props.attributes.questions.slice():[];null===e&&(e=o.length-1),o.splice(e+1,0,{id:w.generateId("faq-question"),question:t,answer:s,jsonQuestion:"",jsonAnswer:""}),this.props.setAttributes({questions:o}),n?setTimeout(this.setFocus.bind(this,"question",e)):(0,u.speak)((0,a.__)("New question added","wordpress-seo"))}swapQuestions(e,t){const s=this.props.attributes.questions?this.props.attributes.questions.slice():[],n=s[e];s[e]=s[t],s[t]=n,this.props.setAttributes({questions:s});const[o,i]=this.state.focus.split(":");o===`${e}`?this.setFocus(i,t):o===`${t}`&&this.setFocus(i,e)}moveQuestionUp(e){this.swapQuestions(e,e-1)}moveQuestionDown(e){this.swapQuestions(e,e+1)}removeQuestion(e){const t=this.props.attributes.questions?this.props.attributes.questions.slice():[];t.splice(e,1),this.props.setAttributes({questions:t});let s=0;t[e]?s=e:t[e-1]&&(s=e-1),this.setFocus("question",s)}setFocus(e,t){const s=`${t}:${e}`;s!==this.state.focus&&this.setState({focus:s})}getAddQuestionButton(){return(0,t.createElement)(h.Button,{icon:"insert",onClick:this.onAddQuestionButtonClick,className:"schema-faq-add-question"},(0,a.__)("Add question","wordpress-seo"))}getQuestions(){const{attributes:e}=this.props;if(!e.questions)return null;const[s]=this.state.focus.split(":");return e.questions.map(((n,o)=>(0,t.createElement)(m,{index:o,key:n.id,attributes:n,insertQuestion:this.insertQuestion,removeQuestion:this.removeQuestion,onChange:this.changeQuestion,onFocus:this.setFocus,isSelected:s===`${o}`,onMoveUp:this.moveQuestionUp,onMoveDown:this.moveQuestionDown,isFirst:0===o,isLast:o===e.questions.length-1})))}static Content(e){const{questions:s,className:n}=e,o=s?s.map(((e,s)=>(0,t.createElement)(q,{key:s,...e}))):null,i=["schema-faq",n].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:i},o)}render(){const{className:e}=this.props,s=["schema-faq",e].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:s},(0,t.createElement)("div",null,this.getQuestions()),(0,t.createElement)("div",{className:"schema-faq-buttons"},this.getAddQuestionButton()))}}function b(e){const n=d(s.RichText.Content);return(0,t.createElement)("div",{className:"schema-faq-section",key:e.id},(0,t.createElement)(n,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),(0,t.createElement)(n,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}function g(e){const{questions:s,className:n}=e.attributes,o=d(b),i=s?s.map(((e,s)=>(0,t.createElement)(o,{key:s,...e}))):null,r=["schema-faq",n].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:r},i)}w.propTypes={attributes:r().object.isRequired,setAttributes:r().func.isRequired,className:r().string},w.defaultProps={className:""},g.propTypes={attributes:r().object.isRequired};const v={v13_1:g};(0,n.registerBlockType)(o,{edit:({attributes:e,setAttributes:n,className:o})=>{const i=(0,s.useBlockProps)();return e.questions&&0!==e.questions.length||(e.questions=[{id:w.generateId("faq-question"),question:[],answer:[]}]),(0,t.createElement)("div",{...i},(0,t.createElement)(w,{attributes:e,setAttributes:n,className:o}))},save:({attributes:e})=>(0,t.createElement)(w.Content,{...e}),deprecated:[{attributes:o.attributes,save:v.v13_1}]})})(); \ No newline at end of file +(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,s=window.wp.blockEditor,n=window.wp.blocks,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"version":"22.7","name":"yoast/faq-block","title":"Yoast FAQ","description":"List your Frequently Asked Questions in an SEO-friendly way.","category":"yoast-structured-data-blocks","icon":"editor-ul","keywords":["FAQ","Frequently Asked Questions","Schema","SEO","Structured Data"],"textdomain":"wordpress-seo","attributes":{"questions":{"type":"array"},"additionalListCssClasses":{"type":"string"}},"example":{"attributes":{"steps":[{"id":"faq-question-1","question":[],"answer":[]},{"id":"faq-question-2","question":[],"answer":[]}]}},"editorScript":"yoast-seo-faq-block","editorStyle":"yoast-seo-structured-data-blocks"}'),i=window.yoast.propTypes;var r=e.n(i);const a=window.wp.i18n,u=window.wp.a11y,c=window.wp.isShallowEqual,l=window.wp.element,h=window.wp.components,d=function(e){return class extends l.Component{render(){return(0,t.createElement)(l.Fragment,null,(0,t.createElement)(e,{...this.props})," ")}}},p=d(s.RichText.Content);class m extends l.Component{constructor(e){super(e),this.onSelectImage=this.onSelectImage.bind(this),this.onFocusAnswer=this.onFocusAnswer.bind(this),this.onFocusQuestion=this.onFocusQuestion.bind(this),this.onChangeAnswer=this.onChangeAnswer.bind(this),this.onChangeQuestion=this.onChangeQuestion.bind(this),this.onInsertQuestion=this.onInsertQuestion.bind(this),this.onRemoveQuestion=this.onRemoveQuestion.bind(this),this.onMoveDown=this.onMoveDown.bind(this),this.onMoveUp=this.onMoveUp.bind(this)}getMediaUploadButton(e){return(0,t.createElement)(h.Button,{className:"schema-faq-section-button faq-section-add-media",icon:"insert",onClick:e.open},(0,a.__)("Add image","wordpress-seo"))}onFocusQuestion(){this.props.onFocus("question",this.props.index)}onFocusAnswer(){this.props.onFocus("answer",this.props.index)}onChangeQuestion(e){const{index:t,onChange:s,attributes:{answer:n,question:o}}=this.props;s(e,n,o,n,t)}onChangeAnswer(e){const{index:t,onChange:s,attributes:{answer:n,question:o}}=this.props;s(o,e,o,n,t)}onInsertQuestion(){this.props.insertQuestion(this.props.index)}onRemoveQuestion(){this.props.removeQuestion(this.props.index)}onMoveUp(){this.props.isFirst||this.props.onMoveUp(this.props.index)}onMoveDown(){this.props.isLast||this.props.onMoveDown(this.props.index)}getButtons(){const{attributes:e}=this.props;return(0,t.createElement)("div",{className:"schema-faq-section-button-container"},(0,t.createElement)(s.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),(0,t.createElement)(h.Button,{className:"schema-faq-section-button",icon:"trash",label:(0,a.__)("Delete question","wordpress-seo"),onClick:this.onRemoveQuestion}),(0,t.createElement)(h.Button,{className:"schema-faq-section-button",icon:"insert",label:(0,a.__)("Insert question","wordpress-seo"),onClick:this.onInsertQuestion}))}getMover(){return(0,t.createElement)("div",{className:"schema-faq-section-mover"},(0,t.createElement)(h.Button,{className:"editor-block-mover__control",onClick:this.onMoveUp,icon:"arrow-up-alt2",label:(0,a.__)("Move question up","wordpress-seo"),"aria-disabled":this.props.isFirst}),(0,t.createElement)(h.Button,{className:"editor-block-mover__control",onClick:this.onMoveDown,icon:"arrow-down-alt2",label:(0,a.__)("Move question down","wordpress-seo"),"aria-disabled":this.props.isLast}))}onSelectImage(e){const{attributes:{answer:s,question:n},index:o}=this.props;let i=s.slice();const r=(0,t.createElement)("img",{className:`wp-image-${e.id}`,alt:e.alt,src:e.url,style:"max-width:100%;"});i.push?i.push(r):i=[i,r],this.props.onChange(n,i,n,s,o)}static getImageSrc(e){if(!e||!e.filter)return!1;const t=e.filter((e=>e&&e.type&&"img"===e.type))[0];return!!t&&t.props.src}static Content(e){return(0,t.createElement)("div",{className:"schema-faq-section",id:e.id,key:e.id},(0,t.createElement)(p,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),(0,t.createElement)(p,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}shouldComponentUpdate(e){return!(0,c.isShallowEqualObjects)(e,this.props)}render(){const{attributes:e,isSelected:n}=this.props,{id:o,question:i,answer:r}=e;return(0,t.createElement)("div",{className:"schema-faq-section",key:o},(0,t.createElement)(s.RichText,{identifier:o+"-question",className:"schema-faq-question",tagName:"p",key:o+"-question",value:i,onChange:this.onChangeQuestion,onFocus:this.onFocusQuestion,unstableOnFocus:this.onFocusQuestion,placeholder:(0,a.__)("Enter a question","wordpress-seo"),allowedFormats:["core/italic","core/strikethrough","core/link","core/annotation"]}),(0,t.createElement)(s.RichText,{identifier:o+"-answer",className:"schema-faq-answer",tagName:"p",key:o+"-answer",value:r,onChange:this.onChangeAnswer,onFocus:this.onFocusAnswer,unstableOnFocus:this.onFocusAnswer,placeholder:(0,a.__)("Enter the answer to the question","wordpress-seo")}),n&&(0,t.createElement)("div",{className:"schema-faq-section-controls-container"},this.getMover(),this.getButtons()))}}m.propTypes={index:r().number.isRequired,attributes:r().object.isRequired,onChange:r().func.isRequired,insertQuestion:r().func.isRequired,removeQuestion:r().func.isRequired,onFocus:r().func.isRequired,onMoveUp:r().func.isRequired,onMoveDown:r().func.isRequired,isSelected:r().bool.isRequired,isFirst:r().bool.isRequired,isLast:r().bool.isRequired};const q=d(m.Content);class w extends l.Component{constructor(e){super(e),this.state={focus:""},this.changeQuestion=this.changeQuestion.bind(this),this.insertQuestion=this.insertQuestion.bind(this),this.removeQuestion=this.removeQuestion.bind(this),this.swapQuestions=this.swapQuestions.bind(this),this.moveQuestionDown=this.moveQuestionDown.bind(this),this.moveQuestionUp=this.moveQuestionUp.bind(this),this.setFocus=this.setFocus.bind(this),this.onAddQuestionButtonClick=this.onAddQuestionButtonClick.bind(this)}static generateId(e){return`${e}-${(new Date).getTime()}`}onAddQuestionButtonClick(){this.insertQuestion(null,[],[],!1)}changeQuestion(e,t,s,n,o){const i=this.props.attributes.questions?this.props.attributes.questions.slice():[];if(o>=i.length)return;if(i[o].question!==s||i[o].answer!==n)return;i[o]={id:i[o].id,question:e,answer:t,jsonQuestion:(0,l.renderToString)(e),jsonAnswer:(0,l.renderToString)(t)};const r=m.getImageSrc(t);r&&(i[o].jsonImageSrc=r),this.props.setAttributes({questions:i})}insertQuestion(e=null,t=[],s=[],n=!0){const o=this.props.attributes.questions?this.props.attributes.questions.slice():[];null===e&&(e=o.length-1),o.splice(e+1,0,{id:w.generateId("faq-question"),question:t,answer:s,jsonQuestion:"",jsonAnswer:""}),this.props.setAttributes({questions:o}),n?setTimeout(this.setFocus.bind(this,"question",e)):(0,u.speak)((0,a.__)("New question added","wordpress-seo"))}swapQuestions(e,t){const s=this.props.attributes.questions?this.props.attributes.questions.slice():[],n=s[e];s[e]=s[t],s[t]=n,this.props.setAttributes({questions:s});const[o,i]=this.state.focus.split(":");o===`${e}`?this.setFocus(i,t):o===`${t}`&&this.setFocus(i,e)}moveQuestionUp(e){this.swapQuestions(e,e-1)}moveQuestionDown(e){this.swapQuestions(e,e+1)}removeQuestion(e){const t=this.props.attributes.questions?this.props.attributes.questions.slice():[];t.splice(e,1),this.props.setAttributes({questions:t});let s=0;t[e]?s=e:t[e-1]&&(s=e-1),this.setFocus("question",s)}setFocus(e,t){const s=`${t}:${e}`;s!==this.state.focus&&this.setState({focus:s})}getAddQuestionButton(){return(0,t.createElement)(h.Button,{icon:"insert",onClick:this.onAddQuestionButtonClick,className:"schema-faq-add-question"},(0,a.__)("Add question","wordpress-seo"))}getQuestions(){const{attributes:e}=this.props;if(!e.questions)return null;const[s]=this.state.focus.split(":");return e.questions.map(((n,o)=>(0,t.createElement)(m,{index:o,key:n.id,attributes:n,insertQuestion:this.insertQuestion,removeQuestion:this.removeQuestion,onChange:this.changeQuestion,onFocus:this.setFocus,isSelected:s===`${o}`,onMoveUp:this.moveQuestionUp,onMoveDown:this.moveQuestionDown,isFirst:0===o,isLast:o===e.questions.length-1})))}static Content(e){const{questions:s,className:n}=e,o=s?s.map(((e,s)=>(0,t.createElement)(q,{key:s,...e}))):null,i=["schema-faq",n].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:i},o)}render(){const{className:e}=this.props,s=["schema-faq",e].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:s},(0,t.createElement)("div",null,this.getQuestions()),(0,t.createElement)("div",{className:"schema-faq-buttons"},this.getAddQuestionButton()))}}function b(e){const n=d(s.RichText.Content);return(0,t.createElement)("div",{className:"schema-faq-section",key:e.id},(0,t.createElement)(n,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),(0,t.createElement)(n,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}function g(e){const{questions:s,className:n}=e.attributes,o=d(b),i=s?s.map(((e,s)=>(0,t.createElement)(o,{key:s,...e}))):null,r=["schema-faq",n].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:r},i)}w.propTypes={attributes:r().object.isRequired,setAttributes:r().func.isRequired,className:r().string},w.defaultProps={className:""},g.propTypes={attributes:r().object.isRequired};const v={v13_1:g};(0,n.registerBlockType)(o,{edit:({attributes:e,setAttributes:n,className:o})=>{const i=(0,s.useBlockProps)();return e.questions&&0!==e.questions.length||(e.questions=[{id:w.generateId("faq-question"),question:[],answer:[]}]),(0,t.createElement)("div",{...i},(0,t.createElement)(w,{attributes:e,setAttributes:n,className:o}))},save:({attributes:e})=>{const n=s.useBlockProps.save(e);return(0,t.createElement)(w.Content,{...n})},deprecated:[{attributes:o.attributes,save:v.v13_1}]})})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/how-to-block.js b/wp/wp-content/plugins/wordpress-seo/js/dist/how-to-block.js index 6f1246c9..49b35bc7 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/how-to-block.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/how-to-block.js @@ -7,4 +7,4 @@ (0,h.__)("%s, %s and %s","wordpress-seo"),...t):""}({days:n,hours:i,minutes:a});return(0,t.createElement)("div",{className:m},o&&"string"==typeof g&&g.length>0&&(0,t.createElement)("p",{className:"schema-how-to-total-time"},(0,t.createElement)("span",{className:"schema-how-to-duration-time-text"},u||d," "),g+". "),(0,t.createElement)(y,{tagName:"p",className:"schema-how-to-description",value:r}),p?(0,t.createElement)("ul",{className:w},x.getStepsContent(s)):(0,t.createElement)("ol",{className:w},x.getStepsContent(s)))}getAddStepButton(){return(0,t.createElement)(w.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"schema-how-to-add-step"},(0,h.__)("Add step","wordpress-seo"))}addCSSClasses(e){this.props.setAttributes({additionalListCssClasses:e})}toggleListType(e){this.props.setAttributes({unorderedList:e})}getListTypeHelp(e){return e?(0,h.__)("Showing step items as an unordered list","wordpress-seo"):(0,h.__)("Showing step items as an ordered list.","wordpress-seo")}focusDescription(){this.setFocus("description")}onChangeDescription(e){this.props.setAttributes({description:e,jsonDescription:(0,u.renderToString)(e)})}addDuration(){this.props.setAttributes({hasDuration:!0}),setTimeout((()=>this.daysInput.current.focus()))}removeDuration(){this.props.setAttributes({hasDuration:!1}),setTimeout((()=>{this.addDurationButton.current instanceof u.Component||this.addDurationButton.current.focus()}))}onChangeDays(e){const t=this.formatDuration(e.target.value);this.props.setAttributes({days:(0,l.toString)(t)})}onChangeHours(e){const t=this.formatDuration(e.target.value,23);this.props.setAttributes({hours:(0,l.toString)(t)})}onChangeMinutes(e){const t=this.formatDuration(e.target.value,59);this.props.setAttributes({minutes:(0,l.toString)(t)})}getDuration(){const{attributes:e}=this.props;return e.hasDuration?(0,t.createElement)("fieldset",{className:"schema-how-to-duration"},(0,t.createElement)("span",{className:"schema-how-to-duration-flex-container",role:"presentation"},(0,t.createElement)("legend",{className:"schema-how-to-duration-legend"},e.durationText||this.getDefaultDurationText()),(0,t.createElement)("span",{className:"schema-how-to-duration-time-input"},(0,t.createElement)("label",{htmlFor:"schema-how-to-duration-days",className:"screen-reader-text"},/* translators: Hidden accessibility text. */ (0,h.__)("days","wordpress-seo")),(0,t.createElement)("input",{id:"schema-how-to-duration-days",className:"schema-how-to-duration-input",type:"number",value:e.days,onChange:this.onChangeDays,placeholder:"DD",ref:this.daysInput}),(0,t.createElement)("label",{htmlFor:"schema-how-to-duration-hours",className:"screen-reader-text"},(0,h.__)("hours","wordpress-seo")),(0,t.createElement)("input",{id:"schema-how-to-duration-hours",className:"schema-how-to-duration-input",type:"number",value:e.hours,onChange:this.onChangeHours,placeholder:"HH"}),(0,t.createElement)("span",{"aria-hidden":"true"},":"),(0,t.createElement)("label",{htmlFor:"schema-how-to-duration-minutes",className:"screen-reader-text"},(0,h.__)("minutes","wordpress-seo")),(0,t.createElement)("input",{id:"schema-how-to-duration-minutes",className:"schema-how-to-duration-input",type:"number",value:e.minutes,onChange:this.onChangeMinutes,placeholder:"MM"}),(0,t.createElement)(w.Button,{className:"schema-how-to-duration-delete-button",icon:"trash",label:(0,h.__)("Delete total time","wordpress-seo"),onClick:this.removeDuration})))):(0,t.createElement)(w.Button,{onClick:this.addDuration,className:"schema-how-to-duration-button",ref:this.addDurationButton,icon:"insert"},(0,h.__)("Add total time","wordpress-seo"))}getSidebar(e,o,n){return n===this.getDefaultDurationText()&&(n=""),(0,t.createElement)(s.InspectorControls,null,(0,t.createElement)(w.PanelBody,{title:(0,h.__)("Settings","wordpress-seo"),className:"blocks-font-size"},(0,t.createElement)(f,{label:(0,h.__)("CSS class(es) to apply to the steps","wordpress-seo"),value:o,onChange:this.addCSSClasses,help:(0,h.__)("Optional. This can give you better control over the styling of the steps.","wordpress-seo")}),(0,t.createElement)(f,{label:(0,h.__)("Describe the duration of the instruction:","wordpress-seo"),value:n,onChange:this.setDurationText,help:(0,h.__)("Optional. Customize how you want to describe the duration of the instruction","wordpress-seo"),placeholder:this.getDefaultDurationText()}),(0,t.createElement)(w.ToggleControl,{label:(0,h.__)("Unordered list","wordpress-seo"),checked:e||!1,onChange:this.toggleListType,help:this.getListTypeHelp})))}render(){const{attributes:e,className:o}=this.props,n=["schema-how-to",o].filter((e=>e)).join(" "),i=["schema-how-to-steps",e.additionalListCssClasses].filter((e=>e)).join(" ");return(0,t.createElement)("div",{className:n},this.getDuration(),(0,t.createElement)(s.RichText,{identifier:"description",tagName:"p",className:"schema-how-to-description",value:e.description,onChange:this.onChangeDescription,onFocus:this.focusDescription,unstableOnFocus:this.focusDescription,placeholder:(0,h.__)("Enter a description","wordpress-seo")}),(0,t.createElement)("ul",{className:i},this.getSteps()),(0,t.createElement)("div",{className:"schema-how-to-buttons"},this.getAddStepButton()),this.getSidebar(e.unorderedList,e.additionalListCssClasses,e.durationText))}}function C(e,t=0){return parseInt(e,10)||t}function v(e){const t=function({days:e,hours:t,minutes:s}){const o=[];return 0!==e&&o.push((0,h.sprintf)((0,h._n)("%d day","%d days",e,"wordpress-seo"),e)),0!==t&&o.push((0,h.sprintf)((0,h._n)("%d hour","%d hours",t,"wordpress-seo"),t)),0!==s&&o.push((0,h.sprintf)((0,h._n)("%d minute","%d minutes",s,"wordpress-seo"),s)),o}({days:C(e.days),hours:C(e.hours),minutes:C(e.minutes)});return 1===t.length?t[0]:2===t.length?(0,h.sprintf)(/* translators: %s expands to a unit of time (e.g. 1 day). */ (0,h.__)("%s and %s","wordpress-seo"),...t):3===t.length?(0,h.sprintf)(/* translators: %s expands to a unit of time (e.g. 1 day). */ -(0,h.__)("%s, %s and %s","wordpress-seo"),...t):""}x.propTypes={attributes:a().object.isRequired,setAttributes:a().func.isRequired,className:a().string},x.defaultProps={className:""};const D=e=>(0,t.createElement)("li",{className:"schema-how-to-step",key:e.id},(0,t.createElement)("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",(0,t.createElement)("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ");function E(e){let{steps:s}=e.attributes;const{hasDuration:o,days:n,hours:i,minutes:a,description:r,unorderedList:p,additionalListCssClasses:c,className:l}=e.attributes;s=s?s.map((e=>(0,t.createElement)(D,{...e,key:e.id}))):null;const u=["schema-how-to",l].filter((e=>e)).join(" "),d=["schema-how-to-steps",c].filter((e=>e)).join(" "),m=v({days:n,hours:i,minutes:a});return(0,t.createElement)("div",{className:u},o&&"string"==typeof m&&m.length>0&&(0,t.createElement)("p",{className:"schema-how-to-total-time"},(0,h.__)("Time needed:","wordpress-seo")," ",m+". "),(0,t.createElement)("p",{className:"schema-how-to-description"},r)," ",p?(0,t.createElement)("ul",{className:d},s):(0,t.createElement)("ol",{className:d},s))}function T(e){return(0,t.createElement)("li",{className:"schema-how-to-step",key:e.id},(0,t.createElement)("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",(0,t.createElement)("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ")}function _(e){const{steps:s,hasDuration:o,days:n,hours:i,minutes:a,description:r,unorderedList:p,additionalListCssClasses:h,className:c,durationText:l,defaultDurationText:u}=e.attributes,d=["schema-how-to",c].filter((e=>e)).join(" "),m=["schema-how-to-steps",h].filter((e=>e)).join(" "),w=v({days:n,hours:i,minutes:a});let g=[];return s&&(g=s.map((e=>(0,t.createElement)(T,{...e,key:e.id})))),(0,t.createElement)("div",{className:d},o&&"string"==typeof w&&w.length>0&&(0,t.createElement)("p",{className:"schema-how-to-total-time"},(0,t.createElement)("span",{className:"schema-how-to-duration-time-text"},l||u," "),w+". "),(0,t.createElement)("p",{className:"schema-how-to-description"},r)," ",p?(0,t.createElement)("ul",{className:m},g):(0,t.createElement)("ol",{className:m},g))}E.propTypes={attributes:a().object},_.propTypes={attributes:a().object.isRequired};const N={v8_2:E,v11_4:_};(0,o.registerBlockType)(n,{edit:({attributes:e,setAttributes:o,className:n})=>{const i=(0,s.useBlockProps)();return e.steps&&0!==e.steps.length||(e.steps=[{id:x.generateId("how-to-step"),name:[],text:[]}]),(0,t.createElement)("div",{...i},(0,t.createElement)(x,{attributes:e,setAttributes:o,className:n}))},save:({attributes:e})=>(0,t.createElement)(x.Content,{...e}),deprecated:[{attributes:n.attributes,save:N.v11_4},{attributes:n.attributes,save:N.v8_2}]})})(); \ No newline at end of file +(0,h.__)("%s, %s and %s","wordpress-seo"),...t):""}x.propTypes={attributes:a().object.isRequired,setAttributes:a().func.isRequired,className:a().string},x.defaultProps={className:""};const D=e=>(0,t.createElement)("li",{className:"schema-how-to-step",key:e.id},(0,t.createElement)("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",(0,t.createElement)("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ");function E(e){let{steps:s}=e.attributes;const{hasDuration:o,days:n,hours:i,minutes:a,description:r,unorderedList:p,additionalListCssClasses:c,className:l}=e.attributes;s=s?s.map((e=>(0,t.createElement)(D,{...e,key:e.id}))):null;const u=["schema-how-to",l].filter((e=>e)).join(" "),d=["schema-how-to-steps",c].filter((e=>e)).join(" "),m=v({days:n,hours:i,minutes:a});return(0,t.createElement)("div",{className:u},o&&"string"==typeof m&&m.length>0&&(0,t.createElement)("p",{className:"schema-how-to-total-time"},(0,h.__)("Time needed:","wordpress-seo")," ",m+". "),(0,t.createElement)("p",{className:"schema-how-to-description"},r)," ",p?(0,t.createElement)("ul",{className:d},s):(0,t.createElement)("ol",{className:d},s))}function T(e){return(0,t.createElement)("li",{className:"schema-how-to-step",key:e.id},(0,t.createElement)("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",(0,t.createElement)("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ")}function _(e){const{steps:s,hasDuration:o,days:n,hours:i,minutes:a,description:r,unorderedList:p,additionalListCssClasses:h,className:c,durationText:l,defaultDurationText:u}=e.attributes,d=["schema-how-to",c].filter((e=>e)).join(" "),m=["schema-how-to-steps",h].filter((e=>e)).join(" "),w=v({days:n,hours:i,minutes:a});let g=[];return s&&(g=s.map((e=>(0,t.createElement)(T,{...e,key:e.id})))),(0,t.createElement)("div",{className:d},o&&"string"==typeof w&&w.length>0&&(0,t.createElement)("p",{className:"schema-how-to-total-time"},(0,t.createElement)("span",{className:"schema-how-to-duration-time-text"},l||u," "),w+". "),(0,t.createElement)("p",{className:"schema-how-to-description"},r)," ",p?(0,t.createElement)("ul",{className:m},g):(0,t.createElement)("ol",{className:m},g))}E.propTypes={attributes:a().object},_.propTypes={attributes:a().object.isRequired};const N={v8_2:E,v11_4:_};(0,o.registerBlockType)(n,{edit:({attributes:e,setAttributes:o,className:n})=>{const i=(0,s.useBlockProps)();return e.steps&&0!==e.steps.length||(e.steps=[{id:x.generateId("how-to-step"),name:[],text:[]}]),(0,t.createElement)("div",{...i},(0,t.createElement)(x,{attributes:e,setAttributes:o,className:n}))},save:({attributes:e})=>{const o=s.useBlockProps.save(e);return(0,t.createElement)(x.Content,{...o})},deprecated:[{attributes:n.attributes,save:N.v11_4},{attributes:n.attributes,save:N.v8_2}]})})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/new-settings.js b/wp/wp-content/plugins/wordpress-seo/js/dist/new-settings.js index a29c844b..07006130 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/new-settings.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/new-settings.js @@ -1,4 +1,4 @@ -(()=>{var e={1206:function(e){e.exports=function(e){var t={};function s(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=e,s.c=t,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(r,a,function(t){return e[t]}.bind(null,a));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=90)}({17:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r=s(18),a=function(){function e(){}return e.getFirstMatch=function(e,t){var s=t.match(e);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(e,t){var s=t.match(e);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(e,t,s){if(e.test(t))return s},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,s,r){void 0===r&&(r=!1);var a=e.getVersionPrecision(t),o=e.getVersionPrecision(s),n=Math.max(a,o),i=0,l=e.map([t,s],(function(t){var s=n-e.getVersionPrecision(t),r=t+new Array(s+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(i=n-Math.min(a,o)),n-=1;n>=i;){if(l[0][n]>l[1][n])return 1;if(l[0][n]===l[1][n]){if(n===i)return 0;n-=1}else if(l[0][n]1?a-1:0),n=1;n0){var n=Object.keys(s),l=i.default.find(n,(function(e){return t.isOS(e)}));if(l){var c=this.satisfies(s[l]);if(void 0!==c)return c}var d=i.default.find(n,(function(e){return t.isPlatform(e)}));if(d){var u=this.satisfies(s[d]);if(void 0!==u)return u}}if(o>0){var p=Object.keys(a),m=i.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(a[m])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var s=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),a=i.default.getBrowserTypeByAlias(r);return t&&a&&(r=a.toLowerCase()),r===s},t.compareVersion=function(e){var t=[0],s=e,r=!1,a=this.getBrowserVersion();if("string"==typeof a)return">"===e[0]||"<"===e[0]?(s=e.substr(1),"="===e[1]?(r=!0,s=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?s=e.substr(1):"~"===e[0]&&(r=!0,s=e.substr(1)),t.indexOf(i.default.compareVersions(a,s,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,n=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},s=a.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},s=a.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},s=a.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},s=a.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},s=a.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},s=a.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},s=a.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},s=a.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},s=a.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},s=a.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},s=a.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},s=a.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return s&&(t.version=s),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},s=a.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},s=a.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},s=a.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},s=a.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},s=a.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},s=a.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},s=a.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},s=a.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},s=a.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},s=a.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},s=a.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},s=a.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t={name:"Android Browser"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:a.default.getFirstMatch(t,e),version:a.default.getSecondMatch(t,e)}}}];t.default=n,e.exports=t.default},93:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:[/Roku\/DVP/],describe:function(e){var t=a.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=a.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=a.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),s=a.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:s}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},s=a.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return s&&(t.version=s),t}},{test:[/macintosh/i],describe:function(e){var t=a.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),s=a.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return s&&(r.versionName=s),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=a.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t=a.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),s=a.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return s&&(r.versionName=s),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=a.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),s={name:o.OS_MAP.WebOS};return t&&t.length&&(s.version=t),s}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=a.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||a.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||a.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=a.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=a.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=a.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=n,e.exports=t.default},94:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=a.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",s={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(s.model=t),s}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),s=e.test(/like (ipod|iphone)/i);return t&&!s},describe:function(e){var t=a.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=n,e.exports=t.default},95:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=a.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},s=a.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},s=a.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=e.test(/gecko/i),s=e.test(/like gecko/i);return t&&!s},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},s=a.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},s=a.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}}];t.default=n,e.exports=t.default}})},4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var r=s(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function l(e){return r.isMemo(e)?n:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,s,r){if("string"!=typeof s){if(f){var a=m(s);a&&a!==f&&e(t,a,r)}var n=d(s);u&&(n=n.concat(u(s)));for(var i=l(t),h=l(s),_=0;_{"use strict";var t=Array.isArray,s=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function o(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){var i,l,c,d=t(e),u=t(n);if(d&&u){if((l=e.length)!=n.length)return!1;for(i=l;0!=i--;)if(!o(e[i],n[i]))return!1;return!0}if(d!=u)return!1;var p=e instanceof Date,m=n instanceof Date;if(p!=m)return!1;if(p&&m)return e.getTime()==n.getTime();var f=e instanceof RegExp,h=n instanceof RegExp;if(f!=h)return!1;if(f&&h)return e.toString()==n.toString();var _=s(e);if((l=_.length)!==s(n).length)return!1;for(i=l;0!=i--;)if(!r.call(n,_[i]))return!1;if(a&&e instanceof Element&&n instanceof Element)return e===n;for(i=l;0!=i--;)if(!("_owner"===(c=_[i])&&e.$$typeof||o(e[c],n[c])))return!1;return!0}return e!=e&&n!=n}e.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},5760:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var s=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,a=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,n=/^\s*(['"]?)(.*?)(\1)\s*$/,i=new t(512),l=new t(512),c=new t(512);function d(e){return i.get(e)||i.set(e,u(e).map((function(e){return e.replace(n,"$2")})))}function u(e){return e.match(s)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function m(e){return!p(e)&&(function(e){return e.match(a)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:u,normalizePath:d,setter:function(e){var t=d(e);return l.get(e)||l.set(e,(function(e,s){for(var r=0,a=t.length,o=e;r{"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;re.height),d(m,this.animationStateClasses.animatingToHeightZero,0===v.height),d(m,this.animationStateClasses.animatingToHeightAuto,"auto"===v.height),d(m,this.animationStateClasses.animatingToHeightSpecific,v.height>0),m)),k=this.getStaticStateClasses(v.height);this.setState({animationStateClasses:x,height:b,overflow:"hidden",shouldUseTransitions:!E}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),E?(v.shouldUseTransitions=!0,f(this.animationFrameIDs),this.animationFrameIDs=(s=function(){a.setState(v),y(p,{newHeight:v.height})},(r=[])[0]=requestAnimationFrame((function(){r[1]=requestAnimationFrame((function(){s()}))})),r),this.animationClassesTimeoutID=setTimeout((function(){a.setState({animationStateClasses:k,shouldUseTransitions:!1}),a.hideContent(v.height),y(u,{newHeight:v.height})}),g)):(y(p,{newHeight:b}),this.timeoutID=setTimeout((function(){v.animationStateClasses=k,v.shouldUseTransitions=!1,a.setState(v),"auto"!==c&&a.hideContent(b),y(u,{newHeight:b})}),g))}}},{key:"componentWillUnmount",value:function(){f(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((d(t={},this.animationStateClasses.static,!0),d(t,this.animationStateClasses.staticHeightZero,0===e),d(t,this.animationStateClasses.staticHeightSpecific,e>0),d(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,s=this.props,r=s.animateOpacity,o=s.applyInlineTransitions,i=s.children,c=s.className,u=s.contentClassName,f=s.delay,h=s.duration,_=s.easing,y=s.id,w=s.style,g=this.state,b=g.height,v=g.overflow,E=g.animationStateClasses,x=g.shouldUseTransitions,k=a({},w,{height:b,overflow:v||w.overflow});x&&o&&(k.transition="height "+h+"ms "+_+" "+f+"ms",w.transition&&(k.transition=w.transition+", "+k.transition),k.WebkitTransition=k.transition);var S={};r&&(S.transition="opacity "+h+"ms "+_+" "+f+"ms",S.WebkitTransition=S.transition,0===b&&(S.opacity=0));var L=(0,l.default)((d(e={},E,!0),d(e,c,c),e)),T=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===b;return n.default.createElement("div",a({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":T,className:L,id:y,style:k}),n.default.createElement("div",{className:u,style:S,ref:function(e){return t.contentElement=e}},i))}}]),t}(n.default.Component);w.propTypes={"aria-hidden":i.default.bool,animateOpacity:i.default.bool,animationStateClasses:i.default.object,applyInlineTransitions:i.default.bool,children:i.default.any.isRequired,className:i.default.string,contentClassName:i.default.string,delay:i.default.number,duration:i.default.number,easing:i.default.string,height:function(e,t,s){var a=e[t];return"number"==typeof a&&a>=0||_(a)||"auto"===a?null:new TypeError('value "'+a+'" of type "'+(void 0===a?"undefined":r(a))+'" is invalid type for '+t+" in "+s+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:i.default.string,onAnimationEnd:i.default.func,onAnimationStart:i.default.func,style:i.default.object},w.defaultProps={animateOpacity:!1,animationStateClasses:u,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.Z=w},591:e=>{for(var t=[],s=0;s<256;++s)t[s]=(s+256).toString(16).substr(1);e.exports=function(e,s){var r=s||0,a=t;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}},9176:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var s=new Uint8Array(16);e.exports=function(){return t(s),s}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},3409:(e,t,s)=>{var r=s(9176),a=s(591);e.exports=function(e,t,s){var o=t&&s||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var n=(e=e||{}).random||(e.rng||r)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var i=0;i<16;++i)t[o+i]=n[i];return t||a(n)}},9921:(e,t)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,r=s?Symbol.for("react.element"):60103,a=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,n=s?Symbol.for("react.strict_mode"):60108,i=s?Symbol.for("react.profiler"):60114,l=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.async_mode"):60111,u=s?Symbol.for("react.concurrent_mode"):60111,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,f=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,_=s?Symbol.for("react.lazy"):60116,y=s?Symbol.for("react.block"):60121,w=s?Symbol.for("react.fundamental"):60117,g=s?Symbol.for("react.responder"):60118,b=s?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case o:case i:case n:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case _:case h:case l:return e;default:return t}}case a:return t}}}function E(e){return v(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=_,t.Memo=h,t.Portal=a,t.Profiler=i,t.StrictMode=n,t.Suspense=m,t.isAsyncMode=function(e){return E(e)||v(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===i},t.isStrictMode=function(e){return v(e)===n},t.isSuspense=function(e){return v(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===n||e===m||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===w||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v},9864:(e,t,s)=>{"use strict";e.exports=s(9921)},5251:(e,t,s)=>{"use strict";var r=s(9196);Symbol.for("react.element"),Symbol.for("react.fragment"),Object.prototype.hasOwnProperty,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},5893:(e,t,s)=>{"use strict";s(5251)},4633:e=>{function t(e,t){var s=e.length,r=new Array(s),a={},o=s,n=function(e){for(var t=new Map,s=0,r=e.length;s{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";e.exports=window.React},5890:e=>{"use strict";e.exports=window.yoast.propTypes}},t={};function s(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=s(9196),t=s.n(e);const r=window.wp.components,a=window.wp.data,o=window.wp.domReady;var n=s.n(o);const i=window.wp.element,l=window.yoast.uiLibrary;var c=s(667),d=s.n(c),u=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===p}(e)}(e)},p="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function m(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function f(e,t,s){return e.concat(t).map((function(e){return m(e,s)}))}function h(e,t,s){(s=s||{}).arrayMerge=s.arrayMerge||f,s.isMergeableObject=s.isMergeableObject||u;var r=Array.isArray(t);return r===Array.isArray(e)?r?s.arrayMerge(e,t,s):function(e,t,s){var r={};return s.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=m(e[t],s)})),Object.keys(t).forEach((function(a){s.isMergeableObject(t[a])&&e[a]?r[a]=h(e[a],t[a],s):r[a]=m(t[a],s)})),r}(e,t,s):m(t,s)}h.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,s){return h(e,s,t)}),{})};const _=h,y=window.lodash.isPlainObject;var w=s.n(y);const g=window.lodash.clone;var b=s.n(g);const v=window.lodash.toPath;var E=s.n(v);const x=function(e,t){};var k=s(6214),S=s.n(k);const L=window.lodash.cloneDeep;var T=s.n(L);function F(){return F=Object.assign||function(e){for(var t=1;t=0||(a[s]=e[s]);return a}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var I=function(e){return Array.isArray(e)&&0===e.length},R=function(e){return"function"==typeof e},O=function(e){return null!==e&&"object"==typeof e},N=function(e){return String(Math.floor(Number(e)))===e},M=function(e){return"[object String]"===Object.prototype.toString.call(e)},A=function(t){return 0===e.Children.count(t)},C=function(e){return O(e)&&R(e.then)};function D(e,t,s,r){void 0===r&&(r=0);for(var a=E()(t);e&&r=0?[]:{}}}return(0===o?e:a)[n[o]]===s?e:(void 0===s?delete a[n[o]]:a[n[o]]=s,0===o&&void 0===s&&delete r[n[o]],r)}function V(e,t,s,r){void 0===s&&(s=new WeakMap),void 0===r&&(r={});for(var a=0,o=Object.keys(e);a=s.length)break;o=s[a++]}else{if((a=s.next()).done)break;o=a.value}var n=o;D(t,n.path)||(t=B(t,n.path,n.message))}}return t}(s)):t(s)}))}))}),[f.validationSchema]),T=(0,e.useCallback)((function(e,t){return new Promise((function(s){return s(v.current[e].validate(t))}))}),[]),P=(0,e.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return R(v.current[e].validate)})),s=t.length>0?t.map((function(t){return T(t,D(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(s).then((function(e){return e.reduce((function(e,s,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===s||s&&(e=B(e,t[r],s)),e}),{})}))}),[T]),I=(0,e.useCallback)((function(e){return Promise.all([P(e),f.validationSchema?L(e):{},f.validate?S(e):{}]).then((function(e){var t=e[0],s=e[1],r=e[2];return _.all([t,s,r],{arrayMerge:Q})}))}),[f.validate,f.validationSchema,P,S,L]),N=J((function(e){return void 0===e&&(e=x.values),k({type:"SET_ISVALIDATING",payload:!0}),I(e).then((function(e){return b.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:e})),e}))}));(0,e.useEffect)((function(){i&&!0===b.current&&d()(h.current,f.initialValues)&&N(h.current)}),[i,N]);var A=(0,e.useCallback)((function(e){var t=e&&e.values?e.values:h.current,s=e&&e.errors?e.errors:y.current?y.current:f.initialErrors||{},r=e&&e.touched?e.touched:w.current?w.current:f.initialTouched||{},a=e&&e.status?e.status:g.current?g.current:f.initialStatus;h.current=t,y.current=s,w.current=r,g.current=a;var o=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:s,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var n=f.onReset(x.values,de);C(n)?n.then(o):o()}else o()}),[f.initialErrors,f.initialStatus,f.initialTouched]);(0,e.useEffect)((function(){!0!==b.current||d()(h.current,f.initialValues)||(u&&(h.current=f.initialValues,A()),i&&N(h.current))}),[u,f.initialValues,A,i,N]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(y.current,f.initialErrors)&&(y.current=f.initialErrors||H,k({type:"SET_ERRORS",payload:f.initialErrors||H}))}),[u,f.initialErrors]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(w.current,f.initialTouched)&&(w.current=f.initialTouched||Y,k({type:"SET_TOUCHED",payload:f.initialTouched||Y}))}),[u,f.initialTouched]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(g.current,f.initialStatus)&&(g.current=f.initialStatus,k({type:"SET_STATUS",payload:f.initialStatus}))}),[u,f.initialStatus,f.initialTouched]);var V=J((function(e){if(v.current[e]&&R(v.current[e].validate)){var t=D(x.values,e),s=v.current[e].validate(t);return C(s)?(k({type:"SET_ISVALIDATING",payload:!0}),s.then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:e,value:s}}),Promise.resolve(s))}return f.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),L(x.values,e).then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),j=(0,e.useCallback)((function(e,t){var s=t.validate;v.current[e]={validate:s}}),[]),U=(0,e.useCallback)((function(e){delete v.current[e]}),[]),z=J((function(e,t){return k({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?N(x.values):Promise.resolve()})),q=(0,e.useCallback)((function(e){k({type:"SET_ERRORS",payload:e})}),[]),G=J((function(e,t){var s=R(e)?e(x.values):e;return k({type:"SET_VALUES",payload:s}),(void 0===t?r:t)?N(s):Promise.resolve()})),K=(0,e.useCallback)((function(e,t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),X=J((function(e,t,s){return k({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===s?r:s)?N(B(x.values,e,t)):Promise.resolve()})),ee=(0,e.useCallback)((function(e,t){var s,r=t,a=e;if(!M(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,n=o.type,i=o.name,l=o.id,c=o.value,d=o.checked,u=(o.outerHTML,o.options),p=o.multiple;r=t||i||l,a=/number|range/.test(n)?(s=parseFloat(c),isNaN(s)?"":s):/checkbox/.test(n)?function(e,t,s){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,a=(o=e.indexOf(s))>=0;else if(!s||"true"==s||"false"==s)return Boolean(t);return t&&s&&!a?r.concat(s):a?r.slice(0,o).concat(r.slice(o+1)):r}(D(x.values,r),d,c):u&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(u):c}r&&X(r,a)}),[X,x.values]),te=J((function(e){if(M(e))return function(t){return ee(t,e)};ee(e)})),se=J((function(e,t,s){return void 0===t&&(t=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===s?o:s)?N(x.values):Promise.resolve()})),re=(0,e.useCallback)((function(e,t){e.persist&&e.persist();var s=e.target,r=s.name,a=s.id,o=(s.outerHTML,t||r||a);se(o,!0)}),[se]),ae=J((function(e){if(M(e))return function(t){return re(t,e)};re(e)})),oe=(0,e.useCallback)((function(e){R(e)?k({type:"SET_FORMIK_STATE",payload:e}):k({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),ne=(0,e.useCallback)((function(e){k({type:"SET_STATUS",payload:e})}),[]),ie=(0,e.useCallback)((function(e){k({type:"SET_ISSUBMITTING",payload:e})}),[]),le=J((function(){return k({type:"SUBMIT_ATTEMPT"}),N().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var s;try{if(void 0===(s=ue()))return}catch(e){throw e}return Promise.resolve(s).then((function(e){return b.current&&k({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(b.current)throw k({type:"SUBMIT_FAILURE"}),e}))}if(b.current&&(k({type:"SUBMIT_FAILURE"}),t))throw e}))})),ce=J((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),le().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),de={resetForm:A,validateForm:N,validateField:V,setErrors:q,setFieldError:K,setFieldTouched:se,setFieldValue:X,setStatus:ne,setSubmitting:ie,setTouched:z,setValues:G,setFormikState:oe,submitForm:le},ue=J((function(){return p(x.values,de)})),pe=J((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),A()})),me=(0,e.useCallback)((function(e){return{value:D(x.values,e),error:D(x.errors,e),touched:!!D(x.touched,e),initialValue:D(h.current,e),initialTouched:!!D(w.current,e),initialError:D(y.current,e)}}),[x.errors,x.touched,x.values]),fe=(0,e.useCallback)((function(e){return{setValue:function(t,s){return X(e,t,s)},setTouched:function(t,s){return se(e,t,s)},setError:function(t){return K(e,t)}}}),[X,se,K]),he=(0,e.useCallback)((function(e){var t=O(e),s=t?e.name:e,r=D(x.values,s),a={name:s,value:r,onChange:te,onBlur:ae};if(t){var o=e.type,n=e.value,i=e.as,l=e.multiple;"checkbox"===o?void 0===n?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(n)),a.value=n):"radio"===o?(a.checked=r===n,a.value=n):"select"===i&&l&&(a.value=a.value||[],a.multiple=!0)}return a}),[ae,te,x.values]),_e=(0,e.useMemo)((function(){return!d()(h.current,x.values)}),[h.current,x.values]),ye=(0,e.useMemo)((function(){return void 0!==l?_e?x.errors&&0===Object.keys(x.errors).length:!1!==l&&R(l)?l(f):l:x.errors&&0===Object.keys(x.errors).length}),[l,_e,x.errors,f]);return F({},x,{initialValues:h.current,initialErrors:y.current,initialTouched:w.current,initialStatus:g.current,handleBlur:ae,handleChange:te,handleReset:pe,handleSubmit:ce,resetForm:A,setErrors:q,setFormikState:oe,setFieldTouched:se,setFieldValue:X,setFieldError:K,setStatus:ne,setSubmitting:ie,setTouched:z,setValues:G,submitForm:le,validateForm:N,validateField:V,isValid:ye,dirty:_e,unregisterField:U,registerField:j,getFieldProps:he,getFieldMeta:me,getFieldHelpers:fe,validateOnBlur:o,validateOnChange:r,validateOnMount:i})}function K(t){var s=G(t),r=t.component,a=t.children,o=t.render,n=t.innerRef;return(0,e.useImperativeHandle)(n,(function(){return s})),(0,e.createElement)(U,{value:s},r?(0,e.createElement)(r,s):o?o(s):a?R(a)?a(s):A(a)?null:e.Children.only(a):null)}function Z(e){var t=Array.isArray(e)?[]:{};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var r=String(s);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||w()(e)?Z(e):""!==e?e:void 0})):w()(e[r])?t[r]=Z(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function Q(e,t,s){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var o=!1!==s.clone&&s.isMergeableObject(t);r[a]=o?_(Array.isArray(t)?[]:{},t,s):t}else s.isMergeableObject(t)?r[a]=_(e[a],t,s):-1===e.indexOf(t)&&r.push(t)})),r}var X="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function J(t){var s=(0,e.useRef)(t);return X((function(){s.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;re?t:e}),0);return Array.from(F({},e,{length:t+1}))}return[]},ne=function(t){function s(e){var s;return(s=t.call(this,e)||this).updateArrayField=function(e,t,r){var a=s.props,o=a.name;(0,a.formik.setFormikState)((function(s){var a="function"==typeof r?r:e,n="function"==typeof t?t:e,i=B(s.values,o,e(D(s.values,o))),l=r?a(D(s.errors,o)):void 0,c=t?n(D(s.touched,o)):void 0;return I(l)&&(l=void 0),I(c)&&(c=void 0),F({},s,{values:i,errors:r?B(s.errors,o,l):s.errors,touched:t?B(s.touched,o,c):s.touched})}))},s.push=function(e){return s.updateArrayField((function(t){return[].concat(oe(t),[T()(e)])}),!1,!1)},s.handlePush=function(e){return function(){return s.push(e)}},s.swap=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r[t]=r[s],r[s]=a,r}(s,e,t)}),!0,!0)},s.handleSwap=function(e,t){return function(){return s.swap(e,t)}},s.move=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r.splice(t,1),r.splice(s,0,a),r}(s,e,t)}),!0,!0)},s.handleMove=function(e,t){return function(){return s.move(e,t)}},s.insert=function(e,t){return s.updateArrayField((function(s){return ae(s,e,t)}),(function(t){return ae(t,e,null)}),(function(t){return ae(t,e,null)}))},s.handleInsert=function(e,t){return function(){return s.insert(e,t)}},s.replace=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e);return r[t]=s,r}(s,e,t)}),!1,!1)},s.handleReplace=function(e,t){return function(){return s.replace(e,t)}},s.unshift=function(e){var t=-1;return s.updateArrayField((function(s){var r=s?[e].concat(s):[e];return t<0&&(t=r.length),r}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s})),t},s.handleUnshift=function(e){return function(){return s.unshift(e)}},s.handleRemove=function(e){return function(){return s.remove(e)}},s.handlePop=function(){return function(){return s.pop()}},s.remove=s.remove.bind(P(s)),s.pop=s.pop.bind(P(s)),s}var r,a;a=t,(r=s).prototype=Object.create(a.prototype),r.prototype.constructor=r,r.__proto__=a;var o=s.prototype;return o.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!d()(D(e.formik.values,e.name),D(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},o.remove=function(e){var t;return this.updateArrayField((function(s){var r=s?oe(s):[];return t||(t=r[e]),R(r.splice)&&r.splice(e,1),r}),!0,!0),t},o.pop=function(){var e;return this.updateArrayField((function(t){var s=t;return e||(e=s&&s.pop&&s.pop()),s}),!0,!0),e},o.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},s=this.props,r=s.component,a=s.render,o=s.children,n=s.name,i=F({},t,{form:$(s.formik,["validate","validationSchema"]),name:n});return r?(0,e.createElement)(r,i):a?a(i):o?"function"==typeof o?o(i):A(o)?null:e.Children.only(o):null},s}(e.Component);ne.defaultProps={validateOnChange:!0};var ie=re(ne);const le=window.lodash;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;te.score!==t.score?t.score-e.score:function(e,t){let s=e.length===t.length&&e.slice(0,-1).every(((e,s)=>e===t[s]));return s?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e{let o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(r)||ge(!1),o.relativePath=o.relativePath.slice(r.length));let n=Ne([r,o.relativePath]),i=s.concat(o);e.children&&e.children.length>0&&(!0===e.index&&ge(!1),ve(e.children,t,i,n)),(null!=e.path||e.index)&&t.push({path:n,score:$e(n,e.index),routesMeta:i})})),t}const Ee=/^:\w+$/,xe=3,ke=2,Se=1,Le=10,Te=-2,Fe=e=>"*"===e;function $e(e,t){let s=e.split("/"),r=s.length;return s.some(Fe)&&(r+=Te),t&&(r+=ke),s.filter((e=>!Fe(e))).reduce(((e,t)=>e+(Ee.test(t)?xe:""===t?Se:Le)),r)}function Pe(e,t){let{routesMeta:s}=e,r={},a="/",o=[];for(let e=0;e(r.push(t),"([^\\/]+)")));return e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=s?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(s);if(!a)return null;let o=a[0],n=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce(((e,t,s)=>{if("*"===t){let e=i[s]||"";n=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(i[s]||""),e}),{}),pathname:o,pathnameBase:n,pattern:e}}function Re(e,t,s){let r,a="string"==typeof e?he(e):e,o=""===e||""===a.pathname?"/":a.pathname;if(null==o)r=s;else{let e=t.length-1;if(o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}r=e>=0?t[e]:"/"}let n=function(e,t){void 0===t&&(t="/");let{pathname:s,search:r="",hash:a=""}="string"==typeof e?he(e):e,o=s?s.startsWith("/")?s:function(e,t){let s=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?s.length>1&&s.pop():"."!==e&&s.push(e)})),s.length>1?s.join("/"):"/"}(s,t):t;return{pathname:o,search:Ae(r),hash:Ce(a)}}(a,r);return o&&"/"!==o&&o.endsWith("/")&&!n.pathname.endsWith("/")&&(n.pathname+="/"),n}function Oe(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let s=e.charAt(t.length);return s&&"/"!==s?null:e.slice(t.length)||"/"}const Ne=e=>e.join("/").replace(/\/\/+/g,"/"),Me=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ae=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ce=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function De(){return null!=(0,e.useContext)(ye)}function Be(){return De()||ge(!1),(0,e.useContext)(ye).location}function Ve(){De()||ge(!1);let{basename:t,navigator:s}=(0,e.useContext)(_e),{matches:r}=(0,e.useContext)(we),{pathname:a}=Be(),o=JSON.stringify(r.map((e=>e.pathnameBase))),n=(0,e.useRef)(!1);return(0,e.useEffect)((()=>{n.current=!0})),(0,e.useCallback)((function(e,r){if(void 0===r&&(r={}),!n.current)return;if("number"==typeof e)return void s.go(e);let i=Re(e,JSON.parse(o),a);"/"!==t&&(i.pathname=Ne([t,i.pathname])),(r.replace?s.replace:s.push)(i,r.state)}),[t,s,o,a])}function je(t){let{matches:s}=(0,e.useContext)(we),{pathname:r}=Be(),a=JSON.stringify(s.map((e=>e.pathnameBase)));return(0,e.useMemo)((()=>Re(t,JSON.parse(a),r)),[t,a,r])}function Ue(t){let{to:s,replace:r,state:a}=t;De()||ge(!1);let o=Ve();return(0,e.useEffect)((()=>{o(s,{replace:r,state:a})})),null}function ze(e){ge(!1)}function qe(t){let{basename:s="/",children:r=null,location:a,navigationType:o=de.Pop,navigator:n,static:i=!1}=t;De()&&ge(!1);let l=Me(s),c=(0,e.useMemo)((()=>({basename:l,navigator:n,static:i})),[l,n,i]);"string"==typeof a&&(a=he(a));let{pathname:d="/",search:u="",hash:p="",state:m=null,key:f="default"}=a,h=(0,e.useMemo)((()=>{let e=Oe(d,l);return null==e?null:{pathname:e,search:u,hash:p,state:m,key:f}}),[l,d,u,p,m,f]);return null==h?null:(0,e.createElement)(_e.Provider,{value:c},(0,e.createElement)(ye.Provider,{children:r,value:{location:h,navigationType:o}}))}function We(t){let{children:s,location:r}=t;return function(t,s){De()||ge(!1);let{matches:r}=(0,e.useContext)(we),a=r[r.length-1],o=a?a.params:{},n=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let i,l=Be();if(s){var c;let e="string"==typeof s?he(s):s;"/"===n||(null==(c=e.pathname)?void 0:c.startsWith(n))||ge(!1),i=e}else i=l;let d=i.pathname||"/",u=be(t,{pathname:"/"===n?d:d.slice(n.length)||"/"});return function(t,s){return void 0===s&&(s=[]),null==t?null:t.reduceRight(((r,a,o)=>(0,e.createElement)(we.Provider,{children:void 0!==a.route.element?a.route.element:r,value:{outlet:r,matches:s.concat(t.slice(0,o+1))}})),null)}(u&&u.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ne([n,e.pathname]),pathnameBase:"/"===e.pathnameBase?n:Ne([n,e.pathnameBase])}))),r)}(He(s),r)}function He(t){let s=[];return e.Children.forEach(t,(t=>{if(!(0,e.isValidElement)(t))return;if(t.type===e.Fragment)return void s.push.apply(s,He(t.props.children));t.type!==ze&&ge(!1);let r={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(r.children=He(t.props.children)),s.push(r)})),s}function Ye(){return Ye=Object.assign||function(e){for(var t=1;tn.listen(l)),[n]),(0,e.createElement)(qe,{basename:s,children:r,location:i.location,navigationType:i.action,navigator:n})}const Ze=(0,e.forwardRef)((function(t,s){let{onClick:r,reloadDocument:a,replace:o=!1,state:n,target:i,to:l}=t,c=function(e,t){if(null==e)return{};var s,r,a={},o=Object.keys(e);for(r=0;r=0||(a[s]=e[s]);return a}(t,Ge),d=function(t){De()||ge(!1);let{basename:s,navigator:r}=(0,e.useContext)(_e),{hash:a,pathname:o,search:n}=je(t),i=o;if("/"!==s){let e=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?he(e).pathname:e.pathname}(t),r=null!=e&&e.endsWith("/");i="/"===o?s+(r?"/":""):Ne([s,o])}return r.createHref({pathname:i,search:n,hash:a})}(l),u=function(t,s){let{target:r,replace:a,state:o}=void 0===s?{}:s,n=Ve(),i=Be(),l=je(t);return(0,e.useCallback)((e=>{if(!(0!==e.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))){e.preventDefault();let s=!!a||fe(i)===fe(l);n(t,{replace:s,state:o})}}),[i,n,l,a,o,r,t])}(l,{replace:o,state:n,target:i});return(0,e.createElement)("a",Ye({},c,{href:d,onClick:function(e){r&&r(e),e.defaultPrevented||a||u(e)},ref:s,target:i}))})),Qe=window.yoast.styledComponents,Xe=window.yoast.reduxJsToolkit,Je=window.wp.url,et="linkParams",tt=(0,Xe.createSlice)({name:et,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),st=tt.getInitialState,rt={selectLinkParam:(e,t,s={})=>(0,le.get)(e,`${et}.${t}`,s),selectLinkParams:e=>(0,le.get)(e,et,{})};rt.selectLink=(0,Xe.createSelector)([rt.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,Je.addQueryArgs)(t,{...e,...s})));const at=tt.actions,ot=tt.reducer,nt="notifications",it=(0,Xe.createSlice)({name:nt,initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:a})=>({payload:{id:e||(0,Xe.nanoid)(),variant:t,size:s,title:r||"",description:a}})},removeNotification:(e,{payload:t})=>(0,le.omit)(e,t)}}),lt=it.getInitialState,ct={selectNotifications:e=>(0,le.get)(e,nt,{}),selectNotification:(e,t)=>(0,le.get)(e,[nt,t],null)},dt=it.actions,ut=it.reducer,pt="pluginUrl",mt=(0,Xe.createSlice)({name:pt,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),ft=(mt.getInitialState,{selectPluginUrl:e=>(0,le.get)(e,pt,"")});ft.selectImageLink=(0,Xe.createSelector)([ft.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,le.trimEnd)(e,"/"),(0,le.trim)(t,"/"),(0,le.trimStart)(s,"/")].join("/"))),mt.actions,mt.reducer;const ht=window.wp.apiFetch;var _t=s.n(ht);const yt="request",wt="success",gt="error",bt="idle",vt="loading",Et="success",xt="error",kt="showPlay",St="askPermission",Lt="isPlaying",Tt="wistiaEmbedPermission",Ft=(0,Xe.createSlice)({name:Tt,initialState:{value:!1,status:bt,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Tt}/${yt}`,(e=>{e.status=vt})),e.addCase(`${Tt}/${wt}`,((e,{payload:t})=>{e.status=Et,e.value=Boolean(t&&t.value)})),e.addCase(`${Tt}/${gt}`,((e,{payload:t})=>{e.status=xt,e.value=Boolean(t&&t.value),e.error={code:(0,le.get)(t,"error.code",500),message:(0,le.get)(t,"error.message","Unknown")}}))}});function $t(...e){return e.filter(Boolean).join(" ")}function Pt(e,t,...s){if(e in t){let r=t[e];return"function"==typeof r?r(...s):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pt),r}Ft.getInitialState,Ft.actions,Ft.reducer;var It,Rt,Ot=((Rt=Ot||{})[Rt.None=0]="None",Rt[Rt.RenderStrategy=1]="RenderStrategy",Rt[Rt.Static=2]="Static",Rt),Nt=((It=Nt||{})[It.Unmount=0]="Unmount",It[It.Hidden=1]="Hidden",It);function Mt({ourProps:e,theirProps:t,slot:s,defaultTag:r,features:a,visible:o=!0,name:n}){let i=Ct(t,e);if(o)return At(i,s,r,n);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=i;if(e)return At(t,s,r,n)}if(1&l){let{unmount:e=!0,...t}=i;return Pt(e?0:1,{0:()=>null,1:()=>At({...t,hidden:!0,style:{display:"none"}},s,r,n)})}return At(i,s,r,n)}function At(t,s={},r,a){var o;let{as:n=r,children:i,refName:l="ref",...c}=Vt(t,["unmount","static"]),d=void 0!==t.ref?{[l]:t.ref}:{},u="function"==typeof i?i(s):i;c.className&&"function"==typeof c.className&&(c.className=c.className(s));let p={};if(s){let e=!1,t=[];for(let[r,a]of Object.entries(s))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(p["data-headlessui-state"]=t.join(" "))}if(n===e.Fragment&&Object.keys(Bt(c)).length>0){if(!(0,e.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let t=$t(null==(o=u.props)?void 0:o.className,c.className),s=t?{className:t}:{};return(0,e.cloneElement)(u,Object.assign({},Ct(u.props,Bt(Vt(c,["ref"]))),p,d,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let s of e)null!=s&&("function"==typeof s?s(t):s.current=t)}}}(u.ref,d.ref),s))}return(0,e.createElement)(n,Object.assign({},Vt(c,["ref"]),n!==e.Fragment&&d,n!==e.Fragment&&p),u)}function Ct(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},s={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=s[e]||(s[e]=[]),s[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(s).map((e=>[e,void 0]))));for(let e in s)Object.assign(t,{[e](t,...r){let a=s[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function Dt(t){var s;return Object.assign((0,e.forwardRef)(t),{displayName:null!=(s=t.displayName)?s:t.name})}function Bt(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Vt(e,t=[]){let s=Object.assign({},e);for(let e of t)e in s&&delete s[e];return s}let jt=(0,e.createContext)(null);jt.displayName="OpenClosedContext";var Ut=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ut||{});function zt(){return(0,e.useContext)(jt)}function qt({value:t,children:s}){return e.createElement(jt.Provider,{value:t},s)}var Wt=Object.defineProperty,Ht=(e,t,s)=>(((e,t,s)=>{t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);let Yt=new class{constructor(){Ht(this,"current",this.detect()),Ht(this,"handoffState","pending"),Ht(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Gt=(t,s)=>{Yt.isServer?(0,e.useEffect)(t,s):(0,e.useLayoutEffect)(t,s)};function Kt(){let t=(0,e.useRef)(!1);return Gt((()=>(t.current=!0,()=>{t.current=!1})),[]),t}function Zt(t){let s=(0,e.useRef)(t);return Gt((()=>{s.current=t}),[t]),s}function Qt(){let[t,s]=(0,e.useState)(Yt.isHandoffComplete);return t&&!1===Yt.isHandoffComplete&&s(!1),(0,e.useEffect)((()=>{!0!==t&&s(!0)}),[t]),(0,e.useEffect)((()=>Yt.handoff()),[]),t}let Xt=function(t){let s=Zt(t);return e.useCallback(((...e)=>s.current(...e)),[s])},Jt=Symbol();function es(...t){let s=(0,e.useRef)(t);(0,e.useEffect)((()=>{s.current=t}),[t]);let r=Xt((e=>{for(let t of s.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return t.every((e=>null==e||(null==e?void 0:e[Jt])))?void 0:r}function ts(){let e=[],t=[],s={enqueue(e){t.push(e)},addEventListener:(e,t,r,a)=>(e.addEventListener(t,r,a),s.add((()=>e.removeEventListener(t,r,a)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return s.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>s.requestAnimationFrame((()=>s.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return s.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),s.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let s=e.indexOf(t);if(s>=0){let[t]=e.splice(s,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return s}function ss(e,...t){e&&t.length>0&&e.classList.add(...t)}function rs(e,...t){e&&t.length>0&&e.classList.remove(...t)}function as(){let[t]=(0,e.useState)(ts);return(0,e.useEffect)((()=>()=>t.dispose()),[t]),t}function os({container:e,direction:t,classes:s,onStart:r,onStop:a}){let o=Kt(),n=as(),i=Zt(t);Gt((()=>{let t=ts();n.add(t.dispose);let l=e.current;if(l&&"idle"!==i.current&&o.current)return t.dispose(),r.current(i.current),t.add(function(e,t,s,r){let a=s?"enter":"leave",o=ts(),n=void 0!==r?function(e){let t={called:!1};return(...s)=>{if(!t.called)return t.called=!0,e(...s)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let i=Pt(a,{enter:()=>t.enter,leave:()=>t.leave}),l=Pt(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pt(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return rs(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),ss(e,...i,...c),o.nextFrame((()=>{rs(e,...c),ss(e,...l),function(e,t){let s=ts();if(!e)return s.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,n]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+n!==0){let r=s.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();s.add((()=>t())),s.dispose}(e,(()=>(rs(e,...i),ss(e,...t.entered),n())))})),o.dispose}(l,s.current,"enter"===i.current,(()=>{t.dispose(),a.current(i.current)}))),t.dispose}),[t])}function ns(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let is=(0,e.createContext)(null);is.displayName="TransitionContext";var ls=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ls||{});let cs=(0,e.createContext)(null);function ds(e){return"children"in e?ds(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function us(t,s){let r=Zt(t),a=(0,e.useRef)([]),o=Kt(),n=as(),i=Xt(((e,t=Nt.Hidden)=>{let s=a.current.findIndex((({el:t})=>t===e));-1!==s&&(Pt(t,{[Nt.Unmount](){a.current.splice(s,1)},[Nt.Hidden](){a.current[s].state="hidden"}}),n.microTask((()=>{var e;!ds(a)&&o.current&&(null==(e=r.current)||e.call(r))})))})),l=Xt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>i(e,Nt.Unmount)})),c=(0,e.useRef)([]),d=(0,e.useRef)(Promise.resolve()),u=(0,e.useRef)({enter:[],leave:[],idle:[]}),p=Xt(((e,t,r)=>{c.current.splice(0),s&&(s.chains.current[t]=s.chains.current[t].filter((([t])=>t!==e))),null==s||s.chains.current[t].push([e,new Promise((e=>{c.current.push(e)}))]),null==s||s.chains.current[t].push([e,new Promise((e=>{Promise.all(u.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?d.current=d.current.then((()=>null==s?void 0:s.wait.current)).then((()=>r(t))):r(t)})),m=Xt(((e,t,s)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>s(t)))}));return(0,e.useMemo)((()=>({children:a,register:l,unregister:i,onStart:p,onStop:m,wait:d,chains:u})),[l,i,a,p,m,u,d])}function ps(){}cs.displayName="NestingContext";let ms=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function fs(e){var t;let s={};for(let r of ms)s[r]=null!=(t=e[r])?t:ps;return s}let hs=Ot.RenderStrategy,_s=Dt((function(t,s){let{beforeEnter:r,afterEnter:a,beforeLeave:o,afterLeave:n,enter:i,enterFrom:l,enterTo:c,entered:d,leave:u,leaveFrom:p,leaveTo:m,...f}=t,h=(0,e.useRef)(null),_=es(h,s),y=f.unmount?Nt.Unmount:Nt.Hidden,{show:w,appear:g,initial:b}=function(){let t=(0,e.useContext)(is);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),[v,E]=(0,e.useState)(w?"visible":"hidden"),x=function(){let t=(0,e.useContext)(cs);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),{register:k,unregister:S}=x,L=(0,e.useRef)(null);(0,e.useEffect)((()=>k(h)),[k,h]),(0,e.useEffect)((()=>{if(y===Nt.Hidden&&h.current)return w&&"visible"!==v?void E("visible"):Pt(v,{hidden:()=>S(h),visible:()=>k(h)})}),[v,h,k,S,w,y]);let T=Zt({enter:ns(i),enterFrom:ns(l),enterTo:ns(c),entered:ns(d),leave:ns(u),leaveFrom:ns(p),leaveTo:ns(m)}),F=function(t){let s=(0,e.useRef)(fs(t));return(0,e.useEffect)((()=>{s.current=fs(t)}),[t]),s}({beforeEnter:r,afterEnter:a,beforeLeave:o,afterLeave:n}),$=Qt();(0,e.useEffect)((()=>{if($&&"visible"===v&&null===h.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[h,v,$]);let P=b&&!g,I=!$||P||L.current===w?"idle":w?"enter":"leave",R=Xt((e=>Pt(e,{enter:()=>F.current.beforeEnter(),leave:()=>F.current.beforeLeave(),idle:()=>{}}))),O=Xt((e=>Pt(e,{enter:()=>F.current.afterEnter(),leave:()=>F.current.afterLeave(),idle:()=>{}}))),N=us((()=>{E("hidden"),S(h)}),x);os({container:h,classes:T,direction:I,onStart:Zt((e=>{N.onStart(h,e,R)})),onStop:Zt((e=>{N.onStop(h,e,O),"leave"===e&&!ds(N)&&(E("hidden"),S(h))}))}),(0,e.useEffect)((()=>{!P||(y===Nt.Hidden?L.current=null:L.current=w)}),[w,P,v]);let M=f,A={ref:_};return g&&w&&Yt.isServer&&(M={...M,className:$t(f.className,...T.current.enter,...T.current.enterFrom)}),e.createElement(cs.Provider,{value:N},e.createElement(qt,{value:Pt(v,{visible:Ut.Open,hidden:Ut.Closed})},Mt({ourProps:A,theirProps:M,defaultTag:"div",features:hs,visible:"visible"===v,name:"Transition.Child"})))})),ys=Dt((function(t,s){let{show:r,appear:a=!1,unmount:o,...n}=t,i=(0,e.useRef)(null),l=es(i,s);Qt();let c=zt();if(void 0===r&&null!==c&&(r=Pt(c,{[Ut.Open]:!0,[Ut.Closed]:!1})),![!0,!1].includes(r))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,e.useState)(r?"visible":"hidden"),p=us((()=>{u("hidden")})),[m,f]=(0,e.useState)(!0),h=(0,e.useRef)([r]);Gt((()=>{!1!==m&&h.current[h.current.length-1]!==r&&(h.current.push(r),f(!1))}),[h,r]);let _=(0,e.useMemo)((()=>({show:r,appear:a,initial:m})),[r,a,m]);(0,e.useEffect)((()=>{if(r)u("visible");else if(ds(p)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[r,p]);let y={unmount:o};return e.createElement(cs.Provider,{value:p},e.createElement(is.Provider,{value:_},Mt({ourProps:{...y,as:e.Fragment,children:e.createElement(_s,{ref:l,...y,...n})},theirProps:{},defaultTag:e.Fragment,features:hs,visible:"visible"===d,name:"Transition"})))})),ws=Dt((function(t,s){let r=null!==(0,e.useContext)(is),a=null!==zt();return e.createElement(e.Fragment,null,!r&&a?e.createElement(ys,{ref:s,...t}):e.createElement(_s,{ref:s,...t}))})),gs=Object.assign(ys,{Child:ws,Root:ys});const bs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),vs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),Es=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))})),xs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),ks=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),Ss=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))})),Ls=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ts=window.wp.i18n;var Fs=s(4530),$s=s.n(Fs),Ps=s(5890),Is=s.n(Ps);const Rs={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},Os=({id:t,children:s,title:r,description:a=null,variant:o="2xl"})=>(0,e.createElement)("section",{id:t,className:Rs.variant[o].grid},(0,e.createElement)("div",{className:Rs.variant[o].col1},(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Title,{as:"h2",size:"4"},r),a&&(0,e.createElement)("p",{className:"yst-mt-2"},a))),(0,e.createElement)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${Rs.variant[o].col2}`},(0,e.createElement)("legend",{className:"yst-sr-only"},r),(0,e.createElement)("div",{className:"yst-space-y-8"},s)));Os.propTypes={id:Is().string,children:Is().node.isRequired,title:Is().node.isRequired,description:Is().node,variant:Is().oneOf(Object.keys(Rs.variant))};const Ns=({name:e})=>{const t=Bs("selectPreference",[],"isNetworkAdmin"),s=Bs("selectPreference",[],"isMainSite"),r=(0,i.useMemo)((()=>"wpseo.tracking"===e&&!t&&!s),[e,t,s]),a=(0,i.useMemo)((()=>(0,le.get)(window,`wpseoScriptData.disabledSettings.${e}`,"")),[]),o=(0,i.useMemo)((()=>{if(r)return(0,Ts.__)("Unavailable for sub-sites","wordpress-seo");switch(a){case"multisite":return(0,Ts.__)("Unavailable for multisites","wordpress-seo");case"network":return(0,Ts.__)("Network disabled","wordpress-seo");case"language":return(0,Ts.__)("Only available for English sites","wordpress-seo");default:return""}}),[a,r]);return{isDisabled:(0,i.useMemo)((()=>!(0,le.isEmpty)(o)),[o]),message:o,disabledSetting:a}},Ms="@yoast/settings",As=()=>(0,a.useDispatch)(Ms);var Cs=s(1206),Ds=s.n(Cs);const Bs=(e,t=[],...s)=>(0,a.useSelect)((t=>{var r,a;return null===(r=(a=t(Ms))[e])||void 0===r?void 0:r.call(a,...s)}),t),Vs=({id:t,children:s,title:r,description:a=null})=>{const o=Bs("selectPreference",[],"isPremium");return(0,e.createElement)(Os,{id:t,title:r,description:a,variant:o?"xl":"2xl"},s)};Vs.propTypes={id:Is().string,children:Is().node.isRequired,title:Is().node.isRequired,description:Is().node};const js=Vs,Us=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))}));var zs=s(8133);const qs=({children:t})=>{const{isSubmitting:s,status:r,dirty:a,resetForm:o,initialValues:n}=q(),c=Bs("selectIsMediaLoading"),d=(0,i.useMemo)((()=>(0,le.includes)((0,le.values)(r),!0)),[r]),u=(0,l.useSvgAria)(),[p,,,m,f]=(0,l.useToggleState)(!1),h=(0,i.useCallback)((()=>{f(),o({values:n})}),[o,n,f]);return(0,e.createElement)(se,{className:"yst-flex yst-flex-col yst-h-full"},(0,e.createElement)("div",{className:"yst-flex-grow yst-p-8"},t),(0,e.createElement)("footer",{className:"yst-sticky yst-bottom-0 yst-z-10"},(0,e.createElement)(zs.Z,{easing:"ease-in-out",duration:300,height:a?"auto":0,animateOpacity:!0},(0,e.createElement)("div",{className:"yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg"},(0,e.createElement)("div",{className:"yst-flex yst-align-middle yst-space-x-3 yst-p-8"},(0,e.createElement)(l.Button,{id:"button-submit-settings",type:"submit",isLoading:s,disabled:s||c||d},(0,Ts.__)("Save changes","wordpress-seo")),(0,e.createElement)(l.Button,{id:"button-undo-settings",type:"button",variant:"secondary",disabled:!a,onClick:m},(0,Ts.__)("Discard changes","wordpress-seo")),(0,e.createElement)(l.Modal,{onClose:f,isOpen:p},(0,e.createElement)(l.Modal.Panel,{closeButtonScreenReaderText:(0,Ts.__)("Close","wordpress-seo")},(0,e.createElement)("div",{className:"sm:yst-flex sm:yst-items-start"},(0,e.createElement)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10"},(0,e.createElement)(Us,{className:"yst-h-6 yst-w-6 yst-text-red-600",...u})),(0,e.createElement)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ml-4 sm:yst-text-left"},(0,e.createElement)(l.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900"},(0,Ts.__)("Discard all changes","wordpress-seo")),(0,e.createElement)(l.Modal.Description,{className:"yst-text-sm yst-text-slate-500"},(0,Ts.__)("You are about to discard all unsaved changes. All of your settings will be reset to the point where you last saved. Are you sure you want to do this?","wordpress-seo")))),(0,e.createElement)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6"},(0,e.createElement)(l.Button,{type:"button",variant:"error",onClick:h,className:"yst-block"},(0,Ts.__)("Yes, discard changes","wordpress-seo")),(0,e.createElement)(l.Button,{type:"button",variant:"secondary",onClick:f,className:"yst-block"},(0,Ts.__)("No, continue editing","wordpress-seo"))))))))))};qs.propTypes={children:Is().node.isRequired};const Ws=qs,Hs=t=>{const[s,,{setTouched:r,setValue:a}]=ee({...t,type:"checkbox"}),o=(0,i.useCallback)((e=>{r(!0,!1),a(!e)}),[t.name]);return(0,e.createElement)(l.ToggleField,{...s,checked:(0,le.isUndefined)(t.checked)?!s.checked:!t.checked,onChange:o,...t})};Hs.propTypes={name:Is().string.isRequired,checked:Is().bool};const Ys=Hs,Gs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Ks={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},Zs=({label:t="",description:s="",icon:r=Gs,disabled:a=!1,isDummy:o=!1,libraryType:n="image",variant:c="landscape",id:d,mediaUrlName:u,mediaIdName:p,fallbackMediaId:m="0",previewLabel:f="",selectLabel:h=(0,Ts.__)("Select image","wordpress-seo"),replaceLabel:_=(0,Ts.__)("Replace image","wordpress-seo"),removeLabel:y=(0,Ts.__)("Remove image","wordpress-seo"),className:w=""})=>{const{values:g,setFieldValue:b,setFieldTouched:v,errors:E}=q(),[x,k]=(0,i.useState)(null),S=(0,i.useMemo)((()=>(0,le.get)(window,"wp.media",null)),[]),L=(0,i.useMemo)((()=>(0,le.get)(g,p,"")),[g,p]),T=Bs("selectMediaById",[L],L),F=Bs("selectIsMediaError"),$=Bs("selectMediaById",[m],m),{fetchMedia:P,addOneMedia:I}=As(),R=(0,i.useMemo)((()=>(0,le.get)(E,p,"")),[E,p]),O=(0,i.useMemo)((()=>a||o||F),[o,a,F]),{ids:N,describedBy:M}=(0,l.useDescribedBy)(`field-${d}-id`,{description:s,error:R}),A=(0,i.useMemo)((()=>L>0?T:m>0?$:null),[L,T,m,$]),C=(0,i.useMemo)((()=>(0,le.join)((0,le.map)((null==T?void 0:T.sizes)||(null==$?void 0:$.sizes),(e=>`${null==e?void 0:e.url} ${null==e?void 0:e.width}w`)),", ")),[T,$]),D=(0,i.useCallback)((()=>{o||null==x||x.open()}),[o,x]),B=(0,i.useCallback)((()=>{o||(v(u,!0,!1),b(u,"",!1),v(p,!0,!1),b(p,""))}),[o,v,b,u,p]),V=(0,i.useCallback)((()=>{var e,t,s;if(o)return;const r=(null===(e=x.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(s=t.first())||void 0===s?void 0:s.toJSON())||{};v(u,!0,!1),b(u,r.url,!1),v(p,!0,!1),b(p,r.id),I(r)}),[o,x,v,b,u,p]);return(0,i.useEffect)((()=>{S&&k(S({title:t,multiple:!1,library:{type:n}}))}),[S,t,n,k]),(0,i.useEffect)((()=>(null==x||x.on("select",V),()=>null==x?void 0:x.off("select",V))),[x,V]),(0,i.useEffect)((()=>{L&&!T&&P([L]),m&&!$&&P([m])}),[]),(0,e.createElement)("fieldset",{id:d,className:"yst-min-w-0 yst-w-96 yst-max-w-full"},(0,e.createElement)(te,{type:"hidden",name:p,id:`input-${d}-id`,"aria-describedby":M,disabled:O}),(0,e.createElement)(te,{type:"hidden",name:u,id:`input-${d}-url`,"aria-describedby":M,disabled:O}),t&&(0,e.createElement)(l.Label,{as:"legend",className:$s()("yst-mb-2",O&&"yst-opacity-50 yst-cursor-not-allowed")},t),(0,e.createElement)("button",{type:"button",id:`button-${d}-preview`,onClick:D,className:$s()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-max-w-full yst-rounded-md yst-mb-4 yst-border-slate-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",!o&&A?"yst-bg-slate-50 yst-border":"yst-border-2 yst-border-dashed",O&&"yst-opacity-50 yst-cursor-not-allowed",Ks.variant[c],w),disabled:O},!o&&A?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"yst-sr-only"},_),(0,e.createElement)("img",{src:null==A?void 0:A.url,alt:(null==A?void 0:A.alt)||"",srcSet:C,sizes:"landscape"===c?"24rem":"12rem",width:"landscape"===c?"24rem":"12rem",loading:"lazy",decoding:"async",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})):(0,e.createElement)("div",{className:"yst-w-48 yst-max-w-full"},(0,e.createElement)("span",{className:"yst-sr-only"},h),(0,e.createElement)(r,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-slate-400 yst-stroke-1"}),f&&(0,e.createElement)("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-mt-1 yst-px-8"},f))),(0,e.createElement)("div",{className:"yst-flex yst-gap-1"},!o&&L>0?(0,e.createElement)(l.Button,{id:`button-${d}-replace`,variant:"secondary",onClick:D,disabled:O},_):(0,e.createElement)(l.Button,{id:`button-${d}-select`,variant:"secondary",onClick:D,disabled:O},h),!o&&L>0&&(0,e.createElement)(l.Link,{id:`button-${d}-remove`,as:"button",type:"button",variant:"error",onClick:B,className:$s()("yst-px-3 yst-py-2 yst-rounded-md",O&&"yst-opacity-50 yst-cursor-not-allowed"),disabled:O},y)),R&&(0,e.createElement)("p",{id:N.error,className:"yst-mt-2 yst-text-sm yst-text-red-600"},R),F&&(0,e.createElement)("p",{className:"yst-mt-2 yst-text-sm yst-text-red-600"},(0,Ts.__)("Failed to retrieve media.","wordpress-seo")),s&&(0,e.createElement)("p",{id:N.description,className:$s()("yst-mt-2",O&&"yst-opacity-50 yst-cursor-not-allowed")},s))};Zs.propTypes={label:Is().string,description:Is().node,icon:Is().elementType,disabled:Is().bool,isDummy:Is().bool,libraryType:Is().string,variant:Is().oneOf((0,le.keys)(Ks.variant)),id:Is().string.isRequired,mediaUrlName:Is().string.isRequired,mediaIdName:Is().string.isRequired,fallbackMediaId:Is().string,previewLabel:Is().node,selectLabel:Is().string,replaceLabel:Is().string,removeLabel:Is().string,className:Is().string};const Qs=Zs,Xs=window.yoast.replacementVariableEditor,Js=({className:t="",disabled:s=!1,...r})=>{const[a,o]=(0,i.useState)(null),[n,,{setTouched:l,setValue:c}]=ee(r),d=(0,i.useCallback)((e=>{l(!0,!1),c(e)}),[r.name]),u=(0,i.useCallback)((()=>null==a?void 0:a.focus()),[a]),p=(0,i.useMemo)((()=>{var e;return(null!==(e=n.value)&&void 0!==e&&e.match(/%%\w+%%$/)?`${n.value} `:n.value)||""}),[n.value]);return(0,e.createElement)("div",{className:t},(0,e.createElement)(Xs.ReplacementVariableEditor,{...n,content:p,onChange:d,editorRef:o,onFocus:u,isDisabled:s,...r}))};Js.propTypes={name:Is().string.isRequired,disabled:Is().bool,className:Is().string};const er=Js,tr=t=>{const[{value:s,...r},,{setTouched:a,setValue:o}]=ee(t),n=(0,i.useMemo)((()=>(0,le.reduce)((0,le.isString)(s)&&(null==s?void 0:s.split(","))||[],((e,t)=>{const s=(0,le.trim)(t);return s?[...e,s]:e}),[])),[s]),c=(0,i.useCallback)((e=>{a(!0,!1),o([...n,e].join(","))}),[a,o,n]),d=(0,i.useCallback)((e=>{a(!0,!1),o([...n.slice(0,e),...n.slice(e+1)].join(","))}),[a,o,n]),u=(0,i.useCallback)((e=>{a(!0,!1),o(e.join(","))}),[a,o]);return(0,e.createElement)(l.TagField,{...r,tags:n,onAddTag:c,onRemoveTag:d,onSetTags:u,...t})};tr.propTypes={name:Is().string.isRequired};const sr=tr,rr=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))}));let ar;const or=({children:t,className:s=""})=>(0,e.createElement)("div",{className:$s()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",s)},t);or.propTypes={children:Is().node.isRequired,className:Is().string};const nr=({name:t,id:s,className:r="",...a})=>{const o=Bs("selectPreference",[],"siteRepresentsPerson",{}),n=Bs("selectUsersWith",[o],o),{addManyUsers:c}=As(),[{value:d,...u},,{setTouched:p,setValue:m}]=ee({type:"select",name:t,id:s,...a}),[f,h]=(0,i.useState)(bt),[_,y]=(0,i.useState)([]),w=Bs("selectPreference",[],"canCreateUsers",!1),g=Bs("selectPreference",[],"createUserUrl",""),b=(0,i.useMemo)((()=>{const e=(0,le.values)(n);return(0,le.find)(e,["id",d])}),[d,n]),v=(0,i.useCallback)((0,le.debounce)((async e=>{try{var t,s;h(vt),ar&&(null===(s=ar)||void 0===s||s.abort()),ar=new AbortController;const r=await _t()({path:`/wp/v2/users?${(0,Je.buildQueryString)({search:e,per_page:20})}`,signal:null===(t=ar)||void 0===t?void 0:t.signal});y((0,le.map)(r,"id")),c(r),h(Et)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;y([]),h(xt),console.error(e.message)}}),200),[y,c,h]),E=(0,i.useCallback)((e=>{p(!0,!1),m(e)}),[m]),x=(0,i.useCallback)((e=>v(e.target.value)),[v]);return(0,i.useEffect)((()=>{v("")}),[]),(0,e.createElement)(l.AutocompleteField,{...u,name:t,id:s,value:b?d:0,onChange:E,placeholder:(0,Ts.__)("Select a user...","wordpress-seo"),selectedLabel:null==b?void 0:b.name,onQueryChange:x,className:r,...a},(0,e.createElement)(e.Fragment,null,(f===bt||f===Et)&&(0,e.createElement)(e.Fragment,null,(0,le.isEmpty)(_)?(0,e.createElement)(or,null,(0,Ts.__)("No users found.","wordpress-seo")):(0,le.map)(_,(t=>{const s=null==n?void 0:n[t];return s?(0,e.createElement)(l.AutocompleteField.Option,{key:null==s?void 0:s.id,value:null==s?void 0:s.id},null==s?void 0:s.name):null})),w&&(0,e.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},(0,e.createElement)("a",{id:`link-create_user-${s}`,href:g,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},(0,e.createElement)(rr,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),(0,e.createElement)("span",null,(0,Ts.__)("Add new user...","wordpress-seo"))))),f===vt&&(0,e.createElement)(or,null,(0,e.createElement)(l.Spinner,{variant:"primary"}),(0,Ts.__)("Searching users...","wordpress-seo")),f===xt&&(0,e.createElement)(or,{className:"yst-text-red-600"},(0,Ts.__)("Failed to retrieve users.","wordpress-seo"))))};nr.propTypes={name:Is().string.isRequired,id:Is().string.isRequired,className:Is().string};const ir=nr,lr=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),cr=({children:t,className:s=""})=>(0,e.createElement)("div",{className:$s()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",s)},t);cr.propTypes={children:Is().node.isRequired,className:Is().string};const dr=({name:t,id:s,...r})=>{const a=Bs("selectPreference",[],"siteBasicsPolicies",{}),o=Bs("selectPagesWith",[a],(0,le.values)(a)),{fetchPages:n}=As(),[{value:c,...d},,{setTouched:u,setValue:p}]=ee({type:"select",name:t,id:s,...r}),[m,f]=(0,i.useState)(bt),[h,_]=(0,i.useState)([]),y=Bs("selectPreference",[],"canCreatePages",!1),w=Bs("selectPreference",[],"createPageUrl",""),g=(0,i.useMemo)((()=>{const e=(0,le.values)(o);return(0,le.find)(e,["id",c])}),[c,o]),b=(0,i.useCallback)((0,le.debounce)((async e=>{try{f(vt);const t=await n({search:e});_((0,le.map)(t.payload,"id")),f(Et)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;_([]),f(xt)}}),200),[_,f,n]),v=(0,i.useCallback)((e=>{u(!0,!1),p(e)}),[p,u]),E=(0,i.useCallback)((e=>b(e.target.value)),[b]),x=(0,i.useMemo)((()=>(0,le.isEmpty)(h)?(0,le.map)(o,"id"):h),[h,o]),k=(0,i.useMemo)((()=>m===Et&&(0,le.isEmpty)(h)),[h,m]);return(0,e.createElement)(l.AutocompleteField,{...d,name:t,id:s,value:g?c:0,onChange:v,placeholder:(0,Ts.__)("None","wordpress-seo"),selectedLabel:null==g?void 0:g.name,onQueryChange:E,nullable:!0 +(()=>{var e={1206:function(e){e.exports=function(e){var t={};function s(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=e,s.c=t,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(r,a,function(t){return e[t]}.bind(null,a));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=90)}({17:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r=s(18),a=function(){function e(){}return e.getFirstMatch=function(e,t){var s=t.match(e);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(e,t){var s=t.match(e);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(e,t,s){if(e.test(t))return s},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,s,r){void 0===r&&(r=!1);var a=e.getVersionPrecision(t),o=e.getVersionPrecision(s),n=Math.max(a,o),i=0,l=e.map([t,s],(function(t){var s=n-e.getVersionPrecision(t),r=t+new Array(s+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(i=n-Math.min(a,o)),n-=1;n>=i;){if(l[0][n]>l[1][n])return 1;if(l[0][n]===l[1][n]){if(n===i)return 0;n-=1}else if(l[0][n]1?a-1:0),n=1;n0){var n=Object.keys(s),l=i.default.find(n,(function(e){return t.isOS(e)}));if(l){var c=this.satisfies(s[l]);if(void 0!==c)return c}var d=i.default.find(n,(function(e){return t.isPlatform(e)}));if(d){var u=this.satisfies(s[d]);if(void 0!==u)return u}}if(o>0){var p=Object.keys(a),m=i.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(a[m])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var s=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),a=i.default.getBrowserTypeByAlias(r);return t&&a&&(r=a.toLowerCase()),r===s},t.compareVersion=function(e){var t=[0],s=e,r=!1,a=this.getBrowserVersion();if("string"==typeof a)return">"===e[0]||"<"===e[0]?(s=e.substr(1),"="===e[1]?(r=!0,s=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?s=e.substr(1):"~"===e[0]&&(r=!0,s=e.substr(1)),t.indexOf(i.default.compareVersions(a,s,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,n=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},s=a.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},s=a.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},s=a.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},s=a.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},s=a.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},s=a.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},s=a.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},s=a.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},s=a.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},s=a.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},s=a.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},s=a.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},s=a.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},s=a.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return s&&(t.version=s),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},s=a.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},s=a.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},s=a.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},s=a.default.getFirstMatch(o,e)||a.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},s=a.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},s=a.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},s=a.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},s=a.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},s=a.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},s=a.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},s=a.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},s=a.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},s=a.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t={name:"Android Browser"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},s=a.default.getFirstMatch(o,e);return s&&(t.version=s),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:a.default.getFirstMatch(t,e),version:a.default.getSecondMatch(t,e)}}}];t.default=n,e.exports=t.default},93:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:[/Roku\/DVP/],describe:function(e){var t=a.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=a.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=a.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),s=a.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:s}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},s=a.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return s&&(t.version=s),t}},{test:[/macintosh/i],describe:function(e){var t=a.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),s=a.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return s&&(r.versionName=s),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=a.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),s=e.test(/android/i);return t&&s},describe:function(e){var t=a.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),s=a.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return s&&(r.versionName=s),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=a.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),s={name:o.OS_MAP.WebOS};return t&&t.length&&(s.version=t),s}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=a.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||a.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||a.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=a.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=a.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=a.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=n,e.exports=t.default},94:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=a.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",s={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(s.model=t),s}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),s=e.test(/like (ipod|iphone)/i);return t&&!s},describe:function(e){var t=a.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=n,e.exports=t.default},95:function(e,t,s){"use strict";t.__esModule=!0,t.default=void 0;var r,a=(r=s(17))&&r.__esModule?r:{default:r},o=s(18),n=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=a.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},s=a.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},s=a.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:function(e){var t=e.test(/gecko/i),s=e.test(/like gecko/i);return t&&!s},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},s=a.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},s=a.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return s&&(t.version=s),t}}];t.default=n,e.exports=t.default}})},4184:(e,t)=>{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";var r=s(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function l(e){return r.isMemo(e)?n:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,s,r){if("string"!=typeof s){if(f){var a=m(s);a&&a!==f&&e(t,a,r)}var n=d(s);u&&(n=n.concat(u(s)));for(var i=l(t),h=l(s),_=0;_{"use strict";var t=Array.isArray,s=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function o(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){var i,l,c,d=t(e),u=t(n);if(d&&u){if((l=e.length)!=n.length)return!1;for(i=l;0!=i--;)if(!o(e[i],n[i]))return!1;return!0}if(d!=u)return!1;var p=e instanceof Date,m=n instanceof Date;if(p!=m)return!1;if(p&&m)return e.getTime()==n.getTime();var f=e instanceof RegExp,h=n instanceof RegExp;if(f!=h)return!1;if(f&&h)return e.toString()==n.toString();var _=s(e);if((l=_.length)!==s(n).length)return!1;for(i=l;0!=i--;)if(!r.call(n,_[i]))return!1;if(a&&e instanceof Element&&n instanceof Element)return e===n;for(i=l;0!=i--;)if(!("_owner"===(c=_[i])&&e.$$typeof||o(e[c],n[c])))return!1;return!0}return e!=e&&n!=n}e.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},5760:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var s=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,a=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,n=/^\s*(['"]?)(.*?)(\1)\s*$/,i=new t(512),l=new t(512),c=new t(512);function d(e){return i.get(e)||i.set(e,u(e).map((function(e){return e.replace(n,"$2")})))}function u(e){return e.match(s)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function m(e){return!p(e)&&(function(e){return e.match(a)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:u,normalizePath:d,setter:function(e){var t=d(e);return l.get(e)||l.set(e,(function(e,s){for(var r=0,a=t.length,o=e;r{"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;re.height),d(m,this.animationStateClasses.animatingToHeightZero,0===v.height),d(m,this.animationStateClasses.animatingToHeightAuto,"auto"===v.height),d(m,this.animationStateClasses.animatingToHeightSpecific,v.height>0),m)),k=this.getStaticStateClasses(v.height);this.setState({animationStateClasses:x,height:b,overflow:"hidden",shouldUseTransitions:!E}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),E?(v.shouldUseTransitions=!0,f(this.animationFrameIDs),this.animationFrameIDs=(s=function(){a.setState(v),y(p,{newHeight:v.height})},(r=[])[0]=requestAnimationFrame((function(){r[1]=requestAnimationFrame((function(){s()}))})),r),this.animationClassesTimeoutID=setTimeout((function(){a.setState({animationStateClasses:k,shouldUseTransitions:!1}),a.hideContent(v.height),y(u,{newHeight:v.height})}),g)):(y(p,{newHeight:b}),this.timeoutID=setTimeout((function(){v.animationStateClasses=k,v.shouldUseTransitions=!1,a.setState(v),"auto"!==c&&a.hideContent(b),y(u,{newHeight:b})}),g))}}},{key:"componentWillUnmount",value:function(){f(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((d(t={},this.animationStateClasses.static,!0),d(t,this.animationStateClasses.staticHeightZero,0===e),d(t,this.animationStateClasses.staticHeightSpecific,e>0),d(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,s=this.props,r=s.animateOpacity,o=s.applyInlineTransitions,i=s.children,c=s.className,u=s.contentClassName,f=s.delay,h=s.duration,_=s.easing,y=s.id,w=s.style,g=this.state,b=g.height,v=g.overflow,E=g.animationStateClasses,x=g.shouldUseTransitions,k=a({},w,{height:b,overflow:v||w.overflow});x&&o&&(k.transition="height "+h+"ms "+_+" "+f+"ms",w.transition&&(k.transition=w.transition+", "+k.transition),k.WebkitTransition=k.transition);var S={};r&&(S.transition="opacity "+h+"ms "+_+" "+f+"ms",S.WebkitTransition=S.transition,0===b&&(S.opacity=0));var L=(0,l.default)((d(e={},E,!0),d(e,c,c),e)),T=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===b;return n.default.createElement("div",a({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":T,className:L,id:y,style:k}),n.default.createElement("div",{className:u,style:S,ref:function(e){return t.contentElement=e}},i))}}]),t}(n.default.Component);w.propTypes={"aria-hidden":i.default.bool,animateOpacity:i.default.bool,animationStateClasses:i.default.object,applyInlineTransitions:i.default.bool,children:i.default.any.isRequired,className:i.default.string,contentClassName:i.default.string,delay:i.default.number,duration:i.default.number,easing:i.default.string,height:function(e,t,s){var a=e[t];return"number"==typeof a&&a>=0||_(a)||"auto"===a?null:new TypeError('value "'+a+'" of type "'+(void 0===a?"undefined":r(a))+'" is invalid type for '+t+" in "+s+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:i.default.string,onAnimationEnd:i.default.func,onAnimationStart:i.default.func,style:i.default.object},w.defaultProps={animateOpacity:!1,animationStateClasses:u,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.Z=w},591:e=>{for(var t=[],s=0;s<256;++s)t[s]=(s+256).toString(16).substr(1);e.exports=function(e,s){var r=s||0,a=t;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}},9176:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var s=new Uint8Array(16);e.exports=function(){return t(s),s}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},3409:(e,t,s)=>{var r=s(9176),a=s(591);e.exports=function(e,t,s){var o=t&&s||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var n=(e=e||{}).random||(e.rng||r)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var i=0;i<16;++i)t[o+i]=n[i];return t||a(n)}},9921:(e,t)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,r=s?Symbol.for("react.element"):60103,a=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,n=s?Symbol.for("react.strict_mode"):60108,i=s?Symbol.for("react.profiler"):60114,l=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.async_mode"):60111,u=s?Symbol.for("react.concurrent_mode"):60111,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,f=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,_=s?Symbol.for("react.lazy"):60116,y=s?Symbol.for("react.block"):60121,w=s?Symbol.for("react.fundamental"):60117,g=s?Symbol.for("react.responder"):60118,b=s?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case o:case i:case n:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case _:case h:case l:return e;default:return t}}case a:return t}}}function E(e){return v(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=_,t.Memo=h,t.Portal=a,t.Profiler=i,t.StrictMode=n,t.Suspense=m,t.isAsyncMode=function(e){return E(e)||v(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===i},t.isStrictMode=function(e){return v(e)===n},t.isSuspense=function(e){return v(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===i||e===n||e===m||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===w||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v},9864:(e,t,s)=>{"use strict";e.exports=s(9921)},5251:(e,t,s)=>{"use strict";var r=s(9196);Symbol.for("react.element"),Symbol.for("react.fragment"),Object.prototype.hasOwnProperty,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},5893:(e,t,s)=>{"use strict";s(5251)},4633:e=>{function t(e,t){var s=e.length,r=new Array(s),a={},o=s,n=function(e){for(var t=new Map,s=0,r=e.length;s{var s;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";e.exports=window.React},5890:e=>{"use strict";e.exports=window.yoast.propTypes}},t={};function s(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=s(9196),t=s.n(e);const r=window.wp.components,a=window.wp.data,o=window.wp.domReady;var n=s.n(o);const i=window.wp.element,l=window.yoast.uiLibrary;var c=s(667),d=s.n(c),u=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===p}(e)}(e)},p="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function m(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function f(e,t,s){return e.concat(t).map((function(e){return m(e,s)}))}function h(e,t,s){(s=s||{}).arrayMerge=s.arrayMerge||f,s.isMergeableObject=s.isMergeableObject||u;var r=Array.isArray(t);return r===Array.isArray(e)?r?s.arrayMerge(e,t,s):function(e,t,s){var r={};return s.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=m(e[t],s)})),Object.keys(t).forEach((function(a){s.isMergeableObject(t[a])&&e[a]?r[a]=h(e[a],t[a],s):r[a]=m(t[a],s)})),r}(e,t,s):m(t,s)}h.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,s){return h(e,s,t)}),{})};const _=h,y=window.lodash.isPlainObject;var w=s.n(y);const g=window.lodash.clone;var b=s.n(g);const v=window.lodash.toPath;var E=s.n(v);const x=function(e,t){};var k=s(6214),S=s.n(k);const L=window.lodash.cloneDeep;var T=s.n(L);function F(){return F=Object.assign||function(e){for(var t=1;t=0||(a[s]=e[s]);return a}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var I=function(e){return Array.isArray(e)&&0===e.length},R=function(e){return"function"==typeof e},O=function(e){return null!==e&&"object"==typeof e},N=function(e){return String(Math.floor(Number(e)))===e},M=function(e){return"[object String]"===Object.prototype.toString.call(e)},A=function(t){return 0===e.Children.count(t)},C=function(e){return O(e)&&R(e.then)};function D(e,t,s,r){void 0===r&&(r=0);for(var a=E()(t);e&&r=0?[]:{}}}return(0===o?e:a)[n[o]]===s?e:(void 0===s?delete a[n[o]]:a[n[o]]=s,0===o&&void 0===s&&delete r[n[o]],r)}function V(e,t,s,r){void 0===s&&(s=new WeakMap),void 0===r&&(r={});for(var a=0,o=Object.keys(e);a=s.length)break;o=s[a++]}else{if((a=s.next()).done)break;o=a.value}var n=o;D(t,n.path)||(t=B(t,n.path,n.message))}}return t}(s)):t(s)}))}))}),[f.validationSchema]),T=(0,e.useCallback)((function(e,t){return new Promise((function(s){return s(v.current[e].validate(t))}))}),[]),P=(0,e.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return R(v.current[e].validate)})),s=t.length>0?t.map((function(t){return T(t,D(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(s).then((function(e){return e.reduce((function(e,s,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===s||s&&(e=B(e,t[r],s)),e}),{})}))}),[T]),I=(0,e.useCallback)((function(e){return Promise.all([P(e),f.validationSchema?L(e):{},f.validate?S(e):{}]).then((function(e){var t=e[0],s=e[1],r=e[2];return _.all([t,s,r],{arrayMerge:Q})}))}),[f.validate,f.validationSchema,P,S,L]),N=J((function(e){return void 0===e&&(e=x.values),k({type:"SET_ISVALIDATING",payload:!0}),I(e).then((function(e){return b.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:e})),e}))}));(0,e.useEffect)((function(){i&&!0===b.current&&d()(h.current,f.initialValues)&&N(h.current)}),[i,N]);var A=(0,e.useCallback)((function(e){var t=e&&e.values?e.values:h.current,s=e&&e.errors?e.errors:y.current?y.current:f.initialErrors||{},r=e&&e.touched?e.touched:w.current?w.current:f.initialTouched||{},a=e&&e.status?e.status:g.current?g.current:f.initialStatus;h.current=t,y.current=s,w.current=r,g.current=a;var o=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:s,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var n=f.onReset(x.values,de);C(n)?n.then(o):o()}else o()}),[f.initialErrors,f.initialStatus,f.initialTouched]);(0,e.useEffect)((function(){!0!==b.current||d()(h.current,f.initialValues)||(u&&(h.current=f.initialValues,A()),i&&N(h.current))}),[u,f.initialValues,A,i,N]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(y.current,f.initialErrors)&&(y.current=f.initialErrors||H,k({type:"SET_ERRORS",payload:f.initialErrors||H}))}),[u,f.initialErrors]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(w.current,f.initialTouched)&&(w.current=f.initialTouched||Y,k({type:"SET_TOUCHED",payload:f.initialTouched||Y}))}),[u,f.initialTouched]),(0,e.useEffect)((function(){u&&!0===b.current&&!d()(g.current,f.initialStatus)&&(g.current=f.initialStatus,k({type:"SET_STATUS",payload:f.initialStatus}))}),[u,f.initialStatus,f.initialTouched]);var V=J((function(e){if(v.current[e]&&R(v.current[e].validate)){var t=D(x.values,e),s=v.current[e].validate(t);return C(s)?(k({type:"SET_ISVALIDATING",payload:!0}),s.then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:e,value:s}}),Promise.resolve(s))}return f.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),L(x.values,e).then((function(e){return e})).then((function(t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),j=(0,e.useCallback)((function(e,t){var s=t.validate;v.current[e]={validate:s}}),[]),U=(0,e.useCallback)((function(e){delete v.current[e]}),[]),z=J((function(e,t){return k({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?N(x.values):Promise.resolve()})),q=(0,e.useCallback)((function(e){k({type:"SET_ERRORS",payload:e})}),[]),G=J((function(e,t){var s=R(e)?e(x.values):e;return k({type:"SET_VALUES",payload:s}),(void 0===t?r:t)?N(s):Promise.resolve()})),K=(0,e.useCallback)((function(e,t){k({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),X=J((function(e,t,s){return k({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===s?r:s)?N(B(x.values,e,t)):Promise.resolve()})),ee=(0,e.useCallback)((function(e,t){var s,r=t,a=e;if(!M(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,n=o.type,i=o.name,l=o.id,c=o.value,d=o.checked,u=(o.outerHTML,o.options),p=o.multiple;r=t||i||l,a=/number|range/.test(n)?(s=parseFloat(c),isNaN(s)?"":s):/checkbox/.test(n)?function(e,t,s){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,a=(o=e.indexOf(s))>=0;else if(!s||"true"==s||"false"==s)return Boolean(t);return t&&s&&!a?r.concat(s):a?r.slice(0,o).concat(r.slice(o+1)):r}(D(x.values,r),d,c):u&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(u):c}r&&X(r,a)}),[X,x.values]),te=J((function(e){if(M(e))return function(t){return ee(t,e)};ee(e)})),se=J((function(e,t,s){return void 0===t&&(t=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===s?o:s)?N(x.values):Promise.resolve()})),re=(0,e.useCallback)((function(e,t){e.persist&&e.persist();var s=e.target,r=s.name,a=s.id,o=(s.outerHTML,t||r||a);se(o,!0)}),[se]),ae=J((function(e){if(M(e))return function(t){return re(t,e)};re(e)})),oe=(0,e.useCallback)((function(e){R(e)?k({type:"SET_FORMIK_STATE",payload:e}):k({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),ne=(0,e.useCallback)((function(e){k({type:"SET_STATUS",payload:e})}),[]),ie=(0,e.useCallback)((function(e){k({type:"SET_ISSUBMITTING",payload:e})}),[]),le=J((function(){return k({type:"SUBMIT_ATTEMPT"}),N().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var s;try{if(void 0===(s=ue()))return}catch(e){throw e}return Promise.resolve(s).then((function(e){return b.current&&k({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(b.current)throw k({type:"SUBMIT_FAILURE"}),e}))}if(b.current&&(k({type:"SUBMIT_FAILURE"}),t))throw e}))})),ce=J((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),le().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),de={resetForm:A,validateForm:N,validateField:V,setErrors:q,setFieldError:K,setFieldTouched:se,setFieldValue:X,setStatus:ne,setSubmitting:ie,setTouched:z,setValues:G,setFormikState:oe,submitForm:le},ue=J((function(){return p(x.values,de)})),pe=J((function(e){e&&e.preventDefault&&R(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&R(e.stopPropagation)&&e.stopPropagation(),A()})),me=(0,e.useCallback)((function(e){return{value:D(x.values,e),error:D(x.errors,e),touched:!!D(x.touched,e),initialValue:D(h.current,e),initialTouched:!!D(w.current,e),initialError:D(y.current,e)}}),[x.errors,x.touched,x.values]),fe=(0,e.useCallback)((function(e){return{setValue:function(t,s){return X(e,t,s)},setTouched:function(t,s){return se(e,t,s)},setError:function(t){return K(e,t)}}}),[X,se,K]),he=(0,e.useCallback)((function(e){var t=O(e),s=t?e.name:e,r=D(x.values,s),a={name:s,value:r,onChange:te,onBlur:ae};if(t){var o=e.type,n=e.value,i=e.as,l=e.multiple;"checkbox"===o?void 0===n?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(n)),a.value=n):"radio"===o?(a.checked=r===n,a.value=n):"select"===i&&l&&(a.value=a.value||[],a.multiple=!0)}return a}),[ae,te,x.values]),_e=(0,e.useMemo)((function(){return!d()(h.current,x.values)}),[h.current,x.values]),ye=(0,e.useMemo)((function(){return void 0!==l?_e?x.errors&&0===Object.keys(x.errors).length:!1!==l&&R(l)?l(f):l:x.errors&&0===Object.keys(x.errors).length}),[l,_e,x.errors,f]);return F({},x,{initialValues:h.current,initialErrors:y.current,initialTouched:w.current,initialStatus:g.current,handleBlur:ae,handleChange:te,handleReset:pe,handleSubmit:ce,resetForm:A,setErrors:q,setFormikState:oe,setFieldTouched:se,setFieldValue:X,setFieldError:K,setStatus:ne,setSubmitting:ie,setTouched:z,setValues:G,submitForm:le,validateForm:N,validateField:V,isValid:ye,dirty:_e,unregisterField:U,registerField:j,getFieldProps:he,getFieldMeta:me,getFieldHelpers:fe,validateOnBlur:o,validateOnChange:r,validateOnMount:i})}function K(t){var s=G(t),r=t.component,a=t.children,o=t.render,n=t.innerRef;return(0,e.useImperativeHandle)(n,(function(){return s})),(0,e.createElement)(U,{value:s},r?(0,e.createElement)(r,s):o?o(s):a?R(a)?a(s):A(a)?null:e.Children.only(a):null)}function Z(e){var t=Array.isArray(e)?[]:{};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var r=String(s);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||w()(e)?Z(e):""!==e?e:void 0})):w()(e[r])?t[r]=Z(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function Q(e,t,s){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var o=!1!==s.clone&&s.isMergeableObject(t);r[a]=o?_(Array.isArray(t)?[]:{},t,s):t}else s.isMergeableObject(t)?r[a]=_(e[a],t,s):-1===e.indexOf(t)&&r.push(t)})),r}var X="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function J(t){var s=(0,e.useRef)(t);return X((function(){s.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;re?t:e}),0);return Array.from(F({},e,{length:t+1}))}return[]},ne=function(t){function s(e){var s;return(s=t.call(this,e)||this).updateArrayField=function(e,t,r){var a=s.props,o=a.name;(0,a.formik.setFormikState)((function(s){var a="function"==typeof r?r:e,n="function"==typeof t?t:e,i=B(s.values,o,e(D(s.values,o))),l=r?a(D(s.errors,o)):void 0,c=t?n(D(s.touched,o)):void 0;return I(l)&&(l=void 0),I(c)&&(c=void 0),F({},s,{values:i,errors:r?B(s.errors,o,l):s.errors,touched:t?B(s.touched,o,c):s.touched})}))},s.push=function(e){return s.updateArrayField((function(t){return[].concat(oe(t),[T()(e)])}),!1,!1)},s.handlePush=function(e){return function(){return s.push(e)}},s.swap=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r[t]=r[s],r[s]=a,r}(s,e,t)}),!0,!0)},s.handleSwap=function(e,t){return function(){return s.swap(e,t)}},s.move=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e),a=r[t];return r.splice(t,1),r.splice(s,0,a),r}(s,e,t)}),!0,!0)},s.handleMove=function(e,t){return function(){return s.move(e,t)}},s.insert=function(e,t){return s.updateArrayField((function(s){return ae(s,e,t)}),(function(t){return ae(t,e,null)}),(function(t){return ae(t,e,null)}))},s.handleInsert=function(e,t){return function(){return s.insert(e,t)}},s.replace=function(e,t){return s.updateArrayField((function(s){return function(e,t,s){var r=oe(e);return r[t]=s,r}(s,e,t)}),!1,!1)},s.handleReplace=function(e,t){return function(){return s.replace(e,t)}},s.unshift=function(e){var t=-1;return s.updateArrayField((function(s){var r=s?[e].concat(s):[e];return t<0&&(t=r.length),r}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s}),(function(e){var s=e?[null].concat(e):[null];return t<0&&(t=s.length),s})),t},s.handleUnshift=function(e){return function(){return s.unshift(e)}},s.handleRemove=function(e){return function(){return s.remove(e)}},s.handlePop=function(){return function(){return s.pop()}},s.remove=s.remove.bind(P(s)),s.pop=s.pop.bind(P(s)),s}var r,a;a=t,(r=s).prototype=Object.create(a.prototype),r.prototype.constructor=r,r.__proto__=a;var o=s.prototype;return o.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!d()(D(e.formik.values,e.name),D(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},o.remove=function(e){var t;return this.updateArrayField((function(s){var r=s?oe(s):[];return t||(t=r[e]),R(r.splice)&&r.splice(e,1),r}),!0,!0),t},o.pop=function(){var e;return this.updateArrayField((function(t){var s=t;return e||(e=s&&s.pop&&s.pop()),s}),!0,!0),e},o.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},s=this.props,r=s.component,a=s.render,o=s.children,n=s.name,i=F({},t,{form:$(s.formik,["validate","validationSchema"]),name:n});return r?(0,e.createElement)(r,i):a?a(i):o?"function"==typeof o?o(i):A(o)?null:e.Children.only(o):null},s}(e.Component);ne.defaultProps={validateOnChange:!0};var ie=re(ne);const le=window.lodash;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;te.score!==t.score?t.score-e.score:function(e,t){let s=e.length===t.length&&e.slice(0,-1).every(((e,s)=>e===t[s]));return s?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e{let o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(r)||ge(!1),o.relativePath=o.relativePath.slice(r.length));let n=Ne([r,o.relativePath]),i=s.concat(o);e.children&&e.children.length>0&&(!0===e.index&&ge(!1),ve(e.children,t,i,n)),(null!=e.path||e.index)&&t.push({path:n,score:$e(n,e.index),routesMeta:i})})),t}const Ee=/^:\w+$/,xe=3,ke=2,Se=1,Le=10,Te=-2,Fe=e=>"*"===e;function $e(e,t){let s=e.split("/"),r=s.length;return s.some(Fe)&&(r+=Te),t&&(r+=ke),s.filter((e=>!Fe(e))).reduce(((e,t)=>e+(Ee.test(t)?xe:""===t?Se:Le)),r)}function Pe(e,t){let{routesMeta:s}=e,r={},a="/",o=[];for(let e=0;e(r.push(t),"([^\\/]+)")));return e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=s?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),a=t.match(s);if(!a)return null;let o=a[0],n=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce(((e,t,s)=>{if("*"===t){let e=i[s]||"";n=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(i[s]||""),e}),{}),pathname:o,pathnameBase:n,pattern:e}}function Re(e,t,s){let r,a="string"==typeof e?he(e):e,o=""===e||""===a.pathname?"/":a.pathname;if(null==o)r=s;else{let e=t.length-1;if(o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}r=e>=0?t[e]:"/"}let n=function(e,t){void 0===t&&(t="/");let{pathname:s,search:r="",hash:a=""}="string"==typeof e?he(e):e,o=s?s.startsWith("/")?s:function(e,t){let s=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?s.length>1&&s.pop():"."!==e&&s.push(e)})),s.length>1?s.join("/"):"/"}(s,t):t;return{pathname:o,search:Ae(r),hash:Ce(a)}}(a,r);return o&&"/"!==o&&o.endsWith("/")&&!n.pathname.endsWith("/")&&(n.pathname+="/"),n}function Oe(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let s=e.charAt(t.length);return s&&"/"!==s?null:e.slice(t.length)||"/"}const Ne=e=>e.join("/").replace(/\/\/+/g,"/"),Me=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ae=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ce=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function De(){return null!=(0,e.useContext)(ye)}function Be(){return De()||ge(!1),(0,e.useContext)(ye).location}function Ve(){De()||ge(!1);let{basename:t,navigator:s}=(0,e.useContext)(_e),{matches:r}=(0,e.useContext)(we),{pathname:a}=Be(),o=JSON.stringify(r.map((e=>e.pathnameBase))),n=(0,e.useRef)(!1);return(0,e.useEffect)((()=>{n.current=!0})),(0,e.useCallback)((function(e,r){if(void 0===r&&(r={}),!n.current)return;if("number"==typeof e)return void s.go(e);let i=Re(e,JSON.parse(o),a);"/"!==t&&(i.pathname=Ne([t,i.pathname])),(r.replace?s.replace:s.push)(i,r.state)}),[t,s,o,a])}function je(t){let{matches:s}=(0,e.useContext)(we),{pathname:r}=Be(),a=JSON.stringify(s.map((e=>e.pathnameBase)));return(0,e.useMemo)((()=>Re(t,JSON.parse(a),r)),[t,a,r])}function Ue(t){let{to:s,replace:r,state:a}=t;De()||ge(!1);let o=Ve();return(0,e.useEffect)((()=>{o(s,{replace:r,state:a})})),null}function ze(e){ge(!1)}function qe(t){let{basename:s="/",children:r=null,location:a,navigationType:o=de.Pop,navigator:n,static:i=!1}=t;De()&&ge(!1);let l=Me(s),c=(0,e.useMemo)((()=>({basename:l,navigator:n,static:i})),[l,n,i]);"string"==typeof a&&(a=he(a));let{pathname:d="/",search:u="",hash:p="",state:m=null,key:f="default"}=a,h=(0,e.useMemo)((()=>{let e=Oe(d,l);return null==e?null:{pathname:e,search:u,hash:p,state:m,key:f}}),[l,d,u,p,m,f]);return null==h?null:(0,e.createElement)(_e.Provider,{value:c},(0,e.createElement)(ye.Provider,{children:r,value:{location:h,navigationType:o}}))}function We(t){let{children:s,location:r}=t;return function(t,s){De()||ge(!1);let{matches:r}=(0,e.useContext)(we),a=r[r.length-1],o=a?a.params:{},n=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let i,l=Be();if(s){var c;let e="string"==typeof s?he(s):s;"/"===n||(null==(c=e.pathname)?void 0:c.startsWith(n))||ge(!1),i=e}else i=l;let d=i.pathname||"/",u=be(t,{pathname:"/"===n?d:d.slice(n.length)||"/"});return function(t,s){return void 0===s&&(s=[]),null==t?null:t.reduceRight(((r,a,o)=>(0,e.createElement)(we.Provider,{children:void 0!==a.route.element?a.route.element:r,value:{outlet:r,matches:s.concat(t.slice(0,o+1))}})),null)}(u&&u.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ne([n,e.pathname]),pathnameBase:"/"===e.pathnameBase?n:Ne([n,e.pathnameBase])}))),r)}(He(s),r)}function He(t){let s=[];return e.Children.forEach(t,(t=>{if(!(0,e.isValidElement)(t))return;if(t.type===e.Fragment)return void s.push.apply(s,He(t.props.children));t.type!==ze&&ge(!1);let r={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(r.children=He(t.props.children)),s.push(r)})),s}function Ye(){return Ye=Object.assign||function(e){for(var t=1;tn.listen(l)),[n]),(0,e.createElement)(qe,{basename:s,children:r,location:i.location,navigationType:i.action,navigator:n})}const Ze=(0,e.forwardRef)((function(t,s){let{onClick:r,reloadDocument:a,replace:o=!1,state:n,target:i,to:l}=t,c=function(e,t){if(null==e)return{};var s,r,a={},o=Object.keys(e);for(r=0;r=0||(a[s]=e[s]);return a}(t,Ge),d=function(t){De()||ge(!1);let{basename:s,navigator:r}=(0,e.useContext)(_e),{hash:a,pathname:o,search:n}=je(t),i=o;if("/"!==s){let e=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?he(e).pathname:e.pathname}(t),r=null!=e&&e.endsWith("/");i="/"===o?s+(r?"/":""):Ne([s,o])}return r.createHref({pathname:i,search:n,hash:a})}(l),u=function(t,s){let{target:r,replace:a,state:o}=void 0===s?{}:s,n=Ve(),i=Be(),l=je(t);return(0,e.useCallback)((e=>{if(!(0!==e.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))){e.preventDefault();let s=!!a||fe(i)===fe(l);n(t,{replace:s,state:o})}}),[i,n,l,a,o,r,t])}(l,{replace:o,state:n,target:i});return(0,e.createElement)("a",Ye({},c,{href:d,onClick:function(e){r&&r(e),e.defaultPrevented||a||u(e)},ref:s,target:i}))})),Qe=window.yoast.styledComponents,Xe=window.yoast.reduxJsToolkit,Je=window.wp.url,et="linkParams",tt=(0,Xe.createSlice)({name:et,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),st=tt.getInitialState,rt={selectLinkParam:(e,t,s={})=>(0,le.get)(e,`${et}.${t}`,s),selectLinkParams:e=>(0,le.get)(e,et,{})};rt.selectLink=(0,Xe.createSelector)([rt.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,Je.addQueryArgs)(t,{...e,...s})));const at=tt.actions,ot=tt.reducer,nt="notifications",it=(0,Xe.createSlice)({name:nt,initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:a})=>({payload:{id:e||(0,Xe.nanoid)(),variant:t,size:s,title:r||"",description:a}})},removeNotification:(e,{payload:t})=>(0,le.omit)(e,t)}}),lt=it.getInitialState,ct={selectNotifications:e=>(0,le.get)(e,nt,{}),selectNotification:(e,t)=>(0,le.get)(e,[nt,t],null)},dt=it.actions,ut=it.reducer,pt="pluginUrl",mt=(0,Xe.createSlice)({name:pt,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),ft=(mt.getInitialState,{selectPluginUrl:e=>(0,le.get)(e,pt,"")});ft.selectImageLink=(0,Xe.createSelector)([ft.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,le.trimEnd)(e,"/"),(0,le.trim)(t,"/"),(0,le.trimStart)(s,"/")].join("/"))),mt.actions,mt.reducer;const ht=window.wp.apiFetch;var _t=s.n(ht);const yt="request",wt="success",gt="error",bt="idle",vt="loading",Et="success",xt="error",kt="showPlay",St="askPermission",Lt="isPlaying",Tt="wistiaEmbedPermission",Ft=(0,Xe.createSlice)({name:Tt,initialState:{value:!1,status:bt,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Tt}/${yt}`,(e=>{e.status=vt})),e.addCase(`${Tt}/${wt}`,((e,{payload:t})=>{e.status=Et,e.value=Boolean(t&&t.value)})),e.addCase(`${Tt}/${gt}`,((e,{payload:t})=>{e.status=xt,e.value=Boolean(t&&t.value),e.error={code:(0,le.get)(t,"error.code",500),message:(0,le.get)(t,"error.message","Unknown")}}))}});function $t(...e){return e.filter(Boolean).join(" ")}function Pt(e,t,...s){if(e in t){let r=t[e];return"function"==typeof r?r(...s):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pt),r}Ft.getInitialState,Ft.actions,Ft.reducer;var It,Rt,Ot=((Rt=Ot||{})[Rt.None=0]="None",Rt[Rt.RenderStrategy=1]="RenderStrategy",Rt[Rt.Static=2]="Static",Rt),Nt=((It=Nt||{})[It.Unmount=0]="Unmount",It[It.Hidden=1]="Hidden",It);function Mt({ourProps:e,theirProps:t,slot:s,defaultTag:r,features:a,visible:o=!0,name:n}){let i=Ct(t,e);if(o)return At(i,s,r,n);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=i;if(e)return At(t,s,r,n)}if(1&l){let{unmount:e=!0,...t}=i;return Pt(e?0:1,{0:()=>null,1:()=>At({...t,hidden:!0,style:{display:"none"}},s,r,n)})}return At(i,s,r,n)}function At(t,s={},r,a){var o;let{as:n=r,children:i,refName:l="ref",...c}=Vt(t,["unmount","static"]),d=void 0!==t.ref?{[l]:t.ref}:{},u="function"==typeof i?i(s):i;c.className&&"function"==typeof c.className&&(c.className=c.className(s));let p={};if(s){let e=!1,t=[];for(let[r,a]of Object.entries(s))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(p["data-headlessui-state"]=t.join(" "))}if(n===e.Fragment&&Object.keys(Bt(c)).length>0){if(!(0,e.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let t=$t(null==(o=u.props)?void 0:o.className,c.className),s=t?{className:t}:{};return(0,e.cloneElement)(u,Object.assign({},Ct(u.props,Bt(Vt(c,["ref"]))),p,d,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let s of e)null!=s&&("function"==typeof s?s(t):s.current=t)}}}(u.ref,d.ref),s))}return(0,e.createElement)(n,Object.assign({},Vt(c,["ref"]),n!==e.Fragment&&d,n!==e.Fragment&&p),u)}function Ct(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},s={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=s[e]||(s[e]=[]),s[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(s).map((e=>[e,void 0]))));for(let e in s)Object.assign(t,{[e](t,...r){let a=s[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function Dt(t){var s;return Object.assign((0,e.forwardRef)(t),{displayName:null!=(s=t.displayName)?s:t.name})}function Bt(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Vt(e,t=[]){let s=Object.assign({},e);for(let e of t)e in s&&delete s[e];return s}let jt=(0,e.createContext)(null);jt.displayName="OpenClosedContext";var Ut=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ut||{});function zt(){return(0,e.useContext)(jt)}function qt({value:t,children:s}){return e.createElement(jt.Provider,{value:t},s)}var Wt=Object.defineProperty,Ht=(e,t,s)=>(((e,t,s)=>{t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s})(e,"symbol"!=typeof t?t+"":t,s),s);let Yt=new class{constructor(){Ht(this,"current",this.detect()),Ht(this,"handoffState","pending"),Ht(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Gt=(t,s)=>{Yt.isServer?(0,e.useEffect)(t,s):(0,e.useLayoutEffect)(t,s)};function Kt(){let t=(0,e.useRef)(!1);return Gt((()=>(t.current=!0,()=>{t.current=!1})),[]),t}function Zt(t){let s=(0,e.useRef)(t);return Gt((()=>{s.current=t}),[t]),s}function Qt(){let[t,s]=(0,e.useState)(Yt.isHandoffComplete);return t&&!1===Yt.isHandoffComplete&&s(!1),(0,e.useEffect)((()=>{!0!==t&&s(!0)}),[t]),(0,e.useEffect)((()=>Yt.handoff()),[]),t}let Xt=function(t){let s=Zt(t);return e.useCallback(((...e)=>s.current(...e)),[s])},Jt=Symbol();function es(...t){let s=(0,e.useRef)(t);(0,e.useEffect)((()=>{s.current=t}),[t]);let r=Xt((e=>{for(let t of s.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return t.every((e=>null==e||(null==e?void 0:e[Jt])))?void 0:r}function ts(){let e=[],t=[],s={enqueue(e){t.push(e)},addEventListener:(e,t,r,a)=>(e.addEventListener(t,r,a),s.add((()=>e.removeEventListener(t,r,a)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return s.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>s.requestAnimationFrame((()=>s.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return s.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),s.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let s=e.indexOf(t);if(s>=0){let[t]=e.splice(s,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return s}function ss(e,...t){e&&t.length>0&&e.classList.add(...t)}function rs(e,...t){e&&t.length>0&&e.classList.remove(...t)}function as(){let[t]=(0,e.useState)(ts);return(0,e.useEffect)((()=>()=>t.dispose()),[t]),t}function os({container:e,direction:t,classes:s,onStart:r,onStop:a}){let o=Kt(),n=as(),i=Zt(t);Gt((()=>{let t=ts();n.add(t.dispose);let l=e.current;if(l&&"idle"!==i.current&&o.current)return t.dispose(),r.current(i.current),t.add(function(e,t,s,r){let a=s?"enter":"leave",o=ts(),n=void 0!==r?function(e){let t={called:!1};return(...s)=>{if(!t.called)return t.called=!0,e(...s)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let i=Pt(a,{enter:()=>t.enter,leave:()=>t.leave}),l=Pt(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pt(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return rs(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),ss(e,...i,...c),o.nextFrame((()=>{rs(e,...c),ss(e,...l),function(e,t){let s=ts();if(!e)return s.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,n]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+n!==0){let r=s.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();s.add((()=>t())),s.dispose}(e,(()=>(rs(e,...i),ss(e,...t.entered),n())))})),o.dispose}(l,s.current,"enter"===i.current,(()=>{t.dispose(),a.current(i.current)}))),t.dispose}),[t])}function ns(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let is=(0,e.createContext)(null);is.displayName="TransitionContext";var ls=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ls||{});let cs=(0,e.createContext)(null);function ds(e){return"children"in e?ds(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function us(t,s){let r=Zt(t),a=(0,e.useRef)([]),o=Kt(),n=as(),i=Xt(((e,t=Nt.Hidden)=>{let s=a.current.findIndex((({el:t})=>t===e));-1!==s&&(Pt(t,{[Nt.Unmount](){a.current.splice(s,1)},[Nt.Hidden](){a.current[s].state="hidden"}}),n.microTask((()=>{var e;!ds(a)&&o.current&&(null==(e=r.current)||e.call(r))})))})),l=Xt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>i(e,Nt.Unmount)})),c=(0,e.useRef)([]),d=(0,e.useRef)(Promise.resolve()),u=(0,e.useRef)({enter:[],leave:[],idle:[]}),p=Xt(((e,t,r)=>{c.current.splice(0),s&&(s.chains.current[t]=s.chains.current[t].filter((([t])=>t!==e))),null==s||s.chains.current[t].push([e,new Promise((e=>{c.current.push(e)}))]),null==s||s.chains.current[t].push([e,new Promise((e=>{Promise.all(u.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?d.current=d.current.then((()=>null==s?void 0:s.wait.current)).then((()=>r(t))):r(t)})),m=Xt(((e,t,s)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>s(t)))}));return(0,e.useMemo)((()=>({children:a,register:l,unregister:i,onStart:p,onStop:m,wait:d,chains:u})),[l,i,a,p,m,u,d])}function ps(){}cs.displayName="NestingContext";let ms=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function fs(e){var t;let s={};for(let r of ms)s[r]=null!=(t=e[r])?t:ps;return s}let hs=Ot.RenderStrategy,_s=Dt((function(t,s){let{beforeEnter:r,afterEnter:a,beforeLeave:o,afterLeave:n,enter:i,enterFrom:l,enterTo:c,entered:d,leave:u,leaveFrom:p,leaveTo:m,...f}=t,h=(0,e.useRef)(null),_=es(h,s),y=f.unmount?Nt.Unmount:Nt.Hidden,{show:w,appear:g,initial:b}=function(){let t=(0,e.useContext)(is);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),[v,E]=(0,e.useState)(w?"visible":"hidden"),x=function(){let t=(0,e.useContext)(cs);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),{register:k,unregister:S}=x,L=(0,e.useRef)(null);(0,e.useEffect)((()=>k(h)),[k,h]),(0,e.useEffect)((()=>{if(y===Nt.Hidden&&h.current)return w&&"visible"!==v?void E("visible"):Pt(v,{hidden:()=>S(h),visible:()=>k(h)})}),[v,h,k,S,w,y]);let T=Zt({enter:ns(i),enterFrom:ns(l),enterTo:ns(c),entered:ns(d),leave:ns(u),leaveFrom:ns(p),leaveTo:ns(m)}),F=function(t){let s=(0,e.useRef)(fs(t));return(0,e.useEffect)((()=>{s.current=fs(t)}),[t]),s}({beforeEnter:r,afterEnter:a,beforeLeave:o,afterLeave:n}),$=Qt();(0,e.useEffect)((()=>{if($&&"visible"===v&&null===h.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[h,v,$]);let P=b&&!g,I=!$||P||L.current===w?"idle":w?"enter":"leave",R=Xt((e=>Pt(e,{enter:()=>F.current.beforeEnter(),leave:()=>F.current.beforeLeave(),idle:()=>{}}))),O=Xt((e=>Pt(e,{enter:()=>F.current.afterEnter(),leave:()=>F.current.afterLeave(),idle:()=>{}}))),N=us((()=>{E("hidden"),S(h)}),x);os({container:h,classes:T,direction:I,onStart:Zt((e=>{N.onStart(h,e,R)})),onStop:Zt((e=>{N.onStop(h,e,O),"leave"===e&&!ds(N)&&(E("hidden"),S(h))}))}),(0,e.useEffect)((()=>{!P||(y===Nt.Hidden?L.current=null:L.current=w)}),[w,P,v]);let M=f,A={ref:_};return g&&w&&Yt.isServer&&(M={...M,className:$t(f.className,...T.current.enter,...T.current.enterFrom)}),e.createElement(cs.Provider,{value:N},e.createElement(qt,{value:Pt(v,{visible:Ut.Open,hidden:Ut.Closed})},Mt({ourProps:A,theirProps:M,defaultTag:"div",features:hs,visible:"visible"===v,name:"Transition.Child"})))})),ys=Dt((function(t,s){let{show:r,appear:a=!1,unmount:o,...n}=t,i=(0,e.useRef)(null),l=es(i,s);Qt();let c=zt();if(void 0===r&&null!==c&&(r=Pt(c,{[Ut.Open]:!0,[Ut.Closed]:!1})),![!0,!1].includes(r))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,e.useState)(r?"visible":"hidden"),p=us((()=>{u("hidden")})),[m,f]=(0,e.useState)(!0),h=(0,e.useRef)([r]);Gt((()=>{!1!==m&&h.current[h.current.length-1]!==r&&(h.current.push(r),f(!1))}),[h,r]);let _=(0,e.useMemo)((()=>({show:r,appear:a,initial:m})),[r,a,m]);(0,e.useEffect)((()=>{if(r)u("visible");else if(ds(p)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[r,p]);let y={unmount:o};return e.createElement(cs.Provider,{value:p},e.createElement(is.Provider,{value:_},Mt({ourProps:{...y,as:e.Fragment,children:e.createElement(_s,{ref:l,...y,...n})},theirProps:{},defaultTag:e.Fragment,features:hs,visible:"visible"===d,name:"Transition"})))})),ws=Dt((function(t,s){let r=null!==(0,e.useContext)(is),a=null!==zt();return e.createElement(e.Fragment,null,!r&&a?e.createElement(ys,{ref:s,...t}):e.createElement(_s,{ref:s,...t}))})),gs=Object.assign(ys,{Child:ws,Root:ys});const bs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),vs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),Es=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))})),xs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),ks=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),Ss=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))})),Ls=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ts=window.wp.i18n;var Fs=s(4530),$s=s.n(Fs),Ps=s(5890),Is=s.n(Ps);const Rs={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},Os=({id:t,children:s,title:r,description:a=null,variant:o="2xl"})=>(0,e.createElement)("section",{id:t,className:Rs.variant[o].grid},(0,e.createElement)("div",{className:Rs.variant[o].col1},(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Title,{as:"h2",size:"4"},r),a&&(0,e.createElement)("p",{className:"yst-mt-2"},a))),(0,e.createElement)("fieldset",{className:`yst-min-w-0 yst-mt-8 ${Rs.variant[o].col2}`},(0,e.createElement)("legend",{className:"yst-sr-only"},r),(0,e.createElement)("div",{className:"yst-space-y-8"},s)));Os.propTypes={id:Is().string,children:Is().node.isRequired,title:Is().node.isRequired,description:Is().node,variant:Is().oneOf(Object.keys(Rs.variant))};const Ns=({name:e})=>{const t=Bs("selectPreference",[],"isNetworkAdmin"),s=Bs("selectPreference",[],"isMainSite"),r=(0,i.useMemo)((()=>"wpseo.tracking"===e&&!t&&!s),[e,t,s]),a=(0,i.useMemo)((()=>(0,le.get)(window,`wpseoScriptData.disabledSettings.${e}`,"")),[]),o=(0,i.useMemo)((()=>{if(r)return(0,Ts.__)("Unavailable for sub-sites","wordpress-seo");switch(a){case"multisite":return(0,Ts.__)("Unavailable for multisites","wordpress-seo");case"network":return(0,Ts.__)("Network disabled","wordpress-seo");case"language":return(0,Ts.__)("Only available for English sites","wordpress-seo");default:return""}}),[a,r]);return{isDisabled:(0,i.useMemo)((()=>!(0,le.isEmpty)(o)),[o]),message:o,disabledSetting:a}},Ms="@yoast/settings",As=()=>(0,a.useDispatch)(Ms);var Cs=s(1206),Ds=s.n(Cs);const Bs=(e,t=[],...s)=>(0,a.useSelect)((t=>{var r,a;return null===(r=(a=t(Ms))[e])||void 0===r?void 0:r.call(a,...s)}),t),Vs=({id:t,children:s,title:r,description:a=null})=>{const o=Bs("selectPreference",[],"isPremium");return(0,e.createElement)(Os,{id:t,title:r,description:a,variant:o?"xl":"2xl"},s)};Vs.propTypes={id:Is().string,children:Is().node.isRequired,title:Is().node.isRequired,description:Is().node};const js=Vs,Us=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))}));var zs=s(8133);const qs=({children:t})=>{const{isSubmitting:s,status:r,dirty:a,resetForm:o,initialValues:n}=q(),c=Bs("selectIsMediaLoading"),d=(0,i.useMemo)((()=>(0,le.includes)((0,le.values)(r),!0)),[r]),u=(0,l.useSvgAria)(),[p,,,m,f]=(0,l.useToggleState)(!1),h=(0,i.useCallback)((()=>{f(),o({values:n})}),[o,n,f]);return(0,e.createElement)(se,{className:"yst-flex yst-flex-col yst-h-full"},(0,e.createElement)("div",{className:"yst-flex-grow yst-p-8"},t),(0,e.createElement)("footer",{className:"yst-sticky yst-bottom-0 yst-z-10"},(0,e.createElement)(zs.Z,{easing:"ease-in-out",duration:300,height:a?"auto":0,animateOpacity:!0},(0,e.createElement)("div",{className:"yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg"},(0,e.createElement)("div",{className:"yst-flex yst-align-middle yst-space-x-3 yst-p-8"},(0,e.createElement)(l.Button,{id:"button-submit-settings",type:"submit",isLoading:s,disabled:s||c||d},(0,Ts.__)("Save changes","wordpress-seo")),(0,e.createElement)(l.Button,{id:"button-undo-settings",type:"button",variant:"secondary",disabled:!a,onClick:m},(0,Ts.__)("Discard changes","wordpress-seo")),(0,e.createElement)(l.Modal,{onClose:f,isOpen:p},(0,e.createElement)(l.Modal.Panel,{closeButtonScreenReaderText:(0,Ts.__)("Close","wordpress-seo")},(0,e.createElement)("div",{className:"sm:yst-flex sm:yst-items-start"},(0,e.createElement)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10"},(0,e.createElement)(Us,{className:"yst-h-6 yst-w-6 yst-text-red-600",...u})),(0,e.createElement)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ml-4 sm:yst-text-left"},(0,e.createElement)(l.Modal.Title,{className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900"},(0,Ts.__)("Discard all changes","wordpress-seo")),(0,e.createElement)(l.Modal.Description,{className:"yst-text-sm yst-text-slate-500"},(0,Ts.__)("You are about to discard all unsaved changes. All of your settings will be reset to the point where you last saved. Are you sure you want to do this?","wordpress-seo")))),(0,e.createElement)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6"},(0,e.createElement)(l.Button,{type:"button",variant:"error",onClick:h,className:"yst-block"},(0,Ts.__)("Yes, discard changes","wordpress-seo")),(0,e.createElement)(l.Button,{type:"button",variant:"secondary",onClick:f,className:"yst-block"},(0,Ts.__)("No, continue editing","wordpress-seo"))))))))))};qs.propTypes={children:Is().node.isRequired};const Ws=qs,Hs=t=>{const[s,,{setTouched:r,setValue:a}]=ee({...t,type:"checkbox"}),o=(0,i.useCallback)((e=>{r(!0,!1),a(!e)}),[t.name]);return(0,e.createElement)(l.ToggleField,{...s,checked:(0,le.isUndefined)(t.checked)?!s.checked:!t.checked,onChange:o,...t})};Hs.propTypes={name:Is().string.isRequired,checked:Is().bool};const Ys=Hs,Gs=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))})),Ks={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},Zs=({label:t="",description:s="",icon:r=Gs,disabled:a=!1,isDummy:o=!1,libraryType:n="image",variant:c="landscape",id:d,mediaUrlName:u,mediaIdName:p,fallbackMediaId:m="0",previewLabel:f="",selectLabel:h=(0,Ts.__)("Select image","wordpress-seo"),replaceLabel:_=(0,Ts.__)("Replace image","wordpress-seo"),removeLabel:y=(0,Ts.__)("Remove image","wordpress-seo"),className:w=""})=>{const{values:g,setFieldValue:b,setFieldTouched:v,errors:E}=q(),[x,k]=(0,i.useState)(null),S=(0,i.useMemo)((()=>(0,le.get)(window,"wp.media",null)),[]),L=(0,i.useMemo)((()=>(0,le.get)(g,p,"")),[g,p]),T=Bs("selectMediaById",[L],L),F=Bs("selectIsMediaError"),$=Bs("selectMediaById",[m],m),{fetchMedia:P,addOneMedia:I}=As(),R=(0,i.useMemo)((()=>(0,le.get)(E,p,"")),[E,p]),O=(0,i.useMemo)((()=>a||o),[o,a]),{ids:N,describedBy:M}=(0,l.useDescribedBy)(`field-${d}-id`,{description:s,error:R}),A=(0,i.useMemo)((()=>L>0?T:m>0?$:null),[L,T,m,$]),C=(0,i.useMemo)((()=>(0,le.join)((0,le.map)((null==T?void 0:T.sizes)||(null==$?void 0:$.sizes),(e=>`${null==e?void 0:e.url} ${null==e?void 0:e.width}w`)),", ")),[T,$]),D=(0,i.useCallback)((()=>{o||null==x||x.open()}),[o,x]),B=(0,i.useCallback)((()=>{o||(v(u,!0,!1),b(u,"",!1),v(p,!0,!1),b(p,""))}),[o,v,b,u,p]),V=(0,i.useCallback)((()=>{var e,t,s;if(o)return;const r=(null===(e=x.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(s=t.first())||void 0===s?void 0:s.toJSON())||{};v(u,!0,!1),b(u,r.url,!1),v(p,!0,!1),b(p,r.id),I(r)}),[o,x,v,b,u,p]);return(0,i.useEffect)((()=>{S&&k(S({title:t,multiple:!1,library:{type:n}}))}),[S,t,n,k]),(0,i.useEffect)((()=>(null==x||x.on("select",V),()=>null==x?void 0:x.off("select",V))),[x,V]),(0,i.useEffect)((()=>{L&&!T&&P([L]),m&&!$&&P([m])}),[]),(0,e.createElement)("fieldset",{id:d,className:"yst-min-w-0 yst-w-96 yst-max-w-full"},(0,e.createElement)(te,{type:"hidden",name:p,id:`input-${d}-id`,"aria-describedby":M,disabled:O}),(0,e.createElement)(te,{type:"hidden",name:u,id:`input-${d}-url`,"aria-describedby":M,disabled:O}),t&&(0,e.createElement)(l.Label,{as:"legend",className:$s()("yst-mb-2",O&&"yst-opacity-50 yst-cursor-not-allowed")},t),(0,e.createElement)("button",{type:"button",id:`button-${d}-preview`,onClick:D,className:$s()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-max-w-full yst-rounded-md yst-mb-4 yst-border-slate-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",!o&&A?"yst-bg-slate-50 yst-border":"yst-border-2 yst-border-dashed",O&&"yst-opacity-50 yst-cursor-not-allowed",Ks.variant[c],w),disabled:O},!o&&A?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"yst-sr-only"},_),(0,e.createElement)("img",{src:null==A?void 0:A.url,alt:(null==A?void 0:A.alt)||"",srcSet:C,sizes:"landscape"===c?"24rem":"12rem",width:"landscape"===c?"24rem":"12rem",loading:"lazy",decoding:"async",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})):(0,e.createElement)("div",{className:"yst-w-48 yst-max-w-full"},(0,e.createElement)("span",{className:"yst-sr-only"},h),(0,e.createElement)(r,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-slate-400 yst-stroke-1"}),f&&(0,e.createElement)("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-mt-1 yst-px-8"},f))),(0,e.createElement)("div",{className:"yst-flex yst-gap-1"},!o&&L>0?(0,e.createElement)(l.Button,{id:`button-${d}-replace`,variant:"secondary",onClick:D,disabled:O},_):(0,e.createElement)(l.Button,{id:`button-${d}-select`,variant:"secondary",onClick:D,disabled:O},h),!o&&L>0&&(0,e.createElement)(l.Link,{id:`button-${d}-remove`,as:"button",type:"button",variant:"error",onClick:B,className:$s()("yst-px-3 yst-py-2 yst-rounded-md",O&&"yst-opacity-50 yst-cursor-not-allowed"),disabled:O},y)),R&&(0,e.createElement)("p",{id:N.error,className:"yst-mt-2 yst-text-sm yst-text-red-600"},R),F&&(0,e.createElement)("p",{className:"yst-mt-2 yst-text-sm yst-text-red-600"},(0,Ts.__)("Failed to retrieve media.","wordpress-seo")),s&&(0,e.createElement)("p",{id:N.description,className:$s()("yst-mt-2",O&&"yst-opacity-50 yst-cursor-not-allowed")},s))};Zs.propTypes={label:Is().string,description:Is().node,icon:Is().elementType,disabled:Is().bool,isDummy:Is().bool,libraryType:Is().string,variant:Is().oneOf((0,le.keys)(Ks.variant)),id:Is().string.isRequired,mediaUrlName:Is().string.isRequired,mediaIdName:Is().string.isRequired,fallbackMediaId:Is().string,previewLabel:Is().node,selectLabel:Is().string,replaceLabel:Is().string,removeLabel:Is().string,className:Is().string};const Qs=Zs,Xs=window.yoast.replacementVariableEditor,Js=({className:t="",disabled:s=!1,...r})=>{const[a,o]=(0,i.useState)(null),[n,,{setTouched:l,setValue:c}]=ee(r),d=(0,i.useCallback)((e=>{l(!0,!1),c(e)}),[r.name]),u=(0,i.useCallback)((()=>null==a?void 0:a.focus()),[a]),p=(0,i.useMemo)((()=>{var e;return(null!==(e=n.value)&&void 0!==e&&e.match(/%%\w+%%$/)?`${n.value} `:n.value)||""}),[n.value]);return(0,e.createElement)("div",{className:t},(0,e.createElement)(Xs.ReplacementVariableEditor,{...n,content:p,onChange:d,editorRef:o,onFocus:u,isDisabled:s,...r}))};Js.propTypes={name:Is().string.isRequired,disabled:Is().bool,className:Is().string};const er=Js,tr=t=>{const[{value:s,...r},,{setTouched:a,setValue:o}]=ee(t),n=(0,i.useMemo)((()=>(0,le.reduce)((0,le.isString)(s)&&(null==s?void 0:s.split(","))||[],((e,t)=>{const s=(0,le.trim)(t);return s?[...e,s]:e}),[])),[s]),c=(0,i.useCallback)((e=>{a(!0,!1),o([...n,e].join(","))}),[a,o,n]),d=(0,i.useCallback)((e=>{a(!0,!1),o([...n.slice(0,e),...n.slice(e+1)].join(","))}),[a,o,n]),u=(0,i.useCallback)((e=>{a(!0,!1),o(e.join(","))}),[a,o]);return(0,e.createElement)(l.TagField,{...r,tags:n,onAddTag:c,onRemoveTag:d,onSetTags:u,...t})};tr.propTypes={name:Is().string.isRequired};const sr=tr,rr=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))}));let ar;const or=({children:t,className:s=""})=>(0,e.createElement)("div",{className:$s()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",s)},t);or.propTypes={children:Is().node.isRequired,className:Is().string};const nr=({name:t,id:s,className:r="",...a})=>{const o=Bs("selectPreference",[],"siteRepresentsPerson",{}),n=Bs("selectUsersWith",[o],o),{addManyUsers:c}=As(),[{value:d,...u},,{setTouched:p,setValue:m}]=ee({type:"select",name:t,id:s,...a}),[f,h]=(0,i.useState)(bt),[_,y]=(0,i.useState)([]),w=Bs("selectPreference",[],"canCreateUsers",!1),g=Bs("selectPreference",[],"createUserUrl",""),b=(0,i.useMemo)((()=>{const e=(0,le.values)(n);return(0,le.find)(e,["id",d])}),[d,n]),v=(0,i.useCallback)((0,le.debounce)((async e=>{try{var t,s;h(vt),ar&&(null===(s=ar)||void 0===s||s.abort()),ar=new AbortController;const r=await _t()({path:`/wp/v2/users?${(0,Je.buildQueryString)({search:e,per_page:20})}`,signal:null===(t=ar)||void 0===t?void 0:t.signal});y((0,le.map)(r,"id")),c(r),h(Et)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;y([]),h(xt),console.error(e.message)}}),200),[y,c,h]),E=(0,i.useCallback)((e=>{p(!0,!1),m(e)}),[m]),x=(0,i.useCallback)((e=>v(e.target.value)),[v]);return(0,i.useEffect)((()=>{v("")}),[]),(0,e.createElement)(l.AutocompleteField,{...u,name:t,id:s,value:b?d:0,onChange:E,placeholder:(0,Ts.__)("Select a user...","wordpress-seo"),selectedLabel:null==b?void 0:b.name,onQueryChange:x,className:r,...a},(0,e.createElement)(e.Fragment,null,(f===bt||f===Et)&&(0,e.createElement)(e.Fragment,null,(0,le.isEmpty)(_)?(0,e.createElement)(or,null,(0,Ts.__)("No users found.","wordpress-seo")):(0,le.map)(_,(t=>{const s=null==n?void 0:n[t];return s?(0,e.createElement)(l.AutocompleteField.Option,{key:null==s?void 0:s.id,value:null==s?void 0:s.id},null==s?void 0:s.name):null})),w&&(0,e.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},(0,e.createElement)("a",{id:`link-create_user-${s}`,href:g,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},(0,e.createElement)(rr,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),(0,e.createElement)("span",null,(0,Ts.__)("Add new user...","wordpress-seo"))))),f===vt&&(0,e.createElement)(or,null,(0,e.createElement)(l.Spinner,{variant:"primary"}),(0,Ts.__)("Searching users...","wordpress-seo")),f===xt&&(0,e.createElement)(or,{className:"yst-text-red-600"},(0,Ts.__)("Failed to retrieve users.","wordpress-seo"))))};nr.propTypes={name:Is().string.isRequired,id:Is().string.isRequired,className:Is().string};const ir=nr,lr=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),cr=({children:t,className:s=""})=>(0,e.createElement)("div",{className:$s()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",s)},t);cr.propTypes={children:Is().node.isRequired,className:Is().string};const dr=({name:t,id:s,...r})=>{const a=Bs("selectPreference",[],"siteBasicsPolicies",{}),o=Bs("selectPagesWith",[a],(0,le.values)(a)),{fetchPages:n}=As(),[{value:c,...d},,{setTouched:u,setValue:p}]=ee({type:"select",name:t,id:s,...r}),[m,f]=(0,i.useState)(bt),[h,_]=(0,i.useState)([]),y=Bs("selectPreference",[],"canCreatePages",!1),w=Bs("selectPreference",[],"createPageUrl",""),g=(0,i.useMemo)((()=>{const e=(0,le.values)(o);return(0,le.find)(e,["id",c])}),[c,o]),b=(0,i.useCallback)((0,le.debounce)((async e=>{try{f(vt);const t=await n({search:e});_((0,le.map)(t.payload,"id")),f(Et)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;_([]),f(xt)}}),200),[_,f,n]),v=(0,i.useCallback)((e=>{u(!0,!1),p(e)}),[p,u]),E=(0,i.useCallback)((e=>b(e.target.value)),[b]),x=(0,i.useMemo)((()=>(0,le.isEmpty)(h)?(0,le.map)(o,"id"):h),[h,o]),k=(0,i.useMemo)((()=>m===Et&&(0,le.isEmpty)(h)),[h,m]);return(0,e.createElement)(l.AutocompleteField,{...d,name:t,id:s,value:g?c:0,onChange:v,placeholder:(0,Ts.__)("None","wordpress-seo"),selectedLabel:null==g?void 0:g.name,onQueryChange:E,nullable:!0 /* translators: Hidden accessibility text. */,clearButtonScreenReaderText:(0,Ts.__)("Clear selection","wordpress-seo"),...r},(0,e.createElement)(e.Fragment,null,(m===bt||m===Et)&&(0,e.createElement)(e.Fragment,null,k?(0,e.createElement)(cr,null,(0,Ts.__)("No pages found.","wordpress-seo")):(0,le.map)(x,(t=>{const s=null==o?void 0:o[t];return s?(0,e.createElement)(l.AutocompleteField.Option,{key:null==s?void 0:s.id,value:null==s?void 0:s.id},null==s?void 0:s.name):null})),y&&(0,e.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},(0,e.createElement)("a",{id:`link-create_page-${s}`,href:w,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},(0,e.createElement)(lr,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),(0,e.createElement)("span",null,(0,Ts.__)("Add new page...","wordpress-seo"))))),m===vt&&(0,e.createElement)(cr,null,(0,e.createElement)(l.Spinner,{variant:"primary"}),(0,Ts.__)("Searching pages...","wordpress-seo")),m===xt&&(0,e.createElement)(cr,{className:"yst-text-red-600"},(0,Ts.__)("Failed to retrieve pages.","wordpress-seo"))))};dr.propTypes={name:Is().string.isRequired,id:Is().string.isRequired};const ur=dr,pr=({as:t,transformValue:s=le.identity,...r})=>{const[a,,{setTouched:o,setValue:n}]=ee(r),l=(0,i.useCallback)((e=>{o(!0,!1),n(s(e))}),[r.name]);return(0,e.createElement)(t,{...a,onChange:l,...r})};pr.propTypes={as:Is().elementType.isRequired,name:Is().string.isRequired,transformValue:Is().func};const mr=pr,fr=({name:t,id:s,options:r,...a})=>{const[o,,{setTouched:n,setValue:c}]=ee({type:"select",name:t,id:s,...a}),[d,u]=(0,i.useState)(""),p=e=>{var t;e&&null!==(t=r.find((t=>t.value===e)))&&void 0!==t&&t.label?u(r.find((t=>t.value===e)).label):u(e)},m=(0,i.useCallback)((e=>{c(e),p(e)}),[c,n]),f=(0,i.useCallback)((e=>{c(e.target.value),p(e.target.value)}),[c]);return(0,i.useEffect)((()=>{p(o.value)}),[]),(0,e.createElement)(l.AutocompleteField,{...o,name:t,id:s,selectedLabel:d,onChange:m,onQueryChange:f,...a},r&&r.map((t=>(0,e.createElement)(l.AutocompleteField.Option,{key:t.value,value:t.value},t.label))))};fr.propTypes={name:Is().string.isRequired,id:Is().string.isRequired,options:Is().array},fr.defaultProps={options:[]};const hr=fr,_r=t=>{const s=({name:s,...r})=>{const{isDisabled:a,message:o}=Ns({name:s});return a?(0,e.createElement)("div",null,(0,e.createElement)(l.Badge,{variant:"plain",size:"small",className:"yst-mb-2"},o),(0,e.createElement)(t,{name:s,...r,disabled:!0})):(0,e.createElement)(t,{name:s,...r})};return s.propTypes={name:Is().string.isRequired},s},yr=t=>{const s=({name:s,isDummy:r=!1,...a})=>{const o=Bs("selectDefaultSettingValue",[s],s);return r?(0,e.createElement)(t,{name:s,...a,disabled:!0,value:o,onChange:le.noop,checked:o,content:o}):(0,e.createElement)(t,{name:s,...a})};return s.propTypes={name:Is().string.isRequired,isDummy:Is().bool},s},wr=t=>{const s=({name:s,isDummy:r=!1,...a})=>{const o=Bs("selectDefaultSettingValue",[s],s);return r?(0,e.createElement)(t,{name:s,...a,disabled:!0,value:o,onChange:le.noop}):(0,e.createElement)(t,{name:s,...a})};return s.propTypes={name:Is().string.isRequired,isDummy:Is().bool},s},gr=t=>{const s=({name:s,...r})=>{const{isTouched:a,error:o}=(({name:e})=>{const{touched:t,errors:s}=q();return{isTouched:(0,i.useMemo)((()=>(0,le.get)(t,e,!1)),[t]),error:(0,i.useMemo)((()=>(0,le.get)(s,e,"")),[s])}})({name:s});return(0,e.createElement)(t,{name:s,validation:{variant:"error",message:a&&o},...r})};return s.propTypes={name:Is().string.isRequired},s},br=gr(te),vr=(e,t="")=>(0,le.reduce)(e,((e,s,r)=>{const a=(0,le.join)((0,le.filter)([t,r],(0,le.flowRight)(Boolean,le.toString)),".");return(0,le.isObject)(s)||(0,le.isArray)(s)?{...e,...vr(s,a)}:{...e,[a]:s}}),{}),Er=({id:t,onDismiss:s,...r})=>{const{errors:a}=q(),o=Bs("selectSearchIndex"),n=(0,i.useMemo)((()=>vr(a)),[a]);return(0,e.createElement)(l.Notifications.Notification,{key:t,id:t,onDismiss:s,...r},(0,e.createElement)("ul",{className:"yst-list-disc yst-mt-1 yst-ml-4 yst-space-y-2"},(0,le.map)(n,((t,s)=>t&&(0,e.createElement)("li",{key:s},(0,e.createElement)(Ze,{to:`${(0,le.get)(o,`${s}.route`,"404")}#${(0,le.get)(o,`${s}.fieldId`,"")}`},`${(0,le.get)(o,`${s}.routeLabel`,"")} - ${(0,le.get)(o,`${s}.fieldLabel`,"")}`),": ",t)))))};Er.propTypes={id:Is().string.isRequired,onDismiss:Is().func};const xr=()=>{(()=>{const{isValid:e,errors:t,isSubmitting:s}=q(),{addNotification:r,removeNotification:a}=As(),o=Bs("selectNotification",[],"validation-errors");(0,i.useEffect)((()=>{e&&o&&a("validation-errors")}),[e,o]),(0,i.useEffect)((()=>{s&&!e&&r({id:"validation-errors",variant:"error",size:"large",title:(0,Ts.__)("Oh no! It seems your form contains invalid data. Please review the following fields:","wordpress-seo")})}),[s,t,e])})(),(()=>{const{removeNotification:e}=As(),t=Bs("selectNotifications"),s=Bs("selectPostTypes"),r=Bs("selectTaxonomies");(0,i.useEffect)((()=>{const a=(0,le.some)(s,["isNew",!0]),o=(0,le.some)(r,["isNew",!0]);!t["new-content-type"]||a||o||e("new-content-type")}),[s,r])})();const{removeNotification:t}=As(),s=Bs("selectNotifications"),r=(0,i.useMemo)((()=>(0,le.map)(s,(e=>({...e,onDismiss:t,autoDismiss:"success"===e.variant?5e3:null, /* translators: Hidden accessibility text. */ dismissScreenReaderLabel:(0,Ts.__)("Dismiss","wordpress-seo")})))),[s]);return(0,e.createElement)(l.Notifications,{notifications:r,position:"bottom-left"},r.map((t=>"validation-errors"===t.id?(0,e.createElement)(Er,{key:t.id,...t}):(0,e.createElement)(l.Notifications.Notification,{key:t.id,...t}))))},kr=({name:t,disabled:s=!1})=>{const r=Bs("selectPreference",[],"isNewsSeoActive"),a=Bs("selectLink",[],"https://yoa.st/get-news-settings"),{values:o}=q(),n=(0,i.useMemo)((()=>"NewsArticle"===(0,le.get)(o,`wpseo_titles.schema-article-type-${t}`,"")),[t,o]);return r?null:(0,e.createElement)(zs.Z,{easing:"ease-in-out",duration:300,height:n&&!s?"auto":0,animateOpacity:!0},(0,e.createElement)(l.Alert,{className:"yst-mt-8",variant:"info",role:"status"},(0,Ts.sprintf)(/* translators: %s Expands to "Yoast News SEO" */ diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/post-edit.js b/wp/wp-content/plugins/wordpress-seo/js/dist/post-edit.js index 3285e9d4..94016706 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/post-edit.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/post-edit.js @@ -11,7 +11,7 @@ (0,g.__)("%1$s + %2$s","wordpress-seo"),"Yoast SEO Premium","Yoast WooCommerce SEO");l.newToText=(0,g.sprintf)(/* translators: %1$s expands to Yoast SEO Premium and Yoast WooCommerce SEO. */ (0,g.__)("New in %1$s","wordpress-seo"),e),l.title=(0,g.__)("Generate product titles & descriptions with AI!","wordpress-seo"),!i&&r&&(l.upsellLabel=`${(0,g.sprintf)(/* translators: %1$s expands to Woo Premium bundle. */ (0,g.__)("Unlock with the %1$s","wordpress-seo"),"Woo Premium bundle")}*`,l.bundleNote=(0,c.createElement)("div",{className:"yst-text-xs yst-text-slate-500 yst-mt-2"},`*${e}`),l.upsellLink=s),i&&(l.upsellLabel=(0,g.sprintf)(/* translators: %1$s expands to Yoast WooCommerce SEO. */ -(0,g.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),l.upsellLink=n)}const p=(0,d.useSelect)((e=>e(J).selectImageLink("ai-generator-preview.png")),[]),h=(0,u.useMemo)((()=>({src:p,width:"432",height:"244"})),[p]),m=(0,d.useSelect)((e=>e(J).selectWistiaEmbedPermissionValue()),[]),f=(0,d.useSelect)((e=>e(J).selectWistiaEmbedPermissionStatus()),[]),{setWistiaEmbedPermission:y}=(0,d.useDispatch)(J),w=(0,u.useMemo)((()=>({value:m,status:f,set:y})),[m,f,y]);return(0,c.createElement)(k,{learnMoreLink:e,thumbnail:h,wistiaEmbedPermission:w,...l})},ee=({fieldId:e})=>{const[t,,,s,n]=(0,m.useToggleState)(!1),i=(0,u.useCallback)((()=>{s()}),[s]),r=(0,u.useRef)(null);return(0,c.createElement)(c.Fragment,null,(0,c.createElement)("button",{type:"button",id:`yst-replacevar__use-ai-button__${e}`,className:"yst-replacevar__use-ai-button-upsell",onClick:i},(0,g.__)("Use AI","wordpress-seo")),(0,c.createElement)(m.Modal,{className:"yst-introduction-modal",isOpen:t,onClose:n,initialFocus:r},(0,c.createElement)(m.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl yst-introduction-modal-panel"},(0,c.createElement)(X,{onClose:n,focusElementRef:r}))))};ee.propTypes={fieldId:y().string.isRequired};const te="yoast-seo/editor";const se=window.yoast.externals.redux,ne=window.yoast.reduxJsToolkit,ie=window.wp.url,re="linkParams",oe=(0,ne.createSlice)({name:re,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),ae=(oe.getInitialState,{selectLinkParam:(e,t,s={})=>(0,l.get)(e,`${re}.${t}`,s),selectLinkParams:e=>(0,l.get)(e,re,{})});ae.selectLink=(0,ne.createSelector)([ae.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,ie.addQueryArgs)(t,{...e,...s}))),oe.actions,oe.reducer;const le=(0,ne.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:n,description:i})=>({payload:{id:e||(0,ne.nanoid)(),variant:t,size:s,title:n||"",description:i}})},removeNotification:(e,{payload:t})=>(0,l.omit)(e,t)}}),ce=(le.getInitialState,le.actions,le.reducer,"pluginUrl"),pe=(0,ne.createSlice)({name:ce,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),de=(pe.getInitialState,{selectPluginUrl:e=>(0,l.get)(e,ce,"")});de.selectImageLink=(0,ne.createSelector)([de.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,l.trimEnd)(e,"/"),(0,l.trim)(t,"/"),(0,l.trimStart)(s,"/")].join("/"))),pe.actions,pe.reducer;const ue=window.wp.apiFetch;var he=s.n(ue);const ge="wistiaEmbedPermission",me=(0,ne.createSlice)({name:ge,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${ge}/request`,(e=>{e.status=W})),e.addCase(`${ge}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${ge}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,l.get)(t,"error.code",500),message:(0,l.get)(t,"error.message","Unknown")}}))}}),fe=(me.getInitialState,me.actions,{[ge]:async({payload:e})=>he()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function ye({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function we({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}me.reducer;const be=fe[ge];var _e=s(2322),ke=s.n(_e);function ve(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}const xe=window.yoast.analysis,Ee=window.wp.isShallowEqual,Se=window.wp.api;var Re={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Ce=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,l.defaults)(s,Re)};Ce.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Ce.prototype.setSource=function(e){this.options.source=e},Ce.prototype.hasScope=function(){return!(0,l.isEmpty)(this.options.scope)},Ce.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Ce.prototype.inScope=function(e){return!this.hasScope()||(0,l.indexOf)(this.options.scope,e)>-1},Ce.prototype.hasAlias=function(){return!(0,l.isEmpty)(this.options.aliases)},Ce.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Ce.prototype.getAliases=function(){return this.options.aliases};const Te=Ce,{removeReplacementVariable:Pe,updateReplacementVariable:Oe,refreshSnippetEditor:Ae}=se.actions;var Ie=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],Me={},De={},Le=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};Le.prototype.registerReplacements=function(){this.addReplacement(new Te("%%author_first_name%%","author_first_name")),this.addReplacement(new Te("%%author_last_name%%","author_last_name")),this.addReplacement(new Te("%%category%%","category")),this.addReplacement(new Te("%%category_title%%","category_title")),this.addReplacement(new Te("%%currentdate%%","currentdate")),this.addReplacement(new Te("%%currentday%%","currentday")),this.addReplacement(new Te("%%currentmonth%%","currentmonth")),this.addReplacement(new Te("%%currenttime%%","currenttime")),this.addReplacement(new Te("%%currentyear%%","currentyear")),this.addReplacement(new Te("%%date%%","date")),this.addReplacement(new Te("%%id%%","id")),this.addReplacement(new Te("%%page%%","page")),this.addReplacement(new Te("%%permalink%%","permalink")),this.addReplacement(new Te("%%post_content%%","post_content")),this.addReplacement(new Te("%%post_month%%","post_month")),this.addReplacement(new Te("%%post_year%%","post_year")),this.addReplacement(new Te("%%searchphrase%%","searchphrase")),this.addReplacement(new Te("%%sitedesc%%","sitedesc")),this.addReplacement(new Te("%%sitename%%","sitename")),this.addReplacement(new Te("%%userid%%","userid")),this.addReplacement(new Te("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new Te("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new Te("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new Te("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new Te("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new Te("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new Te("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new Te("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new Te("%%sep%%(\\s*%%sep%%)*","sep"))},Le.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},Le.prototype.subscribeToGutenberg=function(){if(!ve())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const n=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==n&&t!==n)return t=n,n<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,l.isUndefined)(e[n])?void Se.loadPromise.done((()=>{new Se.models.Page({id:n}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[n]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[n],void this.declareReloaded())}))},Le.prototype.addReplacement=function(e){Me[e.placeholder]=e},Le.prototype.removeReplacement=function(e){delete Me[e.getPlaceholder()]},Le.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,l.forEach)(Ie,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},Le.prototype.replaceVariables=function(e){return(0,l.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},Le.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,l.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},Le.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},Le.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},Le.prototype.replacePlaceholders=function(e){return(0,l.forEach)(Me,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},Le.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(Ae())},Le.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},Le.prototype.parseTaxonomies=function(e,t){(0,l.isUndefined)(De[t])&&(De[t]={});const s=[];(0,l.forEach)(e,function(e){const n=(e=jQuery(e)).val(),i=this.getCategoryName(e),r=e.prop("checked");De[t][n]={label:i,checked:r},r&&-1===s.indexOf(i)&&s.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(Oe(t,s.join(", ")))},Le.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},Le.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},Le.prototype.replaceCustomTaxonomy=function(e){return(0,l.forEach)(De,function(t,s){var n="%%ct_"+s+"%%";"category"===s&&(n="%%"+s+"%%"),e=e.replace(n,this.getTaxonomyReplaceVar(s))}.bind(this)),e},Le.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=De[e];return!0===(0,l.isUndefined)(s)?"":((0,l.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},Le.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),n=jQuery("#"+t.id+"-value").val();const i="cf_"+this.sanitizeCustomFieldNames(s),r=s+" (custom field)";this._store.dispatch(Oe(i,n,r)),this.addReplacement(new Te(`%%${i}%%`,n,{source:"direct"}))}.bind(this))},Le.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},Le.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},Le.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},Le.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},Le.prototype.removeCustomFields=function(){var e=(0,l.filter)(Me,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,l.forEach)(e,function(e){this._store.dispatch(Pe((0,l.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},Le.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),ve()&&!(0,l.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},Le.prototype.hasParentTitle=function(e){return!(0,l.isUndefined)(e)&&!(0,l.isUndefined)(e.prop("options"))},Le.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},Le.ReplaceVar=Te;const Be=Le,Ne=window.wp.blocks,Fe=class{constructor(e,t,s){this._registerPlugin=e,this._registerModification=t,this._refreshAnalysis=s,this._reusableBlocks={},this._selectCore=(0,d.select)("core"),this._selectCoreEditor=(0,d.select)("core/editor"),this.reusableBlockChangeListener=this.reusableBlockChangeListener.bind(this),this.parseReusableBlocks=this.parseReusableBlocks.bind(this)}register(){this._registerPlugin("YoastReusableBlocksPlugin",{status:"ready"}),this._registerModification("content",this.parseReusableBlocks,"YoastReusableBlocksPlugin",1),(0,d.subscribe)((0,l.debounce)(this.reusableBlockChangeListener,500))}reusableBlockChangeListener(){const{blocks:e}=this._selectCoreEditor.getPostEdits();if(!e)return;let t=!1;e.forEach((e=>{if(!(0,Ne.isReusableBlock)(e))return;const s=this.getBlockContent(e.attributes.ref);this._reusableBlocks[e.attributes.ref]?this._reusableBlocks[e.attributes.ref].content!==s&&(this._reusableBlocks[e.attributes.ref].content=s,t=!0):(this._reusableBlocks[e.attributes.ref]={id:e.attributes.ref,clientId:e.clientId,content:s},t=!0)})),t&&this._refreshAnalysis()}parseReusableBlocks(e){const t=//g;return e.match(t)?e.replace(t,((t,s)=>this._reusableBlocks[s]&&this._reusableBlocks[s].content?this._reusableBlocks[s].content:e)):e}getBlockContent(e){const t=this._selectCore.getEditedEntityRecord("postType","wp_block",e);if(t){if((0,l.isFunction)(t.content))return t.content(t);if(t.blocks)return(0,Ne.__unstableSerializeAndClean)(t.blocks);if(t.content)return t.content}return""}},$e="[^<>&/\\[\\]\0- =]+?",Ue=new RegExp("\\["+$e+"( [^\\]]+?)?\\]","g"),je=new RegExp("\\[/"+$e+"\\]","g");class ze{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:n},i){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=n,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const r="("+i.join("|")+")";this.shortcodesRegex=new RegExp(r,"g"),this.closingTagRegex=new RegExp("\\[\\/"+r+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+r+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(Ue,"")).replace(je,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,l.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,l.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const qe=ze,{updateShortcodesForParsing:Ye}=se.actions;var Ve=s(7084),Ke=s.n(Ve);const We=class{constructor(e,t){this._registerPlugin=e,this._registerModification=t}register(){this._registerPlugin("YoastMarkdownPlugin",{status:"ready"}),this._registerModification("content",this.parseMarkdown.bind(this),"YoastMarkdownPlugin",1)}parseMarkdown(e){return Ke()(e)}},He="yoastmark";function Qe(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function Ze(e,t,s){const n=e.dom;let i=e.getContent();if(i=xe.markers.removeMarks(i),(0,l.isEmpty)(s))return void e.setContent(i);i=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,l.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const n=e[s];Qe(n,t)||(t=n.applyWithPosition(t))}return t}(s,i):function(e,t,s,n){const{fieldsToMark:i,selectedHTML:r}=xe.languageProcessing.getFieldsToMark(s,n);return(0,l.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=xe.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=xe.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?r.forEach((e=>{const s=t.applyWithReplace(e);n=n.replace(e,s)})):n=t.applyWithReplace(n)})),n}(e,0,s,i),e.setContent(i),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const r=n.select(He);(0,l.forEach)(r,(function(e){e.setAttribute("data-mce-bogus","1")}))}function Ge(e){return window.test=e,Ze.bind(null,e)}const Je="et_pb_main_editor_wrap",Xe=class{static isActive(){return!!document.getElementById(Je)}static isTinyMCEHidden(){const e=document.getElementById(Je);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(Je),this.classicEditorContainer&&new MutationObserver((t=>{(0,l.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},et=class{static isActive(){return!!window.VCV_I18N}},tt={classicEditorHidden:l.noop,classicEditorShown:l.noop,pageBuilderLoaded:l.noop},st=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){Xe.isActive()&&(this.diviActive=!0),et.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,l.defaults)(e,tt),this.diviActive&&(new Xe).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!Xe.isTinyMCEHidden())}};let nt;const it="content",rt="description";function ot(e){nt=e}function at(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function lt(e){if(!at())return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function ct(e){let t="";var s;return t=!1===lt(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}function pt(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(n){const i=n.editor;i.id===e&&(0,l.forEach)(t,(function(e){i.on(e,s)}))}))}function dt(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerStatus("disabled"))}function ut(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerStatus("enabled"))}function ht(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerPauseStatus(!0))}function gt(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerPauseStatus(!1))}function mt(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function ft(){mt()&&(dt(),at()&&tinyMCE.on("AddEditor",(function(){ut()})))}function yt(e,t){pt(t,["input","change","cut","paste"],e),pt(t,["hide"],dt);const s=["show"];(new st).isPageBuilderActive()||s.push("init"),pt(t,s,ut),pt("content",["focus"],(function(e){const t=e.target;(function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+He)})(t)&&(function(e){Ge(e)(null,[])}(t),YoastSEO.app.disableMarkers()),ht()})),pt("content",["blur"],(function(){gt()}))}class wt{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,l.isString)(e)?(0,l.isUndefined)(t)||(0,l.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,n){if(!(0,l.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,l.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,l.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const i={callable:t,origin:s,priority:(0,l.isNumber)(n)?n:10};return(0,l.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerAssessment(e,t,s,n){return(0,l.isString)(t)?(0,l.isObject)(s)?(0,l.isString)(n)?(t=n+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+n+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let n=this.modifications[e];return!(0,l.isArray)(n)||n.length<1||(n=this._stripIllegalModifications(n),n.sort(((e,t)=>e.priority-t.priority)),(0,l.forEach)(n,(function(n){const i=n.callable(t,s);typeof i==typeof t?t=i:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,l.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,l.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,l.forEach)(this.plugins,(function(e,t){(0,l.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,l.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,l.isUndefined)(this.plugins[e])}}function bt(e,t,s){e("morphology",new xe.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(se.actions.updateWordsToHighlight((0,l.uniq)((0,l.flatten)(s))))})).catch((()=>{t.dispatch(se.actions.updateWordsToHighlight([]))}))}var _t="score-text",kt="image yoast-logo svg",vt=jQuery;function xt(e,t,s=null){return null!==s?(0,l.get)(s,t,""):(0,l.get)(wpseoScriptData,`metabox.publish_box.labels.${e}.${t}`,"")}function Et(e,t,s=null){var n=vt("#"+e+"-score"),i=kt+" "+t;n.children(".image").attr("class",i);var r=xt(e,t,s);n.children("."+_t).html(r)}function St(e,t,s=null){const n=vt("
",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),i=vt("",{class:_t,html:xt(e,t,s)}),r=vt("").attr("class",kt+" na");n.append(r).append(i),vt("#yoast-seo-publishbox-section").append(n)}function Rt(e){const t=vt("#wpadminbar"),s=vt(e);if(!t||!s)return;const n="fixed"===t.css("position")?t.height():0;vt([document.documentElement,document.body]).animate({scrollTop:s.offset().top-n},1e3),s.trigger("focus"),0===s.parent().siblings().length&&s.trigger("click")}function Ct(){var e="na";wpseoScriptData.metabox.keywordAnalysisActive&&St("keyword",e),wpseoScriptData.metabox.contentAnalysisActive&&St("content",e),wpseoScriptData.metabox.inclusiveLanguageAnalysisActive&&St("inclusive-language",e),vt("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),Rt("#wpseo-meta-section-readability")})),vt("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-content").click(),Rt("#yoast-seo-analysis-collapsible-metabox")})),vt("#inclusive-language-score").on("click","[href='#yoast-inclusive-language-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-inclusive-language").click(),Rt("#wpseo-meta-section-inclusive-language")}))}function Tt(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}function Pt(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function Ot(){return(0,l.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function At(){const e=Ot();return(0,l.get)(e,"contentLocale","en_US")}function It(){const e=Ot();return(0,l.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}function Mt(){const e=Ot();return!0===(0,l.get)(e,"contentAnalysisActive",!1)}function Dt(){const e=Ot();return!0===(0,l.get)(e,"keywordAnalysisActive",!1)}function Lt(){const e=Ot();return!0===(0,l.get)(e,"inclusiveLanguageAnalysisActive",!1)}const Bt=window.yoast.featureFlag;function Nt(){}let Ft=!1;function $t(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function Ut(e,t,s,n,i){if(!Ft)return;const r=xe.Paper.parse(t());e.analyze(r).then((o=>{const{result:{seo:a,readability:l,inclusiveLanguage:c}}=o;if(a){const e=a[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),e.results=$t(e.results),n.dispatch(se.actions.setSeoResultsForKeyword(r.getKeyword(),e.results)),n.dispatch(se.actions.setOverallSeoScore(e.score,r.getKeyword())),n.dispatch(se.actions.refreshSnippetEditor()),i.saveScores(e.score,r.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),l.results=$t(l.results),n.dispatch(se.actions.setReadabilityResults(l.results)),n.dispatch(se.actions.setOverallReadabilityScore(l.score)),n.dispatch(se.actions.refreshSnippetEditor()),i.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),c.results=$t(c.results),n.dispatch(se.actions.setInclusiveLanguageResults(c.results)),n.dispatch(se.actions.setOverallInclusiveLanguageScore(c.score)),n.dispatch(se.actions.refreshSnippetEditor()),i.saveInclusiveLanguageScore(c.score)),(0,h.doAction)("yoast.analysis.refresh",o,{paper:r,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:i})})).catch(Nt)}const jt="yoast-measurement-element";function zt(e){let t=document.getElementById(jt);return t||(t=function(){const e=document.createElement("div");return e.id=jt,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}function qt(e){return(0,l.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,g.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,g.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,g.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,g.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(xe.interpreters.scoreToRating(e))}const{tmceId:Yt}=t,Vt=jQuery,Kt=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._data=e.data,this._store=e.store};Kt.prototype.getData=function(){const e=this._data.getData(),t=this._store.getState();return{keyword:Dt()?this.getKeyword():"",meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:zt(this.getSnippetTitle()),metaTitle:(0,l.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,l.get)(t,["snippetEditor","data","slug"],e.slug),meta:this.getMetaDescForAnalysis(t)}},Kt.prototype.getKeyword=function(){return document.getElementById("yoast_wpseo_focuskw")&&document.getElementById("yoast_wpseo_focuskw").value||""},Kt.prototype.getMetaDescForAnalysis=function(e){let t=(0,l.get)(e,["analysisData","snippet","description"],this.getSnippetMeta());return""!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+" - "+t),t},Kt.prototype.getMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},Kt.prototype.getText=function(){return xe.markers.removeMarks(ct(Yt))},Kt.prototype.getTitle=function(){return document.getElementById("title")&&document.getElementById("title").value||""},Kt.prototype.getUrl=function(){const e=(0,d.select)("core/editor");if(e&&e.getCurrentPostAttribute("slug"))return e.getCurrentPostAttribute("slug");var t="",s=Vt("#new-post-slug");return 0 label");return n.length?e=this.getCategoryName(n):e},Kt.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},Kt.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},Kt.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},Kt.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),t.text().trim()},Kt.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},Kt.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},Kt.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},Kt.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],s=0;s{e=(0,l.merge)(e,t())})),e}}window.wp.annotations;const Qt=function(e){return(0,l.uniq)((0,l.flatten)(e.map((e=>{if(!(0,l.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Zt=window.wp.richText,Gt=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Jt}=xe.helpers.htmlEntities,Xt=e=>{let t=0;return(0,l.forEachRight)(e,(e=>{const[s]=e;let n=s.length;/^<\/?br/.test(s)&&(n-=1),t+=n})),t},es="",ts="",ss='';function ns(e,t,s,n,i){const r=n.clientId,o=(0,Zt.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,l.flatMap)(i,(s=>{let i;return i=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,n,i){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),r=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const n="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=n.length,blockEndOffset:t-=n.length}})(t,r,s);t=e.blockStartOffset,r=e.blockEndOffset}if(n.slice(t,r)===i.slice(t,r))return[{startOffset:t,endOffset:r}];const o=((e,t,s)=>{const n=s.slice(0,e),i=s.slice(0,t),r=((e,t,s,n)=>{const i=[...e.matchAll(Gt)];s-=Xt(i);const r=[...t.matchAll(Gt)];return{blockStartOffset:s,blockEndOffset:n-=Xt(r)}})(n,i,e,t),o=((e,t,s,n)=>{let i=[...e.matchAll(Jt)];return(0,l.forEachRight)(i,(e=>{const[,t]=e;s-=t.length})),i=[...t.matchAll(Jt)],(0,l.forEachRight)(i,(e=>{const[,t]=e;n-=t.length})),{blockStartOffset:s,blockEndOffset:n}})(n,i,e=r.blockStartOffset,t=r.blockEndOffset);return{blockStartOffset:e=o.blockStartOffset,blockEndOffset:t=o.blockEndOffset}})(t,r,n);return[{startOffset:o.blockStartOffset,endOffset:o.blockEndOffset}]}return[]}(s,r,n.name,e,o):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),n=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t,s=!0){const n=[];if(0===e.length)return n;let i,r=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,r))>-1;)n.push(i),r=i+t.length;return n}(e,s);if(0===i.length)return[];const r=function(e){let t=e.indexOf(es);const s=t>=0;s||(t=e.indexOf(ss));let n=null;const i=[];for(;t>=0;){if(n=(e=s?e.replace(es,""):e.replace(ss,"")).indexOf(ts),n{i.forEach((n=>{const i=n+e.startOffset;let r=n+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(r=n+s.length),o.push({startOffset:i,endOffset:r})}))})),o}(o,s),i?i.map((e=>({...e,block:r,richTextIdentifier:t}))):[]}))}const is=e=>e[0].toUpperCase()+e.slice(1),rs=(e,t,s,n,i)=>(e=e.map((e=>{const r=`${e.id}-${i[0]}`,o=`${e.id}-${i[1]}`,a=is(i[0]),l=is(i[1]),c=e[`json${a}`],p=e[`json${l}`],{marksForFirstSection:d,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=ns(c,r,s,n,d),g=ns(p,o,s,n,u);return h.concat(g)})),(0,l.flattenDeep)(e)),os="yoast";let as=[];const ls={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function cs(){const e=as.shift();e&&((0,d.dispatch)("core/annotations").__experimentalAddAnnotation(e),ps())}function ps(){(0,l.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(cs,{timeout:1e3}):setTimeout(cs,150)}const ds=(e,t)=>{return(0,l.flatMap)((s=e.name,ls.hasOwnProperty(s)?ls[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];return 0===n.length?[]:rs(n,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];if(n&&0===n.length)return[];const i=[];return"steps"===e.key&&i.push(rs(n,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),i.push(ns(n,"description",e,t,s))),(0,l.flattenDeep)(i)})(s,e,t):function(e,t,s){const n=e.key,i=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,n);return ns(i,n,e,t,s)}(s,e,t)));var s};function us(e,t){return(0,l.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?us(e.innerBlocks,t):[];return ds(e,t).concat(s)}))}function hs(e){as=[],(0,d.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(os);const t=Qt(e);if(0===e.length)return;let s=(0,d.select)("core/block-editor").getBlocks();var n;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),n=us(s,e),as=n.map((e=>({blockClientId:e.block,source:os,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),ps()}function gs(e,t){let s;lt(it)&&((0,l.isUndefined)(s)&&(s=Ge(tinyMCE.get(it))),s(e,t)),(0,d.select)("core/block-editor")&&(0,l.isFunction)((0,d.select)("core/block-editor").getBlocks)&&(0,d.select)("core/annotations")&&(0,l.isFunction)((0,d.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>Ge(e))).forEach((s=>s(e,t)))}(e,t),hs(t)),(0,h.doAction)("yoast.analysis.applyMarks",t)}function ms(){const e=(0,d.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,d.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?l.noop:gs}var fs=jQuery;function ys(e,t,s,n,i){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=fs("#post_ID, [name=tag_ID]").val(),this._taxonomy=fs("[name=taxonomy]").val()||"",this._nonce=i,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}ys.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,l.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,l.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},ys.prototype.setKeyword=function(e){(0,l.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},ys.prototype.requestKeywordUsage=function(e){fs.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},ys.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,n=t.keyword_usage,i=t.post_types;n&&(0,l.isArray)(n)&&(this._keywordUsage[e]=n,this._usedKeywordsPostTypes[e]=i,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{setFocusKeyword:ws,setMarkerStatus:bs,updateData:_s,setCornerstoneContent:ks,refreshSnippetEditor:vs,setReadabilityResults:xs,setSeoResultsForKeyword:Es}=se.actions;function Ss(e,s,i){if("undefined"==typeof wpseoScriptData)return;let r,o,a,c;const p=new Ht;function u(e){return""===e.responseText?o.val():jQuery("
"+e.responseText+"
").find("#editable-post-name-full").text()}function g(){const e={};return Dt()&&(e.output="does-not-really-exist-but-it-needs-something"),Mt()&&(e.contentOutput="also-does-not-really-exist-but-it-needs-something"),e}function m(e){(0,l.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,l.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let f;function y(e,t){const s=f||"";f=e.getState().analysisData.snippet,!(0,Ee.isShallowEqualObjects)(s,f)&&t()}function w(e,t){"visual"!==e?t.dispatch(bs("disabled")):t.dispatch(bs("enabled"))}function b(){return(0,d.select)("core/edit-post").getEditorMode()}jQuery(document).on("ajaxComplete",(function(e,t,n){if("/admin-ajax.php"===n.url.substring(n.url.length-15)&&"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")){c.leavePostNameUntouched=!0;const e={slug:u(t)};s.dispatch(_s(e))}})),function(){if(r=e("#wpseo_meta"),ot(s),ft(),function(){const e=new st;e.isClassicEditorHidden()&&dt(),e.vcActive?dt():e.listen({classicEditorHidden:()=>{dt()},classicEditorShown:()=>{mt()||ut()}})}(),0===r.length)return;c=function(e){const t=new Wt({data:e,store:s});return t.leavePostNameUntouched=!1,t}(i),Ct();const u=function(t){const s={elementTarget:[it,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:g(),callbacks:{getData:c.getData.bind(c)},locale:wpseoScriptData.metabox.contentLocale,marker:ms(),contentAnalysisActive:Mt(),keywordAnalysisActive:Dt(),hasSnippetPreview:!1,debouncedRefresh:!1,researcher:new window.yoast.Researcher.default};Dt()&&(t.dispatch(ws(e("#yoast_wpseo_focuskw").val())),s.callbacks.saveScores=c.saveScores.bind(c),s.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(Es(s,e)),t.dispatch(vs())}),Mt()&&(s.callbacks.saveContentScore=c.saveContentScore.bind(c),s.callbacks.updatedContentResults=function(e){t.dispatch(xs(e)),t.dispatch(vs())}),o=e("#title");const n=It();return(0,l.isUndefined)(n)||(0,l.isUndefined)(n.domain)||(s.translations=n),s}(s);a=new xe.App(u),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=a,window.YoastSEO.store=s,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,l.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,xe.createWorker)(e),s=(0,l.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),n=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const i=t.innerHTML.slice(214),r=i.indexOf(","),o=i.slice(0,r-1);try{const e=JSON.parse(i.slice(r+1,-4));n.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:n}),new xe.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,n,i){const r=(0,l.cloneDeep)(t.getState());(0,l.merge)(r,s.getData());const o=e.getData();let a=null;i&&(a=i.getBlocks()||[],a=a.filter((e=>e.isValid)));const c={text:o.content,textTitle:o.title,keyword:r.focusKeyword,synonyms:r.synonyms,description:r.analysisData.snippet.description||r.snippetEditor.data.description,title:r.analysisData.snippet.title||r.snippetEditor.data.title,slug:r.snippetEditor.data.slug,permalink:r.settings.snippetEditor.baseUrl+r.snippetEditor.data.slug,wpBlocks:a,date:r.settings.snippetEditor.date};n.loaded&&(c.title=n._applyModifications("data_page_title",c.title),c.title=n._applyModifications("title",c.title),c.description=n._applyModifications("data_meta_desc",c.description),c.text=n._applyModifications("content",c.text),c.wpBlocks=n._applyModifications("wpBlocks",c.wpBlocks));const p=r.analysisData.snippet.filteredSEOTitle;return c.titleWidth=zt(p||r.snippetEditor.data.title),c.locale=At(),c.writingDirection=function(){let e="LTR";return Ot().isRtl&&(e="RTL"),e}(),c.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],xe.Paper.parse((0,h.applyFilters)("yoast.analysis.data",c))}(i,s,p,a.pluggable,(0,d.select)("core/block-editor")),window.YoastSEO.analysis.applyMarks=(e,t)=>ms()(e,t),window.YoastSEO.app.refresh=(0,l.debounce)((()=>Ut(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500),window.YoastSEO.app.registerCustomDataCallback=p.register,window.YoastSEO.app.pluggable=new wt(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,l.isUndefined)(a.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(a.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(a.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Nt),window.YoastSEO.app.refresh()},function(e,t,s){const n=Ot();if(!n.previouslyUsedKeywordActive)return;const i=new ys("get_focus_keyword_usage_and_post_types",n,e,(0,l.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,l.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));i.init();let r={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==r.focusKeyword&&(r=e,i.setKeyword(e.focusKeyword))}))}(a.refresh,0,s),s.subscribe(y.bind(null,s,a.refresh)),window.YoastSEO.analyzerArgs=u,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new Be(a,s),function(e,t){let s=[];s=(0,h.applyFilters)("yoast.analysis.shortcodes",s);const n=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>n.includes(e))),s.length>0&&(t.dispatch(Ye(s)),window.YoastSEO.wp.shortcodePlugin=new ze({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(a,s),ve()&&new Fe(a.registerPlugin,a.registerModification,window.YoastSEO.app.refresh).register(),wpseoScriptData.metabox.markdownEnabled&&new We(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=t,Dt()&&function(t){const s=qt(e("#yoast_wpseo_linkdex").val());Tt(s),Pt(s),t.updateScore("keyword",s.className)}(n),Mt()&&function(t){const s=qt(e("#yoast_wpseo_content_score").val());Pt(s),t.updateScore("content",s.className)}(n),Lt()&&function(t){const s=qt(e("#yoast_wpseo_inclusive_language_score").val());Pt(s),t.updateScore("inclusive-language",s.className)}(n),window.YoastSEO.analysis.worker.initialize(function(e={}){let t={locale:At(),contentAnalysisActive:Mt(),keywordAnalysisActive:Dt(),inclusiveLanguageAnalysisActive:Lt(),defaultQueryParams:(0,l.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,l.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,Bt.enabledFeatures)()};t=(0,l.merge)(t,e);const s=It();return(0,l.isUndefined)(s)||(0,l.isUndefined)(s.domain)||(t.translations=s),t}()).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(Nt),c.bindElementEvents((0,l.debounce)((()=>Ut(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500)),m(a);const f=a.initAssessorPresenters.bind(a);a.initAssessorPresenters=function(){f(),m(a)},i.setRefresh&&i.setRefresh(a.refresh);let _={title:(k=c).getSnippetTitle(),slug:k.getSnippetCite(),description:k.getSnippetMeta()};var k;const v=function(e){const t={};if((0,l.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,l.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);_=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&""===e[n]&&(s[n]=t)})),s}(_,v),s.dispatch(_s(_)),s.dispatch(ks("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));let x=s.getState().focusKeyword;bt(window.YoastSEO.analysis.worker.runResearch,s,x);const E=(0,l.debounce)((()=>{a.refresh()}),50);let S=null;if(s.subscribe((()=>{const t=s.getState().focusKeyword;x!==t&&(x=t,bt(window.YoastSEO.analysis.worker.runResearch,s,x),e("#yoast_wpseo_focuskw").val(x),E());const n=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(s),i=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&e[n].trim()===t&&(s[n]="")})),s}(n,v);_.title!==n.title&&c.setDataFromSnippet(i.title,"snippet_title"),_.slug!==n.slug&&c.setDataFromSnippet(i.slug,"snippet_cite"),_.description!==n.description&&c.setDataFromSnippet(i.description,"snippet_meta");const r=s.getState();S!==r.isCornerstone&&(S=r.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=r.isCornerstone,a.changeAssessorOptions({useCornerstone:r.isCornerstone})),_.title=n.title,_.slug=n.slug,_.description=n.description})),ve()){let e=b();w(e,s),(0,d.subscribe)((()=>{const t=b();t!==e&&(e=t,w(e,s))}))}Ft=!0,window.YoastSEO.app.refresh()}()}window.YoastReplaceVarPlugin=Be,window.YoastShortcodePlugin=qe;const Rs=window.yoast.styledComponents;var Cs=s.n(Rs);const Ts=window.wp.compose,Ps=Cs().div` +(0,g.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO"),l.upsellLink=n)}const p=(0,d.useSelect)((e=>e(J).selectImageLink("ai-generator-preview.png")),[]),h=(0,u.useMemo)((()=>({src:p,width:"432",height:"244"})),[p]),m=(0,d.useSelect)((e=>e(J).selectWistiaEmbedPermissionValue()),[]),f=(0,d.useSelect)((e=>e(J).selectWistiaEmbedPermissionStatus()),[]),{setWistiaEmbedPermission:y}=(0,d.useDispatch)(J),w=(0,u.useMemo)((()=>({value:m,status:f,set:y})),[m,f,y]);return(0,c.createElement)(k,{learnMoreLink:e,thumbnail:h,wistiaEmbedPermission:w,...l})},ee=({fieldId:e})=>{const[t,,,s,n]=(0,m.useToggleState)(!1),i=(0,u.useCallback)((()=>{s()}),[s]),r=(0,u.useRef)(null);return(0,c.createElement)(c.Fragment,null,(0,c.createElement)("button",{type:"button",id:`yst-replacevar__use-ai-button__${e}`,className:"yst-replacevar__use-ai-button-upsell",onClick:i},(0,g.__)("Use AI","wordpress-seo")),(0,c.createElement)(m.Modal,{className:"yst-introduction-modal",isOpen:t,onClose:n,initialFocus:r},(0,c.createElement)(m.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-rounded-3xl yst-introduction-modal-panel"},(0,c.createElement)(X,{onClose:n,focusElementRef:r}))))};ee.propTypes={fieldId:y().string.isRequired};const te="yoast-seo/editor";const se=window.yoast.externals.redux,ne=window.yoast.reduxJsToolkit,ie=window.wp.url,re="linkParams",oe=(0,ne.createSlice)({name:re,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),ae=(oe.getInitialState,{selectLinkParam:(e,t,s={})=>(0,l.get)(e,`${re}.${t}`,s),selectLinkParams:e=>(0,l.get)(e,re,{})});ae.selectLink=(0,ne.createSelector)([ae.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,ie.addQueryArgs)(t,{...e,...s}))),oe.actions,oe.reducer;const le=(0,ne.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:n,description:i})=>({payload:{id:e||(0,ne.nanoid)(),variant:t,size:s,title:n||"",description:i}})},removeNotification:(e,{payload:t})=>(0,l.omit)(e,t)}}),ce=(le.getInitialState,le.actions,le.reducer,"pluginUrl"),pe=(0,ne.createSlice)({name:ce,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),de=(pe.getInitialState,{selectPluginUrl:e=>(0,l.get)(e,ce,"")});de.selectImageLink=(0,ne.createSelector)([de.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,l.trimEnd)(e,"/"),(0,l.trim)(t,"/"),(0,l.trimStart)(s,"/")].join("/"))),pe.actions,pe.reducer;const ue=window.wp.apiFetch;var he=s.n(ue);const ge="wistiaEmbedPermission",me=(0,ne.createSlice)({name:ge,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${ge}/request`,(e=>{e.status=W})),e.addCase(`${ge}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${ge}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,l.get)(t,"error.code",500),message:(0,l.get)(t,"error.message","Unknown")}}))}}),fe=(me.getInitialState,me.actions,{[ge]:async({payload:e})=>he()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function ye({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function we({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}me.reducer;const be=fe[ge];var _e=s(2322),ke=s.n(_e);function ve(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}const xe=window.yoast.analysis,Ee=window.wp.isShallowEqual,Se=window.wp.api;var Re={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},Ce=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,l.defaults)(s,Re)};Ce.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},Ce.prototype.setSource=function(e){this.options.source=e},Ce.prototype.hasScope=function(){return!(0,l.isEmpty)(this.options.scope)},Ce.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},Ce.prototype.inScope=function(e){return!this.hasScope()||(0,l.indexOf)(this.options.scope,e)>-1},Ce.prototype.hasAlias=function(){return!(0,l.isEmpty)(this.options.aliases)},Ce.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},Ce.prototype.getAliases=function(){return this.options.aliases};const Te=Ce,{removeReplacementVariable:Pe,updateReplacementVariable:Oe,refreshSnippetEditor:Ae}=se.actions;var Ie=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],Me={},De={},Le=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};Le.prototype.registerReplacements=function(){this.addReplacement(new Te("%%author_first_name%%","author_first_name")),this.addReplacement(new Te("%%author_last_name%%","author_last_name")),this.addReplacement(new Te("%%category%%","category")),this.addReplacement(new Te("%%category_title%%","category_title")),this.addReplacement(new Te("%%currentdate%%","currentdate")),this.addReplacement(new Te("%%currentday%%","currentday")),this.addReplacement(new Te("%%currentmonth%%","currentmonth")),this.addReplacement(new Te("%%currenttime%%","currenttime")),this.addReplacement(new Te("%%currentyear%%","currentyear")),this.addReplacement(new Te("%%date%%","date")),this.addReplacement(new Te("%%id%%","id")),this.addReplacement(new Te("%%page%%","page")),this.addReplacement(new Te("%%permalink%%","permalink")),this.addReplacement(new Te("%%post_content%%","post_content")),this.addReplacement(new Te("%%post_month%%","post_month")),this.addReplacement(new Te("%%post_year%%","post_year")),this.addReplacement(new Te("%%searchphrase%%","searchphrase")),this.addReplacement(new Te("%%sitedesc%%","sitedesc")),this.addReplacement(new Te("%%sitename%%","sitename")),this.addReplacement(new Te("%%userid%%","userid")),this.addReplacement(new Te("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new Te("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new Te("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new Te("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new Te("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new Te("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new Te("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new Te("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new Te("%%sep%%(\\s*%%sep%%)*","sep"))},Le.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},Le.prototype.subscribeToGutenberg=function(){if(!ve())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const n=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==n&&t!==n)return t=n,n<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,l.isUndefined)(e[n])?void Se.loadPromise.done((()=>{new Se.models.Page({id:n}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[n]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[n],void this.declareReloaded())}))},Le.prototype.addReplacement=function(e){Me[e.placeholder]=e},Le.prototype.removeReplacement=function(e){delete Me[e.getPlaceholder()]},Le.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,l.forEach)(Ie,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},Le.prototype.replaceVariables=function(e){return(0,l.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},Le.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,l.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},Le.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},Le.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},Le.prototype.replacePlaceholders=function(e){return(0,l.forEach)(Me,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},Le.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(Ae())},Le.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},Le.prototype.parseTaxonomies=function(e,t){(0,l.isUndefined)(De[t])&&(De[t]={});const s=[];(0,l.forEach)(e,function(e){const n=(e=jQuery(e)).val(),i=this.getCategoryName(e),r=e.prop("checked");De[t][n]={label:i,checked:r},r&&-1===s.indexOf(i)&&s.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(Oe(t,s.join(", ")))},Le.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},Le.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},Le.prototype.replaceCustomTaxonomy=function(e){return(0,l.forEach)(De,function(t,s){var n="%%ct_"+s+"%%";"category"===s&&(n="%%"+s+"%%"),e=e.replace(n,this.getTaxonomyReplaceVar(s))}.bind(this)),e},Le.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=De[e];return!0===(0,l.isUndefined)(s)?"":((0,l.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},Le.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),n=jQuery("#"+t.id+"-value").val();const i="cf_"+this.sanitizeCustomFieldNames(s),r=s+" (custom field)";this._store.dispatch(Oe(i,n,r)),this.addReplacement(new Te(`%%${i}%%`,n,{source:"direct"}))}.bind(this))},Le.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},Le.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},Le.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},Le.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},Le.prototype.removeCustomFields=function(){var e=(0,l.filter)(Me,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,l.forEach)(e,function(e){this._store.dispatch(Pe((0,l.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},Le.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),ve()&&!(0,l.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},Le.prototype.hasParentTitle=function(e){return!(0,l.isUndefined)(e)&&!(0,l.isUndefined)(e.prop("options"))},Le.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},Le.ReplaceVar=Te;const Be=Le,Ne=window.wp.blocks,Fe=class{constructor(e,t,s){this._registerPlugin=e,this._registerModification=t,this._refreshAnalysis=s,this._reusableBlocks={},this._selectCore=(0,d.select)("core"),this._selectCoreEditor=(0,d.select)("core/editor"),this.reusableBlockChangeListener=this.reusableBlockChangeListener.bind(this),this.parseReusableBlocks=this.parseReusableBlocks.bind(this)}register(){this._registerPlugin("YoastReusableBlocksPlugin",{status:"ready"}),this._registerModification("content",this.parseReusableBlocks,"YoastReusableBlocksPlugin",1),(0,d.subscribe)((0,l.debounce)(this.reusableBlockChangeListener,500))}reusableBlockChangeListener(){const{blocks:e}=this._selectCoreEditor.getPostEdits();if(!e)return;let t=!1;e.forEach((e=>{if(!(0,Ne.isReusableBlock)(e))return;const s=this.getBlockContent(e.attributes.ref);this._reusableBlocks[e.attributes.ref]?this._reusableBlocks[e.attributes.ref].content!==s&&(this._reusableBlocks[e.attributes.ref].content=s,t=!0):(this._reusableBlocks[e.attributes.ref]={id:e.attributes.ref,clientId:e.clientId,content:s},t=!0)})),t&&this._refreshAnalysis()}parseReusableBlocks(e){const t=//g;return e.match(t)?e.replace(t,((t,s)=>this._reusableBlocks[s]&&this._reusableBlocks[s].content?this._reusableBlocks[s].content:e)):e}getBlockContent(e){const t=this._selectCore.getEditedEntityRecord("postType","wp_block",e);if(t){if((0,l.isFunction)(t.content))return t.content(t);if(t.blocks)return(0,Ne.__unstableSerializeAndClean)(t.blocks);if(t.content)return t.content}return""}},$e="[^<>&/\\[\\]\0- =]+?",Ue=new RegExp("\\["+$e+"( [^\\]]+?)?\\]","g"),je=new RegExp("\\[/"+$e+"\\]","g");class ze{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:n},i){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=n,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const r="("+i.join("|")+")";this.shortcodesRegex=new RegExp(r,"g"),this.closingTagRegex=new RegExp("\\[\\/"+r+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+r+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(Ue,"")).replace(je,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,l.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,l.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const qe=ze,{updateShortcodesForParsing:Ye}=se.actions;var Ve=s(7084),Ke=s.n(Ve);const We=class{constructor(e,t){this._registerPlugin=e,this._registerModification=t}register(){this._registerPlugin("YoastMarkdownPlugin",{status:"ready"}),this._registerModification("content",this.parseMarkdown.bind(this),"YoastMarkdownPlugin",1)}parseMarkdown(e){return Ke()(e)}},He="yoastmark";function Qe(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function Ze(e,t,s){const n=e.dom;let i=e.getContent();if(i=xe.markers.removeMarks(i),(0,l.isEmpty)(s))return void e.setContent(i);i=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,l.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const n=e[s];Qe(n,t)||(t=n.applyWithPosition(t))}return t}(s,i):function(e,t,s,n){const{fieldsToMark:i,selectedHTML:r}=xe.languageProcessing.getFieldsToMark(s,n);return(0,l.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=xe.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=xe.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?r.forEach((e=>{const s=t.applyWithReplace(e);n=n.replace(e,s)})):n=t.applyWithReplace(n)})),n}(e,0,s,i),e.setContent(i),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const r=n.select(He);(0,l.forEach)(r,(function(e){e.setAttribute("data-mce-bogus","1")}))}function Ge(e){return window.test=e,Ze.bind(null,e)}const Je="et_pb_main_editor_wrap",Xe=class{static isActive(){return!!document.getElementById(Je)}static isTinyMCEHidden(){const e=document.getElementById(Je);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(Je),this.classicEditorContainer&&new MutationObserver((t=>{(0,l.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},et=class{static isActive(){return!!window.VCV_I18N}},tt={classicEditorHidden:l.noop,classicEditorShown:l.noop,pageBuilderLoaded:l.noop},st=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){Xe.isActive()&&(this.diviActive=!0),et.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,l.defaults)(e,tt),this.diviActive&&(new Xe).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!Xe.isTinyMCEHidden())}};let nt;const it="content",rt="description";function ot(e){nt=e}function at(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function lt(e){if(!at())return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function ct(e){let t="";var s;return t=!1===lt(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}function pt(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(n){const i=n.editor;i.id===e&&(0,l.forEach)(t,(function(e){i.on(e,s)}))}))}function dt(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerStatus("disabled"))}function ut(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerStatus("enabled"))}function ht(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerPauseStatus(!0))}function gt(){(0,l.isUndefined)(nt)||nt.dispatch(se.actions.setMarkerPauseStatus(!1))}function mt(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function ft(){mt()&&(dt(),at()&&tinyMCE.on("AddEditor",(function(){ut()})))}function yt(e,t){pt(t,["input","change","cut","paste"],e),pt(t,["hide"],dt);const s=["show"];(new st).isPageBuilderActive()||s.push("init"),pt(t,s,ut),pt("content",["focus"],(function(e){const t=e.target;(function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+He)})(t)&&(function(e){Ge(e)(null,[])}(t),YoastSEO.app.disableMarkers()),ht()})),pt("content",["blur"],(function(){gt()}))}class wt{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,l.isString)(e)?(0,l.isUndefined)(t)||(0,l.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,l.isString)(e)?(0,l.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,n){if(!(0,l.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,l.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,l.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const i={callable:t,origin:s,priority:(0,l.isNumber)(n)?n:10};return(0,l.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerAssessment(e,t,s,n){return(0,l.isString)(t)?(0,l.isObject)(s)?(0,l.isString)(n)?(t=n+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+n+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let n=this.modifications[e];return!(0,l.isArray)(n)||n.length<1||(n=this._stripIllegalModifications(n),n.sort(((e,t)=>e.priority-t.priority)),(0,l.forEach)(n,(function(n){const i=n.callable(t,s);typeof i==typeof t?t=i:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,l.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,l.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,l.forEach)(this.plugins,(function(e,t){(0,l.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,l.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,l.isUndefined)(this.plugins[e])}}function bt(e,t,s){e("morphology",new xe.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(se.actions.updateWordsToHighlight((0,l.uniq)((0,l.flatten)(s))))})).catch((()=>{t.dispatch(se.actions.updateWordsToHighlight([]))}))}var _t="score-text",kt="image yoast-logo svg",vt=jQuery;function xt(e,t,s=null){return null!==s?(0,l.get)(s,t,""):(0,l.get)(wpseoScriptData,`metabox.publish_box.labels.${e}.${t}`,"")}function Et(e,t,s=null){var n=vt("#"+e+"-score"),i=kt+" "+t;n.children(".image").attr("class",i);var r=xt(e,t,s);n.children("."+_t).html(r)}function St(e,t,s=null){const n=vt("
",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),i=vt("",{class:_t,html:xt(e,t,s)}),r=vt("").attr("class",kt+" na");n.append(r).append(i),vt("#yoast-seo-publishbox-section").append(n)}function Rt(e){const t=vt("#wpadminbar"),s=vt(e);if(!t||!s)return;const n="fixed"===t.css("position")?t.height():0;vt([document.documentElement,document.body]).animate({scrollTop:s.offset().top-n},1e3),s.trigger("focus"),0===s.parent().siblings().length&&s.trigger("click")}function Ct(){var e="na";wpseoScriptData.metabox.keywordAnalysisActive&&St("keyword",e),wpseoScriptData.metabox.contentAnalysisActive&&St("content",e),wpseoScriptData.metabox.inclusiveLanguageAnalysisActive&&St("inclusive-language",e),vt("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),Rt("#wpseo-meta-section-readability")})),vt("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-content").click(),Rt("#yoast-seo-analysis-collapsible-metabox")})),vt("#inclusive-language-score").on("click","[href='#yoast-inclusive-language-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-inclusive-language").click(),Rt("#wpseo-meta-section-inclusive-language")}))}function Tt(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}function Pt(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function Ot(){return(0,l.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function At(){const e=Ot();return(0,l.get)(e,"contentLocale","en_US")}function It(){const e=Ot();return(0,l.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}function Mt(){const e=Ot();return!0===(0,l.get)(e,"contentAnalysisActive",!1)}function Dt(){const e=Ot();return!0===(0,l.get)(e,"keywordAnalysisActive",!1)}function Lt(){const e=Ot();return!0===(0,l.get)(e,"inclusiveLanguageAnalysisActive",!1)}const Bt=window.yoast.featureFlag;function Nt(){}let Ft=!1;function $t(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function Ut(e,t,s,n,i){if(!Ft)return;const r=xe.Paper.parse(t());e.analyze(r).then((o=>{const{result:{seo:a,readability:l,inclusiveLanguage:c}}=o;if(a){const e=a[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),e.results=$t(e.results),n.dispatch(se.actions.setSeoResultsForKeyword(r.getKeyword(),e.results)),n.dispatch(se.actions.setOverallSeoScore(e.score,r.getKeyword())),n.dispatch(se.actions.refreshSnippetEditor()),i.saveScores(e.score,r.getKeyword())}l&&(l.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),l.results=$t(l.results),n.dispatch(se.actions.setReadabilityResults(l.results)),n.dispatch(se.actions.setOverallReadabilityScore(l.score)),n.dispatch(se.actions.refreshSnippetEditor()),i.saveContentScore(l.score)),c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(r,e.marks)})),c.results=$t(c.results),n.dispatch(se.actions.setInclusiveLanguageResults(c.results)),n.dispatch(se.actions.setOverallInclusiveLanguageScore(c.score)),n.dispatch(se.actions.refreshSnippetEditor()),i.saveInclusiveLanguageScore(c.score)),(0,h.doAction)("yoast.analysis.refresh",o,{paper:r,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:i})})).catch(Nt)}const jt="yoast-measurement-element";function zt(e){let t=document.getElementById(jt);return t||(t=function(){const e=document.createElement("div");return e.id=jt,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}function qt(e){return(0,l.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,g.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,g.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,g.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,g.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,g.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,g.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(xe.interpreters.scoreToRating(e))}const{tmceId:Yt}=t,Vt=jQuery,Kt=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._data=e.data,this._store=e.store};Kt.prototype.getData=function(){const e=this._data.getData(),t=this._store.getState();return{keyword:Dt()?this.getKeyword():"",meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:zt(this.getSnippetTitle()),metaTitle:(0,l.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,l.get)(t,["snippetEditor","data","slug"],e.slug),meta:this.getMetaDescForAnalysis(t)}},Kt.prototype.getKeyword=function(){return document.getElementById("yoast_wpseo_focuskw")&&document.getElementById("yoast_wpseo_focuskw").value||""},Kt.prototype.getMetaDescForAnalysis=function(e){let t=(0,l.get)(e,["analysisData","snippet","description"],this.getSnippetMeta());return""!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+" - "+t),t},Kt.prototype.getMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},Kt.prototype.getText=function(){return xe.markers.removeMarks(ct(Yt))},Kt.prototype.getTitle=function(){return document.getElementById("title")&&document.getElementById("title").value||""},Kt.prototype.getUrl=function(){const e=(0,d.select)("core/editor");if(e&&e.getCurrentPostAttribute("slug"))return e.getCurrentPostAttribute("slug");var t="",s=Vt("#new-post-slug");return 0 label");return n.length?e=this.getCategoryName(n):e},Kt.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},Kt.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},Kt.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},Kt.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),t.text().trim()},Kt.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},Kt.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},Kt.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},Kt.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],s=0;s{e=(0,l.merge)(e,t())})),e}}window.wp.annotations;const Qt=function(e){return(0,l.uniq)((0,l.flatten)(e.map((e=>{if(!(0,l.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Zt=window.wp.richText,Gt=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:Jt}=xe.helpers.htmlEntities,Xt=e=>{let t=0;return(0,l.forEachRight)(e,(e=>{const[s]=e;let n=s.length;/^<\/?br/.test(s)&&(n-=1),t+=n})),t},es="",ts="",ss='';function ns(e,t,s,n,i){const r=n.clientId,o=(0,Zt.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,l.flatMap)(i,(s=>{let i;return i=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,n,i){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),r=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const n="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=n.length,blockEndOffset:t-=n.length}})(t,r,s);t=e.blockStartOffset,r=e.blockEndOffset}if(n.slice(t,r)===i.slice(t,r))return[{startOffset:t,endOffset:r}];const o=((e,t,s)=>{const n=s.slice(0,e),i=s.slice(0,t),r=((e,t,s,n)=>{const i=[...e.matchAll(Gt)];s-=Xt(i);const r=[...t.matchAll(Gt)];return{blockStartOffset:s,blockEndOffset:n-=Xt(r)}})(n,i,e,t),o=((e,t,s,n)=>{let i=[...e.matchAll(Jt)];return(0,l.forEachRight)(i,(e=>{const[,t]=e;s-=t.length})),i=[...t.matchAll(Jt)],(0,l.forEachRight)(i,(e=>{const[,t]=e;n-=t.length})),{blockStartOffset:s,blockEndOffset:n}})(n,i,e=r.blockStartOffset,t=r.blockEndOffset);return{blockStartOffset:e=o.blockStartOffset,blockEndOffset:t=o.blockEndOffset}})(t,r,n);return[{startOffset:o.blockStartOffset,endOffset:o.blockEndOffset}]}return[]}(s,r,n.name,e,o):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),n=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t,s=!0){const n=[];if(0===e.length)return n;let i,r=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,r))>-1;)n.push(i),r=i+t.length;return n}(e,s);if(0===i.length)return[];const r=function(e){let t=e.indexOf(es);const s=t>=0;s||(t=e.indexOf(ss));let n=null;const i=[];for(;t>=0;){if(n=(e=s?e.replace(es,""):e.replace(ss,"")).indexOf(ts),n{i.forEach((n=>{const i=n+e.startOffset;let r=n+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(r=n+s.length),o.push({startOffset:i,endOffset:r})}))})),o}(o,s),i?i.map((e=>({...e,block:r,richTextIdentifier:t}))):[]}))}const is=e=>e[0].toUpperCase()+e.slice(1),rs=(e,t,s,n,i)=>(e=e.map((e=>{const r=`${e.id}-${i[0]}`,o=`${e.id}-${i[1]}`,a=is(i[0]),l=is(i[1]),c=e[`json${a}`],p=e[`json${l}`],{marksForFirstSection:d,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=ns(c,r,s,n,d),g=ns(p,o,s,n,u);return h.concat(g)})),(0,l.flattenDeep)(e)),os="yoast";let as=[];const ls={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function cs(){const e=as.shift();e&&((0,d.dispatch)("core/annotations").__experimentalAddAnnotation(e),ps())}function ps(){(0,l.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(cs,{timeout:1e3}):setTimeout(cs,150)}const ds=(e,t)=>{return(0,l.flatMap)((s=e.name,ls.hasOwnProperty(s)?ls[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];return 0===n.length?[]:rs(n,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];if(n&&0===n.length)return[];const i=[];return"steps"===e.key&&i.push(rs(n,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),i.push(ns(n,"description",e,t,s))),(0,l.flattenDeep)(i)})(s,e,t):function(e,t,s){const n=e.key,i=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,n);return ns(i,n,e,t,s)}(s,e,t)));var s};function us(e,t){return(0,l.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?us(e.innerBlocks,t):[];return ds(e,t).concat(s)}))}function hs(e){as=[],(0,d.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(os);const t=Qt(e);if(0===e.length)return;let s=(0,d.select)("core/block-editor").getBlocks();var n;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),n=us(s,e),as=n.map((e=>({blockClientId:e.block,source:os,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),ps()}function gs(e,t){let s;lt(it)&&((0,l.isUndefined)(s)&&(s=Ge(tinyMCE.get(it))),s(e,t)),(0,d.select)("core/block-editor")&&(0,l.isFunction)((0,d.select)("core/block-editor").getBlocks)&&(0,d.select)("core/annotations")&&(0,l.isFunction)((0,d.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>Ge(e))).forEach((s=>s(e,t)))}(e,t),hs(t)),(0,h.doAction)("yoast.analysis.applyMarks",t)}function ms(){const e=(0,d.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,d.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?l.noop:gs}var fs=jQuery;function ys(e,t,s,n,i){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=fs("#post_ID, [name=tag_ID]").val(),this._taxonomy=fs("[name=taxonomy]").val()||"",this._nonce=i,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}ys.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,l.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,l.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},ys.prototype.setKeyword=function(e){(0,l.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},ys.prototype.requestKeywordUsage=function(e){fs.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},ys.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,n=t.keyword_usage,i=t.post_types;n&&(0,l.isArray)(n)&&(this._keywordUsage[e]=n,this._usedKeywordsPostTypes[e]=i,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{setFocusKeyword:ws,setMarkerStatus:bs,updateData:_s,setCornerstoneContent:ks,refreshSnippetEditor:vs,setReadabilityResults:xs,setSeoResultsForKeyword:Es}=se.actions;function Ss(e,s,i){if("undefined"==typeof wpseoScriptData)return;let r,o,a,c;const p=new Ht;function u(e){return""===e.responseText?o.val():jQuery("
"+e.responseText+"
").find("#editable-post-name-full").text()}function g(){const e={};return Dt()&&(e.output="does-not-really-exist-but-it-needs-something"),Mt()&&(e.contentOutput="also-does-not-really-exist-but-it-needs-something"),e}function m(e){(0,l.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,l.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let f;function y(e,t){const s=f||"";f=e.getState().analysisData.snippet,!(0,Ee.isShallowEqualObjects)(s,f)&&t()}function w(e,t){"visual"!==e?t.dispatch(bs("disabled")):t.dispatch(bs("enabled"))}function b(){return(0,d.select)("core/edit-post").getEditorMode()}jQuery(document).on("ajaxComplete",(function(e,t,n){if("/admin-ajax.php"===n.url.substring(n.url.length-15)&&"string"==typeof n.data&&-1!==n.data.indexOf("action=sample-permalink")){c.leavePostNameUntouched=!0;const e={slug:u(t)};s.dispatch(_s(e))}})),function(){if(r=e("#wpseo_meta"),ot(s),ft(),function(){const e=new st;e.isClassicEditorHidden()&&dt(),e.vcActive?dt():e.listen({classicEditorHidden:()=>{dt()},classicEditorShown:()=>{mt()||ut()}})}(),0===r.length)return;c=function(e){const t=new Wt({data:e,store:s});return t.leavePostNameUntouched=!1,t}(i),Ct();const u=function(t){const s={elementTarget:[it,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:g(),callbacks:{getData:c.getData.bind(c)},locale:wpseoScriptData.metabox.contentLocale,marker:ms(),contentAnalysisActive:Mt(),keywordAnalysisActive:Dt(),debouncedRefresh:!1,researcher:new window.yoast.Researcher.default};Dt()&&(t.dispatch(ws(e("#yoast_wpseo_focuskw").val())),s.callbacks.saveScores=c.saveScores.bind(c),s.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(Es(s,e)),t.dispatch(vs())}),Mt()&&(s.callbacks.saveContentScore=c.saveContentScore.bind(c),s.callbacks.updatedContentResults=function(e){t.dispatch(xs(e)),t.dispatch(vs())}),o=e("#title");const n=It();return(0,l.isUndefined)(n)||(0,l.isUndefined)(n.domain)||(s.translations=n),s}(s);a=new xe.App(u),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=a,window.YoastSEO.store=s,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,l.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,xe.createWorker)(e),s=(0,l.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),n=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const i=t.innerHTML.slice(214),r=i.indexOf(","),o=i.slice(0,r-1);try{const e=JSON.parse(i.slice(r+1,-4));n.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:n}),new xe.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,n,i){const r=(0,l.cloneDeep)(t.getState());(0,l.merge)(r,s.getData());const o=e.getData();let a=null;i&&(a=i.getBlocks()||[],a=a.filter((e=>e.isValid)));const c={text:o.content,textTitle:o.title,keyword:r.focusKeyword,synonyms:r.synonyms,description:r.analysisData.snippet.description||r.snippetEditor.data.description,title:r.analysisData.snippet.title||r.snippetEditor.data.title,slug:r.snippetEditor.data.slug,permalink:r.settings.snippetEditor.baseUrl+r.snippetEditor.data.slug,wpBlocks:a,date:r.settings.snippetEditor.date};n.loaded&&(c.title=n._applyModifications("data_page_title",c.title),c.title=n._applyModifications("title",c.title),c.description=n._applyModifications("data_meta_desc",c.description),c.text=n._applyModifications("content",c.text),c.wpBlocks=n._applyModifications("wpBlocks",c.wpBlocks));const p=r.analysisData.snippet.filteredSEOTitle;return c.titleWidth=zt(p||r.snippetEditor.data.title),c.locale=At(),c.writingDirection=function(){let e="LTR";return Ot().isRtl&&(e="RTL"),e}(),c.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],xe.Paper.parse((0,h.applyFilters)("yoast.analysis.data",c))}(i,s,p,a.pluggable,(0,d.select)("core/block-editor")),window.YoastSEO.analysis.applyMarks=(e,t)=>ms()(e,t),window.YoastSEO.app.refresh=(0,l.debounce)((()=>Ut(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500),window.YoastSEO.app.registerCustomDataCallback=p.register,window.YoastSEO.app.pluggable=new wt(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,l.isUndefined)(a.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(a.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(a.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Nt),window.YoastSEO.app.refresh()},function(e,t,s){const n=Ot();if(!n.previouslyUsedKeywordActive)return;const i=new ys("get_focus_keyword_usage_and_post_types",n,e,(0,l.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,l.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));i.init();let r={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==r.focusKeyword&&(r=e,i.setKeyword(e.focusKeyword))}))}(a.refresh,0,s),s.subscribe(y.bind(null,s,a.refresh)),window.YoastSEO.analyzerArgs=u,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new Be(a,s),function(e,t){let s=[];s=(0,h.applyFilters)("yoast.analysis.shortcodes",s);const n=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>n.includes(e))),s.length>0&&(t.dispatch(Ye(s)),window.YoastSEO.wp.shortcodePlugin=new ze({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(a,s),ve()&&new Fe(a.registerPlugin,a.registerModification,window.YoastSEO.app.refresh).register(),wpseoScriptData.metabox.markdownEnabled&&new We(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=t,Dt()&&function(t){const s=qt(e("#yoast_wpseo_linkdex").val());Tt(s),Pt(s),t.updateScore("keyword",s.className)}(n),Mt()&&function(t){const s=qt(e("#yoast_wpseo_content_score").val());Pt(s),t.updateScore("content",s.className)}(n),Lt()&&function(t){const s=qt(e("#yoast_wpseo_inclusive_language_score").val());Pt(s),t.updateScore("inclusive-language",s.className)}(n),window.YoastSEO.analysis.worker.initialize(function(e={}){let t={locale:At(),contentAnalysisActive:Mt(),keywordAnalysisActive:Dt(),inclusiveLanguageAnalysisActive:Lt(),defaultQueryParams:(0,l.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,l.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,Bt.enabledFeatures)()};t=(0,l.merge)(t,e);const s=It();return(0,l.isUndefined)(s)||(0,l.isUndefined)(s.domain)||(t.translations=s),t}()).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(Nt),c.bindElementEvents((0,l.debounce)((()=>Ut(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,s,c)),500)),m(a);const f=a.initAssessorPresenters.bind(a);a.initAssessorPresenters=function(){f(),m(a)},i.setRefresh&&i.setRefresh(a.refresh);let _={title:(k=c).getSnippetTitle(),slug:k.getSnippetCite(),description:k.getSnippetMeta()};var k;const v=function(e){const t={};if((0,l.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,l.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);_=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&""===e[n]&&(s[n]=t)})),s}(_,v),s.dispatch(_s(_)),s.dispatch(ks("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));let x=s.getState().focusKeyword;bt(window.YoastSEO.analysis.worker.runResearch,s,x);const E=(0,l.debounce)((()=>{a.refresh()}),50);let S=null;if(s.subscribe((()=>{const t=s.getState().focusKeyword;x!==t&&(x=t,bt(window.YoastSEO.analysis.worker.runResearch,s,x),e("#yoast_wpseo_focuskw").val(x),E());const n=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(s),i=function(e,t){const s={...e};return(0,l.forEach)(t,((t,n)=>{(0,l.has)(e,n)&&e[n].trim()===t&&(s[n]="")})),s}(n,v);_.title!==n.title&&c.setDataFromSnippet(i.title,"snippet_title"),_.slug!==n.slug&&c.setDataFromSnippet(i.slug,"snippet_cite"),_.description!==n.description&&c.setDataFromSnippet(i.description,"snippet_meta");const r=s.getState();S!==r.isCornerstone&&(S=r.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=r.isCornerstone,a.changeAssessorOptions({useCornerstone:r.isCornerstone})),_.title=n.title,_.slug=n.slug,_.description=n.description})),ve()){let e=b();w(e,s),(0,d.subscribe)((()=>{const t=b();t!==e&&(e=t,w(e,s))}))}Ft=!0,window.YoastSEO.app.refresh()}()}window.YoastReplaceVarPlugin=Be,window.YoastShortcodePlugin=qe;const Rs=window.yoast.styledComponents;var Cs=s.n(Rs);const Ts=window.wp.compose,Ps=Cs().div` padding-top: 6px; `,Os=e=>{const{value:t,id:s,terms:n,onChange:i}=e,r=(0,u.useCallback)((e=>{i(parseInt(e.target.value,10))}),[i]);return(0,c.createElement)(Ps,null,(0,c.createElement)("select",{className:"components-select-control__input",id:s,value:t,onChange:r},n.map((e=>(0,c.createElement)("option",{key:e.id,value:e.id},(0,l.unescape)(e.name))))))};Os.propTypes={terms:y().arrayOf(y().shape({id:y().number.isRequired,name:y().string.isRequired})),onChange:y().func.isRequired,id:y().string,value:y().number};const As=Os,Is=Cs().div` padding-top: 16px; @@ -19,6 +19,4 @@ (0,g.__)("Select the primary %s","wordpress-seo"),t.singularLabel.toLowerCase())),(0,c.createElement)(As,{value:e,onChange:this.onChange,id:s,terms:this.state.selectedTerms}))}}Ms.propTypes={selectedTermIds:y().arrayOf(y().number),primaryTaxonomyId:y().number,setPrimaryTaxonomyId:y().func,updateReplacementVariable:y().func,taxonomy:y().shape({name:y().string,fieldId:y().string,restBase:y().string,singularLabel:y().string})},Ms.defaultProps={selectedTermIds:[],primaryTaxonomyId:-1,setPrimaryTaxonomyId:l.noop,updateReplacementVariable:l.noop,taxonomy:{}};const Ds=Ms,Ls=(0,Ts.compose)([(0,d.withSelect)(((e,t)=>{const s=e("core/editor"),n=e("yoast-seo/editor"),{taxonomy:i}=t;return{selectedTermIds:s.getEditedPostAttribute(i.restBase)||[],primaryTaxonomyId:n.getPrimaryTaxonomyId(i.name)}})),(0,d.withDispatch)((e=>{const{setPrimaryTaxonomyId:t,updateReplacementVariable:s}=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t,updateReplacementVariable:s}}))])(Ds);let Bs=null,Ns=null;const Fs=Cs().div` margin: 16px 0 8px; `;class $s extends u.Component{constructor(){super(),Bs&&Ns||(Bs=(0,l.get)(window.wpseoPrimaryCategoryL10n,"taxonomies",{}),Ns=(0,l.values)(Bs).map((e=>e.name))),this.state={exceptionCaught:!1,error:null}}componentDidCatch(e){this.setState({exceptionCaught:!0,error:e})}taxonomyHasPrimaryTermSupport(){return Ns.includes(this.props.slug)}render(){const{slug:e,OriginalComponent:t}=this.props;if(this.state.exceptionCaught){const e=(0,l.get)(this.state,"error.stack");return(0,c.createElement)(u.Fragment,null,(0,c.createElement)(t,{...this.props}),(0,c.createElement)(Fs,null,(0,g.sprintf)(/* translators: %s expands to Yoast SEO. */ -(0,g.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")),e&&(0,c.createElement)(p.ClipboardButton,{isLarge:!0,text:e},(0,g.__)("Copy error","wordpress-seo")))}return this.taxonomyHasPrimaryTermSupport()?(0,c.createElement)(u.Fragment,null,(0,c.createElement)(t,{...this.props}),(0,c.createElement)(Ls,{taxonomy:Bs[e]})):(0,c.createElement)(t,{...this.props})}}$s.propTypes={OriginalComponent:y().func.isRequired,slug:y().string.isRequired};const Us=$s;let js=null;const zs=()=>{if(null===js){const e=(0,d.dispatch)("yoast-seo/editor").runAnalysis;js=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new wt(e)}return js},qs=(e,t,s)=>zs().loaded?zs()._applyModifications(e,t,s):t;function Ys(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,d.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const n=function(e){return e.title=qs("data_page_title",e.title),e.title=qs("title",e.title),e.description=qs("data_meta_desc",e.description),e.text=qs("content",e.text),e}(s);return(0,h.applyFilters)("yoast.analysis.data",n)}(0,l.debounce)((async function(e,t){const{text:s,...n}=t,i=new xe.Paper(s,n);try{const t=await e.analyze(i),{seo:s,readability:n,inclusiveLanguage:r}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),e.results=$t(e.results),(0,d.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),(0,d.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}n&&(n.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),n.results=$t(n.results),(0,d.dispatch)("yoast-seo/editor").setReadabilityResults(n.results),(0,d.dispatch)("yoast-seo/editor").setOverallReadabilityScore(n.score)),r&&(r.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),r.results=$t(r.results),(0,d.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(r.results),(0,d.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(r.score)),(0,h.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){}}),500);const Vs=()=>{const{getContentLocale:e}=(0,d.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,Ys),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,d.dispatch)("yoast-seo/editor"),n=(0,l.get)(window,"YoastSEO.analysis.worker.runResearch",l.noop);return()=>{const i=xe.Paper.parse(Ys());n("readingTime",i).then((t=>e(t.result))),n("getFleschReadingScore",i).then((e=>{e.result&&t(e.result)})),n("wordCountInText",i).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const n=e();(0,l.isEqual)(n,s)||(s=n,t((0,l.clone)(n)))}})(t,s)},Ks=({mentionsName:e,children:t})=>{const[s,n]=(0,u.useState)(!1),i=(0,u.useCallback)((()=>n(!0)),[n]),r=(0,u.useCallback)((()=>n(!1)),[n]);return(0,c.createElement)(c.Fragment,null,(0,c.createElement)(m.Badge,{variant:"plain",className:"yst-text-slate-500 yst-relative yst-cursor-pointer","aria-describedby":m.Tooltip.id,onMouseEnter:i,onMouseLeave:r},(0,c.createElement)("span",null,e),s&&(0,c.createElement)(m.Tooltip,{id:m.Tooltip.id,className:"yst--translate-x-10 yst-max-w-lg yst-text-xs"},t)))};Ks.propTypes={mentionsName:y().node.isRequired,children:y().node.isRequired};const Ws=(e,{fieldId:t})=>{const s=(0,l.get)(window,"wpseoScriptData.metabox.isRtl",!1),n=(0,d.select)("yoast-seo/editor").getDateFromSettings,i=(0,d.select)("yoast-seo/editor").getIsProduct(),r="yoast-google-preview-description-metabox"===t||"yoast-google-preview-description-modal"===t,o=n().length,a=[];return!i&&r&&a.push((0,c.createElement)(p.Fill,{name:`yoast.replacementVariableEditor.additionalMentions.${t}`},(0,c.createElement)(m.Root,{context:{isRtl:s}},(0,c.createElement)(Ks,{mentionsName:(0,g.__)("Date","wordpress-seo")},(0,g.sprintf)(/* translators: %s expands to the amount of characters */ -(0,g._n)("The 'Date' variable is fixed and adds %s character to the length of your meta description.","The 'Date' variable is fixed and adds %s characters to the length of your meta description.",o,"wordpress-seo"),o))," ",(0,c.createElement)(Ks,{mentionsName:"—"},(0,g.sprintf)(/* translators: %s expands to the amount of characters */ -(0,g._n)("The em dash (—) is fixed and adds %s character to the length of your meta description.","The em dash (—) is fixed and adds %s characters to the length of your meta description.",3,"wordpress-seo"),3))," "))),[...e,...a]};window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},r()((()=>{(function(e){function t(e){e&&(e.focus(),e.click())}function s(){if(e(".wpseo-meta-section").length>0){const t=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),t.on("click",(function(s){var n=e(this).attr("id"),i=e(this).attr("href"),r=e(i);s.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===i&&e(".wpseo-meta-section-react").addClass("active"),r.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const o=function(e,t={}){return new CustomEvent("YoastSEO:metaTabChange",{detail:t})}(0,{metaTabId:n});window.dispatchEvent(o),this&&(t.attr({"aria-selected":"false",tabIndex:"-1"}),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}}window.wpseoInitTabs=s,window.wpseo_init_tabs=s,e(".wpseo-meta-section").each((function(t,s){e(s).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),function(){const s=e(".yoast-aria-tabs"),n=s.find("[role='tab']"),i=s.attr("aria-orientation")||"horizontal";n.attr({"aria-selected":!1,tabIndex:"-1"}),n.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),n.on("keydown",(function(s){-1!==[32,35,36,37,38,39,40].indexOf(s.which)&&("horizontal"===i&&-1!==[38,40].indexOf(s.which)||"vertical"===i&&-1!==[37,39].indexOf(s.which)||function(s,n){const i=s.which,r=n.index(e(s.target));switch(i){case 32:s.preventDefault(),t(n[r]);break;case 35:s.preventDefault(),t(n[n.length-1]);break;case 36:s.preventDefault(),t(n[0]);break;case 37:case 38:s.preventDefault(),t(n[r-1<0?n.length-1:r-1]);break;case 39:case 40:s.preventDefault(),t(n[r+1===n.length?0:r+1])}}(s,n))}))}()})(a()),"undefined"!=typeof wpseoPrimaryCategoryL10n&&function(e){var t,s,n=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e("#yoast-wpseo-primary-"+t).val()}function r(t,s){e("#yoast-wpseo-primary-"+t).val(s).trigger("change");const n=(0,d.dispatch)("yoast-seo/editor");if(n){const i=parseInt(s,10);n.setPrimaryTaxonomyId(t,i),"category"===t&&n.updateReplacementVariable("primary_category",function(t){const s=e("#category-all").find(`#category-${t} > label`);if(0===s.length)return"";const n=s.clone();return n.children().remove(),n.text().trim()}(i))}}function o(r){var o,a,l;o=e("#"+r+'checklist input[type="checkbox"]:checked');var c=e("#"+r+"checklist li");c.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),c.addClass("wpseo-term-unchecked"),o.length<=1||o.each((function(o,c){c=e(c),(a=c.closest("li")).removeClass("wpseo-term-unchecked"),1!==e(c).closest("li").children(".wpseo-make-primary-term").length&&function(s,i){var r,o;r=e(i).closest("label"),o=t({taxonomy:n[s],term:r.text()}),r.after(o)}(r,c),c.val()===i(r)?(a.addClass("wpseo-primary-term"),(l=c.closest("label")).find(".wpseo-primary-category-label").remove(),l.append(s({taxonomy:n[r]}))):a.addClass("wpseo-non-primary-term")}))}function a(t){r(t,e("#"+t+'checklist input[type="checkbox"]:checked:first').val()),o(t)}function p(e){""===i(e)&&a(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,s){const n=e("#"+s.name+"div");var l;o(s.name),n.on("click",'input[type="checkbox"]',(l=s.name,function(){!1===e(this).prop("checked")&&e(this).val()===i(l)&&a(l),p(l),o(l)})),n.on("wpListAddEnd","#"+s.name+"checklist",function(e){return function(){p(e),o(e)}}(s.name)),n.on("click",".wpseo-make-primary-term",function(t){return function(s){var n;n=e(s.currentTarget).siblings("label").find("input"),r(t,n.val()),o(t),n.trigger("focus")}}(s.name))}))},t=wp.template("primary-term-ui"),s=wp.template("primary-term-screen-reader"),e(_.values(n)).initYstSEOPrimaryCategory(),ve()&&(0,l.get)(window,"wp.hooks.addFilter",l.noop)("editor.PostTaxonomyType","yoast-seo",(e=>class extends u.Component{render(){return(0,c.createElement)(Us,{OriginalComponent:e,...this.props})}}))}(a());const t=function(){const t=(0,d.registerStore)("yoast-seo/editor",{reducer:(0,d.combineReducers)(se.reducers),selectors:se.selectors,actions:(0,l.pickBy)(se.actions,(e=>"function"==typeof e)),controls:e});return(e=>{e.dispatch(se.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(se.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(se.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(se.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(se.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(se.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(se.actions.setDismissedAlerts((0,l.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(se.actions.setCurrentPromotions((0,l.get)(window,"wpseoScriptData.currentPromotions",[]))),e.dispatch(se.actions.setIsPremium(Boolean((0,l.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(se.actions.setPostId(Number((0,l.get)(window,"wpseoScriptData.postId",null)))),e.dispatch(se.actions.setLinkParams((0,l.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(se.actions.setPluginUrl((0,l.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(se.actions.setWistiaEmbedPermissionValue("1"===(0,l.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(t),t}();window.yoast.initEditorIntegration(t);const s=new window.yoast.EditorData(l.noop,t);s.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars,window.wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars),Ss(a(),t,s),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&function(e){var t,s,n,i=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function r(){e("#yst_opengraph_image_warning").remove(),s.removeClass("yoast-opengraph-image-notice")}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},i.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var o=wp.media.featuredImage.frame();if("undefined"==typeof YoastSEO)return;if(t=new i(YoastSEO.app),s=e("#postimagediv"),n=s.find(".hndle"),o.on("select",(function(){var i,a,l;!function(t){var i=t.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('

'+wpseoScriptData.featuredImage.featured_image_notice+"

").insertAfter(n),s.addClass("yoast-opengraph-image-notice"),ke()(wpseoScriptData.featuredImage.featured_image_notice,"assertive")):r()}(o),l=(a=o.state().get("selection").first()).get("alt"),i=''+l+'',t.setFeaturedImage(i)})),s.on("click","#remove-post-thumbnail",(function(){t.removeFeaturedImage(),r()})),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html()),!ve())return;let a,l;(0,d.subscribe)((()=>{const e=(0,d.select)("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&(a=(0,d.select)("core").getMedia(e),void 0!==a&&a!==l)){l=a;const e=`${a.alt_text}`;t.setFeaturedImage(e)}}))}(a()),function(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,s){const n=function(t){let s=(t=e(t)).data("target");return s&&""!==s||(s=e(t).attr("id").replace(/_button$/,"")),s}(s),i=e(s).data("target-id"),r=e("#"+n),o=e("#"+i);var a=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();r.val(e.url),o.val(e.id)}));const l=e(s);l.click((function(e){e.preventDefault(),a.open()})),l.siblings(".wpseo_image_remove_button").on("click",(e=>{e.preventDefault(),r.val(""),o.val("")}))}))}))}(a()),function(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function s(){var t=e("#wpseo-conf");if(t.length){var s=t.attr("action").split("#")[0];t.attr("action",s+window.location.hash)}}function n(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function i(t){const s=e("#noindex-author-noposts-wpseo-container");t?s.show():s.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,s=t+e(this).outerHeight(),n=e(window).scrollTop(),i=n+e(window).height();return t>n&&s{e(this).is(":checked")||i(!1)})),r.on("change",(()=>{e(this).is(":checked")||i(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wpseo-tabs").find("a").on("click",(function(t){var s,n,i,r=!0;if(s=e(this),n=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,i=!!s.filter("#first-time-configuration-tab").length,n&&!i&&window.isStepBeingEdited&&(r=confirm((0,g.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),r){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var o=e(this).attr("id").replace("-tab",""),a=e("#"+o);a.addClass("active"),e(this).addClass("nav-tab-active"),a.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===o?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(t=>{const s=e(t.currentTarget),n=s.parent().siblings(".toggleable-container");n.toggleClass("toggleable-container-hidden"),s.attr("aria-expanded",!n.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));const a=e("#opengraph"),c=e("#wpseo-opengraph-settings");a.length&&c.length&&(c.toggle(a[0].checked),a.on("change",(e=>{c.toggle(e.target.checked)}))),t(),n(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),s=e("#wpseo-submit-container-fixed");if(!t.length||!s.length)return;function n(){t._wpseoIsInViewport()?s.hide():s.show()}e(window).on("resize scroll",(0,l.debounce)(n,100)),e(window).on("yoast-seo-tab-change",n);const i=e(".wpseo-message");i.length&&window.setTimeout((()=>{i.fadeOut()}),5e3),n()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}(a()),(()=>{if((0,d.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,d.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,d.subscribe)((0,l.debounce)(Vs(),1500,{maxWait:3e3}))})(),window.wpseoScriptData.postType&&!["attachment"].includes(window.wpseoScriptData.postType)&&(()=>{const e=(0,d.select)(te).getIsPremium(),t=(0,d.select)(te).getIsWooSeoUpsell(),s=(0,d.select)(te).getIsProduct()?!e||t:!e;(0,h.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",((e,{fieldId:t})=>(s&&e.push((0,c.createElement)(p.Fill,{name:`yoast.replacementVariableEditor.additionalButtons.${t}`},(0,c.createElement)(ee,{fieldId:t}))),e)))})(),(0,h.addFilter)("yoast.replacementVariableEditor.additionalMentions","yoast/yoast-seo/Mentions",Ws)}))})()})(); \ No newline at end of file +(0,g.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")),e&&(0,c.createElement)(p.ClipboardButton,{isLarge:!0,text:e},(0,g.__)("Copy error","wordpress-seo")))}return this.taxonomyHasPrimaryTermSupport()?(0,c.createElement)(u.Fragment,null,(0,c.createElement)(t,{...this.props}),(0,c.createElement)(Ls,{taxonomy:Bs[e]})):(0,c.createElement)(t,{...this.props})}}$s.propTypes={OriginalComponent:y().func.isRequired,slug:y().string.isRequired};const Us=$s;let js=null;const zs=()=>{if(null===js){const e=(0,d.dispatch)("yoast-seo/editor").runAnalysis;js=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new wt(e)}return js},qs=(e,t,s)=>zs().loaded?zs()._applyModifications(e,t,s):t;function Ys(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,d.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const n=function(e){return e.title=qs("data_page_title",e.title),e.title=qs("title",e.title),e.description=qs("data_meta_desc",e.description),e.text=qs("content",e.text),e}(s);return(0,h.applyFilters)("yoast.analysis.data",n)}(0,l.debounce)((async function(e,t){const{text:s,...n}=t,i=new xe.Paper(s,n);try{const t=await e.analyze(i),{seo:s,readability:n,inclusiveLanguage:r}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),e.results=$t(e.results),(0,d.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),(0,d.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}n&&(n.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),n.results=$t(n.results),(0,d.dispatch)("yoast-seo/editor").setReadabilityResults(n.results),(0,d.dispatch)("yoast-seo/editor").setOverallReadabilityScore(n.score)),r&&(r.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),r.results=$t(r.results),(0,d.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(r.results),(0,d.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(r.score)),(0,h.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){}}),500);const Vs=()=>{const{getContentLocale:e}=(0,d.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,Ys),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,d.dispatch)("yoast-seo/editor"),n=(0,l.get)(window,"YoastSEO.analysis.worker.runResearch",l.noop);return()=>{const i=xe.Paper.parse(Ys());n("readingTime",i).then((t=>e(t.result))),n("getFleschReadingScore",i).then((e=>{e.result&&t(e.result)})),n("wordCountInText",i).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const n=e();(0,l.isEqual)(n,s)||(s=n,t((0,l.clone)(n)))}})(t,s)};window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},r()((()=>{(function(e){function t(e){e&&(e.focus(),e.click())}function s(){if(e(".wpseo-meta-section").length>0){const t=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),t.on("click",(function(s){var n=e(this).attr("id"),i=e(this).attr("href"),r=e(i);s.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===i&&e(".wpseo-meta-section-react").addClass("active"),r.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const o=function(e,t={}){return new CustomEvent("YoastSEO:metaTabChange",{detail:t})}(0,{metaTabId:n});window.dispatchEvent(o),this&&(t.attr({"aria-selected":"false",tabIndex:"-1"}),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}}window.wpseoInitTabs=s,window.wpseo_init_tabs=s,e(".wpseo-meta-section").each((function(t,s){e(s).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),function(){const s=e(".yoast-aria-tabs"),n=s.find("[role='tab']"),i=s.attr("aria-orientation")||"horizontal";n.attr({"aria-selected":!1,tabIndex:"-1"}),n.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),n.on("keydown",(function(s){-1!==[32,35,36,37,38,39,40].indexOf(s.which)&&("horizontal"===i&&-1!==[38,40].indexOf(s.which)||"vertical"===i&&-1!==[37,39].indexOf(s.which)||function(s,n){const i=s.which,r=n.index(e(s.target));switch(i){case 32:s.preventDefault(),t(n[r]);break;case 35:s.preventDefault(),t(n[n.length-1]);break;case 36:s.preventDefault(),t(n[0]);break;case 37:case 38:s.preventDefault(),t(n[r-1<0?n.length-1:r-1]);break;case 39:case 40:s.preventDefault(),t(n[r+1===n.length?0:r+1])}}(s,n))}))}()})(a()),"undefined"!=typeof wpseoPrimaryCategoryL10n&&function(e){var t,s,n=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e("#yoast-wpseo-primary-"+t).val()}function r(t,s){e("#yoast-wpseo-primary-"+t).val(s).trigger("change");const n=(0,d.dispatch)("yoast-seo/editor");if(n){const i=parseInt(s,10);n.setPrimaryTaxonomyId(t,i),"category"===t&&n.updateReplacementVariable("primary_category",function(t){const s=e("#category-all").find(`#category-${t} > label`);if(0===s.length)return"";const n=s.clone();return n.children().remove(),n.text().trim()}(i))}}function o(r){var o,a,l;o=e("#"+r+'checklist input[type="checkbox"]:checked');var c=e("#"+r+"checklist li");c.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),c.addClass("wpseo-term-unchecked"),o.length<=1||o.each((function(o,c){c=e(c),(a=c.closest("li")).removeClass("wpseo-term-unchecked"),1!==e(c).closest("li").children(".wpseo-make-primary-term").length&&function(s,i){var r,o;r=e(i).closest("label"),o=t({taxonomy:n[s],term:r.text()}),r.after(o)}(r,c),c.val()===i(r)?(a.addClass("wpseo-primary-term"),(l=c.closest("label")).find(".wpseo-primary-category-label").remove(),l.append(s({taxonomy:n[r]}))):a.addClass("wpseo-non-primary-term")}))}function a(t){r(t,e("#"+t+'checklist input[type="checkbox"]:checked:first').val()),o(t)}function p(e){""===i(e)&&a(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,s){const n=e("#"+s.name+"div");var l;o(s.name),n.on("click",'input[type="checkbox"]',(l=s.name,function(){!1===e(this).prop("checked")&&e(this).val()===i(l)&&a(l),p(l),o(l)})),n.on("wpListAddEnd","#"+s.name+"checklist",function(e){return function(){p(e),o(e)}}(s.name)),n.on("click",".wpseo-make-primary-term",function(t){return function(s){var n;n=e(s.currentTarget).siblings("label").find("input"),r(t,n.val()),o(t),n.trigger("focus")}}(s.name))}))},t=wp.template("primary-term-ui"),s=wp.template("primary-term-screen-reader"),e(_.values(n)).initYstSEOPrimaryCategory(),ve()&&(0,l.get)(window,"wp.hooks.addFilter",l.noop)("editor.PostTaxonomyType","yoast-seo",(e=>class extends u.Component{render(){return(0,c.createElement)(Us,{OriginalComponent:e,...this.props})}}))}(a());const t=function(){const t=(0,d.registerStore)("yoast-seo/editor",{reducer:(0,d.combineReducers)(se.reducers),selectors:se.selectors,actions:(0,l.pickBy)(se.actions,(e=>"function"==typeof e)),controls:e});return(e=>{e.dispatch(se.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(se.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(se.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(se.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(se.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(se.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(se.actions.setDismissedAlerts((0,l.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(se.actions.setCurrentPromotions((0,l.get)(window,"wpseoScriptData.currentPromotions",[]))),e.dispatch(se.actions.setIsPremium(Boolean((0,l.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(se.actions.setPostId(Number((0,l.get)(window,"wpseoScriptData.postId",null)))),e.dispatch(se.actions.setLinkParams((0,l.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(se.actions.setPluginUrl((0,l.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(se.actions.setWistiaEmbedPermissionValue("1"===(0,l.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(t),t}();window.yoast.initEditorIntegration(t);const s=new window.yoast.EditorData(l.noop,t);s.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars,window.wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars),Ss(a(),t,s),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&function(e){var t,s,n,i=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function r(){e("#yst_opengraph_image_warning").remove(),s.removeClass("yoast-opengraph-image-notice")}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},i.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var o=wp.media.featuredImage.frame();if("undefined"==typeof YoastSEO)return;if(t=new i(YoastSEO.app),s=e("#postimagediv"),n=s.find(".hndle"),o.on("select",(function(){var i,a,l;!function(t){var i=t.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('

'+wpseoScriptData.featuredImage.featured_image_notice+"

").insertAfter(n),s.addClass("yoast-opengraph-image-notice"),ke()(wpseoScriptData.featuredImage.featured_image_notice,"assertive")):r()}(o),l=(a=o.state().get("selection").first()).get("alt"),i=''+l+'',t.setFeaturedImage(i)})),s.on("click","#remove-post-thumbnail",(function(){t.removeFeaturedImage(),r()})),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html()),!ve())return;let a,l;(0,d.subscribe)((()=>{const e=(0,d.select)("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&(a=(0,d.select)("core").getMedia(e),void 0!==a&&a!==l)){l=a;const e=`${a.alt_text}`;t.setFeaturedImage(e)}}))}(a()),function(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,s){const n=function(t){let s=(t=e(t)).data("target");return s&&""!==s||(s=e(t).attr("id").replace(/_button$/,"")),s}(s),i=e(s).data("target-id"),r=e("#"+n),o=e("#"+i);var a=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});a.on("select",(function(){var e=a.state().get("selection").first().toJSON();r.val(e.url),o.val(e.id)}));const l=e(s);l.click((function(e){e.preventDefault(),a.open()})),l.siblings(".wpseo_image_remove_button").on("click",(e=>{e.preventDefault(),r.val(""),o.val("")}))}))}))}(a()),function(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function s(){var t=e("#wpseo-conf");if(t.length){var s=t.attr("action").split("#")[0];t.attr("action",s+window.location.hash)}}function n(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function i(t){const s=e("#noindex-author-noposts-wpseo-container");t?s.show():s.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,s=t+e(this).outerHeight(),n=e(window).scrollTop(),i=n+e(window).height();return t>n&&s{e(this).is(":checked")||i(!1)})),r.on("change",(()=>{e(this).is(":checked")||i(!0)})),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wpseo-tabs").find("a").on("click",(function(t){var s,n,i,r=!0;if(s=e(this),n=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,i=!!s.filter("#first-time-configuration-tab").length,n&&!i&&window.isStepBeingEdited&&(r=confirm((0,g.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),r){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var o=e(this).attr("id").replace("-tab",""),a=e("#"+o);a.addClass("active"),e(this).addClass("nav-tab-active"),a.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===o?(e(".notice-yoast").slideUp(),e(".yoast_premium_upsell").slideUp(),e("#sidebar-container").hide()):(e(".notice-yoast").slideDown(),e(".yoast_premium_upsell").slideDown(),e("#sidebar-container").show())}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",(t=>{const s=e(t.currentTarget),n=s.parent().siblings(".toggleable-container");n.toggleClass("toggleable-container-hidden"),s.attr("aria-expanded",!n.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}));const a=e("#opengraph"),c=e("#wpseo-opengraph-settings");a.length&&c.length&&(c.toggle(a[0].checked),a.on("change",(e=>{c.toggle(e.target.checked)}))),t(),n(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),s=e("#wpseo-submit-container-fixed");if(!t.length||!s.length)return;function n(){t._wpseoIsInViewport()?s.hide():s.show()}e(window).on("resize scroll",(0,l.debounce)(n,100)),e(window).on("yoast-seo-tab-change",n);const i=e(".wpseo-message");i.length&&window.setTimeout((()=>{i.fadeOut()}),5e3),n()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}(a()),(()=>{if((0,d.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))(0,d.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),(0,d.subscribe)((0,l.debounce)(Vs(),1500,{maxWait:3e3}))})(),window.wpseoScriptData.postType&&!["attachment"].includes(window.wpseoScriptData.postType)&&(()=>{const e=(0,d.select)(te).getIsPremium(),t=(0,d.select)(te).getIsWooSeoUpsell(),s=(0,d.select)(te).getIsProduct()?!e||t:!e;(0,h.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",((e,{fieldId:t})=>(s&&e.push((0,c.createElement)(p.Fill,{name:`yoast.replacementVariableEditor.additionalButtons.${t}`},(0,c.createElement)(ee,{fieldId:t}))),e)))})()}))})()})(); \ No newline at end of file diff --git a/wp/wp-content/plugins/wordpress-seo/js/dist/term-edit.js b/wp/wp-content/plugins/wordpress-seo/js/dist/term-edit.js index 20b0e98a..73b2c74c 100644 --- a/wp/wp-content/plugins/wordpress-seo/js/dist/term-edit.js +++ b/wp/wp-content/plugins/wordpress-seo/js/dist/term-edit.js @@ -1,4 +1,4 @@ -(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DISMISS_ALERT:()=>P,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>T,wistiaEmbedPermission:()=>C});const s=window.wp.domReady;var n=e.n(s);const i=window.jQuery;var o=e.n(i);const a=window.lodash,r=window.wp.i18n;const c=window.wp.data,l=window.yoast.externals.redux,d=window.yoast.reduxJsToolkit,p=window.wp.url,u="linkParams",h=(0,d.createSlice)({name:u,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),g=(h.getInitialState,{selectLinkParam:(e,t,s={})=>(0,a.get)(e,`${u}.${t}`,s),selectLinkParams:e=>(0,a.get)(e,u,{})});g.selectLink=(0,d.createSelector)([g.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,p.addQueryArgs)(t,{...e,...s}))),h.actions,h.reducer;const m=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:n,description:i})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:n||"",description:i}})},removeNotification:(e,{payload:t})=>(0,a.omit)(e,t)}}),y=(m.getInitialState,m.actions,m.reducer,"pluginUrl"),w=(0,d.createSlice)({name:y,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),f=(w.getInitialState,{selectPluginUrl:e=>(0,a.get)(e,y,"")});f.selectImageLink=(0,d.createSelector)([f.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,a.trimEnd)(e,"/"),(0,a.trim)(t,"/"),(0,a.trimStart)(s,"/")].join("/"))),w.actions,w.reducer;const b=window.wp.apiFetch;var _=e.n(b);const v="loading",E="showPlay",S="askPermission",k="isPlaying",x="wistiaEmbedPermission",R=(0,d.createSlice)({name:x,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${x}/request`,(e=>{e.status=v})),e.addCase(`${x}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${x}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,a.get)(t,"error.code",500),message:(0,a.get)(t,"error.message","Unknown")}}))}}),O=(R.getInitialState,R.actions,{[x]:async({payload:e})=>_()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function P({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function T({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}R.reducer;const C=O[x];const A=window.yoast.analysis,M=window.wp.isShallowEqual,I="yoastmark";function D(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function N(e,t,s){const n=e.dom;let i=e.getContent();if(i=A.markers.removeMarks(i),(0,a.isEmpty)(s))return void e.setContent(i);i=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,a.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const n=e[s];D(n,t)||(t=n.applyWithPosition(t))}return t}(s,i):function(e,t,s,n){const{fieldsToMark:i,selectedHTML:o}=A.languageProcessing.getFieldsToMark(s,n);return(0,a.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=A.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=A.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?o.forEach((e=>{const s=t.applyWithReplace(e);n=n.replace(e,s)})):n=t.applyWithReplace(n)})),n}(e,0,s,i),e.setContent(i),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const o=n.select(I);(0,a.forEach)(o,(function(e){e.setAttribute("data-mce-bogus","1")}))}function L(e){return window.test=e,N.bind(null,e)}const F="et_pb_main_editor_wrap",B=class{static isActive(){return!!document.getElementById(F)}static isTinyMCEHidden(){const e=document.getElementById(F);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(F),this.classicEditorContainer&&new MutationObserver((t=>{(0,a.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},U=class{static isActive(){return!!window.VCV_I18N}},j={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},Y=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){B.isActive()&&(this.diviActive=!0),U.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,a.defaults)(e,j),this.diviActive&&(new B).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!B.isTinyMCEHidden())}};let q;const K="content",z="description";function $(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function V(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(n){const i=n.editor;i.id===e&&(0,a.forEach)(t,(function(e){i.on(e,s)}))}))}function W(){(0,a.isUndefined)(q)||q.dispatch(l.actions.setMarkerStatus("disabled"))}function Q(){(0,a.isUndefined)(q)||q.dispatch(l.actions.setMarkerStatus("enabled"))}class H{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,a.isString)(e)?(0,a.isUndefined)(t)||(0,a.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,n){if(!(0,a.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,a.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,a.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const i={callable:t,origin:s,priority:(0,a.isNumber)(n)?n:10};return(0,a.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerAssessment(e,t,s,n){return(0,a.isString)(t)?(0,a.isObject)(s)?(0,a.isString)(n)?(t=n+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+n+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let n=this.modifications[e];return!(0,a.isArray)(n)||n.length<1||(n=this._stripIllegalModifications(n),n.sort(((e,t)=>e.priority-t.priority)),(0,a.forEach)(n,(function(n){const i=n.callable(t,s);typeof i==typeof t?t=i:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,a.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,a.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,a.forEach)(this.plugins,(function(e,t){(0,a.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,a.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,a.isUndefined)(this.plugins[e])}}function G(e,t,s){e("morphology",new A.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(l.actions.updateWordsToHighlight((0,a.uniq)((0,a.flatten)(s))))})).catch((()=>{t.dispatch(l.actions.updateWordsToHighlight([]))}))}const J=window.wp.api;function Z(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}var X={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},ee=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,a.defaults)(s,X)};ee.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},ee.prototype.setSource=function(e){this.options.source=e},ee.prototype.hasScope=function(){return!(0,a.isEmpty)(this.options.scope)},ee.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},ee.prototype.inScope=function(e){return!this.hasScope()||(0,a.indexOf)(this.options.scope,e)>-1},ee.prototype.hasAlias=function(){return!(0,a.isEmpty)(this.options.aliases)},ee.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},ee.prototype.getAliases=function(){return this.options.aliases};const te=ee,{removeReplacementVariable:se,updateReplacementVariable:ne,refreshSnippetEditor:ie}=l.actions;var oe=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],ae={},re={},ce=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};ce.prototype.registerReplacements=function(){this.addReplacement(new te("%%author_first_name%%","author_first_name")),this.addReplacement(new te("%%author_last_name%%","author_last_name")),this.addReplacement(new te("%%category%%","category")),this.addReplacement(new te("%%category_title%%","category_title")),this.addReplacement(new te("%%currentdate%%","currentdate")),this.addReplacement(new te("%%currentday%%","currentday")),this.addReplacement(new te("%%currentmonth%%","currentmonth")),this.addReplacement(new te("%%currenttime%%","currenttime")),this.addReplacement(new te("%%currentyear%%","currentyear")),this.addReplacement(new te("%%date%%","date")),this.addReplacement(new te("%%id%%","id")),this.addReplacement(new te("%%page%%","page")),this.addReplacement(new te("%%permalink%%","permalink")),this.addReplacement(new te("%%post_content%%","post_content")),this.addReplacement(new te("%%post_month%%","post_month")),this.addReplacement(new te("%%post_year%%","post_year")),this.addReplacement(new te("%%searchphrase%%","searchphrase")),this.addReplacement(new te("%%sitedesc%%","sitedesc")),this.addReplacement(new te("%%sitename%%","sitename")),this.addReplacement(new te("%%userid%%","userid")),this.addReplacement(new te("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new te("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new te("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new te("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new te("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new te("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new te("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new te("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new te("%%sep%%(\\s*%%sep%%)*","sep"))},ce.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},ce.prototype.subscribeToGutenberg=function(){if(!Z())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const n=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==n&&t!==n)return t=n,n<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,a.isUndefined)(e[n])?void J.loadPromise.done((()=>{new J.models.Page({id:n}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[n]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[n],void this.declareReloaded())}))},ce.prototype.addReplacement=function(e){ae[e.placeholder]=e},ce.prototype.removeReplacement=function(e){delete ae[e.getPlaceholder()]},ce.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,a.forEach)(oe,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},ce.prototype.replaceVariables=function(e){return(0,a.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},ce.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,a.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},ce.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},ce.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},ce.prototype.replacePlaceholders=function(e){return(0,a.forEach)(ae,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},ce.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(ie())},ce.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},ce.prototype.parseTaxonomies=function(e,t){(0,a.isUndefined)(re[t])&&(re[t]={});const s=[];(0,a.forEach)(e,function(e){const n=(e=jQuery(e)).val(),i=this.getCategoryName(e),o=e.prop("checked");re[t][n]={label:i,checked:o},o&&-1===s.indexOf(i)&&s.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(ne(t,s.join(", ")))},ce.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},ce.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},ce.prototype.replaceCustomTaxonomy=function(e){return(0,a.forEach)(re,function(t,s){var n="%%ct_"+s+"%%";"category"===s&&(n="%%"+s+"%%"),e=e.replace(n,this.getTaxonomyReplaceVar(s))}.bind(this)),e},ce.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=re[e];return!0===(0,a.isUndefined)(s)?"":((0,a.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},ce.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),n=jQuery("#"+t.id+"-value").val();const i="cf_"+this.sanitizeCustomFieldNames(s),o=s+" (custom field)";this._store.dispatch(ne(i,n,o)),this.addReplacement(new te(`%%${i}%%`,n,{source:"direct"}))}.bind(this))},ce.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},ce.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},ce.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},ce.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},ce.prototype.removeCustomFields=function(){var e=(0,a.filter)(ae,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,a.forEach)(e,function(e){this._store.dispatch(se((0,a.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},ce.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),Z()&&!(0,a.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},ce.prototype.hasParentTitle=function(e){return!(0,a.isUndefined)(e)&&!(0,a.isUndefined)(e.prop("options"))},ce.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},ce.ReplaceVar=te;const le=ce,de=window.wp.hooks,pe="[^<>&/\\[\\]\0- =]+?",ue=new RegExp("\\["+pe+"( [^\\]]+?)?\\]","g"),he=new RegExp("\\[/"+pe+"\\]","g");class ge{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:n},i){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=n,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const o="("+i.join("|")+")";this.shortcodesRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(ue,"")).replace(he,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,a.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,a.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const me=ge,{updateShortcodesForParsing:ye}=l.actions;function we(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}function fe(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function be(){return(0,a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function _e(){const e=be();return(0,a.get)(e,"contentLocale","en_US")}function ve(){const e=be();return(0,a.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}function Ee(){const e=be();return!0===(0,a.get)(e,"contentAnalysisActive",!1)}function Se(){const e=be();return!0===(0,a.get)(e,"keywordAnalysisActive",!1)}function ke(){const e=be();return!0===(0,a.get)(e,"inclusiveLanguageAnalysisActive",!1)}const xe=window.yoast.featureFlag;function Re(){}let Oe=!1;function Pe(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function Te(e,t,s,n,i){if(!Oe)return;const o=A.Paper.parse(t());e.analyze(o).then((a=>{const{result:{seo:r,readability:c,inclusiveLanguage:d}}=a;if(r){const e=r[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),e.results=Pe(e.results),n.dispatch(l.actions.setSeoResultsForKeyword(o.getKeyword(),e.results)),n.dispatch(l.actions.setOverallSeoScore(e.score,o.getKeyword())),n.dispatch(l.actions.refreshSnippetEditor()),i.saveScores(e.score,o.getKeyword())}c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),c.results=Pe(c.results),n.dispatch(l.actions.setReadabilityResults(c.results)),n.dispatch(l.actions.setOverallReadabilityScore(c.score)),n.dispatch(l.actions.refreshSnippetEditor()),i.saveContentScore(c.score)),d&&(d.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),d.results=Pe(d.results),n.dispatch(l.actions.setInclusiveLanguageResults(d.results)),n.dispatch(l.actions.setOverallInclusiveLanguageScore(d.score)),n.dispatch(l.actions.refreshSnippetEditor()),i.saveInclusiveLanguageScore(d.score)),(0,de.doAction)("yoast.analysis.refresh",a,{paper:o,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:i})})).catch(Re)}const Ce="yoast-measurement-element";function Ae(e){let t=document.getElementById(Ce);return t||(t=function(){const e=document.createElement("div");return e.id=Ce,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}function Me(e){return(0,a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(A.interpreters.scoreToRating(e))}const Ie=jQuery,De=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._store=e.store};De.prototype.getData=function(){const e={title:this.getSnippetTitle(),keyword:Se()?this.getKeyword():"",text:this.getText(),permalink:this.getPermalink(),snippetCite:this.getSnippetCite(),snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),name:this.getName(),baseUrl:this.getBaseUrl(),pageTitle:this.getSnippetTitle(),titleWidth:Ae(this.getSnippetTitle())},t=this._store.getState();return{...e,metaTitle:(0,a.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,a.get)(t,["snippetEditor","data","slug"],this.getSlug()),meta:(0,a.get)(t,["analysisData","snippet","description"],this.getSnippetMeta())}},De.prototype.getKeyword=function(){return document.getElementById("hidden_wpseo_focuskw").value},De.prototype.getText=function(){return function(e){let t="";var s;return t=!1===$(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}(z)},De.prototype.getSlug=function(){return document.getElementById("slug").value},De.prototype.getPermalink=function(){const e=this.getSlug();return this.getBaseUrl()+e+"/"},De.prototype.getSnippetCite=function(){return this.getSlug()},De.prototype.getSnippetTitle=function(){return document.getElementById("hidden_wpseo_title").value},De.prototype.getSnippetMeta=function(){const e=document.getElementById("hidden_wpseo_desc");return e?e.value:""},De.prototype.getName=function(){return document.getElementById("name").value},De.prototype.getBaseUrl=function(){return wpseoScriptData.metabox.base_url},De.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("hidden_wpseo_desc").value=e;break;case"snippet_cite":document.getElementById("slug").value=e;break;case"snippet_title":document.getElementById("hidden_wpseo_title").value=e}},De.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},De.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e)},De.prototype.inputElementEventBinder=function(e){const t=["name",z,"slug","wpseo_focuskw"];for(let s=0;s{e=(0,a.merge)(e,t())})),e}}window.wp.annotations;const Fe=function(e){return(0,a.uniq)((0,a.flatten)(e.map((e=>{if(!(0,a.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Be=window.wp.richText,Ue=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:je}=A.helpers.htmlEntities,Ye=e=>{let t=0;return(0,a.forEachRight)(e,(e=>{const[s]=e;let n=s.length;/^<\/?br/.test(s)&&(n-=1),t+=n})),t},qe="",Ke="",ze='';function $e(e,t,s,n,i){const o=n.clientId,r=(0,Be.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,a.flatMap)(i,(s=>{let i;return i=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,n,i){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const n="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=n.length,blockEndOffset:t-=n.length}})(t,o,s);t=e.blockStartOffset,o=e.blockEndOffset}if(n.slice(t,o)===i.slice(t,o))return[{startOffset:t,endOffset:o}];const r=((e,t,s)=>{const n=s.slice(0,e),i=s.slice(0,t),o=((e,t,s,n)=>{const i=[...e.matchAll(Ue)];s-=Ye(i);const o=[...t.matchAll(Ue)];return{blockStartOffset:s,blockEndOffset:n-=Ye(o)}})(n,i,e,t),r=((e,t,s,n)=>{let i=[...e.matchAll(je)];return(0,a.forEachRight)(i,(e=>{const[,t]=e;s-=t.length})),i=[...t.matchAll(je)],(0,a.forEachRight)(i,(e=>{const[,t]=e;n-=t.length})),{blockStartOffset:s,blockEndOffset:n}})(n,i,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=r.blockStartOffset,blockEndOffset:t=r.blockEndOffset}})(t,o,n);return[{startOffset:r.blockStartOffset,endOffset:r.blockEndOffset}]}return[]}(s,o,n.name,e,r):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),n=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t,s=!0){const n=[];if(0===e.length)return n;let i,o=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)n.push(i),o=i+t.length;return n}(e,s);if(0===i.length)return[];const o=function(e){let t=e.indexOf(qe);const s=t>=0;s||(t=e.indexOf(ze));let n=null;const i=[];for(;t>=0;){if(n=(e=s?e.replace(qe,""):e.replace(ze,"")).indexOf(Ke),n{i.forEach((n=>{const i=n+e.startOffset;let o=n+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=n+s.length),a.push({startOffset:i,endOffset:o})}))})),a}(r,s),i?i.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const Ve=e=>e[0].toUpperCase()+e.slice(1),We=(e,t,s,n,i)=>(e=e.map((e=>{const o=`${e.id}-${i[0]}`,a=`${e.id}-${i[1]}`,r=Ve(i[0]),c=Ve(i[1]),l=e[`json${r}`],d=e[`json${c}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=$e(l,o,s,n,p),g=$e(d,a,s,n,u);return h.concat(g)})),(0,a.flattenDeep)(e)),Qe="yoast";let He=[];const Ge={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function Je(){const e=He.shift();e&&((0,c.dispatch)("core/annotations").__experimentalAddAnnotation(e),Ze())}function Ze(){(0,a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(Je,{timeout:1e3}):setTimeout(Je,150)}const Xe=(e,t)=>{return(0,a.flatMap)((s=e.name,Ge.hasOwnProperty(s)?Ge[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];return 0===n.length?[]:We(n,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];if(n&&0===n.length)return[];const i=[];return"steps"===e.key&&i.push(We(n,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),i.push($e(n,"description",e,t,s))),(0,a.flattenDeep)(i)})(s,e,t):function(e,t,s){const n=e.key,i=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,n);return $e(i,n,e,t,s)}(s,e,t)));var s};function et(e,t){return(0,a.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?et(e.innerBlocks,t):[];return Xe(e,t).concat(s)}))}function tt(e){He=[],(0,c.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Qe);const t=Fe(e);if(0===e.length)return;let s=(0,c.select)("core/block-editor").getBlocks();var n;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),n=et(s,e),He=n.map((e=>({blockClientId:e.block,source:Qe,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),Ze()}function st(e,t){let s;$(K)&&((0,a.isUndefined)(s)&&(s=L(tinyMCE.get(K))),s(e,t)),(0,c.select)("core/block-editor")&&(0,a.isFunction)((0,c.select)("core/block-editor").getBlocks)&&(0,c.select)("core/annotations")&&(0,a.isFunction)((0,c.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>L(e))).forEach((s=>s(e,t)))}(e,t),tt(t)),(0,de.doAction)("yoast.analysis.applyMarks",t)}var nt=jQuery;function it(e,t,s,n,i){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=nt("#post_ID, [name=tag_ID]").val(),this._taxonomy=nt("[name=taxonomy]").val()||"",this._nonce=i,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}it.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,a.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,a.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},it.prototype.setKeyword=function(e){(0,a.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},it.prototype.requestKeywordUsage=function(e){nt.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},it.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,n=t.keyword_usage,i=t.post_types;n&&(0,a.isArray)(n)&&(this._keywordUsage[e]=n,this._usedKeywordsPostTypes[e]=i,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{refreshSnippetEditor:ot,updateData:at,setFocusKeyword:rt,setCornerstoneContent:ct,setMarkerStatus:lt,setReadabilityResults:dt,setSeoResultsForKeyword:pt}=l.actions;function ut(e,t,s){var n,i;const o=new Le;function r(){const e={slug:i.val()};window.YoastSEO.store.dispatch(at(e))}function l(e){(0,a.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,a.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let d;function p(e,t){const s=d||"";d=e.getState().analysisData.snippet,!(0,M.isShallowEqualObjects)(s,d)&&t()}!function(){var d,u,h,g,m,y,w,f,b,_;g=jQuery(".term-description-wrap").find("td"),m=jQuery(".term-description-wrap").find("label"),y=g.find("textarea").val(),w=document.getElementById("wp-description-wrap"),f=g.find("p"),g.html(""),g.append(w).append(f),document.getElementById("description").value=y,m.replaceWith(m.html()),u=new Ne({store:t}),d={elementTarget:[z,"yoast_wpseo_focuskw","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:(b={},Se()&&(b.output="does-not-really-exist-but-it-needs-something"),Ee()&&(b.contentOutput="also-does-not-really-exist-but-it-needs-something"),b),callbacks:{getData:u.getData.bind(u)},locale:wpseoScriptData.metabox.contentLocale,contentAnalysisActive:Ee(),keywordAnalysisActive:Se(),hasSnippetPreview:!1,debouncedRefresh:!1,researcher:new window.yoast.Researcher.default},Se()&&(t.dispatch(rt(u.getKeyword())),d.callbacks.saveScores=u.saveScores.bind(u),d.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(pt(s,e)),t.dispatch(ot())}),Ee()&&(t.dispatch(lt("hidden")),d.callbacks.saveContentScore=u.saveContentScore.bind(u),d.callbacks.updatedContentResults=function(e){t.dispatch(dt(e)),t.dispatch(ot())}),h=ve(),(0,a.isUndefined)(h)||(0,a.isUndefined)(h.domain)||(d.translations=h),n=new A.App(d),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=n,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,a.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,A.createWorker)(e),s=(0,a.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),n=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const i=t.innerHTML.slice(214),o=i.indexOf(","),a=i.slice(0,o-1);try{const e=JSON.parse(i.slice(o+1,-4));n.push([a,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:n}),new A.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,n,i){const o=(0,a.cloneDeep)(t.getState());(0,a.merge)(o,s.getData());const r=e.getData();let c=null;i&&(c=i.getBlocks()||[],c=c.filter((e=>e.isValid)));const l={text:r.content,textTitle:r.title,keyword:o.focusKeyword,synonyms:o.synonyms,description:o.analysisData.snippet.description||o.snippetEditor.data.description,title:o.analysisData.snippet.title||o.snippetEditor.data.title,slug:o.snippetEditor.data.slug,permalink:o.settings.snippetEditor.baseUrl+o.snippetEditor.data.slug,wpBlocks:c,date:o.settings.snippetEditor.date};n.loaded&&(l.title=n._applyModifications("data_page_title",l.title),l.title=n._applyModifications("title",l.title),l.description=n._applyModifications("data_meta_desc",l.description),l.text=n._applyModifications("content",l.text),l.wpBlocks=n._applyModifications("wpBlocks",l.wpBlocks));const d=o.analysisData.snippet.filteredSEOTitle;return l.titleWidth=Ae(d||o.snippetEditor.data.title),l.locale=_e(),l.writingDirection=function(){let e="LTR";return be().isRtl&&(e="RTL"),e}(),l.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],A.Paper.parse((0,de.applyFilters)("yoast.analysis.data",l))}(s,window.YoastSEO.store,o,window.YoastSEO.app.pluggable),window.YoastSEO.analysis.applyMarks=(e,t)=>function(){const e=(0,c.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,c.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?a.noop:st}()(e,t),window.YoastSEO.app.refresh=(0,a.debounce)((()=>Te(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500),window.YoastSEO.app.registerCustomDataCallback=o.register,window.YoastSEO.app.pluggable=new H(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,a.isUndefined)(n.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(n.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(n.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Re),window.YoastSEO.app.refresh()},function(e,t,s){const n=be();if(!n.previouslyUsedKeywordActive)return;const i=new it("get_term_keyword_usage",n,e,(0,a.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,a.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));i.init();let o={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==o.focusKeyword&&(o=e,i.setKeyword(e.focusKeyword))}))}(n.refresh,0,t),t.subscribe(p.bind(null,t,n.refresh)),Se()&&(n.seoAssessor=new A.TaxonomyAssessor(n.config.researcher),n.seoAssessorPresenter.assessor=n.seoAssessor),window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new le(n,t),function(e,t){let s=[];s=(0,de.applyFilters)("yoast.analysis.shortcodes",s);const n=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>n.includes(e))),s.length>0&&(t.dispatch(ye(s)),window.YoastSEO.wp.shortcodePlugin=new ge({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(n,t),window.YoastSEO.analyzerArgs=d,(i=e("#slug")).on("change",r),u.bindElementEvents((0,a.debounce)((()=>Te(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500)),Se()&&(we(_=Me(e("#hidden_wpseo_linkdex").val())),fe(_)),Ee()&&function(){var t=Me(e("#hidden_wpseo_content_score").val());we(t),fe(t)}(),ke()&&function(){const t=Me(e("#hidden_wpseo_inclusive_language_score").val());we(t),fe(t)}(),window.YoastSEO.analysis.worker.initialize(function(e={}){let t={locale:_e(),contentAnalysisActive:Ee(),keywordAnalysisActive:Se(),inclusiveLanguageAnalysisActive:ke(),defaultQueryParams:(0,a.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,a.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,xe.enabledFeatures)()};t=(0,a.merge)(t,e);const s=ve();return(0,a.isUndefined)(s)||(0,a.isUndefined)(s.domain)||(t.translations=s),t}({useTaxonomy:!0})).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(Re),l(n);const v=n.initAssessorPresenters.bind(n);n.initAssessorPresenters=function(){v(),l(n)};let E={title:(S=u).getSnippetTitle(),slug:S.getSnippetCite(),description:S.getSnippetMeta()};var S;!function(e){const s=document.getElementById("hidden_wpseo_is_cornerstone");let n="1"===s.value;t.dispatch(ct(n)),e.changeAssessorOptions({useCornerstone:n}),t.subscribe((()=>{const i=t.getState();i.isCornerstone!==n&&(n=i.isCornerstone,s.value=n?"1":"0",e.changeAssessorOptions({useCornerstone:n}))}))}(n);const k=function(e){const t={};if((0,a.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,a.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);E=function(e,t){const s={...e};return(0,a.forEach)(t,((t,n)=>{(0,a.has)(e,n)&&""===e[n]&&(s[n]=t)})),s}(E,k),t.dispatch(at(E));let x=t.getState().focusKeyword;G(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,x);const R=(0,a.debounce)((()=>{n.refresh()}),50);t.subscribe((()=>{const e=t.getState().focusKeyword;x!==e&&(x=e,G(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,x),document.getElementById("hidden_wpseo_focuskw").value=x,R());const s=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(t),n=function(e,t){const s={...e};return(0,a.forEach)(t,((t,n)=>{(0,a.has)(e,n)&&e[n].trim()===t&&(s[n]="")})),s}(s,k);E.title!==s.title&&u.setDataFromSnippet(n.title,"snippet_title"),E.slug!==s.slug&&u.setDataFromSnippet(n.slug,"snippet_cite"),E.description!==s.description&&u.setDataFromSnippet(n.description,"snippet_meta"),E.title=s.title,E.slug=s.slug,E.description=s.description})),Oe=!0,window.YoastSEO.app.refresh()}()}window.yoastHideMarkers=!0,window.YoastReplaceVarPlugin=le,window.YoastShortcodePlugin=me;let ht=null;const gt=()=>{if(null===ht){const e=(0,c.dispatch)("yoast-seo/editor").runAnalysis;ht=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new H(e)}return ht},mt=(e,t,s)=>gt().loaded?gt()._applyModifications(e,t,s):t;function yt(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,c.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const n=function(e){return e.title=mt("data_page_title",e.title),e.title=mt("title",e.title),e.description=mt("data_meta_desc",e.description),e.text=mt("content",e.text),e}(s);return(0,de.applyFilters)("yoast.analysis.data",n)}(0,a.debounce)((async function(e,t){const{text:s,...n}=t,i=new A.Paper(s,n);try{const t=await e.analyze(i),{seo:s,readability:n,inclusiveLanguage:o}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),e.results=Pe(e.results),(0,c.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),(0,c.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}n&&(n.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),n.results=Pe(n.results),(0,c.dispatch)("yoast-seo/editor").setReadabilityResults(n.results),(0,c.dispatch)("yoast-seo/editor").setOverallReadabilityScore(n.score)),o&&(o.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),o.results=Pe(o.results),(0,c.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),(0,c.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),(0,de.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){}}),500);const wt=()=>{const{getContentLocale:e}=(0,c.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,yt),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,c.dispatch)("yoast-seo/editor"),n=(0,a.get)(window,"YoastSEO.analysis.worker.runResearch",a.noop);return()=>{const i=A.Paper.parse(yt());n("readingTime",i).then((t=>e(t.result))),n("getFleschReadingScore",i).then((e=>{e.result&&t(e.result)})),n("wordCountInText",i).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const n=e();(0,a.isEqual)(n,s)||(s=n,t((0,a.clone)(n)))}})(t,s)},ft=window.React,bt=window.wp.components,_t=window.wp.element,vt=window.yoast.uiLibrary,Et=window.yoast.propTypes;var St=e.n(Et);St().string.isRequired;const kt=ft.forwardRef((function(e,t){return ft.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),ft.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),xt=ft.forwardRef((function(e,t){return ft.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),ft.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Rt=({learnMoreLink:e,thumbnail:t,wistiaEmbedPermission:s,upsellLink:n,isProductCopy:i,title:o,upsellLabel:a,newToText:c,bundleNote:l})=>{const{onClose:d,initialFocus:p}=(0,vt.useModalContext)(),u={a:(0,ft.createElement)(Ct,{href:e,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,ft.createElement)(xt,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})};return(0,ft.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},(0,ft.createElement)("div",{className:"yst-relative yst-w-full"},(0,ft.createElement)(Zt,{videoId:"vmrahpfjxp",thumbnail:t,wistiaEmbedPermission:s}),(0,ft.createElement)(vt.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),(0,ft.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},(0,ft.createElement)("span",{className:"yst-introduction-modal-uppercase"},c)),(0,ft.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},(0,ft.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},o),(0,ft.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},i?(0,_t.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ +(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{DISMISS_ALERT:()=>P,SNIPPET_EDITOR_FIND_CUSTOM_FIELDS:()=>T,wistiaEmbedPermission:()=>C});const s=window.wp.domReady;var n=e.n(s);const i=window.jQuery;var o=e.n(i);const a=window.lodash,r=window.wp.i18n;const c=window.wp.data,l=window.yoast.externals.redux,d=window.yoast.reduxJsToolkit,p=window.wp.url,u="linkParams",h=(0,d.createSlice)({name:u,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),g=(h.getInitialState,{selectLinkParam:(e,t,s={})=>(0,a.get)(e,`${u}.${t}`,s),selectLinkParams:e=>(0,a.get)(e,u,{})});g.selectLink=(0,d.createSelector)([g.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,p.addQueryArgs)(t,{...e,...s}))),h.actions,h.reducer;const m=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:n,description:i})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:n||"",description:i}})},removeNotification:(e,{payload:t})=>(0,a.omit)(e,t)}}),y=(m.getInitialState,m.actions,m.reducer,"pluginUrl"),w=(0,d.createSlice)({name:y,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),f=(w.getInitialState,{selectPluginUrl:e=>(0,a.get)(e,y,"")});f.selectImageLink=(0,d.createSelector)([f.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,a.trimEnd)(e,"/"),(0,a.trim)(t,"/"),(0,a.trimStart)(s,"/")].join("/"))),w.actions,w.reducer;const b=window.wp.apiFetch;var _=e.n(b);const v="loading",E="showPlay",S="askPermission",k="isPlaying",x="wistiaEmbedPermission",R=(0,d.createSlice)({name:x,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${x}/request`,(e=>{e.status=v})),e.addCase(`${x}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${x}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,a.get)(t,"error.code",500),message:(0,a.get)(t,"error.message","Unknown")}}))}}),O=(R.getInitialState,R.actions,{[x]:async({payload:e})=>_()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})});function P({alertKey:e}){return new Promise((t=>wpseoApi.post("alerts/dismiss",{key:e},(()=>t()))))}function T({query:e,postId:t}){return new Promise((s=>{wpseoApi.get("meta/search",{query:e,post_id:t},(e=>{s(e.meta)}))}))}R.reducer;const C=O[x];const A=window.yoast.analysis,M=window.wp.isShallowEqual,I="yoastmark";function D(e,t){return e._properties.position.startOffset>t.length||e._properties.position.endOffset>t.length}function N(e,t,s){const n=e.dom;let i=e.getContent();if(i=A.markers.removeMarks(i),(0,a.isEmpty)(s))return void e.setContent(i);i=s[0].hasPosition()?function(e,t){if(!t)return"";for(let s=(e=(0,a.orderBy)(e,(e=>e._properties.position.startOffset),["asc"])).length-1;s>=0;s--){const n=e[s];D(n,t)||(t=n.applyWithPosition(t))}return t}(s,i):function(e,t,s,n){const{fieldsToMark:i,selectedHTML:o}=A.languageProcessing.getFieldsToMark(s,n);return(0,a.forEach)(s,(function(t){"acf_content"!==e.id&&(t._properties.marked=A.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=A.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?o.forEach((e=>{const s=t.applyWithReplace(e);n=n.replace(e,s)})):n=t.applyWithReplace(n)})),n}(e,0,s,i),e.setContent(i),function(e){let t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);const o=n.select(I);(0,a.forEach)(o,(function(e){e.setAttribute("data-mce-bogus","1")}))}function L(e){return window.test=e,N.bind(null,e)}const F="et_pb_main_editor_wrap",B=class{static isActive(){return!!document.getElementById(F)}static isTinyMCEHidden(){const e=document.getElementById(F);return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById(F),this.classicEditorContainer&&new MutationObserver((t=>{(0,a.forEach)(t,(t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}},U=class{static isActive(){return!!window.VCV_I18N}},j={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},Y=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){B.isActive()&&(this.diviActive=!0),U.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=(0,a.defaults)(e,j),this.diviActive&&(new B).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!B.isTinyMCEHidden())}};let q;const K="content",z="description";function $(e){if("undefined"==typeof tinyMCE||void 0===tinyMCE.editors||0===tinyMCE.editors.length)return!1;const t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function V(e,t,s){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(n){const i=n.editor;i.id===e&&(0,a.forEach)(t,(function(e){i.on(e,s)}))}))}function W(){(0,a.isUndefined)(q)||q.dispatch(l.actions.setMarkerStatus("disabled"))}function Q(){(0,a.isUndefined)(q)||q.dispatch(l.actions.setMarkerStatus("enabled"))}class H{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return(0,a.isString)(e)?(0,a.isUndefined)(t)||(0,a.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return(0,a.isString)(e)?(0,a.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,s,n){if(!(0,a.isString)(e))return console.error("Failed to register modification for plugin "+s+". Expected parameter `modification` to be a string."),!1;if(!(0,a.isFunction)(t))return console.error("Failed to register modification for plugin "+s+". Expected parameter `callable` to be a function."),!1;if(!(0,a.isString)(s))return console.error("Failed to register modification for plugin "+s+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(s))return console.error("Failed to register modification for plugin "+s+". The integration has not finished loading yet."),!1;const i={callable:t,origin:s,priority:(0,a.isNumber)(n)?n:10};return(0,a.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}_registerAssessment(e,t,s,n){return(0,a.isString)(t)?(0,a.isObject)(s)?(0,a.isString)(n)?(t=n+"-"+t,e.addAssessment(t,s),!0):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+n+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,s){let n=this.modifications[e];return!(0,a.isArray)(n)||n.length<1||(n=this._stripIllegalModifications(n),n.sort(((e,t)=>e.priority-t.priority)),(0,a.forEach)(n,(function(n){const i=n.callable(t,s);typeof i==typeof t?t=i:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=(0,a.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return(0,a.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){(0,a.forEach)(this.plugins,(function(e,t){(0,a.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return(0,a.forEach)(e,((t,s)=>{!1===this._validateOrigin(t.origin)&&delete e[s]})),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return(0,a.isUndefined)(this.plugins[e])}}function G(e,t,s){e("morphology",new A.Paper("",{keyword:s})).then((e=>{const s=e.result.keyphraseForms;t.dispatch(l.actions.updateWordsToHighlight((0,a.uniq)((0,a.flatten)(s))))})).catch((()=>{t.dispatch(l.actions.updateWordsToHighlight([]))}))}const J=window.wp.api;function Z(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}var X={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},ee=function(e,t,s){this.placeholder=e,this.replacement=t,this.options=(0,a.defaults)(s,X)};ee.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},ee.prototype.setSource=function(e){this.options.source=e},ee.prototype.hasScope=function(){return!(0,a.isEmpty)(this.options.scope)},ee.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},ee.prototype.inScope=function(e){return!this.hasScope()||(0,a.indexOf)(this.options.scope,e)>-1},ee.prototype.hasAlias=function(){return!(0,a.isEmpty)(this.options.aliases)},ee.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},ee.prototype.getAliases=function(){return this.options.aliases};const te=ee,{removeReplacementVariable:se,updateReplacementVariable:ne,refreshSnippetEditor:ie}=l.actions;var oe=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],ae={},re={},ce=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};ce.prototype.registerReplacements=function(){this.addReplacement(new te("%%author_first_name%%","author_first_name")),this.addReplacement(new te("%%author_last_name%%","author_last_name")),this.addReplacement(new te("%%category%%","category")),this.addReplacement(new te("%%category_title%%","category_title")),this.addReplacement(new te("%%currentdate%%","currentdate")),this.addReplacement(new te("%%currentday%%","currentday")),this.addReplacement(new te("%%currentmonth%%","currentmonth")),this.addReplacement(new te("%%currenttime%%","currenttime")),this.addReplacement(new te("%%currentyear%%","currentyear")),this.addReplacement(new te("%%date%%","date")),this.addReplacement(new te("%%id%%","id")),this.addReplacement(new te("%%page%%","page")),this.addReplacement(new te("%%permalink%%","permalink")),this.addReplacement(new te("%%post_content%%","post_content")),this.addReplacement(new te("%%post_month%%","post_month")),this.addReplacement(new te("%%post_year%%","post_year")),this.addReplacement(new te("%%searchphrase%%","searchphrase")),this.addReplacement(new te("%%sitedesc%%","sitedesc")),this.addReplacement(new te("%%sitename%%","sitename")),this.addReplacement(new te("%%userid%%","userid")),this.addReplacement(new te("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new te("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new te("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new te("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new te("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new te("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new te("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new te("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new te("%%sep%%(\\s*%%sep%%)*","sep"))},ce.prototype.registerEvents=function(){const e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},ce.prototype.subscribeToGutenberg=function(){if(!Z())return;const e={0:""};let t=null;const s=wp.data;s.subscribe((()=>{const n=s.select("core/editor").getEditedPostAttribute("parent");if(void 0!==n&&t!==n)return t=n,n<1?(this._currentParentPageTitle="",void this.declareReloaded()):(0,a.isUndefined)(e[n])?void J.loadPromise.done((()=>{new J.models.Page({id:n}).fetch().then((t=>{this._currentParentPageTitle=t.title.rendered,e[n]=this._currentParentPageTitle,this.declareReloaded()})).fail((()=>{this._currentParentPageTitle="",this.declareReloaded()}))})):(this._currentParentPageTitle=e[n],void this.declareReloaded())}))},ce.prototype.addReplacement=function(e){ae[e.placeholder]=e},ce.prototype.removeReplacement=function(e){delete ae[e.getPlaceholder()]},ce.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,a.forEach)(oe,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},ce.prototype.replaceVariables=function(e){return(0,a.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},ce.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return(0,a.forEach)(t,(t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},ce.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},ce.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},ce.prototype.replacePlaceholders=function(e){return(0,a.forEach)(ae,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},ce.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(ie())},ce.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},ce.prototype.parseTaxonomies=function(e,t){(0,a.isUndefined)(re[t])&&(re[t]={});const s=[];(0,a.forEach)(e,function(e){const n=(e=jQuery(e)).val(),i=this.getCategoryName(e),o=e.prop("checked");re[t][n]={label:i,checked:o},o&&-1===s.indexOf(i)&&s.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(ne(t,s.join(", ")))},ce.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),s=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,s),this.declareReloaded()},ce.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},ce.prototype.replaceCustomTaxonomy=function(e){return(0,a.forEach)(re,function(t,s){var n="%%ct_"+s+"%%";"category"===s&&(n="%%"+s+"%%"),e=e.replace(n,this.getTaxonomyReplaceVar(s))}.bind(this)),e},ce.prototype.getTaxonomyReplaceVar=function(e){var t=[],s=re[e];return!0===(0,a.isUndefined)(s)?"":((0,a.forEach)(s,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},ce.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val(),n=jQuery("#"+t.id+"-value").val();const i="cf_"+this.sanitizeCustomFieldNames(s),o=s+" (custom field)";this._store.dispatch(ne(i,n,o)),this.addReplacement(new te(`%%${i}%%`,n,{source:"direct"}))}.bind(this))},ce.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var s=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(s)+"%%")}.bind(this))},ce.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},ce.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},ce.prototype.bindFieldEvents=function(e,t){var s=(t=jQuery(t)).find("#the-list");s.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),s.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),s.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},ce.prototype.removeCustomFields=function(){var e=(0,a.filter)(ae,(function(e,t){return t.indexOf("%%cf_")>-1}));(0,a.forEach)(e,function(e){this._store.dispatch(se((0,a.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},ce.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),Z()&&!(0,a.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},ce.prototype.hasParentTitle=function(e){return!(0,a.isUndefined)(e)&&!(0,a.isUndefined)(e.prop("options"))},ce.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},ce.ReplaceVar=te;const le=ce,de=window.wp.hooks,pe="[^<>&/\\[\\]\0- =]+?",ue=new RegExp("\\["+pe+"( [^\\]]+?)?\\]","g"),he=new RegExp("\\[/"+pe+"\\]","g");class ge{constructor({registerPlugin:e,registerModification:t,pluginReady:s,pluginReloaded:n},i){this._registerModification=t,this._pluginReady=s,this._pluginReloaded=n,e("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();const o="("+i.join("|")+")";this.shortcodesRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))}declareReady(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()}declareReloaded(){this._pluginReloaded("YoastShortcodePlugin")}registerModifications(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")}removeUnknownShortCodes(e){return(e=e.replace(ue,"")).replace(he,"")}replaceShortcodes(e){return"string"==typeof e&&this.parsedShortcodes.forEach((({shortcode:t,output:s})=>{e=e.replace(t,s)})),e=this.removeUnknownShortCodes(e)}loadShortcodes(e){const t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)}bindElementEvents(){const e=document.querySelector(".wp-editor-area"),t=(0,a.debounce)(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))}getContentTinyMCE(){let e=document.querySelector(".wp-editor-area")?document.querySelector(".wp-editor-area").value:"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")?tinyMCE.get("content").getContent():""),e}getUnparsedShortcodes(e){return"object"!=typeof e?(console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+typeof e),!1):e.filter((e=>this.isUnparsedShortcode(e)))}isUnparsedShortcode(e){return!this.parsedShortcodes.some((({shortcode:t})=>t===e))}getShortcodes(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+typeof e),!1;const t=this.matchCapturingShortcodes(e);t.forEach((t=>{e=e.replace(t,"")}));const s=this.matchNonCapturingShortcodes(e);return t.concat(s)}matchCapturingShortcodes(e){const t=(e.match(this.closingTagRegex)||[]).join(" ").match(this.shortcodesRegex)||[];return(0,a.flatten)(t.map((t=>{const s="\\["+t+"[^\\]]*?\\].*?\\[\\/"+t+"\\]";return e.match(new RegExp(s,"g"))||[]})))}matchNonCapturingShortcodes(e){return e.match(this.nonCaptureRegex)||[]}parseShortcodes(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+typeof t),!1):"object"==typeof e&&e.length>0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()}saveParsedShortcodes(e,t){const s=JSON.parse(e);this.parsedShortcodes.push(...s),t()}}const me=ge,{updateShortcodesForParsing:ye}=l.actions;function we(e){var t=jQuery(".yst-traffic-light"),s=t.closest(".wpseo-meta-section-link"),n=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),s.attr("aria-describedby","wpseo-traffic-light-desc"),n.length>0?n.text(e.screenReaderText):s.closest("li").append(""+e.screenReaderText+"")}function fe(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}function be(){return(0,a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function _e(){const e=be();return(0,a.get)(e,"contentLocale","en_US")}function ve(){const e=be();return(0,a.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}function Ee(){const e=be();return!0===(0,a.get)(e,"contentAnalysisActive",!1)}function Se(){const e=be();return!0===(0,a.get)(e,"keywordAnalysisActive",!1)}function ke(){const e=be();return!0===(0,a.get)(e,"inclusiveLanguageAnalysisActive",!1)}const xe=window.yoast.featureFlag;function Re(){}let Oe=!1;function Pe(e){return e.sort(((e,t)=>e._identifier.localeCompare(t._identifier)))}function Te(e,t,s,n,i){if(!Oe)return;const o=A.Paper.parse(t());e.analyze(o).then((a=>{const{result:{seo:r,readability:c,inclusiveLanguage:d}}=a;if(r){const e=r[""];e.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),e.results=Pe(e.results),n.dispatch(l.actions.setSeoResultsForKeyword(o.getKeyword(),e.results)),n.dispatch(l.actions.setOverallSeoScore(e.score,o.getKeyword())),n.dispatch(l.actions.refreshSnippetEditor()),i.saveScores(e.score,o.getKeyword())}c&&(c.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),c.results=Pe(c.results),n.dispatch(l.actions.setReadabilityResults(c.results)),n.dispatch(l.actions.setOverallReadabilityScore(c.score)),n.dispatch(l.actions.refreshSnippetEditor()),i.saveContentScore(c.score)),d&&(d.results.forEach((e=>{e.getMarker=()=>()=>s(o,e.marks)})),d.results=Pe(d.results),n.dispatch(l.actions.setInclusiveLanguageResults(d.results)),n.dispatch(l.actions.setOverallInclusiveLanguageScore(d.score)),n.dispatch(l.actions.refreshSnippetEditor()),i.saveInclusiveLanguageScore(d.score)),(0,de.doAction)("yoast.analysis.refresh",a,{paper:o,worker:e,collectData:t,applyMarks:s,store:n,dataCollector:i})})).catch(Re)}const Ce="yoast-measurement-element";function Ae(e){let t=document.getElementById(Ce);return t||(t=function(){const e=document.createElement("div");return e.id=Ce,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}function Me(e){return(0,a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Potentially non-inclusive","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo"),screenReaderInclusiveLanguageText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:"",screenReaderInclusiveLanguageText:""}}}(A.interpreters.scoreToRating(e))}const Ie=jQuery,De=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._store=e.store};De.prototype.getData=function(){const e={title:this.getSnippetTitle(),keyword:Se()?this.getKeyword():"",text:this.getText(),permalink:this.getPermalink(),snippetCite:this.getSnippetCite(),snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),name:this.getName(),baseUrl:this.getBaseUrl(),pageTitle:this.getSnippetTitle(),titleWidth:Ae(this.getSnippetTitle())},t=this._store.getState();return{...e,metaTitle:(0,a.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,a.get)(t,["snippetEditor","data","slug"],this.getSlug()),meta:(0,a.get)(t,["analysisData","snippet","description"],this.getSnippetMeta())}},De.prototype.getKeyword=function(){return document.getElementById("hidden_wpseo_focuskw").value},De.prototype.getText=function(){return function(e){let t="";var s;return t=!1===$(e)||0==(s=e,null!==document.getElementById(s+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),t}(z)},De.prototype.getSlug=function(){return document.getElementById("slug").value},De.prototype.getPermalink=function(){const e=this.getSlug();return this.getBaseUrl()+e+"/"},De.prototype.getSnippetCite=function(){return this.getSlug()},De.prototype.getSnippetTitle=function(){return document.getElementById("hidden_wpseo_title").value},De.prototype.getSnippetMeta=function(){const e=document.getElementById("hidden_wpseo_desc");return e?e.value:""},De.prototype.getName=function(){return document.getElementById("name").value},De.prototype.getBaseUrl=function(){return wpseoScriptData.metabox.base_url},De.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("hidden_wpseo_desc").value=e;break;case"snippet_cite":document.getElementById("slug").value=e;break;case"snippet_title":document.getElementById("hidden_wpseo_title").value=e}},De.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},De.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e)},De.prototype.inputElementEventBinder=function(e){const t=["name",z,"slug","wpseo_focuskw"];for(let s=0;s{e=(0,a.merge)(e,t())})),e}}window.wp.annotations;const Fe=function(e){return(0,a.uniq)((0,a.flatten)(e.map((e=>{if(!(0,a.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))))},Be=window.wp.richText,Ue=/(<([a-z]|\/)[^<>]+>)/gi,{htmlEntitiesRegex:je}=A.helpers.htmlEntities,Ye=e=>{let t=0;return(0,a.forEachRight)(e,(e=>{const[s]=e;let n=s.length;/^<\/?br/.test(s)&&(n-=1),t+=n})),t},qe="",Ke="",ze='';function $e(e,t,s,n,i){const o=n.clientId,r=(0,Be.create)({html:e,multilineTag:s.multilineTag,multilineWrapperTag:s.multilineWrapperTag}).text;return(0,a.flatMap)(i,(s=>{let i;return i=s.hasBlockPosition&&s.hasBlockPosition()?function(e,t,s,n,i){if(t===e.getBlockClientId()){let t=e.getBlockPositionStart(),o=e.getBlockPositionEnd();if(e.isMarkForFirstBlockSection()){const e=((e,t,s)=>{const n="yoast/faq-block"===s?'':'';return{blockStartOffset:e-=n.length,blockEndOffset:t-=n.length}})(t,o,s);t=e.blockStartOffset,o=e.blockEndOffset}if(n.slice(t,o)===i.slice(t,o))return[{startOffset:t,endOffset:o}];const r=((e,t,s)=>{const n=s.slice(0,e),i=s.slice(0,t),o=((e,t,s,n)=>{const i=[...e.matchAll(Ue)];s-=Ye(i);const o=[...t.matchAll(Ue)];return{blockStartOffset:s,blockEndOffset:n-=Ye(o)}})(n,i,e,t),r=((e,t,s,n)=>{let i=[...e.matchAll(je)];return(0,a.forEachRight)(i,(e=>{const[,t]=e;s-=t.length})),i=[...t.matchAll(je)],(0,a.forEachRight)(i,(e=>{const[,t]=e;n-=t.length})),{blockStartOffset:s,blockEndOffset:n}})(n,i,e=o.blockStartOffset,t=o.blockEndOffset);return{blockStartOffset:e=r.blockStartOffset,blockEndOffset:t=r.blockEndOffset}})(t,o,n);return[{startOffset:r.blockStartOffset,endOffset:r.blockEndOffset}]}return[]}(s,o,n.name,e,r):function(e,t){const s=t.getOriginal().replace(/(<([^>]+)>)/gi,""),n=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t,s=!0){const n=[];if(0===e.length)return n;let i,o=0;for(s||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)n.push(i),o=i+t.length;return n}(e,s);if(0===i.length)return[];const o=function(e){let t=e.indexOf(qe);const s=t>=0;s||(t=e.indexOf(ze));let n=null;const i=[];for(;t>=0;){if(n=(e=s?e.replace(qe,""):e.replace(ze,"")).indexOf(Ke),n{i.forEach((n=>{const i=n+e.startOffset;let o=n+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=n+s.length),a.push({startOffset:i,endOffset:o})}))})),a}(r,s),i?i.map((e=>({...e,block:o,richTextIdentifier:t}))):[]}))}const Ve=e=>e[0].toUpperCase()+e.slice(1),We=(e,t,s,n,i)=>(e=e.map((e=>{const o=`${e.id}-${i[0]}`,a=`${e.id}-${i[1]}`,r=Ve(i[0]),c=Ve(i[1]),l=e[`json${r}`],d=e[`json${c}`],{marksForFirstSection:p,marksForSecondSection:u}=((e,t)=>({marksForFirstSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&e.isMarkForFirstBlockSection():e)),marksForSecondSection:e.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?e.getBlockAttributeId()===t.id&&!e.isMarkForFirstBlockSection():e))}))(t,e),h=$e(l,o,s,n,p),g=$e(d,a,s,n,u);return h.concat(g)})),(0,a.flattenDeep)(e)),Qe="yoast";let He=[];const Ge={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/list-item":[{key:"content"}],"core/heading":[{key:"content"}],"core/audio":[{key:"caption"}],"core/embed":[{key:"caption"}],"core/gallery":[{key:"caption"}],"core/image":[{key:"caption"}],"core/table":[{key:"caption"}],"core/video":[{key:"caption"}],"yoast/faq-block":[{key:"questions"}],"yoast/how-to-block":[{key:"steps"},{key:"jsonDescription"}]};function Je(){const e=He.shift();e&&((0,c.dispatch)("core/annotations").__experimentalAddAnnotation(e),Ze())}function Ze(){(0,a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(Je,{timeout:1e3}):setTimeout(Je,150)}const Xe=(e,t)=>{return(0,a.flatMap)((s=e.name,Ge.hasOwnProperty(s)?Ge[s]:[]),(s=>"yoast/faq-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];return 0===n.length?[]:We(n,s,e,t,["question","answer"])})(s,e,t):"yoast/how-to-block"===e.name?((e,t,s)=>{const n=t.attributes[e.key];if(n&&0===n.length)return[];const i=[];return"steps"===e.key&&i.push(We(n,s,e,t,["name","text"])),"jsonDescription"===e.key&&(s=s.filter((e=>e.hasBlockPosition&&e.hasBlockPosition()?!e.getBlockAttributeId():e)),i.push($e(n,"description",e,t,s))),(0,a.flattenDeep)(i)})(s,e,t):function(e,t,s){const n=e.key,i=((e,t)=>{const s=e.attributes[t];return"string"==typeof s?s:s.toString()})(t,n);return $e(i,n,e,t,s)}(s,e,t)));var s};function et(e,t){return(0,a.flatMap)(e,(e=>{const s=function(e){return e.innerBlocks.length>0}(e)?et(e.innerBlocks,t):[];return Xe(e,t).concat(s)}))}function tt(e){He=[],(0,c.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(Qe);const t=Fe(e);if(0===e.length)return;let s=(0,c.select)("core/block-editor").getBlocks();var n;t.length>0&&(s=s.filter((e=>t.some((t=>"core/"+t===e.name))))),n=et(s,e),He=n.map((e=>({blockClientId:e.block,source:Qe,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))),Ze()}function st(e,t){let s;$(K)&&((0,a.isUndefined)(s)&&(s=L(tinyMCE.get(K))),s(e,t)),(0,c.select)("core/block-editor")&&(0,a.isFunction)((0,c.select)("core/block-editor").getBlocks)&&(0,c.select)("core/annotations")&&(0,a.isFunction)((0,c.dispatch)("core/annotations").__experimentalAddAnnotation)&&(function(e,t){tinyMCE.editors.map((e=>L(e))).forEach((s=>s(e,t)))}(e,t),tt(t)),(0,de.doAction)("yoast.analysis.applyMarks",t)}var nt=jQuery;function it(e,t,s,n,i){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=nt("#post_ID, [name=tag_ID]").val(),this._taxonomy=nt("[name=taxonomy]").val()||"",this._nonce=i,this._ajaxAction=e,this._refreshAnalysis=s,this._initialized=!1}it.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=(0,a.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then((()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")})).then((()=>{this._initialized=!0,(0,a.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((()=>this._refreshAnalysis()))})).catch((e=>console.error(e)))},it.prototype.setKeyword=function(e){(0,a.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},it.prototype.requestKeywordUsage=function(e){nt.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},it.prototype.updateKeywordUsage=function(e,t){const{worker:s}=window.YoastSEO.analysis,n=t.keyword_usage,i=t.post_types;n&&(0,a.isArray)(n)&&(this._keywordUsage[e]=n,this._usedKeywordsPostTypes[e]=i,this._initialized&&s.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then((()=>this._refreshAnalysis())))};const{refreshSnippetEditor:ot,updateData:at,setFocusKeyword:rt,setCornerstoneContent:ct,setMarkerStatus:lt,setReadabilityResults:dt,setSeoResultsForKeyword:pt}=l.actions;function ut(e,t,s){var n,i;const o=new Le;function r(){const e={slug:i.val()};window.YoastSEO.store.dispatch(at(e))}function l(e){(0,a.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,a.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let d;function p(e,t){const s=d||"";d=e.getState().analysisData.snippet,!(0,M.isShallowEqualObjects)(s,d)&&t()}!function(){var d,u,h,g,m,y,w,f,b,_;g=jQuery(".term-description-wrap").find("td"),m=jQuery(".term-description-wrap").find("label"),y=g.find("textarea").val(),w=document.getElementById("wp-description-wrap"),f=g.find("p"),g.html(""),g.append(w).append(f),document.getElementById("description").value=y,m.replaceWith(m.html()),u=new Ne({store:t}),d={elementTarget:[z,"yoast_wpseo_focuskw","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:(b={},Se()&&(b.output="does-not-really-exist-but-it-needs-something"),Ee()&&(b.contentOutput="also-does-not-really-exist-but-it-needs-something"),b),callbacks:{getData:u.getData.bind(u)},locale:wpseoScriptData.metabox.contentLocale,contentAnalysisActive:Ee(),keywordAnalysisActive:Se(),debouncedRefresh:!1,researcher:new window.yoast.Researcher.default},Se()&&(t.dispatch(rt(u.getKeyword())),d.callbacks.saveScores=u.saveScores.bind(u),d.callbacks.updatedKeywordsResults=function(e){const s=t.getState().focusKeyword;t.dispatch(pt(s,e)),t.dispatch(ot())}),Ee()&&(t.dispatch(lt("hidden")),d.callbacks.saveContentScore=u.saveContentScore.bind(u),d.callbacks.updatedContentResults=function(e){t.dispatch(dt(e)),t.dispatch(ot())}),h=ve(),(0,a.isUndefined)(h)||(0,a.isUndefined)(h.domain)||(d.translations=h),n=new A.App(d),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=n,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=function(){const e=(0,a.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=(0,A.createWorker)(e),s=(0,a.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),n=[];for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=window.document.getElementById(`${e}-js-translations`);if(!t)continue;const i=t.innerHTML.slice(214),o=i.indexOf(","),a=i.slice(0,o-1);try{const e=JSON.parse(i.slice(o+1,-4));n.push([a,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:s,translations:n}),new A.AnalysisWorkerWrapper(t)}(),window.YoastSEO.analysis.collectData=()=>function(e,t,s,n,i){const o=(0,a.cloneDeep)(t.getState());(0,a.merge)(o,s.getData());const r=e.getData();let c=null;i&&(c=i.getBlocks()||[],c=c.filter((e=>e.isValid)));const l={text:r.content,textTitle:r.title,keyword:o.focusKeyword,synonyms:o.synonyms,description:o.analysisData.snippet.description||o.snippetEditor.data.description,title:o.analysisData.snippet.title||o.snippetEditor.data.title,slug:o.snippetEditor.data.slug,permalink:o.settings.snippetEditor.baseUrl+o.snippetEditor.data.slug,wpBlocks:c,date:o.settings.snippetEditor.date};n.loaded&&(l.title=n._applyModifications("data_page_title",l.title),l.title=n._applyModifications("title",l.title),l.description=n._applyModifications("data_meta_desc",l.description),l.text=n._applyModifications("content",l.text),l.wpBlocks=n._applyModifications("wpBlocks",l.wpBlocks));const d=o.analysisData.snippet.filteredSEOTitle;return l.titleWidth=Ae(d||o.snippetEditor.data.title),l.locale=_e(),l.writingDirection=function(){let e="LTR";return be().isRtl&&(e="RTL"),e}(),l.shortcodes=window.wpseoScriptData.analysis.plugins.shortcodes?window.wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags:[],A.Paper.parse((0,de.applyFilters)("yoast.analysis.data",l))}(s,window.YoastSEO.store,o,window.YoastSEO.app.pluggable),window.YoastSEO.analysis.applyMarks=(e,t)=>function(){const e=(0,c.select)("yoast-seo/editor").isMarkingAvailable(),t=(0,c.select)("yoast-seo/editor").getMarkerPauseStatus();return!e||t?a.noop:st}()(e,t),window.YoastSEO.app.refresh=(0,a.debounce)((()=>Te(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500),window.YoastSEO.app.registerCustomDataCallback=o.register,window.YoastSEO.app.pluggable=new H(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=(e,t,s)=>{if(!(0,a.isUndefined)(n.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(n.defaultSeoAssessor,e,t,s)&&window.YoastSEO.app.pluggable._registerAssessment(n.cornerStoneSeoAssessor,e,t,s)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Re),window.YoastSEO.app.refresh()},function(e,t,s){const n=be();if(!n.previouslyUsedKeywordActive)return;const i=new it("get_term_keyword_usage",n,e,(0,a.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),(0,a.get)(window,["wpseoScriptData","usedKeywordsNonce"],""));i.init();let o={};s.subscribe((()=>{const e=s.getState()||{};e.focusKeyword!==o.focusKeyword&&(o=e,i.setKeyword(e.focusKeyword))}))}(n.refresh,0,t),t.subscribe(p.bind(null,t,n.refresh)),Se()&&(n.seoAssessor=new A.TaxonomyAssessor(n.config.researcher),n.seoAssessorPresenter.assessor=n.seoAssessor),window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new le(n,t),function(e,t){let s=[];s=(0,de.applyFilters)("yoast.analysis.shortcodes",s);const n=wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags;s=s.filter((e=>n.includes(e))),s.length>0&&(t.dispatch(ye(s)),window.YoastSEO.wp.shortcodePlugin=new ge({registerPlugin:e.registerPlugin,registerModification:e.registerModification,pluginReady:e.pluginReady,pluginReloaded:e.pluginReloaded},s))}(n,t),window.YoastSEO.analyzerArgs=d,(i=e("#slug")).on("change",r),u.bindElementEvents((0,a.debounce)((()=>Te(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,u)),500)),Se()&&(we(_=Me(e("#hidden_wpseo_linkdex").val())),fe(_)),Ee()&&function(){var t=Me(e("#hidden_wpseo_content_score").val());we(t),fe(t)}(),ke()&&function(){const t=Me(e("#hidden_wpseo_inclusive_language_score").val());we(t),fe(t)}(),window.YoastSEO.analysis.worker.initialize(function(e={}){let t={locale:_e(),contentAnalysisActive:Ee(),keywordAnalysisActive:Se(),inclusiveLanguageAnalysisActive:ke(),defaultQueryParams:(0,a.get)(window,["wpseoAdminL10n","default_query_params"],{}),logLevel:(0,a.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,xe.enabledFeatures)()};t=(0,a.merge)(t,e);const s=ve();return(0,a.isUndefined)(s)||(0,a.isUndefined)(s.domain)||(t.translations=s),t}({useTaxonomy:!0})).then((()=>{jQuery(window).trigger("YoastSEO:ready")})).catch(Re),l(n);const v=n.initAssessorPresenters.bind(n);n.initAssessorPresenters=function(){v(),l(n)};let E={title:(S=u).getSnippetTitle(),slug:S.getSnippetCite(),description:S.getSnippetMeta()};var S;!function(e){const s=document.getElementById("hidden_wpseo_is_cornerstone");let n="1"===s.value;t.dispatch(ct(n)),e.changeAssessorOptions({useCornerstone:n}),t.subscribe((()=>{const i=t.getState();i.isCornerstone!==n&&(n=i.isCornerstone,s.value=n?"1":"0",e.changeAssessorOptions({useCornerstone:n}))}))}(n);const k=function(e){const t={};if((0,a.isUndefined)(e))return t;t.title=e.title_template;const s=e.metadesc_template;return(0,a.isEmpty)(s)||(t.description=s),t}(wpseoScriptData.metabox);E=function(e,t){const s={...e};return(0,a.forEach)(t,((t,n)=>{(0,a.has)(e,n)&&""===e[n]&&(s[n]=t)})),s}(E,k),t.dispatch(at(E));let x=t.getState().focusKeyword;G(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,x);const R=(0,a.debounce)((()=>{n.refresh()}),50);t.subscribe((()=>{const e=t.getState().focusKeyword;x!==e&&(x=e,G(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,x),document.getElementById("hidden_wpseo_focuskw").value=x,R());const s=function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}}(t),n=function(e,t){const s={...e};return(0,a.forEach)(t,((t,n)=>{(0,a.has)(e,n)&&e[n].trim()===t&&(s[n]="")})),s}(s,k);E.title!==s.title&&u.setDataFromSnippet(n.title,"snippet_title"),E.slug!==s.slug&&u.setDataFromSnippet(n.slug,"snippet_cite"),E.description!==s.description&&u.setDataFromSnippet(n.description,"snippet_meta"),E.title=s.title,E.slug=s.slug,E.description=s.description})),Oe=!0,window.YoastSEO.app.refresh()}()}window.yoastHideMarkers=!0,window.YoastReplaceVarPlugin=le,window.YoastShortcodePlugin=me;let ht=null;const gt=()=>{if(null===ht){const e=(0,c.dispatch)("yoast-seo/editor").runAnalysis;ht=window.YoastSEO.app&&window.YoastSEO.app.pluggable?window.YoastSEO.app.pluggable:new H(e)}return ht},mt=(e,t,s)=>gt().loaded?gt()._applyModifications(e,t,s):t;function yt(){const{getAnalysisData:e,getEditorDataTitle:t}=(0,c.select)("yoast-seo/editor");let s=e();s={...s,textTitle:t()};const n=function(e){return e.title=mt("data_page_title",e.title),e.title=mt("title",e.title),e.description=mt("data_meta_desc",e.description),e.text=mt("content",e.text),e}(s);return(0,de.applyFilters)("yoast.analysis.data",n)}(0,a.debounce)((async function(e,t){const{text:s,...n}=t,i=new A.Paper(s,n);try{const t=await e.analyze(i),{seo:s,readability:n,inclusiveLanguage:o}=t.result;if(s){const e=s[""];e.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),e.results=Pe(e.results),(0,c.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),(0,c.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}n&&(n.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),n.results=Pe(n.results),(0,c.dispatch)("yoast-seo/editor").setReadabilityResults(n.results),(0,c.dispatch)("yoast-seo/editor").setOverallReadabilityScore(n.score)),o&&(o.results.forEach((e=>{e.getMarker=()=>()=>window.YoastSEO.analysis.applyMarks(i,e.marks)})),o.results=Pe(o.results),(0,c.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),(0,c.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),(0,de.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){}}),500);const wt=()=>{const{getContentLocale:e}=(0,c.select)("yoast-seo/editor"),t=((...e)=>()=>e.map((e=>e())))(e,yt),s=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:s}=(0,c.dispatch)("yoast-seo/editor"),n=(0,a.get)(window,"YoastSEO.analysis.worker.runResearch",a.noop);return()=>{const i=A.Paper.parse(yt());n("readingTime",i).then((t=>e(t.result))),n("getFleschReadingScore",i).then((e=>{e.result&&t(e.result)})),n("wordCountInText",i).then((e=>s(e.result)))}})();return setTimeout(s,1500),((e,t)=>{let s=e();return()=>{const n=e();(0,a.isEqual)(n,s)||(s=n,t((0,a.clone)(n)))}})(t,s)},ft=window.React,bt=window.wp.components,_t=window.wp.element,vt=window.yoast.uiLibrary,Et=window.yoast.propTypes;var St=e.n(Et);St().string.isRequired;const kt=ft.forwardRef((function(e,t){return ft.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),ft.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))})),xt=ft.forwardRef((function(e,t){return ft.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),ft.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Rt=({learnMoreLink:e,thumbnail:t,wistiaEmbedPermission:s,upsellLink:n,isProductCopy:i,title:o,upsellLabel:a,newToText:c,bundleNote:l})=>{const{onClose:d,initialFocus:p}=(0,vt.useModalContext)(),u={a:(0,ft.createElement)(Ct,{href:e,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,ft.createElement)(xt,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})};return(0,ft.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},(0,ft.createElement)("div",{className:"yst-relative yst-w-full"},(0,ft.createElement)(Zt,{videoId:"vmrahpfjxp",thumbnail:t,wistiaEmbedPermission:s}),(0,ft.createElement)(vt.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),(0,ft.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},(0,ft.createElement)("span",{className:"yst-introduction-modal-uppercase"},c)),(0,ft.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},(0,ft.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},o),(0,ft.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},i?(0,_t.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ (0,r.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for product titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),u):(0,_t.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s and %2$s are anchor tags; %3$s is the arrow icon. */ (0,r.__)("Let AI do some of the thinking for you and help you save time. Get high-quality suggestions for titles and meta descriptions to make your content rank high and look good on social media. %1$sLearn more%2$s%3$s","wordpress-seo"),"","",""),u))),(0,ft.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},(0,ft.createElement)(vt.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:n,target:"_blank",ref:p},(0,ft.createElement)(kt,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),a,(0,ft.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */ (0,r.__)("(Opens in a new browser tab)","wordpress-seo")))),l,(0,ft.createElement)(vt.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:d},(0,r.__)("Close","wordpress-seo")))};Rt.propTypes={learnMoreLink:St().string.isRequired,upsellLink:St().string.isRequired,thumbnail:St().shape({src:St().string.isRequired,width:St().string,height:St().string}).isRequired,wistiaEmbedPermission:St().shape({value:St().bool.isRequired,status:St().string.isRequired,set:St().func.isRequired}).isRequired,title:St().string,upsellLabel:St().string,newToText:St().string,isProductCopy:St().bool,bundleNote:St().oneOfType([St().string,St().element])},Rt.defaultProps={title:(0,r.__)("Use AI to write your titles & meta descriptions!","wordpress-seo"),upsellLabel:(0,r.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ diff --git a/wp/wp-content/plugins/wordpress-seo/readme.txt b/wp/wp-content/plugins/wordpress-seo/readme.txt index 79023898..bd12b4d0 100644 --- a/wp/wp-content/plugins/wordpress-seo/readme.txt +++ b/wp/wp-content/plugins/wordpress-seo/readme.txt @@ -5,7 +5,7 @@ License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html Tags: SEO, XML sitemap, Content analysis, Readability, Schema Tested up to: 6.5 -Stable tag: 22.7 +Stable tag: 22.8 Requires PHP: 7.2.5 Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO plugin. @@ -315,6 +315,30 @@ Your question has most likely been answered on our help center: [yoast.com/help/ == Changelog == += 22.8 = + +Release date: 2024-05-28 + +Yoast SEO 22.8 brings enhancements and bugfixes. [Find more information about our software releases and updates here](https://yoa.st/release-28-5-24). + +#### Enhancements + +* Converts the Yoast _Breadcrumbs_ block to use the Blocks V3 API. + +#### Bugfixes + +* Fixes a bug preventing multiple _FAQ_ blocks from being added to a post/page. +* Fixes a bug where a class was missing in the output of the _FAQ_ and _How-To_ blocks. +* Fixes a bug where a "Failed to retrieve media" error could prevent selecting a different image or removing the current selection. +* Fixes a bug where our modals would not open when visiting our sidebar in Elementor for the second time. +* Fixes a bug where some Yoast SEO settings could not be imported correctly. + +#### Other + +* Removes the fixed date and separator snippet variables from the meta description text field. +* Removes the Yoast SEO Breadcrumbs panel from the Customizer to improve compatibility with block-based themes. Users can always change the options for the breadcrumbs under Yoast SEO > Settings > Advanced > Breadcrumbs. +* Deprecates the `WPSEO_Customizer` class. + = 22.7 = Release date: 2024-05-14 @@ -339,28 +363,5 @@ Yoast SEO 22.7 converts selected blocks to the Blocks V3 API and brings multiple * Removes the `yoast-components-package` script. * Sets the minimum supported WordPress version to 6.4. -= 22.6 = - -Release date: 2024-04-30 - -Yoast SEO 22.6 is out today! This release brings many performance and quality-of-life fixes to improve your favorite SEO plugin. Plus, we’re asking you to update your PHP versions. Find out what’s new in [this post](https://yoa.st/release-30-4-24)! - -#### Enhancements - -* Adds a helpful error message in the Yoast sidebar/metabox in case of plugin or theme conflicts. Now when an unknown error occurs, the error is caught and an error message is shown. Before, the error would lead to a blank sidebar/metabox, or to an entire blank page. -* Improves performance when it comes to storing user metadata, most visible at the point of author sitemap creation. -* Improves the keyphrase detection in SEO title for Arabic and Hebrew. For example, when the keyphrase is \"باندا حمراء\" and the SEO title starts with \"الباندا الحمراء\", we now recognize this as an exact match and give a good result for the _keyphrase in SEO title_ assessment. - -#### Bugfixes - -* Fixes a bug where a PHP notice in the settings would influence the styling of some of our inputs. -* Fixes a bug where the inserted variables in the search appearance would not show correctly when using Elementor. -* Fixes a bug where there would be a fatal error when deleting post meta in PHP 8.1 and higher. Props to @izzygld. -* Fixes a security issue where URLs were not correctly escaped in the Yoast admin bar menu. - -#### Other - -* Introduces a notice on the WordPress dashboard and the Yoast SEO dashboard to let users know we are dropping support for PHP < 7.4 starting November 1st, 2024. - = Earlier versions = For the changelog of earlier versions, please refer to [the changelog on yoast.com](https://yoa.st/yoast-seo-changelog). diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-customizer.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-customizer.php new file mode 100644 index 00000000..57b68c31 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/src/deprecated/admin/class-customizer.php @@ -0,0 +1,72 @@ +form = Yoast_Form::get_instance(); - } - - /** - * Shows the search results help question mark and help section. - * - * Used for all the Help sections for indexable objects like post types, taxonomies, or archives. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param string|object $post_type The post type to show the search results help for. - * @param string $help_text_switch Switch the help text to one that's more appropriate - * for the indexable object type the help section is for. - * @return object The help panel instance. - */ - public function search_results_setting_help( $post_type, $help_text_switch = '' ) { - _deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - if ( ! is_object( $post_type ) ) { - $post_type = get_post_type_object( $post_type ); - } - - /* translators: 1: expands to an indexable object's name, like a post type or taxonomy; 2: expands to noindex; 3: link open tag; 4: link close tag. */ - $help_text = esc_html__( 'Not showing %1$s in the search results technically means those will have a %2$s robots meta and will be excluded from XML sitemaps. %3$sMore info on the search results settings%4$s.', 'wordpress-seo' ); - - if ( $help_text_switch === 'archive' ) { - /* translators: 1: expands to an indexable object's name, like a post type or taxonomy; 2: expands to noindex; 3: link open tag; 4: link close tag. */ - $help_text = esc_html__( 'Not showing the archive for %1$s in the search results technically means those will have a %2$s robots meta and will be excluded from XML sitemaps. %3$sMore info on the search results settings%4$s.', 'wordpress-seo' ); - } - - $help_panel = new WPSEO_Admin_Help_Panel( - // Sometimes the same post type is used more than once in the same page, we need a unique ID though. - uniqid( 'noindex-' . $post_type->name ), - esc_html__( 'Help on this search results setting', 'wordpress-seo' ), - sprintf( - $help_text, - $post_type->labels->name, - 'noindex', - '', - '' - ) - ); - - return $help_panel; - } - - /** - * Generates the OpenGraph disabled alert, depending on whether the OpenGraph feature is disabled. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param string $type The type of message. Can be altered to homepage, taxonomies or archives. Empty string by default. - * - * @return string The alert. Returns an empty string if the setting is enabled. - */ - public function generate_opengraph_disabled_alert( $type = '' ) { - _deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $is_enabled = WPSEO_Options::get( 'opengraph', true ); - - if ( $is_enabled ) { - return ''; - } - - $message = $this->generate_opengraph_disabled_alert_text( $type ); - - if ( empty( $message ) ) { - return ''; - } - - $alert = new Alert_Presenter( $message, 'info' ); - - return sprintf( - '
%s
', - $alert->present() - ); - } - - /** - * Generates the OpenGraph disabled alert text. - * - * @param string $type The type of message. Can be altered to homepage, taxonomies or archives. Empty string by default. - * - * @return string The alert. Returns an empty string if the setting is enabled. - */ - private function generate_opengraph_disabled_alert_text( $type ) { - if ( $type === 'homepage' ) { - return sprintf( - /* translators: 1: link open tag; 2: link close tag. */ - esc_html__( - 'The social appearance settings for your homepage require Open Graph metadata (which is currently disabled). You can enable this in the %1$s‘Social’ settings under the ‘Facebook’ tab%2$s.', - 'wordpress-seo' - ), - '', - '' - ); - } - - if ( ! YoastSEO()->helpers->product->is_premium() ) { - return ''; - } - - if ( $type === '' ) { - return sprintf( - /* translators: 1: link open tag; 2: link close tag. */ - esc_html__( - 'The social appearance settings for content types require Open Graph metadata (which is currently disabled). You can enable this in the %1$s‘Social’ settings under the ‘Facebook’ tab%2$s.', - 'wordpress-seo' - ), - '', - '' - ); - } - - if ( $type === 'taxonomies' ) { - return sprintf( - /* translators: 1: link open tag; 2: link close tag. */ - esc_html__( - 'The social appearance settings for taxonomies require Open Graph metadata (which is currently disabled). You can enable this in the %1$s‘Social’ settings under the ‘Facebook’ tab%2$s.', - 'wordpress-seo' - ), - '', - '' - ); - } - - if ( $type === 'archives' ) { - return sprintf( - /* translators: 1: link open tag; 2: link close tag. */ - esc_html__( - 'The social appearance settings for archives require Open Graph metadata (which is currently disabled). You can enable this in the %1$s‘Social’ settings under the ‘Facebook’ tab%2$s.', - 'wordpress-seo' - ), - '', - '' - ); - } - - return ''; - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/indexables-page-action.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/indexables-page-action.php deleted file mode 100644 index 127b8256..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/indexables-page-action.php +++ /dev/null @@ -1,451 +0,0 @@ -indexable_repository = $indexable_repository; - $this->post_type_helper = $post_type_helper; - $this->options_helper = $options_helper; - $this->indexables_page_helper = $indexables_page_helper; - } - - /** - * Get public sub types that are relevant for the indexable page. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array The subtypes. - */ - protected function get_sub_types() { - $object_sub_types = \array_values( $this->post_type_helper->get_public_post_types() ); - - $excluded_post_types = \apply_filters( 'wpseo_indexable_excluded_post_types', [ 'attachment' ] ); - - /** - * Filter: 'wpseo_indexable_included_post_types' - Allow developers to specify which post types will - * be shown in the indexables overview cards. - * - * @param array $included_post_types The currently included post types. - */ - $included_post_types = \apply_filters_deprecated( 'wpseo_indexable_included_post_types', [ [ 'post', 'page' ] ], 'Yoast SEO 20.4' ); - $object_sub_types = \array_diff( $object_sub_types, $excluded_post_types ); - $only_post_pages = \array_intersect( $object_sub_types, $included_post_types ); - - $wanted_sub_types = []; - foreach ( $only_post_pages as $sub_type ) { - if ( $this->post_type_helper->has_metabox( $sub_type ) ) { - $wanted_sub_types[] = $sub_type; - } - } - return $wanted_sub_types; - } - - /** - * Creates a query that can find public indexables. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return ORM Returns an ORM instance that can be used to execute the query. - */ - protected function query() { - $sub_types = $this->get_sub_types(); - if ( empty( $sub_types ) ) { - // If there are no subtypes to display, any query should return an empty result. - return $this->indexable_repository->query()->where_raw( '1 = 0' ); - } - - // Make sure that we consider the noindex of both each post but also for the global values. - $build_where = '('; - foreach ( $sub_types as $sub_type ) { - $is_default_noindex = $this->post_type_helper->is_indexable( $sub_type ) ? ' OR is_robots_noindex IS NULL' : ''; - $build_where .= '( object_sub_type = \'' . $sub_type . '\' AND ( is_robots_noindex = FALSE' . $is_default_noindex . ' ) ) OR'; - } - $build_where = \rtrim( $build_where, ' OR' ); - $build_where .= ')'; - - return $this->indexable_repository->query() - ->where_raw( '( post_status = \'publish\' OR post_status IS NULL )' ) - ->where_in( 'object_type', [ 'post' ] ) - ->where_raw( $build_where ); - } - - /** - * Gets the neccessary information to set up the indexables page. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param int $content_threshold The threshold to check against for enough content. - * @param int $analysis_threshold The threshold to check against for enough analyzed content. - * - * @return array The neccessary information to set up the indexables page. - */ - public function get_setup_info( $content_threshold, $analysis_threshold ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $features = [ - 'isSeoScoreEnabled' => $this->options_helper->get( 'keyword_analysis_active', true ), - 'isReadabilityEnabled' => $this->options_helper->get( 'content_analysis_active', true ), - 'isLinkCountEnabled' => $this->options_helper->get( 'enable_text_link_counter', true ), - ]; - - $posts_with_seo_score = 0; - $posts_with_readability = 0; - $posts_without_keyphrase = []; - - $all_posts = $this->query()->count(); - - if ( $all_posts < 1 ) { - $this->set_indexables_state( 'no-content' ); - return [ - 'enabledFeatures' => $features, - 'enoughContent' => false, - 'enoughAnalysedContent' => false, - ]; - } - - $posts_with_seo_score = $this->query() - ->where_not_equal( 'primary_focus_keyword', 0 ) - ->count(); - - $posts_without_keyphrase = $this->query() - ->where_null( 'primary_focus_keyword' ) - ->order_by_desc( 'incoming_link_count' ) - ->find_many(); - - $posts_with_readability = $this->query() - ->where_not_equal( 'readability_score', 0 ) - ->count(); - - $analysed_content = ( \max( $posts_with_seo_score, $posts_with_readability ) / $all_posts ); - - $enough_content = $all_posts > $content_threshold; - $enough_analysed_content = $analysed_content > $analysis_threshold; - - if ( ! $enough_content ) { - $this->set_indexables_state( 'not-enough-content' ); - } - elseif ( ! $enough_analysed_content ) { - $this->set_indexables_state( 'not-enough-analysed-content' ); - } - else { - $this->set_indexables_state( 'lists-shown' ); - } - - return [ - 'enabledFeatures' => $features, - 'enoughContent' => $enough_content, - 'enoughAnalysedContent' => $enough_analysed_content, - 'postsWithoutKeyphrase' => \array_map( - static function ( $indexable ) { - $output = $indexable; - if ( $indexable->incoming_link_count === null ) { - $output->incoming_link_count = 0; - } - return $output; - }, - $posts_without_keyphrase - ), - ]; - } - - /** - * Gets the posts with the smallest readability scores. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param int $limit The maximum amount of results to return. - * - * @return array The posts with the smallest readability scores as an array. - */ - public function get_least_readable( $limit ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $least_readability_ignore_list = $this->options_helper->get( 'least_readability_ignore_list', [] ); - $ignore_list = empty( $least_readability_ignore_list ) ? [ -1 ] : $least_readability_ignore_list; - - $least_readable = $this->query() - ->select_many( 'id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'readability_score' ) - ->where_not_in( 'id', $ignore_list ) - ->where_not_equal( 'readability_score', 0 ) - ->order_by_asc( 'readability_score' ) - ->limit( $limit ) - ->find_many(); - - return \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $least_readable ); - } - - /** - * Gets the posts with the lowest seo scores. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param int $limit The maximum amount of results to return. - * - * @return array The posts with the lowest seo scores as an array. - */ - public function get_least_seo_score( $limit ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - // Where_not_equal needs the set to check against not to be empty. - $least_seo_score_ignore_list = $this->options_helper->get( 'least_seo_score_ignore_list', [] ); - $ignore_list = empty( $least_seo_score_ignore_list ) ? [ -1 ] : $least_seo_score_ignore_list; - - $least_seo_score = $this->query() - ->select_many( 'id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'primary_focus_keyword', 'primary_focus_keyword_score' ) - ->where_not_in( 'id', $ignore_list ) - ->where_not_equal( 'primary_focus_keyword', 0 ) - ->order_by_asc( 'primary_focus_keyword_score' ) - ->limit( $limit ) - ->find_many(); - - return \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $least_seo_score ); - } - - /** - * Gets the most linked posts. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param int $limit The maximum amount of results to return. - * - * @return array The most linked posts as an array. - */ - public function get_most_linked( $limit ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - // Where_not_equal needs the set to check against not to be empty. - $most_linked_ignore_list = $this->options_helper->get( 'most_linked_ignore_list', [] ); - $ignore_list = empty( $most_linked_ignore_list ) ? [ -1 ] : $most_linked_ignore_list; - - $most_linked = $this->query() - ->select_many( 'id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'incoming_link_count', 'is_cornerstone' ) - ->where_gt( 'incoming_link_count', 0 ) - ->where_not_null( 'incoming_link_count' ) - ->where_not_in( 'id', $ignore_list ) - ->order_by_desc( 'incoming_link_count' ) - ->limit( $limit ) - ->find_many(); - - return \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $most_linked ); - } - - /** - * Gets the least linked posts. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param int $limit The maximum amount of results to return. - * - * @return array The most linked posts as an array. - */ - public function get_least_linked( $limit ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - // Where_not_equal needs the set to check against not to be empty. - $least_linked_ignore_list = $this->options_helper->get( 'least_linked_ignore_list', [] ); - $ignore_list = empty( $least_linked_ignore_list ) ? [ -1 ] : $least_linked_ignore_list; - - $least_linked = $this->query() - ->select_many( 'id', 'object_id', 'object_sub_type', 'permalink', 'breadcrumb_title', 'incoming_link_count' ) - ->where_not_in( 'id', $ignore_list ) - ->order_by_asc( 'incoming_link_count' ) - ->limit( $limit ) - ->find_many(); - - $least_linked = \array_map( [ $this->indexable_repository, 'ensure_permalink' ], $least_linked ); - return \array_map( - static function ( $indexable ) { - $output = $indexable; - if ( $indexable->incoming_link_count === null ) { - $output->incoming_link_count = 0; - } - return $output; - }, - $least_linked - ); - } - - /** - * Stores an indexable in an ignore-list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param string $ignore_list_name The name of the ignore-list. - * @param array $ignored_indexable_ids The IDs of the updated ignored indexables. - * - * @return bool Whether saving the ignore-list to the database succeeded. - */ - public function update_ignored_indexables( $ignore_list_name, $ignored_indexable_ids ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - if ( ! $this->indexables_page_helper->is_valid_ignore_list_name( $ignore_list_name ) ) { - return false; - } - - return $this->options_helper->set( $ignore_list_name, $ignored_indexable_ids ); - } - - /** - * Removes an indexable from its ignore-list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param string $ignore_list_name The name of the ignore-list. - * @param int $indexable_id The ID of the indexable to store in the ignore-list. - * - * @return bool Whether saving the ignore-list to the database succeeded. - */ - public function remove_indexable_from_ignore_list( $ignore_list_name, $indexable_id ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - if ( ! $this->indexables_page_helper->is_valid_ignore_list_name( $ignore_list_name ) ) { - return false; - } - - $ignore_list = $this->options_helper->get( $ignore_list_name, [] ); - - $ignore_list = \array_values( - \array_filter( - $ignore_list, - static function ( $indexable ) use ( $indexable_id ) { - return $indexable !== $indexable_id; - } - ) - ); - - return $this->options_helper->set( $ignore_list_name, $ignore_list ); - } - - /** - * Removes all indexables from an ignore-list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param string $ignore_list_name The name of the ignore-list. - * - * @return bool Whether saving the ignore-list to the database succeeded. - */ - public function remove_all_indexables_from_ignore_list( $ignore_list_name ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - if ( ! $this->indexables_page_helper->is_valid_ignore_list_name( $ignore_list_name ) ) { - return false; - } - return $this->options_helper->set( $ignore_list_name, [] ); - } - - /** - * Gets the reading list state. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array The state of each element in the reading list. - */ - public function get_reading_list() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - return $this->options_helper->get( 'indexables_page_reading_list', [ false, false, false, false, false ] ); - } - - /** - * Sets the reading list state. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param array $state The state to be saved. - * - * @return bool Whether saving the reading list state succeeded. - */ - public function set_reading_list( $state ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - return $this->options_helper->set( 'indexables_page_reading_list', $state ); - } - - /** - * Sets the indexables overview state. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param string $state The state to be saved. - * - * @return bool Whether saving the indexables overview state succeeded. - */ - public function set_indexables_state( $state ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - return $this->options_helper->set( 'indexables_overview_state', $state ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/settings-introduction-action.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/settings-introduction-action.php deleted file mode 100644 index 8ab0bc10..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/actions/settings-introduction-action.php +++ /dev/null @@ -1,162 +0,0 @@ - false, - 'show' => true, - ]; - - /** - * Holds the User_Helper instance. - * - * @var User_Helper - */ - private $user_helper; - - /** - * Constructs Settings_Introduction_Action. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @param User_Helper $user_helper The User_Helper. - */ - public function __construct( User_Helper $user_helper ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $this->user_helper = $user_helper; - } - - /** - * Retrieves the Wistia embed permission value. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return bool The value of the Wistia embed permission. - * - * @throws Exception If an invalid user ID is supplied. - */ - public function get_wistia_embed_permission() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $user_id = $this->user_helper->get_current_user_id(); - $values = $this->get_values_for_user( $user_id ); - - return $values['wistia_embed_permission']; - } - - /** - * Sets the Wistia embed permission value. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @param bool $value The value. - * - * @return bool Whether the update was successful. - * - * @throws Exception If an invalid user ID is supplied. - */ - public function set_wistia_embed_permission( $value ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $user_id = $this->user_helper->get_current_user_id(); - $values = $this->get_values_for_user( $user_id ); - - // Check if there is anything to update. - if ( $values['wistia_embed_permission'] === $value ) { - return true; - } - - $values['wistia_embed_permission'] = $value; - - return $this->user_helper->update_meta( $user_id, self::USER_META_KEY, $values ) !== false; - } - - /** - * Retrieves the show value. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return bool The value of show. - * - * @throws Exception If an invalid user ID is supplied. - */ - public function get_show() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $user_id = $this->user_helper->get_current_user_id(); - $values = $this->get_values_for_user( $user_id ); - - return $values['show']; - } - - /** - * Sets the show value. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @param bool $value The value. - * - * @return bool Whether the update was successful. - * - * @throws Exception If an invalid user ID is supplied. - */ - public function set_show( $value ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $user_id = $this->user_helper->get_current_user_id(); - $values = $this->get_values_for_user( $user_id ); - - // Check if there is anything to update. - if ( $values['show'] === $value ) { - return true; - } - - $values['show'] = $value; - - return $this->user_helper->update_meta( $user_id, self::USER_META_KEY, $values ) !== false; - } - - /** - * Retrieves the (meta) values for a user. - * - * @param int $user_id User ID. - * - * @return array The (meta) values. - * - * @throws Exception If an invalid user ID is supplied. - */ - private function get_values_for_user( $user_id ) { - $values = $this->user_helper->get_meta( $user_id, self::USER_META_KEY, true ); - if ( $values === false ) { - throw new Exception( 'Invalid User ID' ); - } - - if ( \is_array( $values ) && \array_key_exists( 'wistia_embed_permission', $values ) && \array_key_exists( 'show', $values ) ) { - return $values; - } - - // Why could $values be invalid? - // - When the database row does not exist yet, $values can be an empty string. - // - Faulty data was stored? - return self::DEFAULT_VALUES; - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/conditionals/indexables-page-conditional.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/conditionals/indexables-page-conditional.php deleted file mode 100644 index 7371078a..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/conditionals/indexables-page-conditional.php +++ /dev/null @@ -1,24 +0,0 @@ -options = $options; - } - - /** - * Retrieves the size of the Indexables lists. This size is the amount of indexables that are displayed in each list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return int The size of the Indexables lists. - */ - public function get_indexables_list_size() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - /** - * Filter 'wpseo_indexables_list_size' - Allow filtering the size of the Indexables lists. - * - * @param int $list_size The size of the Indexables lists. - */ - return \apply_filters_deprecated( 'wpseo_indexables_list_size', [ self::LIST_SIZE ], 'Yoast SEO 20.4' ); - } - - /** - * Retrieves the size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size. This size is the amount of indexables that are fetched upon page load. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return int The size of the Indexables lists. - */ - public function get_buffer_size() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - /** - * Filter 'wpseo_indexables_buffer_size' - Allow filtering the size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size. - * - * @param int $buffer_size The size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size. - */ - $times = \apply_filters_deprecated( 'wpseo_indexables_buffer_size', [ self::BUFFER_SIZE ], 'Yoast SEO 20.4' ); - if ( $times < 3 ) { - $times = 3; - } - - return ( $this->get_indexables_list_size() * \intval( $times ) ); - } - - /** - * Retrieves the minimum threshold for the amount of posts in the site, in order for lists to be relevant. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return int The size of the Indexables lists. - */ - public function get_minimum_posts_threshold() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - /** - * Filter 'wpseo_posts_threshold' - Allow filtering the minimum threshold for the amount of posts in the site, in order for Indexable lists to be relevant. - * - * @param int $post_threshold The minimum threshold for the amount of posts in the site, in order for Indexable lists to be relevant. - */ - return \apply_filters_deprecated( 'wpseo_posts_threshold', [ self::POSTS_THRESHOLD ], 'Yoast SEO 20.4' ); - } - - /** - * Retrieves the minimum threshold for the amount of analyzed posts in the site, in order for lists to be relevant. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return int The size of the Indexables lists. - */ - public function get_minimum_analyzed_posts_threshold() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - /** - * Filter 'wpseo_analyzed_posts_threshold' - Allow filtering the minimum threshold for the amount of analyzed posts in the site, in order for Indexable lists to be relevant. - * - * @param int $analysed_post_threshold The minimum threshold for the amount of analyzed posts in the site, in order for Indexable lists to be relevant. - */ - return \apply_filters_deprecated( 'wpseo_analyzed_posts_threshold', [ self::ANALYSED_POSTS_THRESHOLD ], 'Yoast SEO 20.4' ); - } - - /** - * Checks if link suggestions are enabled or not - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return bool Wether enable_link_suggestions is set to true or not. - */ - public function get_link_suggestions_enabled() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - return $this->options->get( 'enable_link_suggestions', false ) === true; - } - - /** - * Returns the list names that are valid. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array An array with valid list names. - */ - public function get_list_names() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $valid_list_names = [ - 'least_readability', - 'least_seo_score', - 'most_linked', - 'least_linked', - ]; - - return $valid_list_names; - } - - /** - * Returns the ignore list names that are valid. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array An array with valid ignore list names. - */ - public function get_ignore_list_names() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $valid_list_names = $this->get_list_names(); - $valid_ignore_list_names = []; - foreach ( $valid_list_names as $valid_list_name ) { - $valid_ignore_list_names[] = $valid_list_name . '_ignore_list'; - } - - return $valid_ignore_list_names; - } - - /** - * Checks if the ignore list name is a valid list name - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param string $list_name The list name. - * - * @return bool Wether the list name is valid or not. - */ - public function is_valid_ignore_list_name( $list_name ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $valid_list_names = $this->get_ignore_list_names(); - - return \in_array( $list_name, $valid_list_names, true ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/input-helper.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/input-helper.php deleted file mode 100644 index 999cad81..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/helpers/input-helper.php +++ /dev/null @@ -1,30 +0,0 @@ -admin_asset_manager = $admin_asset_manager; - $this->addon_manager = $addon_manager; - $this->shortlinker = $shortlinker; - $this->short_link_helper = $short_link_helper; - $this->indexables_page_helper = $indexables_page_helper; - $this->options_helper = $options_helper; - $this->product_helper = $product_helper; - } - - /** - * {@inheritDoc} - * - * @deprecated 20.4 - * @codeCoverageIgnore - */ - public function register_hooks() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] ); - } - - /** - * Enqueues assets for the Indexables Page. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return void - */ - public function enqueue_assets() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Date is not processed or saved. - if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'wpseo_dashboard' || \is_network_admin() ) { - return; - } - - $this->admin_asset_manager->enqueue_script( 'indexables-page' ); - $this->admin_asset_manager->enqueue_style( 'tailwind' ); - $this->admin_asset_manager->enqueue_style( 'monorepo' ); - $this->admin_asset_manager->enqueue_script( 'indexation' ); - - $data = [ - 'disabled' => ! \YoastSEO()->helpers->indexable->should_index_indexables(), - 'amount' => \YoastSEO()->helpers->indexing->get_filtered_unindexed_count(), - // Forcing this to 0 to not display the initial alert notice. - 'firstTime' => '0', - 'errorMessage' => $this->render_indexing_error(), - 'restApi' => [ - 'root' => \esc_url_raw( \rest_url() ), - 'indexing_endpoints' => $this->get_endpoints(), - 'nonce' => \wp_create_nonce( 'wp_rest' ), - ], - ]; - - /** - * Filter: 'wpseo_indexing_data' Filter to adapt the data used in the indexing process. - * - * @param array $data The indexing data to adapt. - */ - $data = \apply_filters( 'wpseo_indexing_data', $data ); - - $this->admin_asset_manager->localize_script( 'indexation', 'yoastIndexingData', $data ); - - $this->admin_asset_manager->localize_script( - 'indexables-page', - 'wpseoIndexablesPageData', - [ - 'environment' => \wp_get_environment_type(), - 'listSize' => $this->indexables_page_helper->get_indexables_list_size(), - 'isLinkSuggestionsEnabled' => $this->indexables_page_helper->get_link_suggestions_enabled(), - 'isPremium' => $this->product_helper->is_premium(), - 'ignoreLists' => [ - 'least_readability' => $this->options_helper->get( 'least_readability_ignore_list', [] ), - 'least_seo_score' => $this->options_helper->get( 'least_seo_score_ignore_list', [] ), - 'most_linked' => $this->options_helper->get( 'most_linked_ignore_list', [] ), - 'least_linked' => $this->options_helper->get( 'least_linked_ignore_list', [] ), - ], - 'shortlinks' => [ - 'orphanedContent' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-orphaned-content' ), - 'cornerstoneContent' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-cornerstone-content' ), - 'recommendedReadingOne' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-recommended-reading-1' ), - 'recommendedReadingTwo' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-recommended-reading-2' ), - 'recommendedReadingThree' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-recommended-reading-3' ), - 'recommendedReadingFour' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-recommended-reading-4' ), - 'recommendedReadingFive' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-recommended-reading-5' ), - 'internalLinks' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-internal-linking-suggestions' ), - 'getPremium' => $this->shortlinker->build_shortlink( 'https://yoa.st/indexables-get-premium' ), - ], - ] - ); - } - - /** - * Retrieves a list of the endpoints to use. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array The endpoints. - */ - protected function get_endpoints() { - $endpoints = [ - 'prepare' => Indexing_Route::FULL_PREPARE_ROUTE, - 'terms' => Indexing_Route::FULL_TERMS_ROUTE, - 'posts' => Indexing_Route::FULL_POSTS_ROUTE, - 'archives' => Indexing_Route::FULL_POST_TYPE_ARCHIVES_ROUTE, - 'general' => Indexing_Route::FULL_GENERAL_ROUTE, - 'indexablesComplete' => Indexing_Route::FULL_INDEXABLES_COMPLETE_ROUTE, - 'post_link' => Indexing_Route::FULL_POST_LINKS_INDEXING_ROUTE, - 'term_link' => Indexing_Route::FULL_TERM_LINKS_INDEXING_ROUTE, - ]; - - $endpoints = \apply_filters( 'wpseo_indexing_endpoints', $endpoints ); - - $endpoints['complete'] = Indexing_Route::FULL_COMPLETE_ROUTE; - - return $endpoints; - } - - /** - * The error to show if optimization failed. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return string The error to show if optimization failed. - */ - protected function render_indexing_error() { - $presenter = new Indexing_Error_Presenter( - $this->short_link_helper, - $this->product_helper, - $this->addon_manager - ); - - return $presenter->present(); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php deleted file mode 100644 index 04722506..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php +++ /dev/null @@ -1,81 +0,0 @@ -asset_manager = $asset_manager; - } - - /** - * {@inheritDoc} - * - * @deprecated 20.4 - * @codeCoverageIgnore - */ - public function register_hooks() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_redirect_old_features_tab_script' ] ); - } - - /** - * Returns the conditionals based on which this loadable should be active. - * - * In this case: only when on an admin page and on a non-multisite installation. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return array The conditionals. - */ - public static function get_conditionals() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - return [ - Admin_Conditional::class, - Non_Network_Admin_Conditional::class, - ]; - } - - /** - * Enqueues the redirect-old-features-tab script. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return void - */ - public function enqueue_redirect_old_features_tab_script() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Date is not processed or saved. - if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'wpseo_dashboard' ) { - return; - } - $this->asset_manager->enqueue_script( 'redirect-old-features-tab' ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/social-templates-integration.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/social-templates-integration.php deleted file mode 100644 index 07d08da6..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/social-templates-integration.php +++ /dev/null @@ -1,304 +0,0 @@ -recommended_replace_vars ) ) { - $this->recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); - } - - return $this->recommended_replace_vars; - } - - /** - * Returns the editor specific replacements variables object, creating it if needed. - * - * @return WPSEO_Admin_Editor_Specific_Replace_Vars - */ - protected function get_admin_editor_specific_replace_vars() { - if ( \is_null( $this->editor_specific_replace_vars ) ) { - $this->editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars(); - } - - return $this->editor_specific_replace_vars; - } - - /** - * Build a set of social fields for the author archives in the Search Appearance section. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The form builder. - * - * @return void - */ - public function social_author_archives( $yform ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $identifier = 'author-wpseo'; - $page_type_recommended = $this->get_admin_recommended_replace_vars()->determine_for_archive( 'author' ); - $page_type_specific = $this->get_admin_editor_specific_replace_vars()->determine_for_archive( 'author' ); - - $this->build_social_fields( $yform, $identifier, $page_type_recommended, $page_type_specific ); - } - - /** - * Build a set of social fields for the date archives in the Search Appearance section. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The form builder. - * - * @return void - */ - public function social_date_archives( $yform ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $identifier = 'archive-wpseo'; - $page_type_recommended = $this->get_admin_recommended_replace_vars()->determine_for_archive( 'date' ); - $page_type_specific = $this->get_admin_editor_specific_replace_vars()->determine_for_archive( 'date' ); - - $this->build_social_fields( $yform, $identifier, $page_type_recommended, $page_type_specific ); - } - - /** - * Build a set of social fields for the post types in the Search Appearance section. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The form builder. - * @param string $post_type_name The name of the current post_type that gets the social fields added. - * - * @return void - */ - public function social_post_type( $yform, $post_type_name ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - if ( $post_type_name === 'attachment' ) { - return; - } - - $page_type_recommended = $this->get_admin_recommended_replace_vars()->determine_for_post_type( $post_type_name ); - $page_type_specific = $this->get_admin_editor_specific_replace_vars()->determine_for_post_type( $post_type_name ); - - $this->build_social_fields( $yform, $post_type_name, $page_type_recommended, $page_type_specific ); - } - - /** - * Build a set of social fields for the post types archives in the Search Appearance section. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The form builder. - * @param string $post_type_name The name of the current post_type that gets the social fields added. - * - * @return void - */ - public function social_post_types_archive( $yform, $post_type_name ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $identifier = 'ptarchive-' . $post_type_name; - $page_type_recommended = $this->get_admin_recommended_replace_vars()->determine_for_archive( $post_type_name ); - $page_type_specific = $this->get_admin_editor_specific_replace_vars()->determine_for_archive( $post_type_name ); - - $this->build_social_fields( $yform, $identifier, $page_type_recommended, $page_type_specific ); - } - - /** - * Build a set of social fields for the taxonomies in the Search Appearance section. - * - * @deprecated 20.3 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The form builder. - * @param WP_Taxonomy $taxonomy The taxonomy that gets the social fields added. - * - * @return void - */ - public function social_taxonomies( $yform, $taxonomy ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); - $identifier = 'tax-' . $taxonomy->name; - $page_type_recommended = $this->get_admin_recommended_replace_vars()->determine_for_term( $taxonomy->name ); - $page_type_specific = $this->get_admin_editor_specific_replace_vars()->determine_for_term( $taxonomy->name ); - - $this->build_social_fields( $yform, $identifier, $page_type_recommended, $page_type_specific ); - } - - /** - * Build a set of social fields for the Search Appearance section. - * - * @param Yoast_Form $yform The form builder. - * @param string $identifier A page-wide unique identifier for data storage and unique DOM elements. - * @param string $page_type_recommended Recommended type of page for a list of replaceable variables. - * @param string $page_type_specific Editor specific type of page for a list of replaceable variables. - * - * @return void - */ - protected function build_social_fields( Yoast_Form $yform, $identifier, $page_type_recommended, $page_type_specific ) { - $image_url_field_id = 'social-image-url-' . $identifier; - $image_id_field_id = 'social-image-id-' . $identifier; - $is_premium = \YoastSEO()->helpers->product->is_premium(); - $is_premium_16_5_or_up = \defined( '\WPSEO_PREMIUM_VERSION' ) && \version_compare( \WPSEO_PREMIUM_VERSION, '16.5-RC0', '>=' ); - $is_form_enabled = $is_premium && $is_premium_16_5_or_up; - - $section_class = 'yoast-settings-section'; - - if ( ! $is_form_enabled ) { - $section_class .= ' yoast-settings-section-disabled'; - } - - \printf( '
', \esc_attr( $section_class ) ); - - echo ''; - - $yform->hidden( $image_url_field_id, $image_url_field_id ); - $yform->hidden( $image_id_field_id, $image_id_field_id ); - \printf( - '
', - \esc_attr( 'yoast-social-' . $identifier . '-image-select' ), - \esc_attr( $image_url_field_id ), - \esc_attr( $image_id_field_id ), - \esc_attr( ! $is_form_enabled ), - true - ); - - $editor = new WPSEO_Replacevar_Editor( - $yform, - [ - 'title' => 'social-title-' . $identifier, - 'description' => 'social-description-' . $identifier, - 'page_type_recommended' => $page_type_recommended, - 'page_type_specific' => $page_type_specific, - 'paper_style' => false, - 'label_title' => \__( 'Social title', 'wordpress-seo' ), - 'label_description' => \__( 'Social description', 'wordpress-seo' ), - 'description_placeholder' => '', - 'is_disabled' => ! $is_form_enabled, - ] - ); - $editor->render(); - - if ( $is_premium && ! $is_premium_16_5_or_up ) { - echo '
'; - - $unlock_alert = \sprintf( - /* translators: %s expands to 'Yoast SEO Premium'. */ - \esc_html__( 'To unlock this feature please update %s to the latest version.', 'wordpress-seo' ), - 'Yoast SEO Premium' - ); - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped above. - echo new Alert_Presenter( $unlock_alert ); - - echo '
'; - } - - if ( ! $is_premium ) { - echo ''; - } - - echo '
'; - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/unsupported-php-version.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/unsupported-php-version.php deleted file mode 100644 index c984c4a1..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/integrations/admin/unsupported-php-version.php +++ /dev/null @@ -1,69 +0,0 @@ -asset_manager = $asset_manager; - $this->blocks_conditional = $blocks_conditional; - $this->short_link_helper = $short_link_helper; - } - - /** - * Initializes the integration. - * - * This is the place to register hooks and filters. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @return void - */ - public function register_hooks() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - } - - /** - * Registers a schema template. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param string $template The template to be registered. - * If starting with a / is assumed to be an absolute path. - * If not starting with a / is assumed to be relative to WPSEO_PATH. - * - * @return void - */ - public function register_template( $template ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - } - - /** - * Loads all schema block templates and the required JS library for them. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @return void - */ - public function load() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - } - - /** - * Outputs the set templates. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @return void - */ - public function output() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/indexables-page-route.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/indexables-page-route.php deleted file mode 100644 index 43d69852..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/indexables-page-route.php +++ /dev/null @@ -1,637 +0,0 @@ -indexables_page_action = $indexables_page_action; - $this->indexables_page_helper = $indexables_page_helper; - } - - /** - * {@inheritDoc} - * - * @deprecated 20.4 - * @codeCoverageIgnore - */ - public static function get_conditionals() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - return [ - Indexables_Page_Conditional::class, - ]; - } - - /** - * Permission callback. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return bool true when user has 'edit_others_posts' permission. - */ - public static function permission_edit_others_posts() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - return \current_user_can( 'edit_others_posts' ); - } - - /** - * Registers routes with WordPress. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return void - */ - public function register_routes() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $setup_info_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_setup_info' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::SETUP_INFO, $setup_info_route ); - - $least_readability_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_least_readable' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::LEAST_READABILITY_ROUTE, $least_readability_route ); - - $least_seo_score_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_least_seo_score' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::LEAST_SEO_SCORE_ROUTE, $least_seo_score_route ); - - $most_linked_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_most_linked' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::MOST_LINKED_ROUTE, $most_linked_route ); - - $least_linked_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_least_linked' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::LEAST_LINKED_ROUTE, $least_linked_route ); - - $update_ignored_indexables_route = [ - [ - 'methods' => 'POST', - 'callback' => [ $this, 'update_ignored_indexables' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - 'args' => [ - 'id' => [ - 'type' => 'integer', - 'minimum' => 0, - ], - 'type' => [ - 'type' => 'string', - 'enum' => [ - 'least_readability', - 'least_seo_score', - 'most_linked', - 'least_linked', - ], - ], - ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::UPDATE_IGNORED_INDEXABLES_ROUTE, $update_ignored_indexables_route ); - - $restore_indexable_route = [ - [ - 'methods' => 'POST', - 'callback' => [ $this, 'restore_indexable' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - 'args' => [ - 'id' => [ - 'type' => 'integer', - 'minimum' => 0, - ], - 'type' => [ - 'type' => 'string', - 'enum' => [ - 'least_readability', - 'least_seo_score', - 'most_linked', - 'least_linked', - ], - ], - ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::RESTORE_INDEXABLE_ROUTE, $restore_indexable_route ); - - $restore_all_indexables_route = [ - [ - 'methods' => 'POST', - 'callback' => [ $this, 'restore_all_indexables' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::RESTORE_ALL_INDEXABLES_ROUTE, $restore_all_indexables_route ); - - $restore_all_indexables_for_list_route = [ - [ - 'methods' => 'POST', - 'callback' => [ $this, 'restore_all_indexables_for_list' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - 'args' => [ - 'type' => [ - 'type' => 'string', - 'enum' => [ - 'least_readability', - 'least_seo_score', - 'most_linked', - 'least_linked', - ], - ], - ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::RESTORE_ALL_INDEXABLES_FOR_LIST_ROUTE, $restore_all_indexables_for_list_route ); - - $get_reading_list_route = [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_reading_list' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::GET_READING_LIST_STATE, $get_reading_list_route ); - - $set_reading_list_route = [ - [ - 'methods' => 'POST', - 'callback' => [ $this, 'set_reading_list' ], - 'permission_callback' => [ $this, 'permission_edit_others_posts' ], - 'args' => [ - 'state' => [ - 'type' => 'array', - ], - ], - ], - ]; - - \register_rest_route( Main::API_V1_NAMESPACE, self::SET_READING_LIST_STATE, $set_reading_list_route ); - } - - /** - * Gets the necessary information to set up the indexables page. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response The neccessary information to set up the indexables page. - */ - public function get_setup_info() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $setup_info = $this->indexables_page_action->get_setup_info( $this->indexables_page_helper->get_minimum_posts_threshold(), $this->indexables_page_helper->get_minimum_analyzed_posts_threshold() ); - return new WP_REST_Response( - [ - 'json' => $setup_info, - ] - ); - } - - /** - * Gets the posts with the smallest readability scores. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response The posts with the smallest readability scores. - */ - public function get_least_readable() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $least_readable = $this->indexables_page_action->get_least_readable( $this->indexables_page_helper->get_buffer_size() ); - return new WP_REST_Response( - [ - 'json' => [ - 'list' => $least_readable, - 'length' => \count( $least_readable ), - ], - ] - ); - } - - /** - * Gets the posts with the smallest readability scores. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response The posts with the smallest readability scores. - */ - public function get_least_seo_score() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $least_seo_score = $this->indexables_page_action->get_least_seo_score( $this->indexables_page_helper->get_buffer_size() ); - return new WP_REST_Response( - [ - 'json' => [ - 'list' => $least_seo_score, - 'length' => \count( $least_seo_score ), - ], - ] - ); - } - - /** - * Gets the most linked posts. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response The most linked posts. - */ - public function get_most_linked() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $most_linked = $this->indexables_page_action->get_most_linked( $this->indexables_page_helper->get_buffer_size() ); - return new WP_REST_Response( - [ - 'json' => [ - 'list' => $most_linked, - 'length' => \count( $most_linked ), - ], - ] - ); - } - - /** - * Gets the least linked posts. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response The most linked posts. - */ - public function get_least_linked() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $least_linked = $this->indexables_page_action->get_least_linked( $this->indexables_page_helper->get_buffer_size() ); - return new WP_REST_Response( - [ - 'json' => [ - 'list' => $least_linked, - 'length' => \count( $least_linked ), - ], - ] - ); - } - - /** - * Adds an indexable id in the ignore list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function update_ignored_indexables( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $params = $request->get_json_params(); - $ignore_list_name = $params['type'] . '_ignore_list'; - - $ignored_indexable_ids = \array_map( - static function ( $ignored_indexable_id ) { - return \intval( $ignored_indexable_id ); - }, - $params['list'] - ); - - if ( $this->indexables_page_action->update_ignored_indexables( $ignore_list_name, $ignored_indexable_ids ) ) { - return new WP_REST_Response( - [ - 'json' => (object) [ 'success' => true ], - ], - 200 - ); - } - - return new WP_Error( - 'ignore_failed', - 'Could not save the option in the database', - [ - 'status' => 500, - ] - ); - } - - /** - * Restores an indexable id from the ignore list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function restore_indexable( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $params = $request->get_json_params(); - $ignore_list_name = $params['type'] . '_ignore_list'; - $indexable_id = \intval( $params['id'] ); - - if ( $this->indexables_page_action->remove_indexable_from_ignore_list( $ignore_list_name, $indexable_id ) ) { - return new WP_REST_Response( - [ - 'json' => (object) [ 'success' => true ], - ], - 200 - ); - } - - return new WP_Error( - 'restore_failed', - 'Could not save the option in the database', - [ - 'status' => 500, - ] - ); - } - - /** - * Restores all indexables from all ignore lists. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function restore_all_indexables() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $list_names = $this->indexables_page_helper->get_ignore_list_names(); - $success = true; - foreach ( $list_names as $list_name ) { - $result = $this->indexables_page_action->remove_all_indexables_from_ignore_list( $list_name ); - - if ( $result === false ) { - $success = false; - } - } - - if ( $success === true ) { - return new WP_REST_Response( - [ - 'json' => (object) [ 'success' => true ], - ], - 200 - ); - } - - return new WP_Error( - 'restore_all_failed', - 'Could not save the option in the database', - [ - 'status' => 500, - ] - ); - } - - /** - * Restores all indexables from a specific ignore list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function restore_all_indexables_for_list( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $params = $request->get_json_params(); - $ignore_list_name = $params['type'] . '_ignore_list'; - - if ( $this->indexables_page_action->remove_all_indexables_from_ignore_list( $ignore_list_name ) ) { - return new WP_REST_Response( - [ - 'json' => (object) [ 'success' => true ], - ], - 200 - ); - } - - return new WP_Error( - 'restore_all_list_failed', - 'Could not save the option in the database', - [ - 'status' => 500, - ] - ); - } - - /** - * Gets the state of the reading list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @return WP_REST_Response A list of boolean values which are true if an article has been flagged as read. - */ - public function get_reading_list() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $reading_list = $this->indexables_page_action->get_reading_list(); - return new WP_REST_Response( - [ - 'json' => [ - 'state' => $reading_list, - ], - ] - ); - } - - /** - * Sets the state of the reading list. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function set_reading_list( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - - $params = $request->get_json_params(); - $reading_list_state = \array_map( - static function ( $article ) { - return \boolval( $article ); - }, - $params['state'] - ); - - if ( $this->indexables_page_action->set_reading_list( $reading_list_state ) ) { - return new WP_REST_Response( - [ - 'json' => (object) [ 'success' => true ], - ], - 200 - ); - } - - return new WP_Error( - 'set_list_failed', - 'Could not save the option in the database', - [ - 'status' => 500, - ] - ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/settings-introduction-route.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/settings-introduction-route.php deleted file mode 100644 index 1c626498..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/routes/settings-introduction-route.php +++ /dev/null @@ -1,278 +0,0 @@ -settings_introduction_action = $settings_introduction_action; - } - - /** - * {@inheritDoc} - * - * @deprecated 20.7 - * @codeCoverageIgnore - */ - public static function get_conditionals() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - return [ Settings_Conditional::class ]; - } - - /** - * Permission callback. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return bool True when user has 'wpseo_manage_options' permission. - */ - public static function permission_manage_options() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - return \current_user_can( 'wpseo_manage_options' ); - } - - /** - * Registers routes with WordPress. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return void - */ - public function register_routes() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - \register_rest_route( - Main::API_V1_NAMESPACE, - self::WISTIA_EMBED_PERMISSION, - [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_wistia_embed_permission' ], - 'permission_callback' => [ $this, 'permission_manage_options' ], - ], - [ - 'methods' => 'POST', - 'callback' => [ $this, 'set_wistia_embed_permission' ], - 'permission_callback' => [ $this, 'permission_manage_options' ], - 'args' => [ - 'value' => [ - 'required' => true, - 'type' => 'bool', - ], - ], - ], - ] - ); - - \register_rest_route( - Main::API_V1_NAMESPACE, - self::SHOW, - [ - [ - 'methods' => 'GET', - 'callback' => [ $this, 'get_show' ], - 'permission_callback' => [ $this, 'permission_manage_options' ], - ], - [ - 'methods' => 'POST', - 'callback' => [ $this, 'set_show' ], - 'permission_callback' => [ $this, 'permission_manage_options' ], - 'args' => [ - 'value' => [ - 'required' => true, - 'type' => 'bool', - ], - ], - ], - ] - ); - } - - /** - * Gets the value of the wistia embed permission. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return WP_REST_Response|WP_Error The response, or an error. - */ - public function get_wistia_embed_permission() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - try { - $value = $this->settings_introduction_action->get_wistia_embed_permission(); - } catch ( Exception $exception ) { - return new WP_Error( - 'wpseo_settings_introduction_error', - $exception->getMessage(), - (object) [] - ); - } - - return new WP_REST_Response( - [ - 'json' => (object) [ - 'value' => $value, - ], - ] - ); - } - - /** - * Sets the value of the wistia embed permission. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function set_wistia_embed_permission( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $params = $request->get_json_params(); - $value = \boolval( $params['value'] ); - - try { - $result = $this->settings_introduction_action->set_wistia_embed_permission( $value ); - } catch ( Exception $exception ) { - return new WP_Error( - 'wpseo_settings_introduction_error', - $exception->getMessage(), - (object) [] - ); - } - - return new WP_REST_Response( - [ - 'json' => (object) [ - 'success' => $result, - ], - ], - ( $result ) ? 200 : 400 - ); - } - - /** - * Gets the value of show. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @return WP_REST_Response|WP_Error The response, or an error. - */ - public function get_show() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - try { - $value = $this->settings_introduction_action->get_show(); - } catch ( Exception $exception ) { - return new WP_Error( - 'wpseo_settings_introduction_error', - $exception->getMessage(), - (object) [] - ); - } - - return new WP_REST_Response( - [ - 'json' => (object) [ - 'value' => $value, - ], - ] - ); - } - - /** - * Sets the value of show. - * - * @deprecated 20.7 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request object. - * - * @return WP_REST_Response|WP_Error The success or failure response. - */ - public function set_show( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.7' ); - - $params = $request->get_json_params(); - $value = \boolval( $params['value'] ); - - try { - $result = $this->settings_introduction_action->set_show( $value ); - } catch ( Exception $exception ) { - return new WP_Error( - 'wpseo_settings_introduction_error', - $exception->getMessage(), - (object) [] - ); - } - - return new WP_REST_Response( - [ - 'json' => (object) [ - 'success' => $result, - ], - ], - ( $result ) ? 200 : 400 - ); - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/schema-templates/assets/icons.php b/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/schema-templates/assets/icons.php deleted file mode 100644 index e5b579d2..00000000 --- a/wp/wp-content/plugins/wordpress-seo/src/deprecated/src/schema-templates/assets/icons.php +++ /dev/null @@ -1,393 +0,0 @@ -"; - - /** - * The default height and width of an icon. - */ - public const SIZE_DEFAULT = 24; - - /** - * The height and width of an icon in a variation picker. - */ - public const SIZE_VARIATION = 36; - - /** - * The Heroicons academic cap svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_academic_cap( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "" - . "" - . "", - $size - ); - } - - /** - * The Heroicons annotation svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_annotation( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons ban svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_ban( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons briefcase svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_briefcase( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons calendar svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_calendar( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons clipboard check svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_clipboard_check( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons clipboard copy svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_clipboard_copy( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons clipboard list svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_clipboard_list( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons clock svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_clock( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons currency dollar svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_currency_dollar( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons cursor_click svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_cursor_click( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons document text svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_document_text( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons globe svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_globe( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons identification svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_identification( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons location marker svg icon - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_location_marker( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "" - . "", - $size - ); - } - - /** - * The Heroicons office building svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_office_building( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons photograph svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_photograph( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons switch horizontal svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * @return string - */ - public static function heroicons_switch_horizontal( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons grid svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * - * @return string The generated icon. - */ - public static function heroicons_grid( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * The Heroicons book open svg icon. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param int $size The Height and Width of the SVG icon. - * - * @return string The generated icon. - */ - public static function heroicons_book_open( $size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - return self::svg( - "", - $size - ); - } - - /** - * Generates the SVG based on given path. - * - * @deprecated 20.5 - * @codeCoverageIgnore - * - * @param string $path The path to generate svg for. - * @param int $svg_size The Height and Width of the SVG icon. - * - * @return string The generated icon svg. - */ - protected static function svg( $path, $svg_size = self::SIZE_DEFAULT ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.5' ); - $start = \str_replace( '%SIZE%', $svg_size, self::SVG_START_TAG ); - return $start . $path . ''; - } -} diff --git a/wp/wp-content/plugins/wordpress-seo/src/generated/assets/externals.php b/wp/wp-content/plugins/wordpress-seo/src/generated/assets/externals.php index 77b5acd5..5ab31f03 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/generated/assets/externals.php +++ b/wp/wp-content/plugins/wordpress-seo/src/generated/assets/externals.php @@ -1 +1 @@ - array('dependencies' => array('wp-polyfill', 'yoast-seo-redux-package'), 'version' => '425acbd30b98c737df6e'), 'analysisReport.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'f4095bb34618cc5f80db'), 'componentsNew.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-i18n', 'wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-select', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '9a99c56342d24b8e8d5c'), 'featureFlag.js' => array('dependencies' => array('wp-polyfill'), 'version' => '91e54e3dd01f59a724ae'), 'helpers.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => 'f38a5f8b9a9ba801e722'), 'replacementVariableEditor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-components', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-draft-js-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'e4ccddb70f4b704e5c16'), 'searchMetadataPreviews.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'd6c26496fda7df191128'), 'socialMetadataForms.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '6c538797b828b87a5419'), 'styleGuide.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-styled-components-package'), 'version' => 'a65ddb8de826da5fea4d'), 'uiLibrary.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package'), 'version' => 'f86dff9aecec48a0e53f'), 'chart.js.js' => array('dependencies' => array('wp-polyfill'), 'version' => '196fb6740f0ef8ce192a'), 'draftJs.js' => array('dependencies' => array('react', 'react-dom', 'wp-polyfill'), 'version' => 'f03ff0ae2ee1cf6bbc54'), 'jed.js' => array('dependencies' => array('wp-polyfill'), 'version' => '28697086e82ae1cd0e88'), 'propTypes.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4c546a0c9e97b70d3fe0'), 'reactHelmet.js' => array('dependencies' => array('react', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => 'b7d9f84f1dc499388f58'), 'redux.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e83451c8529be91b4af7'), 'styledComponents.js' => array('dependencies' => array('react', 'wp-polyfill'), 'version' => 'f030a78c47ee9be46c07'), 'analysis.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill', 'yoast-seo-feature-flag-package'), 'version' => '8b27425b3e181dd8905d')); + array('dependencies' => array('wp-polyfill', 'yoast-seo-redux-package'), 'version' => '425acbd30b98c737df6e'), 'analysisReport.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'f4095bb34618cc5f80db'), 'componentsNew.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-i18n', 'wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-select', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '9a99c56342d24b8e8d5c'), 'featureFlag.js' => array('dependencies' => array('wp-polyfill'), 'version' => '91e54e3dd01f59a724ae'), 'helpers.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => 'f38a5f8b9a9ba801e722'), 'replacementVariableEditor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-components', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-draft-js-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '3ef02d0813043f65de66'), 'searchMetadataPreviews.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'd6c26496fda7df191128'), 'socialMetadataForms.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '6c538797b828b87a5419'), 'styleGuide.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-styled-components-package'), 'version' => 'a65ddb8de826da5fea4d'), 'uiLibrary.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package'), 'version' => 'f86dff9aecec48a0e53f'), 'chart.js.js' => array('dependencies' => array('wp-polyfill'), 'version' => '196fb6740f0ef8ce192a'), 'draftJs.js' => array('dependencies' => array('react', 'react-dom', 'wp-polyfill'), 'version' => 'f03ff0ae2ee1cf6bbc54'), 'jed.js' => array('dependencies' => array('wp-polyfill'), 'version' => '28697086e82ae1cd0e88'), 'propTypes.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4c546a0c9e97b70d3fe0'), 'reactHelmet.js' => array('dependencies' => array('react', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => 'b7d9f84f1dc499388f58'), 'redux.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e83451c8529be91b4af7'), 'styledComponents.js' => array('dependencies' => array('react', 'wp-polyfill'), 'version' => 'f030a78c47ee9be46c07'), 'analysis.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill', 'yoast-seo-feature-flag-package'), 'version' => 'b4d58fc971a5a3a52d1b')); diff --git a/wp/wp-content/plugins/wordpress-seo/src/generated/assets/plugin.php b/wp/wp-content/plugins/wordpress-seo/src/generated/assets/plugin.php index ee1f68ce..df514d08 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/generated/assets/plugin.php +++ b/wp/wp-content/plugins/wordpress-seo/src/generated/assets/plugin.php @@ -1 +1 @@ - array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => 'b9f59c3fa79d3c219f77'), 'admin-global.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'ee3745f3fdc45e43fb51'), 'admin-modules.js' => array('dependencies' => array('react', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package'), 'version' => 'fdbe5d62f7cf6543e337'), 'analysis-worker.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aa04978fbd423b404462'), 'api-client.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f56d7de163fa219c67e2'), 'block-editor.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-annotations', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'e5a33cfc15f28fed4770'), 'bulk-editor.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => '308d4f19cc8fcb346d3d'), 'classic-editor.js' => array('dependencies' => array('jquery', 'lodash', 'moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'f0cd6799459092fcaab8'), 'crawl-settings.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd511931b46d0b74648b4'), 'dashboard-widget.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'yoast-seo-analysis-report-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-style-guide-package'), 'version' => 'ad6147e367cc50376cc5'), 'wincher-dashboard-widget.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '3e855acf6ae73ab6d1ed'), 'dynamic-blocks.js' => array('dependencies' => array('react', 'wp-blocks', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '4487eb792b24609a010d'), 'edit-page.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'afab9d8fdff1d98c8ca9'), 'editor-modules.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-analysis-report-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'd2a150e4144b467b7597'), 'elementor.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-annotations', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '155bc1f2a13df98e583c'), 'externals-components.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-analysis-report-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '2f8cb486a76fd7c68b56'), 'externals-contexts.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '10ecaeb7fee15b420938'), 'externals-redux.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-helpers-package', 'yoast-seo-redux-js-toolkit-package'), 'version' => '33143132870ec9f6f5a2'), 'filter-explanation.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8b3042cee26c58eb9be7'), 'first-time-configuration.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-ui-library-package'), 'version' => 'ae111865916ddf8520c7'), 'help-scout-beacon.js' => array('dependencies' => array('react', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-styled-components-package'), 'version' => '4cff4f48af6493046757'), 'import.js' => array('dependencies' => array('jquery', 'lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'cbe848d7253c616f3a75'), 'indexation.js' => array('dependencies' => array('jquery', 'react', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '06817d20ccce29675844'), 'installation-success.js' => array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-externals-contexts', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '72f4f44c8846afcf4236'), 'integrations-page.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-externals-contexts', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'c1dd125f46ff5563dcd6'), 'introductions.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '884e9170969d434ebfc0'), 'network-admin.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'c28de4314d03147fca4a'), 'post-edit.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-annotations', 'wp-api', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-rich-text', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '19783a5bd770749a31a0'), 'quick-edit-handler.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e7d3f8a9873afbfd1425'), 'reindex-links.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'e4694eb7292052d53fc4'), 'redirect-old-features-tab.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a792fdd4c0d1c2ef737c'), 'settings.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-externals-redux', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '8756fcebaf4d52ad1086'), 'new-settings.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'e556c389451a2a02b3ca'), 'academy.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'dcd9152448a2432e4ffb'), 'support.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '494918afe38ee2453887'), 'how-to-block.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => 'd755b659a519a44474c7'), 'faq-block.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '957cf032e1465bc3d1bb'), 'term-edit.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-annotations', 'wp-api', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-rich-text', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'e831f7110feba314a207'), 'used-keywords-assessment.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => 'f2d934f4e70fdace40fc'), 'react-select.js' => array('dependencies' => array('react', 'react-dom', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '016b19f563b56deb8ad5'), 'workouts.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '5285008d6544c5f1c0d4'), 'wordproof-uikit.js' => array('dependencies' => array('wp-polyfill'), 'version' => '681025d3f78698d44725'), 'frontend-inspector-resources.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package'), 'version' => 'bd58767c5c438a57b506')); + array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => 'b9f59c3fa79d3c219f77'), 'admin-global.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'ee3745f3fdc45e43fb51'), 'admin-modules.js' => array('dependencies' => array('react', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package'), 'version' => 'fdbe5d62f7cf6543e337'), 'analysis-worker.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aa04978fbd423b404462'), 'api-client.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f56d7de163fa219c67e2'), 'block-editor.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-annotations', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-rich-text', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '49e0bf0ad02687b29c62'), 'bulk-editor.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => '308d4f19cc8fcb346d3d'), 'classic-editor.js' => array('dependencies' => array('jquery', 'lodash', 'moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '21e187a6fc55d970c8ae'), 'crawl-settings.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd511931b46d0b74648b4'), 'dashboard-widget.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'yoast-seo-analysis-report-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-style-guide-package'), 'version' => 'ad6147e367cc50376cc5'), 'wincher-dashboard-widget.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '3e855acf6ae73ab6d1ed'), 'dynamic-blocks.js' => array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-polyfill', 'wp-server-side-render'), 'version' => '739ebde8b3e418b9886a'), 'edit-page.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'afab9d8fdff1d98c8ca9'), 'editor-modules.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-analysis-report-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '1be6af7fb88f02d0efd5'), 'elementor.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-annotations', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text', 'wp-sanitize', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-chart.js-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-components', 'yoast-seo-externals-contexts', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'ec53bf27a636a9ee974b'), 'externals-components.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-analysis-report-package', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'b8ccb6f0a8b0f6c9e690'), 'externals-contexts.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '10ecaeb7fee15b420938'), 'externals-redux.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-sanitize', 'wp-url', 'yoast-seo-helpers-package', 'yoast-seo-redux-js-toolkit-package'), 'version' => '33143132870ec9f6f5a2'), 'filter-explanation.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8b3042cee26c58eb9be7'), 'first-time-configuration.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-ui-library-package'), 'version' => 'ae111865916ddf8520c7'), 'help-scout-beacon.js' => array('dependencies' => array('react', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-styled-components-package'), 'version' => '4cff4f48af6493046757'), 'import.js' => array('dependencies' => array('jquery', 'lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'cbe848d7253c616f3a75'), 'indexation.js' => array('dependencies' => array('jquery', 'react', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '06817d20ccce29675844'), 'installation-success.js' => array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-externals-contexts', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '72f4f44c8846afcf4236'), 'integrations-page.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-externals-contexts', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'c1dd125f46ff5563dcd6'), 'introductions.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '884e9170969d434ebfc0'), 'network-admin.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'c28de4314d03147fca4a'), 'post-edit.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-annotations', 'wp-api', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-rich-text', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => '8af776c3fcbf30801984'), 'quick-edit-handler.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e7d3f8a9873afbfd1425'), 'reindex-links.js' => array('dependencies' => array('jquery', 'wp-polyfill'), 'version' => 'e4694eb7292052d53fc4'), 'redirect-old-features-tab.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a792fdd4c0d1c2ef737c'), 'settings.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-externals-redux', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '8756fcebaf4d52ad1086'), 'new-settings.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-styled-components-package', 'yoast-seo-ui-library-package'), 'version' => 'a5f86be4f500ef806907'), 'academy.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'dcd9152448a2432e4ffb'), 'support.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => '494918afe38ee2453887'), 'how-to-block.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '3c48eb9c2bda3f650887'), 'faq-block.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '34ebc93abf046084fe1c'), 'term-edit.js' => array('dependencies' => array('jquery', 'lodash', 'react', 'wp-annotations', 'wp-api', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-rich-text', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-externals-redux', 'yoast-seo-feature-flag-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'b68e3c34d52911f89726'), 'used-keywords-assessment.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => 'f2d934f4e70fdace40fc'), 'react-select.js' => array('dependencies' => array('react', 'react-dom', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => '016b19f563b56deb8ad5'), 'workouts.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-externals-contexts', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-styled-components-package'), 'version' => '5285008d6544c5f1c0d4'), 'wordproof-uikit.js' => array('dependencies' => array('wp-polyfill'), 'version' => '681025d3f78698d44725'), 'frontend-inspector-resources.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package'), 'version' => 'bd58767c5c438a57b506')); diff --git a/wp/wp-content/plugins/wordpress-seo/src/generated/container.php b/wp/wp-content/plugins/wordpress-seo/src/generated/container.php index f650ee0d..9e786be8 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/generated/container.php +++ b/wp/wp-content/plugins/wordpress-seo/src/generated/container.php @@ -47,7 +47,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\actions\\importing\\aioseo\\aioseo_validate_data_action' => 'Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Validate_Data_Action', 'yoast\\wp\\seo\\actions\\importing\\deactivate_conflicting_plugins_action' => 'Yoast\\WP\\SEO\\Actions\\Importing\\Deactivate_Conflicting_Plugins_Action', 'yoast\\wp\\seo\\actions\\indexables\\indexable_head_action' => 'Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action', - 'yoast\\wp\\seo\\actions\\indexables_page_action' => 'Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action', 'yoast\\wp\\seo\\actions\\indexing\\indexable_general_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action', 'yoast\\wp\\seo\\actions\\indexing\\indexable_indexing_complete_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Indexing_Complete_Action', 'yoast\\wp\\seo\\actions\\indexing\\indexable_post_indexation_action' => 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action', @@ -96,7 +95,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\conditionals\\get_request_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Get_Request_Conditional', 'yoast\\wp\\seo\\conditionals\\headless_rest_endpoints_enabled_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Headless_Rest_Endpoints_Enabled_Conditional', 'yoast\\wp\\seo\\conditionals\\import_tool_selected_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Import_Tool_Selected_Conditional', - 'yoast\\wp\\seo\\conditionals\\indexables_page_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional', 'yoast\\wp\\seo\\conditionals\\jetpack_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Jetpack_Conditional', 'yoast\\wp\\seo\\conditionals\\migrations_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional', 'yoast\\wp\\seo\\conditionals\\new_settings_ui_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional', @@ -109,7 +107,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\conditionals\\premium_inactive_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Premium_Inactive_Conditional', 'yoast\\wp\\seo\\conditionals\\primary_category_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Primary_Category_Conditional', 'yoast\\wp\\seo\\conditionals\\robots_txt_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional', - 'yoast\\wp\\seo\\conditionals\\schema_blocks_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional', 'yoast\\wp\\seo\\conditionals\\semrush_enabled_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\SEMrush_Enabled_Conditional', 'yoast\\wp\\seo\\conditionals\\settings_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional', 'yoast\\wp\\seo\\conditionals\\should_index_links_conditional' => 'Yoast\\WP\\SEO\\Conditionals\\Should_Index_Links_Conditional', @@ -216,7 +213,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\helpers\\import_helper' => 'Yoast\\WP\\SEO\\Helpers\\Import_Helper', 'yoast\\wp\\seo\\helpers\\indexable_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper', 'yoast\\wp\\seo\\helpers\\indexable_to_postmeta_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper', - 'yoast\\wp\\seo\\helpers\\indexables_page_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper', 'yoast\\wp\\seo\\helpers\\indexing_helper' => 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper', 'yoast\\wp\\seo\\helpers\\language_helper' => 'Yoast\\WP\\SEO\\Helpers\\Language_Helper', 'yoast\\wp\\seo\\helpers\\meta_helper' => 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper', @@ -277,7 +273,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\integrations\\admin\\helpscout_beacon' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\HelpScout_Beacon', 'yoast\\wp\\seo\\integrations\\admin\\import_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Import_Integration', 'yoast\\wp\\seo\\integrations\\admin\\indexables_exclude_taxonomy_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Exclude_Taxonomy_Integration', - 'yoast\\wp\\seo\\integrations\\admin\\indexables_page_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration', 'yoast\\wp\\seo\\integrations\\admin\\indexing_notification_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Notification_Integration', 'yoast\\wp\\seo\\integrations\\admin\\indexing_tool_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Tool_Integration', 'yoast\\wp\\seo\\integrations\\admin\\installation_success_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Installation_Success_Integration', @@ -289,7 +284,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\integrations\\admin\\old_premium_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Premium_Integration', 'yoast\\wp\\seo\\integrations\\admin\\redirect_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Integration', 'yoast\\wp\\seo\\integrations\\admin\\redirects_page_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration', - 'yoast\\wp\\seo\\integrations\\admin\\social_templates_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration', 'yoast\\wp\\seo\\integrations\\admin\\unsupported_php_version_notice' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice', 'yoast\\wp\\seo\\integrations\\admin\\workouts_integration' => 'Yoast\\WP\\SEO\\Integrations\\Admin\\Workouts_Integration', 'yoast\\wp\\seo\\integrations\\alerts\\black_friday_product_editor_checklist_notification' => 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Black_Friday_Product_Editor_Checklist_Notification', @@ -326,7 +320,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\integrations\\front_end\\wp_robots_integration' => 'Yoast\\WP\\SEO\\Integrations\\Front_End\\WP_Robots_Integration', 'yoast\\wp\\seo\\integrations\\front_end_integration' => 'Yoast\\WP\\SEO\\Integrations\\Front_End_Integration', 'yoast\\wp\\seo\\integrations\\primary_category' => 'Yoast\\WP\\SEO\\Integrations\\Primary_Category', - 'yoast\\wp\\seo\\integrations\\schema_blocks' => 'Yoast\\WP\\SEO\\Integrations\\Schema_Blocks', 'yoast\\wp\\seo\\integrations\\settings_integration' => 'Yoast\\WP\\SEO\\Integrations\\Settings_Integration', 'yoast\\wp\\seo\\integrations\\support_integration' => 'Yoast\\WP\\SEO\\Integrations\\Support_Integration', 'yoast\\wp\\seo\\integrations\\third_party\\amp' => 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\AMP', @@ -405,7 +398,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\routes\\first_time_configuration_route' => 'Yoast\\WP\\SEO\\Routes\\First_Time_Configuration_Route', 'yoast\\wp\\seo\\routes\\importing_route' => 'Yoast\\WP\\SEO\\Routes\\Importing_Route', 'yoast\\wp\\seo\\routes\\indexables_head_route' => 'Yoast\\WP\\SEO\\Routes\\Indexables_Head_Route', - 'yoast\\wp\\seo\\routes\\indexables_page_route' => 'Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route', 'yoast\\wp\\seo\\routes\\indexing_route' => 'Yoast\\WP\\SEO\\Routes\\Indexing_Route', 'yoast\\wp\\seo\\routes\\integrations_route' => 'Yoast\\WP\\SEO\\Routes\\Integrations_Route', 'yoast\\wp\\seo\\routes\\meta_search_route' => 'Yoast\\WP\\SEO\\Routes\\Meta_Search_Route', @@ -414,7 +406,6 @@ class Cached_Container extends Container 'yoast\\wp\\seo\\routes\\wincher_route' => 'Yoast\\WP\\SEO\\Routes\\Wincher_Route', 'yoast\\wp\\seo\\routes\\workouts_route' => 'Yoast\\WP\\SEO\\Routes\\Workouts_Route', 'yoast\\wp\\seo\\routes\\yoast_head_rest_field' => 'Yoast\\WP\\SEO\\Routes\\Yoast_Head_REST_Field', - 'yoast\\wp\\seo\\schema_templates\\assets\\icons' => 'Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons', 'yoast\\wp\\seo\\services\\health_check\\default_tagline_check' => 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Check', 'yoast\\wp\\seo\\services\\health_check\\default_tagline_reports' => 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Reports', 'yoast\\wp\\seo\\services\\health_check\\default_tagline_runner' => 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Runner', @@ -482,7 +473,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Validate_Data_Action' => 'getAioseoValidateDataActionService', 'Yoast\\WP\\SEO\\Actions\\Importing\\Deactivate_Conflicting_Plugins_Action' => 'getDeactivateConflictingPluginsActionService', 'Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action' => 'getIndexableHeadActionService', - 'Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action' => 'getIndexablesPageActionService', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action' => 'getIndexableGeneralIndexationActionService', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Indexing_Complete_Action' => 'getIndexableIndexingCompleteActionService', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_Post_Indexation_Action' => 'getIndexablePostIndexationActionService', @@ -531,7 +521,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Conditionals\\Get_Request_Conditional' => 'getGetRequestConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Headless_Rest_Endpoints_Enabled_Conditional' => 'getHeadlessRestEndpointsEnabledConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Import_Tool_Selected_Conditional' => 'getImportToolSelectedConditionalService', - 'Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional' => 'getIndexablesPageConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Jetpack_Conditional' => 'getJetpackConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional' => 'getMigrationsConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional' => 'getNewSettingsUiConditionalService', @@ -545,7 +534,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Conditionals\\Primary_Category_Conditional' => 'getPrimaryCategoryConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional' => 'getRobotsTxtConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\SEMrush_Enabled_Conditional' => 'getSEMrushEnabledConditionalService', - 'Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional' => 'getSchemaBlocksConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional' => 'getSettingsConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Should_Index_Links_Conditional' => 'getShouldIndexLinksConditionalService', 'Yoast\\WP\\SEO\\Conditionals\\Text_Formality_Conditional' => 'getTextFormalityConditionalService', @@ -651,7 +639,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Helpers\\Import_Helper' => 'getImportHelperService', 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper' => 'getIndexableHelperService', 'Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper' => 'getIndexableToPostmetaHelperService', - 'Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper' => 'getIndexablesPageHelperService', 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper' => 'getIndexingHelperService', 'Yoast\\WP\\SEO\\Helpers\\Language_Helper' => 'getLanguageHelperService', 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper' => 'getMetaHelperService', @@ -712,7 +699,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Integrations\\Admin\\HelpScout_Beacon' => 'getHelpScoutBeaconService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Import_Integration' => 'getImportIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Exclude_Taxonomy_Integration' => 'getIndexablesExcludeTaxonomyIntegrationService', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration' => 'getIndexablesPageIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Notification_Integration' => 'getIndexingNotificationIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Tool_Integration' => 'getIndexingToolIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Installation_Success_Integration' => 'getInstallationSuccessIntegrationService', @@ -724,7 +710,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Premium_Integration' => 'getOldPremiumIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Integration' => 'getRedirectIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration' => 'getRedirectsPageIntegrationService', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration' => 'getSocialTemplatesIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice' => 'getUnsupportedPHPVersionNoticeService', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Workouts_Integration' => 'getWorkoutsIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Black_Friday_Product_Editor_Checklist_Notification' => 'getBlackFridayProductEditorChecklistNotificationService', @@ -761,7 +746,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Integrations\\Front_End\\WP_Robots_Integration' => 'getWPRobotsIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Front_End_Integration' => 'getFrontEndIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Primary_Category' => 'getPrimaryCategoryService', - 'Yoast\\WP\\SEO\\Integrations\\Schema_Blocks' => 'getSchemaBlocksService', 'Yoast\\WP\\SEO\\Integrations\\Settings_Integration' => 'getSettingsIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Support_Integration' => 'getSupportIntegrationService', 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\AMP' => 'getAMPService', @@ -840,7 +824,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Routes\\First_Time_Configuration_Route' => 'getFirstTimeConfigurationRouteService', 'Yoast\\WP\\SEO\\Routes\\Importing_Route' => 'getImportingRouteService', 'Yoast\\WP\\SEO\\Routes\\Indexables_Head_Route' => 'getIndexablesHeadRouteService', - 'Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route' => 'getIndexablesPageRouteService', 'Yoast\\WP\\SEO\\Routes\\Indexing_Route' => 'getIndexingRouteService', 'Yoast\\WP\\SEO\\Routes\\Integrations_Route' => 'getIntegrationsRouteService', 'Yoast\\WP\\SEO\\Routes\\Meta_Search_Route' => 'getMetaSearchRouteService', @@ -849,7 +832,6 @@ class Cached_Container extends Container 'Yoast\\WP\\SEO\\Routes\\Wincher_Route' => 'getWincherRouteService', 'Yoast\\WP\\SEO\\Routes\\Workouts_Route' => 'getWorkoutsRouteService', 'Yoast\\WP\\SEO\\Routes\\Yoast_Head_REST_Field' => 'getYoastHeadRESTFieldService', - 'Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons' => 'getIconsService', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Check' => 'getDefaultTaglineCheckService', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Reports' => 'getDefaultTaglineReportsService', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Runner' => 'getDefaultTaglineRunnerService', @@ -1238,20 +1220,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action'] = new \Yoast\WP\SEO\Actions\Indexables\Indexable_Head_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface']) ? $this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] : $this->getMetaSurfaceService()) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Actions\Indexables_Page_Action' shared autowired service. - * - * @return \Yoast\WP\SEO\Actions\Indexables_Page_Action - * - * @deprecated Yoast\WP\SEO\Actions\Indexables_Page_Action is deprecated since version 20.4! - */ - protected function getIndexablesPageActionService() - { - @trigger_error('Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action is deprecated since version 20.4!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action'] = new \Yoast\WP\SEO\Actions\Indexables_Page_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper'] : $this->getIndexablesPageHelperService()) && false ?: '_'}); - } - /** * Gets the public 'Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action' shared autowired service. * @@ -1913,20 +1881,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Conditionals\\Import_Tool_Selected_Conditional'] = new \Yoast\WP\SEO\Conditionals\Import_Tool_Selected_Conditional(); } - /** - * Gets the public 'Yoast\WP\SEO\Conditionals\Indexables_Page_Conditional' shared autowired service. - * - * @return \Yoast\WP\SEO\Conditionals\Indexables_Page_Conditional - * - * @deprecated Yoast\WP\SEO\Conditionals\Indexables_Page_Conditional is deprecated since version 20.4! - */ - protected function getIndexablesPageConditionalService() - { - @trigger_error('Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional is deprecated since version 20.4!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional'] = new \Yoast\WP\SEO\Conditionals\Indexables_Page_Conditional(); - } - /** * Gets the public 'Yoast\WP\SEO\Conditionals\Jetpack_Conditional' shared autowired service. * @@ -2057,20 +2011,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Conditionals\\SEMrush_Enabled_Conditional'] = new \Yoast\WP\SEO\Conditionals\SEMrush_Enabled_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional' shared autowired service. - * - * @return \Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional - * - * @deprecated Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional is deprecated since version 20.5! - */ - protected function getSchemaBlocksConditionalService() - { - @trigger_error('Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional is deprecated since version 20.5!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional'] = new \Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional(); - } - /** * Gets the public 'Yoast\WP\SEO\Conditionals\Settings_Conditional' shared autowired service. * @@ -3132,20 +3072,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper'] = new \Yoast\WP\SEO\Helpers\Indexable_To_Postmeta_Helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Meta_Helper'] = new \Yoast\WP\SEO\Helpers\Meta_Helper())) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Helpers\Indexables_Page_Helper' shared autowired service. - * - * @return \Yoast\WP\SEO\Helpers\Indexables_Page_Helper - * - * @deprecated Yoast\WP\SEO\Helpers\Indexables_Page_Helper is deprecated since version 20.4! - */ - protected function getIndexablesPageHelperService() - { - @trigger_error('Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper is deprecated since version 20.4!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper'] = new \Yoast\WP\SEO\Helpers\Indexables_Page_Helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}); - } - /** * Gets the public 'Yoast\WP\SEO\Helpers\Indexing_Helper' shared autowired service. * @@ -3767,20 +3693,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Exclude_Taxonomy_Integration'] = new \Yoast\WP\SEO\Integrations\Admin\Indexables_Exclude_Taxonomy_Integration(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Indexables_Page_Integration' shared autowired service. - * - * @return \Yoast\WP\SEO\Integrations\Admin\Indexables_Page_Integration - * - * @deprecated Yoast\WP\SEO\Integrations\Admin\Indexables_Page_Integration is deprecated since version 20.4! - */ - protected function getIndexablesPageIntegrationService() - { - @trigger_error('Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration is deprecated since version 20.4!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration'] = new \Yoast\WP\SEO\Integrations\Admin\Indexables_Page_Integration(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Addon_Manager']) ? $this->services['WPSEO_Addon_Manager'] : $this->getWPSEOAddonManagerService()) && false ?: '_'}, ${($_ = isset($this->services['WPSEO_Shortlinker']) ? $this->services['WPSEO_Shortlinker'] : $this->getWPSEOShortlinkerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper'] : $this->getShortLinkHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper'] : $this->getIndexablesPageHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] = new \Yoast\WP\SEO\Helpers\Product_Helper())) && false ?: '_'}); - } - /** * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Indexing_Notification_Integration' shared autowired service. * @@ -3895,20 +3807,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration'] = new \Yoast\WP\SEO\Integrations\Admin\Redirects_Page_Integration(); } - /** - * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Social_Templates_Integration' shared autowired service. - * - * @return \Yoast\WP\SEO\Integrations\Admin\Social_Templates_Integration - * - * @deprecated Yoast\WP\SEO\Integrations\Admin\Social_Templates_Integration is deprecated since version 20.3! - */ - protected function getSocialTemplatesIntegrationService() - { - @trigger_error('Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration is deprecated since version 20.3!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration'] = new \Yoast\WP\SEO\Integrations\Admin\Social_Templates_Integration(); - } - /** * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice' shared autowired service. * @@ -4271,20 +4169,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Integrations\\Primary_Category'] = new \Yoast\WP\SEO\Integrations\Primary_Category(); } - /** - * Gets the public 'Yoast\WP\SEO\Integrations\Schema_Blocks' shared autowired service. - * - * @return \Yoast\WP\SEO\Integrations\Schema_Blocks - * - * @deprecated Yoast\WP\SEO\Integrations\Schema_Blocks is deprecated since version 20.5! - */ - protected function getSchemaBlocksService() - { - @trigger_error('Yoast\\WP\\SEO\\Integrations\\Schema_Blocks is deprecated since version 20.5!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Integrations\\Schema_Blocks'] = new \Yoast\WP\SEO\Integrations\Schema_Blocks(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional']) ? $this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional'] : $this->getSchemaBlocksConditionalService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper'] : $this->getShortLinkHelperService()) && false ?: '_'}); - } - /** * Gets the public 'Yoast\WP\SEO\Integrations\Settings_Integration' shared autowired service. * @@ -5305,20 +5189,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Routes\\Indexables_Head_Route'] = new \Yoast\WP\SEO\Routes\Indexables_Head_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action'] : $this->getIndexableHeadActionService()) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Routes\Indexables_Page_Route' shared autowired service. - * - * @return \Yoast\WP\SEO\Routes\Indexables_Page_Route - * - * @deprecated Yoast\WP\SEO\Routes\Indexables_Page_Route is deprecated since version 20.4! - */ - protected function getIndexablesPageRouteService() - { - @trigger_error('Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route is deprecated since version 20.4!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route'] = new \Yoast\WP\SEO\Routes\Indexables_Page_Route(${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action'] : $this->getIndexablesPageActionService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper'] : $this->getIndexablesPageHelperService()) && false ?: '_'}); - } - /** * Gets the public 'Yoast\WP\SEO\Routes\Indexing_Route' shared autowired service. * @@ -5399,20 +5269,6 @@ class Cached_Container extends Container return $this->services['Yoast\\WP\\SEO\\Routes\\Yoast_Head_REST_Field'] = new \Yoast\WP\SEO\Routes\Yoast_Head_REST_Field(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Taxonomy_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Taxonomy_Helper'] : $this->getTaxonomyHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Helper'] : $this->getPostHelperService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action']) ? $this->services['Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action'] : $this->getIndexableHeadActionService()) && false ?: '_'}); } - /** - * Gets the public 'Yoast\WP\SEO\Schema_Templates\Assets\Icons' shared autowired service. - * - * @return \Yoast\WP\SEO\Schema_Templates\Assets\Icons - * - * @deprecated Yoast\WP\SEO\Schema_Templates\Assets\Icons is deprecated since version 20.5! - */ - protected function getIconsService() - { - @trigger_error('Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons is deprecated since version 20.5!', E_USER_DEPRECATED); - - return $this->services['Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons'] = new \Yoast\WP\SEO\Schema_Templates\Assets\Icons(); - } - /** * Gets the public 'Yoast\WP\SEO\Services\Health_Check\Default_Tagline_Check' shared autowired service. * diff --git a/wp/wp-content/plugins/wordpress-seo/src/helpers/social-profiles-helper.php b/wp/wp-content/plugins/wordpress-seo/src/helpers/social-profiles-helper.php index 0851dce5..4c2098f5 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/helpers/social-profiles-helper.php +++ b/wp/wp-content/plugins/wordpress-seo/src/helpers/social-profiles-helper.php @@ -327,34 +327,4 @@ class Social_Profiles_Helper { return [ $twitter_setting ]; } - - /* DEPRECATED METHODS */ - - /** - * Gets the person social profile fields supported by us after WP filtering. - * - * @deprecated 20.1 - * @codeCoverageIgnore - * - * @return array The supported social profile fields. - */ - public function get_supported_person_social_profile_fields() { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.1' ); - return []; - } - - /** - * Checks if the current user has the capability to edit a specific user. - * - * @deprecated 20.2 - * @codeCoverageIgnore - * - * @param int $person_id The id of the person to edit. - * - * @return bool - */ - public function can_edit_profile( $person_id ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.2' ); - return \current_user_can( 'edit_user', $person_id ); - } } diff --git a/wp/wp-content/plugins/wordpress-seo/src/integrations/admin/crawl-settings-integration.php b/wp/wp-content/plugins/wordpress-seo/src/integrations/admin/crawl-settings-integration.php index 2d69eeaf..57a8dc0a 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/integrations/admin/crawl-settings-integration.php +++ b/wp/wp-content/plugins/wordpress-seo/src/integrations/admin/crawl-settings-integration.php @@ -164,21 +164,6 @@ class Crawl_Settings_Integration implements Integration_Interface { ]; } - /** - * Adds content to the Crawl Cleanup tab. - * - * @deprecated 20.4 - * @codeCoverageIgnore - * - * @param Yoast_Form $yform The yoast form object. - * - * @return void - */ - public function add_crawl_settings_tab_content( $yform ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.4' ); - $this->add_crawl_settings( $yform ); - } - /** * Adds content to the Crawl Cleanup network tab. * diff --git a/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/abstract-dynamic-block-v3.php b/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/abstract-dynamic-block-v3.php new file mode 100644 index 00000000..d4f99852 --- /dev/null +++ b/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/abstract-dynamic-block-v3.php @@ -0,0 +1,78 @@ + + */ + public static function get_conditionals() { + return []; + } + + /** + * Initializes the integration. + * + * Integrations hooking on `init` need to have a priority of 11 or higher to + * ensure that they run, as priority 10 is used by the loader to load the integrations. + * + * @return void + */ + public function register_hooks() { + \add_action( 'init', [ $this, 'register_block' ], 11 ); + } + + /** + * Registers the block. + * + * @return void + */ + public function register_block() { + \register_block_type( + $this->base_path . $this->block_name . '/block.json', + [ + 'editor_script' => $this->script, + 'render_callback' => [ $this, 'present' ], + ] + ); + } + + /** + * Presents the block output. This is abstract because in the loop we need to be able to build the data for the + * presenter in the last moment. + * + * @param array $attributes The block attributes. + * + * @return string The block output. + */ + abstract public function present( $attributes ); +} diff --git a/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php b/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php index 1414b1c4..288dac8c 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php +++ b/wp/wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php @@ -12,7 +12,7 @@ use Yoast\WP\SEO\Surfaces\Helpers_Surface; /** * Siblings block class */ -class Breadcrumbs_Block extends Dynamic_Block { +class Breadcrumbs_Block extends Dynamic_Block_V3 { /** * The name of the block. @@ -84,12 +84,14 @@ class Breadcrumbs_Block extends Dynamic_Block { $this->helpers = $helpers; $this->indexable_repository = $indexable_repository; $this->request_helper = $request_helper; + + $this->base_path = \WPSEO_PATH . 'blocks/dynamic-blocks/'; } /** * Presents the breadcrumbs output for the current page or the available post_id. * - * @param array $attributes The block attributes. + * @param array $attributes The block attributes. * * @return string The block output. */ diff --git a/wp/wp-content/plugins/wordpress-seo/src/routes/first-time-configuration-route.php b/wp/wp-content/plugins/wordpress-seo/src/routes/first-time-configuration-route.php index fee6611f..cacf8a46 100644 --- a/wp/wp-content/plugins/wordpress-seo/src/routes/first-time-configuration-route.php +++ b/wp/wp-content/plugins/wordpress-seo/src/routes/first-time-configuration-route.php @@ -36,14 +36,6 @@ class First_Time_Configuration_Route implements Route_Interface { */ public const SOCIAL_PROFILES_ROUTE = '/social_profiles'; - /** - * Represents a person's social profiles route. - * - * @deprecated 20.2 - * @var string - */ - public const PERSON_SOCIAL_PROFILES_ROUTE = '/person_social_profiles'; - /** * Represents a route to enable/disable tracking. * @@ -319,48 +311,4 @@ class First_Time_Configuration_Route implements Route_Interface { return new WP_REST_Response( $data, $data->status ); } - - /* DEPRECATED METHODS */ - - /** - * Gets a person's social profiles values. - * - * @deprecated 20.2 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request. - * - * @return WP_REST_Response - */ - public function get_person_social_profiles( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.2' ); - - $data = $this - ->first_time_configuration_action - ->get_person_social_profiles( $request->get_param( 'user_id' ) ); - - return new WP_REST_Response( $data, $data->status ); - } - - /** - * Sets a person's social profiles values. - * - * @deprecated 20.2 - * @codeCoverageIgnore - * - * @param WP_REST_Request $request The request. - * - * @return WP_REST_Response - */ - public function set_person_social_profiles( WP_REST_Request $request ) { - \_deprecated_function( __METHOD__, 'Yoast SEO 20.2' ); - - $data = $this - ->first_time_configuration_action - ->set_person_social_profiles( $request->get_json_params() ); - - return new WP_REST_Response( - [ 'json' => $data ] - ); - } } diff --git a/wp/wp-content/plugins/wordpress-seo/vendor/autoload.php b/wp/wp-content/plugins/wordpress-seo/vendor/autoload.php index f681c594..a6e5f866 100644 --- a/wp/wp-content/plugins/wordpress-seo/vendor/autoload.php +++ b/wp/wp-content/plugins/wordpress-seo/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779::getLoader(); +return ComposerAutoloaderInitdb62dfb15ae92d6fb1dd9e6991f40e08::getLoader(); diff --git a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_classmap.php b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_classmap.php index a9f3cb0c..ec29ad44 100644 --- a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_classmap.php +++ b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_classmap.php @@ -144,7 +144,7 @@ return array( 'WPSEO_Cornerstone_Filter' => $baseDir . '/admin/filters/class-cornerstone-filter.php', 'WPSEO_Custom_Fields' => $baseDir . '/inc/class-wpseo-custom-fields.php', 'WPSEO_Custom_Taxonomies' => $baseDir . '/inc/class-wpseo-custom-taxonomies.php', - 'WPSEO_Customizer' => $baseDir . '/admin/class-customizer.php', + 'WPSEO_Customizer' => $baseDir . '/src/deprecated/admin/class-customizer.php', 'WPSEO_Database_Proxy' => $baseDir . '/admin/class-database-proxy.php', 'WPSEO_Date_Helper' => $baseDir . '/inc/date-helper.php', 'WPSEO_Dismissible_Notification' => $baseDir . '/admin/notifiers/dismissible-notification.php', @@ -158,7 +158,6 @@ return array( 'WPSEO_Frontend' => $baseDir . '/src/deprecated/frontend/frontend.php', 'WPSEO_GSC' => $baseDir . '/admin/google_search_console/class-gsc.php', 'WPSEO_Gutenberg_Compatibility' => $baseDir . '/admin/class-gutenberg-compatibility.php', - 'WPSEO_HelpScout' => $baseDir . '/src/deprecated/admin/class-helpscout.php', 'WPSEO_Image_Utils' => $baseDir . '/inc/class-wpseo-image-utils.php', 'WPSEO_Import_AIOSEO' => $baseDir . '/admin/import/plugins/class-import-aioseo.php', 'WPSEO_Import_AIOSEO_V4' => $baseDir . '/admin/import/plugins/class-import-aioseo-v4.php', @@ -542,7 +541,6 @@ return array( 'Yoast\\WP\\SEO\\Actions\\Importing\\Importing_Action_Interface' => $baseDir . '/src/actions/importing/importing-action-interface.php', 'Yoast\\WP\\SEO\\Actions\\Importing\\Importing_Indexation_Action_Interface' => $baseDir . '/src/actions/importing/importing-indexation-action-interface.php', 'Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action' => $baseDir . '/src/actions/indexables/indexable-head-action.php', - 'Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action' => $baseDir . '/src/deprecated/src/actions/indexables-page-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Abstract_Indexing_Action' => $baseDir . '/src/actions/indexing/abstract-indexing-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Abstract_Link_Indexing_Action' => $baseDir . '/src/actions/indexing/abstract-link-indexing-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action' => $baseDir . '/src/actions/indexing/indexable-general-indexation-action.php', @@ -560,7 +558,6 @@ return array( 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Login_Action' => $baseDir . '/src/actions/semrush/semrush-login-action.php', 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Options_Action' => $baseDir . '/src/actions/semrush/semrush-options-action.php', 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Phrases_Action' => $baseDir . '/src/actions/semrush/semrush-phrases-action.php', - 'Yoast\\WP\\SEO\\Actions\\Settings_Introduction_Action' => $baseDir . '/src/deprecated/src/actions/settings-introduction-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Account_Action' => $baseDir . '/src/actions/wincher/wincher-account-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Keyphrases_Action' => $baseDir . '/src/actions/wincher/wincher-keyphrases-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Login_Action' => $baseDir . '/src/actions/wincher/wincher-login-action.php', @@ -604,7 +601,6 @@ return array( 'Yoast\\WP\\SEO\\Conditionals\\Get_Request_Conditional' => $baseDir . '/src/conditionals/get-request-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Headless_Rest_Endpoints_Enabled_Conditional' => $baseDir . '/src/conditionals/headless-rest-endpoints-enabled-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Import_Tool_Selected_Conditional' => $baseDir . '/src/conditionals/import-tool-selected-conditional.php', - 'Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional' => $baseDir . '/src/deprecated/src/conditionals/indexables-page-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Jetpack_Conditional' => $baseDir . '/src/conditionals/jetpack-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional' => $baseDir . '/src/conditionals/migrations-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional' => $baseDir . '/src/conditionals/new-settings-ui-conditional.php', @@ -619,7 +615,6 @@ return array( 'Yoast\\WP\\SEO\\Conditionals\\Primary_Category_Conditional' => $baseDir . '/src/conditionals/primary-category-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional' => $baseDir . '/src/conditionals/robots-txt-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\SEMrush_Enabled_Conditional' => $baseDir . '/src/conditionals/semrush-enabled-conditional.php', - 'Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional' => $baseDir . '/src/deprecated/src/conditionals/schema-blocks-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional' => $baseDir . '/src/conditionals/settings-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Should_Index_Links_Conditional' => $baseDir . '/src/conditionals/should-index-links-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Text_Formality_Conditional' => $baseDir . '/src/conditionals/text-formality-conditional.php', @@ -767,9 +762,7 @@ return array( 'Yoast\\WP\\SEO\\Helpers\\Import_Helper' => $baseDir . '/src/helpers/import-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper' => $baseDir . '/src/helpers/indexable-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper' => $baseDir . '/src/helpers/indexable-to-postmeta-helper.php', - 'Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper' => $baseDir . '/src/deprecated/src/helpers/indexables-page-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper' => $baseDir . '/src/helpers/indexing-helper.php', - 'Yoast\\WP\\SEO\\Helpers\\Input_Helper' => $baseDir . '/src/deprecated/src/helpers/input-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Language_Helper' => $baseDir . '/src/helpers/language-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper' => $baseDir . '/src/helpers/meta-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Notification_Helper' => $baseDir . '/src/helpers/notification-helper.php', @@ -831,7 +824,6 @@ return array( 'Yoast\\WP\\SEO\\Integrations\\Admin\\HelpScout_Beacon' => $baseDir . '/src/integrations/admin/helpscout-beacon.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Import_Integration' => $baseDir . '/src/integrations/admin/import-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Exclude_Taxonomy_Integration' => $baseDir . '/src/integrations/admin/indexables-exclude-taxonomy-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration' => $baseDir . '/src/deprecated/src/integrations/admin/indexables-page-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Notification_Integration' => $baseDir . '/src/integrations/admin/indexing-notification-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Tool_Integration' => $baseDir . '/src/integrations/admin/indexing-tool-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Installation_Success_Integration' => $baseDir . '/src/integrations/admin/installation-success-integration.php', @@ -842,10 +834,7 @@ return array( 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Configuration_Integration' => $baseDir . '/src/integrations/admin/old-configuration-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Premium_Integration' => $baseDir . '/src/deprecated/src/integrations/admin/old-premium-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Integration' => $baseDir . '/src/integrations/admin/redirect-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Old_Features_Tab_Integration' => $baseDir . '/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration' => $baseDir . '/src/integrations/admin/redirects-page-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration' => $baseDir . '/src/deprecated/src/integrations/admin/social-templates-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version' => $baseDir . '/src/deprecated/src/integrations/admin/unsupported-php-version.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice' => $baseDir . '/src/integrations/admin/unsupported-php-version-notice.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Workouts_Integration' => $baseDir . '/src/integrations/admin/workouts-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Abstract_Dismissable_Alert' => $baseDir . '/src/integrations/alerts/abstract-dismissable-alert.php', @@ -857,6 +846,7 @@ return array( 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Webinar_Promo_Notification' => $baseDir . '/src/integrations/alerts/webinar-promo-notification.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Breadcrumbs_Block' => $baseDir . '/src/integrations/blocks/breadcrumbs-block.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Dynamic_Block' => $baseDir . '/src/integrations/blocks/abstract-dynamic-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Dynamic_Block_V3' => $baseDir . '/src/integrations/blocks/abstract-dynamic-block-v3.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Internal_Linking_Category' => $baseDir . '/src/integrations/blocks/block-categories.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Structured_Data_Blocks' => $baseDir . '/src/integrations/blocks/structured-data-blocks.php', 'Yoast\\WP\\SEO\\Integrations\\Breadcrumbs_Integration' => $baseDir . '/src/integrations/breadcrumbs-integration.php', @@ -885,7 +875,6 @@ return array( 'Yoast\\WP\\SEO\\Integrations\\Front_End_Integration' => $baseDir . '/src/integrations/front-end-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Integration_Interface' => $baseDir . '/src/integrations/integration-interface.php', 'Yoast\\WP\\SEO\\Integrations\\Primary_Category' => $baseDir . '/src/integrations/primary-category.php', - 'Yoast\\WP\\SEO\\Integrations\\Schema_Blocks' => $baseDir . '/src/deprecated/src/integrations/schema-blocks.php', 'Yoast\\WP\\SEO\\Integrations\\Settings_Integration' => $baseDir . '/src/integrations/settings-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Support_Integration' => $baseDir . '/src/integrations/support-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\AMP' => $baseDir . '/src/integrations/third-party/amp.php', @@ -1046,18 +1035,15 @@ return array( 'Yoast\\WP\\SEO\\Routes\\First_Time_Configuration_Route' => $baseDir . '/src/routes/first-time-configuration-route.php', 'Yoast\\WP\\SEO\\Routes\\Importing_Route' => $baseDir . '/src/routes/importing-route.php', 'Yoast\\WP\\SEO\\Routes\\Indexables_Head_Route' => $baseDir . '/src/routes/indexables-head-route.php', - 'Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route' => $baseDir . '/src/deprecated/src/routes/indexables-page-route.php', 'Yoast\\WP\\SEO\\Routes\\Indexing_Route' => $baseDir . '/src/routes/indexing-route.php', 'Yoast\\WP\\SEO\\Routes\\Integrations_Route' => $baseDir . '/src/routes/integrations-route.php', 'Yoast\\WP\\SEO\\Routes\\Meta_Search_Route' => $baseDir . '/src/routes/meta-search-route.php', 'Yoast\\WP\\SEO\\Routes\\Route_Interface' => $baseDir . '/src/routes/route-interface.php', 'Yoast\\WP\\SEO\\Routes\\SEMrush_Route' => $baseDir . '/src/routes/semrush-route.php', - 'Yoast\\WP\\SEO\\Routes\\Settings_Introduction_Route' => $baseDir . '/src/deprecated/src/routes/settings-introduction-route.php', 'Yoast\\WP\\SEO\\Routes\\Supported_Features_Route' => $baseDir . '/src/routes/supported-features-route.php', 'Yoast\\WP\\SEO\\Routes\\Wincher_Route' => $baseDir . '/src/routes/wincher-route.php', 'Yoast\\WP\\SEO\\Routes\\Workouts_Route' => $baseDir . '/src/routes/workouts-route.php', 'Yoast\\WP\\SEO\\Routes\\Yoast_Head_REST_Field' => $baseDir . '/src/routes/yoast-head-rest-field.php', - 'Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons' => $baseDir . '/src/deprecated/src/schema-templates/assets/icons.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Check' => $baseDir . '/src/services/health-check/default-tagline-check.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Reports' => $baseDir . '/src/services/health-check/default-tagline-reports.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Runner' => $baseDir . '/src/services/health-check/default-tagline-runner.php', @@ -1145,5 +1131,4 @@ return array( 'Yoast_Notifications' => $baseDir . '/admin/class-yoast-notifications.php', 'Yoast_Plugin_Conflict' => $baseDir . '/admin/class-yoast-plugin-conflict.php', 'Yoast_Plugin_Conflict_Ajax' => $baseDir . '/admin/ajax/class-yoast-plugin-conflict-ajax.php', - 'Yoast_View_Utils' => $baseDir . '/src/deprecated/admin/views/class-view-utils.php', ); diff --git a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_real.php b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_real.php index 3e2a3065..2e2ee11e 100644 --- a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_real.php +++ b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779 +class ComposerAutoloaderInitdb62dfb15ae92d6fb1dd9e6991f40e08 { private static $loader; @@ -24,15 +24,15 @@ class ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779 require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitdb62dfb15ae92d6fb1dd9e6991f40e08', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitdb62dfb15ae92d6fb1dd9e6991f40e08', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitdde61db2dc32a7876d16ff8608905779::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -53,12 +53,12 @@ class ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitdde61db2dc32a7876d16ff8608905779::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequiredde61db2dc32a7876d16ff8608905779($fileIdentifier, $file); + composerRequiredb62dfb15ae92d6fb1dd9e6991f40e08($fileIdentifier, $file); } return $loader; @@ -70,7 +70,7 @@ class ComposerAutoloaderInitdde61db2dc32a7876d16ff8608905779 * @param string $file * @return void */ -function composerRequiredde61db2dc32a7876d16ff8608905779($fileIdentifier, $file) +function composerRequiredb62dfb15ae92d6fb1dd9e6991f40e08($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_static.php b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_static.php index ac018241..db4731d8 100644 --- a/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_static.php +++ b/wp/wp-content/plugins/wordpress-seo/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 +class ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08 { public static $files = array ( '81db02b30f563b92907e271b66bd7559' => __DIR__ . '/..' . '/yoast/whip/src/Facades/wordpress.php', @@ -171,7 +171,7 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'WPSEO_Cornerstone_Filter' => __DIR__ . '/../..' . '/admin/filters/class-cornerstone-filter.php', 'WPSEO_Custom_Fields' => __DIR__ . '/../..' . '/inc/class-wpseo-custom-fields.php', 'WPSEO_Custom_Taxonomies' => __DIR__ . '/../..' . '/inc/class-wpseo-custom-taxonomies.php', - 'WPSEO_Customizer' => __DIR__ . '/../..' . '/admin/class-customizer.php', + 'WPSEO_Customizer' => __DIR__ . '/../..' . '/src/deprecated/admin/class-customizer.php', 'WPSEO_Database_Proxy' => __DIR__ . '/../..' . '/admin/class-database-proxy.php', 'WPSEO_Date_Helper' => __DIR__ . '/../..' . '/inc/date-helper.php', 'WPSEO_Dismissible_Notification' => __DIR__ . '/../..' . '/admin/notifiers/dismissible-notification.php', @@ -185,7 +185,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'WPSEO_Frontend' => __DIR__ . '/../..' . '/src/deprecated/frontend/frontend.php', 'WPSEO_GSC' => __DIR__ . '/../..' . '/admin/google_search_console/class-gsc.php', 'WPSEO_Gutenberg_Compatibility' => __DIR__ . '/../..' . '/admin/class-gutenberg-compatibility.php', - 'WPSEO_HelpScout' => __DIR__ . '/../..' . '/src/deprecated/admin/class-helpscout.php', 'WPSEO_Image_Utils' => __DIR__ . '/../..' . '/inc/class-wpseo-image-utils.php', 'WPSEO_Import_AIOSEO' => __DIR__ . '/../..' . '/admin/import/plugins/class-import-aioseo.php', 'WPSEO_Import_AIOSEO_V4' => __DIR__ . '/../..' . '/admin/import/plugins/class-import-aioseo-v4.php', @@ -569,7 +568,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Actions\\Importing\\Importing_Action_Interface' => __DIR__ . '/../..' . '/src/actions/importing/importing-action-interface.php', 'Yoast\\WP\\SEO\\Actions\\Importing\\Importing_Indexation_Action_Interface' => __DIR__ . '/../..' . '/src/actions/importing/importing-indexation-action-interface.php', 'Yoast\\WP\\SEO\\Actions\\Indexables\\Indexable_Head_Action' => __DIR__ . '/../..' . '/src/actions/indexables/indexable-head-action.php', - 'Yoast\\WP\\SEO\\Actions\\Indexables_Page_Action' => __DIR__ . '/../..' . '/src/deprecated/src/actions/indexables-page-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Abstract_Indexing_Action' => __DIR__ . '/../..' . '/src/actions/indexing/abstract-indexing-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Abstract_Link_Indexing_Action' => __DIR__ . '/../..' . '/src/actions/indexing/abstract-link-indexing-action.php', 'Yoast\\WP\\SEO\\Actions\\Indexing\\Indexable_General_Indexation_Action' => __DIR__ . '/../..' . '/src/actions/indexing/indexable-general-indexation-action.php', @@ -587,7 +585,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Login_Action' => __DIR__ . '/../..' . '/src/actions/semrush/semrush-login-action.php', 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Options_Action' => __DIR__ . '/../..' . '/src/actions/semrush/semrush-options-action.php', 'Yoast\\WP\\SEO\\Actions\\SEMrush\\SEMrush_Phrases_Action' => __DIR__ . '/../..' . '/src/actions/semrush/semrush-phrases-action.php', - 'Yoast\\WP\\SEO\\Actions\\Settings_Introduction_Action' => __DIR__ . '/../..' . '/src/deprecated/src/actions/settings-introduction-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Account_Action' => __DIR__ . '/../..' . '/src/actions/wincher/wincher-account-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Keyphrases_Action' => __DIR__ . '/../..' . '/src/actions/wincher/wincher-keyphrases-action.php', 'Yoast\\WP\\SEO\\Actions\\Wincher\\Wincher_Login_Action' => __DIR__ . '/../..' . '/src/actions/wincher/wincher-login-action.php', @@ -631,7 +628,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Conditionals\\Get_Request_Conditional' => __DIR__ . '/../..' . '/src/conditionals/get-request-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Headless_Rest_Endpoints_Enabled_Conditional' => __DIR__ . '/../..' . '/src/conditionals/headless-rest-endpoints-enabled-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Import_Tool_Selected_Conditional' => __DIR__ . '/../..' . '/src/conditionals/import-tool-selected-conditional.php', - 'Yoast\\WP\\SEO\\Conditionals\\Indexables_Page_Conditional' => __DIR__ . '/../..' . '/src/deprecated/src/conditionals/indexables-page-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Jetpack_Conditional' => __DIR__ . '/../..' . '/src/conditionals/jetpack-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Migrations_Conditional' => __DIR__ . '/../..' . '/src/conditionals/migrations-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional' => __DIR__ . '/../..' . '/src/conditionals/new-settings-ui-conditional.php', @@ -646,7 +642,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Conditionals\\Primary_Category_Conditional' => __DIR__ . '/../..' . '/src/conditionals/primary-category-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional' => __DIR__ . '/../..' . '/src/conditionals/robots-txt-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\SEMrush_Enabled_Conditional' => __DIR__ . '/../..' . '/src/conditionals/semrush-enabled-conditional.php', - 'Yoast\\WP\\SEO\\Conditionals\\Schema_Blocks_Conditional' => __DIR__ . '/../..' . '/src/deprecated/src/conditionals/schema-blocks-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Settings_Conditional' => __DIR__ . '/../..' . '/src/conditionals/settings-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Should_Index_Links_Conditional' => __DIR__ . '/../..' . '/src/conditionals/should-index-links-conditional.php', 'Yoast\\WP\\SEO\\Conditionals\\Text_Formality_Conditional' => __DIR__ . '/../..' . '/src/conditionals/text-formality-conditional.php', @@ -794,9 +789,7 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Helpers\\Import_Helper' => __DIR__ . '/../..' . '/src/helpers/import-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexable_Helper' => __DIR__ . '/../..' . '/src/helpers/indexable-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper' => __DIR__ . '/../..' . '/src/helpers/indexable-to-postmeta-helper.php', - 'Yoast\\WP\\SEO\\Helpers\\Indexables_Page_Helper' => __DIR__ . '/../..' . '/src/deprecated/src/helpers/indexables-page-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Indexing_Helper' => __DIR__ . '/../..' . '/src/helpers/indexing-helper.php', - 'Yoast\\WP\\SEO\\Helpers\\Input_Helper' => __DIR__ . '/../..' . '/src/deprecated/src/helpers/input-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Language_Helper' => __DIR__ . '/../..' . '/src/helpers/language-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Meta_Helper' => __DIR__ . '/../..' . '/src/helpers/meta-helper.php', 'Yoast\\WP\\SEO\\Helpers\\Notification_Helper' => __DIR__ . '/../..' . '/src/helpers/notification-helper.php', @@ -858,7 +851,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Integrations\\Admin\\HelpScout_Beacon' => __DIR__ . '/../..' . '/src/integrations/admin/helpscout-beacon.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Import_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/import-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Exclude_Taxonomy_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/indexables-exclude-taxonomy-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexables_Page_Integration' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/admin/indexables-page-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Notification_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/indexing-notification-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Indexing_Tool_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/indexing-tool-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Installation_Success_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/installation-success-integration.php', @@ -869,10 +861,7 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Configuration_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/old-configuration-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Premium_Integration' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/admin/old-premium-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/redirect-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Old_Features_Tab_Integration' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/admin/redirect-old-features-tab-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/redirects-page-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Social_Templates_Integration' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/admin/social-templates-integration.php', - 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/admin/unsupported-php-version.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice' => __DIR__ . '/../..' . '/src/integrations/admin/unsupported-php-version-notice.php', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Workouts_Integration' => __DIR__ . '/../..' . '/src/integrations/admin/workouts-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Abstract_Dismissable_Alert' => __DIR__ . '/../..' . '/src/integrations/alerts/abstract-dismissable-alert.php', @@ -884,6 +873,7 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Webinar_Promo_Notification' => __DIR__ . '/../..' . '/src/integrations/alerts/webinar-promo-notification.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Breadcrumbs_Block' => __DIR__ . '/../..' . '/src/integrations/blocks/breadcrumbs-block.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Dynamic_Block' => __DIR__ . '/../..' . '/src/integrations/blocks/abstract-dynamic-block.php', + 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Dynamic_Block_V3' => __DIR__ . '/../..' . '/src/integrations/blocks/abstract-dynamic-block-v3.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Internal_Linking_Category' => __DIR__ . '/../..' . '/src/integrations/blocks/block-categories.php', 'Yoast\\WP\\SEO\\Integrations\\Blocks\\Structured_Data_Blocks' => __DIR__ . '/../..' . '/src/integrations/blocks/structured-data-blocks.php', 'Yoast\\WP\\SEO\\Integrations\\Breadcrumbs_Integration' => __DIR__ . '/../..' . '/src/integrations/breadcrumbs-integration.php', @@ -912,7 +902,6 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Integrations\\Front_End_Integration' => __DIR__ . '/../..' . '/src/integrations/front-end-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Integration_Interface' => __DIR__ . '/../..' . '/src/integrations/integration-interface.php', 'Yoast\\WP\\SEO\\Integrations\\Primary_Category' => __DIR__ . '/../..' . '/src/integrations/primary-category.php', - 'Yoast\\WP\\SEO\\Integrations\\Schema_Blocks' => __DIR__ . '/../..' . '/src/deprecated/src/integrations/schema-blocks.php', 'Yoast\\WP\\SEO\\Integrations\\Settings_Integration' => __DIR__ . '/../..' . '/src/integrations/settings-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Support_Integration' => __DIR__ . '/../..' . '/src/integrations/support-integration.php', 'Yoast\\WP\\SEO\\Integrations\\Third_Party\\AMP' => __DIR__ . '/../..' . '/src/integrations/third-party/amp.php', @@ -1073,18 +1062,15 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast\\WP\\SEO\\Routes\\First_Time_Configuration_Route' => __DIR__ . '/../..' . '/src/routes/first-time-configuration-route.php', 'Yoast\\WP\\SEO\\Routes\\Importing_Route' => __DIR__ . '/../..' . '/src/routes/importing-route.php', 'Yoast\\WP\\SEO\\Routes\\Indexables_Head_Route' => __DIR__ . '/../..' . '/src/routes/indexables-head-route.php', - 'Yoast\\WP\\SEO\\Routes\\Indexables_Page_Route' => __DIR__ . '/../..' . '/src/deprecated/src/routes/indexables-page-route.php', 'Yoast\\WP\\SEO\\Routes\\Indexing_Route' => __DIR__ . '/../..' . '/src/routes/indexing-route.php', 'Yoast\\WP\\SEO\\Routes\\Integrations_Route' => __DIR__ . '/../..' . '/src/routes/integrations-route.php', 'Yoast\\WP\\SEO\\Routes\\Meta_Search_Route' => __DIR__ . '/../..' . '/src/routes/meta-search-route.php', 'Yoast\\WP\\SEO\\Routes\\Route_Interface' => __DIR__ . '/../..' . '/src/routes/route-interface.php', 'Yoast\\WP\\SEO\\Routes\\SEMrush_Route' => __DIR__ . '/../..' . '/src/routes/semrush-route.php', - 'Yoast\\WP\\SEO\\Routes\\Settings_Introduction_Route' => __DIR__ . '/../..' . '/src/deprecated/src/routes/settings-introduction-route.php', 'Yoast\\WP\\SEO\\Routes\\Supported_Features_Route' => __DIR__ . '/../..' . '/src/routes/supported-features-route.php', 'Yoast\\WP\\SEO\\Routes\\Wincher_Route' => __DIR__ . '/../..' . '/src/routes/wincher-route.php', 'Yoast\\WP\\SEO\\Routes\\Workouts_Route' => __DIR__ . '/../..' . '/src/routes/workouts-route.php', 'Yoast\\WP\\SEO\\Routes\\Yoast_Head_REST_Field' => __DIR__ . '/../..' . '/src/routes/yoast-head-rest-field.php', - 'Yoast\\WP\\SEO\\Schema_Templates\\Assets\\Icons' => __DIR__ . '/../..' . '/src/deprecated/src/schema-templates/assets/icons.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Check' => __DIR__ . '/../..' . '/src/services/health-check/default-tagline-check.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Reports' => __DIR__ . '/../..' . '/src/services/health-check/default-tagline-reports.php', 'Yoast\\WP\\SEO\\Services\\Health_Check\\Default_Tagline_Runner' => __DIR__ . '/../..' . '/src/services/health-check/default-tagline-runner.php', @@ -1172,15 +1158,14 @@ class ComposerStaticInitdde61db2dc32a7876d16ff8608905779 'Yoast_Notifications' => __DIR__ . '/../..' . '/admin/class-yoast-notifications.php', 'Yoast_Plugin_Conflict' => __DIR__ . '/../..' . '/admin/class-yoast-plugin-conflict.php', 'Yoast_Plugin_Conflict_Ajax' => __DIR__ . '/../..' . '/admin/ajax/class-yoast-plugin-conflict-ajax.php', - 'Yoast_View_Utils' => __DIR__ . '/../..' . '/src/deprecated/admin/views/class-view-utils.php', ); public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitdde61db2dc32a7876d16ff8608905779::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitdde61db2dc32a7876d16ff8608905779::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitdde61db2dc32a7876d16ff8608905779::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitdb62dfb15ae92d6fb1dd9e6991f40e08::$classMap; }, null, ClassLoader::class); } diff --git a/wp/wp-content/plugins/wordpress-seo/vendor/composer/installed.php b/wp/wp-content/plugins/wordpress-seo/vendor/composer/installed.php index b06e77f1..1f0bf20a 100644 --- a/wp/wp-content/plugins/wordpress-seo/vendor/composer/installed.php +++ b/wp/wp-content/plugins/wordpress-seo/vendor/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '4dfa6f14e2ed36f862070d7435cfcc1f969e6f4e', + 'reference' => '94db08a5e45b0c74a17c00051dfb3423535615b7', 'name' => 'yoast/wordpress-seo', 'dev' => false, ), @@ -34,7 +34,7 @@ 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '4dfa6f14e2ed36f862070d7435cfcc1f969e6f4e', + 'reference' => '94db08a5e45b0c74a17c00051dfb3423535615b7', 'dev_requirement' => false, ), ), diff --git a/wp/wp-content/plugins/wordpress-seo/wp-seo-main.php b/wp/wp-content/plugins/wordpress-seo/wp-seo-main.php index c3352a2d..3561e05a 100644 --- a/wp/wp-content/plugins/wordpress-seo/wp-seo-main.php +++ b/wp/wp-content/plugins/wordpress-seo/wp-seo-main.php @@ -15,7 +15,7 @@ if ( ! function_exists( 'add_filter' ) ) { * {@internal Nobody should be able to overrule the real version number as this can cause * serious issues with the options, so no if ( ! defined() ).}} */ -define( 'WPSEO_VERSION', '22.7' ); +define( 'WPSEO_VERSION', '22.8' ); if ( ! defined( 'WPSEO_PATH' ) ) { @@ -363,9 +363,6 @@ function wpseo_init() { require_once WPSEO_PATH . 'inc/wpseo-non-ajax-functions.php'; } - // Init it here because the filter must be present on the frontend as well or it won't work in the customizer. - new WPSEO_Customizer(); - $integrations = []; $integrations[] = new WPSEO_Slug_Change_Watcher(); diff --git a/wp/wp-content/plugins/wordpress-seo/wp-seo.php b/wp/wp-content/plugins/wordpress-seo/wp-seo.php index ef47017f..5e80727a 100644 --- a/wp/wp-content/plugins/wordpress-seo/wp-seo.php +++ b/wp/wp-content/plugins/wordpress-seo/wp-seo.php @@ -8,7 +8,7 @@ * * @wordpress-plugin * Plugin Name: Yoast SEO - * Version: 22.7 + * Version: 22.8 * Plugin URI: https://yoa.st/1uj * Description: The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more. * Author: Team Yoast @@ -20,7 +20,7 @@ * Requires PHP: 7.2.5 * * WC requires at least: 7.1 - * WC tested up to: 8.8 + * WC tested up to: 8.9 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by