From 69cb386685605aad28a4f1321425edb4c8216b07 Mon Sep 17 00:00:00 2001 From: Dinkum Interactive Date: Wed, 17 Apr 2024 22:41:52 +0700 Subject: [PATCH] Plugin updates. --- .../build/cptui-scripts.js | 389 +- .../build/cptui-scripts.min.js | 2 +- .../build/cptui-scripts.min.js.map | 2 +- .../custom-post-type-ui.php | 6 +- .../custom-post-type-ui/inc/taxonomies.php | 1 + .../custom-post-type-ui/inc/utility.php | 24 + .../plugins/custom-post-type-ui/readme.txt | 20 +- .../custom-post-type-ui/wpml-config.xml | 17 + .../js/disable-comments-settings-scripts.js | 2 +- .../disable-comments/disable-comments.php | 15 +- .../languages/disable-comments.pot | 43 +- .../plugins/disable-comments/readme.txt | 23 +- .../views/partials/_delete.php | 4 +- wp-content/plugins/faustwp/CHANGELOG.md | 6 + wp-content/plugins/faustwp/faustwp.php | 2 +- .../faustwp/includes/rest/callbacks.php | 51 + .../faustwp/includes/utilities/functions.php | 24 + wp-content/plugins/faustwp/readme.txt | 23 +- .../plugins/genesis-custom-blocks/README.md | 6 +- .../genesis-custom-blocks.php | 2 +- .../js/dist/edit-block.asset.php | 2 +- .../js/dist/edit-block.js | 2 +- .../genesis-custom-blocks/vendor/autoload.php | 2 +- .../vendor/composer/autoload_real.php | 8 +- .../vendor/composer/autoload_static.php | 8 +- .../vendor/composer/installed.php | 12 +- .../assets/js/callback.asset.php | 2 +- .../microsoft-start/assets/js/callback.js | 2 +- .../assets/js/dashboard.asset.php | 2 +- .../microsoft-start/assets/js/dashboard.js | 2 +- .../assets/js/editorSidebar.asset.php | 2 +- .../assets/js/editorSidebar.js | 2 +- .../assets/js/status.asset.php | 2 +- .../microsoft-start/assets/js/status.js | 2 +- wp-content/plugins/microsoft-start/index.php | 2 +- wp-content/plugins/microsoft-start/readme.txt | 4 +- .../microsoft-start/vendor/autoload.php | 2 +- .../vendor/composer/autoload_real.php | 8 +- .../vendor/composer/autoload_static.php | 8 +- wp-content/plugins/pwa/pwa.php | 4 +- wp-content/plugins/pwa/readme.txt | 6 +- wp-content/plugins/svg-block/build/block.json | 7 +- .../plugins/svg-block/build/index.asset.php | 2 +- wp-content/plugins/svg-block/build/index.js | 28 +- .../svg-block/data/icon-library/icons.json | 8072 +++++++++-------- .../svg-block/includes/icon-library.php | 26 +- wp-content/plugins/svg-block/readme.txt | 15 +- wp-content/plugins/svg-block/svg-block.php | 34 +- .../inc/class.admin.autocomplete.php | 10 +- .../plugins/taxopress-pro/inc/class.admin.php | 57 +- .../inc/class.client.autolinks.php | 212 - .../taxopress-pro/inc/class.client.php | 2 +- .../inc/class.client.post_tags.php | 80 - .../inc/class.client.related_posts.php | 59 +- .../inc/class.client.tagcloud.php | 24 - .../taxopress-pro/inc/functions.inc.php | 64 +- .../inc/helper.options.admin.php | 459 - .../plugins/taxopress-pro/inc/terms-table.php | 7 +- .../assets/js/taxonomy-linked-terms.js | 28 +- .../linked-terms/linked-terms-schema.php | 83 + .../modules/linked-terms/linked-terms.php | 302 +- .../languages/simple-tags-es_ES.mo | Bin 106882 -> 108575 bytes .../languages/simple-tags-es_ES.po | 655 +- .../languages/simple-tags-fr_FR.mo | Bin 110126 -> 111921 bytes .../languages/simple-tags-fr_FR.po | 659 +- .../languages/simple-tags-it_IT.mo | Bin 104870 -> 106527 bytes .../languages/simple-tags-it_IT.po | 659 +- .../taxopress-pro/languages/simple-tags.pot | 504 +- .../languages/taxopress-pro-es_ES.mo | Bin 9364 -> 9935 bytes .../languages/taxopress-pro-es_ES.po | 107 +- .../languages/taxopress-pro-fr_FR.mo | Bin 9578 -> 10168 bytes .../languages/taxopress-pro-fr_FR.po | 108 +- .../languages/taxopress-pro-it_IT.mo | Bin 9359 -> 9901 bytes .../languages/taxopress-pro-it_IT.po | 114 +- .../taxopress-pro/languages/taxopress-pro.pot | 65 +- wp-content/plugins/taxopress-pro/readme.txt | 8 +- .../plugins/taxopress-pro/taxopress-pro.php | 4 +- .../wordpress-seo/admin/class-admin.php | 6 +- .../admin/class-expose-shortlinks.php | 2 +- .../admin/class-gutenberg-compatibility.php | 4 +- .../admin/class-plugin-availability.php | 28 +- .../admin/class-plugin-conflict.php | 2 +- .../admin/class-suggested-plugins.php | 23 +- .../formatter/class-metabox-formatter.php | 51 +- .../admin/metabox/class-metabox.php | 25 +- .../watchers/class-slug-change-watcher.php | 2 +- ...demy-2230-rtl.css => academy-2250-rtl.css} | 0 .../{academy-2230.css => academy-2250.css} | 0 ...2230-rtl.css => admin-global-2250-rtl.css} | 0 ...-global-2230.css => admin-global-2250.css} | 0 ...bar-2230-rtl.css => adminbar-2250-rtl.css} | 0 .../{adminbar-2230.css => adminbar-2250.css} | 0 ...2230-rtl.css => ai-generator-2250-rtl.css} | 0 ...nerator-2230.css => ai-generator-2250.css} | 0 ...lerts-2230-rtl.css => alerts-2250-rtl.css} | 0 .../dist/{alerts-2230.css => alerts-2250.css} | 0 ...l.css => black-friday-banner-2250-rtl.css} | 0 ...-2230.css => black-friday-banner-2250.css} | 0 ...rd-2230-rtl.css => dashboard-2250-rtl.css} | 0 ...{dashboard-2230.css => dashboard-2250.css} | 0 ...ge-2230-rtl.css => edit-page-2250-rtl.css} | 0 ...{edit-page-2230.css => edit-page-2250.css} | 0 ...or-2230-rtl.css => elementor-2250-rtl.css} | 0 ...{elementor-2230.css => elementor-2250.css} | 0 ...30-rtl.css => featured-image-2250-rtl.css} | 0 ...image-2230.css => featured-image-2250.css} | 0 ...tl.css => filter-explanation-2250-rtl.css} | 0 ...n-2230.css => filter-explanation-2250.css} | 0 ... => first-time-configuration-2250-rtl.css} | 0 ....css => first-time-configuration-2250.css} | 0 ...{icons-2230-rtl.css => icons-2250-rtl.css} | 0 .../dist/{icons-2230.css => icons-2250.css} | 0 ...230-rtl.css => inside-editor-2250-rtl.css} | 0 ...editor-2230.css => inside-editor-2250.css} | 0 ...230-rtl.css => introductions-2250-rtl.css} | 0 ...ctions-2230.css => introductions-2250.css} | 0 ...abox-2230-rtl.css => metabox-2250-rtl.css} | 2 +- .../{metabox-2230.css => metabox-2250.css} | 2 +- ... => metabox-primary-category-2250-rtl.css} | 0 ....css => metabox-primary-category-2250.css} | 0 ...{modal-2230-rtl.css => modal-2250-rtl.css} | 0 .../dist/{modal-2230.css => modal-2250.css} | 0 .../css/dist/monorepo-2230-rtl.css | 1 - .../wordpress-seo/css/dist/monorepo-2230.css | 1 - .../css/dist/monorepo-2250-rtl.css | 1 + .../wordpress-seo/css/dist/monorepo-2250.css | 1 + ...2230-rtl.css => new-settings-2250-rtl.css} | 0 ...ettings-2230.css => new-settings-2250.css} | 0 ...230-rtl.css => notifications-2250-rtl.css} | 0 ...ations-2230.css => notifications-2250.css} | 0 ...n-2230-rtl.css => score_icon-2250-rtl.css} | 0 ...core_icon-2230.css => score_icon-2250.css} | 0 ...ss => structured-data-blocks-2250-rtl.css} | 0 ...30.css => structured-data-blocks-2250.css} | 0 ...port-2230-rtl.css => support-2250-rtl.css} | 0 .../{support-2230.css => support-2250.css} | 0 ...ind-2230-rtl.css => tailwind-2250-rtl.css} | 2 +- .../{tailwind-2230.css => tailwind-2250.css} | 2 +- ...230-rtl.css => toggle-switch-2250-rtl.css} | 0 ...switch-2230.css => toggle-switch-2250.css} | 0 ...ips-2230-rtl.css => tooltips-2250-rtl.css} | 0 .../{tooltips-2230.css => tooltips-2250.css} | 0 ...uts-2230-rtl.css => workouts-2250-rtl.css} | 0 .../{workouts-2230.css => workouts-2250.css} | 0 ...rtl.css => wpseo-dismissible-2250-rtl.css} | 0 ...le-2230.css => wpseo-dismissible-2250.css} | 0 ...-rtl.css => yoast-extensions-2250-rtl.css} | 0 ...ons-2230.css => yoast-extensions-2250.css} | 0 ...-rtl.css => yst_plugin_tools-2250-rtl.css} | 0 ...ols-2230.css => yst_plugin_tools-2250.css} | 0 ...230-rtl.css => yst_seo_score-2250-rtl.css} | 0 ..._score-2230.css => yst_seo_score-2250.css} | 0 .../academy/ai_for_seo_icon_my_yoast.png | Bin 0 -> 16291 bytes .../wordpress-seo/inc/class-addon-manager.php | 12 +- .../inc/class-upgrade-history.php | 31 +- .../wordpress-seo/inc/class-upgrade.php | 291 +- .../inc/class-wpseo-admin-bar-menu.php | 5 - .../class-sitemaps-cache-validator.php | 10 +- .../plugins/wordpress-seo/js/dist/576.js | 1 - .../plugins/wordpress-seo/js/dist/631.js | 2 + .../plugins/wordpress-seo/js/dist/academy.js | 11 +- .../js/dist/addon-installation.js | 4 +- .../wordpress-seo/js/dist/admin-modules.js | 5 +- .../wordpress-seo/js/dist/block-editor.js | 179 +- .../wordpress-seo/js/dist/classic-editor.js | 177 +- .../wordpress-seo/js/dist/editor-modules.js | 60 +- .../wordpress-seo/js/dist/elementor.js | 267 +- .../js/dist/externals-components.js | 43 +- .../wordpress-seo/js/dist/externals-redux.js | 2 +- .../js/dist/externals/analysis.js | 283 +- .../js/dist/externals/analysisReport.js | 5 +- .../js/dist/externals/chart.js.js | 3 +- .../js/dist/externals/components.js | 7 +- .../js/dist/externals/componentsNew.js | 1179 +-- .../js/dist/externals/draftJs.js | 3 +- .../js/dist/externals/featureFlag.js | 2 +- .../js/dist/externals/helpers.js | 18 +- .../wordpress-seo/js/dist/externals/jed.js | 3 +- .../js/dist/externals/propTypes.js | 2 +- .../js/dist/externals/reactHelmet.js | 3 +- .../wordpress-seo/js/dist/externals/redux.js | 2 +- .../js/dist/externals/reduxJsToolkit.js | 2 +- .../externals/replacementVariableEditor.js | 35 +- .../dist/externals/searchMetadataPreviews.js | 256 +- .../js/dist/externals/socialMetadataForms.js | 12 +- .../js/dist/externals/styleGuide.js | 8 +- .../js/dist/externals/styledComponents.js | 3 +- .../js/dist/externals/uiLibrary.js | 3 +- .../js/dist/first-time-configuration.js | 20 +- .../js/dist/installation-success.js | 7 +- .../js/dist/integrations-page.js | 46 +- .../wordpress-seo/js/dist/introductions.js | 11 +- .../wordpress-seo/js/dist/languages/de.js | 2 +- .../wordpress-seo/js/dist/languages/en.js | 2 +- .../wordpress-seo/js/dist/languages/id.js | 2 +- .../wordpress-seo/js/dist/languages/ja.js | 2 +- .../wordpress-seo/js/dist/languages/ru.js | 2 +- .../wordpress-seo/js/dist/network-admin.js | 2 +- .../wordpress-seo/js/dist/new-settings.js | 348 +- .../wordpress-seo/js/dist/post-edit.js | 21 +- .../wordpress-seo/js/dist/react-select.js | 2 +- .../wordpress-seo/js/dist/reindex-links.js | 2 +- .../plugins/wordpress-seo/js/dist/settings.js | 4 +- .../js/dist/structured-data-blocks.js | 7 +- .../plugins/wordpress-seo/js/dist/support.js | 24 +- .../wordpress-seo/js/dist/term-edit.js | 15 +- .../js/dist/wincher-dashboard-widget.js | 37 +- .../wordpress-seo/js/dist/wordproof-uikit.js | 3 +- .../plugins/wordpress-seo/js/dist/workouts.js | 7 +- .../packages/js/images/x-logo.svg | 3 + wp-content/plugins/wordpress-seo/readme.txt | 158 +- .../enabled-analysis-features-repository.php | 55 + .../analysis-features/analysis-feature.php | 79 + .../analysis-features-list.php | 40 + .../framework/analysis-feature-interface.php | 30 + .../editors/framework/cornerstone-content.php | 54 + .../framework/inclusive-language-analysis.php | 115 + .../editors/framework/keyphrase-analysis.php | 72 + .../framework/previously-used-keyphrase.php | 41 + .../framework/readability-analysis.php | 72 + .../framework/word-form-recognition.php | 54 + .../src/generated/assets/externals.php | 2 +- .../src/generated/assets/languages.php | 2 +- .../src/generated/assets/plugin.php | 2 +- .../wordpress-seo/src/generated/container.php | 41 +- .../src/generators/schema/person.php | 2 +- .../generators/twitter-image-generator.php | 20 +- .../src/helpers/current-page-helper.php | 8 +- .../src/helpers/image-helper.php | 12 +- .../src/helpers/open-graph/image-helper.php | 9 +- .../src/helpers/social-profiles-helper.php | 4 +- .../src/helpers/twitter/image-helper.php | 8 +- .../woocommerce-beta-editor-watcher.php | 29 +- .../indexable-post-type-presentation.php | 2 +- .../src/values/twitter/images.php | 50 + .../plugins/wordpress-seo/vendor/autoload.php | 2 +- .../vendor/composer/autoload_classmap.php | 11 + .../vendor/composer/autoload_real.php | 8 +- .../vendor/composer/autoload_static.php | 19 +- .../vendor/composer/installed.php | 4 +- .../plugins/wordpress-seo/wp-seo-main.php | 4 +- wp-content/plugins/wordpress-seo/wp-seo.php | 4 +- wp-content/plugins/wp-graphql/.nvmrc | 1 - wp-content/plugins/wp-graphql/.prettierignore | 3 - .../plugins/wp-graphql/.prettierrc.json | 1 - wp-content/plugins/wp-graphql/.remarkrc | 21 - wp-content/plugins/wp-graphql/.wp-env.json | 9 + wp-content/plugins/wp-graphql/babel.config.js | 8 - .../plugins/wp-graphql/build/app.asset.php | 2 +- wp-content/plugins/wp-graphql/build/app.css | 1802 +--- wp-content/plugins/wp-graphql/build/app.js | 10 +- .../build/graphiqlAuthSwitch.asset.php | 2 +- .../wp-graphql/build/graphiqlAuthSwitch.js | 6 +- .../build/graphiqlFullscreenToggle.asset.php | 2 +- .../build/graphiqlFullscreenToggle.js | 2 +- .../build/graphiqlQueryComposer.asset.php | 2 +- .../build/graphiqlQueryComposer.css | 2 +- .../wp-graphql/build/graphiqlQueryComposer.js | 4 +- .../plugins/wp-graphql/build/index.asset.php | 2 +- wp-content/plugins/wp-graphql/build/index.js | 2 +- wp-content/plugins/wp-graphql/constants.php | 2 +- wp-content/plugins/wp-graphql/readme.txt | 20 +- .../wp-graphql/src/Admin/AdminNotices.php | 38 +- .../wp-graphql/src/Data/CommentMutation.php | 2 +- .../Connection/AbstractConnectionResolver.php | 2 +- .../src/Data/Cursor/CursorBuilder.php | 2 +- .../plugins/wp-graphql/src/Model/Post.php | 15 +- .../src/Registry/Utils/PostObject.php | 16 + .../plugins/wp-graphql/vendor/autoload.php | 2 +- .../vendor/composer/autoload_real.php | 8 +- .../vendor/composer/autoload_static.php | 8 +- .../wp-graphql/vendor/composer/installed.php | 12 +- wp-content/plugins/wp-graphql/wp-graphql.php | 6 +- .../inc/class-xmlsf-admin-sitemap.php | 78 +- .../inc/class-xmlsf-admin.php | 3 +- .../inc/class-xmlsitemapfeed.php | 2 +- .../plugins/xml-sitemap-feed/readme.txt | 12 +- .../plugins/xml-sitemap-feed/xml-sitemap.php | 15 +- 278 files changed, 8701 insertions(+), 11289 deletions(-) create mode 100644 wp-content/plugins/custom-post-type-ui/wpml-config.xml create mode 100644 wp-content/plugins/taxopress-pro/includes-pro/modules/linked-terms/linked-terms-schema.php rename wp-content/plugins/wordpress-seo/css/dist/{academy-2230-rtl.css => academy-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{academy-2230.css => academy-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{admin-global-2230-rtl.css => admin-global-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{admin-global-2230.css => admin-global-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{adminbar-2230-rtl.css => adminbar-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{adminbar-2230.css => adminbar-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{ai-generator-2230-rtl.css => ai-generator-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{ai-generator-2230.css => ai-generator-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{alerts-2230-rtl.css => alerts-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{alerts-2230.css => alerts-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{black-friday-banner-2230-rtl.css => black-friday-banner-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{black-friday-banner-2230.css => black-friday-banner-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{dashboard-2230-rtl.css => dashboard-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{dashboard-2230.css => dashboard-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{edit-page-2230-rtl.css => edit-page-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{edit-page-2230.css => edit-page-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{elementor-2230-rtl.css => elementor-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{elementor-2230.css => elementor-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{featured-image-2230-rtl.css => featured-image-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{featured-image-2230.css => featured-image-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{filter-explanation-2230-rtl.css => filter-explanation-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{filter-explanation-2230.css => filter-explanation-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{first-time-configuration-2230-rtl.css => first-time-configuration-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{first-time-configuration-2230.css => first-time-configuration-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{icons-2230-rtl.css => icons-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{icons-2230.css => icons-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{inside-editor-2230-rtl.css => inside-editor-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{inside-editor-2230.css => inside-editor-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{introductions-2230-rtl.css => introductions-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{introductions-2230.css => introductions-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{metabox-2230-rtl.css => metabox-2250-rtl.css} (90%) rename wp-content/plugins/wordpress-seo/css/dist/{metabox-2230.css => metabox-2250.css} (90%) rename wp-content/plugins/wordpress-seo/css/dist/{metabox-primary-category-2230-rtl.css => metabox-primary-category-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{metabox-primary-category-2230.css => metabox-primary-category-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{modal-2230-rtl.css => modal-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{modal-2230.css => modal-2250.css} (100%) delete mode 100644 wp-content/plugins/wordpress-seo/css/dist/monorepo-2230-rtl.css delete mode 100644 wp-content/plugins/wordpress-seo/css/dist/monorepo-2230.css create mode 100644 wp-content/plugins/wordpress-seo/css/dist/monorepo-2250-rtl.css create mode 100644 wp-content/plugins/wordpress-seo/css/dist/monorepo-2250.css rename wp-content/plugins/wordpress-seo/css/dist/{new-settings-2230-rtl.css => new-settings-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{new-settings-2230.css => new-settings-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{notifications-2230-rtl.css => notifications-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{notifications-2230.css => notifications-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{score_icon-2230-rtl.css => score_icon-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{score_icon-2230.css => score_icon-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{structured-data-blocks-2230-rtl.css => structured-data-blocks-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{structured-data-blocks-2230.css => structured-data-blocks-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{support-2230-rtl.css => support-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{support-2230.css => support-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{tailwind-2230-rtl.css => tailwind-2250-rtl.css} (51%) rename wp-content/plugins/wordpress-seo/css/dist/{tailwind-2230.css => tailwind-2250.css} (51%) rename wp-content/plugins/wordpress-seo/css/dist/{toggle-switch-2230-rtl.css => toggle-switch-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{toggle-switch-2230.css => toggle-switch-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{tooltips-2230-rtl.css => tooltips-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{tooltips-2230.css => tooltips-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{workouts-2230-rtl.css => workouts-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{workouts-2230.css => workouts-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{wpseo-dismissible-2230-rtl.css => wpseo-dismissible-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{wpseo-dismissible-2230.css => wpseo-dismissible-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yoast-extensions-2230-rtl.css => yoast-extensions-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yoast-extensions-2230.css => yoast-extensions-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yst_plugin_tools-2230-rtl.css => yst_plugin_tools-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yst_plugin_tools-2230.css => yst_plugin_tools-2250.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yst_seo_score-2230-rtl.css => yst_seo_score-2250-rtl.css} (100%) rename wp-content/plugins/wordpress-seo/css/dist/{yst_seo_score-2230.css => yst_seo_score-2250.css} (100%) create mode 100644 wp-content/plugins/wordpress-seo/images/academy/ai_for_seo_icon_my_yoast.png delete mode 100644 wp-content/plugins/wordpress-seo/js/dist/576.js create mode 100644 wp-content/plugins/wordpress-seo/js/dist/631.js create mode 100644 wp-content/plugins/wordpress-seo/packages/js/images/x-logo.svg create mode 100644 wp-content/plugins/wordpress-seo/src/editors/application/analysis-features/enabled-analysis-features-repository.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/domain/analysis-features/analysis-feature.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/domain/analysis-features/analysis-features-list.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/analysis-feature-interface.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/cornerstone-content.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/inclusive-language-analysis.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/keyphrase-analysis.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/previously-used-keyphrase.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/readability-analysis.php create mode 100644 wp-content/plugins/wordpress-seo/src/editors/framework/word-form-recognition.php create mode 100644 wp-content/plugins/wordpress-seo/src/values/twitter/images.php delete mode 100644 wp-content/plugins/wp-graphql/.nvmrc delete mode 100644 wp-content/plugins/wp-graphql/.prettierignore delete mode 100644 wp-content/plugins/wp-graphql/.prettierrc.json delete mode 100644 wp-content/plugins/wp-graphql/.remarkrc create mode 100644 wp-content/plugins/wp-graphql/.wp-env.json delete mode 100644 wp-content/plugins/wp-graphql/babel.config.js diff --git a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.js b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.js index f9eada73e..cc45efced 100644 --- a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.js +++ b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.js @@ -1,40 +1,69 @@ +"use strict"; + postboxes.add_postbox_toggles(pagenow); (function($) { - $("#cptui_select_post_type_submit").hide(); - $("#cptui_select_taxonomy_submit").hide(); - if ("edit" === getParameterByName("action")) { - var original_slug = $("#name").val(); + let original_slug; + let _custom_media; + let _orig_send_attachment; + let nameField = document.querySelector("#name"); + const cptSelectSubmit = document.querySelector("#cptui_select_post_type_submit"); + if (cptSelectSubmit) { + cptSelectSubmit.style.display = "none"; } - $("#hierarchical").on("change", function() { - var hierarchical = $(this).val(); - if ("1" === hierarchical) { - $("#page-attributes").prop("checked", true); - } else { - $("#page-attributes").prop("checked", false); + const taxSelectSubmit = document.querySelector("#cptui_select_taxonomy_submit"); + if (taxSelectSubmit) { + taxSelectSubmit.style.display = "none"; + } + if ("edit" === getParameterByName("action")) { + if (nameField) { + original_slug = nameField.value; } - }); - $("#post_type").on("change", function() { - $("#cptui_select_post_type").submit(); - }); - $("#taxonomy").on("change", function() { - $("#cptui_select_taxonomy").submit(); - }); + } + const hierarchicalSetting = document.querySelector("#hierarchical"); + if (hierarchicalSetting) { + hierarchicalSetting.addEventListener("change", e => { + let pageAttributesCheck = document.querySelector("#page-attributes"); + if (e.currentTarget && e.currentTarget.value === "1") { + pageAttributesCheck.checked = true; + } else { + pageAttributesCheck.checked = false; + } + }); + } + const postTypeDropdown = document.querySelector("#post_type"); + const taxonomyDropdown = document.querySelector("#taxonomy"); + if (postTypeDropdown) { + postTypeDropdown.addEventListener("change", () => { + const postTypeSelectPostType = document.querySelector("#cptui_select_post_type"); + if (postTypeSelectPostType) { + postTypeSelectPostType.submit(); + } + }); + } + if (taxonomyDropdown) { + taxonomyDropdown.addEventListener("change", () => { + const taxonomySelectPostType = document.querySelector("#cptui_select_taxonomy"); + if (taxonomySelectPostType) { + taxonomySelectPostType.submit(); + } + }); + } $(".cptui-delete-top, .cptui-delete-bottom").on("click", function(e) { e.preventDefault(); - var msg = ""; + let msg = ""; if (typeof cptui_type_data !== "undefined") { msg = cptui_type_data.confirm; } else if (typeof cptui_tax_data !== "undefined") { msg = cptui_tax_data.confirm; } - var submit_delete_warning = $('
' + msg + "
").appendTo("#poststuff").dialog({ + let submit_delete_warning = $('
' + msg + "
").appendTo("#poststuff").dialog({ dialogClass: "wp-dialog", modal: true, autoOpen: true, buttons: { OK: function() { - var form = $(e.target).closest("form"); + $(this).dialog("close"); $(e.target).off("click").click(); }, Cancel: function() { @@ -43,62 +72,82 @@ postboxes.add_postbox_toggles(pagenow); } }); }); - $("#support .question").each(function() { - var tis = $(this), state = false, answer = tis.next("div").slideUp(); - tis.on("click keydown", function(e) { - if (e.type === "keydown" && e.keyCode !== 32 && e.keyCode !== 13) { - return; + const supportQuestions = document.querySelectorAll("#support .question"); + Array.from(supportQuestions).forEach(function(question, index) { + let next = function(elem, selector) { + let nextElem = elem.nextElementSibling; + if (!selector) { + return nextElem; } - e.preventDefault(); - state = !state; - answer.slideToggle(state); - tis.toggleClass("active", state); - tis.attr("aria-expanded", state.toString()); - tis.focus(); + if (nextElem && nextElem.matches(selector)) { + return nextElem; + } + return null; + }; + let state = false; + let answer = next(question, "div"); + answer.style.display = "none"; + [ "click", "keydown" ].forEach(theEvent => { + question.addEventListener(theEvent, e => { + let keys = [ "Space", "Enter" ]; + if (e.type === "keydown" && !keys.includes(e.code)) { + return; + } + e.preventDefault(); + state = !state; + answer.style.display = state ? "block" : "none"; + e.currentTarget.classList.toggle("active"); + e.currentTarget.setAttribute("aria-expanded", state.toString()); + e.currentTarget.focus(); + }); }); }); - $("#name").on("keyup", function(e) { - var value, original_value; - value = original_value = $(this).val(); - if (e.keyCode !== 9 && e.keyCode !== 37 && e.keyCode !== 38 && e.keyCode !== 39 && e.keyCode !== 40) { - value = value.replace(/ /g, "_"); - value = value.toLowerCase(); - value = replaceDiacritics(value); - value = transliterate(value); - value = replaceSpecialCharacters(value); - if (value !== original_value) { - $(this).prop("value", value); + if (nameField) { + nameField.addEventListener("keyup", e => { + let value, original_value; + value = original_value = e.currentTarget.value; + let keys = [ "Tab", "ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown" ]; + if (!keys.includes(e.code)) { + value = value.replace(/ /g, "_"); + value = value.toLowerCase(); + value = replaceDiacritics(value); + value = transliterate(value); + value = replaceSpecialCharacters(value); + if (value !== original_value) { + e.currentTarget.value = value; + } } - } - if (typeof original_slug !== "undefined") { - var $slugchanged = $("#slugchanged"); - if (value != original_slug) { - $slugchanged.removeClass("hidemessage"); - } else { - $slugchanged.addClass("hidemessage"); + if (typeof original_slug !== "undefined") { + let slugchanged = document.querySelector("#slugchanged"); + if (value !== original_slug) { + slugchanged.classList.remove("hidemessage"); + } else { + slugchanged.classList.add("hidemessage"); + } } - } - var $slugexists = $("#slugexists"); - var $override_validation = $("#override_validation").is(":checked"); - if (typeof cptui_type_data != "undefined") { - if (cptui_type_data.existing_post_types.hasOwnProperty(value) && value !== original_slug && $override_validation == false) { - $slugexists.removeClass("hidemessage"); - } else { - $slugexists.addClass("hidemessage"); + let slugexists = document.querySelector("#slugexists"); + let override = document.querySelector("#override_validation"); + let override_validation = override ? override.check : false; + if (typeof cptui_type_data != "undefined") { + if (cptui_type_data.existing_post_types.hasOwnProperty(value) && value !== original_slug && override_validation === false) { + slugexists.classList.remove("hidemessage"); + } else { + slugexists.classList.add("hidemessage"); + } } - } - if (typeof cptui_tax_data != "undefined") { - if (cptui_tax_data.existing_taxonomies.hasOwnProperty(value) && value !== original_slug) { - $slugexists.removeClass("hidemessage"); - } else { - $slugexists.addClass("hidemessage"); + if (typeof cptui_tax_data != "undefined") { + if (cptui_tax_data.existing_taxonomies.hasOwnProperty(value) && value !== original_slug) { + slugexists.classList.remove("hidemessage"); + } else { + slugexists.classList.add("hidemessage"); + } } - } - }); + }); + } function replaceDiacritics(s) { - var diacritics = [ /[\300-\306]/g, /[\340-\346]/g, /[\310-\313]/g, /[\350-\353]/g, /[\314-\317]/g, /[\354-\357]/g, /[\322-\330]/g, /[\362-\370]/g, /[\331-\334]/g, /[\371-\374]/g, /[\321]/g, /[\361]/g, /[\307]/g, /[\347]/g ]; - var chars = [ "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "N", "n", "C", "c" ]; - for (var i = 0; i < diacritics.length; i++) { + const diacritics = [ /[\300-\306]/g, /[\340-\346]/g, /[\310-\313]/g, /[\350-\353]/g, /[\314-\317]/g, /[\354-\357]/g, /[\322-\330]/g, /[\362-\370]/g, /[\331-\334]/g, /[\371-\374]/g, /[\321]/g, /[\361]/g, /[\307]/g, /[\347]/g ]; + let chars = [ "A", "a", "E", "e", "I", "i", "O", "o", "U", "u", "N", "n", "C", "c" ]; + for (let i = 0; i < diacritics.length; i++) { s = s.replace(diacritics[i], chars[i]); } return s; @@ -108,15 +157,19 @@ postboxes.add_postbox_toggles(pagenow); return s; } function composePreviewContent(value) { - var re = /(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/; - var is_url = re.test(value); + const re = /(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/; + const isURL = re.test(value); if (!value) { return ""; } else if (0 === value.indexOf("dashicons-")) { - return $('

').addClass(htmlEncode(value)); - } else if (is_url) { - var imgsrc = encodeURI(value); - var theimg = document.createElement("IMG"); + const dashDiv = document.createElement("div"); + dashDiv.classList.add("dashicons-before"); + dashDiv.innerHTML = "
"; + dashDiv.classList.add(htmlEncode(value)); + return dashDiv; + } else if (isURL) { + const imgsrc = encodeURI(value); + const theimg = document.createElement("IMG"); theimg.src = imgsrc; return theimg; } @@ -126,7 +179,7 @@ postboxes.add_postbox_toggles(pagenow); return "&#" + c.charCodeAt(0) + ";"; }); } - var cyrillic = { + const cyrillic = { "Ё": "YO", "Й": "I", "Ц": "TS", @@ -199,21 +252,22 @@ postboxes.add_postbox_toggles(pagenow); return cyrillic[char] || char; }).join(""); } - if (undefined != wp.media) { - var _custom_media = true, _orig_send_attachment = wp.media.editor.send.attachment; + if (undefined !== wp.media) { + _custom_media = true; + _orig_send_attachment = wp.media.editor.send.attachment; } function getParameterByName(name, url) { if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, "\\$&"); - var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url); + const regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url); if (!results) return null; if (!results[2]) return ""; return decodeURIComponent(results[2].replace(/\+/g, " ")); } $("#cptui_choose_icon").on("click", function(e) { e.preventDefault(); - var button = $(this); - var id = jQuery("#menu_icon").attr("id"); + let button = $(this); + let id = jQuery("#menu_icon").attr("id"); _custom_media = true; wp.media.editor.send.attachment = function(props, attachment) { if (_custom_media) { @@ -230,89 +284,118 @@ postboxes.add_postbox_toggles(pagenow); value = value.trim(); $("#menu_icon_preview").html(composePreviewContent(value)); }); - $(".cptui-help").on("click", function(e) { - e.preventDefault(); + const taxSubmit = document.querySelectorAll(".cptui-taxonomy-submit"); + const taxSubmitSelectCPTDialog = document.querySelector("#cptui-select-post-type-confirm"); + Array.from(taxSubmit).forEach((element, i) => { + element.addEventListener("click", e => { + let taxCPTChecked = document.querySelectorAll('#cptui_panel_tax_basic_settings input[type="checkbox"]:checked'); + if (taxCPTChecked.length === 0) { + e.preventDefault(); + taxSubmitSelectCPTDialog.showModal(); + } + }); }); - $(".cptui-taxonomy-submit").on("click", function(e) { - if ($(".cptui-table :checkbox:checked").length == 0) { + let taxSubmitSelectCPTConfirmCloseBtn = document.querySelector("#cptui-select-post-type-confirm-close"); + if (taxSubmitSelectCPTConfirmCloseBtn) { + taxSubmitSelectCPTConfirmCloseBtn.addEventListener("click", e => { e.preventDefault(); - var no_associated_type_warning = $('
' + cptui_tax_data.no_associated_type + "
").appendTo("#poststuff").dialog({ - dialogClass: "wp-dialog", - modal: true, - autoOpen: true, - buttons: { - OK: function() { - $(this).dialog("close"); - } + taxSubmitSelectCPTDialog.close(); + }); + } + let autoPopulate = document.querySelector("#auto-populate"); + if (autoPopulate) { + [ "click", "tap" ].forEach((eventName, index) => { + autoPopulate.addEventListener(eventName, e => { + e.preventDefault(); + let slug = nameField.value; + let plural = document.querySelector("#label").value; + let singular = document.querySelector("#singular_label").value; + let fields = document.querySelectorAll('.cptui-labels input[type="text"]'); + if ("" === slug) { + return; } - }); - } - }); - $("#auto-populate").on("click tap", function(e) { - e.preventDefault(); - var slug = $("#name").val(); - var plural = $("#label").val(); - var singular = $("#singular_label").val(); - var fields = $('.cptui-labels input[type="text"]'); - if ("" === slug) { - return; - } - if ("" === plural) { - plural = slug; - } - if ("" === singular) { - singular = slug; - } - $(fields).each(function(i, el) { - var newval = $(el).data("label"); - var plurality = $(el).data("plurality"); - if ("undefined" !== newval) { - if ("plural" === plurality) { - newval = newval.replace(/item/gi, plural); - } else { - newval = newval.replace(/item/gi, singular); + if ("" === plural) { + plural = slug; } - if ($(el).val() === "") { - $(el).val(newval); + if ("" === singular) { + singular = slug; } - } + Array.from(fields).forEach(field => { + let newval = field.getAttribute("data-label"); + let plurality = field.getAttribute("data-plurality"); + if (typeof newval !== "undefined") { + if ("plural" === plurality) { + newval = newval.replace(/item/gi, plural); + } else { + newval = newval.replace(/item/gi, singular); + } + if (field.value === "") { + field.value = newval; + } + } + }); + }); }); - }); - $("#auto-clear").on("click tap", function(e) { - e.preventDefault(); - var fields = $('.cptui-labels input[type="text"]'); - $(fields).each(function(i, el) { - $(el).val(""); + } + let autoClear = document.querySelector("#auto-clear"); + if (autoClear) { + [ "click", "tap" ].forEach((eventName, index) => { + autoClear.addEventListener(eventName, e => { + e.preventDefault(); + const fields = document.querySelectorAll('.cptui-labels input[type="text"]'); + Array.from(fields).forEach(field => { + field.value = ""; + }); + }); }); - }); - var back_to_top_btn = $(".cptui-back-to-top"); - $(window).scroll(function() { - if ($(window).scrollTop() > 300) { - back_to_top_btn.addClass("show"); - } else { - back_to_top_btn.removeClass("show"); - } - }); - back_to_top_btn.on("click", function(e) { - e.preventDefault(); - $("html, body").animate({ - scrollTop: 0 - }, "300"); - }); - var all_panels = [ "#cptui_panel_pt_basic_settings", "#cptui_panel_pt_additional_labels", "#cptui_panel_pt_advanced_settings", "#cptui_panel_tax_basic_settings", "#cptui_panel_tax_additional_labels", "#cptui_panel_tax_advanced_settings" ]; - $(all_panels).each(function(index, element) { - var panel_id = $(element).attr("id"); - if (!localStorage.getItem(panel_id) || localStorage.getItem(panel_id) === null) { - $("#" + panel_id).removeClass("closed"); + } + const back_to_top_btn = document.querySelector(".cptui-back-to-top"); + if (back_to_top_btn) { + document.addEventListener("scroll", () => { + cptuiDebounce(backToTop, 500); + }); + back_to_top_btn.addEventListener("click", e => { + e.preventDefault(); + window.scrollTo({ + top: 0, + behavior: "smooth" + }); + }); + } + function backToTop() { + if (window.scrollY > 300) { + back_to_top_btn.classList.add("show"); } else { - $("#" + panel_id).addClass("closed"); + back_to_top_btn.classList.remove("show"); } - $(element).find(".postbox-header").on("click", function(e) { - if (!localStorage.getItem(panel_id)) { - localStorage.setItem(panel_id, 1); + } + function cptuiDebounce(method, delay) { + clearTimeout(method._tId); + method._tId = setTimeout(function() { + method(); + }, delay); + } + const all_panels = [ "#cptui_panel_pt_basic_settings", "#cptui_panel_pt_additional_labels", "#cptui_panel_pt_advanced_settings", "#cptui_panel_tax_basic_settings", "#cptui_panel_tax_additional_labels", "#cptui_panel_tax_advanced_settings" ]; + all_panels.forEach((element, index) => { + const panel_id_item = document.querySelector(element); + if (panel_id_item) { + const panel_id = panel_id_item.getAttribute("id"); + const panel = document.querySelector("#" + panel_id); + if (!localStorage.getItem(panel_id) || localStorage.getItem(panel_id) === null) { + panel.classList.remove("closed"); } else { - localStorage.removeItem(panel_id); + panel.classList.add("closed"); } - }); + const postbox = panel_id_item.querySelectorAll(".postbox-header"); + Array.from(postbox).forEach((el, i) => { + el.addEventListener("click", e => { + if (!localStorage.getItem(panel_id)) { + localStorage.setItem(panel_id, "1"); + } else { + localStorage.removeItem(panel_id); + } + }); + }); + } }); })(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js index a6514f18e..f43882e0b 100644 --- a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js +++ b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js @@ -1 +1 @@ -postboxes.add_postbox_toggles(pagenow),function(c){var i;function t(e){var t=/(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/.test(e);return e?0===e.indexOf("dashicons-")?c('

').addClass(String(e).replace(/[^-\w. ]/gi,function(e){return"&#"+e.charCodeAt(0)+";"})):t?(t=encodeURI(e),(e=document.createElement("IMG")).src=t,e):void 0:""}c("#cptui_select_post_type_submit").hide(),c("#cptui_select_taxonomy_submit").hide(),"edit"===function(e,t){t=t||window.location.href;e=e.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}("action")&&(i=c("#name").val()),c("#hierarchical").on("change",function(){"1"===c(this).val()?c("#page-attributes").prop("checked",!0):c("#page-attributes").prop("checked",!1)}),c("#post_type").on("change",function(){c("#cptui_select_post_type").submit()}),c("#taxonomy").on("change",function(){c("#cptui_select_taxonomy").submit()}),c(".cptui-delete-top, .cptui-delete-bottom").on("click",function(e){e.preventDefault();var t="";"undefined"!=typeof cptui_type_data?t=cptui_type_data.confirm:"undefined"!=typeof cptui_tax_data&&(t=cptui_tax_data.confirm),c('
'+t+"
").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){c(e.target).closest("form");c(e.target).off("click").click()},Cancel:function(){c(this).dialog("close")}}})}),c("#support .question").each(function(){var t=c(this),a=!1,i=t.next("div").slideUp();t.on("click keydown",function(e){"keydown"===e.type&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),a=!a,i.slideToggle(a),t.toggleClass("active",a),t.attr("aria-expanded",a.toString()),t.focus())})}),c("#name").on("keyup",function(e){var t=a=c(this).val(),a=(9!==e.keyCode&&37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&(t=(t=function(e){for(var t=[/[\300-\306]/g,/[\340-\346]/g,/[\310-\313]/g,/[\350-\353]/g,/[\314-\317]/g,/[\354-\357]/g,/[\322-\330]/g,/[\362-\370]/g,/[\331-\334]/g,/[\371-\374]/g,/[\321]/g,/[\361]/g,/[\307]/g,/[\347]/g],a=["A","a","E","e","I","i","O","o","U","u","N","n","C","c"],i=0;i'+cptui_tax_data.no_associated_type+"").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){c(this).dialog("close")}}}))}),c("#auto-populate").on("click tap",function(e){e.preventDefault();var e=c("#name").val(),o=c("#label").val(),n=c("#singular_label").val(),t=c('.cptui-labels input[type="text"]');""!==e&&(""===o&&(o=e),""===n&&(n=e),c(t).each(function(e,t){var a=c(t).data("label"),i=c(t).data("plurality");"undefined"!==a&&(a="plural"===i?a.replace(/item/gi,o):a.replace(/item/gi,n),""===c(t).val())&&c(t).val(a)}))}),c("#auto-clear").on("click tap",function(e){e.preventDefault();e=c('.cptui-labels input[type="text"]');c(e).each(function(e,t){c(t).val("")})});var e=c(".cptui-back-to-top");c(window).scroll(function(){300{var t=document.querySelector("#page-attributes");e.currentTarget&&"1"===e.currentTarget.value?t.checked=!0:t.checked=!1}),document.querySelector("#post_type")),t=document.querySelector("#taxonomy"),e=(e&&e.addEventListener("change",()=>{var e=document.querySelector("#cptui_select_post_type");e&&e.submit()}),t&&t.addEventListener("change",()=>{var e=document.querySelector("#cptui_select_taxonomy");e&&e.submit()}),c(".cptui-delete-top, .cptui-delete-bottom").on("click",function(e){e.preventDefault();let t="";"undefined"!=typeof cptui_type_data?t=cptui_type_data.confirm:"undefined"!=typeof cptui_tax_data&&(t=cptui_tax_data.confirm);c('
'+t+"
").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){c(this).dialog("close"),c(e.target).off("click").click()},Cancel:function(){c(this).dialog("close")}}})}),document.querySelectorAll("#support .question"));function i(e){var t,a=/(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/.test(e);return e?0===e.indexOf("dashicons-")?((t=document.createElement("div")).classList.add("dashicons-before"),t.innerHTML="
",t.classList.add(String(e).replace(/[^-\w. ]/gi,function(e){return"&#"+e.charCodeAt(0)+";"})),t):a?(t=encodeURI(e),(a=document.createElement("IMG")).src=t,a):void 0:""}Array.from(e).forEach(function(t,e){let a=!1,c=function(e,t){e=e.nextElementSibling;return!t||e&&e.matches(t)?e:null}(t,"div");c.style.display="none",["click","keydown"].forEach(e=>{t.addEventListener(e,e=>{"keydown"===e.type&&!["Space","Enter"].includes(e.code)||(e.preventDefault(),a=!a,c.style.display=a?"block":"none",e.currentTarget.classList.toggle("active"),e.currentTarget.setAttribute("aria-expanded",a.toString()),e.currentTarget.focus())})})}),a&&a.addEventListener("keyup",e=>{let t,a;t=a=e.currentTarget.value;["Tab","ArrowLeft","ArrowUp","ArrowRight","ArrowDown"].includes(e.code)||(t=(t=function(t){var a=[/[\300-\306]/g,/[\340-\346]/g,/[\310-\313]/g,/[\350-\353]/g,/[\314-\317]/g,/[\354-\357]/g,/[\322-\330]/g,/[\362-\370]/g,/[\331-\334]/g,/[\371-\374]/g,/[\321]/g,/[\361]/g,/[\307]/g,/[\347]/g];var c=["A","a","E","e","I","i","O","o","U","u","N","n","C","c"];for(let e=0;e{e.addEventListener("click",e=>{0===document.querySelectorAll('#cptui_panel_tax_basic_settings input[type="checkbox"]:checked').length&&(e.preventDefault(),u.showModal())})});e=document.querySelector("#cptui-select-post-type-confirm-close");e&&e.addEventListener("click",e=>{e.preventDefault(),u.close()});let s=document.querySelector("#auto-populate"),d=(s&&["click","tap"].forEach((e,t)=>{s.addEventListener(e,e=>{e.preventDefault();e=a.value;let c=document.querySelector("#label").value,o=document.querySelector("#singular_label").value;var t=document.querySelectorAll('.cptui-labels input[type="text"]');""!==e&&(""===c&&(c=e),""===o&&(o=e),Array.from(t).forEach(e=>{let t=e.getAttribute("data-label");var a=e.getAttribute("data-plurality");void 0!==t&&(t="plural"===a?t.replace(/item/gi,c):t.replace(/item/gi,o),""===e.value)&&(e.value=t)}))})}),document.querySelector("#auto-clear"));d&&["click","tap"].forEach((e,t)=>{d.addEventListener(e,e=>{e.preventDefault();e=document.querySelectorAll('.cptui-labels input[type="text"]');Array.from(e).forEach(e=>{e.value=""})})});const p=document.querySelector(".cptui-back-to-top");function m(){300{var e,t;e=m,t=500,clearTimeout(e._tId),e._tId=setTimeout(function(){e()},t)}),p.addEventListener("click",e=>{e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}));["#cptui_panel_pt_basic_settings","#cptui_panel_pt_additional_labels","#cptui_panel_pt_advanced_settings","#cptui_panel_tax_basic_settings","#cptui_panel_tax_additional_labels","#cptui_panel_tax_advanced_settings"].forEach((e,t)=>{e=document.querySelector(e);if(e){const c=e.getAttribute("id");var a=document.querySelector("#"+c),a=(localStorage.getItem(c)&&null!==localStorage.getItem(c)?a.classList.add("closed"):a.classList.remove("closed"),e.querySelectorAll(".postbox-header"));Array.from(a).forEach((e,t)=>{e.addEventListener("click",e=>{localStorage.getItem(c)?localStorage.removeItem(c):localStorage.setItem(c,"1")})})}})}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js.map b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js.map index 65ac8434b..1f39e6320 100644 --- a/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js.map +++ b/wp-content/plugins/custom-post-type-ui/build/cptui-scripts.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["src/js/cptui-scripts.js"],"names":["postboxes","add_postbox_toggles","pagenow","$","original_slug","composePreviewContent","value","is_url","test","indexOf","addClass","String","replace","c","charCodeAt","imgsrc","encodeURI","theimg","document","createElement","src","hide","name","url","window","location","href","results","RegExp","exec","decodeURIComponent","val","on","this","prop","submit","e","preventDefault","msg","cptui_type_data","confirm","cptui_tax_data","appendTo","dialog","dialogClass","modal","autoOpen","buttons","OK","target","closest","off","click","Cancel","each","tis","state","answer","next","slideUp","type","keyCode","slideToggle","toggleClass","attr","toString","focus","original_value","$slugexists","s","diacritics","chars","i","length","toLowerCase","split","map","char","cyrillic","join","$slugchanged","removeClass","$override_validation","is","existing_post_types","hasOwnProperty","existing_taxonomies","_custom_media","_orig_send_attachment","Ё","Й","Ц","У","К","Е","Н","Г","Ш","Щ","З","Х","Ъ","ё","й","ц","у","к","е","н","г","ш","щ","з","х","ъ","Ф","Ы","В","А","П","Р","О","Л","Д","Ж","Э","ф","ы","в","а","п","р","о","л","д","ж","э","Я","Ч","С","М","И","Т","Ь","Б","Ю","я","ч","с","м","и","т","ь","б","ю","undefined","wp","media","editor","send","attachment","button","id","jQuery","props","apply","change","open","trim","html","no_associated_type","slug","plural","singular","fields","el","newval","data","plurality","back_to_top_btn","scroll","scrollTop","animate","index","element","panel_id","localStorage","getItem","find","removeItem","setItem"],"mappings":"AAGAA,UAAUC,oBAAoBC,OAAO,EAKrC,SAAUC,GAKT,IAEKC,EAsIL,SAASC,EAAsBC,GAE9B,IACIC,EADK,4EACOC,KAAKF,CAAK,EAE1B,OAAKA,EAEM,IAAMA,EAAMG,QAAQ,YAAY,EACnCN,EAAE,0CAA0C,EAAEO,SAU/CC,OAVmEL,CAUzD,EAAEM,QAAQ,aAAc,SAAUC,GAClD,MAAO,KAAOA,EAAEC,WAAW,CAAC,EAAI,GACjC,CAAC,CAZ+E,EACpEP,GACPQ,EAASC,UAAUV,CAAK,GACxBW,EAASC,SAASC,cAAc,KAAK,GAClCC,IAAML,EACNE,GAJD,KAAA,EAHC,EAST,CA1JAd,EAAE,gCAAgC,EAAEkB,KAAK,EACzClB,EAAE,+BAA+B,EAAEkB,KAAK,EAEpC,SA8KJ,SAA4BC,EAAMC,GAC5BA,EAAAA,GAAWC,OAAOC,SAASC,KAChCJ,EAAOA,EAAKV,QAAQ,UAAW,MAAM,EAEpCe,EADW,IAAIC,OAAO,OAASN,EAAO,mBAAmB,EACzCO,KAAKN,CAAG,EACzB,OAAKI,EACAA,EAAQ,GACNG,mBAAmBH,EAAQ,GAAGf,QAAQ,MAAO,GAAG,CAAC,EADhC,GADH,IAGtB,EAtLkC,QAAQ,IAErCR,EAAgBD,EAAE,OAAO,EAAE4B,IAAI,GAKpC5B,EAAE,eAAe,EAAE6B,GAAG,SAAU,WAE3B,MADe7B,EAAE8B,IAAI,EAAEF,IAAI,EAE9B5B,EAAE,kBAAkB,EAAE+B,KAAK,UAAW,CAAA,CAAI,EAE1C/B,EAAE,kBAAkB,EAAE+B,KAAK,UAAW,CAAA,CAAK,CAE7C,CAAC,EAGD/B,EAAE,YAAY,EAAE6B,GAAG,SAAS,WAC3B7B,EAAE,yBAAyB,EAAEgC,OAAO,CACrC,CAAC,EAEDhC,EAAE,WAAW,EAAE6B,GAAG,SAAS,WAC1B7B,EAAG,wBAAyB,EAAEgC,OAAO,CACtC,CAAC,EAGDhC,EAAE,yCAAyC,EAAE6B,GAAG,QAAQ,SAASI,GAChEA,EAAEC,eAAe,EACjB,IAAIC,EAAM,GACqB,aAA3B,OAAOC,gBACVD,EAAMC,gBAAgBC,QACc,aAA1B,OAAOC,iBACjBH,EAAMG,eAAeD,SAEMrC,EAAE,2CAA6CmC,EAAM,QAAQ,EAAEI,SAAS,YAAY,EAAEC,OAAO,CACxHC,YAAkB,YAClBC,MAAkB,CAAA,EAClBC,SAAkB,CAAA,EAClBC,QAAkB,CACjBC,GAAM,WACM7C,EAAEiC,EAAEa,MAAM,EAAEC,QAAQ,MAAM,EACrC/C,EAAEiC,EAAEa,MAAM,EAAEE,IAAI,OAAO,EAAEC,MAAM,CAChC,EACAC,OAAU,WACTlD,EAAE8B,IAAI,EAAEU,OAAO,OAAO,CACvB,CACD,CACD,CAAC,CACF,CAAC,EAGDxC,EAAE,oBAAoB,EAAEmD,KAAK,WAC5B,IAAIC,EAAMpD,EAAE8B,IAAI,EAAGuB,EAAQ,CAAA,EAAOC,EAASF,EAAIG,KAAK,KAAK,EAAEC,QAAQ,EACnEJ,EAAIvB,GAAG,gBAAgB,SAASI,GAEnB,YAATA,EAAEwB,MAAgC,KAAZxB,EAAEyB,SAA4B,KAAZzB,EAAEyB,UAG7CzB,EAAEC,eAAe,EACjBmB,EAAQ,CAACA,EACTC,EAAOK,YAAYN,CAAK,EACxBD,EAAIQ,YAAY,SAASP,CAAK,EAC9BD,EAAIS,KAAK,gBAAiBR,EAAMS,SAAS,CAAE,EAC3CV,EAAIW,MAAM,EACX,CAAC,CACF,CAAC,EAGD/D,EAAE,OAAO,EAAE6B,GAAG,QAAQ,SAASI,GAC9B,IACA9B,EAAQ6D,EAAiBhE,EAAE8B,IAAI,EAAEF,IAAI,EAsBjCqC,GArBe,IAAdhC,EAAEyB,SAA+B,KAAdzB,EAAEyB,SAAgC,KAAdzB,EAAEyB,SAAgC,KAAdzB,EAAEyB,SAAgC,KAAdzB,EAAEyB,UAIrFvD,GADAA,EAqCF,SAA2B+D,GAa1B,IAZA,IAAIC,EAAa,CAChB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,UAAW,UACX,UAAW,WAGRC,EAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,KAErEC,EAAI,EAAGA,EAAIF,EAAWG,OAAQD,CAAC,GACvCH,EAAIA,EAAEzD,QAAQ0D,EAAWE,GAAID,EAAMC,EAAE,EAGtC,OAAOH,CACR,EAxDE/D,GADAA,EAAQA,EAAMM,QAAQ,KAAM,GAAG,GACjB8D,YAAY,CACK,GA0FpBC,MAAM,EAAE,EAAEC,IAAI,SAAUC,GACnC,OAAOC,EAASD,IAASA,CAC1B,CAAC,EAAEE,KAAK,EAAE,GA1FTzE,EAAiCA,EAwD5BM,QAAQ,iBAAkB,GAAG,KAvDnBuD,IACdhE,EAAE8B,IAAI,EAAEC,KAAK,QAAS5B,CAAK,EAKD,KAAA,IAAlBF,IACL4E,EAAe7E,EAAE,cAAc,EAChCG,GAASF,EACX4E,EAAaC,YAAY,aAAa,EAEtCD,EAAatE,SAAS,aAAa,GAIVP,EAAE,aAAa,GACtC+E,EAAuB/E,EAAE,sBAAsB,EAAEgF,GAAG,UAAU,EACnC,aAA1B,OAAO5C,kBACPA,gBAAgB6C,oBAAoBC,eAAe/E,CAAK,GAAKA,IAAUF,GAAyC,GAAxB8E,EAC3Fd,EAAYa,YAAY,aAAa,EAErCb,EAAY1D,SAAS,aAAa,GAGN,aAAzB,OAAO+B,iBACPA,eAAe6C,oBAAoBD,eAAe/E,CAAK,GAAKA,IAAUF,EACzEgE,EAAYa,YAAY,aAAa,EAErCb,EAAY1D,SAAS,aAAa,EAGrC,CAAC,EAmDD,IAWK6E,EACHC,EAZEV,EAAW,CACdW,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,MAAOC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,MAAOC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,KAAMC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IACjqB,EAQKC,MAAaC,GAAGC,QAChBtE,EAAgB,CAAA,EACnBC,EAAwBoE,GAAGC,MAAMC,OAAOC,KAAKC,YAa/C7J,EAAE,oBAAoB,EAAE6B,GAAG,QAAQ,SAASI,GAC3CA,EAAEC,eAAe,EAEjB,IAAI4H,EAAS9J,EAAE8B,IAAI,EACfiI,EAAKC,OAAO,YAAY,EAAEnG,KAAK,IAAI,EAWvC,OAVAuB,EAAgB,CAAA,EAChBqE,GAAGC,MAAMC,OAAOC,KAAKC,WAAa,SAAUI,EAAOJ,GAClD,GAAIzE,CAAAA,EAGH,OAAOC,EAAsB6E,MAAMpI,KAAM,CAACmI,EAAOJ,EAAW,EAF5D7J,EAAE,IAAM+J,CAAE,EAAEnI,IAAIiI,EAAWzI,GAAG,EAAE+I,OAAO,CAIzC,EAEAV,GAAGC,MAAMC,OAAOS,KAAKN,CAAM,EACpB,CAAA,CACR,CAAC,EAED9J,EAAE,YAAY,EAAE6B,GAAG,SAAU,WAC5B,IACA1B,GAAQA,EADIH,EAAE8B,IAAI,EAAEF,IAAI,GACVyI,KAAK,EACnBrK,EAAE,oBAAoB,EAAEsK,KAAKpK,EAAsBC,CAAK,CAAC,CAC1D,CAAC,EAEDH,EAAE,aAAa,EAAE6B,GAAG,QAAQ,SAASI,GACpCA,EAAEC,eAAe,CAClB,CAAC,EAEDlC,EAAE,wBAAwB,EAAE6B,GAAG,QAAQ,SAASI,GACI,GAA9CjC,EAAE,gCAAgC,EAAEsE,SACxCrC,EAAEC,eAAe,EACgBlC,EAAE,kDAAoDsC,eAAeiI,mBAAqB,QAAQ,EAAEhI,SAAS,YAAY,EAAEC,OAAO,CAClKC,YAAkB,YAClBC,MAAkB,CAAA,EAClBC,SAAkB,CAAA,EAClBC,QAAkB,CACjBC,GAAM,WACL7C,EAAE8B,IAAI,EAAEU,OAAO,OAAO,CACvB,CACD,CACD,CAAC,EAEH,CAAC,EAEDxC,EAAE,gBAAgB,EAAE6B,GAAI,YAAa,SAASI,GAC7CA,EAAEC,eAAe,EAEjB,IAAIsI,EAAWxK,EAAE,OAAO,EAAE4B,IAAI,EAC1B6I,EAAWzK,EAAE,QAAQ,EAAE4B,IAAI,EAC3B8I,EAAW1K,EAAE,iBAAiB,EAAE4B,IAAI,EACpC+I,EAAW3K,EAAE,kCAAkC,EAE9C,KAAOwK,IAGP,KAAOC,IACXA,EAASD,GAEL,KAAOE,IACXA,EAAWF,GAGZxK,EAAE2K,CAAM,EAAExH,KAAM,SAAUkB,EAAGuG,GAC5B,IAAIC,EAAS7K,EAAG4K,CAAG,EAAEE,KAAM,OAAQ,EAC/BC,EAAY/K,EAAG4K,CAAG,EAAEE,KAAM,WAAY,EACrC,cAAgBD,IAGnBA,EADI,WAAaE,EACRF,EAAOpK,QAAQ,SAAUgK,CAAM,EAE/BI,EAAOpK,QAAQ,SAAUiK,CAAQ,EAEpB,KAAlB1K,EAAG4K,CAAG,EAAEhJ,IAAI,IAChB5B,EAAE4K,CAAE,EAAEhJ,IAAIiJ,CAAM,CAGnB,CAAE,EACH,CAAC,EAED7K,EAAE,aAAa,EAAE6B,GAAI,YAAa,SAASI,GAC1CA,EAAEC,eAAe,EAEbyI,EAAS3K,EAAE,kCAAkC,EAEjDA,EAAE2K,CAAM,EAAExH,KAAM,SAAUkB,EAAGuG,GAC5B5K,EAAE4K,CAAE,EAAEhJ,IAAI,EAAE,CACb,CAAC,CACF,CAAC,EAKD,IAAIoJ,EAAkBhL,EAAE,oBAAoB,EAC5CA,EAAEqB,MAAM,EAAE4J,OAAO,WACY,IAAxBjL,EAAEqB,MAAM,EAAE6J,UAAU,EACvBF,EAAgBzK,SAAS,MAAM,EAE/ByK,EAAgBlG,YAAY,MAAM,CAEpC,CAAC,EAEDkG,EAAgBnJ,GAAG,QAAS,SAASI,GACpCA,EAAEC,eAAe,EACjBlC,EAAE,YAAY,EAAEmL,QAAQ,CAACD,UAAU,CAAC,EAAG,KAAK,CAC7C,CAAC,EAIDlL,EADiB,CAAE,iCAAkC,oCAAqC,oCAAqC,kCAAmC,qCAAsC,qCAC5L,EAAEmD,KAAK,SAAUiI,EAAOC,GACnC,IAAIC,EAAWtL,EAAEqL,CAAO,EAAExH,KAAK,IAAI,EAG7B0H,aAAaC,QAAQF,CAAQ,GAAwC,OAAnCC,aAAaC,QAAQF,CAAQ,EAIpEtL,EAAE,IAAMsL,CAAQ,EAAE/K,SAAS,QAAQ,EAHnCP,EAAE,IAAMsL,CAAQ,EAAExG,YAAY,QAAQ,EAOvC9E,EAAEqL,CAAO,EAAEI,KAAK,iBAAiB,EAAE5J,GAAG,QAAS,SAAUI,GAClDsJ,aAAaC,QAAQF,CAAQ,EAIlCC,aAAaG,WAAWJ,CAAQ,EAHhCC,aAAaI,QAAQL,EAAU,CAAC,CAKlC,CAAC,CACF,CAAC,CAED,EAAEtB,MAAM"} \ No newline at end of file +{"version":3,"sources":["src/js/cptui-scripts.js"],"names":["postboxes","add_postbox_toggles","pagenow","$","let","original_slug","_custom_media","_orig_send_attachment","nameField","document","querySelector","cptSelectSubmit","taxSelectSubmit","style","display","hierarchicalSetting","name","url","window","location","href","replace","regex","RegExp","results","exec","decodeURIComponent","value","postTypeDropdown","addEventListener","pageAttributesCheck","e","currentTarget","checked","taxonomyDropdown","supportQuestions","postTypeSelectPostType","submit","taxonomySelectPostType","on","preventDefault","msg","cptui_type_data","confirm","cptui_tax_data","appendTo","dialog","dialogClass","modal","autoOpen","buttons","OK","this","target","off","click","Cancel","querySelectorAll","composePreviewContent","imgsrc","isURL","test","indexOf","dashDiv","createElement","classList","add","innerHTML","String","c","charCodeAt","encodeURI","theimg","src","Array","from","forEach","question","index","state","answer","elem","selector","nextElem","nextElementSibling","matches","theEvent","type","keys","includes","code","toggle","setAttribute","toString","focus","original_value","s","diacritics","chars","i","length","toLowerCase","split","map","char","cyrillic","join","slugchanged","remove","slugexists","override","override_validation","check","existing_post_types","hasOwnProperty","existing_taxonomies","Ё","Й","Ц","У","К","Е","Н","Г","Ш","Щ","З","Х","Ъ","ё","й","ц","у","к","е","н","г","ш","щ","з","х","ъ","Ф","Ы","В","А","П","Р","О","Л","Д","Ж","Э","ф","ы","в","а","п","р","о","л","д","ж","э","Я","Ч","С","М","И","Т","Ь","Б","Ю","я","ч","с","м","и","т","ь","б","ю","undefined","wp","media","editor","send","attachment","button","id","jQuery","attr","props","apply","val","change","open","trim","html","taxSubmit","taxSubmitSelectCPTDialog","element","showModal","taxSubmitSelectCPTConfirmCloseBtn","close","autoPopulate","autoClear","eventName","slug","plural","singular","fields","field","newval","getAttribute","plurality","back_to_top_btn","backToTop","scrollY","method","delay","clearTimeout","_tId","setTimeout","scrollTo","top","behavior","panel_id_item","panel_id","panel","postbox","localStorage","getItem","el","removeItem","setItem"],"mappings":"AAIA,aAEAA,UAAUC,oBAAoBC,OAAO,EAKrC,SAAUC,GAETC,IAAIC,EACAC,EACAC,EACAC,EAAYC,SAASC,cAAc,OAAO,EAE9C,IAAMC,EAAkBF,SAASC,cAAc,gCAAgC,EAIzEE,GAHFD,IACHA,EAAgBE,MAAMC,QAAU,QAETL,SAASC,cAAc,+BAA+B,GAcxEK,GAbFH,IACHA,EAAgBC,MAAMC,QAAU,QAG7B,SAkQJ,SAA4BE,EAAMC,GAC5BA,EAAAA,GAAWC,OAAOC,SAASC,KAChCJ,EAAOA,EAAKK,QAAQ,UAAW,MAAM,EAC/BC,EAAQ,IAAIC,OAAO,OAASP,EAAO,mBAAmB,EAC3DQ,EAAUF,EAAMG,KAAKR,CAAG,EACzB,OAAKO,EACAA,EAAQ,GACNE,mBAAmBF,EAAQ,GAAGH,QAAQ,MAAO,GAAG,CAAC,EADhC,GADH,IAGtB,EA1QkC,QAAQ,GACpCb,IAEJH,EAAgBG,EAAUmB,OAMAlB,SAASC,cAAc,eAAe,GAa5DkB,GAZDb,GACJA,EAAoBc,iBAAiB,SAAU,IAC9CzB,IAAI0B,EAAsBrB,SAASC,cAAc,kBAAkB,EAC/DqB,EAAEC,eAA2C,MAA1BD,EAAEC,cAAcL,MACtCG,EAAoBG,QAAU,CAAA,EAE9BH,EAAoBG,QAAU,CAAA,CAEhC,CAAC,EAIuBxB,SAASC,cAAc,YAAY,GACtDwB,EAAmBzB,SAASC,cAAc,WAAW,EAkFrDyB,GAhFFP,GACHA,EAAiBC,iBAAiB,SAAU,KAC3C,IAAMO,EAAyB3B,SAASC,cAAc,yBAAyB,EAC3E0B,GACHA,EAAuBC,OAAO,CAEhC,CAAC,EAEEH,GACHA,EAAiBL,iBAAiB,SAAU,KAC3C,IAAMS,EAAyB7B,SAASC,cAAc,wBAAwB,EAC1E4B,GACHA,EAAuBD,OAAO,CAEhC,CAAC,EAyCFlC,EAAE,yCAAyC,EAAEoC,GAAG,QAAS,SAAUR,GAClEA,EAAES,eAAe,EACjBpC,IAAIqC,EAAM,GACqB,aAA3B,OAAOC,gBACVD,EAAMC,gBAAgBC,QACc,aAA1B,OAAOC,iBACjBH,EAAMG,eAAeD,SAEMxC,EAAE,2CAA6CsC,EAAM,QAAQ,EAAEI,SAAS,YAAY,EAAEC,OAAO,CACxHC,YAAe,YACfC,MAAe,CAAA,EACfC,SAAe,CAAA,EACfC,QAAe,CACdC,GAAU,WACThD,EAAEiD,IAAI,EAAEN,OAAO,OAAO,EACtB3C,EAAE4B,EAAEsB,MAAM,EAAEC,IAAI,OAAO,EAAEC,MAAM,CAChC,EACAC,OAAU,WACTrD,EAAEiD,IAAI,EAAEN,OAAO,OAAO,CACvB,CACD,CACD,CAAC,CACF,CAAC,EAGwBrC,SAASgD,iBAAiB,oBAAoB,GA+GvE,SAASC,EAAsB/B,GAE9B,IAYOgC,EAXDC,EADK,4EACMC,KAAKlC,CAAK,EAE3B,OAAKA,EAEM,IAAMA,EAAMmC,QAAQ,YAAY,IACpCC,EAAUtD,SAASuD,cAAc,KAAK,GACpCC,UAAUC,IAAI,kBAAkB,EACxCH,EAAQI,UAAY,QACpBJ,EAAQE,UAAUC,IAWZE,OAX2BzC,CAWjB,EAAEN,QAAQ,aAAc,SAAUgD,GAClD,MAAO,KAAOA,EAAEC,WAAW,CAAC,EAAI,GACjC,CAAC,CAbuC,EAChCP,GACGH,GACJD,EAASY,UAAU5C,CAAK,GACxB6C,EAAS/D,SAASuD,cAAc,KAAK,GACpCS,IAAMd,EACNa,GAJD,KAAA,EAPC,EAaT,CAjIAE,MAAMC,KAAKxC,CAAgB,EAAEyC,QAAQ,SAAUC,EAAUC,GAexD1E,IAAI2E,EAAQ,CAAA,EACRC,EAfO,SAAUC,EAAMC,GACtBC,EAAWF,EAAKG,mBAEpB,MAAKF,CAAAA,GAIDC,GAAYA,EAASE,QAAQH,CAAQ,EAHjCC,EAOD,IACR,EAGkBN,EAAU,KAAK,EACjCG,EAAOnE,MAAMC,QAAU,OAEvB,CAAC,QAAS,WAAW8D,QAAQ,IAC5BC,EAAShD,iBAAiByD,EAAU,IAGpB,YAAXvD,EAAEwD,MAAuBC,CADlB,CAAC,QAAS,SACaC,SAAS1D,EAAE2D,IAAI,IAGjD3D,EAAES,eAAe,EACjBuC,EAAQ,CAACA,EACTC,EAAOnE,MAAMC,QAAUiE,EAAQ,QAAU,OACzChD,EAAEC,cAAciC,UAAU0B,OAAO,QAAQ,EACzC5D,EAAEC,cAAc4D,aAAa,gBAAiBb,EAAMc,SAAS,CAAC,EAC9D9D,EAAEC,cAAc8D,MAAM,EACvB,CAAC,CACF,CAAC,CACF,CAAC,EAEGtF,GAEHA,EAAUqB,iBAAiB,QAAS,IACnCzB,IAAIuB,EAAOoE,EAEXpE,EAAQoE,EAAiBhE,EAAEC,cAAcL,MAC9B,CAAC,MAAO,YAAa,UAAW,aAAc,aAC/C8D,SAAS1D,EAAE2D,IAAI,IAIxB/D,GADAA,EAuCH,SAA2BqE,GAC1B,IAAMC,EAAa,CAClB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,eAAgB,eAChB,UAAW,UACX,UAAW,WAGZ7F,IAAI8F,EAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,KAE9E,IAAK9F,IAAI+F,EAAI,EAAGA,EAAIF,EAAWG,OAAQD,CAAC,GACvCH,EAAIA,EAAE3E,QAAQ4E,EAAWE,GAAID,EAAMC,EAAE,EAGtC,OAAOH,CACR,EA1DGrE,GADAA,EAAQA,EAAMN,QAAQ,KAAM,GAAG,GACjBgF,YAAY,CACK,GAgGrBC,MAAM,EAAE,EAAEC,IAAI,SAAUC,GACnC,OAAOC,EAASD,IAASA,CAC1B,CAAC,EAAEE,KAAK,EAAE,GAhGR/E,EAAiCA,EA0D7BN,QAAQ,iBAAkB,GAAG,KAzDnB0E,IACbhE,EAAEC,cAAcL,MAAQA,IAKG,KAAA,IAAlBtB,IACNsG,EAAclG,SAASC,cAAc,cAAc,EACnDiB,IAAUtB,EACbsG,EAAY1C,UAAU2C,OAAO,aAAa,EAE1CD,EAAY1C,UAAUC,IAAI,aAAa,GAlBzC9D,IAsBIyG,EAAapG,SAASC,cAAc,aAAa,EACjDoG,EAAWrG,SAASC,cAAc,sBAAsB,EACxDqG,EAAsB,CAAA,CAAA,GAAaD,EAASE,MAClB,aAA1B,OAAOtE,kBACNA,gBAAgBuE,oBAAoBC,eAAevF,CAAK,GAAKA,IAAUtB,GAAyC,CAAA,IAAxB0G,EAC3FF,EAAW5C,UAAU2C,OAAO,aAAa,EAEzCC,EAAW5C,UAAUC,IAAI,aAAa,GAGX,aAAzB,OAAOtB,iBACNA,eAAeuE,oBAAoBD,eAAevF,CAAK,GAAKA,IAAUtB,EACzEwG,EAAW5C,UAAU2C,OAAO,aAAa,EAEzCC,EAAW5C,UAAUC,IAAI,aAAa,EAGzC,CAAC,EAwDF,MAAMuC,EAAW,CAChBW,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,MAAOC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,MAAOC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,IAAKC,IAAK,KAAMC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,KAAMC,IAAK,KAAMC,IAAK,KAAMC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IAAKC,IAAK,IACjqB,EAQKC,KAAAA,IAAcC,GAAGC,QACrBlL,EAAgB,CAAA,EAChBC,EAAwBgL,GAAGC,MAAMC,OAAOC,KAAKC,YAa9CxL,EAAE,oBAAoB,EAAEoC,GAAG,QAAS,SAAUR,GAC7CA,EAAES,eAAe,EAEboJ,EAASzL,EAAEiD,IAAI,EACnBhD,IAAIyL,EAAKC,OAAO,YAAY,EAAEC,KAAK,IAAI,EAWvC,OAVAzL,EAAgB,CAAA,EAChBiL,GAAGC,MAAMC,OAAOC,KAAKC,WAAa,SAAUK,EAAOL,GAClD,GAAIrL,CAAAA,EAGH,OAAOC,EAAsB0L,MAAM7I,KAAM,CAAC4I,EAAOL,EAAW,EAF5DxL,EAAE,IAAM0L,CAAE,EAAEK,IAAIP,EAAW1K,GAAG,EAAEkL,OAAO,CAIzC,EAEAZ,GAAGC,MAAMC,OAAOW,KAAKR,CAAM,EACpB,CAAA,CACR,CAAC,EAgBDzL,EAAE,YAAY,EAAEoC,GAAG,SAAU,WAC5B,IACAZ,GAAQA,EADIxB,EAAEiD,IAAI,EAAE8I,IAAI,GACVG,KAAK,EACnBlM,EAAE,oBAAoB,EAAEmM,KAAK5I,EAAsB/B,CAAK,CAAC,CAC1D,CAAC,EAIK4K,EAAY9L,SAASgD,iBAAiB,wBAAwB,EACpE,MAAM+I,EAA2B/L,SAASC,cAAc,iCAAiC,EACzFgE,MAAMC,KAAK4H,CAAS,EAAE3H,QAAS,CAAC6H,EAAQtG,KACvCsG,EAAQ5K,iBAAiB,QAAS,IAGH,IADVpB,SAASgD,iBAAiB,gEAAgE,EAC3F2C,SAClBrE,EAAES,eAAe,EACjBgK,EAAyBE,UAAU,EAErC,CAAC,CACF,CAAE,EACEC,EAAoClM,SAASC,cAAc,uCAAuC,EAClGiM,GACHA,EAAkC9K,iBAAiB,QAAS,IAC3DE,EAAES,eAAe,EACjBgK,EAAyBI,MAAM,CAChC,CAAC,EAGFxM,IAAIyM,EAAepM,SAASC,cAAc,gBAAgB,EA4CtDoM,GA3CAD,GACH,CAAC,QAAS,OAAOjI,QAAQ,CAACmI,EAAWjI,KACpC+H,EAAahL,iBAAiBkL,EAAW,IACxChL,EAAES,eAAe,EAEbwK,EAAOxM,EAAUmB,MACrBvB,IAAI6M,EAASxM,SAASC,cAAc,QAAQ,EAAEiB,MAC1CuL,EAAWzM,SAASC,cAAc,iBAAiB,EAAEiB,MACzDvB,IAAI+M,EAAS1M,SAASgD,iBAAiB,kCAAkC,EAErE,KAAOuJ,IAIP,KAAOC,IACVA,EAASD,GAGN,KAAOE,IACVA,EAAWF,GAGZtI,MAAMC,KAAKwI,CAAM,EAAEvI,QAAQwI,IAC1BhN,IAAIiN,EAASD,EAAME,aAAa,YAAY,EAC5ClN,IAAImN,EAAYH,EAAME,aAAa,gBAAgB,EAC7B,KAAA,IAAXD,IAGTA,EADG,WAAaE,EACPF,EAAOhM,QAAQ,SAAU4L,CAAM,EAI/BI,EAAOhM,QAAQ,SAAU6L,CAAQ,EAEvB,KAAhBE,EAAMzL,SACTyL,EAAMzL,MAAQ0L,EAGjB,CAAC,EACF,CAAC,CACF,CAAC,EAGc5M,SAASC,cAAc,aAAa,GAChDoM,GACH,CAAC,QAAS,OAAOlI,QAAQ,CAACmI,EAAWjI,KACpCgI,EAAUjL,iBAAiBkL,EAAW,IACrChL,EAAES,eAAe,EAEX2K,EAAS1M,SAASgD,iBAAiB,kCAAkC,EAC3EiB,MAAMC,KAAKwI,CAAM,EAAEvI,QAAQwI,IAC1BA,EAAMzL,MAAQ,EACf,CAAC,CACF,CAAC,CACF,CAAC,EAMF,MAAM6L,EAAkB/M,SAASC,cAAc,oBAAoB,EAenE,SAAS+M,IACa,IAAjBvM,OAAOwM,QACVF,EAAgBvJ,UAAUC,IAAI,MAAM,EAEpCsJ,EAAgBvJ,UAAU2C,OAAO,MAAM,CAEzC,CApBI4G,IACH/M,SAASoB,iBAAiB,SAAU,KAqBrC,IAAuB8L,EAAQC,EAARD,EApBPF,EAoBeG,EApBJ,IAqB1BC,aAAaF,EAAOG,IAAI,EACxBH,EAAOG,KAAOC,WAAW,WACxBJ,EAAO,CACR,EAAGC,CAAK,CAvBR,CAAC,EAEDJ,EAAgB3L,iBAAiB,QAAS,IACzCE,EAAES,eAAe,EACjBtB,OAAO8M,SAAS,CACfC,IAAU,EACVC,SAAU,QACX,CAAC,CACF,CAAC,GAmBiB,CAAC,iCAAkC,oCAAqC,oCAAqC,kCAAmC,qCAAsC,sCAC9LtJ,QAAQ,CAAC6H,EAAS3H,KACtBqJ,EAAgB1N,SAASC,cAAc+L,CAAO,EACpD,GAAI0B,EAAe,CAClB,MAAMC,EAAWD,EAAcb,aAAa,IAAI,EAChD,IAAMe,EAAQ5N,SAASC,cAAc,IAAM0N,CAAQ,EAS7CE,GANDC,aAAaC,QAAQJ,CAAQ,GAAwC,OAAnCG,aAAaC,QAAQJ,CAAQ,EAGnEC,EAAMpK,UAAUC,IAAI,QAAQ,EAF5BmK,EAAMpK,UAAU2C,OAAO,QAAQ,EAKhBuH,EAAc1K,iBAAiB,iBAAiB,GAChEiB,MAAMC,KAAK2J,CAAO,EAAE1J,QAAQ,CAAC6J,EAAItI,KAChCsI,EAAG5M,iBAAiB,QAAS,IACvB0M,aAAaC,QAAQJ,CAAQ,EAGjCG,aAAaG,WAAWN,CAAQ,EAFhCG,aAAaI,QAAQP,EAAU,GAAG,CAIpC,CAAC,CACF,CAAC,CACF,CACD,CAAC,CAED,EAAEtC,MAAM"} \ No newline at end of file diff --git a/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php b/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php index 63f1a1328..2ea47458c 100644 --- a/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php +++ b/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php @@ -16,7 +16,7 @@ * Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/ * Description: Admin UI panel for registering custom post types and taxonomies * Author: WebDevStudios - * Version: 1.15.1 + * Version: 1.16.0 * Author URI: https://webdevstudios.com/ * Text Domain: custom-post-type-ui * Domain Path: /languages @@ -33,8 +33,8 @@ exit; } -define( 'CPT_VERSION', '1.15.1' ); // Left for legacy purposes. -define( 'CPTUI_VERSION', '1.15.1' ); +define( 'CPT_VERSION', '1.16.0' ); // Left for legacy purposes. +define( 'CPTUI_VERSION', '1.16.0' ); define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) ); /** diff --git a/wp-content/plugins/custom-post-type-ui/inc/taxonomies.php b/wp-content/plugins/custom-post-type-ui/inc/taxonomies.php index 801bf6ac0..69967d20e 100644 --- a/wp-content/plugins/custom-post-type-ui/inc/taxonomies.php +++ b/wp-content/plugins/custom-post-type-ui/inc/taxonomies.php @@ -1817,6 +1817,7 @@ function cptui_reserved_taxonomies() { 'robots', 's', 'search', + 'search_terms', 'second', 'sentence', 'showposts', diff --git a/wp-content/plugins/custom-post-type-ui/inc/utility.php b/wp-content/plugins/custom-post-type-ui/inc/utility.php index 04c53c52e..be785f14a 100644 --- a/wp-content/plugins/custom-post-type-ui/inc/utility.php +++ b/wp-content/plugins/custom-post-type-ui/inc/utility.php @@ -1030,3 +1030,27 @@ function cptui_post_thumbnail_theme_support() { } } add_action( 'after_setup_theme', 'cptui_post_thumbnail_theme_support' ); + +function cptui_add_dialog_missing_post_type_confirm() { +?> + +

+ +
+ + +

+
+ + +
+
+ + + + + + + + + + + + + + + + + diff --git a/wp-content/plugins/disable-comments/assets/js/disable-comments-settings-scripts.js b/wp-content/plugins/disable-comments/assets/js/disable-comments-settings-scripts.js index 4a8746583..88209ad80 100644 --- a/wp-content/plugins/disable-comments/assets/js/disable-comments-settings-scripts.js +++ b/wp-content/plugins/disable-comments/assets/js/disable-comments-settings-scripts.js @@ -309,7 +309,7 @@ jQuery(document).ready(function ($) { Swal.fire({ icon: "error", title: __("Are you sure?", "disable-comments"), - text: __("You won't be able to revert this!", "disable-comments"), + text: __("You won't be able to reverse this without a database backup.", "disable-comments"), showConfirmButton: true, showCancelButton: true, confirmButtonText: __('Yes, Delete It', "disable-comments"), diff --git a/wp-content/plugins/disable-comments/disable-comments.php b/wp-content/plugins/disable-comments/disable-comments.php index 8b0f1ec51..dd117f011 100644 --- a/wp-content/plugins/disable-comments/disable-comments.php +++ b/wp-content/plugins/disable-comments/disable-comments.php @@ -4,7 +4,7 @@ * Plugin Name: Disable Comments * Plugin URI: https://wordpress.org/plugins/disable-comments/ * Description: Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. You could bulk delete comments using Tools. - * Version: 2.4.5 + * Version: 2.4.6 * Author: WPDeveloper * Author URI: https://wpdeveloper.com * License: GPL-3.0+ @@ -41,7 +41,7 @@ public static function get_instance() function __construct() { - define('DC_VERSION', '2.4.5'); + define('DC_VERSION', '2.4.6'); define('DC_PLUGIN_SLUG', 'disable_comments_settings'); define('DC_PLUGIN_ROOT_PATH', dirname(__FILE__)); define('DC_PLUGIN_VIEWS_PATH', DC_PLUGIN_ROOT_PATH . '/views/'); @@ -389,10 +389,6 @@ public function init_wploaded_filters() remove_post_type_support($type, 'trackbacks'); } } - add_filter('comments_array', array($this, 'filter_existing_comments'), 20, 2); - add_filter('comments_open', array($this, 'filter_comment_status'), 20, 2); - add_filter('pings_open', array($this, 'filter_comment_status'), 20, 2); - add_filter('get_comments_number', array($this, 'filter_comments_number'), 20, 2); } elseif (is_admin() && !$this->is_configured()) { /** * It is possible that $disabled_post_types is empty if other @@ -403,6 +399,13 @@ public function init_wploaded_filters() add_action('all_admin_notices', array($this, 'setup_notice')); } + if ($this->is_remove_everywhere() || (!empty($disabled_post_types) && !$this->is_exclude_by_role())) { + add_filter('comments_array', array($this, 'filter_existing_comments'), 20, 2); + add_filter('comments_open', array($this, 'filter_comment_status'), 20, 2); + add_filter('pings_open', array($this, 'filter_comment_status'), 20, 2); + add_filter('get_comments_number', array($this, 'filter_comments_number'), 20, 2); + } + // Filters for the admin only. if (is_admin()) { add_action( 'all_admin_notices', array( $this, 'admin_notice' ) ); diff --git a/wp-content/plugins/disable-comments/languages/disable-comments.pot b/wp-content/plugins/disable-comments/languages/disable-comments.pot index 26e110c66..3205ad895 100644 --- a/wp-content/plugins/disable-comments/languages/disable-comments.pot +++ b/wp-content/plugins/disable-comments/languages/disable-comments.pot @@ -1,14 +1,14 @@ -# Copyright (C) 2023 WPDeveloper +# Copyright (C) 2024 WPDeveloper # This file is distributed under the GPL-3.0+. msgid "" msgstr "" -"Project-Id-Version: Disable Comments 2.4.5\n" +"Project-Id-Version: Disable Comments 2.4.6\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/disable-comments\n" -"POT-Creation-Date: 2023-08-30 08:51:04+00:00\n" +"POT-Creation-Date: 2024-03-25 10:48:17+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: en\n" @@ -62,11 +62,11 @@ msgstr "" msgid "Disable Comments" msgstr "" -#: disable-comments.php:517 disable-comments.php:677 disable-comments.php:684 +#: disable-comments.php:520 disable-comments.php:680 disable-comments.php:687 msgid "Comments are closed." msgstr "" -#: disable-comments.php:632 +#: disable-comments.php:635 #. translators: %s: disabled post types. msgid "" "Note: The Disable Comments plugin is currently active, and " @@ -74,11 +74,11 @@ msgid "" "not be applicable for those post types." msgstr "" -#: disable-comments.php:632 +#: disable-comments.php:635 msgid ", " msgstr "" -#: disable-comments.php:668 +#: disable-comments.php:671 #. translators: %s: URL to Disabled Comment settings page. msgid "" "The Disable Comments plugin is active, but isn't " @@ -86,40 +86,40 @@ msgid "" "page to choose which post types to disable comments on." msgstr "" -#: disable-comments.php:757 views/partials/_disable.php:3 +#: disable-comments.php:760 views/partials/_disable.php:3 msgid "Settings" msgstr "" -#: disable-comments.php:758 +#: disable-comments.php:761 msgid "Tools" msgstr "" -#: disable-comments.php:777 views/partials/_delete.php:72 +#: disable-comments.php:780 views/partials/_delete.php:72 msgid "Delete Comments" msgstr "" -#: disable-comments.php:842 +#: disable-comments.php:845 msgid "Default (no type)" msgstr "" -#: disable-comments.php:871 +#: disable-comments.php:874 msgid "Logged out users" msgstr "" -#: disable-comments.php:1051 +#: disable-comments.php:1054 msgid "Saved" msgstr "" -#: disable-comments.php:1126 disable-comments.php:1160 -#: disable-comments.php:1183 +#: disable-comments.php:1129 disable-comments.php:1163 +#: disable-comments.php:1186 msgid "All comments have been deleted" msgstr "" -#: disable-comments.php:1128 disable-comments.php:1132 +#: disable-comments.php:1131 disable-comments.php:1135 msgid "Internal error occured. Please try again later." msgstr "" -#: disable-comments.php:1194 +#: disable-comments.php:1197 msgid "All spam comments have been deleted." msgstr "" @@ -271,7 +271,10 @@ msgid "Warnings:" msgstr "" #: views/partials/_delete.php:23 -msgid "This will permanently delete comments everywhere on your website." +msgid "" +"This action will permanently delete all comments and comment types from " +"your Posts, Pages, and Custom Post Types. If you have WooCommerce " +"installed, your order notes will also be deleted." msgstr "" #: views/partials/_delete.php:27 @@ -551,7 +554,7 @@ msgstr "" msgid "https://wpdeveloper.com" msgstr "" -#: disable-comments.php:767 +#: disable-comments.php:770 msgctxt "settings menu title" msgid "Disable Comments" msgstr "" diff --git a/wp-content/plugins/disable-comments/readme.txt b/wp-content/plugins/disable-comments/readme.txt index 5b4c3f37d..1266e1983 100644 --- a/wp-content/plugins/disable-comments/readme.txt +++ b/wp-content/plugins/disable-comments/readme.txt @@ -1,21 +1,21 @@ === Disable Comments - Remove Comments & Stop Spam [Multi-Site Support] === Contributors: Asif2BD, priyomukul, wpdevteam, re_enter_rupok, alimuzzamanalim, solarissmoke, garrett-eclipse Donate link: https://wpdeveloper.com/ -Tags: comments, delete comments, disable comments, spam comment, disable, stop spam, remove comments, anti spam, disable xml-rpc, hide comment, XML-RPC, REST-API, WP-CLI, multi-site support +Tags: Disable Comments, Stop Spam, Delete Comments, Remove Comments, Spam Protection Requires at least: 5.0 -Tested up to: 6.3 +Tested up to: 6.5 Requires PHP: 5.6 -Stable tag: 2.4.5 +Stable tag: 2.4.6 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html -Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly. Provides tool to delete comments according to post type. +Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly. == Description == = Disable Comments - Remove Comments & Stop Spam [Multi-Site Support] = -Instantly allow or disallow comments from any post type in WordPress (Pages, Posts, or Media) to stop the spammers and gain complete control over your full website. WP-CLI Support & Control comments via XML-RPC and REST-API too! +Enable/Disable comments on any WordPress content (Pages, Posts, or Media) to stop spammers. WP-CLI, XML-RPC & REST-API support to stop spam comments. [More About Plugin](https://wpdeveloper.com/plugins/disable-comments/) ◼️ [Documentation](https://wpdeveloper.com/docs-category/disable-comments/) ◼️ [Support Forum](https://wordpress.org/support/plugin/disable-comments/) @@ -45,7 +45,7 @@ https://www.youtube.com/watch?v=J9AteKzQpPs * **[New]** Delete comments by type. * **[New]** Disable comments via [XML-RPC](https://wpdeveloper.com/docs/how-to-disable-comments-made-via-xml-rpc/) & [REST-API](https://wpdeveloper.com/docs/how-to-disable-comments-made-via-rest-api/) * **[New]** Fully Multi-site Network supported. -* **[New]** Manage multiple website networks specific subsites or entire networks comments in advance. +* **[New]** Manage multiple website network-specific subsites or entire network comments in advance. * **[New]** Exclude Disable Comments Settings based on user roles. https://www.youtube.com/watch?v=FBq3-W-p-DM @@ -117,7 +117,7 @@ These definitions can be made either in your main `wp-config.php` or in your the Consider checking out our other WordPress solutions & boost your WordPress website: -🔝 [Essential Addons For Elementor](https://wordpress.org/plugins/essential-addons-for-elementor-lite/): Most popular Elementor addons with 70+ widgets & ready blocks +🔝 [Essential Addons For Elementor](https://wordpress.org/plugins/essential-addons-for-elementor-lite/): Most popular Elementor addons with 2 million+ happy users & 95+ widgets & ready blocks 🔔 [NotificationX](https://notificationx.com/) – Best Social Proof & FOMO Marketing Solution to increase conversion rates. @@ -125,14 +125,12 @@ Consider checking out our other WordPress solutions & boost your WordPress websi 📄 [EmbedPress](https://wordpress.org/plugins/embedpress/): EmbedPress lets you embed anything including videos, images, posts, audio, maps and upload PDF, DOC, PPT etc. -☁ [Templately](https://wordpress.org/plugins/templately/): 1200+ Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress. +☁ [Templately](https://wordpress.org/plugins/templately/): 5000+ Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress. 📚 [BetterDocs](https://wordpress.org/plugins/betterdocs/): Best Documentation & Knowledge Base Plugin for WordPress reduce manual support tickets & improve user experience. ⏰ [SchedulePress](https://wordpress.org/plugins/wp-scheduled-posts/): Advanced editorial calendar with WordPress Post Scheduling, Social Sharing, Missed scheduled alerts, and more. -⭐ [ReviewX](https://wordpress.org/plugins/reviewx/): WooCommerce Product review plugin that allows users to submit product reviews with multiple criteria, photos, videos, and more. - ⚡ [Flexia](https://wordpress.org/themes/flexia/): Most lightweight, customizable & multi purpose theme for WordPress. @@ -192,7 +190,10 @@ Go to the tools page for the Disable Comments plugin and utlize the Delete Comme The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -This will be maiintained from August 19, 2020 - @asif2bd +This will be maintained from August 19, 2020 - @asif2bd + += [2.4.6] - 2024-03-25 = +* Added: WordPress 6.5 Compatibility = [2.4.5] - 2023-08-30 = * Minor bug fixes and improvements. diff --git a/wp-content/plugins/disable-comments/views/partials/_delete.php b/wp-content/plugins/disable-comments/views/partials/_delete.php index 22cef2fa4..99ee01ca5 100644 --- a/wp-content/plugins/disable-comments/views/partials/_delete.php +++ b/wp-content/plugins/disable-comments/views/partials/_delete.php @@ -20,7 +20,7 @@
options['remove_everywhere']); ?> /> -

+

options['remove_everywhere']); ?> /> @@ -212,4 +212,4 @@ - \ No newline at end of file + diff --git a/wp-content/plugins/faustwp/CHANGELOG.md b/wp-content/plugins/faustwp/CHANGELOG.md index ed936c2d6..23e89b974 100644 --- a/wp-content/plugins/faustwp/CHANGELOG.md +++ b/wp-content/plugins/faustwp/CHANGELOG.md @@ -1,5 +1,11 @@ # Faust +## 1.2.3 + +### Patch Changes + +- 4724719: Faust now errors if the NEXT_PUBLIC_WORDPRESS_URL matches the Headless URL in Faust Plugin settings. + ## 1.2.2 ### Patch Changes diff --git a/wp-content/plugins/faustwp/faustwp.php b/wp-content/plugins/faustwp/faustwp.php index 1e01e311c..79f8648bf 100644 --- a/wp-content/plugins/faustwp/faustwp.php +++ b/wp-content/plugins/faustwp/faustwp.php @@ -9,7 +9,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: faustwp * Domain Path: /languages - * Version: 1.2.2 + * Version: 1.2.3 * Requires PHP: 7.2 * Requires at least: 5.7 * diff --git a/wp-content/plugins/faustwp/includes/rest/callbacks.php b/wp-content/plugins/faustwp/includes/rest/callbacks.php index 1c4bf23c4..6951d2acc 100644 --- a/wp-content/plugins/faustwp/includes/rest/callbacks.php +++ b/wp-content/plugins/faustwp/includes/rest/callbacks.php @@ -26,6 +26,7 @@ use function WPE\FaustWP\Settings\faustwp_get_setting; use function WPE\FaustWP\Settings\faustwp_update_setting; use function WPE\FaustWP\Settings\is_telemetry_enabled; +use function WPE\FaustWP\Utilities\domains_match; if ( ! defined( 'ABSPATH' ) ) { exit; @@ -139,6 +140,16 @@ function register_rest_routes() { ) ); + register_rest_route( + 'faustwp/v1', + '/validate_public_wordpress_url', + array( + 'methods' => 'POST', + 'callback' => __NAMESPACE__ . '\\handle_rest_validate_public_wordpress_url_callback', + 'permission_callback' => __NAMESPACE__ . '\\rest_authorize_permission_callback', + ) + ); + /** * Faust.js packages now use `faustwp/v1/authorize`. * @@ -523,3 +534,43 @@ function handle_rest_validate_secret_key_callback( \WP_REST_Request $request ) { function rest_validate_secret_key_permission_callback( \WP_REST_Request $request ) { return rest_authorize_permission_callback( $request ); } + +/** + * Callback for WordPress register_rest_route() 'callback' parameter. + * + * Handle POST /faustwp/v1/validate_public_wordpress_url response. + * + * @link https://developer.wordpress.org/reference/functions/register_rest_route/ + * @link https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/#endpoint-callback + * + * @param \WP_REST_Request $request Current \WP_REST_Request object. + * + * @return mixed A \WP_REST_Response, or \WP_Error. + */ +function handle_rest_validate_public_wordpress_url_callback( \WP_REST_Request $request ) { + // Get the frontend URI setting from WordPress. + $frontend_uri = faustwp_get_setting( 'frontend_uri' ); + + // Retrieve the parameters from the request. + $parameters = $request->get_params(); + + // Check if the public_wordpress_url parameter is present in the request. + if ( isset( $parameters['public_wordpress_url'] ) ) { + // Retrieve the value of the public_wordpress_url parameter. + $public_wordpress_url = $parameters['public_wordpress_url']; + + // Check if the provided WordPress URL does not match the frontend URI. + if ( ! domains_match( $public_wordpress_url, $frontend_uri ) ) { + // Return 200 OK if the URLs do not match. + $response = new \WP_REST_Response( 'OK', 200 ); + } else { + // Return 400 Bad Request if the URLs match. + $response = new \WP_REST_Response( 'Bad Request', 400 ); + } + } else { + // Return 400 Bad Request if the public_wordpress_url parameter is missing. + $response = new \WP_REST_Response( 'Bad Request', 400 ); + } + + return $response; +} diff --git a/wp-content/plugins/faustwp/includes/utilities/functions.php b/wp-content/plugins/faustwp/includes/utilities/functions.php index 0cc189b8e..ac699e0cc 100644 --- a/wp-content/plugins/faustwp/includes/utilities/functions.php +++ b/wp-content/plugins/faustwp/includes/utilities/functions.php @@ -43,3 +43,27 @@ function plugin_version() { return $plugin['Version']; } + +/** + * Checks if two domain strings represent the same domain. + * + * @param string $domain1 The first domain string. + * @param string $domain2 The second domain string. + * @return bool True if the domains match, false otherwise. + */ +function domains_match( $domain1, $domain2 ) { + // Extract the domain part. + $extract_domain = function ( $url ) { + $parsed_url = wp_parse_url( $url, PHP_URL_HOST ); + return $parsed_url ? $parsed_url : null; + }; + + $domain1 = $extract_domain( $domain1 ); + $domain2 = $extract_domain( $domain2 ); + + // Remove "www" prefix from domain if present. + $domain1 = preg_replace( '/^www\./i', '', $domain1 ); + $domain2 = preg_replace( '/^www\./i', '', $domain2 ); + + return null !== $domain1 && null !== $domain2 && $domain1 === $domain2; +} diff --git a/wp-content/plugins/faustwp/readme.txt b/wp-content/plugins/faustwp/readme.txt index ca0cc7207..8ce0c354e 100644 --- a/wp-content/plugins/faustwp/readme.txt +++ b/wp-content/plugins/faustwp/readme.txt @@ -2,8 +2,8 @@ Contributors: antpb, apmatthe, blakewpe, chriswiegman, claygriffiths, jasonkonen, joefusco, markkelnar, matthewguywright, mindctrl, modernnerd, rfmeier, TeresaGobble, thdespou, wpengine Tags: faustjs, faust, headless, decoupled, composable-architecture Requires at least: 5.7 -Tested up to: 6.4 -Stable tag: 1.2.2 +Tested up to: 6.5 +Stable tag: 1.2.3 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -54,29 +54,22 @@ plugins/faustwp/.wordpress-org/screenshot-3.png == Changelog == -= 1.2.2 = += 1.2.3 = ### Patch Changes -- 47f6bd0: Faust now warns you if the secret key in your environment is invalid or incorrect. +- 4724719: Faust now errors if the NEXT_PUBLIC_WORDPRESS_URL matches the Headless URL in Faust Plugin settings. -= 1.2.1 = += 1.2.2 = ### Patch Changes -- 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs. - -= 1.2.0 = - -### Minor Changes +- 47f6bd0: Faust now warns you if the secret key in your environment is invalid or incorrect. -- 5f78b15: Requests to robots.txt on the WordPress site are now accessible and are no longer redirected to the front-end site. -- c163fa5: Added support for anonymous opt-in telemetry. Previously this functionality was in the Faust CLI package, but has been moved to the WordPress plugin instead. All telemetry collection is optional and anonymous, and it is disabled by default. If you were previously opted in from Faust CLI, once you update the Faust CLI packages your site will no longer send telemetry data unless you opt in again from the WordPress plugin. += 1.2.1 = ### Patch Changes -- 205fb09: Improved plugin's process for handling blockset file uploads by leveraging WordPress' native [unzip_file](https://developer.wordpress.org/reference/functions/unzip_file/) function. -- 41a6d9c: Fixed issue where term URIs were rewritten from relative to absolute during GraphQL requests when they should not have been. This was causing nodeByUri queries for terms to fail. -- e725bda: Adds phpstan to CI/CD workflow. Runs as part of the lint step. +- 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs. [View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md) \ No newline at end of file diff --git a/wp-content/plugins/genesis-custom-blocks/README.md b/wp-content/plugins/genesis-custom-blocks/README.md index d887d53ef..727e76dcb 100644 --- a/wp-content/plugins/genesis-custom-blocks/README.md +++ b/wp-content/plugins/genesis-custom-blocks/README.md @@ -2,10 +2,10 @@ Contributors: lukecarbis, ryankienstra, Stino11, rheinardkorf, studiopress, wpengine Tags: gutenberg, blocks, block editor, fields, template -Requires at least: 5.7 -Tested up to: 6.3 +Requires at least: 6.0 +Tested up to: 6.5 Requires PHP: 7.0 -Stable tag: 1.6.0 +Stable tag: 1.7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl diff --git a/wp-content/plugins/genesis-custom-blocks/genesis-custom-blocks.php b/wp-content/plugins/genesis-custom-blocks/genesis-custom-blocks.php index ab7061e36..867a7218f 100644 --- a/wp-content/plugins/genesis-custom-blocks/genesis-custom-blocks.php +++ b/wp-content/plugins/genesis-custom-blocks/genesis-custom-blocks.php @@ -8,7 +8,7 @@ * * Plugin Name: Genesis Custom Blocks * Description: The easy way to build custom blocks for Gutenberg. - * Version: 1.6.0 + * Version: 1.7.0 * Author: Genesis Custom Blocks * Author URI: https://studiopress.com * License: GPL2 diff --git a/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.asset.php b/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.asset.php index d48eaa67e..3327baa73 100644 --- a/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.asset.php +++ b/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-keycodes', 'wp-notices', 'wp-primitives'), 'version' => '513bf1116101ad4d1034'); + array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-keycodes', 'wp-notices', 'wp-primitives'), 'version' => '9b7592910da1f29ee3d1'); diff --git a/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.js b/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.js index e8587e8e6..0e85f5590 100644 --- a/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.js +++ b/wp-content/plugins/genesis-custom-blocks/js/dist/edit-block.js @@ -4,7 +4,7 @@ U("New Field %1$d","genesis-custom-blocks"),c):U("New Field","genesis-custom-blo U("Failed to get the template file: %1$s","genesis-custom-blocks"),e.message),{isDismissible:!0})}))}),{wait:300})),[r,n]);return(0,te.useEffect)((()=>{Boolean(i.name)&&o(i.name)}),[i.name,o]),{template:t}},Un=()=>{const{categories:e}=gcbEditor,{block:t,changeBlock:n}=ue(),[i,r]=(0,te.useState)(e),[o,s]=(0,te.useState)(!1),a="add-new-category";return(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("label",{className:"text-sm",htmlFor:"block-categories"},U("Category","genesis-custom-blocks")),(0,te.createElement)("select",{className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm",id:"block-categories",value:t.category&&t.category.slug?t.category.slug:K().category.slug,onChange:e=>{if(!e.target)return;const t=i.filter((t=>e.target.value===t.slug));if(!t.length)return;const r=t[0];n({category:{icon:r.icon,slug:r.slug,title:r.title}})}},i&&Array.isArray(i)?i.map(((e,t)=>{const n=e||{};return(0,te.createElement)("option",{value:e.slug,key:`block-category-${t}`},n.title?n.title:n.slug)})):null,t.category&&!i.some((e=>t.category&&t.category.slug===e.slug))?(0,te.createElement)("option",{value:t&&t.category?t.category.slug:null,key:"block-category-non-default"},t.category&&t.category.title?t.category.title:t.category.slug):null),(0,te.createElement)("button",{className:"text-sm text-blue-700 md:underline mt-2",onClick:()=>{s((e=>!e))},"aria-expanded":o},U("Add New Category","genesis-custom-blocks")),o?(0,te.createElement)("form",{onSubmit:e=>{e.preventDefault();const t=e.target.elements?e.target.elements[a].value:"",o={icon:null,slug:t,title:t};r([...i,o]),n({category:o}),s((e=>!e))},key:"hierarchical-terms-form"},(0,te.createElement)("label",{htmlFor:a,className:"text-sm"},U("New Category Name","genesis-custom-blocks")),(0,te.createElement)("input",{type:"text",id:a,className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm",required:!0}),(0,te.createElement)("button",{className:"flex border border-gray-600 rounded-sm mt-2",type:"submit"},(0,te.createElement)("span",{className:"flex items-center h-8 px-3"},U("Add New Category","genesis-custom-blocks")))):null)},Kn=window.wp.a11y,Gn=function({icon:e,size:t=24,...n}){return(0,te.cloneElement)(e,{width:t,height:t,...n})},qn=window.wp.primitives,Zn=(0,te.createElement)(qn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,te.createElement)(qn.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Yn=({text:e})=>{const[t,n]=(0,te.useState)(!1);let i;(0,te.useEffect)((()=>()=>clearTimeout(i)),[i]);const r=function(e,t){const n=pe(e),i=pe(t);return(0,ge.useRefEffect)((e=>{const t=new(fe())(e,{text(){return"function"==typeof n.current?n.current():n.current}});return t.on("success",(({clearSelection:t})=>{t(),e.focus(),i.current&&i.current()})),()=>{t.destroy()}}),[])}(e,(()=>{(0,Kn.speak)(z(/* translators: %1$s: the text that was copied */ U("Copied the text %1$s","genesis-custom-blocks"),e)),n(!0),clearTimeout(i),i=setTimeout((()=>{n(!1)}),2e3)})),o=z(/* translators: %1$s: the field name */ U("Copy the field name of %1$s","genesis-custom-blocks"),e);return(0,te.createElement)("button",{"aria-label":o,ref:r},t?(0,te.createElement)(Gn,{size:20,icon:Zn}):(0,te.createElement)("svg",{className:"h-4 w-4 fill-current ml-1",fill:"currentColor",viewBox:"0 0 20 20"},(0,te.createElement)("path",{d:"M8 2a1 1 0 000 2h2a1 1 0 100-2H8z"}),(0,te.createElement)("path",{d:"M3 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v6h-4.586l1.293-1.293a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L10.414 13H15v3a2 2 0 01-2 2H5a2 2 0 01-2-2V5zM15 11h2a1 1 0 110 2h-2v-2z"})))},Xn=()=>{const{block:{displayModal:e=!1},changeBlock:t}=ue(),n="display-in-modal";return(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("div",{className:"mt-2"},(0,te.createElement)("input",{type:"checkbox",id:n,className:"mr-2",value:"1",checked:e,onChange:e=>{e.target&&t({displayModal:Boolean(e.target.checked)})}}),(0,te.createElement)("label",{className:"text-sm",htmlFor:n},U("Open block fields in a modal instead of rendering in place","genesis-custom-blocks"))))},Qn=window.wp.components,Jn=({onError:e,postId:t,postType:n,settings:i})=>{const{block:r}=ue(),{template:a}=jn(),c=(0,se.useSelect)((e=>e("core").getEntityRecord("postType",n,t)),[t,n]),[u,g]=(0,te.useState)(X),[p,m]=(0,te.useState)(s),[v,b]=(0,te.useState)(!1),[w,y]=(0,te.useState)(o),[x,k]=(0,te.useState)(f);return c?(0,te.createElement)(te.StrictMode,null,(0,te.createElement)("div",{className:"h-screen flex flex-col items-center text-black"},a?.cssUrl?(0,te.createElement)("link",{rel:"stylesheet",href:a.cssUrl,type:"text/css"}):null,!a?.cssUrl&&Boolean(r.templateCss)?(0,te.createElement)("style",null,r.templateCss):null,(0,te.createElement)(he,null),(0,te.createElement)(re.UnsavedChangesWarning,null),(0,te.createElement)(Qn.SlotFillProvider,null,(0,te.createElement)(Ii,{post:c,settings:i},(0,te.createElement)(re.ErrorBoundary,{onError:e},(0,te.createElement)(Ki,{editorMode:p,setEditorMode:m}),(0,te.createElement)(re.EditorNotices,null),(0,te.createElement)("div",{className:"gcb-editor flex w-full h-0 flex-grow"},(0,te.createElement)(Xi,{editorMode:p,setEditorMode:m},(0,te.createElement)(Yi,{currentLocation:u,editorMode:p,setCurrentLocation:g}),l===p&&r?(0,te.createElement)(Hi,{setEditorMode:m}):null,s===p?(0,te.createElement)(Bi,{currentLocation:u,selectedField:x,setIsNewField:b,setPanelDisplaying:y,setSelectedField:k}):null,h===p?(0,te.createElement)(ji,{setEditorMode:m}):null,d===p?(0,te.createElement)(lr,null):null),(0,te.createElement)(rr,{panelDisplaying:w,setPanelDisplaying:y},o===w?(0,te.createElement)(oe,null):null,o!==w&&s===p?(0,te.createElement)(Vi,{currentLocation:u,isNewField:v,selectedField:x,setCurrentLocation:g,setIsNewField:b,setSelectedField:k}):null))))))):null},ei=(window.wp.blocks,window.wp.blockEditor),ti=(window.wp.keycodes,n(7462)),ni=n(4942),ii=n(5987),ri=window.wp.deprecated,oi=n.n(ri),si=n(3144),ai=n(9611),li=n(1002),ci=n(7326);function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hi(e)}var ui=window.lodash,di=n(663),fi=n.n(di)()(console.error);function gi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pi(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"default";i.data[t]=pi(pi(pi({},mi),i.data[t]),e),i.data[t][""]=pi(pi({},mi[""]),i.data[t][""])},a=function(e,t){s(e,t),o()},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return i.data[e]||s(void 0,e),i.dcnpgettext(e,t,n,r,o)},c=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},_x=function(e,t,i){var r=l(i,t,e);return n?(r=n.applyFilters("i18n.gettext_with_context",r,e,t,i),n.applyFilters("i18n.gettext_with_context_"+c(i),r,e,t,i)):r};if(n){var h=function(e){vi.test(e)&&o()};n.addAction("hookAdded","core/i18n",h),n.addAction("hookRemoved","core/i18n",h)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return i.data[e]},setLocaleData:a,resetLocaleData:function(e,t){i.data={},i.pluralForms={},a(e,t)},subscribe:function(e){return r.add(e),function(){return r.delete(e)}},__:function(e,t){var i=l(t,void 0,e);return n?(i=n.applyFilters("i18n.gettext",i,e,t),n.applyFilters("i18n.gettext_"+c(t),i,e,t)):i},_x:_x,_n:function(e,t,i,r){var o=l(r,void 0,e,t,i);return n?(o=n.applyFilters("i18n.ngettext",o,e,t,i,r),n.applyFilters("i18n.ngettext_"+c(r),o,e,t,i,r)):o},_nx:function(e,t,i,r,o){var s=l(o,r,e,t,i);return n?(s=n.applyFilters("i18n.ngettext_with_context",s,e,t,i,r,o),n.applyFilters("i18n.ngettext_with_context_"+c(o),s,e,t,i,r,o)):s},isRTL:function(){return"rtl"===_x("ltr","text direction")},hasTranslation:function(e,t,r){var o,s,a=t?t+""+e:e,l=!(null===(o=i.data)||void 0===o||null===(s=o[null!=r?r:"default"])||void 0===s||!s[a]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,r),l=n.applyFilters("i18n.has_translation_"+c(r),l,e,t,r)),l}}}(0,0,r.defaultHooks),wi=(bi.getLocaleData.bind(bi),bi.setLocaleData.bind(bi),bi.resetLocaleData.bind(bi),bi.subscribe.bind(bi),bi.__.bind(bi)),yi=(bi._x.bind(bi),bi._n.bind(bi),bi._nx.bind(bi),bi.isRTL.bind(bi),bi.hasTranslation.bind(bi),n(3324));function xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ki(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function Si(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,i=e.indexOf("?");return-1!==i&&(t=Object.assign(function(e){return(function(e){var t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce((function(e,t){var n=t.split("=").filter(Boolean).map(decodeURIComponent),i=(0,yi.Z)(n,2),r=i[0],o=i[1],s=void 0===o?"":o;return r&&function(e,t,n){for(var i=t.length,r=i-1,o=0;o1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return $i("/wp/v2/block-renderer/".concat(e),_i(_i({context:"edit"},null!==t?{attributes:t}:{}),n))}(n,l?null:r,void 0===a?{}:a),h=l?{attributes:r}:null,u=this.currentFetchRequest=Wn()({path:c,data:h,method:l?"POST":"GET"}).then((function(e){t.isStillMounted&&u===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&u===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return u}}},{key:"render",value:function(){var e=this.state.response,t=this.props,n=t.className,i=t.EmptyResponsePlaceholder,r=t.ErrorResponsePlaceholder,o=t.LoadingResponsePlaceholder;return""===e?(0,te.createElement)(i,(0,ti.Z)({response:e},this.props)):e?e.error?(0,te.createElement)(r,(0,ti.Z)({response:e},this.props)):(0,te.createElement)(te.RawHTML,{key:"html",className:n},e):(0,te.createElement)(o,(0,ti.Z)({response:e},this.props))}}]),r}(te.Component);Mi.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return(0,te.createElement)(Qn.Placeholder,{className:t},wi("Block rendered as empty."))},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,i=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;ie.width?`genesis-custom-blocks-control width-${e.width}`:"genesis-custom-blocks-control";var Fi=({fields:e,parentBlock:t,parentBlockProps:n,rowIndex:i,context:o})=>(0,te.createElement)(te.Fragment,null,e.map((e=>{if(e.location&&!e.location.includes("editor"))return null;const s=(e=>(0,r.applyFilters)("genesisCustomBlocks.controls",{})[e.control])(e);return s?(0,te.createElement)("div",{className:zi(e),key:`${e.name}-control-${i}`},(0,te.createElement)(s,{field:e,getValue:({field:e,parentBlockProps:t,rowIndex:n})=>{const i={...t.attributes};return e.parent&&i[e.parent]&&i[e.parent].rows?i[e.parent].rows[n][e.name]:i[e.name]},onChange:t=>{const{clientId:r,setAttributes:o}=n,s={...(0,se.select)("core/block-editor").getBlockAttributes(r)};if(void 0===i)s[e.name]=t,o(s);else{const r=s[e.parent],o=[{}],a=r&&r.rows?r.rows:o;a[i]||(a[i]={}),a[i][e.name]=t,s[e.parent]={rows:a},n.setAttributes(s)}},parentBlock:t,rowIndex:i,parentBlockProps:n,context:o})):null})));window.wp.dom;var Hi=({setEditorMode:e})=>{const{block:t,changeBlock:n}=ue(),{getFields:i}=In(),{previewAttributes:r={}}=t,o=i();return ve(o).length?(0,te.createElement)("div",{className:"gcb-editor-form"},(0,te.createElement)(Fi,{key:"example-fields",fields:o,parentBlockProps:{setAttributes:e=>{n({previewAttributes:{...r,...e}})},attributes:r},parentBlock:{},context:Y})):(0,te.createElement)(nr,null,(0,te.createElement)("button",{className:"underline",onClick:()=>e(s)},U("Builder","genesis-custom-blocks")))},Pi=window.wp.coreData,Ni=window.wp.notices,Ii=({post:e,settings:t,children:n})=>{const{setupEditor:i}=(()=>{const{setupEditorState:e}=(0,se.useDispatch)("core/editor");return{setupEditor:t=>{e(t)}}})(),{updatePostLock:r,updateEditorSettings:o}=(0,se.useDispatch)("core/editor"),{createWarningNotice:s}=(0,se.useDispatch)(Ni.store);return(0,te.useLayoutEffect)((()=>{r(t.postLock),i(e),t.autosave&&s(U("There is an autosave of this post that is more recent than the version below.","genesis-custom-blocks"),{id:"autosave-exists",actions:[{label:U("View the autosave","genesis-custom-blocks"),url:t.autosave.editLink}]})}),[]),(0,te.useEffect)((()=>{o(t)}),[t,o]),(0,te.createElement)(Pi.EntityProvider,{kind:"root",type:"site"},(0,te.createElement)(Pi.EntityProvider,{kind:"postType",type:e.type,id:e.id},n))},Di=({currentLocation:t,field:n,index:i,isDownButtonDisabled:o,selectedField:s,shouldDisplayMoveButtons:a,setIsNewField:l,setPanelDisplaying:h,setSelectedField:u,parentField:d=null})=>{const{reorderFields:f}=In(),g="flex items-center justify-center text-sm w-6 h-5 hover:text-blue-700 z-10",p="opacity-50 cursor-not-allowed",m=e=>{e.stopPropagation();const t={name:n.name};null!==d&&(t.parent=d),u(t),h(c)},v=!!s&&(s.hasOwnProperty("parent")||n.hasOwnProperty("parent")?n.parent===s.parent&&n.name===s.name:n.name===s.name),b=0===i,w=(t=>{if(!t||"string"!=typeof t)return null;const n=e[t];return(0,r.applyFilters)("genesisCustomBlocks.getFieldIcon",n,t)})(n.control),y=!["25","50"].includes(n.width);return(0,te.createElement)("div",{role:"row",className:ye()("relative w-full rounded-sm border border-gray-400 hover:border-black",Er(n.width)),key:`field-item-${i}`,tabIndex:0,"aria-label":z(/* translators: %1$s: the label of the field */ +wi("Error loading block: %s"),t.errorMsg);return(0,te.createElement)(Qn.Placeholder,{className:n},i)},LoadingResponsePlaceholder:function(e){var t=e.className;return(0,te.createElement)(Qn.Placeholder,{className:t},(0,te.createElement)(Qn.Spinner,null))}};var Ai=Mi;function Li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var Ri={},Ti=(0,se.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getCurrentPostId();if(n)return{currentPostId:n}}return Ri}))((function(e){var t=e.urlQueryArgs,n=void 0===t?Ri:t,i=e.currentPostId,r=(0,ii.Z)(e,["urlQueryArgs","currentPostId"]),o=(0,te.useMemo)((function(){return i?function(e){for(var t=1;te.width?`genesis-custom-blocks-control width-${e.width}`:"genesis-custom-blocks-control";var Fi=({fields:e,parentBlock:t,parentBlockProps:n,rowIndex:i,context:o})=>(0,te.createElement)(te.Fragment,null,e.map((e=>{if(e.location&&!e.location.includes("editor"))return null;const s=(e=>(0,r.applyFilters)("genesisCustomBlocks.controls",{})[e.control])(e);return s?(0,te.createElement)("div",{className:zi(e),key:`${e.name}-control-${i}`},(0,te.createElement)(s,{field:e,getValue:({field:e,parentBlockProps:t,rowIndex:n})=>{const i={...t.attributes};return e.parent&&i[e.parent]&&i[e.parent].rows?i[e.parent].rows[n][e.name]:i[e.name]},onChange:t=>{const{clientId:r,setAttributes:o}=n,s={...(0,se.select)("core/block-editor").getBlockAttributes(r)};if(void 0===i)s[e.name]=t,o(s);else{const r=s[e.parent],o=[{}],a=r&&r.rows?r.rows:o;a[i]||(a[i]={}),a[i][e.name]=t,s[e.parent]={rows:a},n.setAttributes(s)}},parentBlock:t,rowIndex:i,parentBlockProps:n,context:o})):null})));window.wp.dom;var Hi=({setEditorMode:e})=>{const{block:t,changeBlock:n}=ue(),{getFields:i}=In(),{previewAttributes:r={}}=t,o=i();return ve(o).length?(0,te.createElement)("div",{className:"gcb-editor-form"},(0,te.createElement)(Fi,{key:"example-fields",fields:o,parentBlockProps:{setAttributes:e=>{n({previewAttributes:{...r,...e}})},attributes:r},parentBlock:{},context:Y})):(0,te.createElement)(nr,null,(0,te.createElement)("button",{className:"underline",onClick:()=>e(s)},U("Builder","genesis-custom-blocks")))},Pi=window.wp.coreData,Ni=window.wp.notices,Ii=({post:e,settings:t,children:n})=>{const{setEditedPost:i,setupEditorState:r,updatePostLock:o,updateEditorSettings:s}=(0,se.useDispatch)("core/editor"),{createWarningNotice:a}=(0,se.useDispatch)(Ni.store);return(0,te.useLayoutEffect)((()=>{o(t.postLock),i?i(e.type,e.id):r(e),t.autosave&&a(U("There is an autosave of this post that is more recent than the version below.","genesis-custom-blocks"),{id:"autosave-exists",actions:[{label:U("View the autosave","genesis-custom-blocks"),url:t.autosave.editLink}]})}),[]),(0,te.useEffect)((()=>{s(t)}),[t,s]),(0,te.createElement)(Pi.EntityProvider,{kind:"root",type:"site"},(0,te.createElement)(Pi.EntityProvider,{kind:"postType",type:e.type,id:e.id},n))},Di=({currentLocation:t,field:n,index:i,isDownButtonDisabled:o,selectedField:s,shouldDisplayMoveButtons:a,setIsNewField:l,setPanelDisplaying:h,setSelectedField:u,parentField:d=null})=>{const{reorderFields:f}=In(),g="flex items-center justify-center text-sm w-6 h-5 hover:text-blue-700 z-10",p="opacity-50 cursor-not-allowed",m=e=>{e.stopPropagation();const t={name:n.name};null!==d&&(t.parent=d),u(t),h(c)},v=!!s&&(s.hasOwnProperty("parent")||n.hasOwnProperty("parent")?n.parent===s.parent&&n.name===s.name:n.name===s.name),b=0===i,w=(t=>{if(!t||"string"!=typeof t)return null;const n=e[t];return(0,r.applyFilters)("genesisCustomBlocks.getFieldIcon",n,t)})(n.control),y=!["25","50"].includes(n.width);return(0,te.createElement)("div",{role:"row",className:ye()("relative w-full rounded-sm border border-gray-400 hover:border-black",Er(n.width)),key:`field-item-${i}`,tabIndex:0,"aria-label":z(/* translators: %1$s: the label of the field */ U("Field: %1$s","genesis-custom-blocks"),n.label),onClick:m,onKeyPress:m},(0,te.createElement)("div",{role:"gridcell",className:"flex flex-col items-center w-full p-4 bg-white rounded-sm",id:`field-item-${i}`},(0,te.createElement)("div",{className:"flex w-full items-center"},(0,te.createElement)("div",null,w?(0,te.createElement)(w,null):null),(0,te.createElement)("span",{className:" ml-4 truncate"},n.label),(0,te.createElement)("div",{className:"flex items-center h-6 pr-1 bg-gray-200 rounded-sm ml-auto hover:bg-gray-300"},y?(0,te.createElement)("span",{className:"text-xs truncate font-mono pl-2 mr-2"},n.name):null,(0,te.createElement)(Yn,{text:n.name}))),null===d&&"repeater"===n.control?(0,te.createElement)(Bi,{currentLocation:t,parentField:n.name,selectedField:s,setIsNewField:l,setPanelDisplaying:h,setSelectedField:u}):null,v&&a?(0,te.createElement)("div",{className:"flex absolute top-0 left-0 flex-col justify-between top-0 left-0 -ml-8 -mt-px rounded-sm bg-white border border-black"},(0,te.createElement)("button",{"aria-label":z(/* translators: %1$s: the field label, %2$d: the current position, %3$d: its new position on moving */ U("Move %1$s field up from position %2$d to position %3$d","genesis-custom-blocks"),n.label,i,i-1),className:ye()(g,{[p]:b}),onClick:e=>{e.preventDefault(),f(i,i-1,t,d)},disabled:b},(0,te.createElement)("svg",{className:"h-4 w-4 stroke-current",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor"},(0,te.createElement)("path",{d:"M5 15l7-7 7 7"}))),(0,te.createElement)("button",{"aria-label":z(/* translators: %1$s: the field label, %2$d: the current position, %3$d: its new position on moving */ U("Move %1$s field down from position %2$d to position %3$d","genesis-custom-blocks"),n.label,i,i+1),className:ye()(g,{[p]:o}),onClick:e=>{e.preventDefault(),f(i,i+1,t,d)},disabled:o},(0,te.createElement)("svg",{className:"h-4 w-4 stroke-current",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor"},(0,te.createElement)("path",{d:"M19 9l-7 7-7-7"})))):null))},Vi=({currentLocation:e,isNewField:t,selectedField:n,setCurrentLocation:i,setIsNewField:r,setSelectedField:o})=>{const{changeControl:s,changeFieldSettings:a,controls:l,deleteField:c,duplicateField:h,getField:u,getFields:d}=In(),p=(0,te.useRef)(),m=(0,te.useRef)(!1);(0,te.useEffect)((()=>{if(t&&p.current){const{ownerDocument:{activeElement:e}}=p.current;e&&p.current===e||p.current.select(),m.current=!1}}),[m,t]);const v=u(n);return(0,te.createElement)("div",{className:"p-4"},f===n?(0,te.createElement)("span",{className:"text-sm"},U("No field selected","genesis-custom-blocks")):(0,te.createElement)(te.Fragment,null,(0,te.createElement)("h4",{className:"text-sm font-semibold"},U("Field Settings","genesis-custom-blocks")),(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("label",{className:"text-sm",htmlFor:"field-label"},U("Field Label","genesis-custom-blocks")),(0,te.createElement)("input",{className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm",type:"text",id:"field-label",value:v.label,ref:p,onChange:e=>{if(!e.target)return;const n={label:e.target.value},i={name:v.name};if(v.hasOwnProperty("parent")&&(i.parent=v.parent),t){m.current=!0;const t=g(e.target.value),r=a(i,{...n,name:t});o({...i,name:r})}else a(i,n)},onBlur:()=>{m.current&&r(!1)}}),(0,te.createElement)("span",{className:"block italic text-xs mt-1"},U("A label or a title for this field.","genesis-custom-blocks"))),(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("label",{className:"text-sm",htmlFor:"field-name"},U("Field Name (slug)","genesis-custom-blocks")),(0,te.createElement)("input",{className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm font-mono",type:"text",id:"field-name",value:v.name,onChange:e=>{if(e.target){const t=e.target.value,i={name:a(n,{name:t})};n.hasOwnProperty("parent")&&(i.parent=n.parent),o(i)}}}),(0,te.createElement)("span",{className:"block italic text-xs mt-1"},U("Single word, no spaces.","genesis-custom-blocks"))),(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("label",{className:"text-sm",htmlFor:"field-control"},U("Field Type","genesis-custom-blocks")),(0,te.createElement)("select",{className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm",id:"field-control",value:v.control,onChange:e=>{e.target&&s(n,e.target.value)}},Object.values(l).filter((t=>n&&n.hasOwnProperty("parent")?"repeater"!==t.name:("inner_blocks"!==t.name||"inner_blocks"===v.control||!d().some((e=>"inner_blocks"===e.control)))&&(!e||t.locations.hasOwnProperty(e)))).map(((e,t)=>(0,te.createElement)("option",{value:e.name,key:`control-option-${t}`},e.label))))),(0,te.createElement)(Wi,{controls:l,changeFieldSettings:a,deleteField:()=>c(n),duplicateField:()=>h(n),field:v,setCurrentLocation:i,setSelectedField:o})))},Bi=({currentLocation:e,selectedField:t,setIsNewField:n,setPanelDisplaying:i,setSelectedField:r,parentField:o=null})=>{const{addNewField:s,getFieldsForLocation:a}=In(),l=(0,te.useMemo)((()=>a(e,o)),[e,a,o]);return(0,te.createElement)(te.Fragment,null,(0,te.createElement)("div",{role:"grid",className:ye()("grid grid-cols-4 gap-4 w-full items-start",o?"mt-4":"mt-2")},l&&l.length?l.map(((s,a)=>{const c=l.length>1,h=a>=l.length-1;return(0,te.createElement)(Di,{key:`grid-field-${a}`,currentLocation:e,field:s,index:a,isDownButtonDisabled:h,selectedField:t,setIsNewField:n,setPanelDisplaying:i,setSelectedField:r,shouldDisplayMoveButtons:c,parentField:o})})):null),(0,te.createElement)("button",{className:"flex items-center justify-center h-6 w-6 bg-black rounded-sm text-white mt-4 ml-auto","aria-label":U("Add a new field","genesis-custom-blocks"),onClick:t=>{t.stopPropagation();const a={name:s(e,o)};null!==o&&(a.parent=o),r(a),n(!0),i(c)}},(0,te.createElement)("svg",{className:"w-4 h-4 fill-current",fill:"currentColor",viewBox:"0 0 20 20"},(0,te.createElement)("title",null,U("New field","genesis-custom-blocks")),(0,te.createElement)("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))))},Wi=({controls:e,changeFieldSettings:t,deleteField:n,duplicateField:i,field:r,setCurrentLocation:o,setSelectedField:s})=>{const a=e[r.control];return(0,te.createElement)(te.Fragment,null,a&&a.settings?a.settings.map(((e,n)=>{if(r.hasOwnProperty("parent")&&"location"===e.name)return null;const i=Cr(e.type),s=`field-setting-${n}`,a=r.hasOwnProperty(e.name)?r[e.name]:e.default;return i?(0,te.createElement)("div",{className:"mt-5",key:s},(0,te.createElement)(i,{setting:e,value:a,handleOnChange:n=>{const i={name:r.name};r.hasOwnProperty("parent")&&(i.parent=r.parent),t(i,{[e.name]:n})},setCurrentLocation:o})):null})):null,(0,te.createElement)("div",{className:"flex justify-between mt-5 border-t border-gray-300 pt-3"},(0,te.createElement)("button",{className:"flex items-center bg-red-200 text-sm h-6 px-2 rounded-sm leading-none text-red-900 hover:bg-red-500 hover:text-red-100",onClick:()=>{n(),s(f)}},U("Delete","genesis-custom-blocks")),(0,te.createElement)("button",{className:"flex items-center bg-blue-200 text-sm h-6 px-2 rounded-sm leading-none text-blue-900 hover:bg-blue-500 hover:text-blue-100",onClick:i},U("Duplicate","genesis-custom-blocks"))))},ji=({setEditorMode:e})=>{const t=(0,se.useSelect)((e=>e("core/editor").getCurrentPost())),n=(0,se.useSelect)((e=>e("core/editor").isEditedPostNew())),i=(0,se.useSelect)((e=>e("core/editor").isEditedPostDirty())),{getFields:r}=In(),o=A(t?.content),a=o[L(o)]||{},c=r();return ve(c).length?a.previewAttributes?n&&i?(0,te.createElement)("div",{className:"mt-4 flex flex-row items-center"},U("Please save your block to preview it:","genesis-custom-blocks")," ",(0,te.createElement)(re.PostSavedState,null)):(0,te.createElement)(Oi,{block:`genesis-custom-blocks/${a?.name}`,attributes:a?.previewAttributes,className:"genesis-custom-blocks-editor__ssr",httpMethod:"POST"}):(0,te.createElement)(nr,null,(0,te.createElement)("button",{className:"underline",onClick:()=>e(l)},U("Editor Preview","genesis-custom-blocks"))):(0,te.createElement)(nr,null,(0,te.createElement)("button",{className:"underline",onClick:()=>e(s)},U("Builder","genesis-custom-blocks")))},Ui=(0,te.createElement)(qn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,te.createElement)(qn.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})),Ki=({editorMode:e,setEditorMode:t})=>{const{template:n}=jn(),i="flex items-center h-12 px-4 text-sm",r=le("edit.php",{post_type:"genesis_custom_block"});return(0,te.createElement)("div",{className:"flex items-center h-16 border-b border-gray-300 w-full"},(0,te.createElement)("a",{className:"flex items-center justify-center h-full w-16 bg-gray-900 text-white",href:r,"aria-label":U("Go back to WordPress","genesis-custom-blocks")},(0,te.createElement)(Gn,{className:"fill-current",icon:Ui,size:36})),(0,te.createElement)(re.EditorHistoryUndo,null),(0,te.createElement)(re.EditorHistoryRedo,null),(0,te.createElement)("button",{className:ye()(i,{"font-semibold":s===e}),onClick:()=>{t(s)}},(0,te.createElement)("span",null,U("Builder","genesis-custom-blocks"))),n.templateExists?null:(0,te.createElement)("button",{className:ye()(i,{"font-semibold":d===e}),onClick:()=>{t(d)}},(0,te.createElement)("span",null,U("Template Editor","genesis-custom-blocks"))),(0,te.createElement)("button",{className:ye()(i,{"font-semibold":l===e}),onClick:()=>{t(l)}},(0,te.createElement)("span",null,U("Editor Preview","genesis-custom-blocks"))),(0,te.createElement)("button",{className:ye()(i,{"font-semibold":h===e}),onClick:()=>{t(h)}},(0,te.createElement)("span",null,U("Front-end Preview","genesis-custom-blocks"))),(0,te.createElement)("div",{id:"save-and-publish"},(0,te.createElement)("span",{className:"mr-3 text-sm"},(0,te.createElement)(re.PostSavedState,null)),(0,te.createElement)("span",{className:"mr-3"},(0,te.createElement)(re.PostPublishButton,null))))},Gi=()=>{const{block:e,changeBlock:n}=ue(),[i,r]=(0,te.useState)(!1),o=e.icon||K().icon;return(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)("span",{className:"text-sm"},U("Icon","genesis-custom-blocks")),(0,te.createElement)("button",{className:"flex border border-gray-600 rounded-sm mt-2",onClick:()=>{r((e=>!e))}},(0,te.createElement)("div",{className:"flex items-center justify-center h-8 w-8 border-r border-gray-600"},(0,te.createElement)(Qn.Icon,{size:24,icon:Hn(o)})),(0,te.createElement)("div",{className:"flex items-center h-8 px-3"},U(i?"Close":"Choose","genesis-custom-blocks"))),i?(0,te.createElement)("div",{role:"listbox",className:"grid grid-cols-6 border border-gray-600 rounded-sm h-40 p-1 overflow-auto mt-2","aria-label":U("Icons","genesis-custom-blocks")},Object.keys(t).map(((e,i)=>{const r=e.replace(/([a-z])([A-Z1-9])/g,((e,t,n)=>t+"_"+n)).toLowerCase(),s=o===r;return(0,te.createElement)("button",{key:`block-icon-item-${i}`,className:ye()("flex items-center justify-center h-8 w-8 hover:border-black",s?"border-blue-700":"border-transparent"),type:"button",role:"option","aria-selected":s,onClick:()=>{n({icon:r})}},(0,te.createElement)(Qn.Icon,{className:"w-5 h-5",size:24,icon:t[e]}))}))):null)},qi=({handleOnChange:e,setting:t,type:n,value:i,min:r})=>{const o=`setting-input-${t.name}`,s=void 0===i?t.default:i;return(0,te.createElement)(te.Fragment,null,(0,te.createElement)("label",{className:"text-sm",htmlFor:o},t.label),(0,te.createElement)("input",{className:"flex items-center w-full h-8 rounded-sm border border-gray-600 mt-2 px-2 text-sm",type:n,id:o,value:s,min:r,onChange:t=>{if(t.target){const i="number"===n?parseInt(t.target.value):t.target.value;e(i)}}}))},Zi=()=>{const{block:e,changeBlock:t}=ue();return(0,te.createElement)("div",{className:"mt-5"},(0,te.createElement)(Qn.FormTokenField,{label:z(/* translators: %1$d: the max number of keywords */ diff --git a/wp-content/plugins/genesis-custom-blocks/vendor/autoload.php b/wp-content/plugins/genesis-custom-blocks/vendor/autoload.php index ba81e0053..a0f9a5270 100644 --- a/wp-content/plugins/genesis-custom-blocks/vendor/autoload.php +++ b/wp-content/plugins/genesis-custom-blocks/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit43b5b3db6ee94eab3af2ee3841b6fe75::getLoader(); +return ComposerAutoloaderInit07149fd04386a4e9646ecb4ddfca5469::getLoader(); diff --git a/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_real.php b/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_real.php index e57fc5f3c..e220df353 100644 --- a/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_real.php +++ b/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit43b5b3db6ee94eab3af2ee3841b6fe75 +class ComposerAutoloaderInit07149fd04386a4e9646ecb4ddfca5469 { private static $loader; @@ -24,15 +24,15 @@ public static function getLoader() require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit43b5b3db6ee94eab3af2ee3841b6fe75', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit07149fd04386a4e9646ecb4ddfca5469', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit43b5b3db6ee94eab3af2ee3841b6fe75', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit07149fd04386a4e9646ecb4ddfca5469', '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\ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit07149fd04386a4e9646ecb4ddfca5469::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { diff --git a/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_static.php b/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_static.php index 1576927a1..786db2056 100644 --- a/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_static.php +++ b/wp-content/plugins/genesis-custom-blocks/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75 +class ComposerStaticInit07149fd04386a4e9646ecb4ddfca5469 { public static $prefixLengthsPsr4 = array ( 'G' => @@ -62,9 +62,9 @@ class ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit43b5b3db6ee94eab3af2ee3841b6fe75::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit07149fd04386a4e9646ecb4ddfca5469::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit07149fd04386a4e9646ecb4ddfca5469::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit07149fd04386a4e9646ecb4ddfca5469::$classMap; }, null, ClassLoader::class); } diff --git a/wp-content/plugins/genesis-custom-blocks/vendor/composer/installed.php b/wp-content/plugins/genesis-custom-blocks/vendor/composer/installed.php index 8e7a63b32..0405fe763 100644 --- a/wp-content/plugins/genesis-custom-blocks/vendor/composer/installed.php +++ b/wp-content/plugins/genesis-custom-blocks/vendor/composer/installed.php @@ -1,22 +1,22 @@ array( - 'pretty_version' => '1.6.0', - 'version' => '1.6.0.0', + 'pretty_version' => '1.7.0', + 'version' => '1.7.0.0', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '029a96f98dda62064909aeca8398d5ee87481122', + 'reference' => '936b6c75b16e686894920ddc8471ffd529c55f8b', 'name' => 'studiopress/genesis-custom-blocks', 'dev' => false, ), 'versions' => array( 'studiopress/genesis-custom-blocks' => array( - 'pretty_version' => '1.6.0', - 'version' => '1.6.0.0', + 'pretty_version' => '1.7.0', + 'version' => '1.7.0.0', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '029a96f98dda62064909aeca8398d5ee87481122', + 'reference' => '936b6c75b16e686894920ddc8471ffd529c55f8b', 'dev_requirement' => false, ), ), diff --git a/wp-content/plugins/microsoft-start/assets/js/callback.asset.php b/wp-content/plugins/microsoft-start/assets/js/callback.asset.php index 652d38027..1a1bc36f5 100644 --- a/wp-content/plugins/microsoft-start/assets/js/callback.asset.php +++ b/wp-content/plugins/microsoft-start/assets/js/callback.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => '66ab073aad33ccb4a388'); + array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => '857ae771827078e7ef37'); diff --git a/wp-content/plugins/microsoft-start/assets/js/callback.js b/wp-content/plugins/microsoft-start/assets/js/callback.js index 8fe319a1c..cc1e3d7b6 100644 --- a/wp-content/plugins/microsoft-start/assets/js/callback.js +++ b/wp-content/plugins/microsoft-start/assets/js/callback.js @@ -1,2 +1,2 @@ -(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=c(t),m=c(r),g=0;g{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=i(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case c:return e;default:return t}}case o:return t}}}function _(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||S(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===i},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=S},237:(e,t,r)=>{"use strict";e.exports=r(198)},195:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");r=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===s||e===i||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case s:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case m:case h:case c:return e;default:return t}}case o:return t}}}},357:(e,t,r)=>{"use strict";e.exports=r(195)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.p="/wp-content/plugins/microsoft-start/assets/js/",r.nc=void 0,(()=>{"use strict";const e=window.React;var t,n=r.n(e);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var l;function u(e,t,r){void 0===r&&(r="/");let n=_(("string"==typeof t?c(t):t).pathname||"/",r);if(null==n)return null;let o=d(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let e=0;null==a&&e{let a={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(C(a.relativePath.startsWith(n),'Absolute route path "'+a.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(n.length));let i=k([n,a.relativePath]),s=r.concat(a);e.children&&e.children.length>0&&(C(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),d(e.children,t,s,i)),(null!=e.path||e.index)&&t.push({path:i,score:b(i,e.index),routesMeta:s})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(l||(l={}));const f=/^:\w+$/,p=3,h=2,m=1,g=10,v=-2,y=e=>"*"===e;function b(e,t){let r=e.split("/"),n=r.length;return r.some(y)&&(n+=v),t&&(n+=h),r.filter((e=>!y(e))).reduce(((e,t)=>e+(f.test(t)?p:""===t?m:g)),n)}function w(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e(n.push(t),"([^\\/]+)")));return e.endsWith("*")?(n.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=r?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return A(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function _(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function C(e,t){if(!1===e||null==e)throw new Error(t)}function A(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}const k=e=>e.join("/").replace(/\/\/+/g,"/"),x=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),E=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",P=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class O{constructor(e,t,r){this.status=e,this.statusText=t||"",this.data=r}}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t")))}class q extends e.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?e.createElement(Y.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function X(t){let{routeContext:r,match:n,children:o}=t,a=e.useContext(D);return a&&n.route.errorElement&&(a._deepestRenderedBoundaryId=n.route.id),e.createElement(U.Provider,{value:r},o)}var J,Z;function K(t){let{to:r,replace:n,state:a,relative:i}=t;W()||C(!1);let s=e.useContext(L),l=function(){W()||C(!1);let{basename:t,navigator:r}=e.useContext(z),{matches:n}=e.useContext(U),{pathname:a}=G(),i=JSON.stringify(function(e){return e.filter(((t,r)=>0===r||!t.route.index&&t.pathnameBase!==e[r-1].pathnameBase))}(n).map((e=>e.pathnameBase))),s=e.useRef(!1);return e.useEffect((()=>{s.current=!0})),e.useCallback((function(e,n){if(void 0===n&&(n={}),!s.current)return;if("number"==typeof e)return void r.go(e);let l=function(e,t,r,n){void 0===n&&(n=!1);let a,i="string"==typeof e?c(e):o({},e),s=""===e||""===i.pathname,l=s?"/":i.pathname;if(n||null==l)a=r;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?c(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:E(n),hash:P(o)}}(i,a),d=l&&"/"!==l&&l.endsWith("/"),f=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}(e,JSON.parse(i),a,"path"===n.relative);"/"!==t&&(l.pathname="/"===l.pathname?t:k([t,l.pathname])),(n.replace?r.replace:r.push)(l,n.state,n)}),[t,r,i,a])}();return e.useEffect((()=>{s&&"idle"!==s.navigation.state||l(r,{replace:n,state:a,relative:i})})),null}function Q(e){C(!1)}function ee(r){let{basename:n="/",children:o=null,location:a,navigationType:i=t.Pop,navigator:s,static:l=!1}=r;W()&&C(!1);let u=n.replace(/^\/*/,"/"),d=e.useMemo((()=>({basename:u,navigator:s,static:l})),[u,s,l]);"string"==typeof a&&(a=c(a));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:g="default"}=a,v=e.useMemo((()=>{let e=_(f,u);return null==e?null:{pathname:e,search:p,hash:h,state:m,key:g}}),[u,f,p,h,m,g]);return null==v?null:e.createElement(z.Provider,{value:d},e.createElement(B.Provider,{children:o,value:{location:v,navigationType:i}}))}function te(r){let{children:n,location:o}=r,a=e.useContext(M);return function(r,n){W()||C(!1);let o=e.useContext(L),{matches:a}=e.useContext(U),i=a[a.length-1],s=i?i.params:{},l=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let d,f=G();if(n){var p;let e="string"==typeof n?c(n):n;"/"===l||(null==(p=e.pathname)?void 0:p.startsWith(l))||C(!1),d=e}else d=f;let h=d.pathname||"/",m=u(r,{pathname:"/"===l?h:h.slice(l.length)||"/"}),g=function(t,r,n){if(void 0===r&&(r=[]),null==t){if(null==n||!n.errors)return null;t=n.matches}let o=t,a=null==n?void 0:n.errors;if(null!=a){let e=o.findIndex((e=>e.route.id&&(null==a?void 0:a[e.route.id])));e>=0||C(!1),o=o.slice(0,Math.min(o.length,e+1))}return o.reduceRight(((t,i,s)=>{let c=i.route.id?null==a?void 0:a[i.route.id]:null,l=n?i.route.errorElement||e.createElement(H,null):null,u=()=>e.createElement(X,{match:i,routeContext:{outlet:t,matches:r.concat(o.slice(0,s+1))}},c?l:void 0!==i.route.element?i.route.element:t);return n&&(i.route.errorElement||0===s)?e.createElement(q,{location:n.location,component:l,error:c,children:u()}):u()}),null)}(m&&m.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:k([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:k([l,e.pathnameBase])}))),a,o||void 0);return n?e.createElement(B.Provider,{value:{location:I({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:t.Pop}},g):g}(a&&!n?a.router.routes:re(n),o)}function re(t,r){void 0===r&&(r=[]);let n=[];return e.Children.forEach(t,((t,o)=>{if(!e.isValidElement(t))return;if(t.type===e.Fragment)return void n.push.apply(n,re(t.props.children,r));t.type!==Q&&C(!1);let a=[...r,o],i={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,hasErrorBoundary:null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle};t.props.children&&(i.children=re(t.props.children,a)),n.push(i)})),n}function ne(r){let{basename:n,children:o,window:l}=r,u=e.useRef();var d;null==u.current&&(u.current=(void 0===(d={window:l,v5Compat:!0})&&(d={}),function(e,r,n,o){void 0===o&&(o={});let{window:c=document.defaultView,v5Compat:l=!1}=o,u=c.history,d=t.Pop,f=null;function p(){d=t.Pop,f&&f({action:d,location:h.location})}let h={get action(){return d},get location(){return e(c,u)},listen(e){if(f)throw new Error("A history only accepts one active listener");return c.addEventListener(a,p),f=e,()=>{c.removeEventListener(a,p),f=null}},createHref:e=>r(c,e),push:function(e,r){d=t.Push;let o=s(h.location,e,r);null==n||n(o,e);let a=i(o),p=h.createHref(o);try{u.pushState(a,"",p)}catch(e){c.location.assign(p)}l&&f&&f({action:d,location:o})},replace:function(e,r){d=t.Replace;let o=s(h.location,e,r);null==n||n(o,e);let a=i(o),c=h.createHref(o);u.replaceState(a,"",c),l&&f&&f({action:d,location:o})},go:e=>u.go(e)};return h}((function(e,t){var r,n;let{pathname:o="/",search:a="",hash:i=""}=c(e.location.hash.substr(1));return s("",{pathname:o,search:a,hash:i},(null==(r=t.state)?void 0:r.usr)||null,(null==(n=t.state)?void 0:n.key)||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:function(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}(t))}),(function(e,t){!function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),d)));let f=u.current,[p,h]=e.useState({action:f.action,location:f.location});return e.useLayoutEffect((()=>f.listen(h)),[f]),e.createElement(ee,{basename:n,children:o,location:p.location,navigationType:p.action,navigator:f})}!function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(J||(J={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Z||(Z={})),new Promise((()=>{})),e.Component;const oe=window.ReactDOM;var ae=r.n(oe);const ie=r.p+"images/connecting.47f359c4.png";function se(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function ce(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){se(a,n,o,i,s,"next",e)}function s(e){se(a,n,o,i,s,"throw",e)}i(void 0)}))}}function le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ue(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1&&void 0!==o[1]?o[1]:{},r=ue({},me,r=o.length>2&&void 0!==o[2]?o[2]:me),n=r.retryCounts,[2,new Promise((function(o,a){var i=function(){var s=ce((function(){return pe(this,(function(s){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),ue({},he,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,i()):a(e)})),[2]}))}));return function(){return s.apply(this,arguments)}}();i()}))]}))})),function(e){return fe.apply(this,arguments)});const ve=window.wp.i18n;var ye=r(357),be=r(631),we=r.n(be);const Se=function(e){function t(e,n,c,l,f){for(var p,h,m,g,w,_=0,C=0,A=0,k=0,x=0,R=0,$=m=p=0,F=0,D=0,M=0,L=0,z=c.length,B=z-1,U="",Y="",W="",G="";Fp)&&(L=(U=U.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var ze=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&Le(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a=Ye&&(Ye=t+1),Be.set(e,t),Ue.set(t,e)},He="style["+Fe+'][data-styled-version="5.3.6"]',qe=new RegExp("^"+Fe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Xe=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(Fe))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(Fe,"active"),n.setAttribute("data-styled-version","5.3.6");var i=Ze();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Qe=function(){function e(e){var t=this.element=Ke(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),at=/(a)(d)/gi,it=function(e){return String.fromCharCode(e+(e>25?39:97))};function st(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=it(t%52)+r;return(it(t%52)+r).replace(at,"$1-$2")}var ct=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},lt=function(e){return ct(5381,e)};function ut(e){for(var t=0;t>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=ct(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),pt=/^\s*\/\/.*$/gm,ht=[":","[",".","#"];function mt(e){var t,r,n,o,a=void 0===e?Re:e,i=a.options,s=void 0===i?Re:i,c=a.plugins,l=void 0===c?Te:c,u=new Se(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,a){return 0===n&&-1!==ht.indexOf(a[r.length])||a.match(o)?e:"."+t};function h(e,a,i,s){void 0===s&&(s="&");var c=e.replace(pt,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(i||!a?"":a,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||Le(15),ct(e,t.name)}),5381).toString():"",h}var gt=n().createContext(),vt=(gt.Consumer,n().createContext()),yt=(vt.Consumer,new ot),bt=mt();function wt(){return(0,e.useContext)(gt)||yt}function St(t){var r=(0,e.useState)(t.stylisPlugins),o=r[0],a=r[1],i=wt(),s=(0,e.useMemo)((function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),c=(0,e.useMemo)((function(){return mt({options:{prefix:!t.disableVendorPrefixes},plugins:o})}),[t.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){we()(o,t.stylisPlugins)||a(t.stylisPlugins)}),[t.stylisPlugins]),n().createElement(gt.Provider,{value:s},n().createElement(vt.Provider,{value:c},t.children))}var _t=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=bt);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Le(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=bt),this.name+e.hash},e}(),Ct=/([A-Z])/,At=/([A-Z])/g,kt=/^ms-/,xt=function(e){return"-"+e.toLowerCase()};function Et(e){return Ct.test(e)?e.replace(At,xt).replace(kt,"-ms-"):e}var Pt=function(e){return null==e||!1===e||""===e};function Ot(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,jt=/(^-|-$)/g;function $t(e){return e.replace(Rt,"-").replace(jt,"")}function Nt(e){return"string"==typeof e&&!0}var Ft=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Dt=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Mt(e,t,r){var n=e[r];Ft(t)&&Ft(n)?Lt(n,t):e[r]=t}function Lt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n>>0)}("5.3.6"+r+Bt[r]);return t?t+"-"+n:n}(r.displayName,r.parentComponentId):l,d=r.displayName,f=void 0===d?function(e){return Nt(e)?"styled."+e:"Styled("+$e(e)+")"}(t):d,p=r.displayName&&r.componentId?$t(r.displayName)+"-"+r.componentId:r.componentId||u,h=a&&t.attrs?Array.prototype.concat(t.attrs,c).filter(Boolean):c,m=r.shouldForwardProp;a&&t.shouldForwardProp&&(m=r.shouldForwardProp?function(e,n,o){return t.shouldForwardProp(e,n,o)&&r.shouldForwardProp(e,n,o)}:t.shouldForwardProp);var g,v=new ft(o,p,a?t.componentStyle:void 0),y=v.isStatic&&0===c.length,b=function(t,r){return function(t,r,n,o){var a=t.attrs,i=t.componentStyle,s=t.defaultProps,c=t.foldedComponentIds,l=t.shouldForwardProp,u=t.styledComponentId,d=t.target,f=function(e,t,r){void 0===e&&(e=Re);var n=Pe({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in je(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=Re),e.theme!==r.theme&&e.theme||t||r.theme}(r,(0,e.useContext)(zt),s)||Re,r,a),p=f[0],h=f[1],m=function(t,r,n,o){var a=wt(),i=(0,e.useContext)(vt)||bt;return r?t.generateAndInjectStyles(Re,a,i):t.generateAndInjectStyles(n,a,i)}(i,o,p),g=n,v=h.$as||r.$as||h.as||r.as||d,y=Nt(v),b=h!==r?Pe({},r,{},h):r,w={};for(var S in b)"$"!==S[0]&&"as"!==S&&("forwardedAs"===S?w.as=b[S]:(l?l(S,Ae,v):!y||Ae(S))&&(w[S]=b[S]));return r.style&&h.style!==r.style&&(w.style=Pe({},r.style,{},h.style)),w.className=Array.prototype.concat(c,u,m!==u?m:null,r.className,h.className).filter(Boolean).join(" "),w.ref=g,(0,e.createElement)(v,w)}(g,t,r,y)};return b.displayName=f,(g=n().forwardRef(b)).attrs=h,g.componentStyle=v,g.displayName=f,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):Te,g.styledComponentId=p,g.target=a?t.target:t,g.withComponent=function(e){var t=r.componentId,n=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(Nt(e)?e:$t($e(e)));return Ut(e,Pe({},n,{attrs:h,componentId:a}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?Lt({},t.defaultProps,e):e}}),g.toString=function(){return"."+g.styledComponentId},i&&xe()(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Yt,Wt=function(e){return function e(t,r,n){if(void 0===n&&(n=Re),!(0,ye.isValidElementType)(r))return Le(1,String(r));var o=function(){return t(r,n,Tt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,Pe({},n,{},o))},o.attrs=function(o){return e(t,r,Pe({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Ut,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Wt[e]=Wt(e)})),(Yt=function(e,t){this.rules=e,this.componentId=t,this.isStatic=ut(e),ot.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,r,n){var o=n(Ot(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},Yt.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Yt.renderStyles=function(e,t,r,n){e>2&&ot.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=Ze();return""},this.getStyleTags=function(){return e.sealed?Le(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Le(2);var r=((t={})[Fe]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=Ze();return o&&(r.nonce=o),[n().createElement("style",Pe({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ot({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?Le(2):n().createElement(St,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return Le(3)}}();const Gt=Wt;var Vt,Ht,qt,Xt,Jt,Zt,Kt,Qt,er,tr,rr,nr,or,ar,ir,sr,cr,lr,ur,dr,fr,pr,hr,mr,gr,vr,yr,br=function(e){var t,r,n,o,a,i,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c="".concat("https://www.msn.com/").concat(null!==(i=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==i?i:"en-us","/partnerhub").concat(null!=e?e:""),l=null===(r=window.msn_dashboard_render_status)||void 0===r||null===(n=r.profile)||void 0===n?void 0:n.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(a=o.profile)||void 0===a?void 0:a.accountId;return l&&!(null==e?void 0:e.includes("#"))&&(c+="#fromwp=true",c+="&partnerid=".concat(l),u&&(c+="&brandid=".concat(s?"all":u))),c},wr=((0,ve.__)("Payment account required. {delimiter}Enter account information to receive payments.","microsoft-start"),(0,ve.__)("Payment account error. {delimiter}Error in payment account. Fix to continue.","microsoft-start"),(0,ve.__)("Payment account under review. {delimiter}Your payment account is under review. This may take several business days.","microsoft-start"),(0,ve.__)("Payment account set up successfully. {delimiter}Your payment account is active","microsoft-start"),(0,ve.__)("Your payment account is temporary active. {delimiter}Additional information needed for your payment account.","microsoft-start"),(0,ve.__)("Your brand is under review.{delimiter}Your brand profile is under review. This may take up to 5 business days.","microsoft-start"),(0,ve.__)("Enable Reader support.{delimiter}You have not enabled reader support for your business.","microsoft-start"),(0,ve.__)("Account is under review.{delimiter}We are reviewing your account and this can take up two business days complete normally.","microsoft-start"),(0,ve.__)("Account didn’t pass our review.{delimiter}Your account didn’t pass our review. You can contact us for the support.","microsoft-start"),(0,ve.__)("Brand didn’t pass review.{delimiter}Your brand profile didn’t pass our review.","microsoft-start"),(0,ve.__)("Profile change didn’t pass review.{delimiter}Your brand profile didn’t pass our review. Please edit the brand profile under settings and resubmit the request.","microsoft-start"),(0,ve.__)("A payment account is required. {delimiter}A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),(0,ve.__)("A payment account is required. {delimiter}A payment account has not been added by your organization. This is required for publishing.","microsoft-start"),(0,ve.__)("Your account didn't pass review.{delimiter}","microsoft-start"),(0,ve.__)("Monthly Revenue Statement Available{delimiter}Your partner revenue statement is available to download. Please note that only partner-level admins can access.","microsoft-start"),(0,ve.__)("Account didn’t pass review:{delimiter} There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),(0,ve.__)("This brand is currently suspended by Microsoft Start.{delimiter} Content, settings, and feed can still be viewed, but can't be changed.","microsoft-start"),{detail:(0,ve.__)("Detail","microsoft-start"),setUpPaymentAccount:(0,ve.__)("Set up a payment account","microsoft-start"),enableTipping:(0,ve.__)("Enable it now","microsoft-start"),viewProfile:(0,ve.__)("View detail","microsoft-start"),addAccount:(0,ve.__)("Add account","microsoft-start"),seeDetails:(0,ve.__)("See details","microsoft-start"),view:(0,ve.__)("View","microsoft-start"),contactSupport:(0,ve.__)("Contact support","microsoft-start")});br("/monetization/options"),br("/monetization/payment-setting",!0),br("/setting/brand/profile"),br("/setting/revetting",!0),br("/monetization/earning-report/ad-revenue",!0);function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}wr.setUpPaymentAccount,wr.detail,wr.enableTipping,wr.viewProfile,wr.addAccount,wr.seeDetails,wr.view,wr.contactSupport,wr.contactSupport,wr.contactSupport,function(e){e[e.Initial=0]="Initial",e[e.Processing=1]="Processing",e[e.Success=2]="Success",e[e.Failed=3]="Failed"}(Vt||(Vt={})),function(e){e.EditorMode="editor",e.FeedMode="feed"}(Ht||(Ht={})),function(e){e.Uncategorized="Uncategorized",e.Autos="Autos",e.Entertainment="Entertainment",e.Finance="Finance",e.FoodAndDrink="Food & Drink",e.HealthAndFitness="Health & Fitness",e.Lifestyle="Lifestyle",e.News="News",e.Sports="Sports",e.Travel="Travel",e.Video="Video",e.Weather="Weather"}(qt||(qt={})),function(e){e.Empty="Empty",e.Yes="Yes",e.No="No"}(Xt||(Xt={})),Sr(Jt={},Xt.Yes,(0,ve.__)("Yes, content is local","microsoft-start")),Sr(Jt,Xt.No,(0,ve.__)("No, content isn't local","microsoft-start")),Sr(Zt={},Xt.Empty,(0,ve.__)("Select one","microsoft-start")),Sr(Zt,Xt.Yes,(0,ve.__)("Yes, this feed includes AI Assisted Content","microsoft-start")),Sr(Zt,Xt.No,(0,ve.__)("No, this feed does not include AI Assisted Content","microsoft-start")),function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.FailedModeration=2]="FailedModeration"}(Kt||(Kt={})),function(e){e[e.Initial=0]="Initial",e[e.Success=200]="Success",e[e.Failed=500]="Failed",e[e.DisabledByInternal=2]="DisabledByInternal",e[e.DecommissionedByInternal=3]="DecommissionedByInternal"}(Qt||(Qt={})),(dr=or||(or={}))[dr.Active=0]="Active",dr[dr.PendingReview=1]="PendingReview",dr[dr.VettingFailed=2]="VettingFailed",dr[dr.Shutdown=3]="Shutdown",dr[dr.Suspended=4]="Suspended",(ur=ar||(ar={}))[ur.NotScreened=0]="NotScreened",ur[ur.Pass=1]="Pass",ur[ur.Fail=2]="Fail",ur[ur.UnderReview=3]="UnderReview",ur[ur.DataIssue=4]="DataIssue",function(e){e[e.NotExist=0]="NotExist",e[e.Active=1]="Active"}(ir||(ir={})),function(e){e[e.Creator=0]="Creator",e[e.Publisher=2]="Publisher"}(sr||(sr={})),function(e){e[e.None=0]="None",e[e.Appealing=1]="Appealing",e[e.AppealFailed=2]="AppealFailed",e[e.AppealRejected=3]="AppealRejected"}(cr||(cr={})),function(e){e[e.Active=0]="Active",e[e.Suspended=1]="Suspended",e[e.Terminated=2]="Terminated",e[e.PendingReview=3]="PendingReview",e[e.FailedModeration=4]="FailedModeration"}(lr||(lr={})),(null===(er=window.msn_dashboard_render_status)||void 0===er||null===(tr=er.profile)||void 0===tr?void 0:tr.lifeCycleStatus)===lr.Suspended||(null===(rr=window.msn_dashboard_render_status)||void 0===rr||null===(nr=rr.profile)||void 0===nr||nr.partnerStatus,or.Suspended),_r(fr={},Xt.Empty,(0,ve.__)("Select one","microsoft-start")),_r(fr,Xt.Yes,(0,ve.__)("Yes, it is AI Assisted Content","microsoft-start")),_r(fr,Xt.No,(0,ve.__)("No, it is not AI Assisted Content","microsoft-start")),function(e){e[e.StageZero=0]="StageZero",e[e.StageOne=1]="StageOne",e[e.StageTwo=2]="StageTwo",e[e.StageThree=3]="StageThree"}(mr||(mr={})),function(e){e[e.NOT_SET=0]="NOT_SET",e[e.PENDING=1]="PENDING",e[e.INVALID=2]="INVALID",e[e.ACTIVE_NEED_MORE_INFO=3]="ACTIVE_NEED_MORE_INFO",e[e.ACTIVE=4]="ACTIVE"}(gr||(gr={})),function(e){e[e.PASS=0]="PASS",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.FAIL=2]="FAIL"}(vr||(vr={})),function(e){e.GetStarted="getStarted",e.InProgress="inProgress",e.Completed="completed",e.Failed="failed",e.NeedsAttention="needsAttention"}(yr||(yr={})),yr.Completed,(0,ve.__)("Completed","microsoft-start"),(0,ve.__)("Account approved","microsoft-start"),(0,ve.__)("The business information provided has passed our review.","microsoft-start"),yr.InProgress,(0,ve.__)("In progress","microsoft-start"),(0,ve.__)("Account under review","microsoft-start"),(null===(pr=window.msn_dashboard_render_status)||void 0===pr||null===(hr=pr.profile)||void 0===hr?void 0:hr.accountType)===sr.Publisher?(0,ve.__)("It may take up to 10 business days to verify the business information.","microsoft-start"):(0,ve.__)("This should only take a few minutes.","microsoft-start"),(0,ve.__)("Learn more","microsoft-start"),yr.Failed,(0,ve.__)("Failed","microsoft-start"),(0,ve.__)("Account didn't pass review","microsoft-start"),(0,ve.__)("Additional business information is needed to continue.","microsoft-start"),(0,ve.__)("See details","microsoft-start"),yr.Failed,(0,ve.__)("Failed","microsoft-start"),(0,ve.__)("Account didn't pass review","microsoft-start"),(0,ve.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),(0,ve.__)("Contact support","microsoft-start"),yr.Completed,(0,ve.__)("Completed","microsoft-start"),(0,ve.__)("Brand profile approved","microsoft-start"),(0,ve.__)("The business information you provided has been verified.","microsoft-start"),yr.InProgress,(0,ve.__)("In progress","microsoft-start"),(0,ve.__)("Brand profile under review","microsoft-start"),(0,ve.__)("This can take up to 5 business days to complete.","microsoft-start"),(0,ve.__)("See details","microsoft-start"),yr.Failed,(0,ve.__)("Failed","microsoft-start"),(0,ve.__)("Brand profile didn't pass review","microsoft-start"),(0,ve.__)("Additional information is needed to continue.","microsoft-start"),(0,ve.__)("See details","microsoft-start"),yr.Completed,(0,ve.__)("Completed","microsoft-start"),(0,ve.__)("Payment account active","microsoft-start"),(0,ve.__)("This account can now receive payments from Microsoft.","microsoft-start"),yr.NeedsAttention,(0,ve.__)("Needs attention","microsoft-start"),(0,ve.__)("Issue with payment account","microsoft-start"),(0,ve.__)("Additional information is needed to activate this account.","microsoft-start"),(0,ve.__)("Update","microsoft-start"),yr.GetStarted,(0,ve.__)("Get started","microsoft-start"),(0,ve.__)("Set up payment account","microsoft-start"),(0,ve.__)("A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),(0,ve.__)("Set up payment account","microsoft-start"),yr.InProgress,(0,ve.__)("In progress","microsoft-start"),(0,ve.__)("Payment account under review","microsoft-start"),(0,ve.__)("This may take several business days to complete.","microsoft-start"),(0,ve.__)("See details","microsoft-start"),yr.Failed,(0,ve.__)("Needs attention","microsoft-start"),(0,ve.__)("Error with payment account","microsoft-start"),(0,ve.__)("Check the information you provided to activate this account.","microsoft-start"),(0,ve.__)("See details","microsoft-start");function Cr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ar(){var e=Cr(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 80px;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"]);return Ar=function(){return e},e}function kr(){var e=Cr(["\n font-size: 24px;\n line-height: 32px;\n margin-top: 36px;\n"]);return kr=function(){return e},e}var xr=Gt.div(Ar()),Er=Gt.h1(kr());function Pr(){return n().createElement(xr,null,n().createElement("img",{src:ie}),n().createElement(Er,null,(0,ve.__)("Connecting...","microsoft-start")))}var Or=function(){var t=V(),r=t.redeemCode,o=t.sharePastPosts,a=t.sharePastPostsStartDate;return(0,e.useEffect)((function(){var e;(e={redeemCode:r,sharePastPosts:o,sharePastPostsStartDate:a},ge("../?rest_route=/microsoft/v1/redeemCode",{method:"POST",body:JSON.stringify(e)})).then((function(){var e,t;e="__msn_onboardingStage",t=mr.StageOne.toString(),localStorage.setItem(e,t),window.opener?(window.opener.location.reload(),window.close()):window.location.href=window.location.href.slice(0,window.location.href.indexOf("#"))}))}),[r,o,a]),n().createElement(Pr,null)};const Ir=window.wp.components;function Tr(){var e,t,r=(e=["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 80px;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Tr=function(){return r},r}var Rr=Gt.div(Tr());function jr(){var e=V();return n().createElement(Rr,null,n().createElement("span",null,e.errorMessage),n().createElement(Ir.Button,{isPrimary:!0,onClick:function(){return window.close()}},"Close"))}function $r(){var e,t,r=(e=["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return $r=function(){return r},r}var Nr=Gt.div($r());function Fr(){return n().createElement(Nr,null,n().createElement(ne,null,n().createElement(te,null,n().createElement(Q,{path:"",element:n().createElement(K,{to:"/",replace:!0})}),n().createElement(Q,{path:"redeem_code=:redeemCode&share_past_posts=:sharePastPosts",element:n().createElement(Or,null)}),n().createElement(Q,{path:"error_code=:errorCode&error_message=:errorMessage",element:n().createElement(jr,null)}),n().createElement(Q,{path:"*",element:n().createElement(n().Fragment,null,"Unknown Route",n().createElement(jr,null))}))))}var Dr=document.getElementById("msn-callback");null!==Dr&&ae().render(n().createElement(Fr,null),Dr)})()})(); +(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=c(t),m=c(r),g=0;g{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=i(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case c:return e;default:return t}}case o:return t}}}function _(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||S(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===i},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=S},237:(e,t,r)=>{"use strict";e.exports=r(198)},841:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,a=60108,i=60114,s=60109,c=60110,l=60112,u=60113,d=60120,f=60115,p=60116,h=60121,m=60122,g=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),a=b("react.strict_mode"),i=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),p=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===i||e===v||e===a||e===u||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case i:case a:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case p:case f:case s:return e;default:return t}}case n:return t}}}},679:(e,t,r)=>{"use strict";e.exports=r(841)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.p="/wp-content/plugins/microsoft-start/assets/js/",r.nc=void 0,(()=>{"use strict";const e=window.React;var t,n=r.n(e);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var l;function u(e,t,r){void 0===r&&(r="/");let n=v(("string"==typeof t?c(t):t).pathname||"/",r);if(null==n)return null;let o=d(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let e=0;null==a&&e{let a={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(y(a.relativePath.startsWith(n),'Absolute route path "'+a.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(n.length));let i=w([n,a.relativePath]),s=r.concat(a);e.children&&e.children.length>0&&(y(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),d(e.children,t,s,i)),(null!=e.path||e.index)&&t.push({path:i,score:h(i,e.index),routesMeta:s})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(l||(l={}));const f=/^:\w+$/,p=e=>"*"===e;function h(e,t){let r=e.split("/"),n=r.length;return r.some(p)&&(n+=-2),t&&(n+=2),r.filter((e=>!p(e))).reduce(((e,t)=>e+(f.test(t)?3:""===t?1:10)),n)}function m(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e(n.push(t),"([^\\/]+)")));return e.endsWith("*")?(n.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=r?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return b(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function v(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function y(e,t){if(!1===e||null==e)throw new Error(t)}function b(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}const w=e=>e.join("/").replace(/\/\/+/g,"/"),S=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",C=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class A extends Error{}class k{constructor(e,t,r){this.status=e,this.statusText=t||"",this.data=r}}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t")))}class W extends e.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?e.createElement(L.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function G(t){let{routeContext:r,match:n,children:o}=t,a=e.useContext(j);return a&&n.route.errorElement&&(a._deepestRenderedBoundaryId=n.route.id),e.createElement(M.Provider,{value:r},o)}var V,H;function q(t){let{to:r,replace:n,state:a,relative:i}=t;z()||y(!1);let s=e.useContext(N),l=function(){z()||y(!1);let{basename:t,navigator:r}=e.useContext(F),{matches:n}=e.useContext(M),{pathname:a}=B(),i=JSON.stringify(function(e){return e.filter(((t,r)=>0===r||!t.route.index&&t.pathnameBase!==e[r-1].pathnameBase))}(n).map((e=>e.pathnameBase))),s=e.useRef(!1);return e.useEffect((()=>{s.current=!0})),e.useCallback((function(e,n){if(void 0===n&&(n={}),!s.current)return;if("number"==typeof e)return void r.go(e);let l=function(e,t,r,n){void 0===n&&(n=!1);let a,i="string"==typeof e?c(e):o({},e),s=""===e||""===i.pathname,l=s?"/":i.pathname;if(n||null==l)a=r;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?c(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:_(n),hash:C(o)}}(i,a),d=l&&"/"!==l&&l.endsWith("/"),f=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}(e,JSON.parse(i),a,"path"===n.relative);"/"!==t&&(l.pathname="/"===l.pathname?t:w([t,l.pathname])),(n.replace?r.replace:r.push)(l,n.state,n)}),[t,r,i,a])}();return e.useEffect((()=>{s&&"idle"!==s.navigation.state||l(r,{replace:n,state:a,relative:i})})),null}function X(e){y(!1)}function J(r){let{basename:n="/",children:o=null,location:a,navigationType:i=t.Pop,navigator:s,static:l=!1}=r;z()&&y(!1);let u=n.replace(/^\/*/,"/"),d=e.useMemo((()=>({basename:u,navigator:s,static:l})),[u,s,l]);"string"==typeof a&&(a=c(a));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:g="default"}=a,b=e.useMemo((()=>{let e=v(f,u);return null==e?null:{pathname:e,search:p,hash:h,state:m,key:g}}),[u,f,p,h,m,g]);return null==b?null:e.createElement(F.Provider,{value:d},e.createElement(D.Provider,{children:o,value:{location:b,navigationType:i}}))}function Z(r){let{children:n,location:o}=r,a=e.useContext($);return function(r,n){z()||y(!1);let o=e.useContext(N),{matches:a}=e.useContext(M),i=a[a.length-1],s=i?i.params:{},l=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let d,f=B();if(n){var p;let e="string"==typeof n?c(n):n;"/"===l||(null==(p=e.pathname)?void 0:p.startsWith(l))||y(!1),d=e}else d=f;let h=d.pathname||"/",m=u(r,{pathname:"/"===l?h:h.slice(l.length)||"/"}),g=function(t,r,n){if(void 0===r&&(r=[]),null==t){if(null==n||!n.errors)return null;t=n.matches}let o=t,a=null==n?void 0:n.errors;if(null!=a){let e=o.findIndex((e=>e.route.id&&(null==a?void 0:a[e.route.id])));e>=0||y(!1),o=o.slice(0,Math.min(o.length,e+1))}return o.reduceRight(((t,i,s)=>{let c=i.route.id?null==a?void 0:a[i.route.id]:null,l=n?i.route.errorElement||e.createElement(Y,null):null,u=()=>e.createElement(G,{match:i,routeContext:{outlet:t,matches:r.concat(o.slice(0,s+1))}},c?l:void 0!==i.route.element?i.route.element:t);return n&&(i.route.errorElement||0===s)?e.createElement(W,{location:n.location,component:l,error:c,children:u()}):u()}),null)}(m&&m.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:w([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:w([l,e.pathnameBase])}))),a,o||void 0);return n?e.createElement(D.Provider,{value:{location:x({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:t.Pop}},g):g}(a&&!n?a.router.routes:Q(n),o)}!function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(V||(V={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(H||(H={})),new Promise((()=>{}));class K extends e.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,o=H.pending;if(r instanceof Promise)if(this.state.error){H.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?void 0!==n._error?H.error:void 0!==n._data?H.success:H.pending:(H.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else H.success,Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(o===H.error&&n._error instanceof AbortedDeferredError)throw neverSettledPromise;if(o===H.error&&!t)throw n._error;if(o===H.error)return React.createElement(AwaitContext.Provider,{value:n,children:t});if(o===H.success)return React.createElement(AwaitContext.Provider,{value:n,children:e});throw n}}function Q(t,r){void 0===r&&(r=[]);let n=[];return e.Children.forEach(t,((t,o)=>{if(!e.isValidElement(t))return;if(t.type===e.Fragment)return void n.push.apply(n,Q(t.props.children,r));t.type!==X&&y(!1);let a=[...r,o],i={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,hasErrorBoundary:null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle};t.props.children&&(i.children=Q(t.props.children,a)),n.push(i)})),n}function ee(r){let{basename:n,children:o,window:l}=r,u=e.useRef();var d;null==u.current&&(u.current=(void 0===(d={window:l,v5Compat:!0})&&(d={}),function(e,r,n,o){void 0===o&&(o={});let{window:c=document.defaultView,v5Compat:l=!1}=o,u=c.history,d=t.Pop,f=null;function p(){d=t.Pop,f&&f({action:d,location:h.location})}let h={get action(){return d},get location(){return e(c,u)},listen(e){if(f)throw new Error("A history only accepts one active listener");return c.addEventListener(a,p),f=e,()=>{c.removeEventListener(a,p),f=null}},createHref:e=>r(c,e),push:function(e,r){d=t.Push;let o=s(h.location,e,r);null==n||n(o,e);let a=i(o),p=h.createHref(o);try{u.pushState(a,"",p)}catch(e){c.location.assign(p)}l&&f&&f({action:d,location:o})},replace:function(e,r){d=t.Replace;let o=s(h.location,e,r);null==n||n(o,e);let a=i(o),c=h.createHref(o);u.replaceState(a,"",c),l&&f&&f({action:d,location:o})},go:e=>u.go(e)};return h}((function(e,t){var r,n;let{pathname:o="/",search:a="",hash:i=""}=c(e.location.hash.substr(1));return s("",{pathname:o,search:a,hash:i},(null==(r=t.state)?void 0:r.usr)||null,(null==(n=t.state)?void 0:n.key)||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:function(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}(t))}),(function(e,t){!function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),d)));let f=u.current,[p,h]=e.useState({action:f.action,location:f.location});return e.useLayoutEffect((()=>f.listen(h)),[f]),e.createElement(J,{basename:n,children:o,location:p.location,navigationType:p.action,navigator:f})}const te=window.ReactDOM;var re=r.n(te);const ne=r.p+"images/connecting.47f359c4.png";function oe(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function ae(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){oe(a,n,o,i,s,"next",e)}function s(e){oe(a,n,o,i,s,"throw",e)}i(void 0)}))}}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function se(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1&&void 0!==o[1]?o[1]:{},r=o.length>2&&void 0!==o[2]?o[2]:fe,r=se({},fe,r),n=r.retryCounts,[2,new Promise((function(o,a){var i=function(){var s=ae((function(){return ue(this,(function(s){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),se({},de,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,i()):a(e)})),[2]}))}));return function(){return s.apply(this,arguments)}}();i()}))]}))})),function(e){return le.apply(this,arguments)});const he=window.wp.i18n;var me=r(679),ge=r(631),ve=r.n(ge);const ye=function(e){function t(e,n,c,l,f){for(var p,h,m,g,w,_=0,C=0,A=0,k=0,x=0,R=0,$=m=p=0,F=0,D=0,M=0,L=0,z=c.length,B=z-1,U="",Y="",W="",G="";Fp)&&(L=(U=U.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var De=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&Fe(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a=ze&&(ze=t+1),Me.set(e,t),Le.set(t,e)},We="style["+je+'][data-styled-version="5.3.6"]',Ge=new RegExp("^"+je+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Ve=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(je))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(je,"active"),n.setAttribute("data-styled-version","5.3.6");var i=qe();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},Je=function(){function e(e){var t=this.element=Xe(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),rt=/(a)(d)/gi,nt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ot(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=nt(t%52)+r;return(nt(t%52)+r).replace(rt,"$1-$2")}var at=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},it=function(e){return at(5381,e)};function st(e){for(var t=0;t>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=at(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),ut=/^\s*\/\/.*$/gm,dt=[":","[",".","#"];function ft(e){var t,r,n,o,a=void 0===e?Oe:e,i=a.options,s=void 0===i?Oe:i,c=a.plugins,l=void 0===c?Pe:c,u=new ye(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,a){return 0===n&&-1!==dt.indexOf(a[r.length])||a.match(o)?e:"."+t};function h(e,a,i,s){void 0===s&&(s="&");var c=e.replace(ut,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(i||!a?"":a,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||Fe(15),at(e,t.name)}),5381).toString():"",h}var pt=n().createContext(),ht=(pt.Consumer,n().createContext()),mt=(ht.Consumer,new tt),gt=ft();function vt(){return(0,e.useContext)(pt)||mt}function yt(t){var r=(0,e.useState)(t.stylisPlugins),o=r[0],a=r[1],i=vt(),s=(0,e.useMemo)((function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),c=(0,e.useMemo)((function(){return ft({options:{prefix:!t.disableVendorPrefixes},plugins:o})}),[t.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){ve()(o,t.stylisPlugins)||a(t.stylisPlugins)}),[t.stylisPlugins]),n().createElement(pt.Provider,{value:s},n().createElement(ht.Provider,{value:c},t.children))}var bt=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=gt);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return Fe(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=gt),this.name+e.hash},e}(),wt=/([A-Z])/,St=/([A-Z])/g,_t=/^ms-/,Ct=function(e){return"-"+e.toLowerCase()};function At(e){return wt.test(e)?e.replace(St,Ct).replace(_t,"-ms-"):e}var kt=function(e){return null==e||!1===e||""===e};function xt(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,It=/(^-|-$)/g;function Tt(e){return e.replace(Ot,"-").replace(It,"")}function Rt(e){return"string"==typeof e&&!0}var jt=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},$t=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Nt(e,t,r){var n=e[r];jt(t)&&jt(n)?Ft(n,t):e[r]=t}function Ft(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n>>0)}("5.3.6"+r+Mt[r]);return t?t+"-"+n:n}(r.displayName,r.parentComponentId):l,d=r.displayName,f=void 0===d?function(e){return Rt(e)?"styled."+e:"Styled("+Te(e)+")"}(t):d,p=r.displayName&&r.componentId?Tt(r.displayName)+"-"+r.componentId:r.componentId||u,h=a&&t.attrs?Array.prototype.concat(t.attrs,c).filter(Boolean):c,m=r.shouldForwardProp;a&&t.shouldForwardProp&&(m=r.shouldForwardProp?function(e,n,o){return t.shouldForwardProp(e,n,o)&&r.shouldForwardProp(e,n,o)}:t.shouldForwardProp);var g,v=new lt(o,p,a?t.componentStyle:void 0),y=v.isStatic&&0===c.length,b=function(t,r){return function(t,r,n,o){var a=t.attrs,i=t.componentStyle,s=t.defaultProps,c=t.foldedComponentIds,l=t.shouldForwardProp,u=t.styledComponentId,d=t.target,f=function(e,t,r){void 0===e&&(e=Oe);var n=ke({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in Ie(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}(function(e,t,r){return void 0===r&&(r=Oe),e.theme!==r.theme&&e.theme||t||r.theme}(r,(0,e.useContext)(Dt),s)||Oe,r,a),p=f[0],h=f[1],m=function(t,r,n,o){var a=vt(),i=(0,e.useContext)(ht)||gt;return r?t.generateAndInjectStyles(Oe,a,i):t.generateAndInjectStyles(n,a,i)}(i,o,p),g=n,v=h.$as||r.$as||h.as||r.as||d,y=Rt(v),b=h!==r?ke({},r,{},h):r,w={};for(var S in b)"$"!==S[0]&&"as"!==S&&("forwardedAs"===S?w.as=b[S]:(l?l(S,Se,v):!y||Se(S))&&(w[S]=b[S]));return r.style&&h.style!==r.style&&(w.style=ke({},r.style,{},h.style)),w.className=Array.prototype.concat(c,u,m!==u?m:null,r.className,h.className).filter(Boolean).join(" "),w.ref=g,(0,e.createElement)(v,w)}(g,t,r,y)};return b.displayName=f,(g=n().forwardRef(b)).attrs=h,g.componentStyle=v,g.displayName=f,g.shouldForwardProp=m,g.foldedComponentIds=a?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):Pe,g.styledComponentId=p,g.target=a?t.target:t,g.withComponent=function(e){var t=r.componentId,n=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(Rt(e)?e:Tt(Te(e)));return Lt(e,ke({},n,{attrs:h,componentId:a}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?Ft({},t.defaultProps,e):e}}),g.toString=function(){return"."+g.styledComponentId},i&&Ce()(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var zt,Bt=function(e){return function e(t,r,n){if(void 0===n&&(n=Oe),!(0,me.isValidElementType)(r))return Fe(1,String(r));var o=function(){return t(r,n,Pt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,ke({},n,{},o))},o.attrs=function(o){return e(t,r,ke({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Lt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Bt[e]=Bt(e)})),(zt=function(e,t){this.rules=e,this.componentId=t,this.isStatic=st(e),tt.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,r,n){var o=n(xt(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},zt.removeStyles=function(e,t){t.clearRules(this.componentId+e)},zt.renderStyles=function(e,t,r,n){e>2&&tt.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=qe();return""},this.getStyleTags=function(){return e.sealed?Fe(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Fe(2);var r=((t={})[je]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=qe();return o&&(r.nonce=o),[n().createElement("style",ke({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tt({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?Fe(2):n().createElement(yt,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return Fe(3)}}();const Ut=Bt;var Yt,Wt,Gt,Vt,Ht,qt,Xt,Jt,Zt,Kt,Qt,er,tr,rr,nr,or,ar,ir,sr,cr,lr,ur,dr,fr,pr,hr,mr,gr=function(e){var t,r,n,o,a,i,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c="".concat("https://www.msn.com/").concat(null!==(i=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==i?i:"en-us","/partnerhub").concat(null!=e?e:""),l=null===(r=window.msn_dashboard_render_status)||void 0===r||null===(n=r.profile)||void 0===n?void 0:n.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(a=o.profile)||void 0===a?void 0:a.accountId;return l&&!(null==e?void 0:e.includes("#"))&&(c+="#fromwp=true",c+="&partnerid=".concat(l),u&&(c+="&brandid=".concat(s?"all":u))),c},vr=((0,he.__)("Payment account required. {delimiter}Enter account information to receive payments.","microsoft-start"),(0,he.__)("Payment account error. {delimiter}Error in payment account. Fix to continue.","microsoft-start"),(0,he.__)("Payment account under review. {delimiter}Your payment account is under review. This may take several business days.","microsoft-start"),(0,he.__)("Payment account set up successfully. {delimiter}Your payment account is active","microsoft-start"),(0,he.__)("Your payment account is temporary active. {delimiter}Additional information needed for your payment account.","microsoft-start"),(0,he.__)("Your brand is under review.{delimiter}Your brand profile is under review. This may take up to 5 business days.","microsoft-start"),(0,he.__)("Enable Reader support.{delimiter}You have not enabled reader support for your business.","microsoft-start"),(0,he.__)("Account is under review.{delimiter}We are reviewing your account and this can take up two business days complete normally.","microsoft-start"),(0,he.__)("Account didn’t pass our review.{delimiter}Your account didn’t pass our review. You can contact us for the support.","microsoft-start"),(0,he.__)("Brand didn’t pass review.{delimiter}Your brand profile didn’t pass our review.","microsoft-start"),(0,he.__)("Profile change didn’t pass review.{delimiter}Your brand profile didn’t pass our review. Please edit the brand profile under settings and resubmit the request.","microsoft-start"),(0,he.__)("A payment account is required. {delimiter}A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),(0,he.__)("A payment account is required. {delimiter}A payment account has not been added by your organization. This is required for publishing.","microsoft-start"),(0,he.__)("Your account didn't pass review.{delimiter}","microsoft-start"),(0,he.__)("Monthly Revenue Statement Available{delimiter}Your partner revenue statement is available to download. Please note that only partner-level admins can access.","microsoft-start"),(0,he.__)("Account didn’t pass review:{delimiter} There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),(0,he.__)("This brand is currently suspended by Microsoft Start.{delimiter} Content, settings, and feed can still be viewed, but can't be changed.","microsoft-start"),{detail:(0,he.__)("Detail","microsoft-start"),setUpPaymentAccount:(0,he.__)("Set up a payment account","microsoft-start"),enableTipping:(0,he.__)("Enable it now","microsoft-start"),viewProfile:(0,he.__)("View detail","microsoft-start"),addAccount:(0,he.__)("Add account","microsoft-start"),seeDetails:(0,he.__)("See details","microsoft-start"),view:(0,he.__)("View","microsoft-start"),contactSupport:(0,he.__)("Contact support","microsoft-start")});gr("/monetization/options"),gr("/monetization/payment-setting",!0),gr("/setting/brand/profile"),gr("/setting/revetting",!0),gr("/monetization/earning-report/ad-revenue",!0);function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}vr.setUpPaymentAccount,vr.detail,vr.enableTipping,vr.viewProfile,vr.addAccount,vr.seeDetails,vr.view,vr.contactSupport,vr.contactSupport,vr.contactSupport,function(e){e[e.Initial=0]="Initial",e[e.Processing=1]="Processing",e[e.Success=2]="Success",e[e.Failed=3]="Failed"}(Yt||(Yt={})),function(e){e.EditorMode="editor",e.FeedMode="feed"}(Wt||(Wt={})),function(e){e.Uncategorized="Uncategorized",e.Autos="Autos",e.Entertainment="Entertainment",e.Finance="Finance",e.FoodAndDrink="Food & Drink",e.HealthAndFitness="Health & Fitness",e.Lifestyle="Lifestyle",e.News="News",e.Sports="Sports",e.Travel="Travel",e.Video="Video",e.Weather="Weather"}(Gt||(Gt={})),function(e){e.Empty="Empty",e.Yes="Yes",e.No="No"}(Vt||(Vt={})),yr(Ht={},Vt.Yes,(0,he.__)("Yes, content is local","microsoft-start")),yr(Ht,Vt.No,(0,he.__)("No, content isn't local","microsoft-start")),yr(qt={},Vt.Empty,(0,he.__)("Select one","microsoft-start")),yr(qt,Vt.Yes,(0,he.__)("Yes, this feed includes AI Assisted Content","microsoft-start")),yr(qt,Vt.No,(0,he.__)("No, this feed does not include AI Assisted Content","microsoft-start")),function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.FailedModeration=2]="FailedModeration"}(Xt||(Xt={})),function(e){e[e.Initial=0]="Initial",e[e.Success=200]="Success",e[e.Failed=500]="Failed",e[e.DisabledByInternal=2]="DisabledByInternal",e[e.DecommissionedByInternal=3]="DecommissionedByInternal"}(Jt||(Jt={})),(cr=tr||(tr={}))[cr.Active=0]="Active",cr[cr.PendingReview=1]="PendingReview",cr[cr.VettingFailed=2]="VettingFailed",cr[cr.Shutdown=3]="Shutdown",cr[cr.Suspended=4]="Suspended",(sr=rr||(rr={}))[sr.NotScreened=0]="NotScreened",sr[sr.Pass=1]="Pass",sr[sr.Fail=2]="Fail",sr[sr.UnderReview=3]="UnderReview",sr[sr.DataIssue=4]="DataIssue",function(e){e[e.NotExist=0]="NotExist",e[e.Active=1]="Active"}(nr||(nr={})),function(e){e[e.Creator=0]="Creator",e[e.Publisher=2]="Publisher"}(or||(or={})),function(e){e[e.None=0]="None",e[e.Appealing=1]="Appealing",e[e.AppealFailed=2]="AppealFailed",e[e.AppealRejected=3]="AppealRejected"}(ar||(ar={})),function(e){e[e.Active=0]="Active",e[e.Suspended=1]="Suspended",e[e.Terminated=2]="Terminated",e[e.PendingReview=3]="PendingReview",e[e.FailedModeration=4]="FailedModeration"}(ir||(ir={})),(null===(Zt=window.msn_dashboard_render_status)||void 0===Zt||null===(Kt=Zt.profile)||void 0===Kt?void 0:Kt.lifeCycleStatus)===ir.Suspended||(null===(Qt=window.msn_dashboard_render_status)||void 0===Qt||null===(er=Qt.profile)||void 0===er||er.partnerStatus,tr.Suspended),br(lr={},Vt.Empty,(0,he.__)("Select one","microsoft-start")),br(lr,Vt.Yes,(0,he.__)("Yes, it is AI Assisted Content","microsoft-start")),br(lr,Vt.No,(0,he.__)("No, it is not AI Assisted Content","microsoft-start")),function(e){e[e.StageZero=0]="StageZero",e[e.StageOne=1]="StageOne",e[e.StageTwo=2]="StageTwo",e[e.StageThree=3]="StageThree"}(fr||(fr={})),function(e){e[e.NOT_SET=0]="NOT_SET",e[e.PENDING=1]="PENDING",e[e.INVALID=2]="INVALID",e[e.ACTIVE_NEED_MORE_INFO=3]="ACTIVE_NEED_MORE_INFO",e[e.ACTIVE=4]="ACTIVE"}(pr||(pr={})),function(e){e[e.PASS=0]="PASS",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.FAIL=2]="FAIL"}(hr||(hr={})),function(e){e.GetStarted="getStarted",e.InProgress="inProgress",e.Completed="completed",e.Failed="failed",e.NeedsAttention="needsAttention"}(mr||(mr={})),mr.Completed,(0,he.__)("Completed","microsoft-start"),(0,he.__)("Account approved","microsoft-start"),(0,he.__)("The business information provided has passed our review.","microsoft-start"),mr.InProgress,(0,he.__)("In progress","microsoft-start"),(0,he.__)("Account under review","microsoft-start"),(null===(ur=window.msn_dashboard_render_status)||void 0===ur||null===(dr=ur.profile)||void 0===dr?void 0:dr.accountType)===or.Publisher?(0,he.__)("It may take up to 10 business days to verify the business information.","microsoft-start"):(0,he.__)("This should only take a few minutes.","microsoft-start"),(0,he.__)("Learn more","microsoft-start"),mr.Failed,(0,he.__)("Failed","microsoft-start"),(0,he.__)("Account didn't pass review","microsoft-start"),(0,he.__)("Additional business information is needed to continue.","microsoft-start"),(0,he.__)("See details","microsoft-start"),mr.Failed,(0,he.__)("Failed","microsoft-start"),(0,he.__)("Account didn't pass review","microsoft-start"),(0,he.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),(0,he.__)("Contact support","microsoft-start"),mr.Completed,(0,he.__)("Completed","microsoft-start"),(0,he.__)("Brand profile approved","microsoft-start"),(0,he.__)("The business information you provided has been verified.","microsoft-start"),mr.InProgress,(0,he.__)("In progress","microsoft-start"),(0,he.__)("Brand profile under review","microsoft-start"),(0,he.__)("This can take up to 5 business days to complete.","microsoft-start"),(0,he.__)("See details","microsoft-start"),mr.Failed,(0,he.__)("Failed","microsoft-start"),(0,he.__)("Brand profile didn't pass review","microsoft-start"),(0,he.__)("Additional information is needed to continue.","microsoft-start"),(0,he.__)("See details","microsoft-start"),mr.Completed,(0,he.__)("Completed","microsoft-start"),(0,he.__)("Payment account active","microsoft-start"),(0,he.__)("This account can now receive payments from Microsoft.","microsoft-start"),mr.NeedsAttention,(0,he.__)("Needs attention","microsoft-start"),(0,he.__)("Issue with payment account","microsoft-start"),(0,he.__)("Additional information is needed to activate this account.","microsoft-start"),(0,he.__)("Update","microsoft-start"),mr.GetStarted,(0,he.__)("Get started","microsoft-start"),(0,he.__)("Set up payment account","microsoft-start"),(0,he.__)("A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),(0,he.__)("Set up payment account","microsoft-start"),mr.InProgress,(0,he.__)("In progress","microsoft-start"),(0,he.__)("Payment account under review","microsoft-start"),(0,he.__)("This may take several business days to complete.","microsoft-start"),(0,he.__)("See details","microsoft-start"),mr.Failed,(0,he.__)("Needs attention","microsoft-start"),(0,he.__)("Error with payment account","microsoft-start"),(0,he.__)("Check the information you provided to activate this account.","microsoft-start"),(0,he.__)("See details","microsoft-start");function wr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sr(){var e=wr(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 80px;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"]);return Sr=function(){return e},e}function _r(){var e=wr(["\n font-size: 24px;\n line-height: 32px;\n margin-top: 36px;\n"]);return _r=function(){return e},e}var Cr=Ut.div(Sr()),Ar=Ut.h1(_r());function kr(){return n().createElement(Cr,null,n().createElement("img",{src:ne}),n().createElement(Ar,null,(0,he.__)("Connecting...","microsoft-start")))}var xr=function(){var t=U(),r=t.redeemCode,o=t.sharePastPosts,a=t.sharePastPostsStartDate;return(0,e.useEffect)((function(){var e;(e={redeemCode:r,sharePastPosts:o,sharePastPostsStartDate:a},pe("../?rest_route=/microsoft/v1/redeemCode",{method:"POST",body:JSON.stringify(e)})).then((function(){var e,t;e="__msn_onboardingStage",t=fr.StageOne.toString(),localStorage.setItem(e,t),window.opener?(window.opener.location.reload(),window.close()):window.location.href=window.location.href.slice(0,window.location.href.indexOf("#"))}))}),[r,o,a]),n().createElement(kr,null)};const Er=window.wp.components;function Pr(){var e,t,r=(e=["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 80px;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Pr=function(){return r},r}var Or=Ut.div(Pr());function Ir(){var e=U();return n().createElement(Or,null,n().createElement("span",null,e.errorMessage),n().createElement(Er.Button,{isPrimary:!0,onClick:function(){return window.close()}},"Close"))}function Tr(){var e,t,r=(e=["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Tr=function(){return r},r}var Rr=Ut.div(Tr());function jr(){return n().createElement(Rr,null,n().createElement(ee,null,n().createElement(Z,null,n().createElement(X,{path:"",element:n().createElement(q,{to:"/",replace:!0})}),n().createElement(X,{path:"redeem_code=:redeemCode&share_past_posts=:sharePastPosts",element:n().createElement(xr,null)}),n().createElement(X,{path:"error_code=:errorCode&error_message=:errorMessage",element:n().createElement(Ir,null)}),n().createElement(X,{path:"*",element:n().createElement(n().Fragment,null,"Unknown Route",n().createElement(Ir,null))}))))}var $r=document.getElementById("msn-callback");null!==$r&&re().render(n().createElement(jr,null),$r)})()})(); //# sourceMappingURL=callback.js.map \ No newline at end of file diff --git a/wp-content/plugins/microsoft-start/assets/js/dashboard.asset.php b/wp-content/plugins/microsoft-start/assets/js/dashboard.asset.php index 20ee95cfc..698b8f134 100644 --- a/wp-content/plugins/microsoft-start/assets/js/dashboard.asset.php +++ b/wp-content/plugins/microsoft-start/assets/js/dashboard.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => 'f6b0e8176948a321b99a'); + array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => '54e7d94eb8c34cf415ce'); diff --git a/wp-content/plugins/microsoft-start/assets/js/dashboard.js b/wp-content/plugins/microsoft-start/assets/js/dashboard.js index d7083cd9c..c7c19a665 100644 --- a/wp-content/plugins/microsoft-start/assets/js/dashboard.js +++ b/wp-content/plugins/microsoft-start/assets/js/dashboard.js @@ -1,2 +1,2 @@ -(()=>{var e={220:(e,t,n)=>{var r={"./status-completed.png":722,"./status-failed.png":923,"./status-inProgress.png":137,"./status-warning.png":847};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=220},178:(e,t)=>{t["Stage2Card Snapshot 1"]='\n\n \n \n Test\n
\n \n subtitle\n \n \n buttonText\n \n\n'},169:(e,t,n)=>{var r={"./__snapshots__/stage2-card.test.tsx.snap":178,"./stage2-card":624,"./stage2-card.module.scss":110,"./stage2-card.test":606,"./stage2-card.test.tsx":606,"./stage2-card.tsx":624,"./stage2-pic1.png":781,"./stage2-pic2.png":317,"./stage2-pic3.png":49};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=169},875:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,a),r(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}h(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&h(e,"error",t,{once:!0})}(e,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,a,i,c;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"==typeof i?i=a[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(o=s(e))>0&&i.length>o&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function d(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(i=t[0]),i instanceof Error)throw i;var l=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw l.context=i,l}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)r(s,this,t);else{var c=s.length,u=p(s,c);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},535:(e,t,n)=>{"use strict";var r=n(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=m(n);o&&o!==p&&e(t,o,r)}var i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),g=0;g{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,m=Math.min,p=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||i.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,l,s,c=0,u=!1,f=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-c>=a}function _(){var e=p();if(y(e))return w(e);l=setTimeout(_,function(e){var n=t-(e-s);return f?m(n,a-(e-c)):n}(e))}function w(e){return l=void 0,b&&r?v(e):(r=o=void 0,i)}function C(){var e=p(),n=y(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(_,t),u?v(e):i}(s);if(f)return l=setTimeout(_,t),v(s)}return void 0===l&&(l=setTimeout(_,t)),i}return t=g(t)||0,h(n)&&(u=!!n.leading,a=(f="maxWait"in n)?d(g(n.maxWait)||0,t):a,b="trailing"in n?!!n.trailing:b),C.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0},C.flush=function(){return void 0===l?i:w(p())},C}},110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={card:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__card--N0sYC",image:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__image--o7bVy",title:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__title--HqBOy",subtitle:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__subtitle--s8xJr",button:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__button--WPdcX"}},767:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,s=[],c=!1,u=-1;function f(){c&&l&&(c=!1,l.length?s=l.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=i(f);c=!0;for(var t=s.length;t;){for(l=s,s=[];++u1)for(var n=1;n{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case a:case l:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case h:case s:return e;default:return t}}case o:return t}}}function C(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return C(e)||w(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===i||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===y||e.$$typeof===_||e.$$typeof===b)},t.typeOf=w},237:(e,t,n)=>{"use strict";e.exports=n(198)},195:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===i||e===d||e===m||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case l:case i:case d:case m:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case h:case p:case s:return e;default:return t}}case o:return t}}}},357:(e,t,n)=>{"use strict";e.exports=n(195)},760:(e,t,n)=>{"use strict";e=n.nmd(e);var r=n(767),o=n(506),a=n(196),i=n(51);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}var q=[],Y=-1;function G(e){return{current:e}}function Q(e){0>Y||(e.current=q[Y],q[Y]=null,Y--)}function X(e,t){Y++,q[Y]=e.current,e.current=t}var J={},K=G(J),ee=G(!1),te=J;function ne(e,t){var n=e.type.contextTypes;if(!n)return J;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function re(e){return null!=e.childContextTypes}function oe(){Q(ee),Q(K)}function ae(e,t,n){if(K.current!==J)throw Error(l(168));X(K,t),X(ee,n)}function ie(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var a in o=o.getChildContext())if(!(a in e))throw Error(l(108,A(t)||"Unknown",a));return r({},n,o)}function le(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||J,te=K.current,X(K,e),X(ee,ee.current),!0}function se(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=ie(e,t,te),r.__reactInternalMemoizedMergedChildContext=e,Q(ee),Q(K),X(K,e)):Q(ee),X(ee,n)}var ce=null,ue=null;(0,i.unstable_now)();var fe=8;function de(e){if(0!=(1&e))return fe=15,1;if(0!=(2&e))return fe=14,2;if(0!=(4&e))return fe=13,4;var t=24&e;return 0!==t?(fe=12,t):0!=(32&e)?(fe=11,32):0!=(t=192&e)?(fe=10,t):0!=(256&e)?(fe=9,256):0!=(t=3584&e)?(fe=8,t):0!=(4096&e)?(fe=7,4096):0!=(t=4186112&e)?(fe=6,t):0!=(t=62914560&e)?(fe=5,t):67108864&e?(fe=4,67108864):0!=(134217728&e)?(fe=3,134217728):0!=(t=805306368&e)?(fe=2,t):0!=(1073741824&e)?(fe=1,1073741824):(fe=8,e)}function me(e,t){var n=e.pendingLanes;if(0===n)return fe=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=fe=15;else if(0!=(a=134217727&n)){var s=a&~i;0!==s?(r=de(s),o=fe):0!=(l&=a)&&(r=de(l),o=fe)}else 0!=(a=n&~i)?(r=de(a),o=fe):0!==l&&(r=de(l),o=fe);if(0===r)return 0;if(r=n&((0>(r=31-ye(r))?0:1<n;n++)t.push(e);return t}function ve(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-ye(t)]=n}var ye=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(_e(e)/we|0)|0},_e=Math.log,we=Math.LN2,Ce=i.unstable_runWithPriority,Se=i.unstable_scheduleCallback,Ee=i.unstable_cancelCallback,xe=i.unstable_shouldYield,ke=i.unstable_requestPaint,Ne=i.unstable_now,Oe=i.unstable_getCurrentPriorityLevel,Ae=i.unstable_ImmediatePriority,Pe=i.unstable_UserBlockingPriority,Le=i.unstable_NormalPriority,je=i.unstable_LowPriority,Me=i.unstable_IdlePriority,Ie={},Te=void 0!==ke?ke:function(){},Re=null,ze=null,De=!1,Fe=Ne(),He=1e4>Fe?Ne:function(){return Ne()-Fe};function Ve(){switch(Oe()){case Ae:return 99;case Pe:return 98;case Le:return 97;case je:return 96;case Me:return 95;default:throw Error(l(332))}}function Be(e){switch(e){case 99:return Ae;case 98:return Pe;case 97:return Le;case 96:return je;case 95:return Me;default:throw Error(l(332))}}function Ue(e,t){return e=Be(e),Ce(e,t)}function Ze(e,t,n){return e=Be(e),Se(e,t,n)}function $e(){if(null!==ze){var e=ze;ze=null,Ee(e)}We()}function We(){if(!De&&null!==Re){De=!0;var e=0;try{var t=Re;Ue(99,(function(){for(;ed?(m=f,f=null):m=f.sibling;var p=g(o,f,l[d],s);if(null===p){null===f&&(f=m);break}e&&f&&null===p.alternate&&t(o,f),i=a(p,i,d),null===u?c=p:u.sibling=p,u=p,f=m}if(d===l.length)return n(o,f),c;if(null===f){for(;dm?(p=d,d=null):p=d.sibling;var y=g(o,d,v.value,c);if(null===y){null===d&&(d=p);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===f?u=y:f.sibling=y,f=y,d=p}if(v.done)return n(o,d),u;if(null===d){for(;!v.done;m++,v=s.next())null!==(v=h(o,v.value,c))&&(i=a(v,i,m),null===f?u=v:f.sibling=v,f=v);return u}for(d=r(o,d);!v.done;m++,v=s.next())null!==(v=b(d,o,m,v.value,c))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===f?u=v:f.sibling=v,f=v);return e&&d.forEach((function(e){return t(o,e)})),u}return function(e,r,a,s){var c="object"==typeof a&&null!==a&&a.type===d&&null===a.key;c&&(a=a.props.children);var m="object"==typeof a&&null!==a;if(m)switch(a.$$typeof){case u:e:{for(m=a.key,c=r;null!==c;){if(c.key===m){if(7===c.tag){if(a.type===d){n(e,c.sibling),(r=o(c,a.props.children)).return=e,e=r;break e}}else if(c.elementType===a.type){n(e,c.sibling),(r=o(c,a.props)).ref=Et(e,c,a),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===d?((r=Yo(a.props.children,e.mode,s,a.key)).return=e,e=r):((s=qo(a.type,a.key,a.props,null,e.mode,s)).ref=Et(e,r,a),s.return=e,e=s)}return i(e);case f:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xo(a,e.mode,s)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Qo(a,e.mode,s)).return=e,e=r),i(e);if(St(a))return v(e,r,a,s);if(O(a))return y(e,r,a,s);if(m&&xt(e,a),void 0===a&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(l(152,A(e.type)||"Component"))}return n(e,r)}}var Nt=kt(!0),Ot=kt(!1),At={},Pt=G(At),Lt=G(At),jt=G(At);function Mt(e){if(e===At)throw Error(l(174));return e}function It(e,t){X(jt,t),X(Lt,e),X(Pt,At),Q(Pt),X(Pt,I)}function Tt(){Q(Pt),Q(Lt),Q(jt)}function Rt(e){Mt(jt.current),Mt(Pt.current)!==I&&(X(Lt,e),X(Pt,I))}function zt(e){Lt.current===e&&(Q(Pt),Q(Lt))}var Dt=G(0);function Ft(e){for(var t=e;null!==t;){if(13===t.tag){var n,r=t.memoizedState;if(n=null!==r){if(!(r=null===r.dehydrated))throw Error(l(305));if(!r)throw Error(l(305));n=r}if(n)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ht=[];function Vt(){for(var e=0;ea))throw Error(l(301));a+=1,qt=Wt=null,t.updateQueue=null,Bt.current=On,e=n(r,o)}while(Gt)}if(Bt.current=xn,t=null!==Wt&&null!==Wt.next,Zt=0,qt=Wt=$t=null,Yt=!1,t)throw Error(l(300));return e}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qt?$t.memoizedState=qt=e:qt=qt.next=e,qt}function en(){if(null===Wt){var e=$t.alternate;e=null!==e?e.memoizedState:null}else e=Wt.next;var t=null===qt?$t.memoizedState:qt.next;if(null!==t)qt=t,Wt=e;else{if(null===e)throw Error(l(310));e={memoizedState:(Wt=e).memoizedState,baseState:Wt.baseState,baseQueue:Wt.baseQueue,queue:Wt.queue,next:null},null===qt?$t.memoizedState=qt=e:qt=qt.next=e}return qt}function tn(e,t){return"function"==typeof t?t(e):t}function nn(e){var t=en(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=Wt,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var s=i=a=null,c=o;do{var u=c.lane;if((Zt&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(i=s=f,a=r):s=s.next=f,$t.lanes|=u,zr|=u}c=c.next}while(null!==c&&c!==o);null===s?a=r:s.next=i,Ye(r,t.memoizedState)||(Pn=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function rn(e){var t=en(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);Ye(a,t.memoizedState)||(Pn=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function on(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionSecondary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Zt&e)===e)&&(t._workInProgressVersionSecondary=r,Ht.push(t))),e)return n(t._source);throw Ht.push(t),Error(l(350))}function an(e,t,n,r){var o=Ar;if(null===o)throw Error(l(349));var a=t._getVersion,i=a(t._source),s=Bt.current,c=s.useState((function(){return on(o,t,n)})),u=c[1],f=c[0];c=qt;var d=e.memoizedState,m=d.refs,p=m.getSnapshot,h=d.source;d=d.subscribe;var g=$t;return e.memoizedState={refs:m,source:t,subscribe:r},s.useEffect((function(){m.getSnapshot=n,m.setSnapshot=u;var e=a(t._source);if(!Ye(i,e)){e=n(t._source),Ye(f,e)||(u(e),e=lo(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0n?98:n,(function(){e(!0)})),Ue(97Br&&(t.flags|=64,o=!0,Jn(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Ft(a))){if(t.flags|=64,o=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),Jn(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*He()-r.renderingStartTime>Br&&1073741824!==n&&(t.flags|=64,o=!0,Jn(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=He(),e.sibling=null,t=Dt.current,X(Dt,o?1&t|2:1&t),e):null;case 23:case 24:return bo(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(l(156,t.tag))}function er(e){switch(e.tag){case 1:re(e.type)&&oe();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Tt(),Q(ee),Q(K),Vt(),0!=(64&(t=e.flags)))throw Error(l(285));return e.flags=-4097&t|64,e;case 5:return zt(e),null;case 13:return Q(Dt),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return Q(Dt),null;case 4:return Tt(),null;case 10:return ot(e),null;case 23:case 24:return bo(),null;default:return null}}function tr(e,t){try{var n="",r=t;do{n+=Xe(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function nr(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Vn=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag){var r=e,o=n.stateNode,a=r.children.indexOf(o);-1!==a&&r.children.splice(a,1),r.children.push(o)}else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Bn=function(){},Un=function(e,t,n,r){e.memoizedProps!==r&&(Mt(Pt.current),t.updateQueue=T)&&(t.flags|=4)},Zn=function(e,t,n,r){n!==r&&(t.flags|=4)};var rr="function"==typeof WeakMap?WeakMap:Map;function or(e,t,n){(n=ft(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zr||(Zr=!0,$r=r),nr(0,t)},n}function ar(e,t,n){(n=ft(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return nr(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Wr?Wr=new Set([this]):Wr.add(this),nr(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ir="function"==typeof WeakSet?WeakSet:Set;function lr(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Io(e,t)}else t.current=null}function sr(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Je(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&t.stateNode.containerInfo.children.splice(0))}throw Error(l(163))}function cr(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Lo(n,e),Po(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Je(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ht(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=z(n.child.stateNode);break;case 1:e=n.child.stateNode}ht(n,t,e)}return;case 5:case 6:case 4:case 12:case 13:case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(l(163))}function ur(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;t?r.isHidden=!0:n.stateNode.isHidden=!1}else if(6===n.tag)n.stateNode.isHidden=!!t;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function fr(e,t){if(ue&&"function"==typeof ue.onCommitFiberUnmount)try{ue.onCommitFiberUnmount(ce,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Lo(t,n);else{r=t;try{o()}catch(e){Io(r,e)}}n=n.next}while(n!==e)}break;case 1:if(lr(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Io(t,e)}break;case 5:lr(t);break;case 4:br(e,t)}}function dr(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function mr(e){return 5===e.tag||3===e.tag||4===e.tag}function pr(e){e:{for(var t=e.return;null!==t;){if(mr(t))break e;t=t.return}throw Error(l(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(l(161))}16&n.flags&&(n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||mr(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?hr(e,n,t):gr(e,n,t)}function hr(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?F(n,e,t):D(n,e);else if(4!==r&&null!==(e=e.child))for(hr(e,t,n),e=e.sibling;null!==e;)hr(e,t,n),e=e.sibling}function gr(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?F(n,e,t):D(n,e);else if(4!==r&&null!==(e=e.child))for(gr(e,t,n),e=e.sibling;null!==e;)gr(e,t,n),e=e.sibling}function br(e,t){for(var n,r=t,o=!1;;){if(!o){o=r.return;e:for(;;){if(null===o)throw Error(l(160));switch(n=o.stateNode,o.tag){case 5:break e;case 3:case 4:n=n.containerInfo;break e}o=o.return}o=!0}if(5===r.tag||6===r.tag){e:for(var a=e,i=r,s=i;;)if(fr(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}i=(a=n).children.indexOf(r.stateNode),a.children.splice(i,1)}else if(4===r.tag){if(null!==r.child){n=r.stateNode.containerInfo,r.child.return=r,r=r.child;continue}}else if(fr(e,r),null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;4===(r=r.return).tag&&(o=!1)}r.sibling.return=r.return,r=r.sibling}}function vr(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var n=e.destroy;e.destroy=void 0,void 0!==n&&n()}e=e.next}while(e!==t)}return;case 1:case 3:case 12:case 17:return;case 5:if(null!=(e=t.stateNode)){n=t.memoizedProps;var r=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&(e.type=r,e.props=n)}return;case 6:if(null===t.stateNode)throw Error(l(162));return void(t.stateNode.text=t.memoizedProps);case 13:return null!==t.memoizedState&&(Vr=He(),ur(t.child,!0)),void yr(t);case 19:return void yr(t);case 23:case 24:return void ur(t,null!==t.memoizedState)}throw Error(l(163))}function yr(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ir),t.forEach((function(t){var r=Ro.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _r(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var wr=null;function Cr(t){if(null===wr)try{var n=("require"+Math.random()).slice(0,7);wr=(e&&e[n]).call(e,"timers").setImmediate}catch(e){wr=function(e){var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return wr(t)}var Sr,Er=Math.ceil,xr=c.ReactCurrentDispatcher,kr=c.ReactCurrentOwner,Nr=c.IsSomeRendererActing,Or=0,Ar=null,Pr=null,Lr=0,jr=0,Mr=G(0),Ir=0,Tr=null,Rr=0,zr=0,Dr=0,Fr=0,Hr=null,Vr=0,Br=1/0,Ur=null,Zr=!1,$r=null,Wr=null,qr=!1,Yr=null,Gr=90,Qr=[],Xr=[],Jr=null,Kr=0,eo=null,to=-1,no=0,ro=0,oo=null,ao=!1;function io(){return 0!=(48&Or)?He():-1!==to?to:to=He()}function lo(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ve()?1:2;if(0===no&&(no=Rr),0!==qe.transition){0!==ro&&(ro=null!==Hr?Hr.pendingLanes:0),e=no;var t=4186112&~ro;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Ve(),e=he(0!=(4&Or)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),no)}function so(e,t,n){if(50o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=He()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Er(n/1960))-n)){e.timeoutHandle=V(ko.bind(null,e),n);break}ko(e);break;default:throw Error(l(329))}}return uo(e,He()),e.callbackNode===t?fo.bind(null,e):null}function mo(e,t){for(t&=~Fr,t&=~Dr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ir&&(Ir=2),s=tr(s,l),d=i;do{switch(d.tag){case 3:a=s,d.flags|=4096,t&=-t,d.lanes|=t,mt(d,or(0,a,t));break e;case 1:a=s;var w=d.type,C=d.stateNode;if(0==(64&d.flags)&&("function"==typeof w.getDerivedStateFromError||null!==C&&"function"==typeof C.componentDidCatch&&(null===Wr||!Wr.has(C)))){d.flags|=4096,t&=-t,d.lanes|=t,mt(d,ar(d,a,t));break e}}d=d.return}while(null!==d)}xo(n)}catch(e){t=e,Pr===n&&null!==n&&(Pr=n=n.return);continue}break}}function _o(){var e=xr.current;return xr.current=xn,null===e?xn:e}function wo(e,t){var n=Or;Or|=16;var r=_o();for(Ar===e&&Lr===t||vo(e,t);;)try{Co();break}catch(t){yo(e,t)}if(rt(),Or=n,xr.current=r,null!==Pr)throw Error(l(261));return Ar=null,Lr=0,Ir}function Co(){for(;null!==Pr;)Eo(Pr)}function So(){for(;null!==Pr&&!xe();)Eo(Pr)}function Eo(e){var t=Sr(e.alternate,e,jr);e.memoizedProps=e.pendingProps,null===t?xo(e):Pr=t,kr.current=null}function xo(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Kn(n,t,jr)))return void(Pr=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&jr)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1He()-Vr?vo(e,0):Fr|=n),uo(e,t)}function Ro(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ve()?1:2:(0===no&&(no=Rr),0===(t=ge(62914560&~no))&&(t=4194304))),n=io(),null!==(e=co(e,t))&&(ve(e,t,n),uo(e,n))}Sr=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ee.current)Pn=!0;else{if(0==(n&r)){switch(Pn=!1,t.tag){case 3:Hn(t);break;case 5:Rt(t);break;case 1:re(t.type)&&le(t);break;case 4:It(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;X(Ke,o._currentValue2),o._currentValue2=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Wn(e,t,n):(X(Dt,1&Dt.current),null!==(t=Xn(e,t,n))?t.sibling:null);X(Dt,1&Dt.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Qn(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),X(Dt,Dt.current),r)break;return null;case 23:case 24:return t.lanes=0,Tn(e,t,n)}return Xn(e,t,n)}Pn=0!=(16384&e.flags)}else Pn=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=ne(t,K.current),it(t,n),o=Jt(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,re(r)){var a=!0;le(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ct(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&bt(t,r,i,e),o.updater=vt,t.stateNode=o,o._reactInternals=t,Ct(t,r,e,n),t=Fn(null,t,r,!0,a,n)}else t.tag=0,Ln(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return $o(e)?1:0;if(null!=e){if((e=e.$$typeof)===b)return 11;if(e===_)return 14}return 2}(o),e=Je(o,e),a){case 0:t=zn(null,t,o,e,n);break e;case 1:t=Dn(null,t,o,e,n);break e;case 11:t=jn(null,t,o,e,n);break e;case 14:t=Mn(null,t,o,Je(o.type,e),r,n);break e}throw Error(l(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,zn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 1:return r=t.type,o=t.pendingProps,Dn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 3:if(Hn(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));return r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ut(e,t),pt(t,r,null,n),(r=t.memoizedState.element)===o?t=Xn(e,t,n):(Ln(e,t,r,n),t=t.child),t;case 5:return Rt(t),r=t.pendingProps.children,Rn(e,t),Ln(e,t,r,n),t.child;case 6:return null;case 13:return Wn(e,t,n);case 4:return It(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Nt(t,null,r,n):Ln(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,jn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 7:return Ln(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ln(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var s=t.type._context;if(X(Ke,s._currentValue2),s._currentValue2=a,null!==i)if(s=i.value,0==(a=Ye(s,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,a):1073741823))){if(i.children===o.children&&!ee.current){t=Xn(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){i=s.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===s.tag&&((u=ft(-1,n&-n)).tag=2,dt(s,u)),s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),at(s.return,n),c.lanes|=n;break}u=u.next}}else i=10===s.tag&&s.type===t.type?null:s.child;if(null!==i)i.return=s;else for(i=s;null!==i;){if(i===t){i=null;break}if(null!==(s=i.sibling)){s.return=i.return,i=s;break}i=i.return}s=i}Ln(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,it(t,n),r=r(o=lt(o,a.unstable_observedBits)),t.flags|=1,Ln(e,t,r,n),t.child;case 14:return a=Je(o=t.type,t.pendingProps),Mn(e,t,o,a=Je(o.type,a),r,n);case 15:return In(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Je(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,re(r)?(e=!0,le(t)):e=!1,it(t,n),_t(t,r,o),Ct(t,r,o,n),Fn(null,t,r,!0,e,n);case 19:return Qn(e,t,n);case 23:case 24:return Tn(e,t,n)}throw Error(l(156,t.tag))};var zo=i.unstable_flushAllWithoutAsserting,Do="function"==typeof zo;function Fo(){if(void 0!==zo)return zo();for(var e=!1;Ao();)e=!0;return e}function Ho(e){try{Fo(),Cr((function(){Fo()?Ho(e):e()}))}catch(t){e(t)}}var Vo=0,Bo=!1;function Uo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Zo(e,t,n,r){return new Uo(e,t,n,r)}function $o(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wo(e,t){var n=e.alternate;return null===n?((n=Zo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qo(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)$o(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case d:return Yo(n.children,o,a,t);case S:i=8,o|=16;break;case m:i=8,o|=1;break;case p:return(e=Zo(12,n,t,8|o)).elementType=p,e.type=p,e.lanes=a,e;case v:return(e=Zo(13,n,t,o)).type=v,e.elementType=v,e.lanes=a,e;case y:return(e=Zo(19,n,t,o)).elementType=y,e.lanes=a,e;case E:return Go(n,o,a,t);case x:return(e=Zo(24,n,t,o)).elementType=x,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case h:i=10;break e;case g:i=9;break e;case b:i=11;break e;case _:i=14;break e;case w:i=16,r=null;break e;case C:i=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Zo(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Yo(e,t,n,r){return(e=Zo(7,e,r,t)).lanes=n,e}function Go(e,t,n,r){return(e=Zo(23,e,r,t)).elementType=E,e.lanes=n,e}function Qo(e,t,n){return(e=Zo(6,e,null,t)).lanes=n,e}function Xo(e,t,n){return(t=Zo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jo(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=be(0),this.expirationTimes=be(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=be(0)}function Ko(e,t,n,r){var o=t.current,a=io(),i=lo(o);e:if(n){t:{if(P(n=n._reactInternals)!==n||1!==n.tag)throw Error(l(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(re(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(l(171))}if(1===n.tag){var c=n.type;if(re(c)){n=ie(n,c,s);break e}}n=s}else n=J;return null===t.context?t.context=n:t.pendingContext=n,(t=ft(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),dt(o,t),so(o,i,a),i}var ea=c.IsSomeRendererActing,ta=function(){return null};function na(e){if(e.isHidden)return null;switch(e.tag){case"TEXT":return e.text;case"INSTANCE":var t=e.props,n=["children"];if(null==t)t={};else{var r,o={},a=Object.keys(t);for(r=0;rsa(e).length)break;return ma(e)}e=e.return}return null}},{key:"children",get:function(){return sa(this._currentFiber())}}]),e}();function ua(e,t,n){var r=!n||n.deep,o=[];return t(e)&&(o.push(e),!r)||e.children.forEach((function(e){"string"!=typeof e&&o.push.apply(o,ua(e,t,n))})),o}function fa(e,t){if(1===e.length)return e[0];throw Error((0===e.length?"No instances found ":"Expected 1 but found "+e.length+" instances ")+t)}var da=new WeakMap;function ma(e){var t=da.get(e);return void 0===t&&null!==e.alternate&&(t=da.get(e.alternate)),void 0===t&&(t=new ca(e),da.set(e,t)),t}var pa={findFiberByHostInstance:function(){throw Error("TestRenderer does not support findFiberByHostInstance()")},bundleType:0,version:"17.0.2",rendererPackageName:"react-test-renderer"},ha={bundleType:pa.bundleType,version:pa.version,rendererPackageName:pa.rendererPackageName,rendererConfig:pa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:c.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=function(e){if(!(e=j(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},findFiberByHostInstance:pa.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ga.isDisabled&&ga.supportsFiber)try{ce=ga.inject(ha),ue=ga}catch(e){}}function ba(e,t){jest.runOnlyPendingTimers(),Cr((function(){try{o.unstable_flushAllWithoutAsserting()?ba(e,t):e()}catch(e){t(e)}}))}t._Scheduler=o,t.act=function(e){function t(){Vo--,Nr.current=n}!1===Bo&&(Bo=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),Vo++;var n=Nr.current;Nr.current=!0;try{var r=ho(e)}catch(e){throw t(),e}if(null!==r&&"object"==typeof r&&"function"==typeof r.then)return{then:function(e,o){r.then((function(){1{"use strict";e.exports=n(760)},166:(e,t)=>{"use strict";var n=0,r=null,o=null,a=-1,i=null,l=-1,s=!1,c=!1,u=!1,f=!1;function d(){return!!(-1!==l&&null!==i&&i.length>=l||f&&u)&&(s=!0)}function m(){if(c)throw Error("Already flushing work.");if(null===r)return!1;var e=r;c=!0;try{var t=!0;do{t=e(!0,n)}while(t);return t||(r=null),!0}finally{c=!1}}function p(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0b(i,n))void 0!==s&&0>b(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==s&&0>b(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function b(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var v=[],y=[],_=1,w=null,C=3,S=!1,E=!1,x=!1;function k(e){for(var t=h(y);null!==t;){if(null===t.callback)g(y);else{if(!(t.startTime<=e))break;g(y),t.sortIndex=t.expirationTime,p(v,t)}t=h(y)}}function N(e){if(x=!1,k(e),!E)if(null!==h(v))E=!0,r=O;else{var t=h(y);null!==t&&(e=t.startTime-e,o=N,a=n+e)}}function O(e,t){E=!1,x&&(x=!1,o=null,a=-1),S=!0;var r=C;try{for(k(t),w=h(v);null!==w&&(!(w.expirationTime>t)||e&&!d());){var i=w.callback;if("function"==typeof i){w.callback=null,C=w.priorityLevel;var l=i(w.expirationTime<=t);t=n,"function"==typeof l?w.callback=l:w===h(v)&&g(v),k(t)}else g(v);w=h(v)}if(null!==w)var s=!0;else{var c=h(y);if(null!==c){var u=c.startTime-t;o=N,a=n+u}s=!1}return s}finally{w=null,C=r,S=!1}}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_advanceTime=function(e){"disabledLog"!==console.log.name&&(n+=e,null!==o&&a<=n&&(o(n),a=-1,o=null))},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_clearYields=function(){if(null===i)return[];var e=i;return i=null,e},t.unstable_continueExecution=function(){E||S||(E=!0,r=O)},t.unstable_flushAll=function(){if(null!==i)throw Error("Log is not empty. Assert on the log of yielded values before flushing additional work.");if(m(),null!==i)throw Error("While flushing work, something yielded a value. Use an assertion helper to assert on the log of yielded values, e.g. expect(Scheduler).toFlushAndYield([...])")},t.unstable_flushAllWithoutAsserting=m,t.unstable_flushExpired=function(){if(c)throw Error("Already flushing work.");if(null!==r){c=!0;try{r(!1,n)||(r=null)}finally{c=!1}}},t.unstable_flushNumberOfYields=function(e){if(c)throw Error("Already flushing work.");if(null!==r){var t=r;l=e,c=!0;try{e=!0;do{e=t(!0,n)}while(e&&!s);e||(r=null)}finally{l=-1,c=s=!1}}},t.unstable_flushUntilNextPaint=function(){if(c)throw Error("Already flushing work.");if(null!==r){var e=r;f=!0,u=!1,c=!0;try{var t=!0;do{t=e(!0,n)}while(t&&!s);t||(r=null)}finally{c=s=f=!1}}},t.unstable_forceFrameRate=function(){},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return h(v)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_now=function(){return n},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){u=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,t,i){var l=n;switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0l?(e.sortIndex=i,p(y,e),null===h(v)&&e===h(y)&&(x?(o=null,a=-1):x=!0,o=N,a=n+(i-l))):(e.sortIndex=s,p(v,e),E||S||(E=!0,r=O)),e},t.unstable_shouldYield=d,t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}},t.unstable_yieldValue=function(e){"disabledLog"!==console.log.name&&(null===i?i=[e]:i.push(e))}},787:(e,t)=>{"use strict";var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,g=null,b=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0x(i,n))void 0!==s&&0>x(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==s&&0>x(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],N=[],O=1,A=null,P=3,L=!1,j=!1,M=!1;function I(e){for(var t=S(N);null!==t;){if(null===t.callback)E(N);else{if(!(t.startTime<=e))break;E(N),t.sortIndex=t.expirationTime,C(k,t)}t=S(N)}}function T(e){if(M=!1,I(e),!j)if(null!==S(k))j=!0,n(R);else{var t=S(N);null!==t&&r(T,t.startTime-e)}}function R(e,n){j=!1,M&&(M=!1,o()),L=!0;var a=P;try{for(I(n),A=S(k);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=A.callback;if("function"==typeof i){A.callback=null,P=A.priorityLevel;var l=i(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?A.callback=l:A===S(k)&&E(k),I(n)}else E(k);A=S(k)}if(null!==A)var s=!0;else{var c=S(N);null!==c&&r(T,c.startTime-n),s=!1}return s}finally{A=null,P=a,L=!1}}var z=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){j||L||(j=!0,n(R))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return S(k)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0l?(e.sortIndex=i,C(N,e),null===S(k)&&e===S(N)&&(M?o():M=!0,r(T,i-l))):(e.sortIndex=s,C(k,e),j||L||(j=!0,n(R))),e},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},51:(e,t,n)=>{"use strict";e.exports=n(787)},506:(e,t,n)=>{"use strict";e.exports=n(166)},631:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s{"use strict";t.Ld=void 0;class n{static regexNumber=/{(\d+(:\w*)?)}/g;static regexObject=/{(\w+(:\w*)?)}/g;static empty="";static Empty="";static IsNullOrWhiteSpace(e){return n.isNullOrWhiteSpace(e)}static Join(e,...t){return n.join(e,...t)}static Format(e,...t){return n.format(e,...t)}static isNullOrWhiteSpace(e){try{return null==e||"undefined"==e||e.toString().replace(/\s/g,"").length<1}catch(e){return console.log(e),!1}}static join(e,...t){try{var r=t[0];if(Array.isArray(r)||r instanceof Array){let t=n.empty;for(let n=0;n{t+=o[n]+e})),t=t.slice(0,t.length-e.length)}var a=t;return n.joinString(e,...a)}catch(e){return console.log(e),n.empty}}static format(e,...t){try{return e.match(n.regexNumber)?n.formatString(n.regexNumber,e,t):e.match(n.regexObject)?n.formatString(n.regexObject,e,t,!0):e}catch(e){return console.log(e),n.empty}}static formatString(e,t,r,o=!1){return t.replace(e,(function(e,t){const a=e.split(":");let i;return 1{"use strict";var r=n(196),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),i((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},645:(e,t,n)=>{"use strict";var r=n(196),o=n(241),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=c((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var m=i(e,f[0],f[1]);return s((function(){d.hasValue=!0,d.value=m}),[m]),u(m),m}},241:(e,t,n)=>{"use strict";e.exports=n(978)},688:(e,t,n)=>{"use strict";e.exports=n(645)},606:(e,t,n)=>{"use strict";n.r(t);var r=n(197),o=n.n(r),a=n(196),i=n.n(a),l=n(624);describe("Stage2Card",(function(){it("Snapshot",(function(){var e=o().create(i().createElement(l.Stage2Card,{title:"Test",subtitle:"subtitle",buttonText:"buttonText",link:"xxx",image:"stage2-pic1.png"})).toJSON();expect(e).toMatchSnapshot()}))}))},624:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Stage2Card:()=>i});var r=n(196),o=n.n(r),a=n(110),i=function(e){var t=e.title,r=e.image,i=e.subtitle,l=e.buttonText,s=e.link;return o().createElement("div",{className:a.default.card},o().createElement("img",{className:a.default.image,src:n(169)("./".concat(r)),alt:""}),o().createElement("div",{className:a.default.title},t),o().createElement("div",{className:a.default.subtitle},i),o().createElement("div",{className:a.default.button,onClick:function(){location.href=s}},l))}},722:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-completed.d880a9fe.png"},923:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-failed.928f388b.png"},137:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-inProgress.54146764.png"},847:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-warning.5300f0a9.png"},781:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic1.9a9254df.png"},317:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic2.d7002f8d.png"},49:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic3.42bf09cf.png"},196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r](a,a.exports,n),a.loaded=!0,a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/wp-content/plugins/microsoft-start/assets/js/",n.nc=void 0,(()=>{"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var s;function c(e,t,n){void 0===n&&(n="/");let r=w(("string"==typeof t?l(t):t).pathname||"/",n);if(null==r)return null;let o=u(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let e=0;null==a&&e{let a={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(C(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let i=x([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(C(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),u(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:v(i,e.index),routesMeta:l})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(s||(s={}));const f=/^:\w+$/,d=3,m=2,p=1,h=10,g=-2,b=e=>"*"===e;function v(e,t){let n=e.split("/"),r=n.length;return n.some(b)&&(r+=g),t&&(r+=m),n.filter((e=>!b(e))).reduce(((e,t)=>e+(f.test(t)?d:""===t?p:h)),r)}function y(e,t){let{routesMeta:n}=e,r={},o="/",a=[];for(let e=0;e(r.push(t),"([^\\/]+)")));return e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=l[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return S(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l[n]||"",t),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function w(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function C(e,t){if(!1===e||null==e)throw new Error(t)}function S(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function E(t,n,r,o){void 0===o&&(o=!1);let a,i="string"==typeof t?l(t):e({},t),s=""===t||""===i.pathname,c=s?"/":i.pathname;if(o||null==c)a=r;else{let e=n.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?n[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?l(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:N(r),hash:O(o)}}(i,a),f=c&&"/"!==c&&c.endsWith("/"),d=(s||"."===c)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}const x=e=>e.join("/").replace(/\/\/+/g,"/"),k=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),N=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",O=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class A{constructor(e,t,n){this.status=e,this.statusText=t||"",this.data=n}}var P=n(196),L=n.n(P);function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t0===n||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase))}function G(){W()||C(!1);let{basename:e,navigator:t}=P.useContext(B),{matches:n}=P.useContext(Z),{pathname:r}=q(),o=JSON.stringify(Y(n).map((e=>e.pathnameBase))),a=P.useRef(!1);return P.useEffect((()=>{a.current=!0})),P.useCallback((function(n,i){if(void 0===i&&(i={}),!a.current)return;if("number"==typeof n)return void t.go(n);let l=E(n,JSON.parse(o),r,"path"===i.relative);"/"!==e&&(l.pathname="/"===l.pathname?e:x([e,l.pathname])),(i.replace?t.replace:t.push)(l,i.state,i)}),[e,t,o,r])}const Q=P.createContext(null);function X(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=P.useContext(Z),{pathname:o}=q(),a=JSON.stringify(Y(r).map((e=>e.pathnameBase)));return P.useMemo((()=>E(e,JSON.parse(a),o,"path"===n)),[e,a,o,n])}function J(){let e=function(){var e;let t=P.useContext($),n=function(e){let t=P.useContext(V);return t||C(!1),t}(te.UseRouteError),r=P.useContext(Z),o=r.matches[r.matches.length-1];return t||(r||C(!1),!o.route.id&&C(!1),null==(e=n.errors)?void 0:e[o.route.id])}(),t=e instanceof A?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unhandled Thrown Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:o},n):null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:a},"errorElement")," props on ",P.createElement("code",{style:a},"")))}class K extends P.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?P.createElement($.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function ee(e){let{routeContext:t,match:n,children:r}=e,o=P.useContext(F);return o&&n.route.errorElement&&(o._deepestRenderedBoundaryId=n.route.id),P.createElement(Z.Provider,{value:t},r)}var te,ne;function re(e){return function(e){let t=P.useContext(Z).outlet;return t?P.createElement(Q.Provider,{value:e},t):t}(e.context)}function oe(e){C(!1)}function ae(e){let{basename:n="/",children:r=null,location:o,navigationType:a=t.Pop,navigator:i,static:s=!1}=e;W()&&C(!1);let c=n.replace(/^\/*/,"/"),u=P.useMemo((()=>({basename:c,navigator:i,static:s})),[c,i,s]);"string"==typeof o&&(o=l(o));let{pathname:f="/",search:d="",hash:m="",state:p=null,key:h="default"}=o,g=P.useMemo((()=>{let e=w(f,c);return null==e?null:{pathname:e,search:d,hash:m,state:p,key:h}}),[c,f,d,m,p,h]);return null==g?null:P.createElement(B.Provider,{value:u},P.createElement(U.Provider,{children:r,value:{location:g,navigationType:a}}))}function ie(e){let{children:n,location:r}=e,o=P.useContext(H);return function(e,n){W()||C(!1);let r=P.useContext(V),{matches:o}=P.useContext(Z),a=o[o.length-1],i=a?a.params:{},s=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,f=q();if(n){var d;let e="string"==typeof n?l(n):n;"/"===s||(null==(d=e.pathname)?void 0:d.startsWith(s))||C(!1),u=e}else u=f;let m=u.pathname||"/",p=c(e,{pathname:"/"===s?m:m.slice(s.length)||"/"}),h=function(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,o=null==n?void 0:n.errors;if(null!=o){let e=r.findIndex((e=>e.route.id&&(null==o?void 0:o[e.route.id])));e>=0||C(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,a,i)=>{let l=a.route.id?null==o?void 0:o[a.route.id]:null,s=n?a.route.errorElement||P.createElement(J,null):null,c=()=>P.createElement(ee,{match:a,routeContext:{outlet:e,matches:t.concat(r.slice(0,i+1))}},l?s:void 0!==a.route.element?a.route.element:e);return n&&(a.route.errorElement||0===i)?P.createElement(K,{location:n.location,component:s,error:l,children:c()}):c()}),null)}(p&&p.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:x([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:x([s,e.pathnameBase])}))),o,r||void 0);return n?P.createElement(U.Provider,{value:{location:j({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:t.Pop}},h):h}(o&&!n?o.router.routes:le(n),r)}function le(e,t){void 0===t&&(t=[]);let n=[];return P.Children.forEach(e,((e,r)=>{if(!P.isValidElement(e))return;if(e.type===P.Fragment)return void n.push.apply(n,le(e.props.children,t));e.type!==oe&&C(!1);let o=[...t,r],a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=le(e.props.children,o)),n.push(a)})),n}function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}!function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(te||(te={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(ne||(ne={})),new Promise((()=>{})),P.Component;const ue=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],fe=["aria-current","caseSensitive","className","end","style","to","children"];function de(e){let{basename:n,children:s,window:c}=e,u=P.useRef();var f;null==u.current&&(u.current=(void 0===(f={window:c,v5Compat:!0})&&(f={}),function(e,n,i,l){void 0===l&&(l={});let{window:s=document.defaultView,v5Compat:c=!1}=l,u=s.history,f=t.Pop,d=null;function m(){f=t.Pop,d&&d({action:f,location:p.location})}let p={get action(){return f},get location(){return e(s,u)},listen(e){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(r,m),d=e,()=>{s.removeEventListener(r,m),d=null}},createHref:e=>n(s,e),push:function(e,n){f=t.Push;let r=a(p.location,e,n);null==i||i(r,e);let l=o(r),m=p.createHref(r);try{u.pushState(l,"",m)}catch(e){s.location.assign(m)}c&&d&&d({action:f,location:r})},replace:function(e,n){f=t.Replace;let r=a(p.location,e,n);null==i||i(r,e);let l=o(r),s=p.createHref(r);u.replaceState(l,"",s),c&&d&&d({action:f,location:r})},go:e=>u.go(e)};return p}((function(e,t){var n,r;let{pathname:o="/",search:i="",hash:s=""}=l(e.location.hash.substr(1));return a("",{pathname:o,search:i,hash:s},(null==(n=t.state)?void 0:n.usr)||null,(null==(r=t.state)?void 0:r.key)||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:i(t))}),(function(e,t){!function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),f)));let d=u.current,[m,p]=P.useState({action:d.action,location:d.location});return P.useLayoutEffect((()=>d.listen(p)),[d]),P.createElement(ae,{basename:n,children:s,location:m.location,navigationType:m.action,navigator:d})}const me=P.forwardRef((function(e,t){let{onClick:n,relative:r,reloadDocument:o,replace:a,state:l,target:s,to:c,preventScrollReset:u}=e,f=ce(e,ue),d=function(e,t){let{relative:n}=void 0===t?{}:t;W()||C(!1);let{basename:r,navigator:o}=P.useContext(B),{hash:a,pathname:i,search:l}=X(e,{relative:n}),s=i;return"/"!==r&&(s="/"===i?r:x([r,i])),o.createHref({pathname:s,search:l,hash:a})}(c,{relative:r}),m=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:l}=void 0===t?{}:t,s=G(),c=q(),u=X(e,{relative:l});return P.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:i(c)===i(u);s(e,{replace:n,state:o,preventScrollReset:a,relative:l})}}),[c,s,u,r,o,n,e,a,l])}(c,{replace:a,state:l,target:s,preventScrollReset:u,relative:r});return P.createElement("a",se({},f,{href:d,onClick:o?n:function(e){n&&n(e),e.defaultPrevented||m(e)},ref:t,target:s}))})),pe=P.forwardRef((function(e,t){let n,{"aria-current":r="page",caseSensitive:o=!1,className:a="",end:i=!1,style:l,to:s,children:c}=e,u=ce(e,fe),f=X(s),d=function(e){W()||C(!1);let{pathname:t}=q();return P.useMemo((()=>_(e,t)),[t,e])}({path:f.pathname,end:i,caseSensitive:o}),m=P.useContext(V),p=null==m?void 0:m.navigation.location,h=X(p||""),g=null!=P.useMemo((()=>p?_({path:f.pathname,end:i,caseSensitive:o},h.pathname):null),[p,f.pathname,o,i,h.pathname]),b=null!=d,v=b?r:void 0;n="function"==typeof a?a({isActive:b,isPending:g}):[a,b?"active":null,g?"pending":null].filter(Boolean).join(" ");let y="function"==typeof l?l({isActive:b,isPending:g}):l;return P.createElement(me,se({},u,{"aria-current":v,className:n,ref:t,style:y,to:s}),"function"==typeof c?c({isActive:b,isPending:g}):c)}));var he=n(357),ge=n(631),be=n.n(ge);const ve=function(e){function t(e,r,s,c,d){for(var m,p,h,g,_,C=0,S=0,E=0,x=0,k=0,j=0,I=h=m=0,R=0,z=0,D=0,F=0,H=s.length,V=H-1,B="",U="",Z="",$="";Rm)&&(F=(B=B.replace(" ",":")).length),0r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],01?t-1:0),r=1;r0?" Args: "+n.join(", "):""))}var Fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&De(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a=Be&&(Be=t+1),He.set(e,t),Ve.set(t,e)},We="style["+Ie+'][data-styled-version="5.3.6"]',qe=new RegExp("^"+Ie+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Ye=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Ie))return r}}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(Ie,"active"),r.setAttribute("data-styled-version","5.3.6");var i=Qe();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},Je=function(){function e(e){var t=this.element=Xe(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+",")})),r+=""+l+s+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),ot=/(a)(d)/gi,at=function(e){return String.fromCharCode(e+(e>25?39:97))};function it(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=at(t%52)+n;return(at(t%52)+n).replace(ot,"$1-$2")}var lt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},st=function(e){return lt(5381,e)};function ct(e){for(var t=0;t>>0);if(!t.hasNameForId(r,i)){var l=n(a,"."+i,void 0,r);t.insertRules(r,i,l)}o.push(i),this.staticRulesId=i}else{for(var s=this.rules.length,c=lt(this.baseHash,n.hash),u="",f=0;f>>0);if(!t.hasNameForId(r,h)){var g=n(u,"."+h,void 0,r);t.insertRules(r,h,g)}o.push(h)}}return o.join(" ")},e}(),dt=/^\s*\/\/.*$/gm,mt=[":","[",".","#"];function pt(e){var t,n,r,o,a=void 0===e?Pe:e,i=a.options,l=void 0===i?Pe:i,s=a.plugins,c=void 0===s?Ae:s,u=new ve(l),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,a,i,l,s,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),m=function(e,r,a){return 0===r&&-1!==mt.indexOf(a[n.length])||a.match(o)?e:"."+t};function p(e,a,i,l){void 0===l&&(l="&");var s=e.replace(dt,""),c=a&&i?i+" "+a+" { "+s+" }":s;return t=l,n=a,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(i||!a?"":a,c)}return u.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,m))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),p.hash=c.length?c.reduce((function(e,t){return t.name||De(15),lt(e,t.name)}),5381).toString():"",p}var ht=L().createContext(),gt=(ht.Consumer,L().createContext()),bt=(gt.Consumer,new rt),vt=pt();function yt(){return(0,P.useContext)(ht)||bt}function _t(){return(0,P.useContext)(gt)||vt}function wt(e){var t=(0,P.useState)(e.stylisPlugins),n=t[0],r=t[1],o=yt(),a=(0,P.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),i=(0,P.useMemo)((function(){return pt({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,P.useEffect)((function(){be()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),L().createElement(ht.Provider,{value:a},L().createElement(gt.Provider,{value:i},e.children))}var Ct=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=vt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return De(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=vt),this.name+e.hash},e}(),St=/([A-Z])/,Et=/([A-Z])/g,xt=/^ms-/,kt=function(e){return"-"+e.toLowerCase()};function Nt(e){return St.test(e)?e.replace(Et,kt).replace(xt,"-ms-"):e}var Ot=function(e){return null==e||!1===e||""===e};function At(e,t,n,r){if(Array.isArray(e)){for(var o,a=[],i=0,l=e.length;i1?t-1:0),r=1;r?@[\\\]^`{|}~-]+/g,It=/(^-|-$)/g;function Tt(e){return e.replace(Mt,"-").replace(It,"")}var Rt=function(e){return it(st(e)>>>0)};function zt(e){return"string"==typeof e&&!0}var Dt=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ft=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ht(e,t,n){var r=e[n];Dt(t)&&Dt(r)?Vt(r,t):e[n]=t}function Vt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(o[n]=e[n]);return o}(t,["componentId"]),a=r&&r+"-"+(zt(e)?e:Tt(je(e)));return Zt(e,ke({},o,{attrs:d,componentId:a}),n)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Vt({},e.defaultProps,t):t}}),p.toString=function(){return"."+p.styledComponentId},o&&Ee()(p,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),p}var $t=function(e){return function e(t,n,r){if(void 0===r&&(r=Pe),!(0,he.isValidElementType)(n))return De(1,String(n));var o=function(){return t(n,r,Lt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,ke({},r,{},o))},o.attrs=function(o){return e(t,n,ke({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Zt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){$t[e]=$t(e)}));var Wt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ct(e),rt.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(At(this.rules,t,n,r).join(""),""),a=this.componentId+e;n.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&rt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();!function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=Qe();return""},this.getStyleTags=function(){return e.sealed?De(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return De(2);var n=((t={})[Ie]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Qe();return r&&(n.nonce=r),[L().createElement("style",ke({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new rt({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?De(2):L().createElement(wt,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return De(3)}}();const qt=$t;function Yt(){var e,t,n=(e=["\n margin-bottom: 1.25rem;\n padding: 2rem;\n background-color: #fff;\n border-color: rgb(209 213 219);\n border-radius: 0.25rem;\n border-style: solid;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Yt=function(){return n},n}var Gt=qt.div(Yt());const Qt=function(e){var t=e.children,n=e.className;return L().createElement(Gt,{className:n},t)};function Xt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Jt(){var e=Xt(["\n max-width: 1066px;\n margin: 0 auto;\n"]);return Jt=function(){return e},e}function Kt(){var e=Xt(["\n margin: 0 1.25rem;\n @media (min-width: 1280px) {\n margin: 0;\n }\n @media (min-width: 640px) {\n margin: 0 2.5rem;\n }\n"]);return Kt=function(){return e},e}n(875);var en=qt.div(Jt()),tn=qt.div(Kt());const nn=function(e){var t=e.children,n=e.className;return L().createElement(en,null,L().createElement(tn,{className:n},t))};function rn(){var e,t,n=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return rn=function(){return n},n}var on=qt.i(rn()),an=L().createElement("svg",{width:"238",height:"21",viewBox:"0 0 238 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("line",{x1:"141.5",y1:"1",x2:"141.5",y2:"21",stroke:"#737373"}),L().createElement("path",{d:"M152.477 12.6328V17H150.487V4.95664H154.14C155.523 4.95664 156.595 5.27858 157.356 5.92246C158.118 6.56634 158.499 7.47337 158.499 8.64355C158.499 9.81374 158.101 10.7712 157.306 11.5158C156.511 12.2605 155.436 12.6328 154.081 12.6328H152.477ZM152.477 6.60273V11.0035H153.77C154.627 11.0035 155.279 10.8048 155.727 10.4072C156.175 10.0097 156.399 9.4498 156.399 8.72754C156.399 7.311 155.576 6.60273 153.93 6.60273H152.477ZM165.808 17H163.918V15.6562H163.884C163.291 16.6865 162.42 17.2016 161.272 17.2016C160.427 17.2016 159.763 16.972 159.282 16.5129C158.806 16.0538 158.568 15.4463 158.568 14.6904C158.568 13.0667 159.503 12.1205 161.373 11.8518L163.926 11.4906C163.926 10.2645 163.344 9.65137 162.179 9.65137C161.155 9.65137 160.231 10.0041 159.408 10.7096V9.00469C160.315 8.46719 161.362 8.19844 162.549 8.19844C164.721 8.19844 165.808 9.26784 165.808 11.4066V17ZM163.926 12.7756L162.121 13.0275C161.561 13.1003 161.138 13.2375 160.852 13.4391C160.573 13.635 160.433 13.9822 160.433 14.4805C160.433 14.8444 160.561 15.1439 160.819 15.3791C161.082 15.6087 161.432 15.7234 161.869 15.7234C162.462 15.7234 162.952 15.5163 163.338 15.102C163.73 14.682 163.926 14.1557 163.926 13.523V12.7756ZM172.562 10.2561C172.327 10.0713 171.988 9.97891 171.546 9.97891C170.969 9.97891 170.488 10.2393 170.101 10.76C169.715 11.2807 169.522 11.9889 169.522 12.8848V17H167.574V8.4H169.522V10.1721H169.556C169.746 9.56738 170.037 9.09707 170.429 8.76113C170.827 8.4196 171.269 8.24883 171.756 8.24883C172.109 8.24883 172.377 8.30202 172.562 8.4084V10.2561ZM178.359 16.9076C177.979 17.098 177.478 17.1932 176.856 17.1932C175.188 17.1932 174.353 16.3925 174.353 14.7912V9.92852H172.917V8.4H174.353V6.40957L176.302 5.85527V8.4H178.359V9.92852H176.302V14.2285C176.302 14.738 176.394 15.102 176.579 15.3203C176.764 15.5387 177.072 15.6479 177.503 15.6479C177.833 15.6479 178.119 15.5527 178.359 15.3623V16.9076ZM187.079 17H185.131V12.1541C185.131 10.5472 184.563 9.74375 183.426 9.74375C182.832 9.74375 182.343 9.96771 181.956 10.4156C181.57 10.8579 181.377 11.4178 181.377 12.0953V17H179.42V8.4H181.377V9.82773H181.41C182.054 8.74154 182.984 8.19844 184.199 8.19844C185.134 8.19844 185.847 8.50358 186.34 9.11387C186.833 9.71855 187.079 10.5948 187.079 11.7426V17ZM196.127 13.2291H190.265C190.287 14.0242 190.53 14.6372 190.995 15.0684C191.466 15.4995 192.109 15.715 192.927 15.715C193.845 15.715 194.688 15.4407 195.455 14.892V16.4625C194.671 16.9552 193.635 17.2016 192.347 17.2016C191.082 17.2016 190.088 16.8124 189.366 16.0342C188.649 15.2503 188.291 14.1501 188.291 12.7336C188.291 11.3954 188.686 10.3064 189.475 9.4666C190.27 8.62116 191.256 8.19844 192.431 8.19844C193.607 8.19844 194.517 8.57637 195.161 9.33223C195.805 10.0881 196.127 11.1379 196.127 12.4816V13.2291ZM194.245 11.8518C194.24 11.1519 194.075 10.6088 193.75 10.2225C193.425 9.83053 192.977 9.63457 192.406 9.63457C191.846 9.63457 191.37 9.83893 190.978 10.2477C190.592 10.6564 190.354 11.1911 190.265 11.8518H194.245ZM202.352 10.2561C202.117 10.0713 201.778 9.97891 201.336 9.97891C200.759 9.97891 200.278 10.2393 199.891 10.76C199.505 11.2807 199.312 11.9889 199.312 12.8848V17H197.364V8.4H199.312V10.1721H199.346C199.536 9.56738 199.827 9.09707 200.219 8.76113C200.617 8.4196 201.059 8.24883 201.546 8.24883C201.899 8.24883 202.167 8.30202 202.352 8.4084V10.2561ZM217.121 17H215.114V11.7762H209.445V17H207.446V4.95664H209.445V10.0209H215.114V4.95664H217.121V17ZM226.757 17H224.808V15.6395H224.774C224.209 16.6809 223.33 17.2016 222.137 17.2016C220.105 17.2016 219.089 15.981 219.089 13.5398V8.4H221.037V13.3383C221.037 14.8836 221.633 15.6562 222.826 15.6562C223.403 15.6562 223.876 15.4435 224.245 15.018C224.62 14.5924 224.808 14.0354 224.808 13.3467V8.4H226.757V17ZM230.664 15.757H230.63V17H228.682V4.26797H230.63V9.91172H230.664C231.33 8.76953 232.305 8.19844 233.587 8.19844C234.673 8.19844 235.521 8.58477 236.131 9.35742C236.747 10.1245 237.055 11.1547 237.055 12.448C237.055 13.887 236.711 15.0404 236.022 15.9082C235.334 16.7704 234.393 17.2016 233.2 17.2016C232.081 17.2016 231.235 16.7201 230.664 15.757ZM230.614 12.3389V13.4055C230.614 14.0326 230.812 14.5645 231.21 15.0012C231.613 15.4379 232.123 15.6562 232.738 15.6562C233.461 15.6562 234.026 15.3763 234.435 14.8164C234.849 14.2509 235.056 13.4643 235.056 12.4564C235.056 11.611 234.863 10.9503 234.477 10.4744C234.096 9.9929 233.578 9.75215 232.923 9.75215C232.229 9.75215 231.669 9.9985 231.244 10.4912C230.824 10.9839 230.614 11.5998 230.614 12.3389Z",fill:"#737373"}),L().createElement("path",{d:"M9.5 1H0V10.5H9.5V1Z",fill:"#F25022"}),L().createElement("path",{d:"M20 1H10.5V10.5H20V1Z",fill:"#7FBA00"}),L().createElement("path",{d:"M9.5 11.5H0V21H9.5V11.5Z",fill:"#00A4EF"}),L().createElement("path",{d:"M20 11.5H10.5V21H20V11.5Z",fill:"#FFB900"}),L().createElement("path",{d:"M38.99 5.00045V17.0004H36.9V7.60045H36.87L33.14 17.0004H31.76L27.95 7.60045H27.92V17.0004H26V5.00045H28.99L32.43 13.9004H32.48L36.13 5.00045H38.99ZM40.73 5.91045C40.73 5.58045 40.85 5.30045 41.09 5.07045C41.34 4.84045 41.62 4.73045 41.96 4.73045C42.32 4.73045 42.61 4.85045 42.85 5.08045C43.08 5.31045 43.2 5.58045 43.2 5.91045C43.2 6.24045 43.08 6.51045 42.84 6.74045C42.6 6.96045 42.31 7.07045 41.96 7.07045C41.61 7.07045 41.32 6.97045 41.08 6.74045C40.9664 6.63464 40.8765 6.50597 40.8161 6.36292C40.7558 6.21986 40.7265 6.06566 40.73 5.91045ZM42.96 17.0004H40.94V8.40045H42.96V17.0004ZM49.11 15.5304C49.41 15.5304 49.74 15.4604 50.11 15.3204C50.47 15.1804 50.8 15.0004 51.11 14.7704V16.6504C50.78 16.8304 50.41 16.9704 50.01 17.0704C49.6 17.1704 49.15 17.2104 48.66 17.2104C47.39 17.2104 46.36 16.8104 45.56 16.0104C45.1659 15.6051 44.8582 15.1241 44.6554 14.5964C44.4525 14.0687 44.3589 13.5054 44.38 12.9404C44.38 11.5604 44.78 10.4204 45.59 9.53045C46.0312 9.06944 46.5674 8.70992 47.1614 8.4768C47.7554 8.24369 48.393 8.14257 49.03 8.18045C49.7518 8.18191 50.4635 8.34957 51.11 8.67045V10.6005C50.79 10.3705 50.48 10.2004 50.15 10.0704C49.8318 9.94291 49.4928 9.87511 49.15 9.87045C48.35 9.87045 47.71 10.1404 47.21 10.6604C46.72 11.1804 46.48 11.8804 46.48 12.7604C46.48 13.6304 46.71 14.3004 47.18 14.7904C47.66 15.2704 48.3 15.5204 49.11 15.5204V15.5304ZM56.87 8.26045C57.1307 8.25799 57.3904 8.29508 57.64 8.37045V10.4204C57.2779 10.2023 56.8627 10.0881 56.44 10.0904C55.94 10.0904 55.51 10.3004 55.17 10.7204C54.83 11.1405 54.66 11.7904 54.66 12.6604V17.0004H52.63V8.40045H54.66V9.75045H54.69C54.847 9.30132 55.1429 8.91383 55.5348 8.64413C55.9268 8.37444 56.3944 8.23655 56.87 8.25045V8.26045ZM57.74 12.8204C57.74 11.4004 58.14 10.2804 58.94 9.44045C59.3832 9.01177 59.9109 8.68012 60.4894 8.46663C61.0679 8.25314 61.6845 8.16249 62.3 8.20045C63.65 8.20045 64.7 8.60045 65.45 9.40045C66.21 10.2004 66.59 11.2804 66.59 12.6404C66.59 14.0404 66.19 15.1404 65.39 15.9704C64.58 16.8004 63.49 17.2104 62.1 17.2104C61.52 17.2396 60.9401 17.151 60.3953 16.9499C59.8504 16.7488 59.352 16.4394 58.93 16.0404C58.5266 15.6129 58.2141 15.108 58.0113 14.5563C57.8085 14.0046 57.7196 13.4175 57.75 12.8304L57.74 12.8204ZM59.85 12.7604C59.85 13.6604 60.05 14.3404 60.46 14.8104C60.87 15.2904 61.46 15.5204 62.21 15.5204C62.95 15.5204 63.51 15.2904 63.89 14.8204C64.29 14.3404 64.47 13.6404 64.47 12.7104C64.47 11.7804 64.27 11.0804 63.87 10.6104C63.47 10.1404 62.92 9.90045 62.2 9.90045C61.46 9.90045 60.88 10.1504 60.47 10.6405C60.0183 11.2511 59.7985 12.0026 59.85 12.7604ZM69.59 10.6604C69.59 10.9504 69.69 11.1704 69.87 11.3404C70.05 11.5004 70.46 11.7104 71.09 11.9604C71.89 12.2905 72.47 12.6504 72.79 13.0604C73.12 13.4604 73.28 13.9504 73.28 14.5204C73.28 15.3305 72.97 15.9804 72.35 16.4704C71.72 16.9704 70.88 17.2104 69.83 17.2104C69.0436 17.2121 68.2648 17.0556 67.54 16.7504V14.7504C67.91 15.0104 68.31 15.2204 68.74 15.3704C69.16 15.5204 69.54 15.5904 69.89 15.5904C70.34 15.5904 70.68 15.5304 70.89 15.4004C71.11 15.2704 71.22 15.0604 71.22 14.7604C71.222 14.6249 71.1934 14.4906 71.1363 14.3677C71.0791 14.2447 70.9949 14.1363 70.89 14.0504C70.66 13.8504 70.23 13.6304 69.6 13.3804C68.9914 13.1622 68.4455 12.7983 68.01 12.3204C67.71 11.9304 67.54 11.4404 67.54 10.8404C67.54 10.0604 67.85 9.42045 68.47 8.92045C69.09 8.42045 69.89 8.17045 70.87 8.17045C71.5357 8.1788 72.1952 8.30055 72.82 8.53045V10.4604C72.5265 10.2696 72.2108 10.1151 71.88 10.0004C71.52 9.87045 71.17 9.80045 70.82 9.80045C70.43 9.80045 70.13 9.88045 69.92 10.0304C69.8165 10.0993 69.732 10.1931 69.6744 10.3032C69.6167 10.4133 69.5877 10.5362 69.59 10.6604ZM74.15 12.8204C74.15 11.4004 74.55 10.2804 75.35 9.44045C75.7932 9.01177 76.3209 8.68012 76.8994 8.46663C77.4779 8.25314 78.0945 8.16249 78.71 8.20045C80.05 8.20045 81.1 8.60045 81.86 9.40045C82.61 10.2004 82.99 11.2804 82.99 12.6404C82.99 14.0404 82.59 15.1404 81.79 15.9704C80.99 16.8004 79.89 17.2104 78.5 17.2104C77.92 17.2396 77.3401 17.151 76.7953 16.9499C76.2504 16.7488 75.752 16.4394 75.33 16.0404C74.9266 15.6129 74.6141 15.108 74.4113 14.5563C74.2085 14.0046 74.1196 13.4175 74.15 12.8304V12.8204ZM76.26 12.7604C76.26 13.6604 76.46 14.3404 76.87 14.8104C77.28 15.2904 77.87 15.5204 78.62 15.5204C79.36 15.5204 79.92 15.2904 80.31 14.8204C80.69 14.3404 80.88 13.6404 80.88 12.7104C80.88 11.7804 80.68 11.0804 80.28 10.6104C79.88 10.1404 79.33 9.90045 78.61 9.90045C77.87 9.90045 77.29 10.1504 76.88 10.6405C76.4283 11.2511 76.2085 12.0026 76.26 12.7604ZM89.71 10.0605H86.69V17.0004H84.64V10.0504H83.2V8.40045H84.64V7.20045C84.624 6.78523 84.695 6.37125 84.8484 5.98508C85.0018 5.59892 85.2343 5.24911 85.531 4.95813C85.8276 4.66714 86.1818 4.44141 86.5708 4.29543C86.9599 4.14944 87.3752 4.08644 87.79 4.11045C88.1778 4.11594 88.5637 4.16628 88.94 4.26045V6.01045C88.6519 5.86415 88.3331 5.78873 88.01 5.79045C87.59 5.79045 87.26 5.92045 87.03 6.19045C86.81 6.45045 86.69 6.84045 86.69 7.36045V8.40045H89.71V6.47045L91.74 5.85045V8.40045H93.79V10.0605H91.74V14.0804C91.74 14.6104 91.84 14.9804 92.04 15.2004C92.22 15.4204 92.52 15.5304 92.94 15.5304C93.2408 15.5025 93.5315 15.4068 93.79 15.2504V16.9204C93.302 17.1111 92.7838 17.2128 92.26 17.2204C91.41 17.2204 90.77 16.9904 90.35 16.5304C89.92 16.0804 89.71 15.3904 89.71 14.4804V10.0504V10.0605Z",fill:"#737373"}),L().createElement("path",{d:"M100.741 8.04087C100.741 8.48087 100.901 8.85087 101.211 9.15087C101.511 9.45087 102.061 9.81087 102.861 10.2209C103.724 10.6218 104.501 11.1854 105.151 11.8809C105.611 12.4409 105.851 13.0809 105.851 13.8009C105.871 14.28 105.776 14.757 105.575 15.192C105.373 15.6269 105.07 16.0072 104.691 16.3009C103.921 16.9009 102.931 17.2009 101.731 17.2009C101.051 17.2009 100.421 17.1409 99.8505 17.0009C99.2805 16.8609 98.8505 16.7009 98.5605 16.5109V14.2309C98.9305 14.5709 99.4006 14.8509 99.9806 15.0709C100.561 15.2909 101.121 15.4109 101.681 15.4109C102.291 15.4109 102.781 15.2909 103.131 15.0609C103.491 14.8209 103.671 14.4609 103.671 14.0009C103.671 13.5909 103.491 13.2109 103.151 12.8709C102.575 12.381 101.936 11.9707 101.251 11.6509C100.484 11.2818 99.8004 10.7613 99.2405 10.1209C98.7961 9.57309 98.5588 8.88619 98.5705 8.18087C98.5705 7.19087 98.9606 6.38087 99.7206 5.75087C100.563 5.09263 101.612 4.75585 102.681 4.80087C103.58 4.806 104.472 4.96148 105.321 5.26087V7.44087C104.964 7.16489 104.561 6.95491 104.131 6.82087C103.672 6.6736 103.192 6.59936 102.711 6.60087C102.131 6.60087 101.651 6.73087 101.291 7.00087C100.921 7.25087 100.741 7.60087 100.741 8.04087ZM110.831 15.5309C111.131 15.5033 111.422 15.4075 111.681 15.2509V16.9209C111.196 17.1102 110.681 17.2118 110.161 17.2209C109.301 17.2209 108.661 16.9809 108.241 16.5209C107.811 16.0709 107.601 15.3909 107.601 14.4709V10.0509H106.191V8.40087H107.601V6.46087L109.631 5.84087V8.40087H111.681V10.0609H109.631V14.0909C109.631 14.6209 109.731 14.9909 109.931 15.2109C110.111 15.4309 110.411 15.5409 110.831 15.5409V15.5309ZM119.801 11.6109V14.9609C119.801 15.7809 119.851 16.4609 119.931 17.0009H117.911L117.811 16.0809H117.781C117.521 16.4309 117.181 16.6909 116.771 16.8809C116.351 17.0609 115.831 17.1509 115.201 17.1509C114.441 17.1509 113.801 16.9209 113.301 16.4509C113.044 16.2159 112.842 15.9276 112.709 15.6063C112.576 15.2849 112.515 14.9383 112.531 14.5909C112.531 13.7609 112.861 13.0909 113.511 12.5909C114.171 12.0709 115.201 11.7409 116.601 11.5609L117.831 11.4109C117.831 10.8409 117.691 10.4409 117.431 10.2009C117.161 9.96087 116.751 9.84087 116.221 9.83087C115.641 9.83087 115.091 9.92087 114.571 10.0909C114.051 10.2709 113.651 10.4809 113.371 10.7209V8.87087C114.356 8.40893 115.432 8.17318 116.521 8.18087C117.591 8.18087 118.401 8.48087 118.961 9.07087C119.521 9.66087 119.791 10.5109 119.791 11.6109H119.801ZM116.921 12.8909C116.031 12.9909 115.401 13.1709 115.041 13.4109C114.671 13.6509 114.491 13.9809 114.491 14.4009C114.491 14.7609 114.591 15.0409 114.811 15.2509C115.031 15.4609 115.351 15.5709 115.791 15.5709C116.421 15.5709 116.921 15.3709 117.291 14.9909C117.651 14.5909 117.841 14.1109 117.841 13.5309V12.7809L116.921 12.8909ZM125.831 8.26087C126.091 8.25872 126.351 8.2958 126.601 8.37087V10.4209C126.238 10.2027 125.823 10.0885 125.401 10.0909C124.901 10.0909 124.481 10.3009 124.131 10.7209C123.791 11.1409 123.621 11.7909 123.621 12.6609V17.0009H121.591V8.40087H123.621V9.75087H123.651C123.808 9.30173 124.103 8.91425 124.495 8.64455C124.887 8.37486 125.355 8.23697 125.831 8.25087V8.26087ZM131.901 15.5309C132.201 15.5023 132.492 15.4066 132.751 15.2509V16.9209C132.266 17.1102 131.751 17.2118 131.231 17.2209C130.381 17.2209 129.731 16.9809 129.311 16.5209C128.881 16.0709 128.671 15.3909 128.671 14.4709V10.0509H127.261V8.40087H128.671V6.46087L130.711 5.84087V8.40087H132.751V10.0609H130.711V14.0909C130.711 14.6209 130.811 14.9909 130.991 15.2109C131.191 15.4309 131.491 15.5409 131.901 15.5409V15.5309Z",fill:"#737373"})),ln=L().createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M7.5 15C6.80729 15 6.14062 14.9115 5.5 14.7344C4.86458 14.5573 4.26823 14.3073 3.71094 13.9844C3.15365 13.6562 2.64583 13.2656 2.1875 12.8125C1.73438 12.3542 1.34375 11.8464 1.01562 11.2891C0.692708 10.7318 0.442708 10.1354 0.265625 9.5C0.0885417 8.85938 0 8.19271 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.86719 0.692708 4.26823 1.01562 3.71094C1.34375 3.15365 1.73438 2.64844 2.1875 2.19531C2.64583 1.73698 3.15365 1.34635 3.71094 1.02344C4.26823 0.695312 4.86458 0.442708 5.5 0.265625C6.14062 0.0885417 6.80729 0 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1328 0.442708 10.7318 0.695312 11.2891 1.02344C11.8464 1.34635 12.3516 1.73698 12.8047 2.19531C13.263 2.64844 13.6536 3.15365 13.9766 3.71094C14.3047 4.26823 14.5573 4.86719 14.7344 5.50781C14.9115 6.14323 15 6.80729 15 7.5C15 8.19271 14.9115 8.85938 14.7344 9.5C14.5573 10.1354 14.3047 10.7318 13.9766 11.2891C13.6536 11.8464 13.263 12.3542 12.8047 12.8125C12.3516 13.2656 11.8464 13.6562 11.2891 13.9844C10.7318 14.3073 10.1328 14.5573 9.49219 14.7344C8.85677 14.9115 8.19271 15 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70312 1.60938 4.21875 1.89062C3.73958 2.17188 3.30208 2.51042 2.90625 2.90625C2.51042 3.30208 2.17188 3.74219 1.89062 4.22656C1.60938 4.70573 1.39062 5.22396 1.23438 5.78125C1.07812 6.33333 1 6.90625 1 7.5C1 8.09375 1.07812 8.66927 1.23438 9.22656C1.39062 9.77865 1.60938 10.2969 1.89062 10.7812C2.17188 11.2604 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.70312 13.3906 5.22135 13.6094 5.77344 13.7656C6.32552 13.9219 6.90104 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77604 13.6094 10.2943 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.2969 13.6094 9.77865 13.7656 9.22656C13.9219 8.67448 14 8.09896 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22396 13.3906 4.70573 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2578 2.17188 10.7734 1.89062C10.2943 1.60938 9.77604 1.39062 9.21875 1.23438C8.66667 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z",fill:"#605E5C"})),sn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#212121"})),cn=L().createElement("svg",{width:"108",height:"111",viewBox:"0 0 108 111",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M11.5629 97.9006L0.462867 37.9006C0.262867 36.7006 1.26287 35.7006 2.46287 35.9006L23.5629 39.2006C24.3629 39.3006 24.9629 39.9006 25.1629 40.6006L26.5629 45.3006C26.7629 46.1006 27.4629 46.6006 28.2629 46.7006L81.7629 53.8006L83.0629 58.3006",fill:"url(#paint0_radial_14_20143)"}),L().createElement("path",{d:"M32.2629 24.4C34.1629 31.7 50.6629 66.6 57.5629 73.5C64.4629 80.4 107.563 53.9 107.563 53.9C107.563 53.9 96.8629 44 89.2629 29.4C81.6629 14.8 77.4629 0 77.4629 0L32.2629 24.4Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M30.6632 54.5006L11.8632 96.8006C11.1632 98.5006 12.1632 100.401 13.9632 100.601L81.9632 110.201C84.3632 110.501 86.6632 109.201 87.5632 107.001L105.363 65.1006C106.063 63.4006 105.063 61.6006 103.263 61.3006L36.2632 51.3006C33.8632 51.0006 31.6632 52.3006 30.6632 54.5006Z",fill:"#BFBFBF"}),L().createElement("defs",null,L().createElement("radialGradient",{id:"paint0_radial_14_20143",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(30.2764 76.0337) scale(50.9603)"},L().createElement("stop",{"stop-color":"#807E7E"}),L().createElement("stop",{offset:"0.0936641","stop-color":"#888686"}),L().createElement("stop",{offset:"0.3848","stop-color":"#9A9998"}),L().createElement("stop",{offset:"0.6837","stop-color":"#A5A4A3"}),L().createElement("stop",{offset:"1","stop-color":"#A9A8A7"})))),un=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M2.58859 2.71569L2.64645 2.64645C2.82001 2.47288 3.08944 2.4536 3.28431 2.58859L3.35355 2.64645L8 7.293L12.6464 2.64645C12.8417 2.45118 13.1583 2.45118 13.3536 2.64645C13.5488 2.84171 13.5488 3.15829 13.3536 3.35355L8.707 8L13.3536 12.6464C13.5271 12.82 13.5464 13.0894 13.4114 13.2843L13.3536 13.3536C13.18 13.5271 12.9106 13.5464 12.7157 13.4114L12.6464 13.3536L8 8.707L3.35355 13.3536C3.15829 13.5488 2.84171 13.5488 2.64645 13.3536C2.45118 13.1583 2.45118 12.8417 2.64645 12.6464L7.293 8L2.64645 3.35355C2.47288 3.17999 2.4536 2.91056 2.58859 2.71569L2.64645 2.64645L2.58859 2.71569Z",fill:"#1A1A1A"})),fn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M4 8C4 7.72386 4.22386 7.5 4.5 7.5C8.70319 7.5 6.98852 7.5 11.5 7.5C11.7761 7.5 12 7.72386 12 8C12 8.27614 11.7761 8.5 11.5 8.5C7.29954 8.5 9.01621 8.5 4.5 8.5C4.22386 8.5 4 8.27614 4 8ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15Z",fill:"#D13438"})),dn=L().createElement("svg",{width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M9.00006 4.99992C9.2762 4.99992 9.50006 5.22377 9.50006 5.49992V9.49991C9.50006 9.77606 9.2762 9.99991 9.00006 9.99991C8.72392 9.99991 8.50006 9.77606 8.50006 9.49991V5.49992C8.50006 5.22377 8.72392 4.99992 9.00006 4.99992ZM9.00006 12.4999C9.41427 12.4999 9.75006 12.1641 9.75006 11.7499C9.75006 11.3357 9.41427 10.9999 9.00006 10.9999C8.58585 10.9999 8.25006 11.3357 8.25006 11.7499C8.25006 12.1641 8.58585 12.4999 9.00006 12.4999ZM7.68575 0.852074C8.25564 -0.184088 9.74451 -0.184091 10.3144 0.852072L16.8731 12.777C17.423 13.7767 16.6997 14.9999 15.5588 14.9999H2.44135C1.30044 14.9999 0.577198 13.7767 1.12702 12.777L7.68575 0.852074ZM9.43818 1.33399C9.24822 0.988605 8.75193 0.988604 8.56197 1.33399L2.00324 13.259C1.81996 13.5922 2.06104 13.9999 2.44135 13.9999H15.5588C15.9391 13.9999 16.1802 13.5922 15.9969 13.259L9.43818 1.33399Z",fill:"#A19419"})),mn=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M8.68149 2.78544C9.24892 1.73813 10.752 1.73821 11.3193 2.78557L17.8198 14.7865C18.3612 15.786 17.6375 17.0009 16.5009 17.0009H3.4982C2.36147 17.0009 1.63783 15.7858 2.17934 14.7864L8.68149 2.78544ZM10.5 7.5C10.5 7.22386 10.2761 7 10 7C9.72386 7 9.5 7.22386 9.5 7.5V11.5C9.5 11.7761 9.72386 12 10 12C10.2761 12 10.5 11.7761 10.5 11.5V7.5ZM10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75Z",fill:"white"})),pn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M8.49206 6.91012C8.44972 6.67687 8.24557 6.49999 8.00011 6.49999C7.72397 6.49999 7.50011 6.72385 7.50011 6.99999V11.5021L7.50817 11.592C7.55051 11.8253 7.75465 12.0021 8.00011 12.0021C8.27626 12.0021 8.50011 11.7783 8.50011 11.5021V6.99999L8.49206 6.91012ZM8.79883 4.74999C8.79883 4.33578 8.46304 3.99999 8.04883 3.99999C7.63461 3.99999 7.29883 4.33578 7.29883 4.74999C7.29883 5.16421 7.63461 5.49999 8.04883 5.49999C8.46304 5.49999 8.79883 5.16421 8.79883 4.74999ZM16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8ZM1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8Z",fill:"#717171"})),hn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"})),gn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"#1A1A1A"})),bn=L().createElement("svg",{width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M88.7248 42.3149L66.4298 64.8049C65.1298 66.1049 65.7148 68.3799 67.5348 68.8349L98.1498 76.9599C99.9698 77.4149 101.595 75.7899 101.14 73.9699L92.8198 43.4199C92.2348 41.5999 90.0248 40.9499 88.7248 42.3149Z",fill:"url(#paint0_linear_603_52481)"}),L().createElement("path",{d:"M23.855 16.8349L10.595 45.6299C9.81501 47.3199 11.18 49.2049 13 49.0749L44.525 46.1499C46.41 45.9549 47.385 43.8749 46.28 42.3149L28.015 16.4449C26.91 14.8849 24.635 15.1449 23.855 16.8349Z",fill:"url(#paint1_linear_603_52481)"}),L().createElement("path",{d:"M49.0753 20.865L10.7903 77.61C8.51527 80.925 10.7253 85.475 14.7553 85.8L83.0703 90.61C87.1003 90.87 89.8953 86.71 88.1403 83.07L58.1103 21.515C56.3553 17.875 51.3503 17.55 49.0753 20.865Z",fill:"#FFD590"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M89.9601 54.34C89.5701 55.705 90.3501 57.2 91.7151 57.59C93.0801 58.045 94.5101 57.265 94.9001 55.9L100.555 37.18C100.945 35.815 100.165 34.32 98.8001 33.93C97.4351 33.54 95.9401 34.32 95.5501 35.685L89.9601 54.34ZM92.82 63.57C92.82 65.1855 91.5104 66.495 89.895 66.495C88.2795 66.495 86.97 65.1855 86.97 63.57C86.97 61.9546 88.2795 60.645 89.895 60.645C91.5104 60.645 92.82 61.9546 92.82 63.57Z",fill:"#3E8EED"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M47.9702 64.22C47.8402 65.65 48.9452 66.885 50.3752 67.015C51.8052 67.08 53.0402 66.04 53.1702 64.61L55.0552 38.025C55.1852 36.595 54.0802 35.36 52.6502 35.23C51.2202 35.1 49.9852 36.205 49.8552 37.635L47.9702 64.22ZM52.9101 73.19C52.9101 74.8054 51.6005 76.115 49.9851 76.115C48.3696 76.115 47.0601 74.8054 47.0601 73.19C47.0601 71.5746 48.3696 70.265 49.9851 70.265C51.6005 70.265 52.9101 71.5746 52.9101 73.19Z",fill:"white"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.3551 33.0849C17.7451 34.5149 19.1751 35.2949 20.5401 34.9049C21.9051 34.5149 22.6851 33.0849 22.3601 31.7199L17.0301 12.9349C16.6401 11.5049 15.2101 10.7249 13.8451 11.1149C12.4151 11.5049 11.6351 12.9349 12.0251 14.2999L17.3551 33.0849ZM25.1552 40.885C25.1552 42.5004 23.8456 43.81 22.2302 43.81C20.6147 43.81 19.3052 42.5004 19.3052 40.885C19.3052 39.2695 20.6147 37.96 22.2302 37.96C23.8456 37.96 25.1552 39.2695 25.1552 40.885Z",fill:"#28C2D1"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M52.585 13.39C52.325 13.13 52.195 12.805 52.13 12.48L51.48 8.31996C51.35 7.40996 52 6.62996 52.845 6.49996C53.3 6.43496 53.755 6.56496 54.08 6.82496C54.405 7.08496 54.6 7.47496 54.665 7.86496L55.25 12.025C55.38 12.935 54.73 13.715 53.885 13.845C53.43 13.91 52.91 13.715 52.585 13.39ZM60.0602 13.91C59.6702 14.56 59.8002 15.34 60.3202 15.86C60.3852 15.925 60.5152 16.055 60.6452 16.055C61.4252 16.51 62.4002 16.25 62.7902 15.535L64.8052 12.155C65.0002 11.765 65.0652 11.375 65.0002 10.92C64.9352 10.595 64.7402 10.27 64.4802 10.075C64.4477 10.0425 64.4152 10.0262 64.3827 10.01L64.3827 10.01C64.3502 9.99375 64.3177 9.9775 64.2852 9.945C63.5052 9.49 62.5302 9.75 62.1402 10.465L60.0602 13.91ZM66.2351 21.125C66.3001 21.255 66.4301 21.45 66.5601 21.58C67.0801 22.035 67.7951 22.165 68.3801 21.84L71.7601 20.15C72.1501 19.955 72.4101 19.63 72.5401 19.24C72.6701 18.85 72.6701 18.395 72.4751 18.005L72.4751 18.005C72.3451 17.81 72.2151 17.615 72.0201 17.485C71.9208 17.3857 71.7835 17.3243 71.6663 17.2719L71.6663 17.2719C71.6301 17.2557 71.5958 17.2403 71.5651 17.225C71.1751 17.095 70.7201 17.095 70.3301 17.29L66.9501 18.98C66.5601 19.175 66.3001 19.5 66.1701 19.89C66.0401 20.345 66.0401 20.735 66.2351 21.125Z",fill:"#E1DFDD"}),L().createElement("defs",null,L().createElement("linearGradient",{id:"paint0_linear_603_52481",x1:"64.4225",y1:"65.5682",x2:"88.5293",y2:"60.5513",gradientUnits:"userSpaceOnUse"},L().createElement("stop",{offset:"0.000984252","stop-color":"#72ACF1"}),L().createElement("stop",{offset:"1","stop-color":"#A7CBF6"})),L().createElement("linearGradient",{id:"paint1_linear_603_52481",x1:"44.1311",y1:"47.0077",x2:"26.1058",y2:"36.2189",gradientUnits:"userSpaceOnUse"},L().createElement("stop",{offset:"0.000984252","stop-color":"#7BDDEF"}),L().createElement("stop",{offset:"1","stop-color":"#C3F2F4"})))),vn=L().createElement("svg",{width:"94",height:"94",viewBox:"0 0 94 94",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("g",{"clip-path":"url(#clip0_603_52415)"},L().createElement("path",{d:"M47.0002 65.6C64.9771 65.6 79.5502 51.0269 79.5502 33.05C79.5502 15.0731 64.9771 0.5 47.0002 0.5C29.0233 0.5 14.4502 15.0731 14.4502 33.05C14.4502 51.0269 29.0233 65.6 47.0002 65.6Z",fill:"#72ACF1"}),L().createElement("path",{d:"M35.0385 32.5993L33.3345 32.9695L43.4902 79.7157L45.1942 79.3455L35.0385 32.5993Z",fill:"#3E8EED"}),L().createElement("path",{d:"M58.9376 32.5868L48.5396 79.3372L50.2416 79.7157L60.6396 32.9654L58.9376 32.5868Z",fill:"#3E8EED"}),L().createElement("path",{d:"M74.0535 48.3591L53.2681 79.0681L54.7121 80.0455L75.4975 49.3364L74.0535 48.3591Z",fill:"#3E8EED"}),L().createElement("path",{d:"M20.1908 48.36L18.7466 49.3374L39.532 80.0502L40.9762 79.0728L20.1908 48.36Z",fill:"#3E8EED"}),L().createElement("path",{d:"M53.6264 93.5H40.3739C38.8627 93.5 37.7002 92.2794 37.7002 90.8263V79.55H56.3002V90.8263C56.3002 92.2794 55.0796 93.5 53.6264 93.5Z",fill:"url(#paint0_linear_603_52415)"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4847 34.5613H79.5157C79.5386 34.0605 79.5502 33.5566 79.5502 33.0501C79.5502 30.3279 79.216 27.6837 78.5865 25.1564C78.2594 25.039 77.8886 24.9707 77.4576 24.9707C75.9536 24.9707 75.198 25.8343 74.4388 26.702C73.6723 27.578 72.9022 28.4582 71.3545 28.4582C69.8505 28.4582 69.0949 27.5946 68.3356 26.7269C67.5692 25.8509 66.799 24.9707 65.2514 24.9707C63.7473 24.9707 62.9917 25.8343 62.2325 26.702C61.466 27.578 60.6959 28.4582 59.1483 28.4582C57.6442 28.4582 56.8886 27.5946 56.1294 26.7269C55.3629 25.8509 54.5928 24.9707 53.0451 24.9707C51.5411 24.9707 50.7855 25.8343 50.0263 26.702C49.2598 27.578 48.4897 28.4582 46.942 28.4582C45.438 28.4582 44.6824 27.5946 43.9231 26.7269C43.1567 25.8509 42.3865 24.9707 40.8389 24.9707C39.3348 24.9707 38.5792 25.8343 37.82 26.702C37.0536 27.578 36.2834 28.4582 34.7358 28.4582C33.2317 28.4582 32.4761 27.5946 31.7169 26.7269C30.9504 25.8509 30.1803 24.9707 28.6326 24.9707C27.1286 24.9707 26.373 25.8343 25.6138 26.702C24.8473 27.578 24.0772 28.4582 22.5295 28.4582C21.0255 28.4582 20.2699 27.5946 19.5106 26.7269C18.7442 25.8509 17.974 24.9707 16.4264 24.9707C16.0491 24.9707 15.719 25.023 15.4243 25.1148C14.788 27.6547 14.4502 30.3129 14.4502 33.0501C14.4502 33.5566 14.4618 34.0605 14.4847 34.5613Z",fill:"#A7CBF6"}),L().createElement("path",{d:"M57.1719 79.55H36.8281C36.0144 79.55 35.375 78.9107 35.375 78.0969C35.375 77.2832 36.0144 76.6438 36.8281 76.6438H57.1138C57.9275 76.6438 58.5669 77.2832 58.5669 78.0969C58.625 78.9107 57.9856 79.55 57.1719 79.55Z",fill:"#FFD590"}),L().createElement("path",{d:"M20.9602 51.4176C17.3564 51.4176 14.4502 48.5113 14.4502 44.9076V31.5388H27.4702V44.9076C27.4702 48.5113 24.5639 51.4176 20.9602 51.4176Z",fill:"#FFD590"}),L().createElement("path",{d:"M33.9797 51.4176C30.376 51.4176 27.4697 48.5113 27.4697 44.9076V31.5388H40.4897V44.9076C40.5479 48.5113 37.5835 51.4176 33.9797 51.4176Z",fill:"#F7B548"}),L().createElement("path",{d:"M46.9997 51.4176C43.396 51.4176 40.4897 48.5113 40.4897 44.9076V31.5388H53.5097V44.9076C53.5097 48.5113 50.6035 51.4176 46.9997 51.4176Z",fill:"#FFD590"}),L().createElement("path",{d:"M60.0203 51.4176C56.4165 51.4176 53.5103 48.5113 53.5103 44.9076V31.5388H66.5303V44.9076C66.5884 48.5113 63.624 51.4176 60.0203 51.4176Z",fill:"#F7B548"}),L().createElement("path",{d:"M73.0984 51.4176C69.4946 51.4176 66.5884 48.5113 66.5884 44.9076V31.5388H79.6084V44.9076C79.6084 48.5113 76.7021 51.4176 73.0984 51.4176Z",fill:"#FFD590"}),L().createElement("path",{d:"M21.3669 93.5C21.5413 92.6863 21.7156 91.8144 21.7156 90.9425C21.7156 85.0719 16.9494 80.3638 11.1369 80.3638C5.32437 80.3638 0.5 85.0719 0.5 90.9425C0.5 91.8144 0.61625 92.6863 0.84875 93.5H21.3669Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M29.8532 93.5C29.272 90.6519 26.7726 88.4431 23.7501 88.4431C20.7276 88.4431 18.1701 90.5937 17.647 93.5H29.8532Z",fill:"#F2F2F2"}),L().createElement("path",{d:"M23.8664 85.7693C19.5652 85.7693 16.0777 89.1987 15.9614 93.4999H31.7714C31.6552 89.1987 28.1677 85.7693 23.8664 85.7693Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M71.4705 12.1831C71.5868 12.1831 71.703 12.1831 71.8193 12.1831C71.8193 12.0669 71.8193 11.9506 71.8193 11.8344C71.8193 11.3694 71.8774 10.9625 71.9936 10.5556C72.168 9.80002 72.5168 9.04439 72.9818 8.46314C73.5049 7.76564 74.2024 7.24252 74.958 6.83564C75.7136 6.48689 76.5855 6.25439 77.5155 6.25439C79.3755 6.25439 81.003 7.12627 82.0493 8.46314C82.2818 8.81189 82.5143 9.16064 82.6886 9.50939C83.5024 8.98627 84.4324 8.69565 85.4205 8.69565C88.1524 8.69565 90.3611 10.8463 90.4193 13.52C92.2211 13.9269 93.558 15.4963 93.558 17.4144C93.558 19.6231 91.7561 21.425 89.4893 21.425L71.5286 21.4831C68.913 21.4831 66.8205 19.3906 66.8205 16.8331C66.7624 14.2756 68.8549 12.1831 71.4705 12.1831Z",fill:"#E1DFDD"}),L().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4961 34.7937H79.5043C79.5348 34.2163 79.5502 33.6349 79.5502 33.0499C79.5502 32.4649 79.5348 31.8835 79.5043 31.3062H14.4961C14.4656 31.8835 14.4502 32.4649 14.4502 33.0499C14.4502 33.6349 14.4656 34.2163 14.4961 34.7937Z",fill:"#3E8EED"})),L().createElement("defs",null,L().createElement("linearGradient",{id:"paint0_linear_603_52415",x1:"40.7003",y1:"71.0242",x2:"46.8856",y2:"85.1988",gradientUnits:"userSpaceOnUse"},L().createElement("stop",{offset:"0.1289","stop-color":"#F7B548"}),L().createElement("stop",{offset:"1","stop-color":"#FFD590"})),L().createElement("clipPath",{id:"clip0_603_52415"},L().createElement("rect",{width:"93",height:"93",fill:"white",transform:"translate(0.5 0.5)"})))),yn=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M4 5.75C4 5.33579 4.33579 5 4.75 5H12.25C12.6642 5 13 5.33579 13 5.75C13 6.16421 12.6642 6.5 12.25 6.5H4.75C4.33579 6.5 4 6.16421 4 5.75ZM4 13.75C4 13.3358 4.33579 13 4.75 13H11.25C11.6642 13 12 13.3358 12 13.75C12 14.1642 11.6642 14.5 11.25 14.5H4.75C4.33579 14.5 4 14.1642 4 13.75ZM4.75 9C4.33579 9 4 9.33579 4 9.75C4 10.1642 4.33579 10.5 4.75 10.5H15.25C15.6642 10.5 16 10.1642 16 9.75C16 9.33579 15.6642 9 15.25 9H4.75Z",fill:"white"})),wn=L().createElement(on,null,L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M10 3C6.13401 3 3 6.13401 3 10C3 10.2761 2.77614 10.5 2.5 10.5C2.22386 10.5 2 10.2761 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C9.72386 18 9.5 17.7761 9.5 17.5C9.5 17.2239 9.72386 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3Z",fill:"#212121"}))),Cn=L().createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M0.750061 22.4499C0.350061 22.4499 0.0500613 22.1499 6.12624e-05 21.7499C-0.0499387 21.3499 0.250061 20.9499 0.700061 20.9499C0.750061 20.9499 1.50006 20.8999 2.80006 20.8999C3.20006 20.8999 3.55006 21.2499 3.55006 21.6499C3.55006 22.0499 3.20006 22.3999 2.80006 22.3999C1.65006 22.3999 0.900061 22.4499 0.900061 22.4499C0.800061 22.4499 0.750061 22.4499 0.750061 22.4499Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M27.6999 77.6498C26.3499 77.5998 24.9999 77.4498 23.6999 77.1998C23.2999 77.0998 23.0499 76.6998 23.0999 76.2998C23.1999 75.8998 23.5999 75.6498 23.9999 75.6998C25.1999 75.9498 26.4499 76.0998 27.6999 76.0998C28.0999 76.0998 28.4499 76.4498 28.4499 76.8498C28.4499 77.2998 28.0999 77.6498 27.6999 77.6498ZM31.5499 77.3498C31.1999 77.3498 30.8499 77.0998 30.7999 76.6998C30.7499 76.2998 30.9999 75.8998 31.3999 75.8498C32.6999 75.6498 33.8999 75.2998 34.9499 74.8498C35.3499 74.6998 35.7499 74.8498 35.9499 75.2498C36.0999 75.6498 35.9499 76.0498 35.5499 76.2498C34.3499 76.7498 33.0499 77.0998 31.6499 77.3498C31.6499 77.3498 31.5999 77.3498 31.5499 77.3498ZM20.1499 75.9998C20.0499 75.9998 19.9499 75.9998 19.8499 75.9498C18.5499 75.3998 17.3999 74.6498 16.3999 73.8498C16.0999 73.5998 16.0499 73.0998 16.2999 72.7998C16.5499 72.4998 17.0499 72.4498 17.3499 72.6998C18.2499 73.4498 19.3499 74.0998 20.4999 74.5998C20.8999 74.7498 21.0499 75.1998 20.8999 75.5998C20.7499 75.8498 20.4499 75.9998 20.1499 75.9998ZM38.5499 74.2498C38.3499 74.2498 38.1499 74.1498 37.9999 73.9998C37.7499 73.6998 37.7499 73.1998 38.0999 72.9498C39.0499 72.1498 39.9499 71.2498 40.7999 70.2998C41.0999 69.9998 41.5499 69.9498 41.8499 70.2498C42.1499 70.5498 42.1999 70.9998 41.8999 71.2998C40.9999 72.2998 40.0499 73.2498 39.0499 74.0998C38.8999 74.1998 38.7499 74.2498 38.5499 74.2498ZM14.2499 71.1998C13.9999 71.1998 13.7499 71.0998 13.5999 70.8498C12.8499 69.6998 12.2999 68.4498 11.8999 67.0998C11.7999 66.6998 11.9999 66.2998 12.3999 66.1998C12.7999 66.0998 13.1999 66.2998 13.2999 66.6998C13.6499 67.8998 14.1499 68.9998 14.7999 69.9998C15.0499 70.3498 14.9499 70.7998 14.5999 71.0498C14.5499 71.1498 14.3999 71.1998 14.2499 71.1998ZM43.7499 68.5498C43.5999 68.5498 43.4499 68.4998 43.2999 68.3998C42.9499 68.1498 42.8999 67.6998 43.0999 67.3498C43.7999 66.3498 44.4999 65.2498 45.0999 64.1498C45.2999 63.7998 45.7499 63.6498 46.0999 63.8498C46.4499 64.0498 46.5999 64.4998 46.3999 64.8498C45.7499 65.9998 45.0499 67.1498 44.2999 68.1998C44.1999 68.3998 43.9499 68.5498 43.7499 68.5498ZM12.0999 63.8498C11.6999 63.8498 11.3999 63.5498 11.3499 63.1498C11.2999 62.5998 11.2999 62.0998 11.2999 61.5498C11.2999 60.6998 11.3499 59.8998 11.4499 59.0998C11.4999 58.6998 11.8999 58.3998 12.2999 58.4498C12.6999 58.4998 12.9999 58.8998 12.9499 59.2998C12.8499 59.9998 12.7999 60.7498 12.7999 61.5498C12.7999 62.0498 12.7999 62.4998 12.8499 62.9998C12.8999 63.3998 12.5499 63.7498 12.1499 63.7998C12.0999 63.8498 12.0999 63.8498 12.0999 63.8498ZM47.4999 61.7498C47.3999 61.7498 47.2999 61.7498 47.1999 61.6998C46.7999 61.5498 46.6499 61.0998 46.7999 60.6998C47.2999 59.5498 47.7499 58.3498 48.1499 57.1498C48.2999 56.7498 48.6999 56.5498 49.0999 56.6998C49.4999 56.8498 49.6999 57.2498 49.5499 57.6498C49.1499 58.8998 48.6499 60.1498 48.1499 61.3498C48.0499 61.5998 47.7999 61.7498 47.4999 61.7498ZM13.0999 56.2498C12.9999 56.2498 12.8999 56.2498 12.8499 56.1998C12.4499 56.0498 12.2499 55.5998 12.3999 55.2498C12.8499 54.0998 13.3999 52.9998 14.1999 51.6498C14.3999 51.2998 14.8499 51.1998 15.2499 51.3998C15.5999 51.5998 15.6999 52.0498 15.4999 52.4498C14.7499 53.6998 14.2499 54.7498 13.8499 55.7998C13.6999 56.0498 13.3999 56.2498 13.0999 56.2498ZM16.8499 49.4998C16.6999 49.4998 16.5999 49.4498 16.4499 49.3998C16.0999 49.1998 15.9999 48.6998 16.1999 48.3498C16.9499 47.0998 17.4999 46.0498 17.9499 44.9998C18.0999 44.5998 18.5499 44.4498 18.9499 44.5998C19.3499 44.7498 19.4999 45.1998 19.3499 45.5998C18.8999 46.6998 18.2999 47.7998 17.4999 49.0998C17.3499 49.3498 17.0999 49.4998 16.8499 49.4998ZM19.7999 42.3498C19.7499 42.3498 19.6999 42.3498 19.6499 42.3498C19.2499 42.2498 18.9999 41.8498 19.0499 41.4498C19.2999 40.2498 19.3999 39.0498 19.4499 37.7498C19.4499 37.3498 19.7999 36.9998 20.1999 36.9998C20.5999 36.9998 20.9499 37.3498 20.9499 37.7498C20.8999 39.1498 20.7999 40.4498 20.5499 41.7498C20.4499 42.0998 20.1499 42.3498 19.7999 42.3498ZM19.9999 34.6498C19.6499 34.6498 19.2999 34.3998 19.2499 33.9998C19.0499 32.7498 18.7499 31.5498 18.2499 30.4998C18.0999 30.0998 18.2499 29.6998 18.6499 29.4998C19.0499 29.3498 19.4499 29.4998 19.6499 29.8998C20.1499 31.0998 20.5499 32.3998 20.7499 33.7998C20.7999 34.1998 20.5499 34.5998 20.0999 34.6498C20.0499 34.6498 20.0499 34.6498 19.9999 34.6498ZM16.8499 27.6998C16.6499 27.6998 16.4499 27.5998 16.2999 27.4498C15.4999 26.5498 14.5499 25.7998 13.4999 25.1498C13.1499 24.9498 13.0499 24.4498 13.2499 24.0998C13.4499 23.7498 13.9499 23.6498 14.2999 23.8498C15.4999 24.5998 16.5499 25.4498 17.4499 26.4498C17.7499 26.7498 17.6999 27.2498 17.3999 27.4998C17.2499 27.6498 17.0499 27.6998 16.8499 27.6998ZM10.3499 23.6498C10.2499 23.6498 10.1999 23.6498 10.0999 23.5998C8.94989 23.1998 7.74989 22.9498 6.44989 22.7498C6.04989 22.6998 5.74989 22.2998 5.79989 21.8998C5.84989 21.4998 6.24989 21.1998 6.64989 21.2498C7.99989 21.4498 9.34989 21.7998 10.5499 22.1998C10.9499 22.3498 11.1499 22.7498 10.9999 23.1498C10.9999 23.4498 10.6999 23.6498 10.3499 23.6498Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M49.9501 54.35C49.9001 54.35 49.8501 54.35 49.8001 54.35C49.4001 54.25 49.1501 53.85 49.2501 53.45C49.5001 52.25 49.6501 51.55 49.6501 51.55C49.7001 51.15 50.1001 50.85 50.5001 50.9C50.9001 50.95 51.2001 51.35 51.1501 51.75C51.1501 51.8 51.0501 52.55 50.7501 53.75C50.6001 54.1 50.3001 54.35 49.9501 54.35Z",fill:"#E1DFDD"}),L().createElement("path",{d:"M79.2002 3.25002C79.2002 3.25002 79.3002 3.25002 79.3502 3.30002C79.6002 3.45002 72.1002 17.3 51.6502 54C51.4002 54.45 50.9002 54.7 50.3502 54.65C49.8502 54.6 49.4002 54.25 49.2502 53.7L45.9502 40.65C46.0002 40.5 46.1002 40.4 46.2502 39.85C51.7502 18.85 77.3002 5.40002 78.3502 3.90002C78.4002 3.80002 78.8002 3.20002 79.2002 3.25002Z",fill:"#FFD590"}),L().createElement("path",{d:"M50.05 56.9L46 40.7L80.3 2L50.05 56.9Z",fill:"#FFD590"}),L().createElement("path",{d:"M50.0503 56.8999L50.4503 42.8999L56.8003 44.6499L50.0503 56.8999Z",fill:"#F7B548"}),L().createElement("path",{d:"M31.2002 36.2501L46.0002 40.7501L79.2002 3.30006C78.8502 3.20006 78.5002 3.20006 78.1502 3.40006L76.3502 4.50006L30.5502 33.3501C29.6002 34.2001 29.9002 35.8501 31.2002 36.2501Z",fill:"#FFE5B9"}),L().createElement("path",{d:"M72.2 49.0001C73.2 49.3001 74.2 48.6001 74.35 47.6001L80 4.2501C79.95 3.8501 79.7 3.5001 79.35 3.3501L50.5 42.9501L72.2 49.0001Z",fill:"#FFE5B9"})),Sn=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M10 0C15.523 0 20 4.478 20 10C20 15.522 15.523 20 10 20C4.477 20 0 15.522 0 10C0 4.478 4.477 0 10 0ZM10 1.667C5.405 1.667 1.667 5.405 1.667 10C1.667 14.595 5.405 18.333 10 18.333C14.595 18.333 18.333 14.595 18.333 10C18.333 5.405 14.595 1.667 10 1.667ZM9.99866 12.5022C10.5502 12.5022 10.9973 12.9494 10.9973 13.5009C10.9973 14.0524 10.5502 14.4996 9.99866 14.4996C9.44712 14.4996 9 14.0524 9 13.5009C9 12.9494 9.44712 12.5022 9.99866 12.5022ZM9.99446 5C10.3742 4.9997 10.6882 5.2816 10.7381 5.64764L10.7451 5.7494L10.7487 10.251C10.749 10.6652 10.4135 11.0013 9.99926 11.0016C9.61957 11.0019 9.30555 10.72 9.25559 10.354L9.24866 10.2522L9.24506 5.7506C9.24473 5.33639 9.58025 5.00033 9.99446 5Z",fill:"#D13438"})),En=L().createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M56 16C69.2552 16 80 26.7472 80 40C80 53.2528 69.2552 64 56 64C42.7448 64 32 53.2528 32 40C32 26.7472 42.7448 16 56 16ZM56 20.0008C44.972 20.0008 36.0008 28.972 36.0008 40C36.0008 51.028 44.972 59.9992 56 59.9992C67.028 59.9992 75.9992 51.028 75.9992 40C75.9992 28.972 67.028 20.0008 56 20.0008ZM55.9968 46.0054C57.3205 46.0054 58.3936 47.0784 58.3936 48.4022C58.3936 49.7259 57.3205 50.799 55.9968 50.799C54.6731 50.799 53.6 49.7259 53.6 48.4022C53.6 47.0784 54.6731 46.0054 55.9968 46.0054ZM55.9867 28C56.898 27.9993 57.6516 28.6758 57.7715 29.5543L57.7881 29.7986L57.7968 40.6024C57.7976 41.5965 56.9923 42.403 55.9982 42.4038C55.087 42.4046 54.3333 41.728 54.2134 40.8495L54.1968 40.6053L54.1881 29.8014C54.1874 28.8073 54.9926 28.0008 55.9867 28Z",fill:"#D13438"})),xn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M4.49999 3C3.67157 3 3 3.67157 3 4.5V11.5C3 12.3284 3.67157 13 4.49999 13H11.5C12.3284 13 12.9999 12.3284 12.9999 11.5V9.26923C12.9999 8.99309 13.2238 8.76923 13.4999 8.76923C13.7761 8.76923 13.9999 8.99309 13.9999 9.26923V11.5C13.9999 12.8807 12.8807 14 11.5 14H4.49999C3.11928 14 2 12.8807 2 11.5V4.5C2 3.11929 3.11928 2 4.49999 2H6.73075C7.00689 2 7.23074 2.22386 7.23074 2.5C7.23074 2.77614 7.00689 3 6.73075 3H4.49999ZM8.76926 2.5C8.76926 2.22386 8.99311 2 9.26925 2H13.5C13.7761 2 14 2.22386 14 2.5V6.73077C14 7.00691 13.7761 7.23077 13.5 7.23077C13.2239 7.23077 13 7.00691 13 6.73077V3.70711L9.6228 7.08433C9.42754 7.27959 9.11096 7.27959 8.9157 7.08433C8.72044 6.88906 8.72044 6.57248 8.9157 6.37722L12.2929 3H9.26925C8.99311 3 8.76926 2.77614 8.76926 2.5Z",fill:"#023B8F"})),kn=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#EEF3F9"}),L().createElement("path",{d:"M9.99806 4.0011C8.76915 4.0011 7.64713 4.48217 6.83044 5.31092C6.03189 6.12126 5.53982 7.24859 5.49914 8.54377L5.49854 8.56307L5.49942 8.58236C5.55611 9.81935 6.15415 10.9073 7.2364 12.0366L7.93751 14.9782L7.94478 14.9998C8.04506 15.2974 8.23732 15.5444 8.47926 15.7174C8.73012 15.8968 9.03709 15.999 9.36154 15.999L9.36295 15.999L10.7464 15.9951L10.7672 15.9933C11.0818 15.9661 11.3741 15.8428 11.6072 15.6476C11.8382 15.454 12.0129 15.1875 12.0875 14.8745L12.8834 11.8248C13.9173 10.8304 14.5012 9.68033 14.5012 8.38731C14.5012 7.17281 13.9938 6.07615 13.1819 5.28548C12.3652 4.49011 11.2382 4.0011 9.99806 4.0011ZM7.54271 6.01283C8.17059 5.37568 9.03566 5.0011 9.99806 5.0011C10.9716 5.0011 11.8499 5.38414 12.4842 6.0019C13.1144 6.61554 13.5012 7.45828 13.5012 8.38731C13.5012 9.37859 13.0482 10.313 12.0966 11.1923L11.989 11.2916L11.5431 13H8.49404L8.14509 11.536L8.04777 11.4368C7.0014 10.3707 6.54729 9.48049 6.4993 8.55567C6.53672 7.50835 6.93324 6.6313 7.54271 6.01283ZM8.73239 14H11.2821L11.1182 14.6276L11.1152 14.6405C11.0934 14.734 11.0409 14.8174 10.965 14.881C10.8924 14.9418 10.8004 14.983 10.6985 14.9952L9.36093 14.999C9.24772 14.9988 9.14394 14.9633 9.06099 14.904C8.98586 14.8503 8.9299 14.7786 8.89869 14.6978L8.73239 14Z",fill:"#174D79"})),Nn=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#174D79"}),L().createElement("path",{d:"M9.99806 4.00098C8.76915 4.00098 7.64713 4.48205 6.83044 5.3108C6.03189 6.12114 5.53982 7.24847 5.49914 8.54365L5.49854 8.56295L5.49942 8.58224C5.55611 9.81923 6.15415 10.9072 7.2364 12.0365L7.93751 14.9781L7.94478 14.9996C8.04506 15.2972 8.23732 15.5442 8.47926 15.7173C8.73012 15.8967 9.03709 15.9989 9.36154 15.9989L9.36295 15.9989L10.7464 15.9949L10.7672 15.9932C11.0818 15.966 11.3741 15.8427 11.6072 15.6475C11.8382 15.4539 12.0129 15.1874 12.0875 14.8744L12.8834 11.8247C13.9173 10.8302 14.5012 9.68021 14.5012 8.38719C14.5012 7.17269 13.9938 6.07603 13.1819 5.28536C12.3652 4.48999 11.2382 4.00098 9.99806 4.00098ZM7.54271 6.01271C8.17059 5.37556 9.03566 5.00098 9.99806 5.00098C10.9716 5.00098 11.8499 5.38402 12.4842 6.00178C13.1144 6.61541 13.5012 7.45815 13.5012 8.38719C13.5012 9.37847 13.0482 10.3129 12.0966 11.1922L11.989 11.2915L11.5431 12.9999H8.49404L8.14509 11.5359L8.04777 11.4367C7.0014 10.3706 6.54729 9.48037 6.4993 8.55554C6.53672 7.50823 6.93324 6.63117 7.54271 6.01271ZM8.73239 13.9999H11.2821L11.1182 14.6275L11.1152 14.6404C11.0934 14.7339 11.0409 14.8173 10.965 14.8809C10.8924 14.9417 10.8004 14.9829 10.6985 14.9951L9.36093 14.9989C9.24772 14.9987 9.14394 14.9632 9.06099 14.9039C8.98586 14.8502 8.9299 14.7785 8.89869 14.6976L8.73239 13.9999Z",fill:"white"})),On=L().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M10.9092 2.78216C11.949 2.20625 13.247 2.54089 13.8848 3.5224L13.9676 3.66023L21.7266 17.6685C21.9114 18.0021 22.0083 18.3773 22.0083 18.7587C22.0083 19.9495 21.0832 20.9243 19.9124 21.0035L19.7583 21.0087H4.2426C3.86129 21.0087 3.48624 20.9118 3.15265 20.7271C2.11281 20.1513 1.70777 18.8734 2.20133 17.812L2.27423 17.6687L10.031 3.66046C10.2355 3.2911 10.5399 2.98674 10.9092 2.78216ZM20.4144 18.3953L12.6555 4.38702C12.4548 4.02467 11.9983 3.89363 11.636 4.09433C11.5437 4.14547 11.4635 4.21533 11.4004 4.299L11.3433 4.3871L3.58648 18.3954C3.38582 18.7577 3.51692 19.2141 3.87929 19.4148C3.96268 19.461 4.05385 19.4907 4.14785 19.5027L4.2426 19.5087H19.7583C20.1725 19.5087 20.5083 19.1729 20.5083 18.7587C20.5083 18.6633 20.4902 18.5691 20.4551 18.4811L20.4144 18.3953L12.6555 4.38702L20.4144 18.3953ZM12.0003 16.0018C12.5518 16.0018 12.9989 16.4489 12.9989 17.0004C12.9989 17.552 12.5518 17.9991 12.0003 17.9991C11.4487 17.9991 11.0016 17.552 11.0016 17.0004C11.0016 16.4489 11.4487 16.0018 12.0003 16.0018ZM11.9961 8.49955C12.3757 8.49925 12.6898 8.78115 12.7397 9.14718L12.7467 9.24895L12.7503 13.7505C12.7506 14.1648 12.4151 14.5008 12.0009 14.5011C11.6212 14.5014 11.3071 14.2195 11.2572 13.8535L11.2503 13.7517L11.2467 9.25015C11.2463 8.83594 11.5818 8.49988 11.9961 8.49955Z",fill:"#A80000"})),An=L().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 16.6944 7.30558 20.5 12 20.5C16.6944 20.5 20.5 16.6944 20.5 12C20.5 7.30558 16.6944 3.5 12 3.5ZM10.75 13.4393L15.2197 8.96967C15.5126 8.67678 15.9874 8.67678 16.2803 8.96967C16.5466 9.23594 16.5708 9.6526 16.3529 9.94621L16.2803 10.0303L11.2803 15.0303C11.0141 15.2966 10.5974 15.3208 10.3038 15.1029L10.2197 15.0303L7.71967 12.5303C7.42678 12.2374 7.42678 11.7626 7.71967 11.4697C7.98594 11.2034 8.4026 11.1792 8.69621 11.3971L8.78033 11.4697L10.75 13.4393L15.2197 8.96967L10.75 13.4393Z",fill:"#107C10"})),Pn=L().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M12 2C17.523 2 22 6.478 22 12C22 17.522 17.523 22 12 22C6.477 22 2 17.522 2 12C2 6.478 6.477 2 12 2ZM12 3.667C7.405 3.667 3.667 7.405 3.667 12C3.667 16.595 7.405 20.333 12 20.333C16.595 20.333 20.333 16.595 20.333 12C20.333 7.405 16.595 3.667 12 3.667ZM12 15.5C12.5523 15.5 13 15.9477 13 16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5C11 15.9477 11.4477 15.5 12 15.5ZM12 6.75C13.5188 6.75 14.75 7.98122 14.75 9.5C14.75 10.5108 14.4525 11.074 13.6989 11.8586L13.5303 12.0303C12.9084 12.6522 12.75 12.9163 12.75 13.5C12.75 13.9142 12.4142 14.25 12 14.25C11.5858 14.25 11.25 13.9142 11.25 13.5C11.25 12.4892 11.5475 11.926 12.3011 11.1414L12.4697 10.9697C13.0916 10.3478 13.25 10.0837 13.25 9.5C13.25 8.80964 12.6904 8.25 12 8.25C11.3528 8.25 10.8205 8.74187 10.7565 9.37219L10.75 9.5C10.75 9.91421 10.4142 10.25 10 10.25C9.58579 10.25 9.25 9.91421 9.25 9.5C9.25 7.98122 10.4812 6.75 12 6.75Z",fill:"#757575"})),Ln=L().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"#717171"})),jn=L().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM5.80943 5.11372C5.61456 4.97872 5.34514 4.99801 5.17157 5.17157L5.11372 5.24082C4.97872 5.43569 4.99801 5.70511 5.17157 5.87868L7.29289 8L5.17157 10.1213L5.11372 10.1906C4.97872 10.3854 4.99801 10.6549 5.17157 10.8284L5.24082 10.8863C5.43569 11.0213 5.70511 11.002 5.87868 10.8284L8 8.70711L10.1213 10.8284L10.1906 10.8863C10.3854 11.0213 10.6549 11.002 10.8284 10.8284L10.8863 10.7592C11.0213 10.5643 11.002 10.2949 10.8284 10.1213L8.70711 8L10.8284 5.87868L10.8863 5.80943C11.0213 5.61456 11.002 5.34514 10.8284 5.17157L10.7592 5.11372C10.5643 4.97872 10.2949 4.99801 10.1213 5.17157L8 7.29289L5.87868 5.17157L5.80943 5.11372Z",fill:"#717171"})),Mn=L().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M4.39705 4.55379L4.46967 4.46967C4.73594 4.2034 5.1526 4.1792 5.44621 4.39705L5.53033 4.46967L12 10.939L18.4697 4.46967C18.7626 4.17678 19.2374 4.17678 19.5303 4.46967C19.8232 4.76256 19.8232 5.23744 19.5303 5.53033L13.061 12L19.5303 18.4697C19.7966 18.7359 19.8208 19.1526 19.6029 19.4462L19.5303 19.5303C19.2641 19.7966 18.8474 19.8208 18.5538 19.6029L18.4697 19.5303L12 13.061L5.53033 19.5303C5.23744 19.8232 4.76256 19.8232 4.46967 19.5303C4.17678 19.2374 4.17678 18.7626 4.46967 18.4697L10.939 12L4.46967 5.53033C4.2034 5.26406 4.1792 4.8474 4.39705 4.55379L4.46967 4.46967L4.39705 4.55379Z",fill:"white"})),In=L().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L().createElement("path",{d:"M10.9998 8.01752C10.9905 8.42363 10.6584 8.74999 10.25 8.74999C9.5 8.74999 9.5 7.9989 9.5 7.9989V7.99777L9.50001 7.99539L9.50006 7.99017C9.50032 7.9755 9.50072 7.96084 9.50144 7.94618C9.50262 7.92198 9.50473 7.89159 9.50846 7.8559C9.51591 7.78477 9.52996 7.69092 9.55665 7.58186C9.60973 7.36492 9.71565 7.07652 9.92848 6.78906C10.3825 6.17582 11.1982 5.72727 12.513 5.7501C13.4627 5.76659 14.3059 6.16497 14.834 6.82047C15.371 7.48704 15.5517 8.3902 15.1964 9.27853C14.8342 10.1839 14.0149 10.5437 13.5442 10.7503L13.4932 10.7728C13.2147 10.8957 13.0813 10.9599 13.0013 11.024L13 11.0251V11.7492C13.0001 12.1634 12.6643 12.4999 12.2501 12.5C11.8359 12.5 11.5001 12.1643 11.5 11.7501V11C11.5 10.4769 11.752 10.1029 12.0633 9.85345C12.3134 9.65303 12.6276 9.51483 12.8491 9.4174L12.8875 9.40049C13.4292 9.16137 13.6868 9.01346 13.8036 8.72145C13.9483 8.35977 13.8789 8.02596 13.6659 7.76153C13.4439 7.48604 13.0371 7.25943 12.487 7.24988C11.5518 7.23364 11.2425 7.53509 11.134 7.68162C11.0656 7.77404 11.0309 7.86797 11.0137 7.93838C11.0052 7.973 11.0017 7.99908 11.0003 8.01197L10.9998 8.01752ZM12.25 15.5C12.8023 15.5 13.25 15.0523 13.25 14.5C13.25 13.9477 12.8023 13.5 12.25 13.5C11.6977 13.5 11.25 13.9477 11.25 14.5C11.25 15.0523 11.6977 15.5 12.25 15.5ZM4 4.5C4 3.11929 5.11929 2 6.5 2H18C19.3807 2 20.5 3.11929 20.5 4.5V18.75C20.5 19.1642 20.1642 19.5 19.75 19.5H5.5C5.5 20.0523 5.94772 20.5 6.5 20.5H19.75C20.1642 20.5 20.5 20.8358 20.5 21.25C20.5 21.6642 20.1642 22 19.75 22H6.5C5.11929 22 4 20.8807 4 19.5V4.5ZM5.5 4.5V18H19V4.5C19 3.94772 18.5523 3.5 18 3.5H6.5C5.94772 3.5 5.5 3.94772 5.5 4.5Z",fill:"white"}));function Tn(){var e,t,n=(e=["\n border-radius: 50%;\n background-color: #3975ea;\n width: 60px;\n height: 60px;\n position: fixed;\n right: 40px;\n bottom: 40px;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 2;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Tn=function(){return n},n}var Rn=qt.div(Tn()),zn=function(e){var t=e.open,n=e.onClick;return L().createElement(Rn,{onClick:n},t?Mn:In)};function Dn(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Fn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Dn(a,r,o,i,l,"next",e)}function l(e){Dn(a,r,o,i,l,"throw",e)}i(void 0)}))}}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1&&void 0!==o[1]?o[1]:{},n=Vn({},Wn,n=o.length>2&&void 0!==o[2]?o[2]:Wn),r=n.retryCounts,[2,new Promise((function(o,a){var i=function(){var l=Fn((function(){return Zn(this,(function(l){return fetch("".concat(e).concat(n.shouldForceRequest?"&_ts=".concat(Date.now()):""),Vn({},$n,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){r>0?(r--,i()):a(e)})),[2]}))}));return function(){return l.apply(this,arguments)}}();i()}))]}))})),function(e){return Un.apply(this,arguments)});function Yn(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Gn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Yn(a,r,o,i,l,"next",e)}function l(e){Yn(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Qn=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return qn("../?rest_route=/microsoft/v1/log",{method:"POST",body:JSON.stringify({key:e,featureSet:n,payload:t})})},Xr=function(e){Qr(e,Gr(Yr({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{pageName:location.hash}),"Help Center")};function Jr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=2&&Xr("help-faq-search-value",{searchValue:e})}),2e3),[]);return i?L().createElement(Sr,null):L().createElement(L().Fragment,null,L().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__search-input-container--KaYhH"},L().createElement(no,{style:{position:"absolute"},width:"100%",onChange:function(e){var t=e.target.value.trim().toLocaleLowerCase();u(t);var n=new RegExp("(".concat(t,")"),"ig");t.length>=2?m(r.filter((function(e){return e.title.trim().search(n)>-1})).map((function(e){return{title:e.title.replaceAll(n,"$1"),id:e.id}}))):m([]),g(t)},value:c},c.length>=2?L().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__search-result-list--gmJUw"},L().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__result-length--tt5fI"},(0,Er.__)("Related question ($1)","microsoft-start").replace("$1",d.length.toString())),d.map((function(e){return L().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__result-item--A8x91",key:e.id,onMouseDown:function(){var t;t=e.id,u(""),o(r.map((function(e){return Co(wo({},e),{open:e.id===t})}))),setTimeout((function(){var e,n=r.findIndex((function(e){return e.id===t}));null===(e=p.current)||void 0===e||e.scrollTo({top:h.reduce((function(e,t,r){return re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=jo?jo:e-32)};return(0,P.useEffect)((function(){t?(window.addEventListener("resize",c),c(),Xr("help-center-show")):window.removeEventListener("resize",c)}),[t]),L().createElement(Mo,{style:{height:i},open:t,ref:s},L().createElement(Zr,{title:(0,Er.__)("Product FAQ","microsoft-start")},L().createElement(ko,{popupOpen:t}),L().createElement(Rr,{onHealthCheckClick:function(){o(!0),Xr("health-check-btn-click")}})),r&&L().createElement(Io,null,L().createElement(Zr,{title:(0,Er.__)("Health Check","microsoft-start"),showArrow:!0,onArrowClick:function(){o(!1)}},L().createElement(Pr,null))))};function Ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r{e.source===this.windowInstance&&this.emit("message",e.data)}}aa=la.prototype,Object.assign(aa,ia.EventEmitter.prototype),aa.emitChange=function(){this.emit("change")},aa.off=aa.removeListener,la.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},la.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},la.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},la.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},la.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t};const sa=la;var ca,ua,fa,da,ma,pa=function(e){var t,n,r,o,a,i,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s="".concat("https://www.msn.com/").concat(null!==(i=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==i?i:"en-us","/partnerhub").concat(null!=e?e:""),c=null===(n=window.msn_dashboard_render_status)||void 0===n||null===(r=n.profile)||void 0===r?void 0:r.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(a=o.profile)||void 0===a?void 0:a.accountId;return c&&!(null==e?void 0:e.includes("#"))&&(s+="#fromwp=true",s+="&partnerid=".concat(c),u&&(s+="&brandid=".concat(l?"all":u))),s},ha=function(e){return"https://helpcenter.microsoftstart.com/kb/articles/"+e};function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Initial=0]="Initial",e[e.Processing=1]="Processing",e[e.Success=2]="Success",e[e.Failed=3]="Failed"}(ca||(ca={})),function(e){e.EditorMode="editor",e.FeedMode="feed"}(ua||(ua={})),function(e){e.Uncategorized="Uncategorized",e.Autos="Autos",e.Entertainment="Entertainment",e.Finance="Finance",e.FoodAndDrink="Food & Drink",e.HealthAndFitness="Health & Fitness",e.Lifestyle="Lifestyle",e.News="News",e.Sports="Sports",e.Travel="Travel",e.Video="Video",e.Weather="Weather"}(fa||(fa={})),function(e){e.Empty="Empty",e.Yes="Yes",e.No="No"}(da||(da={}));var ba,va,ya,_a,wa,Ca,Sa,Ea,xa,ka,Na,Oa,Aa,Pa=(ga(ma={},da.Yes,(0,Er.__)("Yes, content is local","microsoft-start")),ga(ma,da.No,(0,Er.__)("No, content isn't local","microsoft-start")),ma),La=(ga(ba={},da.Empty,(0,Er.__)("Select one","microsoft-start")),ga(ba,da.Yes,(0,Er.__)("Yes, this feed includes AI Assisted Content","microsoft-start")),ga(ba,da.No,(0,Er.__)("No, this feed does not include AI Assisted Content","microsoft-start")),ba);function ja(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.FailedModeration=2]="FailedModeration"}(va||(va={})),function(e){e[e.Initial=0]="Initial",e[e.Success=200]="Success",e[e.Failed=500]="Failed",e[e.DisabledByInternal=2]="DisabledByInternal",e[e.DecommissionedByInternal=3]="DecommissionedByInternal"}(ya||(ya={})),function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.VettingFailed=2]="VettingFailed",e[e.Shutdown=3]="Shutdown",e[e.Suspended=4]="Suspended"}(Ea||(Ea={})),function(e){e[e.NotScreened=0]="NotScreened",e[e.Pass=1]="Pass",e[e.Fail=2]="Fail",e[e.UnderReview=3]="UnderReview",e[e.DataIssue=4]="DataIssue"}(xa||(xa={})),function(e){e[e.NotExist=0]="NotExist",e[e.Active=1]="Active"}(ka||(ka={})),function(e){e[e.Creator=0]="Creator",e[e.Publisher=2]="Publisher"}(Na||(Na={})),function(e){e[e.None=0]="None",e[e.Appealing=1]="Appealing",e[e.AppealFailed=2]="AppealFailed",e[e.AppealRejected=3]="AppealRejected"}(Oa||(Oa={})),function(e){e[e.Active=0]="Active",e[e.Suspended=1]="Suspended",e[e.Terminated=2]="Terminated",e[e.PendingReview=3]="PendingReview",e[e.FailedModeration=4]="FailedModeration"}(Aa||(Aa={}));var Ma,Ia=(null===(_a=window.msn_dashboard_render_status)||void 0===_a||null===(wa=_a.profile)||void 0===wa?void 0:wa.lifeCycleStatus)===Aa.Suspended||(null===(Ca=window.msn_dashboard_render_status)||void 0===Ca||null===(Sa=Ca.profile)||void 0===Sa?void 0:Sa.partnerStatus)===Ea.Suspended,Ta=(ja(Ma={},da.Empty,(0,Er.__)("Select one","microsoft-start")),ja(Ma,da.Yes,(0,Er.__)("Yes, it is AI Assisted Content","microsoft-start")),ja(Ma,da.No,(0,Er.__)("No, it is not AI Assisted Content","microsoft-start")),/Edg/.test(window.navigator.userAgent)),Ra=function(){return window.msn_dashboard_render_status.profile&&window.msn_dashboard_render_status.enabled},za=function(){var e,t,n;return window.msn_dashboard_render_status.profile&&window.msn_dashboard_render_status.active&&(null===(e=window.msn_dashboard_render_status.profile)||void 0===e||null===(t=e.partnerMetadata)||void 0===t||null===(n=t.paymentStatus)||void 0===n?void 0:n.stripeAccountStatus)!==ka.NotExist},Da=function(e){return[e.locality,e.region,e.country].filter((function(e){return!!e})).join(", ")};function Fa(){return L().createElement("div",{className:oa.setting},L().createElement("nav",{className:oa.nav},L().createElement(ra,{nav:[{title:(0,Er.__)("Connection","microsoft-start"),to:"",end:!0},{title:(0,Er.__)("Profile","microsoft-start"),to:"profile",disabled:!Ra()},{title:(0,Er.__)("Content","microsoft-start"),to:"content",disabled:!za()}]})),L().createElement(re,null))}const Ha=window.wp.components;var Va,Ba,Ua,Za,$a,Wa,qa=function(e,t){localStorage.setItem(e,t)},Ya={Signal_423:"templateSerialNum_01",Signal_424:"templateSerialNum_02",Signal_425:"templateSerialNum_03",Signal_426:"templateSerialNum_04",Signal_427:"templateSerialNum_05",Signal_454:"templateSerialNum_07",Signal_508:"templateSerialNum_15",Signal_482:"templateSerialNum_12",Signal_428:"templateSerialNum_01",Signal_429:"templateSerialNum_02",Signal_430:"templateSerialNum_03",Signal_431:"templateSerialNum_04",Signal_432:"templateSerialNum_05",Signal_483:"templateSerialNum_13",Signal_433:"templateSerialNum_06",Signal_455:"templateSerialNum_08",Signal_456:"templateSerialNum_09",Signal_474:"templateSerialNum_10",Signal_475:"templateSerialNum_11",Signal_489:"templateSerialNum_14",Signal_582:"templateSerialNum_16",Signal_583:"templateSerialNum_16",Signal_653:"templateSerialNum_17",Signal_654:"templateSerialNum_17"},Ga={descriptions:{templateSerialNum_01:(0,Er.__)("Payment account required. {delimiter}Enter account information to receive payments.","microsoft-start"),templateSerialNum_02:(0,Er.__)("Payment account error. {delimiter}Error in payment account. Fix to continue.","microsoft-start"),templateSerialNum_03:(0,Er.__)("Payment account under review. {delimiter}Your payment account is under review. This may take several business days.","microsoft-start"),templateSerialNum_04:(0,Er.__)("Payment account set up successfully. {delimiter}Your payment account is active","microsoft-start"),templateSerialNum_05:(0,Er.__)("Your payment account is temporary active. {delimiter}Additional information needed for your payment account.","microsoft-start"),templateSerialNum_06:(0,Er.__)("Your brand is under review.{delimiter}Your brand profile is under review. This may take up to 5 business days.","microsoft-start"),templateSerialNum_07:(0,Er.__)("Enable Reader support.{delimiter}You have not enabled reader support for your business.","microsoft-start"),templateSerialNum_08:(0,Er.__)("Account is under review.{delimiter}We are reviewing your account and this can take up two business days complete normally.","microsoft-start"),templateSerialNum_09:(0,Er.__)("Account didn’t pass our review.{delimiter}Your account didn’t pass our review. You can contact us for the support.","microsoft-start"),templateSerialNum_10:(0,Er.__)("Brand didn’t pass review.{delimiter}Your brand profile didn’t pass our review.","microsoft-start"),templateSerialNum_11:(0,Er.__)("Profile change didn’t pass review.{delimiter}Your brand profile didn’t pass our review. Please edit the brand profile under settings and resubmit the request.","microsoft-start"),templateSerialNum_12:(0,Er.__)("A payment account is required. {delimiter}A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),templateSerialNum_13:(0,Er.__)("A payment account is required. {delimiter}A payment account has not been added by your organization. This is required for publishing.","microsoft-start"),templateSerialNum_14:(0,Er.__)("Your account didn't pass review.{delimiter}","microsoft-start"),templateSerialNum_15:(0,Er.__)("Monthly Revenue Statement Available{delimiter}Your partner revenue statement is available to download. Please note that only partner-level admins can access.","microsoft-start"),templateSerialNum_16:(0,Er.__)("Account didn’t pass review:{delimiter} There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),templateSerialNum_17:(0,Er.__)("This brand is currently suspended by Microsoft Start.{delimiter} Content, settings, and feed can still be viewed, but can't be changed.","microsoft-start")},actions:{detail:(0,Er.__)("Detail","microsoft-start"),setUpPaymentAccount:(0,Er.__)("Set up a payment account","microsoft-start"),enableTipping:(0,Er.__)("Enable it now","microsoft-start"),viewProfile:(0,Er.__)("View detail","microsoft-start"),addAccount:(0,Er.__)("Add account","microsoft-start"),seeDetails:(0,Er.__)("See details","microsoft-start"),view:(0,Er.__)("View","microsoft-start"),contactSupport:(0,Er.__)("Contact support","microsoft-start")}},Qa={monetizationOptions:pa("/monetization/options"),paymentSetting:pa("/monetization/payment-setting",!0),brandManagementProfile:pa("/setting/brand/profile"),reVetting:pa("/setting/revetting",!0),earningReportAdRevenue:pa("/monetization/earning-report/ad-revenue",!0)},Xa={Action_01:[{Text:Ga.actions.setUpPaymentAccount,Href:Qa.paymentSetting,IsExternalLink:!0}],Action_02:[{Text:Ga.actions.detail,Href:Qa.paymentSetting,IsExternalLink:!0}],Action_03:[{Text:Ga.actions.enableTipping,Href:Qa.monetizationOptions,IsExternalLink:!0}],Action_04:[{Text:Ga.actions.viewProfile,Href:Qa.brandManagementProfile,IsExternalLink:!0}],Action_05:[{Text:Ga.actions.addAccount,Href:Qa.paymentSetting,IsExternalLink:!0}],Action_06:[{Text:Ga.actions.seeDetails,Href:Qa.reVetting,IsExternalLink:!0}],Action_07:[{Text:Ga.actions.view,Href:Qa.earningReportAdRevenue,IsExternalLink:!0}],Action_08:[{Text:Ga.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}],Action_09:[{Text:Ga.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}],Action_10:[{Text:Ga.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}]},Ja={templateSerialNum_01:Xa.Action_01,templateSerialNum_02:Xa.Action_02,templateSerialNum_03:Xa.Action_02,templateSerialNum_04:Xa.Action_02,templateSerialNum_05:Xa.Action_02,templateSerialNum_07:Xa.Action_03,templateSerialNum_10:Xa.Action_04,templateSerialNum_11:Xa.Action_04,templateSerialNum_12:Xa.Action_05,templateSerialNum_14:Xa.Action_06,templateSerialNum_15:Xa.Action_07,templateSerialNum_16:Xa.Action_08};!function(e){e[e.StageZero=0]="StageZero",e[e.StageOne=1]="StageOne",e[e.StageTwo=2]="StageTwo",e[e.StageThree=3]="StageThree"}(Ua||(Ua={})),function(e){e[e.NOT_SET=0]="NOT_SET",e[e.PENDING=1]="PENDING",e[e.INVALID=2]="INVALID",e[e.ACTIVE_NEED_MORE_INFO=3]="ACTIVE_NEED_MORE_INFO",e[e.ACTIVE=4]="ACTIVE"}(Za||(Za={})),function(e){e[e.PASS=0]="PASS",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.FAIL=2]="FAIL"}($a||($a={})),function(e){e.GetStarted="getStarted",e.InProgress="inProgress",e.Completed="completed",e.Failed="failed",e.NeedsAttention="needsAttention"}(Wa||(Wa={}));var Ka={status:Wa.Completed,statusText:(0,Er.__)("Completed","microsoft-start"),title:(0,Er.__)("Account approved","microsoft-start"),content:(0,Er.__)("The business information provided has passed our review.","microsoft-start")},ei={status:Wa.InProgress,statusText:(0,Er.__)("In progress","microsoft-start"),title:(0,Er.__)("Account under review","microsoft-start"),content:(null===(Va=window.msn_dashboard_render_status)||void 0===Va||null===(Ba=Va.profile)||void 0===Ba?void 0:Ba.accountType)===Na.Publisher?(0,Er.__)("It may take up to 10 business days to verify the business information.","microsoft-start"):(0,Er.__)("This should only take a few minutes.","microsoft-start"),actionType:"link",actionText:(0,Er.__)("Learn more","microsoft-start"),actionLink:ha(1)},ti={status:Wa.Failed,statusText:(0,Er.__)("Failed","microsoft-start"),title:(0,Er.__)("Account didn't pass review","microsoft-start"),content:(0,Er.__)("Additional business information is needed to continue.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("See details","microsoft-start"),actionLink:Qa.reVetting},ni={status:Wa.Failed,statusText:(0,Er.__)("Failed","microsoft-start"),title:(0,Er.__)("Account didn't pass review","microsoft-start"),content:(0,Er.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("Contact support","microsoft-start"),actionLink:"mailto:newshelp@microsoft.com"},ri={status:Wa.Completed,statusText:(0,Er.__)("Completed","microsoft-start"),title:(0,Er.__)("Brand profile approved","microsoft-start"),content:(0,Er.__)("The business information you provided has been verified.","microsoft-start")},oi={status:Wa.InProgress,statusText:(0,Er.__)("In progress","microsoft-start"),title:(0,Er.__)("Brand profile under review","microsoft-start"),content:(0,Er.__)("This can take up to 5 business days to complete.","microsoft-start"),actionType:"link",actionText:(0,Er.__)("See details","microsoft-start"),actionLink:Qa.brandManagementProfile},ai={status:Wa.Failed,statusText:(0,Er.__)("Failed","microsoft-start"),title:(0,Er.__)("Brand profile didn't pass review","microsoft-start"),content:(0,Er.__)("Additional information is needed to continue.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("See details","microsoft-start"),actionLink:Qa.brandManagementProfile},ii={status:Wa.Completed,statusText:(0,Er.__)("Completed","microsoft-start"),title:(0,Er.__)("Payment account active","microsoft-start"),content:(0,Er.__)("This account can now receive payments from Microsoft.","microsoft-start")},li={status:Wa.NeedsAttention,statusText:(0,Er.__)("Needs attention","microsoft-start"),title:(0,Er.__)("Issue with payment account","microsoft-start"),content:(0,Er.__)("Additional information is needed to activate this account.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("Update","microsoft-start"),actionLink:Qa.paymentSetting},si={status:Wa.GetStarted,statusText:(0,Er.__)("Get started","microsoft-start"),title:(0,Er.__)("Set up payment account","microsoft-start"),content:(0,Er.__)("A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("Set up payment account","microsoft-start"),actionLink:Qa.paymentSetting},ci={status:Wa.InProgress,statusText:(0,Er.__)("In progress","microsoft-start"),title:(0,Er.__)("Payment account under review","microsoft-start"),content:(0,Er.__)("This may take several business days to complete.","microsoft-start"),actionType:"link",actionText:(0,Er.__)("See details","microsoft-start"),actionLink:Qa.paymentSetting},ui={status:Wa.Failed,statusText:(0,Er.__)("Needs attention","microsoft-start"),title:(0,Er.__)("Error with payment account","microsoft-start"),content:(0,Er.__)("Check the information you provided to activate this account.","microsoft-start"),actionType:"button",actionText:(0,Er.__)("See details","microsoft-start"),actionLink:Qa.paymentSetting},fi=function(e){if(!e)return[void 0,void 0,void 0];var t,n,r,o=e.partnerStatus,a=e.brandModStatus,i=e.paymentAccountStatus,l=e.tradeScreeningStatus;switch(o){case Ea.Active:t=Ka;break;case Ea.PendingReview:t=ei;break;case Ea.VettingFailed:t=l===xa.DataIssue?ni:ti}switch(a){case $a.PASS:n=ri;break;case $a.IN_PROGRESS:n=oi;break;case $a.FAIL:n=ai}switch(i){case Za.NOT_SET:r=si;break;case Za.PENDING:r=ci;break;case Za.INVALID:r=ui;break;case Za.ACTIVE:r=ii;break;case Za.ACTIVE_NEED_MORE_INFO:r=li}return[t,n,r].filter((function(e){return void 0!==e}))};function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n".concat((0,Er.__)("edit profile","microsoft-start"),""))}})),n?L().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-profile-module__loading--rEpdL"},L().createElement(_r,null)):L().createElement(L().Fragment,null,L().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-profile-module__profile-content--voCmL"},L().createElement("figure",null,L().createElement("img",{className:"microsoft-start-src-dashboard-settings-components-profile-module__avatar--BHnQ7",src:window.msn_dashboard_render_status.profile.avatar}),L().createElement("figcaption",{className:"microsoft-start-src-dashboard-settings-components-profile-module__edit-button--bzNtA"},L().createElement(Ni,{tooltipMessage:(0,Er.__)("Access denied","microsoft-start")},L().createElement("a",{href:pa("/setting/brand/profile"),target:"_blank"},(0,Er.__)("Edit profile","microsoft-start")))))),L().createElement("div",null,L().createElement("label",{className:ji},(0,Er.__)("Name","microsoft-start")),L().createElement("p",null,window.msn_dashboard_render_status.profile.name)),L().createElement("div",null,L().createElement("label",{className:ji},(0,Er.__)("Description","microsoft-start")),L().createElement("p",null,a)))):null};function Ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zi,Di,Fi,Hi={feedName:"",feedURL:"feed/",countryRegion:"",isLocalNews:da.No,locations:"",isAIACIncluded:da.Empty},Vi={category:fa.Uncategorized,editorLocations:""},Bi=(Ri(zi={},ca.Success,{status:"success",message:(0,Er.__)("Success","microsoft-start")}),Ri(zi,ca.Failed,{status:"failed",message:(0,Er.__)("Failed","microsoft-start")}),Ri(zi,ca.Processing,{status:"processing",message:(0,Er.__)("Processing","microsoft-start")}),zi),Ui=(Ri(Di={},ya.Success,{status:"success",message:(0,Er.__)("Saved","microsoft-start")}),Ri(Di,ya.Failed,{status:"error",message:(0,Er.__)("Something went wrong.","microsoft-start")}),Ri(Di,ya.DisabledByInternal,{status:"error",message:(0,Er.__)("This feed is suspended by Microsoft Start for not meeting our {publishingGuideline}. You can't make any changes. Contact MSPH support for more information.","microsoft-start")}),Ri(Di,ya.DecommissionedByInternal,{status:"error",message:(0,Er.__)("This feed has been deleted by Microsoft Start for not meeting our {publishingGuideline}. You can't make changes. Contact MSPH support for more information.","microsoft-start")}),Di);function Zi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $i=(Zi(Fi={},fa.Uncategorized,(0,Er.__)("Uncategorized","microsoft-start")),Zi(Fi,fa.Autos,(0,Er.__)("Autos","microsoft-start")),Zi(Fi,fa.Entertainment,(0,Er.__)("Entertainment","microsoft-start")),Zi(Fi,fa.Finance,(0,Er.__)("Finance","microsoft-start")),Zi(Fi,fa.FoodAndDrink,(0,Er.__)("Food & Drink","microsoft-start")),Zi(Fi,fa.HealthAndFitness,(0,Er.__)("Health & Fitness","microsoft-start")),Zi(Fi,fa.Lifestyle,(0,Er.__)("Lifestyle","microsoft-start")),Zi(Fi,fa.News,(0,Er.__)("News","microsoft-start")),Zi(Fi,fa.Sports,(0,Er.__)("Sports","microsoft-start")),Zi(Fi,fa.Travel,(0,Er.__)("Travel","microsoft-start")),Zi(Fi,fa.Video,(0,Er.__)("Video","microsoft-start")),Zi(Fi,fa.Weather,(0,Er.__)("Weather","microsoft-start")),Fi);const Wi="microsoft-start-src-dashboard-settings-components-editorMode-module__item--RXGHh",qi="microsoft-start-src-dashboard-settings-components-editorMode-module__title--xjetD",Yi={container:"microsoft-start-src-components-Selector-index-module__container--doNLR",select:"microsoft-start-src-components-Selector-index-module__select--Q0rl5",middle:"microsoft-start-src-components-Selector-index-module__middle--PDMDz",option:"microsoft-start-src-components-Selector-index-module__option--uL4HY",small:"microsoft-start-src-components-Selector-index-module__small--zYwAk",placeholder:"microsoft-start-src-components-Selector-index-module__placeholder--rJSnK",disabled:"microsoft-start-src-components-Selector-index-module__disabled--RT3nb",opened:"microsoft-start-src-components-Selector-index-module__opened--je_yR",options:"microsoft-start-src-components-Selector-index-module__options--lb8GE",bottom:"microsoft-start-src-components-Selector-index-module__bottom--C2GE0",top:"microsoft-start-src-components-Selector-index-module__top--QKeYu",item:"microsoft-start-src-components-Selector-index-module__item--QB_5H"};function Gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n ').concat((0,Er.__)("Microsoft Start Partner Hub feed page","microsoft-start"),"\n "))}}))),L().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__form--Zl0bB"},L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Feed Name","microsoft-start")),L().createElement(il,{width:"100%",disabled:l,value:r.feedName,onChange:function(e){return o({feedName:e.target.value})}})),L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl),id:"url-label"},(0,Er.__)("Feed URL","microsoft-start")),L().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__flex-box--PhB02"},L().createElement("span",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__base-url--Xyc6E"},a),L().createElement(il,{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__path-input--mtMZE",disabled:l,value:r.feedURL,onChange:function(e){return o({feedURL:e.target.value})}}))),L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Type","microsoft-start")),L().createElement(il,{width:"100%",disabled:!0,value:(0,Er.__)("Article","microsoft-start")})),L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Format","microsoft-start")),L().createElement(il,{width:"100%",value:(0,Er.__)("RSS","microsoft-start"),disabled:!0})),L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Country/Region","microsoft-start")),L().createElement("div",null,L().createElement(Xi,{disabled:l,value:r.countryRegion,onChange:function(e){return o({countryRegion:e})}},i.map((function(e){return L().createElement(Ji,{key:e.id,value:e.id},e.displayString)}))))),L().createElement("div",{className:el},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Local news","microsoft-start"),L().createElement(ki,{content:L().createElement("div",{className:rl},(0,Er.__)("Select Yes if your site covers local news and events. This will show your content to users in and around that area.","microsoft-start"))},hn)),L().createElement("div",null,L().createElement(Xi,{disabled:l,value:r.isLocalNews,onChange:function(e){return function(e){e===da.No&&p(r.locations),o({isLocalNews:e,locations:e===da.No?n.locations:m})}(e)}},Object.entries(Pa).map((function(e){return L().createElement(Ji,{key:e[0],value:e[0]},e[1])}))))),L().createElement("div",{style:{display:"Yes"===r.isLocalNews?"block":"none"},className:"".concat(el," ").concat("")},L().createElement("div",{className:"".concat(tl," ").concat(nl)},(0,Er.__)("Target audience location","microsoft-start"),L().createElement(ki,{content:L().createElement("div",{className:rl},(0,Er.__)("Please select at least 1 and up to 10 locations for the intended audience. This can be a city or county or combined.","microsoft-start"))},hn)),L().createElement("div",{className:"mscreator-iframe-container ".concat(l?"microsoft-start-src-dashboard-settings-components-feedMode-module__iframe-loading--tioI_":""),"data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":JSON.stringify(c)})),L().createElement("div",{className:el},L().createElement("div",{className:tl},(0,Er.__)("AI Assisted Content declaration","microsoft-start"),L().createElement(ki,{content:L().createElement("div",{style:{width:320},className:rl},L().createElement("div",{dangerouslySetInnerHTML:{__html:(0,Er.__)("Select {b}Yes{/b} if any content (text, image or video) generated with the assistance of AI. Do not submit content that is unreviewed AI-generated content.","microsoft-start").replaceAll("{b}","").replaceAll("{/b}","")}}))},hn)),L().createElement("div",null,L().createElement(Xi,{disabled:l,value:r.isAIACIncluded,onChange:function(e){return o({isAIACIncluded:e})}},Object.entries(La).map((function(e){return L().createElement(Ji,{key:e[0],value:e[0]},e[1])})))))))},cl=[{id:"ar-ae",value:"ar-ae",displayString:"الإمارات العربية المتحدة (العربية)",direction:"rtl"},{id:"ar-eg",value:"ar-eg",displayString:"مصر (العربية)",direction:"rtl"},{id:"ar-sa",value:"ar-sa",displayString:"المملكة العربية السعودية (العربية)",direction:"rtl"},{id:"bn-in",value:"bn-in",displayString:"India (বাংলা)",direction:"ltr"},{id:"cs-cz",value:"cs-cz",displayString:"Česká republika (čeština)",direction:"ltr"},{id:"da-dk",value:"da-dk",displayString:"Danmark (Dansk)",direction:"ltr"},{id:"de-at",value:"de-at",displayString:"Österreich (Deutsch)",direction:"ltr"},{id:"de-ch",value:"de-ch",displayString:"Schweiz (Deutsch)",direction:"ltr"},{id:"de-de",value:"de-de",displayString:"Deutschland (Deutsch)",direction:"ltr"},{id:"el-gr",value:"el-gr",displayString:"Ελλάδα (ελληνικά)",direction:"ltr"},{id:"en-ae",value:"en-ae",displayString:"United Arab Emirates (English)",direction:"ltr"},{id:"en-au",value:"en-au",displayString:"Australia (English)",direction:"ltr"},{id:"en-ca",value:"en-ca",displayString:"Canada (English)",direction:"ltr"},{id:"en-gb",value:"en-gb",displayString:"United Kingdom (English)",direction:"ltr"},{id:"en-ie",value:"en-ie",displayString:"Ireland (English)",direction:"ltr"},{id:"en-in",value:"en-in",displayString:"India (English)",direction:"ltr"},{id:"en-my",value:"en-my",displayString:"Malaysia (English)",direction:"ltr"},{id:"en-nz",value:"en-nz",displayString:"New Zealand (English)",direction:"ltr"},{id:"en-ph",value:"en-ph",displayString:"Philippines (English)",direction:"ltr"},{id:"en-sg",value:"en-sg",displayString:"Singapore (English)",direction:"ltr"},{id:"en-us",value:"en-us",displayString:"United States (English)",direction:"ltr"},{id:"en-xl",value:"en-xl",displayString:"International Edition (English)",direction:"ltr"},{id:"en-za",value:"en-za",displayString:"South Africa (English)",direction:"ltr"},{id:"es-ar",value:"es-ar",displayString:"Argentina (español)",direction:"ltr"},{id:"es-cl",value:"es-cl",displayString:"Chile (español)",direction:"ltr"},{id:"es-co",value:"es-co",displayString:"Colombia (español)",direction:"ltr"},{id:"es-es",value:"es-es",displayString:"España (español)",direction:"ltr"},{id:"es-mx",value:"es-mx",displayString:"México (español)",direction:"ltr"},{id:"es-pe",value:"es-pe",displayString:"Perú (español)",direction:"ltr"},{id:"es-us",value:"es-us",displayString:"United States (español)",direction:"ltr"},{id:"es-ve",value:"es-ve",displayString:"Venezuela (español)",direction:"ltr"},{id:"es-xl",value:"es-xl",displayString:"América Latina (español)",direction:"ltr"},{id:"fi-fi",value:"fi-fi",displayString:"Suomi (suomi)",direction:"ltr"},{id:"fr-be",value:"fr-be",displayString:"Belgique (français)",direction:"ltr"},{id:"fr-ca",value:"fr-ca",displayString:"Canada (français)",direction:"ltr"},{id:"fr-ch",value:"fr-ch",displayString:"Suisse (français)",direction:"ltr"},{id:"fr-fr",value:"fr-fr",displayString:"France (français)",direction:"ltr"},{id:"fr-xl",value:"fr-xl",displayString:"Afrique francophone (français)",direction:"ltr"},{id:"he-il",value:"he-il",displayString:"ישראל (עברית)",direction:"rtl"},{id:"hi-in",value:"hi-in",displayString:"India (हिंदी)",direction:"ltr"},{id:"hu-hu",value:"hu-hu",displayString:"Magyarország (magyar)",direction:"ltr"},{id:"id-id",value:"id-id",displayString:"Indonesia (Bahasa Indonesia)",direction:"ltr"},{id:"it-it",value:"it-it",displayString:"Italia (italiano)",direction:"ltr"},{id:"ja-jp",value:"ja-jp",displayString:"日本 (日本語)",direction:"ltr"},{id:"ko-kr",value:"ko-kr",displayString:"한국 (한국어)",direction:"ltr"},{id:"mr-in",value:"mr-in",displayString:"India (मराठी)",direction:"ltr"},{id:"nb-no",value:"nb-no",displayString:"Norge (norsk, bokmål)",direction:"ltr"},{id:"nl-be",value:"nl-be",displayString:"België (Nederlands)",direction:"ltr"},{id:"nl-nl",value:"nl-nl",displayString:"Nederland (Nederlands)",direction:"ltr"},{id:"pl-pl",value:"pl-pl",displayString:"Polska (polski)",direction:"ltr"},{id:"pt-br",value:"pt-br",displayString:"Brasil (português)",direction:"ltr"},{id:"pt-pt",value:"pt-pt",displayString:"Portugal (Português)",direction:"ltr"},{id:"ru-xl",value:"ru-xl",displayString:"International Edition (Pусский)",direction:"ltr"},{id:"ru-ru",value:"ru-ru",displayString:"Россия (Pусский)",direction:"ltr"},{id:"sv-se",value:"sv-se",displayString:"Sverige (svenska)",direction:"ltr"},{id:"te-in",value:"te-in",displayString:"India (తెలుగు)",direction:"ltr"},{id:"th-th",value:"th-th",displayString:"ไทย (ไทย)",direction:"ltr"},{id:"tr-tr",value:"tr-tr",displayString:"Türkiye (Türkçe)",direction:"ltr"},{id:"vi-vn",value:"vi-vn",displayString:"Việt Nam (Tiếng Việt)",direction:"ltr"},{id:"zh-cn",value:"zh-cn",displayString:"中华人民共和国 (简体中文)",direction:"ltr"},{id:"zh-hk",value:"zh-hk",displayString:"香港特别行政區 (繁體中文)",direction:"ltr"},{id:"zh-tw",value:"zh-tw",displayString:"台灣 (繁體中文)",direction:"ltr"}];function ul(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function fl(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){ul(a,r,o,i,l,"next",e)}function l(e){ul(a,r,o,i,l,"throw",e)}i(void 0)}))}}var dl=function(e){qn("../?rest_route=/microsoft/v1/batch-submit-posts",{method:"POST",body:JSON.stringify(e)});var t=function(){return new Promise((function(e){ml().then((function(n){0===n.total?setTimeout(fl((function(){var n;return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat((0,Er.__)("publishing guidelines","microsoft-start"),""))}})))),L().createElement("h2",{className:pl.title},(0,Er.__)("Publishing settings","microsoft-start")),L().createElement("p",{className:pl.subtitle},(0,Er.__)("These settings help target your content to the right audience. They will be applied to new WordPress posts you share with Microsoft Start.","microsoft-start")),"Loading"===F&&L().createElement(_r,null),n?L().createElement("div",{className:pl["warning-banner"]},dn,(0,Er.__)("You cannot change content settings while importing posts to Microsoft Start.","microsoft-start")):L().createElement(L().Fragment,null,"Failed"===F&&L().createElement("p",null,(0,Er.__)("Something went wrong. Please try again later.","microsoft-start")),"Success"===F&&L().createElement("div",{className:pl["content-setting-form"]},L().createElement("div",{className:"".concat(pl["content-item"]," ").concat(pl["auto-toggle"])},L().createElement("label",null,(0,Er.__)("Automatically publish new posts to Microsoft","microsoft-start")),L().createElement("div",{className:pl["auto-publish-bar"]},L().createElement(Ni,null,L().createElement(Ha.FormToggle,{disabled:Ia||M,checked:a,onChange:function(){return i(!a)}})))),a&&L().createElement("div",{className:pl["content-item"]},L().createElement("div",null,L().createElement(Ni,null,M?L().createElement(Ha.Disabled,null,le):le),s===ua.FeedMode&&O!==ca.Initial&&L().createElement("span",{className:"".concat(pl["feed-status-box"]," ").concat(pl["".concat(Bi[O].status,"-box")])},L().createElement("label",{className:"".concat(pl["feed-status-message"]," ").concat(pl["feed-".concat(Bi[O].status,"-message")])},Bi[O].message))),s===ua.EditorMode&&L().createElement(Ki,bl({},{editorConfig:w,savedEditorConfig:J,setPartialEditorConfig:S,disableAll:M,setEditorChanged:re})),s===ua.FeedMode&&L().createElement(sl,bl({},{feedConfig:p,savedFeedConfig:Y,setPartialFeedConfig:g,feedBaseUrl:v,marketList:x,disableAll:M,setFeedChanged:ie}))),L().createElement(Ni,null,L().createElement(Ha.Button,{className:pl["save-btn"],disabled:Ia||!R||M||"feed"===s&&!(""!==p.countryRegion&&""!==p.feedName&&""!==p.feedURL&&("Yes"!==p.isLocalNews||""!==p.locations)),isPrimary:!0,onClick:function(){return e={option:a,publishOption:s,feedConfig:p,feedBaseUrl:v,editorConfig:w},d(ya.Initial),a&&s===ua.FeedMode&&A(ca.Processing),I(!0),void(t=e,qn("../?rest_route=/microsoft/v1/publish-settings",{method:"POST",body:JSON.stringify(t)})).then((function(e){"ok"===e.status?(a&&s===ua.FeedMode&&A(ca.Success),U(a),a&&(W(s),s===ua.FeedMode?Q(p):K(w)),d(ya.Success)):a&&s===ua.FeedMode?(e.body.feedIngestionResult===Ai.Disabled?d(ya.DisabledByInternal):e.body.feedIngestionResult===Ai.Decommissioned?d(ya.DecommissionedByInternal):d(ya.Failed),A(ca.Failed)):d(ya.Failed)})).catch((function(){d(ya.Failed),A(ca.Failed)})).finally((function(){I(!1)}));var e,t}},(0,Er.__)("Save","microsoft-start"))))))};function wl(){var e,t,n=(e=["\n margin-top: 1.25rem;\n margin-bottom: 0.625rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return wl=function(){return n},n}var Cl=qt.h1(wl()),Sl=function(e){var t=e.title,n=e.children;return L().createElement(nn,null,L().createElement(Cl,null,t),L().createElement("div",null,n))};function El(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:jl(e)?2:Ml(e)?3:0}function Al(e,t){return 2===Ol(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Pl(e,t,n){var r=Ol(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function Ll(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function jl(e){return is&&e instanceof Map}function Ml(e){return ls&&e instanceof Set}function Il(e){return e.o||e.t}function Tl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ps(e);delete t[fs];for(var n=ms(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=zl),Object.freeze(e),t&&Nl(e,(function(e,t){return Rl(t,!0)}),!0)),e}function zl(){El(2)}function Dl(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Fl(e){var t=hs[e];return t||El(18,e),t}function Hl(){return os}function Vl(e,t){t&&(Fl("Patches"),e.u=[],e.s=[],e.v=t)}function Bl(e){Ul(e),e.p.forEach($l),e.p=null}function Ul(e){e===os&&(os=e.l)}function Zl(e){return os={p:[],l:os,h:e,m:!0,_:0}}function $l(e){var t=e[fs];0===t.i||1===t.i?t.j():t.O=!0}function Wl(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Fl("ES5").S(t,e,r),r?(n[fs].P&&(Bl(t),El(4)),kl(e)&&(e=ql(t,e),t.l||Gl(t,e)),t.u&&Fl("Patches").M(n[fs].t,e,t.u,t.s)):e=ql(t,n,[]),Bl(t),t.u&&t.v(t.u,t.s),e!==cs?e:void 0}function ql(e,t,n){if(Dl(t))return t;var r=t[fs];if(!r)return Nl(t,(function(o,a){return Yl(e,r,t,o,a,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Gl(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Tl(r.k):r.o,a=o,i=!1;3===r.i&&(a=new Set(o),o.clear(),i=!0),Nl(a,(function(t,a){return Yl(e,r,o,t,a,n,i)})),Gl(e,o,!1),n&&e.u&&Fl("Patches").N(r,n,e.u,e.s)}return r.o}function Yl(e,t,n,r,o,a,i){if(xl(o)){var l=ql(e,o,a&&t&&3!==t.i&&!Al(t.R,r)?a.concat(r):void 0);if(Pl(n,r,l),!xl(l))return;e.m=!1}else i&&n.add(o);if(kl(o)&&!Dl(o)){if(!e.h.D&&e._<1)return;ql(e,o),t&&t.A.l||Gl(e,o)}}function Gl(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&Rl(t,n)}function Ql(e,t){var n=e[fs];return(n?Il(n):e)[t]}function Xl(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Jl(e){e.P||(e.P=!0,e.l&&Jl(e.l))}function Kl(e){e.o||(e.o=Tl(e.t))}function es(e,t,n){var r=jl(t)?Fl("MapSet").F(t,n):Ml(t)?Fl("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Hl(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,a=gs;n&&(o=[r],a=bs);var i=Proxy.revocable(o,a),l=i.revoke,s=i.proxy;return r.k=s,r.j=l,s}(t,n):Fl("ES5").J(t,n);return(n?n.A:Hl()).p.push(r),r}function ts(e){return xl(e)||El(22,e),function e(t){if(!kl(t))return t;var n,r=t[fs],o=Ol(t);if(r){if(!r.P&&(r.i<4||!Fl("ES5").K(r)))return r.t;r.I=!0,n=ns(t,o),r.I=!1}else n=ns(t,o);return Nl(n,(function(t,o){r&&function(e,t){return 2===Ol(e)?e.get(t):e[t]}(r.t,t)===o||Pl(n,t,e(o))})),3===o?new Set(n):n}(e)}function ns(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Tl(e)}var rs,os,as="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),is="undefined"!=typeof Map,ls="undefined"!=typeof Set,ss="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,cs=as?Symbol.for("immer-nothing"):((rs={})["immer-nothing"]=!0,rs),us=as?Symbol.for("immer-draftable"):"__$immer_draftable",fs=as?Symbol.for("immer-state"):"__$immer_state",ds=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),ms="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ps=Object.getOwnPropertyDescriptors||function(e){var t={};return ms(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},hs={},gs={get:function(e,t){if(t===fs)return e;var n=Il(e);if(!Al(n,t))return function(e,t,n){var r,o=Xl(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!kl(r)?r:r===Ql(e.t,t)?(Kl(e),e.o[t]=es(e.A.h,r,e)):r},has:function(e,t){return t in Il(e)},ownKeys:function(e){return Reflect.ownKeys(Il(e))},set:function(e,t,n){var r=Xl(Il(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Ql(Il(e),t),a=null==o?void 0:o[fs];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Ll(n,o)&&(void 0!==n||Al(e.t,t)))return!0;Kl(e),Jl(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Ql(e.t,t)||t in e.t?(e.R[t]=!1,Kl(e),Jl(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Il(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){El(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){El(12)}},bs={};Nl(gs,(function(e,t){bs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),bs.deleteProperty=function(e,t){return bs.set.call(this,e,t,void 0)},bs.set=function(e,t,n){return gs.set.call(this,e[0],t,n,e[0])};var vs=function(){function e(e){var t=this;this.g=ss,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var a=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,i=Array(r>1?r-1:0),l=1;l1?r-1:0),a=1;a=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=Fl("Patches").$;return xl(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),ys=new vs,_s=ys.produce;ys.produceWithPatches.bind(ys),ys.setAutoFreeze.bind(ys),ys.setUseProxies.bind(ys),ys.applyPatches.bind(ys),ys.createDraft.bind(ys),ys.finishDraft.bind(ys);const ws=_s;function Cs(e){return Cs="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},Cs(e)}function Ss(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Cs(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Cs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Cs(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xs(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0;t--){var o=e[t][fs];if(!o.P)switch(o.i){case 5:r(o)&&Jl(o);break;case 4:n(o)&&Jl(o)}}}function n(e){for(var t=e.t,n=e.k,r=ms(n),o=r.length-1;o>=0;o--){var a=r[o];if(a!==fs){var i=t[a];if(void 0===i&&!Al(t,a))return!0;var l=n[a],s=l&&l[fs];if(s?s.t!==i:!Ll(l,i))return!0}}var c=!!t[fs];return r.length!==ms(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;rcc,fc=(0,P.createContext)(null);function dc(){return(0,P.useContext)(fc)}let mc=()=>{throw new Error("uSES not initialized!")};const pc=(e,t)=>e===t;function hc(e=fc){const t=e===fc?dc:()=>(0,P.useContext)(e);return function(e,n=pc){const{store:r,subscription:o,getServerState:a}=t(),i=mc(o.addNestedSub,r.getState,a||r.getState,e,n);return(0,P.useDebugValue)(i),i}}const gc=hc(),bc={notify(){},get:()=>[]};const vc="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?P.useLayoutEffect:P.useEffect;let yc=null;const _c=function({store:e,context:t,children:n,serverState:r}){const o=(0,P.useMemo)((()=>{const t=function(e,t){let n,r=bc;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=uc();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=bc)},getListeners:()=>r};return i}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0}}),[e,r]),a=(0,P.useMemo)((()=>e.getState()),[e]);vc((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const i=t||fc;return L().createElement(i.Provider,{value:o},n)};function wc(e=fc){const t=e===fc?dc:()=>(0,P.useContext)(e);return function(){const{store:e}=t();return e}}const Cc=wc();function Sc(e=fc){const t=e===fc?Cc:wc(e);return function(){return t().dispatch}}const Ec=Sc();var xc;(e=>{mc=e})(sc.useSyncExternalStoreWithSelector),(e=>{yc=e})(lc.useSyncExternalStore),xc=Bo.unstable_batchedUpdates,cc=xc;var kc=function(e){return qn("../?rest_route=/microsoft/v1/notification&type=".concat(e),{method:"GET"})},Nc=function(e){var t,n=[],r=[];return e.forEach((function(e){var t;e.wpNotificationType?n.push((t=e.wpNotificationType,qn("../?rest_route=/microsoft/v1/dismiss-wp-notification",{method:"POST",body:JSON.stringify({type:t})}))):r.push(e.id)})),r.length&&n.push((t=r,qn("../?rest_route=/microsoft/v1/dismiss-msph-notification",{method:"POST",body:JSON.stringify({ids:t})}))),Promise.all(n)};function Oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]-1&&e.sidebar.information.splice(t,1),e.banner.information.findIndex((function(e){return"batch_submit_completed"===e.wpNotificationType}))>-1&&e.banner.information.splice(t,1)}},extraReducers:function(e){e.addCase(zc.fulfilled,(function(e,t){Object.keys(t.payload).forEach((function(n){e.banner[n]=t.payload[n].map((function(e){return Rc(e)}))}))})),e.addCase(Dc.fulfilled,(function(e,t){Object.keys(t.payload).forEach((function(n){e.sidebar[n]=t.payload[n].map((function(e){return Rc(e)}))}))}))}}),Hc=Fc.actions,Vc=Hc.closeBanner,Bc=Hc.bannerDismiss,Uc=Hc.sidebarDismiss,Zc=Hc.dismissAll,$c=Hc.removeBatchSubmissionCompeleteNotification;const Wc=Fc.reducer;function qc(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Yc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){qc(a,r,o,i,l,"next",e)}function l(e){qc(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Gc,Qc=oc("onboardingStage/getOnboardingInfo",Yc((function(){return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:n)},u=(0,P.useMemo)((function(){return r[i-1]}),[i,r]);return L().createElement("div",{className:ou["notification-banner-container"]},L().createElement("div",{className:"".concat(ou["notification-banner"]," ").concat(ou[o])},L().createElement("div",{className:ou["text-content"]},L().createElement("span",{className:ou.title},u.propertyBag.title)," ",L().createElement("span",{className:ou.desp},u.propertyBag.description)),L().createElement("div",{className:ou.action},u.propertyBag.action&&JSON.parse(u.propertyBag.action).map((function(e){return L().createElement("div",{key:e.Text,onClick:function(){var t;t=e.Href,e.IsExternalLink?window.open(t):location.href=t},className:ou["action-btn"]},e.Text)})),u.canDismiss&&L().createElement("div",{onClick:function(){Nc([u]).then((function(){s(Bc({type:o,id:u.id})),i===r.length&&l(i-1)})).catch((function(){ru({content:(0,Er.__)("Network failure. Please try again later.","microsoft-start")})}))},className:ou["action-btn"]},(0,Er.__)("Dismiss","microsoft-start"))),L().createElement("div",{className:ou.close,onClick:function(){s(Vc(o))}},un),r.length>1&&L().createElement("div",{className:ou.pagination},L().createElement("div",{className:"".concat(ou.arrow," ").concat(ou.left),onClick:function(){c(-1)}},gn),eu.Ld.Format((0,Er.__)("{current} of {total}","microsoft-start"),{current:i,total:r.length}),L().createElement("div",{className:"".concat(ou.arrow," ").concat(ou.right),onClick:function(){c(1)}},gn))))},lu=function(){var e=Kc((function(e){return e.notification.banner})),t=Jc();return(0,P.useEffect)((function(){t(zc())}),[]),L().createElement(L().Fragment,null,Object.keys(e).map((function(t){return e[t].length?L().createElement(iu,{key:t,type:t,notifications:e[t]}):null})))};function su(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function cu(){var e=su(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"]);return cu=function(){return e},e}function uu(){var e=su(["\n width: 108px;\n margin: 0 auto;\n"]);return uu=function(){return e},e}function fu(){var e=su(["\n margin-top: 19px;\n font-size: 16px;\n line-height: 22px;\n"]);return fu=function(){return e},e}var du=qt.div(cu()),mu=qt.div(uu()),pu=qt.div(fu()),hu=function(){return L().createElement(du,null,L().createElement(mu,null,cn),L().createElement(pu,null,(0,Er.__)("Nothing to see here.","microsoft-start")))};const gu="microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__button--Njs8b";var bu=function(e){var t=e||new Date;return t.setHours(0,0,0,0),t};var vu=function(e){var t;return new Date(1e3*e).toLocaleDateString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us")},yu=function(e){var t;return new Date(e).toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})},_u=function(e){var t=e.notification,n=Jc(),r=(0,P.useMemo)((function(){if(t.propertyBag.title)return t.propertyBag.title}),[t]),o=(0,P.useMemo)((function(){if(t.propertyBag.description)return t.propertyBag.description}),[t]);return L().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-card--kwleS"},L().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-title--ZnO9B"},r),o&&L().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-desp--idCrm"},o),t.createdDateTime&&L().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__date--ogQqd"},function(e){var t,n,r=new Date(e.includes("Z")?e:e+"Z"),o=function(e,t){var n=[bu(new Date(e)),bu(new Date(t))],r=n[1],o=n[0].getTime()-r.getTime();return Math.floor(o/864e5)}(new Date,r);return 0===o?r.toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{hour:"2-digit",minute:"2-digit",hour12:!1}):1===o?(0,Er.__)("Yesterday","microsoft-start"):2===o||3===o?(0,Er.__)("{n} days ago","microsoft-start").replace("{n}",o.toString()):r.toLocaleDateString((null===window||void 0===window||null===(n=window.msn_dashboard_render_status)||void 0===n?void 0:n.language)||"en-us")}(t.createdDateTime)),L().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__button-group--tqwfW"},t.propertyBag.action&&JSON.parse(t.propertyBag.action).map((function(e){return L().createElement("div",{key:e.Text,onClick:function(){var t;t=e.Href,e.IsExternalLink?window.open(t):location.href=t},className:gu},e.Text)})),t.canDismiss&&L().createElement("div",{className:gu,onClick:function(){Nc([t]).then((function(){n(Uc({type:t.severity,id:t.id}))})).catch((function(){ru({content:(0,Er.__)("Network failure. Please try again later.","microsoft-start")})}))}},(0,Er.__)("Dismiss","microsoft-start"))))};function wu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat((0,Er.__)("Content settings","microsoft-start"),""))}})),L().createElement("div",{ref:a,style:{maxHeight:r?"0":l},className:Gu.list},L().createElement("div",{className:Gu.cell},L().createElement("div",{className:Gu.label},(0,Er.__)("Category","microsoft-start")||(0,Er.__)("Uncategorized","microsoft-start")),L().createElement("div",{className:Gu.value},null==t?void 0:t.editorConfig.category)),L().createElement("div",{className:Gu.cell},L().createElement("div",{className:Gu.label},(0,Er.__)("Target audience location","microsoft-start")),L().createElement("div",{className:Gu.value},c)),L().createElement("div",{className:Gu.cell},L().createElement("div",{className:Gu.label},(0,Er.__)("Canonical URL","microsoft-start")),L().createElement("div",null,(0,Er.__)("WordPress post URL","microsoft-start")))))},Ku=500;const ef="microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__select-count--Ib_Zt",tf="microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__button--OAdTl";var nf=function(e){var t=e.totalCount,n=e.selectedCount,r=e.onAllAllClick,o=e.onClearClick;return L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__banner--AgYjk",style:{height:0===n?0:56}},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__left-text--w1fr0"},n===t?L().createElement("div",{className:ef},(0,Er.__)("All $1 selected","microsoft-start").replace("$1",n.toLocaleString())):L().createElement("div",{className:ef},(0,Er.__)("$1 selected","microsoft-start").replace("$1",n.toLocaleString())),n>Ku&&L().createElement(L().Fragment,null,"(",mn," ",(0,Er.__)("A maximum of $1 posts exceeded.","microsoft-start").replace("$1",Ku.toString()),")")),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__button-group--bD83O"},t<=Ku&&ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&b.size===s.dataList.length}),[b,s.dataList]),A=[{title:L().createElement(Pu,{className:Zu,onChange:function(e){var t=new Set(Array.from(p)),n=new Set(Array.from(b));e.target.checked?s.dataList.forEach((function(e){t.add(e.ID),n.add(e.ID)})):s.dataList.forEach((function(e){t.delete(e.ID),n.delete(e.ID)})),h(t),v(n)},checked:O,indeterminate:N}),dataIndex:"checkall",width:52,render:function(e,t){return L().createElement(Pu,{className:Zu,checked:p.has(t.ID),onChange:function(e){return function(e,t){var n=new Set(Array.from(p)),r=new Set(Array.from(b));t.target.checked?(n.add(e.ID),r.add(e.ID)):(n.delete(e.ID),r.delete(e.ID)),h(n),v(r)}(t,e)}})}},{title:(0,Er.__)("Title","microsoft-start"),dataIndex:"post_title",width:200,render:function(e){return L().createElement(ki,{content:L().createElement("div",{className:$u},L().createElement("div",{className:Wu},(0,Er.__)("Title","microsoft-start")),L().createElement("div",{className:qu},e))},L().createElement("div",{className:Yu},e))}},{title:(0,Er.__)("Featured image","microsoft-start"),dataIndex:"post_feature_image",render:function(e){return e?L().createElement("img",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__feature-image--lBuw5",src:e}):L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__no-image--MyBx3"},(0,Er.__)("No Image","microsoft-start"))},width:160},{title:(0,Er.__)("Excerpt","microsoft-start"),dataIndex:"post_excerpt",width:250,render:function(e){return L().createElement(ki,{content:L().createElement("div",{className:$u},L().createElement("div",{className:Wu},(0,Er.__)("Excerpt","microsoft-start")),L().createElement("div",{className:qu},e))},L().createElement("div",{className:Yu},e))}},{title:(0,Er.__)("Originally published","microsoft-start"),dataIndex:"post_date",width:200,render:function(e){return yu(e)}}],j=function(){var e=af((function(e){return ff(this,(function(t){switch(t.label){case 0:return[4,dl(e)];case 1:return t.sent(),i("/batch-submit/result"),[2]}}))}));return function(t){return e.apply(this,arguments)}}();return Ia?L().createElement(df,{icon:bn,title:(0,Er.__)("Unable to submit posts","microsoft-start"),description:(0,Er.__)("Your brand is currently suspended by Microsoft Start. You can't publish content to Microsoft Start.","microsoft-start")}):za()?t?L().createElement("div",{className:Uu},L().createElement(_r,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page-loading--GrHAH"})):"editor"!==(null==o?void 0:o.publishOption)?L().createElement(df,{icon:bn,title:(0,Er.__)("Unable to submit posts","microsoft-start"),description:(0,Er.__)("You're currently using 'Publish by feed'. Go to 'Settings' then select 'Publish by editor' to use batch submission.","microsoft-start")}):f.length?L().createElement("div",{className:Uu},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__header--keiUF"},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__title--ytxfn"},(0,Er.__)("Batch submission","microsoft-start"),f.length>Ku&&L().createElement("span",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__subtitle--DXhNi"},(0,Er.__)("Up to $1 posts allowed in one submission.","microsoft-start").replace("$1",Ku.toString()))),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__button-group--LotWs"},L().createElement(Mr,{onClick:function(){E("all"),w(!0)}},f.length<=Ku?L().createElement(L().Fragment,null,(0,Er.__)("Submit all","microsoft-start")," (",f.length.toLocaleString(),")"):L().createElement(L().Fragment,null,(0,Er.__)("Submit the first $1 posts","microsoft-start").replace("$1",Ku.toLocaleString()))),L().createElement(Mr,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__button--Coqxa",type:"primary",onClick:function(){p.size>Ku?ru({content:(0,Er.__)("$1 posts maximum are allowed for one batch submission.","microsoft-start").replace("$1",Ku.toString())}):0===p.size?ru({content:(0,Er.__)("Select at least one post to submit","microsoft-start")}):(E("partial"),w(!0))}},(0,Er.__)("Submit selected","microsoft-start")," (",p.size.toLocaleString(),")"))),L().createElement(Ju,{setting:o}),L().createElement(nf,{totalCount:f.length,selectedCount:p.size,onAllAllClick:function(){h(new Set(f)),v(new Set(s.dataList.map((function(e){return e.ID}))))},onClearClick:function(){h(new Set([])),v(new Set([]))}}),L().createElement(Bu,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__table--YPGmj",dataSource:s.dataList,column:A,loading:s.loading}),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page--_KmV1"},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page-size--aVvyx"},(0,Er.__)("Showing $1 posts per page","microsoft-start").replace("$1",20..toString())),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__pagination--EE9Op"},L().createElement(Hu,{disabled:s.loading,selectPlacement:"top",total:x,defaultCurrent:s.page,onChange:function(e){c((function(t){t.page=e})),k(e)}}))),L().createElement(Iu,{show:_,cancelButtonText:(0,Er.__)("Cancel","microsoft-start"),confirmButtonText:(0,Er.__)("Submit","microsoft-start"),onCancel:function(){w(!1)},onConfirm:function(){return j("all"===S?f.length<=Ku?f:f.slice(0,Ku):Array.from(p))},title:"all"===S?(0,Er.__)("Submit all $1 posts to Microsoft Start?","microsoft-start").replace("$1",(f.length<=Ku?f.length:Ku).toLocaleString()):(0,Er.__)("Submit $1 post(s) to Microsoft Start?","microsoft-start").replace("$1",p.size.toLocaleString())})):L().createElement(df,{icon:vn,title:(0,Er.__)("Nothing to see here right now","microsoft-start"),description:(0,Er.__)("You don't have any posts to be submitted to Microsoft Start","microsoft-start")}):L().createElement(df,{icon:bn,title:(0,Er.__)("Unable to submit posts","microsoft-start"),description:""})};const pf="microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-title--rJ5NG",hf="microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-desp--PMKDC";function gf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=a}),[a,f]),M=function(e){var t;N((function(e){e.loading=!0})),(t=I.slice(20*(e-1),20*e),qn("../?rest_route=/microsoft/v1/get-post-by-ids",{method:"POST",body:JSON.stringify(t)})).then((function(e){N((function(t){t.loading=!1,t.tableData=e}))}))};(0,P.useEffect)((function(){j&&I.length&&(c(!1),M(1))}),[j]);var I=(0,P.useMemo)((function(){return j?f.filter((function(e){return!e.success})).map((function(e){return e.id})):[]}),[f,j]),T=(0,P.useMemo)((function(){return{title:(0,Er.__)("Submitting $1/$2 post(s)","microsoft-start").replace("$1",f.length.toString()).replace("$2",a.toString()),description:(0,Er.__)("Batch submission can take a few minutes. Once submitted, content will need to pass our review before being published to Microsoft Start.","microsoft-start")}}),[a,f]),R=[{title:"",dataIndex:"checkall",width:52,render:function(){return Sn}},{title:(0,Er.__)("Title","microsoft-start"),dataIndex:"post_title",width:200},{title:(0,Er.__)("Featured image","microsoft-start"),dataIndex:"post_feature_image",render:function(e){return e?L().createElement("img",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__feature-image--MrLqH",src:e}):L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__no-image--guMmk"},(0,Er.__)("No Image","microsoft-start"))},width:160},{title:(0,Er.__)("Excerpt","microsoft-start"),dataIndex:"post_excerpt",width:250},{title:(0,Er.__)("Originally published","microsoft-start"),dataIndex:"post_date",width:200,render:function(e){return yu(e)}}];return L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__wrap--w7U8P"},b?L().createElement(_r,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page-loading--iRDIs"}):L().createElement(L().Fragment,null,L().createElement(Iu,{show:_,onConfirm:A,onCancel:function(){w(!1)},confirmButtonText:(0,Er.__)("Submit next batch","microsoft-start"),cancelButtonText:(0,Er.__)("Cancel","microsoft-start"),title:(0,Er.__)("Are you sure to submit next batch?","microsoft-start"),content:(0,Er.__)("This list of failed posts won't be saved. But you can always start again and resubmit them using batch submission.","microsoft-start")}),L().createElement(Iu,{show:S,onConfirm:function(){return new Promise(vf((function(){return wf(this,(function(t){switch(t.label){case 0:return[4,dl(I)];case 1:return t.sent(),e(0),[2]}}))})))},onCancel:function(){E(!1)},confirmButtonText:(0,Er.__)("Submit","microsoft-start"),cancelButtonText:(0,Er.__)("Cancel","microsoft-start"),title:(0,Er.__)("Submit $1 post(s) to Microsoft Start?","microsoft-start").replace("$1",I.length.toString())}),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__header--x070s"},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__title--DivFb"},(0,Er.__)("Submission status","microsoft-start")),j?L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__button-group--ngn9t"},L().createElement(Mr,{type:I.length?"default":"primary",onClick:vf((function(){return wf(this,(function(e){switch(e.label){case 0:return I.length?(w(!0),[3,3]):[3,1];case 1:return[4,A()];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},(0,Er.__)("Submit next batch","microsoft-start")),I.length?L().createElement(Mr,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__button--Hh9Es",type:"primary",onClick:function(){E(!0)}},"".concat((0,Er.__)("Resubmit failed post(s)","microsoft-start")," (").concat(I.length,")")):null):null),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-page--RKT4I"},j?L().createElement(L().Fragment,null,L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-banner--NZQXa"},I.length===a?En:Cn,L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-content--msZg2"},I.length===a?L().createElement(L().Fragment,null,L().createElement("div",{className:pf},(0,Er.__)("$1 post(s) failed on $2","microsoft-start").replace("$1",I.length.toLocaleString()).replace("$2",vu(p))),L().createElement("div",{className:hf},(0,Er.__)("Select Resubmit all failed post(s) to try again","microsoft-start"))):L().createElement(L().Fragment,null,L().createElement("div",{className:pf},(0,Er.__)("$1 post(s) submitted and $2 post(s) failed on $3","microsoft-start").replace("$1",(a-I.length).toString()).replace("$2",I.length.toString()).replace("$3",vu(p))),L().createElement("div",{className:hf,dangerouslySetInnerHTML:{__html:(0,Er.__)("$1 post(s) are currently under review. Go to $2 to see publishing status. Select Resubmit all failed posts to try again.","microsoft-start").replace("$1",(a-I.length).toString()).replace("$2",''.concat((0,Er.__)("All posts","microsoft-start"),""))}})))),I.length?L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__failed-list--bgpXK"},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__table-title--ZSY7e"},(0,Er.__)("Posts failed submission","microsoft-start")," (",I.length.toLocaleString(),")"),L().createElement(Bu,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__table--WYggK",column:R,dataSource:k.tableData,loading:k.loading}),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page--SAWZs"},L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page-size--_OwP1"},(0,Er.__)("Showing $1 posts per page","microsoft-start").replace("$1",20..toString())),L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__pagination--OV_OW"},L().createElement(Hu,{selectPlacement:"top",total:I.length,defaultCurrent:k.page,onChange:function(e){M(e)}})))):null):L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__submitting--ZGPcz"},L().createElement(Vu,yf({icon:L().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__spinner-icon--ZiORU"},wn)},T)),L().createElement(Mr,{size:"small",className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__stop-btn--xNBvA",loading:s,onClick:function(){c(!0),qn("../?rest_route=/microsoft/v1/stop-batch-submission",{method:"POST"})}},(0,Er.__)("Stop submission","microsoft-start"))))))},Sf=function(){return L().createElement(L().Fragment,null,L().createElement(re,null))};const Ef=n.p+"images/connectImage.383e77cf.png";function xf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{}),{pageName:location.hash}),"Partner Onboarding")}("join now click",window.msn_dashboard_render_status)}(o)}},r?(0,Er.__)("Connecting","microsoft-start"):(0,Er.__)("Join now","microsoft-start"))};return L().createElement(Qt,{className:"microsoft-start-src-dashboard-getStarted-components-join-module__wrap--ZTWeU"},L().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__text--xmUB2"},L().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__title--CcXpj"},(0,Er.__)("Grow your audience with Microsoft—and get paid","microsoft-start")),L().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__subtitle--nNkKM"},(0,Er.__)("You've been invited to join Microsoft Start Partner Hub. With this new program, you can make your WordPress posts available to the millions of people who use Microsoft Start.","microsoft-start")),Ta?L().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__edge-btn-group--ecFzB"},L().createElement(ki,{content:L().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__edge-btn-popover--MtN7D"},(0,Er.__)("Sign in with the same account you use for Edge","microsoft-start"))},L().createElement(a,null))):L().createElement(a,null)),L().createElement("img",{src:Ef}))}const Nf="microsoft-start-src-dashboard-getStarted-get-started-module__subtitle--sFXGf",Of="microsoft-start-src-dashboard-getStarted-get-started-module__card-group--NAhk9",Af=n.p+"images/get-start-logo.838ab3b9.png";var Pf=n(624);var Lf=function(e){return e===Wa.Completed?"status-completed":e===Wa.Failed?"status-failed":e===Wa.GetStarted||e===Wa.NeedsAttention?"status-warning":"status-inProgress"},jf=function(e){var t=e.status,r=e.statusText;return L().createElement("div",{className:"".concat("microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__status--tn0Rg"," ").concat(t===Wa.Failed?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__failed--ZvQEN":"")},L().createElement("img",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__icon--O9dIi",src:n(220)("./".concat(Lf(t),".png")),alt:""}),L().createElement("div",null,r))},Mf=function(e){var t=e.status,n=e.title,r=e.statusText,o=e.content,a=e.actionType,i=e.actionLink,l=e.actionText;return L().createElement("div",{className:"".concat("microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__card--p15Or"," ").concat("button"===a?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__warning-or-critical--CyYjg":"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__info--BRmzZ")},L().createElement(jf,{status:t,statusText:r}),L().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__title--M3Ppz"},n),L().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__desp--VZVqH"},o),i&&L().createElement("div",{onClick:function(){window.open(i)},className:"".concat("link"===a?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__link--lbXym":"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__button--uMg3Y")},l))};function If(){var e,t,n=(e=["\n width: 30%;\n height: 320px;\n border-radius: 6px;\n box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);\n background-color: #f1f1f1;\n flex-grow: 1;\n position: relative;\n overflow: hidden;\n &::before {\n content: '';\n width: 300px;\n height: 100%;\n background-image: linear-gradient(to right, transparent, #fff, transparent);\n left: -300px;\n top: 0;\n position: absolute;\n animation: loading 1.5s infinite;\n }\n\n &:nth-child(2) {\n margin: 0 16px;\n }\n @keyframes loading {\n from {\n left: -300px;\n }\n to {\n left: 620px;\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return If=function(){return n},n}var Tf=qt.div(If());function Rf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var e={220:(e,t,n)=>{var r={"./status-completed.png":722,"./status-failed.png":923,"./status-inProgress.png":137,"./status-warning.png":847};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=220},178:(e,t)=>{t["Stage2Card Snapshot 1"]='\n\n \n \n Test\n \n \n subtitle\n \n \n buttonText\n \n\n'},169:(e,t,n)=>{var r={"./__snapshots__/stage2-card.test.tsx.snap":178,"./stage2-card":382,"./stage2-card.module.scss":684,"./stage2-card.test":868,"./stage2-card.test.tsx":868,"./stage2-card.tsx":382,"./stage2-pic1.png":781,"./stage2-pic2.png":317,"./stage2-pic3.png":49};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=169},875:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,a),r(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}h(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&h(e,"error",t,{once:!0})}(e,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,a,i,c;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"==typeof i?i=a[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(o=s(e))>0&&i.length>o&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function d(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(i=t[0]),i instanceof Error)throw i;var l=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw l.context=i,l}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)r(s,this,t);else{var c=s.length,u=p(s,c);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},535:(e,t,n)=>{"use strict";var r=n(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=m(n);o&&o!==p&&e(t,o,r)}var i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),g=0;g{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,m=Math.min,p=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||i.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,l,s,c=0,u=!1,f=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){return c=e,l=setTimeout(w,t),u?v(e):i}function _(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-c>=a}function w(){var e=p();if(_(e))return C(e);l=setTimeout(w,function(e){var n=t-(e-s);return f?m(n,a-(e-c)):n}(e))}function C(e){return l=void 0,b&&r?v(e):(r=o=void 0,i)}function S(){var e=p(),n=_(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return y(s);if(f)return l=setTimeout(w,t),v(s)}return void 0===l&&(l=setTimeout(w,t)),i}return t=g(t)||0,h(n)&&(u=!!n.leading,a=(f="maxWait"in n)?d(g(n.maxWait)||0,t):a,b="trailing"in n?!!n.trailing:b),S.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0},S.flush=function(){return void 0===l?i:C(p())},S}},684:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={card:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__card--N0sYC",image:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__image--o7bVy",title:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__title--HqBOy",subtitle:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__subtitle--s8xJr",button:"microsoft-start-src-dashboard-getStarted-components-stageTwoCard-stage2-card-module__button--WPdcX"}},767:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,l,s=o(e),c=1;c{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,s=[],c=!1,u=-1;function f(){c&&l&&(c=!1,l.length?s=l.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=i(f);c=!0;for(var t=s.length;t;){for(l=s,s=[];++u1)for(var n=1;n{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case a:case l:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case h:case s:return e;default:return t}}case o:return t}}}function C(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return C(e)||w(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===i||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===y||e.$$typeof===_||e.$$typeof===b)},t.typeOf=w},237:(e,t,n)=>{"use strict";e.exports=n(198)},841:(e,t)=>{"use strict";var n=60103,r=60106,o=60107,a=60108,i=60114,l=60109,s=60110,c=60112,u=60113,f=60120,d=60115,m=60116,p=60121,h=60122,g=60117,b=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),a=y("react.strict_mode"),i=y("react.profiler"),l=y("react.provider"),s=y("react.context"),c=y("react.forward_ref"),u=y("react.suspense"),f=y("react.suspense_list"),d=y("react.memo"),m=y("react.lazy"),p=y("react.block"),h=y("react.server.block"),g=y("react.fundamental"),b=y("react.debug_trace_mode"),v=y("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===i||e===b||e===a||e===u||e===f||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===g||e.$$typeof===p||e[0]===h)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case i:case a:case u:case f:return e;default:switch(e=e&&e.$$typeof){case s:case c:case m:case d:case l:return e;default:return t}}case r:return t}}}},679:(e,t,n)=>{"use strict";e.exports=n(841)},195:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},357:(e,t,n)=>{"use strict";n(195)},760:(e,t,n)=>{"use strict";e=n.nmd(e);var r=n(767),o=n(506),a=n(196),i=n(51);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}var q=[],Y=-1;function G(e){return{current:e}}function Q(e){0>Y||(e.current=q[Y],q[Y]=null,Y--)}function X(e,t){Y++,q[Y]=e.current,e.current=t}var J={},K=G(J),ee=G(!1),te=J;function ne(e,t){var n=e.type.contextTypes;if(!n)return J;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function re(e){return null!=e.childContextTypes}function oe(){Q(ee),Q(K)}function ae(e,t,n){if(K.current!==J)throw Error(l(168));X(K,t),X(ee,n)}function ie(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var a in o=o.getChildContext())if(!(a in e))throw Error(l(108,A(t)||"Unknown",a));return r({},n,o)}function le(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||J,te=K.current,X(K,e),X(ee,ee.current),!0}function se(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=ie(e,t,te),r.__reactInternalMemoizedMergedChildContext=e,Q(ee),Q(K),X(K,e)):Q(ee),X(ee,n)}var ce=null,ue=null;(0,i.unstable_now)();var fe=8;function de(e){if(0!=(1&e))return fe=15,1;if(0!=(2&e))return fe=14,2;if(0!=(4&e))return fe=13,4;var t=24&e;return 0!==t?(fe=12,t):0!=(32&e)?(fe=11,32):0!=(t=192&e)?(fe=10,t):0!=(256&e)?(fe=9,256):0!=(t=3584&e)?(fe=8,t):0!=(4096&e)?(fe=7,4096):0!=(t=4186112&e)?(fe=6,t):0!=(t=62914560&e)?(fe=5,t):67108864&e?(fe=4,67108864):0!=(134217728&e)?(fe=3,134217728):0!=(t=805306368&e)?(fe=2,t):0!=(1073741824&e)?(fe=1,1073741824):(fe=8,e)}function me(e,t){var n=e.pendingLanes;if(0===n)return fe=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=fe=15;else if(0!=(a=134217727&n)){var s=a&~i;0!==s?(r=de(s),o=fe):0!=(l&=a)&&(r=de(l),o=fe)}else 0!=(a=n&~i)?(r=de(a),o=fe):0!==l&&(r=de(l),o=fe);if(0===r)return 0;if(r=n&((0>(r=31-ye(r))?0:1<n;n++)t.push(e);return t}function ve(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-ye(t)]=n}var ye=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(_e(e)/we|0)|0},_e=Math.log,we=Math.LN2,Ce=i.unstable_runWithPriority,Se=i.unstable_scheduleCallback,Ee=i.unstable_cancelCallback,xe=i.unstable_shouldYield,ke=i.unstable_requestPaint,Ne=i.unstable_now,Oe=i.unstable_getCurrentPriorityLevel,Ae=i.unstable_ImmediatePriority,Pe=i.unstable_UserBlockingPriority,Le=i.unstable_NormalPriority,je=i.unstable_LowPriority,Me=i.unstable_IdlePriority,Ie={},Te=void 0!==ke?ke:function(){},Re=null,De=null,ze=!1,Fe=Ne(),He=1e4>Fe?Ne:function(){return Ne()-Fe};function Ve(){switch(Oe()){case Ae:return 99;case Pe:return 98;case Le:return 97;case je:return 96;case Me:return 95;default:throw Error(l(332))}}function Be(e){switch(e){case 99:return Ae;case 98:return Pe;case 97:return Le;case 96:return je;case 95:return Me;default:throw Error(l(332))}}function Ue(e,t){return e=Be(e),Ce(e,t)}function Ze(e,t,n){return e=Be(e),Se(e,t,n)}function $e(){if(null!==De){var e=De;De=null,Ee(e)}We()}function We(){if(!ze&&null!==Re){ze=!0;var e=0;try{var t=Re;Ue(99,(function(){for(;ed?(m=f,f=null):m=f.sibling;var p=g(o,f,l[d],s);if(null===p){null===f&&(f=m);break}e&&f&&null===p.alternate&&t(o,f),i=a(p,i,d),null===u?c=p:u.sibling=p,u=p,f=m}if(d===l.length)return n(o,f),c;if(null===f){for(;dm?(p=d,d=null):p=d.sibling;var y=g(o,d,v.value,c);if(null===y){null===d&&(d=p);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===f?u=y:f.sibling=y,f=y,d=p}if(v.done)return n(o,d),u;if(null===d){for(;!v.done;m++,v=s.next())null!==(v=h(o,v.value,c))&&(i=a(v,i,m),null===f?u=v:f.sibling=v,f=v);return u}for(d=r(o,d);!v.done;m++,v=s.next())null!==(v=b(d,o,m,v.value,c))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===f?u=v:f.sibling=v,f=v);return e&&d.forEach((function(e){return t(o,e)})),u}return function(e,r,a,s){var c="object"==typeof a&&null!==a&&a.type===d&&null===a.key;c&&(a=a.props.children);var m="object"==typeof a&&null!==a;if(m)switch(a.$$typeof){case u:e:{for(m=a.key,c=r;null!==c;){if(c.key===m){if(7===c.tag){if(a.type===d){n(e,c.sibling),(r=o(c,a.props.children)).return=e,e=r;break e}}else if(c.elementType===a.type){n(e,c.sibling),(r=o(c,a.props)).ref=Et(e,c,a),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===d?((r=qo(a.props.children,e.mode,s,a.key)).return=e,e=r):((s=Wo(a.type,a.key,a.props,null,e.mode,s)).ref=Et(e,r,a),s.return=e,e=s)}return i(e);case f:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Qo(a,e.mode,s)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Go(a,e.mode,s)).return=e,e=r),i(e);if(St(a))return v(e,r,a,s);if(O(a))return y(e,r,a,s);if(m&&xt(e,a),void 0===a&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(l(152,A(e.type)||"Component"))}return n(e,r)}}var Nt=kt(!0),Ot=kt(!1),At={},Pt=G(At),Lt=G(At),jt=G(At);function Mt(e){if(e===At)throw Error(l(174));return e}function It(e,t){X(jt,t),X(Lt,e),X(Pt,At),Q(Pt),X(Pt,I)}function Tt(){Q(Pt),Q(Lt),Q(jt)}function Rt(e){Mt(jt.current),Mt(Pt.current)!==I&&(X(Lt,e),X(Pt,I))}function Dt(e){Lt.current===e&&(Q(Pt),Q(Lt))}var zt=G(0);function Ft(e){for(var t=e;null!==t;){if(13===t.tag){var n,r=t.memoizedState;if(n=null!==r){if(!(r=null===r.dehydrated))throw Error(l(305));if(!r)throw Error(l(305));n=r}if(n)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ht=[];function Vt(){for(var e=0;ea))throw Error(l(301));a+=1,qt=Wt=null,t.updateQueue=null,Bt.current=On,e=n(r,o)}while(Gt)}if(Bt.current=xn,t=null!==Wt&&null!==Wt.next,Zt=0,qt=Wt=$t=null,Yt=!1,t)throw Error(l(300));return e}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qt?$t.memoizedState=qt=e:qt=qt.next=e,qt}function en(){if(null===Wt){var e=$t.alternate;e=null!==e?e.memoizedState:null}else e=Wt.next;var t=null===qt?$t.memoizedState:qt.next;if(null!==t)qt=t,Wt=e;else{if(null===e)throw Error(l(310));e={memoizedState:(Wt=e).memoizedState,baseState:Wt.baseState,baseQueue:Wt.baseQueue,queue:Wt.queue,next:null},null===qt?$t.memoizedState=qt=e:qt=qt.next=e}return qt}function tn(e,t){return"function"==typeof t?t(e):t}function nn(e){var t=en(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=Wt,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var s=i=a=null,c=o;do{var u=c.lane;if((Zt&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(i=s=f,a=r):s=s.next=f,$t.lanes|=u,Rr|=u}c=c.next}while(null!==c&&c!==o);null===s?a=r:s.next=i,Ye(r,t.memoizedState)||(Pn=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function rn(e){var t=en(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);Ye(a,t.memoizedState)||(Pn=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function on(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionSecondary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Zt&e)===e)&&(t._workInProgressVersionSecondary=r,Ht.push(t))),e)return n(t._source);throw Ht.push(t),Error(l(350))}function an(e,t,n,r){var o=Or;if(null===o)throw Error(l(349));var a=t._getVersion,i=a(t._source),s=Bt.current,c=s.useState((function(){return on(o,t,n)})),u=c[1],f=c[0];c=qt;var d=e.memoizedState,m=d.refs,p=m.getSnapshot,h=d.source;d=d.subscribe;var g=$t;return e.memoizedState={refs:m,source:t,subscribe:r},s.useEffect((function(){m.getSnapshot=n,m.setSnapshot=u;var e=a(t._source);if(!Ye(i,e)){e=n(t._source),Ye(f,e)||(u(e),e=io(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0n?98:n,(function(){e(!0)})),Ue(97Vr&&(t.flags|=64,o=!0,Xn(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Ft(a))){if(t.flags|=64,o=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),Xn(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*He()-r.renderingStartTime>Vr&&1073741824!==n&&(t.flags|=64,o=!0,Xn(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=He(),e.sibling=null,t=zt.current,X(zt,o?1&t|2:1&t),e):null;case 23:case 24:return go(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(l(156,t.tag))}function Kn(e){switch(e.tag){case 1:re(e.type)&&oe();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Tt(),Q(ee),Q(K),Vt(),0!=(64&(t=e.flags)))throw Error(l(285));return e.flags=-4097&t|64,e;case 5:return Dt(e),null;case 13:return Q(zt),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return Q(zt),null;case 4:return Tt(),null;case 10:return ot(e),null;case 23:case 24:return go(),null;default:return null}}function er(e,t){try{var n="",r=t;do{n+=Xe(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function tr(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Vn=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag){var r=e,o=n.stateNode,a=r.children.indexOf(o);-1!==a&&r.children.splice(a,1),r.children.push(o)}else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Bn=function(e,t,n,r){e.memoizedProps!==r&&(Mt(Pt.current),t.updateQueue=T)&&(t.flags|=4)},Un=function(e,t,n,r){n!==r&&(t.flags|=4)};var nr="function"==typeof WeakMap?WeakMap:Map;function rr(e,t,n){(n=ft(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ur||(Ur=!0,Zr=r),tr(0,t)},n}function or(e,t,n){(n=ft(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return tr(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===$r?$r=new Set([this]):$r.add(this),tr(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ar="function"==typeof WeakSet?WeakSet:Set;function ir(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Mo(e,t)}else t.current=null}function lr(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Je(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&t.stateNode.containerInfo.children.splice(0))}throw Error(l(163))}function sr(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Po(n,e),Ao(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Je(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ht(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=D(n.child.stateNode);break;case 1:e=n.child.stateNode}ht(n,t,e)}return;case 5:case 6:case 4:case 12:case 13:case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(l(163))}function cr(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;t?r.isHidden=!0:n.stateNode.isHidden=!1}else if(6===n.tag)n.stateNode.isHidden=!!t;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ur(e,t){if(ue&&"function"==typeof ue.onCommitFiberUnmount)try{ue.onCommitFiberUnmount(ce,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Po(t,n);else{r=t;try{o()}catch(e){Mo(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ir(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Mo(t,e)}break;case 5:ir(t);break;case 4:gr(e,t)}}function fr(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function dr(e){return 5===e.tag||3===e.tag||4===e.tag}function mr(e){e:{for(var t=e.return;null!==t;){if(dr(t))break e;t=t.return}throw Error(l(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(l(161))}16&n.flags&&(n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||dr(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?pr(e,n,t):hr(e,n,t)}function pr(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?F(n,e,t):z(n,e);else if(4!==r&&null!==(e=e.child))for(pr(e,t,n),e=e.sibling;null!==e;)pr(e,t,n),e=e.sibling}function hr(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?F(n,e,t):z(n,e);else if(4!==r&&null!==(e=e.child))for(hr(e,t,n),e=e.sibling;null!==e;)hr(e,t,n),e=e.sibling}function gr(e,t){for(var n,r=t,o=!1;;){if(!o){o=r.return;e:for(;;){if(null===o)throw Error(l(160));switch(n=o.stateNode,o.tag){case 5:break e;case 3:case 4:n=n.containerInfo;break e}o=o.return}o=!0}if(5===r.tag||6===r.tag){e:for(var a=e,i=r,s=i;;)if(ur(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}i=(a=n).children.indexOf(r.stateNode),a.children.splice(i,1)}else if(4===r.tag){if(null!==r.child){n=r.stateNode.containerInfo,r.child.return=r,r=r.child;continue}}else if(ur(e,r),null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;4===(r=r.return).tag&&(o=!1)}r.sibling.return=r.return,r=r.sibling}}function br(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var n=e.destroy;e.destroy=void 0,void 0!==n&&n()}e=e.next}while(e!==t)}return;case 1:case 3:case 12:case 17:return;case 5:if(null!=(e=t.stateNode)){n=t.memoizedProps;var r=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&(e.type=r,e.props=n)}return;case 6:if(null===t.stateNode)throw Error(l(162));return void(t.stateNode.text=t.memoizedProps);case 13:return null!==t.memoizedState&&(Hr=He(),cr(t.child,!0)),void vr(t);case 19:return void vr(t);case 23:case 24:return void cr(t,null!==t.memoizedState)}throw Error(l(163))}function vr(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ar),t.forEach((function(t){var r=To.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function yr(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var _r=null;function wr(t){if(null===_r)try{var n=("require"+Math.random()).slice(0,7);_r=(e&&e[n]).call(e,"timers").setImmediate}catch(e){_r=function(e){var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return _r(t)}var Cr,Sr=Math.ceil,Er=c.ReactCurrentDispatcher,xr=c.ReactCurrentOwner,kr=c.IsSomeRendererActing,Nr=0,Or=null,Ar=null,Pr=0,Lr=0,jr=G(0),Mr=0,Ir=null,Tr=0,Rr=0,Dr=0,zr=0,Fr=null,Hr=0,Vr=1/0,Br=null,Ur=!1,Zr=null,$r=null,Wr=!1,qr=null,Yr=90,Gr=[],Qr=[],Xr=null,Jr=0,Kr=null,eo=-1,to=0,no=0,ro=null,oo=!1;function ao(){return 0!=(48&Nr)?He():-1!==eo?eo:eo=He()}function io(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ve()?1:2;if(0===to&&(to=Tr),0!==qe.transition){0!==no&&(no=null!==Fr?Fr.pendingLanes:0),e=to;var t=4186112&~no;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Ve(),e=he(0!=(4&Nr)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),to)}function lo(e,t,n){if(50o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=He()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Sr(n/1960))-n)){e.timeoutHandle=V(xo.bind(null,e),n);break}xo(e);break;default:throw Error(l(329))}}return co(e,He()),e.callbackNode===t?uo.bind(null,e):null}function fo(e,t){for(t&=~zr,t&=~Dr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Mr&&(Mr=2),s=er(s,l),d=i;do{switch(d.tag){case 3:a=s,d.flags|=4096,t&=-t,d.lanes|=t,mt(d,rr(0,a,t));break e;case 1:a=s;var w=d.type,C=d.stateNode;if(0==(64&d.flags)&&("function"==typeof w.getDerivedStateFromError||null!==C&&"function"==typeof C.componentDidCatch&&(null===$r||!$r.has(C)))){d.flags|=4096,t&=-t,d.lanes|=t,mt(d,or(d,a,t));break e}}d=d.return}while(null!==d)}Eo(n)}catch(e){t=e,Ar===n&&null!==n&&(Ar=n=n.return);continue}break}}function yo(){var e=Er.current;return Er.current=xn,null===e?xn:e}function _o(e,t){var n=Nr;Nr|=16;var r=yo();for(Or===e&&Pr===t||bo(e,t);;)try{wo();break}catch(t){vo(e,t)}if(rt(),Nr=n,Er.current=r,null!==Ar)throw Error(l(261));return Or=null,Pr=0,Mr}function wo(){for(;null!==Ar;)So(Ar)}function Co(){for(;null!==Ar&&!xe();)So(Ar)}function So(e){var t=Cr(e.alternate,e,Lr);e.memoizedProps=e.pendingProps,null===t?Eo(e):Ar=t,xr.current=null}function Eo(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Jn(n,t,Lr)))return void(Ar=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Lr)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1He()-Hr?bo(e,0):zr|=n),co(e,t)}function To(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ve()?1:2:(0===to&&(to=Tr),0===(t=ge(62914560&~to))&&(t=4194304))),n=ao(),null!==(e=so(e,t))&&(ve(e,t,n),co(e,n))}Cr=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ee.current)Pn=!0;else{if(0==(n&r)){switch(Pn=!1,t.tag){case 3:Hn(t);break;case 5:Rt(t);break;case 1:re(t.type)&&le(t);break;case 4:It(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;X(Ke,o._currentValue2),o._currentValue2=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?$n(e,t,n):(X(zt,1&zt.current),null!==(t=Qn(e,t,n))?t.sibling:null);X(zt,1&zt.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Gn(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),X(zt,zt.current),r)break;return null;case 23:case 24:return t.lanes=0,Tn(e,t,n)}return Qn(e,t,n)}Pn=0!=(16384&e.flags)}else Pn=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=ne(t,K.current),it(t,n),o=Jt(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,re(r)){var a=!0;le(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ct(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&bt(t,r,i,e),o.updater=vt,t.stateNode=o,o._reactInternals=t,Ct(t,r,e,n),t=Fn(null,t,r,!0,a,n)}else t.tag=0,Ln(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Zo(e)?1:0;if(null!=e){if((e=e.$$typeof)===b)return 11;if(e===_)return 14}return 2}(o),e=Je(o,e),a){case 0:t=Dn(null,t,o,e,n);break e;case 1:t=zn(null,t,o,e,n);break e;case 11:t=jn(null,t,o,e,n);break e;case 14:t=Mn(null,t,o,Je(o.type,e),r,n);break e}throw Error(l(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Dn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 1:return r=t.type,o=t.pendingProps,zn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 3:if(Hn(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));return r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ut(e,t),pt(t,r,null,n),(r=t.memoizedState.element)===o?t=Qn(e,t,n):(Ln(e,t,r,n),t=t.child),t;case 5:return Rt(t),r=t.pendingProps.children,Rn(e,t),Ln(e,t,r,n),t.child;case 6:return null;case 13:return $n(e,t,n);case 4:return It(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Nt(t,null,r,n):Ln(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,jn(e,t,r,o=t.elementType===r?o:Je(r,o),n);case 7:return Ln(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ln(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var s=t.type._context;if(X(Ke,s._currentValue2),s._currentValue2=a,null!==i)if(s=i.value,0==(a=Ye(s,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,a):1073741823))){if(i.children===o.children&&!ee.current){t=Qn(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){i=s.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===s.tag&&((u=ft(-1,n&-n)).tag=2,dt(s,u)),s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),at(s.return,n),c.lanes|=n;break}u=u.next}}else i=10===s.tag&&s.type===t.type?null:s.child;if(null!==i)i.return=s;else for(i=s;null!==i;){if(i===t){i=null;break}if(null!==(s=i.sibling)){s.return=i.return,i=s;break}i=i.return}s=i}Ln(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,it(t,n),r=r(o=lt(o,a.unstable_observedBits)),t.flags|=1,Ln(e,t,r,n),t.child;case 14:return a=Je(o=t.type,t.pendingProps),Mn(e,t,o,a=Je(o.type,a),r,n);case 15:return In(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Je(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,re(r)?(e=!0,le(t)):e=!1,it(t,n),_t(t,r,o),Ct(t,r,o,n),Fn(null,t,r,!0,e,n);case 19:return Gn(e,t,n);case 23:case 24:return Tn(e,t,n)}throw Error(l(156,t.tag))};var Ro=i.unstable_flushAllWithoutAsserting,Do="function"==typeof Ro;function zo(){if(void 0!==Ro)return Ro();for(var e=!1;Oo();)e=!0;return e}function Fo(e){try{zo(),wr((function(){zo()?Fo(e):e()}))}catch(t){e(t)}}var Ho=0,Vo=!1;function Bo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Uo(e,t,n,r){return new Bo(e,t,n,r)}function Zo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $o(e,t){var n=e.alternate;return null===n?((n=Uo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wo(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Zo(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case d:return qo(n.children,o,a,t);case S:i=8,o|=16;break;case m:i=8,o|=1;break;case p:return(e=Uo(12,n,t,8|o)).elementType=p,e.type=p,e.lanes=a,e;case v:return(e=Uo(13,n,t,o)).type=v,e.elementType=v,e.lanes=a,e;case y:return(e=Uo(19,n,t,o)).elementType=y,e.lanes=a,e;case E:return Yo(n,o,a,t);case x:return(e=Uo(24,n,t,o)).elementType=x,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case h:i=10;break e;case g:i=9;break e;case b:i=11;break e;case _:i=14;break e;case w:i=16,r=null;break e;case C:i=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Uo(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function qo(e,t,n,r){return(e=Uo(7,e,r,t)).lanes=n,e}function Yo(e,t,n,r){return(e=Uo(23,e,r,t)).elementType=E,e.lanes=n,e}function Go(e,t,n){return(e=Uo(6,e,null,t)).lanes=n,e}function Qo(e,t,n){return(t=Uo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xo(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=be(0),this.expirationTimes=be(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=be(0)}function Jo(e,t,n,r){var o=t.current,a=ao(),i=io(o);e:if(n){t:{if(P(n=n._reactInternals)!==n||1!==n.tag)throw Error(l(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(re(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(l(171))}if(1===n.tag){var c=n.type;if(re(c)){n=ie(n,c,s);break e}}n=s}else n=J;return null===t.context?t.context=n:t.pendingContext=n,(t=ft(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),dt(o,t),lo(o,i,a),i}var Ko=c.IsSomeRendererActing,ea=function(){return null};function ta(e){if(e.isHidden)return null;switch(e.tag){case"TEXT":return e.text;case"INSTANCE":var t=e.props,n=["children"];if(null==t)t={};else{var r,o={},a=Object.keys(t);for(r=0;rla(e).length)break;return da(e)}e=e.return}return null}},{key:"children",get:function(){return la(this._currentFiber())}}]),e}();function ca(e,t,n){var r=!n||n.deep,o=[];return t(e)&&(o.push(e),!r)||e.children.forEach((function(e){"string"!=typeof e&&o.push.apply(o,ca(e,t,n))})),o}function ua(e,t){if(1===e.length)return e[0];throw Error((0===e.length?"No instances found ":"Expected 1 but found "+e.length+" instances ")+t)}var fa=new WeakMap;function da(e){var t=fa.get(e);return void 0===t&&null!==e.alternate&&(t=fa.get(e.alternate)),void 0===t&&(t=new sa(e),fa.set(e,t)),t}var ma={findFiberByHostInstance:function(){throw Error("TestRenderer does not support findFiberByHostInstance()")},bundleType:0,version:"17.0.2",rendererPackageName:"react-test-renderer"},pa={bundleType:ma.bundleType,version:ma.version,rendererPackageName:ma.rendererPackageName,rendererConfig:ma.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:c.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=function(e){if(!(e=j(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},findFiberByHostInstance:ma.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ha=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ha.isDisabled&&ha.supportsFiber)try{ce=ha.inject(pa),ue=ha}catch(e){}}function ga(e,t){jest.runOnlyPendingTimers(),wr((function(){try{o.unstable_flushAllWithoutAsserting()?ga(e,t):e()}catch(e){t(e)}}))}t._Scheduler=o,t.act=function(e){function t(){Ho--,kr.current=n}!1===Vo&&(Vo=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),Ho++;var n=kr.current;kr.current=!0;try{var r=po(e)}catch(e){throw t(),e}if(null!==r&&"object"==typeof r&&"function"==typeof r.then)return{then:function(e,o){r.then((function(){1{"use strict";e.exports=n(760)},166:(e,t)=>{"use strict";var n=0,r=null,o=null,a=-1,i=null,l=-1,s=!1,c=!1,u=!1,f=!1;function d(){return!!(-1!==l&&null!==i&&i.length>=l||f&&u)&&(s=!0)}function m(){if(c)throw Error("Already flushing work.");if(null===r)return!1;var e=r;c=!0;try{var t=!0;do{t=e(!0,n)}while(t);return t||(r=null),!0}finally{c=!1}}function p(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0b(i,n))void 0!==s&&0>b(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==s&&0>b(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function b(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var v=[],y=[],_=1,w=null,C=3,S=!1,E=!1,x=!1;function k(e){for(var t=h(y);null!==t;){if(null===t.callback)g(y);else{if(!(t.startTime<=e))break;g(y),t.sortIndex=t.expirationTime,p(v,t)}t=h(y)}}function N(e){if(x=!1,k(e),!E)if(null!==h(v))E=!0,r=O;else{var t=h(y);null!==t&&(e=t.startTime-e,o=N,a=n+e)}}function O(e,t){E=!1,x&&(x=!1,o=null,a=-1),S=!0;var r=C;try{for(k(t),w=h(v);null!==w&&(!(w.expirationTime>t)||e&&!d());){var i=w.callback;if("function"==typeof i){w.callback=null,C=w.priorityLevel;var l=i(w.expirationTime<=t);t=n,"function"==typeof l?w.callback=l:w===h(v)&&g(v),k(t)}else g(v);w=h(v)}if(null!==w)var s=!0;else{var c=h(y);if(null!==c){var u=c.startTime-t;o=N,a=n+u}s=!1}return s}finally{w=null,C=r,S=!1}}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_advanceTime=function(e){"disabledLog"!==console.log.name&&(n+=e,null!==o&&a<=n&&(o(n),a=-1,o=null))},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_clearYields=function(){if(null===i)return[];var e=i;return i=null,e},t.unstable_continueExecution=function(){E||S||(E=!0,r=O)},t.unstable_flushAll=function(){if(null!==i)throw Error("Log is not empty. Assert on the log of yielded values before flushing additional work.");if(m(),null!==i)throw Error("While flushing work, something yielded a value. Use an assertion helper to assert on the log of yielded values, e.g. expect(Scheduler).toFlushAndYield([...])")},t.unstable_flushAllWithoutAsserting=m,t.unstable_flushExpired=function(){if(c)throw Error("Already flushing work.");if(null!==r){c=!0;try{r(!1,n)||(r=null)}finally{c=!1}}},t.unstable_flushNumberOfYields=function(e){if(c)throw Error("Already flushing work.");if(null!==r){var t=r;l=e,c=!0;try{e=!0;do{e=t(!0,n)}while(e&&!s);e||(r=null)}finally{l=-1,c=s=!1}}},t.unstable_flushUntilNextPaint=function(){if(c)throw Error("Already flushing work.");if(null!==r){var e=r;f=!0,u=!1,c=!0;try{var t=!0;do{t=e(!0,n)}while(t&&!s);t||(r=null)}finally{c=s=f=!1}}},t.unstable_forceFrameRate=function(){},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return h(v)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_now=function(){return n},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){u=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,t,i){var l=n;switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0l?(e.sortIndex=i,p(y,e),null===h(v)&&e===h(y)&&(x?(o=null,a=-1):x=!0,o=N,a=n+(i-l))):(e.sortIndex=s,p(v,e),E||S||(E=!0,r=O)),e},t.unstable_shouldYield=d,t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}},t.unstable_yieldValue=function(e){"disabledLog"!==console.log.name&&(null===i?i=[e]:i.push(e))}},787:(e,t)=>{"use strict";var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,g=null,b=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0x(i,n))void 0!==s&&0>x(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==s&&0>x(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],N=[],O=1,A=null,P=3,L=!1,j=!1,M=!1;function I(e){for(var t=S(N);null!==t;){if(null===t.callback)E(N);else{if(!(t.startTime<=e))break;E(N),t.sortIndex=t.expirationTime,C(k,t)}t=S(N)}}function T(e){if(M=!1,I(e),!j)if(null!==S(k))j=!0,n(R);else{var t=S(N);null!==t&&r(T,t.startTime-e)}}function R(e,n){j=!1,M&&(M=!1,o()),L=!0;var a=P;try{for(I(n),A=S(k);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=A.callback;if("function"==typeof i){A.callback=null,P=A.priorityLevel;var l=i(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?A.callback=l:A===S(k)&&E(k),I(n)}else E(k);A=S(k)}if(null!==A)var s=!0;else{var c=S(N);null!==c&&r(T,c.startTime-n),s=!1}return s}finally{A=null,P=a,L=!1}}var D=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){j||L||(j=!0,n(R))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return S(k)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0l?(e.sortIndex=i,C(N,e),null===S(k)&&e===S(N)&&(M?o():M=!0,r(T,i-l))):(e.sortIndex=s,C(k,e),j||L||(j=!0,n(R))),e},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},51:(e,t,n)=>{"use strict";e.exports=n(787)},506:(e,t,n)=>{"use strict";e.exports=n(166)},631:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s{"use strict";t.Ld=void 0;class n{static regexNumber=/{(\d+(:\w*)?)}/g;static regexObject=/{(\w+(:\w*)?)}/g;static empty="";static Empty="";static IsNullOrWhiteSpace(e){return n.isNullOrWhiteSpace(e)}static Join(e,...t){return n.join(e,...t)}static Format(e,...t){return n.format(e,...t)}static isNullOrWhiteSpace(e){try{return null==e||"undefined"==e||e.toString().replace(/\s/g,"").length<1}catch(e){return console.log(e),!1}}static join(e,...t){try{var r=t[0];if(Array.isArray(r)||r instanceof Array){let t=n.empty;for(let n=0;n{t+=o[n]+e})),t=t.slice(0,t.length-e.length)}var a=t;return n.joinString(e,...a)}catch(e){return console.log(e),n.empty}}static format(e,...t){try{return e.match(n.regexNumber)?n.formatString(n.regexNumber,e,t):e.match(n.regexObject)?n.formatString(n.regexObject,e,t,!0):e}catch(e){return console.log(e),n.empty}}static formatString(e,t,r,o=!1){return t.replace(e,(function(e,t){const a=e.split(":");let i;return 1{"use strict";var r=n(196),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),i((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},645:(e,t,n)=>{"use strict";var r=n(196),o=n(241),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,s=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=c((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,s=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var m=i(e,f[0],f[1]);return s((function(){d.hasValue=!0,d.value=m}),[m]),u(m),m}},241:(e,t,n)=>{"use strict";e.exports=n(978)},688:(e,t,n)=>{"use strict";e.exports=n(645)},868:(e,t,n)=>{"use strict";n.r(t);var r=n(197),o=n.n(r),a=n(196),i=n.n(a),l=n(382);describe("Stage2Card",(function(){it("Snapshot",(function(){var e=o().create(i().createElement(l.Stage2Card,{title:"Test",subtitle:"subtitle",buttonText:"buttonText",link:"xxx",image:"stage2-pic1.png"})).toJSON();expect(e).toMatchSnapshot()}))}))},382:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Stage2Card:()=>i});var r=n(196),o=n.n(r),a=n(684),i=function(e){var t=e.title,r=e.image,i=e.subtitle,l=e.buttonText,s=e.link;return o().createElement("div",{className:a.default.card},o().createElement("img",{className:a.default.image,src:n(169)("./".concat(r)),alt:""}),o().createElement("div",{className:a.default.title},t),o().createElement("div",{className:a.default.subtitle},i),o().createElement("div",{className:a.default.button,onClick:function(){location.href=s}},l))}},722:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-completed.d880a9fe.png"},923:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-failed.928f388b.png"},137:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-inProgress.54146764.png"},847:(e,t,n)=>{"use strict";e.exports=n.p+"images/status-warning.5300f0a9.png"},781:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic1.9a9254df.png"},317:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic2.d7002f8d.png"},49:(e,t,n)=>{"use strict";e.exports=n.p+"images/stage2-pic3.42bf09cf.png"},196:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r](a,a.exports,n),a.loaded=!0,a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/wp-content/plugins/microsoft-start/assets/js/",n.nc=void 0,(()=>{"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var s;function c(e,t,n){void 0===n&&(n="/");let r=g(("string"==typeof t?l(t):t).pathname||"/",n);if(null==r)return null;let o=u(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let e=0;null==a&&e{let a={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(b(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let i=_([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(b(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),u(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:m(i,e.index),routesMeta:l})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(s||(s={}));const f=/^:\w+$/,d=e=>"*"===e;function m(e,t){let n=e.split("/"),r=n.length;return n.some(d)&&(r+=-2),t&&(r+=2),n.filter((e=>!d(e))).reduce(((e,t)=>e+(f.test(t)?3:""===t?1:10)),r)}function p(e,t){let{routesMeta:n}=e,r={},o="/",a=[];for(let e=0;e(r.push(t),"([^\\/]+)")));return e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=l[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return v(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l[n]||"",t),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function g(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function b(e,t){if(!1===e||null==e)throw new Error(t)}function v(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function y(t,n,r,o){void 0===o&&(o=!1);let a,i="string"==typeof t?l(t):e({},t),s=""===t||""===i.pathname,c=s?"/":i.pathname;if(o||null==c)a=r;else{let e=n.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?n[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?l(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:C(r),hash:S(o)}}(i,a),f=c&&"/"!==c&&c.endsWith("/"),d=(s||"."===c)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}const _=e=>e.join("/").replace(/\/\/+/g,"/"),w=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),C=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",S=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class E extends Error{}class x{constructor(e,t,n){this.status=e,this.statusText=t||"",this.data=n}}var k=n(196),N=n.n(k);function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t0===n||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase))}function $(){B()||b(!1);let{basename:e,navigator:t}=k.useContext(z),{matches:n}=k.useContext(H),{pathname:r}=U(),o=JSON.stringify(Z(n).map((e=>e.pathnameBase))),a=k.useRef(!1);return k.useEffect((()=>{a.current=!0})),k.useCallback((function(n,i){if(void 0===i&&(i={}),!a.current)return;if("number"==typeof n)return void t.go(n);let l=y(n,JSON.parse(o),r,"path"===i.relative);"/"!==e&&(l.pathname="/"===l.pathname?e:_([e,l.pathname])),(i.replace?t.replace:t.push)(l,i.state,i)}),[e,t,o,r])}const W=k.createContext(null);function q(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=k.useContext(H),{pathname:o}=U(),a=JSON.stringify(Z(r).map((e=>e.pathnameBase)));return k.useMemo((()=>y(e,JSON.parse(a),o,"path"===n)),[e,a,o,n])}function Y(){let e=function(){var e;let t=k.useContext(V),n=function(e){let t=k.useContext(D);return t||b(!1),t}(X.UseRouteError),r=k.useContext(H),o=r.matches[r.matches.length-1];return t||(r||b(!1),!o.route.id&&b(!1),null==(e=n.errors)?void 0:e[o.route.id])}(),t=e instanceof x?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unhandled Thrown Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:o},n):null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:a},"errorElement")," props on ",k.createElement("code",{style:a},"")))}class G extends k.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?k.createElement(V.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function Q(e){let{routeContext:t,match:n,children:r}=e,o=k.useContext(T);return o&&n.route.errorElement&&(o._deepestRenderedBoundaryId=n.route.id),k.createElement(H.Provider,{value:t},r)}var X,J;function K(e){return function(e){let t=k.useContext(H).outlet;return t?k.createElement(W.Provider,{value:e},t):t}(e.context)}function ee(e){b(!1)}function te(e){let{basename:n="/",children:r=null,location:o,navigationType:a=t.Pop,navigator:i,static:s=!1}=e;B()&&b(!1);let c=n.replace(/^\/*/,"/"),u=k.useMemo((()=>({basename:c,navigator:i,static:s})),[c,i,s]);"string"==typeof o&&(o=l(o));let{pathname:f="/",search:d="",hash:m="",state:p=null,key:h="default"}=o,v=k.useMemo((()=>{let e=g(f,c);return null==e?null:{pathname:e,search:d,hash:m,state:p,key:h}}),[c,f,d,m,p,h]);return null==v?null:k.createElement(z.Provider,{value:u},k.createElement(F.Provider,{children:r,value:{location:v,navigationType:a}}))}function ne(e){let{children:n,location:r}=e,o=k.useContext(R);return function(e,n){B()||b(!1);let r=k.useContext(D),{matches:o}=k.useContext(H),a=o[o.length-1],i=a?a.params:{},s=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,f=U();if(n){var d;let e="string"==typeof n?l(n):n;"/"===s||(null==(d=e.pathname)?void 0:d.startsWith(s))||b(!1),u=e}else u=f;let m=u.pathname||"/",p=c(e,{pathname:"/"===s?m:m.slice(s.length)||"/"}),h=function(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,o=null==n?void 0:n.errors;if(null!=o){let e=r.findIndex((e=>e.route.id&&(null==o?void 0:o[e.route.id])));e>=0||b(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,a,i)=>{let l=a.route.id?null==o?void 0:o[a.route.id]:null,s=n?a.route.errorElement||k.createElement(Y,null):null,c=()=>k.createElement(Q,{match:a,routeContext:{outlet:e,matches:t.concat(r.slice(0,i+1))}},l?s:void 0!==a.route.element?a.route.element:e);return n&&(a.route.errorElement||0===i)?k.createElement(G,{location:n.location,component:s,error:l,children:c()}):c()}),null)}(p&&p.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:_([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:_([s,e.pathnameBase])}))),o,r||void 0);return n?k.createElement(F.Provider,{value:{location:O({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:t.Pop}},h):h}(o&&!n?o.router.routes:oe(n),r)}!function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(X||(X={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(J||(J={})),new Promise((()=>{}));class re extends k.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,r=null,o=J.pending;if(n instanceof Promise)if(this.state.error){J.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_error",{get:()=>e})}else n._tracked?void 0!==r._error?J.error:void 0!==r._data?J.success:J.pending:(J.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),n.then((e=>Object.defineProperty(n,"_data",{get:()=>e})),(e=>Object.defineProperty(n,"_error",{get:()=>e}))));else J.success,Promise.resolve(),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_data",{get:()=>n});if(o===J.error&&r._error instanceof AbortedDeferredError)throw neverSettledPromise;if(o===J.error&&!t)throw r._error;if(o===J.error)return React.createElement(AwaitContext.Provider,{value:r,children:t});if(o===J.success)return React.createElement(AwaitContext.Provider,{value:r,children:e});throw r}}function oe(e,t){void 0===t&&(t=[]);let n=[];return k.Children.forEach(e,((e,r)=>{if(!k.isValidElement(e))return;if(e.type===k.Fragment)return void n.push.apply(n,oe(e.props.children,t));e.type!==ee&&b(!1);let o=[...t,r],a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=oe(e.props.children,o)),n.push(a)})),n}function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}const le=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],se=["aria-current","caseSensitive","className","end","style","to","children"];function ce(e){let{basename:n,children:s,window:c}=e,u=k.useRef();var f;null==u.current&&(u.current=(void 0===(f={window:c,v5Compat:!0})&&(f={}),function(e,n,i,l){void 0===l&&(l={});let{window:s=document.defaultView,v5Compat:c=!1}=l,u=s.history,f=t.Pop,d=null;function m(){f=t.Pop,d&&d({action:f,location:p.location})}let p={get action(){return f},get location(){return e(s,u)},listen(e){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(r,m),d=e,()=>{s.removeEventListener(r,m),d=null}},createHref:e=>n(s,e),push:function(e,n){f=t.Push;let r=a(p.location,e,n);null==i||i(r,e);let l=o(r),m=p.createHref(r);try{u.pushState(l,"",m)}catch(e){s.location.assign(m)}c&&d&&d({action:f,location:r})},replace:function(e,n){f=t.Replace;let r=a(p.location,e,n);null==i||i(r,e);let l=o(r),s=p.createHref(r);u.replaceState(l,"",s),c&&d&&d({action:f,location:r})},go:e=>u.go(e)};return p}((function(e,t){var n,r;let{pathname:o="/",search:i="",hash:s=""}=l(e.location.hash.substr(1));return a("",{pathname:o,search:i,hash:s},(null==(n=t.state)?void 0:n.usr)||null,(null==(r=t.state)?void 0:r.key)||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:i(t))}),(function(e,t){!function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),f)));let d=u.current,[m,p]=k.useState({action:d.action,location:d.location});return k.useLayoutEffect((()=>d.listen(p)),[d]),k.createElement(te,{basename:n,children:s,location:m.location,navigationType:m.action,navigator:d})}const ue=k.forwardRef((function(e,t){let{onClick:n,relative:r,reloadDocument:o,replace:a,state:l,target:s,to:c,preventScrollReset:u}=e,f=ie(e,le),d=function(e,t){let{relative:n}=void 0===t?{}:t;B()||b(!1);let{basename:r,navigator:o}=k.useContext(z),{hash:a,pathname:i,search:l}=q(e,{relative:n}),s=i;return"/"!==r&&(s="/"===i?r:_([r,i])),o.createHref({pathname:s,search:l,hash:a})}(c,{relative:r}),m=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:l}=void 0===t?{}:t,s=$(),c=U(),u=q(e,{relative:l});return k.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:i(c)===i(u);s(e,{replace:n,state:o,preventScrollReset:a,relative:l})}}),[c,s,u,r,o,n,e,a,l])}(c,{replace:a,state:l,target:s,preventScrollReset:u,relative:r});return k.createElement("a",ae({},f,{href:d,onClick:o?n:function(e){n&&n(e),e.defaultPrevented||m(e)},ref:t,target:s}))})),fe=k.forwardRef((function(e,t){let n,{"aria-current":r="page",caseSensitive:o=!1,className:a="",end:i=!1,style:l,to:s,children:c}=e,u=ie(e,se),f=q(s),d=function(e){B()||b(!1);let{pathname:t}=U();return k.useMemo((()=>h(e,t)),[t,e])}({path:f.pathname,end:i,caseSensitive:o}),m=k.useContext(D),p=null==m?void 0:m.navigation.location,g=q(p||""),v=null!=k.useMemo((()=>p?h({path:f.pathname,end:i,caseSensitive:o},g.pathname):null),[p,f.pathname,o,i,g.pathname]),y=null!=d,_=y?r:void 0;n="function"==typeof a?a({isActive:y,isPending:v}):[a,y?"active":null,v?"pending":null].filter(Boolean).join(" ");let w="function"==typeof l?l({isActive:y,isPending:v}):l;return k.createElement(ue,ae({},u,{"aria-current":_,className:n,ref:t,style:w,to:s}),"function"==typeof c?c({isActive:y,isPending:v}):c)}));var de=n(679),me=n(631),pe=n.n(me);const he=function(e){function t(e,r,s,c,d){for(var m,p,h,g,_,C=0,S=0,E=0,x=0,k=0,j=0,I=h=m=0,R=0,D=0,z=0,F=0,H=s.length,V=H-1,B="",U="",Z="",$="";Rm)&&(F=(B=B.replace(" ",":")).length),0r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],01?t-1:0),r=1;r0?" Args: "+n.join(", "):""))}var Re=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&Te(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a=Fe&&(Fe=t+1),De.set(e,t),ze.set(t,e)},Ue="style["+Le+'][data-styled-version="5.3.6"]',Ze=new RegExp("^"+Le+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),$e=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Le))return r}}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(Le,"active"),r.setAttribute("data-styled-version","5.3.6");var i=qe();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},Ge=function(){function e(e){var t=this.element=Ye(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+",")})),r+=""+l+s+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),tt=/(a)(d)/gi,nt=function(e){return String.fromCharCode(e+(e>25?39:97))};function rt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=nt(t%52)+n;return(nt(t%52)+n).replace(tt,"$1-$2")}var ot=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},at=function(e){return ot(5381,e)};function it(e){for(var t=0;t>>0);if(!t.hasNameForId(r,i)){var l=n(a,"."+i,void 0,r);t.insertRules(r,i,l)}o.push(i),this.staticRulesId=i}else{for(var s=this.rules.length,c=ot(this.baseHash,n.hash),u="",f=0;f>>0);if(!t.hasNameForId(r,h)){var g=n(u,"."+h,void 0,r);t.insertRules(r,h,g)}o.push(h)}}return o.join(" ")},e}(),ct=/^\s*\/\/.*$/gm,ut=[":","[",".","#"];function ft(e){var t,n,r,o,a=void 0===e?Ne:e,i=a.options,l=void 0===i?Ne:i,s=a.plugins,c=void 0===s?ke:s,u=new he(l),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,a,i,l,s,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),m=function(e,r,a){return 0===r&&-1!==ut.indexOf(a[n.length])||a.match(o)?e:"."+t};function p(e,a,i,l){void 0===l&&(l="&");var s=e.replace(ct,""),c=a&&i?i+" "+a+" { "+s+" }":s;return t=l,n=a,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(i||!a?"":a,c)}return u.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,m))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),p.hash=c.length?c.reduce((function(e,t){return t.name||Te(15),ot(e,t.name)}),5381).toString():"",p}var dt=N().createContext(),mt=(dt.Consumer,N().createContext()),pt=(mt.Consumer,new et),ht=ft();function gt(){return(0,k.useContext)(dt)||pt}function bt(){return(0,k.useContext)(mt)||ht}function vt(e){var t=(0,k.useState)(e.stylisPlugins),n=t[0],r=t[1],o=gt(),a=(0,k.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),i=(0,k.useMemo)((function(){return ft({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,k.useEffect)((function(){pe()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),N().createElement(dt.Provider,{value:a},N().createElement(mt.Provider,{value:i},e.children))}var yt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ht);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Te(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ht),this.name+e.hash},e}(),_t=/([A-Z])/,wt=/([A-Z])/g,Ct=/^ms-/,St=function(e){return"-"+e.toLowerCase()};function Et(e){return _t.test(e)?e.replace(wt,St).replace(Ct,"-ms-"):e}var xt=function(e){return null==e||!1===e||""===e};function kt(e,t,n,r){if(Array.isArray(e)){for(var o,a=[],i=0,l=e.length;i1?t-1:0),r=1;r?@[\\\]^`{|}~-]+/g,Lt=/(^-|-$)/g;function jt(e){return e.replace(Pt,"-").replace(Lt,"")}var Mt=function(e){return rt(at(e)>>>0)};function It(e){return"string"==typeof e&&!0}var Tt=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Rt=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Dt(e,t,n){var r=e[n];Tt(t)&&Tt(r)?zt(r,t):e[n]=t}function zt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(o[n]=e[n]);return o}(t,["componentId"]),a=r&&r+"-"+(It(e)?e:jt(Ae(e)));return Vt(e,Se({},o,{attrs:d,componentId:a}),n)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?zt({},e.defaultProps,t):t}}),p.toString=function(){return"."+p.styledComponentId},o&&we()(p,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),p}var Bt=function(e){return function e(t,n,r){if(void 0===r&&(r=Ne),!(0,de.isValidElementType)(n))return Te(1,String(n));var o=function(){return t(n,r,Ot.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Se({},r,{},o))},o.attrs=function(o){return e(t,n,Se({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Vt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Bt[e]=Bt(e)}));var Ut=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=it(e),et.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(kt(this.rules,t,n,r).join(""),""),a=this.componentId+e;n.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&et.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();!function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=qe();return""},this.getStyleTags=function(){return e.sealed?Te(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Te(2);var n=((t={})[Le]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=qe();return r&&(n.nonce=r),[N().createElement("style",Se({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new et({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?Te(2):N().createElement(vt,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return Te(3)}}();const Zt=Bt;function $t(){var e,t,n=(e=["\n margin-bottom: 1.25rem;\n padding: 2rem;\n background-color: #fff;\n border-color: rgb(209 213 219);\n border-radius: 0.25rem;\n border-style: solid;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return $t=function(){return n},n}var Wt=Zt.div($t());const qt=function(e){var t=e.children,n=e.className;return N().createElement(Wt,{className:n},t)};function Yt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gt(){var e=Yt(["\n max-width: 1066px;\n margin: 0 auto;\n"]);return Gt=function(){return e},e}function Qt(){var e=Yt(["\n margin: 0 1.25rem;\n @media (min-width: 1280px) {\n margin: 0;\n }\n @media (min-width: 640px) {\n margin: 0 2.5rem;\n }\n"]);return Qt=function(){return e},e}n(875);var Xt=Zt.div(Gt()),Jt=Zt.div(Qt());const Kt=function(e){var t=e.children,n=e.className;return N().createElement(Xt,null,N().createElement(Jt,{className:n},t))};function en(){var e,t,n=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return en=function(){return n},n}var tn=Zt.i(en()),nn=N().createElement("svg",{width:"238",height:"21",viewBox:"0 0 238 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("line",{x1:"141.5",y1:"1",x2:"141.5",y2:"21",stroke:"#737373"}),N().createElement("path",{d:"M152.477 12.6328V17H150.487V4.95664H154.14C155.523 4.95664 156.595 5.27858 157.356 5.92246C158.118 6.56634 158.499 7.47337 158.499 8.64355C158.499 9.81374 158.101 10.7712 157.306 11.5158C156.511 12.2605 155.436 12.6328 154.081 12.6328H152.477ZM152.477 6.60273V11.0035H153.77C154.627 11.0035 155.279 10.8048 155.727 10.4072C156.175 10.0097 156.399 9.4498 156.399 8.72754C156.399 7.311 155.576 6.60273 153.93 6.60273H152.477ZM165.808 17H163.918V15.6562H163.884C163.291 16.6865 162.42 17.2016 161.272 17.2016C160.427 17.2016 159.763 16.972 159.282 16.5129C158.806 16.0538 158.568 15.4463 158.568 14.6904C158.568 13.0667 159.503 12.1205 161.373 11.8518L163.926 11.4906C163.926 10.2645 163.344 9.65137 162.179 9.65137C161.155 9.65137 160.231 10.0041 159.408 10.7096V9.00469C160.315 8.46719 161.362 8.19844 162.549 8.19844C164.721 8.19844 165.808 9.26784 165.808 11.4066V17ZM163.926 12.7756L162.121 13.0275C161.561 13.1003 161.138 13.2375 160.852 13.4391C160.573 13.635 160.433 13.9822 160.433 14.4805C160.433 14.8444 160.561 15.1439 160.819 15.3791C161.082 15.6087 161.432 15.7234 161.869 15.7234C162.462 15.7234 162.952 15.5163 163.338 15.102C163.73 14.682 163.926 14.1557 163.926 13.523V12.7756ZM172.562 10.2561C172.327 10.0713 171.988 9.97891 171.546 9.97891C170.969 9.97891 170.488 10.2393 170.101 10.76C169.715 11.2807 169.522 11.9889 169.522 12.8848V17H167.574V8.4H169.522V10.1721H169.556C169.746 9.56738 170.037 9.09707 170.429 8.76113C170.827 8.4196 171.269 8.24883 171.756 8.24883C172.109 8.24883 172.377 8.30202 172.562 8.4084V10.2561ZM178.359 16.9076C177.979 17.098 177.478 17.1932 176.856 17.1932C175.188 17.1932 174.353 16.3925 174.353 14.7912V9.92852H172.917V8.4H174.353V6.40957L176.302 5.85527V8.4H178.359V9.92852H176.302V14.2285C176.302 14.738 176.394 15.102 176.579 15.3203C176.764 15.5387 177.072 15.6479 177.503 15.6479C177.833 15.6479 178.119 15.5527 178.359 15.3623V16.9076ZM187.079 17H185.131V12.1541C185.131 10.5472 184.563 9.74375 183.426 9.74375C182.832 9.74375 182.343 9.96771 181.956 10.4156C181.57 10.8579 181.377 11.4178 181.377 12.0953V17H179.42V8.4H181.377V9.82773H181.41C182.054 8.74154 182.984 8.19844 184.199 8.19844C185.134 8.19844 185.847 8.50358 186.34 9.11387C186.833 9.71855 187.079 10.5948 187.079 11.7426V17ZM196.127 13.2291H190.265C190.287 14.0242 190.53 14.6372 190.995 15.0684C191.466 15.4995 192.109 15.715 192.927 15.715C193.845 15.715 194.688 15.4407 195.455 14.892V16.4625C194.671 16.9552 193.635 17.2016 192.347 17.2016C191.082 17.2016 190.088 16.8124 189.366 16.0342C188.649 15.2503 188.291 14.1501 188.291 12.7336C188.291 11.3954 188.686 10.3064 189.475 9.4666C190.27 8.62116 191.256 8.19844 192.431 8.19844C193.607 8.19844 194.517 8.57637 195.161 9.33223C195.805 10.0881 196.127 11.1379 196.127 12.4816V13.2291ZM194.245 11.8518C194.24 11.1519 194.075 10.6088 193.75 10.2225C193.425 9.83053 192.977 9.63457 192.406 9.63457C191.846 9.63457 191.37 9.83893 190.978 10.2477C190.592 10.6564 190.354 11.1911 190.265 11.8518H194.245ZM202.352 10.2561C202.117 10.0713 201.778 9.97891 201.336 9.97891C200.759 9.97891 200.278 10.2393 199.891 10.76C199.505 11.2807 199.312 11.9889 199.312 12.8848V17H197.364V8.4H199.312V10.1721H199.346C199.536 9.56738 199.827 9.09707 200.219 8.76113C200.617 8.4196 201.059 8.24883 201.546 8.24883C201.899 8.24883 202.167 8.30202 202.352 8.4084V10.2561ZM217.121 17H215.114V11.7762H209.445V17H207.446V4.95664H209.445V10.0209H215.114V4.95664H217.121V17ZM226.757 17H224.808V15.6395H224.774C224.209 16.6809 223.33 17.2016 222.137 17.2016C220.105 17.2016 219.089 15.981 219.089 13.5398V8.4H221.037V13.3383C221.037 14.8836 221.633 15.6562 222.826 15.6562C223.403 15.6562 223.876 15.4435 224.245 15.018C224.62 14.5924 224.808 14.0354 224.808 13.3467V8.4H226.757V17ZM230.664 15.757H230.63V17H228.682V4.26797H230.63V9.91172H230.664C231.33 8.76953 232.305 8.19844 233.587 8.19844C234.673 8.19844 235.521 8.58477 236.131 9.35742C236.747 10.1245 237.055 11.1547 237.055 12.448C237.055 13.887 236.711 15.0404 236.022 15.9082C235.334 16.7704 234.393 17.2016 233.2 17.2016C232.081 17.2016 231.235 16.7201 230.664 15.757ZM230.614 12.3389V13.4055C230.614 14.0326 230.812 14.5645 231.21 15.0012C231.613 15.4379 232.123 15.6562 232.738 15.6562C233.461 15.6562 234.026 15.3763 234.435 14.8164C234.849 14.2509 235.056 13.4643 235.056 12.4564C235.056 11.611 234.863 10.9503 234.477 10.4744C234.096 9.9929 233.578 9.75215 232.923 9.75215C232.229 9.75215 231.669 9.9985 231.244 10.4912C230.824 10.9839 230.614 11.5998 230.614 12.3389Z",fill:"#737373"}),N().createElement("path",{d:"M9.5 1H0V10.5H9.5V1Z",fill:"#F25022"}),N().createElement("path",{d:"M20 1H10.5V10.5H20V1Z",fill:"#7FBA00"}),N().createElement("path",{d:"M9.5 11.5H0V21H9.5V11.5Z",fill:"#00A4EF"}),N().createElement("path",{d:"M20 11.5H10.5V21H20V11.5Z",fill:"#FFB900"}),N().createElement("path",{d:"M38.99 5.00045V17.0004H36.9V7.60045H36.87L33.14 17.0004H31.76L27.95 7.60045H27.92V17.0004H26V5.00045H28.99L32.43 13.9004H32.48L36.13 5.00045H38.99ZM40.73 5.91045C40.73 5.58045 40.85 5.30045 41.09 5.07045C41.34 4.84045 41.62 4.73045 41.96 4.73045C42.32 4.73045 42.61 4.85045 42.85 5.08045C43.08 5.31045 43.2 5.58045 43.2 5.91045C43.2 6.24045 43.08 6.51045 42.84 6.74045C42.6 6.96045 42.31 7.07045 41.96 7.07045C41.61 7.07045 41.32 6.97045 41.08 6.74045C40.9664 6.63464 40.8765 6.50597 40.8161 6.36292C40.7558 6.21986 40.7265 6.06566 40.73 5.91045ZM42.96 17.0004H40.94V8.40045H42.96V17.0004ZM49.11 15.5304C49.41 15.5304 49.74 15.4604 50.11 15.3204C50.47 15.1804 50.8 15.0004 51.11 14.7704V16.6504C50.78 16.8304 50.41 16.9704 50.01 17.0704C49.6 17.1704 49.15 17.2104 48.66 17.2104C47.39 17.2104 46.36 16.8104 45.56 16.0104C45.1659 15.6051 44.8582 15.1241 44.6554 14.5964C44.4525 14.0687 44.3589 13.5054 44.38 12.9404C44.38 11.5604 44.78 10.4204 45.59 9.53045C46.0312 9.06944 46.5674 8.70992 47.1614 8.4768C47.7554 8.24369 48.393 8.14257 49.03 8.18045C49.7518 8.18191 50.4635 8.34957 51.11 8.67045V10.6005C50.79 10.3705 50.48 10.2004 50.15 10.0704C49.8318 9.94291 49.4928 9.87511 49.15 9.87045C48.35 9.87045 47.71 10.1404 47.21 10.6604C46.72 11.1804 46.48 11.8804 46.48 12.7604C46.48 13.6304 46.71 14.3004 47.18 14.7904C47.66 15.2704 48.3 15.5204 49.11 15.5204V15.5304ZM56.87 8.26045C57.1307 8.25799 57.3904 8.29508 57.64 8.37045V10.4204C57.2779 10.2023 56.8627 10.0881 56.44 10.0904C55.94 10.0904 55.51 10.3004 55.17 10.7204C54.83 11.1405 54.66 11.7904 54.66 12.6604V17.0004H52.63V8.40045H54.66V9.75045H54.69C54.847 9.30132 55.1429 8.91383 55.5348 8.64413C55.9268 8.37444 56.3944 8.23655 56.87 8.25045V8.26045ZM57.74 12.8204C57.74 11.4004 58.14 10.2804 58.94 9.44045C59.3832 9.01177 59.9109 8.68012 60.4894 8.46663C61.0679 8.25314 61.6845 8.16249 62.3 8.20045C63.65 8.20045 64.7 8.60045 65.45 9.40045C66.21 10.2004 66.59 11.2804 66.59 12.6404C66.59 14.0404 66.19 15.1404 65.39 15.9704C64.58 16.8004 63.49 17.2104 62.1 17.2104C61.52 17.2396 60.9401 17.151 60.3953 16.9499C59.8504 16.7488 59.352 16.4394 58.93 16.0404C58.5266 15.6129 58.2141 15.108 58.0113 14.5563C57.8085 14.0046 57.7196 13.4175 57.75 12.8304L57.74 12.8204ZM59.85 12.7604C59.85 13.6604 60.05 14.3404 60.46 14.8104C60.87 15.2904 61.46 15.5204 62.21 15.5204C62.95 15.5204 63.51 15.2904 63.89 14.8204C64.29 14.3404 64.47 13.6404 64.47 12.7104C64.47 11.7804 64.27 11.0804 63.87 10.6104C63.47 10.1404 62.92 9.90045 62.2 9.90045C61.46 9.90045 60.88 10.1504 60.47 10.6405C60.0183 11.2511 59.7985 12.0026 59.85 12.7604ZM69.59 10.6604C69.59 10.9504 69.69 11.1704 69.87 11.3404C70.05 11.5004 70.46 11.7104 71.09 11.9604C71.89 12.2905 72.47 12.6504 72.79 13.0604C73.12 13.4604 73.28 13.9504 73.28 14.5204C73.28 15.3305 72.97 15.9804 72.35 16.4704C71.72 16.9704 70.88 17.2104 69.83 17.2104C69.0436 17.2121 68.2648 17.0556 67.54 16.7504V14.7504C67.91 15.0104 68.31 15.2204 68.74 15.3704C69.16 15.5204 69.54 15.5904 69.89 15.5904C70.34 15.5904 70.68 15.5304 70.89 15.4004C71.11 15.2704 71.22 15.0604 71.22 14.7604C71.222 14.6249 71.1934 14.4906 71.1363 14.3677C71.0791 14.2447 70.9949 14.1363 70.89 14.0504C70.66 13.8504 70.23 13.6304 69.6 13.3804C68.9914 13.1622 68.4455 12.7983 68.01 12.3204C67.71 11.9304 67.54 11.4404 67.54 10.8404C67.54 10.0604 67.85 9.42045 68.47 8.92045C69.09 8.42045 69.89 8.17045 70.87 8.17045C71.5357 8.1788 72.1952 8.30055 72.82 8.53045V10.4604C72.5265 10.2696 72.2108 10.1151 71.88 10.0004C71.52 9.87045 71.17 9.80045 70.82 9.80045C70.43 9.80045 70.13 9.88045 69.92 10.0304C69.8165 10.0993 69.732 10.1931 69.6744 10.3032C69.6167 10.4133 69.5877 10.5362 69.59 10.6604ZM74.15 12.8204C74.15 11.4004 74.55 10.2804 75.35 9.44045C75.7932 9.01177 76.3209 8.68012 76.8994 8.46663C77.4779 8.25314 78.0945 8.16249 78.71 8.20045C80.05 8.20045 81.1 8.60045 81.86 9.40045C82.61 10.2004 82.99 11.2804 82.99 12.6404C82.99 14.0404 82.59 15.1404 81.79 15.9704C80.99 16.8004 79.89 17.2104 78.5 17.2104C77.92 17.2396 77.3401 17.151 76.7953 16.9499C76.2504 16.7488 75.752 16.4394 75.33 16.0404C74.9266 15.6129 74.6141 15.108 74.4113 14.5563C74.2085 14.0046 74.1196 13.4175 74.15 12.8304V12.8204ZM76.26 12.7604C76.26 13.6604 76.46 14.3404 76.87 14.8104C77.28 15.2904 77.87 15.5204 78.62 15.5204C79.36 15.5204 79.92 15.2904 80.31 14.8204C80.69 14.3404 80.88 13.6404 80.88 12.7104C80.88 11.7804 80.68 11.0804 80.28 10.6104C79.88 10.1404 79.33 9.90045 78.61 9.90045C77.87 9.90045 77.29 10.1504 76.88 10.6405C76.4283 11.2511 76.2085 12.0026 76.26 12.7604ZM89.71 10.0605H86.69V17.0004H84.64V10.0504H83.2V8.40045H84.64V7.20045C84.624 6.78523 84.695 6.37125 84.8484 5.98508C85.0018 5.59892 85.2343 5.24911 85.531 4.95813C85.8276 4.66714 86.1818 4.44141 86.5708 4.29543C86.9599 4.14944 87.3752 4.08644 87.79 4.11045C88.1778 4.11594 88.5637 4.16628 88.94 4.26045V6.01045C88.6519 5.86415 88.3331 5.78873 88.01 5.79045C87.59 5.79045 87.26 5.92045 87.03 6.19045C86.81 6.45045 86.69 6.84045 86.69 7.36045V8.40045H89.71V6.47045L91.74 5.85045V8.40045H93.79V10.0605H91.74V14.0804C91.74 14.6104 91.84 14.9804 92.04 15.2004C92.22 15.4204 92.52 15.5304 92.94 15.5304C93.2408 15.5025 93.5315 15.4068 93.79 15.2504V16.9204C93.302 17.1111 92.7838 17.2128 92.26 17.2204C91.41 17.2204 90.77 16.9904 90.35 16.5304C89.92 16.0804 89.71 15.3904 89.71 14.4804V10.0504V10.0605Z",fill:"#737373"}),N().createElement("path",{d:"M100.741 8.04087C100.741 8.48087 100.901 8.85087 101.211 9.15087C101.511 9.45087 102.061 9.81087 102.861 10.2209C103.724 10.6218 104.501 11.1854 105.151 11.8809C105.611 12.4409 105.851 13.0809 105.851 13.8009C105.871 14.28 105.776 14.757 105.575 15.192C105.373 15.6269 105.07 16.0072 104.691 16.3009C103.921 16.9009 102.931 17.2009 101.731 17.2009C101.051 17.2009 100.421 17.1409 99.8505 17.0009C99.2805 16.8609 98.8505 16.7009 98.5605 16.5109V14.2309C98.9305 14.5709 99.4006 14.8509 99.9806 15.0709C100.561 15.2909 101.121 15.4109 101.681 15.4109C102.291 15.4109 102.781 15.2909 103.131 15.0609C103.491 14.8209 103.671 14.4609 103.671 14.0009C103.671 13.5909 103.491 13.2109 103.151 12.8709C102.575 12.381 101.936 11.9707 101.251 11.6509C100.484 11.2818 99.8004 10.7613 99.2405 10.1209C98.7961 9.57309 98.5588 8.88619 98.5705 8.18087C98.5705 7.19087 98.9606 6.38087 99.7206 5.75087C100.563 5.09263 101.612 4.75585 102.681 4.80087C103.58 4.806 104.472 4.96148 105.321 5.26087V7.44087C104.964 7.16489 104.561 6.95491 104.131 6.82087C103.672 6.6736 103.192 6.59936 102.711 6.60087C102.131 6.60087 101.651 6.73087 101.291 7.00087C100.921 7.25087 100.741 7.60087 100.741 8.04087ZM110.831 15.5309C111.131 15.5033 111.422 15.4075 111.681 15.2509V16.9209C111.196 17.1102 110.681 17.2118 110.161 17.2209C109.301 17.2209 108.661 16.9809 108.241 16.5209C107.811 16.0709 107.601 15.3909 107.601 14.4709V10.0509H106.191V8.40087H107.601V6.46087L109.631 5.84087V8.40087H111.681V10.0609H109.631V14.0909C109.631 14.6209 109.731 14.9909 109.931 15.2109C110.111 15.4309 110.411 15.5409 110.831 15.5409V15.5309ZM119.801 11.6109V14.9609C119.801 15.7809 119.851 16.4609 119.931 17.0009H117.911L117.811 16.0809H117.781C117.521 16.4309 117.181 16.6909 116.771 16.8809C116.351 17.0609 115.831 17.1509 115.201 17.1509C114.441 17.1509 113.801 16.9209 113.301 16.4509C113.044 16.2159 112.842 15.9276 112.709 15.6063C112.576 15.2849 112.515 14.9383 112.531 14.5909C112.531 13.7609 112.861 13.0909 113.511 12.5909C114.171 12.0709 115.201 11.7409 116.601 11.5609L117.831 11.4109C117.831 10.8409 117.691 10.4409 117.431 10.2009C117.161 9.96087 116.751 9.84087 116.221 9.83087C115.641 9.83087 115.091 9.92087 114.571 10.0909C114.051 10.2709 113.651 10.4809 113.371 10.7209V8.87087C114.356 8.40893 115.432 8.17318 116.521 8.18087C117.591 8.18087 118.401 8.48087 118.961 9.07087C119.521 9.66087 119.791 10.5109 119.791 11.6109H119.801ZM116.921 12.8909C116.031 12.9909 115.401 13.1709 115.041 13.4109C114.671 13.6509 114.491 13.9809 114.491 14.4009C114.491 14.7609 114.591 15.0409 114.811 15.2509C115.031 15.4609 115.351 15.5709 115.791 15.5709C116.421 15.5709 116.921 15.3709 117.291 14.9909C117.651 14.5909 117.841 14.1109 117.841 13.5309V12.7809L116.921 12.8909ZM125.831 8.26087C126.091 8.25872 126.351 8.2958 126.601 8.37087V10.4209C126.238 10.2027 125.823 10.0885 125.401 10.0909C124.901 10.0909 124.481 10.3009 124.131 10.7209C123.791 11.1409 123.621 11.7909 123.621 12.6609V17.0009H121.591V8.40087H123.621V9.75087H123.651C123.808 9.30173 124.103 8.91425 124.495 8.64455C124.887 8.37486 125.355 8.23697 125.831 8.25087V8.26087ZM131.901 15.5309C132.201 15.5023 132.492 15.4066 132.751 15.2509V16.9209C132.266 17.1102 131.751 17.2118 131.231 17.2209C130.381 17.2209 129.731 16.9809 129.311 16.5209C128.881 16.0709 128.671 15.3909 128.671 14.4709V10.0509H127.261V8.40087H128.671V6.46087L130.711 5.84087V8.40087H132.751V10.0609H130.711V14.0909C130.711 14.6209 130.811 14.9909 130.991 15.2109C131.191 15.4309 131.491 15.5409 131.901 15.5409V15.5309Z",fill:"#737373"})),rn=N().createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M7.5 15C6.80729 15 6.14062 14.9115 5.5 14.7344C4.86458 14.5573 4.26823 14.3073 3.71094 13.9844C3.15365 13.6562 2.64583 13.2656 2.1875 12.8125C1.73438 12.3542 1.34375 11.8464 1.01562 11.2891C0.692708 10.7318 0.442708 10.1354 0.265625 9.5C0.0885417 8.85938 0 8.19271 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.86719 0.692708 4.26823 1.01562 3.71094C1.34375 3.15365 1.73438 2.64844 2.1875 2.19531C2.64583 1.73698 3.15365 1.34635 3.71094 1.02344C4.26823 0.695312 4.86458 0.442708 5.5 0.265625C6.14062 0.0885417 6.80729 0 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1328 0.442708 10.7318 0.695312 11.2891 1.02344C11.8464 1.34635 12.3516 1.73698 12.8047 2.19531C13.263 2.64844 13.6536 3.15365 13.9766 3.71094C14.3047 4.26823 14.5573 4.86719 14.7344 5.50781C14.9115 6.14323 15 6.80729 15 7.5C15 8.19271 14.9115 8.85938 14.7344 9.5C14.5573 10.1354 14.3047 10.7318 13.9766 11.2891C13.6536 11.8464 13.263 12.3542 12.8047 12.8125C12.3516 13.2656 11.8464 13.6562 11.2891 13.9844C10.7318 14.3073 10.1328 14.5573 9.49219 14.7344C8.85677 14.9115 8.19271 15 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70312 1.60938 4.21875 1.89062C3.73958 2.17188 3.30208 2.51042 2.90625 2.90625C2.51042 3.30208 2.17188 3.74219 1.89062 4.22656C1.60938 4.70573 1.39062 5.22396 1.23438 5.78125C1.07812 6.33333 1 6.90625 1 7.5C1 8.09375 1.07812 8.66927 1.23438 9.22656C1.39062 9.77865 1.60938 10.2969 1.89062 10.7812C2.17188 11.2604 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.70312 13.3906 5.22135 13.6094 5.77344 13.7656C6.32552 13.9219 6.90104 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77604 13.6094 10.2943 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.2969 13.6094 9.77865 13.7656 9.22656C13.9219 8.67448 14 8.09896 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22396 13.3906 4.70573 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2578 2.17188 10.7734 1.89062C10.2943 1.60938 9.77604 1.39062 9.21875 1.23438C8.66667 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z",fill:"#605E5C"})),on=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#212121"})),an=N().createElement("svg",{width:"108",height:"111",viewBox:"0 0 108 111",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M11.5629 97.9006L0.462867 37.9006C0.262867 36.7006 1.26287 35.7006 2.46287 35.9006L23.5629 39.2006C24.3629 39.3006 24.9629 39.9006 25.1629 40.6006L26.5629 45.3006C26.7629 46.1006 27.4629 46.6006 28.2629 46.7006L81.7629 53.8006L83.0629 58.3006",fill:"url(#paint0_radial_14_20143)"}),N().createElement("path",{d:"M32.2629 24.4C34.1629 31.7 50.6629 66.6 57.5629 73.5C64.4629 80.4 107.563 53.9 107.563 53.9C107.563 53.9 96.8629 44 89.2629 29.4C81.6629 14.8 77.4629 0 77.4629 0L32.2629 24.4Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M30.6632 54.5006L11.8632 96.8006C11.1632 98.5006 12.1632 100.401 13.9632 100.601L81.9632 110.201C84.3632 110.501 86.6632 109.201 87.5632 107.001L105.363 65.1006C106.063 63.4006 105.063 61.6006 103.263 61.3006L36.2632 51.3006C33.8632 51.0006 31.6632 52.3006 30.6632 54.5006Z",fill:"#BFBFBF"}),N().createElement("defs",null,N().createElement("radialGradient",{id:"paint0_radial_14_20143",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(30.2764 76.0337) scale(50.9603)"},N().createElement("stop",{"stop-color":"#807E7E"}),N().createElement("stop",{offset:"0.0936641","stop-color":"#888686"}),N().createElement("stop",{offset:"0.3848","stop-color":"#9A9998"}),N().createElement("stop",{offset:"0.6837","stop-color":"#A5A4A3"}),N().createElement("stop",{offset:"1","stop-color":"#A9A8A7"})))),ln=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M2.58859 2.71569L2.64645 2.64645C2.82001 2.47288 3.08944 2.4536 3.28431 2.58859L3.35355 2.64645L8 7.293L12.6464 2.64645C12.8417 2.45118 13.1583 2.45118 13.3536 2.64645C13.5488 2.84171 13.5488 3.15829 13.3536 3.35355L8.707 8L13.3536 12.6464C13.5271 12.82 13.5464 13.0894 13.4114 13.2843L13.3536 13.3536C13.18 13.5271 12.9106 13.5464 12.7157 13.4114L12.6464 13.3536L8 8.707L3.35355 13.3536C3.15829 13.5488 2.84171 13.5488 2.64645 13.3536C2.45118 13.1583 2.45118 12.8417 2.64645 12.6464L7.293 8L2.64645 3.35355C2.47288 3.17999 2.4536 2.91056 2.58859 2.71569L2.64645 2.64645L2.58859 2.71569Z",fill:"#1A1A1A"})),sn=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M4 8C4 7.72386 4.22386 7.5 4.5 7.5C8.70319 7.5 6.98852 7.5 11.5 7.5C11.7761 7.5 12 7.72386 12 8C12 8.27614 11.7761 8.5 11.5 8.5C7.29954 8.5 9.01621 8.5 4.5 8.5C4.22386 8.5 4 8.27614 4 8ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15Z",fill:"#D13438"})),cn=N().createElement("svg",{width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M9.00006 4.99992C9.2762 4.99992 9.50006 5.22377 9.50006 5.49992V9.49991C9.50006 9.77606 9.2762 9.99991 9.00006 9.99991C8.72392 9.99991 8.50006 9.77606 8.50006 9.49991V5.49992C8.50006 5.22377 8.72392 4.99992 9.00006 4.99992ZM9.00006 12.4999C9.41427 12.4999 9.75006 12.1641 9.75006 11.7499C9.75006 11.3357 9.41427 10.9999 9.00006 10.9999C8.58585 10.9999 8.25006 11.3357 8.25006 11.7499C8.25006 12.1641 8.58585 12.4999 9.00006 12.4999ZM7.68575 0.852074C8.25564 -0.184088 9.74451 -0.184091 10.3144 0.852072L16.8731 12.777C17.423 13.7767 16.6997 14.9999 15.5588 14.9999H2.44135C1.30044 14.9999 0.577198 13.7767 1.12702 12.777L7.68575 0.852074ZM9.43818 1.33399C9.24822 0.988605 8.75193 0.988604 8.56197 1.33399L2.00324 13.259C1.81996 13.5922 2.06104 13.9999 2.44135 13.9999H15.5588C15.9391 13.9999 16.1802 13.5922 15.9969 13.259L9.43818 1.33399Z",fill:"#A19419"})),un=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M8.68149 2.78544C9.24892 1.73813 10.752 1.73821 11.3193 2.78557L17.8198 14.7865C18.3612 15.786 17.6375 17.0009 16.5009 17.0009H3.4982C2.36147 17.0009 1.63783 15.7858 2.17934 14.7864L8.68149 2.78544ZM10.5 7.5C10.5 7.22386 10.2761 7 10 7C9.72386 7 9.5 7.22386 9.5 7.5V11.5C9.5 11.7761 9.72386 12 10 12C10.2761 12 10.5 11.7761 10.5 11.5V7.5ZM10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75Z",fill:"white"})),fn=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M8.49206 6.91012C8.44972 6.67687 8.24557 6.49999 8.00011 6.49999C7.72397 6.49999 7.50011 6.72385 7.50011 6.99999V11.5021L7.50817 11.592C7.55051 11.8253 7.75465 12.0021 8.00011 12.0021C8.27626 12.0021 8.50011 11.7783 8.50011 11.5021V6.99999L8.49206 6.91012ZM8.79883 4.74999C8.79883 4.33578 8.46304 3.99999 8.04883 3.99999C7.63461 3.99999 7.29883 4.33578 7.29883 4.74999C7.29883 5.16421 7.63461 5.49999 8.04883 5.49999C8.46304 5.49999 8.79883 5.16421 8.79883 4.74999ZM16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8ZM1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8Z",fill:"#717171"})),dn=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"})),mn=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"#1A1A1A"})),pn=N().createElement("svg",{width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M88.7248 42.3149L66.4298 64.8049C65.1298 66.1049 65.7148 68.3799 67.5348 68.8349L98.1498 76.9599C99.9698 77.4149 101.595 75.7899 101.14 73.9699L92.8198 43.4199C92.2348 41.5999 90.0248 40.9499 88.7248 42.3149Z",fill:"url(#paint0_linear_603_52481)"}),N().createElement("path",{d:"M23.855 16.8349L10.595 45.6299C9.81501 47.3199 11.18 49.2049 13 49.0749L44.525 46.1499C46.41 45.9549 47.385 43.8749 46.28 42.3149L28.015 16.4449C26.91 14.8849 24.635 15.1449 23.855 16.8349Z",fill:"url(#paint1_linear_603_52481)"}),N().createElement("path",{d:"M49.0753 20.865L10.7903 77.61C8.51527 80.925 10.7253 85.475 14.7553 85.8L83.0703 90.61C87.1003 90.87 89.8953 86.71 88.1403 83.07L58.1103 21.515C56.3553 17.875 51.3503 17.55 49.0753 20.865Z",fill:"#FFD590"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M89.9601 54.34C89.5701 55.705 90.3501 57.2 91.7151 57.59C93.0801 58.045 94.5101 57.265 94.9001 55.9L100.555 37.18C100.945 35.815 100.165 34.32 98.8001 33.93C97.4351 33.54 95.9401 34.32 95.5501 35.685L89.9601 54.34ZM92.82 63.57C92.82 65.1855 91.5104 66.495 89.895 66.495C88.2795 66.495 86.97 65.1855 86.97 63.57C86.97 61.9546 88.2795 60.645 89.895 60.645C91.5104 60.645 92.82 61.9546 92.82 63.57Z",fill:"#3E8EED"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M47.9702 64.22C47.8402 65.65 48.9452 66.885 50.3752 67.015C51.8052 67.08 53.0402 66.04 53.1702 64.61L55.0552 38.025C55.1852 36.595 54.0802 35.36 52.6502 35.23C51.2202 35.1 49.9852 36.205 49.8552 37.635L47.9702 64.22ZM52.9101 73.19C52.9101 74.8054 51.6005 76.115 49.9851 76.115C48.3696 76.115 47.0601 74.8054 47.0601 73.19C47.0601 71.5746 48.3696 70.265 49.9851 70.265C51.6005 70.265 52.9101 71.5746 52.9101 73.19Z",fill:"white"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.3551 33.0849C17.7451 34.5149 19.1751 35.2949 20.5401 34.9049C21.9051 34.5149 22.6851 33.0849 22.3601 31.7199L17.0301 12.9349C16.6401 11.5049 15.2101 10.7249 13.8451 11.1149C12.4151 11.5049 11.6351 12.9349 12.0251 14.2999L17.3551 33.0849ZM25.1552 40.885C25.1552 42.5004 23.8456 43.81 22.2302 43.81C20.6147 43.81 19.3052 42.5004 19.3052 40.885C19.3052 39.2695 20.6147 37.96 22.2302 37.96C23.8456 37.96 25.1552 39.2695 25.1552 40.885Z",fill:"#28C2D1"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M52.585 13.39C52.325 13.13 52.195 12.805 52.13 12.48L51.48 8.31996C51.35 7.40996 52 6.62996 52.845 6.49996C53.3 6.43496 53.755 6.56496 54.08 6.82496C54.405 7.08496 54.6 7.47496 54.665 7.86496L55.25 12.025C55.38 12.935 54.73 13.715 53.885 13.845C53.43 13.91 52.91 13.715 52.585 13.39ZM60.0602 13.91C59.6702 14.56 59.8002 15.34 60.3202 15.86C60.3852 15.925 60.5152 16.055 60.6452 16.055C61.4252 16.51 62.4002 16.25 62.7902 15.535L64.8052 12.155C65.0002 11.765 65.0652 11.375 65.0002 10.92C64.9352 10.595 64.7402 10.27 64.4802 10.075C64.4477 10.0425 64.4152 10.0262 64.3827 10.01L64.3827 10.01C64.3502 9.99375 64.3177 9.9775 64.2852 9.945C63.5052 9.49 62.5302 9.75 62.1402 10.465L60.0602 13.91ZM66.2351 21.125C66.3001 21.255 66.4301 21.45 66.5601 21.58C67.0801 22.035 67.7951 22.165 68.3801 21.84L71.7601 20.15C72.1501 19.955 72.4101 19.63 72.5401 19.24C72.6701 18.85 72.6701 18.395 72.4751 18.005L72.4751 18.005C72.3451 17.81 72.2151 17.615 72.0201 17.485C71.9208 17.3857 71.7835 17.3243 71.6663 17.2719L71.6663 17.2719C71.6301 17.2557 71.5958 17.2403 71.5651 17.225C71.1751 17.095 70.7201 17.095 70.3301 17.29L66.9501 18.98C66.5601 19.175 66.3001 19.5 66.1701 19.89C66.0401 20.345 66.0401 20.735 66.2351 21.125Z",fill:"#E1DFDD"}),N().createElement("defs",null,N().createElement("linearGradient",{id:"paint0_linear_603_52481",x1:"64.4225",y1:"65.5682",x2:"88.5293",y2:"60.5513",gradientUnits:"userSpaceOnUse"},N().createElement("stop",{offset:"0.000984252","stop-color":"#72ACF1"}),N().createElement("stop",{offset:"1","stop-color":"#A7CBF6"})),N().createElement("linearGradient",{id:"paint1_linear_603_52481",x1:"44.1311",y1:"47.0077",x2:"26.1058",y2:"36.2189",gradientUnits:"userSpaceOnUse"},N().createElement("stop",{offset:"0.000984252","stop-color":"#7BDDEF"}),N().createElement("stop",{offset:"1","stop-color":"#C3F2F4"})))),hn=N().createElement("svg",{width:"94",height:"94",viewBox:"0 0 94 94",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("g",{"clip-path":"url(#clip0_603_52415)"},N().createElement("path",{d:"M47.0002 65.6C64.9771 65.6 79.5502 51.0269 79.5502 33.05C79.5502 15.0731 64.9771 0.5 47.0002 0.5C29.0233 0.5 14.4502 15.0731 14.4502 33.05C14.4502 51.0269 29.0233 65.6 47.0002 65.6Z",fill:"#72ACF1"}),N().createElement("path",{d:"M35.0385 32.5993L33.3345 32.9695L43.4902 79.7157L45.1942 79.3455L35.0385 32.5993Z",fill:"#3E8EED"}),N().createElement("path",{d:"M58.9376 32.5868L48.5396 79.3372L50.2416 79.7157L60.6396 32.9654L58.9376 32.5868Z",fill:"#3E8EED"}),N().createElement("path",{d:"M74.0535 48.3591L53.2681 79.0681L54.7121 80.0455L75.4975 49.3364L74.0535 48.3591Z",fill:"#3E8EED"}),N().createElement("path",{d:"M20.1908 48.36L18.7466 49.3374L39.532 80.0502L40.9762 79.0728L20.1908 48.36Z",fill:"#3E8EED"}),N().createElement("path",{d:"M53.6264 93.5H40.3739C38.8627 93.5 37.7002 92.2794 37.7002 90.8263V79.55H56.3002V90.8263C56.3002 92.2794 55.0796 93.5 53.6264 93.5Z",fill:"url(#paint0_linear_603_52415)"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4847 34.5613H79.5157C79.5386 34.0605 79.5502 33.5566 79.5502 33.0501C79.5502 30.3279 79.216 27.6837 78.5865 25.1564C78.2594 25.039 77.8886 24.9707 77.4576 24.9707C75.9536 24.9707 75.198 25.8343 74.4388 26.702C73.6723 27.578 72.9022 28.4582 71.3545 28.4582C69.8505 28.4582 69.0949 27.5946 68.3356 26.7269C67.5692 25.8509 66.799 24.9707 65.2514 24.9707C63.7473 24.9707 62.9917 25.8343 62.2325 26.702C61.466 27.578 60.6959 28.4582 59.1483 28.4582C57.6442 28.4582 56.8886 27.5946 56.1294 26.7269C55.3629 25.8509 54.5928 24.9707 53.0451 24.9707C51.5411 24.9707 50.7855 25.8343 50.0263 26.702C49.2598 27.578 48.4897 28.4582 46.942 28.4582C45.438 28.4582 44.6824 27.5946 43.9231 26.7269C43.1567 25.8509 42.3865 24.9707 40.8389 24.9707C39.3348 24.9707 38.5792 25.8343 37.82 26.702C37.0536 27.578 36.2834 28.4582 34.7358 28.4582C33.2317 28.4582 32.4761 27.5946 31.7169 26.7269C30.9504 25.8509 30.1803 24.9707 28.6326 24.9707C27.1286 24.9707 26.373 25.8343 25.6138 26.702C24.8473 27.578 24.0772 28.4582 22.5295 28.4582C21.0255 28.4582 20.2699 27.5946 19.5106 26.7269C18.7442 25.8509 17.974 24.9707 16.4264 24.9707C16.0491 24.9707 15.719 25.023 15.4243 25.1148C14.788 27.6547 14.4502 30.3129 14.4502 33.0501C14.4502 33.5566 14.4618 34.0605 14.4847 34.5613Z",fill:"#A7CBF6"}),N().createElement("path",{d:"M57.1719 79.55H36.8281C36.0144 79.55 35.375 78.9107 35.375 78.0969C35.375 77.2832 36.0144 76.6438 36.8281 76.6438H57.1138C57.9275 76.6438 58.5669 77.2832 58.5669 78.0969C58.625 78.9107 57.9856 79.55 57.1719 79.55Z",fill:"#FFD590"}),N().createElement("path",{d:"M20.9602 51.4176C17.3564 51.4176 14.4502 48.5113 14.4502 44.9076V31.5388H27.4702V44.9076C27.4702 48.5113 24.5639 51.4176 20.9602 51.4176Z",fill:"#FFD590"}),N().createElement("path",{d:"M33.9797 51.4176C30.376 51.4176 27.4697 48.5113 27.4697 44.9076V31.5388H40.4897V44.9076C40.5479 48.5113 37.5835 51.4176 33.9797 51.4176Z",fill:"#F7B548"}),N().createElement("path",{d:"M46.9997 51.4176C43.396 51.4176 40.4897 48.5113 40.4897 44.9076V31.5388H53.5097V44.9076C53.5097 48.5113 50.6035 51.4176 46.9997 51.4176Z",fill:"#FFD590"}),N().createElement("path",{d:"M60.0203 51.4176C56.4165 51.4176 53.5103 48.5113 53.5103 44.9076V31.5388H66.5303V44.9076C66.5884 48.5113 63.624 51.4176 60.0203 51.4176Z",fill:"#F7B548"}),N().createElement("path",{d:"M73.0984 51.4176C69.4946 51.4176 66.5884 48.5113 66.5884 44.9076V31.5388H79.6084V44.9076C79.6084 48.5113 76.7021 51.4176 73.0984 51.4176Z",fill:"#FFD590"}),N().createElement("path",{d:"M21.3669 93.5C21.5413 92.6863 21.7156 91.8144 21.7156 90.9425C21.7156 85.0719 16.9494 80.3638 11.1369 80.3638C5.32437 80.3638 0.5 85.0719 0.5 90.9425C0.5 91.8144 0.61625 92.6863 0.84875 93.5H21.3669Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M29.8532 93.5C29.272 90.6519 26.7726 88.4431 23.7501 88.4431C20.7276 88.4431 18.1701 90.5937 17.647 93.5H29.8532Z",fill:"#F2F2F2"}),N().createElement("path",{d:"M23.8664 85.7693C19.5652 85.7693 16.0777 89.1987 15.9614 93.4999H31.7714C31.6552 89.1987 28.1677 85.7693 23.8664 85.7693Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M71.4705 12.1831C71.5868 12.1831 71.703 12.1831 71.8193 12.1831C71.8193 12.0669 71.8193 11.9506 71.8193 11.8344C71.8193 11.3694 71.8774 10.9625 71.9936 10.5556C72.168 9.80002 72.5168 9.04439 72.9818 8.46314C73.5049 7.76564 74.2024 7.24252 74.958 6.83564C75.7136 6.48689 76.5855 6.25439 77.5155 6.25439C79.3755 6.25439 81.003 7.12627 82.0493 8.46314C82.2818 8.81189 82.5143 9.16064 82.6886 9.50939C83.5024 8.98627 84.4324 8.69565 85.4205 8.69565C88.1524 8.69565 90.3611 10.8463 90.4193 13.52C92.2211 13.9269 93.558 15.4963 93.558 17.4144C93.558 19.6231 91.7561 21.425 89.4893 21.425L71.5286 21.4831C68.913 21.4831 66.8205 19.3906 66.8205 16.8331C66.7624 14.2756 68.8549 12.1831 71.4705 12.1831Z",fill:"#E1DFDD"}),N().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4961 34.7937H79.5043C79.5348 34.2163 79.5502 33.6349 79.5502 33.0499C79.5502 32.4649 79.5348 31.8835 79.5043 31.3062H14.4961C14.4656 31.8835 14.4502 32.4649 14.4502 33.0499C14.4502 33.6349 14.4656 34.2163 14.4961 34.7937Z",fill:"#3E8EED"})),N().createElement("defs",null,N().createElement("linearGradient",{id:"paint0_linear_603_52415",x1:"40.7003",y1:"71.0242",x2:"46.8856",y2:"85.1988",gradientUnits:"userSpaceOnUse"},N().createElement("stop",{offset:"0.1289","stop-color":"#F7B548"}),N().createElement("stop",{offset:"1","stop-color":"#FFD590"})),N().createElement("clipPath",{id:"clip0_603_52415"},N().createElement("rect",{width:"93",height:"93",fill:"white",transform:"translate(0.5 0.5)"})))),gn=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M4 5.75C4 5.33579 4.33579 5 4.75 5H12.25C12.6642 5 13 5.33579 13 5.75C13 6.16421 12.6642 6.5 12.25 6.5H4.75C4.33579 6.5 4 6.16421 4 5.75ZM4 13.75C4 13.3358 4.33579 13 4.75 13H11.25C11.6642 13 12 13.3358 12 13.75C12 14.1642 11.6642 14.5 11.25 14.5H4.75C4.33579 14.5 4 14.1642 4 13.75ZM4.75 9C4.33579 9 4 9.33579 4 9.75C4 10.1642 4.33579 10.5 4.75 10.5H15.25C15.6642 10.5 16 10.1642 16 9.75C16 9.33579 15.6642 9 15.25 9H4.75Z",fill:"white"})),bn=N().createElement(tn,null,N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M10 3C6.13401 3 3 6.13401 3 10C3 10.2761 2.77614 10.5 2.5 10.5C2.22386 10.5 2 10.2761 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C9.72386 18 9.5 17.7761 9.5 17.5C9.5 17.2239 9.72386 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3Z",fill:"#212121"}))),vn=N().createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M0.750061 22.4499C0.350061 22.4499 0.0500613 22.1499 6.12624e-05 21.7499C-0.0499387 21.3499 0.250061 20.9499 0.700061 20.9499C0.750061 20.9499 1.50006 20.8999 2.80006 20.8999C3.20006 20.8999 3.55006 21.2499 3.55006 21.6499C3.55006 22.0499 3.20006 22.3999 2.80006 22.3999C1.65006 22.3999 0.900061 22.4499 0.900061 22.4499C0.800061 22.4499 0.750061 22.4499 0.750061 22.4499Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M27.6999 77.6498C26.3499 77.5998 24.9999 77.4498 23.6999 77.1998C23.2999 77.0998 23.0499 76.6998 23.0999 76.2998C23.1999 75.8998 23.5999 75.6498 23.9999 75.6998C25.1999 75.9498 26.4499 76.0998 27.6999 76.0998C28.0999 76.0998 28.4499 76.4498 28.4499 76.8498C28.4499 77.2998 28.0999 77.6498 27.6999 77.6498ZM31.5499 77.3498C31.1999 77.3498 30.8499 77.0998 30.7999 76.6998C30.7499 76.2998 30.9999 75.8998 31.3999 75.8498C32.6999 75.6498 33.8999 75.2998 34.9499 74.8498C35.3499 74.6998 35.7499 74.8498 35.9499 75.2498C36.0999 75.6498 35.9499 76.0498 35.5499 76.2498C34.3499 76.7498 33.0499 77.0998 31.6499 77.3498C31.6499 77.3498 31.5999 77.3498 31.5499 77.3498ZM20.1499 75.9998C20.0499 75.9998 19.9499 75.9998 19.8499 75.9498C18.5499 75.3998 17.3999 74.6498 16.3999 73.8498C16.0999 73.5998 16.0499 73.0998 16.2999 72.7998C16.5499 72.4998 17.0499 72.4498 17.3499 72.6998C18.2499 73.4498 19.3499 74.0998 20.4999 74.5998C20.8999 74.7498 21.0499 75.1998 20.8999 75.5998C20.7499 75.8498 20.4499 75.9998 20.1499 75.9998ZM38.5499 74.2498C38.3499 74.2498 38.1499 74.1498 37.9999 73.9998C37.7499 73.6998 37.7499 73.1998 38.0999 72.9498C39.0499 72.1498 39.9499 71.2498 40.7999 70.2998C41.0999 69.9998 41.5499 69.9498 41.8499 70.2498C42.1499 70.5498 42.1999 70.9998 41.8999 71.2998C40.9999 72.2998 40.0499 73.2498 39.0499 74.0998C38.8999 74.1998 38.7499 74.2498 38.5499 74.2498ZM14.2499 71.1998C13.9999 71.1998 13.7499 71.0998 13.5999 70.8498C12.8499 69.6998 12.2999 68.4498 11.8999 67.0998C11.7999 66.6998 11.9999 66.2998 12.3999 66.1998C12.7999 66.0998 13.1999 66.2998 13.2999 66.6998C13.6499 67.8998 14.1499 68.9998 14.7999 69.9998C15.0499 70.3498 14.9499 70.7998 14.5999 71.0498C14.5499 71.1498 14.3999 71.1998 14.2499 71.1998ZM43.7499 68.5498C43.5999 68.5498 43.4499 68.4998 43.2999 68.3998C42.9499 68.1498 42.8999 67.6998 43.0999 67.3498C43.7999 66.3498 44.4999 65.2498 45.0999 64.1498C45.2999 63.7998 45.7499 63.6498 46.0999 63.8498C46.4499 64.0498 46.5999 64.4998 46.3999 64.8498C45.7499 65.9998 45.0499 67.1498 44.2999 68.1998C44.1999 68.3998 43.9499 68.5498 43.7499 68.5498ZM12.0999 63.8498C11.6999 63.8498 11.3999 63.5498 11.3499 63.1498C11.2999 62.5998 11.2999 62.0998 11.2999 61.5498C11.2999 60.6998 11.3499 59.8998 11.4499 59.0998C11.4999 58.6998 11.8999 58.3998 12.2999 58.4498C12.6999 58.4998 12.9999 58.8998 12.9499 59.2998C12.8499 59.9998 12.7999 60.7498 12.7999 61.5498C12.7999 62.0498 12.7999 62.4998 12.8499 62.9998C12.8999 63.3998 12.5499 63.7498 12.1499 63.7998C12.0999 63.8498 12.0999 63.8498 12.0999 63.8498ZM47.4999 61.7498C47.3999 61.7498 47.2999 61.7498 47.1999 61.6998C46.7999 61.5498 46.6499 61.0998 46.7999 60.6998C47.2999 59.5498 47.7499 58.3498 48.1499 57.1498C48.2999 56.7498 48.6999 56.5498 49.0999 56.6998C49.4999 56.8498 49.6999 57.2498 49.5499 57.6498C49.1499 58.8998 48.6499 60.1498 48.1499 61.3498C48.0499 61.5998 47.7999 61.7498 47.4999 61.7498ZM13.0999 56.2498C12.9999 56.2498 12.8999 56.2498 12.8499 56.1998C12.4499 56.0498 12.2499 55.5998 12.3999 55.2498C12.8499 54.0998 13.3999 52.9998 14.1999 51.6498C14.3999 51.2998 14.8499 51.1998 15.2499 51.3998C15.5999 51.5998 15.6999 52.0498 15.4999 52.4498C14.7499 53.6998 14.2499 54.7498 13.8499 55.7998C13.6999 56.0498 13.3999 56.2498 13.0999 56.2498ZM16.8499 49.4998C16.6999 49.4998 16.5999 49.4498 16.4499 49.3998C16.0999 49.1998 15.9999 48.6998 16.1999 48.3498C16.9499 47.0998 17.4999 46.0498 17.9499 44.9998C18.0999 44.5998 18.5499 44.4498 18.9499 44.5998C19.3499 44.7498 19.4999 45.1998 19.3499 45.5998C18.8999 46.6998 18.2999 47.7998 17.4999 49.0998C17.3499 49.3498 17.0999 49.4998 16.8499 49.4998ZM19.7999 42.3498C19.7499 42.3498 19.6999 42.3498 19.6499 42.3498C19.2499 42.2498 18.9999 41.8498 19.0499 41.4498C19.2999 40.2498 19.3999 39.0498 19.4499 37.7498C19.4499 37.3498 19.7999 36.9998 20.1999 36.9998C20.5999 36.9998 20.9499 37.3498 20.9499 37.7498C20.8999 39.1498 20.7999 40.4498 20.5499 41.7498C20.4499 42.0998 20.1499 42.3498 19.7999 42.3498ZM19.9999 34.6498C19.6499 34.6498 19.2999 34.3998 19.2499 33.9998C19.0499 32.7498 18.7499 31.5498 18.2499 30.4998C18.0999 30.0998 18.2499 29.6998 18.6499 29.4998C19.0499 29.3498 19.4499 29.4998 19.6499 29.8998C20.1499 31.0998 20.5499 32.3998 20.7499 33.7998C20.7999 34.1998 20.5499 34.5998 20.0999 34.6498C20.0499 34.6498 20.0499 34.6498 19.9999 34.6498ZM16.8499 27.6998C16.6499 27.6998 16.4499 27.5998 16.2999 27.4498C15.4999 26.5498 14.5499 25.7998 13.4999 25.1498C13.1499 24.9498 13.0499 24.4498 13.2499 24.0998C13.4499 23.7498 13.9499 23.6498 14.2999 23.8498C15.4999 24.5998 16.5499 25.4498 17.4499 26.4498C17.7499 26.7498 17.6999 27.2498 17.3999 27.4998C17.2499 27.6498 17.0499 27.6998 16.8499 27.6998ZM10.3499 23.6498C10.2499 23.6498 10.1999 23.6498 10.0999 23.5998C8.94989 23.1998 7.74989 22.9498 6.44989 22.7498C6.04989 22.6998 5.74989 22.2998 5.79989 21.8998C5.84989 21.4998 6.24989 21.1998 6.64989 21.2498C7.99989 21.4498 9.34989 21.7998 10.5499 22.1998C10.9499 22.3498 11.1499 22.7498 10.9999 23.1498C10.9999 23.4498 10.6999 23.6498 10.3499 23.6498Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M49.9501 54.35C49.9001 54.35 49.8501 54.35 49.8001 54.35C49.4001 54.25 49.1501 53.85 49.2501 53.45C49.5001 52.25 49.6501 51.55 49.6501 51.55C49.7001 51.15 50.1001 50.85 50.5001 50.9C50.9001 50.95 51.2001 51.35 51.1501 51.75C51.1501 51.8 51.0501 52.55 50.7501 53.75C50.6001 54.1 50.3001 54.35 49.9501 54.35Z",fill:"#E1DFDD"}),N().createElement("path",{d:"M79.2002 3.25002C79.2002 3.25002 79.3002 3.25002 79.3502 3.30002C79.6002 3.45002 72.1002 17.3 51.6502 54C51.4002 54.45 50.9002 54.7 50.3502 54.65C49.8502 54.6 49.4002 54.25 49.2502 53.7L45.9502 40.65C46.0002 40.5 46.1002 40.4 46.2502 39.85C51.7502 18.85 77.3002 5.40002 78.3502 3.90002C78.4002 3.80002 78.8002 3.20002 79.2002 3.25002Z",fill:"#FFD590"}),N().createElement("path",{d:"M50.05 56.9L46 40.7L80.3 2L50.05 56.9Z",fill:"#FFD590"}),N().createElement("path",{d:"M50.0503 56.8999L50.4503 42.8999L56.8003 44.6499L50.0503 56.8999Z",fill:"#F7B548"}),N().createElement("path",{d:"M31.2002 36.2501L46.0002 40.7501L79.2002 3.30006C78.8502 3.20006 78.5002 3.20006 78.1502 3.40006L76.3502 4.50006L30.5502 33.3501C29.6002 34.2001 29.9002 35.8501 31.2002 36.2501Z",fill:"#FFE5B9"}),N().createElement("path",{d:"M72.2 49.0001C73.2 49.3001 74.2 48.6001 74.35 47.6001L80 4.2501C79.95 3.8501 79.7 3.5001 79.35 3.3501L50.5 42.9501L72.2 49.0001Z",fill:"#FFE5B9"})),yn=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M10 0C15.523 0 20 4.478 20 10C20 15.522 15.523 20 10 20C4.477 20 0 15.522 0 10C0 4.478 4.477 0 10 0ZM10 1.667C5.405 1.667 1.667 5.405 1.667 10C1.667 14.595 5.405 18.333 10 18.333C14.595 18.333 18.333 14.595 18.333 10C18.333 5.405 14.595 1.667 10 1.667ZM9.99866 12.5022C10.5502 12.5022 10.9973 12.9494 10.9973 13.5009C10.9973 14.0524 10.5502 14.4996 9.99866 14.4996C9.44712 14.4996 9 14.0524 9 13.5009C9 12.9494 9.44712 12.5022 9.99866 12.5022ZM9.99446 5C10.3742 4.9997 10.6882 5.2816 10.7381 5.64764L10.7451 5.7494L10.7487 10.251C10.749 10.6652 10.4135 11.0013 9.99926 11.0016C9.61957 11.0019 9.30555 10.72 9.25559 10.354L9.24866 10.2522L9.24506 5.7506C9.24473 5.33639 9.58025 5.00033 9.99446 5Z",fill:"#D13438"})),wn=N().createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M56 16C69.2552 16 80 26.7472 80 40C80 53.2528 69.2552 64 56 64C42.7448 64 32 53.2528 32 40C32 26.7472 42.7448 16 56 16ZM56 20.0008C44.972 20.0008 36.0008 28.972 36.0008 40C36.0008 51.028 44.972 59.9992 56 59.9992C67.028 59.9992 75.9992 51.028 75.9992 40C75.9992 28.972 67.028 20.0008 56 20.0008ZM55.9968 46.0054C57.3205 46.0054 58.3936 47.0784 58.3936 48.4022C58.3936 49.7259 57.3205 50.799 55.9968 50.799C54.6731 50.799 53.6 49.7259 53.6 48.4022C53.6 47.0784 54.6731 46.0054 55.9968 46.0054ZM55.9867 28C56.898 27.9993 57.6516 28.6758 57.7715 29.5543L57.7881 29.7986L57.7968 40.6024C57.7976 41.5965 56.9923 42.403 55.9982 42.4038C55.087 42.4046 54.3333 41.728 54.2134 40.8495L54.1968 40.6053L54.1881 29.8014C54.1874 28.8073 54.9926 28.0008 55.9867 28Z",fill:"#D13438"})),Cn=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M4.49999 3C3.67157 3 3 3.67157 3 4.5V11.5C3 12.3284 3.67157 13 4.49999 13H11.5C12.3284 13 12.9999 12.3284 12.9999 11.5V9.26923C12.9999 8.99309 13.2238 8.76923 13.4999 8.76923C13.7761 8.76923 13.9999 8.99309 13.9999 9.26923V11.5C13.9999 12.8807 12.8807 14 11.5 14H4.49999C3.11928 14 2 12.8807 2 11.5V4.5C2 3.11929 3.11928 2 4.49999 2H6.73075C7.00689 2 7.23074 2.22386 7.23074 2.5C7.23074 2.77614 7.00689 3 6.73075 3H4.49999ZM8.76926 2.5C8.76926 2.22386 8.99311 2 9.26925 2H13.5C13.7761 2 14 2.22386 14 2.5V6.73077C14 7.00691 13.7761 7.23077 13.5 7.23077C13.2239 7.23077 13 7.00691 13 6.73077V3.70711L9.6228 7.08433C9.42754 7.27959 9.11096 7.27959 8.9157 7.08433C8.72044 6.88906 8.72044 6.57248 8.9157 6.37722L12.2929 3H9.26925C8.99311 3 8.76926 2.77614 8.76926 2.5Z",fill:"#023B8F"})),Sn=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#EEF3F9"}),N().createElement("path",{d:"M9.99806 4.0011C8.76915 4.0011 7.64713 4.48217 6.83044 5.31092C6.03189 6.12126 5.53982 7.24859 5.49914 8.54377L5.49854 8.56307L5.49942 8.58236C5.55611 9.81935 6.15415 10.9073 7.2364 12.0366L7.93751 14.9782L7.94478 14.9998C8.04506 15.2974 8.23732 15.5444 8.47926 15.7174C8.73012 15.8968 9.03709 15.999 9.36154 15.999L9.36295 15.999L10.7464 15.9951L10.7672 15.9933C11.0818 15.9661 11.3741 15.8428 11.6072 15.6476C11.8382 15.454 12.0129 15.1875 12.0875 14.8745L12.8834 11.8248C13.9173 10.8304 14.5012 9.68033 14.5012 8.38731C14.5012 7.17281 13.9938 6.07615 13.1819 5.28548C12.3652 4.49011 11.2382 4.0011 9.99806 4.0011ZM7.54271 6.01283C8.17059 5.37568 9.03566 5.0011 9.99806 5.0011C10.9716 5.0011 11.8499 5.38414 12.4842 6.0019C13.1144 6.61554 13.5012 7.45828 13.5012 8.38731C13.5012 9.37859 13.0482 10.313 12.0966 11.1923L11.989 11.2916L11.5431 13H8.49404L8.14509 11.536L8.04777 11.4368C7.0014 10.3707 6.54729 9.48049 6.4993 8.55567C6.53672 7.50835 6.93324 6.6313 7.54271 6.01283ZM8.73239 14H11.2821L11.1182 14.6276L11.1152 14.6405C11.0934 14.734 11.0409 14.8174 10.965 14.881C10.8924 14.9418 10.8004 14.983 10.6985 14.9952L9.36093 14.999C9.24772 14.9988 9.14394 14.9633 9.06099 14.904C8.98586 14.8503 8.9299 14.7786 8.89869 14.6978L8.73239 14Z",fill:"#174D79"})),En=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#174D79"}),N().createElement("path",{d:"M9.99806 4.00098C8.76915 4.00098 7.64713 4.48205 6.83044 5.3108C6.03189 6.12114 5.53982 7.24847 5.49914 8.54365L5.49854 8.56295L5.49942 8.58224C5.55611 9.81923 6.15415 10.9072 7.2364 12.0365L7.93751 14.9781L7.94478 14.9996C8.04506 15.2972 8.23732 15.5442 8.47926 15.7173C8.73012 15.8967 9.03709 15.9989 9.36154 15.9989L9.36295 15.9989L10.7464 15.9949L10.7672 15.9932C11.0818 15.966 11.3741 15.8427 11.6072 15.6475C11.8382 15.4539 12.0129 15.1874 12.0875 14.8744L12.8834 11.8247C13.9173 10.8302 14.5012 9.68021 14.5012 8.38719C14.5012 7.17269 13.9938 6.07603 13.1819 5.28536C12.3652 4.48999 11.2382 4.00098 9.99806 4.00098ZM7.54271 6.01271C8.17059 5.37556 9.03566 5.00098 9.99806 5.00098C10.9716 5.00098 11.8499 5.38402 12.4842 6.00178C13.1144 6.61541 13.5012 7.45815 13.5012 8.38719C13.5012 9.37847 13.0482 10.3129 12.0966 11.1922L11.989 11.2915L11.5431 12.9999H8.49404L8.14509 11.5359L8.04777 11.4367C7.0014 10.3706 6.54729 9.48037 6.4993 8.55554C6.53672 7.50823 6.93324 6.63117 7.54271 6.01271ZM8.73239 13.9999H11.2821L11.1182 14.6275L11.1152 14.6404C11.0934 14.7339 11.0409 14.8173 10.965 14.8809C10.8924 14.9417 10.8004 14.9829 10.6985 14.9951L9.36093 14.9989C9.24772 14.9987 9.14394 14.9632 9.06099 14.9039C8.98586 14.8502 8.9299 14.7785 8.89869 14.6976L8.73239 13.9999Z",fill:"white"})),xn=N().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M10.9092 2.78216C11.949 2.20625 13.247 2.54089 13.8848 3.5224L13.9676 3.66023L21.7266 17.6685C21.9114 18.0021 22.0083 18.3773 22.0083 18.7587C22.0083 19.9495 21.0832 20.9243 19.9124 21.0035L19.7583 21.0087H4.2426C3.86129 21.0087 3.48624 20.9118 3.15265 20.7271C2.11281 20.1513 1.70777 18.8734 2.20133 17.812L2.27423 17.6687L10.031 3.66046C10.2355 3.2911 10.5399 2.98674 10.9092 2.78216ZM20.4144 18.3953L12.6555 4.38702C12.4548 4.02467 11.9983 3.89363 11.636 4.09433C11.5437 4.14547 11.4635 4.21533 11.4004 4.299L11.3433 4.3871L3.58648 18.3954C3.38582 18.7577 3.51692 19.2141 3.87929 19.4148C3.96268 19.461 4.05385 19.4907 4.14785 19.5027L4.2426 19.5087H19.7583C20.1725 19.5087 20.5083 19.1729 20.5083 18.7587C20.5083 18.6633 20.4902 18.5691 20.4551 18.4811L20.4144 18.3953L12.6555 4.38702L20.4144 18.3953ZM12.0003 16.0018C12.5518 16.0018 12.9989 16.4489 12.9989 17.0004C12.9989 17.552 12.5518 17.9991 12.0003 17.9991C11.4487 17.9991 11.0016 17.552 11.0016 17.0004C11.0016 16.4489 11.4487 16.0018 12.0003 16.0018ZM11.9961 8.49955C12.3757 8.49925 12.6898 8.78115 12.7397 9.14718L12.7467 9.24895L12.7503 13.7505C12.7506 14.1648 12.4151 14.5008 12.0009 14.5011C11.6212 14.5014 11.3071 14.2195 11.2572 13.8535L11.2503 13.7517L11.2467 9.25015C11.2463 8.83594 11.5818 8.49988 11.9961 8.49955Z",fill:"#A80000"})),kn=N().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 16.6944 7.30558 20.5 12 20.5C16.6944 20.5 20.5 16.6944 20.5 12C20.5 7.30558 16.6944 3.5 12 3.5ZM10.75 13.4393L15.2197 8.96967C15.5126 8.67678 15.9874 8.67678 16.2803 8.96967C16.5466 9.23594 16.5708 9.6526 16.3529 9.94621L16.2803 10.0303L11.2803 15.0303C11.0141 15.2966 10.5974 15.3208 10.3038 15.1029L10.2197 15.0303L7.71967 12.5303C7.42678 12.2374 7.42678 11.7626 7.71967 11.4697C7.98594 11.2034 8.4026 11.1792 8.69621 11.3971L8.78033 11.4697L10.75 13.4393L15.2197 8.96967L10.75 13.4393Z",fill:"#107C10"})),Nn=N().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M12 2C17.523 2 22 6.478 22 12C22 17.522 17.523 22 12 22C6.477 22 2 17.522 2 12C2 6.478 6.477 2 12 2ZM12 3.667C7.405 3.667 3.667 7.405 3.667 12C3.667 16.595 7.405 20.333 12 20.333C16.595 20.333 20.333 16.595 20.333 12C20.333 7.405 16.595 3.667 12 3.667ZM12 15.5C12.5523 15.5 13 15.9477 13 16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5C11 15.9477 11.4477 15.5 12 15.5ZM12 6.75C13.5188 6.75 14.75 7.98122 14.75 9.5C14.75 10.5108 14.4525 11.074 13.6989 11.8586L13.5303 12.0303C12.9084 12.6522 12.75 12.9163 12.75 13.5C12.75 13.9142 12.4142 14.25 12 14.25C11.5858 14.25 11.25 13.9142 11.25 13.5C11.25 12.4892 11.5475 11.926 12.3011 11.1414L12.4697 10.9697C13.0916 10.3478 13.25 10.0837 13.25 9.5C13.25 8.80964 12.6904 8.25 12 8.25C11.3528 8.25 10.8205 8.74187 10.7565 9.37219L10.75 9.5C10.75 9.91421 10.4142 10.25 10 10.25C9.58579 10.25 9.25 9.91421 9.25 9.5C9.25 7.98122 10.4812 6.75 12 6.75Z",fill:"#757575"})),On=N().createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"#717171"})),An=N().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM5.80943 5.11372C5.61456 4.97872 5.34514 4.99801 5.17157 5.17157L5.11372 5.24082C4.97872 5.43569 4.99801 5.70511 5.17157 5.87868L7.29289 8L5.17157 10.1213L5.11372 10.1906C4.97872 10.3854 4.99801 10.6549 5.17157 10.8284L5.24082 10.8863C5.43569 11.0213 5.70511 11.002 5.87868 10.8284L8 8.70711L10.1213 10.8284L10.1906 10.8863C10.3854 11.0213 10.6549 11.002 10.8284 10.8284L10.8863 10.7592C11.0213 10.5643 11.002 10.2949 10.8284 10.1213L8.70711 8L10.8284 5.87868L10.8863 5.80943C11.0213 5.61456 11.002 5.34514 10.8284 5.17157L10.7592 5.11372C10.5643 4.97872 10.2949 4.99801 10.1213 5.17157L8 7.29289L5.87868 5.17157L5.80943 5.11372Z",fill:"#717171"})),Pn=N().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M4.39705 4.55379L4.46967 4.46967C4.73594 4.2034 5.1526 4.1792 5.44621 4.39705L5.53033 4.46967L12 10.939L18.4697 4.46967C18.7626 4.17678 19.2374 4.17678 19.5303 4.46967C19.8232 4.76256 19.8232 5.23744 19.5303 5.53033L13.061 12L19.5303 18.4697C19.7966 18.7359 19.8208 19.1526 19.6029 19.4462L19.5303 19.5303C19.2641 19.7966 18.8474 19.8208 18.5538 19.6029L18.4697 19.5303L12 13.061L5.53033 19.5303C5.23744 19.8232 4.76256 19.8232 4.46967 19.5303C4.17678 19.2374 4.17678 18.7626 4.46967 18.4697L10.939 12L4.46967 5.53033C4.2034 5.26406 4.1792 4.8474 4.39705 4.55379L4.46967 4.46967L4.39705 4.55379Z",fill:"white"})),Ln=N().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N().createElement("path",{d:"M10.9998 8.01752C10.9905 8.42363 10.6584 8.74999 10.25 8.74999C9.5 8.74999 9.5 7.9989 9.5 7.9989V7.99777L9.50001 7.99539L9.50006 7.99017C9.50032 7.9755 9.50072 7.96084 9.50144 7.94618C9.50262 7.92198 9.50473 7.89159 9.50846 7.8559C9.51591 7.78477 9.52996 7.69092 9.55665 7.58186C9.60973 7.36492 9.71565 7.07652 9.92848 6.78906C10.3825 6.17582 11.1982 5.72727 12.513 5.7501C13.4627 5.76659 14.3059 6.16497 14.834 6.82047C15.371 7.48704 15.5517 8.3902 15.1964 9.27853C14.8342 10.1839 14.0149 10.5437 13.5442 10.7503L13.4932 10.7728C13.2147 10.8957 13.0813 10.9599 13.0013 11.024L13 11.0251V11.7492C13.0001 12.1634 12.6643 12.4999 12.2501 12.5C11.8359 12.5 11.5001 12.1643 11.5 11.7501V11C11.5 10.4769 11.752 10.1029 12.0633 9.85345C12.3134 9.65303 12.6276 9.51483 12.8491 9.4174L12.8875 9.40049C13.4292 9.16137 13.6868 9.01346 13.8036 8.72145C13.9483 8.35977 13.8789 8.02596 13.6659 7.76153C13.4439 7.48604 13.0371 7.25943 12.487 7.24988C11.5518 7.23364 11.2425 7.53509 11.134 7.68162C11.0656 7.77404 11.0309 7.86797 11.0137 7.93838C11.0052 7.973 11.0017 7.99908 11.0003 8.01197L10.9998 8.01752ZM12.25 15.5C12.8023 15.5 13.25 15.0523 13.25 14.5C13.25 13.9477 12.8023 13.5 12.25 13.5C11.6977 13.5 11.25 13.9477 11.25 14.5C11.25 15.0523 11.6977 15.5 12.25 15.5ZM4 4.5C4 3.11929 5.11929 2 6.5 2H18C19.3807 2 20.5 3.11929 20.5 4.5V18.75C20.5 19.1642 20.1642 19.5 19.75 19.5H5.5C5.5 20.0523 5.94772 20.5 6.5 20.5H19.75C20.1642 20.5 20.5 20.8358 20.5 21.25C20.5 21.6642 20.1642 22 19.75 22H6.5C5.11929 22 4 20.8807 4 19.5V4.5ZM5.5 4.5V18H19V4.5C19 3.94772 18.5523 3.5 18 3.5H6.5C5.94772 3.5 5.5 3.94772 5.5 4.5Z",fill:"white"}));function jn(){var e,t,n=(e=["\n border-radius: 50%;\n background-color: #3975ea;\n width: 60px;\n height: 60px;\n position: fixed;\n right: 40px;\n bottom: 40px;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 2;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return jn=function(){return n},n}var Mn=Zt.div(jn()),In=function(e){var t=e.open,n=e.onClick;return N().createElement(Mn,{onClick:n},t?Pn:Ln)};function Tn(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Rn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Tn(a,r,o,i,l,"next",e)}function l(e){Tn(a,r,o,i,l,"throw",e)}i(void 0)}))}}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zn(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1&&void 0!==o[1]?o[1]:{},n=o.length>2&&void 0!==o[2]?o[2]:Un,n=zn({},Un,n),r=n.retryCounts,[2,new Promise((function(o,a){var i=function(){var l=Rn((function(){return Vn(this,(function(l){return fetch("".concat(e).concat(n.shouldForceRequest?"&_ts=".concat(Date.now()):""),zn({},Bn,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){r>0?(r--,i()):a(e)})),[2]}))}));return function(){return l.apply(this,arguments)}}();i()}))]}))})),function(e){return Hn.apply(this,arguments)});function $n(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Wn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){$n(a,r,o,i,l,"next",e)}function l(e){$n(a,r,o,i,l,"throw",e)}i(void 0)}))}}var qn=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return Zn("../?rest_route=/microsoft/v1/log",{method:"POST",body:JSON.stringify({key:e,featureSet:n,payload:t})})},Qr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Gr(e,Wr($r({},t),{pageName:location.hash}),Yr)};function Xr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=2&&Qr("help-faq-search-value",{searchValue:e})}),2e3),[]);return i?N().createElement(_r,null):N().createElement(N().Fragment,null,N().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__search-input-container--KaYhH"},N().createElement(to,{style:{position:"absolute"},width:"100%",onChange:function(e){var t=e.target.value.trim().toLocaleLowerCase();u(t);var n=new RegExp("(".concat(t,")"),"ig");t.length>=2?m(r.filter((function(e){return e.title.trim().search(n)>-1})).map((function(e){return{title:e.title.replaceAll(n,"$1"),id:e.id}}))):m([]),g(t)},value:c},c.length>=2?N().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__search-result-list--gmJUw"},N().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__result-length--tt5fI"},(0,wr.__)("Related question ($1)","microsoft-start").replace("$1",d.length.toString())),d.map((function(e){return N().createElement("div",{className:"microsoft-start-src-dashboard-helpCenter-inner-page-help-list-page-module__result-item--A8x91",key:e.id,onMouseDown:function(){var t;t=e.id,u(""),o(r.map((function(e){return wo(_o({},e),{open:e.id===t})}))),setTimeout((function(){var e,n=r.findIndex((function(e){return e.id===t}));null===(e=p.current)||void 0===e||e.scrollTo({top:h.reduce((function(e,t,r){return re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=Lo?Lo:e-32)};return(0,k.useEffect)((function(){t?(window.addEventListener("resize",c),c(),Qr("help-center-show")):window.removeEventListener("resize",c)}),[t]),N().createElement(jo,{style:{height:i},open:t,ref:s},N().createElement(Vr,{title:(0,wr.__)("Product FAQ","microsoft-start")},N().createElement(xo,{popupOpen:t}),N().createElement(Mr,{onHealthCheckClick:function(){o(!0),Qr("health-check-btn-click")}})),r&&N().createElement(Mo,null,N().createElement(Vr,{title:(0,wr.__)("Health Check","microsoft-start"),showArrow:!0,onArrowClick:function(){o(!1)}},N().createElement(Nr,null))))};function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r{e.source===this.windowInstance&&this.emit("message",e.data)}}ra=aa.prototype,Object.assign(ra,oa.EventEmitter.prototype),ra.emitChange=function(){this.emit("change")},ra.off=ra.removeListener,aa.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener("message",this.onMessage,!1),this},aa.prototype.getScreenCenterSpecs=function(e,t){const n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return["width="+e,"height="+t,"top="+(n+window.innerHeight/2-t/2),"left="+(r+window.innerWidth/2-e/2)].join()},aa.prototype.isOpen=function(e){let t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(e){}return!t},aa.prototype.checkStatus=function(){for(const e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit("close",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener("message",this.onMessage))},aa.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t};const ia=aa;var la,sa,ca,ua,fa,da=function(e){var t,n,r,o,a,i,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s="".concat("https://www.msn.com/").concat(null!==(i=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==i?i:"en-us","/partnerhub").concat(null!=e?e:""),c=null===(n=window.msn_dashboard_render_status)||void 0===n||null===(r=n.profile)||void 0===r?void 0:r.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(a=o.profile)||void 0===a?void 0:a.accountId;return c&&!(null==e?void 0:e.includes("#"))&&(s+="#fromwp=true",s+="&partnerid=".concat(c),u&&(s+="&brandid=".concat(l?"all":u))),s},ma=function(e){return"https://helpcenter.microsoftstart.com/kb/articles/"+e};function pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Initial=0]="Initial",e[e.Processing=1]="Processing",e[e.Success=2]="Success",e[e.Failed=3]="Failed"}(la||(la={})),function(e){e.EditorMode="editor",e.FeedMode="feed"}(sa||(sa={})),function(e){e.Uncategorized="Uncategorized",e.Autos="Autos",e.Entertainment="Entertainment",e.Finance="Finance",e.FoodAndDrink="Food & Drink",e.HealthAndFitness="Health & Fitness",e.Lifestyle="Lifestyle",e.News="News",e.Sports="Sports",e.Travel="Travel",e.Video="Video",e.Weather="Weather"}(ca||(ca={})),function(e){e.Empty="Empty",e.Yes="Yes",e.No="No"}(ua||(ua={}));var ha,ga,ba,va,ya,_a,wa,Ca,Sa,Ea,xa,ka,Na,Oa=(pa(fa={},ua.Yes,(0,wr.__)("Yes, content is local","microsoft-start")),pa(fa,ua.No,(0,wr.__)("No, content isn't local","microsoft-start")),fa),Aa=(pa(ha={},ua.Empty,(0,wr.__)("Select one","microsoft-start")),pa(ha,ua.Yes,(0,wr.__)("Yes, this feed includes AI Assisted Content","microsoft-start")),pa(ha,ua.No,(0,wr.__)("No, this feed does not include AI Assisted Content","microsoft-start")),ha);function Pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.FailedModeration=2]="FailedModeration"}(ga||(ga={})),function(e){e[e.Initial=0]="Initial",e[e.Success=200]="Success",e[e.Failed=500]="Failed",e[e.DisabledByInternal=2]="DisabledByInternal",e[e.DecommissionedByInternal=3]="DecommissionedByInternal"}(ba||(ba={})),function(e){e[e.Active=0]="Active",e[e.PendingReview=1]="PendingReview",e[e.VettingFailed=2]="VettingFailed",e[e.Shutdown=3]="Shutdown",e[e.Suspended=4]="Suspended"}(Ca||(Ca={})),function(e){e[e.NotScreened=0]="NotScreened",e[e.Pass=1]="Pass",e[e.Fail=2]="Fail",e[e.UnderReview=3]="UnderReview",e[e.DataIssue=4]="DataIssue"}(Sa||(Sa={})),function(e){e[e.NotExist=0]="NotExist",e[e.Active=1]="Active"}(Ea||(Ea={})),function(e){e[e.Creator=0]="Creator",e[e.Publisher=2]="Publisher"}(xa||(xa={})),function(e){e[e.None=0]="None",e[e.Appealing=1]="Appealing",e[e.AppealFailed=2]="AppealFailed",e[e.AppealRejected=3]="AppealRejected"}(ka||(ka={})),function(e){e[e.Active=0]="Active",e[e.Suspended=1]="Suspended",e[e.Terminated=2]="Terminated",e[e.PendingReview=3]="PendingReview",e[e.FailedModeration=4]="FailedModeration"}(Na||(Na={}));var La,ja=(null===(va=window.msn_dashboard_render_status)||void 0===va||null===(ya=va.profile)||void 0===ya?void 0:ya.lifeCycleStatus)===Na.Suspended||(null===(_a=window.msn_dashboard_render_status)||void 0===_a||null===(wa=_a.profile)||void 0===wa?void 0:wa.partnerStatus)===Ca.Suspended,Ma=(Pa(La={},ua.Empty,(0,wr.__)("Select one","microsoft-start")),Pa(La,ua.Yes,(0,wr.__)("Yes, it is AI Assisted Content","microsoft-start")),Pa(La,ua.No,(0,wr.__)("No, it is not AI Assisted Content","microsoft-start")),/Edg/.test(window.navigator.userAgent)),Ia=function(){return window.msn_dashboard_render_status.profile&&window.msn_dashboard_render_status.enabled},Ta=function(){var e,t,n;return window.msn_dashboard_render_status.profile&&window.msn_dashboard_render_status.active&&(null===(e=window.msn_dashboard_render_status.profile)||void 0===e||null===(t=e.partnerMetadata)||void 0===t||null===(n=t.paymentStatus)||void 0===n?void 0:n.stripeAccountStatus)!==Ea.NotExist},Ra=function(e){return[e.locality,e.region,e.country].filter((function(e){return!!e})).join(", ")};function Da(){return N().createElement("div",{className:"microsoft-start-src-dashboard-settings-settings-module__setting--ZEVHC"},N().createElement("nav",{className:"microsoft-start-src-dashboard-settings-settings-module__nav--MtDHS"},N().createElement(na,{nav:[{title:(0,wr.__)("Connection","microsoft-start"),to:"",end:!0},{title:(0,wr.__)("Profile","microsoft-start"),to:"profile",disabled:!Ia()},{title:(0,wr.__)("Content","microsoft-start"),to:"content",disabled:!Ta()}]})),N().createElement(K,null))}const za=window.wp.components;var Fa,Ha,Va,Ba,Ua,Za,$a=function(e,t){localStorage.setItem(e,t)},Wa={Signal_423:"templateSerialNum_01",Signal_424:"templateSerialNum_02",Signal_425:"templateSerialNum_03",Signal_426:"templateSerialNum_04",Signal_427:"templateSerialNum_05",Signal_454:"templateSerialNum_07",Signal_508:"templateSerialNum_15",Signal_482:"templateSerialNum_12",Signal_428:"templateSerialNum_01",Signal_429:"templateSerialNum_02",Signal_430:"templateSerialNum_03",Signal_431:"templateSerialNum_04",Signal_432:"templateSerialNum_05",Signal_483:"templateSerialNum_13",Signal_433:"templateSerialNum_06",Signal_455:"templateSerialNum_08",Signal_456:"templateSerialNum_09",Signal_474:"templateSerialNum_10",Signal_475:"templateSerialNum_11",Signal_489:"templateSerialNum_14",Signal_582:"templateSerialNum_16",Signal_583:"templateSerialNum_16",Signal_653:"templateSerialNum_17",Signal_654:"templateSerialNum_17"},qa={descriptions:{templateSerialNum_01:(0,wr.__)("Payment account required. {delimiter}Enter account information to receive payments.","microsoft-start"),templateSerialNum_02:(0,wr.__)("Payment account error. {delimiter}Error in payment account. Fix to continue.","microsoft-start"),templateSerialNum_03:(0,wr.__)("Payment account under review. {delimiter}Your payment account is under review. This may take several business days.","microsoft-start"),templateSerialNum_04:(0,wr.__)("Payment account set up successfully. {delimiter}Your payment account is active","microsoft-start"),templateSerialNum_05:(0,wr.__)("Your payment account is temporary active. {delimiter}Additional information needed for your payment account.","microsoft-start"),templateSerialNum_06:(0,wr.__)("Your brand is under review.{delimiter}Your brand profile is under review. This may take up to 5 business days.","microsoft-start"),templateSerialNum_07:(0,wr.__)("Enable Reader support.{delimiter}You have not enabled reader support for your business.","microsoft-start"),templateSerialNum_08:(0,wr.__)("Account is under review.{delimiter}We are reviewing your account and this can take up two business days complete normally.","microsoft-start"),templateSerialNum_09:(0,wr.__)("Account didn’t pass our review.{delimiter}Your account didn’t pass our review. You can contact us for the support.","microsoft-start"),templateSerialNum_10:(0,wr.__)("Brand didn’t pass review.{delimiter}Your brand profile didn’t pass our review.","microsoft-start"),templateSerialNum_11:(0,wr.__)("Profile change didn’t pass review.{delimiter}Your brand profile didn’t pass our review. Please edit the brand profile under settings and resubmit the request.","microsoft-start"),templateSerialNum_12:(0,wr.__)("A payment account is required. {delimiter}A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),templateSerialNum_13:(0,wr.__)("A payment account is required. {delimiter}A payment account has not been added by your organization. This is required for publishing.","microsoft-start"),templateSerialNum_14:(0,wr.__)("Your account didn't pass review.{delimiter}","microsoft-start"),templateSerialNum_15:(0,wr.__)("Monthly Revenue Statement Available{delimiter}Your partner revenue statement is available to download. Please note that only partner-level admins can access.","microsoft-start"),templateSerialNum_16:(0,wr.__)("Account didn’t pass review:{delimiter} There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),templateSerialNum_17:(0,wr.__)("This brand is currently suspended by Microsoft Start.{delimiter} Content, settings, and feed can still be viewed, but can't be changed.","microsoft-start")},actions:{detail:(0,wr.__)("Detail","microsoft-start"),setUpPaymentAccount:(0,wr.__)("Set up a payment account","microsoft-start"),enableTipping:(0,wr.__)("Enable it now","microsoft-start"),viewProfile:(0,wr.__)("View detail","microsoft-start"),addAccount:(0,wr.__)("Add account","microsoft-start"),seeDetails:(0,wr.__)("See details","microsoft-start"),view:(0,wr.__)("View","microsoft-start"),contactSupport:(0,wr.__)("Contact support","microsoft-start")}},Ya={monetizationOptions:da("/monetization/options"),paymentSetting:da("/monetization/payment-setting",!0),brandManagementProfile:da("/setting/brand/profile"),reVetting:da("/setting/revetting",!0),earningReportAdRevenue:da("/monetization/earning-report/ad-revenue",!0)},Ga={Action_01:[{Text:qa.actions.setUpPaymentAccount,Href:Ya.paymentSetting,IsExternalLink:!0}],Action_02:[{Text:qa.actions.detail,Href:Ya.paymentSetting,IsExternalLink:!0}],Action_03:[{Text:qa.actions.enableTipping,Href:Ya.monetizationOptions,IsExternalLink:!0}],Action_04:[{Text:qa.actions.viewProfile,Href:Ya.brandManagementProfile,IsExternalLink:!0}],Action_05:[{Text:qa.actions.addAccount,Href:Ya.paymentSetting,IsExternalLink:!0}],Action_06:[{Text:qa.actions.seeDetails,Href:Ya.reVetting,IsExternalLink:!0}],Action_07:[{Text:qa.actions.view,Href:Ya.earningReportAdRevenue,IsExternalLink:!0}],Action_08:[{Text:qa.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}],Action_09:[{Text:qa.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}],Action_10:[{Text:qa.actions.contactSupport,Href:"mailto:newshelp@microsoft.com",IsExternalLink:!0}]},Qa={templateSerialNum_01:Ga.Action_01,templateSerialNum_02:Ga.Action_02,templateSerialNum_03:Ga.Action_02,templateSerialNum_04:Ga.Action_02,templateSerialNum_05:Ga.Action_02,templateSerialNum_07:Ga.Action_03,templateSerialNum_10:Ga.Action_04,templateSerialNum_11:Ga.Action_04,templateSerialNum_12:Ga.Action_05,templateSerialNum_14:Ga.Action_06,templateSerialNum_15:Ga.Action_07,templateSerialNum_16:Ga.Action_08};!function(e){e[e.StageZero=0]="StageZero",e[e.StageOne=1]="StageOne",e[e.StageTwo=2]="StageTwo",e[e.StageThree=3]="StageThree"}(Va||(Va={})),function(e){e[e.NOT_SET=0]="NOT_SET",e[e.PENDING=1]="PENDING",e[e.INVALID=2]="INVALID",e[e.ACTIVE_NEED_MORE_INFO=3]="ACTIVE_NEED_MORE_INFO",e[e.ACTIVE=4]="ACTIVE"}(Ba||(Ba={})),function(e){e[e.PASS=0]="PASS",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.FAIL=2]="FAIL"}(Ua||(Ua={})),function(e){e.GetStarted="getStarted",e.InProgress="inProgress",e.Completed="completed",e.Failed="failed",e.NeedsAttention="needsAttention"}(Za||(Za={}));var Xa={status:Za.Completed,statusText:(0,wr.__)("Completed","microsoft-start"),title:(0,wr.__)("Account approved","microsoft-start"),content:(0,wr.__)("The business information provided has passed our review.","microsoft-start")},Ja={status:Za.InProgress,statusText:(0,wr.__)("In progress","microsoft-start"),title:(0,wr.__)("Account under review","microsoft-start"),content:(null===(Fa=window.msn_dashboard_render_status)||void 0===Fa||null===(Ha=Fa.profile)||void 0===Ha?void 0:Ha.accountType)===xa.Publisher?(0,wr.__)("It may take up to 10 business days to verify the business information.","microsoft-start"):(0,wr.__)("This should only take a few minutes.","microsoft-start"),actionType:"link",actionText:(0,wr.__)("Learn more","microsoft-start"),actionLink:ma(1)},Ka={status:Za.Failed,statusText:(0,wr.__)("Failed","microsoft-start"),title:(0,wr.__)("Account didn't pass review","microsoft-start"),content:(0,wr.__)("Additional business information is needed to continue.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("See details","microsoft-start"),actionLink:Ya.reVetting},ei={status:Za.Failed,statusText:(0,wr.__)("Failed","microsoft-start"),title:(0,wr.__)("Account didn't pass review","microsoft-start"),content:(0,wr.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("Contact support","microsoft-start"),actionLink:"mailto:newshelp@microsoft.com"},ti={status:Za.Completed,statusText:(0,wr.__)("Completed","microsoft-start"),title:(0,wr.__)("Brand profile approved","microsoft-start"),content:(0,wr.__)("The business information you provided has been verified.","microsoft-start")},ni={status:Za.InProgress,statusText:(0,wr.__)("In progress","microsoft-start"),title:(0,wr.__)("Brand profile under review","microsoft-start"),content:(0,wr.__)("This can take up to 5 business days to complete.","microsoft-start"),actionType:"link",actionText:(0,wr.__)("See details","microsoft-start"),actionLink:Ya.brandManagementProfile},ri={status:Za.Failed,statusText:(0,wr.__)("Failed","microsoft-start"),title:(0,wr.__)("Brand profile didn't pass review","microsoft-start"),content:(0,wr.__)("Additional information is needed to continue.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("See details","microsoft-start"),actionLink:Ya.brandManagementProfile},oi={status:Za.Completed,statusText:(0,wr.__)("Completed","microsoft-start"),title:(0,wr.__)("Payment account active","microsoft-start"),content:(0,wr.__)("This account can now receive payments from Microsoft.","microsoft-start")},ai={status:Za.NeedsAttention,statusText:(0,wr.__)("Needs attention","microsoft-start"),title:(0,wr.__)("Issue with payment account","microsoft-start"),content:(0,wr.__)("Additional information is needed to activate this account.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("Update","microsoft-start"),actionLink:Ya.paymentSetting},ii={status:Za.GetStarted,statusText:(0,wr.__)("Get started","microsoft-start"),title:(0,wr.__)("Set up payment account","microsoft-start"),content:(0,wr.__)("A payment account is required before publishing. Setup time: 10 minutes or less.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("Set up payment account","microsoft-start"),actionLink:Ya.paymentSetting},li={status:Za.InProgress,statusText:(0,wr.__)("In progress","microsoft-start"),title:(0,wr.__)("Payment account under review","microsoft-start"),content:(0,wr.__)("This may take several business days to complete.","microsoft-start"),actionType:"link",actionText:(0,wr.__)("See details","microsoft-start"),actionLink:Ya.paymentSetting},si={status:Za.Failed,statusText:(0,wr.__)("Needs attention","microsoft-start"),title:(0,wr.__)("Error with payment account","microsoft-start"),content:(0,wr.__)("Check the information you provided to activate this account.","microsoft-start"),actionType:"button",actionText:(0,wr.__)("See details","microsoft-start"),actionLink:Ya.paymentSetting},ci=function(e){if(!e)return[void 0,void 0,void 0];var t,n,r,o=e.partnerStatus,a=e.brandModStatus,i=e.paymentAccountStatus,l=e.tradeScreeningStatus;switch(o){case Ca.Active:t=Xa;break;case Ca.PendingReview:t=Ja;break;case Ca.VettingFailed:t=l===Sa.DataIssue?ei:Ka}switch(a){case Ua.PASS:n=ti;break;case Ua.IN_PROGRESS:n=ni;break;case Ua.FAIL:n=ri}switch(i){case Ba.NOT_SET:r=ii;break;case Ba.PENDING:r=li;break;case Ba.INVALID:r=si;break;case Ba.ACTIVE:r=oi;break;case Ba.ACTIVE_NEED_MORE_INFO:r=ai}return[t,n,r].filter((function(e){return void 0!==e}))};function ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n".concat((0,wr.__)("edit profile","microsoft-start"),""))}})),n?N().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-profile-module__loading--rEpdL"},N().createElement(br,null)):N().createElement(N().Fragment,null,N().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-profile-module__profile-content--voCmL"},N().createElement("figure",null,N().createElement("img",{className:"microsoft-start-src-dashboard-settings-components-profile-module__avatar--BHnQ7",src:window.msn_dashboard_render_status.profile.avatar}),N().createElement("figcaption",{className:"microsoft-start-src-dashboard-settings-components-profile-module__edit-button--bzNtA"},N().createElement(xi,{tooltipMessage:(0,wr.__)("Access denied","microsoft-start")},N().createElement("a",{href:da("/setting/brand/profile"),target:"_blank"},(0,wr.__)("Edit profile","microsoft-start")))))),N().createElement("div",null,N().createElement("label",{className:Pi},(0,wr.__)("Name","microsoft-start")),N().createElement("p",null,window.msn_dashboard_render_status.profile.name)),N().createElement("div",null,N().createElement("label",{className:Pi},(0,wr.__)("Description","microsoft-start")),N().createElement("p",null,a)))):null};function Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ti,Ri,Di,zi={feedName:"",feedURL:"feed/",countryRegion:"",isLocalNews:ua.No,locations:"",isAIACIncluded:ua.Empty},Fi={category:ca.Uncategorized,editorLocations:""},Hi=(Ii(Ti={},la.Success,{status:"success",message:(0,wr.__)("Success","microsoft-start")}),Ii(Ti,la.Failed,{status:"failed",message:(0,wr.__)("Failed","microsoft-start")}),Ii(Ti,la.Processing,{status:"processing",message:(0,wr.__)("Processing","microsoft-start")}),Ti),Vi=(Ii(Ri={},ba.Success,{status:"success",message:(0,wr.__)("Saved","microsoft-start")}),Ii(Ri,ba.Failed,{status:"error",message:(0,wr.__)("Something went wrong.","microsoft-start")}),Ii(Ri,ba.DisabledByInternal,{status:"error",message:(0,wr.__)("This feed is suspended by Microsoft Start for not meeting our {publishingGuideline}. You can't make any changes. Contact MSPH support for more information.","microsoft-start")}),Ii(Ri,ba.DecommissionedByInternal,{status:"error",message:(0,wr.__)("This feed has been deleted by Microsoft Start for not meeting our {publishingGuideline}. You can't make changes. Contact MSPH support for more information.","microsoft-start")}),Ri);function Bi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ui=(Bi(Di={},ca.Uncategorized,(0,wr.__)("Uncategorized","microsoft-start")),Bi(Di,ca.Autos,(0,wr.__)("Autos","microsoft-start")),Bi(Di,ca.Entertainment,(0,wr.__)("Entertainment","microsoft-start")),Bi(Di,ca.Finance,(0,wr.__)("Finance","microsoft-start")),Bi(Di,ca.FoodAndDrink,(0,wr.__)("Food & Drink","microsoft-start")),Bi(Di,ca.HealthAndFitness,(0,wr.__)("Health & Fitness","microsoft-start")),Bi(Di,ca.Lifestyle,(0,wr.__)("Lifestyle","microsoft-start")),Bi(Di,ca.News,(0,wr.__)("News","microsoft-start")),Bi(Di,ca.Sports,(0,wr.__)("Sports","microsoft-start")),Bi(Di,ca.Travel,(0,wr.__)("Travel","microsoft-start")),Bi(Di,ca.Video,(0,wr.__)("Video","microsoft-start")),Bi(Di,ca.Weather,(0,wr.__)("Weather","microsoft-start")),Di);const Zi="microsoft-start-src-dashboard-settings-components-editorMode-module__item--RXGHh",$i="microsoft-start-src-dashboard-settings-components-editorMode-module__title--xjetD",Wi={container:"microsoft-start-src-components-Selector-index-module__container--doNLR",select:"microsoft-start-src-components-Selector-index-module__select--Q0rl5",middle:"microsoft-start-src-components-Selector-index-module__middle--PDMDz",option:"microsoft-start-src-components-Selector-index-module__option--uL4HY",small:"microsoft-start-src-components-Selector-index-module__small--zYwAk",placeholder:"microsoft-start-src-components-Selector-index-module__placeholder--rJSnK",disabled:"microsoft-start-src-components-Selector-index-module__disabled--RT3nb",opened:"microsoft-start-src-components-Selector-index-module__opened--je_yR",options:"microsoft-start-src-components-Selector-index-module__options--lb8GE",bottom:"microsoft-start-src-components-Selector-index-module__bottom--C2GE0",top:"microsoft-start-src-components-Selector-index-module__top--QKeYu",item:"microsoft-start-src-components-Selector-index-module__item--QB_5H"};function qi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n ').concat((0,wr.__)("Microsoft Start Partner Hub feed page","microsoft-start"),"\n "))}}))),N().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__form--Zl0bB"},N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Feed Name","microsoft-start")),N().createElement(ol,{width:"100%",disabled:l,value:r.feedName,onChange:function(e){return o({feedName:e.target.value})}})),N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el),id:"url-label"},(0,wr.__)("Feed URL","microsoft-start")),N().createElement("div",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__flex-box--PhB02"},N().createElement("span",{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__base-url--Xyc6E"},a),N().createElement(ol,{className:"microsoft-start-src-dashboard-settings-components-feedMode-module__path-input--mtMZE",disabled:l,value:r.feedURL,onChange:function(e){return o({feedURL:e.target.value})}}))),N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Type","microsoft-start")),N().createElement(ol,{width:"100%",disabled:!0,value:(0,wr.__)("Article","microsoft-start")})),N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Format","microsoft-start")),N().createElement(ol,{width:"100%",value:(0,wr.__)("RSS","microsoft-start"),disabled:!0})),N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Country/Region","microsoft-start")),N().createElement("div",null,N().createElement(Gi,{disabled:l,value:r.countryRegion,onChange:function(e){return o({countryRegion:e})}},i.map((function(e){return N().createElement(Qi,{key:e.id,value:e.id},e.displayString)}))))),N().createElement("div",{className:Ji},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Local news","microsoft-start"),N().createElement(Ei,{content:N().createElement("div",{className:tl},(0,wr.__)("Select Yes if your site covers local news and events. This will show your content to users in and around that area.","microsoft-start"))},dn)),N().createElement("div",null,N().createElement(Gi,{disabled:l,value:r.isLocalNews,onChange:function(e){return function(e){e===ua.No&&p(r.locations),o({isLocalNews:e,locations:e===ua.No?n.locations:m})}(e)}},Object.entries(Oa).map((function(e){return N().createElement(Qi,{key:e[0],value:e[0]},e[1])}))))),N().createElement("div",{style:{display:"Yes"===r.isLocalNews?"block":"none"},className:"".concat(Ji," ").concat("")},N().createElement("div",{className:"".concat(Ki," ").concat(el)},(0,wr.__)("Target audience location","microsoft-start"),N().createElement(Ei,{content:N().createElement("div",{className:tl},(0,wr.__)("Please select at least 1 and up to 10 locations for the intended audience. This can be a city or county or combined.","microsoft-start"))},dn)),N().createElement("div",{className:"mscreator-iframe-container ".concat(l?"microsoft-start-src-dashboard-settings-components-feedMode-module__iframe-loading--tioI_":""),"data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":JSON.stringify(c)})),N().createElement("div",{className:Ji},N().createElement("div",{className:Ki},(0,wr.__)("AI Assisted Content declaration","microsoft-start"),N().createElement(Ei,{content:N().createElement("div",{style:{width:320},className:tl},N().createElement("div",{dangerouslySetInnerHTML:{__html:(0,wr.__)("Select {b}Yes{/b} if any content (text, image or video) generated with the assistance of AI. Do not submit content that is unreviewed AI-generated content.","microsoft-start").replaceAll("{b}","").replaceAll("{/b}","")}}))},dn)),N().createElement("div",null,N().createElement(Gi,{disabled:l,value:r.isAIACIncluded,onChange:function(e){return o({isAIACIncluded:e})}},Object.entries(Aa).map((function(e){return N().createElement(Qi,{key:e[0],value:e[0]},e[1])})))))))},ll=[{id:"ar-ae",value:"ar-ae",displayString:"الإمارات العربية المتحدة (العربية)",direction:"rtl"},{id:"ar-eg",value:"ar-eg",displayString:"مصر (العربية)",direction:"rtl"},{id:"ar-sa",value:"ar-sa",displayString:"المملكة العربية السعودية (العربية)",direction:"rtl"},{id:"bn-in",value:"bn-in",displayString:"India (বাংলা)",direction:"ltr"},{id:"cs-cz",value:"cs-cz",displayString:"Česká republika (čeština)",direction:"ltr"},{id:"da-dk",value:"da-dk",displayString:"Danmark (Dansk)",direction:"ltr"},{id:"de-at",value:"de-at",displayString:"Österreich (Deutsch)",direction:"ltr"},{id:"de-ch",value:"de-ch",displayString:"Schweiz (Deutsch)",direction:"ltr"},{id:"de-de",value:"de-de",displayString:"Deutschland (Deutsch)",direction:"ltr"},{id:"el-gr",value:"el-gr",displayString:"Ελλάδα (ελληνικά)",direction:"ltr"},{id:"en-ae",value:"en-ae",displayString:"United Arab Emirates (English)",direction:"ltr"},{id:"en-au",value:"en-au",displayString:"Australia (English)",direction:"ltr"},{id:"en-ca",value:"en-ca",displayString:"Canada (English)",direction:"ltr"},{id:"en-gb",value:"en-gb",displayString:"United Kingdom (English)",direction:"ltr"},{id:"en-ie",value:"en-ie",displayString:"Ireland (English)",direction:"ltr"},{id:"en-in",value:"en-in",displayString:"India (English)",direction:"ltr"},{id:"en-my",value:"en-my",displayString:"Malaysia (English)",direction:"ltr"},{id:"en-nz",value:"en-nz",displayString:"New Zealand (English)",direction:"ltr"},{id:"en-ph",value:"en-ph",displayString:"Philippines (English)",direction:"ltr"},{id:"en-sg",value:"en-sg",displayString:"Singapore (English)",direction:"ltr"},{id:"en-us",value:"en-us",displayString:"United States (English)",direction:"ltr"},{id:"en-xl",value:"en-xl",displayString:"International Edition (English)",direction:"ltr"},{id:"en-za",value:"en-za",displayString:"South Africa (English)",direction:"ltr"},{id:"es-ar",value:"es-ar",displayString:"Argentina (español)",direction:"ltr"},{id:"es-cl",value:"es-cl",displayString:"Chile (español)",direction:"ltr"},{id:"es-co",value:"es-co",displayString:"Colombia (español)",direction:"ltr"},{id:"es-es",value:"es-es",displayString:"España (español)",direction:"ltr"},{id:"es-mx",value:"es-mx",displayString:"México (español)",direction:"ltr"},{id:"es-pe",value:"es-pe",displayString:"Perú (español)",direction:"ltr"},{id:"es-us",value:"es-us",displayString:"United States (español)",direction:"ltr"},{id:"es-ve",value:"es-ve",displayString:"Venezuela (español)",direction:"ltr"},{id:"es-xl",value:"es-xl",displayString:"América Latina (español)",direction:"ltr"},{id:"fi-fi",value:"fi-fi",displayString:"Suomi (suomi)",direction:"ltr"},{id:"fr-be",value:"fr-be",displayString:"Belgique (français)",direction:"ltr"},{id:"fr-ca",value:"fr-ca",displayString:"Canada (français)",direction:"ltr"},{id:"fr-ch",value:"fr-ch",displayString:"Suisse (français)",direction:"ltr"},{id:"fr-fr",value:"fr-fr",displayString:"France (français)",direction:"ltr"},{id:"fr-xl",value:"fr-xl",displayString:"Afrique francophone (français)",direction:"ltr"},{id:"he-il",value:"he-il",displayString:"ישראל (עברית)",direction:"rtl"},{id:"hi-in",value:"hi-in",displayString:"India (हिंदी)",direction:"ltr"},{id:"hu-hu",value:"hu-hu",displayString:"Magyarország (magyar)",direction:"ltr"},{id:"id-id",value:"id-id",displayString:"Indonesia (Bahasa Indonesia)",direction:"ltr"},{id:"it-it",value:"it-it",displayString:"Italia (italiano)",direction:"ltr"},{id:"ja-jp",value:"ja-jp",displayString:"日本 (日本語)",direction:"ltr"},{id:"ko-kr",value:"ko-kr",displayString:"한국 (한국어)",direction:"ltr"},{id:"mr-in",value:"mr-in",displayString:"India (मराठी)",direction:"ltr"},{id:"nb-no",value:"nb-no",displayString:"Norge (norsk, bokmål)",direction:"ltr"},{id:"nl-be",value:"nl-be",displayString:"België (Nederlands)",direction:"ltr"},{id:"nl-nl",value:"nl-nl",displayString:"Nederland (Nederlands)",direction:"ltr"},{id:"pl-pl",value:"pl-pl",displayString:"Polska (polski)",direction:"ltr"},{id:"pt-br",value:"pt-br",displayString:"Brasil (português)",direction:"ltr"},{id:"pt-pt",value:"pt-pt",displayString:"Portugal (Português)",direction:"ltr"},{id:"ru-xl",value:"ru-xl",displayString:"International Edition (Pусский)",direction:"ltr"},{id:"ru-ru",value:"ru-ru",displayString:"Россия (Pусский)",direction:"ltr"},{id:"sv-se",value:"sv-se",displayString:"Sverige (svenska)",direction:"ltr"},{id:"te-in",value:"te-in",displayString:"India (తెలుగు)",direction:"ltr"},{id:"th-th",value:"th-th",displayString:"ไทย (ไทย)",direction:"ltr"},{id:"tr-tr",value:"tr-tr",displayString:"Türkiye (Türkçe)",direction:"ltr"},{id:"vi-vn",value:"vi-vn",displayString:"Việt Nam (Tiếng Việt)",direction:"ltr"},{id:"zh-cn",value:"zh-cn",displayString:"中华人民共和国 (简体中文)",direction:"ltr"},{id:"zh-hk",value:"zh-hk",displayString:"香港特别行政區 (繁體中文)",direction:"ltr"},{id:"zh-tw",value:"zh-tw",displayString:"台灣 (繁體中文)",direction:"ltr"}];function sl(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function cl(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){sl(a,r,o,i,l,"next",e)}function l(e){sl(a,r,o,i,l,"throw",e)}i(void 0)}))}}var ul=function(e){Zn("../?rest_route=/microsoft/v1/batch-submit-posts",{method:"POST",body:JSON.stringify(e)});var t=function(){return new Promise((function(e){fl().then((function(n){0===n.total?setTimeout(cl((function(){var n;return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat((0,wr.__)("publishing guidelines","microsoft-start"),""))}})))),N().createElement("h2",{className:dl.title},(0,wr.__)("Publishing settings","microsoft-start")),N().createElement("p",{className:dl.subtitle},(0,wr.__)("These settings help target your content to the right audience. They will be applied to new WordPress posts you share with Microsoft Start.","microsoft-start")),"Loading"===F&&N().createElement(br,null),n?N().createElement("div",{className:dl["warning-banner"]},cn,(0,wr.__)("You cannot change content settings while importing posts to Microsoft Start.","microsoft-start")):N().createElement(N().Fragment,null,"Failed"===F&&N().createElement("p",null,(0,wr.__)("Something went wrong. Please try again later.","microsoft-start")),"Success"===F&&N().createElement("div",{className:dl["content-setting-form"]},N().createElement("div",{className:"".concat(dl["content-item"]," ").concat(dl["auto-toggle"])},N().createElement("label",null,(0,wr.__)("Automatically publish new posts to Microsoft","microsoft-start")),N().createElement("div",{className:dl["auto-publish-bar"]},N().createElement(xi,null,N().createElement(za.FormToggle,{disabled:ja||M,checked:a,onChange:function(){return i(!a)}})))),a&&N().createElement("div",{className:dl["content-item"]},N().createElement("div",null,N().createElement(xi,null,M?N().createElement(za.Disabled,null,le):le),s===sa.FeedMode&&P!==la.Initial&&N().createElement("span",{className:"".concat(dl["feed-status-box"]," ").concat(dl["".concat(Hi[P].status,"-box")])},N().createElement("label",{className:"".concat(dl["feed-status-message"]," ").concat(dl["feed-".concat(Hi[P].status,"-message")])},Hi[P].message))),s===sa.EditorMode&&N().createElement(Xi,hl({},{editorConfig:w,savedEditorConfig:J,setPartialEditorConfig:S,disableAll:M,setEditorChanged:re})),s===sa.FeedMode&&N().createElement(il,hl({},{feedConfig:p,savedFeedConfig:G,setPartialFeedConfig:g,feedBaseUrl:v,marketList:x,disableAll:M,setFeedChanged:ie}))),N().createElement(xi,null,N().createElement(za.Button,{className:dl["save-btn"],disabled:ja||!R||M||"feed"===s&&!(""!==p.countryRegion&&""!==p.feedName&&""!==p.feedURL&&("Yes"!==p.isLocalNews||""!==p.locations)),isPrimary:!0,onClick:function(){return e={option:a,publishOption:s,feedConfig:p,feedBaseUrl:v,editorConfig:w},d(ba.Initial),a&&s===sa.FeedMode&&L(la.Processing),I(!0),void(t=e,Zn("../?rest_route=/microsoft/v1/publish-settings",{method:"POST",body:JSON.stringify(t)})).then((function(e){"ok"===e.status?(a&&s===sa.FeedMode&&L(la.Success),U(a),a&&(q(s),s===sa.FeedMode?Q(p):K(w)),d(ba.Success)):a&&s===sa.FeedMode?(e.body.feedIngestionResult===Ni.Disabled?d(ba.DisabledByInternal):e.body.feedIngestionResult===Ni.Decommissioned?d(ba.DecommissionedByInternal):d(ba.Failed),L(la.Failed)):d(ba.Failed)})).catch((function(){d(ba.Failed),L(la.Failed)})).finally((function(){I(!1)}));var e,t}},(0,wr.__)("Save","microsoft-start"))))))};function yl(){var e,t,n=(e=["\n margin-top: 1.25rem;\n margin-bottom: 0.625rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return yl=function(){return n},n}var _l=Zt.h1(yl()),wl=function(e){var t=e.title,n=e.children;return N().createElement(Kt,null,N().createElement(_l,null,t),N().createElement("div",null,n))};function Cl(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Pl(e)?2:Ll(e)?3:0}function Nl(e,t){return 2===kl(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ol(e,t,n){var r=kl(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function Al(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Pl(e){return os&&e instanceof Map}function Ll(e){return as&&e instanceof Set}function jl(e){return e.o||e.t}function Ml(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ds(e);delete t[cs];for(var n=fs(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=Tl),Object.freeze(e),t&&xl(e,(function(e,t){return Il(t,!0)}),!0)),e}function Tl(){Cl(2)}function Rl(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Dl(e){var t=ms[e];return t||Cl(18,e),t}function zl(){return ns}function Fl(e,t){t&&(Dl("Patches"),e.u=[],e.s=[],e.v=t)}function Hl(e){Vl(e),e.p.forEach(Ul),e.p=null}function Vl(e){e===ns&&(ns=e.l)}function Bl(e){return ns={p:[],l:ns,h:e,m:!0,_:0}}function Ul(e){var t=e[cs];0===t.i||1===t.i?t.j():t.O=!0}function Zl(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Dl("ES5").S(t,e,r),r?(n[cs].P&&(Hl(t),Cl(4)),El(e)&&(e=$l(t,e),t.l||ql(t,e)),t.u&&Dl("Patches").M(n[cs].t,e,t.u,t.s)):e=$l(t,n,[]),Hl(t),t.u&&t.v(t.u,t.s),e!==ls?e:void 0}function $l(e,t,n){if(Rl(t))return t;var r=t[cs];if(!r)return xl(t,(function(o,a){return Wl(e,r,t,o,a,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return ql(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Ml(r.k):r.o;xl(3===r.i?new Set(o):o,(function(t,a){return Wl(e,r,o,t,a,n)})),ql(e,o,!1),n&&e.u&&Dl("Patches").N(r,n,e.u,e.s)}return r.o}function Wl(e,t,n,r,o,a){if(Sl(o)){var i=$l(e,o,a&&t&&3!==t.i&&!Nl(t.R,r)?a.concat(r):void 0);if(Ol(n,r,i),!Sl(i))return;e.m=!1}if(El(o)&&!Rl(o)){if(!e.h.D&&e._<1)return;$l(e,o),t&&t.A.l||ql(e,o)}}function ql(e,t,n){void 0===n&&(n=!1),e.h.D&&e.m&&Il(t,n)}function Yl(e,t){var n=e[cs];return(n?jl(n):e)[t]}function Gl(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Ql(e){e.P||(e.P=!0,e.l&&Ql(e.l))}function Xl(e){e.o||(e.o=Ml(e.t))}function Jl(e,t,n){var r=Pl(t)?Dl("MapSet").F(t,n):Ll(t)?Dl("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:zl(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,a=ps;n&&(o=[r],a=hs);var i=Proxy.revocable(o,a),l=i.revoke,s=i.proxy;return r.k=s,r.j=l,s}(t,n):Dl("ES5").J(t,n);return(n?n.A:zl()).p.push(r),r}function Kl(e){return Sl(e)||Cl(22,e),function e(t){if(!El(t))return t;var n,r=t[cs],o=kl(t);if(r){if(!r.P&&(r.i<4||!Dl("ES5").K(r)))return r.t;r.I=!0,n=es(t,o),r.I=!1}else n=es(t,o);return xl(n,(function(t,o){r&&function(e,t){return 2===kl(e)?e.get(t):e[t]}(r.t,t)===o||Ol(n,t,e(o))})),3===o?new Set(n):n}(e)}function es(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ml(e)}var ts,ns,rs="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),os="undefined"!=typeof Map,as="undefined"!=typeof Set,is="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ls=rs?Symbol.for("immer-nothing"):((ts={})["immer-nothing"]=!0,ts),ss=rs?Symbol.for("immer-draftable"):"__$immer_draftable",cs=rs?Symbol.for("immer-state"):"__$immer_state",us=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),fs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ds=Object.getOwnPropertyDescriptors||function(e){var t={};return fs(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},ms={},ps={get:function(e,t){if(t===cs)return e;var n=jl(e);if(!Nl(n,t))return function(e,t,n){var r,o=Gl(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!El(r)?r:r===Yl(e.t,t)?(Xl(e),e.o[t]=Jl(e.A.h,r,e)):r},has:function(e,t){return t in jl(e)},ownKeys:function(e){return Reflect.ownKeys(jl(e))},set:function(e,t,n){var r=Gl(jl(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Yl(jl(e),t),a=null==o?void 0:o[cs];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Al(n,o)&&(void 0!==n||Nl(e.t,t)))return!0;Xl(e),Ql(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Yl(e.t,t)||t in e.t?(e.R[t]=!1,Xl(e),Ql(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=jl(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){Cl(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Cl(12)}},hs={};xl(ps,(function(e,t){hs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),hs.deleteProperty=function(e,t){return hs.set.call(this,e,t,void 0)},hs.set=function(e,t,n){return ps.set.call(this,e[0],t,n,e[0])};var gs=function(){function e(e){var t=this;this.g=is,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var a=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,i=Array(r>1?r-1:0),l=1;l1?r-1:0),a=1;a=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=Dl("Patches").$;return Sl(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),bs=new gs,vs=bs.produce;bs.produceWithPatches.bind(bs),bs.setAutoFreeze.bind(bs),bs.setUseProxies.bind(bs),bs.applyPatches.bind(bs),bs.createDraft.bind(bs),bs.finishDraft.bind(bs);const ys=vs;function _s(e){return _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},_s(e)}function ws(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==_s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==_s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===_s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ss(e){for(var t=1;t0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0;t--){var o=e[t][cs];if(!o.P)switch(o.i){case 5:r(o)&&Ql(o);break;case 4:n(o)&&Ql(o)}}}function n(e){for(var t=e.t,n=e.k,r=fs(n),o=r.length-1;o>=0;o--){var a=r[o];if(a!==cs){var i=t[a];if(void 0===i&&!Nl(t,a))return!0;var l=n[a],s=l&&l[cs];if(s?s.t!==i:!Al(l,i))return!0}}var c=!!t[cs];return r.length!==fs(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;rsc,uc=(0,k.createContext)(null);function fc(){return(0,k.useContext)(uc)}let dc=()=>{throw new Error("uSES not initialized!")};const mc=(e,t)=>e===t;function pc(e=uc){const t=e===uc?fc:()=>(0,k.useContext)(e);return function(e,n=mc){const{store:r,subscription:o,getServerState:a}=t(),i=dc(o.addNestedSub,r.getState,a||r.getState,e,n);return(0,k.useDebugValue)(i),i}}const hc=pc();n(357);const gc={notify(){},get:()=>[]};const bc="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?k.useLayoutEffect:k.useEffect;let vc=null;const yc=function({store:e,context:t,children:n,serverState:r}){const o=(0,k.useMemo)((()=>{const t=function(e,t){let n,r=gc;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=cc();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=gc)},getListeners:()=>r};return i}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0}}),[e,r]),a=(0,k.useMemo)((()=>e.getState()),[e]);bc((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const i=t||uc;return N().createElement(i.Provider,{value:o},n)};function _c(e=uc){const t=e===uc?fc:()=>(0,k.useContext)(e);return function(){const{store:e}=t();return e}}const wc=_c();function Cc(e=uc){const t=e===uc?wc:_c(e);return function(){return t().dispatch}}const Sc=Cc();var Ec;(e=>{dc=e})(lc.useSyncExternalStoreWithSelector),(e=>{vc=e})(ic.useSyncExternalStore),Ec=Vo.unstable_batchedUpdates,sc=Ec;var xc=function(e){return Zn("../?rest_route=/microsoft/v1/notification&type=".concat(e),{method:"GET"})},kc=function(e){var t,n=[],r=[];return e.forEach((function(e){var t;e.wpNotificationType?n.push((t=e.wpNotificationType,Zn("../?rest_route=/microsoft/v1/dismiss-wp-notification",{method:"POST",body:JSON.stringify({type:t})}))):r.push(e.id)})),r.length&&n.push((t=r,Zn("../?rest_route=/microsoft/v1/dismiss-msph-notification",{method:"POST",body:JSON.stringify({ids:t})}))),Promise.all(n)};function Nc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]-1&&e.sidebar.information.splice(t,1),e.banner.information.findIndex((function(e){return"batch_submit_completed"===e.wpNotificationType}))>-1&&e.banner.information.splice(t,1)}},extraReducers:function(e){e.addCase(Rc.fulfilled,(function(e,t){Object.keys(t.payload).forEach((function(n){e.banner[n]=t.payload[n].map((function(e){return Tc(e)}))}))})),e.addCase(Dc.fulfilled,(function(e,t){Object.keys(t.payload).forEach((function(n){e.sidebar[n]=t.payload[n].map((function(e){return Tc(e)}))}))}))}}),Fc=zc.actions,Hc=Fc.closeBanner,Vc=Fc.bannerDismiss,Bc=Fc.sidebarDismiss,Uc=Fc.dismissAll,Zc=Fc.removeBatchSubmissionCompeleteNotification;const $c=zc.reducer;function Wc(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function qc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){Wc(a,r,o,i,l,"next",e)}function l(e){Wc(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Yc,Gc=rc("onboardingStage/getOnboardingInfo",qc((function(){return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt?1:n)},u=(0,k.useMemo)((function(){return r[i-1]}),[i,r]);return N().createElement("div",{className:ru["notification-banner-container"]},N().createElement("div",{className:"".concat(ru["notification-banner"]," ").concat(ru[o])},N().createElement("div",{className:ru["text-content"]},N().createElement("span",{className:ru.title},u.propertyBag.title)," ",N().createElement("span",{className:ru.desp},u.propertyBag.description)),N().createElement("div",{className:ru.action},u.propertyBag.action&&JSON.parse(u.propertyBag.action).map((function(e){return N().createElement("div",{key:e.Text,onClick:function(){var t;t=e.Href,e.IsExternalLink?window.open(t):location.href=t},className:ru["action-btn"]},e.Text)})),u.canDismiss&&N().createElement("div",{onClick:function(){kc([u]).then((function(){s(Vc({type:o,id:u.id})),i===r.length&&l(i-1)})).catch((function(){nu({content:(0,wr.__)("Network failure. Please try again later.","microsoft-start")})}))},className:ru["action-btn"]},(0,wr.__)("Dismiss","microsoft-start"))),N().createElement("div",{className:ru.close,onClick:function(){s(Hc(o))}},ln),r.length>1&&N().createElement("div",{className:ru.pagination},N().createElement("div",{className:"".concat(ru.arrow," ").concat(ru.left),onClick:function(){c(-1)}},mn),Kc.Ld.Format((0,wr.__)("{current} of {total}","microsoft-start"),{current:i,total:r.length}),N().createElement("div",{className:"".concat(ru.arrow," ").concat(ru.right),onClick:function(){c(1)}},mn))))},iu=function(){var e=Jc((function(e){return e.notification.banner})),t=Xc();return(0,k.useEffect)((function(){t(Rc())}),[]),N().createElement(N().Fragment,null,Object.keys(e).map((function(t){return e[t].length?N().createElement(au,{key:t,type:t,notifications:e[t]}):null})))};function lu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function su(){var e=lu(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"]);return su=function(){return e},e}function cu(){var e=lu(["\n width: 108px;\n margin: 0 auto;\n"]);return cu=function(){return e},e}function uu(){var e=lu(["\n margin-top: 19px;\n font-size: 16px;\n line-height: 22px;\n"]);return uu=function(){return e},e}var fu=Zt.div(su()),du=Zt.div(cu()),mu=Zt.div(uu()),pu=function(){return N().createElement(fu,null,N().createElement(du,null,an),N().createElement(mu,null,(0,wr.__)("Nothing to see here.","microsoft-start")))};const hu="microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__button--Njs8b";var gu=function(e){var t=e||new Date;return t.setHours(0,0,0,0),t};var bu=function(e){var t;return new Date(1e3*e).toLocaleDateString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us")},vu=function(e){var t;return new Date(e).toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})},yu=function(e){var t=e.notification,n=Xc(),r=(0,k.useMemo)((function(){if(t.propertyBag.title)return t.propertyBag.title}),[t]),o=(0,k.useMemo)((function(){if(t.propertyBag.description)return t.propertyBag.description}),[t]);return N().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-card--kwleS"},N().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-title--ZnO9B"},r),o&&N().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__notification-desp--idCrm"},o),t.createdDateTime&&N().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__date--ogQqd"},function(e){var t,n,r=new Date(e.includes("Z")?e:e+"Z"),o=function(e,t){var n=[gu(new Date(e)),gu(new Date(t))],r=n[1],o=n[0].getTime()-r.getTime();return Math.floor(o/864e5)}(new Date,r);return 0===o?r.toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{hour:"2-digit",minute:"2-digit",hour12:!1}):1===o?(0,wr.__)("Yesterday","microsoft-start"):2===o||3===o?(0,wr.__)("{n} days ago","microsoft-start").replace("{n}",o.toString()):r.toLocaleDateString((null===window||void 0===window||null===(n=window.msn_dashboard_render_status)||void 0===n?void 0:n.language)||"en-us")}(t.createdDateTime)),N().createElement("div",{className:"microsoft-start-src-dashboard-components-notification-sidebar-notification-card-module__button-group--tqwfW"},t.propertyBag.action&&JSON.parse(t.propertyBag.action).map((function(e){return N().createElement("div",{key:e.Text,onClick:function(){var t;t=e.Href,e.IsExternalLink?window.open(t):location.href=t},className:hu},e.Text)})),t.canDismiss&&N().createElement("div",{className:hu,onClick:function(){kc([t]).then((function(){n(Bc({type:t.severity,id:t.id}))})).catch((function(){nu({content:(0,wr.__)("Network failure. Please try again later.","microsoft-start")})}))}},(0,wr.__)("Dismiss","microsoft-start"))))};function _u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat((0,wr.__)("Content settings","microsoft-start"),""))}})),N().createElement("div",{ref:a,style:{maxHeight:r?"0":l},className:Yu.list},N().createElement("div",{className:Yu.cell},N().createElement("div",{className:Yu.label},(0,wr.__)("Category","microsoft-start")||(0,wr.__)("Uncategorized","microsoft-start")),N().createElement("div",{className:Yu.value},null==t?void 0:t.editorConfig.category)),N().createElement("div",{className:Yu.cell},N().createElement("div",{className:Yu.label},(0,wr.__)("Target audience location","microsoft-start")),N().createElement("div",{className:Yu.value},c)),N().createElement("div",{className:Yu.cell},N().createElement("div",{className:Yu.label},(0,wr.__)("Canonical URL","microsoft-start")),N().createElement("div",null,(0,wr.__)("WordPress post URL","microsoft-start")))))},Ju=500;const Ku="microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__select-count--Ib_Zt",ef="microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__button--OAdTl";var tf=function(e){var t=e.totalCount,n=e.selectedCount,r=e.onAllAllClick,o=e.onClearClick;return N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__banner--AgYjk",style:{height:0===n?0:56}},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__left-text--w1fr0"},n===t?N().createElement("div",{className:Ku},(0,wr.__)("All $1 selected","microsoft-start").replace("$1",n.toLocaleString())):N().createElement("div",{className:Ku},(0,wr.__)("$1 selected","microsoft-start").replace("$1",n.toLocaleString())),n>Ju&&N().createElement(N().Fragment,null,"(",un," ",(0,wr.__)("A maximum of $1 posts exceeded.","microsoft-start").replace("$1",Ju.toString()),")")),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-components-select-banner-module__button-group--bD83O"},t<=Ju&&ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&b.size===s.dataList.length}),[b,s.dataList]),L=[{title:N().createElement(Au,{className:Uu,onChange:function(e){var t=new Set(Array.from(p)),n=new Set(Array.from(b));e.target.checked?s.dataList.forEach((function(e){t.add(e.ID),n.add(e.ID)})):s.dataList.forEach((function(e){t.delete(e.ID),n.delete(e.ID)})),h(t),v(n)},checked:P,indeterminate:A}),dataIndex:"checkall",width:52,render:function(e,t){return N().createElement(Au,{className:Uu,checked:p.has(t.ID),onChange:function(e){return function(e,t){var n=new Set(Array.from(p)),r=new Set(Array.from(b));t.target.checked?(n.add(e.ID),r.add(e.ID)):(n.delete(e.ID),r.delete(e.ID)),h(n),v(r)}(t,e)}})}},{title:(0,wr.__)("Title","microsoft-start"),dataIndex:"post_title",width:200,render:function(e){return N().createElement(Ei,{content:N().createElement("div",{className:Zu},N().createElement("div",{className:$u},(0,wr.__)("Title","microsoft-start")),N().createElement("div",{className:Wu},e))},N().createElement("div",{className:qu},e))}},{title:(0,wr.__)("Featured image","microsoft-start"),dataIndex:"post_feature_image",render:function(e){return e?N().createElement("img",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__feature-image--lBuw5",src:e}):N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__no-image--MyBx3"},(0,wr.__)("No Image","microsoft-start"))},width:160},{title:(0,wr.__)("Excerpt","microsoft-start"),dataIndex:"post_excerpt",width:250,render:function(e){return N().createElement(Ei,{content:N().createElement("div",{className:Zu},N().createElement("div",{className:$u},(0,wr.__)("Excerpt","microsoft-start")),N().createElement("div",{className:Wu},e))},N().createElement("div",{className:qu},e))}},{title:(0,wr.__)("Originally published","microsoft-start"),dataIndex:"post_date",width:200,render:function(e){return vu(e)}}],j=function(){var e=of((function(e){return uf(this,(function(t){switch(t.label){case 0:return[4,ul(e)];case 1:return t.sent(),i("/batch-submit/result"),[2]}}))}));return function(t){return e.apply(this,arguments)}}();return ja?N().createElement(ff,{icon:pn,title:(0,wr.__)("Unable to submit posts","microsoft-start"),description:(0,wr.__)("Your brand is currently suspended by Microsoft Start. You can't publish content to Microsoft Start.","microsoft-start")}):Ta()?t?N().createElement("div",{className:Bu},N().createElement(br,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page-loading--GrHAH"})):"editor"!==(null==o?void 0:o.publishOption)?N().createElement(ff,{icon:pn,title:(0,wr.__)("Unable to submit posts","microsoft-start"),description:(0,wr.__)("You're currently using 'Publish by feed'. Go to 'Settings' then select 'Publish by editor' to use batch submission.","microsoft-start")}):f.length?N().createElement("div",{className:Bu},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__header--keiUF"},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__title--ytxfn"},(0,wr.__)("Batch submission","microsoft-start"),f.length>Ju&&N().createElement("span",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__subtitle--DXhNi"},(0,wr.__)("Up to $1 posts allowed in one submission.","microsoft-start").replace("$1",Ju.toString()))),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__button-group--LotWs"},N().createElement(Pr,{onClick:function(){E("all"),w(!0)}},f.length<=Ju?N().createElement(N().Fragment,null,(0,wr.__)("Submit all","microsoft-start")," (",f.length.toLocaleString(),")"):N().createElement(N().Fragment,null,(0,wr.__)("Submit the first $1 posts","microsoft-start").replace("$1",Ju.toLocaleString()))),N().createElement(Pr,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__button--Coqxa",type:"primary",onClick:function(){p.size>Ju?nu({content:(0,wr.__)("$1 posts maximum are allowed for one batch submission.","microsoft-start").replace("$1",Ju.toString())}):0===p.size?nu({content:(0,wr.__)("Select at least one post to submit","microsoft-start")}):(E("partial"),w(!0))}},(0,wr.__)("Submit selected","microsoft-start")," (",p.size.toLocaleString(),")"))),N().createElement(Xu,{setting:o}),N().createElement(tf,{totalCount:f.length,selectedCount:p.size,onAllAllClick:function(){h(new Set(f)),v(new Set(s.dataList.map((function(e){return e.ID}))))},onClearClick:function(){h(new Set([])),v(new Set([]))}}),N().createElement(Vu,{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__table--YPGmj",dataSource:s.dataList,column:L,loading:s.loading}),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page--_KmV1"},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__page-size--aVvyx"},(0,wr.__)("Showing $1 posts per page","microsoft-start").replace("$1",20..toString())),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-select-posts-module__pagination--EE9Op"},N().createElement(Fu,{disabled:s.loading,selectPlacement:"top",total:x,defaultCurrent:s.page,onChange:function(e){c((function(t){t.page=e})),O(e)}}))),N().createElement(Mu,{show:_,cancelButtonText:(0,wr.__)("Cancel","microsoft-start"),confirmButtonText:(0,wr.__)("Submit","microsoft-start"),onCancel:function(){w(!1)},onConfirm:function(){return j("all"===S?f.length<=Ju?f:f.slice(0,Ju):Array.from(p))},title:"all"===S?(0,wr.__)("Submit all $1 posts to Microsoft Start?","microsoft-start").replace("$1",(f.length<=Ju?f.length:Ju).toLocaleString()):(0,wr.__)("Submit $1 post(s) to Microsoft Start?","microsoft-start").replace("$1",p.size.toLocaleString())})):N().createElement(ff,{icon:hn,title:(0,wr.__)("Nothing to see here right now","microsoft-start"),description:(0,wr.__)("You don't have any posts to be submitted to Microsoft Start","microsoft-start")}):N().createElement(ff,{icon:pn,title:(0,wr.__)("Unable to submit posts","microsoft-start"),description:""})};const mf="microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-title--rJ5NG",pf="microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-desp--PMKDC";function hf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=a}),[a,f]),M=function(e){var t;A((function(e){e.loading=!0})),(t=I.slice(20*(e-1),20*e),Zn("../?rest_route=/microsoft/v1/get-post-by-ids",{method:"POST",body:JSON.stringify(t)})).then((function(e){A((function(t){t.loading=!1,t.tableData=e}))}))};(0,k.useEffect)((function(){j&&I.length&&(c(!1),M(1))}),[j]);var I=(0,k.useMemo)((function(){return j?f.filter((function(e){return!e.success})).map((function(e){return e.id})):[]}),[f,j]),T=(0,k.useMemo)((function(){return{title:(0,wr.__)("Submitting $1/$2 post(s)","microsoft-start").replace("$1",f.length.toString()).replace("$2",a.toString()),description:(0,wr.__)("Batch submission can take a few minutes. Once submitted, content will need to pass our review before being published to Microsoft Start.","microsoft-start")}}),[a,f]),R=[{title:"",dataIndex:"checkall",width:52,render:function(){return yn}},{title:(0,wr.__)("Title","microsoft-start"),dataIndex:"post_title",width:200},{title:(0,wr.__)("Featured image","microsoft-start"),dataIndex:"post_feature_image",render:function(e){return e?N().createElement("img",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__feature-image--MrLqH",src:e}):N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__no-image--guMmk"},(0,wr.__)("No Image","microsoft-start"))},width:160},{title:(0,wr.__)("Excerpt","microsoft-start"),dataIndex:"post_excerpt",width:250},{title:(0,wr.__)("Originally published","microsoft-start"),dataIndex:"post_date",width:200,render:function(e){return vu(e)}}];return N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__wrap--w7U8P"},b?N().createElement(br,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page-loading--iRDIs"}):N().createElement(N().Fragment,null,N().createElement(Mu,{show:_,onConfirm:L,onCancel:function(){w(!1)},confirmButtonText:(0,wr.__)("Submit next batch","microsoft-start"),cancelButtonText:(0,wr.__)("Cancel","microsoft-start"),title:(0,wr.__)("Are you sure to submit next batch?","microsoft-start"),content:(0,wr.__)("This list of failed posts won't be saved. But you can always start again and resubmit them using batch submission.","microsoft-start")}),N().createElement(Mu,{show:S,onConfirm:function(){return new Promise(bf((function(){return _f(this,(function(t){switch(t.label){case 0:return[4,ul(I)];case 1:return t.sent(),e(0),[2]}}))})))},onCancel:function(){E(!1)},confirmButtonText:(0,wr.__)("Submit","microsoft-start"),cancelButtonText:(0,wr.__)("Cancel","microsoft-start"),title:(0,wr.__)("Submit $1 post(s) to Microsoft Start?","microsoft-start").replace("$1",I.length.toString())}),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__header--x070s"},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__title--DivFb"},(0,wr.__)("Submission status","microsoft-start")),j?N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__button-group--ngn9t"},N().createElement(Pr,{type:I.length?"default":"primary",onClick:bf((function(){return _f(this,(function(e){switch(e.label){case 0:return I.length?(w(!0),[3,3]):[3,1];case 1:return[4,L()];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},(0,wr.__)("Submit next batch","microsoft-start")),I.length?N().createElement(Pr,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__button--Hh9Es",type:"primary",onClick:function(){E(!0)}},"".concat((0,wr.__)("Resubmit failed post(s)","microsoft-start")," (").concat(I.length,")")):null):null),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-page--RKT4I"},j?N().createElement(N().Fragment,null,N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-banner--NZQXa"},I.length===a?wn:vn,N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__result-content--msZg2"},I.length===a?N().createElement(N().Fragment,null,N().createElement("div",{className:mf},(0,wr.__)("$1 post(s) failed on $2","microsoft-start").replace("$1",I.length.toLocaleString()).replace("$2",bu(p))),N().createElement("div",{className:pf},(0,wr.__)("Select Resubmit all failed post(s) to try again","microsoft-start"))):N().createElement(N().Fragment,null,N().createElement("div",{className:mf},(0,wr.__)("$1 post(s) submitted and $2 post(s) failed on $3","microsoft-start").replace("$1",(a-I.length).toString()).replace("$2",I.length.toString()).replace("$3",bu(p))),N().createElement("div",{className:pf,dangerouslySetInnerHTML:{__html:(0,wr.__)("$1 post(s) are currently under review. Go to $2 to see publishing status. Select Resubmit all failed posts to try again.","microsoft-start").replace("$1",(a-I.length).toString()).replace("$2",''.concat((0,wr.__)("All posts","microsoft-start"),""))}})))),I.length?N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__failed-list--bgpXK"},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__table-title--ZSY7e"},(0,wr.__)("Posts failed submission","microsoft-start")," (",I.length.toLocaleString(),")"),N().createElement(Vu,{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__table--WYggK",column:R,dataSource:O.tableData,loading:O.loading}),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page--SAWZs"},N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__page-size--_OwP1"},(0,wr.__)("Showing $1 posts per page","microsoft-start").replace("$1",20..toString())),N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__pagination--OV_OW"},N().createElement(Fu,{selectPlacement:"top",total:I.length,defaultCurrent:O.page,onChange:function(e){M(e)}})))):null):N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__submitting--ZGPcz"},N().createElement(Hu,vf({icon:N().createElement("div",{className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__spinner-icon--ZiORU"},bn)},T)),N().createElement(Pr,{size:"small",className:"microsoft-start-src-dashboard-batchSubmit-batch-submit-result-module__stop-btn--xNBvA",loading:s,onClick:function(){c(!0),Zn("../?rest_route=/microsoft/v1/stop-batch-submission",{method:"POST"})}},(0,wr.__)("Stop submission","microsoft-start"))))))},Cf=function(){return N().createElement(N().Fragment,null,N().createElement(K,null))};const Sf=n.p+"images/connectImage.383e77cf.png";function Ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{}),{pageName:location.hash}),qr)}("join now click",window.msn_dashboard_render_status)}(o)}},r?(0,wr.__)("Connecting","microsoft-start"):(0,wr.__)("Join now","microsoft-start"))};return N().createElement(qt,{className:"microsoft-start-src-dashboard-getStarted-components-join-module__wrap--ZTWeU"},N().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__text--xmUB2"},N().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__title--CcXpj"},(0,wr.__)("Grow your audience with Microsoft—and get paid","microsoft-start")),N().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__subtitle--nNkKM"},(0,wr.__)("You've been invited to join Microsoft Start Partner Hub. With this new program, you can make your WordPress posts available to the millions of people who use Microsoft Start.","microsoft-start")),Ma?N().createElement("p",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__edge-btn-group--ecFzB"},N().createElement(Ei,{content:N().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-join-module__edge-btn-popover--MtN7D"},(0,wr.__)("Sign in with the same account you use for Edge","microsoft-start"))},N().createElement(a,null))):N().createElement(a,null)),N().createElement("img",{src:Sf}))}const kf="microsoft-start-src-dashboard-getStarted-get-started-module__subtitle--sFXGf",Nf="microsoft-start-src-dashboard-getStarted-get-started-module__card-group--NAhk9",Of=n.p+"images/get-start-logo.838ab3b9.png";var Af=n(382);var Pf=function(e){return e===Za.Completed?"status-completed":e===Za.Failed?"status-failed":e===Za.GetStarted||e===Za.NeedsAttention?"status-warning":"status-inProgress"},Lf=function(e){var t=e.status,r=e.statusText;return N().createElement("div",{className:"".concat("microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__status--tn0Rg"," ").concat(t===Za.Failed?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__failed--ZvQEN":"")},N().createElement("img",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__icon--O9dIi",src:n(220)("./".concat(Pf(t),".png")),alt:""}),N().createElement("div",null,r))},jf=function(e){var t=e.status,n=e.title,r=e.statusText,o=e.content,a=e.actionType,i=e.actionLink,l=e.actionText;return N().createElement("div",{className:"".concat("microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__card--p15Or"," ").concat("button"===a?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__warning-or-critical--CyYjg":"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__info--BRmzZ")},N().createElement(Lf,{status:t,statusText:r}),N().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__title--M3Ppz"},n),N().createElement("div",{className:"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__desp--VZVqH"},o),i&&N().createElement("div",{onClick:function(){window.open(i)},className:"".concat("link"===a?"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__link--lbXym":"microsoft-start-src-dashboard-getStarted-components-stageOneCard-stage1-card-module__button--uMg3Y")},l))};function Mf(){var e,t,n=(e=["\n width: 30%;\n height: 320px;\n border-radius: 6px;\n box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);\n background-color: #f1f1f1;\n flex-grow: 1;\n position: relative;\n overflow: hidden;\n &::before {\n content: '';\n width: 300px;\n height: 100%;\n background-image: linear-gradient(to right, transparent, #fff, transparent);\n left: -300px;\n top: 0;\n position: absolute;\n animation: loading 1.5s infinite;\n }\n\n &:nth-child(2) {\n margin: 0 16px;\n }\n @keyframes loading {\n from {\n left: -300px;\n }\n to {\n left: 620px;\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Mf=function(){return n},n}var If=Zt.div(Mf());function Tf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n array('react', 'react-dom', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-hooks', 'wp-i18n', 'wp-plugins'), 'version' => '99bc478c90c83fb87753'); + array('react', 'react-dom', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-hooks', 'wp-i18n', 'wp-plugins'), 'version' => '34feeb61f33fb689eda0'); diff --git a/wp-content/plugins/microsoft-start/assets/js/editorSidebar.js b/wp-content/plugins/microsoft-start/assets/js/editorSidebar.js index 882777171..e72d46351 100644 --- a/wp-content/plugins/microsoft-start/assets/js/editorSidebar.js +++ b/wp-content/plugins/microsoft-start/assets/js/editorSidebar.js @@ -1,2 +1,2 @@ -(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=m(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(t),h=c(r),g=0;g{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case m:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case h:case c:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=m,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},237:(e,t,r)=>{"use strict";e.exports=r(198)},195:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");r=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===f||e===m||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case f:case m:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case h:case p:case c:return e;default:return t}}case o:return t}}}},357:(e,t,r)=>{"use strict";e.exports=r(195)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";const e=window.React;var t=r.n(e);const n=window.wp.hooks,o=window.wp.plugins,i=window.wp.editPost;var a=r(357),s=r(631),c=r.n(s);const l=function(e){function t(e,n,c,l,f){for(var m,p,h,g,_,S=0,A=0,E=0,C=0,k=0,N=0,M=h=m=0,F=0,L=0,D=0,$=0,z=c.length,B=z-1,U="",V="",H="",W="";Fm)&&($=(U=U.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&x(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=I&&(I=t+1),O.set(e,t),R.set(t,e)},T="style["+E+'][data-styled-version="5.3.6"]',F=new RegExp("^"+E+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(E))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(E,"active"),n.setAttribute("data-styled-version","5.3.6");var a=$();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},B=function(){function e(e){var t=this.element=z(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),G=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function Z(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=q(t%52)+r;return(q(t%52)+r).replace(G,"$1-$2")}var X=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},K=function(e){return X(5381,e)};function J(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=X(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,h)){var g=r(u,"."+h,void 0,n);t.insertRules(n,h,g)}o.push(h)}}return o.join(" ")},e}(),te=/^\s*\/\/.*$/gm,re=[":","[",".","#"];function ne(e){var t,r,n,o,i=void 0===e?_:e,a=i.options,s=void 0===a?_:a,c=i.plugins,u=void 0===c?b:c,d=new l(s),f=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,n,i){return 0===n&&-1!==re.indexOf(i[r.length])||i.match(o)?e:"."+t};function h(e,i,a,s){void 0===s&&(s="&");var c=e.replace(te,""),l=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),d(a||!i?"":i,l)}return d.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},m,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=u.length?u.reduce((function(e,t){return t.name||x(15),X(e,t.name)}),5381).toString():"",h}var oe=t().createContext(),ie=(oe.Consumer,t().createContext()),ae=(ie.Consumer,new Y),se=ne();function ce(){return(0,e.useContext)(oe)||ae}function le(r){var n=(0,e.useState)(r.stylisPlugins),o=n[0],i=n[1],a=ce(),s=(0,e.useMemo)((function(){var e=a;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),l=(0,e.useMemo)((function(){return ne({options:{prefix:!r.disableVendorPrefixes},plugins:o})}),[r.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){c()(o,r.stylisPlugins)||i(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(oe.Provider,{value:s},t().createElement(ie.Provider,{value:l},r.children))}var ue=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return x(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,fe=/([A-Z])/g,me=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function he(e){return de.test(e)?e.replace(fe,pe).replace(me,"-ms-"):e}var ge=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,we=/(^-|-$)/g;function Se(e){return e.replace(_e,"-").replace(we,"")}var Ae=function(e){return Z(K(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var Ce=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ke=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function xe(e,t,r){var n=e[r];Ce(t)&&Ce(n)?Pe(n,t):e[r]=t}function Pe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(o[r]=e[r]);return o}(n,["componentId"]),i=t&&t+"-"+(Ee(e)?e:Se(S(e)));return Ie(e,g({},r,{attrs:v,componentId:i}),o)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?Pe({},r.defaultProps,e):e}}),E.toString=function(){return"."+E.styledComponentId},a&&p()(E,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Ne,je=function(e){return function e(t,r,n){if(void 0===n&&(n=_),!(0,a.isValidElementType)(r))return x(1,String(r));var o=function(){return t(r,n,be.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,g({},n,{},o))},o.attrs=function(o){return e(t,r,g({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){je[e]=je(e)})),(Ne=function(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),Y.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,r,n){var o=n(ve(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},Ne.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Ne.renderStyles=function(e,t,r,n){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=$();return""},this.getStyleTags=function(){return e.sealed?x(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return x(2);var n=((r={})[E]="",r["data-styled-version"]="5.3.6",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),o=$();return o&&(n.nonce=o),[t().createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?x(2):t().createElement(le,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return x(3)}}();const Me=je;function Te(){var e,t,r=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Te=function(){return r},r}Me.i(Te());var Fe=t().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 4H11V11H4V4Z",fill:"#F35123"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 13H11V20H4V13Z",fill:"#01A4EF"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 4H20V11H13V4Z",fill:"#7FBA00"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 13H20V20H13V13Z",fill:"#FFB901"})),Le=t().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"}));const De=window.wp.i18n,$e=function(){var e=(0,n.applyFilters)("microsoft_sidebar_panels",[]);return t().createElement(t().Fragment,null,t().createElement(i.PluginSidebarMoreMenuItem,{target:"Microsoft Sidebar",icon:Fe},(0,De.__)("Microsoft Start","microsoft-start")),t().createElement(i.PluginSidebar,{name:"Microsoft Sidebar",title:(0,De.__)("Microsoft Start","microsoft-start"),isPinnable:!0},e))};function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]&&arguments[1],c="".concat("https://www.msn.com/").concat(null!==(a=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==a?a:"en-us","/partnerhub").concat(null!=e?e:""),l=null===(r=window.msn_dashboard_render_status)||void 0===r||null===(n=r.profile)||void 0===n?void 0:n.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(i=o.profile)||void 0===i?void 0:i.accountId;return l&&!(null==e?void 0:e.includes("#"))&&(c+="#fromwp=true",c+="&partnerid=".concat(l),u&&(c+="&brandid=".concat(s?"all":u))),c},St={"body.character.count.range":(0,De.__)("Articles must have at least 450 characters.","microsoft-start"),"body.contains.duplicate.image.references":(0,De.__)("Content contains duplicate images.","microsoft-start"),"body.contains.duplicate.video.references":(0,De.__)("Content contains duplicate videos.","microsoft-start"),"body.hyperlink.brokenlinks.validation":(0,De.__)("Content contains broken links.","microsoft-start"),"body.hyperlink.category.maxFailures":(0,De.__)("At least one link is broken.","microsoft-start"),"document.byteSize.range":(0,De.__)("File size exceeds 524 KB.","microsoft-start"),"document.content.character.count.range":(0,De.__)("Character count exceeds 500,000.","microsoft-start"),"document.controllisted.isNot":(0,De.__)("Content source not approved for use.","microsoft-start"),"document.controlListReason.GeoPol":(0,De.__)("Content source not approved due to sensitivity detected.","microsoft-start"),"document.controlListReason.Other":(0,De.__)("Content source not approved due to sensitivity detected.","microsoft-start"),"document.dcsTags.suicideLabel.notDetected":(0,De.__)("At least one term or phrase promotes suicide or self-harm.","microsoft-start"),"document.hasFailedEmbeds":(0,De.__)("At least one embedded image or other content type failed validation. Contact us for details.","microsoft-start"),"document.languageDetection.matchesDocumentLocale":(0,De.__)("Article language doesn't match region setting.","microsoft-start"),"document.signalCondition.valid":(0,De.__)("Slideshow must have at least 200 characters from title to description.","microsoft-start"),"document.valid.publishdate":(0,De.__)("Dates must be listed in the following formats: “$1”, “$2”.","microsoft-start").replace("$1","Wed, 04 Oct 2017 15:00:00 +0200").replace("$2","2017-10-04T08:00:00-05:00"),"image.analytics.isNotAlcoholRelated":(0,De.__)("At least one image glamorizes the use of alcohol.","microsoft-start"),"image.analytics.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"image.analytics.profanity.notAdult":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.analytics.profanity.notGore":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.analytics.profanity.notRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.byteSize.range":(0,De.__)("Image file size must be at least 10KB.","microsoft-start"),"image.moderation.profanity.notAdult":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.moderation.profanity.notAdultOrRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.moderation.profanity.notGore":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.moderation.profanity.notRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.ocr.text.valid":(0,De.__)("At least one image contains profanity or vulgar language.","microsoft-start"),"image.text.isNotDeadBodyRelated":(0,De.__)("At least one image shows a dead body.","microsoft-start"),"image.text.isNotDrugRelated":(0,De.__)("At least one image glamorizes drug use.","microsoft-start"),"image.text.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"labels.category.productAndLabel.joined.isNotLocalRSS":(0,De.__)("A content source hasn't been validated.","microsoft-start"),"licensingRights.hasSyndicationRights.has":(0,De.__)("At least one image has potential copyright issues.","microsoft-start"),"message.exception":(0,De.__)("Unable to publish. Contact us for help.","microsoft-start"),"moderation.appeal.timeout":(0,De.__)("Appeal request has timed out. Resubmit or contact us for help.","microsoft-start"),"Moderation.Failure.Other":(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start"),"moderation.pendingreview.timeout":(0,De.__)("Moderation request timed out. Resubmit or contact us for help.","microsoft-start"),"Moderation.Error":(0,De.__)("Moderation service error. Contact us for help.","microsoft-start"),"MSPH.video.insights.isComplete":(0,De.__)("Video processing error. Contact us for help.","microsoft-start"),"prohibited.content.isNotUndark":(0,De.__)("May contain copyrighted material.","microsoft-start"),"promoCard.image.reference.exists":(0,De.__)("Featured image is missing.","microsoft-start"),"seo.canonicalUrl.isValid":(0,De.__)("Canonical URL is broken.","microsoft-start"),"slide.body.hyperlink.category.maxFailures":(0,De.__)("Content contains broken links.","microsoft-start"),"slide.count.range":(0,De.__)("A gallery must have between 2 and 200 images.","microsoft-start"),"slide.image.reference.joined.exists":(0,De.__)("At least one slide is missing an image.","microsoft-start"),"Social.embeds":(0,De.__)("Social media embedded in this content contains profanity.","microsoft-start"),"sourceMetering.isMetered.isNot":(0,De.__)("Exceeds daily posting limit.","microsoft-start"),"textAnalytics.valid":(0,De.__)("At least one term or phrase contains profanity or vulgar language.","microsoft-start"),"video.ClosedCaptions.Exists":(0,De.__)("Video is missing closed captions.","microsoft-start"),"video.hasThumbnail":(0,De.__)("Video thumbnail is missing.","microsoft-start"),"video.insights.isNotAdultOrRacy":(0,De.__)("At least one video contains nudity or sexual content.","microsoft-start"),"video.insights.isComplete":(0,De.__)("An error occurred processing a video. Resubmit or contact us for help.","microsoft-start"),"video.moderation":(0,De.__)("At least one video contains graphic violence, nudity, or sexual content.","microsoft-start"),"Video.Moderation.Rejected":(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start"),"video.processing.pending.timeout":(0,De.__)("Video processing has timed out. Resubmit or contact us for help.","microsoft-start"),"video.processingStatus.isComplete":(0,De.__)("Video processing error. Contact us for help.","microsoft-start"),"image.moderation.isNotAlcoholRelated":(0,De.__)("At least one image glamorizes the use of alcohol.","microsoft-start"),"image.moderation.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"image.moderation.notViolent":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.moderation.notSuicide":(0,De.__)("At least one image depicts suicide or self-harm.","microsoft-start"),"image.moderation.isNotIllegalDrugRelated":(0,De.__)("At least one image glamorizes drug use.","microsoft-start"),"document.controlListReason.ComplianceRequirement":(0,De.__)("Content did not pass review.","microsoft-start"),"document.has.duplicateVersion":(0,De.__)("Content is a duplicate of a previously published version.","microsoft-start"),"body.validHtmlEncoding":(0,De.__)("Content contains invalid HTML encoding.","microsoft-start"),"image.dimensionssize.flattened.range":(0,De.__)("Each image side must be at least 400px in length.","microsoft-start")},At=((0,De.__)("Draft","microsoft-start"),(0,De.__)("Under review","microsoft-start"),(0,De.__)("Published","microsoft-start"),(0,De.__)("Rejected","microsoft-start"),(0,De.__)("Unpublished","microsoft-start"),(0,De.__)("Not submitted","microsoft-start"),(0,De.__)("Unpublishing","microsoft-start"),(0,De.__)("Not found","microsoft-start"),(0,De.__)("Unknown","microsoft-start"),function(e){var r,n,o=e.detail,i=e.number;return t().createElement("div",{className:_t["failure-detail-item"]},t().createElement("div",{className:_t["failure-detail-num"]},i),t().createElement("div",{className:_t["failure-detail-content"]},St[o.key],!!(null===(r=o.words)||void 0===r?void 0:r.length)&&t().createElement("div",{className:_t["failure-detail-word-container"]},o.words.map((function(e,r){return t().createElement("span",{key:r,className:_t["failure-detail-word"]},e)}))),!!(null===(n=o.imageUrls)||void 0===n?void 0:n.length)&&t().createElement("div",{className:_t["failure-detail-image-container"]},o.imageUrls.map((function(e,r){return t().createElement("img",{key:r,className:_t["failure-detail-image"],src:e})}))),(o.isWordsExceedLimit||o.isImagesExceedLimit)&&t().createElement("div",{className:_t["failure-detail-limit"]},(0,De.__)("Only a maximum of 50 images or 100 words are shown here.","microsoft-start"))))}),Et=function(e){var r=e.failureDetails;if(!r)return null;var n=r.filter((function(e){return Object.keys(St).includes(e.key)}));return t().createElement(t().Fragment,null,t().createElement("div",{className:_t.tip,dangerouslySetInnerHTML:{__html:(0,De.__)("The following does not meet our %s.","microsoft-start").replace("%s",'').concat((0,De.__)("publishing guidelines","microsoft-start"),""))}}),t().createElement("div",{className:_t["failure-list"]},n.length?n.map((function(e,r){return t().createElement(At,{key:r,detail:e,number:r+1})})):(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start")))};function Ct(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function kt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ct(i,n,o,a,s,"next",e)}function s(e){Ct(i,n,o,a,s,"throw",e)}a(void 0)}))}}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&void 0!==o[1]?o[1]:{},r=Pt({},jt,r=o.length>2&&void 0!==o[2]?o[2]:jt),n=r.retryCounts,[2,new Promise((function(o,i){var a=function(){var s=kt((function(){return It(this,(function(s){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),Pt({},Nt,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,a()):i(e)})),[2]}))}));return function(){return s.apply(this,arguments)}}();a()}))]}))})),function(e){return Rt.apply(this,arguments)}),Tt=function(e){return Mt("../?rest_route=/microsoft/v1/msn-post-detail/".concat(e),{method:"GET"})};function Ft(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Lt(){var e=Ft(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]);return Lt=function(){return e},e}function Dt(){var e=Ft(["\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n"]);return Dt=function(){return e},e}function $t(){var e=Ft(["\n display: block;\n border: 2px solid;\n border-color: #c7e0f4;\n border-left-color: #0078d4;\n border-radius: 100%;\n animation: "," 1s linear infinite;\n"]);return $t=function(){return e},e}function zt(){var e=Ft(["\n font-size: 12px;\n line-height: 16px;\n color: #0078d4;\n margin-top: 8px;\n"]);return zt=function(){return e},e}var Bt=Me.div(Lt()),Ut=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r").replaceAll("{/b}","")}}))},t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__label-icon--KUoTi"},Le))),t().createElement("select",{className:yt,name:"",id:"",value:l,onChange:function(e){var t;t=e.target.value,a({meta:{MSN_Is_AIAC_Included:t}})}},Object.entries(mt).map((function(e){return t().createElement("option",{key:e[0],value:e[0]},e[1])}))))),t().createElement(Ue.PanelRow,null,t().createElement("div",{className:gt},t().createElement(Yt.PostTaxonomies,{taxonomyWrapper:function(e,r){return"post_tag"!==r.slug?t().createElement(t().Fragment,null):t().createElement(t().Fragment,null,e)}}))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Change author name","microsoft-start")),t().createElement(Ue.FormToggle,{checked:d,onChange:function(){return a({meta:{MSN_Has_Custom_Author:!d}})}})),t().createElement(Ue.PanelRow,{className:d?"":ht},t().createElement("div",{className:"".concat(gt," ").concat(bt)},t().createElement(Ue.TextControl,{onChange:function(e){return a({meta:{MSN_Custom_Author:e}})},value:f}))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Customize canonical URL","microsoft-start")),t().createElement(Ue.FormToggle,{checked:m,onChange:function(){return a({meta:{MSN_Has_Custom_Canonical_Url:!m}})}})),t().createElement(Ue.PanelRow,null,t().createElement("div",{className:"".concat(gt," ").concat(bt)},t().createElement(Ue.TextControl,{className:m?"":ht,onChange:function(e){return a({meta:{MSN_Custom_Canonical_Url:e}})},value:p,placeholder:(0,De.__)("URL to the original story for search crawlers","microsoft-start")}),!m&&t().createElement("p",{className:vt},(0,De.__)("URL of your post will be used as the canonical URL.","microsoft-start")))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Local news","microsoft-start")),t().createElement(Ue.FormToggle,{checked:c,onChange:function(){return a({meta:{MSN_Is_Local_News:!c}})}})),t().createElement("p",{className:vt},(0,De.__)("Target this post for audiences in specific areas.","microsoft-start")),t().createElement(Ue.PanelRow,{className:c?"":ht},t().createElement("div",{className:gt},t().createElement(Ue.BaseControl.VisualLabel,null,(0,De.__)("Target audience location","microsoft-start")),t().createElement("div",{className:"mscreator-iframe-container","data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":u})))),g&&t().createElement(Ue.PanelRow,null,t().createElement("a",{href:wt("/management/content/article"),target:"_blank"},(0,De.__)("View post on Microsoft Start","microsoft-start"))))};function mr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]'.concat((0,De.__)("Refresh","microsoft-start"),"")),message:""};case st.AppealFailed:return{status:"error",title:(0,De.__)("Appeal error","microsoft-start"),message:(0,De.__)("There was an error submitting your appeal. Contact support for help.","microsoft-start")};case st.AppealRejected:return{status:"error",title:(0,De.__)("Appeal denied","microsoft-start"),message:(0,De.__)("This article violates our publishing guidelines and will remain unpublished.","microsoft-start")};default:return null}}(null==u||null===(e=u.appealSignal)||void 0===e?void 0:e.appealStatus);return(null==r?void 0:r.title)?t().createElement(Ue.Notice,{status:r.status,className:"microsoft-start-src-postEditor-components-newsPanelBody-module__tips--YVvEw",isDismissible:!1},t().createElement("span",{onClick:g,dangerouslySetInnerHTML:{__html:r.title}})):null}),[u]),y=(0,e.useMemo)((function(){var e=function(e){var t,r,n,o,i,a,s,c="",l="#EF4444";return"false"===window.msn_sidebar_settings.enabled?c=(0,De.__)("To use Microsoft Start Partner Hub, connect your WordPress website","microsoft-start"):ft?c=(0,De.__)("Your brand was suspended by Microsoft Start and content can't be published.","microsoft-start"):(null===(t=window.msn_dashboard_render_status.profile)||void 0===t?void 0:t.partnerStatus)===nt.Shutdown?c=(0,De.__)("Your account was not approved. Transactions for this account is not allowed.","microsoft-start"):(null===(r=window.msn_dashboard_render_status.profile)||void 0===r?void 0:r.partnerStatus)===nt.VettingFailed&&(null===(n=window.msn_dashboard_render_status.profile)||void 0===n||null===(o=n.partnerMetadata)||void 0===o?void 0:o.tradeScreeningStatus)===ot.DataIssue?c=(0,De.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted or contact ({email}) for support.","microsoft-start").replace("{email}","newshelp@microsoft.com"):"false"===window.msn_sidebar_settings.brand_active?c=(0,De.__)("Once your profile is approved, you can automatically publish your WordPress posts to Microsoft Start. Your work will appear alongside content from individual creators and established media brands.","microsoft-start"):(null===(i=window.msn_dashboard_render_status.profile)||void 0===i||null===(a=i.partnerMetadata)||void 0===a||null===(s=a.paymentStatus)||void 0===s?void 0:s.stripeAccountStatus)===it.NotExist?c=window.msn_sidebar_settings.is_admin?(0,De.__)("You can't publish content until you add a payment account.","microsoft-start"):(0,De.__)("A payment account has not been added by your organization. This is required for publishing.","microsoft-start"):"private"===e||"password"===e?(c=(0,De.__)("To change publishing settings, set post visibility to public","microsoft-start"),l="#1E1E1E"):window.msn_sidebar_settings.feed_mode&&(c=(0,De.__)("The content will be automatically published to Microsoft by feed as your setting.","microsoft-start")),{text:c,color:l}}(i),r=e.text,n=e.color;return r?t().createElement(Ue.PanelRow,null,t().createElement("div",null,t().createElement("p",null,t().createElement("b",{style:{color:n}},r)))):null}),[]);(0,e.useEffect)((function(){!o||window.msn_reject_detail_loaded&&function(e,t){try{var r=JSON.parse((n="__msn_rejectDetail",localStorage.getItem(n)||"{}"));if(r.postId===e)return t(r),!0}catch(e){}var n;return!1}(o,d)||gr(o,d).finally((function(){window.msn_reject_detail_loaded=!0}))}),[o]);var b=(0,e.useMemo)((function(){return t().createElement(fr,{meta:n,editPost:a,featuredImageId:s})}),[n,a,s]),_=(0,e.useMemo)((function(){return t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__reject-detail-container--oBLuL"},t().createElement(Et,{failureDetails:null==u?void 0:u.failureDetails}))}),[u]);return t().createElement(Ue.PanelBody,{title:(0,De.__)("Publishing settings for this post","microsoft-start"),className:"msn-sidebar"},v,y||(o&&!u?t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__spinner-container--SQpw0"},t().createElement(Wt,null)):t().createElement(t().Fragment,null,t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Publish to Microsoft","microsoft-start")),t().createElement(Ue.FormToggle,{checked:c,onChange:function(){return a({meta:{MSN_Publish_Option:!c}})},disabled:h})),t().createElement("div",{className:c&&!h?"":"microsoft-start-src-postEditor-components-newsPanelBody-module__inactive-sidebar--wWnHO"},o&&(null==u?void 0:u.failureDetails)?t().createElement(Ue.TabPanel,{tabs:[{name:"settings",title:(0,De.__)("Settings","microsoft-start")},{name:"rejection-details",title:(0,De.__)("Rejection details","microsoft-start")}]},(function(e){switch(e.name){case"settings":return b;case"rejection-details":return _;default:return t().createElement(t().Fragment,null)}})):b))))}))),yr=(0,Ve.withSelect)((function(e){return{meta:e("core/editor").getEditedPostAttribute("meta")||{}}}))((function(e){return e.meta.MSN_Publish_Option?t().createElement(i.PluginPostPublishPanel,null,t().createElement("a",{href:wt("/management/content/article"),target:"_blank"},(0,De.__)("View post on Microsoft Start","microsoft-start"))):null})),br=function(){return t().createElement(i.PluginPrePublishPanel,null,t().createElement(vr,null))};var _r;Be("microsoft_sidebar_panels","microsoft-start",t().createElement(vr,null)),Be("microsoft_editor_plugin","microsoft-start",t().createElement(br,null)),Be("microsoft_editor_plugin","microsoft-start",t().createElement(yr,null)),_r="microsoft-sidebar",(0,o.getPlugin)(_r)||(0,o.registerPlugin)(_r,{icon:function(){return Fe},render:function(){var e=(0,n.applyFilters)("microsoft_editor_plugin",[]);return t().createElement(t().Fragment,null,t().createElement($e,null),e)}})})()})(); +(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=m(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(t),h=c(r),g=0;g{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case m:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case h:case c:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=m,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},237:(e,t,r)=>{"use strict";e.exports=r(198)},841:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,i=60108,a=60114,s=60109,c=60110,l=60112,u=60113,d=60120,f=60115,m=60116,p=60121,h=60122,g=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),m=b("react.lazy"),p=b("react.block"),h=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===v||e===i||e===u||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===g||e.$$typeof===p||e[0]===h)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case m:case f:case s:return e;default:return t}}case n:return t}}}},679:(e,t,r)=>{"use strict";e.exports=r(841)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";const e=window.React;var t=r.n(e);const n=window.wp.hooks,o=window.wp.plugins,i=window.wp.editPost;var a=r(679),s=r(631),c=r.n(s);const l=function(e){function t(e,n,c,l,f){for(var m,p,h,g,_,S=0,A=0,E=0,C=0,k=0,N=0,M=h=m=0,F=0,L=0,D=0,$=0,z=c.length,B=z-1,U="",V="",H="",W="";Fm)&&($=(U=U.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&x(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=I&&(I=t+1),O.set(e,t),R.set(t,e)},T="style["+E+'][data-styled-version="5.3.6"]',F=new RegExp("^"+E+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(E))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(E,"active"),n.setAttribute("data-styled-version","5.3.6");var a=$();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},B=function(){function e(e){var t=this.element=z(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),G=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function Z(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=q(t%52)+r;return(q(t%52)+r).replace(G,"$1-$2")}var X=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},K=function(e){return X(5381,e)};function J(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=X(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,h)){var g=r(u,"."+h,void 0,n);t.insertRules(n,h,g)}o.push(h)}}return o.join(" ")},e}(),te=/^\s*\/\/.*$/gm,re=[":","[",".","#"];function ne(e){var t,r,n,o,i=void 0===e?_:e,a=i.options,s=void 0===a?_:a,c=i.plugins,u=void 0===c?b:c,d=new l(s),f=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,n,i){return 0===n&&-1!==re.indexOf(i[r.length])||i.match(o)?e:"."+t};function h(e,i,a,s){void 0===s&&(s="&");var c=e.replace(te,""),l=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),d(a||!i?"":i,l)}return d.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},m,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=u.length?u.reduce((function(e,t){return t.name||x(15),X(e,t.name)}),5381).toString():"",h}var oe=t().createContext(),ie=(oe.Consumer,t().createContext()),ae=(ie.Consumer,new Y),se=ne();function ce(){return(0,e.useContext)(oe)||ae}function le(r){var n=(0,e.useState)(r.stylisPlugins),o=n[0],i=n[1],a=ce(),s=(0,e.useMemo)((function(){var e=a;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),l=(0,e.useMemo)((function(){return ne({options:{prefix:!r.disableVendorPrefixes},plugins:o})}),[r.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){c()(o,r.stylisPlugins)||i(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(oe.Provider,{value:s},t().createElement(ie.Provider,{value:l},r.children))}var ue=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return x(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,fe=/([A-Z])/g,me=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function he(e){return de.test(e)?e.replace(fe,pe).replace(me,"-ms-"):e}var ge=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,we=/(^-|-$)/g;function Se(e){return e.replace(_e,"-").replace(we,"")}var Ae=function(e){return Z(K(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var Ce=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ke=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function xe(e,t,r){var n=e[r];Ce(t)&&Ce(n)?Pe(n,t):e[r]=t}function Pe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(o[r]=e[r]);return o}(n,["componentId"]),i=t&&t+"-"+(Ee(e)?e:Se(S(e)));return Ie(e,g({},r,{attrs:v,componentId:i}),o)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?Pe({},r.defaultProps,e):e}}),E.toString=function(){return"."+E.styledComponentId},a&&p()(E,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Ne,je=function(e){return function e(t,r,n){if(void 0===n&&(n=_),!(0,a.isValidElementType)(r))return x(1,String(r));var o=function(){return t(r,n,be.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,g({},n,{},o))},o.attrs=function(o){return e(t,r,g({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){je[e]=je(e)})),(Ne=function(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),Y.registerId(this.componentId+1)}.prototype).createStyles=function(e,t,r,n){var o=n(ve(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},Ne.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Ne.renderStyles=function(e,t,r,n){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=$();return""},this.getStyleTags=function(){return e.sealed?x(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return x(2);var n=((r={})[E]="",r["data-styled-version"]="5.3.6",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),o=$();return o&&(n.nonce=o),[t().createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?x(2):t().createElement(le,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return x(3)}}();const Me=je;function Te(){var e,t,r=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Te=function(){return r},r}Me.i(Te());var Fe=t().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 4H11V11H4V4Z",fill:"#F35123"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 13H11V20H4V13Z",fill:"#01A4EF"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 4H20V11H13V4Z",fill:"#7FBA00"}),t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 13H20V20H13V13Z",fill:"#FFB901"})),Le=t().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"}));const De=window.wp.i18n,$e=function(){var e=(0,n.applyFilters)("microsoft_sidebar_panels",[]);return t().createElement(t().Fragment,null,t().createElement(i.PluginSidebarMoreMenuItem,{target:"Microsoft Sidebar",icon:Fe},(0,De.__)("Microsoft Start","microsoft-start")),t().createElement(i.PluginSidebar,{name:"Microsoft Sidebar",title:(0,De.__)("Microsoft Start","microsoft-start"),isPinnable:!0},e))};function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]&&arguments[1],c="".concat("https://www.msn.com/").concat(null!==(a=null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)&&void 0!==a?a:"en-us","/partnerhub").concat(null!=e?e:""),l=null===(r=window.msn_dashboard_render_status)||void 0===r||null===(n=r.profile)||void 0===n?void 0:n.partnerId,u=null===(o=window.msn_dashboard_render_status)||void 0===o||null===(i=o.profile)||void 0===i?void 0:i.accountId;return l&&!(null==e?void 0:e.includes("#"))&&(c+="#fromwp=true",c+="&partnerid=".concat(l),u&&(c+="&brandid=".concat(s?"all":u))),c},St={"body.character.count.range":(0,De.__)("Articles must have at least 450 characters.","microsoft-start"),"body.contains.duplicate.image.references":(0,De.__)("Content contains duplicate images.","microsoft-start"),"body.contains.duplicate.video.references":(0,De.__)("Content contains duplicate videos.","microsoft-start"),"body.hyperlink.brokenlinks.validation":(0,De.__)("Content contains broken links.","microsoft-start"),"body.hyperlink.category.maxFailures":(0,De.__)("At least one link is broken.","microsoft-start"),"document.byteSize.range":(0,De.__)("File size exceeds 524 KB.","microsoft-start"),"document.content.character.count.range":(0,De.__)("Character count exceeds 500,000.","microsoft-start"),"document.controllisted.isNot":(0,De.__)("Content source not approved for use.","microsoft-start"),"document.controlListReason.GeoPol":(0,De.__)("Content source not approved due to sensitivity detected.","microsoft-start"),"document.controlListReason.Other":(0,De.__)("Content source not approved due to sensitivity detected.","microsoft-start"),"document.controlListReason.ProhibitedContent":(0,De.__)("Content source not approved due to sensitivity detected.","microsoft-start"),"document.dcsTags.suicideLabel.notDetected":(0,De.__)("At least one term or phrase promotes suicide or self-harm.","microsoft-start"),"document.hasFailedEmbeds":(0,De.__)("At least one embedded image or other content type failed validation. Contact us for details.","microsoft-start"),"document.languageDetection.matchesDocumentLocale":(0,De.__)("Article language doesn't match region setting.","microsoft-start"),"document.signalCondition.valid":(0,De.__)("Slideshow must have at least 200 characters from title to description.","microsoft-start"),"document.valid.publishdate":(0,De.__)("Dates must be listed in the following formats: “$1”, “$2”.","microsoft-start").replace("$1","Wed, 04 Oct 2017 15:00:00 +0200").replace("$2","2017-10-04T08:00:00-05:00"),"image.analytics.isNotAlcoholRelated":(0,De.__)("At least one image glamorizes the use of alcohol.","microsoft-start"),"image.analytics.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"image.analytics.profanity.notAdult":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.analytics.profanity.notGore":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.analytics.profanity.notRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.byteSize.range":(0,De.__)("Image file size must be at least 10KB.","microsoft-start"),"image.moderation.profanity.notAdult":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.moderation.profanity.notAdultOrRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.moderation.profanity.notGore":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.moderation.profanity.notRacy":(0,De.__)("At least one image contains nudity or sexual content.","microsoft-start"),"image.ocr.text.valid":(0,De.__)("At least one image contains profanity or vulgar language.","microsoft-start"),"image.text.isNotDeadBodyRelated":(0,De.__)("At least one image shows a dead body.","microsoft-start"),"image.text.isNotDrugRelated":(0,De.__)("At least one image glamorizes drug use.","microsoft-start"),"image.text.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"labels.category.productAndLabel.joined.isNotLocalRSS":(0,De.__)("A content source hasn't been validated.","microsoft-start"),"licensingRights.hasSyndicationRights.has":(0,De.__)("At least one image has potential copyright issues.","microsoft-start"),"message.exception":(0,De.__)("Unable to publish. Contact us for help.","microsoft-start"),"moderation.appeal.timeout":(0,De.__)("Appeal request has timed out. Resubmit or contact us for help.","microsoft-start"),"Moderation.Failure.Other":(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start"),"moderation.pendingreview.timeout":(0,De.__)("Moderation request timed out. Resubmit or contact us for help.","microsoft-start"),"Moderation.Error":(0,De.__)("Moderation service error. Contact us for help.","microsoft-start"),"MSPH.video.insights.isComplete":(0,De.__)("Video processing error. Contact us for help.","microsoft-start"),"prohibited.content.isNotUndark":(0,De.__)("May contain copyrighted material.","microsoft-start"),"promoCard.image.reference.exists":(0,De.__)("Featured image is missing.","microsoft-start"),"seo.canonicalUrl.isValid":(0,De.__)("Canonical URL is broken.","microsoft-start"),"slide.body.hyperlink.category.maxFailures":(0,De.__)("Content contains broken links.","microsoft-start"),"slide.count.range":(0,De.__)("A gallery must have between 2 and 200 images.","microsoft-start"),"slide.image.reference.joined.exists":(0,De.__)("At least one slide is missing an image.","microsoft-start"),"Social.embeds":(0,De.__)("Social media embedded in this content contains profanity.","microsoft-start"),"sourceMetering.isMetered.isNot":(0,De.__)("Exceeds daily posting limit.","microsoft-start"),"textAnalytics.valid":(0,De.__)("At least one term or phrase contains profanity or vulgar language.","microsoft-start"),"video.ClosedCaptions.Exists":(0,De.__)("Video is missing closed captions.","microsoft-start"),"video.hasThumbnail":(0,De.__)("Video thumbnail is missing.","microsoft-start"),"video.insights.isNotAdultOrRacy":(0,De.__)("At least one video contains nudity or sexual content.","microsoft-start"),"video.insights.isComplete":(0,De.__)("An error occurred processing a video. Resubmit or contact us for help.","microsoft-start"),"video.moderation":(0,De.__)("At least one video contains graphic violence, nudity, or sexual content.","microsoft-start"),"Video.Moderation.Rejected":(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start"),"video.processing.pending.timeout":(0,De.__)("Video processing has timed out. Resubmit or contact us for help.","microsoft-start"),"video.processingStatus.isComplete":(0,De.__)("Video processing error. Contact us for help.","microsoft-start"),"image.moderation.isNotAlcoholRelated":(0,De.__)("At least one image glamorizes the use of alcohol.","microsoft-start"),"image.moderation.isNotSmokingRelated":(0,De.__)("At least one image glamorizes the use of tobacco products.","microsoft-start"),"image.moderation.notViolent":(0,De.__)("At least one image depicts graphic violence.","microsoft-start"),"image.moderation.notSuicide":(0,De.__)("At least one image depicts suicide or self-harm.","microsoft-start"),"image.moderation.isNotIllegalDrugRelated":(0,De.__)("At least one image glamorizes drug use.","microsoft-start"),"document.controlListReason.ComplianceRequirement":(0,De.__)("Content did not pass review.","microsoft-start"),"document.has.duplicateVersion":(0,De.__)("Content is a duplicate of a previously published version.","microsoft-start"),"body.validHtmlEncoding":(0,De.__)("Content contains invalid HTML encoding.","microsoft-start"),"image.dimensionssize.flattened.range":(0,De.__)("Each image side must be at least 400px in length.","microsoft-start")},At=((0,De.__)("Draft","microsoft-start"),(0,De.__)("Under review","microsoft-start"),(0,De.__)("Published","microsoft-start"),(0,De.__)("Rejected","microsoft-start"),(0,De.__)("Unpublished","microsoft-start"),(0,De.__)("Not submitted","microsoft-start"),(0,De.__)("Unpublishing","microsoft-start"),(0,De.__)("Not found","microsoft-start"),(0,De.__)("Unknown","microsoft-start"),function(e){var r,n,o=e.detail,i=e.number;return t().createElement("div",{className:_t["failure-detail-item"]},t().createElement("div",{className:_t["failure-detail-num"]},i),t().createElement("div",{className:_t["failure-detail-content"]},St[o.key],!!(null===(r=o.words)||void 0===r?void 0:r.length)&&t().createElement("div",{className:_t["failure-detail-word-container"]},o.words.map((function(e,r){return t().createElement("span",{key:r,className:_t["failure-detail-word"]},e)}))),!!(null===(n=o.imageUrls)||void 0===n?void 0:n.length)&&t().createElement("div",{className:_t["failure-detail-image-container"]},o.imageUrls.map((function(e,r){return t().createElement("img",{key:r,className:_t["failure-detail-image"],src:e})}))),(o.isWordsExceedLimit||o.isImagesExceedLimit)&&t().createElement("div",{className:_t["failure-detail-limit"]},(0,De.__)("Only a maximum of 50 images or 100 words are shown here.","microsoft-start"))))}),Et=function(e){var r=e.failureDetails;if(!r)return null;var n=r.filter((function(e){return Object.keys(St).includes(e.key)}));return t().createElement(t().Fragment,null,t().createElement("div",{className:_t.tip,dangerouslySetInnerHTML:{__html:(0,De.__)("The following does not meet our %s.","microsoft-start").replace("%s",'').concat((0,De.__)("publishing guidelines","microsoft-start"),""))}}),t().createElement("div",{className:_t["failure-list"]},n.length?n.map((function(e,r){return t().createElement(At,{key:r,detail:e,number:r+1})})):(0,De.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start")))};function Ct(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function kt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ct(i,n,o,a,s,"next",e)}function s(e){Ct(i,n,o,a,s,"throw",e)}a(void 0)}))}}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&void 0!==o[1]?o[1]:{},r=o.length>2&&void 0!==o[2]?o[2]:jt,r=Pt({},jt,r),n=r.retryCounts,[2,new Promise((function(o,i){var a=function(){var s=kt((function(){return It(this,(function(s){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),Pt({},Nt,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,a()):i(e)})),[2]}))}));return function(){return s.apply(this,arguments)}}();a()}))]}))})),function(e){return Rt.apply(this,arguments)}),Tt=function(e){return Mt("../?rest_route=/microsoft/v1/msn-post-detail/".concat(e),{method:"GET"})};function Ft(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Lt(){var e=Ft(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]);return Lt=function(){return e},e}function Dt(){var e=Ft(["\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n"]);return Dt=function(){return e},e}function $t(){var e=Ft(["\n display: block;\n border: 2px solid;\n border-color: #c7e0f4;\n border-left-color: #0078d4;\n border-radius: 100%;\n animation: "," 1s linear infinite;\n"]);return $t=function(){return e},e}function zt(){var e=Ft(["\n font-size: 12px;\n line-height: 16px;\n color: #0078d4;\n margin-top: 8px;\n"]);return zt=function(){return e},e}var Bt=Me.div(Lt()),Ut=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r").replaceAll("{/b}","")}}))},t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__label-icon--KUoTi"},Le))),t().createElement("select",{className:yt,name:"",id:"",value:l,onChange:function(e){var t;t=e.target.value,a({meta:{MSN_Is_AIAC_Included:t}})}},Object.entries(mt).map((function(e){return t().createElement("option",{key:e[0],value:e[0]},e[1])}))))),t().createElement(Ue.PanelRow,null,t().createElement("div",{className:gt},t().createElement(Yt.PostTaxonomies,{taxonomyWrapper:function(e,r){return"post_tag"!==r.slug?t().createElement(t().Fragment,null):t().createElement(t().Fragment,null,e)}}))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Change author name","microsoft-start")),t().createElement(Ue.FormToggle,{checked:d,onChange:function(){return a({meta:{MSN_Has_Custom_Author:!d}})}})),t().createElement(Ue.PanelRow,{className:d?"":ht},t().createElement("div",{className:"".concat(gt," ").concat(bt)},t().createElement(Ue.TextControl,{onChange:function(e){return a({meta:{MSN_Custom_Author:e}})},value:f}))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Customize canonical URL","microsoft-start")),t().createElement(Ue.FormToggle,{checked:m,onChange:function(){return a({meta:{MSN_Has_Custom_Canonical_Url:!m}})}})),t().createElement(Ue.PanelRow,null,t().createElement("div",{className:"".concat(gt," ").concat(bt)},t().createElement(Ue.TextControl,{className:m?"":ht,onChange:function(e){return a({meta:{MSN_Custom_Canonical_Url:e}})},value:p,placeholder:(0,De.__)("URL to the original story for search crawlers","microsoft-start")}),!m&&t().createElement("p",{className:vt},(0,De.__)("URL of your post will be used as the canonical URL.","microsoft-start")))),t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Local news","microsoft-start")),t().createElement(Ue.FormToggle,{checked:c,onChange:function(){return a({meta:{MSN_Is_Local_News:!c}})}})),t().createElement("p",{className:vt},(0,De.__)("Target this post for audiences in specific areas.","microsoft-start")),t().createElement(Ue.PanelRow,{className:c?"":ht},t().createElement("div",{className:gt},t().createElement(Ue.BaseControl.VisualLabel,null,(0,De.__)("Target audience location","microsoft-start")),t().createElement("div",{className:"mscreator-iframe-container","data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":u})))),g&&t().createElement(Ue.PanelRow,null,t().createElement("a",{href:wt("/management/content/article"),target:"_blank"},(0,De.__)("View post on Microsoft Start","microsoft-start"))))};function mr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]'.concat((0,De.__)("Refresh","microsoft-start"),"")),message:""};case st.AppealFailed:return{status:"error",title:(0,De.__)("Appeal error","microsoft-start"),message:(0,De.__)("There was an error submitting your appeal. Contact support for help.","microsoft-start")};case st.AppealRejected:return{status:"error",title:(0,De.__)("Appeal denied","microsoft-start"),message:(0,De.__)("This article violates our publishing guidelines and will remain unpublished.","microsoft-start")};default:return null}}(null==u||null===(e=u.appealSignal)||void 0===e?void 0:e.appealStatus);return(null==r?void 0:r.title)?t().createElement(Ue.Notice,{status:r.status,className:"microsoft-start-src-postEditor-components-newsPanelBody-module__tips--YVvEw",isDismissible:!1},t().createElement("span",{onClick:g,dangerouslySetInnerHTML:{__html:r.title}})):null}),[u]),y=(0,e.useMemo)((function(){var e=function(e){var t,r,n,o,i,a,s,c="",l="#EF4444";return"false"===window.msn_sidebar_settings.enabled?c=(0,De.__)("To use Microsoft Start Partner Hub, connect your WordPress website","microsoft-start"):ft?c=(0,De.__)("Your brand was suspended by Microsoft Start and content can't be published.","microsoft-start"):(null===(t=window.msn_dashboard_render_status.profile)||void 0===t?void 0:t.partnerStatus)===nt.Shutdown?c=(0,De.__)("Your account was not approved. Transactions for this account is not allowed.","microsoft-start"):(null===(r=window.msn_dashboard_render_status.profile)||void 0===r?void 0:r.partnerStatus)===nt.VettingFailed&&(null===(n=window.msn_dashboard_render_status.profile)||void 0===n||null===(o=n.partnerMetadata)||void 0===o?void 0:o.tradeScreeningStatus)===ot.DataIssue?c=(0,De.__)("There seems to be an error in the information submitted. To proceed with next steps, please check the data submitted or contact ({email}) for support.","microsoft-start").replace("{email}","newshelp@microsoft.com"):"false"===window.msn_sidebar_settings.brand_active?c=(0,De.__)("Once your profile is approved, you can automatically publish your WordPress posts to Microsoft Start. Your work will appear alongside content from individual creators and established media brands.","microsoft-start"):(null===(i=window.msn_dashboard_render_status.profile)||void 0===i||null===(a=i.partnerMetadata)||void 0===a||null===(s=a.paymentStatus)||void 0===s?void 0:s.stripeAccountStatus)===it.NotExist?c=window.msn_sidebar_settings.is_admin?(0,De.__)("You can't publish content until you add a payment account.","microsoft-start"):(0,De.__)("A payment account has not been added by your organization. This is required for publishing.","microsoft-start"):"private"===e||"password"===e?(c=(0,De.__)("To change publishing settings, set post visibility to public","microsoft-start"),l="#1E1E1E"):window.msn_sidebar_settings.feed_mode&&(c=(0,De.__)("The content will be automatically published to Microsoft by feed as your setting.","microsoft-start")),{text:c,color:l}}(i),r=e.text,n=e.color;return r?t().createElement(Ue.PanelRow,null,t().createElement("div",null,t().createElement("p",null,t().createElement("b",{style:{color:n}},r)))):null}),[]);(0,e.useEffect)((function(){!o||window.msn_reject_detail_loaded&&function(e,t){try{var r=JSON.parse((n="__msn_rejectDetail",localStorage.getItem(n)||"{}"));if(r.postId===e)return t(r),!0}catch(e){}var n;return!1}(o,d)||gr(o,d).finally((function(){window.msn_reject_detail_loaded=!0}))}),[o]);var b=(0,e.useMemo)((function(){return t().createElement(fr,{meta:n,editPost:a,featuredImageId:s})}),[n,a,s]),_=(0,e.useMemo)((function(){return t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__reject-detail-container--oBLuL"},t().createElement(Et,{failureDetails:null==u?void 0:u.failureDetails}))}),[u]);return t().createElement(Ue.PanelBody,{title:(0,De.__)("Publishing settings for this post","microsoft-start"),className:"msn-sidebar"},v,y||(o&&!u?t().createElement("div",{className:"microsoft-start-src-postEditor-components-newsPanelBody-module__spinner-container--SQpw0"},t().createElement(Wt,null)):t().createElement(t().Fragment,null,t().createElement(Ue.PanelRow,null,t().createElement("label",null,(0,De.__)("Publish to Microsoft","microsoft-start")),t().createElement(Ue.FormToggle,{checked:c,onChange:function(){return a({meta:{MSN_Publish_Option:!c}})},disabled:h})),t().createElement("div",{className:c&&!h?"":"microsoft-start-src-postEditor-components-newsPanelBody-module__inactive-sidebar--wWnHO"},o&&(null==u?void 0:u.failureDetails)?t().createElement(Ue.TabPanel,{tabs:[{name:"settings",title:(0,De.__)("Settings","microsoft-start")},{name:"rejection-details",title:(0,De.__)("Rejection details","microsoft-start")}]},(function(e){switch(e.name){case"settings":return b;case"rejection-details":return _;default:return t().createElement(t().Fragment,null)}})):b))))}))),yr=(0,Ve.withSelect)((function(e){return{meta:e("core/editor").getEditedPostAttribute("meta")||{}}}))((function(e){return e.meta.MSN_Publish_Option?t().createElement(i.PluginPostPublishPanel,null,t().createElement("a",{href:wt("/management/content/article"),target:"_blank"},(0,De.__)("View post on Microsoft Start","microsoft-start"))):null})),br=function(){return t().createElement(i.PluginPrePublishPanel,null,t().createElement(vr,null))};var _r;Be("microsoft_sidebar_panels","microsoft-start",t().createElement(vr,null)),Be("microsoft_editor_plugin","microsoft-start",t().createElement(br,null)),Be("microsoft_editor_plugin","microsoft-start",t().createElement(yr,null)),_r="microsoft-sidebar",(0,o.getPlugin)(_r)||(0,o.registerPlugin)(_r,{icon:function(){return Fe},render:function(){var e=(0,n.applyFilters)("microsoft_editor_plugin",[]);return t().createElement(t().Fragment,null,t().createElement($e,null),e)}})})()})(); //# sourceMappingURL=editorSidebar.js.map \ No newline at end of file diff --git a/wp-content/plugins/microsoft-start/assets/js/status.asset.php b/wp-content/plugins/microsoft-start/assets/js/status.asset.php index 929e6836d..3e074cfb2 100644 --- a/wp-content/plugins/microsoft-start/assets/js/status.asset.php +++ b/wp-content/plugins/microsoft-start/assets/js/status.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => '87d04ad5f23c3fad79ba'); + array('react', 'react-dom', 'wp-components', 'wp-i18n'), 'version' => '8c89546ee5175b25481e'); diff --git a/wp-content/plugins/microsoft-start/assets/js/status.js b/wp-content/plugins/microsoft-start/assets/js/status.js index 4fb30349d..001c0e047 100644 --- a/wp-content/plugins/microsoft-start/assets/js/status.js +++ b/wp-content/plugins/microsoft-start/assets/js/status.js @@ -1,2 +1,2 @@ -(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=m(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(t),h=c(r),v=0;v{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case m:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case h:case c:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=m,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===g)},t.typeOf=w},237:(e,t,r)=>{"use strict";e.exports=r(198)},195:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");r=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===f||e===m||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case f:case m:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case h:case p:case c:return e;default:return t}}case o:return t}}}},357:(e,t,r)=>{"use strict";e.exports=r(195)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0;var n={};(()=>{"use strict";r.d(n,{$:()=>Eo,V:()=>Co});const e=window.React;var t=r.n(e);function o(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,c,"next",e)}function c(e){o(a,n,i,s,c,"throw",e)}s(void 0)}))}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&void 0!==o[1]?o[1]:{},r=s({},f,r=o.length>2&&void 0!==o[2]?o[2]:f),n=r.retryCounts,[2,new Promise((function(o,a){var c=function(){var l=i((function(){return u(this,(function(i){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),s({},d,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,c()):a(e)})),[2]}))}));return function(){return l.apply(this,arguments)}}();c()}))]}))})),function(e){return l.apply(this,arguments)});const p=window.ReactDOM;var h=r.n(p),v=r(357),g=r(631),y=r.n(g);const b=function(e){function t(e,n,c,l,f){for(var m,p,h,v,_,S=0,C=0,E=0,A=0,x=0,I=0,R=h=m=0,D=0,L=0,F=0,z=0,$=c.length,U=$-1,B="",H="",V="",W="";D<$;){if(p=c.charCodeAt(D),D===U&&0!==C+A+E+S&&(0!==C&&(p=47===C?10:47),A=E=S=0,$++,U++),0===C+A+E+S){if(D===U&&(0m)&&(z=(B=B.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var z=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&F(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=B&&(B=t+1),$.set(e,t),U.set(t,e)},G="style["+T+'][data-styled-version="5.3.6"]',Y=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),q=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(T))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(T,"active"),n.setAttribute("data-styled-version","5.3.6");var a=K();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},J=function(){function e(e){var t=this.element=X(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),oe=/(a)(d)/gi,ie=function(e){return String.fromCharCode(e+(e>25?39:97))};function ae(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ie(t%52)+r;return(ie(t%52)+r).replace(oe,"$1-$2")}var se=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ce=function(e){return se(5381,e)};function le(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=se(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,h)){var v=r(u,"."+h,void 0,n);t.insertRules(n,h,v)}o.push(h)}}return o.join(" ")},e}(),fe=/^\s*\/\/.*$/gm,me=[":","[",".","#"];function pe(e){var t,r,n,o,i=void 0===e?j:e,a=i.options,s=void 0===a?j:a,c=i.plugins,l=void 0===c?N:c,u=new b(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),m=function(e,n,i){return 0===n&&-1!==me.indexOf(i[r.length])||i.match(o)?e:"."+t};function p(e,i,a,s){void 0===s&&(s="&");var c=e.replace(fe,""),l=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(a||!i?"":i,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,m))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=l.length?l.reduce((function(e,t){return t.name||F(15),se(e,t.name)}),5381).toString():"",p}var he=t().createContext(),ve=(he.Consumer,t().createContext()),ge=(ve.Consumer,new ne),ye=pe();function be(){return(0,e.useContext)(he)||ge}function _e(r){var n=(0,e.useState)(r.stylisPlugins),o=n[0],i=n[1],a=be(),s=(0,e.useMemo)((function(){var e=a;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),c=(0,e.useMemo)((function(){return pe({options:{prefix:!r.disableVendorPrefixes},plugins:o})}),[r.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){y()(o,r.stylisPlugins)||i(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(he.Provider,{value:s},t().createElement(ve.Provider,{value:c},r.children))}var we=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ye);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return F(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ye),this.name+e.hash},e}(),Se=/([A-Z])/,Ce=/([A-Z])/g,Ee=/^ms-/,Ae=function(e){return"-"+e.toLowerCase()};function xe(e){return Se.test(e)?e.replace(Ce,Ae).replace(Ee,"-ms-"):e}var Oe=function(e){return null==e||!1===e||""===e};function ke(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Ie=/(^-|-$)/g;function Me(e){return e.replace(je,"-").replace(Ie,"")}var Re=function(e){return ae(ce(e)>>>0)};function Te(e){return"string"==typeof e&&!0}var De=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Le=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Fe(e,t,r){var n=e[r];De(t)&&De(n)?ze(n,t):e[r]=t}function ze(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(o[r]=e[r]);return o}(n,["componentId"]),i=t&&t+"-"+(Te(e)?e:Me(M(e)));return Be(e,O({},r,{attrs:p,componentId:i}),o)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?ze({},r.defaultProps,e):e}}),v.toString=function(){return"."+v.styledComponentId},a&&A()(v,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var He=function(e){return function e(t,r,n){if(void 0===n&&(n=j),!(0,v.isValidElementType)(r))return F(1,String(r));var o=function(){return t(r,n,Ne.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,O({},n,{},o))},o.attrs=function(o){return e(t,r,O({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Be,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){He[e]=He(e)})),function(){var e=function(e,t){this.rules=e,this.componentId=t,this.isStatic=le(e),ne.registerId(this.componentId+1)}.prototype;e.createStyles=function(e,t,r,n){var o=n(ke(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},e.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.renderStyles=function(e,t,r,n){e>2&&ne.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=K();return""},this.getStyleTags=function(){return e.sealed?F(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return F(2);var n=((r={})[T]="",r["data-styled-version"]="5.3.6",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),o=K();return o&&(n.nonce=o),[t().createElement("style",O({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ne({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?F(2):t().createElement(_e,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return F(3)}}();const Ve=He;function We(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ge(){var e=We(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]);return Ge=function(){return e},e}function Ye(){var e=We(["\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n"]);return Ye=function(){return e},e}function qe(){var e=We(["\n display: block;\n border: 2px solid;\n border-color: #c7e0f4;\n border-left-color: #0078d4;\n border-radius: 100%;\n animation: "," 1s linear infinite;\n"]);return qe=function(){return e},e}function Ze(){var e=We(["\n font-size: 12px;\n line-height: 16px;\n color: #0078d4;\n margin-top: 8px;\n"]);return Ze=function(){return e},e}var Ke=Ve.div(Ge()),Xe=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:lt(e)?2:ut(e)?3:0}function st(e,t){return 2===at(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ct(e,t,r){var n=at(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function lt(e){return Lt&&e instanceof Map}function ut(e){return Ft&&e instanceof Set}function dt(e){return e.o||e.t}function ft(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wt(e);delete t[Bt];for(var r=Vt(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=pt),Object.freeze(e),t&&it(e,(function(e,t){return mt(t,!0)}),!0)),e}function pt(){rt(2)}function ht(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function vt(e){var t=Gt[e];return t||rt(18,e),t}function gt(){return Tt}function yt(e,t){t&&(vt("Patches"),e.u=[],e.s=[],e.v=t)}function bt(e){_t(e),e.p.forEach(St),e.p=null}function _t(e){e===Tt&&(Tt=e.l)}function wt(e){return Tt={p:[],l:Tt,h:e,m:!0,_:0}}function St(e){var t=e[Bt];0===t.i||1===t.i?t.j():t.O=!0}function Ct(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||vt("ES5").S(t,e,n),n?(r[Bt].P&&(bt(t),rt(4)),ot(e)&&(e=Et(t,e),t.l||xt(t,e)),t.u&&vt("Patches").M(r[Bt].t,e,t.u,t.s)):e=Et(t,r,[]),bt(t),t.u&&t.v(t.u,t.s),e!==$t?e:void 0}function Et(e,t,r){if(ht(t))return t;var n=t[Bt];if(!n)return it(t,(function(o,i){return At(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return xt(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=ft(n.k):n.o,i=o,a=!1;3===n.i&&(i=new Set(o),o.clear(),a=!0),it(i,(function(t,i){return At(e,n,o,t,i,r,a)})),xt(e,o,!1),r&&e.u&&vt("Patches").N(n,r,e.u,e.s)}return n.o}function At(e,t,r,n,o,i,a){if(nt(o)){var s=Et(e,o,i&&t&&3!==t.i&&!st(t.R,n)?i.concat(n):void 0);if(ct(r,n,s),!nt(s))return;e.m=!1}else a&&r.add(o);if(ot(o)&&!ht(o)){if(!e.h.D&&e._<1)return;Et(e,o),t&&t.A.l||xt(e,o)}}function xt(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&mt(t,r)}function Ot(e,t){var r=e[Bt];return(r?dt(r):e)[t]}function kt(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Pt(e){e.P||(e.P=!0,e.l&&Pt(e.l))}function Nt(e){e.o||(e.o=ft(e.t))}function jt(e,t,r){var n=lt(t)?vt("MapSet").F(t,r):ut(t)?vt("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:gt(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Yt;r&&(o=[n],i=qt);var a=Proxy.revocable(o,i),s=a.revoke,c=a.proxy;return n.k=c,n.j=s,c}(t,r):vt("ES5").J(t,r);return(r?r.A:gt()).p.push(n),n}function It(e){return nt(e)||rt(22,e),function e(t){if(!ot(t))return t;var r,n=t[Bt],o=at(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,r=Mt(t,o),n.I=!1}else r=Mt(t,o);return it(r,(function(t,o){n&&function(e,t){return 2===at(e)?e.get(t):e[t]}(n.t,t)===o||ct(r,t,e(o))})),3===o?new Set(r):r}(e)}function Mt(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ft(e)}var Rt,Tt,Dt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lt="undefined"!=typeof Map,Ft="undefined"!=typeof Set,zt="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$t=Dt?Symbol.for("immer-nothing"):((Rt={})["immer-nothing"]=!0,Rt),Ut=Dt?Symbol.for("immer-draftable"):"__$immer_draftable",Bt=Dt?Symbol.for("immer-state"):"__$immer_state",Ht=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Vt="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wt=Object.getOwnPropertyDescriptors||function(e){var t={};return Vt(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Gt={},Yt={get:function(e,t){if(t===Bt)return e;var r=dt(e);if(!st(r,t))return function(e,t,r){var n,o=kt(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!ot(n)?n:n===Ot(e.t,t)?(Nt(e),e.o[t]=jt(e.A.h,n,e)):n},has:function(e,t){return t in dt(e)},ownKeys:function(e){return Reflect.ownKeys(dt(e))},set:function(e,t,r){var n=kt(dt(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Ot(dt(e),t),i=null==o?void 0:o[Bt];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,o)&&(void 0!==r||st(e.t,t)))return!0;Nt(e),Pt(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Ot(e.t,t)||t in e.t?(e.R[t]=!1,Nt(e),Pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=dt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){rt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){rt(12)}},qt={};it(Yt,(function(e,t){qt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),qt.deleteProperty=function(e,t){return qt.set.call(this,e,t,void 0)},qt.set=function(e,t,r){return Yt.set.call(this,e[0],t,r,e[0])};var Zt=function(){function e(e){var t=this;this.g=zt,this.D=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var o=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var n=arguments.length,a=Array(n>1?n-1:0),s=1;s1?n-1:0),i=1;i=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var o=vt("Patches").$;return nt(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),Kt=new Zt,Xt=Kt.produce;Kt.produceWithPatches.bind(Kt),Kt.setAutoFreeze.bind(Kt),Kt.setUseProxies.bind(Kt),Kt.applyPatches.bind(Kt),Kt.createDraft.bind(Kt),Kt.finishDraft.bind(Kt);const Jt=Xt;var Qt=function(e){return m("../?rest_route=/microsoft/v1/msn-id/".concat(e),{method:"GET"})};const er=window.wp.i18n;function tr(){var e,t,r=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return tr=function(){return r},r}Ve.i(tr());var rr=t().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 13.0602L15.7123 16.7725L16.773 15.7118L13.0607 11.9995L16.773 8.28723L15.7123 7.22657L12 10.9389L8.28768 7.22656L7.22702 8.28722L10.9393 11.9995L7.22703 15.7119L8.28769 16.7725L12 13.0602Z",fill:"#1E1E1E"})),nr=t().createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M7.5 15C6.80729 15 6.14323 14.9115 5.50781 14.7344C4.8724 14.5573 4.27344 14.3073 3.71094 13.9844C3.14844 13.6615 2.64323 13.2708 2.19531 12.8125C1.7474 12.3542 1.35677 11.8464 1.02344 11.2891C0.690104 10.7318 0.4375 10.1354 0.265625 9.5C0.09375 8.86458 0.00520833 8.19792 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.8724 0.692708 4.27344 1.01562 3.71094C1.33854 3.14844 1.72917 2.64323 2.1875 2.19531C2.64583 1.7474 3.15365 1.35677 3.71094 1.02344C4.26823 0.690104 4.86458 0.4375 5.5 0.265625C6.13542 0.09375 6.80208 0.00520833 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1276 0.442708 10.7266 0.692708 11.2891 1.01562C11.8516 1.33854 12.3568 1.72917 12.8047 2.1875C13.2526 2.64583 13.6432 3.15365 13.9766 3.71094C14.3099 4.26823 14.5625 4.86458 14.7344 5.5C14.9062 6.13542 14.9948 6.80208 15 7.5C15 8.19271 14.9115 8.85677 14.7344 9.49219C14.5573 10.1276 14.3073 10.7266 13.9844 11.2891C13.6615 11.8516 13.2708 12.3568 12.8125 12.8047C12.3542 13.2526 11.8464 13.6432 11.2891 13.9766C10.7318 14.3099 10.1354 14.5625 9.5 14.7344C8.86458 14.9062 8.19792 14.9948 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70573 1.60938 4.22656 1.89062C3.7474 2.17188 3.30729 2.51042 2.90625 2.90625C2.50521 3.30208 2.16667 3.73958 1.89062 4.21875C1.61458 4.69792 1.39583 5.21615 1.23438 5.77344C1.07292 6.33073 0.994792 6.90625 1 7.5C1 8.09375 1.07812 8.66667 1.23438 9.21875C1.39062 9.77083 1.60938 10.2891 1.89062 10.7734C2.17188 11.2578 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.69792 13.3906 5.21615 13.6094 5.77344 13.7656C6.33073 13.9219 6.90625 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77083 13.6094 10.2891 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.3021 13.6094 9.78385 13.7656 9.22656C13.9219 8.66927 14 8.09375 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22917 13.3906 4.71094 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2604 2.17188 10.7812 1.89062C10.3021 1.60938 9.78385 1.39062 9.22656 1.23438C8.66927 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z",fill:"black"})),or=t().createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11ZM5.25 8.25C5.25 7.83579 5.58579 7.5 6 7.5C6.41421 7.5 6.75 7.83579 6.75 8.25C6.75 8.66421 6.41421 9 6 9C5.58579 9 5.25 8.66421 5.25 8.25ZM5.50806 3.41012C5.55039 3.17688 5.75454 3 6 3C6.24546 3 6.44961 3.17688 6.49194 3.41012L6.5 3.5V6L6.49194 6.08988C6.44961 6.32312 6.24546 6.5 6 6.5C5.75454 6.5 5.55039 6.32312 5.50806 6.08988L5.5 6V3.5L5.50806 3.41012Z",fill:"currentColor"})),ir=t().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"})),ar=t().createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M6 1C8.76142 1 11 3.23858 11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1ZM6 2C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10C8.20914 10 10 8.20914 10 6C10 3.79086 8.20914 2 6 2ZM5.5 3.5C5.74546 3.5 5.94961 3.67688 5.99194 3.91012L6 4V6H7.5C7.77614 6 8 6.22386 8 6.5C8 6.74546 7.82312 6.94961 7.58988 6.99194L7.5 7H5.5C5.25454 7 5.05039 6.82312 5.00806 6.58988L5 6.5V4C5 3.72386 5.22386 3.5 5.5 3.5Z",fill:"#717171"}));function sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r|&.*?;/g,""))),!!(null==a?void 0:a.tags.length)&&t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},(0,er.__)("Tag","microsoft-start")),t().createElement("div",{className:Rr},null==a||null===(n=a.tags)||void 0===n?void 0:n.map((function(e){return"".concat(e,"; ")})))),t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},(0,er.__)("Microsoft Start category","microsoft-start")),t().createElement("div",{className:Rr},t().createElement(tt.SelectControl,{options:yn,value:s.MSN_Categories,onChange:function(e){c((function(t){t.MSN_Categories=e}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},t().createElement("span",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__label--ad0ud"},(0,er.__)("AI Assisted Content declaration","microsoft-start"),t().createElement(un,{zIndex:1e3,container:document.getElementById("wpwrap"),direaction:Ur.UpRight,content:t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__popover--Modp5"},t().createElement("div",{dangerouslySetInnerHTML:{__html:(0,er.__)("Select {b}Yes{/b} if any content (text, image or video) generated with the assistance of AI. Do not submit content that is unreviewed AI-generated content.","microsoft-start").replaceAll("{b}","").replaceAll("{/b}","")}}))},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__label-icon--N4CxR"},ir)))),t().createElement("div",{className:Rr},t().createElement(tt.SelectControl,{options:bn,value:s.MSN_Is_AIAC_Included,onChange:function(e){c((function(t){t.MSN_Is_AIAC_Included=e}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},t().createElement("span",null,(0,er.__)("Change author name","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Has_Custom_Author=!e.MSN_Has_Custom_Author}))},checked:s.MSN_Has_Custom_Author})),s.MSN_Has_Custom_Author&&t().createElement("div",{className:Rr},t().createElement(tt.TextControl,{value:s.MSN_Custom_Author,className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__author-input--pj0oi",type:"text",onChange:function(e){var t;t=e,c((function(e){e.MSN_Custom_Author=t}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},t().createElement("span",null,(0,er.__)("Customize canonical URL","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Has_Custom_Canonical_Url=!e.MSN_Has_Custom_Canonical_Url}))},checked:s.MSN_Has_Custom_Canonical_Url})),s.MSN_Has_Custom_Canonical_Url?t().createElement("div",{className:Rr},t().createElement(tt.TextControl,{value:s.MSN_Custom_Canonical_Url,className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__canonical-url-input--721sx",type:"text",onChange:function(e){var t;t=e,c((function(e){e.MSN_Custom_Canonical_Url=t}))},placeholder:(0,er.__)("URL to the original story for search crawlers","microsoft-start")})):t().createElement("div",{className:Tr},(0,er.__)("URL of your post will be used as the canonical URL.","microsoft-start"))),t().createElement("div",{className:Ir},t().createElement("div",{className:Mr},t().createElement("label",null,(0,er.__)("Local news","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Is_Local_News=!e.MSN_Is_Local_News}))},checked:s.MSN_Is_Local_News})),t().createElement("div",{className:Tr},(0,er.__)("Target this post for audiences in specific areas.","microsoft-start")),t().createElement("div",{style:{display:s.MSN_Is_Local_News?"block":"none"},className:Rr},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__content-label--vtmnh"},(0,er.__)("Target audience location","microsoft-start")),u&&t().createElement("div",{className:"mscreator-iframe-container","data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":null!==(i=s.MSN_Location)&&void 0!==i?i:null}))))};function Sn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Cn(){var e=Sn(["\n flex-shrink: 0;\n"]);return Cn=function(){return e},e}function En(){var e=Sn(["\n width: 280px;\n margin-bottom: auto;\n overflow: hidden;\n &:hover {\n overflow-y: auto;\n }\n"]);return En=function(){return e},e}function An(){var e=Sn(["\n width: 280px;\n"]);return An=function(){return e},e}var xn=Ve.div(Cn()),On=Ve.div(En()),kn=Ve.div(An()),Pn=function(e){var r=e.children;return t().createElement(On,null,t().createElement(kn,null,r))},Nn="__msn_tipsClosed";function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]').concat((0,er.__)("publishing guidelines","microsoft-start"),""))}}),t().createElement("div",{className:zn["failure-list"]},n.length?n.map((function(e,r){return t().createElement(Bn,{key:r,detail:e,number:r+1})})):(0,er.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start")))},Vn=function(e){var t=new Date(e),r=new Date,n=t.getTime()-r.getTime();return Math.ceil(n/864e5)};const Wn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__panel--k34Qu",Gn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__title--szihu",Yn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__content--cbOgf";(0,er.__)("This post meets our publishing guidelines. It has been published to Microsoft Start.","microsoft-start");function qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rKn?"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__textareaInvalid--D3Xn2":void 0}),s.length>Kn&&t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__textareaInvalidMessage--VWyZB"},or,(0,er.__)("Reasons should be no more than $1 characters","microsoft-start").replace("$1",Kn.toLocaleString())),t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__btnGroup--S_8B8"},t().createElement(tt.Button,{variant:"tertiary",onClick:i,disabled:u},(0,er.__)("Cancel","microsoft-start")),t().createElement(tt.Button,{variant:"primary",onClick:function(){var e={cmsId:o,reason:s};d(!0),function(e,t){return m("../?rest_route=/microsoft/v1/submit-appeal/".concat(e),{method:"POST",body:JSON.stringify(t)})}(n,e).then((function(e){(null==e?void 0:e.success)?(i(),Eo(n)):h(!0)})).catch((function(){h(!0)})).finally((function(){d(!1)}))},disabled:u||s.length>Kn},u&&t().createElement(et,{size:14,className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__spinner--BgEo6"}),(0,er.__)("Submit","microsoft-start"))))};var Jn=function(e){var r=e.children,n=e.tooltipMessage,o=void 0===n?(0,er.__)("Access denied","microsoft-start"):n;return t().createElement(t().Fragment,null,mn?t().createElement(un,{content:t().createElement("div",{className:"microsoft-start-src-components-SuspendedWrapper-index-module__tooltip-content--YgSd9"},o)},t().createElement("div",{className:"microsoft-start-src-components-SuspendedWrapper-index-module__children-wrap--a8RF6",onClick:function(e){e.preventDefault()}},r)):r)};function Qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r'.concat((0,er.__)("Refresh","microsoft-start"),"")),message:""};case on.AppealFailed:return{status:"error",title:(0,er.__)("Appeal error","microsoft-start"),message:(0,er.__)("There was an error submitting your appeal. Contact support for help.","microsoft-start")};case on.AppealRejected:return{status:"error",title:(0,er.__)("Appeal denied","microsoft-start"),message:(0,er.__)("This article violates our publishing guidelines and will remain unpublished.","microsoft-start")};default:return null}}(e.appealStatus);return"error"!==(null==r?void 0:r.status)?null:t().createElement(tt.Notice,{status:"error",className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__tips--NKO2o",isDismissible:!1},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__notificationTitle--nbHZz"},r.title),t().createElement("div",null,r.message))},ro=function(r){var n,o,i=r.postId,a=r.setLoading,s=r.onClose,c=eo((0,e.useState)(!1),2),l=c[0],u=c[1],d=eo((0,e.useState)(),2),f=d[0],p=d[1],h=eo((0,e.useState)(!1),2),v=h[0],g=h[1];return(0,e.useEffect)((function(){i&&(a(!0),function(e){return m("../?rest_route=/microsoft/v1/msn-post-detail/".concat(e),{method:"GET"})}(i).then((function(e){e&&p(e)})).finally((function(){a(!1)})))}),[i]),t().createElement(t().Fragment,null,t().createElement(hr,{onClose:s,title:(0,er.__)("Post rejected","microsoft-start")}),t().createElement(Pn,null,t().createElement(to,{appealStatus:null==f||null===(n=f.appealSignal)||void 0===n?void 0:n.appealStatus}),t().createElement(tt.PanelBody,{className:Wn,title:(0,er.__)("About the post","microsoft-start"),opened:l,onToggle:function(){return u((function(e){return!e}))}},t().createElement("div",{className:Gn},(0,er.__)("Title","microsoft-start")),t().createElement("div",{className:Yn},null==f?void 0:f.title),t().createElement("div",{className:Gn},(0,er.__)("Last updated in MSPH","microsoft-start")),t().createElement("div",{className:Yn},(null==f?void 0:f.updatedDateTime)&&function(e){var t;return new Date(e).toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})}(null==f?void 0:f.updatedDateTime))),t().createElement(tt.PanelBody,{className:Wn,title:(0,er.__)("Rejection details","microsoft-start")},t().createElement(Hn,{failureDetails:null==f?void 0:f.failureDetails}))),t().createElement(xn,null,t().createElement("div",{className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__button-container--yXml7"},(null==f||null===(o=f.appealSignal)||void 0===o?void 0:o.isAppealAllowed)&&(null==f?void 0:f.cmsId)&&t().createElement(Jn,null,t().createElement(tt.Button,{variant:"primary",onClick:function(){return g(!0)},disabled:mn},(0,er.__)("Appeal","microsoft-start"))),t().createElement(tt.Button,{variant:"secondary",onClick:function(){window.location.href="./post.php?post=".concat(i,"&action=edit")}},(0,er.__)("Edit content","microsoft-start")))),v&&(null==f?void 0:f.cmsId)&&t().createElement(Xn,{postId:i,cmsId:f.cmsId,onClose:function(){return g(!1)}}))};function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1)},xo=function(e){var r=e.postId,n=document.querySelector('div[data-post-id="'.concat(r,'"]')).dataset.postStatus;return t().createElement(t().Fragment,null,"publish"===n&&t().createElement(Jn,null,t().createElement("a",{className:po["status-link"],onClick:function(){var e,t;(null===(e=document.querySelector('div[data-post-id="'.concat(r,'"]')))||void 0===e||null===(t=e.dataset)||void 0===t?void 0:t.postIsEmpty)?kr({content:(0,er.__)("Empty content post cannot be published to MSPH.","microsoft-start")}):uo({type:"publish",postId:r})}},Ao(r)?(0,er.__)("Publish","microsoft-start"):(0,er.__)("Submit","microsoft-start"))))},Oo=function(e){var r=e.postId,n=e.appealStatus,o=function(e){switch(e){case on.Appealing:return(0,er.__)("Appealing","microsoft-start");case on.AppealFailed:return(0,er.__)("Appeal error","microsoft-start");case on.AppealRejected:return(0,er.__)("Appeal denied","microsoft-start");default:return""}}(n);return t().createElement(t().Fragment,null,t().createElement(ko,{status:"rejected",trailingString:o}),n!==on.Appealing&&t().createElement("a",{className:"".concat(po["status-link"]," ").concat(po["see-rejection-details-link"]),onClick:function(){uo({type:"see_reject_details",postId:r})}},(0,er.__)("See details","microsoft-start")))},ko=function(e){var r=e.status,n=e.trailingString;return t().createElement("div",{className:"".concat(po["msn-status-content"]," ").concat(po["msn-".concat(r)])},t().createElement("div",{className:po["status-text"]},Un[r],n&&" · ".concat(n)))},Po=function(r){var n=r.postId,o=(0,e.useMemo)((function(){var e,t,r;return!("false"===window.msn_sidebar_settings.enabled||"false"===window.msn_sidebar_settings.brand_active||(null===(e=window.msn_dashboard_render_status.profile)||void 0===e||null===(t=e.partnerMetadata)||void 0===t||null===(r=t.paymentStatus)||void 0===r?void 0:r.stripeAccountStatus)===rn.NotExist||"1"===window.msn_sidebar_settings.feed_mode)}),[]);return t().createElement(t().Fragment,null,t().createElement(ko,{status:Ao(n)?"unpublished":"notSubmitted"}),o&&t().createElement(xo,{postId:n}))},No=function(e){var r=e.content;return t().createElement("div",{className:po["msn-expiring-container"]},t().createElement(un,{content:t().createElement("div",{className:po["msn-expiring-popover"]},(0,er.__)("Content automatically expires $1 days after last update","microsoft-start").replace("$1",365..toString()))},t().createElement("div",{className:po["msn-expiring"]},ar,r)))},jo=function(e){var r=e.status,n=e.expirationDateTime;if(!bo(r)||!n)return null;var o=Vn(n);return o<=0||o>90?null:t().createElement(No,{content:1===o?(0,er.__)("Expires in 1 day","microsoft-start"):(0,er.__)("Expires in $1 days","microsoft-start").replace("$1",o.toString())})},Io=function(e){var r,n=e.data;return"empty"===n.msn_status?t().createElement(t().Fragment,null):"loading"===n.msn_status?t().createElement(t().Fragment,null,(0,er.__)("Loading...","microsoft-start")):bo(n.msn_status)&&n.expirationDateTime&&Vn(n.expirationDateTime)<=0?t().createElement(No,{content:(0,er.__)("Content expired","microsoft-start")}):"notPublishedToMSPH"===n.msn_status||"unpublished"===n.msn_status?t().createElement(Po,{postId:n.postId}):"rejected"===n.msn_status?t().createElement(t().Fragment,null,t().createElement(Oo,{postId:n.postId,appealStatus:null===(r=n.appealSignal)||void 0===r?void 0:r.appealStatus}),t().createElement(jo,{status:n.msn_status,expirationDateTime:n.expirationDateTime})):t().createElement(t().Fragment,null,t().createElement(ko,{status:n.msn_status}),t().createElement(jo,{status:n.msn_status,expirationDateTime:n.expirationDateTime}))};function Mo(e){var t,r=document.querySelector('div[data-post-id="'.concat(e,'"]'));t=Ao(e)?yo(go({},wo),{postId:e,msn_status:"loading"}):{msn_id:r.dataset.msnId,msn_status:"notPublishedToMSPH",postId:e,appealSignal:_o},Ro(t)}var Ro=function(e){var r=document.querySelector('div[data-post-id="'.concat(e.postId,'"]'));r&&h().render(t().createElement(Io,{data:e}),r)},To=function(e){var t;e&&e.length&&(t={postIds:e},m("../?rest_route=/microsoft/v1/msn-retrieval",{method:"POST",body:JSON.stringify(t)})).then((function(t){t&&t.length?t.forEach((function(e){Ao(e.postId)?Ro(e):Ro(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e.postId}))})):e.forEach((function(e){Ro(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e}))}))})).catch((function(){e.forEach((function(e){Ro(yo(go({},wo),{msn_status:"empty",postId:e}))}))})),document.querySelectorAll("div[data-post-id]").forEach((function(e){Ao(e.dataset.postId)||Ro(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e.dataset.postId}))}))};!function(){var e=Array.from(document.querySelectorAll("div[data-post-id]")).map((function(e){return e.dataset.postId})),t=!0,r=!1,n=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)Mo(o.value)}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}var a,s=Array.from(document.querySelectorAll("div[data-msn-id]")).map((function(e){return e.dataset.postId}));To(s),a=document.getElementById("the-list"),new MutationObserver((function(e){if(4===e.length&&e[2].addedNodes.length&&(o=e[2].addedNodes[1],null!=(i=HTMLTableRowElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](o):o instanceof i)){var t=e[2].addedNodes[1],r=Array.from(t.childNodes).find((function(e){var t;return(null==e||null===(t=e.className)||void 0===t?void 0:t.indexOf("msn-status"))>-1}));if(r){var n=Array.from(r.childNodes).find((function(e){var t;return null==e||null===(t=e.dataset)||void 0===t?void 0:t.postId})).dataset.postId;Mo(n),To([n])}}var o,i})).observe(a,{childList:!0})}()})()})(); +(()=>{var e={535:(e,t,r)=>{"use strict";var n=r(237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=m(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(t),h=c(r),v=0;v{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u1)for(var r=1;r{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case m:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case h:case c:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=m,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===m||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===g)},t.typeOf=w},237:(e,t,r)=>{"use strict";e.exports=r(198)},841:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,i=60108,a=60114,s=60109,c=60110,l=60112,u=60113,d=60120,f=60115,m=60116,p=60121,h=60122,v=60117,g=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),m=b("react.lazy"),p=b("react.block"),h=b("react.server.block"),v=b("react.fundamental"),g=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===g||e===i||e===u||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===v||e.$$typeof===p||e[0]===h)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case m:case f:case s:return e;default:return t}}case n:return t}}}},679:(e,t,r)=>{"use strict";e.exports=r(841)},631:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0;var n={};(()=>{"use strict";r.d(n,{$:()=>Eo,V:()=>Co});const e=window.React;var t=r.n(e);function o(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,c,"next",e)}function c(e){o(a,n,i,s,c,"throw",e)}s(void 0)}))}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&void 0!==o[1]?o[1]:{},r=o.length>2&&void 0!==o[2]?o[2]:f,r=s({},f,r),n=r.retryCounts,[2,new Promise((function(o,a){var c=function(){var l=i((function(){return u(this,(function(i){return fetch("".concat(e).concat(r.shouldForceRequest?"&_ts=".concat(Date.now()):""),s({},d,t)).then((function(e){e.json().then((function(e){o(e)})).catch((function(){o(void 0)}))})).catch((function(e){n>0?(n--,c()):a(e)})),[2]}))}));return function(){return l.apply(this,arguments)}}();c()}))]}))})),function(e){return l.apply(this,arguments)});const p=window.ReactDOM;var h=r.n(p),v=r(679),g=r(631),y=r.n(g);const b=function(e){function t(e,n,c,l,f){for(var m,p,h,v,_,S=0,C=0,E=0,A=0,x=0,I=0,M=h=m=0,D=0,L=0,F=0,z=0,$=c.length,U=$-1,B="",H="",V="",W="";D<$;){if(p=c.charCodeAt(D),D===U&&0!==C+A+E+S&&(0!==C&&(p=47===C?10:47),A=E=S=0,$++,U++),0===C+A+E+S){if(D===U&&(0m)&&(z=(B=B.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var z=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&F(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=B&&(B=t+1),$.set(e,t),U.set(t,e)},G="style["+T+'][data-styled-version="5.3.6"]',Y=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),q=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(T))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(T,"active"),n.setAttribute("data-styled-version","5.3.6");var a=K();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},J=function(){function e(e){var t=this.element=X(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),oe=/(a)(d)/gi,ie=function(e){return String.fromCharCode(e+(e>25?39:97))};function ae(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=ie(t%52)+r;return(ie(t%52)+r).replace(oe,"$1-$2")}var se=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ce=function(e){return se(5381,e)};function le(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=se(this.baseHash,r.hash),u="",d=0;d>>0);if(!t.hasNameForId(n,h)){var v=r(u,"."+h,void 0,n);t.insertRules(n,h,v)}o.push(h)}}return o.join(" ")},e}(),fe=/^\s*\/\/.*$/gm,me=[":","[",".","#"];function pe(e){var t,r,n,o,i=void 0===e?j:e,a=i.options,s=void 0===a?j:a,c=i.plugins,l=void 0===c?N:c,u=new b(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),m=function(e,n,i){return 0===n&&-1!==me.indexOf(i[r.length])||i.match(o)?e:"."+t};function p(e,i,a,s){void 0===s&&(s="&");var c=e.replace(fe,""),l=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(a||!i?"":i,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,m))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),p.hash=l.length?l.reduce((function(e,t){return t.name||F(15),se(e,t.name)}),5381).toString():"",p}var he=t().createContext(),ve=(he.Consumer,t().createContext()),ge=(ve.Consumer,new ne),ye=pe();function be(){return(0,e.useContext)(he)||ge}function _e(r){var n=(0,e.useState)(r.stylisPlugins),o=n[0],i=n[1],a=be(),s=(0,e.useMemo)((function(){var e=a;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),c=(0,e.useMemo)((function(){return pe({options:{prefix:!r.disableVendorPrefixes},plugins:o})}),[r.disableVendorPrefixes,o]);return(0,e.useEffect)((function(){y()(o,r.stylisPlugins)||i(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(he.Provider,{value:s},t().createElement(ve.Provider,{value:c},r.children))}var we=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ye);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return F(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ye),this.name+e.hash},e}(),Se=/([A-Z])/,Ce=/([A-Z])/g,Ee=/^ms-/,Ae=function(e){return"-"+e.toLowerCase()};function xe(e){return Se.test(e)?e.replace(Ce,Ae).replace(Ee,"-ms-"):e}var Oe=function(e){return null==e||!1===e||""===e};function ke(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Ie=/(^-|-$)/g;function Re(e){return e.replace(je,"-").replace(Ie,"")}var Me=function(e){return ae(ce(e)>>>0)};function Te(e){return"string"==typeof e&&!0}var De=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Le=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Fe(e,t,r){var n=e[r];De(t)&&De(n)?ze(n,t):e[r]=t}function ze(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(o[r]=e[r]);return o}(n,["componentId"]),i=t&&t+"-"+(Te(e)?e:Re(R(e)));return Be(e,O({},r,{attrs:p,componentId:i}),o)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?ze({},r.defaultProps,e):e}}),v.toString=function(){return"."+v.styledComponentId},a&&A()(v,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var He=function(e){return function e(t,r,n){if(void 0===n&&(n=j),!(0,v.isValidElementType)(r))return F(1,String(r));var o=function(){return t(r,n,Ne.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,O({},n,{},o))},o.attrs=function(o){return e(t,r,O({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(Be,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){He[e]=He(e)})),function(){var e=function(e,t){this.rules=e,this.componentId=t,this.isStatic=le(e),ne.registerId(this.componentId+1)}.prototype;e.createStyles=function(e,t,r,n){var o=n(ke(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},e.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.renderStyles=function(e,t,r,n){e>2&&ne.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=K();return""},this.getStyleTags=function(){return e.sealed?F(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return F(2);var n=((r={})[T]="",r["data-styled-version"]="5.3.6",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),o=K();return o&&(n.nonce=o),[t().createElement("style",O({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ne({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?F(2):t().createElement(_e,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return F(3)}}();const Ve=He;function We(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ge(){var e=We(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]);return Ge=function(){return e},e}function Ye(){var e=We(["\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n"]);return Ye=function(){return e},e}function qe(){var e=We(["\n display: block;\n border: 2px solid;\n border-color: #c7e0f4;\n border-left-color: #0078d4;\n border-radius: 100%;\n animation: "," 1s linear infinite;\n"]);return qe=function(){return e},e}function Ze(){var e=We(["\n font-size: 12px;\n line-height: 16px;\n color: #0078d4;\n margin-top: 8px;\n"]);return Ze=function(){return e},e}var Ke=Ve.div(Ge()),Xe=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:lt(e)?2:ut(e)?3:0}function st(e,t){return 2===at(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ct(e,t,r){var n=at(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function lt(e){return Lt&&e instanceof Map}function ut(e){return Ft&&e instanceof Set}function dt(e){return e.o||e.t}function ft(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wt(e);delete t[Bt];for(var r=Vt(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=pt),Object.freeze(e),t&&it(e,(function(e,t){return mt(t,!0)}),!0)),e}function pt(){rt(2)}function ht(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function vt(e){var t=Gt[e];return t||rt(18,e),t}function gt(){return Tt}function yt(e,t){t&&(vt("Patches"),e.u=[],e.s=[],e.v=t)}function bt(e){_t(e),e.p.forEach(St),e.p=null}function _t(e){e===Tt&&(Tt=e.l)}function wt(e){return Tt={p:[],l:Tt,h:e,m:!0,_:0}}function St(e){var t=e[Bt];0===t.i||1===t.i?t.j():t.O=!0}function Ct(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||vt("ES5").S(t,e,n),n?(r[Bt].P&&(bt(t),rt(4)),ot(e)&&(e=Et(t,e),t.l||xt(t,e)),t.u&&vt("Patches").M(r[Bt].t,e,t.u,t.s)):e=Et(t,r,[]),bt(t),t.u&&t.v(t.u,t.s),e!==$t?e:void 0}function Et(e,t,r){if(ht(t))return t;var n=t[Bt];if(!n)return it(t,(function(o,i){return At(e,n,t,o,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return xt(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=ft(n.k):n.o;it(3===n.i?new Set(o):o,(function(t,i){return At(e,n,o,t,i,r)})),xt(e,o,!1),r&&e.u&&vt("Patches").N(n,r,e.u,e.s)}return n.o}function At(e,t,r,n,o,i){if(nt(o)){var a=Et(e,o,i&&t&&3!==t.i&&!st(t.R,n)?i.concat(n):void 0);if(ct(r,n,a),!nt(a))return;e.m=!1}if(ot(o)&&!ht(o)){if(!e.h.D&&e._<1)return;Et(e,o),t&&t.A.l||xt(e,o)}}function xt(e,t,r){void 0===r&&(r=!1),e.h.D&&e.m&&mt(t,r)}function Ot(e,t){var r=e[Bt];return(r?dt(r):e)[t]}function kt(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Pt(e){e.P||(e.P=!0,e.l&&Pt(e.l))}function Nt(e){e.o||(e.o=ft(e.t))}function jt(e,t,r){var n=lt(t)?vt("MapSet").F(t,r):ut(t)?vt("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:gt(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,i=Yt;r&&(o=[n],i=qt);var a=Proxy.revocable(o,i),s=a.revoke,c=a.proxy;return n.k=c,n.j=s,c}(t,r):vt("ES5").J(t,r);return(r?r.A:gt()).p.push(n),n}function It(e){return nt(e)||rt(22,e),function e(t){if(!ot(t))return t;var r,n=t[Bt],o=at(t);if(n){if(!n.P&&(n.i<4||!vt("ES5").K(n)))return n.t;n.I=!0,r=Rt(t,o),n.I=!1}else r=Rt(t,o);return it(r,(function(t,o){n&&function(e,t){return 2===at(e)?e.get(t):e[t]}(n.t,t)===o||ct(r,t,e(o))})),3===o?new Set(r):r}(e)}function Rt(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ft(e)}var Mt,Tt,Dt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lt="undefined"!=typeof Map,Ft="undefined"!=typeof Set,zt="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$t=Dt?Symbol.for("immer-nothing"):((Mt={})["immer-nothing"]=!0,Mt),Ut=Dt?Symbol.for("immer-draftable"):"__$immer_draftable",Bt=Dt?Symbol.for("immer-state"):"__$immer_state",Ht=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Vt="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wt=Object.getOwnPropertyDescriptors||function(e){var t={};return Vt(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Gt={},Yt={get:function(e,t){if(t===Bt)return e;var r=dt(e);if(!st(r,t))return function(e,t,r){var n,o=kt(t,r);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!ot(n)?n:n===Ot(e.t,t)?(Nt(e),e.o[t]=jt(e.A.h,n,e)):n},has:function(e,t){return t in dt(e)},ownKeys:function(e){return Reflect.ownKeys(dt(e))},set:function(e,t,r){var n=kt(dt(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Ot(dt(e),t),i=null==o?void 0:o[Bt];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,o)&&(void 0!==r||st(e.t,t)))return!0;Nt(e),Pt(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Ot(e.t,t)||t in e.t?(e.R[t]=!1,Nt(e),Pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=dt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){rt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){rt(12)}},qt={};it(Yt,(function(e,t){qt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),qt.deleteProperty=function(e,t){return qt.set.call(this,e,t,void 0)},qt.set=function(e,t,r){return Yt.set.call(this,e[0],t,r,e[0])};var Zt=function(){function e(e){var t=this;this.g=zt,this.D=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var o=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var n=arguments.length,a=Array(n>1?n-1:0),s=1;s1?n-1:0),i=1;i=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var o=vt("Patches").$;return nt(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),Kt=new Zt,Xt=Kt.produce;Kt.produceWithPatches.bind(Kt),Kt.setAutoFreeze.bind(Kt),Kt.setUseProxies.bind(Kt),Kt.applyPatches.bind(Kt),Kt.createDraft.bind(Kt),Kt.finishDraft.bind(Kt);const Jt=Xt;var Qt=function(e){return m("../?rest_route=/microsoft/v1/msn-id/".concat(e),{method:"GET"})};const er=window.wp.i18n;function tr(){var e,t,r=(e=["\n > svg {\n animation: rotate 1s linear infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return tr=function(){return r},r}Ve.i(tr());var rr=t().createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 13.0602L15.7123 16.7725L16.773 15.7118L13.0607 11.9995L16.773 8.28723L15.7123 7.22657L12 10.9389L8.28768 7.22656L7.22702 8.28722L10.9393 11.9995L7.22703 15.7119L8.28769 16.7725L12 13.0602Z",fill:"#1E1E1E"})),nr=t().createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M7.5 15C6.80729 15 6.14323 14.9115 5.50781 14.7344C4.8724 14.5573 4.27344 14.3073 3.71094 13.9844C3.14844 13.6615 2.64323 13.2708 2.19531 12.8125C1.7474 12.3542 1.35677 11.8464 1.02344 11.2891C0.690104 10.7318 0.4375 10.1354 0.265625 9.5C0.09375 8.86458 0.00520833 8.19792 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.8724 0.692708 4.27344 1.01562 3.71094C1.33854 3.14844 1.72917 2.64323 2.1875 2.19531C2.64583 1.7474 3.15365 1.35677 3.71094 1.02344C4.26823 0.690104 4.86458 0.4375 5.5 0.265625C6.13542 0.09375 6.80208 0.00520833 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1276 0.442708 10.7266 0.692708 11.2891 1.01562C11.8516 1.33854 12.3568 1.72917 12.8047 2.1875C13.2526 2.64583 13.6432 3.15365 13.9766 3.71094C14.3099 4.26823 14.5625 4.86458 14.7344 5.5C14.9062 6.13542 14.9948 6.80208 15 7.5C15 8.19271 14.9115 8.85677 14.7344 9.49219C14.5573 10.1276 14.3073 10.7266 13.9844 11.2891C13.6615 11.8516 13.2708 12.3568 12.8125 12.8047C12.3542 13.2526 11.8464 13.6432 11.2891 13.9766C10.7318 14.3099 10.1354 14.5625 9.5 14.7344C8.86458 14.9062 8.19792 14.9948 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70573 1.60938 4.22656 1.89062C3.7474 2.17188 3.30729 2.51042 2.90625 2.90625C2.50521 3.30208 2.16667 3.73958 1.89062 4.21875C1.61458 4.69792 1.39583 5.21615 1.23438 5.77344C1.07292 6.33073 0.994792 6.90625 1 7.5C1 8.09375 1.07812 8.66667 1.23438 9.21875C1.39062 9.77083 1.60938 10.2891 1.89062 10.7734C2.17188 11.2578 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.69792 13.3906 5.21615 13.6094 5.77344 13.7656C6.33073 13.9219 6.90625 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77083 13.6094 10.2891 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.3021 13.6094 9.78385 13.7656 9.22656C13.9219 8.66927 14 8.09375 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22917 13.3906 4.71094 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2604 2.17188 10.7812 1.89062C10.3021 1.60938 9.78385 1.39062 9.22656 1.23438C8.66927 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z",fill:"black"})),or=t().createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11ZM5.25 8.25C5.25 7.83579 5.58579 7.5 6 7.5C6.41421 7.5 6.75 7.83579 6.75 8.25C6.75 8.66421 6.41421 9 6 9C5.58579 9 5.25 8.66421 5.25 8.25ZM5.50806 3.41012C5.55039 3.17688 5.75454 3 6 3C6.24546 3 6.44961 3.17688 6.49194 3.41012L6.5 3.5V6L6.49194 6.08988C6.44961 6.32312 6.24546 6.5 6 6.5C5.75454 6.5 5.55039 6.32312 5.50806 6.08988L5.5 6V3.5L5.50806 3.41012Z",fill:"currentColor"})),ir=t().createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M8 7C8.27614 7 8.5 7.22386 8.5 7.5V10.5C8.5 10.7761 8.27614 11 8 11C7.72386 11 7.5 10.7761 7.5 10.5V7.5C7.5 7.22386 7.72386 7 8 7ZM8.00001 6.24907C8.41369 6.24907 8.74905 5.91371 8.74905 5.50003C8.74905 5.08635 8.41369 4.751 8.00001 4.751C7.58633 4.751 7.25098 5.08635 7.25098 5.50003C7.25098 5.91371 7.58633 6.24907 8.00001 6.24907ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8ZM8 3C5.23858 3 3 5.23858 3 8C3 10.7614 5.23858 13 8 13C10.7614 13 13 10.7614 13 8C13 5.23858 10.7614 3 8 3Z",fill:"#1A1A1A"})),ar=t().createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M6 1C8.76142 1 11 3.23858 11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1ZM6 2C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10C8.20914 10 10 8.20914 10 6C10 3.79086 8.20914 2 6 2ZM5.5 3.5C5.74546 3.5 5.94961 3.67688 5.99194 3.91012L6 4V6H7.5C7.77614 6 8 6.22386 8 6.5C8 6.74546 7.82312 6.94961 7.58988 6.99194L7.5 7H5.5C5.25454 7 5.05039 6.82312 5.00806 6.58988L5 6.5V4C5 3.72386 5.22386 3.5 5.5 3.5Z",fill:"#717171"}));function sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r|&.*?;/g,""))),!!(null==a?void 0:a.tags.length)&&t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},(0,er.__)("Tag","microsoft-start")),t().createElement("div",{className:Mr},null==a||null===(n=a.tags)||void 0===n?void 0:n.map((function(e){return"".concat(e,"; ")})))),t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},(0,er.__)("Microsoft Start category","microsoft-start")),t().createElement("div",{className:Mr},t().createElement(tt.SelectControl,{options:yn,value:s.MSN_Categories,onChange:function(e){c((function(t){t.MSN_Categories=e}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},t().createElement("span",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__label--ad0ud"},(0,er.__)("AI Assisted Content declaration","microsoft-start"),t().createElement(un,{zIndex:1e3,container:document.getElementById("wpwrap"),direaction:Ur.UpRight,content:t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__popover--Modp5"},t().createElement("div",{dangerouslySetInnerHTML:{__html:(0,er.__)("Select {b}Yes{/b} if any content (text, image or video) generated with the assistance of AI. Do not submit content that is unreviewed AI-generated content.","microsoft-start").replaceAll("{b}","").replaceAll("{/b}","")}}))},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__label-icon--N4CxR"},ir)))),t().createElement("div",{className:Mr},t().createElement(tt.SelectControl,{options:bn,value:s.MSN_Is_AIAC_Included,onChange:function(e){c((function(t){t.MSN_Is_AIAC_Included=e}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},t().createElement("span",null,(0,er.__)("Change author name","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Has_Custom_Author=!e.MSN_Has_Custom_Author}))},checked:s.MSN_Has_Custom_Author})),s.MSN_Has_Custom_Author&&t().createElement("div",{className:Mr},t().createElement(tt.TextControl,{value:s.MSN_Custom_Author,className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__author-input--pj0oi",type:"text",onChange:function(e){var t;t=e,c((function(e){e.MSN_Custom_Author=t}))}}))),t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},t().createElement("span",null,(0,er.__)("Customize canonical URL","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Has_Custom_Canonical_Url=!e.MSN_Has_Custom_Canonical_Url}))},checked:s.MSN_Has_Custom_Canonical_Url})),s.MSN_Has_Custom_Canonical_Url?t().createElement("div",{className:Mr},t().createElement(tt.TextControl,{value:s.MSN_Custom_Canonical_Url,className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__canonical-url-input--721sx",type:"text",onChange:function(e){var t;t=e,c((function(e){e.MSN_Custom_Canonical_Url=t}))},placeholder:(0,er.__)("URL to the original story for search crawlers","microsoft-start")})):t().createElement("div",{className:Tr},(0,er.__)("URL of your post will be used as the canonical URL.","microsoft-start"))),t().createElement("div",{className:Ir},t().createElement("div",{className:Rr},t().createElement("label",null,(0,er.__)("Local news","microsoft-start")),t().createElement(tt.FormToggle,{onChange:function(){c((function(e){e.MSN_Is_Local_News=!e.MSN_Is_Local_News}))},checked:s.MSN_Is_Local_News})),t().createElement("div",{className:Tr},(0,er.__)("Target this post for audiences in specific areas.","microsoft-start")),t().createElement("div",{style:{display:s.MSN_Is_Local_News?"block":"none"},className:Mr},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-postmeta-form-module__content-label--vtmnh"},(0,er.__)("Target audience location","microsoft-start")),u&&t().createElement("div",{className:"mscreator-iframe-container","data-env":"prod","data-component":"multiLocationSelector","data-memorizedLocation":null!==(i=s.MSN_Location)&&void 0!==i?i:null}))))};function Sn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Cn(){var e=Sn(["\n flex-shrink: 0;\n"]);return Cn=function(){return e},e}function En(){var e=Sn(["\n width: 280px;\n margin-bottom: auto;\n overflow: hidden;\n &:hover {\n overflow-y: auto;\n }\n"]);return En=function(){return e},e}function An(){var e=Sn(["\n width: 280px;\n"]);return An=function(){return e},e}var xn=Ve.div(Cn()),On=Ve.div(En()),kn=Ve.div(An()),Pn=function(e){var r=e.children;return t().createElement(On,null,t().createElement(kn,null,r))},Nn="__msn_tipsClosed";function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]').concat((0,er.__)("publishing guidelines","microsoft-start"),""))}}),t().createElement("div",{className:zn["failure-list"]},n.length?n.map((function(e,r){return t().createElement(Bn,{key:r,detail:e,number:r+1})})):(0,er.__)("Failures detected during moderation. Contact us if issue persists.","microsoft-start")))},Vn=function(e){var t=new Date(e),r=new Date,n=t.getTime()-r.getTime();return Math.ceil(n/864e5)};const Wn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__panel--k34Qu",Gn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__title--szihu",Yn="microsoft-start-src-posts-sidebar-reject-details-sidebar-module__content--cbOgf";(0,er.__)("This post meets our publishing guidelines. It has been published to Microsoft Start.","microsoft-start");function qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rKn?"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__textareaInvalid--D3Xn2":void 0}),s.length>Kn&&t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__textareaInvalidMessage--VWyZB"},or,(0,er.__)("Reasons should be no more than $1 characters","microsoft-start").replace("$1",Kn.toLocaleString())),t().createElement("div",{className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__btnGroup--S_8B8"},t().createElement(tt.Button,{variant:"tertiary",onClick:i,disabled:u},(0,er.__)("Cancel","microsoft-start")),t().createElement(tt.Button,{variant:"primary",onClick:function(){var e={cmsId:o,reason:s};d(!0),function(e,t){return m("../?rest_route=/microsoft/v1/submit-appeal/".concat(e),{method:"POST",body:JSON.stringify(t)})}(n,e).then((function(e){(null==e?void 0:e.success)?(i(),Eo(n)):h(!0)})).catch((function(){h(!0)})).finally((function(){d(!1)}))},disabled:u||s.length>Kn},u&&t().createElement(et,{size:14,className:"microsoft-start-src-posts-sidebar-components-appeal-dialog-module__spinner--BgEo6"}),(0,er.__)("Submit","microsoft-start"))))};var Jn=function(e){var r=e.children,n=e.tooltipMessage,o=void 0===n?(0,er.__)("Access denied","microsoft-start"):n;return t().createElement(t().Fragment,null,mn?t().createElement(un,{content:t().createElement("div",{className:"microsoft-start-src-components-SuspendedWrapper-index-module__tooltip-content--YgSd9"},o)},t().createElement("div",{className:"microsoft-start-src-components-SuspendedWrapper-index-module__children-wrap--a8RF6",onClick:function(e){e.preventDefault()}},r)):r)};function Qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r'.concat((0,er.__)("Refresh","microsoft-start"),"")),message:""};case on.AppealFailed:return{status:"error",title:(0,er.__)("Appeal error","microsoft-start"),message:(0,er.__)("There was an error submitting your appeal. Contact support for help.","microsoft-start")};case on.AppealRejected:return{status:"error",title:(0,er.__)("Appeal denied","microsoft-start"),message:(0,er.__)("This article violates our publishing guidelines and will remain unpublished.","microsoft-start")};default:return null}}(e.appealStatus);return"error"!==(null==r?void 0:r.status)?null:t().createElement(tt.Notice,{status:"error",className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__tips--NKO2o",isDismissible:!1},t().createElement("div",{className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__notificationTitle--nbHZz"},r.title),t().createElement("div",null,r.message))},ro=function(r){var n,o,i=r.postId,a=r.setLoading,s=r.onClose,c=eo((0,e.useState)(!1),2),l=c[0],u=c[1],d=eo((0,e.useState)(),2),f=d[0],p=d[1],h=eo((0,e.useState)(!1),2),v=h[0],g=h[1];return(0,e.useEffect)((function(){i&&(a(!0),function(e){return m("../?rest_route=/microsoft/v1/msn-post-detail/".concat(e),{method:"GET"})}(i).then((function(e){e&&p(e)})).finally((function(){a(!1)})))}),[i]),t().createElement(t().Fragment,null,t().createElement(hr,{onClose:s,title:(0,er.__)("Post rejected","microsoft-start")}),t().createElement(Pn,null,t().createElement(to,{appealStatus:null==f||null===(n=f.appealSignal)||void 0===n?void 0:n.appealStatus}),t().createElement(tt.PanelBody,{className:Wn,title:(0,er.__)("About the post","microsoft-start"),opened:l,onToggle:function(){return u((function(e){return!e}))}},t().createElement("div",{className:Gn},(0,er.__)("Title","microsoft-start")),t().createElement("div",{className:Yn},null==f?void 0:f.title),t().createElement("div",{className:Gn},(0,er.__)("Last updated in MSPH","microsoft-start")),t().createElement("div",{className:Yn},(null==f?void 0:f.updatedDateTime)&&function(e){var t;return new Date(e).toLocaleTimeString((null===window||void 0===window||null===(t=window.msn_dashboard_render_status)||void 0===t?void 0:t.language)||"en-us",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"})}(null==f?void 0:f.updatedDateTime))),t().createElement(tt.PanelBody,{className:Wn,title:(0,er.__)("Rejection details","microsoft-start")},t().createElement(Hn,{failureDetails:null==f?void 0:f.failureDetails}))),t().createElement(xn,null,t().createElement("div",{className:"microsoft-start-src-posts-sidebar-reject-details-sidebar-module__button-container--yXml7"},(null==f||null===(o=f.appealSignal)||void 0===o?void 0:o.isAppealAllowed)&&(null==f?void 0:f.cmsId)&&t().createElement(Jn,null,t().createElement(tt.Button,{variant:"primary",onClick:function(){return g(!0)},disabled:mn},(0,er.__)("Appeal","microsoft-start"))),t().createElement(tt.Button,{variant:"secondary",onClick:function(){window.location.href="./post.php?post=".concat(i,"&action=edit")}},(0,er.__)("Edit content","microsoft-start")))),v&&(null==f?void 0:f.cmsId)&&t().createElement(Xn,{postId:i,cmsId:f.cmsId,onClose:function(){return g(!1)}}))};function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1)},xo=function(e){var r=e.postId,n=document.querySelector('div[data-post-id="'.concat(r,'"]')).dataset.postStatus;return t().createElement(t().Fragment,null,"publish"===n&&t().createElement(Jn,null,t().createElement("a",{className:po["status-link"],onClick:function(){var e,t;(null===(e=document.querySelector('div[data-post-id="'.concat(r,'"]')))||void 0===e||null===(t=e.dataset)||void 0===t?void 0:t.postIsEmpty)?kr({content:(0,er.__)("Empty content post cannot be published to MSPH.","microsoft-start")}):uo({type:"publish",postId:r})}},Ao(r)?(0,er.__)("Publish","microsoft-start"):(0,er.__)("Submit","microsoft-start"))))},Oo=function(e){var r=e.postId,n=e.appealStatus,o=function(e){switch(e){case on.Appealing:return(0,er.__)("Appealing","microsoft-start");case on.AppealFailed:return(0,er.__)("Appeal error","microsoft-start");case on.AppealRejected:return(0,er.__)("Appeal denied","microsoft-start");default:return""}}(n);return t().createElement(t().Fragment,null,t().createElement(ko,{status:"rejected",trailingString:o}),n!==on.Appealing&&t().createElement("a",{className:"".concat(po["status-link"]," ").concat(po["see-rejection-details-link"]),onClick:function(){uo({type:"see_reject_details",postId:r})}},(0,er.__)("See details","microsoft-start")))},ko=function(e){var r=e.status,n=e.trailingString;return t().createElement("div",{className:"".concat(po["msn-status-content"]," ").concat(po["msn-".concat(r)])},t().createElement("div",{className:po["status-text"]},Un[r],n&&" · ".concat(n)))},Po=function(r){var n=r.postId,o=(0,e.useMemo)((function(){var e,t,r;return!("false"===window.msn_sidebar_settings.enabled||"false"===window.msn_sidebar_settings.brand_active||(null===(e=window.msn_dashboard_render_status.profile)||void 0===e||null===(t=e.partnerMetadata)||void 0===t||null===(r=t.paymentStatus)||void 0===r?void 0:r.stripeAccountStatus)===rn.NotExist||"1"===window.msn_sidebar_settings.feed_mode)}),[]);return t().createElement(t().Fragment,null,t().createElement(ko,{status:Ao(n)?"unpublished":"notSubmitted"}),o&&t().createElement(xo,{postId:n}))},No=function(e){var r=e.content;return t().createElement("div",{className:po["msn-expiring-container"]},t().createElement(un,{content:t().createElement("div",{className:po["msn-expiring-popover"]},(0,er.__)("Content automatically expires $1 days after last update","microsoft-start").replace("$1",365..toString()))},t().createElement("div",{className:po["msn-expiring"]},ar,r)))},jo=function(e){var r=e.status,n=e.expirationDateTime;if(!bo(r)||!n)return null;var o=Vn(n);return o<=0||o>90?null:t().createElement(No,{content:1===o?(0,er.__)("Expires in 1 day","microsoft-start"):(0,er.__)("Expires in $1 days","microsoft-start").replace("$1",o.toString())})},Io=function(e){var r,n=e.data;return"empty"===n.msn_status?t().createElement(t().Fragment,null):"loading"===n.msn_status?t().createElement(t().Fragment,null,(0,er.__)("Loading...","microsoft-start")):bo(n.msn_status)&&n.expirationDateTime&&Vn(n.expirationDateTime)<=0?t().createElement(No,{content:(0,er.__)("Content expired","microsoft-start")}):"notPublishedToMSPH"===n.msn_status||"unpublished"===n.msn_status?t().createElement(Po,{postId:n.postId}):"rejected"===n.msn_status?t().createElement(t().Fragment,null,t().createElement(Oo,{postId:n.postId,appealStatus:null===(r=n.appealSignal)||void 0===r?void 0:r.appealStatus}),t().createElement(jo,{status:n.msn_status,expirationDateTime:n.expirationDateTime})):t().createElement(t().Fragment,null,t().createElement(ko,{status:n.msn_status}),t().createElement(jo,{status:n.msn_status,expirationDateTime:n.expirationDateTime}))};function Ro(e){var t,r=document.querySelector('div[data-post-id="'.concat(e,'"]'));t=Ao(e)?yo(go({},wo),{postId:e,msn_status:"loading"}):{msn_id:r.dataset.msnId,msn_status:"notPublishedToMSPH",postId:e,appealSignal:_o},Mo(t)}var Mo=function(e){var r=document.querySelector('div[data-post-id="'.concat(e.postId,'"]'));r&&h().render(t().createElement(Io,{data:e}),r)},To=function(e){var t;e&&e.length&&(t={postIds:e},m("../?rest_route=/microsoft/v1/msn-retrieval",{method:"POST",body:JSON.stringify(t)})).then((function(t){t&&t.length?t.forEach((function(e){Ao(e.postId)?Mo(e):Mo(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e.postId}))})):e.forEach((function(e){Mo(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e}))}))})).catch((function(){e.forEach((function(e){Mo(yo(go({},wo),{msn_status:"empty",postId:e}))}))})),document.querySelectorAll("div[data-post-id]").forEach((function(e){Ao(e.dataset.postId)||Mo(yo(go({},wo),{msn_status:"notPublishedToMSPH",postId:e.dataset.postId}))}))};!function(){var e=Array.from(document.querySelectorAll("div[data-post-id]")).map((function(e){return e.dataset.postId})),t=!0,r=!1,n=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)Ro(o.value)}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}var a,s=Array.from(document.querySelectorAll("div[data-msn-id]")).map((function(e){return e.dataset.postId}));To(s),a=document.getElementById("the-list"),new MutationObserver((function(e){if(4===e.length&&e[2].addedNodes.length&&(o=e[2].addedNodes[1],null!=(i=HTMLTableRowElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](o):o instanceof i)){var t=e[2].addedNodes[1],r=Array.from(t.childNodes).find((function(e){var t;return(null==e||null===(t=e.className)||void 0===t?void 0:t.indexOf("msn-status"))>-1}));if(r){var n=Array.from(r.childNodes).find((function(e){var t;return null==e||null===(t=e.dataset)||void 0===t?void 0:t.postId})).dataset.postId;Ro(n),To([n])}}var o,i})).observe(a,{childList:!0})}()})()})(); //# sourceMappingURL=status.js.map \ No newline at end of file diff --git a/wp-content/plugins/microsoft-start/index.php b/wp-content/plugins/microsoft-start/index.php index e579a775f..d38ce177f 100644 --- a/wp-content/plugins/microsoft-start/index.php +++ b/wp-content/plugins/microsoft-start/index.php @@ -5,7 +5,7 @@ * Plugin Name: Microsoft Start * Plugin URI: https://www.msn.com/ * Description: Microsoft Start WordPress plugin to help WordPress content creators to share content to Microsoft Start News feed. - * Version: 2.7.15 + * Version: 2.7.16 * Requires at least: 5.4 * Requires PHP: 7.3 * Author: Microsoft diff --git a/wp-content/plugins/microsoft-start/readme.txt b/wp-content/plugins/microsoft-start/readme.txt index 388fc5570..ac022001c 100644 --- a/wp-content/plugins/microsoft-start/readme.txt +++ b/wp-content/plugins/microsoft-start/readme.txt @@ -2,8 +2,8 @@ Tags: Microsoft, Microsoft Start Requires at least: 5.4 Requires PHP: 7.3 -Stable tag: 2.7.15 -Tested up to: 6.4 +Stable tag: 2.7.16 +Tested up to: 6.5 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Contributors: Microsoft diff --git a/wp-content/plugins/microsoft-start/vendor/autoload.php b/wp-content/plugins/microsoft-start/vendor/autoload.php index 718fd7bf1..a1654c1fc 100644 --- a/wp-content/plugins/microsoft-start/vendor/autoload.php +++ b/wp-content/plugins/microsoft-start/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit0b5fa14dcf00f9f8b5933c9f7bf8b419::getLoader(); +return ComposerAutoloaderInitf4ee9e43c342497fd1ab561f0c3f6404::getLoader(); diff --git a/wp-content/plugins/microsoft-start/vendor/composer/autoload_real.php b/wp-content/plugins/microsoft-start/vendor/composer/autoload_real.php index 18b25d69c..1699434ab 100644 --- a/wp-content/plugins/microsoft-start/vendor/composer/autoload_real.php +++ b/wp-content/plugins/microsoft-start/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit0b5fa14dcf00f9f8b5933c9f7bf8b419 +class ComposerAutoloaderInitf4ee9e43c342497fd1ab561f0c3f6404 { private static $loader; @@ -24,15 +24,15 @@ public static function getLoader() require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit0b5fa14dcf00f9f8b5933c9f7bf8b419', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitf4ee9e43c342497fd1ab561f0c3f6404', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit0b5fa14dcf00f9f8b5933c9f7bf8b419', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitf4ee9e43c342497fd1ab561f0c3f6404', '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\ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitf4ee9e43c342497fd1ab561f0c3f6404::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { diff --git a/wp-content/plugins/microsoft-start/vendor/composer/autoload_static.php b/wp-content/plugins/microsoft-start/vendor/composer/autoload_static.php index ca240cc3b..5ebb05072 100644 --- a/wp-content/plugins/microsoft-start/vendor/composer/autoload_static.php +++ b/wp-content/plugins/microsoft-start/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419 +class ComposerStaticInitf4ee9e43c342497fd1ab561f0c3f6404 { public static $prefixLengthsPsr4 = array ( 'm' => @@ -32,9 +32,9 @@ class ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit0b5fa14dcf00f9f8b5933c9f7bf8b419::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitf4ee9e43c342497fd1ab561f0c3f6404::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitf4ee9e43c342497fd1ab561f0c3f6404::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitf4ee9e43c342497fd1ab561f0c3f6404::$classMap; }, null, ClassLoader::class); } diff --git a/wp-content/plugins/pwa/pwa.php b/wp-content/plugins/pwa/pwa.php index 4b2a31726..1e1656b1b 100644 --- a/wp-content/plugins/pwa/pwa.php +++ b/wp-content/plugins/pwa/pwa.php @@ -9,7 +9,7 @@ * Plugin Name: PWA * Plugin URI: https://github.com/GoogleChromeLabs/pwa-wp * Description: Feature plugin to bring Progressive Web App (PWA) capabilities to Core - * Version: 0.8.0 + * Version: 0.8.1 * Author: PWA Plugin Contributors * Author URI: https://github.com/GoogleChromeLabs/pwa-wp/graphs/contributors * Text Domain: pwa @@ -17,7 +17,7 @@ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt */ -define( 'PWA_VERSION', '0.8.0' ); +define( 'PWA_VERSION', '0.8.1' ); define( 'PWA_PLUGIN_FILE', __FILE__ ); define( 'PWA_PLUGIN_DIR', __DIR__ ); define( 'PWA_WORKBOX_VERSION', '7.0.0' ); diff --git a/wp-content/plugins/pwa/readme.txt b/wp-content/plugins/pwa/readme.txt index 8d7cf3eaa..94b72755c 100644 --- a/wp-content/plugins/pwa/readme.txt +++ b/wp-content/plugins/pwa/readme.txt @@ -1,9 +1,9 @@ === PWA === Contributors: google, xwp, rtcamp, westonruter, albertomedina Tags: pwa, progressive web apps, service workers, web app manifest -Requires at least: 6.3 -Tested up to: 6.4 -Stable tag: 0.8.0 +Requires at least: 6.4 +Tested up to: 6.5 +Stable tag: 0.8.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Requires PHP: 7.0 diff --git a/wp-content/plugins/svg-block/build/block.json b/wp-content/plugins/svg-block/build/block.json index f5e7d27cf..d03287afe 100644 --- a/wp-content/plugins/svg-block/build/block.json +++ b/wp-content/plugins/svg-block/build/block.json @@ -95,9 +95,12 @@ "html": false, "align": true }, - "usesContext": ["postId", "postType"], + "usesContext": [ + "postId", + "postType" + ], "textdomain": "svg-block", "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css" -} +} \ No newline at end of file diff --git a/wp-content/plugins/svg-block/build/index.asset.php b/wp-content/plugins/svg-block/build/index.asset.php index f200ad8d0..710ca9e89 100644 --- a/wp-content/plugins/svg-block/build/index.asset.php +++ b/wp-content/plugins/svg-block/build/index.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => '936d5354ec6ab3238f46'); + array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => 'c62211f664228fc3ab70'); diff --git a/wp-content/plugins/svg-block/build/index.js b/wp-content/plugins/svg-block/build/index.js index aa90de187..1f098dbbe 100644 --- a/wp-content/plugins/svg-block/build/index.js +++ b/wp-content/plugins/svg-block/build/index.js @@ -1,11 +1,11 @@ -!function(){var e,t={971:function(e,t,n){"use strict";var r=window.wp.blocks,a=window.wp.element,o=window.lodash,i=window.wp.i18n,l=window.React,s=window.wp.primitives,c=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z"})),u=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z"})),d=window.wp.components,p=window.wp.blockEditor,m=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),f=window.wp.data,g=n(252),h=n.n(g),v=window.wp.apiFetch,b=n.n(v);const y=e=>e.every(((e,t,n)=>(0,o.isEqual)(e,n[0])));function k(e){return!((0,o.isNil)(e)||(0,o.isObject)(e)&&(0,o.isEmpty)(e))}function _(e){return(0,o.isNil)(e)||""===e}function x(){const{colors:e}=(0,p.__experimentalUseMultipleOriginColorsAndGradients)();return{colors:e,allColors:e.reduce(((e,t)=>e.concat(t.colors)),[])}}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const{clientId:o}=(0,p.useBlockEditContext)();t||(t=x().allColors);const i=(0,f.useSelect)((t=>{var n;const{getBlockAttributes:r}=t(p.store);return null!==(n=(r(o)||{})[e])&&void 0!==n?n:{}}),[o,e]),l=(0,a.useRef)(i);(0,a.useEffect)((()=>{l.current=i}),[i]);const{updateBlockAttributes:s}=(0,f.useDispatch)(p.store),c=(0,a.useCallback)((n=>{const r={...l.current,value:n,slug:(0,p.getColorObjectByColorValue)(t,n)?.slug};s(o,{[e]:r}),l.current=r}),[t,o,s]);let u=[l.current,c];if(n){r||(r=function(){const{gradients:e}=(0,p.__experimentalUseMultipleOriginColorsAndGradients)();return e}().gradients);const t=(0,a.useCallback)((t=>{const n={...l.current,gradientValue:t,gradientSlug:(0,p.getGradientSlugByValue)(r,t)};s(o,{[e]:n}),l.current=n}),[r,o,s]);u.push(t)}return u}const C=(e,t)=>(0,o.isString)(e)?{value:e,slug:(0,p.getColorObjectByColorValue)(t,e)?.slug}:(0,o.isObject)(e)&&null!=e?e:{};function E(e){if(!e||!(0,o.isString)(e))return!1;if(!Number.isNaN(Number(e[0])))return!1;if(-1!==e.indexOf("#")||-1!==e.indexOf("rgb"))return!0;const t=(new Option).style;return t.color=e,""!==t.color}function S(e){return e?((0,o.isString)(e)&&(e=(0,p.getColorObjectByColorValue)(e)),k(e)?e?.gradientSlug||e?.gradientValue?e?.gradientSlug?`var(--wp--preset--gradient--${e.gradientSlug}, ${e?.gradientValue})`:e?.gradientValue:e?.slug?`var(--wp--preset--color--${e.slug}, ${e?.value})`:e?.value:void 0):""}const A=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e=>e+"",i={};if(k(e)){let l,s,c,u;if(e?.top||e?.right||e?.bottom||e?.left?(l=e?.top,s=e?.right,c=e?.bottom,u=e?.left):l=s=c=u=e,!(0,o.isNil)(l)){const e=a(l);e&&(i={...i,[`${t}-top--${n}`]:r?`var(${t}-top--${r})`:e})}if(!(0,o.isNil)(s)){const e=a(s);e&&(i={...i,[`${t}-right--${n}`]:r?`var(${t}-right--${r})`:e})}if(!(0,o.isNil)(c)){const e=a(c);e&&(i={...i,[`${t}-bottom--${n}`]:r?`var(${t}-bottom--${r})`:e})}if(!(0,o.isNil)(u)){const e=a(u);e&&(i={...i,[`${t}-left--${n}`]:r?`var(${t}-left--${r})`:e})}}return i};function N(e,t){let n={};return k(e)&&Object.keys(e).forEach((r=>{const{value:{value:a}={},inherit:i}=e[r];if((0,o.isUndefined)(a)){if(i&&(0,o.isString)(i)){var l;const{value:{value:a}={}}=null!==(l=e[i])&&void 0!==l?l:{};_(a)||(n={...n,[`--bb--${t}--${r}`]:`var(--bb--${t}--${i})`})}}else _(a)||(n={...n,[`--bb--${t}--${r}`]:a+""})})),n}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;const{boldblocks:{width:n={}}={}}=e;return t(n,"width")}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;const{boldblocks:{height:n={}}={}}=e;return t(n,"height")}function R(e){return _(e)?"":(t=e,t?.includes&&("0"===t||t.includes("var:preset|spacing|"))?function(e){if(!e)return;const t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}(e):(0,o.isObject)(e)||(0,o.isArray)(e)?"":e+"");var t}function L(e){const{boldblocks:{spacing:{padding:t}={}}={}}=e;let n={};return k(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var i;const{value:r}=null!==(i=t[a])&&void 0!==i?i:{};n={...n,...A(r,"--bb--padding",e,a,R)}}}else n={...n,...A(r,"--bb--padding",e,!1,R)}})),n}function I(e){const{boldblocks:{spacing:{margin:t}={}}={}}=e;let n={};return k(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var i;const{value:r}=null!==(i=t[a])&&void 0!==i?i:{};n={...n,...A(r,"--bb--margin",e,a,R)}}}else n={...n,...A(r,"--bb--margin",e,!1,R)}})),n}function M(e){const{boldblocks:{justifyAlignment:t={}}={}}=e;let n={};return k(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var i;const{value:r}=null!==(i=t[a])&&void 0!==i?i:{};r&&(n={...n,[`--bb--justify-alignment--${e}`]:`var(--bb--justify-alignment--${a})`})}}else r&&(n={...n,[`--bb--justify-alignment--${e}`]:r+""})})),n}const V=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=[];if((0,o.isObject)(e)){const{width:r,style:a,color:i}=e;!_(r)&&(0,o.isString)(r)&&n.push(r),!_(a)&&(0,o.isString)(a)&&n.push(a),(!_(i)&&(0,o.isString)(i)||(0,o.isObject)(i))&&n.push(t(i))}return n.join(" ").trim()};function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V;const{boldblocks:{border:r={}}={}}=e;let a={};return k(r)&&Object.keys(r).forEach((e=>{const{value:i,inherit:l}=r[e];if((0,o.isUndefined)(i)){if(l&&(0,o.isString)(l)){var s;const{value:o}=null!==(s=r[l])&&void 0!==s?s:{};n(o,t)&&(a={...a,[`--bb--border--${e}`]:`var(--bb--border--${l})`})}}else{const r=n(i,t);r&&(a={...a,[`--bb--border--${e}`]:r})}})),a}function z(e){let t="";if(k(e)){const{"top-left":n,"top-right":r,"bottom-right":a,"bottom-left":o}=e;(n||r||a||o)&&(t=`${n||0} ${r||0} ${a||0} ${o||0}`)}return t}function D(e){const{boldblocks:{borderRadius:t={}}={}}=e;let n={};return k(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var i;const{value:r}=null!==(i=t[a])&&void 0!==i?i:{};z(r)&&(n={...n,[`--bb--border-radius--${e}`]:`var(--bb--border-radius--${a})`})}}else{const t=z(r);t&&(n={...n,[`--bb--border-radius--${e}`]:t})}})),n}function P(e){let t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n="";if(Array.isArray(e)&&e.length){let r=[];e.forEach((e=>{let{inset:n,x:a="0px",y:o="0px",blur:i="0px",spread:l="0px",color:s=""}=e;const c=t(s);c&&r.push(`${n?"inset ":""}${a} ${o} ${i} ${l} ${c}`)})),n=r.join(",")}return n}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:S);return t?{boxShadow:t}:{}}var $=n(856),j=window.wp.url;const H=e=>{const t=(0,$.sanitize)(e,{USE_PROFILES:{svg:!0,svgFilters:!0}});return t?(0,$.sanitize)(t,{USE_PROFILES:{svg:!0,svgFilters:!0}}):t},F=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild&&"svg"===t.firstElementChild?.nodeName?t.firstElementChild:null};function U(e){const t=document.createElement("template");return t.setAttribute("style",e),Object.entries(t.style).filter((e=>{let[t]=e;return!/^[0-9]+$/.test(t)})).filter((e=>{let[,t]=e;return Boolean(t)})).reduce(((e,t)=>{let[n,r]=t;return{...e,[n]:r}}),{})}const G=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),W={},q=(e,t)=>{W[e]=t};var Z=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})),Y=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),X=window.wp.hooks;const K="Mobile",Q="Tablet",J="Desktop",ee={},te=getComputedStyle(document.documentElement);ee[K]=te.getPropertyValue("--wp--custom--breakpoint--sm")||"576px",ee[Q]=te.getPropertyValue("--wp--custom--breakpoint--md")||"768px",ee[J]=te.getPropertyValue("--wp--custom--breakpoint--lg")||"1024px";const ne={};Object.keys(ee).map((e=>{ne[e]=e===K?"":`@media (min-width: ${ee[e]})`}));const re=[{icon:Z,title:(0,i.__)("Mobile","svg-block"),device:K,breakpoint:"sm",mediaQuery:ne[K]},{icon:Y,title:(0,i.__)("Tablet","svg-block"),device:Q,breakpoint:"md",mediaQuery:ne[Q]},{icon:m,title:(0,i.__)("Desktop","svg-block"),device:J,breakpoint:"lg",mediaQuery:ne[J]}];function ae(){return re}function oe(){return(0,f.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t,getPreviewDeviceType:n=t}=e("core/edit-site")||e("core/edit-post");return n()}),[])}function ie(){const{__experimentalSetPreviewDeviceType:e,setPreviewDeviceType:t=e}=(0,f.useDispatch)("core/edit-site")||(0,f.useDispatch)("core/edit-post");return t}function le(e){let{fieldValue:t,breakpoint:n,defaultValue:r}=e;if(!t||!(0,o.isObject)(t))return r;const{[n]:{value:a,inherit:i}={}}=t;return(0,o.isUndefined)(a)?i&&t[i]&&!(0,o.isUndefined)(t[i].value)?t[i].value:r:a}function se(e){let{breakpoint:t,allBreakpoints:n,fieldValue:r={},newValue:a}=e;return n.forEach((e=>{e===t?r={...r,[t]:{value:a,inherit:null}}:r[e]&&(0,o.isObject)(r[e])||(r={...r,[e]:{inherit:t}})})),r}function ce(e){let{newValue:t,groupName:n,fieldName:r,attributes:a,breakpoint:o,allBreakpoints:i}=e;const{boldblocks:l={}}=a,{[n]:s={}}=l;let{[r]:c={}}=s;return c=se({newValue:t,fieldValue:c,breakpoint:o,allBreakpoints:i}),{boldblocks:{...l,[n]:{...s,[r]:c}}}}function ue(e){let{newValue:t,fieldName:n,attributes:r,breakpoint:a,allBreakpoints:o}=e;const{boldblocks:i={}}=r;let{[n]:l={}}=i;return l=se({newValue:t,fieldValue:l,breakpoint:a,allBreakpoints:o}),{boldblocks:{...i,[n]:l}}}function de(e){let{newValue:t,groupName:n,fieldName:r,attributes:a}=e;const{boldblocks:o={}}=a,{[n]:i={}}=o;return{boldblocks:{...o,[n]:{...i,[r]:t}}}}function pe(e){let{setAttributes:t,attributes:n,blocks:r,updateBlockAttributes:a}=e;return e=>{var o;r?r.forEach((t=>{var n;let{clientId:r,attributes:o}=t;a(r,{boldblocks:{...null!==(n=o?.boldblocks)&&void 0!==n?n:{},...e}})})):t({boldblocks:{...null!==(o=n?.boldblocks)&&void 0!==o?o:{},...e}})}}function me(e){return e?.gradientSlug||e?.gradientValue?e?.gradientSlug?`var(--wp--preset--gradient--${e.gradientSlug})`:e?.gradientValue:e?.slug?`var(--wp--preset--color--${e.slug})`:e?.value}function fe(e,t){let n={};return k(e)&&Object.keys(e).forEach((r=>{const{value:{value:a}={},inherit:i}=e[r];if((0,o.isUndefined)(a)){if(i&&(0,o.isString)(i)){var l;const{value:a}=null!==(l=e[i])&&void 0!==l?l:{};a&&(n={...n,[`--bb--${t}--${r}`]:`var(--bb--${t}--${i})`})}}else a&&(n={...n,[`--bb--${t}--${r}`]:a+""})})),n}const ge=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=[];if((0,o.isObject)(e)){const{width:r,style:a,color:i}=e;(0,o.isString)(r)&&n.push(r),(0,o.isString)(a)&&n.push(a),((0,o.isString)(i)||(0,o.isObject)(i))&&n.push(t(i))}return n.join(" ")};function he(e){const{label:t=(0,i.__)("Change device preview","svg-block"),isCollapsed:n=!0,deviceTypes:r=ae(),deviceType:l=oe(),setDeviceType:s=ie()}=e,c=(0,o.find)(r,(e=>e.device===l));return(0,a.createElement)(d.ToolbarGroup,{isCollapsed:n,icon:c?c.icon:m,label:t,popoverProps:{variant:"toolbar"},controls:r.map((e=>{const{device:t}=e,r=l.deviceType===t;return{...e,isActive:r,role:n?"menuitemradio":void 0,onClick:(a=t,()=>s(a))};var a}))})}function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ne(De,--Be):0,Me--,10===ze&&(Me=1,Ie--),ze}function He(){return ze=Be2||We(ze)>3?"":" "}function Ke(e,t){for(;--t&&He()&&!(ze<48||ze>102||ze>57&&ze<65||ze>70&&ze<97););return Ge(e,Ue()+(t<6&&32==Fe()&&32==He()))}function Qe(e){for(;He();)switch(ze){case e:return Be;case 34:case 39:34!==e&&39!==e&&Qe(ze);break;case 40:41===e&&Qe(e);break;case 92:He()}return Be}function Je(e,t){for(;He()&&e+ze!==57&&(e+ze!==84||47!==Fe()););return"/*"+Ge(t,Be-1)+"*"+we(47===e?e:He())}function et(e){for(;!We(Fe());)He();return Ge(e,Be)}var tt="-ms-",nt="-moz-",rt="-webkit-",at="comm",ot="rule",it="decl",lt="@keyframes";function st(e,t){for(var n="",r=Re(e),a=0;a0&&Oe(w)-d&&Le(m>32?ft(w+";",r,n,d-1):ft(Se(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(Le(x=pt(w,t,n,c,u,a,l,y,k=[],_=[],d),o),123===b)if(0===u)dt(w,t,x,x,k,o,d,l,_);else switch(99===p&&110===Ne(w,3)?100:p){case 100:case 108:case 109:case 115:dt(e,x,x,r&&Le(pt(e,x,x,0,0,a,l,y,a,k=[],d),_),a,_,d,l,r?k:_);break;default:dt(w,x,x,x,[""],_,0,l,_)}}c=u=m=0,g=v=1,y=w="",d=i;break;case 58:d=1+Oe(w),m=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==je())continue;switch(w+=we(b),b*g){case 38:v=u>0?1:(w+="\f",-1);break;case 44:l[c++]=(Oe(w)-1)*v,v=1;break;case 64:45===Fe()&&(w+=Ye(He())),p=Fe(),u=d=Oe(y=w+=et(Ue())),b++;break;case 45:45===f&&2==Oe(w)&&(g=0)}}return o}function pt(e,t,n,r,a,o,i,l,s,c,u){for(var d=a-1,p=0===a?o:[""],m=Re(p),f=0,g=0,h=0;f0?p[v]+" "+b:Se(b,/&\f/g,p[v])))&&(s[h++]=y);return Pe(e,t,n,0===a?ot:l,s,c,u)}function mt(e,t,n){return Pe(e,t,n,at,we(ze),Te(e,2,-2),0)}function ft(e,t,n,r){return Pe(e,t,n,it,Te(e,0,r),Te(e,r+1,-1),r)}var gt=function(e,t,n){for(var r=0,a=0;r=a,a=Fe(),38===r&&12===a&&(t[n]=1),!We(a);)He();return Ge(e,Be)},ht=new WeakMap,vt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ht.get(n))&&!r){ht.set(e,!0);for(var a=[],o=function(e,t){return Ze(function(e,t){var n=-1,r=44;do{switch(We(r)){case 0:38===r&&12===Fe()&&(t[n]=1),e[n]+=gt(Be-1,t,n);break;case 2:e[n]+=Ye(r);break;case 4:if(44===r){e[++n]=58===Fe()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=we(r)}}while(r=He());return e}(qe(e),t))}(t,a),i=n.props,l=0,s=0;l6)switch(Ne(e,t+1)){case 109:if(45!==Ne(e,t+4))break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+rt+"$2-$3$1"+nt+(108==Ne(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ae(e,"stretch")?yt(Se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ne(e,t+1))break;case 6444:switch(Ne(e,Oe(e)-3-(~Ae(e,"!important")&&10))){case 107:return Se(e,":",":"+rt)+e;case 101:return Se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rt+(45===Ne(e,14)?"inline-":"")+"box$3$1"+rt+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Ne(e,t+11)){case 114:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return rt+e+tt+e+e}return e}var kt=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=yt(e.value,e.length);break;case lt:return st([$e(e,{value:Se(e.value,"@","@"+rt)})],r);case ot:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return st([$e(e,{props:[Se(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return st([$e(e,{props:[Se(t,/:(plac\w+)/,":"+rt+"input-$1")]}),$e(e,{props:[Se(t,/:(plac\w+)/,":-moz-$1")]}),$e(e,{props:[Se(t,/:(plac\w+)/,tt+"input-$1")]})],r)}return""}))}}],_t=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,a,o=e.stylisPlugins||kt,i={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n96?zt:Dt},$t=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},jt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Bt(t,n,r),It((function(){return function(e,t,n){Bt(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(t,n,r)})),null},Ht=function e(t,n){var r,a,o=t.__emotion_real===t,i=o&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var s=$t(t,n,o),c=s||Pt(i),u=!c("as");return function(){var d=arguments,p=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var m=d.length,f=1;f=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+s;return{name:c,styles:a,next:Ot}}(p.concat(h),t.registered,v);g+=t.key+"-"+y.name,void 0!==a&&(g+=" "+a);var k=u&&void 0===s?Pt(f):c,_={};for(var x in e)u&&"as"===x||k(x)&&(_[x]=e[x]);return _.className=g,_.ref=n,l.createElement(l.Fragment,null,l.createElement(jt,{cache:t,serialized:y,isStringTag:"string"==typeof f}),l.createElement(f,_))},(0,l.forwardRef)((function(e,t){var n=(0,l.useContext)(Mt);return g(e,n,t)})));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,r){return e(t,ve({},n,r,{shouldForwardProp:$t(h,r,!0)})).apply(void 0,p)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ht[e]=Ht(e)}));const Ft=Ht.div` +!function(){var e,t={335:function(e,t,n){"use strict";var r=window.wp.blocks,a=window.wp.element,o=window.lodash,l=window.wp.i18n,i=window.React,s=window.wp.primitives,c=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z"})),u=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z"})),d=window.wp.components,p=window.wp.blockEditor,m=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),f=window.wp.data,g=n(774),h=n.n(g),v=window.wp.apiFetch,b=n.n(v);const y=e=>e.every(((e,t,n)=>(0,o.isEqual)(e,n[0])));function _(e){return!((0,o.isNil)(e)||(0,o.isObject)(e)&&(0,o.isEmpty)(e))}function k(e){return(0,o.isNil)(e)||""===e}function x(){const{colors:e}=(0,p.__experimentalUseMultipleOriginColorsAndGradients)();return{colors:e,allColors:e.reduce(((e,t)=>e.concat(t.colors)),[])}}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const{clientId:o}=(0,p.useBlockEditContext)();t||(t=x().allColors);const l=(0,f.useSelect)((t=>{var n;const{getBlockAttributes:r}=t(p.store);return null!==(n=(r(o)||{})[e])&&void 0!==n?n:{}}),[o,e]),i=(0,a.useRef)(l);(0,a.useEffect)((()=>{i.current=l}),[l]);const{updateBlockAttributes:s}=(0,f.useDispatch)(p.store),c=(0,a.useCallback)((n=>{const r={...i.current,value:n,slug:(0,p.getColorObjectByColorValue)(t,n)?.slug};s(o,{[e]:r}),i.current=r}),[t,o,s]);let u=[i.current,c];if(n){r||(r=function(){const{gradients:e}=(0,p.__experimentalUseMultipleOriginColorsAndGradients)();return e}().gradients);const t=(0,a.useCallback)((t=>{const n={...i.current,gradientValue:t,gradientSlug:(0,p.getGradientSlugByValue)(r,t)};s(o,{[e]:n}),i.current=n}),[r,o,s]);u.push(t)}return u}const E=(e,t)=>(0,o.isString)(e)?{value:e,slug:(0,p.getColorObjectByColorValue)(t,e)?.slug}:(0,o.isObject)(e)&&null!=e?e:{};function C(e){if(!e||!(0,o.isString)(e))return!1;if(!Number.isNaN(Number(e[0])))return!1;if(-1!==e.indexOf("#")||-1!==e.indexOf("rgb"))return!0;const t=(new Option).style;return t.color=e,""!==t.color}function S(e){return e?((0,o.isString)(e)&&(e=(0,p.getColorObjectByColorValue)(e)),_(e)?e?.gradientSlug||e?.gradientValue?e?.gradientSlug?`var(--wp--preset--gradient--${e.gradientSlug}, ${e?.gradientValue})`:e?.gradientValue:e?.slug?`var(--wp--preset--color--${e.slug}, ${e?.value})`:e?.value:void 0):""}const A=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e=>e+"",l={};if(_(e)){let i,s,c,u;if(e?.top||e?.right||e?.bottom||e?.left?(i=e?.top,s=e?.right,c=e?.bottom,u=e?.left):i=s=c=u=e,!(0,o.isNil)(i)){const e=a(i);e&&(l={...l,[`${t}-top--${n}`]:r?`var(${t}-top--${r})`:e})}if(!(0,o.isNil)(s)){const e=a(s);e&&(l={...l,[`${t}-right--${n}`]:r?`var(${t}-right--${r})`:e})}if(!(0,o.isNil)(c)){const e=a(c);e&&(l={...l,[`${t}-bottom--${n}`]:r?`var(${t}-bottom--${r})`:e})}if(!(0,o.isNil)(u)){const e=a(u);e&&(l={...l,[`${t}-left--${n}`]:r?`var(${t}-left--${r})`:e})}}return l};function N(e,t){let n={};return _(e)&&Object.keys(e).forEach((r=>{const{value:{value:a}={},inherit:l}=e[r];if((0,o.isUndefined)(a)){if(l&&(0,o.isString)(l)){var i;const{value:{value:a}={}}=null!==(i=e[l])&&void 0!==i?i:{};k(a)||(n={...n,[`--bb--${t}--${r}`]:`var(--bb--${t}--${l})`})}}else k(a)||(n={...n,[`--bb--${t}--${r}`]:a+""})})),n}function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;const{boldblocks:{width:n={}}={}}=e;return t(n,"width")}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;const{boldblocks:{height:n={}}={}}=e;return t(n,"height")}function R(e){return k(e)?"":(t=e,t?.includes&&("0"===t||t.includes("var:preset|spacing|"))?function(e){if(!e)return;const t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}(e):(0,o.isObject)(e)||(0,o.isArray)(e)?"":e+"");var t}function I(e){const{boldblocks:{spacing:{padding:t}={}}={}}=e;let n={};return _(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var l;const{value:r}=null!==(l=t[a])&&void 0!==l?l:{};n={...n,...A(r,"--bb--padding",e,a,R)}}}else n={...n,...A(r,"--bb--padding",e,!1,R)}})),n}function L(e){const{boldblocks:{spacing:{margin:t}={}}={}}=e;let n={};return _(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var l;const{value:r}=null!==(l=t[a])&&void 0!==l?l:{};n={...n,...A(r,"--bb--margin",e,a,R)}}}else n={...n,...A(r,"--bb--margin",e,!1,R)}})),n}function M(e){const{boldblocks:{justifyAlignment:t={}}={}}=e;let n={};return _(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var l;const{value:r}=null!==(l=t[a])&&void 0!==l?l:{};r&&(n={...n,[`--bb--justify-alignment--${e}`]:`var(--bb--justify-alignment--${a})`})}}else r&&(n={...n,[`--bb--justify-alignment--${e}`]:r+""})})),n}const V=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=[];if((0,o.isObject)(e)){const{width:r,style:a,color:l}=e;!k(r)&&(0,o.isString)(r)&&n.push(r),!k(a)&&(0,o.isString)(a)&&n.push(a),(!k(l)&&(0,o.isString)(l)||(0,o.isObject)(l))&&n.push(t(l))}return n.join(" ").trim()};function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V;const{boldblocks:{border:r={}}={}}=e;let a={};return _(r)&&Object.keys(r).forEach((e=>{const{value:l,inherit:i}=r[e];if((0,o.isUndefined)(l)){if(i&&(0,o.isString)(i)){var s;const{value:o}=null!==(s=r[i])&&void 0!==s?s:{};n(o,t)&&(a={...a,[`--bb--border--${e}`]:`var(--bb--border--${i})`})}}else{const r=n(l,t);r&&(a={...a,[`--bb--border--${e}`]:r})}})),a}function B(e){let t="";if(_(e)){const{"top-left":n,"top-right":r,"bottom-right":a,"bottom-left":o}=e;(n||r||a||o)&&(t=`${n||0} ${r||0} ${a||0} ${o||0}`)}return t}function D(e){const{boldblocks:{borderRadius:t={}}={}}=e;let n={};return _(t)&&Object.keys(t).forEach((e=>{const{value:r,inherit:a}=t[e];if((0,o.isUndefined)(r)){if(a&&(0,o.isString)(a)){var l;const{value:r}=null!==(l=t[a])&&void 0!==l?l:{};B(r)&&(n={...n,[`--bb--border-radius--${e}`]:`var(--bb--border-radius--${a})`})}}else{const t=B(r);t&&(n={...n,[`--bb--border-radius--${e}`]:t})}})),n}function z(e){let t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n="";if(Array.isArray(e)&&e.length){let r=[];e.forEach((e=>{let{inset:n,x:a="0px",y:o="0px",blur:l="0px",spread:i="0px",color:s=""}=e;const c=t(s);c&&r.push(`${n?"inset ":""}${a} ${o} ${l} ${i} ${c}`)})),n=r.join(",")}return n}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:S);return t?{boxShadow:t}:{}}var $=n(838),H=window.wp.url;const U=e=>{const t=(0,$.sanitize)(e,{USE_PROFILES:{svg:!0,svgFilters:!0}});return t?(0,$.sanitize)(t,{USE_PROFILES:{svg:!0,svgFilters:!0}}):t},j=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild&&"svg"===t.firstElementChild?.nodeName?t.firstElementChild:null};function F(e){const t=document.createElement("template");return t.setAttribute("style",e),Object.entries(t.style).filter((e=>{let[t]=e;return!/^[0-9]+$/.test(t)})).filter((e=>{let[,t]=e;return Boolean(t)})).reduce(((e,t)=>{let[n,r]=t;return{...e,[n]:r}}),{})}const G=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),W={},q=(e,t)=>{W[e]=t};var Y=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})),Z=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),X=window.wp.hooks;const K="Mobile",Q="Tablet",J="Desktop",ee={},te=getComputedStyle(document.documentElement);ee[K]=te.getPropertyValue("--wp--custom--breakpoint--sm")||"576px",ee[Q]=te.getPropertyValue("--wp--custom--breakpoint--md")||"768px",ee[J]=te.getPropertyValue("--wp--custom--breakpoint--lg")||"1024px";const ne={};Object.keys(ee).map((e=>{ne[e]=e===K?"":`@media (min-width: ${ee[e]})`}));const re=[{icon:Y,title:(0,l.__)("Mobile","svg-block"),device:K,breakpoint:"sm",mediaQuery:ne[K]},{icon:Z,title:(0,l.__)("Tablet","svg-block"),device:Q,breakpoint:"md",mediaQuery:ne[Q]},{icon:m,title:(0,l.__)("Desktop","svg-block"),device:J,breakpoint:"lg",mediaQuery:ne[J]}];function ae(){return re}function oe(){return(0,f.useSelect)((e=>{var t,n;const r=null!==(t=null!==(n=e("core/editor")?.getDeviceType)&&void 0!==n?n:e("core/edit-site")?.__experimentalGetPreviewDeviceType)&&void 0!==t?t:e("core/edit-post")?.__experimentalGetPreviewDeviceType;return r?r():J}),[])}function le(){var e,t;return null!==(e=null!==(t=(0,f.useDispatch)("core/editor")?.setDeviceType)&&void 0!==t?t:(0,f.useDispatch)("core/edit-site")?.__experimentalSetPreviewDeviceType)&&void 0!==e?e:(0,f.useDispatch)("core/edit-post")?.__experimentalSetPreviewDeviceType}function ie({fieldValue:e,breakpoint:t,defaultValue:n}){if(!e||!(0,o.isObject)(e))return n;const{[t]:{value:r,inherit:a}={}}=e;return(0,o.isUndefined)(r)?a&&e[a]&&!(0,o.isUndefined)(e[a].value)?e[a].value:n:r}function se({breakpoint:e,allBreakpoints:t,fieldValue:n={},newValue:r}){return t.forEach((t=>{t===e?n={...n,[e]:{value:r,inherit:null}}:n[t]&&(0,o.isObject)(n[t])||(n={...n,[t]:{inherit:e}})})),n}function ce({newValue:e,groupName:t,fieldName:n,attributes:r,breakpoint:a,allBreakpoints:o}){const{boldblocks:l={}}=r,{[t]:i={}}=l;let{[n]:s={}}=i;return s=se({newValue:e,fieldValue:s,breakpoint:a,allBreakpoints:o}),{boldblocks:{...l,[t]:{...i,[n]:s}}}}function ue({newValue:e,fieldName:t,attributes:n,breakpoint:r,allBreakpoints:a}){const{boldblocks:o={}}=n;let{[t]:l={}}=o;return l=se({newValue:e,fieldValue:l,breakpoint:r,allBreakpoints:a}),{boldblocks:{...o,[t]:l}}}function de({newValue:e,groupName:t,fieldName:n,attributes:r}){const{boldblocks:a={}}=r,{[t]:o={}}=a;return{boldblocks:{...a,[t]:{...o,[n]:e}}}}function pe({setAttributes:e,attributes:t,blocks:n,updateBlockAttributes:r}){return a=>{var o;n?n.forEach((({clientId:e,attributes:t})=>{var n;r(e,{boldblocks:{...null!==(n=t?.boldblocks)&&void 0!==n?n:{},...a}})})):e({boldblocks:{...null!==(o=t?.boldblocks)&&void 0!==o?o:{},...a}})}}function me(e){return e?.gradientSlug||e?.gradientValue?e?.gradientSlug?`var(--wp--preset--gradient--${e.gradientSlug})`:e?.gradientValue:e?.slug?`var(--wp--preset--color--${e.slug})`:e?.value}function fe(e,t){let n={};return _(e)&&Object.keys(e).forEach((r=>{const{value:{value:a}={},inherit:l}=e[r];if((0,o.isUndefined)(a)){if(l&&(0,o.isString)(l)){var i;const{value:a}=null!==(i=e[l])&&void 0!==i?i:{};a&&(n={...n,[`--bb--${t}--${r}`]:`var(--bb--${t}--${l})`})}}else a&&(n={...n,[`--bb--${t}--${r}`]:a+""})})),n}const ge=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,n=[];if((0,o.isObject)(e)){const{width:r,style:a,color:l}=e;(0,o.isString)(r)&&n.push(r),(0,o.isString)(a)&&n.push(a),((0,o.isString)(l)||(0,o.isObject)(l))&&n.push(t(l))}return n.join(" ")};function he(e){if(!le())return null;const{label:t=(0,l.__)("Change device preview","svg-block"),isCollapsed:n=!0,deviceTypes:r=ae(),deviceType:a=oe(),setDeviceType:s=le()}=e,c=(0,o.find)(r,(e=>e.device===a));return(0,i.createElement)(d.ToolbarGroup,{isCollapsed:n,icon:c?c.icon:m,label:t,popoverProps:{variant:"toolbar"},controls:r.map((e=>{const{device:t}=e,r=a.deviceType===t;return{...e,isActive:r,role:n?"menuitemradio":void 0,onClick:(o=t,()=>s(o))};var o}))})}function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ne(De,--Pe):0,Me--,10===Be&&(Me=1,Le--),Be}function Ue(){return Be=Pe2||We(Be)>3?"":" "}function Ke(e,t){for(;--t&&Ue()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return Ge(e,Fe()+(t<6&&32==je()&&32==Ue()))}function Qe(e){for(;Ue();)switch(Be){case e:return Pe;case 34:case 39:34!==e&&39!==e&&Qe(Be);break;case 40:41===e&&Qe(e);break;case 92:Ue()}return Pe}function Je(e,t){for(;Ue()&&e+Be!==57&&(e+Be!==84||47!==je()););return"/*"+Ge(t,Pe-1)+"*"+we(47===e?e:Ue())}function et(e){for(;!We(je());)Ue();return Ge(e,Pe)}var tt="-ms-",nt="-moz-",rt="-webkit-",at="comm",ot="rule",lt="decl",it="@keyframes";function st(e,t){for(var n="",r=Re(e),a=0;a0&&Oe(w)-d&&Ie(m>32?ft(w+";",r,n,d-1):ft(Se(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(Ie(x=pt(w,t,n,c,u,a,i,y,_=[],k=[],d),o),123===b)if(0===u)dt(w,t,x,x,_,o,d,i,k);else switch(99===p&&110===Ne(w,3)?100:p){case 100:case 108:case 109:case 115:dt(e,x,x,r&&Ie(pt(e,x,x,0,0,a,i,y,a,_=[],d),k),a,k,d,i,r?_:k);break;default:dt(w,x,x,x,[""],k,0,i,k)}}c=u=m=0,g=v=1,y=w="",d=l;break;case 58:d=1+Oe(w),m=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==He())continue;switch(w+=we(b),b*g){case 38:v=u>0?1:(w+="\f",-1);break;case 44:i[c++]=(Oe(w)-1)*v,v=1;break;case 64:45===je()&&(w+=Ze(Ue())),p=je(),u=d=Oe(y=w+=et(Fe())),b++;break;case 45:45===f&&2==Oe(w)&&(g=0)}}return o}function pt(e,t,n,r,a,o,l,i,s,c,u){for(var d=a-1,p=0===a?o:[""],m=Re(p),f=0,g=0,h=0;f0?p[v]+" "+b:Se(b,/&\f/g,p[v])))&&(s[h++]=y);return ze(e,t,n,0===a?ot:i,s,c,u)}function mt(e,t,n){return ze(e,t,n,at,we(Be),Te(e,2,-2),0)}function ft(e,t,n,r){return ze(e,t,n,lt,Te(e,0,r),Te(e,r+1,-1),r)}var gt=function(e,t,n){for(var r=0,a=0;r=a,a=je(),38===r&&12===a&&(t[n]=1),!We(a);)Ue();return Ge(e,Pe)},ht=new WeakMap,vt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ht.get(n))&&!r){ht.set(e,!0);for(var a=[],o=function(e,t){return Ye(function(e,t){var n=-1,r=44;do{switch(We(r)){case 0:38===r&&12===je()&&(t[n]=1),e[n]+=gt(Pe-1,t,n);break;case 2:e[n]+=Ze(r);break;case 4:if(44===r){e[++n]=58===je()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=we(r)}}while(r=Ue());return e}(qe(e),t))}(t,a),l=n.props,i=0,s=0;i6)switch(Ne(e,t+1)){case 109:if(45!==Ne(e,t+4))break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+rt+"$2-$3$1"+nt+(108==Ne(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ae(e,"stretch")?yt(Se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ne(e,t+1))break;case 6444:switch(Ne(e,Oe(e)-3-(~Ae(e,"!important")&&10))){case 107:return Se(e,":",":"+rt)+e;case 101:return Se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rt+(45===Ne(e,14)?"inline-":"")+"box$3$1"+rt+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Ne(e,t+11)){case 114:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return rt+e+tt+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return rt+e+tt+e+e}return e}var _t=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case lt:e.return=yt(e.value,e.length);break;case it:return st([$e(e,{value:Se(e.value,"@","@"+rt)})],r);case ot:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return st([$e(e,{props:[Se(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return st([$e(e,{props:[Se(t,/:(plac\w+)/,":"+rt+"input-$1")]}),$e(e,{props:[Se(t,/:(plac\w+)/,":-moz-$1")]}),$e(e,{props:[Se(t,/:(plac\w+)/,tt+"input-$1")]})],r)}return""}))}}],kt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,a,o=e.stylisPlugins||_t,l={},i=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n96?Bt:Dt},$t=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Ht=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pt(t,n,r),Lt((function(){return function(e,t,n){Pt(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(t,n,r)})),null},Ut=function e(t,n){var r,a,o=t.__emotion_real===t,l=o&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var s=$t(t,n,o),c=s||zt(l),u=!c("as");return function(){var d=arguments,p=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var m=d.length,f=1;f=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+s;return{name:c,styles:a,next:Ot}}(p.concat(h),t.registered,v);g+=t.key+"-"+y.name,void 0!==a&&(g+=" "+a);var _=u&&void 0===s?zt(f):c,k={};for(var x in e)u&&"as"===x||_(x)&&(k[x]=e[x]);return k.className=g,k.ref=n,i.createElement(i.Fragment,null,i.createElement(Ht,{cache:t,serialized:y,isStringTag:"string"==typeof f}),i.createElement(f,k))},(0,i.forwardRef)((function(e,t){var n=(0,i.useContext)(Mt);return g(e,n,t)})));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=l,h.__emotion_styles=p,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,r){return e(t,ve({},n,r,{shouldForwardProp:$t(h,r,!0)})).apply(void 0,p)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ut[e]=Ut(e)}));const jt=Ut.div` > *:not(:last-of-type) { margin-bottom: 12px !important; } -`;Ht(d.PanelBody)` +`;Ut(d.PanelBody)` margin-right: -16px; margin-left: -16px; -`;var Ut=n(184),Gt=n.n(Ut);const Wt=Ht(d.BaseControl)` +`;var Ft=n(942),Gt=n.n(Ft);const Wt=Ut(d.BaseControl)` margin-bottom: 8px !important; &.is-bold { @@ -45,7 +45,7 @@ } } } -`;function qt(e){let{label:t,isResponsive:n=!0,className:r,isBold:o=!1,OtherControls:i=null,...l}=e;return(0,a.createElement)(Wt,ve({label:t},l,{className:Gt()("label-control",r,{"is-bold":o})}),n&&(0,a.createElement)(he,null),i)}var Zt=e=>{let{instanceId:t,markup:n="",title:r="",description:o="",preserveAspectRatio:i,sanitizeAttribute:l=((e,t)=>t),deprecatedSVGLabelledby:s=!1,...c}=e;if(n=H(n),!n)return null;const u=F(n);if(!u)return null;i&&u.setAttribute("preserveAspectRatio",i);let d="";if(r&&(d=`${r}`),o&&(d+=`${o}`),d){let e=u.getAttribute("id");e||(e=`svg_block_${t}`,u.setAttribute("id",e));const n=`${e}_title`,a=`${e}_desc`;let i,l;d=d.replace("{{TITLE_ID}}",n).replace("{{DESC_ID}}",a),s?r&&o?i=`${n} ${a}`:r?i=`${n}`:o&&(i=`${a}`):(r&&(i=`${n}`),o&&(l=`${a}`)),u.insertAdjacentHTML("afterbegin",d),i&&u.setAttribute("aria-labelledby",i),l&&u.setAttribute("aria-describedby",l),u.setAttribute("role","img")}let p={},m=u.attributes;if(m&&m.length>0)for(let e=0;e{let{label:t=(0,i.__)("Upload SVG","svg-block"),onChange:n,...r}=e;const{createWarningNotice:o}=(0,f.useDispatch)(Yt.store);return(0,a.createElement)(d.FormFileUpload,ve({accept:".svg",variant:"primary",onChange:e=>{const t=e.target.files[0];if("image/svg+xml"!==t.type)o((0,i.__)("Only support SVG format. Please upload a SVG file.","svg-block"),{type:"snackbar"});else if(t.size>5e5)o((0,i.__)("Max file size is 0.5Mb. Please upload a smaller SVG file.","svg-block"),{type:"snackbar"});else{const e=new FileReader;e.onload=function(e){n(e.target.result)},e.readAsText(t)}}},r),t)};const Kt=Ht.div` +`;function qt(e){let{label:t,isResponsive:n=!0,className:r,isBold:o=!1,OtherControls:l=null,...i}=e;return(0,a.createElement)(Wt,ve({label:t},i,{className:Gt()("label-control",r,{"is-bold":o})}),n&&(0,a.createElement)(he,null),l)}var Yt=e=>{let{instanceId:t,markup:n="",title:r="",description:o="",preserveAspectRatio:l,sanitizeAttribute:i=((e,t)=>t),deprecatedSVGLabelledby:s=!1,...c}=e;if(n=U(n),!n)return null;const u=j(n);if(!u)return null;l&&u.setAttribute("preserveAspectRatio",l);let d="";if(r&&(d=`${r}`),o&&(d+=`${o}`),d){let e=u.getAttribute("id");e||(e=`svg_block_${t}`,u.setAttribute("id",e));const n=`${e}_title`,a=`${e}_desc`;let l,i;d=d.replace("{{TITLE_ID}}",n).replace("{{DESC_ID}}",a),s?r&&o?l=`${n} ${a}`:r?l=`${n}`:o&&(l=`${a}`):(r&&(l=`${n}`),o&&(i=`${a}`)),u.insertAdjacentHTML("afterbegin",d),l&&u.setAttribute("aria-labelledby",l),i&&u.setAttribute("aria-describedby",i),u.setAttribute("role","img")}let p={},m=u.attributes;if(m&&m.length>0)for(let e=0;e{let{label:t=(0,l.__)("Upload SVG","svg-block"),onChange:n,...r}=e;const{createWarningNotice:o}=(0,f.useDispatch)(Zt.store);return(0,a.createElement)(d.FormFileUpload,ve({accept:".svg",variant:"primary",onChange:e=>{const t=e.target.files[0];if("image/svg+xml"!==t.type)o((0,l.__)("Only support SVG format. Please upload a SVG file.","svg-block"),{type:"snackbar"});else if(t.size>5e5)o((0,l.__)("Max file size is 0.5Mb. Please upload a smaller SVG file.","svg-block"),{type:"snackbar"});else{const e=new FileReader;e.onload=function(e){n(e.target.result)},e.readAsText(t)}}},r),t)};const Kt=Ut.div` .svg-input-control { &__label { font-size: 11px; @@ -67,7 +67,7 @@ } } } -`;var Qt=e=>{let{label:t=(0,i.__)("Input SVG","svg-block"),inputLabel:n=(0,i.__)("Or input SVG markup","svg-block"),browseLibraryLabel:r=(0,i.__)("Get icon from library","svg-block"),uploadLabel:o=(0,i.__)("Upload SVG","svg-block"),clearLabel:l=(0,i.__)("Clear SVG","svg-block"),toggleLibraryModal:s,value:c,onChange:u,help:p=(0,a.createElement)(a.Fragment,null,(0,i.__)("You can upload an SVG file or input SVG markup directly or choose an icon from the library - a collection of icons from Dashicons, WordPress, Ionicons, Bootstrap Icons.","svg-block"),(0,a.createElement)("br",null),(0,i.__)("We recommend using SVGO to optimize custom SVG files before uploading them. Here is the","svg-block")," ",(0,a.createElement)(d.ExternalLink,{href:"https://jakearchibald.github.io/svgomg/"},(0,i.__)("Web GUI for SVGO","svg-block"))),placeholder:m,rows:f=4,className:g,...h}=e;return(0,a.createElement)(Kt,ve({className:Gt()("svg-input-control",g)},h),!!t&&(0,a.createElement)("div",{className:"svg-input-control__label"},t),(0,a.createElement)("div",{className:"svg-input-control__actions"},s&&(0,a.createElement)(d.Button,{variant:"primary",size:"small",onClick:()=>s(!0)},r),(0,a.createElement)(Xt,{label:o,size:"small",onChange:u})),(0,a.createElement)(d.TextareaControl,{label:n,value:c,onChange:u,rows:f,placeholder:m,className:"svg-input-control__input"}),(0,a.createElement)("div",{className:"svg-input-control__actions"},(0,a.createElement)(d.Button,{variant:"primary",disabled:!c,size:"small",onClick:()=>u("")},l)),(0,a.createElement)("div",{className:"svg-input-control__help"},p))};const Jt={px:{max:1e3,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:50,step:.1},rem:{max:50,step:.1}};function en(e){var t,n;let{label:r,hideLabelFromVision:o,placeholder:i,onChange:l,value:s}=e;const c=parseFloat(s),u=(0,d.__experimentalUseCustomUnits)({availableUnits:(0,p.useSetting)("spacing.units")||["%","px","em","rem","vh","vw"]}),m=(0,a.useMemo)((()=>(0,d.__experimentalParseQuantityAndUnitFromRawValue)(s)),[s])[1]||u[0]?.value||"px";return(0,a.createElement)("fieldset",{className:"unit-range-control"},!o&&(0,a.createElement)(d.BaseControl.VisualLabel,{as:"legend"},r),(0,a.createElement)(d.Flex,null,(0,a.createElement)(d.FlexItem,{isBlock:!0},(0,a.createElement)(d.__experimentalUnitControl,{placeholder:i,value:s,units:u,onChange:l,onUnitChange:e=>{const[t,n]=(0,d.__experimentalParseQuantityAndUnitFromRawValue)(s);["em","rem"].includes(e)&&"px"===n?l((t/16).toFixed(2)+e):["em","rem"].includes(n)&&"px"===e?l(Math.round(16*t)+e):["vh","vw","%"].includes(e)&&t>100&&l(100+e)},min:0,size:"__unstable-large"})),(0,a.createElement)(d.FlexItem,{isBlock:!0},(0,a.createElement)(d.__experimentalSpacer,{marginX:2,marginBottom:0},(0,a.createElement)(d.RangeControl,{value:c,min:0,max:null!==(t=Jt[m]?.max)&&void 0!==t?t:100,step:null!==(n=Jt[m]?.step)&&void 0!==n?n:.1,withInputField:!1,onChange:e=>{l([e,m].join(""))},__nextHasNoMarginBottom:!0})))))}const tn=Ht.div` +`;var Qt=e=>{let{label:t=(0,l.__)("Input SVG","svg-block"),inputLabel:n=(0,l.__)("Or input SVG markup","svg-block"),browseLibraryLabel:r=(0,l.__)("Get icon from library","svg-block"),uploadLabel:o=(0,l.__)("Upload SVG","svg-block"),clearLabel:i=(0,l.__)("Clear SVG","svg-block"),toggleLibraryModal:s,value:c,onChange:u,help:p=(0,a.createElement)(a.Fragment,null,(0,l.__)("You can upload an SVG file or input SVG markup directly or choose an icon from the library - a collection of icons from Dashicons, WordPress, Ionicons, Bootstrap Icons.","svg-block"),(0,a.createElement)("br",null),(0,l.__)("We recommend using SVGO to optimize custom SVG files before uploading them. Here is the","svg-block")," ",(0,a.createElement)(d.ExternalLink,{href:"https://jakearchibald.github.io/svgomg/"},(0,l.__)("Web GUI for SVGO","svg-block"))),placeholder:m,rows:f=4,className:g,...h}=e;return(0,a.createElement)(Kt,ve({className:Gt()("svg-input-control",g)},h),!!t&&(0,a.createElement)("div",{className:"svg-input-control__label"},t),(0,a.createElement)("div",{className:"svg-input-control__actions"},s&&(0,a.createElement)(d.Button,{variant:"primary",size:"small",onClick:()=>s(!0)},r),(0,a.createElement)(Xt,{label:o,size:"small",onChange:u})),(0,a.createElement)(d.TextareaControl,{label:n,value:c,onChange:u,rows:f,placeholder:m,className:"svg-input-control__input"}),(0,a.createElement)("div",{className:"svg-input-control__actions"},(0,a.createElement)(d.Button,{variant:"primary",disabled:!c,size:"small",onClick:()=>u("")},i)),(0,a.createElement)("div",{className:"svg-input-control__help"},p))};const Jt={px:{max:1e3,step:1},"%":{max:100,step:1},vw:{max:100,step:1},vh:{max:100,step:1},em:{max:50,step:.1},rem:{max:50,step:.1}};function en(e){var t,n;let{label:r,hideLabelFromVision:o,placeholder:l,onChange:i,value:s}=e;const c=parseFloat(s),u=(0,d.__experimentalUseCustomUnits)({availableUnits:(0,p.useSetting)("spacing.units")||["%","px","em","rem","vh","vw"]}),m=(0,a.useMemo)((()=>(0,d.__experimentalParseQuantityAndUnitFromRawValue)(s)),[s])[1]||u[0]?.value||"px";return(0,a.createElement)("fieldset",{className:"unit-range-control"},!o&&(0,a.createElement)(d.BaseControl.VisualLabel,{as:"legend"},r),(0,a.createElement)(d.Flex,null,(0,a.createElement)(d.FlexItem,{isBlock:!0},(0,a.createElement)(d.__experimentalUnitControl,{placeholder:l,value:s,units:u,onChange:i,onUnitChange:e=>{const[t,n]=(0,d.__experimentalParseQuantityAndUnitFromRawValue)(s);["em","rem"].includes(e)&&"px"===n?i((t/16).toFixed(2)+e):["em","rem"].includes(n)&&"px"===e?i(Math.round(16*t)+e):["vh","vw","%"].includes(e)&&t>100&&i(100+e)},min:0,size:"__unstable-large"})),(0,a.createElement)(d.FlexItem,{isBlock:!0},(0,a.createElement)(d.__experimentalSpacer,{marginX:2,marginBottom:0},(0,a.createElement)(d.RangeControl,{value:c,min:0,max:null!==(t=Jt[m]?.max)&&void 0!==t?t:100,step:null!==(n=Jt[m]?.step)&&void 0!==n?n:.1,withInputField:!1,onChange:e=>{i([e,m].join(""))},__nextHasNoMarginBottom:!0})))))}const tn=Ut.div` box-sizing: border-box; width: 100%; @@ -114,13 +114,13 @@ } } } -`,nn=Ht(d.Flex)` +`,nn=Ut(d.Flex)` padding-bottom: 8px; .label-control { margin-bottom: 0 !important; } -`,rn=Ht(d.Flex)` +`,rn=Ut(d.Flex)` flex-wrap: wrap; width: auto; gap: 4px; @@ -129,7 +129,7 @@ flex: 1 0 auto; margin: 0 !important; } -`;var an=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})),on=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"}));function ln(e){let{isLinked:t,...n}=e;const r=t?(0,i.__)("Unlink Sides","svg-block"):(0,i.__)("Link Sides","svg-block");return(0,a.createElement)(d.Tooltip,{text:r},(0,a.createElement)("span",null,(0,a.createElement)(d.Button,ve({},n,{className:"component-group-control__linked-button",variant:t?"primary":"secondary",size:"small",icon:t?an:on,iconSize:16,"aria-label":r}))))}const sn=e=>{let{values:t,fields:n}=e;const r=n.map((e=>{var n;let{name:r}=e;return null!==(n=t[r])&&void 0!==n?n:void 0}));return(a=r.filter((e=>e))).sort(((e,t)=>(0,o.isObject)(e)?a.filter((t=>h()(t,e))).length-a.filter((e=>h()(e,t))).length:a.filter((t=>t===e)).length-a.filter((e=>e===t)).length)).pop();var a},cn=e=>{let{values:t,fields:n,renderControl:r,onChange:o,normalizeValue:i}=e;return n.map((e=>{var l;const{name:s}=e;return(0,a.createElement)(a.Fragment,{key:`group-control-${s}`},r({value:null!==(l=t[s])&&void 0!==l?l:void 0,onChange:(c=s,e=>{e=i({side:c,value:e}),o({...t,[c]:e})}),fields:n,values:t,...e}));var c}))},un=e=>{let{values:t,fields:n,renderControl:r,renderAllControl:a=null,onChange:o,normalizeValue:i,...l}=e;return a||(a=r),a({value:sn({values:t,fields:n}),fields:n,values:t,onChange:e=>{e=i({side:"all",value:e});let r={...t};n.forEach((t=>{let{name:n}=t;r={...r,[n]:e}})),o(r)},...l})},dn=e=>{let{label:t,fields:n=[],values:r={},renderLabel:i=o.noop,renderControl:l=o.noop,onChange:s=o.noop,normalizeValue:c=(e=>{let{side:t,value:n}=e;return n}),isLinkedGroup:u=!0,getInitialLinkedState:d=o.noop,className:p,columns:m,...f}=e;const g={fields:n,values:r,renderControl:l,onChange:s,normalizeValue:c,...f},[h,v]=u?function(e){const[t,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>n(e)),[e]),[t,n]}(d(r)):[!1,o.noop];return(0,a.createElement)(tn,ve({className:Gt()("group-control",p,{[`is-${m}-columns`]:m})},f),(0,a.createElement)(nn,{className:"group-control__header"},i({label:t,isLinkedGroup:u,...f}),u&&(0,a.createElement)(ln,{onClick:()=>{v(!h)},isLinked:h})),(0,a.createElement)(rn,{className:"group-control__body"},h&&(0,a.createElement)(un,g),!h&&(0,a.createElement)(cn,g)))},pn=Ht(dn)` +`;var an=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})),on=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"}));function ln(e){let{isLinked:t,...n}=e;const r=t?(0,l.__)("Unlink Sides","svg-block"):(0,l.__)("Link Sides","svg-block");return(0,a.createElement)(d.Tooltip,{text:r},(0,a.createElement)("span",null,(0,a.createElement)(d.Button,ve({},n,{className:"component-group-control__linked-button",variant:t?"primary":"secondary",size:"small",icon:t?an:on,iconSize:16,"aria-label":r}))))}const sn=e=>{let{values:t,fields:n}=e;const r=n.map((e=>{var n;let{name:r}=e;return null!==(n=t[r])&&void 0!==n?n:void 0}));return(a=r.filter((e=>e))).sort(((e,t)=>(0,o.isObject)(e)?a.filter((t=>h()(t,e))).length-a.filter((e=>h()(e,t))).length:a.filter((t=>t===e)).length-a.filter((e=>e===t)).length)).pop();var a},cn=e=>{let{values:t,fields:n,renderControl:r,onChange:o,normalizeValue:l}=e;return n.map((e=>{var i;const{name:s}=e;return(0,a.createElement)(a.Fragment,{key:`group-control-${s}`},r({value:null!==(i=t[s])&&void 0!==i?i:void 0,onChange:(c=s,e=>{e=l({side:c,value:e}),o({...t,[c]:e})}),fields:n,values:t,...e}));var c}))},un=e=>{let{values:t,fields:n,renderControl:r,renderAllControl:a=null,onChange:o,normalizeValue:l,...i}=e;return a||(a=r),a({value:sn({values:t,fields:n}),fields:n,values:t,onChange:e=>{e=l({side:"all",value:e});let r={...t};n.forEach((t=>{let{name:n}=t;r={...r,[n]:e}})),o(r)},...i})},dn=e=>{let{label:t,fields:n=[],values:r={},renderLabel:l=o.noop,renderControl:i=o.noop,onChange:s=o.noop,normalizeValue:c=(e=>{let{side:t,value:n}=e;return n}),isLinkedGroup:u=!0,getInitialLinkedState:d=o.noop,className:p,columns:m,...f}=e;const g={fields:n,values:r,renderControl:i,onChange:s,normalizeValue:c,...f},[h,v]=u?function(e){const[t,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>n(e)),[e]),[t,n]}(d(r)):[!1,o.noop];return(0,a.createElement)(tn,ve({className:Gt()("group-control",p,{[`is-${m}-columns`]:m})},f),(0,a.createElement)(nn,{className:"group-control__header"},l({label:t,isLinkedGroup:u,...f}),u&&(0,a.createElement)(ln,{onClick:()=>{v(!h)},isLinked:h})),(0,a.createElement)(rn,{className:"group-control__body"},h&&(0,a.createElement)(un,g),!h&&(0,a.createElement)(cn,g)))},pn=Ut(dn)` .group-control__body { > *:nth-of-type(3) { order: 2; @@ -139,7 +139,7 @@ height: 40px; } } -`,mn=e=>{let{label:t,values:n,onChange:r=o.noop,fields:l=[{name:"top-left",label:"",placeholder:"top-left"},{name:"top-right",label:"",placeholder:"top-right"},{name:"bottom-right",label:"",placeholder:"bottom-right"},{name:"bottom-left",label:"",placeholder:"bottom-left"}],...s}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(pn,ve({label:t,fields:l,values:n,renderLabel:e=>{let{label:t,isResponsive:n=!0}=e;return(0,a.createElement)(qt,{label:t,isResponsive:n,isBold:!0})},renderControl:e=>{let{label:t,value:n,onChange:r,placeholder:o,...i}=e;return(0,a.createElement)(d.__experimentalUnitControl,ve({placeholder:o,label:t,value:n,onChange:r},i))},renderAllControl:e=>{let{value:t,fields:n,values:r,onChange:l,...s}=e;const c=(0,o.map)(n,"name"),u=(0,o.pick)(r,c);let d=y(Object.values(u))?"":(0,i.__)("Mixed","svg-block");return d&&(t=""),(0,a.createElement)(en,ve({hideLabelFromVision:!0,placeholder:d,value:t,onChange:l},s))},isLinkedGroup:!0,getInitialLinkedState:e=>{const t=l.map((t=>{var n;let{name:r}=t;return null!==(n=e[r])&&void 0!==n?n:""}));return y(t)},onChange:r,columns:2},s)))},fn=e=>{let{help:t}=e;return t?(0,a.createElement)("div",{className:"toggle-group__help",style:{"margin-top":"8px","margin-bottom":"revert","font-size":"12px",color:"#757575"}},t):null},gn=e=>{let{label:t,value:n,options:r,onChange:i=o.noop,toggleOff:l=!0,isResponsive:s=!1,isMultiple:c=!1,help:u,className:p}=e;const m=e=>c?(null!=n?n:[]).includes(e):e===n;return(0,a.createElement)("div",{className:Gt()("toggle-group-control",p)},(0,a.createElement)(qt,{label:t,isResponsive:s,isBold:!0}),(0,a.createElement)(d.ButtonGroup,{"aria-label":t},r.map((e=>{let{label:t,value:r,disabled:o=!1}=e;return(0,a.createElement)(d.Button,{key:r,size:"small",variant:m(r)?"primary":void 0,onClick:()=>(e=>{let t=e;m(e)&&l?t=c?(null!=n?n:[]).filter((t=>t!==e)):void 0:c&&(t=[...null!=n?n:[],e]),i(t)})(r),style:{verticalAlign:"top"},disabled:o},t)}))),(0,a.createElement)(fn,{help:u}))},hn=e=>{let{name:t,label:n,value:r={},options:l,onChange:s=o.noop,toggleOff:c=!0,customOptions:u,help:d,...p}=e;const{label:m=(0,i.__)("Custom value","svg-block"),toggleValue:f="custom",name:g="value",renderControl:h=(e=>{let{label:t,value:n,onChange:r,...o}=e;return(0,a.createElement)(en,ve({label:t,value:n,onChange:r},o))})}=null!=u?u:{},{[t]:v="",[g]:b}=r;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(gn,ve({label:n,value:v,options:l,toggleOff:c,onChange:e=>{let n;n=e===f?{...r,[t]:e}:{...r,[t]:e,[g]:e},s(n)}},p)),v===f&&(0,a.createElement)("div",{className:"toggle-group__custom-control",style:{marginTop:"10px"}},h({label:m,value:b,onChange:e=>{s({...r,[g]:e})}})),(0,a.createElement)(fn,{help:d}))};var vn=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),bn=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})),yn=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})),kn=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"M16 11.2h-3.2V8h-1.6v3.2H8v1.6h3.2V16h1.6v-3.2H16z"}));const xn=Ht.div` +`,mn=e=>{let{label:t,values:n,onChange:r=o.noop,fields:i=[{name:"top-left",label:"",placeholder:"top-left"},{name:"top-right",label:"",placeholder:"top-right"},{name:"bottom-right",label:"",placeholder:"bottom-right"},{name:"bottom-left",label:"",placeholder:"bottom-left"}],...s}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(pn,ve({label:t,fields:i,values:n,renderLabel:e=>{let{label:t,isResponsive:n=!0}=e;return(0,a.createElement)(qt,{label:t,isResponsive:n,isBold:!0})},renderControl:e=>{let{label:t,value:n,onChange:r,placeholder:o,...l}=e;return(0,a.createElement)(d.__experimentalUnitControl,ve({placeholder:o,label:t,value:n,onChange:r},l))},renderAllControl:e=>{let{value:t,fields:n,values:r,onChange:i,...s}=e;const c=(0,o.map)(n,"name"),u=(0,o.pick)(r,c);let d=y(Object.values(u))?"":(0,l.__)("Mixed","svg-block");return d&&(t=""),(0,a.createElement)(en,ve({hideLabelFromVision:!0,placeholder:d,value:t,onChange:i},s))},isLinkedGroup:!0,getInitialLinkedState:e=>{const t=i.map((t=>{var n;let{name:r}=t;return null!==(n=e[r])&&void 0!==n?n:""}));return y(t)},onChange:r,columns:2},s)))},fn=({help:e})=>e?(0,i.createElement)("div",{className:"toggle-group__help",style:{"margin-top":"8px","margin-bottom":"revert","font-size":"12px",color:"#757575"}},e):null,gn=({label:e,value:t,options:n,onChange:r=o.noop,toggleOff:a=!0,isResponsive:l=!1,isMultiple:s=!1,help:c,className:u})=>{const p=e=>s?(null!=t?t:[]).includes(e):e===t;return(0,i.createElement)("div",{className:Gt()("toggle-group-control",u)},(0,i.createElement)(qt,{label:e,isResponsive:l,isBold:!0}),(0,i.createElement)(d.ButtonGroup,{"aria-label":e},n.map((({label:e,value:n,disabled:o=!1})=>(0,i.createElement)(d.Button,{key:n,size:"small",variant:p(n)?"primary":void 0,onClick:()=>(e=>{let n=e;p(e)&&a?n=s?(null!=t?t:[]).filter((t=>t!==e)):void 0:s&&(n=[...null!=t?t:[],e]),r(n)})(n),style:{verticalAlign:"top"},disabled:o},e)))),(0,i.createElement)(fn,{help:c}))},hn=({name:e,label:t,value:n={},options:r,onChange:a=o.noop,toggleOff:s=!0,customOptions:c,customControlProps:u={},help:d,...p})=>{const{label:m=(0,l.__)("Custom value","svg-block"),toggleValue:f="custom",name:g="value",renderControl:h=(({label:e,value:t,onChange:n,...r})=>(0,i.createElement)(en,{label:e,value:t,onChange:n,...r}))}=null!=c?c:{},{[e]:v="",[g]:b}=n;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(gn,{label:t,value:v,options:r,toggleOff:s,onChange:t=>{let r;r=t===f?{...n,[e]:t}:{...n,[e]:t,[g]:t},a(r)},...p}),v===f&&(0,i.createElement)("div",{className:"toggle-group__custom-control",style:{marginTop:"10px"}},h({label:m,value:b,onChange:e=>{a({...n,[g]:e})},...u})),(0,i.createElement)(fn,{help:d}))};var vn=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),bn=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})),yn=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})),kn=(0,i.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(s.Path,{d:"M16 11.2h-3.2V8h-1.6v3.2H8v1.6h3.2V16h1.6v-3.2H16z"}));const xn=Ut.div` padding: 8px 0; margin-bottom: 8px; border-bottom: 1px solid #ddd; @@ -157,7 +157,7 @@ margin-right: auto; } } -`,wn=e=>{let{values:t=[],onChange:n=o.noop,onMove:r=o.noop,onCreate:l=o.noop,onRemove:s=o.noop,renderControl:c=o.noop,addNewButton:u=null,defaultItemValue:p={},addItemLabel:m=(0,i.__)("Add new item","svg-block"),removeItemLabel:f=(0,i.__)("Remove item","svg-block"),isEditable:g=!0,...h}=e;return(0,a.createElement)("div",{className:"repeater-group"},t.map(((e,o)=>(0,a.createElement)(xn,{className:"repeater-group__item",key:o},c({value:e,index:o,onChange:e=>{const r=t.map(((t,n)=>n===o?e:t));n(r)},isEditable:g,...h}),g&&(0,a.createElement)("div",{className:"repeater-group__item__actions"},(0,a.createElement)(d.Button,{icon:vn,iconSize:12,variant:"secondary",isDestructive:!0,size:"small",onClick:e=>{e.preventDefault();const r=[...t];r.splice(o,1),n(r),s(o)},className:"button-remove-item",title:(0,i.__)("Remove item","svg-block")},f),(0,a.createElement)(d.Button,{disabled:0===o,icon:bn,iconSize:12,variant:"secondary",size:"small",onClick:e=>{e.preventDefault();const a=[...t];[a[o-1],a[o]]=[a[o],a[o-1]],n(a),r(o-1,o)},className:"button-item-up",title:(0,i.__)("Move up","svg-block")},(0,i.__)("Up","svg-block")),(0,a.createElement)(d.Button,{disabled:o===t.length-1,icon:yn,iconSize:12,variant:"secondary",size:"small",onClick:e=>{e.preventDefault();const a=[...t];[a[o+1],a[o]]=[a[o],a[o+1]],n(a),r(o+1,o)},className:"button-item-down",title:(0,i.__)("Move down","svg-block")},(0,i.__)("Down","svg-block")))))),g&&(0,a.createElement)(a.Fragment,null,u?u(t):(0,a.createElement)(d.Button,{icon:kn,variant:"primary",size:"small",onClick:e=>{var r;e.preventDefault(),n([...t,p]),l(null!==(r=t?.length)&&void 0!==r?r:0)},className:"button-add-item",title:(0,i.__)("Add new item","svg-block")},m)))},Cn=Ht(dn)` +`,wn=e=>{let{values:t=[],onChange:n=o.noop,onMove:r=o.noop,onCreate:i=o.noop,onRemove:s=o.noop,renderControl:c=o.noop,addNewButton:u=null,defaultItemValue:p={},addItemLabel:m=(0,l.__)("Add new item","svg-block"),removeItemLabel:f=(0,l.__)("Remove item","svg-block"),isEditable:g=!0,...h}=e;return(0,a.createElement)("div",{className:"repeater-group"},t.map(((e,o)=>(0,a.createElement)(xn,{className:"repeater-group__item",key:o},c({value:e,index:o,onChange:e=>{const r=t.map(((t,n)=>n===o?e:t));n(r)},isEditable:g,...h}),g&&(0,a.createElement)("div",{className:"repeater-group__item__actions"},(0,a.createElement)(d.Button,{icon:vn,iconSize:12,variant:"secondary",isDestructive:!0,size:"small",onClick:e=>{e.preventDefault();const r=[...t];r.splice(o,1),n(r),s(o)},className:"button-remove-item",title:(0,l.__)("Remove item","svg-block")},f),(0,a.createElement)(d.Button,{disabled:0===o,icon:bn,iconSize:12,variant:"secondary",size:"small",onClick:e=>{e.preventDefault();const a=[...t];[a[o-1],a[o]]=[a[o],a[o-1]],n(a),r(o-1,o)},className:"button-item-up",title:(0,l.__)("Move up","svg-block")},(0,l.__)("Up","svg-block")),(0,a.createElement)(d.Button,{disabled:o===t.length-1,icon:yn,iconSize:12,variant:"secondary",size:"small",onClick:e=>{e.preventDefault();const a=[...t];[a[o+1],a[o]]=[a[o],a[o+1]],n(a),r(o+1,o)},className:"button-item-down",title:(0,l.__)("Move down","svg-block")},(0,l.__)("Down","svg-block")))))),g&&(0,a.createElement)(a.Fragment,null,u?u(t):(0,a.createElement)(d.Button,{icon:kn,variant:"primary",size:"small",onClick:e=>{var r;e.preventDefault(),n([...t,p]),i(null!==(r=t?.length)&&void 0!==r?r:0)},className:"button-add-item",title:(0,l.__)("Add new item","svg-block")},m)))},En=Ut(dn)` /* .block-editor-panel-color-gradient-settings__item { padding: 8px !important; } */ @@ -167,7 +167,7 @@ margin-bottom: 0; } } -`,En=Ht.div` +`,Cn=Ut.div` .shadow-list__title { margin-bottom: 8px; } @@ -190,7 +190,7 @@ background: #ddd; } } -`,Sn=Ht.div` +`,Sn=Ut.div` > .block-editor-tools-panel-color-gradient-settings__item { border-right: 1px solid #0000001a; border-bottom: 1px solid #0000001a; @@ -229,7 +229,7 @@ } } } -`,An=e=>{let{colorValue:t,label:n}=e;return(0,a.createElement)(d.Flex,{justify:"flex-start"},(0,a.createElement)(d.ColorIndicator,{className:"block-editor-panel-color-gradient-settings__color-indicator",colorValue:t}),(0,a.createElement)(d.FlexItem,{className:"block-editor-panel-color-gradient-settings__color-name",title:n},n))},Nn=e=>t=>{let{onToggle:n,isOpen:r}=t;const{colorValue:o,label:i}=e,l={onClick:n,className:Gt()("block-editor-panel-color-gradient-settings__dropdown",{"is-open":r}),"aria-expanded":r};return(0,a.createElement)(d.Button,l,(0,a.createElement)(An,{colorValue:o,label:i}))};function Tn(e){let t,{colors:n,disableCustomColors:r,disableCustomGradients:o,enableAlpha:i,gradients:l,settings:s,__experimentalHasMultipleOrigins:c,__experimentalIsRenderedInSidebar:u,className:m,...f}=e;return u&&(t={placement:"left-start",offset:36,shift:!0}),(0,a.createElement)(Sn,{className:Gt()("components-grid components-tools-panel block-editor-panel-color-gradient-settings",m)},s.map(((e,s)=>{var m;const f={clearable:!0,colorValue:e.colorValue,colors:n,disableCustomColors:r,disableCustomGradients:o,enableAlpha:i,gradientValue:e.gradientValue,gradients:l,label:e.label,onColorChange:e.onColorChange,onGradientChange:e.onGradientChange,showTitle:!1,__experimentalHasMultipleOrigins:c,__experimentalIsRenderedInSidebar:u,...e},g={colorValue:null!==(m=e.gradientValue)&&void 0!==m?m:e.colorValue,label:e.label};return e&&(0,a.createElement)("div",{key:s,className:"components-tools-panel-item block-editor-tools-panel-color-gradient-settings__item"},(0,a.createElement)(d.Dropdown,{popoverProps:t,className:"block-editor-tools-panel-color-gradient-settings__dropdown",renderToggle:Nn(g),renderContent:()=>(0,a.createElement)("div",{className:"block-editor-panel-color-gradient-settings__dropdown-content"},(0,a.createElement)(p.__experimentalColorGradientControl,f))}))})))}const On=e=>{let{__experimentalHasMultipleOrigins:t=!0,__experimentalIsRenderedInSidebar:n=!0,enableAlpha:r,settings:o,...i}=e;return(0,a.createElement)(Tn,ve({},(0,p.__experimentalUseMultipleOriginColorsAndGradients)(),{__experimentalIsRenderedInSidebar:n,__experimentalHasMultipleOrigins:t,enableAlpha:r,settings:o},i))},Rn=e=>{let{label:t,values:n,onChange:r=o.noop,allColors:l}=e;const s=[{name:"x",label:(0,i.__)("Offset X","svg-block")},{name:"y",label:(0,i.__)("Offset Y","svg-block")},{name:"blur",label:(0,i.__)("Blur","svg-block")},{name:"spread",label:(0,i.__)("Spread","svg-block")},{name:"color",label:(0,i.__)("Color","svg-block")},{name:"inset",label:(0,i.__)("Inset?","svg-block")}];return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Cn,{label:t,fields:s,values:n,renderLabel:e=>{let{label:t}=e;return(0,a.createElement)(qt,{label:t,isResponsive:!1})},renderControl:e=>{let{name:t,label:n,value:r,onChange:o}=e;switch(t){case"x":case"y":case"blur":case"spread":return(0,a.createElement)(d.__experimentalUnitControl,{label:n,value:r,onChange:o});case"inset":return(0,a.createElement)(d.ToggleControl,{label:n,checked:r,onChange:o});case"color":return(0,a.createElement)(On,{enableAlpha:!0,settings:[{label:n,onColorChange:e=>{o(C(e,l))},colorValue:C(r,l)?.value}],className:"is-inner-control"})}return null},isLinkedGroup:!1,onChange:r,columns:4}))},Ln={x:"0px",y:"2px",blur:"6px",spread:"0px",color:{value:"rgba(0, 0, 0, .24)"},inset:!1},In=e=>{const{label:t,slug:n,onChangeSlug:r=o.noop,onChange:l,hasPresets:s=!1,customShadowPresets:c=[],defaultShadow:u=Ln,labelProps:{isResponsive:d=!1,isBold:m=!0,...f}={}}=e,g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t={},{default:n,theme:r}=(0,p.useSetting)("shadow.presets");return r&&(t.theme={label:(0,i.__)("Theme","svg-block"),presets:r.filter((e=>{let{shadow:t}=e;return!t.includes("var")}))}),e&&e?.length&&(t.custom={label:(0,i.__)("Custom","svg-block"),presets:e}),n&&(t.default={label:(0,i.__)("Default","svg-block"),presets:n}),t}(c),{allColors:h}=x();return(0,a.createElement)(En,{className:"shadow-group-control"},t&&(0,a.createElement)(qt,ve({label:t,isResponsive:d,isBold:m},null!=f?f:{})),s&&(0,a.createElement)("div",{className:"shadow-presets"},Object.keys(g).map((e=>(0,a.createElement)(a.Fragment,{key:e},(0,a.createElement)("h3",{className:"shadow-list__title"},g[e].label),(0,a.createElement)("div",{className:`shadow-list ${e}-presets`},g[e].presets.map((e=>{let{slug:t,shadow:o}=e;return(0,a.createElement)("div",{key:t,onClick:()=>{const e=o.split(/,\s*(?![^\(]*\))/).map((e=>{if(e.includes("var"))return!1;const t={};let n=e;e.includes("inset")?(t.inset=!0,n=e.replace("inset","").trim()):t.inset=!1,n=n.replaceAll(/\s{2,}/g," ");const r=n.split(/ (?![^\(]*\))/);if(r.length<2||r.length>5)return!1;E(r[0])?t.color={value:r.shift()}:E(r[r.length-1])&&(t.color={value:r.pop()});for(let e=0;ee));l([...e]),r(t)},className:Gt()("shadow-item",t,{"is-selected":t===n}),style:{boxShadow:o}})}))))))),(0,a.createElement)(wn,ve({},e,{onChange:e=>{l(e),r("")},addItemLabel:(0,i.__)("Add new shadow","svg-block"),removeItemLabel:(0,i.__)("Remove shadow","svg-block"),renderControl:e=>{let{value:t,onChange:n,index:r}=e;return(0,a.createElement)(Rn,{label:(0,i.sprintf)((0,i.__)("Shadow %d","svg-block"),r+1),values:t,onChange:n,allColors:h})},defaultItemValue:u})))};var Mn=window.wp.keycodes;function Vn(e){let{value:t,anchorRef:n,onChange:r,onUnlink:o,onRemove:l,isSelected:s}=e;const[c,u]=(0,a.useState)(!1),m=()=>(u(!0),!1);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(p.BlockControls,null,(0,a.createElement)(d.ToolbarGroup,null,(0,a.createElement)(d.ToolbarButton,{name:"link",icon:an,title:(0,i.__)("Link","svg-block"),shortcut:Mn.displayShortcut.primary("k"),onClick:m,isActive:!!t?.url}))),s&&(0,a.createElement)(d.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Mn.rawShortcut.primary("k")]:m,[Mn.rawShortcut.primaryShift("k")]:o}}),c&&(0,a.createElement)(d.Popover,{placement:"bottom",onClose:()=>u(!1),anchor:n?.current},(0,a.createElement)(p.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:t,onChange:r,onRemove:l})))}var Bn=n(709),zn=n.n(Bn);const Dn=Ht(d.Modal)` +`,An=e=>{let{colorValue:t,label:n}=e;return(0,a.createElement)(d.Flex,{justify:"flex-start"},(0,a.createElement)(d.ColorIndicator,{className:"block-editor-panel-color-gradient-settings__color-indicator",colorValue:t}),(0,a.createElement)(d.FlexItem,{className:"block-editor-panel-color-gradient-settings__color-name",title:n},n))},Nn=e=>t=>{let{onToggle:n,isOpen:r}=t;const{colorValue:o,label:l}=e,i={onClick:n,className:Gt()("block-editor-panel-color-gradient-settings__dropdown",{"is-open":r}),"aria-expanded":r};return(0,a.createElement)(d.Button,i,(0,a.createElement)(An,{colorValue:o,label:l}))};function Tn(e){let t,{colors:n,disableCustomColors:r,disableCustomGradients:o,enableAlpha:l,gradients:i,settings:s,__experimentalHasMultipleOrigins:c,__experimentalIsRenderedInSidebar:u,className:m,...f}=e;return u&&(t={placement:"left-start",offset:36,shift:!0}),(0,a.createElement)(Sn,{className:Gt()("components-grid components-tools-panel block-editor-panel-color-gradient-settings",m)},s.map(((e,s)=>{var m;const f={clearable:!0,colorValue:e.colorValue,colors:n,disableCustomColors:r,disableCustomGradients:o,enableAlpha:l,gradientValue:e.gradientValue,gradients:i,label:e.label,onColorChange:e.onColorChange,onGradientChange:e.onGradientChange,showTitle:!1,__experimentalHasMultipleOrigins:c,__experimentalIsRenderedInSidebar:u,...e},g={colorValue:null!==(m=e.gradientValue)&&void 0!==m?m:e.colorValue,label:e.label};return e&&(0,a.createElement)("div",{key:s,className:"components-tools-panel-item block-editor-tools-panel-color-gradient-settings__item"},(0,a.createElement)(d.Dropdown,{popoverProps:t,className:"block-editor-tools-panel-color-gradient-settings__dropdown",renderToggle:Nn(g),renderContent:()=>(0,a.createElement)("div",{className:"block-editor-panel-color-gradient-settings__dropdown-content"},(0,a.createElement)(p.__experimentalColorGradientControl,f))}))})))}const On=e=>{let{__experimentalHasMultipleOrigins:t=!0,__experimentalIsRenderedInSidebar:n=!0,enableAlpha:r,settings:o,...l}=e;return(0,a.createElement)(Tn,ve({},(0,p.__experimentalUseMultipleOriginColorsAndGradients)(),{__experimentalIsRenderedInSidebar:n,__experimentalHasMultipleOrigins:t,enableAlpha:r,settings:o},l))},Rn=e=>{let{label:t,values:n,onChange:r=o.noop,allColors:i}=e;const s=[{name:"x",label:(0,l.__)("Offset X","svg-block")},{name:"y",label:(0,l.__)("Offset Y","svg-block")},{name:"blur",label:(0,l.__)("Blur","svg-block")},{name:"spread",label:(0,l.__)("Spread","svg-block")},{name:"color",label:(0,l.__)("Color","svg-block")},{name:"inset",label:(0,l.__)("Inset?","svg-block")}];return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(En,{label:t,fields:s,values:n,renderLabel:e=>{let{label:t}=e;return(0,a.createElement)(qt,{label:t,isResponsive:!1})},renderControl:e=>{let{name:t,label:n,value:r,onChange:o}=e;switch(t){case"x":case"y":case"blur":case"spread":return(0,a.createElement)(d.__experimentalUnitControl,{label:n,value:r,onChange:o});case"inset":return(0,a.createElement)(d.ToggleControl,{label:n,checked:r,onChange:o});case"color":return(0,a.createElement)(On,{enableAlpha:!0,settings:[{label:n,onColorChange:e=>{o(E(e,i))},colorValue:E(r,i)?.value}],className:"is-inner-control"})}return null},isLinkedGroup:!1,onChange:r,columns:4}))},In={x:"0px",y:"2px",blur:"6px",spread:"0px",color:{value:"rgba(0, 0, 0, .24)"},inset:!1},Ln=e=>{const{label:t,slug:n,onChangeSlug:r=o.noop,onChange:i,hasPresets:s=!1,customShadowPresets:c=[],defaultShadow:u=In,labelProps:{isResponsive:d=!1,isBold:m=!0,...f}={}}=e,g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t={},{default:n,theme:r}=(0,p.useSetting)("shadow.presets");return r&&(t.theme={label:(0,l.__)("Theme","svg-block"),presets:r.filter((e=>{let{shadow:t}=e;return!t.includes("var")}))}),e&&e?.length&&(t.custom={label:(0,l.__)("Custom","svg-block"),presets:e}),n&&(t.default={label:(0,l.__)("Default","svg-block"),presets:n}),t}(c),{allColors:h}=x();return(0,a.createElement)(Cn,{className:"shadow-group-control"},t&&(0,a.createElement)(qt,ve({label:t,isResponsive:d,isBold:m},null!=f?f:{})),s&&(0,a.createElement)("div",{className:"shadow-presets"},Object.keys(g).map((e=>(0,a.createElement)(a.Fragment,{key:e},(0,a.createElement)("h3",{className:"shadow-list__title"},g[e].label),(0,a.createElement)("div",{className:`shadow-list ${e}-presets`},g[e].presets.map((e=>{let{slug:t,shadow:o}=e;return(0,a.createElement)("div",{key:t,onClick:()=>{const e=o.split(/,\s*(?![^\(]*\))/).map((e=>{if(e.includes("var"))return!1;const t={};let n=e;e.includes("inset")?(t.inset=!0,n=e.replace("inset","").trim()):t.inset=!1,n=n.replaceAll(/\s{2,}/g," ");const r=n.split(/ (?![^\(]*\))/);if(r.length<2||r.length>5)return!1;C(r[0])?t.color={value:r.shift()}:C(r[r.length-1])&&(t.color={value:r.pop()});for(let e=0;ee));i([...e]),r(t)},className:Gt()("shadow-item",t,{"is-selected":t===n}),style:{boxShadow:o}})}))))))),(0,a.createElement)(wn,ve({},e,{onChange:e=>{i(e),r("")},addItemLabel:(0,l.__)("Add new shadow","svg-block"),removeItemLabel:(0,l.__)("Remove shadow","svg-block"),renderControl:e=>{let{value:t,onChange:n,index:r}=e;return(0,a.createElement)(Rn,{label:(0,l.sprintf)((0,l.__)("Shadow %d","svg-block"),r+1),values:t,onChange:n,allColors:h})},defaultItemValue:u})))};var Mn=window.wp.keycodes;function Vn(e){let{value:t,anchorRef:n,onChange:r,onUnlink:o,onRemove:i,isSelected:s}=e;const[c,u]=(0,a.useState)(!1),m=()=>(u(!0),!1);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(p.BlockControls,null,(0,a.createElement)(d.ToolbarGroup,null,(0,a.createElement)(d.ToolbarButton,{name:"link",icon:an,title:(0,l.__)("Link","svg-block"),shortcut:Mn.displayShortcut.primary("k"),onClick:m,isActive:!!t?.url}))),s&&(0,a.createElement)(d.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[Mn.rawShortcut.primary("k")]:m,[Mn.rawShortcut.primaryShift("k")]:o}}),c&&(0,a.createElement)(d.Popover,{placement:"bottom",onClose:()=>u(!1),anchor:n?.current},(0,a.createElement)(p.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:t,onChange:r,onRemove:i})))}var Pn=n(799),Bn=n.n(Pn);const Dn=Ut(d.Modal)` // Modal content .components-modal__content { display: flex; @@ -408,4 +408,4 @@ padding: 5px 10px; } } -`;function Pn(e){let{title:t=(0,i.__)("Icon library","svg-block"),isModalOpen:n=!1,setIsModalOpen:r,icons:l,keywords:s=[],value:c="",onSubmit:u=o.noop,onCancel:p=o.noop,className:m}=e;const[f,g]=(0,a.useState)(c),h=!f,v=(0,a.useRef)(null),[b,y]=(0,a.useState)(null),k=l&&l.length&&n;(0,a.useEffect)((()=>{k&&(y(new(zn())("icon-library",{valueNames:[{data:["name","categories","tags"]}],page:300,pagination:{item:"
  • "},searchClass:"js-search-icons",searchDelay:500})),v.current.classList.remove("is-loading"),v.current.classList.add("show-library"))}),[k]);const _=(0,a.useRef)(null);(0,a.useEffect)((()=>{k&&_.current&&_.current.focus()}),[k]);const x=(0,a.useRef)(null),[w,C]=(0,a.useState)(""),E=()=>{r(!1),p()};return n?(0,a.createElement)(Dn,{title:t,closeLabel:(0,i.__)("Close","svg-block"),onRequestClose:()=>E(),className:Gt()("icon-libary-modal",m),isFullScreen:!0,onKeyDown:e=>{if(e.keyCode===Mn.ENTER&&!h){var t;let{nodeName:n}=null!==(t=document.activeElement)&&void 0!==t?t:{nodeName:""};n=n.toLowerCase(),document.activeElement===_.current||"button"===n&&document.activeElement!==x.current||(e.preventDefault(),u(f),E())}}},(0,a.createElement)("div",{ref:v,id:"icon-library",className:"icon-library-wrapper is-loading"},l&&l.length?(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.Flex,{className:"icon-filter"},(0,a.createElement)(d.FlexItem,{className:"icon-filter__search"},(0,a.createElement)(d.SearchControl,{ref:_,placeholder:(0,i.__)("Search icon...","svg-block"),value:w,onChange:e=>{w&&w.length>1&&!e&&b.search(""),C(e)},className:"js-search-icons"})),(0,a.createElement)(d.FlexItem,{className:"icon-filter__keywords"},s&&!!s.length&&(0,a.createElement)("ul",{className:"keywords"},(0,a.createElement)("li",null,(0,a.createElement)("span",{className:"keyword-label"},(0,i.__)("Quick search:","svg-block"))),b&&s.map((e=>(0,a.createElement)("li",{key:e},(0,a.createElement)("span",{className:Gt()("keyword",{"is-selected":e===w}),onClick:()=>{b.search(e),C(e)}},e))))))),(0,a.createElement)("div",{className:"icon-library list","data-empty":(0,i.__)("Nothing found, try searching again.","svg-block")},l.map(((e,t)=>{let{name:n,title:r,icon:o,categories:i,tags:l,provider:s}=e;return(0,a.createElement)("div",{key:(0,j.cleanForSlug)(`${s}-${n}-${t}`),"data-name":n,"data-categories":i,"data-tags":l,"data-provider":s,className:Gt()({selected:f===o}),onClick:e=>{2===e?.detail?(u(o),E()):g(o)}},(0,a.createElement)("div",{dangerouslySetInnerHTML:{__html:o},className:"icon"}),(0,a.createElement)("span",{className:"title"},r))}))),(0,a.createElement)("ul",{className:"pagination"})):(0,a.createElement)(d.Spinner,{style:{margin:"4px"}})),(0,a.createElement)(d.Flex,{className:"icon-submit"},(0,a.createElement)(d.FlexItem,null,(0,a.createElement)(d.Button,{variant:"secondary",onClick:()=>E()},(0,i.__)("Cancel","svg-block"))),(0,a.createElement)(d.FlexItem,null,(0,a.createElement)(d.Button,{disabled:h,variant:"primary",type:"submit",ref:x,onClick:()=>{u(f),E()}},(0,i.__)("Insert icon","svg-block"))))):null}function $n(e){const{attributes:t}=e;let n={};n={...n,...I(t)},n={...n,...M(t)};const{zIndex:r=""}=t;return(r||""!==r)&&(n={...n,"--bb--zindex":r}),n}function jn(e){const{attributes:t,attributes:{fillColor:n,strokeColor:r,backgroundColor:a,textColor:o,deprecatedCSSColorV1:i,deprecatedIsUnsetValueV1:l,useAsButton:s,boldblocks:c={}}}=e;let u={};const d=l?fe:N;u={...u,...T(t,d)},u={...u,...O(t,d)},u={...u,...L(t)};const p=i?me:S,m=l?ge:V;if(u={...u,...B(t,p,m)},u={...u,...D(t)},s){const{svgWidth:e={},gap:t={}}=c;u={...u,...d(e,"svg-width")},u={...u,...d(t,"gap")}}u={...u,...P(t?.boldblocks?.shadows,p)};const f=p(n);f&&(u["--bb--fill--color"]=f);const g=p(r);g&&(u["--bb--stroke--color"]=g);const h=p(a);if(h&&(u["--bb--background--color"]=h),s){const e=p(o);e&&(u["--bb--text--color"]=e)}return u}const Hn=["divider","arrow","up","down","left","right","forward","back","flower","shape","fill","outline","square","circle","text","layout","grid","list","currency","emoji","file","cart","basket","star","logo","brand","social","person","people","number","admin","slide","editor","align","badge","bag","calendar","caret","chevron"],Fn=[{name:"Shadow 1",slug:"bb-shadow-1",shadow:"rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.9) 0px 0px 0px 1px"},{name:"Shadow 2",slug:"bb-shadow-2",shadow:"rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset"},{name:"Shadow 3",slug:"bb-shadow-3",shadow:"rgba(0, 0, 0, 0.2) 0px 20px 30px"},{name:"Shadow 4",slug:"bb-shadow-4",shadow:"rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px"},{name:"Shadow 5",slug:"bb-shadow-5",shadow:"rgb(85, 91, 255) 0px 0px 0px 3px, rgb(31, 193, 27) 0px 0px 0px 6px, rgb(255, 217, 19) 0px 0px 0px 9px, rgb(255, 156, 85) 0px 0px 0px 12px, rgb(255, 85, 85) 0px 0px 0px 15px"}],Un=e=>{let{isEdit:t,onChangeText:n,...r}=e;const{content:o,title:l,description:s,linkUrl:c,linkTarget:u,linkRel:d,blockId:m,preserveAspectRatio:f,flip:g,invert:h,useAsButton:v,buttonText:b,iconPosition:y,deprecatedSVGLabelledby:k,linkToPost:_}=r,x=!!c||_,w=!t&&x?"a":"div",C={href:x?c:void 0,rel:x?d:void 0,target:x?u:void 0},E=x&&v;return(0,a.createElement)(w,ve({className:Gt()("wp-block-boldblocks-svg-block__inner",{"is-invert":h,"is-flip":g,"use-as-button":E,"is-edit":t,[`icon-${y}`]:E&&y})},C,{style:{...jn({attributes:r})}}),(0,a.createElement)(Zt,{markup:o,title:l,description:s,instanceId:m,preserveAspectRatio:f,deprecatedSVGLabelledby:k}),E&&(t?(0,a.createElement)(p.RichText,{value:b,tagName:"span",onChange:n,placeholder:(0,i._x)("Button text","Input button text"),className:"button-text",allowedFormats:["core/bold","core/code","core/italic","core/strikethrough","core/underline","core/text-color","core/subscript","core/superscript","core/keyboard"]}):b&&(0,a.createElement)(p.RichText.Content,{value:b,tagName:"span",className:"button-text"})))};var Gn=(0,l.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(s.Path,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"}));const Wn="noreferrer noopener";var qn,Zn,Yn=e=>{const{setAttributes:t,attributes:n,isSelected:r,anchorRef:o,getResponsiveAttributeValue:l,handleChangeResponsiveAttributeField:s,breakpoint:c,allBreakpoints:u}=e,{linkUrl:m,linkTarget:f,linkRel:g,useAsButton:h,iconPosition:v="left",linkToPost:b}=n,y="_blank"===f,_=()=>{t({linkUrl:void 0,linkTarget:void 0,linkRel:void 0})},x=(0,a.useCallback)((e=>{const n=e?"_blank":void 0;let r=g;n&&!g?r=Wn:n||g!==Wn||(r=void 0),t({linkTarget:n,linkRel:r})}),[g,t]),w=(0,a.useCallback)((e=>{t({linkRel:e})}),[t]),C=l("svgWidth"),E=l("gap");(0,a.useEffect)((()=>{if(h){let e={};k(C)||(e={...e,svgWidth:se({newValue:{svgWidth:"1em",value:"1em"},fieldName:"svgWidth",attributes:n,breakpoint:c,allBreakpoints:u})}),k(E)||(e={...e,gap:se({newValue:{gap:".5rem",value:".5rem"},fieldName:"gap",attributes:n,breakpoint:c,allBreakpoints:u})}),k(e)&&pe({attributes:n,setAttributes:t})(e)}}),[h]);const S=!!m||b;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(p.BlockControls,null,(0,a.createElement)(Vn,{value:{url:m,opensInNewTab:y},anchorRef:o,onChange:e=>{let{url:n,opensInNewTab:r}=e;t({linkUrl:n}),y!==r&&x(r)},onUnlink:_,onRemove:_,isSelected:r}),(0,a.createElement)(d.ToolbarGroup,null,(0,a.createElement)(d.ToolbarButton,{icon:Gn,onClick:()=>{t({linkToPost:!b})},isPressed:b,label:(0,i.__)("Link to post?","svg-block")}))),S&&(0,a.createElement)(p.InspectorControls,{group:"styles"},(0,a.createElement)(d.PanelBody,{title:(0,i.__)("Link settings","svg-block")},(0,a.createElement)(Ft,null,(0,a.createElement)(d.ToggleControl,{label:(0,i.__)("Open in new tab","svg-block"),onChange:x,checked:y}),(0,a.createElement)(d.TextControl,{label:(0,i.__)("Link rel","svg-block"),value:g||"",onChange:w}),(0,a.createElement)(d.ToggleControl,{label:(0,i.__)("Use as a button","svg-block"),onChange:e=>{t({useAsButton:e})},checked:h}),h&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(hn,{name:"svgWidth",label:(0,i.__)("Icon width","svg-block"),options:[{value:"1em",label:"1em"},{value:"1.5em",label:"1.5em"},{value:"2em",label:"2em"},{value:"auto",label:(0,i.__)("Auto","svg-block")},{value:"custom",label:(0,i.__)("Custom","svg-block")}],value:C,onChange:s("svgWidth"),isResponsive:!0,toggleOff:!1}),(0,a.createElement)(d.ToggleControl,{label:(0,i.__)("Icon on the right?","svg-block"),checked:"right"===v,onChange:e=>{t(e?{iconPosition:"right"}:{iconPosition:"left"})}}),(0,a.createElement)(hn,{name:"gap",label:(0,i.__)("Gap between icon and text","svg-block"),options:[{value:".5rem",label:".5rem"},{value:"1rem",label:"1rem"},{value:"custom",label:(0,i.__)("Custom","svg-block")}],value:E,onChange:s("gap"),isResponsive:!0,toggleOff:!1}))))))};function Xn(){return Xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,f.createReduxStore)(e,{selectors:{getIconLibrary(e){var t;return null!==(t=e?.icons)&&void 0!==t?t:[]}},actions:{loadIconLibrary(e){return async t=>{var n;let{select:r,dispatch:a}=t;if(!e)return;let o=r.getIconLibrary();if(o&&o.length)return o;const i=await b()({path:e});var l;return i?.success&&a({type:"UPDATE_ICONS",payload:null!==(l=i?.data)&&void 0!==l?l:[]}),null!==(n=i?.data)&&void 0!==n?n:[]}}},reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{icons:[]},t=arguments.length>1?arguments[1]:void 0;return"UPDATE_ICONS"===t.type?{...e,icons:t.payload}:e}});(0,f.register)(t)})(Qn);const Jn=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return n=>{let r=n;if(n&&"object"===G(n)&&n?.color){let a=n.color;const o=G(a);e?"object"===o&&(a=a?.value):"string"===o&&(a=C(a,t)),r={...n,color:a}}return r}};var er=function(e){const{className:t,attributes:n}=e;return(0,a.createElement)("div",p.useBlockProps.save({className:t,style:$n(e)}),(0,a.createElement)(Un,n))};const tr=[{name:"divider-tilt",title:(0,i.__)("Divider - Tilt","svg-block"),description:(0,i.__)("A tilt divider","svg-block"),icon:(0,a.createElement)("svg",{viewBox:"0 0 1920 150",preserveAspectRatio:"none"},(0,a.createElement)("path",{d:"M0 0v150h1920Z"})),attributes:{content:'',title:(0,i.__)("A tilt divider","svg-block"),align:"full",fillColor:{value:"#d20962"}},example:{attributes:{content:'',title:(0,i.__)("A tilt divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}}},{name:"divider-triangle",title:(0,i.__)("Divider - Triangle","svg-block"),description:(0,i.__)("A triangle divider","svg-block"),icon:(0,a.createElement)("svg",{viewBox:"0 0 1200 120",preserveAspectRatio:"none"},(0,a.createElement)("path",{d:"M1200 0L0 0 598.97 114.72 1200 0z"})),attributes:{content:'',title:(0,i.__)("A triangle divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}},{name:"divider-asymmetrical-triangle",title:(0,i.__)("Divider - Asymmetrical Triangle","svg-block"),description:(0,i.__)("An asymmetrical triangle divider","svg-block"),icon:(0,a.createElement)("svg",{viewBox:"0 0 1200 120",preserveAspectRatio:"none"},(0,a.createElement)("path",{d:"M1200 0L0 0 892.25 114.72 1200 0z"})),attributes:{content:'',title:(0,i.__)("An asymmetrical triangle divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}},{name:"divider-waves",title:(0,i.__)("Divider - Waves","svg-block"),description:(0,i.__)("A waves divider","svg-block"),icon:(0,a.createElement)("svg",{preserveAspectRatio:"none",viewBox:"0 0 1920 120"},(0,a.createElement)("path",{"fill-rule":"evenodd",d:"M0 55.962c300.496 50.616 620.496 50.616 960 0s659.504-50.616 960 0V120H0V55.962Z"})),attributes:{content:'',title:(0,i.__)("A waves divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}},{name:"divider-curve",title:(0,i.__)("Divider - Curve","svg-block"),description:(0,i.__)("A curve divider","svg-block"),icon:(0,a.createElement)("svg",{preserveAspectRatio:"none",viewBox:"0 0 1920 120"},(0,a.createElement)("path",{"fill-rule":"evenodd",d:"M0,0 C320,60 640,90 960,90 C1280,90 1600,60 1920,0 L1920,120 L0,120 L0,0 Z"})),attributes:{content:'',title:(0,i.__)("A curve divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}},{name:"divider-curve-upside-down",title:(0,i.__)("Divider - Curve - upside down","svg-block"),description:(0,i.__)("An upside down curve divider","svg-block"),icon:(0,a.createElement)("svg",{preserveAspectRatio:"none",viewBox:"0 0 1920 120"},(0,a.createElement)("path",{"fill-rule":"evenodd",d:"M0,0 C320,60 640,90 960,90 C1280,90 1600,60 1920,0 L0,0 Z"})),attributes:{content:'',title:(0,i.__)("An upside down curve divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}},{name:"divider-arrow",title:(0,i.__)("Divider - Arrow","svg-block"),description:(0,i.__)("An arrow divider","svg-block"),icon:(0,a.createElement)("svg",{viewBox:"0 0 1920 120",preserveAspectRatio:"none"},(0,a.createElement)("path",{d:"M0 120h1920V80H1030L960 0l-70 80H0z","fill-rule":"evenodd"})),attributes:{content:'',title:(0,i.__)("An arrow divider","svg-block"),align:"full",fillColor:{value:"#d20962"}}}];var nr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"boldblocks/svg-block","title":"SVG Block","category":"media","description":"Display an SVG image as a block, which can be used for displaying icons, dividers...","keywords":["svg","icon","image","divider","button","separator","link"],"attributes":{"blockId":{"type":"string"},"content":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"preserveAspectRatio":{"type":"string"},"linkUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"linkRel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"fillColor":{"type":"object"},"strokeColor":{"type":"object"},"backgroundColor":{"type":"object"},"flip":{"type":"boolean","default":false},"invert":{"type":"boolean","default":false},"useAsButton":{"type":"boolean","default":false},"buttonText":{"type":"string","default":""},"linkToPost":{"type":"boolean","default":false},"iconPosition":{"type":"string","default":"left"},"textColor":{"type":"object"},"zIndex":{"type":"string"},"boldblocks":{"type":"object"}},"supports":{"html":false,"align":true},"usesContext":["postId","postType"],"textdomain":"svg-block","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css"}'),rr=[{attributes:{...nr.attributes,deprecatedCSSColorV1:{type:"boolean",default:!0}},save:er},{attributes:{...nr.attributes,deprecatedIsUnsetValueV1:{type:"boolean",default:!0}},save:er},{attributes:{...nr.attributes,deprecatedSVGLabelledby:{type:"boolean",default:!0}},save:er},{attributes:{...nr.attributes,deprecatedIsUnsetValueV1:{type:"boolean",default:!0},deprecatedSVGLabelledby:{type:"boolean",default:!0}},save:er}];(0,r.registerBlockType)(nr,{icon:Kn,example:{attributes:{content:''}},deprecated:rr,edit:function(e){const{attributes:t,setAttributes:n,isSelected:r,clientId:l}=e,{content:s,title:m,description:g,blockId:h,preserveAspectRatio:v,flip:b,invert:y,useAsButton:_,zIndex:C,boldblocks:E={}}=t,{shadows:S=[],shadowSlug:A=""}=E,[N,T]=((e,t)=>{const n=(0,a.useRef)(e);return(0,a.useEffect)((()=>{n.current=e}),[e]),[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"shadows";return r=>{const a={...n.current,[e]:r};t(a),n.current=a}},function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"slug";return r=>{const a={...n.current,[e]:r};t(a),n.current=a}}]})({shadowSlug:A,shadows:S},pe({setAttributes:n,attributes:t})),O=(0,a.useMemo)((()=>!!s&&F(s)),[s]),R=O&&"none"===O.getAttribute("preserveAspectRatio"),L=(0,X.applyFilters)("boldblocks.breakpoints",["sm","md","lg"]),I=function(){let e="";switch(oe()){case K:e="sm";break;case Q:e="md";break;case J:e="lg";break;default:e="sm"}return e}(),M=(0,a.useCallback)((function(e){return function(e){let{fieldName:t,attributes:n,breakpoint:r,defaultValue:a}=e;const{boldblocks:{[t]:o}={}}=n;return le({fieldValue:o,breakpoint:r,defaultValue:a})}({fieldName:e,attributes:t,breakpoint:I,defaultValue:arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0})}),[n,t,I]),V=(0,a.useCallback)((e=>r=>function(e){let{fieldName:t,setAttributes:n,attributes:r,blocks:a,updateBlockAttributes:o,breakpoint:i,allBreakpoints:l}=e;return e=>{a?a.forEach((n=>{let{clientId:r,attributes:a}=n;o(r,ue({newValue:e,fieldName:t,attributes:a,breakpoint:i,allBreakpoints:l}))})):n(ue({newValue:e,fieldName:t,attributes:r,breakpoint:i,allBreakpoints:l}))}}({fieldName:e,setAttributes:n,attributes:t,breakpoint:I,allBreakpoints:L})(r)),[n,t,I]),B=(0,a.useCallback)((e=>function(e){let{fieldName:t,groupName:n,attributes:r,breakpoint:a,defaultValue:o}=e;const{boldblocks:{[n]:{[t]:i}={}}={}}=r;return le({fieldValue:i,breakpoint:a,defaultValue:o})}({fieldName:e,groupName:"spacing",attributes:t,breakpoint:I})),[t,n]),z=(0,a.useCallback)((e=>r=>function(e){let{groupName:t,fieldName:n,setAttributes:r,attributes:a,blocks:o,updateBlockAttributes:i,breakpoint:l,allBreakpoints:s}=e;return e=>{o?o.forEach((r=>{let{clientId:a,attributes:o}=r;i(a,ce({newValue:e,groupName:t,fieldName:n,attributes:o,breakpoint:l,allBreakpoints:s}))})):r(ce({newValue:e,groupName:t,fieldName:n,attributes:a,breakpoint:l,allBreakpoints:s}))}}({fieldName:e,groupName:"spacing",setAttributes:n,attributes:t,breakpoint:I,allBreakpoints:L})(r)),[n,t,I]),D=(0,a.useCallback)((e=>function(e){let{groupName:t,fieldName:n,setAttributes:r,attributes:a,blocks:o,updateBlockAttributes:i}=e;return e=>{o?o.forEach((r=>{let{clientId:a,attributes:o}=r;i(a,de({newValue:e,groupName:t,fieldName:n,attributes:o}))})):r(de({newValue:e,groupName:t,fieldName:n,attributes:a}))}}({fieldName:e,groupName:"spacing",setAttributes:n,attributes:t})({})),[n,t]);!function(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];(0,a.useEffect)((()=>{if(r){const r=((e,t)=>{if(!t||Object.keys(W).find((n=>W[n]===t&&n!==e))){const t=((e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),""))(10);return W[e]=t,t}return!1})(t,e);return r&&n(r),q(t,r||e),()=>{q(t,null)}}}),[e,t,r]),W[t]}(h,`${l}-svg`,(e=>{e&&n({blockId:e})}));const P=M("width"),$=M("height");(0,a.useEffect)((()=>{k(P)||V("width")({width:"100%",value:"100%"})}),[]);const{colors:j,allColors:U}=x(),[G,Z]=w("fillColor",U),[Y,ee]=w("strokeColor",U),[te,ne,re]=w("backgroundColor",U,!0),[ae,ie]=w("textColor",U),se=[{colorValue:G?.value,onColorChange:Z,label:(0,i.__)("Fill color","svg-block")},{colorValue:Y?.value,onColorChange:ee,label:(0,i.__)("Stroke color","svg-block")},{colorValue:te?.value,onColorChange:ne,gradientValue:te?.gradientValue,onGradientChange:re,label:(0,i.__)("Background color","svg-block")}];_&&se.push({colorValue:ae?.value,onColorChange:ie,label:(0,i.__)("Text color","svg-block")});const[me,fe]=(0,a.useState)(!1),[ge,be]=((e,t)=>{const[r,o]=(0,a.useState)(e);return(0,a.useEffect)((()=>{const t=H(r);e!==t&&(e=>{n({content:e})})(t)}),[e,r]),[r,o]})(s);s&&(0,o.isUndefined)(ge)&&be(s);const ye=(e=>{let{isloadData:t,storeName:n,apiPath:r}=e;const{loadIconLibrary:o}=(0,f.useDispatch)(n),[i,l]=(0,a.useState)([]);return t&&!i.length&&o(r).then((e=>{l(e)})),i})({isloadData:me,storeName:Qn,apiPath:"svgblock/v1/getIconLibrary"}),ke=Jn(!0,U)(M("border")),_e=((e,t,n)=>(0,a.useMemo)((()=>(0,a.createElement)(Un,ve({},e,{onChangeText:n,isEdit:!0}))),[e,t]))(t,r,(e=>n({buttonText:e}))),xe=(0,a.useMemo)((()=>$n(e)),[t]),we=(0,p.useBlockProps)({style:xe}),Ce=(0,i.__)("Padding","svg-block"),Ee=(0,i.__)("Margin","svg-block"),Se=(0,i.__)("Border","svg-block"),Ae=(0,i.__)("Radius","svg-block");return(0,a.createElement)(a.Fragment,null,me&&(0,a.createElement)(Pn,{title:(0,i.__)("Icon library","svg-block"),isModalOpen:me,setIsModalOpen:fe,icons:ye,onSubmit:be,value:ge,keywords:Hn}),(0,a.createElement)("div",we,s?_e:(0,a.createElement)("div",{className:"svg-placeholder"},(0,a.createElement)("div",{className:"svg-placeholder__inner"},(0,a.createElement)("div",{className:"block-icon"},(0,a.createElement)(Kn,null)),(0,a.createElement)(Xt,{onChange:be}),(0,a.createElement)(d.Button,{variant:"primary",onClick:()=>{fe(!0)}},(0,i.__)("Browse library","svg-block"))))),r&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(p.InspectorControls,{group:"settings"},(0,a.createElement)(d.PanelBody,{title:(0,i.__)("SVG data","svg-block"),initialOpen:!0},(0,a.createElement)(Ft,null,(0,a.createElement)(Qt,{value:ge,label:"",browseLibraryLabel:(0,i.__)("Get SVG from the library","svg-block"),onChange:be,toggleLibraryModal:fe,rows:6,placeholder:(0,i.__)("Input SVG markup…","svg-block")}),(0,a.createElement)(d.TextControl,{label:(0,i.__)("SVG title","svg-block"),value:m,onChange:e=>n({title:e}),help:(0,i.__)("Input a short-text description of the SVG image. This text is not rendered as part of the graphic, but browsers will display it as tooltip. It is for screen readers.","svg-block"),autoComplete:"off"}),(0,a.createElement)(d.TextareaControl,{label:(0,i.__)("SVG description","svg-block"),value:g,onChange:e=>n({description:e}),rows:2,help:(0,i.__)("Input a long-text description of the SVG image. This text is not rendered as part of the graphic. It is for screen readers.","svg-block")})))),(0,a.createElement)(p.InspectorControls,{group:"styles"},(0,a.createElement)(p.__experimentalPanelColorGradientSettings,{title:(0,i.__)("Color","svg-block"),initialOpen:!1,settings:se,__experimentalHasMultipleOrigins:!0,hasMultipleOrigins:!0}),(0,a.createElement)(d.__experimentalToolsPanel,{label:(0,i.__)("Dimensions","svg-block"),resetAll:()=>{n({boldblocks:{...E,width:{},height:{},preserveAspectRatio:"",spacing:{}}})}},(0,a.createElement)(d.__experimentalToolsPanelItem,{label:(0,i.__)("Width & Height","svg-block"),hasValue:()=>k(E?.width)||k(E?.height),onDeselect:()=>n({boldblocks:{...E,width:{},height:{},preserveAspectRatio:""}}),isShownByDefault:!0},(0,a.createElement)(Ft,null,(0,a.createElement)(hn,{name:"width",label:(0,i.__)("Width","svg-block"),options:[{value:"100%",label:"100%"},{value:"50%",label:"50%"},{value:"33.33333%",label:"1/3"},{value:"25%",label:"25%"},{value:"auto",label:(0,i.__)("Auto","svg-block")},{value:"custom",label:(0,i.__)("Custom","svg-block")}],value:P,onChange:V("width"),isResponsive:!0,toggleOff:!1}),(0,a.createElement)(hn,{name:"height",label:(0,i.__)("Height","svg-block"),options:[{value:"50vh",label:"50vh"},{value:"10vh",label:"10vh"},{value:"100px",label:"100px"},{value:"auto",label:(0,i.__)("Auto","svg-block")},{value:"custom",label:(0,i.__)("Custom","svg-block")}],value:$,onChange:V("height"),isResponsive:!0}),!R&&(0,a.createElement)(d.ToggleControl,{label:(0,i.__)("Stretch to fit width and height?","svg-block"),checked:"none"===v,onChange:e=>{n({preserveAspectRatio:e?"none":""})},help:(0,a.createElement)(a.Fragment,null,(0,i.__)("This setting will overide the ","svg-block"),(0,a.createElement)(d.ExternalLink,{href:"https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio"},"preserveAspectRatio"),(0,i.__)(" attribute. Helpful for use cases such as non-rectangular dividers","svg-block"))}))),(0,a.createElement)(d.__experimentalToolsPanelItem,{label:Ce,hasValue:()=>k(E?.spacing?.padding),onDeselect:()=>D("padding"),className:"padding-panel-item",isShownByDefault:!0},(0,a.createElement)(qt,{label:(0,i.__)("Spacing","svg-block"),isResponsive:!0,className:"spacing-label"}),(0,a.createElement)(p.__experimentalSpacingSizesControl,{label:Ce,values:B("padding"),onChange:z("padding")})),(0,a.createElement)(d.__experimentalToolsPanelItem,{label:Ee,hasValue:()=>k(E?.spacing?.margin),onDeselect:()=>D("margin"),className:"margin-panel-item",isShownByDefault:!0},(0,a.createElement)(p.__experimentalSpacingSizesControl,{label:Ee,values:B("margin"),onChange:z("margin")}))),(0,a.createElement)(d.__experimentalToolsPanel,{label:(0,i.__)("Border","svg-block"),resetAll:()=>{n({boldblocks:{...E,border:{},borderRadius:{}}})}},(0,a.createElement)(d.__experimentalToolsPanelItem,{label:Se,hasValue:()=>k(E?.border),onDeselect:()=>n({boldblocks:{...E,border:{}}})},(0,a.createElement)(qt,{label:Se,isResponsive:!0}),(0,a.createElement)(d.__experimentalBorderControl,{colors:j,onChange:e=>{(0,o.isUndefined)(ke)&&e?.width&&!e?.style&&(e={...e,style:"solid"}),V("border")(Jn(!1,U)(e))},value:ke,enableAlpha:!0,popoverOffset:40,popoverPlacement:"left-start",__experimentalIsRenderedInSidebar:!0,size:"__unstable-large"})),(0,a.createElement)(d.__experimentalToolsPanelItem,{label:Ae,hasValue:()=>k(E?.borderRadius),onDeselect:()=>n({boldblocks:{...E,borderRadius:{}}})},(0,a.createElement)(mn,{label:Ae,values:M("borderRadius"),onChange:V("borderRadius"),isResponsive:!0}))),(0,a.createElement)(d.__experimentalToolsPanel,{label:(0,i.__)("Box shadow","svg-block"),resetAll:()=>{n({boldblocks:{...E,shadows:[],shadowSlug:""}})}},(0,a.createElement)(d.__experimentalToolsPanelItem,{label:(0,i.__)("Box shadow","svg-block"),hasValue:()=>!!S?.length,onDeselect:()=>n({boldblocks:{...E,shadows:[],shadowSlug:""}})},(0,a.createElement)(In,{values:S,onChange:N("shadows"),hasPresets:!0,customShadowPresets:Fn,slug:A,onChangeSlug:T("shadowSlug")}))),(0,a.createElement)(d.__experimentalToolsPanel,{label:(0,i.__)("Z Index","svg-block"),resetAll:()=>{n({zIndex:""})}},(0,a.createElement)(d.__experimentalToolsPanelItem,{label:(0,i.__)("Z Index","svg-block"),hasValue:()=>!!C,onDeselect:()=>n({zIndex:""})},(0,a.createElement)(d.TextControl,{value:C,onChange:e=>n({zIndex:e}),type:"number",label:(0,i.__)("Z Index","svg-block"),help:(0,i.__)("When you want this block to overlap other content, like an SVG divider, use this setting.","svg-block"),autoComplete:"off"})))),(0,a.createElement)(Yn,{anchorRef:we.ref,attributes:t,setAttributes:n,isSelected:r,breakpoint:I,allBreakpoints:L,getResponsiveAttributeValue:M,handleChangeResponsiveAttributeField:V}),(0,a.createElement)(p.BlockControls,null,(0,a.createElement)(p.JustifyToolbar,{allowedControls:["left","center","right"],value:M("justifyAlignment"),onChange:V("justifyAlignment")}),(0,a.createElement)(d.ToolbarGroup,null,(0,a.createElement)(d.ToolbarButton,{icon:c,onClick:()=>{n({flip:!b})},isPressed:b,label:(0,i.__)("Flip the image horizonally","svg-block")}),(0,a.createElement)(d.ToolbarButton,{icon:u,onClick:()=>{n({invert:!y})},isPressed:y,label:(0,i.__)("Flip the image vertically","svg-block")})),(0,a.createElement)(he,null))))},save:er}),tr.forEach((e=>{let{name:t,title:n,description:a,attributes:o,icon:i}=e;(0,r.registerBlockVariation)(nr.name,{name:t,title:n,description:a,attributes:o,icon:i})}))},184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),a=1;a/gm),G=d(/\${[\w\W]*}/gm),W=d(/^data-[\-\w.\u00B7-\uFFFF]/),q=d(/^aria-[\-\w]+$/),Z=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=d(/^(?:\w+script|data):/i),X=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=d(/^html$/i),Q=function(){return"undefined"==typeof window?null:window};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q(),a=function(e){return t(e)};if(a.version="2.4.7",a.removed=[],!n||!n.document||9!==n.document.nodeType)return a.isSupported=!1,a;var o=n.document,i=n.document,l=n.DocumentFragment,s=n.HTMLTemplateElement,c=n.Node,d=n.Element,p=n.NodeFilter,m=n.NamedNodeMap,f=void 0===m?n.NamedNodeMap||n.MozNamedAttrMap:m,g=n.HTMLFormElement,h=n.DOMParser,N=n.trustedTypes,J=d.prototype,ee=R(J,"cloneNode"),te=R(J,"nextSibling"),ne=R(J,"childNodes"),re=R(J,"parentNode");if("function"==typeof s){var ae=i.createElement("template");ae.content&&ae.content.ownerDocument&&(i=ae.content.ownerDocument)}var oe=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,a="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(a)&&(r=n.currentScript.getAttribute(a));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,o),ie=oe?oe.createHTML(""):"",le=i,se=le.implementation,ce=le.createNodeIterator,ue=le.createDocumentFragment,de=le.getElementsByTagName,pe=o.importNode,me={};try{me=O(i).documentMode?i.documentMode:{}}catch(e){}var fe={};a.isSupported="function"==typeof re&&se&&void 0!==se.createHTMLDocument&&9!==me;var ge,he,ve=F,be=U,ye=G,ke=W,_e=q,xe=Y,we=X,Ce=Z,Ee=null,Se=T({},[].concat(r(L),r(I),r(M),r(B),r(D))),Ae=null,Ne=T({},[].concat(r(P),r($),r(j),r(H))),Te=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Oe=null,Re=null,Le=!0,Ie=!0,Me=!1,Ve=!0,Be=!1,ze=!1,De=!1,Pe=!1,$e=!1,je=!1,He=!1,Fe=!0,Ue=!1,Ge=!0,We=!1,qe={},Ze=null,Ye=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,Ke=T({},["audio","video","img","source","image","track"]),Qe=null,Je=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=nt,at=!1,ot=null,it=T({},[et,tt,nt],_),lt=["application/xhtml+xml","text/html"],st=null,ct=i.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(t){st&&st===t||(t&&"object"===e(t)||(t={}),t=O(t),ge=ge=-1===lt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===ge?_:k,Ee="ALLOWED_TAGS"in t?T({},t.ALLOWED_TAGS,he):Se,Ae="ALLOWED_ATTR"in t?T({},t.ALLOWED_ATTR,he):Ne,ot="ALLOWED_NAMESPACES"in t?T({},t.ALLOWED_NAMESPACES,_):it,Qe="ADD_URI_SAFE_ATTR"in t?T(O(Je),t.ADD_URI_SAFE_ATTR,he):Je,Xe="ADD_DATA_URI_TAGS"in t?T(O(Ke),t.ADD_DATA_URI_TAGS,he):Ke,Ze="FORBID_CONTENTS"in t?T({},t.FORBID_CONTENTS,he):Ye,Oe="FORBID_TAGS"in t?T({},t.FORBID_TAGS,he):{},Re="FORBID_ATTR"in t?T({},t.FORBID_ATTR,he):{},qe="USE_PROFILES"in t&&t.USE_PROFILES,Le=!1!==t.ALLOW_ARIA_ATTR,Ie=!1!==t.ALLOW_DATA_ATTR,Me=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ve=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Be=t.SAFE_FOR_TEMPLATES||!1,ze=t.WHOLE_DOCUMENT||!1,$e=t.RETURN_DOM||!1,je=t.RETURN_DOM_FRAGMENT||!1,He=t.RETURN_TRUSTED_TYPE||!1,Pe=t.FORCE_BODY||!1,Fe=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,Ge=!1!==t.KEEP_CONTENT,We=t.IN_PLACE||!1,Ce=t.ALLOWED_URI_REGEXP||Ce,rt=t.NAMESPACE||nt,Te=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ut(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Ie=!1),je&&($e=!0),qe&&(Ee=T({},r(D)),Ae=[],!0===qe.html&&(T(Ee,L),T(Ae,P)),!0===qe.svg&&(T(Ee,I),T(Ae,$),T(Ae,H)),!0===qe.svgFilters&&(T(Ee,M),T(Ae,$),T(Ae,H)),!0===qe.mathMl&&(T(Ee,B),T(Ae,j),T(Ae,H))),t.ADD_TAGS&&(Ee===Se&&(Ee=O(Ee)),T(Ee,t.ADD_TAGS,he)),t.ADD_ATTR&&(Ae===Ne&&(Ae=O(Ae)),T(Ae,t.ADD_ATTR,he)),t.ADD_URI_SAFE_ATTR&&T(Qe,t.ADD_URI_SAFE_ATTR,he),t.FORBID_CONTENTS&&(Ze===Ye&&(Ze=O(Ze)),T(Ze,t.FORBID_CONTENTS,he)),Ge&&(Ee["#text"]=!0),ze&&T(Ee,["html","head","body"]),Ee.table&&(T(Ee,["tbody"]),delete Oe.tbody),u&&u(t),st=t)},pt=T({},["mi","mo","mn","ms","mtext"]),mt=T({},["foreignobject","desc","title","annotation-xml"]),ft=T({},["title","style","font","a","script"]),gt=T({},I);T(gt,M),T(gt,V);var ht=T({},B);T(ht,z);var vt=function(e){y(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},bt=function(e,t){try{y(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ae[e])if($e||je)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},yt=function(e){var t,n;if(Pe)e=""+e;else{var r=x(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ge&&rt===nt&&(e=''+e+"");var a=oe?oe.createHTML(e):e;if(rt===nt)try{t=(new h).parseFromString(a,ge)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(rt,"template",null);try{t.documentElement.innerHTML=at?ie:a}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),rt===nt?de.call(t,ze?"html":"body")[0]:ze?t.documentElement:o},kt=function(e){return ce.call(e.ownerDocument||e,e,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT,null,!1)},_t=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},xt=function(e,t,n){fe[e]&&v(fe[e],(function(e){e.call(a,t,n,st)}))},wt=function(e){var t,n;if(xt("beforeSanitizeElements",e,null),(n=e)instanceof g&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof f)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return vt(e),!0;if(S(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=he(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:Ee}),e.hasChildNodes()&&!_t(e.firstElementChild)&&(!_t(e.content)||!_t(e.content.firstElementChild))&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&S(/